/* ==========================================================================
   CLOVE — A World of Scent. Design system.
   Palette: Copper #BD823F · Charcoal #282828 · Cream #F4EEE5 · Beige #D9C7AE
   Type: Cormorant Garamond (display) + Jost (UI/body)
   ========================================================================== */

:root {
  --copper: #BD823F;
  --copper-deep: #9a6b2e;   /* accessible copper for text on light bg */
  --copper-dark: #a5712e;
  --charcoal: #282828;
  --charcoal-2: #1f1d1a;
  --cream: #F4EEE5;
  --cream-soft: #faf7f1;
  --beige: #D9C7AE;
  --band: #efe7da;          /* cream→beige mix for band sections */
  --ink: #282828;
  --ink-2: #6b6257;
  --ink-3: #9a9186;
  --line: #e4dbc9;
  --line-dark: rgba(244, 238, 229, 0.14);
  --card: #fffdf9;
  --error: #b3402f;
  --ok: #2e7d43;
  --radius: 3px;
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'Jost', -apple-system, 'Segoe UI', Arial, sans-serif;
  --shadow-soft: 0 18px 40px -18px rgba(40, 40, 40, 0.25);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--cream); }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: transparent;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: 15px; color: var(--ink); }
.site-main { flex: 1 0 auto; width: 100%; }

/* ---------- fragrance air — site-wide drifting mist (left → right) ----------
   Fixed layer behind all content. Soft beige/copper wisps, thin air currents
   and tiny fragrance motes continuously flow across the cream background.
   Pure CSS transforms (GPU friendly); disabled for prefers-reduced-motion. */
.mist {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.mist span, .mist i { position: absolute; left: 0; display: block; will-change: transform; }

/* soft scent wisps */
.mist .w1, .mist .w2, .mist .w3, .mist .w4, .mist .w5 {
  width: 58vw; height: 36vw; min-width: 420px; min-height: 260px;
  border-radius: 50%;
  background: radial-gradient(closest-side,
    rgba(217, 199, 174, 0.48),
    rgba(217, 199, 174, 0.20) 52%,
    rgba(217, 199, 174, 0) 74%);
}
.mist .w2 { background: radial-gradient(closest-side, rgba(189, 130, 63, 0.15), rgba(189, 130, 63, 0.07) 50%, rgba(189, 130, 63, 0) 72%); }
.mist .w3 { background: radial-gradient(closest-side, rgba(255, 253, 249, 0.72), rgba(255, 253, 249, 0.28) 50%, rgba(255, 253, 249, 0) 72%); }
.mist .w4 { background: radial-gradient(closest-side, rgba(217, 199, 174, 0.38), rgba(217, 199, 174, 0.14) 50%, rgba(217, 199, 174, 0) 72%); }
.mist .w5 { background: radial-gradient(closest-side, rgba(189, 130, 63, 0.11), rgba(189, 130, 63, 0.05) 50%, rgba(189, 130, 63, 0) 72%); }
.mist .w1 { top: 4%;  animation: mistA 95s  linear infinite; animation-delay: -12s; }
.mist .w2 { top: 30%; animation: mistB 120s linear infinite; animation-delay: -70s; }
.mist .w3 { top: 55%; animation: mistA 105s linear infinite; animation-delay: -48s; }
.mist .w4 { top: 12%; animation: mistB 130s linear infinite; animation-delay: -100s; }
.mist .w5 { top: 72%; animation: mistA 110s linear infinite; animation-delay: -80s; }

/* thin air currents */
.mist .s1, .mist .s2, .mist .s3 {
  width: 130vw; height: 9vh; min-height: 54px;
  background: linear-gradient(to right,
    rgba(217, 199, 174, 0),
    rgba(217, 199, 174, 0.36) 35%,
    rgba(255, 253, 249, 0.45) 55%,
    rgba(217, 199, 174, 0.36) 75%,
    rgba(217, 199, 174, 0));
  border-radius: 50%;
}
.mist .s1 { top: 22%; animation: mistS 58s linear infinite; animation-delay: -8s; }
.mist .s2 { top: 48%; animation: mistS 74s linear infinite; animation-delay: -40s; }
.mist .s3 { top: 74%; animation: mistS 66s linear infinite; animation-delay: -26s; }

/* fragrance motes */
.mist .m1, .mist .m2, .mist .m3, .mist .m4 {
  width: 26px; height: 26px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(189, 130, 63, 0.32), rgba(189, 130, 63, 0.12) 55%, rgba(189, 130, 63, 0) 75%);
}
.mist .m1 { top: 18%; animation: mistM 38s linear infinite; animation-delay: -6s; }
.mist .m2 { top: 44%; animation: mistM 46s linear infinite; animation-delay: -22s; }
.mist .m3 { top: 63%; animation: mistM 42s linear infinite; animation-delay: -34s; }
.mist .m4 { top: 86%; animation: mistM 52s linear infinite; animation-delay: -12s; }

