/* ============================================================
   Hoja Privada — Supply for Private Clubs
   Elegant, dark-default with CSS-only light theme switch.
   Palette:
     #0E0F0D Rich Black (bg dark)
     #1B2A1D Deep Forest (primary dark)
     #2F3E2E Moss Green (secondary)
     #5E6B56 Sage Green (accent)
     #BFA76A Muted Gold (highlight)
     #F2EFE6 Cream (neutral / text on dark)
   Typography: Playfair Display (headings) + Montserrat (body)
   ============================================================ */

/* ---------- Design tokens (LIGHT = default) ---------- */
:root {
    --c-bg:        #F2EFE6;
    --c-bg-2:      #ECE7D8;
    --c-surface:   #FFFFFF;
    --c-surface-2: #F7F3E8;
    --c-border:    #D8D2BE;
    --c-muted:     #8A8B82;
    --c-text:      #1B2A1D;
    --c-text-soft: #2F3E2E;
    --c-text-dim:  #5E6B56;
    --c-gold:      #8B6914;
    --c-gold-2:    #BFA76A;
    --c-accent:    #2F3E2E;
    --c-danger:    #c0563b;
    --c-success:   #6e8a4a;
    --c-shadow:    0 8px 24px rgba(27,42,29,.10);
    --c-glow-gold: 0 0 0 1px rgba(139,105,20,.18), 0 6px 20px rgba(139,105,20,.10);
    --c-link:      #2F3E2E;
    --c-link-hover:#8B6914;
    --c-hero-bg:   linear-gradient(160deg, #F7F3E8 0%, #ECE7D8 55%, #F7F3E8 100%);

    --radius-sm: 8px;
    --radius:    14px;
    --radius-lg: 22px;
    --gutter:    1.5rem;

    --font-head: 'Playfair Display', 'Times New Roman', Georgia, serif;
    --font-body: 'Montserrat', 'Segoe UI', system-ui, -apple-system, sans-serif;

    color-scheme: light;
}

/* ---------- DARK theme via cookie-driven <html class="theme-dark"> ---------- */
html.theme-dark {
    --c-bg:        #0E0F0D;
    --c-bg-2:      #14160F;
    --c-surface:   #15201A;
    --c-surface-2: #1B2A1D;
    --c-border:    #2F3E2E;
    --c-muted:     #5E6B56;
    --c-text:      #F2EFE6;
    --c-text-soft: #C9C7BD;
    --c-text-dim:  #8A8B82;
    --c-gold:      #BFA76A;
    --c-gold-2:    #D8C28A;
    --c-accent:    #5E6B56;
    --c-success:   #8aa56a;
    --c-shadow:    0 10px 30px rgba(0,0,0,.45);
    --c-glow-gold: 0 0 0 1px rgba(191,167,106,.25), 0 8px 28px rgba(191,167,106,.18);
    --c-link:      #BFA76A;
    --c-link-hover:#F2EFE6;
    --c-hero-bg:   linear-gradient(160deg, #0E0F0D 0%, #1B2A1D 55%, #0E0F0D 100%);
    color-scheme: dark;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.65;
    min-height: 100vh;
    font-weight: 400;
    letter-spacing: .01em;
    transition: background-color .3s ease, color .3s ease;
}
h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 600;
    color: var(--c-text);
    letter-spacing: .005em;
}
a {
    color: var(--c-link);
    text-decoration: none;
    transition: color .25s ease;
}
a:hover { color: var(--c-link-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 2rem 0; }

/* ---------- Theme toggle (anchor link, no JS; persisted via cookie) ---------- */
.theme-toggle {
    display: inline-flex; align-items: center;
    width: 52px; height: 28px;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: 999px;
    cursor: pointer;
    position: relative;
    text-decoration: none;
    transition: background .25s ease, border-color .25s ease;
}
.theme-toggle__thumb {
    position: absolute; top: 2px; left: 2px;
    width: 22px; height: 22px;
    background: var(--c-gold);
    border-radius: 50%;
    transition: transform .35s cubic-bezier(.4,.2,.2,1), background .25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.theme-toggle::after {
    content: '☀';
    position: absolute; right: 8px; top: 50%;
    transform: translateY(-50%);
    color: var(--c-gold);
    font-size: .85rem; line-height: 1;
}
html.theme-dark .theme-toggle__thumb {
    transform: translateX(24px);
    background: var(--c-gold-2);
}
html.theme-dark .theme-toggle::after {
    content: '☾';
    right: auto; left: 8px;
}
.theme-toggle:focus-visible {
    outline: 2px solid var(--c-gold);
    outline-offset: 2px;
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky; top: 0; z-index: 100;
    background: color-mix(in oklab, var(--c-bg) 92%, transparent);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--c-border);
}
.nav-container {
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem;
    padding-top: .9rem; padding-bottom: .9rem;
}
.nav-brand { display: flex; align-items: center; gap: 1rem; }
.nav-logo {
    width: 84px; height: 84px;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: filter .3s ease, transform .3s ease;
}
/* On dark mode the logo (dark-on-transparent) gets washed out — brighten it. */
html.theme-dark .nav-logo {
    filter: brightness(0) saturate(100%) invert(78%) sepia(28%) saturate(420%) hue-rotate(8deg) brightness(95%) contrast(88%) drop-shadow(0 2px 6px rgba(191,167,106,.35));
}
.nav-brand:hover .nav-logo { transform: scale(1.04); }
@media (max-width: 768px) {
    .nav-logo { width: 56px; height: 56px; }
}
.nav-brand-text {
    font-family: var(--font-head);
    font-size: 1.35rem; font-weight: 600;
    letter-spacing: .12em;
    color: var(--c-gold);
    text-transform: uppercase;
}
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-link {
    color: var(--c-text-soft);
    font-size: .82rem; font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
    padding: .4rem 0; position: relative;
    transition: color .25s ease;
}
.nav-link::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 1px; background: var(--c-gold);
    transition: width .35s ease;
}
.nav-link:hover { color: var(--c-text); }
.nav-link:hover::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-action-link {
    color: var(--c-text-soft); font-size: 1.15rem;
    display: inline-flex; align-items: center;
    transition: color .25s ease;
}
.nav-action-link:hover { color: var(--c-gold); }
.cart-btn {
    color: var(--c-text-soft); font-size: 1.1rem; position: relative;
    display: inline-flex; align-items: center; gap: .35rem;
}
.cart-btn:hover { color: var(--c-gold); }
.cart-count {
    background: var(--c-gold); color: var(--c-bg);
    font-size: .65rem; font-weight: 700;
    width: 18px; height: 18px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
}

/* ---------- Mobile menu toggle ---------- */
.nav-toggle-check {
    position: absolute; width: 1px; height: 1px;
    overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}
.nav-toggle {
    display: none; background: none; border: none;
    color: var(--c-text); font-size: 1.5rem; cursor: pointer;
}

/* ---------- Dropdown ---------- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { cursor: pointer; }
.nav-dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    min-width: 200px; padding: .5rem 0; z-index: 200;
    box-shadow: var(--c-shadow);
}
.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu { display: block; }
.nav-dropdown-item {
    display: block; padding: .55rem 1.1rem;
    color: var(--c-text-soft); font-size: .85rem;
    letter-spacing: .06em;
    transition: background .2s, color .2s; white-space: nowrap;
}
.nav-dropdown-item:hover { background: var(--c-surface-2); color: var(--c-gold); }

/* ---------- Hero ---------- */
.hero {
    position: relative; padding: 6rem 0 5rem;
    background: var(--c-hero-bg);
    overflow: hidden; text-align: center;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(191,167,106,.10) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 80%, rgba(94,107,86,.12) 0%, transparent 60%);
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-logo {
    width: 160px; margin: 0 auto 1.75rem;
    filter: drop-shadow(0 6px 20px rgba(191,167,106,.18));
    transition: filter .6s ease;
}
html.theme-dark .hero-logo {
    /* Recolor the dark-on-transparent logo to muted gold and add a soft luminescent halo */
    filter:
        brightness(0) saturate(100%)
        invert(78%) sepia(28%) saturate(530%) hue-rotate(5deg) brightness(95%) contrast(92%)
        drop-shadow(0 0 14px rgba(212,175,90,.55))
        drop-shadow(0 0 36px rgba(212,175,90,.28));
    animation: hero-logo-glow 6s ease-in-out infinite;
}
@keyframes hero-logo-glow {
    0%, 100% {
        filter:
            brightness(0) saturate(100%)
            invert(78%) sepia(28%) saturate(530%) hue-rotate(5deg) brightness(95%) contrast(92%)
            drop-shadow(0 0 12px rgba(212,175,90,.45))
            drop-shadow(0 0 30px rgba(212,175,90,.22));
    }
    50% {
        filter:
            brightness(0) saturate(100%)
            invert(78%) sepia(28%) saturate(530%) hue-rotate(5deg) brightness(100%) contrast(92%)
            drop-shadow(0 0 18px rgba(228,196,118,.65))
            drop-shadow(0 0 44px rgba(212,175,90,.35));
    }
}
@media (prefers-reduced-motion: reduce) {
    html.theme-dark .hero-logo { animation: none; }
}
.hero h1 {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 700; line-height: 1.1;
    margin-bottom: 1rem;
    color: var(--c-text);
    letter-spacing: .02em;
}
.hero h1 em {
    font-style: normal;
    color: var(--c-gold);
    background: linear-gradient(135deg, var(--c-gold), var(--c-gold-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero .subtitle {
    font-size: 1.05rem; color: var(--c-text-soft);
    max-width: 620px; margin: 0 auto 2.25rem;
    letter-spacing: .04em;
}
.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-tagline {
    display: inline-block;
    font-size: .72rem; letter-spacing: .35em;
    text-transform: uppercase; color: var(--c-gold);
    margin-bottom: 1.25rem;
    padding-bottom: .5rem;
    border-bottom: 1px solid var(--c-gold);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-block;
    padding: .85rem 2.2rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-weight: 500; font-size: .82rem;
    letter-spacing: .18em; text-transform: uppercase;
    transition: all .3s ease; cursor: pointer;
    border: 1px solid transparent; text-align: center;
}
.btn-primary {
    background: var(--c-surface-2);
    color: var(--c-gold);
    border-color: var(--c-gold);
}
.btn-primary:hover {
    background: var(--c-gold);
    color: var(--c-bg);
    transform: translateY(-1px);
    box-shadow: var(--c-glow-gold);
}
.btn-outline {
    background: transparent; color: var(--c-text);
    border-color: var(--c-border);
}
.btn-outline:hover {
    border-color: var(--c-gold);
    color: var(--c-gold);
}
.btn-buy-now {
    background: linear-gradient(135deg, #e02424, #b00d0d);
    color: #fff !important;
    border-color: #b00d0d;
    font-weight: 700;
    box-shadow: 0 0 0 1px rgba(224,36,36,.35), 0 6px 20px rgba(224,36,36,.45);
    text-shadow: 0 1px 2px rgba(0,0,0,.35);
    animation: btn-buy-now-pulse 2s ease-in-out infinite;
}
.btn-buy-now:hover {
    background: linear-gradient(135deg, #ff3b3b, #d11414);
    border-color: #ff6b6b;
    transform: translateY(-1px);
    box-shadow: 0 0 0 2px rgba(255,107,107,.35), 0 8px 26px rgba(224,36,36,.6);
}
@keyframes btn-buy-now-pulse {
    0%, 100% { box-shadow: 0 0 0 1px rgba(224,36,36,.35), 0 6px 20px rgba(224,36,36,.45); }
    50%      { box-shadow: 0 0 0 2px rgba(255,107,107,.5),  0 8px 28px rgba(224,36,36,.7); }
}
@media (prefers-reduced-motion: reduce) {
    .btn-buy-now { animation: none; }
}

/* ---------- Section helpers ---------- */
.section-title {
    text-align: center;
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--c-text);
    margin-bottom: .5rem;
    letter-spacing: .03em;
}
.section-title::after {
    content: '';
    display: block;
    width: 60px; height: 1px;
    background: var(--c-gold);
    margin: .9rem auto 0;
}
.section-subtitle {
    text-align: center; color: var(--c-text-dim);
    margin-bottom: 2.75rem; font-size: .95rem;
    letter-spacing: .08em;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

/* ---------- Categories ---------- */
.categories { padding: 5rem 0; }
.categories-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.category-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 2.25rem 1.5rem;
    text-align: center;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.category-card:hover {
    border-color: var(--c-gold);
    transform: translateY(-4px);
    box-shadow: var(--c-glow-gold);
}
.category-icon { font-size: 2.25rem; margin-bottom: .85rem; color: var(--c-gold); }
.category-card h3 {
    font-family: var(--font-head);
    font-size: 1.15rem; color: var(--c-text); margin-bottom: .35rem;
}
.category-card p { color: var(--c-text-dim); font-size: .85rem; }

/* ---------- Products ---------- */
.products-section { padding: 5rem 0; }
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.75rem;
}
.product-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    display: flex; flex-direction: column;
}
.product-card:hover {
    border-color: var(--c-gold);
    transform: translateY(-4px);
    box-shadow: var(--c-glow-gold);
}
.product-card a { color: inherit; }
.product-image {
    height: 220px;
    background: linear-gradient(135deg, var(--c-surface-2), var(--c-bg-2));
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; }
.product-image .product-emoji { font-size: 3.5rem; opacity: .85; }
.product-badge {
    position: absolute; top: .9rem; right: .9rem;
    background: var(--c-surface) !important;
    color: var(--c-text) !important;
    border: 1px solid var(--c-gold);
    box-shadow: 0 0 0 2px rgba(0,0,0,.15), 0 2px 8px rgba(0,0,0,.25);
    font-size: .65rem; font-weight: 700;
    padding: .3rem .7rem; border-radius: 999px;
    text-transform: uppercase; letter-spacing: .15em;
    backdrop-filter: blur(4px);
}
html.theme-light .product-badge {
    background: rgba(255,255,255,.92) !important;
    color: var(--c-text) !important;
    border-color: var(--c-gold);
}
.product-info { padding: 1.25rem 1.35rem 1.5rem; flex: 1; display: flex; flex-direction: column; }
.product-name {
    font-family: var(--font-head);
    font-size: 1.1rem; font-weight: 600;
    color: var(--c-text); margin-bottom: .35rem;
}
.product-category {
    font-size: .68rem; text-transform: uppercase; letter-spacing: .2em;
    color: var(--c-gold); margin-bottom: .6rem;
}
.product-meta {
    display: flex; gap: 1rem; margin-bottom: .75rem;
    font-size: .78rem; color: var(--c-text-dim);
}
.product-meta span { display: inline-flex; align-items: center; gap: .25rem; }
.product-description {
    font-size: .85rem; color: var(--c-text-dim); margin-bottom: 1rem;
    flex: 1; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.product-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.product-price {
    font-family: var(--font-head);
    font-size: 1.25rem; font-weight: 600;
    color: var(--c-gold);
}
.product-price .unit { font-size: .75rem; color: var(--c-text-dim); font-weight: 400; }
.btn-add {
    background: transparent;
    color: var(--c-gold);
    border: 1px solid var(--c-gold);
    padding: .45rem 1rem;
    border-radius: 999px;
    font-size: .72rem; font-weight: 500;
    text-transform: uppercase; letter-spacing: .15em;
    cursor: pointer; transition: all .25s ease;
}
.btn-add:hover {
    background: var(--c-gold); color: var(--c-bg);
}

/* ---------- Product detail ---------- */
.product-detail { padding: 4rem 0; }
.product-detail-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 3.5rem; align-items: start;
}
.product-detail-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
}
.product-detail-image .product-emoji { font-size: 7rem; }
.product-detail-info h1 {
    font-family: var(--font-head);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--c-text); margin-bottom: .5rem;
}
.product-detail-info .product-category { font-size: .75rem; margin-bottom: .25rem; }
.product-detail-info .product-price {
    font-size: 1.8rem; margin: 1rem 0 1.75rem;
    color: var(--c-gold); font-weight: 600;
}
.product-specs {
    display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: 1.75rem;
}
.spec-item {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    padding: .85rem 1.1rem;
}
.spec-label {
    font-size: .7rem; color: var(--c-text-dim);
    text-transform: uppercase; letter-spacing: .12em;
}
.spec-value { font-size: 1rem; color: var(--c-text); font-weight: 500; }
.product-detail-description {
    color: var(--c-text-soft); line-height: 1.85; margin-bottom: 2rem;
    font-size: .95rem;
}
.quantity-selector { display: flex; align-items: center; gap: .6rem; margin-bottom: 1.5rem; }
.quantity-selector label { color: var(--c-text-dim); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.quantity-selector select {
    background: var(--c-surface); border: 1px solid var(--c-border); color: var(--c-text);
    padding: .55rem 1rem; border-radius: var(--radius-sm); font-size: .95rem;
}
.product-actions { display: flex; gap: .75rem; flex-wrap: wrap; align-items: center; }
.product-trust-badges {
    display: flex; gap: 1.5rem; margin-top: 1.5rem; flex-wrap: wrap;
    color: var(--c-text-dim); font-size: .8rem; letter-spacing: .06em;
}
.product-trust-badges span { color: var(--c-text-dim); }
.product-tag { font-size: .7rem; font-weight: 600; color: var(--c-gold); margin-right: .25rem; letter-spacing: .1em; }

/* ---------- Variation selector ---------- */
.variation-selector { margin-bottom: 1.5rem; }
.variation-selector label {
    display: block; color: var(--c-text-dim);
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
    margin-bottom: .5rem;
}
.variation-select {
    width: 100%; padding: .75rem 1rem; border-radius: var(--radius-sm);
    background: var(--c-surface); border: 1px solid var(--c-border);
    color: var(--c-text); font-size: 1rem; cursor: pointer;
}
.variation-select:focus { outline: none; border-color: var(--c-gold); }

/* ---------- Shop ---------- */
.shop-header {
    padding: 4rem 0 2rem; text-align: center;
    background: var(--c-hero-bg);
    border-bottom: 1px solid var(--c-border);
}
.shop-header h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--c-text); margin-bottom: .5rem;
    letter-spacing: .02em;
}
.shop-header p { color: var(--c-text-dim); letter-spacing: .06em; }
.shop-filters {
    display: flex; gap: .75rem; justify-content: center;
    padding: 2rem 0; flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--c-border);
    color: var(--c-text-soft);
    padding: .5rem 1.25rem; border-radius: 999px;
    font-size: .75rem; letter-spacing: .14em;
    text-transform: uppercase;
    cursor: pointer; transition: all .25s ease; text-decoration: none;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--c-gold);
    border-color: var(--c-gold);
    color: var(--c-bg);
}

