/* Leafswap — beige, light wood & forest green */
:root {
  --beige: #ecdfc8;
  --beige-2: #e3d3b8;
  --paper: #f6eedf;
  --wood: #d9bf98;
  --wood-light: #e0cdae;
  --wood-dark: #a9855a;
  --forest: #2f4a36;
  --forest-2: #3f6147;
  --forest-deep: #22362a;
  --sage: #d8e0c6;
  --ink: #2c3a2e;
  --muted: #75695a;
  --line: #dccbad;
  --danger: #a4452f;
  --warn: #b27a21;
  --heading: #22362a;
  --ink-soft: #4a5548;
  --on-accent: #fffefb;
  --leaf: #5f9f5e;
  --leaf-soft: #dce5c9;
  --field-bg: #fbf6ec;
  --header-bg: rgba(236, 223, 200, .94);
  --band-bg: #22362a;
  --band-accent: #2f4a36;
  --band-text: #efe6d6;
  --band-strong: #fffefb;
  --error-bg: #f7e3dc;
  --st-amber-bg: #f3e5c8; --st-amber: #8a5d14;
  --st-blue-bg: #dde6ef; --st-blue: #36546e;
  --st-red-bg: #f1dfd8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(60, 50, 30, .05), 0 8px 24px -12px rgba(60, 50, 30, .18);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Nunito Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color-scheme: light;
}

/* Dark mode: chosen with the header switch, or the device setting (see the inline script in the page head). */
:root[data-theme="dark"] {
  --beige: #241b14;
  --beige-2: #33271d;
  --paper: #2d2219;
  --wood: #c9a877;
  --wood-light: #3a2d21;
  --wood-dark: #d4b384;
  --forest: #8cc488;
  --forest-2: #a6d5a1;
  --sage: #2a3524;
  --ink: #efe5d4;
  --muted: #b3a38c;
  --line: #45372a;
  --danger: #e4907a;
  --warn: #e2b566;
  --heading: #f7eedd;
  --ink-soft: #cfc9ba;
  --on-accent: #10190f;
  --leaf: #7dbd79;
  --leaf-soft: #2a3524;
  --field-bg: #1e1711;
  --header-bg: rgba(36, 27, 20, .93);
  --band-bg: #17231b;
  --band-accent: #203528;
  --error-bg: #42251a;
  --st-amber-bg: #45351a; --st-amber: #e8c27a;
  --st-blue-bg: #25303a; --st-blue: #a8c3db;
  --st-red-bg: #42251a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--beige); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--heading); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3, .h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
svg { width: 22px; height: 22px; flex-shrink: 0; }
[hidden] { display: none !important; }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--forest-2); outline-offset: 2px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 900px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; display: block; }
.pre { white-space: pre-line; }
.nowrap { white-space: nowrap; }
.mt { margin-top: 2.5rem; }
.danger { color: var(--danger) !important; }
.warn { color: var(--warn); font-weight: 700; }
.mono { font-family: ui-monospace, Menlo, monospace; font-size: .9rem; }
code { background: var(--beige-2); padding: 1px 6px; border-radius: 6px; font-size: .85em; }

.eyebrow { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--wood-dark); margin-bottom: .75rem; }
.eyebrow-light { color: var(--wood); }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 46ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 999px; border: 1.5px solid var(--forest);
  background: var(--forest); color: var(--on-accent); font-weight: 700; text-decoration: none;
  cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; white-space: nowrap;
}
.btn:hover { background: var(--forest-2); border-color: var(--forest-2); box-shadow: 0 6px 18px -8px rgba(47, 74, 54, .6); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.btn svg { width: 18px; height: 18px; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--sage); border-color: var(--forest); }
.btn-light { background: var(--band-strong); color: var(--band-accent); border-color: var(--band-strong); }
.btn-light:hover { background: var(--band-text); border-color: var(--band-text); }
.btn-wood { background: var(--wood); border-color: var(--wood); color: #22362a; }
.btn-wood:hover { background: var(--wood-dark); border-color: var(--wood-dark); color: var(--on-accent); }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: var(--on-accent); border-color: var(--danger); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.link { font-weight: 700; text-decoration: none; }
.link:hover { text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; color: var(--forest); font-weight: 700; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--heading); background: none; border: 0; cursor: pointer; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--beige-2); }
.chip { font-size: .8rem; font-weight: 700; padding: 5px 12px; border-radius: 999px; background: var(--wood-light); color: var(--heading); text-decoration: none; }

