/* ================================================================
   OCAKHANE — Design System  v2
   Base: Bootstrap 5.3  |  Fonts: Oswald + Space Grotesk
   ================================================================ */

/* ── 1. CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
    --oc-bg:             #f4f6f9;
    --oc-bg-alt:         #eceef3;
    --oc-surface:        #ffffff;

    --oc-primary:        #dc2626;
    --oc-primary-h:      #b91c1c;
    --oc-primary-a:      #991b1b;
    --oc-primary-rgb:    220,38,38;

    --oc-accent:         #c47a3a;
    --oc-accent-h:       #ab6830;
    --oc-accent-rgb:     196,122,58;

    --oc-success:        #16a34a;
    --oc-success-rgb:    22,163,74;

    --oc-text:           #0f172a;
    --oc-body:           #334155;
    --oc-muted:          #64748b;
    --oc-placeholder:    #94a3b8;

    --oc-border:         #e2e8f0;
    --oc-border-h:       #cbd5e1;

    --oc-header-bg:      #0f172a;
    --oc-header-text:    #f8fafc;

    --oc-admin-bg:       #0f172a;
    --oc-admin-text:     #cbd5e1;
    --oc-admin-w:        240px;

    --oc-ring-accent:    0 0 0 3px rgba(196,122,58,.22);
    --oc-ring-danger:    0 0 0 3px rgba(220,38,38,.22);

    --oc-shadow-xs:      0 1px 3px rgba(15,23,42,.07);
    --oc-shadow-sm:      0 2px 8px rgba(15,23,42,.08);
    --oc-shadow-md:      0 4px 20px rgba(15,23,42,.10);
    --oc-shadow-lg:      0 8px 40px rgba(15,23,42,.13);

    --oc-radius-sm:      .5rem;
    --oc-radius:         .75rem;
    --oc-radius-lg:      1rem;
    --oc-radius-xl:      1.375rem;

    --oc-ease:           .18s ease;

    /* Bootstrap token overrides */
    --bs-body-bg:           var(--oc-bg);
    --bs-body-color:        var(--oc-body);
    --bs-border-color:      var(--oc-border);
    --bs-link-color:        var(--oc-accent);
    --bs-link-hover-color:  var(--oc-accent-h);
    --bs-secondary-color:   var(--oc-muted);
    --bs-danger:            var(--oc-primary);
    --bs-danger-rgb:        var(--oc-primary-rgb);
    --bs-success:           var(--oc-success);
    --bs-success-rgb:       var(--oc-success-rgb);
    --bs-border-radius:     var(--oc-radius-sm);
    --bs-border-radius-lg:  var(--oc-radius);
}

/* ── 2. BASE ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body.oc-body {
    background:
        radial-gradient(ellipse at 6% 0%, rgba(196,122,58,.07) 0%, transparent 44%),
        radial-gradient(ellipse at 94% 0%, rgba(220,38,38,.05) 0%, transparent 42%),
        var(--oc-bg);
    color: var(--oc-body);
    font-family: 'Space Grotesk', system-ui, sans-serif;
    font-size: .9375rem;
    line-height: 1.65;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.display-1, .display-2, .display-3,
.display-4, .display-5, .display-6 {
    font-family: 'Oswald', sans-serif;
    color: var(--oc-text);
    letter-spacing: .02em;
    line-height: 1.2;
}

p, li, td, th, label, .small { color: var(--oc-body); }

a {
    color: var(--oc-accent);
    text-decoration-color: rgba(196,122,58,.35);
    transition: color var(--oc-ease), text-decoration-color var(--oc-ease);
}
a:hover { color: var(--oc-accent-h); text-decoration-color: rgba(196,122,58,.6); }

.text-secondary, .text-muted { color: var(--oc-muted) !important; }
.text-light, .link-light      { color: var(--oc-text)   !important; }
.text-accent                   { color: var(--oc-accent) !important; }

.link-accent {
    color: var(--oc-accent) !important;
    text-decoration-color: rgba(196,122,58,.4);
}
.link-accent:hover { color: var(--oc-accent-h) !important; }

code { color: var(--oc-accent-h); }

/* ── 3. CARD / SURFACE SYSTEM ────────────────────────────────── */
.card,
.metal-card,
.product-card,
.category-chip,
.hero-panel,
.modal-content,
.dropdown-menu {
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius);
    box-shadow: var(--oc-shadow-sm);
}

.metal-card {
    border-radius: var(--oc-radius-lg);
    transition: box-shadow var(--oc-ease), border-color var(--oc-ease);
}

.metal-card:hover {
    box-shadow: var(--oc-shadow-md);
    border-color: var(--oc-border-h);
}

