/* Wildfern Apothecary · Victorian botanical maximalism */
:root {
  --bg: #f1e7cb;
  --bg-2: #eadcaf;
  --bg-3: #e0cf94;
  --paper: #f7efd6;
  --ink: #2a1813;
  --ink-soft: #6b4a36;
  --line: #a3804a;
  --line-soft: #cfb583;
  --oxblood: #8e2a2a;
  --oxblood-hot: #b03535;
  --gold: #b88318;
  --forest: #2d4a2d;
  --rose: #c67d7d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  background-image:
    radial-gradient(circle at 25% 15%, rgba(184,131,24,0.04) 0, transparent 50%),
    radial-gradient(circle at 75% 65%, rgba(142,42,42,0.04) 0, transparent 50%),
    radial-gradient(circle at 50% 95%, rgba(45,74,45,0.04) 0, transparent 40%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }

.display, h1, h2, h3, h4 {
  font-family: "DM Serif Display", "Playfair Display", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1;
}
h1 em, h2 em, h3 em {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  color: var(--oxblood);
}

.smallcaps, .eyebrow {
  font-family: "Cinzel", serif;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--oxblood);
}

/* ---------- Ornamental strip (top banner) ---------- */
.ornament-strip {
  background: var(--ink);
  color: var(--bg);
  padding: 10px 24px;
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}
.ornament-strip::before,
.ornament-strip::after {
  content: "❦";
  padding: 0 16px;
  color: var(--gold);
  font-size: 14px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 32px 48px 24px;
  border-bottom: 3px double var(--line);
  background: var(--bg);
  position: relative;
}
.site-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
}
.site-nav { display: flex; gap: 32px; justify-self: start; }
.site-nav a {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink);
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.site-nav a:hover, .site-nav a.active { border-color: var(--oxblood); color: var(--oxblood); }
.brand {
  justify-self: center;
  text-align: center;
  line-height: 1;
  position: relative;
  padding: 0 48px;
}
.brand::before, .brand::after {
  content: "✣";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  font-size: 16px;
}
.brand::before { left: 0; }
.brand::after { right: 0; }
.brand .name {
  font-family: "DM Serif Display", serif;
  font-size: 40px;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: block;
  color: var(--ink);
}
.brand .name em { font-style: italic; color: var(--oxblood); }
.brand .tag {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 9px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}
.cart-link {
  justify-self: end;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 18px;
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
}
.cart-link [data-cart-count] {
  font-family: "Cinzel", serif;
  font-style: normal;
  font-size: 11px;
  font-weight: 600;
  color: var(--bg);
  background: var(--oxblood);
  padding: 3px 8px;
  min-width: 20px;
  text-align: center;
}

/* ---------- Hero ---------- */
.hero {
  padding: 80px 48px 60px;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.hero .chapter {
  font-family: "Cinzel", serif;
  font-size: 14px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.hero .chapter::before, .hero .chapter::after {
  content: "";
  display: inline-block;
  width: 60px;
  height: 1px;
  background: var(--line);
}
.hero h1 {
  font-size: clamp(58px, 10vw, 172px);
  max-width: 14ch;
  margin: 0 auto 20px;
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.02em;
  position: relative;
}
.hero .sub-display {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 38px);
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 32ch;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
}
.hero-wreath {
  position: relative;
  margin: 40px auto 60px;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: center;
}
.hero-wreath .wreath-left,
.hero-wreath .wreath-right {
  aspect-ratio: 1/2;
}
.hero-wreath .wreath-left svg,
.hero-wreath .wreath-right svg { width: 100%; height: 100%; }
.hero-wreath .center {
  padding: 36px 20px;
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
  position: relative;
}
.hero-wreath .center::before,
.hero-wreath .center::after {
  content: "❦";
  position: absolute;
  color: var(--gold);
  font-size: 22px;
  background: var(--bg);
  padding: 0 12px;
  left: 50%;
  transform: translateX(-50%);
}
.hero-wreath .center::before { top: -14px; }
.hero-wreath .center::after { bottom: -14px; }
.hero .lead {
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink);
  line-height: 1.75;
  font-family: "EB Garamond", serif;
}
.hero .lead .dropcap {
  float: left;
  font-family: "DM Serif Display", serif;
  font-size: 62px;
  line-height: 0.85;
  padding: 6px 10px 0 0;
  color: var(--oxblood);
  font-style: italic;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 40px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 500;
  transition: background 0.3s, transform 0.3s;
  border: 2px solid var(--ink);
  position: relative;
}
.btn:hover { background: var(--oxblood); border-color: var(--oxblood); transform: translateY(-2px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
}
.btn.ghost:hover { background: var(--ink); color: var(--paper); }
.btn .arrow { transition: transform 0.3s; }
.btn:hover .arrow { transform: translateX(5px); }
.btn-wrap {
  display: inline-block;
  padding: 10px;
  border: 1px solid var(--line);
  position: relative;
  margin: 24px 0;
}
.btn-wrap::before, .btn-wrap::after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold);
}
.btn-wrap::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.btn-wrap::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- Section dividers ---------- */
.divider {
  padding: 40px 48px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.divider svg { max-width: 500px; width: 100%; height: auto; color: var(--line); }
.divider .label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-top: 16px;
}