@keyframes mistA {
  0%   { transform: translate3d(-75vw, 0, 0) rotate(-2deg) scale(1); }
  30%  { transform: translate3d(2vw, -3vh, 0) rotate(1deg) scale(1.07); }
  62%  { transform: translate3d(62vw, 2.5vh, 0) rotate(-1deg) scale(0.95); }
  100% { transform: translate3d(155vw, 0, 0) rotate(2deg) scale(1); }
}
@keyframes mistB {
  0%   { transform: translate3d(-75vw, 0, 0) rotate(2deg) scale(0.96); }
  28%  { transform: translate3d(-2vw, 3vh, 0) rotate(-1deg) scale(1.05); }
  58%  { transform: translate3d(58vw, -2vh, 0) rotate(1deg) scale(1); }
  100% { transform: translate3d(155vw, 0, 0) rotate(-2deg) scale(0.96); }
}
@keyframes mistS {
  0%   { transform: translate3d(-135vw, 0, 0) rotate(-3.5deg); }
  50%  { transform: translate3d(0vw, 1.5vh, 0) rotate(-3.5deg); }
  100% { transform: translate3d(135vw, 0, 0) rotate(-3.5deg); }
}
@keyframes mistM {
  0%   { transform: translate3d(-8vw, 0, 0); opacity: 0; }
  12%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { transform: translate3d(108vw, -6vh, 0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mist { display: none; }
}

h1, h2, h3 { margin: 0; line-height: 1.15; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

/* ---------- utilities ---------- */
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }
.narrow { max-width: 780px; }
.center { text-align: center; }
.muted { color: var(--ink-3); font-weight: 400; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--charcoal); color: var(--cream); padding: 10px 18px; font-size: 13px;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--copper-deep); font-weight: 500; margin: 0 0 14px;
}
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto clamp(32px, 5vw, 56px); }
.section-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.4vw, 42px); }
.section-sub { color: var(--ink-2); font-size: 16.5px; margin-top: 12px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 15px 30px; border-radius: var(--radius);
  font-size: 12px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  border: 1px solid transparent; transition: all 0.25s ease; text-decoration: none;
}
.btn-primary { background: var(--copper); color: var(--charcoal-2); }
.btn-primary:hover { background: var(--copper-dark); color: #201a12; transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(189, 130, 63, 0.55); }
.btn-outline { border-color: var(--charcoal); color: var(--charcoal); background: transparent; }
.btn-outline:hover { border-color: var(--copper); color: var(--copper-deep); }
.btn-gold { background: var(--copper); color: var(--charcoal-2); }
.btn-gold:hover { background: var(--copper-dark); color: #1c1710; transform: translateY(-2px); }
.btn-ghost { color: var(--ink-2); padding: 12px 18px; }
.btn-ghost:hover { color: var(--copper-deep); }
.btn-sm { padding: 9px 16px; font-size: 11px; }
.btn-block { width: 100%; }
.text-btn {
  background: none; border: 0; padding: 4px 2px; font-size: 12.5px; letter-spacing: 0.04em;
  color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px;
}
.text-btn:hover { color: var(--copper-deep); }

/* ---------- flash messages ---------- */
.flashes { padding-top: 18px; }
.flash {
  padding: 13px 18px; border-radius: var(--radius); font-size: 14px; margin-bottom: 10px;
  border: 1px solid; max-width: 720px;
}
.flash-success { background: #edf5ef; border-color: #cfe5d4; color: var(--ok); }
.flash-error { background: #fdefed; border-color: #f2d4cf; color: var(--error); }
.flash-info { background: #f6f1e7; border-color: var(--line); color: var(--ink-2); }

/* ---------- announcement ---------- */
.announce {
  background: var(--charcoal); color: var(--beige);
  text-align: center; font-size: 10.5px; letter-spacing: 0.32em; text-transform: uppercase;
  padding: 11px 16px;
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 238, 229, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -18px rgba(40, 40, 40, 0.28); }
.header-inner { display: flex; align-items: center; gap: clamp(18px, 3vw, 44px); padding: 12px 0; }
.brand img { height: 52px; width: auto; }
.main-nav { display: flex; gap: clamp(14px, 1.8vw, 26px); margin-inline: auto; }
.nav-link {
  font-size: 12.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-2); padding: 8px 2px; position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px;
  background: var(--copper); transition: right 0.28s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.header-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line); padding: 4px 2px; color: var(--ink-3); transition: border-color .25s; }
.header-search:focus-within { border-color: var(--copper); color: var(--copper-deep); }
.header-search input { border: 0; background: none; outline: none; width: 210px; font-size: 13.5px; }
.header-search input::placeholder { color: var(--ink-3); }
.bag-link { display: flex; align-items: center; gap: 9px; font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); }
.bag-link:hover, .bag-link.is-active { color: var(--copper-deep); }
.bag-count {
  min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--copper); color: var(--charcoal-2); font-size: 11px; font-weight: 600;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav-toggle { display: none; background: none; border: 0; width: 40px; height: 40px; position: relative; }
.nav-toggle span { position: absolute; left: 8px; right: 8px; height: 1.6px; background: var(--charcoal); transition: all .28s ease; }
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { top: 20px; transform: rotate(-45deg); }
.mobile-panel { display: none; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 96px); }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 72px); line-height: 1.02; margin: 0 0 22px;
}
.hero-title em { font-style: italic; color: var(--copper-deep); }
.hero-sub { font-size: 17px; color: var(--ink-2); max-width: 46ch; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-media { position: relative; }
.hero-media::before {
  content: ""; position: absolute; inset: 14px -14px -14px 14px;
  background: var(--beige); opacity: 0.5; border-radius: 999px 999px var(--radius) var(--radius);
}
.hero-media img {
  position: relative; width: 100%; height: 100%; object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  aspect-ratio: 3 / 3.55;
  box-shadow: var(--shadow-soft);
}

/* ---------- product grid ---------- */
.grid-controls { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 34px; }
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  border: 1px solid rgba(40, 40, 40, 0.28); background: transparent; color: var(--ink-2);
  padding: 9px 20px; border-radius: 999px; font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; transition: all .22s ease;
}
.pill:hover { border-color: var(--copper); color: var(--copper-deep); }
.pill.is-active { background: var(--charcoal); border-color: var(--charcoal); color: var(--cream); }
.sort-label { font-size: 13px; color: var(--ink-2); display: inline-flex; align-items: center; gap: 10px; }
.sort-label select {
  border: 1px solid var(--line); background: var(--card); border-radius: var(--radius);
  padding: 9px 12px; font-size: 13px; color: var(--ink);
}

