/* ============================================================
   Its Chaif Exotics — Main Stylesheet v10
   Aesthetic: Dark modern terrarium · editorial luxury
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Instrument+Sans:wght@300;400;500;600&family=DM+Mono:wght@300;400&display=swap');

/* ── Variables ── */
:root {
  --ink:         #0f0d0a;
  --charcoal:    #1a1814;
  --bark:        #2e261a;
  --soil:        #3d3020;
  --moss:        #2a4520;
  --moss-mid:    #3a5f2e;
  --moss-light:  #4e7a3d;
  --sage:        #7aaa65;
  --lichen:      #a8c98e;
  --dew:         #d4eac4;
  --cream:       #f5f0e8;
  --parchment:   #eee7d4;
  --sand:        #c8b07a;
  --amber:       #c07820;
  --amber-warm:  #d4902e;
  --rust:        #8a3515;
  --white:       #fdfbf7;
  --surface:     #f9f6ee;
  --text-primary:   #0f0d0a;
  --text-secondary: #3d3020;
  --text-muted:     #8a7d68;
  --border:         rgba(200,176,122,.22);
  --border-strong:  rgba(200,176,122,.45);
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body:    'Instrument Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', 'Courier New', monospace;
  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --radius-pill: 100px;
  --shadow-xs:   0 1px 3px rgba(15,13,10,.06);
  --shadow-sm:   0 2px 8px rgba(15,13,10,.08), 0 1px 3px rgba(15,13,10,.05);
  --shadow-md:   0 8px 24px rgba(15,13,10,.12), 0 2px 6px rgba(15,13,10,.06);
  --shadow-lg:   0 20px 48px rgba(15,13,10,.18), 0 4px 12px rgba(15,13,10,.08);
  --transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 400; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 400; letter-spacing: -0.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); font-weight: 400; }
p  { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.72; font-weight: 300; }

.label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.section   { padding: 88px 0; }
.section_sm { padding: 52px 0; }

/* ── Announcement Bar ── */
.announcement-bar {
  background: var(--ink);
  color: rgba(245,240,232,.65);
  text-align: center;
  padding: 10px 24px;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.announcement-bar strong { color: var(--lichen); font-weight: 400; }

/* ── Nav ── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,251,247,.94);
  backdrop-filter: blur(24px) saturate(1.6);
  -webkit-backdrop-filter: blur(24px) saturate(1.6);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center;
  justify-content: space-between; gap: 24px; height: 64px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-logo img { height: 36px; width: auto; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav-links a {
  font-size: 0.85rem; font-weight: 400;
  color: var(--text-muted); padding: 7px 14px;
  border-radius: var(--radius-pill); transition: all var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: var(--parchment); }
.nav-links a::after { display: none; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn {
  position: relative; display: flex; align-items: center; gap: 7px;
  font-size: 0.85rem; font-weight: 500; padding: 8px 16px;
  border-radius: var(--radius-pill); border: 1px solid var(--border-strong);
  background: transparent; color: var(--ink); cursor: pointer; transition: all var(--transition);
}
.cart-btn:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.cart-badge {
  position: absolute; top: -5px; right: -5px;
  background: var(--moss-mid); color: #fff;
  font-size: 0.58rem; font-weight: 600; min-width: 17px; height: 17px;
  border-radius: 9px; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}
.menu-toggle {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; background: none; border: none;
}
.menu-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink); border-radius: 2px; transition: all var(--transition);
}

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 500;
  letter-spacing: .02em; padding: 12px 24px;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: all var(--transition);
  text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn-primary { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.btn-primary:hover { background: var(--bark); border-color: var(--bark); color: var(--cream); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--border-strong); }
.btn-outline:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); transform: translateY(-1px); }
.btn-green { background: var(--moss); color: var(--cream); border-color: var(--moss); }
.btn-green:hover { background: var(--moss-mid); border-color: var(--moss-mid); color: var(--cream); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(42,69,32,.3); }
.btn-amber { background: var(--amber); color: #fff; border-color: var(--amber); }
.btn-amber:hover { background: var(--amber-warm); border-color: var(--amber-warm); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(192,120,32,.3); }
.btn-ghost { background: transparent; color: var(--text-muted); border-color: transparent; padding: 10px 16px; }
.btn-ghost:hover { background: var(--parchment); color: var(--ink); }
.btn-lg  { padding: 15px 36px; font-size: 0.88rem; }
.btn-sm  { padding: 8px 16px; font-size: 0.75rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Hero ── */
.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: var(--ink);
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 88px 64px 88px 0;
  position: relative;
  z-index: 2;
}
.hero-right {
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to right, var(--ink) 0%, transparent 40%);
  z-index: 1; pointer-events: none;
}
.hero-right-bg {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse at 40% 60%, rgba(42,69,32,.75) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 20%, rgba(122,170,101,.18) 0%, transparent 50%),
    var(--charcoal);
}
.hero-right-bg::after {
  content: '';
  position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(168,201,142,.05) 1px, transparent 0);
  background-size: 26px 26px;
}
.hero-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: .22em; text-transform: uppercase; color: var(--lichen);
  background: rgba(168,201,142,.1); border: 1px solid rgba(168,201,142,.2);
  padding: 7px 14px; border-radius: var(--radius-pill);
  margin-bottom: 28px; width: fit-content;
}
.hero h1 { color: var(--white); margin-bottom: 20px; line-height: 1.08; }
.hero h1 em { font-style: italic; color: var(--lichen); }
.hero-sub {
  color: rgba(245,240,232,.5);
  font-size: 1rem; margin-bottom: 44px;
  max-width: 440px; font-weight: 300; line-height: 1.78;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(168,201,142,.35);
  font-family: var(--font-mono); font-size: 0.58rem; letter-spacing: .22em; text-transform: uppercase;
  animation: bounce 2.4s ease-in-out infinite; z-index: 3;
}
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(9px); }
}

