/* Shared responsive guardrails. Load after shared theme/layout styles; route-specific styles may refine them. */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
}

/* Keep top notices clear of the compact mobile header. */
@media (max-width: 767px) {
    [data-sonner-toaster][data-y-position="top"] {
        top: calc(140px + env(safe-area-inset-top, 0px)) !important;
    }
}

/* Homepage banner: a bright, refractive liquid-glass panel over the photography. */
#bannerContainer .banner-copy {
    isolation: isolate;
    left: clamp(22px, 5vw, 82px);
    width: 46%;
    max-width: 46%;
    max-height: calc(100% - 36px);
    padding: clamp(22px, 3vw, 42px);
    overflow-x: hidden;
    overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .56);
    border-radius: 24px;
    background: linear-gradient(135deg, rgba(255, 255, 255, .09), rgba(224, 241, 255, .045) 48%, rgba(255, 255, 255, .025));
    box-shadow: 0 24px 70px rgba(0, 10, 28, .2), inset 0 1px 0 rgba(255, 255, 255, .72), inset 0 -1px 0 rgba(255, 255, 255, .12), inset 1px 0 0 rgba(255, 255, 255, .18);
    color: #fff;
    text-shadow: 0 2px 18px rgba(0, 12, 30, .4);
    -webkit-backdrop-filter: blur(1.2px) saturate(1.22);
    backdrop-filter: blur(1.2px) saturate(1.22);
}

    #bannerContainer .banner-copy::before {
        position: absolute;
        z-index: -1;
        inset: 0;
        border-radius: inherit;
        background: linear-gradient(125deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .035) 30%, transparent 64%, rgba(255, 255, 255, .025));
        content: "";
        pointer-events: none;
    }

    #bannerContainer .banner-copy::after {
        position: absolute;
        top: 0;
        right: 14%;
        left: 14%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .94), rgba(221, 240, 255, .48), transparent);
        content: "";
        pointer-events: none;
    }

    #bannerContainer .banner-copy .banner-title {
        max-width: 20ch;
        margin-bottom: 12px;
        font-size: clamp(2.15rem, 3.35vw, 4.35rem);
        line-height: 1.02;
        text-wrap: balance;
    }

    #bannerContainer .banner-copy p {
        max-width: 58ch;
        font-size: clamp(1.05rem, 1.35vw, 1.45rem);
        line-height: 1.5;
        color: rgba(255, 255, 255, .94);
    }

#bannerContainer .banner-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin-top: 20px;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, .76);
    border-radius: 999px;
    background: linear-gradient(145deg, rgba(255,255,255,.28), rgba(255,255,255,.08) 48%, rgba(255,255,255,.2));
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .2), inset 0 1px 0 rgba(255, 255, 255, .88), inset 0 -1px 0 rgba(255,255,255,.22);
    -webkit-backdrop-filter: blur(1px) saturate(1.45) brightness(1.18);
    backdrop-filter: blur(1px) saturate(1.45) brightness(1.18);
    text-shadow: none;
    transform: translateZ(0);
    transition: transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease, background .32s ease !important;
}

    #bannerContainer .banner-cta::before {
        position: absolute;
        z-index: -1;
        inset: 1px;
        border-radius: inherit;
        background: linear-gradient(115deg, rgba(255,255,255,.34), rgba(255,255,255,.04) 42%, transparent 70%, rgba(255,255,255,.22));
        content: "";
        pointer-events: none;
    }

#bannerContainer .banner-link:hover .banner-cta {
    transform: scale(1.035) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255,255,255,.98), inset 0 -1px 0 rgba(255,255,255,.28);
}

#bannerContainer .banner-link:active .banner-cta {
    transform: scale(.97) !important;
}