/* ── 4. SITE HEADER ──────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--oc-header-bg);
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.site-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 70px;
    padding-top: 8px;
    padding-bottom: 8px;
}

.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    line-height: 1;
}

.brand-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0;
    margin: 0;
    text-decoration: none;
    min-height: 40px;
}

.brand-logo img {
    width: 40px;
    max-width: 40px;
    max-height: 40px;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 6px rgba(220,38,38,.2));
}

.brand-lockup {
    display: flex;
    flex-direction: column;
    line-height: 1;
    transform: translateY(1px);
}

.brand-text {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2.5px;
    line-height: 1;
    white-space: nowrap;
    display: inline-block;
    text-transform: uppercase;
    color: #d4af37;
    background: linear-gradient(145deg, #f7e6a6 0%, #d4af37 28%, #b8860b 58%, #f7e6a6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow:
        0 1px 0 rgba(255,255,255,.22),
        0 2px 10px rgba(0,0,0,.45),
        0 0 10px rgba(212,175,55,.18);
    transition: filter .18s ease;
}

.brand-tag {
    margin-top: 4px;
    font-size: 10px;
    letter-spacing: 2.2px;
    color: rgba(255,255,255,.58);
    text-transform: uppercase;
    white-space: nowrap;
}

.brand-logo:hover .brand-text {
    filter: brightness(1.08);
}

.brand-logo:focus-visible {
    outline: 2px solid rgba(212,175,55,.55);
    outline-offset: 4px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .brand-text {
        font-size: 18px;
        letter-spacing: 2px;
    }

    .brand-tag {
        font-size: 9px;
        letter-spacing: 2px;
    }
}

@media (max-width: 576px) {
    .brand-text {
        font-size: 16px;
        letter-spacing: 1.6px;
    }

    .brand-tag { display: none; }
    .brand-logo { gap: 8px; }
}

/* Main nav */
.main-nav {
    display: flex;
    gap: 2px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.main-nav .nav-link {
    color: rgba(248,250,252,.78);
    padding: .45rem .9rem;
    border-radius: var(--oc-radius-sm);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .01em;
    transition: color var(--oc-ease), background var(--oc-ease);
    position: relative;
}

.main-nav .nav-link::after {
    content: '';
    position: absolute;
    inset: auto .9rem 5px;
    height: 2px;
    border-radius: 999px;
    background: var(--oc-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .22s ease;
}

.main-nav .nav-link:hover,
.main-nav .nav-link:focus-visible {
    color: #fff;
    background: rgba(255,255,255,.07);
}

.main-nav .nav-link.active,
.main-nav .nav-link[aria-current='page'] { color: #fff; }

.main-nav .nav-link:hover::after,
.main-nav .nav-link:focus-visible::after,
.main-nav .nav-link.active::after,
.main-nav .nav-link[aria-current='page']::after { transform: scaleX(1); }

.header-actions {
    display: flex;
    align-items: center;
    gap: .625rem;
    flex-shrink: 0;
}

.site-header .btn-outline-light {
    --bs-btn-color:               var(--oc-header-text);
    --bs-btn-border-color:        rgba(248,250,252,.25);
    --bs-btn-hover-color:         #fff;
    --bs-btn-hover-bg:            rgba(248,250,252,.1);
    --bs-btn-hover-border-color:  rgba(248,250,252,.45);
    --bs-btn-active-color:        #fff;
    --bs-btn-active-bg:           rgba(248,250,252,.18);
    --bs-btn-active-border-color: rgba(248,250,252,.55);
    --bs-btn-disabled-color:      rgba(248,250,252,.45);
    background: transparent;
    font-size: .8125rem;
    font-weight: 600;
    padding: .375rem .875rem;
}

/* hamburger */
.nav-toggle {
    display: none;
    background: rgba(255,255,255,.08);
    color: var(--oc-header-text);
    border: 1px solid rgba(255,255,255,.18);
    padding: 7px 11px;
    border-radius: var(--oc-radius-sm);
    font-size: 17px;
    line-height: 1;
    cursor: pointer;
    transition: background var(--oc-ease);
}
.nav-toggle:hover { background: rgba(255,255,255,.14); }

body.mobile-menu-open {
    overflow: hidden;
}

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.52);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
    z-index: 1190;
}

.mobile-menu-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(86vw, 360px);
    height: 100vh;
    background: #111827;
    border-left: 1px solid rgba(255,255,255,.09);
    box-shadow: -12px 0 34px rgba(2,6,23,.35);
    transform: translateX(100%);
    transition: transform .22s ease;
    z-index: 1200;
    display: flex;
    flex-direction: column;
}

.mobile-menu.is-open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1rem .875rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    color: #f8fafc;
}

.mobile-menu-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    color: #f8fafc;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: .6rem;
}

.mobile-menu-nav a {
    color: rgba(248,250,252,.88);
    text-decoration: none;
    border-radius: .6rem;
    padding: .72rem .8rem;
    font-weight: 500;
    transition: background var(--oc-ease), color var(--oc-ease);
}

.mobile-menu-nav a:hover,
.mobile-menu-nav a:focus-visible {
    background: rgba(255,255,255,.08);
    color: #fff;
}

.mobile-menu-nav a.active {
    background: rgba(196,122,58,.24);
    color: #fff;
}

/* ── 5. HERO SECTION ─────────────────────────────────────────── */
.hero-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--oc-radius-xl) !important;
}

.hero-panel.hero-wrap.hero-premium {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #2d1f14 100%) !important;
    border: 1px solid rgba(255,255,255,.09);
    box-shadow: var(--oc-shadow-lg) !important;
}

.hero-panel.hero-wrap.hero-premium::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(ellipse at 0% 110%, rgba(196,122,58,.14) 0%, transparent 54%),
        radial-gradient(ellipse at 100% -10%, rgba(220,38,38,.09) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content { position: relative; z-index: 2; }

.hero-panel.hero-wrap.hero-premium h1 { color: #f8fafc; }

.hero-panel.hero-wrap.hero-premium .hero-kicker {
    color: var(--oc-accent) !important;
    letter-spacing: .1em;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.hero-panel.hero-wrap.hero-premium .hero-description {
    color: #94a3b8 !important;
    font-size: 1.0625rem;
}

/* Hero about card */
.hero-panel.hero-wrap.hero-premium .home-about-card {
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(0,0,0,.08) !important;
    box-shadow: var(--oc-shadow-md) !important;
    border-radius: var(--oc-radius-lg) !important;
}
.hero-panel.hero-wrap.hero-premium .home-about-card h2 { color: var(--oc-text); }
.hero-panel.hero-wrap.hero-premium .home-about-text {
    color: var(--oc-body) !important;
    overflow: visible;
    white-space: normal;
    word-break: break-word;
    -webkit-line-clamp: unset;
    display: block;
}

/* Hero buttons */
.btn-hero-primary {
    --bs-btn-color:               #fff;
    --bs-btn-bg:                  var(--oc-accent);
    --bs-btn-border-color:        var(--oc-accent);
    --bs-btn-hover-color:         #fff;
    --bs-btn-hover-bg:            var(--oc-accent-h);
    --bs-btn-hover-border-color:  var(--oc-accent-h);
    --bs-btn-active-bg:           #965b2b;
    font-weight: 600;
    letter-spacing: .02em;
    padding: .625rem 1.5rem;
    border-radius: var(--oc-radius-sm);
}

.btn-hero-secondary {
    --bs-btn-color:               #fff;
    --bs-btn-border-color:        rgba(255,255,255,.36);
    --bs-btn-hover-color:         #fff;
    --bs-btn-hover-bg:            rgba(255,255,255,.1);
    --bs-btn-hover-border-color:  rgba(255,255,255,.6);
    --bs-btn-active-bg:           rgba(255,255,255,.15);
    background: transparent;
    font-weight: 500;
    padding: .625rem 1.5rem;
    border-radius: var(--oc-radius-sm);
}

/* ── 6. PRODUCT CARDS ────────────────────────────────────────── */
.product-card {
    padding: 1rem;
    border-radius: var(--oc-radius-lg);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--oc-shadow-md);
    border-color: var(--oc-border-h);
}

.product-thumb,
.product-detail-cover {
    background: var(--oc-bg-alt);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.product-thumb img,
.product-detail-cover img,
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .3s ease;
}

.product-thumb:hover img { transform: scale(1.04); }

.gallery-thumb {
    display: block;
    aspect-ratio: 1 / 1;
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius);
    overflow: hidden;
    background: var(--oc-bg-alt);
    transition: border-color var(--oc-ease), box-shadow var(--oc-ease);
}
.gallery-thumb:hover {
    border-color: var(--oc-accent);
    box-shadow: 0 0 0 3px rgba(196,122,58,.15);
}

.product-placeholder {
    display: grid;
    place-items: center;
    height: 100%;
    color: var(--oc-placeholder);
    font-size: .8125rem;
    letter-spacing: .04em;
    background: var(--oc-bg-alt);
}

.product-detail-layout {
    --product-gallery-backdrop: linear-gradient(145deg, rgba(255,255,255,.96) 0%, rgba(236,238,243,.92) 52%, rgba(226,232,240,.88) 100%);
}

.product-media-gallery {
    position: relative;
}

.product-gallery-surface {
    display: grid;
    gap: 1rem;
}

.product-gallery-stage {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid var(--oc-border);
    border-radius: calc(var(--oc-radius-xl) + 2px);
    background: var(--product-gallery-backdrop);
    box-shadow: var(--oc-shadow-md);
    overflow: hidden;
    cursor: zoom-in;
    transition: transform var(--oc-ease), border-color var(--oc-ease), box-shadow var(--oc-ease);
}

.product-gallery-stage:hover {
    transform: translateY(-2px);
    border-color: var(--oc-border-h);
    box-shadow: 0 18px 48px rgba(15,23,42,.14);
}

.product-gallery-stage:focus-visible,
.product-gallery-thumb:focus-visible,
.product-lightbox-close:focus-visible,
.product-lightbox-nav:focus-visible {
    outline: none;
    box-shadow: var(--oc-ring-accent);
}

.product-gallery-stage-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: clamp(1rem, 3vw, 1.5rem);
}