/* ---------- Section ---------- */
.section {
  padding: 80px 48px;
  max-width: 1400px;
  margin: 0 auto;
}
.section-head {
  text-align: center;
  margin-bottom: 72px;
  position: relative;
}
.section-head .chapter {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 22px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.section-head .chapter::before, .section-head .chapter::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--line);
}
.section-head h2 {
  font-size: clamp(48px, 7vw, 108px);
  max-width: 15ch;
  margin: 0 auto 24px;
  line-height: 0.95;
}
.section-head .lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.7;
  font-style: italic;
  font-family: "EB Garamond", serif;
}

/* ---------- Product grid (ornate labels) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 40px;
}
.product-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; }
.product-card {
  display: block;
  color: var(--ink);
  background: var(--paper);
  padding: 20px 20px 28px;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line-soft);
}
.product-card::before,
.product-card::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--oxblood);
  pointer-events: none;
}
.product-card::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.product-card::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }
.product-card:hover { transform: translateY(-8px); }
.product-card .label-top {
  text-align: center;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oxblood);
  padding: 6px 0 14px;
  margin: 0 20px 12px;
  border-bottom: 1px solid var(--line-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.product-card .label-top::before, .product-card .label-top::after {
  content: "•";
  color: var(--gold);
  font-size: 12px;
}
.product-card .img {
  aspect-ratio: 4/5;
  background: var(--bg-2);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative;
  border: 1px solid var(--line-soft);
}
.product-card .img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.9s ease;
}
.product-card:hover .img img { transform: scale(1.05); }
.product-card h3 {
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  font-weight: 400;
  margin: 0 12px 8px;
  line-height: 1.05;
  text-align: center;
  color: var(--ink);
}
.product-card h3 em { font-style: italic; color: var(--oxblood); }
.product-card .sub {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
  margin: 0 12px 16px;
  min-height: 40px;
  font-style: italic;
  text-align: center;
  font-family: "EB Garamond", serif;
}
.product-card .price-line {
  text-align: center;
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  margin: 0 12px;
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.product-card .was {
  color: var(--ink-soft);
  text-decoration: line-through;
  margin-left: 10px;
}
.product-grid.cols-4 .product-card { padding: 14px 14px 20px; }
.product-grid.cols-4 .product-card h3 { font-size: 22px; }
.product-grid.cols-4 .product-card .label-top { margin: 0 8px 10px; font-size: 9px; padding: 4px 0 10px; }

/* ---------- Story section ---------- */
.story {
  background: var(--bg-2);
  padding: 120px 48px;
  position: relative;
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
  background-image:
    radial-gradient(circle at 10% 30%, rgba(184,131,24,0.06) 0, transparent 40%),
    radial-gradient(circle at 90% 70%, rgba(142,42,42,0.06) 0, transparent 40%);
}
.story-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 100px;
  align-items: center;
}
.story .chapter {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.story .chapter::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--line);
}
.story h2 {
  font-size: clamp(46px, 7vw, 108px);
  margin-bottom: 36px;
  line-height: 0.95;
}
.story p {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.85;
  margin-bottom: 22px;
  max-width: 520px;
  font-family: "EB Garamond", serif;
}
.story p .dropcap {
  float: left;
  font-family: "DM Serif Display", serif;
  font-size: 70px;
  line-height: 0.85;
  padding: 8px 14px 0 0;
  color: var(--oxblood);
  font-style: italic;
}
.story .quote {
  font-family: "DM Serif Display", serif;
  font-size: 32px;
  font-style: italic;
  color: var(--oxblood);
  line-height: 1.35;
  padding: 32px 40px;
  border: 1px solid var(--line);
  margin: 40px 0;
  max-width: 520px;
  position: relative;
  background: var(--paper);
}
.story .quote::before {
  content: "❛";
  position: absolute;
  top: -20px;
  left: 24px;
  font-size: 60px;
  color: var(--oxblood);
  background: var(--bg-2);
  padding: 0 10px;
  line-height: 1;
  font-style: normal;
}
.story .quote::after {
  content: "❦";
  position: absolute;
  bottom: -14px;
  right: 28px;
  font-size: 22px;
  color: var(--gold);
  background: var(--bg-2);
  padding: 0 10px;
}
.story-botanical {
  aspect-ratio: 3/4;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 20px;
  position: relative;
  box-shadow: 0 0 0 8px var(--bg-2), 0 0 0 9px var(--line-soft);
}
.story-botanical::before {
  content: "HERB. VULG. WILDFERN · SOMERSET";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  padding: 0 16px;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ink);
}
.story-botanical::after {
  content: "PL. XIV · MMXXVI";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-2);
  padding: 0 16px;
  font-family: "Cinzel", serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--ink-soft);
}
.story-botanical svg { width: 100%; height: 100%; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  gap: 36px;
  flex-wrap: wrap;
  margin-bottom: 64px;
  padding: 24px 0;
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
  justify-content: center;
  position: relative;
}
.filter-bar button {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--ink-soft);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
  transition: all 0.25s;
}
.filter-bar button:hover { color: var(--ink); }
.filter-bar button.active {
  color: var(--oxblood);
  border-color: var(--oxblood);
}