/* ---------- Header ---------- */
.announce { background: var(--band-accent); color: var(--band-strong); font-size: .88rem; text-align: center; padding: 8px 16px; }
.announce p { margin: 0; }
.announce a { color: var(--wood); font-weight: 700; }
.site-header { position: sticky; top: 0; z-index: 30; background: var(--header-bg); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 16px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--forest); text-decoration: none; letter-spacing: -.02em; }
.logo img { height: 50px; width: auto; }
.footer-logo { display: inline-block !important; }
.footer-logo img { height: 72px; width: auto; }
.admin-logo { display: flex; align-items: center; gap: 10px; padding: 0 8px; color: var(--band-strong); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; }
.admin-logo img { height: 44px; width: auto; }
.main-nav { display: flex; gap: 4px; margin-left: 24px; }
.main-nav > a, .nav-drop > summary { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; }
.main-nav > a:hover, .main-nav > a.active, .nav-drop > summary:hover, .nav-drop > summary.active, .nav-drop[open] > summary { background: var(--beige-2); color: var(--forest); }
.nav-drop { position: relative; }
.nav-drop > summary { list-style: none; cursor: pointer; display: block; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; border-radius: 999px; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.caret { font-size: .75em; margin-left: 2px; color: var(--muted); }
.drop-panel { position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); padding: 8px; display: flex; flex-direction: column; z-index: 40; }
.drop-panel a { padding: 9px 12px; border-radius: 8px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .93rem; }
.drop-panel a:hover { background: var(--beige-2); color: var(--forest); }
.drop-panel hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.cart-count { position: absolute; top: 2px; right: 0; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 10px; background: var(--wood-dark); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center; }
.cart-count.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }
.nav-mobile-extra { display: none; }

@media (max-width: 760px) {
  .menu-toggle { display: inline-grid; margin-left: -8px; }
  .hide-sm { display: none; }
  .header-inner { gap: 4px; height: 60px; }
  .logo img { height: 42px; }
  .main-nav {
    position: fixed; inset: 60px 0 auto 0; margin: 0; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 20px; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .2s;
    max-height: calc(100vh - 60px); overflow-y: auto;
  }
  .main-nav.open { transform: none; opacity: 1; pointer-events: auto; }
  .main-nav > a, .nav-mobile-extra > a, .nav-drop > summary { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; background: none !important; }
  .drop-panel { position: static; box-shadow: none; border: 0; padding: 0 0 8px 12px; min-width: 0; background: none; }
  .drop-panel a { padding: 10px 4px; }
  .nav-mobile-extra { display: flex; flex-direction: column; }
  .nav-mobile-extra > a { text-decoration: none; color: var(--ink); font-weight: 600; }
  .nav-mobile-extra .social { margin-top: 16px; }
}

