:root {
    --ink: #012169;
    --ink-soft: #1a3a7a;
    --mist: #eef2f8;
    --fog: #f7f9fc;
    --snow: #ffffff;
    --teal: #C8102E;
    --teal-bright: #e11d48;
    --gold: #C8102E;
    --gold-soft: #e11d48;
    --line: #d5dceb;
    --mute: #5a6578;
    --clay: #C8102E;
    --font-display: "Roboto", ui-sans-serif, system-ui, sans-serif;
    --font-body: "Roboto", ui-sans-serif, system-ui, sans-serif;
    --font-hero: "Roboto", ui-sans-serif, system-ui, sans-serif;
    --font-accent: "Roboto", ui-sans-serif, system-ui, sans-serif;
}

html {
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    background:
        radial-gradient(1200px 500px at 8% -8%, rgba(200, 16, 46, 0.08), transparent 55%),
        radial-gradient(900px 420px at 100% 0%, rgba(1, 33, 105, 0.1), transparent 50%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 48%, #ffffff 100%);
    color: var(--ink);
}

main p,
.panel p,
.section p {
    font-size: 1.125rem;
    line-height: 1.75;
}

main {
    position: relative;
    z-index: 2;
}

.font-display {
    font-family: var(--font-display);
}

.site-shell {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.site-shell > main {
    flex: 1 0 auto;
}

.site-shell > .site-footer {
    margin-top: auto;
    flex-shrink: 0;
}

.site-nav {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(16px);
    background: rgba(1, 33, 105, 0.92);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-nav a,
.site-nav button {
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.brand-mark {
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    font-weight: 700;
    text-transform: none;
}

.brand-mark span {
    color: var(--gold-soft);
    font-family: var(--font-accent);
    font-weight: 800;
    text-transform: none;
}

.brand-link-wrap {
    display: inline-flex;
    align-items: center;
    max-width: min(220px, 52vw);
}

.site-logo-img {
    display: block;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.site-logo--sm {
    height: 24px;
    max-height: 24px;
    font-size: 1.05rem;
}

.site-logo--md {
    height: 34px;
    max-height: 34px;
    font-size: 1.3rem;
}

.site-logo--lg {
    height: 44px;
    max-height: 44px;
    font-size: 1.65rem;
}

.site-logo-img.site-logo--sm { height: 24px; max-height: 24px; max-width: 130px; }
.site-logo-img.site-logo--md { height: 34px; max-height: 34px; max-width: 180px; }
.site-logo-img.site-logo--lg { height: 44px; max-height: 44px; max-width: 220px; }

.site-nav-menu {
    font-size: 1.05rem;
    font-weight: 600;
}

.site-container {
    width: min(1280px, calc(100% - 2rem));
    margin-left: auto;
    margin-right: auto;
    padding-left: 0.25rem;
    padding-right: 0.25rem;
}

.site-nav-bar {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) minmax(220px, 560px) minmax(120px, 1fr);
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
}

.site-nav-logo {
    justify-self: start;
    flex-shrink: 0;
}

.site-search {
    width: 100%;
    max-width: 560px;
    justify-self: center;
    min-width: 0;
}

.site-search-inner {
    display: flex;
    align-items: stretch;
    width: 100%;
    height: 42px;
    border: 2px solid var(--brand, #C8102E);
    border-radius: 0.65rem;
    overflow: hidden;
    background: var(--brand, #C8102E);
    position: relative;
}

.site-search-cat {
    position: relative;
    flex-shrink: 0;
    align-self: stretch;
}

.site-search-cat-btn {
    height: 100%;
    min-height: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 0.7rem;
    background: transparent;
    color: #fff;
    border: 0;
    border-right: 0;
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    min-width: 52px;
}

.site-search-cat-btn #cat-chevron {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.site-search-cat-btn #cat-chevron.is-open {
    transform: rotate(180deg);
}

.site-search-cat-menu {
    position: fixed;
    z-index: 80;
    background: #fff;
    border: 2px solid var(--brand, #C8102E);
    border-radius: 0 0 0.85rem 0.85rem;
    box-shadow: 0 18px 40px rgba(1, 33, 105, 0.16);
    padding: 0.85rem;
    max-height: 60vh;
    overflow: auto;
}

.site-search-cat-menu[hidden] {
    display: none !important;
}

.site-search-cat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
}

@media (min-width: 768px) {
    .site-search-cat-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
        gap: 0.85rem;
    }

    .site-search-cat-btn {
        min-width: 118px;
        padding: 0 0.85rem;
        font-size: 0.82rem;
    }
}

.site-search-cat-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0;
    color: var(--ink);
}

.site-search-cat-tile-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 0.55rem;
    overflow: hidden;
    background: #eef2f8;
    display: grid;
    place-items: center;
    box-shadow: 0 1px 2px rgba(1, 33, 105, 0.08);
}

@media (min-width: 768px) {
    .site-search-cat-tile-img {
        aspect-ratio: 4 / 5;
        border-radius: 0.7rem;
    }
}

.site-search-cat-tile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-search-cat-tile-img span,
.site-search-cat-tile-all {
    font-weight: 800;
    color: rgba(1, 33, 105, 0.35);
    font-size: 0.95rem;
}

.site-search-cat-tile-name {
    font-size: 0.68rem;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
    color: #475569;
}

@media (min-width: 768px) {
    .site-search-cat-tile-name {
        font-size: 0.75rem;
    }
}

.site-search-cat-tile:hover .site-search-cat-tile-name,
.site-search-cat-tile.is-active .site-search-cat-tile-name {
    color: var(--brand, #C8102E);
}

.site-search-cat-tile:hover .site-search-cat-tile-img,
.site-search-cat-tile.is-active .site-search-cat-tile-img {
    box-shadow: 0 0 0 2px var(--brand, #C8102E);
}

.site-search-form {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-self: stretch;
    height: 100%;
    background: transparent;
}

.site-search-input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    height: 100%;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    -webkit-appearance: none;
    appearance: none;
    padding: 0 0.95rem;
    font-size: 0.95rem;
    color: #fff;
    background: transparent;
}

.site-search-input::placeholder {
    color: rgba(255, 255, 255, 0.78);
}

.site-search-input:focus,
.site-search-input:focus-visible,
.site-search-input:active {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
    background: transparent;
    color: #fff;
}

.site-search-submit {
    width: 46px;
    flex-shrink: 0;
    align-self: stretch;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
}

.site-search-submit:hover,
.site-search-cat-btn:hover {
    background: rgba(0, 0, 0, 0.12);
}

.site-nav-icons {
    justify-self: end;
    margin-left: 0;
}

.site-nav-cart {
    position: relative;
}

.site-nav-cart-badge {
    position: absolute;
    top: -0.45rem;
    right: -0.7rem;
    min-width: 1.15rem;
    height: 1.15rem;
    padding: 0 0.25rem;
    border-radius: 999px;
    background: #C8102E;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.site-nav-mobile-actions {
    display: none;
    align-items: center;
    gap: 0.65rem;
    flex-shrink: 0;
}

.site-nav-mobile-cart {
    position: relative;
    color: #fff;
    font-size: 1.15rem;
    padding: 0.35rem;
}

.show-sm { display: none; }
.hide-sm { display: inline; }

@media (max-width: 1023.98px) {
    .site-nav-mobile-actions {
        display: inline-flex;
    }

    .site-nav-bar {
        grid-template-columns: auto 1fr auto;
        gap: 0.65rem;
    }

    .site-search {
        max-width: none;
    }

    .show-sm { display: inline; }
    .hide-sm { display: none; }
}

@media (max-width: 640px) {
    .site-nav-bar {
        grid-template-columns: 1fr auto;
        grid-template-areas: "search icons";
        grid-template-rows: auto;
        gap: 0.5rem;
        padding: 0.45rem 0;
        min-height: 0;
        align-items: center;
    }

    .site-nav-logo {
        display: none;
    }

    .site-nav-icons {
        grid-area: icons;
    }

    .site-search {
        grid-area: search;
        max-width: none;
    }
}

.site-nav-menu .btn-ghost {
    font-size: 1.05rem;
}

.site-nav .brand-link-wrap .site-logo-img {
    height: 44px;
    max-height: 44px;
    max-width: 220px;
}

.site-nav .brand-link-wrap .brand-mark {
    font-size: 1.65rem;
}

.site-footer .brand-link-wrap {
    max-width: 180px;
}

.site-footer .site-logo-img {
    filter: brightness(0) invert(1);
    height: 32px;
    max-height: 32px;
    max-width: 160px;
}

.main-sidebar .site-logo-img {
    height: 28px;
    max-height: 28px;
    max-width: 140px;
}

.hero-brand .site-logo-img {
    height: clamp(72px, 12vw, 120px);
    max-height: clamp(72px, 12vw, 120px);
    max-width: min(420px, 85vw);
}


.btn-primary,
.btn-secondary,
.btn-gold {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    font-size: 1rem;
    font-weight: 600;
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
    background: var(--ink);
    color: #fff;
    box-shadow: 0 12px 30px rgba(1, 33, 105, 0.22);
}

.btn-primary:hover {
    background: var(--ink-soft);
    transform: translateY(-1px);
}

.btn-secondary {
    border: 1px solid rgba(1, 33, 105, 0.16);
    background: rgba(255, 255, 255, 0.85);
    color: var(--ink);
}

.btn-secondary:hover {
    border-color: var(--ink);
}

.btn-gold {
    background: linear-gradient(135deg, #e11d48, #C8102E);
    color: #fff;
    box-shadow: 0 10px 28px rgba(200, 16, 46, 0.28);
}

.btn-gold:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.btn-ghost {
    color: rgba(255, 255, 255, 0.86);
}

.btn-ghost:hover {
    color: #fff;
}

.site-nav-menu .btn-ghost.is-active {
    color: #e11d48;
    position: relative;
}

.site-nav-menu .btn-ghost.is-active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.45rem;
    height: 2px;
    border-radius: 999px;
    background: #C8102E;
}

.mobile-nav-menu a.is-active {
    background: rgba(200, 16, 46, 0.1);
    color: #C8102E;
    font-weight: 700;
}

.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    color: #fff;
    background: #012169;
}

.hero-slides {
    position: relative;
    min-height: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transform: translateX(4%);
    transition: opacity 0.7s ease, transform 0.7s ease, visibility 0.7s;
    background:
        linear-gradient(180deg, rgba(1, 33, 105, 0.22) 0%, rgba(1, 33, 105, 0.58) 40%, rgba(1, 33, 105, 0.94) 100%),
        linear-gradient(90deg, rgba(200, 16, 46, 0.18), transparent 45%),
        var(--hero-image) center / cover no-repeat;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(1280px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 5rem 0 4rem;
    transform: translateY(-6vh);
}

.hero-brand {
    font-family: var(--font-hero);
    font-size: clamp(2.8rem, 7vw, 5.4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #fff;
    text-transform: none;
}

.hero-brand span {
    display: inline-block;
    font-family: var(--font-accent);
    font-size: 1.2em;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
    color: var(--gold-soft);
    vertical-align: baseline;
    text-transform: none;
}

.hero-title {
    margin: 0.85rem 0 0;
    max-width: 18ch;
    font-family: var(--font-hero, Roboto, ui-sans-serif, system-ui, sans-serif);
    font-size: clamp(1.85rem, 4.8vw, 3.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: #fff;
}

.hero-title span {
    display: inline;
    color: #ffb4c0;
}

.hero-slide--gradient {
    background:
        linear-gradient(180deg, rgba(1, 33, 105, 0.12) 0%, rgba(1, 33, 105, 0.45) 45%, rgba(1, 33, 105, 0.88) 100%),
        var(--hero-gradient, linear-gradient(135deg, #012169, #C8102E)) !important;
}

.hero-copy {
    margin-top: 1.1rem;
    max-width: 38rem;
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
    margin-top: 1.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-dots {
    position: absolute;
    left: 50%;
    bottom: 1.4rem;
    z-index: 3;
    display: flex;
    gap: 0.55rem;
    transform: translateX(-50%);
}

.hero-dots button {
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 999px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.45);
    transition: width 0.25s ease, background 0.25s ease;
}

.hero-dots button.is-active {
    width: 1.8rem;
    background: #C8102E;
}

.section {
    width: min(1280px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 4.5rem 0;
}

.section-kicker {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--teal);
}

.section-title {
    margin-top: 0.7rem;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-transform: none;
}

.section-lead {
    margin-top: 0.9rem;
    max-width: 44rem;
    color: var(--mute);
    font-size: 1.2rem;
    line-height: 1.75;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    animation: rise 0.8s ease forwards;
}

.reveal-delay-1 { animation-delay: 0.12s; }
.reveal-delay-2 { animation-delay: 0.24s; }
.reveal-delay-3 { animation-delay: 0.36s; }

.route-rail {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 0.75rem;
    align-items: center;
    margin-top: 2rem;
}

.route-node {
    padding: 1.15rem 1rem;
    border-radius: 1.25rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
    text-align: center;
}

.route-node strong {
    display: block;
    font-family: var(--font-display);
    font-size: 1.15rem;
}

.route-node span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: var(--mute);
}

.route-line {
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--teal-bright));
    position: relative;
    overflow: hidden;
}

.route-line::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 34%;
    background: #fff;
    animation: shuttle 2.4s ease-in-out infinite;
}

.shop-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1.5rem;
}

.shop-chip {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    padding: 0.55rem 0.95rem;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--ink-soft);
}

.info-split {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 900px) {
    .info-split {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 2rem;
        align-items: start;
    }
}

.panel {
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.82);
    border-radius: 1.75rem;
    padding: 1.5rem;
}