.product-gallery-stage-image {
    width: 100%;
    height: 100%;
    max-height: min(70vh, 560px);
    object-fit: contain;
    display: block;
}

.product-gallery-zoom-pill,
.product-gallery-counter {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: .35rem .75rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .03em;
    backdrop-filter: blur(10px);
}

.product-gallery-zoom-pill {
    left: 1rem;
    bottom: 1rem;
    color: #f8fafc;
    background: rgba(15,23,42,.76);
}

.product-gallery-counter {
    top: 1rem;
    right: 1rem;
    color: var(--oc-text);
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(226,232,240,.9);
}

.product-gallery-thumbs {
    display: flex;
    gap: .75rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .25rem .125rem .375rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(148,163,184,.7) transparent;
}

.product-gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.product-gallery-thumbs::-webkit-scrollbar-thumb {
    background: rgba(148,163,184,.65);
    border-radius: 999px;
}

.product-gallery-thumb {
    flex: 0 0 86px;
    padding: 0;
    border: 1px solid var(--oc-border);
    border-radius: 1rem;
    background: rgba(255,255,255,.92);
    box-shadow: var(--oc-shadow-xs);
    overflow: hidden;
    opacity: .78;
    transition: transform var(--oc-ease), opacity var(--oc-ease), border-color var(--oc-ease), box-shadow var(--oc-ease);
}

.product-gallery-thumb:hover {
    transform: translateY(-2px);
    opacity: 1;
    border-color: rgba(var(--oc-accent-rgb), .68);
}

.product-gallery-thumb.is-active {
    opacity: 1;
    border-color: rgba(var(--oc-accent-rgb), .8);
    box-shadow: 0 0 0 3px rgba(var(--oc-accent-rgb), .14), var(--oc-shadow-sm);
}

.product-gallery-thumb-inner {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: .35rem;
    background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(236,238,243,.88));
}

.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    border-radius: .75rem;
    object-fit: cover;
    display: block;
}

.product-gallery-empty {
    display: grid;
    place-items: center;
    min-height: min(68vw, 480px);
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--oc-border);
    border-radius: calc(var(--oc-radius-xl) + 2px);
    background: var(--product-gallery-backdrop);
    box-shadow: var(--oc-shadow-md);
}

.product-gallery-empty-visual {
    width: min(190px, 45vw);
    aspect-ratio: 1 / 1;
    padding: 1rem;
    margin-bottom: 1.25rem;
    border-radius: 1.5rem;
    background: rgba(255,255,255,.72);
    border: 1px solid rgba(226,232,240,.9);
}

.product-gallery-empty-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: .78;
}

.product-gallery-empty-title {
    font-family: 'Oswald', sans-serif;
    color: var(--oc-text);
    font-size: 1.15rem;
}

.product-gallery-empty-text {
    max-width: 28rem;
    color: var(--oc-muted);
}

.product-lightbox[hidden] {
    display: none !important;
}

.product-lightbox {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.product-lightbox-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(2,6,23,.82);
    backdrop-filter: blur(12px);
}

.product-lightbox-dialog {
    position: relative;
    z-index: 1;
    width: min(94vw, 1080px);
    max-height: calc(100vh - 2rem);
    padding: clamp(1rem, 2.6vw, 1.5rem);
    border-radius: 1.5rem;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(15,23,42,.88);
    box-shadow: 0 24px 80px rgba(0,0,0,.42);
}

.product-lightbox-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(68vh, 760px);
}

.product-lightbox-image {
    width: 100%;
    max-width: 100%;
    max-height: min(74vh, 820px);
    object-fit: contain;
    display: block;
}

.product-lightbox-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: .75rem;
    color: #e2e8f0;
}

.product-lightbox-caption {
    font-size: .95rem;
    color: #f8fafc;
}

.product-lightbox-counter {
    flex: 0 0 auto;
    font-size: .78rem;
    color: rgba(226,232,240,.85);
}

.product-lightbox-close,
.product-lightbox-nav {
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 999px;
    color: #f8fafc;
    background: rgba(15,23,42,.7);
    backdrop-filter: blur(10px);
    transition: transform var(--oc-ease), background var(--oc-ease), border-color var(--oc-ease);
}

.product-lightbox-close:hover,
.product-lightbox-nav:hover {
    transform: scale(1.03);
    background: rgba(30,41,59,.88);
    border-color: rgba(255,255,255,.24);
}

.product-lightbox-close {
    top: 1rem;
    right: 1rem;
    font-size: 1.75rem;
    line-height: 1;
}

.product-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    line-height: 1;
}

.product-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.03);
}

.product-lightbox-nav.is-prev {
    left: 1rem;
}

.product-lightbox-nav.is-next {
    right: 1rem;
}

