/* ============================================================
   The Dry Company — Redesign
   Palette: warm cream · deep forest · terracotta · marigold
   Type: Fraunces (display) · Inter (UI)
   ============================================================ */

:root {
  --cream: #F7F2E7;
  --cream-2: #F0E8D8;
  --paper: #FDFBF5;
  --ink: #22331F;
  --pine: #2E4A34;
  --pine-deep: #1D3022;
  --terra: #C9632C;
  --terra-deep: #A94E20;
  --gold: #E0A43C;
  --sage: #9DB58C;
  --muted: #6B7263;
  --line: rgba(34, 51, 31, 0.14);
  --radius: 20px;
  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Inter", -apple-system, sans-serif;
  --shadow-soft: 0 18px 45px -18px rgba(34, 51, 31, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(34, 51, 31, 0.18);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-ui);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* `overflow-x: hidden` turns <body> into a scroll container, which can break
   `position: sticky` on the header and still lets iOS pan the <html> element.
   `clip` does the same job without either side effect. */
@supports (overflow: clip) {
  html, body { overflow-x: clip; }
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: min(1180px, 92vw); margin-inline: auto; }

/* The `ul, ol { list-style: none }` reset above is for nav/UI lists only.
   Real editor content needs its bullets back. */
.page-content ul, .pd-details-body ul, .entry-content ul { list-style: disc; }
.page-content ol, .pd-details-body ol, .entry-content ol { list-style: decimal; }
.page-content ul, .page-content ol,
.entry-content ul, .entry-content ol { margin: 0 0 1rem 1.35rem; }
.page-content li, .entry-content li { margin-bottom: 0.35rem; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 480; line-height: 1.08; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 420; color: var(--terra); }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}
.eyebrow-light { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover svg { transform: translateX(4px); }
.btn-solid { background: var(--pine); color: var(--cream); box-shadow: 0 12px 24px -12px rgba(29, 48, 34, 0.55); }
.btn-solid:hover { background: var(--pine-deep); transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--pine-deep); }
.btn-light:hover { background: #fff; transform: translateY(-2px); }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.85rem; }

/* ---------- Announcement ---------- */
.announce {
  background: var(--terra);
  color: var(--cream);
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.announce-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  padding: 0.55rem 0;
  animation: slide 28s linear infinite;
}
.announce-track i { font-style: normal; opacity: 0.7; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 242, 231, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -18px rgba(34, 51, 31, 0.3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem 0; }

.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--pine); }
.logo-img { height: 58px; width: auto; display: block; }
.logo-word { height: 40px; width: auto; display: block; }
@media (max-width: 480px) {
  .logo-word { height: 32px; }
  .logo-img { height: 46px; }
}
.logo-img-footer {
  height: 84px;
  background: var(--cream);
  border-radius: 18px;
  padding: 10px;
}

.nav { display: flex; gap: 2rem; }
.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.2rem 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--terra);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 1rem; }
.cart-btn { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 1.5px solid var(--line); transition: border-color 0.25s, transform 0.25s; }
.cart-btn:hover { border-color: var(--ink); transform: translateY(-2px); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count {
  position: absolute;
  top: -5px; right: -5px;
  min-width: 19px; height: 19px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--terra);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  transition: transform 0.2s ease;
}
.cart-count.pop { transform: scale(1.35); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; width: 42px; height: 42px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--line); }
.menu-toggle span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s; }
.menu-toggle.open span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(4rem, 8vw, 6.5rem); position: relative; }
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -180px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(224, 164, 60, 0.22), transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}
.hero-title { font-size: clamp(2.9rem, 5.6vw, 4.6rem); margin-bottom: 1.4rem; }
.hero-sub { font-size: 1.08rem; color: var(--muted); max-width: 46ch; margin-bottom: 2.1rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-bottom: 2.6rem; }