/* ---------- Cart ---------- */
.cart-section { padding: 4rem 0; }
.cart-section h1 {
    font-family: var(--font-head);
    font-size: 2rem; color: var(--c-text); margin-bottom: 2rem;
}
.cart-empty { text-align: center; padding: 4rem 0; color: var(--c-text-dim); }
.cart-empty p { font-size: 1.1rem; margin-bottom: 1.5rem; }
.cart-layout { display: grid; grid-template-columns: 1fr 380px; gap: 2.5rem; align-items: start; }
.cart-items { display: flex; flex-direction: column; gap: 1rem; }
.cart-item {
    display: flex; align-items: center; gap: 1.5rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    padding: 1.25rem;
}
.cart-item-image {
    width: 84px; height: 84px; border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--c-surface-2), var(--c-bg-2));
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; flex-shrink: 0; overflow: hidden;
}
.cart-item-image img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name {
    font-family: var(--font-head);
    font-size: 1.1rem; font-weight: 600; color: var(--c-text);
}
.cart-item-meta { font-size: .8rem; color: var(--c-text-dim); letter-spacing: .04em; }
.cart-item-qty { display: flex; align-items: center; gap: .5rem; }
.cart-item-qty a, .cart-item-qty span {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: var(--radius-sm); font-weight: 600;
}
.cart-item-qty a {
    background: var(--c-surface-2); color: var(--c-text);
    border: 1px solid var(--c-border);
    transition: background .2s, border-color .2s;
}
.cart-item-qty a:hover { background: var(--c-gold); border-color: var(--c-gold); color: var(--c-bg); }
.cart-item-qty span { color: var(--c-text); font-size: 1.05rem; }
.cart-item-qty-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: var(--radius-sm);
    background: var(--c-surface-2); color: var(--c-text);
    border: 1px solid var(--c-border);
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: background .2s;
}
.cart-item-qty-btn:hover { background: var(--c-gold); color: var(--c-bg); border-color: var(--c-gold); }
.cart-item-qty form { display: inline; }
.cart-item-price {
    font-family: var(--font-head);
    font-size: 1.15rem; font-weight: 600;
    color: var(--c-gold); min-width: 80px; text-align: right;
}
.cart-item-remove {
    color: var(--c-text-dim); font-size: 1.1rem; cursor: pointer; transition: color .2s;
    background: none; border: none; padding: .5rem;
}
.cart-item-remove:hover { color: var(--c-danger); }
.cart-summary {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: sticky; top: 2rem;
}
.cart-summary-row {
    display: flex; justify-content: space-between; padding: .55rem 0;
    color: var(--c-text-soft); font-size: .92rem;
}
.cart-summary-row.total {
    border-top: 1px solid var(--c-border);
    margin-top: .75rem; padding-top: 1.1rem;
    font-family: var(--font-head);
    font-size: 1.2rem; font-weight: 600; color: var(--c-text);
}
.cart-summary-row.total .amount { color: var(--c-gold); }
.cart-summary .btn { width: 100%; margin-top: 1.5rem; }