.gallery-lightbox-open {
    overflow: hidden;
}

.product-gallery-stage-image.is-fallback,
.product-lightbox-image.is-fallback,
.product-gallery-thumb img.is-fallback {
    object-fit: contain;
    padding: .9rem;
    opacity: .86;
}

@media (max-width: 991.98px) {
    .product-gallery-stage-image {
        max-height: 500px;
    }

    .product-lightbox-dialog {
        width: min(96vw, 920px);
    }
}

@media (max-width: 767.98px) {
    .product-gallery-stage-inner {
        padding: .9rem;
    }

    .product-gallery-thumb {
        flex-basis: 74px;
    }

    .product-gallery-zoom-pill,
    .product-gallery-counter {
        min-height: 30px;
        padding: .25rem .65rem;
        font-size: .7rem;
    }

    .product-lightbox {
        padding: .75rem;
    }

    .product-lightbox-dialog {
        width: 100%;
        max-height: calc(100vh - 1.5rem);
        padding: 1rem;
    }

    .product-lightbox-stage {
        min-height: min(58vh, 520px);
    }

    .product-lightbox-image {
        max-height: 64vh;
    }

    .product-lightbox-nav,
    .product-lightbox-close {
        width: 42px;
        height: 42px;
    }

    .product-lightbox-nav {
        top: auto;
        bottom: 1rem;
        transform: none;
    }

    .product-lightbox-nav:hover {
        transform: scale(1.03);
    }

    .product-lightbox-nav.is-prev {
        left: 1rem;
    }

    .product-lightbox-nav.is-next {
        right: 1rem;
    }

    .product-lightbox-meta {
        padding-bottom: 2.75rem;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ── 7. CATEGORY CHIPS ───────────────────────────────────────── */
.category-chip {
    color: var(--oc-text);
    border-radius: var(--oc-radius-lg) !important;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.category-chip:hover {
    transform: translateY(-3px);
    border-color: var(--oc-accent);
    box-shadow: 0 6px 20px rgba(196,122,58,.13);
    color: var(--oc-text);
}

/* ── 8. BUTTONS ──────────────────────────────────────────────── */
.btn {
    font-weight: 500;
    letter-spacing: .01em;
    border-radius: var(--oc-radius-sm);
    transition: background var(--oc-ease), border-color var(--oc-ease),
                color var(--oc-ease), box-shadow var(--oc-ease), transform .12s ease;
}
.btn:active { transform: scale(.975); }
.btn:focus-visible { box-shadow: var(--oc-ring-accent); outline: none; }

.btn-primary,
.btn-danger {
    --bs-btn-color:               #fff;
    --bs-btn-bg:                  var(--oc-primary);
    --bs-btn-border-color:        var(--oc-primary);
    --bs-btn-hover-color:         #fff;
    --bs-btn-hover-bg:            var(--oc-primary-h);
    --bs-btn-hover-border-color:  var(--oc-primary-h);
    --bs-btn-focus-shadow-rgb:    var(--oc-primary-rgb);
    --bs-btn-active-color:        #fff;
    --bs-btn-active-bg:           var(--oc-primary-a);
    --bs-btn-active-border-color: var(--oc-primary-a);
    --bs-btn-disabled-bg:         #fca5a5;
    --bs-btn-disabled-border-color:#fca5a5;
}

.btn-success {
    --bs-btn-color:               #fff;
    --bs-btn-bg:                  var(--oc-success);
    --bs-btn-border-color:        var(--oc-success);
    --bs-btn-hover-bg:            #15803d;
    --bs-btn-hover-border-color:  #15803d;
}

.btn-outline-light,
.btn-outline-secondary {
    --bs-btn-color:               var(--oc-body);
    --bs-btn-border-color:        var(--oc-border);
    --bs-btn-hover-color:         var(--oc-text);
    --bs-btn-hover-bg:            var(--oc-bg-alt);
    --bs-btn-hover-border-color:  var(--oc-border-h);
    --bs-btn-active-color:        var(--oc-text);
    --bs-btn-active-bg:           #e2e8f0;
    --bs-btn-active-border-color: var(--oc-border-h);
    --bs-btn-disabled-color:      var(--oc-placeholder);
    background: var(--oc-surface);
}

.btn-outline-danger {
    --bs-btn-color:               var(--oc-primary);
    --bs-btn-border-color:        var(--oc-primary);
    --bs-btn-hover-color:         #fff;
    --bs-btn-hover-bg:            var(--oc-primary);
    --bs-btn-hover-border-color:  var(--oc-primary);
    --bs-btn-active-bg:           var(--oc-primary-a);
}

.btn:disabled, .btn.disabled { opacity: .55; filter: saturate(.7); }

/* ── 9. BADGES ───────────────────────────────────────────────── */
.badge { font-weight: 600; letter-spacing: .02em; }

.badge.bg-danger           { background-color: var(--oc-primary) !important; }
.badge.bg-warning,
.badge.text-bg-warning,
.badge.bg-accent           { background-color: var(--oc-accent) !important; color: #fff !important; }
.badge.text-bg-success     { background-color: var(--oc-success) !important; color: #f0fdf4 !important; }
.badge.text-bg-secondary   { background-color: #e2e8f0 !important; color: var(--oc-body) !important; }

/* ── 10. ALERTS / FLASH ──────────────────────────────────────── */
.alert {
    border-radius: var(--oc-radius);
    font-size: .9rem;
    padding: .875rem 1.125rem;
    border-width: 1px;
}

.alert-success {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
}

.alert-danger {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.alert-warning {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
}

/* ── 11. FORMS ───────────────────────────────────────────────── */
.form-control,
.form-select,
.form-check-input {
    background-color: var(--oc-surface);
    border-color: var(--oc-border);
    color: var(--oc-text);
    border-radius: var(--oc-radius-sm);
    transition: border-color var(--oc-ease), box-shadow var(--oc-ease);
}

.form-control { padding: .5rem .875rem; }

.form-label,
.form-check-label {
    color: var(--oc-body);
    font-size: .875rem;
    font-weight: 500;
    margin-bottom: .375rem;
}

.form-control::placeholder { color: var(--oc-placeholder); }

.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    color: var(--oc-text);
    background-color: var(--oc-surface);
    border-color: var(--oc-accent);
    box-shadow: 0 0 0 3px rgba(196,122,58,.18);
    outline: none;
}

.form-select option { background: var(--oc-surface); color: var(--oc-text); }

.form-check-input:checked {
    background-color: var(--oc-primary);
    border-color: var(--oc-primary);
}

.form-control:disabled,
.form-select:disabled {
    background-color: var(--oc-bg-alt);
    color: var(--oc-muted);
}

input[type='file'].form-control::file-selector-button {
    background: var(--oc-bg-alt);
    color: var(--oc-body);
    border: 1px solid var(--oc-border);
    border-radius: calc(var(--oc-radius-sm) - 2px) 0 0 calc(var(--oc-radius-sm) - 2px);
    padding: .5rem .875rem;
    font-size: .8125rem;
    margin-right: .75rem;
    cursor: pointer;
    transition: background var(--oc-ease);
}
input[type='file'].form-control::file-selector-button:hover {
    background: var(--oc-border);
}

/* ── 12. TABLES ──────────────────────────────────────────────── */
.table {
    --bs-table-color:        var(--oc-body);
    --bs-table-border-color: var(--oc-border);
    font-size: .9rem;
}

.table > :not(caption) > * > * { border-bottom-color: var(--oc-border); }

.table-dark {
    --bs-table-bg:           var(--oc-surface);
    --bs-table-striped-bg:   #f8fafc;
    --bs-table-hover-bg:     #f1f5f9;
    --bs-table-color:        var(--oc-body);
    --bs-table-border-color: var(--oc-border);
}

.table-dark thead th {
    background: var(--oc-bg-alt);
    color: var(--oc-text);
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: .8125rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 2px solid var(--oc-border);
    padding-top: .75rem;
    padding-bottom: .75rem;
}

.table-dark tbody tr { transition: background var(--oc-ease); }

/* ── 13. DROPDOWNS / MODALS / OFFCANVAS ──────────────────────── */
.dropdown-menu {
    --bs-dropdown-bg:               var(--oc-surface);
    --bs-dropdown-border-color:     var(--oc-border);
    --bs-dropdown-link-color:       var(--oc-body);
    --bs-dropdown-link-hover-color: var(--oc-text);
    --bs-dropdown-link-hover-bg:    var(--oc-bg-alt);
    box-shadow: var(--oc-shadow-md);
    border-radius: var(--oc-radius);
}

.modal-content {
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow-lg);
}

.modal-header, .modal-footer { border-color: var(--oc-border); }

.offcanvas {
    background: var(--oc-surface) !important;
    color: var(--oc-text);
}

.offcanvas-header { border-color: var(--oc-border); }

.navbar, .navbar.bg-dark { background-color: var(--oc-surface) !important; }

/* ── 14. FOOTER ──────────────────────────────────────────────── */
.site-footer {
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,.07);
    padding: 2.5rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 1.25rem;
}

.footer-brand img { opacity: .85; }

.footer-tagline {
    color: #64748b;
    font-size: .875rem;
    margin: .5rem 0 0;
}

.footer-contact p {
    color: #94a3b8 !important;
    font-size: .875rem;
    margin-bottom: .4rem;
    display: flex;
    align-items: center;
    gap: .25rem;
}

.footer-contact a { color: var(--oc-accent) !important; }
.footer-contact svg { opacity: .7; }

.social-links {
    display: grid;
    gap: .45rem;
}

.social-link-item {
    display: flex;
    align-items: center;
    gap: .45rem;
    margin: 0;
    min-width: 0;
}

.social-link-item a {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    overflow-wrap: anywhere;
}

.social-link-icon {
    flex: 0 0 auto;
    opacity: .78;
}

.social-links--contact {
    margin-top: .2rem;
}

.footer-social-links {
    margin-top: .15rem;
}

.footer-bottom p {
    color: #475569 !important;
    font-size: .8125rem;
    margin: 0;
}

.border-danger-subtle { border-color: var(--oc-border) !important; }

/* ── 15. MOBILE CART BUTTON ──────────────────────────────────── */
.mobile-cart-btn {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1050;
    background: var(--oc-primary);
    color: #fff;
    text-decoration: none;
    padding: .7rem 1.125rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .875rem;
    box-shadow: 0 6px 22px rgba(220,38,38,.32);
    transition: background var(--oc-ease), transform .12s ease, box-shadow var(--oc-ease);
}

.mobile-cart-btn:hover,
.mobile-cart-btn:focus-visible {
    background: var(--oc-primary-h);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(220,38,38,.38);
}

.mobile-cart-btn span {
    background: rgba(153,27,27,.28);
    padding: .1rem .45rem;
    border-radius: 999px;
    margin-left: .4rem;
    font-size: .8125rem;
}

/* ── 16. ADMIN LAYOUT ────────────────────────────────────────── */

/* Mobile top bar */
.admin-topbar {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: var(--oc-admin-bg);
    padding: 0 1rem;
    height: 58px;
    border-bottom: 1px solid rgba(255,255,255,.07);
    position: sticky;
    top: 0;
    z-index: 999;
}

.admin-topbar-logo img {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .88;
}

.admin-topbar-toggle {
    background: rgba(255,255,255,.1);
    color: #e2e8f0;
    border: 1px solid rgba(255,255,255,.15);
    padding: 7px 11px;
    border-radius: var(--oc-radius-sm);
    font-size: 16px;
    cursor: pointer;
    line-height: 1;
    transition: background var(--oc-ease);
}
.admin-topbar-toggle:hover { background: rgba(255,255,255,.18); }

/* Desktop wrapper */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.admin-sidebar {
    width: var(--oc-admin-w);
    flex-shrink: 0;
    background: var(--oc-admin-bg);
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    border-right: 1px solid rgba(255,255,255,.06);
    padding: 1.5rem .875rem;
    transition: transform .25s ease;
    scrollbar-width: none;
}
.admin-sidebar::-webkit-scrollbar { display: none; }

.admin-sidebar-logo {
    display: block;
    padding: 0 .25rem 1.375rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 1.25rem;
    line-height: 0;
}

.admin-sidebar-logo img {
    height: 38px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: .88;
}

.admin-nav { display: flex; flex-direction: column; gap: 2px; }

.admin-nav .nav-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--oc-admin-text);
    padding: .5rem .875rem;
    border-radius: var(--oc-radius-sm);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .01em;
    border: 1px solid transparent;
    transition: color var(--oc-ease), background var(--oc-ease), border-color var(--oc-ease);
    text-decoration: none;
}

.admin-nav .nav-link:hover,
.admin-nav .nav-link:focus-visible {
    color: #f8fafc;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.1);
}

.admin-nav .nav-link.active {
    color: #fff;
    background: rgba(196,122,58,.2);
    border-color: rgba(196,122,58,.38);
}

.admin-nav-divider {
    height: 1px;
    background: rgba(255,255,255,.07);
    margin: .75rem .25rem;
}

.admin-nav .nav-link-danger {
    color: #fca5a5 !important;
    margin-top: .25rem;
}
.admin-nav .nav-link-danger:hover {
    color: #fff !important;
    background: rgba(220,38,38,.22) !important;
    border-color: rgba(220,38,38,.38) !important;
}

/* Main content area */
.admin-main {
    flex: 1;
    min-width: 0;
    padding: 2rem 2rem 3rem;
    background: var(--oc-bg);
}

/* Auth (login) page */
.admin-auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(196,122,58,.06) 0%, transparent 50%),
        var(--oc-bg);
    padding: 1.5rem;
}

