/* Boot loader: covers the first paint so stale/zero stock never flashes */
.store-loader {
    position: fixed;
    inset: 0;
    z-index: 400;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.75rem;
    background: #F8FAFC;
    transition: opacity 320ms ease, visibility 320ms ease;
}
.store-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.store-loader-stage {
    position: relative;
    display: grid;
    place-items: center;
    width: 15rem;
    height: 15rem;
}
.store-loader-logo {
    width: 8rem;
    height: auto;
    object-fit: contain;
    animation: store-loader-breathe 2.6s ease-in-out infinite;
}
.store-loader-wordmark {
    display: none;
    color: #004B93;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.store-loader-ring {
    position: absolute;
    inset: 1.25rem;
    border: 2px solid rgba(0, 75, 147, 0.12);
    border-top-color: #004B93;
    border-radius: 9999px;
    animation: store-loader-spin 1.5s linear infinite;
}
.store-loader-orbit {
    position: absolute;
    inset: 0;
    animation: store-loader-spin 5s linear infinite;
}
.store-loader-fish {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 1.25rem;
    margin: -0.625rem 0 0 -1rem;
    color: #ff7d00;
}
/* Sit each fish on the orbit, nose pointing along the path */
.store-loader-fish:nth-child(1) {
    transform: rotate(0deg) translateX(6.5rem) rotate(90deg);
}
.store-loader-fish:nth-child(2) {
    transform: rotate(120deg) translateX(6.5rem) rotate(90deg);
    color: #004B93;
}
.store-loader-fish:nth-child(3) {
    transform: rotate(240deg) translateX(6.5rem) rotate(90deg);
    color: #58b3f0;
}
.store-loader-text {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
}
@keyframes store-loader-spin {
    to { transform: rotate(360deg); }
}
@keyframes store-loader-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.06); }
}
@media (max-width: 480px) {
    .store-loader-stage { width: 12.5rem; height: 12.5rem; }
    .store-loader-logo { width: 6.5rem; }
    .store-loader-fish:nth-child(1) { transform: rotate(0deg) translateX(5.4rem) rotate(90deg); }
    .store-loader-fish:nth-child(2) { transform: rotate(120deg) translateX(5.4rem) rotate(90deg); }
    .store-loader-fish:nth-child(3) { transform: rotate(240deg) translateX(5.4rem) rotate(90deg); }
}
@media (prefers-reduced-motion: reduce) {
    .store-loader-orbit,
    .store-loader-ring,
    .store-loader-logo {
        animation-duration: 0s;
    }
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 125, 0, 0.5); }
    50% { transform: scale(1.15); box-shadow: 0 0 0 6px rgba(255, 125, 0, 0); }
}
.badge-pulse { animation: badge-pulse 1.5s ease-in-out infinite; }
.badge-pop { animation: badge-pop 0.35s ease-out; }
@keyframes badge-pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

/* Hero slider — split banner (copy + curved media) */
#hero-slider {
    position: relative;
    background: #fff;
    box-sizing: border-box;
    touch-action: pan-y;
}
#hero-slides { position: relative; }
.hero-slide { display: none; }
.hero-slide.is-active { display: block; animation: hero-fade-in 0.5s ease; }
@keyframes hero-fade-in {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Image banner slides — locked frame; images authored to match.
   Desktop: 1800×600 (3:1). Mobile: 350×500 (7:10). */
.hero-banner-link {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 350 / 500;
    line-height: 0;
    text-decoration: none;
    color: inherit;
    background: #fff;
    -webkit-tap-highlight-color: transparent;
    overflow: hidden;
    border-radius: 0;
}
@media (min-width: 900px) {
    .hero-banner-link {
        aspect-ratio: 3 / 1;
        max-height: none;
    }
}
.hero-banner-link picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #fff;
}
.hero-banner-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #fff;
    /* Crop baked-in rounded black corners from AI banner exports */
    transform: scale(1.02);
    transform-origin: center center;
}

/* Video / HTML split slide — same locked frame as banners 2 & 3.
   Desktop: 1800×600 (3:1). Mobile: 350×500 (7:10). */
.hero-slide-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    width: 100%;
    aspect-ratio: 350 / 500;
    height: auto;
    min-height: 0;
    max-height: none;
    overflow: hidden;
}
@media (min-width: 900px) {
    .hero-slide-inner {
        flex-direction: row;
        align-items: stretch;
        aspect-ratio: 3 / 1;
    }
}
.hero-slide-copy {
    /* Mobile: video top 42%, copy image bottom 58% — matches 350×210 + 350×290 */
    flex: 0 0 58%;
    padding: 0.85rem 0.9rem 0.55rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    order: 2;
    background: #fff;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    /* Kill hairline seam under video */
    margin-top: -1px;
}
/* Designed banner art instead of HTML copy (slider-1) */
.hero-slide-copy--img {
    padding: 0;
    display: block;
    position: relative;
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    background: #fff;
}
.hero-slide-copy--img picture {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}
.hero-slide-copy--img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    background: #fff;
}
@media (min-width: 900px) {
    .hero-slide-copy {
        order: 0;
        flex: 0 0 45%;
        width: 45%;
        max-width: 45%;
        padding: 1.1rem 1.35rem 1rem 1.75rem;
        justify-content: center;
        margin-top: 0;
    }
    .hero-slide-copy--img {
        padding: 0;
    }
    .hero-slide-copy--img img {
        object-fit: cover;
        object-position: center center;
    }
    /* Shrimp (and similar): top-aligned block + CTA pinned to bottom */
    .hero-slide-copy--cta-bottom {
        justify-content: flex-start;
    }
    .hero-slide-copy--cta-bottom .hero-features {
        margin-top: 1.35rem;
    }
    .hero-slide-copy--cta-bottom .hero-cta {
        margin-top: auto;
        margin-bottom: 0.15rem;
    }
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #ff7d00;
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
    margin-bottom: 0.45rem;
    width: fit-content;
    flex-shrink: 0;
}
@media (min-width: 900px) {
    .hero-badge {
        font-size: 0.6875rem;
        padding: 0.3rem 0.75rem;
        margin-bottom: 0.65rem;
    }
}
.hero-badge-dot {
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: #fff;
    flex-shrink: 0;
}
.hero-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #004B93;
    line-height: 1.12;
    margin: 0;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}
@media (min-width: 900px) {
    .hero-title { font-size: 2.1rem; }
}
@media (min-width: 1100px) {
    .hero-title { font-size: 2.35rem; }
}
.hero-title-accent {
    color: #ff7d00;
    position: relative;
    display: inline-block;
}
.hero-title-accent::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 3px;
    background: #ff7d00;
    border-radius: 2px;
}
.hero-subtitle {
    color: #64748b;
    margin: 0.4rem 0 0;
    font-size: 0.78rem;
    line-height: 1.4;
    max-width: 28rem;
    flex-shrink: 0;
}
@media (min-width: 900px) {
    .hero-subtitle {
        margin-top: 0.55rem;
        font-size: 0.9rem;
        line-height: 1.5;
    }
}
.hero-cta {
    display: inline-block;
    margin-top: 0.55rem;
    background: #004B93;
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    padding: 0.5rem 1.15rem;
    border-radius: 9999px;
    text-decoration: none;
    width: fit-content;
    flex-shrink: 0;
    transition: background 0.2s, box-shadow 0.2s;
}
@media (min-width: 900px) {
    .hero-cta {
        margin-top: 0.85rem;
        font-size: 0.875rem;
        padding: 0.625rem 1.35rem;
    }
}
.hero-cta:hover {
    background: #003A75;
    box-shadow: 0 4px 14px rgba(255, 125, 0, 0.35);
}
.hero-features {
    list-style: none;
    margin: 0.65rem 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 0.45rem;
    flex: 1 1 auto;
    min-height: 0;
    align-content: start;
}
@media (min-width: 900px) {
    .hero-features {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.65rem 0.5rem;
        max-width: 34rem;
        margin-top: 0.85rem;
        flex: 0 0 auto;
    }
}
.hero-cta + .hero-features {
    margin-top: 0.7rem;
}
@media (min-width: 900px) {
    .hero-cta + .hero-features {
        margin-top: 1rem;
    }
}
.hero-features + .hero-cta {
    margin-top: 1.35rem;
}
.hero-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.25rem;
}
.hero-feature-icon {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 50%;
    border: 1.5px solid currentColor;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
@media (min-width: 900px) {
    .hero-feature-icon {
        width: 2.65rem;
        height: 2.65rem;
    }
}
.hero-feature-icon svg {
    width: 1rem;
    height: 1rem;
}
@media (min-width: 900px) {
    .hero-feature-icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }
}
.hero-feature-icon--img {
    width: 3rem;
    height: 3rem;
    border: 0;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.hero-feature-icon--img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.hero-feature--coral { color: #ff7d00; }
.hero-feature--blue { color: #004B93; }
.hero-feature-label {
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.2;
    color: #334155;
    max-width: 5.5rem;
}
@media (min-width: 900px) {
    .hero-feature-label { font-size: 0.7rem; }
}

.hero-slide-media {
    position: relative;
    flex: 0 0 42%;
    order: 1;
    margin: 0;
    min-height: 0;
    background: #fff;
    display: flex;
    flex-direction: column;
}
@media (min-width: 900px) {
    .hero-slide-media {
        order: 0;
        flex: 0 0 55%;
        width: 55%;
        max-width: 55%;
        margin: 0;
        /* Pull 1px under copy so rounded image corners can’t show a seam */
        margin-left: -1px;
        align-self: stretch;
    }
    .hero-slide-copy--img {
        z-index: 1;
    }
}
.hero-media-frame {
    position: relative;
    width: 100%;
    flex: 1 1 auto;
    height: 100%;
    min-height: 0;
    overflow: hidden;
    border-radius: 0;
    background: #fff;
}
@media (min-width: 900px) {
    .hero-media-frame {
        /* Soft right-side crop; no dual orange/navy ring */
        border-radius: 0;
    }
}
/* Video frame — clean fill, no colored border */
.hero-media-frame--shaped {
    box-shadow: none;
}
@media (min-width: 900px) {
    .hero-media-frame--shaped {
        border-radius: 0;
    }
}
.hero-media-frame img,
.hero-media-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 0;
}
.hero-media-chip {
    position: absolute;
    right: 0.55rem;
    bottom: 0.55rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: #004B93;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 600;
    line-height: 1.2;
    padding: 0.35rem 0.55rem;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(0, 75, 147, 0.35);
    max-width: calc(100% - 1.1rem);
}
@media (min-width: 900px) {
    .hero-media-chip {
        right: 0.85rem;
        bottom: 0.85rem;
        font-size: 0.65rem;
        padding: 0.45rem 0.7rem;
        gap: 0.4rem;
        max-width: calc(100% - 1.5rem);
    }
}
.hero-media-chip strong { color: #ff7d00; font-weight: 700; }
.hero-media-chip svg {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
    color: #ff7d00;
}
.hero-controls {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    z-index: 10;
    padding: 0.3rem 0 0.3rem;
    background: #fff;
}
@media (min-width: 900px) {
    .hero-controls {
        position: absolute;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        bottom: 1rem;
        padding: 0;
        background: transparent;
    }
}
.hero-pause-btn {
    background: rgba(255,255,255,0.95);
    color: #004B93;
    border: none;
    border-radius: 9999px;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12);
}
.hero-dot {
    height: 0.375rem;
    border-radius: 9999px;
    border: none;
    cursor: pointer;
    padding: 0;
    background: rgba(0,75,147,0.3);
    transition: width 0.3s, background 0.3s;
}
.hero-dot.is-active { width: 2rem; background: #004B93; }
.hero-dot:not(.is-active) { width: 1rem; }
.hero-dot:not(.is-active):hover { background: rgba(0,75,147,0.5); }

/* Mobile header: ☰ left, logo centered, search+cart right.
   Equal 1fr side tracks keep the logo optically centered, and the middle track
   shrinks the logo instead of letting it run under the action icons. */
@media (max-width: 767px) {
    .site-header-bar {
        position: relative;
        display: grid;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }
    #mobile-nav-toggle {
        grid-column: 1;
        justify-self: start;
    }
    .site-logo {
        grid-column: 2;
        justify-self: center;
        min-width: 0;
    }
    /* object-contain keeps the aspect ratio while the box narrows */
    .site-logo img {
        max-width: 100%;
        min-width: 0;
    }
    .site-header-actions {
        grid-column: 3;
        justify-self: end;
        margin-left: 0;
    }
}

/* Desktop category dropdowns (Tailwind `hidden` = display:none — override on hover/focus) */
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    display: block;
}

/* Mobile search: icon → expandable field */
.mobile-search-panel {
    display: none;
    border-top: 1px solid #e5e7eb;
    background: #fff;
}
.mobile-search-panel.is-open {
    display: block;
}
#mobile-search-toggle.is-active {
    background: #003A75;
}