@supports ((backdrop-filter: url(#bannerLiquidGlassButtonFilter)) or (-webkit-backdrop-filter: url(#bannerLiquidGlassButtonFilter))) {
    #bannerContainer .banner-cta {
        background: rgba(255,255,255,.15);
        -webkit-backdrop-filter: url(#bannerLiquidGlassButtonFilter) brightness(1.5) saturate(1.35);
        backdrop-filter: url(#bannerLiquidGlassButtonFilter) brightness(1.5) saturate(1.35);
    }
}

@media (max-width: 767px) {
    /* Replace the desktop 3:1 crop with enough vertical space for the phone banner copy. */
    .intro-slider-container {
        margin-bottom: 2rem;
        padding: 10px 10px 0;
    }

    #bannerContainer .banner-card {
        height: clamp(260px, 75vw, 360px) !important;
        min-height: 260px !important;
        aspect-ratio: auto !important;
    }

    #bannerContainer.swiper {
        height: clamp(260px, 75vw, 360px) !important;
    }

    #bannerContainer .banner-image {
        object-position: right;
    }

    #bannerContainer .banner-copy {
        left: 14px;
        right: 14px;
        bottom: 14px;
        width: auto;
        max-width: none;
        max-height: calc(100% - 28px);
        overflow-y: auto;
        padding: 16px 18px;
        border-radius: 18px;
    }

        #bannerContainer .banner-copy .banner-title {
            max-width: 18ch;
            margin-bottom: 7px;
            font-size: clamp(1.55rem, 5.5vw, 2.15rem);
        }

        #bannerContainer .banner-copy p {
            font-size: clamp(.95rem, 3.4vw, 1.1rem);
            line-height: 1.4;
        }

    #bannerContainer .banner-cta {
        margin-top: 10px;
        padding: 9px 14px;
        font-size: 1rem;
    }

    /* Three categories now form a balanced row instead of leaving a lone third tile. */
    .category-showcase #categoryContainer > .category-column {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
        padding-right: 5px;
        padding-left: 5px;
    }

    .category-showcase .category-card .cat-block figure {
        width: clamp(62px, 20vw, 82px);
        height: clamp(62px, 20vw, 82px);
        margin-bottom: 7px;
    }

    .category-showcase .category-card .cat-block-title {
        font-size: 1rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
}

#main-content,
#main-content > *,
#main-content .container,
#main-content .row,
#main-content [class*="col-"] {
    min-width: 0;
}

img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

/* When a tenant has only a couple of top-level categories, the homepage also
   displays their mapped subcategories and lets the grid use the available width. */
@media (min-width: 768px) {
    .category-showcase--expanded #categoryContainer {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
        gap: 18px;
        margin-right: 0;
        margin-left: 0;
    }

        .category-showcase--expanded #categoryContainer > .category-column {
            flex: none;
            max-width: none;
            width: auto;
            padding-right: 0;
            padding-left: 0;
        }
}

input,
select,
textarea,
button {
    max-width: 100%;
}

/* Tablet header: keep navigation, search, and account actions on clean rows. */
@media (max-width: 991px) {
    .header-main {
        min-height: 68px;
        flex-wrap: wrap;
        gap: 8px 14px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .store-brand {
        min-width: 0;
        max-width: calc(100% - 245px);
    }

        .store-brand #headerBrandText {
            overflow: hidden;
            text-overflow: ellipsis;
        }

    .store-logo-header {
        max-width: min(180px, 35vw);
        max-height: 48px;
        object-fit: contain;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: clamp(5px, 1.5vw, 12px);
        margin-left: auto;
    }

    .search-row {
        gap: 14px;
    }

    .store-search {
        min-width: 0;
    }
}

@media (max-width: 767px) {
    .announcement {
        padding: 7px 0;
        font-size: 1rem;
    }

        .announcement .container {
            align-items: center;
            gap: 7px;
        }

    .announcement-right {
        gap: 8px;
        white-space: nowrap;
        font-size: .95rem;
    }

    .search-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
    }

    .store-search {
        width: 100%;
        max-width: 580px;
        min-width: 0;
    }

    .trust-note {
        display: none;
    }
}