/* ---------- Pages (about/contact) ---------- */
.page-header {
    padding: 4rem 0 2rem; text-align: center;
    background: var(--c-hero-bg);
    border-bottom: 1px solid var(--c-border);
}
.page-header h1 {
    font-family: var(--font-head);
    font-size: clamp(2rem, 4vw, 2.6rem);
    color: var(--c-text);
}
.page-content { padding: 4rem 0; max-width: 820px; margin: 0 auto; }
.page-content p { color: var(--c-text-soft); margin-bottom: 1.25rem; line-height: 1.85; }
.page-content h2 {
    font-family: var(--font-head);
    color: var(--c-text); font-size: 1.4rem; margin: 2rem 0 1rem;
}
.about-content { padding: 4rem 0; }
.about-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.about-text h2 { color: var(--c-text); font-family: var(--font-head); font-size: 1.4rem; margin: 2rem 0 1rem; }
.about-text h2:first-child { margin-top: 0; }
.about-text p { color: var(--c-text-soft); line-height: 1.85; margin-bottom: 1rem; }
.about-list { list-style: none; padding: 0; }
.about-list li {
    color: var(--c-text-soft); padding: .65rem 0; font-size: .92rem;
    border-bottom: 1px solid var(--c-border);
}
.about-list li strong { color: var(--c-text); }
.about-img { border-radius: var(--radius); overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 0; }
.contact-form-wrap h2, .contact-info h2 {
    color: var(--c-text); font-family: var(--font-head);
    font-size: 1.3rem; margin-bottom: 1.5rem;
}
.contact-info p { color: var(--c-text-soft); margin-bottom: .75rem; }
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem; margin-bottom: 1rem;
    background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
}
.contact-icon { font-size: 1.5rem; color: var(--c-gold); }
.contact-item h4 { font-family: var(--font-head); color: var(--c-text); font-size: .95rem; margin-bottom: .25rem; }
.contact-item p { color: var(--c-text-soft); font-size: .88rem; margin: 0; }