/* Mobile hamburger drawer — below sticky header so logo stays visible */
body.mobile-nav-open header.sticky {
    z-index: 62;
}
.mobile-nav-backdrop {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: var(--site-header-h, 4.75rem);
    z-index: 60;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.mobile-nav-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-nav-drawer {
    position: fixed;
    top: var(--site-header-h, 4.75rem);
    left: 0;
    bottom: 0;
    z-index: 61;
    width: min(100vw, 22rem);
    max-width: 100%;
    background: #fff;
    box-shadow: 8px 0 32px rgba(0, 0, 0, 0.18);
    transform: translateX(-105%);
    transition: transform 0.28s ease;
    display: flex;
    flex-direction: column;
    visibility: hidden;
    pointer-events: none;
}
.mobile-nav-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}

/* Side menu above PDP when both are open */
body.pdp-open.mobile-nav-open header.sticky {
    z-index: 82;
}
body.pdp-open .mobile-nav-backdrop {
    z-index: 80;
}
body.pdp-open .mobile-nav-drawer {
    z-index: 81;
}
.mobile-nav-drawer-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: #fff;
}
.mobile-nav-panel {
    min-height: 100%;
    background: #f4f8fc;
    padding-bottom: 1.25rem;
}
.mobile-nav-back {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #004B93;
    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;
}
.mobile-nav-cat-hero {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.35rem 1.1rem 1.15rem;
}
.mobile-nav-cat-hero-icon-wrap {
    flex-shrink: 0;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 9999px;
    background: #e8f1fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mobile-nav-cat-hero-icon-wrap--sheet {
    background: transparent;
    overflow: visible;
}
.mobile-nav-cat-hero-icon-wrap--sheet .mobile-nav-hero-icon,
.mobile-nav-cat-hero-icon-wrap--sheet .mobile-nav-item-icon {
    width: 4.5rem;
    height: 4.5rem;
}
.mobile-nav-hero-icon,
.mobile-nav-cat-hero-icon-wrap .mobile-nav-item-icon {
    width: 3.35rem;
    height: 3.35rem;
}
.mobile-nav-cat-hero-copy {
    min-width: 0;
}
.mobile-nav-panel-title {
    margin: 0;
    padding: 0;
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #004B93;
    line-height: 1.15;
}
.mobile-nav-cat-blurb {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: #64748b;
}
.mobile-nav-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 0 1rem;
}
.mobile-nav-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    width: 100%;
    padding: 0.4rem 0.95rem;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    cursor: pointer;
    text-align: left;
    color: #004B93;
    overflow: visible;
}
.mobile-nav-card:active {
    background: #f8fafc;
}
.mobile-nav-card--combo {
    background: #fff7f0;
    border-color: #ffb06a;
    color: #ff7d00;
}
.mobile-nav-card--combo:active {
    background: #ffefe0;
}
.mobile-nav-card-leading {
    position: relative;
    flex-shrink: 0;
}
.mobile-nav-card-glyph {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 9999px;
    background: #e8f1fb;
    color: #004B93;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.mobile-nav-card-glyph--combo {
    background: #ffe4cc;
    color: #ff7d00;
}
.mobile-nav-card-glyph--photo .mobile-nav-item-icon {
    width: 1.85rem;
    height: 1.85rem;
}
.mobile-nav-card-glyph--sheet {
    width: 2.85rem;
    height: 2.85rem;
    background: transparent;
    border-radius: 0;
    overflow: visible;
}
.mobile-nav-card-glyph--sheet .mobile-nav-item-icon {
    width: 2.85rem;
    height: 2.85rem;
    object-fit: contain;
    display: block;
}
.mobile-nav-card--combo .mobile-nav-card-glyph--sheet {
    width: 3.05rem;
    height: 3.05rem;
}
.mobile-nav-card--combo .mobile-nav-card-glyph--sheet .mobile-nav-item-icon {
    width: 3.05rem;
    height: 3.05rem;
}
.mobile-nav-card-svg {
    width: 1.2rem;
    height: 1.2rem;
}
.mobile-nav-combo-badge {
    position: absolute;
    top: -0.4rem;
    left: 50%;
    transform: translateX(-50%);
    background: #ff7d00;
    color: #fff;
    font-size: 0.55rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    padding: 0.22rem 0.35rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 1px 3px rgba(255, 125, 0, 0.35);
}
.mobile-nav-card-label {
    flex: 1;
    min-width: 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
}
.mobile-nav-card-chevron {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    color: #004B93;
    opacity: 0.75;
}
.mobile-nav-card--combo .mobile-nav-card-chevron {
    color: #ff7d00;
    opacity: 1;
}
.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    padding: 0.85rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #004B93;
    background: #fff;
    border: 0;
    border-bottom: 1px solid #e8edf2;
    cursor: pointer;
    text-align: left;
}
.mobile-nav-item-main {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
}
.mobile-nav-item-icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
}
.mobile-nav-item-text {
    line-height: 1.2;
}
.mobile-nav-item:active {
    background: #eff6ff;
}
.mobile-nav-item--accent {
    color: #ff7d00;
    font-weight: 700;
}
.mobile-nav-item-chevron {
    width: 1rem;
    height: 1rem;
    color: #94a3b8;
    flex-shrink: 0;
}
.mobile-nav-item--accent .mobile-nav-item-chevron {
    color: #ff7d00;
}
html.mobile-nav-open,
body.mobile-nav-open {
    overflow: hidden;
    overscroll-behavior: none;
}
body.mobile-nav-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

/* Products */
.lazy-product-img { opacity: 0; transition: opacity 0.35s ease; }
.lazy-product-img.loaded { opacity: 1; }
.product-card-img {
    object-fit: cover;
    object-position: center;
    background: #F8FAFC;
}
@keyframes catalog-skel-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
}
.catalog-skel-pulse {
    animation: catalog-skel-pulse 1.2s ease-in-out infinite;
}

/* Footer */
.footer-wave-wrap {
    margin-bottom: -1px; /* seal against blue footer */
    line-height: 0;
    overflow: hidden;
    pointer-events: none;
}
.footer-wave {
    display: block;
    width: 100%;
    height: 2.75rem;
}
.footer-wave-path--back { fill: rgba(0, 75, 147, 0.12); }
.footer-wave-path--mid { fill: rgba(0, 75, 147, 0.22); }
.footer-wave-path--front { fill: #004B93; }

/* Motion uses SVG SMIL <animate> in index.html (CSS d:path() does not work on iOS Safari). */
@media (prefers-reduced-motion: reduce) {
    .footer-wave-path animate {
        display: none;
    }
}

/* Underwater scene anchored to the bottom-left of the footer columns */
.footer-body {
    position: relative;
    isolation: isolate;
}
.footer-body::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: min(42rem, 85%);
    aspect-ratio: 1024 / 344;
    background: url('/assets/icons/footer/fishes.png') left bottom / contain no-repeat;
    opacity: 0.22;
    pointer-events: none;
    z-index: -1;
}
.footer-inner {
    position: relative;
    z-index: 1;
}

/* Column headings carry a short orange rule */
.footer-heading {
    position: relative;
}
.footer-heading::after {
    content: '';
    display: block;
    width: 1.75rem;
    height: 2px;
    margin-top: 0.4rem;
    border-radius: 2px;
    background: #ff7d00;
}
.footer-follow-label {
    margin-top: 1rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.footer-tagline {
    font-weight: 700;
}

@media (min-width: 1024px) {
    .footer-inner {
        padding-top: 2.25rem;
        padding-bottom: 2.5rem;
        gap: 2.5rem;
    }
    .footer-logo {
        padding: 0.55rem 0.75rem;
        border-radius: 0.55rem;
    }
    .footer-logo img {
        height: 3.15rem;
        max-height: none;
    }
    .footer-tagline {
        margin-top: 1rem;
        max-width: 17.5rem;
        color: rgba(255, 255, 255, 0.72);
        font-size: 0.92rem;
        font-weight: 700;
        line-height: 1.55;
    }
    .footer-follow-label {
        margin-top: 1.35rem;
        padding-top: 1.1rem;
        font-size: 0.78rem;
        letter-spacing: 0.14em;
    }
    .footer-socials {
        margin-top: 0.85rem;
        gap: 0.65rem;
    }
    .footer-brand .footer-social {
        width: 2.5rem;
        height: 2.5rem;
    }
    .footer-brand .footer-social img {
        width: 1.35rem;
        height: 1.35rem;
    }
}

.footer-link {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    width: 100%;
    padding: 0.5rem 0;
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.3s ease-in-out;
}
button.footer-link {
    background: none;
    border: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}
.footer-links li + li {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-link-icon {
    width: 1.05rem;
    height: 1.05rem;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.45);
    transition: color 0.3s ease-in-out;
}
.footer-link-text {
    position: relative;
}
.footer-link-text::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: #ff7d00;
    transition: width 0.3s ease-in-out;
}
.footer-link:hover { color: #ff7d00; }
.footer-link:hover .footer-link-icon { color: #ff7d00; }
.footer-link:hover .footer-link-text::after { width: 100%; }

/* Connect column */
.footer-connect-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.7rem;
    background: rgba(255, 255, 255, 0.06);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}
.footer-connect-card:hover {
    border-color: rgba(255, 125, 0, 0.55);
    background: rgba(255, 125, 0, 0.1);
}
.footer-connect-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
}
.footer-connect-copy,
.footer-trust-copy {
    display: block;
    min-width: 0;
}
.footer-connect-copy strong,
.footer-trust-copy strong {
    display: block;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}
.footer-connect-copy > span,
.footer-trust-copy > span {
    display: block;
    margin-top: 0.15rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    line-height: 1.45;
}
.footer-trust {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.1rem;
}
.footer-trust li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.footer-trust-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.08);
    color: #9cc4e8;
}
.footer-trust-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}