/* Phones: compact but keep all four shopping/account shortcuts reachable. */
@media (max-width: 575px) {
    .header-main {
        min-height: 0;
        flex-wrap: nowrap;
        gap: 5px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .store-brand {
        flex: 1 1 auto;
        gap: 5px;
        max-width: none;
        overflow: hidden;
        font-size: clamp(1.3rem, 5vw, 1.65rem);
    }

    .brand-mark {
        flex: 0 0 29px;
        width: 29px;
        height: 29px;
        border-radius: 9px;
        font-size: 1.9rem;
    }

    .store-brand #headerBrandText {
        min-width: 0;
        line-height: 1;
        white-space: nowrap;
    }

    .store-brand small {
        display: none;
    }

    .store-logo-header {
        width: auto;
        max-width: min(112px, 34vw);
        max-height: 34px;
    }

    .header-actions {
        flex: 0 0 auto;
        gap: 2px;
        margin-left: auto;
    }

        .header-actions > .header-list-dropdown,
        .header-actions > .header-cart {
            flex: 0 0 27px;
            width: 27px;
        }

        .header-actions .header-action {
            width: 27px;
            min-width: 27px;
            min-height: 36px;
            padding: 0;
        }

            .header-actions .header-action > i {
                font-size: 1.9rem;
            }

            .header-actions .header-action > span {
                display: none;
            }

    #accountAvatar:not([hidden]) {
        display: inline-flex;
    }

    .header-actions .action-count {
        top: -1px;
        right: -2px;
        min-width: 15px;
        height: 15px;
        font-size: .85rem;
        line-height: 15px;
    }

    .mobile-nav-toggle {
        display: grid;
        flex: 0 0 31px;
        width: 31px;
        height: 36px;
        place-items: center;
        padding: 0;
        font-size: 2.1rem;
    }

    .search-row {
        padding-top: 0;
        padding-bottom: 10px;
        grid-template-columns: minmax(0, 1fr);
    }

    .store-search {
        width: 100%;
        height: 40px;
        gap: 7px;
        padding-left: 11px;
    }

        .store-search input {
            min-width: 0;
            font-size: 1.1rem;
        }

        .store-search button {
            flex: 0 0 auto;
            padding: 7px 12px;
            font-size: 1rem;
        }

    .header-cart-menu,
    .header-hover-panel {
        top: 132px;
        right: 10px;
        width: min(340px, calc(100vw - 20px));
        max-height: calc(100vh - 124px);
        max-height: calc(100dvh - 124px);
        overflow-y: auto;
    }

    .account-menu-panel {
        right: 10px;
        left: auto;
        width: min(280px, calc(100vw - 20px));
        max-height: calc(100vh - 124px);
        max-height: calc(100dvh - 124px);
        overflow-y: auto;
    }

    .site-bot-toggle {
        right: 12px;
        bottom: max(14px, env(safe-area-inset-bottom));
    }

    .site-bot-panel {
        right: 10px;
        bottom: calc(70px + env(safe-area-inset-bottom));
        width: calc(100vw - 20px);
        max-height: calc(100vh - 92px - env(safe-area-inset-bottom));
        max-height: calc(100dvh - 92px - env(safe-area-inset-bottom));
    }
}