/* ── Sale Banner ── */
.sale-banner {
  background: linear-gradient(135deg, var(--moss) 0%, var(--bark) 60%, var(--soil) 100%);
  padding: 72px 0; position: relative; overflow: hidden;
}
.sale-banner::before {
  content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(245,240,232,.04) 1px, transparent 0);
  background-size: 24px 24px;
}
.sale-banner-inner { position: relative; text-align: center; z-index: 1; }
.sale-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(168,201,142,.18); border: 1px solid rgba(168,201,142,.3);
  color: var(--lichen); font-family: var(--font-mono); font-size: 0.63rem;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 7px 16px; border-radius: var(--radius-pill); margin-bottom: 20px;
}
.sale-banner h2 { color: var(--white); margin-bottom: 14px; font-size: clamp(1.8rem, 4vw, 3rem); }
.sale-banner p { color: rgba(168,201,142,.7); max-width: 420px; margin: 0 auto 36px; }

/* ── Section Header ── */
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header .label { margin-bottom: 12px; display: block; }
.section-header h2 { margin-bottom: 14px; }
.section-header p { max-width: 520px; font-weight: 300; }
.section-header.centered p { margin: 0 auto; }

.divider { width: 48px; height: 1px; background: var(--border-strong); margin: 20px 0; }
.divider_center { margin-left: auto; margin-right: auto; }

/* ── Product Cards ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.product-card {
  background: var(--white); border-radius: var(--radius-xl);
  overflow: hidden; border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex; flex-direction: column;
  cursor: pointer; text-decoration: none; color: inherit;
}
.product-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--border-strong); color: inherit;
}
.product-card__image {
  position: relative; aspect-ratio: 3/2;
  overflow: hidden; background: var(--parchment);
}
.product-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s cubic-bezier(.4,0,.2,1); }
.product-card:hover .product-card__image img { transform: scale(1.05); }
.product-card__badge {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-mono); font-size: 0.6rem; font-weight: 400;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--radius-pill);
}
.product-card__badge_sale { background: var(--rust); color: #fff; }
.product-card__badge_low  { background: var(--soil); color: var(--cream); }
.product-card__body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.product-card__category {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 7px;
}
.product-card__name {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 400;
  color: var(--ink); margin-bottom: 4px; line-height: 1.25;
}
.product-card__subtitle { font-style: italic; color: var(--text-muted); font-size: 0.85rem; margin-bottom: 10px; }
.product-card__desc {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6;
  flex: 1; margin-bottom: 20px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-weight: 300;
}
.product-card__footer {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.price { font-family: var(--font-display); font-weight: 400; font-size: 1.3rem; color: var(--ink); }
.price_sale .price-original { font-size: 0.88rem; font-weight: 300; color: var(--text-muted); text-decoration: line-through; margin-right: 6px; }
.price_sale .price-current { color: var(--rust); }
.care-badge { font-family: var(--font-mono); font-size: 0.6rem; letter-spacing: .08em; padding: 4px 10px; border-radius: var(--radius-pill); border: 1px solid; }
.care-easy         { border-color: var(--sage); color: var(--sage); }
.care-intermediate { border-color: var(--amber); color: var(--amber); }
.care-advanced     { border-color: var(--rust); color: var(--rust); }

/* ── Product Detail ── */
.product-detail { padding: 52px 0 88px; }
.product-detail__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
.product-gallery { position: sticky; top: 84px; }
.gallery-hero { aspect-ratio: 4/3; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); margin-bottom: 12px; background: var(--parchment); }
.gallery-hero img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery-thumb { aspect-ratio: 4/3; border-radius: var(--radius-lg); overflow: hidden; border: 1.5px solid transparent; cursor: pointer; transition: all var(--transition); background: var(--parchment); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumb:hover { border-color: var(--border-strong); }
.gallery-thumb.active { border-color: var(--ink); }
.product-info .label { margin-bottom: 12px; display: block; }
.product-info h1 { margin-bottom: 6px; }
.product-info .subtitle { font-style: italic; color: var(--text-muted); font-size: 1rem; margin-bottom: 24px; }
.product-price-row { display: flex; align-items: baseline; gap: 16px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.product-price { font-size: 2.2rem; }
.product-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; margin-bottom: 28px; white-space: pre-line; font-weight: 300; }
.stock-indicator { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .08em; margin-bottom: 24px; color: var(--text-muted); }
.stock-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); flex-shrink: 0; }
.stock-dot_low { background: var(--amber); }
.stock-dot_out { background: var(--rust); }
.qty-row { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.qty-control { display: flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); overflow: hidden; background: var(--white); }
.qty-btn { width: 40px; height: 42px; border: none; background: transparent; color: var(--ink); font-size: 1.1rem; cursor: pointer; transition: background var(--transition); display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { background: var(--parchment); }
.qty-input { width: 48px; text-align: center; border: none; background: none; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); outline: none; }
.specs-table { width: 100%; border-collapse: collapse; margin-top: 28px; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table td { padding: 11px 0; font-size: 0.9rem; }
.specs-table td:first-child { font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: .08em; color: var(--text-muted); width: 42%; }
.specs-table td:last-child { color: var(--text-secondary); font-weight: 300; }

/* ── Shipping Estimator ── */
.shipping-box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; margin-top: 24px; }
.shipping-box h3 { font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.zip-row { display: flex; gap: 10px; }
.zip-input { flex: 1; padding: 11px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius-pill); background: var(--white); font-family: var(--font-mono); font-size: 0.88rem; color: var(--ink); outline: none; transition: border-color var(--transition), box-shadow var(--transition); }
.zip-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,13,10,.08); }
.shipping-result { margin-top: 14px; padding: 14px 18px; background: var(--dew); border-radius: var(--radius-lg); border-left: 3px solid var(--moss-mid); font-family: var(--font-mono); font-size: 0.8rem; color: var(--bark); display: none; }
.shipping-result.visible { display: block; }
.shipping-cost { font-weight: 700; font-size: 1.05rem; color: var(--moss-mid); }