.product-grid {
  display: grid; gap: 30px 22px;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
}
.product-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); border-color: var(--beige); }
.pc-media { position: relative; aspect-ratio: 1 / 1; background: var(--cream-soft); overflow: hidden; }
.pc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .pc-media img { transform: scale(1.05); }
.pc-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pc-name { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.pc-inspired { font-family: var(--font-display); font-style: italic; font-size: 16.5px; color: var(--ink-2); }
.pc-meta { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pc-price { margin-top: 4px; font-size: 15px; }
.pc-price s { color: var(--ink-3); margin-right: 8px; font-size: 13.5px; }
.pc-price strong { color: var(--ink); font-weight: 600; }
.pc-cta {
  margin-top: auto; padding-top: 14px; font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-deep);
  border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center;
  transition: color .22s ease;
}
.pc-cta::after { content: "→"; transition: transform .25s ease; }
.product-card:hover .pc-cta { color: var(--ink); }
.product-card:hover .pc-cta::after { transform: translateX(5px); }

.chip {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 11px; border-radius: 999px; font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.chip-sale { background: var(--charcoal); color: var(--copper); }
.chip-low { background: rgba(255, 253, 249, 0.94); border: 1px solid var(--line); color: var(--ink); }
.chip-soldout { background: var(--charcoal); color: var(--cream); }
.chip-lg { top: 16px; left: 16px; font-size: 11.5px; }

.no-results { text-align: center; padding: 70px 20px; }
.no-results p { color: var(--ink-2); font-size: 16.5px; margin-bottom: 18px; }

/* ---------- band sections ---------- */
.section-band { background: var(--band); border-block: 1px solid var(--line); text-align: center; }
.section-band .container { display: flex; flex-direction: column; align-items: center; }
.band-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(28px, 4vw, 40px); margin-bottom: 16px; }
.band-copy { color: var(--ink-2); font-size: 16.5px; max-width: 62ch; margin-inline: auto; margin-bottom: 30px; }
.section-dark .container, .section-delivery .container { display: flex; flex-direction: column; align-items: center; }

.section-dark { background: var(--charcoal); color: var(--cream); text-align: center; }
.section-dark .band-title { color: var(--cream); }
.section-dark .band-copy { color: rgba(244, 238, 229, 0.72); max-width: 66ch; }
.section-dark .eyebrow { color: var(--copper); }

.section-delivery { background: var(--cream-soft); border-block: 1px solid var(--line); text-align: center; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 56px); margin-bottom: 44px; }
.step { border-top: 1px solid var(--line); padding-top: 22px; }
.step-no { font-family: var(--font-display); font-style: italic; font-size: 34px; color: var(--copper-deep); display: block; margin-bottom: 10px; }
.step h3 { font-size: 15px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 8px; }
.step p { color: var(--ink-2); font-size: 15px; }