.admin-auth-card {
    width: 100%;
    max-width: 420px;
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-xl);
    box-shadow: var(--oc-shadow-lg);
    padding: 2.5rem 2rem;
}

/* ── 17. ADMIN STAT CARDS ────────────────────────────────────── */
.stat-card {
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow-sm);
    padding: 1.375rem 1.5rem;
    position: relative;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--oc-accent), var(--oc-primary));
}

.stat-card:hover { box-shadow: var(--oc-shadow-md); transform: translateY(-2px); }

.stat-card .stat-label {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    color: var(--oc-muted);
    margin-bottom: .5rem;
}

.stat-card .stat-value {
    font-family: 'Oswald', sans-serif;
    font-size: 2.375rem;
    font-weight: 700;
    color: var(--oc-text);
    line-height: 1;
    letter-spacing: .02em;
}

/* ── 18. PAGE HEADER UTILITY ─────────────────────────────────── */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--oc-border);
}

.page-header h1 { margin-bottom: 0; }

/* ── 19. RESPONSIVE ──────────────────────────────────────────── */
@media (min-width: 992px) {
    .mobile-cart-btn { display: none !important; }
    .main-nav        { display: flex !important; }
}

@media (max-width: 991px) {
    .main-nav {
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        width: 100%;
        padding: .625rem 0;
        border-top: 1px solid rgba(255,255,255,.07);
    }

    .main-nav.is-open { display: flex; }

    .site-header-inner {
        flex-wrap: wrap;
        min-height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
    .main-nav .nav-link { width: 100%; padding: .5rem .75rem; }

    /* Admin mobile */
    .admin-topbar { display: flex; }

    .admin-wrapper { flex-direction: column; min-height: auto; }

    .admin-sidebar {
        position: fixed;
        top: 58px;
        left: 0;
        bottom: 0;
        z-index: 998;
        height: calc(100vh - 58px);
        transform: translateX(-100%);
    }

    .admin-sidebar.is-open { transform: translateX(0); }

    .admin-sidebar-logo { display: none; }

    .admin-main { padding: 1.25rem 1rem 2rem; }
}

@media (max-width: 575px) {
    .admin-auth-card  { padding: 1.75rem 1.25rem; }
    .hero-wrap        { border-radius: var(--oc-radius-lg) !important; }
    .admin-main       { padding: 1rem .875rem 2rem; }
}

/* ── 20. HEADER CART BUTTON ──────────────────────────────────── */
.cart-btn {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(248,250,252,.85);
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--oc-radius-sm);
    padding: .375rem .8rem;
    font-size: .8125rem;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: background var(--oc-ease), color var(--oc-ease), border-color var(--oc-ease);
}
.cart-btn:hover {
    background: rgba(255,255,255,.14);
    color: #fff;
    border-color: rgba(255,255,255,.28);
}
.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--oc-primary);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    padding: 0 4px;
    line-height: 1;
}