.hero-stats { display: flex; gap: clamp(1.6rem, 3.5vw, 3rem); }
.hero-stats div { position: relative; }
.hero-stats div + div::before {
  content: "";
  position: absolute;
  left: calc(clamp(1.6rem, 3.5vw, 3rem) / -2);
  top: 15%;
  height: 70%;
  width: 1px;
  background: var(--line);
}
.hero-stats dt { font-family: var(--font-display); font-size: 1.9rem; font-weight: 560; color: var(--pine); line-height: 1; }
.hero-stats dd { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; margin-top: 0.35rem; }

.hero-visual { position: relative; }
.hero-stage {
  position: relative;
  aspect-ratio: 1;
  max-width: 560px;
  margin-inline: auto;
}
.hero-blob {
  position: absolute;
  inset: 5%;
  background: radial-gradient(circle at 40% 32%, #F1E7CE, var(--cream-2) 70%);
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  animation: blobmorph 14s ease-in-out infinite;
}
@keyframes blobmorph {
  0%, 100% { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; transform: rotate(0deg) scale(1); }
  50% { border-radius: 52% 48% 46% 54% / 54% 52% 48% 46%; transform: rotate(3deg) scale(1.04); }
}
.hero-powders-wrap {
  position: absolute;
  inset: 0;
  transform: translate(var(--px, 0), var(--py, 0));
  will-change: transform;
}
.hero-powders {
  position: relative;
  z-index: 1;
  width: 100%;
  filter: drop-shadow(0 26px 34px rgba(34, 51, 31, 0.28));
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.035) rotate(1.2deg); }
}

/* floating product packs */
.float-pack {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-card);
  transform: translate(var(--px, 0), var(--py, 0));
  will-change: transform;
  transition: border-color 0.3s ease;
}
.float-pack img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.fp-1 { width: 26%; aspect-ratio: 1; top: -4%; right: 16%; }
.fp-1 img { animation: drift1 6.5s ease-in-out infinite; }
.fp-2 { width: 21%; aspect-ratio: 1; bottom: 5%; left: -4%; }
.fp-2 img { animation: drift2 8s ease-in-out infinite; }
.fp-3 { width: 23%; aspect-ratio: 1; bottom: 17%; right: -5%; }
.fp-3 img { animation: drift3 7.4s ease-in-out infinite; }
@keyframes drift1 { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-14px) rotate(2deg); } }
@keyframes drift2 { 0%, 100% { transform: translateY(0) rotate(2deg); } 50% { transform: translateY(-10px) rotate(-3deg); } }
@keyframes drift3 { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(-6px, -16px) rotate(3deg); } }
.float-pack:hover { border-color: var(--terra); }

/* drifting powder particles */
.particle {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  opacity: 0.8;
  animation: rise 9s ease-in-out infinite;
}
.pt-1 { width: 10px; height: 10px; background: var(--terra); top: 68%; left: 10%; }
.pt-2 { width: 7px; height: 7px; background: var(--gold); top: 30%; left: 2%; animation-delay: 1.6s; }
.pt-3 { width: 12px; height: 12px; background: var(--sage); top: 12%; right: 26%; animation-delay: 3.1s; }
.pt-4 { width: 8px; height: 8px; background: #AC3453; bottom: 22%; right: 14%; animation-delay: 2.2s; }
.pt-5 { width: 6px; height: 6px; background: var(--pine); top: 48%; right: -2%; animation-delay: 4.4s; }
.pt-6 { width: 9px; height: 9px; background: var(--gold); bottom: 4%; left: 38%; animation-delay: 5.3s; }
@keyframes rise {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-26px) scale(1.15); opacity: 1; }
}