/* Profile: turn the desktop rail into a full-width account header and tab grid. */
@media (max-width: 760px) {
    .profile-page {
        width: calc(100% - 24px);
        max-width: 100%;
        padding-top: 18px;
        padding-bottom: 48px;
    }

    .profile-shell {
        width: 100%;
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .profile-sidebar {
        position: static;
        top: auto;
        width: 100%;
    }

    .profile-main,
    .profile-panel,
    .profile-contact-card {
        min-width: 0;
        width: 100%;
    }

    .profile-panel {
        padding: clamp(15px, 4vw, 23px);
    }

    .profile-order-overview,
    .profile-order-item,
    .profile-address-grid,
    .profile-form-grid {
        min-width: 0;
    }

        .profile-order-overview strong,
        .profile-order-item-copy strong,
        .profile-order-details > strong {
            overflow-wrap: anywhere;
            white-space: normal;
        }

    .profile-order-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .profile-order-action {
        flex: 1 1 auto;
        min-height: 38px;
    }

    .profile-contact-card {
        flex-wrap: wrap;
    }
}

@media (max-width: 420px) {
    .profile-page {
        width: calc(100% - 20px);
        padding-right: 0;
        padding-left: 0;
    }

    .profile-heading h1 {
        font-size: clamp(2.2rem, 11vw, 3rem);
    }

    .profile-identity {
        grid-template-columns: 42px minmax(0, 1fr);
        justify-items: start;
        padding: 12px;
        text-align: left;
    }

    .profile-avatar {
        grid-row: span 2;
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }

    .profile-identity small {
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .profile-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 5px;
        padding: 8px;
    }

        .profile-nav button,
        .profile-nav a {
            min-width: 0;
            min-height: 42px;
            gap: 6px;
            padding: 5px 7px;
            font-size: 12px;
            line-height: 1.25;
        }

            .profile-nav button span {
                margin-left: auto;
            }

    .profile-signout {
        padding: 12px 14px;
    }

    .profile-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-review-dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        padding: 20px 15px;
    }
}

