#our-shop .shop-visual-filter {
    width: 100%;
    margin: 0 auto 42px;
    padding: 24px;
    border: 1px solid #e4e9ef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 18px 45px rgba(28, 39, 52, 0.08);
}

#our-shop .shop-visual-filter-heading,
#our-shop .shop-visual-child-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

#our-shop .shop-visual-filter-heading {
    margin-bottom: 20px;
}

#our-shop .shop-visual-filter-heading > span {
    color: #111827;
    font-size: 18px;
    font-weight: 800;
}

#our-shop .shop-visual-filter-heading > span small {
    margin-left: 8px;
    color: #7a8493;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

#our-shop .shop-visual-filter-heading > a {
    color: #c90000;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

#our-shop .shop-visual-filter-heading > a:hover,
#our-shop .shop-visual-filter-heading > a:focus {
    color: #8f0000;
}

#our-shop .shop-visual-root-grid,
#our-shop .shop-visual-child-grid {
    display: grid;
    justify-content: center;
    gap: 18px;
}

#our-shop .shop-visual-root-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 190px));
}

#our-shop .shop-visual-child-grid {
    grid-template-columns: repeat(auto-fit, minmax(130px, 170px));
}

#our-shop .shop-visual-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    color: #182235;
    text-align: center;
    text-decoration: none;
    transition: transform 0.22s ease, color 0.22s ease;
}

#our-shop .shop-visual-card:hover,
#our-shop .shop-visual-card:focus {
    color: #c90000;
    text-decoration: none;
    transform: translateY(-5px);
}

#our-shop .shop-visual-card-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border: 2px solid #e3e8ee;
    border-radius: 15px;
    background: linear-gradient(145deg, #fff 0%, #f3f6f9 100%);
    box-shadow: 0 9px 24px rgba(19, 32, 50, 0.08);
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

#our-shop .shop-visual-card-image img {
    width: 100%;
    height: 100%;
    padding: 10px;
    object-fit: contain;
    transition: transform 0.28s ease;
}

#our-shop .shop-visual-card:hover .shop-visual-card-image,
#our-shop .shop-visual-card:focus .shop-visual-card-image,
#our-shop .shop-visual-card.is-active .shop-visual-card-image {
    border-color: #df1119;
    box-shadow: 0 13px 30px rgba(201, 0, 0, 0.15);
}

#our-shop .shop-visual-card:hover .shop-visual-card-image img,
#our-shop .shop-visual-card:focus .shop-visual-card-image img {
    transform: scale(1.045);
}

#our-shop .shop-visual-card.is-active {
    color: #c90000;
}

#our-shop .shop-visual-card-title {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 46px;
    padding: 12px 5px 0;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.35;
}

#our-shop .shop-visual-child-panel {
    margin-top: 26px;
    padding: 20px;
    border: 1px solid #e2e7ec;
    border-radius: 15px;
    background: #f5f8fb;
}

#our-shop .shop-visual-child-heading {
    margin-bottom: 17px;
    padding-bottom: 13px;
    border-bottom: 1px solid #dde4eb;
}

#our-shop .shop-visual-child-heading strong {
    color: #111827;
    font-size: 16px;
}

#our-shop .shop-visual-child-heading span {
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.catalog-db-page #our-shop .shop-filter-accordion {
    margin-top: 0;
    padding: 0;
    overflow: hidden;
}

#our-shop .shop-filter-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 16px 18px;
    color: #172033;
    font-size: 16px;
    font-weight: 750;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

#our-shop .shop-filter-summary::-webkit-details-marker {
    display: none;
}

#our-shop .shop-filter-summary > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#our-shop .shop-filter-summary > span:first-child i {
    color: #d60000;
}

#our-shop .shop-filter-summary-meta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#our-shop .shop-filter-summary-meta small {
    padding: 4px 8px;
    border-radius: 999px;
    background: #fff0f0;
    color: #b00000;
    font-size: 11px;
    font-weight: 800;
}

#our-shop .shop-filter-summary-meta .fa-chevron-down {
    color: #697386;
    font-size: 12px;
    transition: transform 0.22s ease;
}

#our-shop .shop-filter-accordion[open] .shop-filter-summary {
    border-bottom: 1px solid #eceff3;
}

#our-shop .shop-filter-accordion[open] .shop-filter-summary-meta .fa-chevron-down {
    transform: rotate(180deg);
}

#our-shop .shop-filter-summary:hover,
#our-shop .shop-filter-summary:focus-visible {
    background: #f8fafc;
    outline: none;
}