/* Payment marks in the copyright bar */
.footer-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 1.5rem;
    padding: 0 0.45rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.3rem;
    background: rgba(255, 255, 255, 0.05);
}
.footer-pay img {
    display: block;
    width: auto;
    height: 0.7rem;
    object-fit: contain;
}
.footer-pay--mc img {
    height: 0.95rem;
}

.footer-copy {
    margin: 0;
    line-height: 1.45;
}
.footer-copy-line,
.footer-copy-rights {
    display: block;
}
@media (min-width: 640px) {
    .footer-copy-line,
    .footer-copy-rights {
        display: inline;
    }
    .footer-copy-rights::before {
        content: ' ';
    }
}

/* Mobile/tablet footer: stacked brand row, boxed headings, trust strip */
@media (max-width: 1023px) {
    .footer-inner {
        column-gap: 1.5rem;
        row-gap: 1.5rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }
    .footer-brand {
        align-items: center;
    }
    .footer-logo img {
        height: 2.25rem;
    }
    .footer-socials {
        margin-top: 1rem;
        gap: 0.6rem;
    }
    .footer-brand .footer-social {
        width: 2.75rem;
        height: 2.75rem;
    }
    .footer-brand .footer-social img {
        width: 1.4rem;
        height: 1.4rem;
    }
    .footer-chat-pill {
        gap: 0.5rem;
        padding: 0.7rem 1.25rem;
        font-size: 0.95rem;
    }
    .footer-chat-pill img {
        width: 1.35rem;
        height: 1.35rem;
    }
    /* Orange bar sits beside the label instead of under it */
    .footer-heading {
        display: flex;
        align-items: center;
        gap: 0.65rem;
        margin-bottom: 0.65rem;
        color: #fff;
        font-size: 0.95rem;
        font-weight: 700;
        letter-spacing: 0.06em;
    }
    .footer-heading::after {
        display: none;
    }
    .footer-heading::before {
        content: '';
        width: 3px;
        height: 1.15rem;
        flex-shrink: 0;
        border-radius: 2px;
        background: #ff7d00;
    }
    .footer-links li {
        font-size: 0.92rem;
    }
    .footer-link {
        gap: 0.7rem;
        padding: 0.7rem 0;
        color: rgba(255, 255, 255, 0.88);
    }
    .footer-link-icon {
        width: 1.3rem;
        height: 1.3rem;
        color: rgba(255, 255, 255, 0.6);
    }
}

.footer-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 0.5rem;
    padding-top: 1.35rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-trust-strip li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 0 0.4rem;
    text-align: center;
}
.footer-trust-strip li + li {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-trust-strip-icon {
    color: #9cc4e8;
}
.footer-trust-strip-icon svg {
    width: 1.55rem;
    height: 1.55rem;
}
.footer-trust-strip strong {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1.3;
}
.footer-trust-strip span:not(.footer-trust-strip-icon) {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    line-height: 1.3;
}
/* Stays a single 4-up row at every width; type scales down instead of wrapping */
@media (max-width: 639px) {
    .footer-trust-strip {
        padding-top: 1.1rem;
    }
    .footer-trust-strip li {
        gap: 0.25rem;
        padding: 0 0.3rem;
    }
    .footer-trust-strip-icon svg {
        width: 1.3rem;
        height: 1.3rem;
    }
    .footer-trust-strip strong {
        font-size: 0.68rem;
    }
    .footer-trust-strip span:not(.footer-trust-strip-icon) {
        font-size: 0.6rem;
    }
}
@media (max-width: 400px) {
    .footer-trust-strip li {
        padding: 0 0.2rem;
    }
    .footer-trust-strip-icon svg {
        width: 1.15rem;
        height: 1.15rem;
    }
    .footer-trust-strip strong {
        font-size: 0.62rem;
    }
    .footer-trust-strip span:not(.footer-trust-strip-icon) {
        font-size: 0.55rem;
    }
}
.footer-social { transition: color 0.3s ease-in-out, background-color 0.3s ease-in-out; }
.footer-social img {
    display: block;
    width: 1rem;
    height: 1rem;
    object-fit: contain;
}
.footer-social:hover {
    color: #ff7d00;
    background-color: rgba(255, 125, 0, 0.15);
}
@keyframes sonar-pulse {
    0% { transform: scale(1); opacity: 0.45; }
    100% { transform: scale(1.55); opacity: 0; }
}
.chat-sonar { position: relative; z-index: 1; }
.chat-sonar::before {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 9999px;
    border: 2px solid rgba(255, 125, 0, 0.45);
    animation: sonar-pulse 2.5s ease-out infinite;
    z-index: -1;
}
@media (prefers-reduced-motion: reduce) {
    .chat-sonar::before { animation: none; opacity: 0; }
}

html {
    background-color: #003A75;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Fallback if Tailwind CDN config hasn’t applied yet */
.max-w-shell {
    max-width: 100rem; /* 1600px — was 7xl / 1280px */
}

/* Scroll to top */
#scroll-top {
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}
#scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scroll-top.visible .scroll-top-inner {
    animation: bubble-float 3s ease-in-out infinite;
}
#scroll-top:hover .scroll-top-arrow { transform: translateY(-3px); }
@keyframes bubble-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
    #scroll-top.visible .scroll-top-inner { animation: none; }
}
#scroll-top.above-cart { bottom: 5.5rem; }

/* Sticky cart bar: white so it never blends into the navy footer */
#mobile-cart-bar {
    background: #fff;
    color: #0f172a;
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -8px 28px rgba(15, 23, 42, 0.14);
    padding: 0.85rem 1rem max(0.85rem, env(safe-area-inset-bottom));
}
.mobile-cart-bar-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.65rem;
    background: #e8f1fb;
    color: #004B93;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mobile-cart-bar-icon svg {
    width: 1.35rem;
    height: 1.35rem;
}

@media (max-width: 639px) {
    .footer-wave { height: 2rem; }
    .footer-inner { column-gap: 1.1rem; }
    .footer-logo img { height: 2rem; }
    .footer-heading { font-size: 0.88rem; }
    .footer-links li { font-size: 0.85rem; line-height: 1.35; }
    .footer-link { gap: 0.6rem; padding: 0.6rem 0; }
    .footer-link-icon { width: 1.15rem; height: 1.15rem; }
    .footer-brand .footer-social { width: 2.5rem; height: 2.5rem; }
    .footer-brand .footer-social img { width: 1.3rem; height: 1.3rem; }
    .footer-chat-pill { padding: 0.6rem 1rem; font-size: 0.85rem; }
    .footer-chat-pill img { width: 1.15rem; height: 1.15rem; }
    .footer-body::before { width: 100%; opacity: 0.16; }
    .footer-pay { height: 1.3rem; padding: 0 0.35rem; }
    .footer-pay img { height: 0.6rem; }
    .footer-pay--mc img { height: 0.85rem; }
    .group:hover { transform: none; }
}

/* Homepage category circles (Chewy-style: image + name only) */
.category-circles {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.65rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #004B93 #e5e7eb;
    padding: 0.25rem 0 0.75rem;
}
.category-circles::-webkit-scrollbar { height: 5px; }
.category-circles::-webkit-scrollbar-thumb {
    background: #004B93;
    border-radius: 9999px;
}
.category-circle {
    flex: 0 0 auto;
    width: 7.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.55rem;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
@media (min-width: 640px) {
    .category-circles {
        gap: 0.85rem;
        overflow-x: visible;
        padding-bottom: 0.25rem;
    }
    .category-circle {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        max-width: none;
    }
}
@media (min-width: 1024px) {
    .category-circles { gap: 1rem; }
}
.category-circle-img {
    display: block;
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.category-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}
.category-circle-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    text-align: center;
    line-height: 1.25;
}
@media (min-width: 640px) {
    .category-circle-label { font-size: 1.125rem; }
}
.category-circle:hover .category-circle-img,
.category-circle:focus-visible .category-circle-img {
    box-shadow: 0 6px 22px rgba(255, 125, 0, 0.55), 0 0 0 3px rgba(255, 125, 0, 0.28);
    transform: translateY(-2px);
}
.category-circle:hover .category-circle-img img,
.category-circle:focus-visible .category-circle-img img {
    transform: scale(1.04);
}
.category-circle:focus-visible {
    outline: none;
}
.category-circle:focus-visible .category-circle-label {
    color: #004B93;
}

/* Deals scroll */
.deals-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #004B93 #e5e7eb;
}
.deals-scroll::-webkit-scrollbar { height: 6px; }
.deals-scroll::-webkit-scrollbar-thumb {
    background: #004B93;
    border-radius: 9999px;
}

/* Breadcrumbs */
.breadcrumb-link {
    color: #6b7280;
    transition: color 0.2s;
}
.breadcrumb-link:hover { color: #ff7d00; }
.breadcrumb-sep { color: #d1d5db; }

/* Subcategory pills */
.sub-pill {
    transition: background 0.2s, color 0.2s;
}
.sub-pill.is-active {
    background: #004B93;
    color: #fff;
}

/* Filter sidebar */
.filter-panel {
    position: sticky;
    top: 7.5rem;
    max-height: calc(100vh - 8.5rem);
    overflow-y: auto;
}
.filter-group + .filter-group {
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
    margin-top: 1rem;
}
.filter-checkbox {
    accent-color: #004B93;
}
.price-range-track {
    position: relative;
    height: 44px;
    margin: 0.25rem 0 0.5rem;
    display: flex;
    align-items: center;
    background: transparent;
    touch-action: none;
}
.price-range-track::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    background: #e5e7eb;
    border-radius: 9999px;
    pointer-events: none;
}
.price-range-fill {
    position: absolute;
    top: 50%;
    height: 8px;
    transform: translateY(-50%);
    background: #004B93;
    border-radius: 9999px;
    pointer-events: none;
    z-index: 1;
}
.price-range-input {
    position: absolute;
    width: 100%;
    height: 44px;
    top: 0;
    left: 0;
    margin: 0;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
    z-index: 2;
}
.price-range-input:focus {
    outline: none;
}
.price-range-input:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(0, 75, 147, 0.25), 0 1px 4px rgba(0, 0, 0, 0.2);
}
.price-range-input:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(0, 75, 147, 0.25), 0 1px 4px rgba(0, 0, 0, 0.2);
}
.price-range-input.is-active {
    z-index: 4;
}
.price-range-input::-webkit-slider-runnable-track {
    height: 8px;
    background: transparent;
    border: none;
}
.price-range-input::-moz-range-track {
    height: 8px;
    background: transparent;
    border: none;
}
.price-range-input::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 28px;
    height: 28px;
    margin-top: -10px; /* center on 8px track */
    border-radius: 50%;
    background: #004B93;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
    cursor: grab;
    /* Expand hit target beyond visible circle (WebKit) */
    position: relative;
}
.price-range-input::-webkit-slider-thumb:active {
    cursor: grabbing;
    transform: scale(1.08);
}
.price-range-input::-moz-range-thumb {
    pointer-events: auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #004B93;
    border: 3px solid #fff;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.28);
    cursor: grab;
}
.price-range-input::-moz-range-thumb:active {
    cursor: grabbing;
}