/* Nav toggle hamburger spans */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: var(--oc-radius-sm);
    cursor: pointer;
    padding: 0;
    transition: background var(--oc-ease);
}
.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: rgba(248,250,252,.85);
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle:hover { background: rgba(255,255,255,.14); }

/* ── 21. ADMIN EXTENDED STYLES ───────────────────────────────── */
body.admin-body { background: var(--oc-bg); }

.admin-auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 20% 30%, rgba(196,122,58,.06) 0%, transparent 50%),
        var(--oc-bg);
    padding: 1.5rem;
}

.admin-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 .25rem 1.375rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
    margin-bottom: 1.25rem;
}

.admin-sidebar-close {
    display: none;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.13);
    color: #94a3b8;
    border-radius: var(--oc-radius-sm);
    width: 30px;
    height: 30px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: background var(--oc-ease);
}
.admin-sidebar-close:hover { background: rgba(255,255,255,.14); color: #f8fafc; }

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .6rem;
    color: var(--oc-admin-text);
    padding: .5rem .875rem;
    border-radius: var(--oc-radius-sm);
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .01em;
    border: 1px solid transparent;
    transition: color var(--oc-ease), background var(--oc-ease), border-color var(--oc-ease);
    text-decoration: none;
}
.admin-nav-link:hover,
.admin-nav-link:focus-visible {
    color: #f8fafc;
    background: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.1);
}
.admin-nav-link.active {
    color: #fff;
    background: rgba(196,122,58,.2);
    border-color: rgba(196,122,58,.38);
}
.admin-nav-link--danger { color: #fca5a5 !important; }
.admin-nav-link--danger:hover {
    color: #fff !important;
    background: rgba(220,38,38,.22) !important;
    border-color: rgba(220,38,38,.38) !important;
}

.admin-topbar-title {
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: #f8fafc;
    letter-spacing: .03em;
}

.admin-topbar-actions .btn-outline-secondary {
    --bs-btn-color:               #94a3b8;
    --bs-btn-border-color:        rgba(148,163,184,.3);
    --bs-btn-hover-color:         #f8fafc;
    --bs-btn-hover-bg:            rgba(255,255,255,.08);
    --bs-btn-hover-border-color:  rgba(148,163,184,.5);
    background: transparent;
    font-size: .75rem;
}

.admin-content { padding: 1.5rem 2rem 3rem; }

.admin-sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 997;
    backdrop-filter: blur(2px);
}
.admin-sidebar-overlay.is-visible { display: block; }

@media (max-width: 991px) {
    .admin-topbar { display: flex; }
    .admin-sidebar-close { display: inline-flex; }
    .admin-content { padding: 1.25rem 1rem 2rem; }
}

@media (max-width: 575px) {
    .admin-content { padding: 1rem .875rem 2rem; }
    .footer-inner { flex-direction: column; }
}

.qty-cell {
    white-space: nowrap;
}