#our-shop .shop-filter-accordion-body {
    padding-bottom: 2px;
}

#our-shop .shop-filter-drawer-toggle {
    position: fixed;
    top: 220px;
    left: 0;
    z-index: 1045;
    display: inline-flex;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    width: 48px;
    min-height: 126px;
    padding: 11px 0;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: #d60000;
    box-shadow: 7px 10px 24px rgba(116, 0, 0, 0.22);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, opacity 0.2s ease;
}

#our-shop .shop-filter-drawer-toggle > span {
    line-height: 1;
    letter-spacing: 0.06em;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

#our-shop .shop-filter-drawer-toggle:hover,
#our-shop .shop-filter-drawer-toggle:focus {
    background: #ab0000;
    outline: 0;
    transform: translateX(3px);
}

#our-shop .shop-filter-drawer-toggle b {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 21px;
    height: 21px;
    padding: 0 6px;
    border-radius: 999px;
    background: #fff;
    color: #b00000;
    font-size: 11px;
}

.catalog-db-page #our-shop .shop-layout-wrap {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

#our-shop .shop-filter-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1042;
    display: flex;
    flex-direction: column;
    width: 350px;
    max-width: calc(100vw - 28px);
    overflow: hidden;
    border-right: 1px solid #e1e6ec;
    background: #fff;
    box-shadow: 18px 0 46px rgba(17, 24, 39, 0.2);
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
}

#our-shop .shop-filter-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
}

#our-shop .shop-filter-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    min-height: 70px;
    padding: 14px 18px;
    border-bottom: 1px solid #e8ecf1;
    background: #f8fafc;
}

#our-shop .shop-filter-drawer-header h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #182235;
    font-size: 19px;
    font-weight: 800;
}

#our-shop .shop-filter-drawer-header h3 i {
    color: #d60000;
}

#our-shop .shop-filter-drawer-header button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid #dbe1e8;
    border-radius: 50%;
    background: #fff;
    color: #344054;
    cursor: pointer;
}

#our-shop .shop-filter-drawer-header button:hover,
#our-shop .shop-filter-drawer-header button:focus {
    border-color: #d60000;
    color: #d60000;
    outline: 0;
}

#our-shop .shop-filter-drawer-body {
    flex: 1 1 auto;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-bottom: 24px;
}

#our-shop .shop-filter-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1040;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(15, 23, 42, 0.38);
    opacity: 0;
    visibility: hidden;
    cursor: default;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.shop-filter-drawer-open #our-shop .shop-filter-drawer-backdrop {
    opacity: 1;
    visibility: visible;
}

.shop-filter-drawer-open #our-shop .shop-filter-drawer-toggle {
    opacity: 0;
    pointer-events: none;
}

body.shop-filter-drawer-open {
    overflow: hidden;
}

#our-shop .shop-table-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 300px;
    width: 300px;
    min-width: 230px;
    height: 44px;
    overflow: hidden;
    border: 1px solid #d8dee6;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#our-shop .shop-toolbar-controls {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    gap: 18px;
    min-width: 0;
}

#our-shop .shop-toolbar-controls .shop-filter-sort,
#our-shop .shop-toolbar-controls .shop-view-bar {
    flex-wrap: nowrap;
}

#our-shop #shopProductsGrid.view-cols-4 .catalog-card-actions {
    flex-wrap: nowrap;
    gap: 6px;
}

#our-shop #shopProductsGrid.view-cols-4 .catalog-card-actions .button {
    flex: 1 1 0;
    min-width: 0;
    padding: 7px 7px;
    font-size: 10.5px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
}

#our-shop .shop-table-search:focus-within {
    border-color: #c90000;
    box-shadow: 0 0 0 3px rgba(201, 0, 0, 0.1);
}

#our-shop .shop-table-search > .fa-search {
    flex: 0 0 auto;
    margin-left: 14px;
    color: #7a8493;
    font-size: 14px;
}

#our-shop .shop-table-search input {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    padding: 0 12px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #1d2939;
    font-size: 14px;
}

#our-shop .shop-table-search button {
    align-self: stretch;
    flex: 0 0 46px;
    border: 0;
    background: #d70000;
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease;
}

#our-shop .shop-table-search button:hover,
#our-shop .shop-table-search button:focus {
    background: #a90000;
    outline: 0;
}