/* Filter chips */
.filter-chip {
    transition: background 0.2s;
}
.filter-chip:hover { background: #fff7ed; }

/* Mobile filter drawer */
#filter-drawer.open { transform: translateY(0); }
#filter-overlay.open { opacity: 1; visibility: visible; pointer-events: auto; }
#filter-overlay:not(.open) { pointer-events: none; }
.filter-drawer-scroll {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}
.filter-drawer-header {
    flex-shrink: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1rem 0.85rem;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
}
.filter-drawer-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}
.filter-drawer-icon {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    background: #e8f1fb;
    color: #004B93;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-drawer-icon svg {
    width: 1.15rem;
    height: 1.15rem;
}
.filter-drawer-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #004B93;
    line-height: 1.2;
}
.filter-drawer-subtitle {
    margin-top: 0.15rem;
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.3;
}
.filter-drawer-close {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #4b5563;
    display: flex;
    align-items: center;
    justify-content: center;
}
.filter-drawer-close svg {
    width: 0.95rem;
    height: 0.95rem;
}
.filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.filter-panel-heading {
    font-weight: 700;
    color: #004B93;
}
.filter-clear-all {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-left: auto;
    color: #ff7d00;
    font-size: 0.75rem;
    font-weight: 600;
}
.filter-clear-all svg {
    width: 0.9rem;
    height: 0.9rem;
}
.filter-group-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #004B93;
    line-height: 1.3;
}
.filter-group-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0.15rem 0 0.6rem;
}
#filter-drawer .filter-panel-heading {
    display: none;
}
#filter-drawer .filter-toolbar {
    justify-content: flex-end;
    margin-bottom: 0.25rem;
}
html.filters-open,
body.filters-open {
    overflow: hidden;
    overscroll-behavior: none;
}
body.filters-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}

/* Cart drawer: keep page frozen; scroll only inside panel */
html.cart-open,
body.cart-open {
    overflow: hidden;
    overscroll-behavior: none;
}
body.cart-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}
html.auth-open,
body.auth-open,
html.orders-open,
body.orders-open {
    overflow: hidden;
    overscroll-behavior: none;
    touch-action: none;
}
body.auth-open,
body.orders-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}
.auth-modal {
    touch-action: pan-y;
}
.cart-panel-scroll {
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Product cards — Option 4 hybrid (compact buy row + detail modal) */
.product-card {
    overflow: visible;
    position: relative;
    cursor: pointer;
}
.product-card:has(.pack-dd.is-open) {
    z-index: 30;
}
.type-chip {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 999px;
    flex-shrink: 0;
}
.type-chip.packs {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.type-chip.simple {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #bbf7d0;
}
.product-card .buy-row,
.product-card .buy-row * {
    cursor: default;
}
.product-card .pack-dd-trigger,
.product-card .step-btn {
    cursor: pointer;
}
.product-card .card-title {
    min-height: calc(1.375em * 2);
}

/* Design B pricing */
.price-b-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
}
/* Single-price cards + PDP: sell · MRP | stepper; OFF on next line */
.buy-row-simple {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-start;
    gap: 0.5rem;
}
.buy-row-simple .price-b {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}
.buy-row-simple .price-b-main {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem;
}
.buy-row-simple .stepper {
    flex-shrink: 0;
    margin-top: 1.58rem;
}
.product-card .buy-row-simple .price-b-sell {
    font-size: 0.9375rem;
    white-space: nowrap;
}
.product-card .buy-row-simple .price-b-mrp {
    font-size: 0.8125rem;
    white-space: nowrap;
}
.product-card .buy-row-simple .price-b-off {
    font-size: 0.625rem;
    padding: 0.15rem 0.4rem;
}
/* PDP: qty stays beside price (same column as image; no edge stretch) */
.pdp-buy-simple {
    width: fit-content;
    max-width: 100%;
}
.pdp-buy-simple .buy-row-pdp {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 3.8rem;
    width: auto;
    max-width: 100%;
}
.pdp-buy-simple .price-b-top {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.35rem 0.45rem;
    flex: 0 1 auto;
}
.pdp-buy-simple .price-b-sell {
    font-size: 1.35rem;
    white-space: nowrap;
}
.pdp-buy-simple .price-b-mrp {
    font-size: 1rem;
    white-space: nowrap;
}
.pdp-buy-simple .price-b-off {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    white-space: nowrap;
    flex-shrink: 0;
}
.pdp-buy-simple .stepper {
    flex-shrink: 0;
}
.pdp-buy-simple .price-b-save {
    margin-top: 0.35rem;
    font-size: 0.875rem;
}
.pdp-buy-simple .price-b-tax {
    font-size: 0.8125rem;
}
.price-b-sell {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ff7d00;
    line-height: 1.2;
}
.price-b-mrp {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1.2;
}
.price-b-mrp s {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.price-b-off {
    display: inline-flex;
    align-items: center;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #15803d;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    padding: 0.15rem 0.4rem;
    border-radius: 0.3rem;
    line-height: 1.2;
}
.price-b-save {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #059669;
    line-height: 1.25;
}
.price-b-tax {
    font-size: 0.625rem;
    font-weight: 500;
    color: #64748b;
    line-height: 1.25;
}
.pdp-price-b .price-b-sell { font-size: 1.35rem; }
.pdp-price-b .price-b-mrp { font-size: 1rem; }
.pdp-price-b .price-b-off { font-size: 0.75rem; padding: 0.2rem 0.5rem; }
.pdp-price-b .price-b-save { font-size: 0.875rem; }
.pdp-price-b .price-b-tax { font-size: 0.8125rem; }

.pack-row-price-b {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.1rem;
    flex-shrink: 0;
}
.pack-row-price-b .sell {
    font-size: 0.875rem;
    font-weight: 800;
    color: #ff7d00;
}
.pack-row-price-b .mrp {
    font-size: 0.65rem;
    color: #94a3b8;
}
.pack-row-price-b .mrp s { text-decoration: line-through; }
.pack-row-label .price-b-off {
    margin-left: 0.35rem;
    vertical-align: middle;
}

.product-card .pack-dd-label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.3rem 0.4rem;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    color: inherit;
    font-weight: 600;
    line-height: 1.2;
}
.product-card .pack-dd-label .pack-dd-name {
    color: #004B93;
    font-size: 0.8125rem;
    font-weight: 700;
}
.product-card .pack-dd-label .pack-dd-sep {
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.75rem;
    user-select: none;
}
.product-card .pack-dd-label .pack-dd-sell {
    color: #ff7d00;
    font-size: 0.8125rem;
    font-weight: 800;
}
.product-card .pack-dd-label .pack-dd-mrp {
    font-size: 0.6875rem;
    font-weight: 500;
    color: #94a3b8;
}
.product-card .pack-dd-label .pack-dd-mrp s {
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}
.buy-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
/* Pack cards: dropdown full width so "1 Pair · ₹42" isn't clipped beside the stepper */
.product-card .buy-row:has(.pack-dd) {
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
}
.product-card .buy-row:has(.pack-dd) .stepper {
    padding: 0.15rem;
    gap: 0.15rem;
    align-self: stretch;
    justify-content: space-between;
}
.product-card .buy-row .step-btn {
    width: 1.75rem;
    height: 1.75rem;
    font-size: 0.9375rem;
    border-radius: 0.4rem;
}
.product-card .buy-row .step-qty {
    min-width: 1.35rem;
    font-size: 0.8125rem;
}
.product-card .pack-dd {
    flex: none;
    width: 100%;
    min-width: 0;
}
.product-card .pack-dd-trigger {
    padding: 0.45rem 0.5rem 0.45rem 0.6rem;
    min-height: 2.35rem;
}
.product-card .pack-dd-chevron {
    width: 0.9rem;
    height: 0.9rem;
}
.buy-row .price-solo {
    flex: 1;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #ff7d00;
    line-height: 1.2;
}
.stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    background: #F8FAFC;
    border: 1px solid rgba(0, 75, 147, 0.1);
    border-radius: 0.5rem;
    padding: 0.15rem;
}
.step-btn {
    width: 2rem;
    height: 2rem;
    border-radius: 0.4rem;
    font-weight: 700;
    line-height: 1;
    display: grid;
    place-items: center;
}
.step-btn.minus {
    background: #fff;
    color: #004B93;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
}
.step-btn.plus {
    background: #ff7d00;
    color: #fff;
}
.step-btn:disabled,
.step-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.step-qty {
    min-width: 1.35rem;
    text-align: center;
    font-size: 0.8125rem;
    font-variant-numeric: tabular-nums;
}

/* Custom pack dropdown on cards */
.pack-dd {
    position: relative;
    flex: 1;
    min-width: 0;
}
.pack-dd-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem;
    text-align: left;
    border: 1.5px solid rgba(255, 125, 0, 0.28);
    border-radius: 0.65rem;
    padding: 0.45rem 0.55rem 0.45rem 0.65rem;
    background: linear-gradient(180deg, #fff 0%, #fff8f5 100%);
    box-shadow: 0 1px 2px rgba(255, 125, 0, 0.06);
    transition: border-color 0.15s, box-shadow 0.15s;
}
.pack-dd-trigger:hover,
.pack-dd.is-open .pack-dd-trigger {
    border-color: #ff7d00;
    box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.12);
}
.pack-dd-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff7d00;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}
.pack-dd-chevron {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    color: #ff7d00;
    transition: transform 0.15s;
}
.pack-dd.is-open .pack-dd-chevron {
    transform: rotate(180deg);
}
.pack-dd-menu {
    display: none;
    position: fixed;
    z-index: 80;
    background: #fff;
    border: 1.5px solid rgba(0, 75, 147, 0.12);
    border-radius: 0.75rem;
    padding: 0.35rem;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14), 0 2px 6px rgba(15, 23, 42, 0.06);
    max-height: min(14rem, 50vh);
    overflow-y: auto;
    box-sizing: border-box;
}
.pack-dd.is-open .pack-dd-menu {
    display: block;
}
.pack-dd-option {
    width: 100%;
    display: grid;
    grid-template-columns: 0.9rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.4rem;
    text-align: left;
    padding: 0.5rem 0.55rem;
    border-radius: 0.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: background 0.12s;
}
.pack-dd-option:hover:not(:disabled) {
    background: #FFF4EF;
}
.pack-dd-option.is-active {
    background: rgba(0, 75, 147, 0.07);
}
.pack-dd-option:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.pack-dd-option-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #004B93;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}
.pack-dd-option-price {
    font-size: 0.75rem;
    font-weight: 700;
    color: #ff7d00;
    white-space: nowrap;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}
.pack-dd-check {
    width: 0.85rem;
    color: #004B93;
    flex-shrink: 0;
    opacity: 0;
    text-align: center;
    line-height: 1;
}
.pack-dd-option.is-active .pack-dd-check {
    opacity: 1;
}

/* Four-step checkout drawer */
.checkout-header {
    display: grid;
    grid-template-columns: 5.5rem 1fr 5.5rem;
    align-items: center;
    min-height: 4.5rem;
    padding: 0.8rem 1.5rem;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}