/* Keep comparison scrolling inside its own table instead of widening the page. */
@media (max-width: 767px) {
    .compare-page,
    .wishlist-page,
    .cart-page,
    .checkout-page,
    .search-page,
    .category-page,
    .pdp-page,
    .pdp-redesign,
    .login-page,
    .login-shell,
    .login-form-panel,
    .login-code-row,
    .faq-container,
    .store-info-page,
    .sr-container,
    .product-import-page {
        min-width: 0;
        max-width: 100%;
    }

    .compare-table-scroll {
        max-width: 100%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .compare-table {
        min-width: 700px;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .cart-summary,
    .checkout-summary {
        position: static;
        min-width: 0;
    }

    .cart-item-row,
    .checkout-card,
    .wishlist-card,
    .compare-content,
    .login-story,
    .login-form-panel,
    .login-code-row {
        min-width: 0;
    }

    .support-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 359px) {
    .header-main > .store-brand {
        font-size: 1.2rem;
    }

    .header-actions {
        gap: 1px;
    }

        .header-actions > .header-list-dropdown,
        .header-actions > .header-cart,
        .header-actions .header-action {
            flex-basis: 24px;
            width: 24px;
            min-width: 24px;
        }

            .header-actions .header-action > i {
                font-size: 1.7rem;
            }

    .mobile-nav-toggle {
        flex-basis: 27px;
        width: 27px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* Liquid-glass treatment for the complete homepage banner system. */
#bannerContainer {
    --banner-pointer-x: 50%;
    --banner-pointer-y: 50%;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .64) !important;
    border-radius: clamp(18px, 2vw, 30px) !important;
    background: #07131c !important;
    box-shadow: 0 24px 70px rgba(10, 24, 35, .2), 0 2px 12px rgba(255, 255, 255, .28), inset 0 1px 0 rgba(255,255,255,.7) !important;
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

    #bannerContainer::before,
    #bannerContainer::after {
        position: absolute;
        z-index: 3;
        inset: 0;
        border-radius: inherit;
        content: "";
        pointer-events: none;
    }

    #bannerContainer::before {
        border: 1px solid rgba(255,255,255,.42);
        background: radial-gradient(480px circle at var(--banner-pointer-x) var(--banner-pointer-y), rgba(255,255,255,.13), transparent 68%);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.46), inset 0 -1px 0 rgba(4,18,31,.3);
        opacity: .48;
        transition: opacity .45s ease;
    }

    #bannerContainer::after {
        inset: 1px;
        border: 1px solid rgba(255,255,255,.12);
    }

    #bannerContainer .banner-card {
        overflow: hidden;
        border: 0 !important;
        border-radius: inherit !important;
        background: #07131c;
        transform: translateZ(0);
    }

    #bannerContainer .banner-image {
        transform: scale(1.001);
        transition: transform 1.1s cubic-bezier(.2,.7,.2,1), filter .8s ease !important;
    }

    #bannerContainer:hover .swiper-slide-active .banner-image {
        transform: scale(1.025);
    }

    #bannerContainer .banner-copy {
        z-index: 2;
        border: 1px solid rgba(255,255,255,.48);
        background: linear-gradient(135deg, rgba(242,250,255,.21), rgba(224,241,255,.075) 48%, rgba(255,255,255,.12));
        box-shadow: 0 18px 55px rgba(0,10,24,.24), inset 0 1px 0 rgba(255,255,255,.74), inset 0 -1px 0 rgba(255,255,255,.16);
        -webkit-backdrop-filter: blur(2px) saturate(1.25);
        backdrop-filter: blur(2px) saturate(1.25);
        animation: banner-copy-enter .72s cubic-bezier(.2,.8,.2,1) both;
    }

        #bannerContainer .banner-copy::before {
            background: linear-gradient(115deg, rgba(255,255,255,.22), rgba(255,255,255,.025) 36%, transparent 72%, rgba(255,255,255,.07));
            opacity: .85;
        }

        #bannerContainer .banner-copy::after {
            right: 10%;
            left: 10%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,.9), rgba(225,244,255,.46), transparent);
        }

        #bannerContainer .banner-copy .banner-title,
        #bannerContainer .banner-copy p {
            position: relative;
            z-index: 1;
        }

    #bannerContainer .banner-cta {
        z-index: 1;
        min-height: 44px;
        color: #fff;
        text-shadow: 0 1px 10px rgba(0,12,24,.42);
    }

    #bannerContainer .banner-link:focus-visible .banner-copy,
    #bannerContainer .banner-link:focus-visible .banner-cta {
        outline: 2px solid rgba(255,255,255,.96);
        outline-offset: 4px;
    }

    #bannerContainer .swiper-button-prev,
    #bannerContainer .swiper-button-next {
        z-index: 4;
        display: grid;
        width: clamp(42px, 3.4vw, 56px);
        height: clamp(42px, 3.4vw, 56px);
        place-items: center;
        border: 1px solid rgba(255,255,255,.72) !important;
        border-radius: 50%;
        background: linear-gradient(145deg, rgba(255,255,255,.45), rgba(225,241,250,.16)) !important;
        color: #fff !important;
        box-shadow: 0 8px 26px rgba(0,12,24,.2), inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.2) !important;
        -webkit-backdrop-filter: blur(3px) saturate(1.4);
        backdrop-filter: blur(3px) saturate(1.4);
        transition: transform .32s cubic-bezier(.2,.8,.2,1), background .32s ease, box-shadow .32s ease !important;
    }

    #bannerContainer .swiper-button-prev {
        left: clamp(12px, 2vw, 28px);
    }

    #bannerContainer .swiper-button-next {
        right: clamp(12px, 2vw, 28px);
    }

        #bannerContainer .swiper-button-prev::before,
        #bannerContainer .swiper-button-next::before {
            width: 11px;
            height: 11px;
            filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
        }

        #bannerContainer .swiper-button-prev:hover,
        #bannerContainer .swiper-button-next:hover {
            background: rgba(255,255,255,.58) !important;
            color: #153c36 !important;
            box-shadow: 0 12px 30px rgba(0,12,24,.26), inset 0 1px 0 #fff !important;
            transform: translateY(-50%) scale(1.08) !important;
        }

        #bannerContainer .swiper-button-prev:active,
        #bannerContainer .swiper-button-next:active {
            transform: translateY(-50%) scale(.94) !important;
        }

    #bannerContainer .swiper-pagination {
        z-index: 4;
        bottom: clamp(12px, 2vw, 24px) !important;
        left: 50% !important;
        display: flex;
        width: auto !important;
        align-items: center;
        gap: 5px;
        padding: 8px 11px;
        border: 1px solid rgba(255,255,255,.42);
        border-radius: 999px;
        background: rgba(255,255,255,.16);
        box-shadow: 0 5px 20px rgba(0,10,20,.16), inset 0 1px 0 rgba(255,255,255,.48);
        -webkit-backdrop-filter: blur(3px) saturate(1.35);
        backdrop-filter: blur(3px) saturate(1.35);
        transform: translateX(-50%);
    }

    #bannerContainer .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
        margin: 0 !important;
        border: 1px solid rgba(255,255,255,.82);
        background: rgba(255,255,255,.52);
        opacity: 1;
        transition: width .28s cubic-bezier(.2,.8,.2,1), background .28s ease, transform .28s ease;
    }

    #bannerContainer .swiper-pagination-bullet-active {
        width: 20px;
        border-radius: 999px;
        background: #fff;
        transform: scaleY(1.12);
    }

    #bannerContainer .owl-dots {
        z-index: 4;
        display: flex;
        width: max-content;
        gap: 5px;
        margin: -36px auto 12px;
        padding: 8px 11px;
        border: 1px solid rgba(255,255,255,.42);
        border-radius: 999px;
        background: rgba(255,255,255,.16);
        -webkit-backdrop-filter: blur(3px) saturate(1.35);
        backdrop-filter: blur(3px) saturate(1.35);
    }

    #bannerContainer .owl-dot span {
        width: 6px;
        height: 6px;
        margin: 0 2px;
        background: rgba(255,255,255,.6);
        transition: width .28s ease, background .28s ease;
    }

    #bannerContainer .owl-dot.active span {
        width: 20px;
        border-radius: 999px;
        background: #fff;
    }