/* ── Live Guarantee ── */
.live-guarantee { display: flex; align-items: flex-start; gap: 14px; background: linear-gradient(135deg, rgba(42,69,32,.06) 0%, rgba(168,201,142,.06) 100%); border: 1px solid rgba(168,201,142,.35); border-radius: var(--radius-lg); padding: 18px 20px; margin-top: 20px; }
.live-guarantee .icon { font-size: 1.3rem; flex-shrink: 0; }
.live-guarantee-text { font-size: 0.86rem; line-height: 1.55; color: var(--text-secondary); }
.live-guarantee-text strong { color: var(--moss-mid); font-weight: 600; }

/* ── Cart ── */
.cart-layout { display: grid; grid-template-columns: 1fr 340px; gap: 40px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 90px 1fr auto; gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--border); }
.cart-item__img { width: 90px; height: 68px; border-radius: var(--radius-lg); object-fit: cover; border: 1px solid var(--border); }
.cart-item__name { font-family: var(--font-display); font-size: 1rem; margin-bottom: 4px; font-weight: 400; }
.cart-item__price { font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); }
.cart-item__actions { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.remove-btn { background: none; border: none; color: var(--text-muted); cursor: pointer; font-size: 0.78rem; font-family: var(--font-mono); transition: color var(--transition); letter-spacing: .06em; }
.remove-btn:hover { color: var(--rust); }
.cart-summary { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 28px; position: sticky; top: 84px; }
.cart-summary h3 { margin-bottom: 20px; font-size: 1.1rem; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; color: var(--text-secondary); }
.summary-row:last-of-type { border-bottom: none; }
.summary-row_total { font-family: var(--font-display); font-weight: 400; font-size: 1.25rem; color: var(--ink); padding-top: 16px; }
.cart-empty { text-align: center; padding: 88px 24px; }
.cart-empty h2 { margin-bottom: 12px; }
.cart-empty p { margin-bottom: 28px; }

/* ── Checkout ── */
.checkout-layout { display: grid; grid-template-columns: 1fr 360px; gap: 40px; align-items: start; }
.form-section { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 32px; margin-bottom: 20px; }
.form-section h3 { margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-size: 1.05rem; font-weight: 400; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid_full { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-family: var(--font-mono); font-size: 0.67rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.form-input { padding: 12px 16px; border: 1px solid var(--border-strong); border-radius: var(--radius); background: var(--white); font-family: var(--font-body); font-size: 0.92rem; font-weight: 300; color: var(--ink); outline: none; transition: border-color var(--transition), box-shadow var(--transition); width: 100%; }
.form-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15,13,10,.07); }
.form-input::placeholder { color: rgba(58,48,32,.3); }
textarea.form-input { resize: vertical; min-height: 80px; }

/* ── Zelle Box ── */
.zelle-box { background: var(--ink); border-radius: var(--radius-xl); padding: 32px; color: var(--cream); }
.zelle-box h3 { color: var(--cream); margin-bottom: 8px; font-weight: 400; }
.zelle-box p { color: rgba(245,240,232,.5); font-size: 0.9rem; margin-bottom: 20px; }
.zelle-detail { background: rgba(245,240,232,.06); border: 1px solid rgba(245,240,232,.1); border-radius: var(--radius-lg); padding: 16px 20px; margin-bottom: 12px; }
.zelle-detail .zelle-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lichen); margin-bottom: 4px; }
.zelle-detail .zelle-value { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); }
.zelle-steps { list-style: none; counter-reset: step; }
.zelle-steps li { counter-increment: step; display: flex; gap: 12px; margin-bottom: 12px; font-size: 0.88rem; color: rgba(245,240,232,.55); line-height: 1.5; }
.zelle-steps li::before { content: counter(step); flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%; background: var(--amber); color: #fff; font-family: var(--font-mono); font-size: 0.62rem; display: flex; align-items: center; justify-content: center; margin-top: 1px; }

/* ── Confirmation ── */
.confirmation-hero { text-align: center; padding: 72px 24px 48px; max-width: 600px; margin: 0 auto; }
.confirmation-icon { width: 72px; height: 72px; background: linear-gradient(135deg, rgba(42,69,32,.12) 0%, rgba(168,201,142,.12) 100%); border: 1px solid rgba(168,201,142,.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin: 0 auto 28px; }
.order-id-display { background: var(--surface); border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); padding: 14px 28px; font-family: var(--font-mono); font-size: 1rem; color: var(--moss-mid); letter-spacing: .1em; display: inline-block; margin: 16px 0 28px; }

/* ── Features ── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: 36px 28px; transition: all var(--transition); }
.feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.feature-icon { font-size: 2rem; margin-bottom: 18px; display: block; }
.feature-card h3 { font-size: 0.98rem; margin-bottom: 10px; font-weight: 600; font-family: var(--font-body); }
.feature-card p { font-size: 0.88rem; }

/* ── Shipping Policy ── */
.policy-hero { background: var(--ink); padding: 80px 0 72px; }
.policy-hero .label { color: var(--lichen); margin-bottom: 16px; display: block; }
.policy-hero h1 { color: var(--white); }
.policy-hero p { color: rgba(245,240,232,.5); margin-top: 16px; max-width: 520px; font-weight: 300; }
.policy-body { max-width: 780px; margin: 0 auto; padding: 80px 28px 104px; }
.policy-section { margin-bottom: 60px; }
.policy-section-title { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }
.policy-section-icon { width: 40px; height: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; }
.policy-section-title h2 { font-size: 1.35rem; font-weight: 400; }
.policy-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 20px; }
.policy-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 22px; }
.policy-item-label { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 6px; }
.policy-item-value { font-size: 0.9rem; color: var(--text-secondary); font-weight: 300; line-height: 1.55; }
.policy-item-value strong { font-weight: 600; color: var(--ink); }
.policy-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.policy-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.9rem; color: var(--text-secondary); font-weight: 300; line-height: 1.6; }
.policy-list li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--moss-light); margin-top: 8px; flex-shrink: 0; }
.policy-alert { background: rgba(138,53,21,.05); border: 1px solid rgba(138,53,21,.18); border-radius: var(--radius-lg); padding: 22px 24px; margin-top: 20px; }
.policy-alert-title { font-size: 0.82rem; font-weight: 600; color: var(--rust); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-family: var(--font-body); }
.policy-alert ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.policy-alert li { font-size: 0.88rem; color: var(--text-secondary); font-weight: 300; display: flex; align-items: flex-start; gap: 8px; line-height: 1.55; }
.policy-alert li::before { content: '×'; color: var(--rust); font-weight: 700; flex-shrink: 0; }
.policy-doa-box { background: linear-gradient(135deg, rgba(42,69,32,.05) 0%, rgba(168,201,142,.07) 100%); border: 1px solid rgba(168,201,142,.28); border-radius: var(--radius-lg); padding: 24px; margin-top: 20px; }
.policy-doa-box-title { font-size: 0.82rem; font-weight: 600; color: var(--moss-mid); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; font-family: var(--font-body); }
.policy-doa-box ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.policy-doa-box li { font-size: 0.88rem; color: var(--text-secondary); font-weight: 300; display: flex; gap: 8px; align-items: flex-start; line-height: 1.55; }
.policy-doa-box li::before { content: '✓'; color: var(--moss-mid); font-weight: 700; flex-shrink: 0; }
.policy-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 48px; transition: color var(--transition); }
.policy-back:hover { color: var(--ink); }