/* ---------- generic page head ---------- */
.page-head { padding: clamp(44px, 6vw, 76px) 0 6px; }
.page-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.05; }
.page-title em { font-style: italic; color: var(--copper-deep); }
.page-sub { color: var(--ink-2); font-size: 16.5px; margin-top: 14px; max-width: 62ch; }

.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 12.5px; color: var(--ink-3); }
.breadcrumbs a:hover { color: var(--copper-deep); }
.breadcrumbs strong { color: var(--ink); font-weight: 500; }

/* ---------- product detail ---------- */
.pdp { padding-top: 10px; }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.pdp-media {
  position: relative; background: var(--cream-soft); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 1/1;
}
.pdp-media img { width: 100%; height: 100%; object-fit: cover; }
.pdp-media.is-soldout img { opacity: 0.55; }
.pdp-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(38px, 5vw, 54px); line-height: 1; margin-bottom: 10px; }
.pdp-inspired { font-family: var(--font-display); font-style: italic; font-size: 20px; color: var(--ink-2); margin-bottom: 6px; }
.pdp-meta { font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px; }
.pdp-price { font-size: 15px; margin: 0 0 18px; }
.pdp-price s { color: var(--ink-3); margin-right: 10px; font-size: 17px; }
.pdp-price strong { font-size: 28px; font-weight: 600; }
.pdp-desc { color: var(--ink-2); font-size: 16.5px; max-width: 52ch; margin-bottom: 28px; }
.pdp-form { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 18px; }
.qty { display: inline-flex; border: 1px solid var(--charcoal); border-radius: var(--radius); overflow: hidden; }
.qty-btn { width: 44px; height: 50px; background: transparent; border: 0; font-size: 19px; color: var(--ink); transition: background .2s; }
.qty-btn:hover { background: var(--band); }
.qty input { width: 52px; border: 0; text-align: center; font-size: 16px; outline: none; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.pdp-help { display: inline-block; font-size: 13.5px; color: var(--ink-2); text-decoration: underline; text-underline-offset: 4px; }
.pdp-help:hover { color: var(--copper-deep); }
.pdp-soldout {
  margin: 18px 0 26px; padding: 14px 18px; border-left: 3px solid var(--copper);
  background: var(--band); font-size: 14.5px; color: var(--ink-2);
}
.independence {
  margin-top: 30px; padding: 16px 20px; border-left: 3px solid var(--beige);
  background: var(--cream-soft); font-size: 13.5px; color: var(--ink-2); max-width: 56ch;
}
.independence strong { display: block; color: var(--ink); margin-bottom: 4px; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; }

.info-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 64px) clamp(28px, 4vw, 56px); }
.info-block { border-top: 1px solid var(--line); padding-top: 22px; }
.info-block h2 {
  font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--copper-deep); margin-bottom: 12px;
}
.info-block p { color: var(--ink-2); font-size: 15.5px; }
.info-block a { color: var(--copper-deep); text-decoration: underline; text-underline-offset: 3px; }
.info-block a:hover { color: var(--ink); }
.notes { white-space: pre-line; }