/* ---------- Forms ---------- */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
    display: block; color: var(--c-text-dim);
    font-size: .78rem; letter-spacing: .12em;
    text-transform: uppercase; margin-bottom: .45rem;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%; background: var(--c-surface);
    border: 1px solid var(--c-border); color: var(--c-text);
    padding: .8rem 1rem; border-radius: var(--radius-sm);
    font-size: .95rem; font-family: var(--font-body);
    transition: border-color .25s ease, box-shadow .25s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: var(--c-gold);
    box-shadow: 0 0 0 3px rgba(191,167,106,.15);
}
.form-group textarea { resize: vertical; min-height: 130px; }

/* ---------- Age gate ---------- */
.age-gate {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,.92);
    display: flex; align-items: center; justify-content: center;
}
.age-gate-box {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 3rem; text-align: center; max-width: 440px;
    box-shadow: var(--c-shadow);
}
.age-gate-box img { width: 110px; margin: 0 auto 1.5rem; }
.age-gate-box h2 { font-family: var(--font-head); color: var(--c-text); margin-bottom: .5rem; }
.age-gate-box p { color: var(--c-text-dim); margin-bottom: 1.5rem; font-size: .92rem; }
.age-gate-buttons { display: flex; gap: 1rem; justify-content: center; }

/* ---------- Footer ---------- */
.footer {
    background: var(--c-bg-2);
    border-top: 1px solid var(--c-border);
    padding: 4rem 0 1.5rem;
    margin-top: 5rem;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem; margin-bottom: 2.5rem;
}
.footer-logo { width: 56px; margin-bottom: 1rem; opacity: .9; transition: filter .3s ease, transform .3s ease; }
html.theme-dark .footer-logo {
    opacity: 1;
    filter: brightness(0) saturate(100%) invert(72%) sepia(45%) saturate(520%) hue-rotate(5deg) brightness(95%) contrast(92%)
        drop-shadow(0 0 6px rgba(212, 175, 55, .55))
        drop-shadow(0 0 14px rgba(212, 175, 55, .3));
    animation: footer-logo-glow 6s ease-in-out infinite;
}
@keyframes footer-logo-glow {
    0%, 100% {
        filter: brightness(0) saturate(100%) invert(72%) sepia(45%) saturate(520%) hue-rotate(5deg) brightness(95%) contrast(92%)
            drop-shadow(0 0 6px rgba(212, 175, 55, .5))
            drop-shadow(0 0 12px rgba(212, 175, 55, .25));
    }
    50% {
        filter: brightness(0) saturate(100%) invert(78%) sepia(55%) saturate(620%) hue-rotate(5deg) brightness(105%) contrast(95%)
            drop-shadow(0 0 10px rgba(212, 175, 55, .75))
            drop-shadow(0 0 20px rgba(212, 175, 55, .45));
    }
}
@media (prefers-reduced-motion: reduce) {
    html.theme-dark .footer-logo { animation: none; }
}
.footer-tagline { color: var(--c-text-dim); font-size: .9rem; line-height: 1.7; }
.footer-col h4 {
    font-family: var(--font-head);
    color: var(--c-text); font-size: .95rem;
    letter-spacing: .14em; text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative; padding-bottom: .55rem;
}
.footer-col h4::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 30px; height: 1px; background: var(--c-gold);
}
.footer-col a {
    display: block; color: var(--c-text-dim);
    font-size: .88rem; padding: .25rem 0;
    transition: color .25s ease;
}
.footer-col a:hover { color: var(--c-gold); }
.footer-note { color: var(--c-text-dim); font-size: .78rem; line-height: 1.7; }
.footer-bottom {
    border-top: 1px solid var(--c-border);
    padding-top: 1.5rem; text-align: center;
}
.footer-bottom p {
    color: var(--c-text-dim); font-size: .78rem;
    letter-spacing: .12em; text-transform: uppercase;
}