/* ---------- Product detail ---------- */
.product-detail {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 48px 120px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.product-detail .breadcrumb {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 15px;
  color: var(--ink-soft);
  margin-bottom: 30px;
  grid-column: 1/-1;
  text-align: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-soft);
}
.product-detail .breadcrumb a:hover { color: var(--oxblood); }
.product-image {
  aspect-ratio: 3/4;
  background: var(--paper);
  padding: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 8px var(--bg), 0 0 0 9px var(--line-soft);
  position: relative;
}
.product-image::before {
  content: "WILDFERN · APOTHECARY";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--oxblood);
}
.product-image img { width: 100%; height: 100%; object-fit: cover; border: 1px solid var(--line-soft); }
.product-info { padding-top: 20px; }
.product-info .cat-tag {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 20px;
  padding: 6px 14px;
  border: 1px solid var(--oxblood);
}
.product-info h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(44px, 5vw, 76px);
  font-weight: 400;
  margin-bottom: 18px;
  line-height: 0.98;
}
.product-info h1 em { font-style: italic; color: var(--oxblood); }
.product-info .sub {
  color: var(--ink-soft);
  font-size: 20px;
  margin-bottom: 36px;
  line-height: 1.4;
  font-style: italic;
  font-family: "EB Garamond", serif;
}
.product-info .description {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 40px;
  padding: 32px 0;
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
  font-family: "EB Garamond", serif;
}
.product-info .description .dropcap {
  float: left;
  font-family: "DM Serif Display", serif;
  font-size: 56px;
  line-height: 0.85;
  padding: 6px 12px 0 0;
  color: var(--oxblood);
  font-style: italic;
}
.product-info .price-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 36px;
}
.product-info .price {
  font-family: "DM Serif Display", serif;
  font-size: 52px;
  font-weight: 400;
  color: var(--oxblood);
  font-style: italic;
}
.product-info .was {
  color: var(--ink-soft);
  text-decoration: line-through;
  font-size: 22px;
}
.variant-group-label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 14px;
}
.variant-picker {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 36px;
}
.variant-picker label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border: 1px solid var(--line);
  cursor: pointer;
  transition: all 0.3s;
  background: var(--paper);
  position: relative;
}
.variant-picker label:hover { border-color: var(--oxblood); }
.variant-picker input { display: none; }
.variant-picker label:has(input:checked) {
  border-color: var(--oxblood);
  background: #f6e5d1;
  box-shadow: inset 0 0 0 1px var(--oxblood);
}
.variant-picker .v-name {
  font-family: "DM Serif Display", serif;
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
}
.variant-picker .v-price {
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
}
.qty-row {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.qty {
  display: flex;
  border: 2px double var(--line);
  align-items: center;
  background: var(--paper);
}
.qty button {
  width: 52px;
  height: 100%;
  font-size: 22px;
  color: var(--ink);
  font-family: "DM Serif Display", serif;
}
.qty button:hover { color: var(--oxblood); }
.qty input {
  width: 48px;
  text-align: center;
  background: transparent;
  border: 0;
  font-family: "DM Serif Display", serif;
  font-size: 22px;
}
.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.add-btn {
  flex: 1;
  padding: 18px 28px;
  background: var(--oxblood);
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-weight: 600;
  transition: background 0.3s;
  border: 2px solid var(--oxblood);
}
.add-btn:hover { background: var(--ink); border-color: var(--ink); }
.add-btn.added { background: var(--forest); border-color: var(--forest); }

.ingredients {
  margin-top: 40px;
  padding: 28px 32px;
  border: 1px solid var(--line);
  background: var(--paper);
  position: relative;
}
.ingredients::before {
  content: "◆ APOTHECARY NOTES ◆";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: "Cinzel", serif;
  font-size: 9px;
  letter-spacing: 0.3em;
  color: var(--oxblood);
}
.ingredients p {
  font-family: "EB Garamond", serif;
  font-size: 16px;
  font-style: italic;
  color: var(--ink);
  line-height: 1.7;
  margin: 0;
}

/* ---------- Page head ---------- */
.page-head {
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 48px 50px;
  text-align: center;
}
.page-head .chapter {
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 26px;
}
.page-head .chapter::before, .page-head .chapter::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--line);
}
.page-head h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(64px, 10vw, 168px);
  font-weight: 400;
  line-height: 0.92;
  margin-bottom: 28px;
}
.page-head h1 em { font-style: italic; color: var(--oxblood); }
.page-head .lead {
  max-width: 560px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.75;
  font-style: italic;
  font-family: "EB Garamond", serif;
}