/* ---------- our story ---------- */
.story-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.lead { font-family: var(--font-display); font-size: clamp(22px, 3vw, 28px); line-height: 1.35; color: var(--ink); margin-bottom: 18px; }
.story-copy > p { color: var(--ink-2); font-size: 16.5px; max-width: 58ch; }
.story-sub { font-family: var(--font-display); font-size: 30px; margin: 36px 0 20px !important; color: var(--ink) !important; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 34px; margin: 0 0 34px; }
.value { border-top: 1px solid var(--line); padding-top: 16px; }
.value span { font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--copper-deep); display: block; margin-bottom: 6px; }
.value h3 { font-size: 14.5px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 6px; }
.value p { color: var(--ink-2); font-size: 14.5px; }
.story-media img { border-radius: 999px 999px var(--radius) var(--radius); box-shadow: var(--shadow-soft); aspect-ratio: 3/3.6; object-fit: cover; width: 100%; }

/* ---------- faq / policies / legal ---------- */
.faq-list { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 18px; padding: 20px 2px; font-size: 16.5px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-display); font-size: 26px; color: var(--copper-deep);
  transition: transform .25s ease; line-height: 1;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 2px 22px; }
.faq-body p { color: var(--ink-2); font-size: 15.5px; max-width: 66ch; }
.policy { margin-top: 56px; border-top: 1px solid var(--line); padding-top: 34px; }
.policy h2 { font-family: var(--font-display); font-weight: 500; font-size: 28px; margin-bottom: 14px; }
.policy p { color: var(--ink-2); font-size: 15.5px; }
.policy strong { color: var(--ink); }
.policy a { color: var(--copper-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--copper-deep); margin: 34px 0 10px; }
.legal p { color: var(--ink-2); font-size: 15.5px; }
.legal .lead { color: var(--ink); font-family: var(--font-display); font-size: 22px; }