@keyframes banner-copy-enter {
    from {
        opacity: 0;
        translate: 0 12px;
        scale: .985;
    }

    to {
        opacity: 1;
        translate: 0 0;
        scale: 1;
    }
}

@media (max-width: 767px) {
    #bannerContainer {
        border-radius: 18px !important;
        box-shadow: 0 12px 32px rgba(10,24,35,.2), inset 0 1px 0 rgba(255,255,255,.6) !important;
    }

        #bannerContainer .banner-card {
            border-radius: 17px !important;
        }

        #bannerContainer .banner-copy {
            background: linear-gradient(140deg, rgba(14,31,41,.66), rgba(21,49,58,.54));
            border-color: rgba(255,255,255,.38);
            box-shadow: 0 10px 30px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.58);
            -webkit-backdrop-filter: blur(2px) saturate(1.2);
            backdrop-filter: blur(2px) saturate(1.2);
        }

        #bannerContainer .swiper-button-prev,
        #bannerContainer .swiper-button-next {
            width: 36px;
            height: 36px;
        }

        #bannerContainer .swiper-button-prev {
            left: 8px;
        }

        #bannerContainer .swiper-button-next {
            right: 8px;
        }

        #bannerContainer .swiper-pagination {
            bottom: 8px !important;
            padding: 6px 9px;
        }
}

@media (prefers-reduced-motion: reduce) {
    #bannerContainer .banner-image,
    #bannerContainer .banner-copy,
    #bannerContainer .banner-cta,
    #bannerContainer .swiper-button-prev,
    #bannerContainer .swiper-button-next,
    #bannerContainer .swiper-pagination-bullet,
    #bannerContainer .owl-dot span {
        animation: none !important;
        transition: none !important;
    }
}