/* ---------- Hero ---------- */
.hero { padding: 48px 0 56px; }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
.hero .btn-row { margin-top: 28px; }
.hero-perks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 10px 24px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
.hero-perks li { display: flex; align-items: center; gap: 8px; }
.hero-perks svg { width: 20px; height: 20px; color: var(--leaf); }
.hero-visual { position: relative; }
.hero-photo { position: relative; z-index: 1; border-radius: 28px; overflow: hidden; aspect-ratio: 1; box-shadow: var(--shadow); transform: rotate(1.5deg); transition: transform .4s; }
.hero-visual:hover .hero-photo { transform: rotate(0); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.deco-leaf { position: absolute; z-index: 0; height: auto; pointer-events: none; }
.deco-1 { width: 62px; top: -34px; left: -30px; transform: rotate(-32deg); z-index: 2; }
.deco-2 { width: 42px; top: 18%; right: -34px; transform: rotate(38deg); opacity: .7; }
.deco-3 { width: 50px; bottom: -38px; right: 18%; transform: rotate(160deg); opacity: .55; }
.eyebrow-icon { display: inline-flex; align-items: center; gap: 8px; }
.eyebrow-icon svg { width: 18px; height: 18px; color: var(--leaf); }
.h-leaf { display: inline-flex; align-items: center; gap: 10px; }
.h-leaf svg { width: 26px; height: 26px; color: var(--leaf); flex-shrink: 0; }
.h-leaf img { width: 20px; height: auto; flex-shrink: 0; transform: rotate(-12deg); }
.feature-card { background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 32px; box-shadow: var(--shadow); }
.feature-card .product-card { box-shadow: none; background: var(--beige); }
@media (max-width: 560px) { .feature-card { padding: 20px 16px; border-radius: 20px; } }
.cat-card { position: relative; }
.cat-arrow { position: absolute; right: 16px; bottom: 16px; width: 18px; height: 18px; color: var(--leaf); opacity: 0; transform: translateX(-6px); transition: .2s; }
.cat-card:hover .cat-arrow { opacity: 1; transform: none; }
.social-cta { position: relative; overflow: hidden; }
.social-cta > *:not(.deco-leaf) { position: relative; }
.deco-cta-1 { width: 90px; left: 4%; top: 50%; margin-top: -45px; transform: rotate(-24deg); opacity: .5; }
.deco-cta-2 { width: 70px; right: 5%; top: 50%; margin-top: -30px; transform: rotate(28deg); opacity: .4; }
@media (max-width: 700px) { .deco-cta-1, .deco-cta-2 { display: none; } }
.theme-toggle .when-dark, :root[data-theme="dark"] .theme-toggle .when-light { display: none; }
:root[data-theme="dark"] .theme-toggle .when-dark { display: block; }
body { transition: background-color .25s, color .25s; }
@media (max-width: 800px) {
  .hero { padding: 24px 0 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 28px; }
  .hero-visual { order: -1; margin: 12px 8px 0; }
  .hero-photo { aspect-ratio: 4 / 3; border-radius: 20px; }
      .deco-1 { width: 42px; top: -20px; left: -12px; }
  .deco-2 { width: 32px; right: -12px; }
  .deco-3 { display: none; }
}

/* ---------- Sections ---------- */
.section { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 20px; }
.section-head h2 { margin: 0; }
.section-sub { margin: 4px 0 0; font-size: .95rem; }
.page-head { padding: 40px 0 24px; }
.page-head h1 { margin-bottom: .25em; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.crumbs-top { padding-top: 24px; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 12px; }
.cat-card { display: flex; flex-direction: column; gap: 2px; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: border-color .2s, transform .2s; }
.cat-card:hover { border-color: var(--forest-2); transform: translateY(-2px); }
.cat-img { aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--beige-2); margin-bottom: 10px; }
.cat-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; color: var(--heading); }
.cat-count { font-size: .8rem; color: var(--muted); }
@media (max-width: 560px) { .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; } .cat-card { padding: 14px 16px; } }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; }
@media (max-width: 560px) { .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.product-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product-card:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -16px rgba(60, 50, 30, .3); }
.product-img { position: relative; display: block; aspect-ratio: 1; background: var(--beige-2); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .product-img img { transform: scale(1.04); }
.product-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--wood-dark); }
.product-info { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.product-name { font-weight: 700; color: var(--ink); text-decoration: none; line-height: 1.3; }
.product-name:hover { color: var(--forest); }
.price-row { display: flex; align-items: center; gap: 8px; margin-top: auto; }
.price { font-weight: 700; color: var(--forest); }
.compare { color: var(--muted); font-size: .9rem; }
.add-mini { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--forest); background: none; color: var(--forest); font-size: 1.3rem; line-height: 1; cursor: pointer; transition: .2s; }
.add-mini:hover { background: var(--forest); color: var(--on-accent); }
.badge { position: absolute; top: 12px; left: 12px; background: var(--forest); color: var(--on-accent); font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em; }
.price-row .badge { position: static; }
.badge-wood { background: var(--wood-dark); }
.badge-muted { background: var(--muted); }
@media (max-width: 560px) { .product-info { padding: 10px 12px 12px; font-size: .92rem; } .add-mini { width: 30px; height: 30px; } }