#our-shop .shop-catalog-toolbar {
    position: relative;
    z-index: 20;
    margin-bottom: 1.5rem;
    overflow: visible;
    border: 1px solid #dce3ea;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(21, 31, 44, 0.08);
}

#our-shop .shop-group-strip {
    position: relative;
    display: flex;
    align-items: flex-start;
    width: 100%;
    min-width: 0;
    min-height: 82px;
    border-bottom: 1px solid #e2e7ed;
    background: #f6f8fa;
    border-radius: 12px 12px 0 0;
}

#our-shop .shop-root-selector {
    position: relative;
    z-index: 40;
    flex: 0 0 265px;
    min-width: 0;
    padding: 9px 0 9px 9px;
}

#our-shop .shop-root-selector-button {
    display: flex;
    align-items: center;
    width: 100%;
    height: 64px;
    padding: 8px 12px 8px 10px;
    border: 1px solid #e2e7ec;
    border-left: 4px solid #e00000;
    border-radius: 9px;
    background: #fff;
    color: #132036;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#our-shop .shop-root-selector-button:hover,
#our-shop .shop-root-selector-button:focus,
#our-shop .shop-root-selector.is-open .shop-root-selector-button {
    border-color: #d3dbe4;
    border-left-color: #e00000;
    background: #fbfcfd;
    box-shadow: 0 7px 18px rgba(23, 34, 51, 0.09);
    outline: 0;
}

#our-shop .shop-root-selector-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #e8f7fa;
    color: #008da0;
    font-size: 17px;
}

#our-shop .shop-root-selector-copy {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    margin-left: 11px;
}

#our-shop .shop-root-selector-copy small {
    margin-bottom: 2px;
    color: #a30000;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.1;
    text-transform: uppercase;
}

#our-shop .shop-root-selector-copy strong {
    overflow: hidden;
    color: #132036;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#our-shop .shop-root-selector-arrow {
    flex: 0 0 auto;
    margin-left: 8px;
    color: #8b98aa;
    font-size: 11px;
    transition: transform 0.2s ease;
}

#our-shop .shop-root-selector.is-open .shop-root-selector-arrow {
    transform: rotate(180deg);
}

#our-shop .shop-root-selector-menu {
    position: absolute;
    top: calc(100% + 5px);
    left: 9px;
    z-index: 80;
    width: 330px;
    max-width: calc(100vw - 30px);
    padding: 12px;
    border: 1px solid #d9e0e8;
    border-radius: 10px;
    background: #f5f7f9;
    box-shadow: 0 22px 48px rgba(18, 31, 47, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

#our-shop .shop-root-selector.is-open .shop-root-selector-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#our-shop .shop-root-selector-menu-title {
    padding: 3px 5px 10px;
    color: #b40000;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

#our-shop .shop-root-selector-option {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 11px;
    min-height: 65px;
    margin-bottom: 5px;
    padding: 8px 11px 8px 8px;
    border-left: 3px solid transparent;
    border-radius: 9px;
    color: #152239;
    text-decoration: none;
    transition: background 0.18s ease, border-color 0.18s ease;
}

#our-shop .shop-root-selector-option:last-child {
    margin-bottom: 0;
}

#our-shop .shop-root-selector-option:hover,
#our-shop .shop-root-selector-option:focus,
#our-shop .shop-root-selector-option.is-active {
    border-left-color: #e00000;
    background: #fff;
    color: #152239;
    text-decoration: none;
    outline: 0;
}

#our-shop .shop-root-selector-option > span:nth-child(2) {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

#our-shop .shop-root-selector-option strong {
    overflow: hidden;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#our-shop .shop-root-selector-option small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 3px;
    color: #66778f;
    font-size: 11px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#our-shop .shop-root-selector-option > .fa-chevron-right {
    color: #91a0b2;
    font-size: 10px;
}

#our-shop .shop-subgroup-strip {
    display: flex;
    align-items: stretch;
    align-content: flex-start;
    flex: 1 1 auto;
    flex-wrap: wrap;
    min-width: 0;
    gap: 8px;
    overflow: visible;
    padding: 9px 11px;
}

#our-shop .shop-strip-subgroup {
    display: flex;
    align-items: center;
    flex: 0 0 190px;
    width: 190px;
    max-width: 190px;
    min-width: 0;
    height: 62px;
    padding: 7px 10px 7px 7px;
    border: 1px solid #dce3ea;
    border-radius: 8px;
    background: #fff;
    color: #162238;
    text-decoration: none;
    transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