/* Keep two compact products visible in each mobile home shelf. */
@media (max-width: 575px) {
    #main-content .home-category-section .home-product-carousel {
        padding-right: 2px;
        padding-left: 2px;
    }

    #main-content .home-category-section .home-product-card .product-media {
        height: clamp(112px, 32vw, 136px);
    }

    #main-content .home-category-section .home-product-card .product-body {
        padding: 9px 8px 10px;
    }

    #main-content .home-category-section .home-product-card .product-title {
        min-height: 4.2em;
        font-size: .82rem;
        line-height: 1.3;
        overflow-wrap: anywhere;
    }

    #main-content .home-category-section .home-product-card .product-cat {
        min-height: 2.4em;
        font-size: .64rem;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }

    #main-content .home-category-section .home-product-card .product-price {
        margin: 4px 0 6px;
        padding-top: 2px;
        font-size: .92rem;
    }

    #main-content .home-category-section .home-product-card .product-card-footer {
        gap: 4px;
        margin-top: 5px;
    }

    #main-content .home-category-section .home-product-card .product-add-cart {
        min-height: 34px;
        gap: 4px;
        padding: 6px 5px;
        font-size: .78rem;
        white-space: nowrap;
    }

        #main-content .home-category-section .home-product-card .product-add-cart span {
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
        }

    #main-content .home-category-section .home-product-card .home-product-link {
        flex-basis: 30px;
        height: 34px;
    }

    #main-content .home-category-section .home-product-card .cart-qty-stepper {
        min-height: 34px;
        gap: 2px;
        padding: 2px;
        flex-wrap: nowrap;
    }

        #main-content .home-category-section .home-product-card .cart-qty-stepper button {
            width: 24px;
            height: 28px;
        }

        #main-content .home-category-section .home-product-card .cart-qty-stepper .cart-qty-value {
            min-width: 24px;
            font-size: .8rem;
        }

    #main-content .home-category-section .home-product-card .product-card-tools button {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 359px) {
    #main-content .home-category-section .home-product-card .product-title {
        font-size: .76rem;
    }

    #main-content .home-category-section .home-product-card .product-add-cart {
        gap: 3px;
        padding-right: 4px;
        padding-left: 4px;
        font-size: .7rem;
    }

    #main-content .home-category-section .home-product-card .cart-qty-stepper button {
        width: 22px;
    }
}
/* =========================================
   ONE UMBRELLA — PREMIUM SHOPPING GUIDES
   ========================================= */

#form1 #main-content .store-info-card > .ou-body:has( > .store-info-content > .ou-policy > .ou-body > ol.ou-grid ) {
    padding: clamp(14px, 3vw, 32px);
}

/* Main guide container */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) {
    --guide-action: var(--store-forest);
    --guide-action-ink: #fff;
    max-width: 100%;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    font-family: var(--ui-font-body, "Nunito Sans", sans-serif);
    overflow: visible;
}

/* Dark theme action colours */
html[data-store-theme="midnight"]
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) {
    --guide-action: var(--store-accent);
    --guide-action-ink: var(--store-page);
}

/* Editorial hero */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero {
    position: relative;
    padding: clamp(28px, 5vw, 54px);
    padding-right: clamp(140px, 24%, 250px);
    border: 1px solid var(--store-line);
    border-radius: 20px;
    background: linear-gradient( 125deg, var(--store-mint), var(--store-sand) );
    overflow: hidden;
}

    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero h1 {
        margin: 18px 0 14px;
        font-size: clamp(32px, 4.5vw, 52px);
        font-weight: 600;
        letter-spacing: -.055em;
        line-height: 1.12;
        color: var(--store-ink) !important;
        text-wrap: balance;
    }

#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) .ou-hero .ou-label {
    padding: 0;
    background: transparent;
    border-radius: 0;
    font-size: 11px;
    letter-spacing: .14em;
    font-weight: 700;
}

#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) .ou-lead {
    max-width: 580px;
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.75;
}

/* Large decorative hero symbol */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-highlight {
    position: absolute;
    top: 50%;
    right: clamp(24px, 5vw, 60px);
    display: grid;
    place-items: center;
    width: clamp(90px, 12vw, 140px);
    aspect-ratio: 1;
    border: 1px solid var(--store-line);
    border-radius: 50%;
    background: var(--store-surface);
    color: var(--store-green);
    font-family: Arial, sans-serif;
    font-size: clamp(44px, 6vw, 76px);
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
    box-shadow: 0 0 0 14px color-mix(in srgb, var(--store-surface) 35%, transparent);
}

