.ksa-product-preview__reference-guide {
    position: relative;
    display: grid;
    gap: 3px;
    margin-top: 14px;
    padding: 12px 42px 12px 13px;
    border: 1px solid rgba(185, 135, 45, .24);
    border-radius: 10px;
    background: linear-gradient(180deg, #fffdf8, #f7f2e9);
    color: #2d271f !important;
    text-decoration: none;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.ksa-product-preview__reference-guide::after {
    content: "\2192";
    position: absolute;
    inset-block-start: 50%;
    inset-inline-end: 14px;
    color: #8b6a2f;
    font-size: 17px;
    transform: translateY(-50%);
}

[dir="rtl"] .ksa-product-preview__reference-guide {
    padding: 12px 13px 12px 42px;
}

[dir="rtl"] .ksa-product-preview__reference-guide::after {
    content: "\2190";
}

.ksa-product-preview__reference-guide:hover,
.ksa-product-preview__reference-guide:focus-visible {
    border-color: rgba(185, 135, 45, .46);
    box-shadow: 0 10px 22px rgba(20, 23, 27, .07);
    transform: translateY(-1px);
}

.ksa-product-preview__reference-guide > span {
    color: #80622d;
    font-size: 9px;
    font-weight: 840;
    letter-spacing: .055em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ksa-product-preview__reference-guide > strong {
    color: #221e18;
    font-size: 13px;
    font-weight: 820;
    line-height: 1.3;
}

.ksa-product-preview__reference-guide > small {
    color: #6b655b;
    font-size: 10.5px;
    font-weight: 620;
    line-height: 1.4;
}

.ksa-reference-preview__offer-progress {
    margin: 7px 1px 0;
    color: #66707c;
    font-size: 10.5px;
    font-weight: 690;
    line-height: 1.35;
}

.ksa-skip-link {
    position: fixed;
    inset-block-start: 8px;
    inset-inline-start: 12px;
    z-index: 10000;
    padding: 10px 14px;
    border: 1px solid rgba(211, 166, 76, .72);
    border-radius: 6px;
    background: #111317;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transform: translateY(-150%);
    transition: transform .15s ease;
}

.ksa-skip-link:focus {
    transform: translateY(0);
}

#content {
    scroll-margin-top: 72px;
}

body.ksa-site-header-active .ksa-archive-header__search-link,
body.ksa-brand-archive-production-route .ksa-archive-header__search-link,
body.ksa-brand-archive-preview-route .ksa-archive-header__search-link {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(216, 178, 102, .18);
    border-radius: 6px;
    background: rgba(255, 255, 255, .035);
    color: #f8e7bc;
    text-decoration: none;
}

body.ksa-site-header-active .ksa-archive-header__search-link:hover,
body.ksa-brand-archive-production-route .ksa-archive-header__search-link:hover,
body.ksa-brand-archive-preview-route .ksa-archive-header__search-link:hover {
    border-color: rgba(211, 166, 76, .32);
    background: rgba(255, 255, 255, .075);
    color: #fff;
}

body.ksa-site-header-active .ksa-archive-header__search-link svg,
body.ksa-brand-archive-production-route .ksa-archive-header__search-link svg,
body.ksa-brand-archive-preview-route .ksa-archive-header__search-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
}

.ksa-archive-header__mobile-essentials {
    display: none;
}

.ksa-preview-products__heading-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 18px;
}

.ksa-preview-products__heading-row .ksa-preview-products__heading {
    margin: 0;
}

.ksa-preview-products__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 24px;
    padding: 2px 8px;
    border: 1px solid rgba(151, 112, 38, .18);
    border-radius: 999px;
    background: rgba(199, 160, 77, .09);
    color: #73591e;
    font-size: 11px;
    font-weight: 760;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