/* Promo banner */
.promo-banner {
  display: grid; grid-template-columns: 1.4fr 1fr; align-items: center; gap: 24px;
  background: var(--band-accent); color: var(--band-strong); border-radius: 28px; padding: 40px 48px; overflow: hidden; position: relative;
}
.promo-banner > * { position: relative; z-index: 1; }
.promo-banner h2 { color: var(--band-strong); }
.promo-banner p { color: var(--band-text); }
.promo-banner img { max-height: 240px; justify-self: center; border-radius: 16px; }
.promo-banner.no-img { grid-template-columns: 1fr; }
@media (max-width: 700px) { .promo-banner { grid-template-columns: 1fr; padding: 32px 24px; } .promo-banner img { max-height: 140px; order: -1; } }

/* About strip */
.about-strip { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; align-items: stretch; }
.about-card { background: var(--wood-light); border-radius: var(--radius); padding: 36px; position: relative; overflow: hidden; }
.about-cup { position: absolute; right: -14px; bottom: -18px; width: 150px; height: 150px; color: var(--wood-dark); opacity: .16; transform: rotate(-10deg); }
.about-card > *:not(.about-cup) { position: relative; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.values > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; height: 100%; display: flex; flex-direction: column; transition: transform .2s, border-color .2s; }
.values > div:hover { transform: translateY(-3px); border-color: var(--leaf); }
.value-icon { width: 44px; height: 44px; border-radius: 14px; background: var(--leaf-soft); color: var(--leaf); display: grid; place-items: center; margin-bottom: 14px; }
.value-icon svg { width: 22px; height: 22px; }
.values h3 { font-size: 1.05rem; }
.values p { color: var(--muted); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .about-strip { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; grid-auto-rows: 1fr; } .about-card { padding: 28px 22px; } }

.social-cta { text-align: center; padding: 48px 16px; background: var(--sage); border-radius: 28px; }
.social-cta p { color: var(--muted); }
.handle-inline { color: var(--wood-dark); }
.social-buttons { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 20px; }

/* ---------- Shop ---------- */
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; padding-bottom: 48px; }
.filters { position: sticky; top: 88px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.filters summary { font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--heading); cursor: pointer; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters form { margin-top: 16px; display: flex; flex-direction: column; gap: 18px; }
.price-inputs { display: flex; align-items: center; gap: 8px; }
.price-inputs input { width: 100%; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.sort-form label { display: flex; align-items: center; gap: 8px; }
.sort-form select { width: auto; padding: 8px 32px 8px 12px; }
.pager { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pager a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-weight: 700; }
.pager a.active, .pager a:hover { background: var(--forest); color: var(--on-accent); }
@media (max-width: 800px) {
  .shop-layout { grid-template-columns: 1fr; gap: 16px; }
  .filters { position: static; padding: 14px 18px; }
  .filters summary::after { content: '＋'; float: right; color: var(--forest); }
  .filters[open] summary::after { content: '−'; }
}

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 6px; font-size: .92rem; }
.field > span { font-weight: 700; color: var(--heading); }
.field em { font-weight: 400; color: var(--muted); font-style: normal; font-size: .85em; }
input:not([type=checkbox]):not([type=radio]), select, textarea {
  width: 100%; padding: 11px 14px; border-radius: var(--radius-sm); border: 1.5px solid var(--line); background: var(--field-bg);
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--forest-2); box-shadow: 0 0 0 3px rgba(63, 97, 71, .15); }
input:disabled { background: var(--beige); color: var(--muted); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232f4a36' stroke-width='1.8'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px !important; }
input[type=file] { padding: 9px; background: var(--beige); }
input[type=checkbox], input[type=radio] { accent-color: var(--forest); width: 17px; height: 17px; margin: 0; }
.radio, .check { display: flex; align-items: center; gap: 10px; font-size: .95rem; cursor: pointer; padding: 2px 0; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.form-stack { display: flex; flex-direction: column; gap: 16px; }
.form-card { display: flex; flex-direction: column; gap: 16px; }
.form-card h3 { margin: 0; }
.form-error { background: var(--error-bg); color: var(--danger); border-radius: var(--radius-sm); padding: 10px 14px; margin: 0; font-size: .92rem; font-weight: 600; }
.notice { background: var(--sage); color: var(--heading); border-radius: var(--radius-sm); padding: 10px 14px; font-size: .92rem; margin: 0 0 16px; }

/* ---------- Product detail ---------- */
.product-detail { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; padding: 16px 0 32px; align-items: start; }
.gallery { position: sticky; top: 88px; }
.gallery-main { aspect-ratio: 1; border-radius: 24px; background: var(--beige-2); display: grid; place-items: center; overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.gallery-thumbs button { width: 76px; height: 76px; flex-shrink: 0; border-radius: 12px; border: 2px solid transparent; background: var(--beige-2); padding: 2px; cursor: pointer; }
.gallery-thumbs button.active { border-color: var(--forest); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.product-buy h1 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); }
.price-lg { font-size: 1.5rem; margin: 8px 0 20px; }
.price-lg .compare { font-size: 1.1rem; }
.description { color: var(--ink-soft); }
.stock { font-weight: 700; color: var(--forest-2); font-size: .92rem; }
.stock-low { color: var(--warn); }
.stock-out { color: var(--muted); font-weight: 400; }
.buy-row { display: flex; gap: 12px; margin: 16px 0 24px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--field-bg); flex-shrink: 0; }
.qty button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--forest); }
.qty input { width: 42px !important; border: 0 !important; text-align: center; padding: 0 !important; box-shadow: none !important; -moz-appearance: textfield; background: transparent !important; }
.qty input::-webkit-inner-spin-button { display: none; }
.qty-sm button { width: 32px; height: 34px; }
.qty-sm input { width: 32px !important; }
.perks { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; font-size: .92rem; color: var(--muted); }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { color: var(--forest-2); }
@media (max-width: 800px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .gallery { position: static; }
}