.chip {
  position: absolute;
  background: var(--paper);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  padding: 0.7rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: float 5s ease-in-out infinite;
}
.chip-b { right: -10px; top: 12%; flex-direction: column; align-items: flex-start; gap: 0; animation-delay: 1.4s; z-index: 3; }
.chip-b strong { font-size: 0.85rem; }
.chip-b span { font-weight: 500; color: var(--muted); font-size: 0.72rem; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.stamp {
  position: absolute;
  top: -34px; left: -34px;
  width: 116px; height: 116px;
  color: var(--pine);
  z-index: 3;
  transform: translate(var(--px, 0), var(--py, 0));
  will-change: transform;
}
.stamp svg:first-child { width: 100%; height: 100%; animation: spin 16s linear infinite; }
.stamp text { font-size: 10.5px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; fill: currentColor; font-family: var(--font-ui); }
.stamp-center {
  position: absolute; inset: 0;
  display: grid; place-items: center;
}
.stamp-center svg { width: 34px; height: 34px; color: var(--terra); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--pine-deep);
  color: var(--cream);
  transform: rotate(-1.2deg) scale(1.02);
  overflow: hidden;
  padding: 1rem 0;
  margin: 0.5rem 0 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.6rem;
  width: max-content;
  animation: slide 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.25rem;
  white-space: nowrap;
}
.marquee-track i { font-style: normal; color: var(--gold); font-size: 0.9rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-head { max-width: 620px; margin: 0 auto clamp(2.6rem, 5vw, 3.8rem); text-align: center; }
.section-head h2 { font-size: clamp(2.1rem, 4vw, 3rem); }
.section-sub { color: var(--muted); margin-top: 0.9rem; }

/* ---------- Benefits ---------- */
.benefits { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.benefit:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.benefit-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: rgba(157, 181, 140, 0.25);
  color: var(--pine);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.benefit-icon svg { width: 24px; height: 24px; }
.benefit h3 { font-size: 1.25rem; margin-bottom: 0.45rem; }
.benefit p { font-size: 0.9rem; color: var(--muted); }

/* ---------- Shop / products ---------- */
.shop { background: var(--cream-2); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.product {
  background: var(--paper);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product:hover { transform: translateY(-7px); box-shadow: var(--shadow-card); }
.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pine);
  background: rgba(253, 251, 245, 0.92);
  border: 1px solid var(--line);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}
.product-img {
  width: 100%;
  aspect-ratio: 1.15;
  background: #EFEDE6;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product:hover .product-img img { transform: scale(1.06); }
.product-link { display: flex; flex-direction: column; align-items: center; width: 100%; }
.product h3 { font-size: 1.22rem; margin-bottom: 0.35rem; padding: 0 1.2rem; transition: color 0.25s ease; }
.product-link:hover h3 { color: var(--terra); }
.product .desc { padding: 0 1.2rem; margin-bottom: 1rem; }
.product .price-row { margin-inline: 1.3rem; width: auto; align-self: stretch; }
.product .desc { font-size: 0.82rem; color: var(--muted); margin-bottom: 1rem; min-height: 2.6em; }
.product .price-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  border-top: 1px dashed var(--line);
  padding-top: 1rem;
}
.price { font-family: var(--font-display); font-size: 1.3rem; font-weight: 560; color: var(--pine-deep); }
.price small { font-size: 0.72rem; font-family: var(--font-ui); font-weight: 500; color: var(--muted); display: block; }
.add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--pine);
  color: var(--cream);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.25s, transform 0.25s;
}
.add-btn:hover { background: var(--terra); transform: scale(1.04); }
.add-btn svg { width: 15px; height: 15px; }
.add-btn.added { background: var(--sage); color: var(--pine-deep); }

/* ---------- Categories ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
.cat-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 0.85;
  display: block;
  box-shadow: var(--shadow-card);
}
.cat-card img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(29, 48, 34, 0.82) 0%, rgba(29, 48, 34, 0.18) 45%, transparent 70%);
}
.cat-info {
  position: absolute;
  left: 1.3rem; right: 1.3rem; bottom: 1.2rem;
  z-index: 2;
  color: var(--cream);
}
.cat-info h3 { font-size: 1.45rem; margin-bottom: 0.15rem; }
.cat-info p { font-size: 0.8rem; opacity: 0.85; }
.cat-arrow {
  position: absolute;
  right: 0; bottom: 0.2rem;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(247, 242, 231, 0.16);
  border: 1px solid rgba(247, 242, 231, 0.4);
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: background 0.3s, transform 0.3s;
}
.cat-arrow svg { width: 17px; height: 17px; }
.cat-card:hover .cat-arrow { background: var(--terra); border-color: var(--terra); transform: rotate(45deg); }

/* ---------- Process ---------- */
.process { background: var(--pine-deep); color: var(--cream); }
.process .section-head h2 { color: var(--cream); }
.process .section-sub { color: rgba(247, 242, 231, 0.65); }
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 34px; left: 6%; right: 6%;
  border-top: 2px dashed rgba(247, 242, 231, 0.22);
}
.step {
  position: relative;
  padding-top: 5.2rem;
  text-align: center;
}
.step-num {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 68px; height: 68px;
  border-radius: 50%;
  background: var(--pine);
  border: 2px dashed rgba(224, 164, 60, 0.55);
  color: var(--gold);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  display: grid;
  place-items: center;
  z-index: 1;
  transition: transform 0.3s ease, background 0.3s;
}
.step:hover .step-num { transform: translateX(-50%) scale(1.1); background: var(--terra); border-color: var(--cream); color: var(--cream); }
.step h3 { font-size: 1.3rem; margin-bottom: 0.5rem; color: var(--cream); }
.step p { font-size: 0.88rem; color: rgba(247, 242, 231, 0.65); max-width: 26ch; margin-inline: auto; }