/* Fixed columns so hiding the Back button never shifts the title */
.checkout-header-title {
    grid-column: 2;
    margin: 0;
    text-align: center;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
    white-space: nowrap;
}
.checkout-header-back,
.checkout-header-close {
    border: 0;
    background: transparent;
    color: #004b93;
    cursor: pointer;
}
.checkout-header-back {
    grid-column: 1;
    justify-self: start;
    font-size: 0.82rem;
    font-weight: 700;
}
.checkout-header-close {
    grid-column: 3;
    justify-self: end;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    color: #64748b;
    font-size: 1.65rem;
    line-height: 1;
}
.checkout-header-close:hover {
    color: #004b93;
    background: #f1f5f9;
}
.checkout-stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 1.1rem 1.25rem 0.9rem;
    border-bottom: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
}
.checkout-stepper.is-pickup {
    grid-template-columns: repeat(3, 1fr);
}
.checkout-stepper.is-pickup [data-checkout-progress="2"] {
    display: none;
}
.checkout-stepper.is-pickup .checkout-progress-line {
    left: 18%;
    right: 18%;
}
.checkout-progress-line {
    position: absolute;
    top: 2.02rem;
    left: 14%;
    right: 14%;
    height: 2px;
    overflow: hidden;
    background: #e2e8f0;
}
.checkout-progress-line > span {
    display: block;
    width: 0;
    height: 100%;
    background: #004b93;
    transition: width 220ms ease;
}
.checkout-progress-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #94a3b8;
    font-size: 0.82rem;
    text-align: center;
}
.checkout-progress-dot {
    display: grid;
    place-items: center;
    width: 1.85rem;
    height: 1.85rem;
    border: 2px solid #cbd5e1;
    border-radius: 9999px;
    background: #fff;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 800;
}
@media (max-width: 420px) {
    .checkout-stepper {
        padding-left: 0.6rem;
        padding-right: 0.6rem;
    }
    .checkout-progress-item {
        font-size: 0.72rem;
    }
}
.checkout-progress-item.is-active,
.checkout-progress-item.is-complete {
    color: #004b93;
    font-weight: 700;
}
.checkout-progress-item.is-active .checkout-progress-dot,
.checkout-progress-item.is-complete .checkout-progress-dot {
    border-color: #004b93;
    background: #004b93;
    color: #fff;
}
.checkout-step {
    display: none;
    padding: 1.4rem 1.5rem 1.75rem;
}
.checkout-step.is-active {
    display: block;
}
.checkout-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.9rem;
}
.checkout-section-heading h3,
.checkout-step-title {
    margin: 0;
    color: #1e293b;
    font-size: 1.02rem;
    font-weight: 800;
}
.checkout-section-heading button {
    border: 0;
    background: none;
    color: #004b93;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
}
/* Empty cart state inside the checkout drawer */
.checkout-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem 0 0.25rem;
}
.checkout-empty.hidden {
    display: none;
}
.checkout-empty-art {
    width: min(16rem, 70%);
    height: auto;
    object-fit: contain;
}
.checkout-empty h3 {
    margin: 0.35rem 0 0.5rem;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 800;
}
.checkout-empty p {
    margin: 0;
    max-width: 24rem;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.65;
}
.checkout-empty-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1.35rem;
    padding: 0.8rem 1.75rem;
    border: 1px solid rgba(0, 75, 147, 0.35);
    border-radius: 0.6rem;
    background: #fff;
    color: #004b93;
    font-size: 0.95rem;
    font-weight: 800;
    cursor: pointer;
    transition: background 160ms ease, border-color 160ms ease;
}
.checkout-empty-btn:hover {
    background: #f1f6fb;
    border-color: #004b93;
}
.checkout-empty-btn svg {
    width: 1.2rem;
    height: 1.2rem;
    flex-shrink: 0;
}

.checkout-totals {
    display: grid;
    gap: 0.55rem;
    margin: 1.1rem 0 1.25rem;
    padding-top: 1.1rem;
    border-top: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.88rem;
}
.checkout-totals > div,
.checkout-confirm-summary > div:not(.checkout-confirm-item),
.checkout-order-meta > div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}
.checkout-totals > div.hidden,
.checkout-confirm-summary > div.hidden,
.checkout-order-meta > div.hidden {
    display: none !important;
}
.checkout-total-row {
    margin-top: 0.25rem;
    padding-top: 0.65rem;
    border-top: 1px solid #e2e8f0;
    color: #004b93;
    font-size: 1.15rem;
    font-weight: 800;
}
/* Two columns at the 550px drawer width; short fields pair up */
.checkout-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.1rem;
    padding-top: 1.2rem;
    border-top: 1px solid #e2e8f0;
}
.checkout-field-wide {
    grid-column: 1 / -1;
}
.checkout-field-pincode .checkout-field {
    max-width: 12rem;
}
@media (max-width: 480px) {
    .checkout-fields {
        grid-template-columns: minmax(0, 1fr);
    }
    .checkout-field-pincode .checkout-field {
        max-width: none;
    }
}
#checkout-form label,
#checkout-step-address label {
    display: block;
    margin-bottom: 0.35rem;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}
.checkout-optional {
    color: #94a3b8;
    font-weight: 400;
}
.checkout-inline-field {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.5rem;
}
.checkout-inline-field button {
    padding: 0 1.15rem;
    border: 1px solid rgba(0, 75, 147, 0.25);
    border-radius: 0.55rem;
    background: #fff;
    color: #004b93;
    font-size: 0.82rem;
    font-weight: 700;
}
#checkout-form .checkout-field {
    display: block;
    width: 100%;
    min-height: 2.95rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(0, 75, 147, 0.22);
    border-radius: 0.55rem;
    background: #fff;
    box-sizing: border-box;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}
#checkout-form .checkout-field:focus {
    border-color: #ff7d00;
    box-shadow: none;
    outline: none;
}
#checkout-form .checkout-field:disabled {
    background: #f1f5f9;
    color: #334155;
    cursor: not-allowed;
}
.checkout-field-hint {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.7rem;
}
.checkout-pickup-hint a {
    color: #004b93;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 0.12em;
}
.checkout-primary-btn,
.checkout-secondary-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    min-height: 3.15rem;
    margin-top: 1.35rem;
    border-radius: 0.55rem;
    font-size: 0.94rem;
    font-weight: 800;
    cursor: pointer;
    transition: 160ms ease;
}
.checkout-primary-btn {
    border: 1px solid #004b93;
    background: #004b93;
    color: #fff;
    box-shadow: 0 6px 16px rgba(0, 75, 147, 0.18);
}
.checkout-primary-btn:hover:not(:disabled) {
    background: #003a75;
}
.checkout-primary-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    box-shadow: none;
}
.checkout-primary-btn.hidden,
.checkout-secondary-btn.hidden {
    display: none !important;
}
.checkout-secondary-btn {
    border: 1px solid rgba(0, 75, 147, 0.35);
    background: #fff;
    color: #004b93;
}
.checkout-error {
    margin: 0.8rem 0 0;
    color: #dc2626;
    font-size: 0.82rem;
    font-weight: 600;
}
.checkout-secure-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin: 1rem 0 0;
    color: #94a3b8;
    font-size: 0.78rem;
    text-align: center;
}
.checkout-secure-note svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}

/* Payment failure screen */
.checkout-failure-art {
    width: min(18rem, 82%);
    height: auto;
    object-fit: contain;
}
#checkout-payment-failure h3 {
    margin: 0.25rem 0 0.6rem;
    font-size: 1.5rem;
}
#checkout-payment-failure > p {
    line-height: 1.6;
}
.checkout-hold-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.9rem 1.1rem;
    border-radius: 0.6rem;
    background: #eff6ff;
    color: #475569;
    font-size: 0.88rem;
    text-align: left;
}
.checkout-hold-card.hidden {
    display: none;
}
.checkout-hold-card svg {
    width: 1.5rem;
    height: 1.5rem;
    flex-shrink: 0;
    color: #004b93;
}
.checkout-hold-card strong {
    display: block;
    color: #004b93;
    font-weight: 800;
}
.checkout-failure-actions {
    width: 100%;
}
.checkout-failure-actions .checkout-primary-btn,
.checkout-failure-actions .checkout-secondary-btn {
    margin-top: 0.85rem;
}
.checkout-primary-btn svg,
.checkout-secondary-btn svg {
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
}
.checkout-pickup-card {
    margin: 1.1rem 0;
    padding: 1.1rem 1.15rem;
    border: 1px solid rgba(0, 75, 147, 0.16);
    border-radius: 0.7rem;
    background: #f8fafc;
    color: #475569;
    font-size: 0.86rem;
}
.checkout-pickup-card strong,
.checkout-pickup-card a {
    display: block;
}
.checkout-pickup-card a {
    margin-top: 0.25rem;
    color: #004b93;
    font-weight: 700;
}
.checkout-address-divider {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 1.15rem 0;
    color: #94a3b8;
    font-size: 0.68rem;
    letter-spacing: 0.02em;
}
.checkout-address-divider::before,
.checkout-address-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: #e2e8f0;
}
.checkout-status-screen.is-active {
    display: flex;
}
.checkout-status-screen {
    min-height: 25rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.checkout-status-screen h3,
.checkout-confirmation h3 {
    margin: 0.85rem 0 0.25rem;
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 800;
}
.checkout-status-screen > p,
.checkout-confirmation > p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}
.checkout-status-screen > p.checkout-secure-note,
.checkout-confirmation > p.checkout-secure-note {
    margin-top: 1.25rem;
    color: #94a3b8;
    font-size: 0.78rem;
}
.checkout-spinner {
    width: 2.75rem;
    height: 2.75rem;
    border: 4px solid #dbeafe;
    border-top-color: #004b93;
    border-radius: 9999px;
    animation: checkout-spin 0.8s linear infinite;
}
@keyframes checkout-spin {
    to { transform: rotate(360deg); }
}
.checkout-result-icon {
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 900;
}
.checkout-result-icon.is-error { background: #dc2626; }
.checkout-result-icon.is-success { background: #16a34a; }
.checkout-failure-actions {
    width: 100%;
    margin-top: 0.5rem;
}
.checkout-confirmation {
    text-align: center;
}
.checkout-order-meta {
    display: grid;
    gap: 0.45rem;
    margin: 1.25rem 0;
    padding: 1rem 1.1rem;
    border: 1px solid #bbf7d0;
    border-radius: 0.6rem;
    background: #f0fdf4;
    color: #15803d;
    font-size: 0.82rem;
    text-align: left;
}
.checkout-confirm-summary {
    display: grid;
    gap: 0.55rem;
    color: #475569;
    font-size: 0.85rem;
    text-align: left;
}
.checkout-confirm-summary h4 {
    margin: 0.25rem 0;
    color: #1e293b;
    font-size: 0.98rem;
}
.checkout-confirm-item {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid #e2e8f0;
}
.checkout-confirm-item span,
.checkout-confirm-item small {
    display: block;
}
.checkout-confirm-item small {
    margin-top: 0.15rem;
    color: #94a3b8;
}
/* Address suggestions under the delivery address field */
.addr-ac {
    position: relative;
}
.addr-ac-menu {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.25rem);
    z-index: 6;
    max-height: 15rem;
    overflow-y: auto;
    background: #fff;
    border: 1px solid rgba(0, 75, 147, 0.18);
    border-radius: 0.75rem;
    box-shadow: 0 12px 28px rgba(0, 58, 117, 0.16);
    overscroll-behavior: contain;
}
/* Moved to <body> while open so the cart panel cannot clip it */
.addr-ac-menu.addr-ac-portal {
    position: fixed;
    z-index: 200;
}
.addr-ac-menu[hidden] {
    display: none;
}
.addr-ac-item {
    display: block;
    width: 100%;
    padding: 0.6rem 0.75rem;
    text-align: left;
    background: none;
    border: 0;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}
.addr-ac-item:last-child {
    border-bottom: 0;
}
.addr-ac-item:hover,
.addr-ac-item.is-active {
    background: rgba(255, 125, 0, 0.08);
}
.addr-ac-main {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
}
.addr-ac-item:hover .addr-ac-main,
.addr-ac-item.is-active .addr-ac-main {
    color: #ff7d00;
}
.addr-ac-sub {
    display: block;
    margin-top: 0.1rem;
    font-size: 0.75rem;
    color: #64748b;
    line-height: 1.3;
}
.addr-ac-note {
    margin: 0;
    padding: 0.6rem 0.75rem;
    font-size: 0.75rem;
    color: #64748b;
}

.fulfillment-dd {
    flex: none;
    width: 100%;
    position: relative;
    z-index: 5;
}
.fulfillment-dd .pack-dd-trigger {
    min-height: 2.75rem;
    padding: 0.65rem 0.75rem;
    border-color: rgba(0, 75, 147, 0.22);
    background: #fff;
    box-shadow: none;
}
.fulfillment-dd .pack-dd-trigger:hover,
.fulfillment-dd.is-open .pack-dd-trigger {
    border-color: #004B93;
    box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.12);
}
.fulfillment-dd .pack-dd-label {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    color: #004B93;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}
.fulfillment-dd .pack-dd-name {
    color: #004B93;
    font-size: 0.98rem;
    font-weight: 700;
}
.fulfillment-dd .pack-dd-name.is-placeholder {
    color: #94a3b8;
    font-weight: 600;
}
.fulfillment-dd .pack-dd-chevron {
    color: #004B93;
    width: 1.1rem;
    height: 1.1rem;
}
.fulfillment-dd .pack-dd-option,
.pack-dd-menu.fulfillment-menu-portal .pack-dd-option {
    padding: 0.7rem 0.75rem;
    gap: 0.55rem;
}
.fulfillment-dd .pack-dd-option-label,
.pack-dd-menu.fulfillment-menu-portal .pack-dd-option-label {
    font-size: 0.95rem;
}
.fulfillment-dd .pack-dd-option-price,
.pack-dd-menu.fulfillment-menu-portal .pack-dd-option-price {
    font-size: 0.95rem;
    color: #ff7d00;
}
/* Portaled to body so cart transform / overflow-x-hidden cannot hide it */
.pack-dd-menu.fulfillment-menu-portal,
.pack-dd-menu.pack-menu-portal {
    display: none;
    position: fixed;
    z-index: 200;
}
.pack-dd-menu.fulfillment-menu-portal.is-open,
.pack-dd-menu.pack-menu-portal.is-open {
    display: block;
}

/* Compact pack rows in detail modal */
.pack-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.pack-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.55rem;
    border: 1.5px solid rgba(0, 75, 147, 0.12);
    border-radius: 0.55rem;
    background: #fff;
    max-width: 22rem;
    width: 100%;
    box-sizing: border-box;
}
.pack-row.is-selected {
    border-color: #ff7d00;
    background: #fff8f5;
    box-shadow: inset 0 0 0 1px rgba(255, 125, 0, 0.35);
}
.pack-row.is-disabled {
    opacity: 0.5;
    background: #f3f4f6;
}
.pack-row-main {
    flex: 1;
    min-width: 0;
}
.pack-row-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #004B93;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.pack-row-sub {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.25;
    color: #fb923c;
    margin-top: 0.15rem;
}
.pack-row-price {
    flex-shrink: 0;
    width: 3.25rem;
    text-align: right;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #ff7d00;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}
.pack-row .stepper {
    flex-shrink: 0;
    background: #fff;
}
.pack-row .step-btn {
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 0.35rem;
    font-size: 0.875rem;
}

/* Product detail modal */
.pdp-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 69;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.pdp-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}
.pdp {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #F8FAFC;
    transform: translateX(100%);
    transition: transform 0.28s ease, visibility 0.28s;
    visibility: hidden;
    pointer-events: none;
}
.pdp.is-open {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
}
.pdp-topbar {
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.pdp-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
}