/* ---------- Cart & checkout ---------- */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; padding-bottom: 56px; }
.cart-lines, .mini-lines, .order-list, .simple-list { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; margin-bottom: 12px; }
.cart-line img { width: 88px; height: 88px; object-fit: cover; background: var(--beige-2); border-radius: 12px; }
.cart-line-name { font-weight: 700; color: var(--ink); text-decoration: none; }
.cart-line-meta { display: flex; align-items: center; gap: 14px; margin-top: 8px; flex-wrap: wrap; }
.cart-line-total { font-weight: 700; color: var(--forest); text-align: right; }
.remove-btn { background: none; border: 0; color: var(--muted); font-size: .85rem; cursor: pointer; text-decoration: underline; padding: 0; }
.summary { position: sticky; top: 88px; display: flex; flex-direction: column; gap: 14px; }
.summary h3 { margin: 0; }
.promo-form { display: flex; gap: 8px; }
.promo-form input { text-transform: uppercase; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 8px 0; margin: 0; font-size: .95rem; }
.totals dt { color: var(--muted); }
.totals dd { margin: 0; text-align: right; font-weight: 600; padding-left: 12px; }
.totals .total { font-family: var(--serif); font-size: 1.25rem; color: var(--heading); border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.ship-gap { background: var(--wood-light); border-radius: var(--radius-sm); padding: 8px 12px; font-size: .88rem; margin: 0; }
.mini-lines li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.mini-lines img { width: 52px; height: 52px; object-fit: cover; background: var(--beige-2); border-radius: 10px; }
.mini-lines em { color: var(--muted); font-style: normal; }
@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .summary { position: static; }
}
@media (max-width: 480px) {
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 64px; }
  .cart-line-total { grid-column: 2; text-align: left; }
}

/* ---------- Auth ---------- */
.auth-wrap { display: grid; place-items: center; padding: 56px 16px 80px; }
.auth-card { width: 100%; max-width: 420px; padding: 36px 32px; text-align: left; }
.auth-card form { display: flex; flex-direction: column; gap: 16px; margin: 20px 0; }
.auth-card h1 { font-size: 1.9rem; }
.auth-leaf { width: 44px; height: 44px; color: var(--forest-2); background: var(--sage); border-radius: 50%; padding: 10px; margin-bottom: 16px; }
.otp-input { font-size: 1.8rem !important; letter-spacing: .5em; text-align: center; font-weight: 700; font-family: var(--serif); }
@media (max-width: 480px) { .auth-card { padding: 28px 20px; } }