/* Hero actions */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 25px 0 0;
}

    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-grid > a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 12px 20px;
        border: 1px solid var(--store-line);
        border-radius: 10px;
        background: var(--store-surface);
        color: var(--store-ink) !important;
        text-decoration: none;
        font-size: 14px;
        font-weight: 700;
        transition: transform .2s ease, box-shadow .2s ease;
    }

        #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-grid > a:first-child {
            background: var(--guide-action);
            border-color: var(--guide-action);
            color: var(--guide-action-ink) !important;
        }

        #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-grid > a:hover {
            transform: translateY(-2px);
            box-shadow: var(--theme-shadow);
        }

/* Reading area */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-body {
    max-width: 900px;
    margin: 0 auto;
    padding: clamp(24px, 5vw, 48px) 0;
    background: transparent;
}

#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) h2 {
    margin: 34px 0 10px;
    padding: 0;
    border: 0;
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 600;
    letter-spacing: -.035em;
}

#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-body > h2:first-child {
    margin-top: 0;
}

/* Vertical numbered guide */
#form1 #main-content .ou-policy > .ou-body > ol.ou-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 0;
    margin: 25px 0;
    list-style: none;
}

    #form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li {
        position: relative;
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: start;
        gap: 20px;
        padding: 22px 0;
        margin: 0;
        border: 0;
        border-bottom: 1px solid var(--store-line);
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

        #form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li:last-child {
            border-bottom: 0;
        }

        #form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li > .ou-label {
            display: grid;
            place-items: center;
            width: 44px;
            height: 44px;
            padding: 0;
            border-radius: 50%;
            background: var(--store-mint);
            color: var(--store-ink) !important;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 0;
        }

    #form1 #main-content .ou-policy > .ou-body > ol.ou-grid h3 {
        margin: 0 0 7px;
        padding: 0;
        border: 0;
        font-size: 19px;
        font-weight: 600;
        line-height: 1.4;
    }

    #form1 #main-content .ou-policy > .ou-body > ol.ou-grid p {
        margin: 0;
        font-size: 15px;
        line-height: 1.75;
    }

/* Helpful information */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) .ou-note {
    padding: 20px 24px;
    margin: 24px 0;
    border: 0;
    border-left: 3px solid var(--store-accent);
    border-radius: 0 12px 12px 0;
    background: var(--store-sand);
}

    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) .ou-note p {
        margin: 6px 0 0;
    }

/* FAQ section */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-body > h3 {
    margin: 22px 0 7px;
    padding: 0;
    border: 0;
    font-size: 17px;
    font-weight: 600;
}

/* Customer support footer */
#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-footer {
    padding: 26px;
    border: 1px solid var(--store-line);
    border-radius: 16px;
    background: var(--store-sand);
    font-size: 14px;
}

    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-footer h2 {
        margin: 0 0 8px;
        font-size: 23px;
    }

    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-footer .ou-grid {
        margin: 18px 0 0;
    }

#form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) a {
    overflow-wrap: anywhere;
}

#form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li > .ou-guide-images {
    grid-column: 2 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 12px;
}

.ou-guide-images > a {
    display: block;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--store-line);
    border-radius: 10px;
    background: var(--store-surface);
}

    .ou-guide-images > a:only-child {
        grid-column: 1 / -1;
        max-width: 640px;
    }

    .ou-guide-images > a:is(:hover, :focus-visible) {
        border-color: var(--store-green);
    }

.ou-guide-images img {
    display: block;
    width: 100%;
    height: auto;
}

/* Mobile responsiveness */
@media (max-width: 640px) {

    #form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li > .ou-guide-images {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
    }

    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero {
        padding: 25px 20px;
        border-radius: 14px;
    }

        #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-highlight {
            display: none;
        }

        #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero h1 {
            font-size: 32px;
        }

        #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) > .ou-hero > .ou-grid > a {
            flex: 1 1 100%;
        }

    #form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 13px;
        padding: 19px 0;
    }

        #form1 #main-content .ou-policy > .ou-body > ol.ou-grid > li > .ou-label {
            width: 36px;
            height: 36px;
            font-size: 12px;
        }
}

@media (prefers-reduced-motion: reduce) {
    #form1 #main-content .ou-policy:has(> .ou-body > ol.ou-grid) a {
        transition: none;
    }
}