/* ── Footer ── */
.site-footer { background: var(--ink); color: var(--lichen); padding: 72px 0 36px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-brand img { height: 34px; margin-bottom: 16px; filter: brightness(1.4) saturate(.8); }
.footer-brand p { font-size: 0.85rem; color: rgba(168,201,142,.45); line-height: 1.72; font-weight: 300; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.62rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: rgba(245,240,232,.3); margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: rgba(168,201,142,.55); font-size: 0.88rem; font-weight: 300; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(245,240,232,.06); padding-top: 28px; display: flex; align-items: center; justify-content: space-between; font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: .08em; color: rgba(168,201,142,.28); }

/* ── Misc ── */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: .08em; color: var(--text-muted); padding: 20px 0; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { color: var(--ink); }
.toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; }
.toast { background: #f5f0e8; color: #0f0d0a; padding: 14px 20px; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: .05em; display: flex; align-items: center; gap: 12px; animation: toastIn .28s ease forwards; max-width: 300px; }
.toast_success { border-left: 3px solid var(--sage); }
.toast_error   { border-left: 3px solid var(--rust); }
[data-theme="dark"] .toast { background: #f5f0e8; color: #0f0d0a; }
@keyframes toastIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.input-error { border-color: var(--rust) !important; }
.error-msg { font-family: var(--font-mono); font-size: 0.67rem; color: var(--rust); margin-top: 4px; }
.spinner { width: 18px; height: 18px; border: 1.5px solid rgba(245,240,232,.25); border-top-color: var(--cream); border-radius: 50%; animation: spin .7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 88px 0 64px; }
  .hero-right { display: none; }
  .product-detail__grid { grid-template-columns: 1fr; }
  .product-gallery { position: static; }
  .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .policy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open { display: flex; flex-direction: column; position: fixed; top: 0; right: 0; bottom: 0; left: 0; background: var(--white); z-index: 200; align-items: center; justify-content: center; gap: 28px; }
  .nav-links.open a { font-size: 1.1rem; color: var(--ink); }
  .menu-toggle { display: flex; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item__actions { grid-column: 1 / -1; flex-direction: row; justify-content: flex-end; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .btn-lg { padding: 13px 24px; }
  .hero-cta { flex-direction: column; }
  .hero-left { padding: 72px 0 56px; }
}

/* ── Dark Mode ── */
[data-theme="dark"] {
  --white:          #111210;
  --surface:        #191b18;
  --parchment:      #1e2119;
  --cream:          #ddd8cc;

  --text-primary:   #e8e4da;
  --text-secondary: #b0aa98;
  --text-muted:     #6e6a5e;

  --border:         rgba(168,201,142,.10);
  --border-strong:  rgba(168,201,142,.22);

  --ink:            #e8e4da;
  --charcoal:       #d0ccc0;
  --bark:           #a8c98e;
  --soil:           #8a9e74;

  --shadow-xs:   0 1px 3px rgba(0,0,0,.25);
  --shadow-sm:   0 2px 8px rgba(0,0,0,.35), 0 1px 3px rgba(0,0,0,.2);
  --shadow-md:   0 8px 24px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.25);
  --shadow-lg:   0 20px 48px rgba(0,0,0,.6), 0 4px 12px rgba(0,0,0,.3);
}

[data-theme="dark"] body {
  background: var(--white);
  color: var(--text-primary);
}

[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4 { color: var(--text-primary); }

[data-theme="dark"] .site-header {
  background: rgba(10,11,10,.96);
  border-bottom-color: rgba(168,201,142,.1);
}

[data-theme="dark"] .nav-links a { color: var(--text-muted); }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: var(--text-primary); background: rgba(168,201,142,.1); }

[data-theme="dark"] .cart-btn {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
[data-theme="dark"] .cart-btn:hover {
  background: var(--lichen);
  color: #111;
  border-color: var(--lichen);
}

[data-theme="dark"] .menu-toggle span { background: var(--text-primary); }

[data-theme="dark"] .nav-links.open { background: #111210; }
[data-theme="dark"] .nav-links.open a { color: var(--text-primary); }

[data-theme="dark"] .product-card {
  background: var(--surface);
  border-color: var(--border);
}
[data-theme="dark"] .product-card:hover { border-color: var(--border-strong); }
[data-theme="dark"] .product-card__name { color: var(--text-primary); }

[data-theme="dark"] .feature-card {
  background: var(--surface);
  border-color: var(--border);
}

[data-theme="dark"] .form-section {
  background: #161a14;
  border-color: rgba(168,201,142,.12);
}
[data-theme="dark"] .form-section h3 { color: #e8e4da; border-bottom-color: rgba(168,201,142,.1); }
[data-theme="dark"] .form-input {
  background: #0f110e;
  border-color: rgba(168,201,142,.18);
  color: #e8e4da;
}
[data-theme="dark"] .form-input:focus { border-color: var(--lichen); box-shadow: 0 0 0 3px rgba(168,201,142,.12); }
[data-theme="dark"] .form-input::placeholder { color: rgba(168,201,142,.22); }
[data-theme="dark"] .form-group label { color: rgba(168,201,142,.55); }

[data-theme="dark"] .cart-summary,
[data-theme="dark"] .shipping-box { background: var(--surface); border-color: var(--border); }

[data-theme="dark"] .cart-item { border-bottom-color: var(--border); }
[data-theme="dark"] .cart-item__img { border-color: var(--border); }

[data-theme="dark"] .summary-row { border-bottom-color: var(--border); color: var(--text-secondary); }
[data-theme="dark"] .summary-row_total { color: var(--text-primary); }

[data-theme="dark"] .policy-item { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .policy-section-icon { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .policy-section-title { border-bottom-color: var(--border); }

[data-theme="dark"] .specs-table tr { border-bottom-color: var(--border); }
[data-theme="dark"] .specs-table td:last-child { color: var(--text-secondary); }

[data-theme="dark"] .gallery-hero,
[data-theme="dark"] .gallery-thumb { border-color: var(--border); background: var(--surface); }
[data-theme="dark"] .gallery-thumb.active { border-color: var(--lichen); }

[data-theme="dark"] .qty-control { border-color: var(--border-strong); background: var(--surface); }
[data-theme="dark"] .qty-btn { color: var(--text-primary); }
[data-theme="dark"] .qty-btn:hover { background: rgba(168,201,142,.1); }
[data-theme="dark"] .qty-input { color: var(--text-primary); }

[data-theme="dark"] .zip-input {
  background: #111210;
  border-color: var(--border-strong);
  color: var(--text-primary);
}

[data-theme="dark"] .btn-outline {
  color: var(--text-primary);
  border-color: var(--border-strong);
}
[data-theme="dark"] .btn-outline:hover {
  background: rgba(168,201,142,.15);
  color: var(--text-primary);
  border-color: var(--lichen);
}
[data-theme="dark"] .btn-primary { background: var(--moss-mid); border-color: var(--moss-mid); color: #fff; }
[data-theme="dark"] .btn-primary:hover { background: var(--sage); border-color: var(--sage); color: #111; }
[data-theme="dark"] .btn-ghost { color: var(--text-muted); }
[data-theme="dark"] .btn-ghost:hover { background: rgba(168,201,142,.1); color: var(--text-primary); }

[data-theme="dark"] .breadcrumb a { color: var(--text-muted); }
[data-theme="dark"] .breadcrumb span { color: var(--text-primary); }

[data-theme="dark"] .order-id-display { background: var(--surface); color: var(--lichen); }

/* Dark mode toggle — fixed bottom-left FAB */
.dark-toggle {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--white);
  color: var(--text-secondary);
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
}
.dark-toggle:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
  border-color: var(--ink);
}
[data-theme="dark"] .dark-toggle {
  background: #1e2119;
  border-color: rgba(168,201,142,.3);
  color: var(--lichen);
}
[data-theme="dark"] .dark-toggle:hover {
  background: rgba(168,201,142,.15);
  border-color: var(--lichen);
  color: var(--lichen);
}
.dark-toggle svg { pointer-events: none; }
.dark-toggle .icon-sun  { display: none; }
.dark-toggle .icon-moon { display: block; }
[data-theme="dark"] .dark-toggle .icon-sun  { display: block; }
[data-theme="dark"] .dark-toggle .icon-moon { display: none; }

/* ── Utility / Cleanup classes ── */
.stat-box {
  background: rgba(15,13,10,.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(168,201,142,.2);
  border-radius: 14px;
  padding: 16px 20px;
}
.stat-box__label {
  font-family: var(--font-mono);
  font-size: 0.6rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--lichen); margin-bottom: 4px;
}
.stat-box__value {
  font-family: var(--font-display);
  color: var(--white);
}
.stat-box__sub { font-size: 0.78rem; color: rgba(245,240,232,.45); font-weight: 300; }

.stats-cluster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; text-align: center; margin-top: 20px;
}
.stats-cluster .stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 700; color: var(--moss);
}
.stats-cluster .stat-label {
  font-size: 0.82rem; color: var(--text-muted); margin-top: 4px;
}
[data-theme="dark"] .stats-cluster .stat-num { color: var(--sage); }

.value-card {
  display: flex; gap: 18px; align-items: flex-start;
  padding: 24px; background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  transition: all var(--transition);
}
.value-card:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.value-card__icon { font-size: 1.6rem; flex-shrink: 0; }
.value-card h3 { font-size: 0.98rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.value-card p { font-size: 0.88rem; margin-bottom: 0; }
[data-theme="dark"] .value-card { background: var(--surface); border-color: var(--border); }

.contact-info-block {
  display: flex; flex-direction: column; gap: 8px; padding: 22px 24px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-xl);
}
.contact-info-block .contact-label {
  font-family: var(--font-mono); font-size: 0.62rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-muted);
}
[data-theme="dark"] .contact-info-block { background: var(--surface); border-color: var(--border); }

.hero-stats-cluster {
  position: absolute; bottom: 48px; right: 40px;
  z-index: 2; display: flex; flex-direction: column; gap: 12px;
}

@media (max-width: 768px) {
  .stats-cluster { grid-template-columns: repeat(2, 1fr); }
  .hero-stats-cluster { display: none; }
}

/* ── Page Hero (shared across About, Care, etc.) ── */
.page-hero {
  padding: 80px 0 60px;
}
.page-hero_moss {
  background: linear-gradient(135deg, var(--moss) 0%, var(--soil) 100%);
}
.page-hero_bark {
  background: linear-gradient(135deg, var(--soil) 0%, var(--bark) 100%);
}
.page-hero__label { color: var(--lichen); margin-bottom: 12px; display: block; }
.page-hero__title { color: var(--cream); }
.page-hero__sub   { color: var(--lichen); max-width: 520px; margin-top: 14px; }

/* ── About ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center; margin-bottom: 80px;
}
.about-stats-card {
  background: var(--parchment);
  border: 1px solid var(--sand);
  border-radius: var(--radius-lg);
  padding: 40px; text-align: center;
}
.about-stats-card__icon { font-size: 4rem; margin-bottom: 20px; }
[data-theme="dark"] .about-stats-card {
  background: var(--surface);
  border-color: var(--border);
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--soil), var(--bark));
  border-radius: var(--radius-lg);
  padding: 56px; text-align: center;
}
.cta-banner__title { color: var(--cream); margin-bottom: 14px; }
.cta-banner__sub   { color: var(--lichen); max-width: 440px; margin: 0 auto 32px; }
.cta-banner__actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner__outline-btn { border-color: var(--lichen); color: var(--lichen); }
.cta-banner__outline-btn:hover { background: var(--lichen); color: var(--ink); border-color: var(--lichen); }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .cta-banner { padding: 40px 28px; }
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: start;
}
.contact-info-list { display: grid; gap: 16px; margin-bottom: 28px; }
.contact-info-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition);
}
.contact-info-item:hover { border-color: var(--border-strong); }
.contact-info-item__icon { font-size: 1.4rem; flex-shrink: 0; }
.contact-link { color: var(--moss-mid); font-size: 1rem; transition: color var(--transition); }
.contact-link:hover { color: var(--sage); }
.contact-value { color: var(--text-secondary); font-size: 1rem; }
.contact-response-note {
  padding: 20px 24px;
  background: var(--dew);
  border: 1px solid var(--lichen);
  border-radius: var(--radius-lg);
}
.contact-form-hint { color: var(--sage); font-size: 0.93rem; margin-bottom: 24px; }
.contact-form-footer { text-align: center; font-size: 0.82rem; color: var(--sage); margin-top: 12px; }

[data-theme="dark"] .contact-info-item { background: var(--surface); border-color: var(--border); }
[data-theme="dark"] .contact-response-note { background: rgba(168,201,142,.07); border-color: rgba(168,201,142,.2); }
[data-theme="dark"] .contact-link { color: var(--lichen); }
[data-theme="dark"] .contact-value { color: var(--text-secondary); }

@media (max-width: 768px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Dark mode: keep dark elements dark ── */

/* Announcement bar stays black */
[data-theme="dark"] .announcement-bar {
  background: #0f0d0a;
  color: rgba(245,240,232,.65);
}

/* Nav header stays light (cream/white bg) — already handled, but ensure no bleed */
/* nav links in dark — pinned section overrides above */
[data-theme="dark"] .nav-links a { color: rgba(168,201,142,.65); }
[data-theme="dark"] .nav-links a:hover,
[data-theme="dark"] .nav-links a.active { color: #e8e4da; background: rgba(168,201,142,.1); }
[data-theme="dark"] .nav-logo img { filter: brightness(1.05); }
[data-theme="dark"] .cart-btn { color: #e8e4da; border-color: rgba(168,201,142,.3); }
[data-theme="dark"] .cart-btn:hover { background: rgba(168,201,142,.15); color: var(--lichen); }

/* Hero section — always dark, never inverts */
[data-theme="dark"] .hero { background: #0f0d0a; }
[data-theme="dark"] .hero-right::before {
  background: linear-gradient(to right, #0f0d0a 0%, transparent 40%);
}
[data-theme="dark"] .hero-left { color: #e8e4da; }
[data-theme="dark"] .hero h1 { color: #fdfbf7; }
[data-theme="dark"] .hero h1 em { color: var(--lichen); }
[data-theme="dark"] .hero-sub { color: rgba(245,240,232,.5); }
[data-theme="dark"] .hero-right-bg {
  background:
    radial-gradient(ellipse at 40% 60%, rgba(42,69,32,.75) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 20%, rgba(122,170,101,.18) 0%, transparent 50%),
    #111210;
}

/* Sale banner — always dark mossy green, never inverts */
[data-theme="dark"] .sale-banner {
  background: linear-gradient(135deg, #2a4520 0%, #2e261a 60%, #3d3020 100%);
}
[data-theme="dark"] .sale-banner h2 { color: #fdfbf7; }
[data-theme="dark"] .sale-banner p  { color: rgba(168,201,142,.7); }

/* Zelle box — always dark ink, never inverts */
[data-theme="dark"] .zelle-box { background: #0f0d0a; }
[data-theme="dark"] .zelle-box h3 { color: #f5f0e8; }
[data-theme="dark"] .zelle-box p  { color: rgba(245,240,232,.5); }
[data-theme="dark"] .zelle-detail {
  background: rgba(245,240,232,.06);
  border-color: rgba(245,240,232,.1);
}
[data-theme="dark"] .zelle-detail .zelle-value { color: #fdfbf7; }

/* Footer — always dark ink, never inverts */
[data-theme="dark"] .site-footer { background: #0f0d0a; color: var(--lichen); }
[data-theme="dark"] .footer-brand p  { color: rgba(168,201,142,.45); }
[data-theme="dark"] .footer-col h4   { color: rgba(245,240,232,.3); }
[data-theme="dark"] .footer-col ul a { color: rgba(168,201,142,.55); }
[data-theme="dark"] .footer-col ul a:hover { color: #fdfbf7; }
[data-theme="dark"] .footer-bottom   { color: rgba(168,201,142,.28); border-top-color: rgba(245,240,232,.06); }

/* CTA banner (about page) — always dark, never inverts */
[data-theme="dark"] .cta-banner {
  background: linear-gradient(135deg, #3d3020, #2e261a);
}
[data-theme="dark"] .cta-banner__title { color: #f5f0e8; }
[data-theme="dark"] .cta-banner__sub   { color: var(--lichen); }

/* Policy hero — always dark */
[data-theme="dark"] .policy-hero { background: #0f0d0a; }
[data-theme="dark"] .policy-hero h1 { color: #fdfbf7; }
[data-theme="dark"] .policy-hero p  { color: rgba(245,240,232,.5); }

/* Page hero variants — always dark */
[data-theme="dark"] .page-hero_moss,
[data-theme="dark"] .page-hero_bark { /* keep their original gradients */ }
[data-theme="dark"] .page-hero__title { color: #f5f0e8; }
[data-theme="dark"] .page-hero__sub   { color: var(--lichen); }

/* ── Dark mode: notice/info boxes stay dark ── */

/* Shipping estimate result box */
[data-theme="dark"] .shipping-result {
  background: rgba(42,69,32,.25);
  border-left-color: var(--moss-mid);
  color: var(--lichen);
}

/* Live guarantee box on product page */
[data-theme="dark"] .live-guarantee {
  background: linear-gradient(135deg, rgba(42,69,32,.2) 0%, rgba(168,201,142,.08) 100%);
  border-color: rgba(168,201,142,.2);
}
[data-theme="dark"] .live-guarantee-text { color: rgba(168,201,142,.75); }

/* Address verification notices in checkout */
[data-theme="dark"] #address-status > div {
  background: #0f110e;
  border-color: rgba(168,201,142,.2);
  color: #e8e4da;
}

/* Cart & checkout summary panels */
[data-theme="dark"] .cart-summary,
[data-theme="dark"] .shipping-box {
  background: #161a14;
  border-color: rgba(168,201,142,.12);
}
[data-theme="dark"] .cart-summary h3 { color: #e8e4da; }

/* Order summary rows */
[data-theme="dark"] .summary-row { color: rgba(168,201,142,.6); border-bottom-color: rgba(168,201,142,.1); }
[data-theme="dark"] .summary-row_total { color: #e8e4da; }

/* Confirmation page order id box */
[data-theme="dark"] .order-id-display {
  background: #161a14;
  border-color: rgba(168,201,142,.25);
  color: var(--lichen);
}

/* Policy alert boxes */
[data-theme="dark"] .policy-alert {
  background: rgba(138,53,21,.12);
  border-color: rgba(138,53,21,.3);
}
[data-theme="dark"] .policy-alert li { color: rgba(245,240,232,.6); }

/* Policy DOA box */
[data-theme="dark"] .policy-doa-box {
  background: rgba(42,69,32,.15);
  border-color: rgba(168,201,142,.2);
}
[data-theme="dark"] .policy-doa-box li { color: rgba(245,240,232,.6); }

/* Zip input in shipping estimator */
[data-theme="dark"] .zip-input {
  background: #0f110e;
  border-color: rgba(168,201,142,.18);
  color: #e8e4da;
}
[data-theme="dark"] .zip-input:focus { border-color: var(--lichen); }

/* Cart items */
[data-theme="dark"] .cart-item { border-bottom-color: rgba(168,201,142,.1); }
[data-theme="dark"] .cart-item__name { color: #e8e4da; }
[data-theme="dark"] .cart-item__price { color: rgba(168,201,142,.55); }
[data-theme="dark"] .remove-btn { color: rgba(168,201,142,.4); }
[data-theme="dark"] .remove-btn:hover { color: var(--rust); }

/* ── Dark mode: checkout notice boxes (hardcoded inline colors need overrides) ── */
[data-theme="dark"] #zip-mismatch-notice {
  background: #2a2000 !important;
  border-color: #7d5a00 !important;
  color: #f0c84a !important;
}
[data-theme="dark"] #address-invalid-notice {
  background: #2a0a0a !important;
  border-color: #7f1d1d !important;
  color: #fca5a5 !important;
}
[data-theme="dark"] #address-mismatch-notice {
  background: #2a2000 !important;
  border-color: #7d5a00 !important;
  color: #f0c84a !important;
}
[data-theme="dark"] #address-valid-notice {
  background: #0a1f0f !important;
  border-color: #166534 !important;
  color: #86efac !important;
}

/* Care page CTA box — always light green, never inverts */
[data-theme="dark"] .care-cta {
  background: rgba(168,201,142,.08) !important;
  border-color: rgba(168,201,142,.25) !important;
}
[data-theme="dark"] .care-cta__title { color: #f5f0e8; }
[data-theme="dark"] .care-cta__sub   { color: rgba(245,240,232,.6); }

/* Care page feeding list — fix bark color inversion in dark mode */
[data-theme="dark"] .care-feeding-list li { color: var(--text-secondary); }

/* ════════════════════════════════════════════════════════════════
   MOBILE FIXES — Android tap blocking & sidebar glitch
   ════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {

  /* ── Fix 1: Header backdrop-filter creates broken stacking context
        on Android Chrome, causing child elements to block taps.
        Replace with solid semi-transparent background instead. ── */
  .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(253, 251, 247, 0.98);
  }

  /* ── Fix 2: Sidebar / mobile nav overlay.
        'inset: 0' is not supported on older Android WebViews.
        Replace with explicit top/right/bottom/left values.
        Also add iOS scroll fixes and overscroll containment. ── */
  .nav-links.open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* iOS safari uses -webkit-fill-available for true full height */
    max-height: 100vh;
    max-height: -webkit-fill-available;
    z-index: 200;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }

  /* Ensure closed nav is fully hidden and not intercepting taps */
  .nav-links:not(.open) {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden;
  }

  /* ── Fix 3: Product cards — 'transform' on ancestor elements
        causes Android to lose touch-hit-test for anchor children.
        Disable transforms on mobile, use opacity feedback instead. ── */
  .product-card {
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0.04);
    transform: none !important;
    will-change: auto;
  }
  .product-card:hover {
    transform: none !important;
    box-shadow: var(--shadow-sm);
  }
  .product-card:active {
    opacity: 0.82;
    box-shadow: none;
  }

  /* ── Fix 4: Products grid — reset any stacking context that could
        sit above interactive elements ── */
  .products-grid {
    position: static;
    z-index: auto;
  }

  /* ── Fix 5: Dark mode toggle FAB — move to bottom-right on mobile
        so it doesn't overlap the bottom-left area where users scroll/tap ── */
  .dark-toggle {
    bottom: 20px;
    left: auto;
    right: 20px;
    width: 44px;
    height: 44px;
    /* Ensure it never blocks product card taps by keeping z below nav */
    z-index: 90;
  }
}

/* Dark mode: same header fix */
@media (max-width: 768px) {
  [data-theme="dark"] .site-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(10, 11, 10, 0.99);
  }

  /* Dark mode nav overlay */
  [data-theme="dark"] .nav-links.open {
    background: var(--white);
  }
}

/* ════════════════════════════════════════════════════════════════
   NAV OVERLAY — CLOSE BUTTON & FULL COVER FIX
   ════════════════════════════════════════════════════════════════ */

/* Close button hidden by default on desktop */
.nav-close {
  display: none;
}

@media (max-width: 768px) {
  /* The overlay must sit above EVERYTHING including the sticky header */
  .nav-links.open {
    z-index: 9999 !important;
  }

  /* Close (×) button — fixed to top-right corner of overlay */
  .nav-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--parchment);
    color: var(--ink);
    cursor: pointer;
    z-index: 10000;
    /* Make sure it's always tappable */
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  [data-theme="dark"] .nav-close {
    background: var(--surface);
    border-color: var(--border-strong);
    color: var(--text-primary);
  }

  .nav-close:active {
    opacity: 0.7;
  }

  /* Ensure the sticky header doesn't render above the open overlay */
  body.nav-open .site-header {
    z-index: 1 !important;
  }
}