/* ---------- forms ---------- */
.field { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 18px; }
.field input, .field textarea {
  display: block; width: 100%; margin-top: 8px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 13px 15px;
  font-size: 15px; font-weight: 400; letter-spacing: 0.02em; text-transform: none; color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--copper); box-shadow: 0 0 0 4px rgba(189, 130, 63, 0.14);
}
.field.has-error input, .field.has-error textarea { border-color: var(--error); }
.field-error { display: block; margin-top: 6px; font-size: 12.5px; color: var(--error); text-transform: none; letter-spacing: 0.02em; font-weight: 400; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.contact-form { max-width: 620px; margin: 10px auto 0; text-align: left; }
.form-alt { font-size: 13.5px; color: var(--ink-3); margin: 14px 0 0; text-align: center; }
.form-alt a { color: var(--copper-deep); }

/* ---------- bag ---------- */
.bag-grid { display: grid; grid-template-columns: 1.55fr 0.9fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.bag-line {
  display: grid; grid-template-columns: 92px 1fr auto auto auto; gap: 20px;
  align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line);
}
.bl-media { width: 92px; height: 92px; border-radius: var(--radius); overflow: hidden; background: var(--cream-soft); border: 1px solid var(--line); }
.bl-media img { width: 100%; height: 100%; object-fit: cover; }
.bl-name { font-size: 15px; font-weight: 600; letter-spacing: 0.09em; text-transform: uppercase; }
.bl-name:hover { color: var(--copper-deep); }
.bl-inspired { font-size: 13.5px; color: var(--ink-2); font-family: var(--font-display); font-style: italic; font-size: 15.5px; }
.bl-price { font-size: 14.5px; color: var(--ink); margin: 6px 0 0; }
.bl-price s { color: var(--ink-3); margin-right: 8px; }
.bl-qty { display: flex; align-items: center; gap: 10px; }
.bl-qty input {
  width: 62px; padding: 10px 8px; text-align: center;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card);
}
.bl-line-total { font-weight: 600; font-size: 15.5px; min-width: 90px; text-align: right; }
.bl-remove { justify-self: end; }
.bag-clearrow { padding: 22px 0 0; }
.empty-bag { text-align: center; padding: 80px 20px; }
.empty-bag p { font-family: var(--font-display); font-size: 26px; color: var(--ink-2); margin-bottom: 22px; }

.bag-summary {
  background: var(--charcoal); color: var(--cream); border-radius: var(--radius);
  padding: 30px 30px 26px; position: sticky; top: 96px;
}
.bag-summary h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige); margin-bottom: 20px; }
.bag-summary dl { margin: 0; }
.bag-summary dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; font-size: 15px; }
.bag-summary dt { color: rgba(244, 238, 229, 0.65); }
.bag-summary dd { margin: 0; }
.bag-summary .total { border-top: 1px solid var(--line-dark); margin-top: 10px; padding-top: 16px !important; }
.bag-summary .total dt { color: var(--cream); font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; }
.bag-summary .total dd { font-size: 24px; font-weight: 600; color: var(--copper); font-family: var(--font-display); }
.summary-note { font-size: 12.5px; color: rgba(244, 238, 229, 0.5); margin: 18px 0 20px !important; }
.bag-summary .btn { margin-bottom: 10px; }
.mini-lines { list-style: none; margin: 0 0 18px; padding: 0; }
.mini-lines li { display: flex; justify-content: space-between; gap: 14px; padding: 7px 0; font-size: 14.5px; border-bottom: 1px solid var(--line-dark); }
.ml-name { color: rgba(244, 238, 229, 0.85); }
.ml-price { font-weight: 500; }

/* ---------- checkout ---------- */
.checkout-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(32px, 4vw, 60px); align-items: start; }
.checkout-form { max-width: 640px; }
.checkout-form .btn { margin-top: 6px; }

/* ---------- order placed ---------- */
.order-placed { text-align: center; max-width: 640px; margin: 0 auto; }
.order-ref { font-size: 14px; letter-spacing: 0.08em; color: var(--ink-2); margin: 6px 0 10px; }
.order-ref strong { color: var(--copper-deep); font-size: 16px; }
.order-summary { text-align: left; margin: 34px 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.order-summary h2 { font-size: 13px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--copper-deep); margin-bottom: 18px; }
.order-summary dl > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 15px; }
.order-summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px !important; }
.order-summary .total dd { font-weight: 600; font-size: 20px; font-family: var(--font-display); }
.order-summary dt { color: var(--ink-2); }
.order-summary dd { margin: 0; }
.order-summary .summary-note { color: var(--ink-3); margin: 16px 0 0 !important; }