/* ---------- Flash ---------- */
.flash-messages { padding: 1rem 0; }
.flash-message {
    padding: .85rem 1.25rem; border-radius: var(--radius-sm);
    margin-bottom: .5rem; font-size: .9rem;
}
.flash-success { background: rgba(138,165,106,.12); border: 1px solid var(--c-success); color: var(--c-success); }
.flash-error   { background: rgba(192,86,59,.12);  border: 1px solid var(--c-danger);  color: var(--c-danger); }

/* ---------- Trust ---------- */
.trust-section { padding: 5rem 0; }
.trust-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}
.trust-item {
    text-align: center; padding: 2.25rem 1.5rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: transform .35s ease, border-color .35s ease;
}
.trust-item:hover {
    border-color: var(--c-gold);
    transform: translateY(-3px);
}
.trust-icon { font-size: 2.25rem; display: block; margin-bottom: .85rem; color: var(--c-gold); }
.trust-item h3 { font-family: var(--font-head); color: var(--c-text); font-size: 1.05rem; margin-bottom: .4rem; }
.trust-item p { color: var(--c-text-dim); font-size: .85rem; }

/* ---------- CTA ---------- */
.cta-section {
    padding: 5rem 0;
    background: var(--c-hero-bg);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
}
.cta-content { text-align: center; }
.cta-content h2 {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    color: var(--c-text); margin-bottom: .9rem;
}
.cta-content p { color: var(--c-text-soft); margin-bottom: 1.75rem; font-size: 1.02rem; }