.contact-map {
    width: 100%;
    height: min(420px, 55vh);
    border-top: 1px solid var(--line);
    background: var(--mist);
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.panel-dark {
    background: linear-gradient(160deg, #012169, #1a3a7a 55%, #C8102E);
    color: #fff;
    border: 0;
}

.panel-dark .mute {
    color: rgba(255, 255, 255, 0.72);
}

.step-list {
    display: grid;
    gap: 1rem;
}

.step-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 1rem;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--line);
}

.step-item:last-child {
    border-bottom: 0;
}

.step-index {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(200, 16, 46, 0.1);
    color: var(--teal);
    font-weight: 700;
    font-family: var(--font-display);
}

.category-grid {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 700px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.category-item {
    padding: 1.1rem 1rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.category-item strong {
    display: block;
    font-family: var(--font-display);
}

.category-item span {
    display: block;
    margin-top: 0.35rem;
    font-size: 1rem;
    color: var(--mute);
    line-height: 1.5;
}

a.home-cat-card {
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    padding: 0;
}

.home-cat-img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.home-cat-card strong,
.home-cat-card span {
    padding-left: 1rem;
    padding-right: 1rem;
}

.home-cat-card strong {
    margin-top: 0.85rem;
}

.home-cat-card span {
    padding-bottom: 1rem;
}

.home-product-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
    .home-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.home-product-card {
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-product-media {
    display: block;
    aspect-ratio: 1 / 1;
    background: var(--mist);
    overflow: hidden;
}

.home-product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-product-placeholder {
    height: 100%;
    display: grid;
    place-items: center;
    color: var(--mute);
}

.home-product-body {
    padding: 0.9rem 1rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.home-product-title {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--ink);
    text-decoration: none;
    line-height: 1.35;
}

.home-product-meta {
    color: var(--mute);
    font-size: 0.95rem;
    margin: 0;
}

.home-product-row {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.home-product-row strong {
    color: var(--teal);
    font-size: 1.05rem;
}

/* Homepage category tiles — larger squares, 5 in one row */
.l2d-cat-grid {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 0;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

@media (max-width: 639.98px) {
    .l2d-cat-grid {
        gap: 0.65rem;
    }
}

.l2d-cat-card {
    display: block;
    text-decoration: none;
    color: #fff;
    border-radius: 1.1rem;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(1, 33, 105, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(200, 16, 46, 0.18);
}

.l2d-cat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px rgba(1, 33, 105, 0.18);
    border-color: rgba(200, 16, 46, 0.4);
}

.l2d-cat-media {
    position: relative;
    aspect-ratio: 1 / 1;
    background:
        radial-gradient(120% 90% at 100% 0%, rgba(200, 16, 46, 0.55), transparent 55%),
        linear-gradient(160deg, #012169 0%, #0a2a6e 55%, #C8102E 140%);
    overflow: hidden;
}

.l2d-cat-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.35s ease;
    z-index: 1;
}

.l2d-cat-media img.is-loaded {
    opacity: 1;
}

.l2d-cat-card:hover .l2d-cat-media img.is-loaded {
    transform: scale(1.05);
}

.l2d-cat-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 2.25rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.55);
    letter-spacing: 0.04em;
}

.l2d-cat-shade {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, rgba(1, 33, 105, 0.15) 0%, transparent 40%, rgba(1, 33, 105, 0.92) 100%),
        linear-gradient(135deg, rgba(200, 16, 46, 0.28) 0%, transparent 55%);
    pointer-events: none;
}

.l2d-cat-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0.75rem 0.85rem 0.9rem;
    z-index: 3;
}

.l2d-cat-caption strong {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(0.78rem, 1.6vw, 1.1rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.l2d-cat-caption span {
    display: none;
}

@media (min-width: 900px) {
    .l2d-cat-caption span {
        display: inline-block;
        margin-top: 0.3rem;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.82);
    }
}

/* Homepage product cards */
.l2d-product-grid {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 800px) {
    .l2d-product-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .l2d-product-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.l2d-product-card {
    display: flex;
    flex-direction: column;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid var(--line);
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(1, 33, 105, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-width: 0;
}

.l2d-product-card:hover {
    transform: translateY(-4px);
    border-color: var(--brand, var(--teal));
    box-shadow: 0 14px 32px rgba(var(--brand-rgb, 200, 16, 46), 0.14);
}

.l2d-product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: var(--brand, var(--teal));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.3rem 0.55rem;
    border-radius: 999px;
}

.l2d-product-media {
    position: relative;
    display: block;
    aspect-ratio: 3 / 4;
    background: linear-gradient(160deg, #eef2f8 0%, #dbe3f0 100%);
    overflow: hidden;
    text-decoration: none;
}

.l2d-product-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.l2d-product-media img.is-loaded {
    opacity: 1;
}

.l2d-product-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(1.35rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(1, 33, 105, 0.28);
    z-index: 0;
}

.l2d-img-spinner {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: none;
    place-items: center;
    pointer-events: none;
    background: linear-gradient(160deg, #eef2f8 0%, #dbe3f0 100%);
}

.l2d-product-media.is-loading .l2d-img-spinner,
.l2d-pd-main.is-loading .l2d-img-spinner,
.l2d-cat-media.is-loading .l2d-img-spinner {
    display: grid;
}

.l2d-img-spinner::after {
    content: '';
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 999px;
    border: 2.5px solid rgba(1, 33, 105, 0.15);
    border-top-color: var(--brand, #C8102E);
    animation: l2d-img-spin 0.7s linear infinite;
}

@keyframes l2d-img-spin {
    to { transform: rotate(360deg); }
}

.l2d-product-media.is-empty img,
.l2d-product-media.is-empty .l2d-img-spinner {
    display: none !important;
}

.l2d-product-media.is-empty .l2d-product-fallback {
    opacity: 1;
}

.l2d-product-body {
    padding: 0.95rem 1rem 1.05rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.l2d-product-cat {
    margin: 0;
    color: var(--mute);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
}

.l2d-product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
    color: var(--ink);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.02rem;
    line-height: 1.35;
}

.l2d-product-row {
    margin-top: auto;
    padding-top: 0.75rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

.l2d-product-price {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.l2d-product-price strong {
    color: var(--brand, var(--teal));
    font-size: 1.15rem;
    font-weight: 800;
    line-height: 1.2;
}

.l2d-product-price span {
    color: var(--mute);
    font-size: 0.88rem;
}

.l2d-product-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border: 0;
    border-radius: 999px;
    background: var(--brand, var(--teal));
    color: #fff !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    line-height: 1;
}

.l2d-product-btn i {
    font-size: 0.85rem;
}

.l2d-product-btn:hover {
    background: var(--teal-bright);
}

.l2d-product-add-form {
    margin: 0;
    display: inline-flex;
}

/* Product card add popup: qty + size */
.l2d-add-popup {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.l2d-add-popup[hidden] {
    display: none !important;
}

.l2d-add-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 33, 105, 0.45);
    backdrop-filter: blur(4px);
}

.l2d-add-popup-sheet {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    background: #fff;
    border-radius: 1.15rem 1.15rem 0 0;
    box-shadow: 0 -12px 40px rgba(1, 33, 105, 0.18);
    padding: 1rem 1.1rem calc(1.1rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 640px) {
    .l2d-add-popup {
        align-items: center;
        padding: 1rem;
    }

    .l2d-add-popup-sheet {
        border-radius: 1.15rem;
        padding: 1.25rem 1.35rem 1.35rem;
    }
}

.l2d-add-popup-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.l2d-add-popup-head h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ink);
    line-height: 1.3;
    padding-right: 0.25rem;
}

.l2d-add-popup-x {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: 999px;
    background: #eef2f8;
    color: var(--mute);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.l2d-add-popup-x:hover {
    background: #e2e8f0;
    color: var(--ink);
}

.l2d-add-popup-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.l2d-add-popup-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.l2d-add-popup-field span {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--mute);
}

.l2d-add-popup-field input {
    width: 100%;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 0.75rem;
    padding: 0 0.85rem;
    font-size: 0.95rem;
    color: var(--ink);
    background: #fff;
    box-sizing: border-box;
}

.l2d-add-popup-field input:focus {
    outline: none;
    border-color: var(--brand, var(--teal));
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.l2d-add-popup-submit {
    margin-top: 0.25rem;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--brand, var(--teal));
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.l2d-add-popup-submit:hover {
    background: var(--teal-bright, #a50d26);
}

.l2d-add-popup-submit:disabled {
    opacity: 0.7;
    cursor: wait;
}

body.l2d-add-popup-open {
    overflow: hidden;
}

.l2d-product-btn.is-adding {
    opacity: 0.75;
    pointer-events: none;
}

.l2d-section-actions {
    margin-top: 1.75rem;
    text-align: center;
}


.timeline-row {
    display: grid;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

@media (min-width: 800px) {
    .timeline-row {
        grid-template-columns: repeat(5, 1fr);
    }
}

.timeline-cell {
    padding: 1rem;
    border-radius: 1.15rem;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--line);
}

.timeline-cell em {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--teal);
    font-weight: 700;
}

.timeline-cell strong {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--font-display);
}

.timeline-cell span {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    color: var(--mute);
    line-height: 1.5;
}

.faq-list details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}

.faq-list summary {
    cursor: pointer;
    list-style: none;
    font-weight: 600;
    font-size: 1.12rem;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list details p {
    margin-top: 0.7rem;
    color: var(--mute);
    line-height: 1.75;
    max-width: 48rem;
    font-size: 1.125rem;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 1.4rem;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.85);
}

.price-table th,
.price-table td {
    text-align: left;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
}

.price-table th {
    background: rgba(232, 238, 245, 0.9);
    color: var(--mute);
    font-weight: 600;
}

.price-table tr:last-child td {
    border-bottom: 0;
}

.cta-band {
    margin: 1rem auto 4rem;
    width: min(1280px, calc(100% - 1.5rem));
    border-radius: 2rem;
    padding: 2.2rem;
    background:
        radial-gradient(500px 180px at 90% 0%, rgba(200, 16, 46, 0.35), transparent 60%),
        linear-gradient(135deg, #012169, #1a3a7a 55%, #C8102E);
    color: #fff;
}

.site-footer {
    position: relative;
    z-index: 0;
    border-top: 4px solid #C8102E;
    background:
        radial-gradient(700px 240px at 100% 0%, rgba(200, 16, 46, 0.28), transparent 55%),
        linear-gradient(160deg, #012169 0%, #0a2a6e 55%, #011845 100%);
    color: #fff;
}

.site-footer .brand-mark {
    color: #fff;
}

.site-footer .brand-mark span {
    color: #e11d48;
}

.site-footer-grid {
    width: min(1280px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 3rem 0 2rem;
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 800px) {
    .site-footer-grid {
        grid-template-columns: 1.5fr 1fr 1.1fr 1.1fr;
    }

    .site-footer-grid--dynamic {
        grid-template-columns: 1.35fr 1fr 1fr 1fr 1.15fr;
    }
}

.site-footer-store-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 0.45rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: #fff !important;
    font-size: 0.9rem;
    font-weight: 600;
    transition: background 0.2s ease;
}

.site-footer-store-btn:hover {
    background: rgba(200, 16, 46, 0.85);
    color: #fff !important;
}

.site-footer-app-line {
    margin: 0.35rem 0 0.65rem;
    font-size: 0.85rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
}

.site-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.site-footer-social a {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: #fff !important;
    font-size: 0.8rem;
}

.site-footer-social a:hover {
    background: #C8102E;
}

.footer-bottom-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.25rem;
    justify-content: flex-end;
    text-align: right;
}

.footer-contact p {
    margin: 0 0 0.35rem;
}

.footer-address {
    white-space: pre-line;
}

.site-footer h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    margin-bottom: 0.8rem;
    color: #fff;
}

.site-footer a,
.site-footer p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.08rem;
    line-height: 1.7;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    width: min(1280px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 1rem 0 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
}

.flash {
    width: min(1280px, calc(100% - 1.5rem));
    margin: 1rem auto 0;
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: rgba(1, 33, 105, 0.08);
    color: var(--ink);
    border: 1px solid rgba(1, 33, 105, 0.16);
}

.auth-shell,
.form-shell {
    width: min(720px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 3.5rem 0 4rem;
}

.wide-shell {
    width: min(1280px, calc(100% - 1.5rem));
    margin: 0 auto;
    padding: 3rem 0 4rem;
}

.input,
.select,
.textarea {
    width: 100%;
    margin-top: 0.35rem;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 0.9rem;
    padding: 0.8rem 0.95rem;
    font-size: 1.02rem;
    outline: none;
}

.input:focus,
.select:focus,
.textarea:focus {
    border-color: var(--ink);
    box-shadow: 0 0 0 3px rgba(1, 33, 105, 0.12);
}

.field {
    display: block;
    font-size: 1rem;
    font-weight: 600;
}

.field-error {
    margin-top: 0.35rem;
    color: var(--clay);
    font-size: 0.92rem;
}

.quote-panel {
    border-radius: 1.75rem;
    padding: 1.4rem;
    background: linear-gradient(160deg, #012169, #1a3a7a 60%, #C8102E);
    color: #fff;
}

.status {
    display: inline-flex;
    border-radius: 999px;
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 700;
}

@keyframes rise {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shuttle {
    0% { left: -10%; }
    100% { left: 100%; }
}

@media (max-width: 700px) {
    .route-rail {
        grid-template-columns: 1fr;
    }

    .route-line {
        width: 2px;
        height: 1.4rem;
        margin: 0 auto;
        background: linear-gradient(180deg, var(--gold), var(--teal-bright));
    }

    .route-line::after {
        width: 100%;
        height: 34%;
        inset: 0 0 auto 0;
        animation: shuttle-y 2.4s ease-in-out infinite;
    }
}

@keyframes shuttle-y {
    0% { top: -10%; }
    100% { top: 100%; }
}

.account-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.account-nav a {
    border-radius: 999px;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mute);
}

.account-nav a.is-active,
.account-nav a:hover {
    background: var(--ink);
    color: #fff;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.dash-stat {
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.15rem 1.25rem;
}

.dash-stat p {
    margin: 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 1.3;
    color: var(--mute);
}

.dash-stat strong {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--font-body);
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    color: var(--ink);
}

.dash-stat-warn strong { color: #C8102E; }
.dash-stat-info strong { color: #1a3a7a; }
.dash-stat-ok strong { color: #245616; }

.filter-chip {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--mute);
    background: #fff;
}

.filter-chip.is-active,
.filter-chip:hover {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.order-card {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    border: 1px solid var(--line);
    border-radius: 1.25rem;
    background: #fff;
    padding: 1.1rem 1.25rem;
}

.order-card:hover {
    border-color: rgba(1, 33, 105, 0.35);
    box-shadow: 0 10px 28px rgba(1, 33, 105, 0.08);
}

.order-card-meta {
    text-align: right;
}

@media (max-width: 900px) {
    .dash-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .dash-stats {
        grid-template-columns: 1fr;
    }

    .account-nav {
        border-radius: 1.25rem;
    }

    .order-card-meta {
        width: 100%;
        text-align: left;
    }
}


/* ===== Product detail (L2D theme) ===== */
.l2d-pd {
    padding-bottom: 5.5rem;
}

.l2d-pd-wrap {
    padding-top: 1.5rem;
    padding-bottom: 3rem;
}

.l2d-pd-crumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    color: var(--mute);
}

.l2d-pd-crumb a {
    color: var(--ink);
    text-decoration: none;
}

.l2d-pd-crumb a:hover {
    color: var(--teal);
}

.l2d-pd-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 960px) {
    .l2d-pd-grid {
        grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
        gap: 2.5rem;
        align-items: start;
    }
}

.l2d-pd-gallery {
    width: 100%;
    max-width: 480px;
    margin-inline: auto;
}

@media (min-width: 960px) {
    .l2d-pd-gallery {
        margin-inline: 0;
    }
}

.l2d-pd-main {
    position: relative;
    aspect-ratio: 3 / 4;
    width: 100%;
    min-height: 520px;
    border-radius: 1.25rem;
    overflow: hidden;
    background: linear-gradient(160deg, #eef2f8, #dbe3f0);
    box-shadow: 0 16px 40px rgba(1, 33, 105, 0.1);
}

.l2d-pd-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.28s ease;
    position: relative;
    z-index: 1;
}

.l2d-pd-main img.is-loaded {
    opacity: 1;
}

.l2d-pd-main.is-empty .l2d-img-spinner {
    display: none !important;
}

.l2d-pd-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    background: var(--teal);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
}

.l2d-pd-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.85rem;
}

.l2d-pd-thumb {
    aspect-ratio: 3 / 4;
    border-radius: 0.85rem;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background: #eef2f8;
    cursor: pointer;
}

.l2d-pd-thumb.is-active,
.l2d-pd-thumb:hover {
    border-color: var(--teal);
}

.l2d-pd-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.l2d-pd-kicker {
    margin: 0 0 0.5rem;
    color: var(--teal);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.l2d-pd-title {
    margin: 0 0 1rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.4vw, 2.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.l2d-pd-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 0.35rem;
}

.l2d-pd-price-row strong {
    color: var(--teal);
    font-size: 1.75rem;
    font-weight: 800;
}

.l2d-pd-was {
    color: var(--mute);
    text-decoration: line-through;
    font-size: 1.05rem;
}

.l2d-pd-uk,
.l2d-pd-brand {
    margin: 0 0 0.75rem;
    color: var(--mute);
    font-size: 0.95rem;
}

.l2d-pd-brand span {
    color: var(--ink);
    font-weight: 700;
}

.l2d-pd-lead {
    margin: 0 0 1.4rem;
    color: var(--mute);
    font-size: 1.05rem;
    line-height: 1.7;
}

.l2d-pd-fields {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.9rem;
}

.l2d-pd-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--mute);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.l2d-pd-field input {
    height: 46px;
    border: 1px solid var(--line);
    border-radius: 0.85rem;
    padding: 0 0.85rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    background: #fff;
    min-width: 72px;
}

.l2d-pd-field input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.l2d-pd-field-grow {
    flex: 1;
}

.l2d-pd-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.l2d-pd-cart,
.l2d-pd-wish {
    height: 48px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
}

.l2d-pd-cart {
    flex: 1.4;
    border: 0;
    background: var(--teal);
    color: #fff;
}

.l2d-pd-cart:hover {
    background: var(--teal-bright);
}

.l2d-pd-wish {
    flex: 1;
    border: 2px solid var(--line);
    background: #fff;
    color: var(--ink);
}

.l2d-pd-wish.is-active,
.l2d-pd-wish:hover {
    border-color: var(--teal);
    color: var(--teal);
    background: #fde8ec;
}

.l2d-pd-acc {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: #fff;
    margin-bottom: 0.65rem;
    overflow: hidden;
}

.l2d-pd-acc summary {
    cursor: pointer;
    list-style: none;
    padding: 0.95rem 1.05rem;
    font-weight: 800;
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.l2d-pd-acc summary::-webkit-details-marker { display: none; }

.l2d-pd-acc-icon {
    color: var(--brand, var(--teal));
    font-size: 0.85rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.l2d-pd-acc[open] > summary .l2d-pd-acc-icon {
    transform: rotate(180deg);
}

.l2d-pd-acc div {
    padding: 0 1.05rem 1.05rem;
    color: var(--mute);
    line-height: 1.65;
}

.l2d-pd-related {
    margin-top: 3.5rem;
    padding-top: 0.5rem;
}

.l2d-pd-sticky {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 0.75rem;
    background: #fff;
    border-top: 1px solid var(--line);
    box-shadow: 0 -8px 28px rgba(1, 33, 105, 0.1);
}

.l2d-pd-sticky-price {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.1rem;
    min-width: 4.75rem;
    flex-shrink: 0;
}

.l2d-pd-sticky-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--mute);
    line-height: 1.1;
}

.l2d-pd-sticky-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    color: var(--brand, var(--teal));
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.15;
    white-space: nowrap;
}

.l2d-pd-sticky-amount #mobile-price {
    display: inline !important;
}

.l2d-pd-sticky button,
.l2d-pd-sticky-btn {
    flex: 0 1 auto;
    min-width: 0;
    height: 36px;
    padding: 0 0.9rem;
    border: 0;
    border-radius: 999px;
    background: var(--brand, var(--teal));
    color: #fff;
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    white-space: nowrap;
    margin-left: auto;
}

.l2d-pd-sticky button i,
.l2d-pd-sticky-btn i {
    font-size: 0.75rem;
}

.l2d-pd-sticky button:hover,
.l2d-pd-sticky-btn:hover {
    background: var(--teal-bright, #a50d26);
}

@media (min-width: 768px) {
    .l2d-pd {
        padding-bottom: 2rem;
    }
}

/* Storefront brand helpers use CSS vars from admin (see layouts/storefront) */
.site-shell .text-brand-500,
.site-shell .text-brand-600,
.site-shell .text-brand-700,
.site-shell .hover\:text-brand-500:hover,
.site-shell .hover\:text-brand-600:hover,
.site-shell .hover\:text-brand-700:hover,
.site-shell .text-orange-500,
.site-shell .text-orange-600,
.site-shell .text-orange-700,
.site-shell .text-orange-800,
.site-shell .group-hover\:text-brand-500:is(:hover *),
.site-shell .group-hover\:text-brand-600:is(:hover *) {
    color: var(--brand, #C8102E) !important;
}
.site-shell .bg-brand-500,
.site-shell .bg-brand-600,
.site-shell .hover\:bg-brand-600:hover,
.site-shell .hover\:bg-brand-700:hover {
    background: linear-gradient(135deg, var(--btn2-c1, #C8102E) 0%, var(--btn2-c2, #012169) 100%) !important;
    color: #fff !important;
}
.site-shell .bg-orange-50,
.site-shell .bg-orange-100,
.site-shell .bg-brand-50 {
    background-color: var(--brand-soft, rgba(200, 16, 46, 0.12)) !important;
    color: var(--ink, #012169) !important;
}
.site-shell .border-brand-500,
.site-shell .border-brand-300,
.site-shell .border-orange-200,
.site-shell .hover\:border-brand-500:hover,
.site-shell .focus\:border-brand-500:focus {
    border-color: var(--brand, #C8102E) !important;
}
.site-shell .ring-brand-200,
.site-shell .ring-brand-500,
.site-shell .focus\:ring-brand-500:focus {
    --tw-ring-color: rgba(var(--brand-rgb, 200, 16, 46), 0.35) !important;
}
.site-shell .shadow-brand-500\/30,
.site-shell .shadow-brand-500\/20 {
    --tw-shadow-color: rgba(var(--brand-rgb, 200, 16, 46), 0.28) !important;
}
.site-shell [style*="accent-color: #f97316"],
.site-shell [style*="accent-color:#f97316"],
.site-shell [style*="accent-color: #C8102E"] {
    accent-color: var(--brand, #C8102E) !important;
}
.site-shell .accent-brand-500,
.site-shell .accent-brand-600 {
    accent-color: var(--brand, #C8102E) !important;
}

/* ===== Top announcement banner ===== */
.site-top-banner {
    background: linear-gradient(135deg, var(--btn2-c1, #C8102E) 0%, var(--btn2-c2, #012169) 100%);
    color: #fff;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 0.75rem;
    line-height: 1.3;
    margin: 0;
}

@media (max-width: 767.98px) {
    .site-top-banner {
        font-size: 0.65rem;
        padding: 0.28rem 0.6rem;
        letter-spacing: 0.06em;
    }
}

.l2d-price-field {
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
}

.l2d-price-field > span {
    position: absolute;
    left: 0.7rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mute);
    font-size: 0.85rem;
    font-weight: 700;
    pointer-events: none;
    z-index: 1;
}

.l2d-price-field input {
    padding-left: 1.55rem !important;
}

.site-top-banner span {
    display: inline-block;
    max-width: 1280px;
}

/* ===== Icon-only navbar actions ===== */
.site-nav-icons {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    justify-self: end;
    margin-left: 0;
}

.site-nav-icon {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.15rem;
    text-decoration: none;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-nav-icon:hover,
.site-nav-icon.is-active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.22);
    color: #fff;
}

.site-nav-icon .site-nav-cart-badge {
    top: 2px;
    right: 2px;
}

@media (max-width: 1023.98px) {
    .site-nav-icon {
        width: 38px;
        height: 38px;
        font-size: 1.05rem;
    }
}

/* ===== Product detail image fallback ===== */
.l2d-pd-main.is-empty img {
    display: none !important;
}

.l2d-pd-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: clamp(2rem, 6vw, 3.25rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    color: rgba(1, 33, 105, 0.28);
    z-index: 0;
    pointer-events: none;
}

.l2d-pd-thumb {
    position: relative;
}

.l2d-pd-thumb.is-empty img {
    display: none !important;
}

.l2d-pd-thumb-fallback {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    color: rgba(1, 33, 105, 0.28);
    background: #eef2f8;
    z-index: 0;
    pointer-events: none;
}

/* Sticky add-to-cart: mobile only — sits above bottom app menu */
.l2d-pd-sticky {
    display: none !important;
}

@media (max-width: 767.98px) {
    .l2d-pd-sticky {
        display: flex !important;
        /* Nav is ~4rem with border-box padding + safe-area; keep clear gap */
        bottom: calc(4.05rem + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 1045 !important;
        padding: 0.4rem 0.7rem !important;
        gap: 0.45rem !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        left: 0 !important;
        right: 0 !important;
    }

    .l2d-pd {
        padding-bottom: calc(4.5rem + 4.05rem + env(safe-area-inset-bottom, 0px)) !important;
    }

    body.site-shell .l2d-pd-wrap {
        width: 100%;
        max-width: 100%;
        padding-top: 0.85rem;
        padding-bottom: 1.25rem;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    body.site-shell .l2d-pd-grid,
    body.site-shell .l2d-pd-info,
    body.site-shell .l2d-pd-gallery,
    body.site-shell .l2d-pd-form {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.site-shell .l2d-pd-crumb {
        font-size: 0.8rem;
        margin-bottom: 0.85rem;
        gap: 0.3rem;
    }

    body.site-shell .l2d-pd-main {
        min-height: 0;
        aspect-ratio: 3 / 4;
        border-radius: 1rem;
    }

    body.site-shell .l2d-pd-title {
        font-size: 1.35rem;
        margin-bottom: 0.65rem;
    }

    body.site-shell .l2d-pd-price-row strong {
        font-size: 1.4rem;
    }

    body.site-shell .l2d-pd-lead {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    body.site-shell .l2d-pd-fields {
        display: grid;
        grid-template-columns: 4.5rem minmax(0, 1fr);
        gap: 0.55rem;
        width: 100%;
    }

    body.site-shell .l2d-pd-field input {
        width: 100%;
        min-width: 0;
        height: 44px;
        font-size: 0.92rem;
    }

    body.site-shell .l2d-pd-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr) !important;
        gap: 0.55rem;
        width: 100%;
        margin-bottom: 1.1rem;
    }

    body.site-shell .l2d-pd-cart,
    body.site-shell .l2d-pd-wish {
        display: inline-flex !important;
        flex: none;
        width: 100%;
        min-width: 0;
        height: 46px;
        font-size: 0.82rem;
        padding: 0 0.65rem;
        box-sizing: border-box;
        white-space: nowrap;
    }

    body.site-shell .l2d-pd-wish span {
        display: inline;
    }

    body.site-shell .l2d-pd-acc summary {
        padding: 0.85rem 0.9rem;
        font-size: 0.95rem;
    }

    body.site-shell .l2d-pd-related {
        margin-top: 2rem;
    }

    body.site-shell .l2d-pd-sticky-price {
        min-width: 4.25rem;
        max-width: 36%;
        flex-shrink: 0;
    }

    body.site-shell .l2d-pd-sticky-amount {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    body.site-shell .l2d-pd-sticky-amount #mobile-price {
        display: inline !important;
    }

    body.site-shell .l2d-pd-sticky-btn {
        flex: 0 0 auto !important;
        height: 34px !important;
        min-height: 34px !important;
        max-height: 34px !important;
        padding: 0 0.85rem !important;
        font-size: 0.74rem !important;
        font-weight: 700 !important;
        gap: 0.28rem !important;
        margin-left: auto;
    }

    body.site-shell .l2d-pd-sticky-btn i {
        font-size: 0.7rem !important;
    }

    body.site-shell .l2d-pd-sticky-btn span {
        display: inline !important;
    }
}

/* ===== Auth pages (login / register) ===== */
.l2d-auth {
    background:
        radial-gradient(circle at top right, rgba(200, 16, 46, 0.08), transparent 42%),
        linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%);
    min-height: calc(100vh - 8rem);
    padding: 2.5rem 0 3.5rem;
}

.l2d-auth-wrap {
    display: flex;
    justify-content: center;
}

.l2d-auth-card {
    width: 100%;
    max-width: 440px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 1.35rem;
    padding: 1.75rem 1.5rem 1.85rem;
    box-shadow: 0 18px 40px rgba(1, 33, 105, 0.08);
}

@media (min-width: 640px) {
    .l2d-auth-card {
        padding: 2.1rem 2rem 2.2rem;
    }
}

.l2d-auth-head {
    text-align: center;
    margin-bottom: 1.4rem;
}

.l2d-auth-kicker {
    margin: 0 0 0.4rem;
    color: var(--teal);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.l2d-auth-head h1 {
    margin: 0 0 0.35rem;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 1.65rem;
    font-weight: 800;
}

.l2d-auth-head p {
    margin: 0;
    color: var(--mute);
    font-size: 0.95rem;
}

.l2d-auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.l2d-auth-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink);
}

.l2d-auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.l2d-auth-label-row a {
    color: var(--teal);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.l2d-auth-label-row a:hover {
    text-decoration: underline;
}

.l2d-auth-input {
    position: relative;
}

.l2d-auth-input i {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--mute);
    font-size: 0.95rem;
    pointer-events: none;
}

.l2d-auth-input input {
    width: 100%;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 0.9rem;
    padding: 0 0.95rem 0 2.55rem;
    font-size: 0.98rem;
    color: var(--ink);
    background: #fff;
}

.l2d-auth-input input:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(200, 16, 46, 0.12);
}

.l2d-auth-field small {
    color: var(--mute);
    font-size: 0.78rem;
    font-weight: 500;
}

.l2d-auth-check {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--mute);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.l2d-auth-check input {
    width: 1rem;
    height: 1rem;
    accent-color: #C8102E;
}

.l2d-auth-submit,
.l2d-auth-fb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    height: 48px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform 0.15s ease, background 0.15s ease;
}

.l2d-auth-submit {
    background: var(--teal);
    color: #fff;
    border: 0;
}

.l2d-auth-submit:hover {
    background: var(--teal-bright);
    color: #fff;
    transform: translateY(-1px);
}

.l2d-auth-fb {
    background: #1877f2;
    color: #fff;
}

.l2d-auth-fb:hover {
    background: #166fe5;
    color: #fff;
}

.l2d-auth-fb svg {
    width: 1.1rem;
    height: 1.1rem;
}

.l2d-auth-divider {
    position: relative;
    text-align: center;
    margin: 0.15rem 0;
}

.l2d-auth-divider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    border-top: 1px solid var(--line);
}

.l2d-auth-divider span {
    position: relative;
    background: #fff;
    padding: 0 0.75rem;
    color: var(--mute);
    font-size: 0.82rem;
    font-weight: 600;
}

.l2d-auth-switch {
    margin: 0.25rem 0 0;
    text-align: center;
    color: var(--mute);
    font-size: 0.92rem;
}

.l2d-auth-switch a {
    color: var(--teal);
    font-weight: 800;
    text-decoration: none;
}

.l2d-auth-switch a:hover {
    text-decoration: underline;
}

.l2d-auth-alert {
    border-radius: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.l2d-auth-alert ul {
    margin: 0;
    padding-left: 1.1rem;
}

.l2d-auth-alert.is-error {
    background: #fde8ec;
    border: 1px solid #f5c2cc;
    color: #9f1239;
}

.l2d-auth-alert.is-ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

/* —— Mobile app shell (≤767px only; desktop unchanged) —— */
@media (max-width: 767.98px) {
    html,
    body.site-shell {
        overflow-x: hidden;
        max-width: 100vw;
        -webkit-tap-highlight-color: transparent;
    }

    body.site-shell {
        /* Clearance lives on .site-footer (not body) so no white strip under the footer */
        padding-bottom: 0 !important;
        background: #f4f6fa;
        width: 100%;
        box-sizing: border-box;
    }

    body.site-shell.page-cart,
    body.site-shell.page-checkout,
    body.site-shell.page-thank-you {
        padding-bottom: var(--mobile-sticky-nav-height, calc(4.5rem + env(safe-area-inset-bottom, 0px))) !important;
    }

    body.site-shell *,
    body.site-shell *::before,
    body.site-shell *::after {
        box-sizing: border-box;
    }

    body.site-shell img,
    body.site-shell video,
    body.site-shell iframe,
    body.site-shell svg {
        max-width: 100%;
        height: auto;
    }

    body.site-shell table {
        display: block;
        width: 100%;
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    body.site-shell .site-nav {
        position: sticky;
        top: 0;
        z-index: 1040;
        box-shadow: 0 2px 12px rgba(1, 33, 105, 0.18);
        padding-top: env(safe-area-inset-top, 0);
        width: 100%;
        max-width: 100vw;
        overflow: visible;
    }

    body.site-shell .site-nav .site-container {
        width: calc(100% - 0.75rem) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Mobile top bar: search + wishlist only — single compact row */
    body.site-shell .site-nav-bar {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        grid-template-areas: "search wishlist" !important;
        grid-template-rows: auto !important;
        align-items: center !important;
        gap: 0.4rem !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0.35rem 0 !important;
    }

    body.site-shell .site-nav {
        padding-top: env(safe-area-inset-top, 0);
        padding-bottom: 0 !important;
    }

    body.site-shell .site-nav-logo {
        display: none !important;
        grid-area: unset !important;
    }

    body.site-shell .site-search {
        grid-area: search !important;
        max-width: none;
        width: 100%;
        min-width: 0;
    }

    body.site-shell .site-nav-icons {
        grid-area: wishlist !important;
        display: inline-flex;
        align-items: center;
        gap: 0;
        align-self: center;
    }

    body.site-shell .site-nav-icon-cart,
    body.site-shell .site-nav-icon-account {
        display: none !important;
    }

    body.site-shell .site-nav-icon-wishlist {
        display: inline-flex !important;
        width: 2.15rem;
        height: 2.15rem;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
    }

    body.site-shell .site-search-inner {
        min-height: 2.15rem !important;
        height: 2.15rem !important;
        border: 0 !important;
        border-radius: 999px !important;
        overflow: hidden !important;
        background: var(--brand, #C8102E) !important;
        box-shadow: none;
    }

    body.site-shell .site-search-cat-btn {
        padding-left: 0.55rem;
        padding-right: 0.4rem;
        border-right: 0 !important;
        border-radius: 0;
        min-width: 42px;
        font-size: 0.72rem;
        gap: 0.25rem;
        background: transparent;
        color: #fff;
    }

    body.site-shell .site-search-input {
        padding: 0 0.55rem;
        font-size: 0.84rem;
        height: 100%;
        background: transparent !important;
        color: #fff !important;
        border-radius: 0 !important;
        -webkit-appearance: none;
        appearance: none;
    }

    body.site-shell .site-search-input::placeholder {
        color: rgba(255, 255, 255, 0.78);
    }

    body.site-shell .site-search-form {
        background: transparent !important;
        height: 100%;
    }

    body.site-shell .site-search-submit {
        width: 38px !important;
        border-radius: 0;
        background: transparent;
        color: #fff;
    }

    /* Product price + Add: no overlay on narrow cards */
    body.site-shell .l2d-product-body {
        padding: 0.75rem 0.7rem 0.85rem;
    }

    body.site-shell .l2d-product-row {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.4rem;
        padding-top: 0.55rem;
    }

    body.site-shell .l2d-product-price {
        flex: 1 1 auto;
        min-width: 0;
    }

    body.site-shell .l2d-product-price strong {
        font-size: 0.92rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: block;
        max-width: 100%;
    }

    body.site-shell .l2d-product-btn {
        flex: 0 0 auto;
        padding: 0.42rem 0.65rem;
        font-size: 0.78rem;
        gap: 0.25rem;
    }

    body.site-shell .l2d-product-btn span {
        display: inline;
    }

    body.site-shell .l2d-product-grid {
        padding-bottom: 0.5rem;
    }

    /* Shop filters row: fit screen, no crop (50%+50%+gap was overflowing) */
    body.site-shell .mobile-filters-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
        overflow: hidden;
        padding-right: 0;
    }

    body.site-shell .mobile-filters-row > button,
    body.site-shell .mobile-filters-row > div {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }

    body.site-shell .mobile-filters-row > button,
    body.site-shell .mobile-filters-row .sort-by-btn {
        width: 100% !important;
        height: 2.65rem !important;
        min-height: 2.65rem !important;
        font-size: 0.8rem !important;
        padding-left: 0.55rem !important;
        padding-right: 0.55rem !important;
        box-sizing: border-box !important;
        overflow: hidden;
    }

    body.site-shell .mobile-filters-row .sort-by-btn span {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        min-width: 0;
        flex: 1 1 auto;
        text-align: left;
    }

    body.site-shell .site-container {
        width: calc(100% - 1.25rem) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0.15rem !important;
        padding-right: 0.15rem !important;
        margin-bottom: 0 !important;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    /* Never add bottom-nav clearance to the sticky header row */
    body.site-shell .site-nav .site-container.site-nav-bar {
        padding-top: 0.35rem !important;
        padding-bottom: 0.35rem !important;
        min-height: 0 !important;
        height: auto !important;
    }

    body.site-shell .shop-layout,
    body.site-shell .shop-main,
    body.site-shell .shop-sidebar,
    body.site-shell .l2d-product-grid,
    body.site-shell .l2d-cat-grid,
    body.site-shell main,
    body.site-shell .section {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    body.site-shell .shop-layout {
        overflow-x: hidden;
    }

    body.site-shell .md\:min-w-\[320px\],
    body.site-shell .md\:w-80 {
        min-width: 0 !important;
    }

    @media (max-width: 767.98px) {
        body.site-shell [class*="min-w-["] {
            min-width: 0 !important;
        }
    }

    /* Hero: fill screen between header and bottom app menu */
    body.site-shell .hero {
        min-height: calc(100dvh - var(--mobile-sticky-nav-height, 4.05rem) - var(--mobile-top-chrome, 4.35rem)) !important;
        height: calc(100dvh - var(--mobile-sticky-nav-height, 4.05rem) - var(--mobile-top-chrome, 4.35rem)) !important;
        max-height: calc(100dvh - var(--mobile-sticky-nav-height, 4.05rem) - var(--mobile-top-chrome, 4.35rem)) !important;
        margin: 0 !important;
    }

    body.site-shell .hero-slides,
    body.site-shell .hero-slide {
        min-height: 100%;
        height: 100%;
    }

    body.site-shell .hero-slide {
        background-image:
            linear-gradient(180deg, rgba(1, 33, 105, 0.28) 0%, rgba(1, 33, 105, 0.62) 42%, rgba(1, 33, 105, 0.95) 100%),
            linear-gradient(90deg, rgba(200, 16, 46, 0.16), transparent 50%),
            var(--hero-image-mobile, var(--hero-image));
        background-position: center center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    body.site-shell .hero-content {
        transform: none;
        padding: 1.25rem 0 2.5rem;
        width: min(100%, calc(100% - 1.25rem));
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 100%;
        box-sizing: border-box;
    }

    body.site-shell .hero-brand {
        font-size: clamp(1.85rem, 8vw, 2.6rem);
    }

    body.site-shell .hero-brand .site-logo-img {
        height: auto;
        max-height: 52px;
        max-width: min(240px, 72vw);
        width: auto;
    }

    body.site-shell .hero-title {
        margin-top: 0.65rem;
        font-size: clamp(1.45rem, 6.5vw, 2rem);
        max-width: 16ch;
    }

    body.site-shell .hero-copy {
        margin-top: 0.75rem;
        font-size: 0.95rem;
        line-height: 1.45;
        max-width: 34rem;
    }

    body.site-shell .hero-slide--gradient {
        background:
            linear-gradient(180deg, rgba(1, 33, 105, 0.18) 0%, rgba(1, 33, 105, 0.52) 45%, rgba(1, 33, 105, 0.92) 100%),
            var(--hero-gradient, linear-gradient(135deg, #012169, #C8102E)) !important;
    }

    body.site-shell .hero-actions {
        margin-top: 1rem;
        gap: 0.45rem;
        flex-wrap: wrap;
    }

    body.site-shell .hero-actions .btn-gold,
    body.site-shell .hero-actions .btn-secondary {
        padding: 0.45rem 0.9rem !important;
        font-size: 0.8rem !important;
        font-weight: 700;
        min-height: 0;
        line-height: 1.2;
    }

    body.site-shell .hero-dots {
        bottom: 0.55rem;
    }

    /* When PWA install bar is up, keep hero clear of it too */
    html.pwa-install-visible body.site-shell .hero {
        min-height: calc(100dvh - var(--mobile-sticky-nav-height, 4.05rem) - var(--mobile-top-chrome, 4.35rem) - 4.75rem) !important;
        height: calc(100dvh - var(--mobile-sticky-nav-height, 4.05rem) - var(--mobile-top-chrome, 4.35rem) - 4.75rem) !important;
        max-height: calc(100dvh - var(--mobile-sticky-nav-height, 4.05rem) - var(--mobile-top-chrome, 4.35rem) - 4.75rem) !important;
    }

    body.site-shell main {
        min-height: 55vh;
        background: #f4f6fa;
    }

    body.site-shell .site-footer,
    body.site-shell footer.bg-dark-900 {
        padding-bottom: calc(var(--mobile-sticky-nav-height, 4.5rem) + 1.25rem);
        margin-bottom: 0;
    }

    body.site-shell.page-cart .site-footer,
    body.site-shell.page-checkout .site-footer,
    body.site-shell.page-thank-you .site-footer,
    body.site-shell.page-cart footer.bg-dark-900,
    body.site-shell.page-checkout footer.bg-dark-900,
    body.site-shell.page-thank-you footer.bg-dark-900 {
        display: none !important;
    }

    body.site-shell .product-card,
    body.site-shell .l2d-product-card {
        border-radius: 14px;
        overflow: hidden;
    }

    html.pwa-install-visible body.site-shell.page-cart,
    html.pwa-install-visible body.site-shell.page-checkout,
    html.pwa-install-visible body.site-shell.page-thank-you {
        padding-bottom: calc(var(--mobile-sticky-nav-height, 4.5rem) + 5.5rem) !important;
    }

    html.pwa-install-visible body.site-shell .site-footer,
    html.pwa-install-visible body.site-shell footer.bg-dark-900 {
        padding-bottom: calc(var(--mobile-sticky-nav-height, 4.5rem) + 5.5rem + 1.25rem);
    }
}

@media (max-width: 767.98px) and (display-mode: standalone) {
    body.site-shell .site-top-banner {
        padding-top: 0.15rem;
    }

    body.site-shell .site-nav {
        padding-top: max(env(safe-area-inset-top, 0px), 0.25rem);
    }
}

@media (min-width: 768px) {
    .unified-mobile-sticky-nav {
        display: none !important;
    }

    #pwa-install-bar {
        display: none !important;
    }
}