@media (max-width: 1180px) {
    body.ksa-site-header-active .ksa-archive-header__search-link,
    body.ksa-brand-archive-production-route .ksa-archive-header__search-link,
    body.ksa-brand-archive-preview-route .ksa-archive-header__search-link {
        display: none;
    }

    body.ksa-site-menu-open {
        overflow: hidden;
    }

    .ksa-archive-header__menu {
        height: calc(100dvh - 58px);
    }

    .ksa-archive-header__mobile-essentials {
        display: grid;
        gap: 9px;
        margin-bottom: 12px;
        padding-bottom: 13px;
        border-bottom: 1px solid rgba(216, 178, 102, .18);
    }

    .ksa-archive-header__mobile-search {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 44px;
        min-height: 44px;
        overflow: hidden;
        border: 1px solid rgba(216, 178, 102, .24);
        border-radius: 7px;
        background: rgba(255, 255, 255, .065);
    }

    .ksa-archive-header__mobile-search input {
        min-width: 0;
        min-height: 44px;
        padding: 0 12px;
        border: 0;
        outline: 0;
        background: transparent;
        color: #fff;
        font: inherit;
        font-size: 13px;
    }

    .ksa-archive-header__mobile-search input::placeholder {
        color: rgba(248, 244, 235, .52);
        opacity: 1;
    }

    .ksa-archive-header__mobile-search:focus-within {
        border-color: rgba(211, 166, 76, .68);
        box-shadow: 0 0 0 3px rgba(211, 166, 76, .1);
    }

    .ksa-archive-header__mobile-search button {
        display: grid;
        place-items: center;
        min-height: 44px;
        padding: 0;
        border: 0;
        border-inline-start: 1px solid rgba(216, 178, 102, .18);
        background: rgba(211, 166, 76, .14);
        color: #f8e7bc;
        cursor: pointer;
    }

    .ksa-archive-header__mobile-search button svg {
        width: 17px;
        height: 17px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.7;
        stroke-linecap: round;
    }

    .ksa-archive-header__mobile-shortcuts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 7px;
    }

    body.ksa-site-header-active .ksa-archive-header__menu .ksa-archive-header__mobile-shortcuts a,
    body.ksa-brand-archive-production-route .ksa-archive-header__menu .ksa-archive-header__mobile-shortcuts a,
    body.ksa-brand-archive-preview-route .ksa-archive-header__menu .ksa-archive-header__mobile-shortcuts a {
        min-height: 44px;
        justify-content: center;
        border-color: rgba(211, 166, 76, .22);
        background: rgba(255, 255, 255, .045);
        color: #f8e7bc;
        text-align: center;
    }

    body.ksa-site-header-active .ksa-archive-header__menu .ksa-archive-header__mobile-shortcuts a:first-child,
    body.ksa-brand-archive-production-route .ksa-archive-header__menu .ksa-archive-header__mobile-shortcuts a:first-child,
    body.ksa-brand-archive-preview-route .ksa-archive-header__menu .ksa-archive-header__mobile-shortcuts a:first-child {
        background: rgba(211, 166, 76, .16);
    }

    body.ksa-site-header-active .ksa-archive-header__menu > .ksa-archive-header__all-brands,
    body.ksa-brand-archive-production-route .ksa-archive-header__menu > .ksa-archive-header__all-brands,
    body.ksa-brand-archive-preview-route .ksa-archive-header__menu > .ksa-archive-header__all-brands {
        display: none;
    }

    body.ksa-site-header-active .ksa-archive-header__language,
    body.ksa-site-header-active .ksa-archive-header__mobile-toggle,
    body.ksa-site-header-active .ksa-archive-header__brand-tabs button,
    body.ksa-site-header-active .ksa-archive-header__all-brands,
    body.ksa-brand-archive-production-route .ksa-archive-header__language,
    body.ksa-brand-archive-production-route .ksa-archive-header__mobile-toggle,
    body.ksa-brand-archive-production-route .ksa-archive-header__brand-tabs button,
    body.ksa-brand-archive-production-route .ksa-archive-header__all-brands,
    body.ksa-brand-archive-preview-route .ksa-archive-header__language,
    body.ksa-brand-archive-preview-route .ksa-archive-header__mobile-toggle,
    body.ksa-brand-archive-preview-route .ksa-archive-header__brand-tabs button,
    body.ksa-brand-archive-preview-route .ksa-archive-header__all-brands {
        min-height: 44px;
    }

    .ksa-archive-header.is-mobile-open .ksa-archive-header__mobile-toggle svg {
        display: none;
    }

    .ksa-archive-header.is-mobile-open .ksa-archive-header__mobile-toggle::after {
        content: "\00d7";
        font-size: 19px;
        font-weight: 450;
        line-height: 1;
    }

    body.ksa-site-menu-open .ksa-preview-pagination.is-dock-visible,
    body.ksa-site-menu-open .ksa-shop-dock,
    body.ksa-site-menu-open .ksa-product-preview__sticky-offer-actions {
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

@media (max-width: 800px) {
    body .ksa-home-quicklinks__items a {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
    }

    body .ksa-shop-paths__rail,
    body .ksa-preview-collections,
    body .ksa-brand-directory__tabs,
    body .ksa-brand-directory__az-jump > div,
    body .ksa-reference-preview__decision-nav,
    body .ksa-reference-preview__offer-source-filter,
    body .ksa-reference-preview__offer-refine-filter,
    body .ksa-preview-similar-brands nav {
        padding-inline-end: 24px;
        scroll-padding-inline-end: 24px;
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    }

    body .ksa-brand-preview .ksa-preview-similar-brands nav {
        padding-inline-end: 24px !important;
    }

    [dir="rtl"] .ksa-shop-paths__rail,
    [dir="rtl"] .ksa-preview-collections,
    [dir="rtl"] .ksa-brand-directory__tabs,
    [dir="rtl"] .ksa-brand-directory__az-jump > div,
    [dir="rtl"] .ksa-reference-preview__decision-nav,
    [dir="rtl"] .ksa-reference-preview__offer-source-filter,
    [dir="rtl"] .ksa-reference-preview__offer-refine-filter,
    [dir="rtl"] .ksa-preview-similar-brands nav {
        -webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 24px), transparent 100%);
    }

    body .ksa-shop-paths__rail:focus-within,
    body .ksa-preview-collections:focus-within,
    body .ksa-brand-directory__tabs:focus-within,
    body .ksa-brand-directory__az-jump > div:focus-within,
    body .ksa-reference-preview__decision-nav:focus-within,
    body .ksa-reference-preview__offer-source-filter:focus-within,
    body .ksa-reference-preview__offer-refine-filter:focus-within,
    body .ksa-preview-similar-brands nav:focus-within {
        -webkit-mask-image: none;
        mask-image: none;
    }

    body .ksa-reference-preview__offer-strip {
        grid-template-columns: minmax(0, 1fr) 44px;
    }

    body .ksa-reference-preview__offer-more .ksa-reference-preview__offer-info {
        width: 44px;
        height: 44px;
        min-height: 44px;
    }

    body .ksa-reference-preview__offer-source-filter button,
    body .ksa-reference-preview__offer-refine-filter button {
        min-height: 44px;
    }

    body .ksa-reference-preview__offer-load-more {
        min-height: 44px;
    }

    body .ksa-reference-preview__offer-popover-close {
        flex: 0 0 44px;
        width: 44px;
        height: 44px;
        min-height: 44px;
        margin-block: -11px;
        margin-inline-end: -7px;
        padding: 0;
        border: 0;
        background: transparent;
    }

    body .ksa-reference-preview__offer-popover-close > span[aria-hidden="true"] {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        border: 1px solid rgba(20, 23, 27, .115);
        border-radius: 999px;
        background: rgba(255, 255, 255, .92);
        font-size: 14px;
        line-height: 1;
    }
}

@media (max-width: 620px) {
    body .ksa-home-quicklinks__items,
    body .ksa-home-product-grid {
        padding-inline-end: 24px;
        scroll-padding-inline-end: 24px;
        -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 24px), transparent 100%);
    }

    [dir="rtl"] .ksa-home-quicklinks__items,
    [dir="rtl"] .ksa-home-product-grid {
        -webkit-mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 24px), transparent 100%);
        mask-image: linear-gradient(to left, #000 0, #000 calc(100% - 24px), transparent 100%);
    }

    body .ksa-home-quicklinks__items:focus-within,
    body .ksa-home-product-grid:focus-within {
        -webkit-mask-image: none;
        mask-image: none;
    }
}

@media (max-width: 760px) {
    .ksa-archive-header__menu {
        height: calc(100dvh - 56px);
    }
}