/* ---------- Gallery (CSS-only) ---------- */
.gallery { position: relative; }
.gallery-input { display: none; }
.gallery-main {
    position: relative; width: 100%;
    overflow: hidden; border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
}
.gallery-slide {
    display: none; width: 100%; height: 100%;
    align-items: center; justify-content: center;
}
.gallery-slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery-input:nth-of-type(1):checked ~ .gallery-main .gallery-slide:nth-child(1),
.gallery-input:nth-of-type(2):checked ~ .gallery-main .gallery-slide:nth-child(2),
.gallery-input:nth-of-type(3):checked ~ .gallery-main .gallery-slide:nth-child(3),
.gallery-input:nth-of-type(4):checked ~ .gallery-main .gallery-slide:nth-child(4),
.gallery-input:nth-of-type(5):checked ~ .gallery-main .gallery-slide:nth-child(5),
.gallery-input:nth-of-type(6):checked ~ .gallery-main .gallery-slide:nth-child(6),
.gallery-input:nth-of-type(7):checked ~ .gallery-main .gallery-slide:nth-child(7),
.gallery-input:nth-of-type(8):checked ~ .gallery-main .gallery-slide:nth-child(8),
.gallery-input:nth-of-type(9):checked ~ .gallery-main .gallery-slide:nth-child(9),
.gallery-input:nth-of-type(10):checked ~ .gallery-main .gallery-slide:nth-child(10) { display: flex; }
.gallery-thumbs { display: flex; gap: .5rem; margin-top: .75rem; flex-wrap: wrap; }
.gallery-thumb {
    width: 64px; height: 64px; border-radius: var(--radius-sm); overflow: hidden;
    cursor: pointer; border: 2px solid transparent; opacity: .5;
    transition: opacity .2s, border-color .2s;
}
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { opacity: 1; }
.gallery-input:nth-of-type(1):checked ~ .gallery-thumbs .gallery-thumb:nth-child(1),
.gallery-input:nth-of-type(2):checked ~ .gallery-thumbs .gallery-thumb:nth-child(2),
.gallery-input:nth-of-type(3):checked ~ .gallery-thumbs .gallery-thumb:nth-child(3),
.gallery-input:nth-of-type(4):checked ~ .gallery-thumbs .gallery-thumb:nth-child(4),
.gallery-input:nth-of-type(5):checked ~ .gallery-thumbs .gallery-thumb:nth-child(5),
.gallery-input:nth-of-type(6):checked ~ .gallery-thumbs .gallery-thumb:nth-child(6),
.gallery-input:nth-of-type(7):checked ~ .gallery-thumbs .gallery-thumb:nth-child(7),
.gallery-input:nth-of-type(8):checked ~ .gallery-thumbs .gallery-thumb:nth-child(8),
.gallery-input:nth-of-type(9):checked ~ .gallery-thumbs .gallery-thumb:nth-child(9),
.gallery-input:nth-of-type(10):checked ~ .gallery-thumbs .gallery-thumb:nth-child(10) {
    opacity: 1; border-color: var(--c-gold);
}
.gallery-arrows {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
}
.gallery-arrow-set { display: none; width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.gallery-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(14,15,13,.55); color: var(--c-gold);
    font-size: 1.6rem; line-height: 1;
    border-radius: 50%; cursor: pointer; pointer-events: auto;
    transition: background .2s; user-select: none; text-decoration: none;
    border: 1px solid rgba(191,167,106,.35);
}
.gallery-arrow:hover { background: var(--c-gold); color: var(--c-bg); }
.gallery-arrow-left { left: .75rem; }
.gallery-arrow-right { right: .75rem; }
.gallery-input:nth-of-type(1):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(1),
.gallery-input:nth-of-type(2):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(2),
.gallery-input:nth-of-type(3):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(3),
.gallery-input:nth-of-type(4):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(4),
.gallery-input:nth-of-type(5):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(5),
.gallery-input:nth-of-type(6):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(6),
.gallery-input:nth-of-type(7):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(7),
.gallery-input:nth-of-type(8):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(8),
.gallery-input:nth-of-type(9):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(9),
.gallery-input:nth-of-type(10):checked ~ .gallery-main .gallery-arrows .gallery-arrow-set:nth-child(10) { display: flex; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .cart-layout { grid-template-columns: 1fr; }
    .about-grid, .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-container { flex-wrap: wrap; }
    .nav-toggle { display: block; order: 3; padding: .5rem; z-index: 10; }
    .nav-actions { order: 2; }
    .nav-links {
        display: none; flex-direction: column;
        width: 100%; order: 4;
        background: var(--c-bg);
        border-top: 1px solid var(--c-border);
        padding: 1rem 0; gap: .25rem;
    }
    .nav-toggle-check:checked ~ .nav-links { display: flex !important; }
    .nav-dropdown-menu {
        position: static; display: block;
        background: transparent; border: none; border-radius: 0;
        box-shadow: none; padding: 0 0 0 1rem; min-width: 0;
    }
    .nav-dropdown-item { padding: .4rem 1rem; }
    .hero h1 { font-size: 2.1rem; }
    .hero .subtitle { font-size: 1rem; }
    .hero-logo { width: 120px; }
    .cart-item { flex-wrap: wrap; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 1.7rem; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
}

/* ---- Private contacts (Threema / Signal) ---- */
.private-contacts {
    max-width: 560px;
    margin: 1.5rem auto;
    padding: 1.75rem 1.5rem;
    background: var(--c-surface-2);
    border: 1px solid var(--c-border);
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 6px 24px rgba(0, 0, 0, .08);
}
.private-contacts__title {
    margin: 0 0 .35rem;
    font-family: var(--ff-serif, serif);
    font-size: 1.4rem;
    color: var(--c-accent, #b8860b);
    letter-spacing: .02em;
}
.private-contacts__subtitle {
    margin: 0 0 1.25rem;
    color: var(--c-text-soft);
    font-size: .92rem;
}
.private-contacts__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: .65rem;
}
.private-contact {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .85rem;
    padding: .75rem 1rem;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: 10px;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.private-contact:hover {
    transform: translateY(-1px);
    border-color: var(--c-accent, #b8860b);
    box-shadow: 0 4px 14px rgba(184, 134, 11, .18);
}
.private-contact__icon {
    font-size: 1.4rem;
    line-height: 1;
}
.private-contact__name {
    text-align: left;
    font-weight: 600;
    letter-spacing: .03em;
    color: var(--c-text);
}
.private-contact__hash {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .9rem;
    padding: .3rem .6rem;
    background: rgba(184, 134, 11, .1);
    color: var(--c-accent, #b8860b);
    border-radius: 6px;
    user-select: all;
    white-space: nowrap;
}
/* Click-to-copy enhancement (only enabled when JS adds .is-copyable). */
.private-contact.is-copyable {
    cursor: pointer;
    position: relative;
}
.private-contact.is-copyable:focus-visible {
    outline: 2px solid var(--c-accent, #b8860b);
    outline-offset: 2px;
}
.private-contact__copied {
    position: absolute;
    top: 50%;
    right: .75rem;
    transform: translateY(-50%) scale(.9);
    background: var(--c-accent, #b8860b);
    color: #fff;
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: .04em;
    padding: .25rem .55rem;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s ease;
}
.private-contact.is-copied .private-contact__copied {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}
.private-contact.is-copied .private-contact__hash {
    visibility: hidden;
}

/* ---- Contact section (separate band wrapping the private contacts) ---- */
.contact-section {
    padding: 3.5rem 0;
    background:
        radial-gradient(ellipse at top, rgba(184, 134, 11, .08), transparent 60%),
        var(--c-surface-2);
    border-top: 1px solid var(--c-border);
    border-bottom: 1px solid var(--c-border);
    position: relative;
}
.contact-section__lead {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 1.5rem;
    color: var(--c-text-soft);
    font-size: .95rem;
    letter-spacing: .04em;
}
.contact-section .private-contacts {
    background: var(--c-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}
html.theme-dark .contact-section {
    background:
        radial-gradient(ellipse at top, rgba(191, 167, 106, .12), transparent 60%),
        #0f1612;
}
html.theme-dark .contact-section .private-contacts {
    background: rgba(255, 255, 255, .03);
    border-color: rgba(191, 167, 106, .25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .45);
}
html.theme-dark .contact-section .private-contact {
    background: rgba(255, 255, 255, .04);
}