#our-shop .shop-strip-subgroup:hover,
#our-shop .shop-strip-subgroup:focus {
    border-color: #c80000;
    color: #b00000;
    text-decoration: none;
    outline: 0;
}

#our-shop .shop-strip-subgroup.is-active {
    border-color: #aeb8c4;
    background: #dfe3e7;
    color: #111827;
    box-shadow: inset 0 0 0 1px rgba(91, 103, 117, 0.08);
}

#our-shop .shop-strip-subgroup-image {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    margin-right: 9px;
    overflow: hidden;
    border: 1px solid #e1e6eb;
    border-radius: 6px;
    background: #f2f4f6;
}

#our-shop .shop-strip-subgroup-image img {
    width: 100%;
    height: 100%;
    padding: 3px;
    object-fit: contain;
}

#our-shop .shop-strip-subgroup > span:last-child {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

#our-shop .shop-subgroup-empty {
    padding: 0 16px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

#our-shop .shop-catalog-toolbar .shop-filter-bar,
#our-shop .shop-main-col .shop-catalog-toolbar .shop-filter-bar {
    margin: 0 !important;
    padding: 13px 16px;
    border: 0;
    border-radius: 0 0 12px 12px;
    background: #fff;
    box-shadow: none;
}

@media (max-width: 1199px) {
    #our-shop .shop-table-search {
        flex-basis: 280px;
        width: 280px;
    }

    #our-shop .shop-root-selector {
        flex-basis: 235px;
    }

    #our-shop .shop-strip-subgroup {
        flex-basis: 175px;
        width: 175px;
        max-width: 175px;
    }
}

@media (max-width: 767px) {
    #our-shop .shop-visual-filter {
        margin-bottom: 28px;
        padding: 16px;
        border-radius: 14px;
    }

    #our-shop .shop-visual-filter-heading {
        align-items: flex-start;
        margin-bottom: 16px;
    }

    #our-shop .shop-visual-filter-heading > span small {
        display: block;
        margin: 4px 0 0;
    }

    #our-shop .shop-visual-root-grid,
    #our-shop .shop-visual-child-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    #our-shop .shop-visual-child-panel {
        margin-top: 18px;
        padding: 14px;
    }

    #our-shop .shop-visual-child-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    #our-shop .shop-visual-card-title {
        min-height: 42px;
        padding-top: 9px;
        font-size: 12px;
    }

    #our-shop .shop-sidebar-col {
        margin-bottom: 18px;
    }

    #our-shop .shop-filter-drawer-toggle {
        top: 50%;
        bottom: auto;
        min-height: 116px;
        transform: translateY(-50%);
    }

    #our-shop .shop-filter-drawer-toggle:hover,
    #our-shop .shop-filter-drawer-toggle:focus {
        transform: translate(3px, -50%);
    }

    #our-shop .shop-table-search {
        flex-basis: 100%;
        width: 100%;
        min-width: 0;
    }

    #our-shop .shop-toolbar-controls {
        width: 100%;
        flex-wrap: wrap;
        justify-content: center;
    }

    #our-shop .shop-group-strip {
        flex-direction: column;
        min-height: 0;
    }

    #our-shop .shop-root-selector {
        flex: 0 0 auto;
        width: 100%;
        padding: 7px 0 7px 7px;
    }

    #our-shop .shop-root-selector-button {
        height: 62px;
        padding-right: 8px;
    }

    #our-shop .shop-root-selector-icon {
        flex-basis: 36px;
        width: 36px;
        height: 36px;
    }

    #our-shop .shop-root-selector-copy {
        margin-left: 8px;
    }

    #our-shop .shop-root-selector-copy strong {
        font-size: 12px;
    }

    #our-shop .shop-root-selector-arrow {
        margin-left: 4px;
    }

    #our-shop .shop-root-selector-menu {
        left: 7px;
    }

    #our-shop .shop-subgroup-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        gap: 7px;
        padding: 7px;
    }

    #our-shop .shop-strip-subgroup {
        width: 100%;
        max-width: none;
        height: 60px;
    }

    #our-shop .shop-strip-subgroup-image {
        flex-basis: 43px;
        width: 43px;
        height: 43px;
        margin-right: 7px;
    }

    #our-shop .shop-catalog-toolbar .shop-filter-bar {
        padding: 11px;
    }
}

@media (max-width: 420px) {
    #our-shop .shop-visual-root-grid,
    #our-shop .shop-visual-child-grid {
        gap: 9px;
    }

    #our-shop .shop-visual-filter {
        padding: 12px;
    }
}