/* Mobile: keep site header (☰ / logo / search / cart) above PDP */
@media (max-width: 767px) {
    /*
     * BodyScrollLock uses position:fixed + top:-scrollY on body, which pulls a
     * sticky header off-screen. Pin the header to the viewport while PDP is open.
     * JS also forces body.style.top = 0 so fixed children aren't offset.
     */
    body.pdp-open header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 72;
    }
    /*
     * Override base `inset: 0` with explicit edges under the header.
     * Do NOT use `inset: unset` afterward — that clears top/right/bottom/left
     * and collapses the sheet (body scroll-locked → page feels stuck).
     */
    #pdp-backdrop {
        top: var(--site-header-h, 4.75rem);
        right: 0;
        bottom: 0;
        left: 0;
    }
    #pdp {
        top: var(--site-header-h, 4.75rem);
        right: 0;
        bottom: 0;
        left: 0;
        width: auto;
        max-height: none;
        border-radius: 0;
        box-shadow: none;
    }
}

@media (min-width: 768px) {
    .pdp {
        inset: 3% auto 3% 50%;
        left: 50%;
        width: min(96vw, 1200px);
        max-width: 1200px;
        max-height: 94vh;
        border-radius: 1.25rem;
        transform: translateX(calc(-50% + 110vw));
        box-shadow: none;
    }
    .pdp.is-open {
        inset: 3% auto 3% 50%;
        left: 50%;
        width: min(96vw, 1200px);
        max-width: 1200px;
        max-height: 94vh;
        border-radius: 1.25rem;
        transform: translateX(-50%);
        box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    }
}
/* Freeze page behind PDP / policy; scroll only inside .pdp */
html.pdp-open,
body.pdp-open,
html.policy-open,
body.policy-open,
html.lightbox-open,
body.lightbox-open {
    overflow: hidden;
    overscroll-behavior: none;
}
body.pdp-open,
body.policy-open,
body.lightbox-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
}
.recommended-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #004B93;
    background: rgba(0, 75, 147, 0.08);
    border: 1px solid rgba(0, 75, 147, 0.15);
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
}
.detail-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.detail-list li {
    position: relative;
    padding-left: 1.1rem;
    margin-bottom: 0.4rem;
    font-size: 0.875rem;
    color: #475569;
    line-height: 1.4;
}
.detail-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #ff7d00;
}
/* PDP modal — larger type for readability */
#pdp-body .pdp-title {
    font-size: 1.5rem;
    line-height: 1.3;
}
@media (min-width: 640px) {
    #pdp-body .pdp-title {
        font-size: 1.75rem;
    }
}
#pdp-body .pdp-desc {
    font-size: 0.85rem;
    line-height: 1.65;
}
#pdp-body .pdp-section-title {
    font-size: 1.0625rem;
}
#pdp-body .pdp-detail-list li {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
}
#pdp-body .pdp-detail-list li::before {
    top: 0.55rem;
    width: 0.45rem;
    height: 0.45rem;
}
#pdp-body .pack-row-label {
    font-size: 0.9375rem;
}
#pdp-body .pack-row-sub {
    font-size: 0.75rem;
}
#pdp-body .pack-row-price-b .sell {
    font-size: 1rem;
}
[id^="pack-hint-"] {
    max-width: 22rem;
    width: 100%;
    text-align: center;
}
#pdp-body [id^="pack-hint-"] {
    font-size: 0.75rem;
}
.thumb {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 0.55rem;
    overflow: hidden;
    border: 2px solid transparent;
    flex-shrink: 0;
    background: #e2e8f0;
    position: relative;
    padding: 0;
}
.thumb.is-active {
    border-color: #004B93;
}
.thumb-video::after {
    content: '▶';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    font-size: 0.7rem;
}
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 80;
    background: rgba(2, 8, 23, 0.92);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    padding-top: max(1rem, env(safe-area-inset-top));
    padding-bottom: max(1rem, env(safe-area-inset-bottom));
    box-sizing: border-box;
}
.lightbox.is-open {
    display: flex;
}
.lightbox > button[aria-label="Close"] {
    z-index: 5;
}
#pdp-stage {
    touch-action: pan-y;
}
#lightbox-media {
    width: min(920px, 100%);
    max-width: 100%;
    max-height: min(88vh, 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-y;
}
#lightbox-media:has(.pdp-video-lightbox.is-vertical) {
    width: auto;
}
.lightbox img {
    max-width: 100%;
    max-height: min(88vh, 100%);
    border-radius: 0.75rem;
    object-fit: contain;
}
.lightbox video.pdp-video,
.lightbox iframe.pdp-video {
    border: 0;
    background: #0f172a;
}
#pdp-stage iframe.pdp-video {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    background: #0f172a;
}
.pdp-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    background: #0f172a;
    overflow: hidden;
}
.pdp-video-wrap > iframe.pdp-video,
.pdp-video-wrap > video.pdp-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    z-index: 1;
    background: #0f172a;
    object-fit: contain;
}
/* Drive embeds always show a pop-out control — cover it (can't remove via API). */
.pdp-video-popout-mask {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 3;
    width: 3.25rem;
    height: 3.25rem;
    background: #0f172a;
    pointer-events: auto;
}
.pdp-video-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    background: #0f172a;
    color: rgba(248, 250, 252, 0.85);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}
.pdp-video-wrap.is-ready .pdp-video-loading {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.pdp-video-spinner {
    width: 1.75rem;
    height: 1.75rem;
    border: 2px solid rgba(248, 250, 252, 0.2);
    border-top-color: #FB923C;
    border-radius: 50%;
    animation: pdp-video-spin 0.7s linear infinite;
}
.pdp-video-loading-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}
@keyframes pdp-video-spin {
    to { transform: rotate(360deg); }
}
/* Lightbox player: forced 16:9 frame so Drive iframe never collapses to a control bar */
.lightbox .pdp-video-wrap,
.lightbox .pdp-video-wrap.is-lightbox {
    width: min(920px, calc(100vw - 2rem));
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: min(88vh, calc(100dvh - 5rem));
    min-height: 200px;
    border-radius: 0.75rem;
    overflow: hidden;
    flex-shrink: 0;
    background: #000;
}
.pdp-video-lightbox {
    width: min(920px, calc(100vw - 2rem));
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
}
.pdp-video-lightbox.is-vertical {
    width: auto;
    max-width: min(420px, calc(100vw - 2rem));
    align-items: center;
}
.pdp-video-lightbox .pdp-video-wrap {
    width: 100%;
}
/* YouTube Shorts — vertical 9:16 frame */
.lightbox .pdp-video-wrap.is-youtube.is-vertical {
    width: min(420px, calc(100vw - 2rem));
    aspect-ratio: 9 / 16;
    height: auto;
    max-height: min(85vh, 100dvh - 5rem);
    min-height: 280px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #000;
}
.pdp-video-fallback {
    display: block;
    text-align: center;
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.9;
}
.pdp-video-fallback:hover {
    opacity: 1;
    color: #fb923c;
}
@media (max-width: 640px) {
    .lightbox {
        padding: 0.75rem;
        align-items: center;
    }
    .lightbox .pdp-video-wrap,
    .lightbox .pdp-video-wrap.is-lightbox,
    .pdp-video-lightbox {
        width: 100%;
    }
    .lightbox .pdp-video-wrap,
    .lightbox .pdp-video-wrap.is-lightbox {
        min-height: 220px;
        max-height: min(70vh, 100dvh - 6rem);
    }
}