/* ---------- Reviews ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.stars { color: var(--gold); letter-spacing: 0.2em; font-size: 1rem; margin-bottom: 1rem; }
.stars .dim { color: rgba(34, 51, 31, 0.18); }
.review blockquote {
  font-family: var(--font-display);
  font-size: 1.16rem;
  font-weight: 420;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.review figcaption { display: flex; align-items: center; gap: 0.85rem; }
.avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--a, var(--sage));
  color: var(--b, var(--pine));
  font-weight: 700;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
}
.review figcaption strong { display: block; font-size: 0.92rem; }
.review figcaption small { color: var(--muted); font-size: 0.78rem; }

/* ---------- Story ---------- */
.story { background: var(--cream-2); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.story-visual { position: relative; }
.story-visual img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 1.05;
  object-fit: cover;
  width: 100%;
}
.story-badge {
  position: absolute;
  right: -18px; bottom: 26px;
  background: var(--paper);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  padding: 0.9rem 1.2rem;
  display: flex;
  flex-direction: column;
}
.story-badge strong { font-family: var(--font-display); font-size: 1.15rem; color: var(--terra); }
.story-badge span { font-size: 0.75rem; color: var(--muted); }
.story-copy h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); margin-bottom: 1.2rem; }
.story-copy > p { color: var(--muted); margin-bottom: 1rem; max-width: 52ch; }
.story-list { margin: 1.4rem 0 2rem; display: grid; gap: 0.7rem; }
.story-list li { display: flex; align-items: center; gap: 0.7rem; font-weight: 500; font-size: 0.95rem; }
.story-list li::before {
  content: "";
  width: 22px; height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(157, 181, 140, 0.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232E4A34' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--terra);
  color: var(--cream);
  text-align: center;
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before, .cta-band::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  border: 1.5px dashed rgba(247, 242, 231, 0.3);
}
.cta-band::before { width: 340px; height: 340px; top: -140px; left: -100px; }
.cta-band::after { width: 420px; height: 420px; bottom: -220px; right: -140px; }
.cta-inner h2 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 1rem; }
.cta-inner h2 em { color: var(--pine-deep); }
.cta-inner p { color: rgba(247, 242, 231, 0.85); margin-bottom: 2rem; }
.cta-inner .btn { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { background: var(--pine-deep); color: rgba(247, 242, 231, 0.75); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(3.5rem, 6vw, 5rem) 0 3rem;
}
.logo-light { color: var(--cream); margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.9rem; max-width: 32ch; margin-bottom: 1.4rem; }
.socials { display: flex; gap: 0.7rem; }
.socials a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(247, 242, 231, 0.25);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.socials a:hover { background: var(--terra); border-color: var(--terra); transform: translateY(-3px); }
.socials svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}
.footer-col a { display: block; font-size: 0.92rem; padding: 0.32rem 0; transition: color 0.2s, transform 0.2s; }
.footer-col a:hover { color: var(--cream); transform: translateX(4px); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.6rem;
  border-top: 1px solid rgba(247, 242, 231, 0.14);
  padding: 1.4rem 0 1.8rem;
  font-size: 0.8rem;
}
.footer-bottom .pay { letter-spacing: 0.06em; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 26px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--pine-deep);
  color: var(--cream);
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 100;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Product detail page ---------- */
.page-product { padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(4rem, 7vw, 6rem); }
.pd-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 2.2rem;
  transition: color 0.25s ease;
}
.pd-back svg { width: 18px; height: 18px; transition: transform 0.25s ease; }
.pd-back:hover { color: var(--terra); }
.pd-back:hover svg { transform: translateX(-4px); }

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  margin-bottom: clamp(3.5rem, 6vw, 5rem);
}
.pd-visual {
  background: #EFEDE6;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-card);
}
.pd-visual img { width: 100%; height: 100%; object-fit: cover; }
.pd-tag { position: static; display: inline-block; margin-bottom: 1rem; }
.pd-info h1 { font-size: clamp(2.1rem, 3.8vw, 3rem); margin-bottom: 0.5rem; }
.pd-price {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 560;
  color: var(--pine);
  margin-bottom: 1.2rem;
}
.pd-desc { color: var(--muted); margin-bottom: 1.7rem; max-width: 52ch; }
.pd-uses h4 {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.7rem;
}
.pd-use-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.9rem; }
.pd-use-chips span {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 500;
}
.pd-add { margin-bottom: 1.8rem; }
.pd-trust { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; }
.pd-trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--muted);
}
.pd-trust svg { width: 15px; height: 15px; color: var(--pine); flex-shrink: 0; }