/* ---------- Cart ---------- */
.cart-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px 140px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: start;
}
.cart-items {
  background: var(--paper);
  padding: 32px 36px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-soft);
  position: relative;
}
.cart-items::before {
  content: "◆ LEDGER ◆";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--oxblood);
}
.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px dashed var(--line-soft);
  align-items: center;
}
.cart-item:last-child { border-bottom: 0; }
.cart-item img { width: 100px; height: 130px; object-fit: cover; background: var(--bg-2); border: 1px solid var(--line-soft); }
.cart-item h3 {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 6px;
  line-height: 1.1;
}
.cart-item .v {
  color: var(--ink-soft);
  font-style: italic;
  font-family: "EB Garamond", serif;
  font-size: 16px;
  margin-bottom: 16px;
}
.cart-item .rm {
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 14px;
  color: var(--oxblood);
  padding: 6px;
}
.cart-item .rm:hover { text-decoration: underline; }
.cart-item .line-price {
  font-family: "DM Serif Display", serif;
  font-size: 24px;
  color: var(--ink);
}
.cart-summary {
  background: var(--paper);
  padding: 40px 36px;
  border: 2px double var(--line);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-soft);
  position: sticky;
  top: 40px;
}
.cart-summary::before {
  content: "◆ TO PAY ◆";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--oxblood);
}
.cart-summary h2 {
  font-family: "DM Serif Display", serif;
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 28px;
  color: var(--oxblood);
}
.cart-summary .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--ink-soft);
  font-family: "EB Garamond", serif;
  font-style: italic;
}
.cart-summary .row.total {
  border-top: 2px double var(--line);
  padding-top: 24px;
  margin-top: 24px;
  color: var(--ink);
  font-family: "DM Serif Display", serif;
  font-size: 30px;
  font-style: italic;
}
.cart-summary .total .v { color: var(--oxblood); }
.cart-summary .btn { width: 100%; justify-content: center; margin-top: 32px; }
.empty-cart { text-align: center; padding: 100px 20px; grid-column: 1/-1; }
.empty-cart h2 {
  font-family: "DM Serif Display", serif;
  font-size: 64px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--oxblood);
}
.empty-cart p { color: var(--ink-soft); margin-bottom: 40px; font-style: italic; font-family: "EB Garamond", serif; font-size: 20px; }