.qty-control {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    flex-wrap: nowrap;
}

.qty-input {
    width: 64px;
    min-width: 56px;
    max-width: 64px;
    text-align: center;
    padding-left: .35rem;
    padding-right: .35rem;
}

.line-total-cell {
    white-space: nowrap;
}

.line-total-amount {
    font-weight: 600;
}

.cart-remove-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    line-height: 1;
    text-decoration: none;
    transition: opacity .15s ease, transform .15s ease, background-color .15s ease;
}

.cart-remove-icon svg {
    width: 19px;
    height: 19px;
}

.cart-remove-icon:hover {
    opacity: .85;
    transform: translateY(-1px);
    background: rgba(220,53,69,.08);
}

.cart-remove-icon:focus-visible {
    opacity: .85;
    background: rgba(220,53,69,.08);
    outline: 2px solid rgba(220,53,69,.25);
    outline-offset: 2px;
}

@media (max-width: 576px) {
    .qty-input {
        width: 56px;
        max-width: 56px;
    }
}

.atelier-content {
    color: var(--oc-body);
    line-height: 1.75;
}

.atelier-content h2,
.atelier-content h3,
.atelier-content h4 {
    margin-top: 1.4rem;
    margin-bottom: .6rem;
}

.atelier-content p {
    margin-bottom: 1rem;
}

.atelier-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.atelier-content blockquote {
    border-left: 3px solid var(--oc-accent);
    padding-left: .9rem;
    margin: 1rem 0;
    color: var(--oc-muted);
}

.atelier-content ul,
.atelier-content ol {
    padding-left: 1.1rem;
    margin-bottom: 1rem;
}

.media-gallery {
    width: 100%;
}

.media-stage {
    position: relative;
    width: 100%;
    max-height: 520px;
    background: #0b1220;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
}

.media-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.media-stage video {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
    background: #0b1220;
}

.media-stage.is-video {
    aspect-ratio: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-stage.is-video video {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .media-stage {
        max-height: 320px;
    }

    .media-stage video,
    .media-stage.is-video video {
        max-height: 320px;
    }
}

.media-thumbs {
    margin-top: 0;
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 10px;
    scrollbar-width: none;
}

.media-thumbs::-webkit-scrollbar {
    display: none;
}

.media-thumb {
    flex: 0 0 auto;
    width: 110px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    cursor: pointer;
    position: relative;
    background: transparent;
    padding: 0;
    scroll-snap-align: start;
    opacity: .72;
    transform: scale(1);
    transition: all .15s ease;
}

.media-thumb:hover {
    opacity: .95;
}

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

.media-thumb.is-active {
    opacity: 1;
    transform: scale(1.04);
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
    outline: 2px solid rgba(212,175,55,.75);
    outline-offset: 2px;
}

.media-thumb:focus-visible {
    outline: 2px solid rgba(212,175,55,.75);
    outline-offset: 2px;
}

.media-thumb .play-badge {
    position: absolute;
    inset: auto 8px 8px auto;
    background: rgba(0,0,0,.55);
    color: #fff;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 999px;
}

.media-thumbs-wrap {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.thumb-nav {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(0,0,0,.08);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
    color: #0f172a;
    font-size: 18px;
    line-height: 1;
    padding: 0;
}

.thumb-nav.is-disabled,
.thumb-nav:disabled {
    opacity: .35;
    pointer-events: none;
}

@media (max-width: 768px) {
    .thumb-nav {
        display: none;
    }
}

/* Header/Desktop/Mobile menu reset */
.desktop-nav {
    display: none;
}

.mobile-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.desktop-cart-btn {
    display: none;
}

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    color: #f8fafc;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    cursor: pointer;
}

.mobile-menu-btn:hover,
.mobile-menu-btn:focus-visible {
    background: rgba(255, 255, 255, .14);
    color: #fff;
}

.mobile-cart-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
}

.mobile-cart-icon .cart-badge {
    display: none;
}

.mobile-cart-icon.active {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }

    .mobile-actions {
        display: none;
    }

    .desktop-cart-btn {
        display: inline-flex;
    }
}

@media (max-width: 991px) {
    .site-header-inner {
        flex-wrap: nowrap;
        min-height: 70px;
    }

    .site-logo {
        min-width: 0;
    }
}

.mm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .45);
    z-index: 9998;
}

.mm-overlay.is-open {
    display: block;
}

.mm-panel {
    position: fixed;
    right: 0;
    top: 0;
    height: 100%;
    width: 82vw;
    max-width: 360px;
    background: #111827;
    border-left: 1px solid rgba(255, 255, 255, .09);
    box-shadow: -12px 0 34px rgba(2, 6, 23, .35);
    transform: translateX(100%);
    transition: transform .22s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.mm-panel.is-open {
    transform: translateX(0);
}

.mm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    color: #f8fafc;
}

.mm-close-btn {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    color: #f8fafc;
    font-size: 22px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mm-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: .6rem;
}

.mm-links a {
    color: rgba(248, 250, 252, .88);
    text-decoration: none;
    border-radius: .6rem;
    padding: .72rem .8rem;
    font-weight: 500;
    transition: background var(--oc-ease), color var(--oc-ease);
}

.mm-links a:hover,
.mm-links a:focus-visible {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

.mm-links a.active {
    background: rgba(196, 122, 58, .24);
    color: #fff;
}

.announcement-card {
    background: var(--oc-surface);
    border: 1px solid var(--oc-border);
    border-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow-sm);
    overflow: hidden;
    transition: transform var(--oc-ease), box-shadow var(--oc-ease), border-color var(--oc-ease);
    display: flex;
    flex-direction: column;
}

.announcement-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.announcement-card-summary {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.announcement-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--oc-shadow-md);
    border-color: var(--oc-border-h);
}

.announcement-card-media-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.announcement-media-shell {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    border-radius: var(--oc-radius-lg);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    background:
        linear-gradient(140deg, rgba(196,122,58,.18), rgba(15,23,42,.9)),
        #0f172a;
}

.announcement-media-shell::before {
    content: "";
    display: block;
    width: 100%;
    padding-top: 62.5%;
}

.announcement-media-shell--detail,
.announcement-media-shell--admin {
    border-radius: var(--oc-radius-lg);
    border-bottom-left-radius: var(--oc-radius-lg);
    border-bottom-right-radius: var(--oc-radius-lg);
    box-shadow: var(--oc-shadow-sm);
}

.announcement-media-shell--detail::before {
    padding-top: 56.25%;
}

