/* Theme v2: modern luxury. Loaded only in preview (?preview=v2) until approved. */
.theme-v2 {
  --bg: #f7f4ec;
  --surface: #fffdf8;
  --ink: #16241a;
  --muted: #6f7468;
  --line: #e7e1d3;
  --green: #1f4d2b;
  --green-dark: #143820;
  --green-soft: #ece8dc;
  --accent: #b8923f;
  --gold: #b8923f;
  --radius: 20px;
  --shadow: 0 2px 6px rgba(22, 36, 26, .04), 0 18px 40px rgba(22, 36, 26, .08);
  background: var(--bg);
  font-family: Inter, system-ui, sans-serif;
  letter-spacing: -.005em;
}
.theme-v2 h1, .theme-v2 h2, .theme-v2 h3, .theme-v2 .hero h1, .theme-v2 .pdp-info h1 {
  font-family: Outfit, Inter, sans-serif; font-weight: 400; letter-spacing: -.02em;
}
.theme-v2 h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 300; }

/* Bars */
.preview-bar { background: #2b2b2b; color: #fff; text-align: center; font-size: .8rem; padding: 6px 16px; }
.preview-bar a { color: #f0d79a; margin-left: 6px; }
.announce { background: var(--green); color: #e9dcb8; text-align: center; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; padding: 9px 16px; }

/* Header */
.theme-v2 .site-header { background: rgba(247, 244, 236, .88); backdrop-filter: saturate(140%) blur(12px); -webkit-backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.theme-v2 .bar { height: 76px; }
.theme-v2 nav { gap: 30px; }
.theme-v2 nav a { font-size: .78rem; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--ink); }
.theme-v2 nav a:hover { color: var(--gold); }
.theme-v2 .cart-link { border: 1px solid var(--ink); border-radius: 99px; padding: 8px 16px; }
.theme-v2 .cart-link:hover { background: var(--ink); color: var(--bg); }
.theme-v2 .badge { background: var(--gold); }

/* Buttons */
.theme-v2 .btn { border-radius: 99px; background: var(--green); padding: 12px 26px; font-weight: 500; letter-spacing: .02em; transition: background .2s, transform .2s; }
.theme-v2 .btn:hover { background: var(--green-dark); transform: translateY(-1px); }
.theme-v2 .btn-lg { padding: 16px 34px; font-size: .95rem; }
.theme-v2 .btn-sm { padding: 8px 16px; font-size: .8rem; }
.theme-v2 .btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.theme-v2 .btn-ghost:hover { background: var(--ink); color: var(--bg); }

/* Hero: dark forest panel */
.theme-v2 .hero { background: radial-gradient(120% 140% at 85% 10%, #2a6139 0%, var(--green) 45%, #10301b 100%); color: #f7f4ec; position: relative; overflow: hidden; }
.theme-v2 .hero::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 60%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(233, 220, 184, .18); pointer-events: none; }
.theme-v2 .hero-grid { padding-top: 88px; padding-bottom: 96px; gap: 64px; }
.theme-v2 .hero h1 { color: #f7f4ec; font-size: clamp(2.4rem, 5.6vw, 4.2rem); font-weight: 300; line-height: 1.04; }
.theme-v2 .eyebrow { color: var(--gold); letter-spacing: .28em; font-size: .72rem; font-weight: 500; }
.theme-v2 .hero .lead { color: rgba(247, 244, 236, .78); font-size: 1.1rem; max-width: 30em; }
.theme-v2 .hero .btn { background: #e9dcb8; color: var(--green-dark); }
.theme-v2 .hero .btn:hover { background: #fff; }
.theme-v2 .hero .muted { color: rgba(247, 244, 236, .6); }
.theme-v2 .hero-img img { border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }

/* Section headings */
.theme-v2 .section { padding-top: 72px; padding-bottom: 40px; }
.theme-v2 .section > h2:first-child, .theme-v2 .shop-head h2 { position: relative; padding-bottom: 14px; margin-bottom: 28px; }
.theme-v2 .section > h2:first-child::after, .theme-v2 .shop-head h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 44px; height: 2px; background: var(--gold); }

/* Chips & search */
.theme-v2 .chip { border-color: var(--line); background: transparent; font-size: .82rem; padding: 8px 16px; letter-spacing: .02em; }
.theme-v2 .chip.on { background: var(--ink); border-color: var(--ink); }
.theme-v2 .search input { border-radius: 99px; background: var(--surface); padding: 12px 20px; }

/* Product cards: borderless, image on a soft tile */
.theme-v2 .grid { gap: 28px 22px; }
.theme-v2 .card { background: transparent; border: 0; border-radius: 0; overflow: visible; }
.theme-v2 .card:hover { box-shadow: none; transform: none; }
.theme-v2 .card-img { display: block; border-radius: var(--radius); overflow: hidden; background: var(--green-soft); }
.theme-v2 .card-img img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.theme-v2 .card:hover .card-img img { transform: scale(1.045); }
.theme-v2 .card-body { padding: 16px 4px 0; }
.theme-v2 .cat { color: var(--gold); font-weight: 500; letter-spacing: .18em; font-size: .68rem; }
.theme-v2 .card h3 { font-family: Inter, sans-serif; font-weight: 500; font-size: .98rem; letter-spacing: -.01em; margin: 6px 0 10px; }
.theme-v2 .price { font-family: Outfit, sans-serif; font-weight: 500; font-size: 1.15rem; }
.theme-v2 .card .btn-sm { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.theme-v2 .card .btn-sm:hover { background: var(--ink); color: var(--bg); }

/* Trust strip */
.theme-v2 .trust { gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 0; padding-bottom: 0; margin-top: 56px; }
.theme-v2 .trust div { background: transparent; border: 0; border-radius: 0; padding: 36px 28px; text-align: center; }
.theme-v2 .trust div + div { border-left: 1px solid var(--line); }
.theme-v2 .trust strong { font-family: Outfit, sans-serif; font-weight: 400; font-size: 1.15rem; margin-bottom: 6px; }
.theme-v2 .trust strong::before { content: "◆"; display: block; color: var(--gold); font-size: .6rem; margin-bottom: 12px; }

/* Product page */
.theme-v2 .pdp-img img { border: 0; border-radius: 28px; background: var(--green-soft); }
.theme-v2 .thumb { border-radius: 14px; border-color: transparent; background: var(--green-soft); }
.theme-v2 .thumb.on { border-color: var(--gold); }
.theme-v2 .pdp-info h1 { font-weight: 300; font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.08; }
.theme-v2 .pdp-price { font-family: Outfit, sans-serif; font-weight: 400; font-size: 2rem; }
.theme-v2 .add-form input { border-radius: 99px; text-align: center; }
.theme-v2 .review, .theme-v2 .review-form form, .theme-v2 .box, .theme-v2 .co-summary, .theme-v2 fieldset, .theme-v2 .cart { border-color: var(--line); background: var(--surface); border-radius: var(--radius); }
.theme-v2 .stars { color: var(--gold); }

/* Forms */
.theme-v2 .checkout input:not([type=radio]), .theme-v2 .checkout textarea, .theme-v2 .track input, .theme-v2 .checkout-like input:not([type=radio]), .theme-v2 .checkout-like textarea { border-radius: 12px; background: #fff; }
.theme-v2 label.radio { border-radius: 14px; }
.theme-v2 label.radio:has(input:checked) { border-color: var(--gold); background: #fbf6ea; }

/* Footer: dark forest */
.theme-v2 .site-footer { background: #10301b; border-top: 0; color: rgba(247, 244, 236, .82); margin-top: 88px; }
.theme-v2 .foot { padding-top: 56px; padding-bottom: 56px; }
.theme-v2 .site-footer .disclaimer { color: rgba(247, 244, 236, .5); }
.theme-v2 .flash { background: #fbf6ea; border-color: #eadbb5; border-radius: 14px; }

@media (max-width: 860px) {
  .theme-v2 .hero-grid { padding-top: 40px; padding-bottom: 56px; gap: 32px; }
  .theme-v2 .trust div + div { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .announce { font-size: .66rem; letter-spacing: .08em; }
  .theme-v2 .bar { height: 64px; }
  .theme-v2 nav { gap: 12px; }
  .theme-v2 nav a { font-size: .68rem; letter-spacing: .08em; }
  .theme-v2 .cart-link { padding: 6px 10px; }
  .theme-v2 .grid { gap: 22px 12px; }
  .theme-v2 .card .btn-sm { width: 100%; }
}

/* Keep the footer at the bottom on short pages */
body.theme-v2 { min-height: 100vh; display: flex; flex-direction: column; }
.theme-v2 main { flex: 1 0 auto; }

/* Bag icon inside the outlined cart pill */
.theme-v2 .cart-link { padding: 8px 18px 8px 14px; gap: 9px; }
.theme-v2 .cart-link:hover .bag .badge { box-shadow: 0 0 0 2px var(--ink); }
@media (max-width: 560px) { .theme-v2 .cart-link { padding: 7px 11px; } }