/* Phone: confirmation sheet after opening Drive (no embedded player) */
.pdp-video-mobile-sheet {
    width: min(22rem, calc(100vw - 2rem));
    background: #fff;
    color: #0f172a;
    border-radius: 1rem;
    padding: 1.25rem 1.15rem 1rem;
    text-align: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}
.pdp-video-mobile-sheet-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #004B93;
    margin: 0 0 0.4rem;
}
.pdp-video-mobile-sheet-body {
    font-size: 0.875rem;
    line-height: 1.45;
    color: #475569;
    margin: 0 0 1rem;
}
.pdp-video-mobile-sheet-btn {
    display: block;
    width: 100%;
    background: #004B93;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
}
.pdp-video-mobile-sheet-close {
    display: block;
    width: 100%;
    border: 0;
    background: transparent;
    color: #64748b;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.55rem;
    cursor: pointer;
}

/* PDP stage: video poster (playback opens lightbox — Drive embeds fail in small stage) */
.pdp-video-stage-btn {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: #0f172a;
    overflow: hidden;
}
.pdp-video-stage-play {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(2, 8, 23, 0.35);
    color: #fff;
    font-size: 1.75rem;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}
.pdp-video-stage-label {
    position: absolute;
    left: 50%;
    bottom: 0.75rem;
    transform: translateX(-50%);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgba(0, 75, 147, 0.92);
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    white-space: nowrap;
}

/* Legacy pack-opt kept for safety if any leftover markup */
.pack-opt {
    display: none;
}

/* Product card qty steppers */
.qty-minus-btn:not(:disabled):not(.is-disabled):hover {
    background: #fff;
}
.qty-plus-btn:not(:disabled):not(.is-disabled):hover {
    background: #e06e00;
}
.qty-minus-btn:disabled,
.qty-minus-btn.is-disabled,
.qty-plus-btn:disabled,
.qty-plus-btn.is-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