.announcement-media-shell--admin::before {
    padding-top: 62.5%;
}

@supports (aspect-ratio: 1 / 1) {
    .announcement-media-shell::before {
        display: none;
    }

    .announcement-media-shell--card,
    .announcement-media-shell--admin {
        aspect-ratio: 16 / 10;
    }

    .announcement-media-shell--detail {
        aspect-ratio: 16 / 9;
    }
}

.announcement-media-shell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 35%, rgba(2,6,23,.14));
    pointer-events: none;
}

.announcement-media-shell__content {
    position: absolute;
    inset: 0;
}

.announcement-media-object,
.announcement-media-placeholder {
    position: absolute;
    inset: 0;
}

.announcement-media-object {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform .28s ease, opacity .18s ease;
}

.announcement-media-object--contain {
    object-fit: contain;
    background: #020617;
}

.announcement-media-object--embed {
    border: 0;
}

.announcement-media-placeholder {
    display: grid;
    place-items: center;
    padding: 1.5rem;
    text-align: center;
    color: rgba(248,250,252,.92);
    font-family: 'Oswald', sans-serif;
    font-size: clamp(.85rem, 1.4vw, 1rem);
    letter-spacing: .08em;
    text-transform: uppercase;
    background:
        linear-gradient(180deg, rgba(196,122,58,.16), transparent 55%),
        radial-gradient(circle at top right, rgba(220,38,38,.28), transparent 36%),
        #111827;
    opacity: 0;
    pointer-events: none;
}

.announcement-media-shell--empty .announcement-media-placeholder,
.announcement-media-shell.is-fallback .announcement-media-placeholder {
    opacity: 1;
}

.announcement-media-shell.is-fallback .announcement-media-object {
    opacity: 0;
}

.announcement-card:hover .announcement-media-object:not(.announcement-media-object--contain):not(.announcement-media-object--embed) {
    transform: scale(1.035);
}

.announcement-play-badge,
.announcement-featured-pill {
    position: absolute;
    top: 14px;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.announcement-play-badge {
    right: 14px;
    background: rgba(15,23,42,.82);
    color: #f8fafc;
}

.announcement-featured-pill {
    left: 14px;
    background: rgba(196,122,58,.94);
    color: #fff;
}

.announcement-content > * + * {
    margin-top: 1rem;
}

.announcement-content p,
.announcement-content li {
    color: var(--oc-body);
}

.testimonial-card {
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    right: 18px;
    font-family: 'Oswald', sans-serif;
    font-size: 5rem;
    line-height: 1;
    color: rgba(196,122,58,.12);
}

.testimonial-text {
    position: relative;
    color: var(--oc-body);
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.comment-form-panel {
    position: sticky;
    top: 96px;
}

.comment-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.admin-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.admin-filter-tab {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    min-width: 130px;
    padding: .75rem .95rem;
    border-radius: .9rem;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(15,23,42,.7);
    color: #cbd5e1;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(2,6,23,.12);
}

.admin-filter-tab strong {
    color: #f8fafc;
}

.admin-filter-tab.is-active,
.admin-filter-tab:hover {
    color: #fff;
    border-color: rgba(196,122,58,.45);
    background: linear-gradient(135deg, rgba(196,122,58,.22), rgba(15,23,42,.88));
}

.admin-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.announcement-admin-preview {
    display: grid;
    gap: 1rem;
}

.announcement-admin-preview .announcement-media-shell {
    border: 1px solid rgba(15,23,42,.08);
}

.content-media-gallery {
    --content-gallery-aspect: 1 / 1;
    --content-gallery-max-height: min(66vh, 560px);
    --content-gallery-padding: clamp(1rem, 3vw, 1.5rem);
}

.content-media-gallery .product-gallery-stage-inner {
    aspect-ratio: var(--content-gallery-aspect);
    padding: var(--content-gallery-padding);
}

.content-media-gallery .product-gallery-stage-image {
    max-height: var(--content-gallery-max-height);
}

.content-media-gallery .product-gallery-empty {
    min-height: min(54vw, 420px);
}

.content-media-gallery .product-gallery-thumb {
    flex-basis: 78px;
}

.content-media-gallery--announcement {
    --content-gallery-aspect: 16 / 10;
    --content-gallery-max-height: min(62vh, 520px);
}

.content-media-gallery--announcement .product-gallery-stage {
    border-radius: calc(var(--oc-radius-lg) + 4px);
}

.content-media-gallery--editorial {
    --content-gallery-aspect: 4 / 3;
    --content-gallery-max-height: min(68vh, 600px);
    --content-gallery-padding: clamp(1rem, 2.8vw, 1.35rem);
}

.content-media-gallery--editorial .product-gallery-stage {
    background: linear-gradient(155deg, rgba(255,255,255,.98) 0%, rgba(243,244,246,.95) 50%, rgba(226,232,240,.88) 100%);
}

.announcement-detail-media-block,
.atelier-detail-media-block {
    position: relative;
}

.atelier-video-stack {
    display: grid;
    gap: 1rem;
}

.atelier-video-card {
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(226,232,240,.9);
    border-radius: var(--oc-radius-lg);
    padding: .75rem;
    box-shadow: var(--oc-shadow-xs);
}

.atelier-video-shell {
    border-radius: calc(var(--oc-radius-lg) - 2px);
    box-shadow: none;
}

.atelier-video-shell::after {
    background: linear-gradient(180deg, transparent 45%, rgba(2,6,23,.08));
}

.comment-preview {
    max-width: 320px;
    color: #cbd5e1;
}

.comment-body {
    white-space: pre-line;
    color: var(--oc-body);
    line-height: 1.8;
}

.comment-meta-list {
    display: grid;
    gap: .7rem;
}

.comment-meta-list li {
    color: var(--oc-body);
}

@media (max-width: 991px) {
    .comment-form-panel {
        position: static;
    }

    .announcement-play-badge,
    .announcement-featured-pill {
        top: 12px;
        padding: 5px 9px;
    }

    .announcement-play-badge {
        right: 12px;
    }

    .announcement-featured-pill {
        left: 12px;
    }
}

@media (max-width: 575px) {
    .announcement-card-body {
        padding: 1rem;
    }

    .announcement-card-summary {
        -webkit-line-clamp: 3;
    }

    .announcement-media-placeholder {
        padding: 1rem;
        font-size: .82rem;
    }

    .content-media-gallery .product-gallery-thumb {
        flex-basis: 72px;
    }

    .content-media-gallery .product-gallery-empty {
        min-height: min(68vw, 360px);
    }
}