/* ---------- Checkout ---------- */
.checkout-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 48px 140px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 60px;
  align-items: start;
}
.checkout-form {
  background: var(--paper);
  padding: 48px;
  border: 1px solid var(--line);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-soft);
}
.checkout-form .field-group {
  margin-bottom: 52px;
  padding-bottom: 36px;
  border-bottom: 1px dashed var(--line-soft);
}
.checkout-form .field-group:last-of-type { border-bottom: 0; }
.checkout-form h2 {
  font-family: "DM Serif Display", serif;
  font-size: 34px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 30px;
  color: var(--oxblood);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.checkout-form h2::before {
  content: counter(section, upper-roman) ".";
  font-family: "Cinzel", serif;
  font-size: 16px;
  font-style: normal;
  color: var(--gold);
  letter-spacing: 0.1em;
  counter-increment: section;
}
.checkout-form { counter-reset: section; }
.field { margin-bottom: 24px; }
.field label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 10px;
}
.field input, .field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
  color: var(--ink);
  font-size: 18px;
  font-family: "EB Garamond", serif;
  font-style: italic;
  transition: border-color 0.3s;
}
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--oxblood);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.submit-btn {
  width: 100%;
  padding: 22px;
  background: var(--oxblood);
  color: var(--paper);
  font-family: "Cinzel", serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 600;
  margin-top: 20px;
  border: 2px solid var(--oxblood);
  transition: background 0.3s;
}
.submit-btn:hover { background: var(--ink); border-color: var(--ink); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.order-mini {
  background: var(--paper);
  padding: 40px 36px;
  border: 2px double var(--line);
  box-shadow: 0 0 0 6px var(--bg), 0 0 0 7px var(--line-soft);
  position: sticky;
  top: 40px;
}
.order-mini::before {
  content: "◆ YOUR ORDER ◆";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg);
  padding: 0 14px;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--oxblood);
}
.order-mini h3 {
  font-family: "DM Serif Display", serif;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 24px;
  color: var(--oxblood);
}
.order-mini .mini-item {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-soft);
  align-items: center;
}
.order-mini .mini-item img { width: 58px; height: 74px; object-fit: cover; border: 1px solid var(--line-soft); }
.order-mini .mini-item .n {
  font-family: "DM Serif Display", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 4px;
}
.order-mini .mini-item .v { color: var(--ink-soft); font-size: 13px; font-style: italic; font-family: "EB Garamond", serif; }
.order-mini .mini-item .p { font-family: "DM Serif Display", serif; font-size: 19px; color: var(--oxblood); }
.order-mini .totals { margin-top: 24px; }
.order-mini .totals .row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink-soft);
  font-family: "EB Garamond", serif;
  font-style: italic;
}
.order-mini .totals .row.total {
  border-top: 2px double var(--line);
  padding-top: 20px;
  margin-top: 20px;
  color: var(--ink);
  font-family: "DM Serif Display", serif;
  font-size: 26px;
  font-style: italic;
}
.order-mini .totals .total .v { color: var(--oxblood); }