/* Cart panel line items */
.cart-line-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f3f4f6;
}
.cart-line-thumb img {
    width: 4rem;
    height: 4rem;
}
.cart-line-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    background: #f8fafc;
    border: 1px solid rgba(0, 75, 147, 0.12);
    border-radius: 0.5rem;
    padding: 0.125rem;
}
.cart-qty-btn {
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    background: #fff;
    color: #004B93;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1;
    border: none;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, transform 0.1s;
}
.cart-qty-btn:hover { background: #eff6ff; }
.cart-qty-btn:active { transform: scale(0.92); }
.cart-qty-btn--plus {
    background: #ff7d00;
    color: #fff;
}
.cart-qty-btn--plus:hover { background: #e06e00; }
.cart-qty-value {
    min-width: 1.75rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: #004B93;
}
.cart-remove-btn {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.375rem;
    color: #9ca3af;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s, background 0.15s;
}
.cart-remove-btn:hover {
    color: #ff7d00;
    background: #fff7ed;
}

/* Combo packs */
.combo-pill {
    display: inline-block;
    background: linear-gradient(135deg, #ff7d00, #ff9a33);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 0.2rem 0.5rem;
    border-radius: 9999px;
    line-height: 1.2;
}
.nav-combo-item + .nav-combo-item { border-top: 1px solid #fff7ed; }
.combo-badge {
    background: linear-gradient(135deg, #ff7d00, #ff9a33);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.65rem;
    border-radius: 9999px;
    box-shadow: 0 2px 8px rgba(255, 125, 0, 0.35);
}
.combos-scroll {
    align-items: stretch;
}
.combo-scroll-item {
    display: flex;
}
.combo-scroll-item > .combo-card,
.combo-scroll-item > .group {
    width: 100%;
    height: 100%;
}
.combo-card {
    border-color: rgba(255, 125, 0, 0.35) !important;
    background: linear-gradient(180deg, #fff 0%, #fffaf7 100%);
    box-shadow: 0 4px 16px rgba(255, 125, 0, 0.08);
}
.combo-card:hover {
    border-color: rgba(255, 125, 0, 0.55) !important;
    box-shadow: 0 8px 24px rgba(255, 125, 0, 0.15);
}
.combo-sub-label { color: #ff7d00; }
.combo-includes {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}
.combo-includes li {
    font-size: 0.6875rem;
    line-height: 1.3;
    color: #475569;
    padding-left: 0.7rem;
    position: relative;
}
.combo-includes li::before {
    content: '·';
    position: absolute;
    left: 0.15rem;
    color: #ff7d00;
    font-weight: 700;
}
.combo-items-list {
    list-style: none;
    padding: 0;
    margin: 0.25rem 0 0;
    font-size: 0.8rem;
    color: #4b5563;
    line-height: 1.45;
}
.combo-items-list li {
    position: relative;
    padding-left: 1rem;
}
.combo-items-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff7d00;
    font-weight: 700;
    font-size: 0.7rem;
}
.combo-section {
    background: linear-gradient(135deg, #fff7ed 0%, #fff 60%);
    border: 2px dashed rgba(255, 125, 0, 0.25);
    border-radius: 1rem;
    padding: 1rem;
}
.combo-section-header {
    border-bottom: 2px solid rgba(255, 125, 0, 0.2);
}

/* Subcategory section headers */
.subsection-header {
    border-bottom: 2px solid #e5e7eb;
}

/* Policy modals (reuse .pdp slide-over shell) */
.policy-panel {
    background: #f8fafc;
    /* Above the auth modal so Terms / Privacy open in front of Create Account */
    z-index: 90;
}
#policy-backdrop {
    z-index: 89;
}
.policy-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.15rem;
    background: linear-gradient(135deg, #004B93 0%, #003A75 100%);
    box-shadow: 0 8px 24px rgba(0, 58, 117, 0.18);
    flex-shrink: 0;
}
#policy-title {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.3;
    letter-spacing: -0.01em;
    text-align: left;
}
.policy-close {
    width: 2.35rem;
    height: 2.35rem;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.policy-close:hover {
    background: #ff7d00;
    border-color: #ff7d00;
    transform: scale(1.04);
}
.policy-hero {
    width: 100%;
    aspect-ratio: 2390 / 1006;
    overflow: hidden;
    background: #0b2f57;
    line-height: 0;
    border-bottom: 1px solid rgba(0, 75, 147, 0.12);
    flex-shrink: 0;
}
.policy-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.policy-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 1.25rem 1rem 2rem;
    background:
        radial-gradient(ellipse 80% 40% at 50% -10%, rgba(0, 75, 147, 0.08), transparent 60%),
        #f8fafc;
}
.policy-prose {
    max-width: 40rem;
    margin: 0 auto;
    color: #334155;
    font-size: 0.9375rem;
    line-height: 1.7;
}
.policy-prose h2 {
    display: none;
}
.policy-updated {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #e2e8f0;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    margin: 0 0 0.85rem !important;
}
.policy-prose > p:not(.policy-updated):not(.policy-note) {
    margin: 0 0 1.15rem;
    font-size: 1rem;
    color: #475569;
    line-height: 1.65;
}
.policy-prose h3 {
    margin: 1.5rem 0 0.65rem;
    padding: 0.75rem 0.95rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #004B93;
    line-height: 1.35;
    letter-spacing: -0.01em;
    background: #fff;
    border: 1px solid rgba(0, 75, 147, 0.1);
    border-left: 3px solid #ff7d00;
    border-radius: 0.55rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.policy-prose h3:first-of-type {
    margin-top: 0.35rem;
}
.policy-block {
    display: grid;
    grid-template-columns: 5.5rem 1fr;
    gap: 0.85rem 1rem;
    align-items: start;
    margin: 1.35rem 0 0.5rem;
}
.policy-block:first-of-type {
    margin-top: 0.5rem;
}
.policy-block-icon {
    width: 5.5rem;
    height: 5.5rem;
    object-fit: contain;
    border-radius: 0.75rem;
    background: #fff;
    border: 1px solid rgba(0, 75, 147, 0.1);
    padding: 0.35rem;
    box-sizing: border-box;
}
.policy-block-body {
    min-width: 0;
}
.policy-block-body h3 {
    margin-top: 0;
}
.policy-block-body ul {
    margin-bottom: 0;
}
@media (min-width: 640px) {
    .policy-block {
        grid-template-columns: 7.5rem 1fr;
        gap: 1rem 1.25rem;
    }
    .policy-block-icon {
        width: 7.5rem;
        height: 7.5rem;
        padding: 0.45rem;
    }
}
@media (min-width: 768px) {
    .policy-block {
        grid-template-columns: 9rem 1fr;
    }
    .policy-block-icon {
        width: 9rem;
        height: 9rem;
    }
}
.policy-prose ul {
    margin: 0 0 0.35rem;
    padding: 0.15rem 0 0.35rem;
    list-style: none;
    list-style-type: none;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 0.65rem;
    overflow: hidden;
}
.policy-prose li {
    position: relative;
    margin: 0;
    padding: 0.7rem 0.9rem 0.7rem 2.15rem;
    color: #475569;
    line-height: 1.55;
    border-bottom: 1px solid #f1f5f9;
    list-style: none;
    list-style-type: none;
}
.policy-prose li::marker {
    content: none;
    font-size: 0;
    color: transparent;
}
.policy-prose li:last-child {
    border-bottom: 0;
}
.policy-prose li::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    top: 1.05rem;
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: #ff7d00;
    box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.15);
}
.policy-prose strong {
    color: #0f172a;
    font-weight: 700;
}
.policy-prose a,
.policy-inline-link {
    color: #004B93;
    font-weight: 600;
    text-decoration: none;
    background: linear-gradient(transparent 60%, rgba(255, 125, 0, 0.22) 60%);
    border: 0;
    padding: 0;
    font: inherit;
    cursor: pointer;
}
.policy-prose a:hover,
.policy-inline-link:hover {
    color: #ff7d00;
}
.policy-note {
    margin-top: 1.5rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, rgba(0, 75, 147, 0.08), rgba(255, 125, 0, 0.08));
    border: 1px solid rgba(0, 75, 147, 0.14);
    border-radius: 0.85rem;
    font-size: 0.9rem;
    color: #334155;
}
.policy-note a {
    background: none;
    text-decoration: underline;
    text-underline-offset: 2px;
}
@media (min-width: 768px) {
    .policy-header {
        padding: 1.05rem 1.5rem;
    }
    .policy-prose {
        max-width: 62rem;
    }
    .policy-scroll {
        padding: 1.75rem 1.5rem 2.5rem;
    }
    #policy-title {
        font-size: 1.2rem;
    }
}

/* Auth modal + My orders */
.auth-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    z-index: 70;
}
.auth-overlay.open { display: block; }
.auth-modal {
    display: none;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: min(26.5rem, calc(100vw - 1.5rem));
    max-height: min(92vh, 44rem);
    overflow: auto;
    background: #fff;
    border-radius: 1.25rem;
    box-shadow: 0 24px 60px rgba(0, 75, 147, 0.22);
    z-index: 71;
}
.auth-modal.open { display: block; }
.auth-modal-head {
    padding: 1.35rem 1.25rem 0.35rem;
    position: relative;
}
.auth-modal-title {
    font-size: 1.45rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
}
.auth-welcome {
    font-size: 1.85rem;
    letter-spacing: -0.02em;
}
.auth-login-head {
    text-align: center;
    padding: 1.6rem 1.35rem 0.15rem;
}
.auth-login-head .auth-modal-sub {
    margin-top: 0.4rem;
    font-size: 0.92rem;
}
.auth-login-pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 1.05rem 0 0.15rem;
    padding: 0;
    list-style: none;
    color: #004B93;
    font-size: 0.78rem;
    font-weight: 700;
}
.auth-login-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    padding: 0 0.7rem;
    white-space: nowrap;
}
.auth-login-pills li + li {
    border-left: 1px solid #e2e8f0;
}
.auth-login-pills svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}
.auth-login-body { padding: 0.35rem 1.35rem 1.2rem; position: relative; }
.auth-cc-caret {
    width: 0.55rem;
    height: 0.4rem;
    margin-left: 0.28rem;
    color: #64748b;
}
.auth-login-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin: 1.05rem 0 0.15rem;
    color: #64748b;
    font-size: 0.75rem;
}
.auth-login-trust svg {
    width: 0.9rem;
    height: 0.9rem;
    color: #004B93;
    flex-shrink: 0;
}
.auth-profile-head {
    padding: 1.45rem 1.35rem 0.2rem;
}
.auth-profile-head .auth-modal-title {
    font-size: 1.7rem;
}
.auth-profile-body { padding: 0.45rem 1.35rem 1.2rem; }
.auth-error-banner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0.55rem 0.65rem;
    border: 1px solid #fecaca;
    padding: 0.7rem 0.75rem;
    margin-bottom: 0.85rem;
}
.auth-error-banner.hidden { display: none; }
.auth-error-banner > svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.08rem;
}
.auth-error-copy {
    flex: 1;
    min-width: 11rem;
    font-size: 0.8rem;
    line-height: 1.35;
}
.auth-error-copy strong {
    display: block;
    font-size: 0.82rem;
    font-weight: 800;
    color: #b91c1c;
}
.auth-error-copy strong.hidden { display: none; }
.auth-error-copy [data-auth-error-text] {
    display: block;
    margin-top: 0.12rem;
    color: #334155;
    font-weight: 500;
}
.auth-error-google {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #1d4ed8;
    white-space: nowrap;
}
.auth-error-google.hidden { display: none; }
.auth-error-google svg {
    width: 1rem;
    height: 1rem;
    margin: 0;
}
.auth-hint-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    border-radius: 0.5rem;
    padding: 0.65rem 0.75rem;
    margin-bottom: 0.85rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
}
.auth-hint-banner.hidden { display: none; }
.auth-hint-banner svg {
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
    margin-top: 0.08rem;
}
.auth-success-banner {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    background: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 0.7rem;
    padding: 0.8rem 0.85rem;
    margin-bottom: 0.95rem;
    color: #334155;
}
.auth-success-banner.hidden { display: none; }
.auth-success-check {
    color: #059669;
    flex-shrink: 0;
    line-height: 0;
    margin-top: 0.05rem;
}
.auth-success-check svg {
    width: 1.35rem;
    height: 1.35rem;
}
.auth-success-banner strong {
    display: block;
    color: #047857;
    font-size: 0.92rem;
    font-weight: 800;
}
.auth-success-banner p {
    margin: 0.15rem 0 0;
    font-size: 0.8rem;
    line-height: 1.4;
    color: #475569;
    font-weight: 500;
}
.auth-icon-field {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    overflow: hidden;
    background: #fff;
}
.auth-icon-field:focus-within {
    border-color: #ff7d00;
    box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.15);
}
.auth-field-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    flex-shrink: 0;
    background: #f8fafc;
    border-right: 1px solid #e5e7eb;
    color: #94a3b8;
}
.auth-field-ico svg {
    width: 1.1rem;
    height: 1.1rem;
}
.auth-icon-field .auth-input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.auth-verify-otp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.65rem;
    padding: 0.42rem 0.75rem;
    border: 1.5px solid #004B93;
    border-radius: 0.5rem;
    color: #004B93;
    background: #fff;
    font-weight: 700;
    font-size: 0.82rem;
}
.auth-verify-otp svg {
    width: 1rem;
    height: 1rem;
}
.auth-otp-help {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.45rem 0 0;
    color: #94a3b8;
    font-size: 0.75rem;
}
.auth-otp-help.hidden { display: none; }
.auth-otp-help svg {
    width: 0.9rem;
    height: 0.9rem;
    flex-shrink: 0;
}
.auth-phone-locked-note {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0.55rem 0 0;
    font-size: 0.82rem;
    font-weight: 700;
    color: #047857;
}
.auth-phone-locked-note svg {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
}
.auth-phone-locked-note.hidden { display: none; }
.auth-profile-trust { color: #94a3b8; }
.auth-profile-trust svg { color: #004B93; }
.auth-modal-sub {
    margin-top: 0.25rem;
    font-size: 0.88rem;
    color: #64748b;
}
.auth-modal-x {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: #f3f4f6;
    color: #64748b;
    font-size: 1.35rem;
    line-height: 1;
}
.auth-modal-x.static { position: static; background: #f3f4f6; color: #334155; }
.auth-modal-body { padding: 0.5rem 1.15rem 1.35rem; }
.auth-tabs {
    display: flex;
    gap: 0.25rem;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 0.85rem;
}
.auth-tab {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.65rem 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #64748b;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}
.auth-tab svg { width: 1.05rem; height: 1.05rem; }
.auth-tab.is-active {
    color: #ff7d00;
    border-bottom-color: #ff7d00;
}
.auth-phone-row {
    display: flex;
    align-items: stretch;
    border: 1px solid #e5e7eb;
    border-radius: 0.7rem;
    overflow: hidden;
    background: #fff;
}
.auth-cc {
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
    border-right: 1px solid #e5e7eb;
    white-space: nowrap;
}
.auth-phone-input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding-left: 0.85rem;
}
.auth-phone-row.is-locked {
    background: #f8fafc;
    opacity: 0.85;
}
.auth-phone-row.is-locked input {
    pointer-events: none;
    color: #334155;
}
.auth-otp-sent {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    margin: 0.55rem 0 0.15rem;
    font-size: 0.8rem;
    color: #15803d;
    font-weight: 600;
}
.auth-otp-sent.hidden { display: none; }
.auth-otp-sent-msg {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
}
.auth-otp-sent-msg svg {
    width: 0.9rem;
    height: 0.9rem;
}
.auth-otp-sent-dot { color: #94a3b8; font-weight: 700; }
.auth-otp-sent button {
    color: #004B93;
    font-weight: 700;
    background: none;
    border: 0;
    padding: 0;
}
.auth-otp-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}
.auth-otp-boxes {
    display: flex;
    gap: 0.4rem;
    justify-content: space-between;
    margin: 0.2rem 0 0.55rem;
}
.auth-otp-box {
    width: 2.55rem;
    height: 2.85rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 800;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    background: #fff;
}
.auth-otp-box:focus {
    outline: none;
    border-color: #004B93;
    box-shadow: 0 0 0 3px rgba(0, 75, 147, 0.12);
}
.auth-resend {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0 0 0.85rem;
}
.auth-resend button {
    color: #004B93;
    font-weight: 700;
}
.auth-resend button:disabled { color: #94a3b8; }
.auth-or {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.1rem 0 0.85rem;
    color: #94a3b8;
    font-size: 0.78rem;
}
.auth-or::before, .auth-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e5e7eb;
}
.auth-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0.7rem 0 0.3rem;
}
.auth-label .auth-optional {
    color: #94a3b8;
    font-weight: 600;
}
.auth-input {
    width: 100%;
    border: 1px solid #e5e7eb;
    border-radius: 0.55rem;
    padding: 0.65rem 0.8rem;
    font-size: 0.9rem;
}
.auth-input:focus {
    outline: none;
    border-color: #ff7d00;
    box-shadow: 0 0 0 3px rgba(255, 125, 0, 0.15);
}
.auth-pass-wrap { position: relative; }
.auth-pass-wrap .auth-input { padding-right: 3.1rem; }
.auth-eye {
    position: absolute;
    right: 0.4rem;
    top: 50%;
    transform: translateY(-50%);
    color: #004B93;
    padding: 0.35rem;
    border: 0;
    background: transparent;
    line-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.auth-eye-icon {
    width: 1.15rem;
    height: 1.15rem;
    display: block;
}
.auth-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0.7rem 0 0.9rem;
    font-size: 0.8rem;
}
.auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    color: #334155;
    line-height: 1.2;
}
.auth-check input[type="checkbox"] {
    margin: 0;
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    accent-color: #004B93;
    position: relative;
    top: 0;
}
.auth-check-terms { margin: 0.85rem 0 0.9rem; }
.auth-link-coral { color: #ff7d00; font-weight: 600; }
.auth-recaptcha-slot {
    position: fixed;
    left: 8px;
    bottom: 8px;
    width: 0;
    height: 0;
    z-index: 1;
}
.grecaptcha-badge {
    visibility: hidden !important;
}
.auth-submit {
    width: 100%;
    background: #ff7d00;
    color: #fff;
    font-weight: 800;
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    margin-top: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    font-size: 0.95rem;
}
.auth-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.auth-btn-spin {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255,255,255,0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.7s linear infinite;
}
@keyframes auth-spin {
    to { transform: rotate(360deg); }
}
.auth-submit-outline {
    background: #fff;
    color: #004B93;
    border: 2px solid #004B93;
}
.auth-google {
    width: 100%;
    margin-top: 0.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
}
.auth-google-slot {
    margin: 0.65rem 0 0.35rem;
}
.auth-google-slot .auth-google {
    margin-top: 0;
}
.auth-google-help {
    margin: 0.4rem 0 0;
    text-align: center;
    font-size: 0.72rem;
    line-height: 1.4;
    color: #94a3b8;
}
.auth-switch {
    text-align: center;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.9rem;
}
.auth-switch button { color: #004B93; font-weight: 700; }
.auth-policy { color: #2563eb; font-weight: 600; }
.auth-field-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin: 0.25rem 0 0;
}
.auth-input.is-invalid {
    border-color: #dc2626;
}
.auth-phone-row.is-invalid,
.auth-pass-wrap.is-invalid .auth-input {
    border-color: #dc2626;
}
.auth-error {
    font-size: 0.8rem;
    color: #dc2626;
    background: #fef2f2;
    border-radius: 0.5rem;
    padding: 0.45rem 0.6rem;
    margin-bottom: 0.5rem;
}
.auth-method-toggle {
    display: flex;
    gap: 1rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 0.4rem;
}
.auth-two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
}
.orders-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: min(24rem, 100vw);
    height: 100%;
    background: #fff;
    z-index: 72;
    display: flex;
    flex-direction: column;
    box-shadow: -12px 0 40px rgba(15, 23, 42, 0.18);
    transform: translateX(100%);
    transition: transform 0.25s ease;
}
.orders-panel.open { transform: translateX(0); }
.orders-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem 0.75rem;
    border-bottom: 1px solid #e5e7eb;
}
.orders-panel-body {
    flex: 1;
    overflow: auto;
    padding: 1rem;
}
.store-toast {
    position: fixed;
    left: 50%;
    bottom: 1.25rem;
    transform: translateX(-50%) translateY(0.5rem);
    z-index: 90;
    max-width: min(22rem, calc(100vw - 1.5rem));
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.store-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.store-toast.ok {
    background: #ecfdf5;
    color: #047857;
}
.store-toast.error {
    background: #fef2f2;
    color: #b91c1c;
}