/* ---------- Account & orders ---------- */
.account-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; align-items: start; padding-bottom: 56px; }
.account-layout aside form + form { margin-top: -4px; }
.order-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; margin-bottom: 12px; text-decoration: none; color: var(--ink); }
.order-row:hover { border-color: var(--wood); }
.order-row > div:first-child { display: flex; flex-direction: column; }
.order-row-end { display: flex; align-items: center; gap: 14px; }
.order-card { display: flex; flex-direction: column; gap: 20px; margin-bottom: 24px; }
.order-meta { display: flex; flex-wrap: wrap; gap: 28px; }
.order-meta > div { display: flex; flex-direction: column; gap: 4px; align-items: flex-start; }
.pay-box { display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--wood-light); padding: 12px 16px; border-radius: var(--radius-sm); flex-wrap: wrap; }
.ship-to p { margin: 4px 0 0; }
@media (max-width: 800px) { .account-layout { grid-template-columns: 1fr; } }

.status { display: inline-block; font-size: .72rem; font-weight: 700; text-transform: capitalize; padding: 3px 10px; border-radius: 999px; background: var(--beige-2); color: var(--muted); white-space: nowrap; }
.status-new, .status-requested, .status-unpaid { background: var(--st-amber-bg); color: var(--st-amber); }
.status-confirmed { background: var(--wood-light); color: var(--wood-dark); }
.status-processing { background: var(--st-amber-bg); color: var(--warn); }
.status-shipped { background: var(--st-blue-bg); color: var(--st-blue); }
.status-delivered, .status-paid { background: var(--sage); color: var(--forest); }
.status-cancelled, .status-refunded { background: var(--st-red-bg); color: var(--danger); }

/* ---------- Info pages ---------- */
.info-layout { display: grid; grid-template-columns: 1fr 200px; gap: 28px; align-items: start; padding-bottom: 56px; }
.prose { padding: 36px 40px; font-size: 1.05rem; }
.prose h2 { font-size: 1.4rem; margin-top: 1.5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--wood-dark); }
.info-nav { display: flex; flex-direction: column; gap: 2px; position: sticky; top: 88px; }
.info-nav a { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; }
.info-nav a.active, .info-nav a:hover { background: var(--paper); color: var(--forest); }
@media (max-width: 800px) {
  .info-layout { grid-template-columns: 1fr; }
  .info-nav { flex-direction: row; flex-wrap: wrap; position: static; order: -1; }
  .prose { padding: 24px 20px; }
}