.pd-related h2 { font-size: 1.7rem; margin-bottom: 1.4rem; }
.pd-related-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.pd-rel-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  padding-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.pd-rel-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.pd-rel-img { aspect-ratio: 1.3; background: #EFEDE6; overflow: hidden; margin-bottom: 0.8rem; }
.pd-rel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.pd-rel-card:hover .pd-rel-img img { transform: scale(1.06); }
.pd-rel-card strong { font-family: var(--font-display); font-size: 1.05rem; font-weight: 560; padding: 0 0.8rem; }
.pd-rel-price { color: var(--muted); font-size: 0.88rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }
.reveal[data-delay="4"] { transition-delay: 0.32s; }
.reveal[data-delay="5"] { transition-delay: 0.4s; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; margin-inline: auto; width: 100%; }
  .benefits-grid, .product-grid, .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; }
  .steps::before { display: none; }
  .story-grid { grid-template-columns: 1fr; }
  .story-visual { max-width: 560px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pd-grid { grid-template-columns: 1fr; }
  .pd-visual { max-width: 520px; }
  .pd-related-row { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-card);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav.open { max-height: 320px; }
  .nav a { padding: 1rem 5vw; border-top: 1px solid var(--line); }
  .menu-toggle { display: flex; }
  .header-cta { display: none; }
  .review-grid { grid-template-columns: 1fr; }
  .chip-b { right: -6px; }
  .stamp { width: 92px; height: 92px; top: -24px; left: -18px; }
  .hero-stats { gap: 1.4rem; }
  .hero-stats dt { font-size: 1.5rem; }
  .fp-2 { left: -2%; }
  .fp-3 { right: -2%; }
  .pd-related-row { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .benefits-grid, .product-grid, .cat-grid, .steps { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 1.15; }
  .story-badge { right: 8px; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(29, 48, 34, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 9998;
}
.cart-overlay.open { opacity: 1; pointer-events: auto; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100dvh;
  width: min(420px, 100%);
  background: var(--paper);
  box-shadow: -24px 0 60px -30px rgba(29, 48, 34, 0.5);
  transform: translateX(102%);
  transition: transform 0.38s cubic-bezier(0.22, 0.9, 0.3, 1);
  z-index: 9999;
  display: flex;
  flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--pine-deep); }
.cart-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--pine);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.cart-close svg { width: 16px; height: 16px; }
.cart-close:hover { background: var(--pine); color: var(--paper); }

.cart-ship {
  margin: 1rem 1.5rem 0;
  padding: 0.7rem 1rem;
  border-radius: 12px;
  background: var(--cream-2);
  color: var(--pine);
  font-size: 0.88rem;
  text-align: center;
}
.cart-ship strong { color: var(--terra); }
.cart-ship.unlocked { background: #E7EFDF; color: var(--pine-deep); }
.cart-ship.unlocked strong { color: var(--pine-deep); }

.cart-items { flex: 1; overflow-y: auto; padding: 1.2rem 1.5rem; display: flex; flex-direction: column; gap: 1.1rem; }

.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); display: flex; flex-direction: column; gap: 0.7rem; align-items: center; }
.cart-empty-title { font-family: "Fraunces", serif; font-size: 1.3rem; color: var(--pine-deep); }
.cart-empty .btn { margin-top: 0.6rem; }