/* ---------- Thanks / Order confirmation ---------- */
.thanks {
  max-width: 920px;
  margin: 0 auto;
  padding: 140px 48px;
  text-align: center;
  position: relative;
}
.thanks .seal {
  width: 100px; height: 100px;
  border: 3px double var(--oxblood);
  border-radius: 50%;
  margin: 0 auto 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  position: relative;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--oxblood);
}
.thanks .seal span {
  font-family: "DM Serif Display", serif;
  font-size: 46px;
  font-style: italic;
  color: var(--oxblood);
}
.thanks .chapter {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--oxblood);
  margin-bottom: 26px;
  padding: 0 20px;
  position: relative;
}
.thanks .chapter::before, .thanks .chapter::after {
  content: "❦";
  color: var(--gold);
  font-size: 14px;
  margin: 0 10px;
}
.thanks h1 {
  font-family: "DM Serif Display", serif;
  font-size: clamp(52px, 8vw, 120px);
  font-weight: 400;
  margin-bottom: 32px;
  line-height: 0.95;
}
.thanks h1 em { font-style: italic; color: var(--oxblood); }
.thanks .lead {
  color: var(--ink);
  font-size: 19px;
  line-height: 1.85;
  max-width: 580px;
  margin: 0 auto 52px;
  font-family: "EB Garamond", serif;
  font-style: italic;
}
.order-number {
  display: inline-block;
  padding: 16px 32px;
  background: var(--paper);
  border: 2px double var(--oxblood);
  font-family: "Cinzel", serif;
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--oxblood);
  margin-bottom: 80px;
  text-transform: uppercase;
  box-shadow: 0 0 0 4px var(--bg), 0 0 0 5px var(--line-soft);
}
.order-detail {
  text-align: left;
  border-top: 3px double var(--line);
  padding-top: 56px;
}
.order-detail h2 {
  font-family: "DM Serif Display", serif;
  font-size: 40px;
  font-weight: 400;
  font-style: italic;
  margin-bottom: 40px;
  color: var(--oxblood);
  text-align: center;
}
.order-detail .block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
.order-detail .block .eyebrow { display: block; margin-bottom: 12px; }
.order-detail .block p {
  color: var(--ink);
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 100px 48px 48px;
  margin-top: 60px;
  border-top: 3px double var(--gold);
  position: relative;
}
.site-footer::before {
  content: "❦ WILDFERN · ESTD MMXVIII ❦";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ink);
  padding: 0 20px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 0.34em;
  color: var(--gold);
}
.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
}
.footer-inner .brand { text-align: left; padding: 0; }
.footer-inner .brand::before, .footer-inner .brand::after { display: none; }
.footer-inner .brand .name { font-size: 44px; color: var(--paper); }
.footer-inner .brand .name em { color: var(--gold); }
.footer-inner .brand .tag { color: var(--line-soft); }
.footer-inner p { color: var(--line-soft); font-size: 15px; line-height: 1.8; max-width: 340px; margin-top: 18px; font-style: italic; font-family: "EB Garamond", serif; }
.footer-inner h4 {
  font-family: "Cinzel", serif;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 24px;
}
.footer-inner ul { list-style: none; }
.footer-inner ul li {
  margin-bottom: 12px;
  font-family: "EB Garamond", serif;
  font-style: italic;
  font-size: 18px;
  color: var(--paper);
}
.footer-inner ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1400px;
  margin: 80px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-between;
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--line-soft);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 52px 32px; }
  .product-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .story-inner, .product-detail, .cart-wrap, .checkout-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-wreath { grid-template-columns: 1fr; }
  .hero-wreath .wreath-left, .hero-wreath .wreath-right { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 52px; }
}
@media (max-width: 780px) {
  .site-header { padding: 24px 24px 20px; }
  .site-header-inner { grid-template-columns: auto 1fr auto; gap: 14px; }
  .site-nav { display: none; }
  .brand { padding: 0 36px; }
  .brand .name { font-size: 28px; }
  .hero, .section, .page-head, .cart-wrap, .checkout-grid, .product-detail { padding-left: 24px; padding-right: 24px; }
  .hero { padding-top: 50px; padding-bottom: 40px; }
  .section { padding: 60px 24px; }
  .story { padding: 80px 24px; }
  .product-grid { grid-template-columns: 1fr; gap: 48px; }
  .field-row { grid-template-columns: 1fr; gap: 24px; }
  .checkout-form { padding: 28px 24px; }
  .cart-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .cart-item img { width: 80px; height: 104px; }
  .cart-item .line-price { grid-column: 2; }
  .footer-inner { grid-template-columns: 1fr; gap: 44px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .order-detail .block { grid-template-columns: 1fr; gap: 32px; }
}