.empty { text-align: center; padding: 64px 16px; }
.empty > svg { width: 48px; height: 48px; color: var(--wood-dark); margin: 0 auto 16px; }
.empty p { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--band-bg); color: var(--band-text); margin-top: 56px; padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--band-strong); font-family: var(--sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer a { color: var(--band-text); text-decoration: none; display: block; padding: 3px 0; font-size: .95rem; }
.site-footer a:hover { color: var(--band-strong); }
.muted-light { color: #b9b29f; margin: 12px 0 16px; max-width: 30ch; }
.handle { font-size: .85rem; color: var(--wood); margin-top: 10px; }
.social { display: flex; gap: 8px; }
.social a { width: 40px; height: 40px; display: grid !important; place-items: center; border-radius: 50%; border: 1.5px solid currentColor; padding: 0 !important; color: inherit; transition: .2s; }
.site-footer .social a:hover { background: var(--wood); color: #22362a; border-color: var(--wood); }
.nav-mobile-extra .social a { color: var(--forest); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; border-top: 1px solid rgba(234, 219, 194, .15); margin-top: 40px; padding-top: 20px; font-size: .85rem; color: #b9b29f; }
.footer-bottom a { display: inline; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > div:first-child { grid-column: 1 / -1; } }

.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); background: var(--band-bg); color: var(--band-strong); padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .92rem; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; max-width: calc(100% - 32px); display: flex; gap: 12px; align-items: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast a { color: var(--wood); }

/* ---------- Admin ---------- */
.admin { background: var(--beige); }
.admin-shell { display: grid; grid-template-columns: 240px 1fr; min-height: 100vh; }
.admin-side { background: var(--band-bg); color: var(--band-text); padding: 24px 16px; display: flex; flex-direction: column; gap: 24px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
.admin-side .logo { padding: 0 8px; }
.admin-side nav { display: flex; flex-direction: column; gap: 2px; }
.admin-side nav a { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; color: var(--band-text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.admin-side nav a:hover { background: rgba(255, 255, 255, .06); }
.admin-side nav a.active { background: var(--band-accent); color: var(--band-strong); }
.pill { background: var(--wood); color: #22362a; font-size: .72rem; padding: 1px 8px; border-radius: 999px; }
.admin-side-foot { margin-top: auto; display: flex; flex-direction: column; gap: 6px; padding: 0 8px; font-size: .9rem; }
.admin-side-foot a, .admin-side-foot .link-btn { color: var(--wood); }
.admin-side-foot .small { color: #b9b29f; word-break: break-all; }
.admin-main { padding: 24px 32px 64px; min-width: 0; }
.admin-top { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; }
.admin-top h1 { font-size: 1.8rem; margin: 0; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat { padding: 18px 20px; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.stat strong { font-family: var(--serif); font-size: 1.8rem; color: var(--heading); font-weight: 600; }
.admin-cols { display: grid; grid-template-columns: 1.6fr 1fr; gap: 20px; align-items: start; }
.admin-cols .h3 { margin-top: 8px; }
.toolbar { display: flex; gap: 10px; margin-bottom: 16px; align-items: center; flex-wrap: wrap; }
.toolbar input[type=search] { max-width: 320px; }
.toolbar select { width: auto; }
.toolbar p { margin: 0; }
.push-right { margin-left: auto; }
.table-wrap { overflow-x: auto; padding: 0; }
.card > .table-wrap { margin: 0 -24px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 12px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tr[data-href] { cursor: pointer; }
.table tbody tr:hover { background: var(--beige); }
.table a { text-decoration: none; }
.num { text-align: right !important; }
.thumb { width: 44px; height: 44px; object-fit: cover; background: var(--beige-2); border-radius: 10px; }
.toggle { width: 40px; height: 22px; border-radius: 999px; border: 0; background: var(--line); position: relative; cursor: pointer; transition: .2s; }
.toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 2px rgba(0, 0, 0, .2); }
.toggle.on { background: var(--forest-2); }
.toggle.on::after { left: 21px; }
.simple-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.simple-list li:last-child { border-bottom: 0; }
.quick-actions { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.edit-list { display: flex; flex-direction: column; gap: 10px; }
.edit-list details { padding: 0; }
.edit-list summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; cursor: pointer; list-style: none; }
.edit-list summary::-webkit-details-marker { display: none; }
.summary-main { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.edit-list details > form { padding: 0 20px 16px; }
.edit-list details[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.code { font-family: ui-monospace, Menlo, monospace; letter-spacing: .05em; }
.image-edit { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.image-edit label { display: flex; flex-direction: column; gap: 6px; font-size: .85rem; }
.image-edit img { aspect-ratio: 1; object-fit: cover; background: var(--beige-2); border-radius: 12px; }
.danger-zone { margin-top: 20px; }
.ship-box { background: var(--beige); padding: 12px 14px; border-radius: var(--radius-sm); }
@media (max-width: 1000px) { .admin-cols { grid-template-columns: 1fr; } }
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: 1fr; }
  .admin-side { position: fixed; inset: 0 auto 0 0; width: 260px; z-index: 40; transform: translateX(-100%); transition: transform .25s; }
  .admin-side.open { transform: none; box-shadow: 0 0 0 100vmax rgba(0, 0, 0, .3); }
  .admin-main { padding: 16px 16px 48px; }
  .admin-top .menu-toggle { display: inline-grid; }
  .admin-top h1 { font-size: 1.5rem; }
  .card { padding: 18px; }
  .card > .table-wrap { margin: 0 -18px; }
}
.admin-cols > *, .shop-layout > *, .cart-layout > *, .account-layout > *, .info-layout > * { min-width: 0; }
.table td:first-child a strong { white-space: nowrap; }
.pay-card { background: var(--wood-light); border-radius: var(--radius-sm); padding: 18px 20px; }
.pay-card h3 { margin-bottom: 4px; }
.pay-details { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 12px 0; font-size: .95rem; }
.pay-details dt { color: var(--muted); }
.pay-details dd { margin: 0; overflow-wrap: anywhere; }
.iban { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; font-family: ui-monospace, Menlo, monospace; }
.price, .compare, .section-head .link { white-space: nowrap; }
:root[data-theme="dark"] img[src$="placeholder.png"] { filter: brightness(.3) sepia(.35); }