/* ---------- footer ---------- */
.site-footer { margin-top: auto; background: var(--charcoal); color: var(--cream); }
.footer-grid {
  display: grid; grid-template-columns: 1.7fr 1fr 1fr 1.3fr;
  gap: clamp(30px, 4vw, 56px); padding: clamp(48px, 6vw, 80px) 0 44px;
}
.wordmark { font-size: 30px; font-weight: 600; letter-spacing: 0.34em; }
.wordmark span { color: var(--cream); }
.wordmark em { font-style: normal; color: var(--copper); }
.f-tagline { font-size: 10.5px; letter-spacing: 0.28em; color: var(--beige); text-transform: uppercase; margin: 14px 0 10px !important; }
.f-note { font-size: 13.5px; color: rgba(244, 238, 229, 0.55); max-width: 30ch; }
.f-col h3 { font-size: 11.5px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--beige); margin-bottom: 16px; }
.f-col a { display: block; font-size: 14px; color: rgba(244, 238, 229, 0.68); padding: 5px 0; }
.f-col a:hover { color: var(--copper); }
.f-hours { font-size: 13px; color: rgba(244, 238, 229, 0.45); margin-top: 14px !important; }
.footer-bottom { border-top: 1px solid var(--line-dark); padding: 20px 0; }
.footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; font-size: 13px; color: rgba(244, 238, 229, 0.5); }
.admin-link { font-size: 12px; letter-spacing: 0.14em; color: rgba(244, 238, 229, 0.32); }
.admin-link:hover { color: var(--copper); }

/* ---------- animations ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: fadeUp .7s ease both; }
  .hero-copy > *:nth-child(2) { animation-delay: .08s; }
  .hero-copy > *:nth-child(3) { animation-delay: .16s; }
  .hero-copy > *:nth-child(4) { animation-delay: .24s; }
  @keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1020px) {
  .header-search input { width: 130px; }
  .main-nav { gap: 14px; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; order: 0; }
  .brand { order: 1; margin-inline: auto; }
  .brand img { height: 44px; }
  .header-actions { order: 2; margin-left: 0; }
  .header-actions .bag-label { display: none; }
  .header-search { display: none; }
  .main-nav { display: none; }
  .header-inner { justify-content: space-between; }

  .mobile-panel { display: block; border-top: 1px solid var(--line); background: var(--cream); }
  /* the [hidden] attribute must still win over display:block above,
     otherwise the opened menu can never be collapsed on mobile */
  .mobile-panel[hidden] { display: none; }
  .mobile-panel nav { display: flex; flex-direction: column; padding: 10px 0 18px; }
  .mobile-panel a { padding: 13px 4px; font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); border-bottom: 1px solid var(--line); }
  .mobile-panel a:last-child { border-bottom: 0; }
  .mobile-panel a:hover { color: var(--copper-deep); }
  .mobile-search { padding: 14px 0 4px; }
  .mobile-search input {
    width: 100%; border: 1px solid var(--line); background: var(--card);
    border-radius: var(--radius); padding: 12px 15px; font-size: 15px;
  }

  .hero-grid, .pdp-grid, .story-grid, .bag-grid, .checkout-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; }
  .pdp-media { max-width: 560px; }
  .story-media { order: -1; max-width: 440px; }
  .info-blocks { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .values { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .bag-summary { position: static; }

  .bag-line { grid-template-columns: 84px 1fr auto; grid-template-areas: "media info info" "media qty total" "media remove remove"; row-gap: 12px; }
  .bl-media { grid-area: media; width: 84px; height: 84px; }
  .bl-info { grid-area: info; }
  .bl-qty { grid-area: qty; justify-self: start; }
  .bl-line-total { grid-area: total; justify-self: end; }
  .bl-remove { grid-area: remove; justify-self: start; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .container { width: min(1180px, 100% - 32px); }
  .hero-cta .btn { width: 100%; }
  .grid-controls { flex-direction: column; align-items: flex-start; }
  .pc-cta::after { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .pdp-form .btn { width: 100%; }
  .qty { flex: 1; }
  .qty input { width: 100%; }
  .hero-media::before { display: none; }
}