.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0.9rem;
  align-items: center;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 14px; background: #EFEDE6; }
.cart-item-info { display: flex; flex-direction: column; gap: 0.25rem; }
.cart-item-info strong { color: var(--pine-deep); font-size: 0.95rem; }
.cart-item-info > span { font-size: 0.8rem; color: var(--muted); }

.cart-qty { display: inline-flex; align-items: center; gap: 0.55rem; margin-top: 0.25rem; }
.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--pine);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.qty-btn:hover { background: var(--pine); color: var(--paper); }
.cart-qty span { min-width: 1.2em; text-align: center; font-weight: 600; font-size: 0.9rem; }

.cart-item-right { display: flex; flex-direction: column; align-items: flex-end; gap: 0.35rem; }
.cart-item-right strong { color: var(--pine-deep); font-size: 0.95rem; }
.cart-remove {
  background: none;
  border: none;
  padding: 0;
  font-size: 0.78rem;
  color: var(--muted);
  text-decoration: underline;
  cursor: pointer;
}
.cart-remove:hover { color: var(--terra); }

.cart-foot { padding: 1.2rem 1.5rem 1.5rem; border-top: 1px solid var(--line); background: var(--paper); }
.cart-subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.cart-subtotal span { color: var(--muted); font-size: 0.92rem; }
.cart-subtotal strong { font-family: "Fraunces", serif; font-size: 1.5rem; color: var(--pine-deep); }
.cart-checkout { width: 100%; justify-content: center; }
.cart-note { margin-top: 0.8rem; text-align: center; font-size: 0.78rem; color: var(--muted); }

/* ---------- Admin bar offset (only visible when logged in) ---------- */
body.admin-bar .header { top: 32px; }
body.admin-bar .announce { margin-top: 0; }
@media (max-width: 782px) {
  body.admin-bar .header { top: 46px; }
}

/* ---------- Static pages (about, policies, cart, checkout, account) ---------- */
.page-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.page-shell { max-width: 760px; }
.page-shell-wide { max-width: 1180px; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.9rem);
  color: var(--pine-deep);
  margin-bottom: 1.5rem;
}
.page-content { line-height: 1.8; color: var(--ink); }
.page-content h2 { font-size: 1.6rem; margin: 2rem 0 0.8rem; }
.page-content h3 { font-size: 1.25rem; margin: 1.6rem 0 0.6rem; }
.page-content p { margin-bottom: 1rem; }
.page-content a { color: var(--pine); text-decoration: underline; text-underline-offset: 3px; }
.page-content a:hover { color: var(--terra); }
.page-content table { width: 100%; border-collapse: collapse; margin-bottom: 1.2rem; }
.page-content th, .page-content td { border: 1px solid var(--line); padding: 0.6rem 0.8rem; text-align: left; }
.post-teaser { padding-bottom: 1.6rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--line); }
.post-teaser h2 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.post-teaser h2 a:hover { color: var(--terra); }
.page-links, .pagination { display: flex; gap: 0.5rem; margin-top: 1.5rem; }

/* Hero float badges now carry real product shots rather than the logo.
   The drift animation shifts the image inside its circle, so oversize it
   slightly - otherwise the corner of the badge shows through at the extremes. */
.float-pack { background: var(--paper); }
.float-pack img { width: 112%; height: 112%; margin: -6%; }
