/* ============================================================
   SoapCraft Studio — Design System
   Natural Craft Workshop · Cream / Olive / Wood / Beige
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,500;0,9..144,600;1,9..144,400;1,9..144,500&family=Nunito+Sans:ital,opsz,wght@0,6..12,400;0,6..12,600;0,6..12,700;1,6..12,400&family=Caveat:wght@500;600&display=swap');

:root {
  --cream: #FAF6EF;
  --paper: #FFFDF8;
  --beige: #EFE7D9;
  --beige-deep: #E6DAC6;
  --olive: #6B7F4E;
  --olive-deep: #54653D;
  --olive-soft: #8A9B6E;
  --bark: #2E2A24;
  --bark-soft: #57503F;
  --wood: #B08968;
  --wood-deep: #8A6A48;
  --sage: #A8B89A;
  --honey: #D9A441;
  --blush: #E8C4B8;
  --line: rgba(46, 42, 36, 0.12);
  --line-soft: rgba(46, 42, 36, 0.07);
  --shadow-sm: 0 2px 10px rgba(46, 42, 36, 0.06);
  --shadow-md: 0 10px 34px rgba(46, 42, 36, 0.10);
  --shadow-lg: 0 24px 70px rgba(46, 42, 36, 0.16);
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Nunito Sans', -apple-system, 'Segoe UI', sans-serif;
  --font-hand: 'Caveat', cursive;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 76px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--bark);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font-family: inherit; font-size: 1rem; color: var(--bark); }
ul, ol { list-style: none; }
::selection { background: var(--sage); color: var(--bark); }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; }
.h-display { font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 400; }
.h-1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); }
.h-2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
.h-3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.eyebrow {
  font-family: var(--font-body); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--wood);
  display: inline-flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 34px; height: 1.5px; background: var(--wood); }
.eyebrow.center::after { content: ''; width: 34px; height: 1.5px; background: var(--wood); }
.lead { font-size: 1.13rem; color: var(--bark-soft); max-width: 60ch; }
.hand { font-family: var(--font-hand); font-size: 1.6rem; color: var(--olive); }
em.accent { font-style: italic; color: var(--olive); }

/* ---------- layout ---------- */
.container { width: min(1280px, 92vw); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section.tight { padding: clamp(40px, 6vw, 72px) 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 5vw, 56px); flex-wrap: wrap; }
.section-head .txt { max-width: 640px; }
.section-head h2 { margin-top: 14px; }
.grid { display: grid; gap: 24px; }
.bg-beige { background: var(--beige); }
.bg-bark { background: var(--bark); color: var(--cream); }
.bg-bark .eyebrow { color: var(--honey); }
.bg-bark .eyebrow::before, .bg-bark .eyebrow.center::after { background: var(--honey); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 32px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.02em; transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-out), background 0.25s;
  will-change: transform; position: relative; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg.arrow { transform: translateX(4px); }
.btn-primary { background: var(--olive); color: var(--cream); box-shadow: 0 10px 26px rgba(107, 127, 78, 0.35); }
.btn-primary:hover { background: var(--olive-deep); transform: translateY(-2px); box-shadow: 0 16px 34px rgba(107, 127, 78, 0.42); }
.btn-outline { border: 1.5px solid var(--bark); color: var(--bark); background: transparent; }
.btn-outline:hover { background: var(--bark); color: var(--cream); transform: translateY(-2px); }
.btn-light { background: var(--cream); color: var(--bark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { padding: 12px 20px; color: var(--olive); font-weight: 700; }
.btn-ghost:hover { color: var(--olive-deep); }
.btn-block { width: 100%; }
.btn-lg { padding: 18px 42px; font-size: 1.02rem; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--olive); border-bottom: 1.5px solid transparent; transition: gap .3s var(--ease-out), border-color .3s; }
.link-arrow:hover { gap: 14px; border-color: var(--olive); }

/* ---------- header ---------- */
.topbar {
  background: var(--bark); color: var(--cream); font-size: 0.8rem; letter-spacing: 0.06em;
  text-align: center; padding: 9px 16px; position: relative; z-index: 60;
}
.topbar strong { color: var(--honey); font-weight: 700; }
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(250, 246, 239, 0.85);
  backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled { border-color: var(--line-soft); box-shadow: 0 6px 30px rgba(46,42,36,0.06); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.logo { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.01em; display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo em { color: var(--olive); font-style: italic; }
.logo .mark { width: 34px; height: 34px; }
.main-nav { display: flex; gap: 4px; margin-inline: auto; height: 100%; }
.main-nav > li { height: 100%; display: flex; align-items: center; }
.main-nav a.nav-link {
  padding: 8px 14px; font-weight: 600; font-size: 0.94rem; border-radius: 999px;
  transition: background .25s, color .25s; display: inline-flex; align-items: center; gap: 6px;
}
.main-nav a.nav-link:hover, .main-nav a.nav-link.active { background: rgba(107,127,78,0.12); color: var(--olive-deep); }
.main-nav .caret { width: 12px; height: 12px; transition: transform .3s; }
li.has-mega:hover .caret { transform: rotate(180deg); }

/* mega menu */
li.has-mega { position: relative; }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translate(-50%, 12px);
  width: min(760px, 90vw); background: var(--paper); border: 1px solid var(--line-soft);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 28px;
  opacity: 0; visibility: hidden; transition: all .35s var(--ease-out); display: grid;
  grid-template-columns: 1.2fr 1fr 1fr; gap: 24px;
}
li.has-mega:hover .mega, li.has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega h5 { font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood); margin-bottom: 12px; font-family: var(--font-body); font-weight: 700; }
.mega ul li a { display: block; padding: 7px 0; font-size: 0.94rem; color: var(--bark-soft); transition: color .2s, transform .2s; }
.mega ul li a:hover { color: var(--olive); transform: translateX(4px); }
.mega .feature { background: var(--beige); border-radius: var(--r-md); padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mega .feature img { border-radius: var(--r-sm); aspect-ratio: 16/10; object-fit: cover; }
.mega .feature b { font-family: var(--font-display); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 6px; flex-shrink: 0; margin-left: auto; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  transition: background .25s, transform .25s var(--ease-spring); position: relative;
}
.icon-btn:hover { background: rgba(107,127,78,0.12); transform: translateY(-2px); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--honey); color: var(--bark); font-size: 0.68rem; font-weight: 800;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
}
.hamburger { display: none; }

/* mobile nav */
.mobile-nav {
  position: fixed; inset: 0; z-index: 90; background: var(--cream); padding: 24px;
  transform: translateX(100%); transition: transform .45s var(--ease-out); overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .close-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.mobile-nav a.m-link { display: block; font-family: var(--font-display); font-size: 1.6rem; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-nav .sub { padding-left: 16px; }
.mobile-nav .sub a { display: flex; min-height: 44px; align-items: center; padding: 8px 0; color: var(--bark-soft); }

/* ---------- footer ---------- */
.site-footer { background: var(--bark); color: rgba(250,246,239,0.82); position: relative; overflow: hidden; }
.footer-word {
  font-family: var(--font-display); font-size: clamp(4rem, 14vw, 12rem); line-height: 1;
  color: rgba(250,246,239,0.05); position: absolute; bottom: -0.18em; left: 50%; transform: translateX(-50%);
  white-space: nowrap; pointer-events: none; font-style: italic;
}
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.3fr; gap: 40px; padding: clamp(56px, 8vw, 96px) 0 48px; position: relative; }
.footer-grid h5 { font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; font-family: var(--font-body); font-weight: 700; }
.footer-grid ul li { margin-bottom: 10px; }
.footer-grid ul a { font-size: 0.94rem; opacity: 0.85; transition: opacity .2s, padding-left .25s; }
.footer-grid ul a:hover { opacity: 1; padding-left: 6px; color: var(--cream); }
.footer-brand .logo { color: var(--cream); margin-bottom: 16px; }
.footer-brand p { font-size: 0.94rem; opacity: 0.75; max-width: 34ch; }
.newsletter-row { display: flex; gap: 8px; margin-top: 18px; }
.newsletter-row input {
  flex: 1; background: rgba(250,246,239,0.08); border: 1px solid rgba(250,246,239,0.2);
  border-radius: 999px; padding: 13px 20px; color: var(--cream); outline: none; font-size: 0.92rem;
}
.newsletter-row input::placeholder { color: rgba(250,246,239,0.45); }
.newsletter-row input:focus { border-color: var(--honey); }
.newsletter-row .btn { padding: 13px 22px; }
.footer-bottom {
  border-top: 1px solid rgba(250,246,239,0.12); padding: 26px 0; display: flex; align-items: center;
  justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 0.84rem; position: relative;
}
.payment-icons {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  padding: 11px 13px;
  border: 1px solid rgba(250,246,239,0.16);
  border-radius: 10px;
  background: rgba(250,246,239,0.035);
}
.payment-icons svg { height: 24px; width: auto; opacity: 0.94; transition: opacity .2s ease; }
.payment-icons svg:hover { opacity: 1; transform: none; }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--cream); }

/* ---------- cards ---------- */
.card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg);
  overflow: hidden; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

/* product card */
.product-card { position: relative; display: flex; flex-direction: column; }
.product-card .thumb { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--beige); }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.product-card:hover .thumb img { transform: scale(1.07); }
.product-card .badge {
  position: absolute; top: 14px; left: 14px; background: var(--bark); color: var(--cream);
  font-size: 0.7rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; z-index: 2;
}
.product-card .badge.sale { background: var(--honey); color: var(--bark); }
.product-card .quick-add {
  position: absolute; left: 14px; right: 14px; bottom: 14px; transform: translateY(60px);
  opacity: 0; transition: all .4s var(--ease-out); z-index: 2;
}
.product-card:hover .quick-add { transform: translateY(0); opacity: 1; }
.product-card .info { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--wood); font-weight: 700; }
.product-card .title { font-family: var(--font-display); font-size: 1.08rem; font-weight: 500; line-height: 1.3; }
.product-card .title a:hover { color: var(--olive); }
.stars { display: inline-flex; gap: 2px; align-items: center; }
.stars svg { width: 14px; height: 14px; fill: var(--honey); }
.stars svg.dim { fill: var(--beige-deep); }
.stars .count { font-size: 0.8rem; color: var(--bark-soft); margin-left: 6px; }
.price-row { display: flex; align-items: baseline; gap: 10px; margin-top: auto; }
.price { font-weight: 800; font-size: 1.08rem; }
.price.compare { color: var(--bark-soft); font-weight: 400; text-decoration: line-through; font-size: 0.9rem; }
.price.save { color: var(--olive); font-size: 0.78rem; font-weight: 800; background: rgba(107,127,78,0.12); padding: 3px 8px; border-radius: 999px; }

/* category card */
.cat-card { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/4.6; display: block; }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card .veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(46,42,36,0.72) 0%, rgba(46,42,36,0.05) 55%); }
.cat-card .cap { position: absolute; left: 24px; right: 24px; bottom: 22px; color: var(--cream); }
.cat-card .cap h3 { font-size: 1.35rem; margin-bottom: 4px; }
.cat-card .cap span { font-size: 0.88rem; opacity: 0.85; display: inline-flex; align-items: center; gap: 8px; transition: gap .3s; }
.cat-card:hover .cap span { gap: 14px; }
.cat-card .count-pill { position: absolute; top: 16px; right: 16px; background: rgba(250,246,239,0.92); color: var(--bark); font-size: 0.74rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; }

/* ---------- forms ---------- */
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.85rem; font-weight: 700; }
.field input, .field select, .field textarea {
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 13px 16px; outline: none; transition: border-color .25s, box-shadow .25s; width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(107,127,78,0.14); }
.field .err { color: #B4492F; font-size: 0.8rem; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #B4492F; }
.field.invalid .err { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check-row { display: flex; align-items: center; gap: 10px; font-size: 0.92rem; margin: 10px 0; }
.check-row input { width: 18px; height: 18px; accent-color: var(--olive); }

/* ---------- page hero (inner pages) ---------- */
.page-hero { background: var(--beige); padding: clamp(48px, 7vw, 88px) 0; position: relative; overflow: hidden; }
.page-hero .crumbs { font-size: 0.85rem; color: var(--bark-soft); margin-bottom: 14px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.page-hero .crumbs a:hover { color: var(--olive); }
.page-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
.page-hero .lead { margin-top: 12px; }
.page-hero .blob { position: absolute; right: -120px; top: -120px; width: 380px; height: 380px; border-radius: 50%; background: rgba(168,184,154,0.35); filter: blur(2px); }

/* ---------- shop layout ---------- */
.shop-layout { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }
.shop-layout > * { min-width: 0; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 26px; }
.filters h4 { font-family: var(--font-body); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood); margin: 22px 0 12px; font-weight: 800; }
.filters h4:first-child { margin-top: 0; }
.filters .opt { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 0.93rem; color: var(--bark-soft); cursor: pointer; }
.filters .opt input { accent-color: var(--olive); width: 16px; height: 16px; }
.filters .opt:hover { color: var(--bark); }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
.shop-toolbar .result-count { font-size: 0.92rem; color: var(--bark-soft); }
.shop-toolbar select { border: 1.5px solid var(--line); background: var(--paper); padding: 11px 16px; border-radius: 999px; font-size: 0.9rem; font-weight: 600; outline: none; cursor: pointer; }
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination button { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); font-weight: 700; transition: all .25s; }
.pagination button:hover { border-color: var(--olive); color: var(--olive); }
.pagination button.on { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.chip { display: inline-flex; align-items: center; gap: 8px; background: var(--beige); padding: 8px 16px; border-radius: 999px; font-size: 0.86rem; font-weight: 700; cursor: pointer; transition: all .25s; border: 1.5px solid transparent; }
.chip:hover { border-color: var(--olive); }
.chip.on { background: var(--olive); color: var(--cream); }

/* ---------- product detail ---------- */
.pd-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery-main { border-radius: var(--r-lg); overflow: hidden; background: var(--beige); aspect-ratio: 1; position: relative; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.gallery-main:hover img { transform: scale(1.04); }
.gallery-thumbs { display: flex; gap: 12px; margin-top: 14px; }
.gallery-thumbs button { width: 84px; height: 84px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; transition: border-color .25s; background: var(--beige); }
.gallery-thumbs button.on { border-color: var(--olive); }
.pd-info .cat { font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--wood); font-weight: 800; }
.pd-info h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin: 10px 0 12px; }
.pd-price { display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.pd-price .now { font-size: 1.9rem; font-weight: 800; }
.variant-group { margin: 20px 0; }
.variant-group .lbl { font-size: 0.85rem; font-weight: 800; margin-bottom: 10px; }
.variant-pills { display: flex; gap: 10px; flex-wrap: wrap; }
.variant-pills button { padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 700; font-size: 0.9rem; transition: all .25s; }
.variant-pills button:hover { border-color: var(--olive); }
.variant-pills button.on { background: var(--bark); border-color: var(--bark); color: var(--cream); }
.qty-row { display: flex; gap: 16px; align-items: stretch; margin: 26px 0 18px; flex-wrap: wrap; }
.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty-stepper button { width: 46px; height: 54px; font-size: 1.2rem; transition: background .2s; }
.qty-stepper button:hover { background: var(--beige); }
.qty-stepper input { width: 52px; text-align: center; border: none; outline: none; font-weight: 800; font-size: 1rem; background: transparent; }
.stock-note { font-size: 0.86rem; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.stock-note .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--olive); }
.stock-note.low .dot { background: var(--honey); }
.stock-note.out .dot { background: #B4492F; }
.pd-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 26px 0; }
.pd-perks .perk { display: flex; gap: 12px; align-items: center; background: var(--paper); border: 1px solid var(--line-soft); padding: 14px 16px; border-radius: var(--r-md); font-size: 0.88rem; font-weight: 600; }
.pd-perks svg { width: 22px; height: 22px; color: var(--olive); flex-shrink: 0; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 8px; }
.spec-table td { padding: 13px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.94rem; vertical-align: top; }
.spec-table td:first-child { font-weight: 800; width: 34%; }
.tabs { display: flex; gap: 6px; border-bottom: 1.5px solid var(--line); margin-bottom: 28px; flex-wrap: wrap; }
.tabs button { padding: 14px 22px; font-weight: 700; font-size: 0.95rem; border-bottom: 2.5px solid transparent; margin-bottom: -1.5px; color: var(--bark-soft); transition: all .25s; }
.tabs button.on { color: var(--olive-deep); border-color: var(--olive); }
.review { padding: 22px 0; border-bottom: 1px solid var(--line-soft); }
.review .who { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--sage); color: var(--bark); display: flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- cart ---------- */
.cart-line { display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line-soft); align-items: center; }
.cart-line > * { min-width: 0; }
.cart-line img { width: 96px; height: 96px; object-fit: cover; border-radius: var(--r-sm); background: var(--beige); }
.cart-line .t { overflow-wrap: anywhere; font-family: var(--font-display); font-size: 1.05rem; }
.cart-line .v { font-size: 0.84rem; color: var(--bark-soft); margin-top: 2px; }
.cart-line .rm {
  display: inline-flex; min-height: 44px; align-items: center; margin-top: 4px; padding: 0;
  border: 0; background: transparent; color: #B4492F; font-size: 0.8rem; font-weight: 700; cursor: pointer;
}
.cart-line .rm:hover { text-decoration: underline; }
.summary-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 28px; position: sticky; top: calc(var(--header-h) + 20px); }
.summary-card h3 { margin-bottom: 18px; }
.sum-row { display: flex; justify-content: space-between; padding: 9px 0; font-size: 0.95rem; }
.sum-row.total { border-top: 1.5px solid var(--line); margin-top: 12px; padding-top: 18px; font-weight: 800; font-size: 1.15rem; }
.promo-row { display: flex; gap: 8px; margin: 16px 0; }
.promo-row input { flex: 1; border: 1.5px solid var(--line); border-radius: 999px; padding: 11px 18px; outline: none; background: var(--cream); }
.trust-row { display: flex; justify-content: center; gap: 18px; margin-top: 18px; font-size: 0.8rem; color: var(--bark-soft); flex-wrap: wrap; }
.trust-row span { display: inline-flex; align-items: center; gap: 6px; }
.trust-row svg { width: 15px; height: 15px; color: var(--olive); }

/* cart drawer */
.drawer-veil { position: fixed; inset: 0; background: rgba(46,42,36,0.45); backdrop-filter: blur(3px); z-index: 80; opacity: 0; visibility: hidden; transition: all .35s; }
.drawer-veil.open { opacity: 1; visibility: visible; }
.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 94vw); background: var(--cream); z-index: 85;
  transform: translateX(100%); transition: transform .45s var(--ease-out); display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer .head { padding: 22px 26px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; }
.cart-drawer .body { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cart-drawer .foot { padding: 22px 26px; border-top: 1px solid var(--line); background: var(--paper); }
.free-ship-bar { background: var(--beige); border-radius: 999px; height: 8px; overflow: hidden; margin: 10px 0 4px; }
.free-ship-bar i { display: block; height: 100%; background: var(--olive); border-radius: 999px; transition: width .6s var(--ease-out); }
.free-ship-note { font-size: 0.82rem; color: var(--bark-soft); }

/* ---------- checkout ---------- */
.checkout-heading { max-width: 760px; margin-bottom: 28px; }
.checkout-heading h1 { margin: 8px 0 14px; font-size: clamp(2.2rem, 4vw, 3.3rem); }
.demo-notice {
  padding: 14px 16px; border: 1px solid var(--line); border-left: 4px solid var(--honey);
  border-radius: 8px; background: var(--paper); color: var(--bark-soft); line-height: 1.55;
}
.processing-note, .line-processing { color: var(--bark-soft); font-size: 0.82rem; line-height: 1.45; }
.processing-note { margin: 10px 0 18px; }
.line-processing { display: inline-block; margin-top: 4px; }
.steps { display: flex; align-items: center; gap: 0; margin-bottom: 40px; }
.steps .step { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; color: var(--bark-soft); }
.steps .step .n { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; background: var(--paper); transition: all .3s; }
.steps .step.on { color: var(--bark); }
.steps .step.on .n { background: var(--olive); border-color: var(--olive); color: var(--cream); }
.steps .step.done .n { background: var(--sage); border-color: var(--sage); color: var(--bark); }
.steps .sep { flex: 1; height: 1.5px; background: var(--line); margin: 0 16px; min-width: 30px; }
.pay-methods { display: grid; gap: 12px; }
.pay-method { display: flex; align-items: center; gap: 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 16px 20px; cursor: pointer; transition: all .25s; background: var(--paper); }
.pay-method:hover { border-color: var(--sage); }
.pay-method.on { border-color: var(--olive); box-shadow: 0 0 0 4px rgba(107,127,78,0.12); }
.pay-method input { accent-color: var(--olive); width: 18px; height: 18px; }
.pay-method .icons { margin-left: auto; display: flex; gap: 8px; }
.pay-method .icons svg { height: 24px; width: auto; }
.order-ok { text-align: center; padding: clamp(40px, 7vw, 90px) 0; }
.order-ok .check { width: 96px; height: 96px; border-radius: 50%; background: rgba(107,127,78,0.14); display: flex; align-items: center; justify-content: center; margin: 0 auto 28px; }
.order-ok .check svg { width: 46px; height: 46px; color: var(--olive); }

/* ---------- auth ---------- */
.auth-wrap { min-height: 70vh; display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.auth-visual { background: var(--beige); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 40px; }
.auth-visual img { border-radius: var(--r-lg); box-shadow: var(--shadow-lg); max-height: 560px; }
.auth-visual .hand-note { position: absolute; bottom: 40px; left: 40px; font-family: var(--font-hand); font-size: 1.8rem; color: var(--olive-deep); transform: rotate(-3deg); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: clamp(32px, 6vw, 72px); }
.auth-form .box { width: min(440px, 100%); }
.auth-form h1 { font-size: 2rem; margin-bottom: 8px; }
.auth-alt { text-align: center; margin-top: 20px; font-size: 0.92rem; color: var(--bark-soft); }
.auth-alt a { color: var(--olive); font-weight: 800; }
.divider { display: flex; align-items: center; gap: 14px; margin: 24px 0; color: var(--bark-soft); font-size: 0.82rem; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }

/* ---------- account ---------- */
.account-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.account-nav { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: 14px; position: sticky; top: calc(var(--header-h) + 20px); }
.account-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: var(--r-sm); font-weight: 700; font-size: 0.94rem; color: var(--bark-soft); transition: all .25s; }
.account-nav a:hover { background: var(--beige); color: var(--bark); }
.account-nav a.on { background: var(--olive); color: var(--cream); }
.account-nav svg { width: 18px; height: 18px; }
.panel { background: var(--paper); border: 1px solid var(--line-soft); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.panel h2 { margin-bottom: 6px; }
.order-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line-soft); flex-wrap: wrap; }
.order-row .oid { font-weight: 800; }
.pill { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 0.76rem; font-weight: 800; letter-spacing: 0.04em; }
.pill.green { background: rgba(107,127,78,0.14); color: var(--olive-deep); }
.pill.amber { background: rgba(217,164,65,0.18); color: #8A6510; }
.pill.gray { background: var(--beige); color: var(--bark-soft); }
.addr-card { border: 1.5px solid var(--line); border-radius: var(--r-md); padding: 20px; position: relative; }
.addr-card .def { position: absolute; top: 14px; right: 14px; }

/* ---------- search overlay ---------- */
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(250,246,239,0.97); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: all .35s; }
.search-overlay.open { opacity: 1; visibility: visible; }
.search-box { width: min(760px, 92vw); margin: 12vh auto 0; }
.search-box .input-row { display: flex; align-items: center; gap: 16px; border-bottom: 2.5px solid var(--bark); padding-bottom: 14px; }
.search-box input { flex: 1; border: none; outline: none; background: transparent; font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 2rem); }
.search-box .close-x { width: 46px; height: 46px; border-radius: 50%; background: var(--beige); display: flex; align-items: center; justify-content: center; transition: transform .3s; }
.search-box .close-x:hover { transform: rotate(90deg); }
.search-results { margin-top: 28px; max-height: 56vh; overflow-y: auto; display: grid; gap: 6px; }
.search-hit { display: flex; align-items: center; gap: 16px; padding: 12px; border-radius: var(--r-md); transition: background .2s; }
.search-hit:hover { background: var(--beige); }
.search-hit img { width: 60px; height: 60px; border-radius: var(--r-sm); object-fit: cover; background: var(--beige); }
.search-hit .t { font-weight: 700; }
.search-hit .c { font-size: 0.8rem; color: var(--wood); text-transform: uppercase; letter-spacing: 0.1em; }
.search-hit .p { margin-left: auto; font-weight: 800; }
.search-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }

/* ---------- toast ---------- */
.toast-zone { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.toast {
  background: var(--bark); color: var(--cream); padding: 14px 26px; border-radius: 999px; font-size: 0.92rem; font-weight: 700;
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 10px; animation: toastIn .45s var(--ease-spring);
}
.toast svg { width: 18px; height: 18px; color: var(--honey); }
@keyframes toastIn { from { opacity: 0; transform: translateY(24px) scale(0.9); } }

/* ---------- cookie banner ---------- */
.cookie-banner {
  position: fixed; bottom: 24px; left: 24px; width: min(420px, calc(100vw - 48px)); background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lg); padding: 26px; z-index: 110;
  transform: translateY(140%); transition: transform .6s var(--ease-out);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-banner h4 { margin-bottom: 8px; }
.cookie-banner p { font-size: 0.86rem; color: var(--bark-soft); margin-bottom: 16px; }
.cookie-banner .row { display: flex; gap: 10px; }

.mobile-buy-bar { display: none; }

/* ---------- misc components ---------- */
.veil-loading { min-height: 40vh; display: flex; align-items: center; justify-content: center; }
.spinner { width: 44px; height: 44px; border-radius: 50%; border: 3.5px solid var(--beige-deep); border-top-color: var(--olive); animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state { text-align: center; padding: clamp(48px, 8vw, 90px) 20px; }
.empty-state .ico { width: 90px; height: 90px; border-radius: 50%; background: var(--beige); display: flex; align-items: center; justify-content: center; margin: 0 auto 22px; }
.empty-state .ico svg { width: 40px; height: 40px; color: var(--wood); }
.marquee { overflow: hidden; border-block: 1px solid var(--line-soft); padding: 18px 0; background: var(--paper); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 30s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--bark-soft); display: flex; align-items: center; gap: 56px; white-space: nowrap; }
.marquee-track span::after { content: '✳'; color: var(--honey); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }
.stat-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--honey); }
.stat .lbl { font-size: 0.9rem; opacity: 0.75; }

/* policy pages */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; font-family: var(--font-body); font-weight: 800; }
.prose p, .prose li { color: var(--bark-soft); margin-bottom: 12px; font-size: 0.98rem; }
.prose ul { padding-left: 22px; list-style: disc; margin-bottom: 14px; }
.prose ul li { margin-bottom: 7px; }
.prose strong { color: var(--bark); }
.prose .callout { background: var(--beige); border-left: 4px solid var(--olive); border-radius: 0 var(--r-md) var(--r-md) 0; padding: 18px 22px; margin: 22px 0; }
.updated-note { font-size: 0.85rem; color: var(--bark-soft); background: var(--beige); display: inline-block; padding: 8px 16px; border-radius: 999px; margin-bottom: 28px; }

/* learn / community */
.learn-article-grid,
.community-maker-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.article-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
}
.article-card .thumb {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #F0ECE4;
  border-bottom: 1px solid var(--line-soft);
}
.article-card .thumb img {
  width: 100%;
  height: 100%;
  padding: 18px;
  object-fit: contain;
  transition: transform .55s var(--ease-out);
}
.article-card:hover .thumb img { transform: scale(1.035); }
.article-card .info {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}
.article-card .meta { display: flex; gap: 12px; font-size: 0.8rem; color: var(--bark-soft); margin-bottom: 10px; align-items: center; }
.article-card .tag { background: rgba(107,127,78,0.12); color: var(--olive-deep); padding: 4px 12px; border-radius: 999px; font-weight: 800; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.article-card .info .h-3 {
  min-height: 2.3em;
  margin-bottom: 8px;
}
.article-card .info > p {
  color: var(--bark-soft);
  font-size: .92rem;
}
.article-hero-image {
  display: block;
  width: 100%;
  max-height: 620px;
  aspect-ratio: 16/9;
  object-fit: contain;
  padding: clamp(18px, 3vw, 34px);
  margin-bottom: 36px;
  background: #F0ECE4;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.maker-card { position: relative; border-radius: var(--r-lg); overflow: hidden; }
.maker-card img { width: 100%; aspect-ratio: 4/4.4; object-fit: cover; transition: transform .8s var(--ease-out); }
.maker-card:hover img { transform: scale(1.05); }
.maker-card .quote { position: absolute; inset: auto 0 0 0; padding: 60px 22px 22px; background: linear-gradient(to top, rgba(46,42,36,0.85), transparent); color: var(--cream); }
.maker-card .quote p { font-size: 0.9rem; font-style: italic; margin-bottom: 10px; }
.maker-card .quote b { font-size: 0.88rem; }
.maker-card .quote span { font-size: 0.78rem; opacity: 0.8; display: block; }
.community-maker-grid {
  gap: 20px;
}
.community-maker-grid .maker-card {
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}
.community-maker-grid .maker-media {
  overflow: hidden;
  aspect-ratio: 4/3;
  background: #F0ECE4;
  border-bottom: 1px solid var(--line-soft);
}
.community-maker-grid .maker-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  padding: 16px;
  object-fit: contain;
}
.community-maker-grid .maker-card .quote {
  position: static;
  background: var(--paper);
  color: var(--bark);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px;
}
.community-maker-grid .maker-card .quote p {
  min-height: 6em;
  margin: 0;
  font-family: var(--font-display);
  font-size: 1rem;
  line-height: 1.5;
}
.community-maker-grid .maker-byline {
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}
.community-maker-grid .maker-card .quote b {
  display: block;
  color: var(--olive-deep);
  line-height: 1.35;
}
.community-maker-grid .maker-card .quote span {
  margin-top: 5px;
  color: var(--bark-soft);
  opacity: 1;
}

/* process flow */
.process-wrap { position: relative; }
.process-line { position: absolute; left: 0; right: 0; top: 52px; height: 2.5px; background: var(--line); }
.process-line i { display: block; height: 100%; width: 0; background: var(--olive); transition: width .2s linear; }
.process-steps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; position: relative; }
.p-step { text-align: center; }
.p-step .orb {
  width: 104px; height: 104px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; position: relative; z-index: 2;
  transition: all .4s var(--ease-spring);
}
.p-step .orb svg { width: 40px; height: 40px; color: var(--wood); transition: color .3s; }
.p-step.lit .orb { border-color: var(--olive); background: var(--olive); transform: scale(1.06); box-shadow: 0 12px 30px rgba(107,127,78,0.3); }
.p-step.lit .orb svg { color: var(--cream); }
.p-step h4 { font-size: 1.05rem; margin-bottom: 4px; }
.p-step p { font-size: 0.84rem; color: var(--bark-soft); }

/* hero */
.hero { position: relative; min-height: calc(100vh - var(--header-h) - 37px); display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 22s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0,0); } to { transform: scale(1.09) translate(-1.4%, 1%); } }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(250,246,239,0.96) 0%, rgba(250,246,239,0.82) 38%, rgba(250,246,239,0.18) 72%, rgba(250,246,239,0.02) 100%); }
.hero-inner { position: relative; z-index: 2; padding: clamp(60px, 9vw, 110px) 0; }
.hero-inner .h-display { max-width: 12ch; }
.hero-inner .lead { margin: 22px 0 34px; max-width: 46ch; font-size: 1.2rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-proof { display: flex; gap: 26px; margin-top: 44px; flex-wrap: wrap; }
.hero-proof .item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 700; color: var(--bark-soft); }
.hero-proof svg { width: 20px; height: 20px; color: var(--olive); }
.hero-card {
  position: absolute; right: 6vw; bottom: 8vh; z-index: 3; background: rgba(255,253,248,0.88); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.7); border-radius: var(--r-lg); padding: 18px 22px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 16px; animation: floaty 5s ease-in-out infinite;
}
.hero-card img { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: cover; }
.hero-card .t { font-weight: 800; font-size: 0.92rem; }
.hero-card .p { color: var(--olive); font-weight: 800; font-size: 0.95rem; }
@keyframes floaty { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-12px) rotate(1deg); } }
.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--bark-soft); display: flex; flex-direction: column; align-items: center; gap: 8px; }
.scroll-hint::after { content: ''; width: 1.5px; height: 44px; background: linear-gradient(var(--bark-soft), transparent); animation: drip 1.8s ease-in-out infinite; }
@keyframes drip { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* reveal animations */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-l { opacity: 0; transform: translateX(-42px); transition: all .9s var(--ease-out); }
.reveal-l.in { opacity: 1; transform: none; }
.reveal-r { opacity: 0; transform: translateX(42px); transition: all .9s var(--ease-out); }
.reveal-r.in { opacity: 1; transform: none; }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 1s var(--ease-out); }
.reveal-scale.in { opacity: 1; transform: scale(1); }
[data-stagger] > * { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0.05s; } [data-stagger].in > *:nth-child(2) { transition-delay: 0.14s; }
[data-stagger].in > *:nth-child(3) { transition-delay: 0.23s; } [data-stagger].in > *:nth-child(4) { transition-delay: 0.32s; }
[data-stagger].in > *:nth-child(5) { transition-delay: 0.41s; } [data-stagger].in > *:nth-child(6) { transition-delay: 0.5s; }
[data-stagger].in > *:nth-child(7) { transition-delay: 0.59s; } [data-stagger].in > *:nth-child(8) { transition-delay: 0.68s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal, .reveal-l, .reveal-r, .reveal-scale, [data-stagger] > * { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .pd-layout { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: repeat(3, 1fr); row-gap: 36px; }
  .process-line { display: none; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: inline-flex; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .auth-wrap { grid-template-columns: 1fr; }
  .auth-visual { display: none; }
  .account-layout { grid-template-columns: 1fr; }
  .account-nav { position: static; display: flex; overflow-x: auto; gap: 6px; }
  .hero-card { display: none; }
  .learn-article-grid,
  .community-maker-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps .sep { min-width: 12px; margin: 0 8px; }
  .steps .step .lbl-txt { display: none; }
}
@media (max-width: 600px) {
  .header-inner { gap: 10px; }
  .logo { font-size: 1.22rem; }
  .logo .mark { width: 28px; height: 28px; }
  .icon-btn { width: 44px; height: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .product-card .info { padding: 12px 14px 16px; }
  .form-row { grid-template-columns: 1fr; }
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line .line-total { grid-column: 2; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom { justify-content: center; text-align: center; }
  .learn-article-grid,
  .community-maker-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .article-card .info .h-3,
  .community-maker-grid .maker-card .quote p {
    min-height: 0;
  }
}

/* ============================================================
   2026 commerce refinement
   Editorial workshop imagery + professional supplier structure
   ============================================================ */
:root {
  --cream: #F7F3EC;
  --paper: #FFFCF6;
  --beige: #EAE2D6;
  --beige-deep: #DCCFBD;
  --olive: #627447;
  --olive-deep: #4B5D35;
  --olive-soft: #829268;
  --bark: #28231D;
  --bark-soft: #625A4E;
  --wood: #9A7152;
  --wood-deep: #755239;
  --sage: #A9B69B;
  --honey: #C89532;
  --line: rgba(40, 35, 29, 0.16);
  --line-soft: rgba(40, 35, 29, 0.09);
  --shadow-sm: 0 1px 3px rgba(40, 35, 29, 0.06);
  --shadow-md: 0 14px 34px rgba(40, 35, 29, 0.09);
  --shadow-lg: 0 30px 80px rgba(40, 35, 29, 0.16);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --header-h: 84px;
}

html {
  background: var(--bark);
}

body {
  background: var(--cream);
  color: var(--bark);
  font-size: 16px;
  line-height: 1.62;
}

a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(98, 116, 71, 0.38);
  outline-offset: 3px;
}

.container {
  width: min(1320px, calc(100% - 48px));
}

.section {
  padding: clamp(72px, 8vw, 112px) 0;
}

.section.tight {
  padding: clamp(48px, 5.5vw, 76px) 0;
}

.section-head {
  margin-bottom: clamp(34px, 4.5vw, 52px);
}

.section-head .txt {
  max-width: 700px;
}

.h-display {
  font-size: clamp(3.1rem, 5.5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.h-1 {
  font-size: clamp(2.3rem, 4vw, 3.65rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.h-2 {
  font-size: clamp(1.8rem, 2.8vw, 2.65rem);
  letter-spacing: -0.025em;
}

.h-3 {
  letter-spacing: -0.015em;
}

.lead {
  line-height: 1.65;
}

.eyebrow {
  color: var(--wood-deep);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.eyebrow::before,
.eyebrow.center::after {
  width: 26px;
}

.btn {
  min-height: 48px;
  border-radius: 10px;
  padding: 13px 24px;
  box-shadow: none;
  letter-spacing: 0;
}

.btn-lg {
  min-height: 54px;
  padding: 15px 30px;
}

.btn-primary {
  background: var(--olive-deep);
  color: var(--paper);
  box-shadow: 0 9px 22px rgba(75, 93, 53, 0.2);
}

.btn-primary:hover {
  background: #3F502C;
  transform: translateY(-2px);
  box-shadow: 0 13px 26px rgba(75, 93, 53, 0.24);
}

.btn-outline {
  border: 1px solid rgba(40, 35, 29, 0.52);
  background: rgba(255, 252, 246, 0.72);
}

.btn-ghost {
  border-radius: 8px;
}

.topbar {
  min-height: 32px;
  padding: 7px 16px;
  background: #201C17;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.45;
}

.site-header {
  background: rgba(255, 252, 246, 0.97);
  border-color: var(--line-soft);
  backdrop-filter: blur(16px);
}

.site-header.scrolled {
  border-color: var(--line);
  box-shadow: 0 8px 26px rgba(40, 35, 29, 0.07);
}

.header-inner {
  height: var(--header-h);
  gap: 24px;
}

.logo {
  font-size: 1.62rem;
  gap: 11px;
  letter-spacing: -0.025em;
}

.logo .mark {
  width: 38px;
  height: 38px;
}

.main-nav {
  gap: 1px;
}

.main-nav a.nav-link {
  min-height: 42px;
  padding: 9px 11px;
  border-radius: 7px;
  font-size: 0.88rem;
}

.main-nav a.nav-link:hover,
.main-nav a.nav-link.active {
  background: var(--beige);
  color: var(--olive-deep);
}

.mega {
  top: calc(100% + 8px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px;
}

.mega .feature {
  background: var(--cream);
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
}

.mega .feature img {
  background: #F0ECE4;
  object-fit: contain;
  padding: 8px;
}

.header-actions {
  gap: 8px;
}

.header-actions .icon-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.icon-btn {
  border-radius: 10px;
}

.icon-btn:hover {
  background: var(--beige);
  transform: translateY(-1px);
}

.cart-count {
  top: -4px;
  right: -4px;
  background: var(--olive-deep);
  color: var(--paper);
  border: 2px solid var(--paper);
}

.mobile-nav {
  background: var(--paper);
  padding: 22px clamp(20px, 5vw, 42px) 40px;
}

.mobile-nav a.m-link {
  font-size: 1.9rem;
  padding: 16px 0;
}

.hero {
  min-height: clamp(650px, 78vh, 790px);
  padding: 24px 0;
  background: var(--cream);
  align-items: stretch;
}

.hero-bg {
  inset: 24px;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--beige);
}

.hero-bg img {
  object-position: center;
  animation: none;
}

.hero-bg::after {
  display: none;
}

.hero-inner {
  display: flex;
  align-items: center;
  padding: clamp(48px, 7vw, 84px) 0;
}

.hero-copy {
  width: min(640px, 100%);
  padding: clamp(34px, 4.5vw, 58px);
  background: rgba(255, 252, 246, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--r-lg);
  box-shadow: 0 24px 70px rgba(40, 35, 29, 0.18);
}

.hero-inner .h-display {
  max-width: 10.5ch;
  margin-top: 18px;
}

.hero-inner .lead {
  max-width: 50ch;
  margin: 24px 0 30px;
  font-size: 1.08rem;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.hero-proof .item {
  align-items: flex-start;
  gap: 8px;
  font-size: 0.76rem;
  line-height: 1.4;
}

.hero-proof svg {
  width: 17px;
  height: 17px;
}

.hero-card {
  display: none;
}

.hero-card img {
  background: var(--beige);
  object-fit: contain;
  padding: 5px;
}

.scroll-hint {
  display: none;
}

.marquee {
  padding: 14px 0;
  background: var(--paper);
  border-color: var(--line);
}

.marquee-track {
  gap: 42px;
}

.marquee-track span {
  gap: 42px;
  font-size: 0.94rem;
  color: var(--bark);
}

.card {
  border-color: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-card {
  min-width: 0;
  background: var(--paper);
}

.product-card .thumb {
  aspect-ratio: 1;
  background: #F0ECE4;
  border-bottom: 1px solid var(--line-soft);
}

.product-card .thumb img {
  object-fit: contain;
  padding: 14px;
}

.product-card:hover .thumb img {
  transform: scale(1.035);
}

.product-card .info {
  gap: 7px;
  padding: 18px 18px 20px;
}

.product-card .cat {
  color: var(--wood-deep);
  font-size: 0.7rem;
}

.product-card .title {
  font-size: 1.04rem;
  line-height: 1.35;
}

.product-card .quick-add {
  left: 12px;
  right: 12px;
  bottom: 12px;
}

.product-card .badge {
  top: 12px;
  left: 12px;
  border-radius: 7px;
}

.home-category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.cat-card {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #F0ECE4;
}

.cat-card img {
  object-fit: cover;
}

.cat-card .veil {
  inset: auto 0 0;
  height: 34%;
  background: rgba(32, 28, 23, 0.9);
}

.cat-card .cap {
  left: 20px;
  right: 20px;
  bottom: 18px;
}

.cat-card .count-pill {
  top: 12px;
  right: 12px;
  border: 1px solid rgba(40, 35, 29, 0.12);
  border-radius: 7px;
}

.product-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 18px;
  align-items: stretch;
  overflow: visible;
  padding: 2px;
}

.product-rail > * {
  min-width: 0;
  height: 100%;
}

.product-rail .product-card .title {
  min-height: 2.7em;
}

.product-rail .product-card .title + .cat,
.product-rail .product-card .stars {
  min-height: 20px;
}

.home-business-grid {
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(42px, 7vw, 96px);
  align-items: center;
}

.bg-bark {
  background: #211D18;
}

.stat-row {
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.16);
  border-radius: var(--r-md);
  overflow: hidden;
}

.stat {
  min-height: 150px;
  padding: 28px;
  background: #211D18;
}

.stat .num {
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.home-maker-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  grid-auto-rows: 1fr;
  gap: 14px;
}

.home-maker-grid .maker-card {
  display: grid;
  grid-template-columns: 176px minmax(0, 1fr);
  min-height: 0;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.home-maker-grid .maker-card:first-child {
  grid-row: span 3;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(340px, 1fr) auto;
}

.home-maker-grid .maker-media {
  min-width: 0;
  overflow: hidden;
  background: #F0ECE4;
  border-right: 1px solid var(--line-soft);
}

.home-maker-grid .maker-card:first-child .maker-media {
  border-right: 0;
  border-bottom: 1px solid var(--line-soft);
}

.home-maker-grid .maker-media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: contain;
  padding: 16px;
}

.home-maker-grid .maker-card .quote {
  position: static;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 24px;
  background: var(--paper);
  color: var(--bark);
}

.home-maker-grid .maker-card .quote p {
  margin: 0;
  color: var(--bark);
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.5;
}

.home-maker-grid .maker-card:first-child .quote {
  padding: 30px 32px;
}

.home-maker-grid .maker-card:first-child .quote p {
  max-width: 32ch;
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
}

.home-maker-grid .maker-byline {
  padding-top: 14px;
  border-top: 1px solid var(--line-soft);
}

.home-maker-grid .maker-card .quote b {
  color: var(--olive-deep);
  font-size: .86rem;
}

.home-maker-grid .maker-card .quote span {
  margin-top: 2px;
  color: var(--bark-soft);
  font-size: .78rem;
  opacity: 1;
}

.home-final-cta {
  position: relative;
  overflow: hidden;
  padding: clamp(42px, 6vw, 74px);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
}

.page-hero {
  background: var(--beige);
  padding: clamp(52px, 6vw, 82px) 0;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero .blob {
  display: none;
}

.page-hero .container {
  max-width: 1320px;
}

.page-hero h1 {
  max-width: 16ch;
  font-size: clamp(2.6rem, 4.4vw, 4.25rem);
  letter-spacing: -0.04em;
}

.page-hero .lead {
  max-width: 66ch;
  margin-top: 16px;
}

.crumbs,
.product-crumbs {
  display: flex;
  min-width: 0;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--bark-soft);
  font-size: 0.82rem;
}

.product-section {
  padding-top: 34px;
}

.product-crumbs {
  margin-bottom: 28px;
}

.category-chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  padding: 9px 14px;
  font-size: 0.82rem;
}

.chip.on {
  background: var(--bark);
  border-color: var(--bark);
}

.shop-layout {
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(26px, 3vw, 42px);
}

.shop-layout > *,
.shop-results {
  min-width: 0;
}

.filters {
  top: calc(var(--header-h) + 24px);
  border-color: var(--line);
  border-radius: var(--r-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.filters h4 {
  margin: 24px 0 10px;
  color: var(--bark);
}

.filters .opt {
  min-height: 34px;
  padding: 5px 0;
}

.shop-toolbar {
  min-height: 48px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.shop-toolbar select {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.pagination button {
  border-radius: 8px;
}

.pd-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  gap: 40px clamp(42px, 5vw, 76px);
}

.pd-layout > * {
  min-width: 0;
}

.pd-gallery {
  min-width: 0;
}

.gallery-main {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #F0ECE4;
  box-shadow: var(--shadow-sm);
}

.gallery-main img {
  object-fit: contain;
  padding: clamp(16px, 3vw, 34px);
}

.gallery-main:hover img {
  transform: scale(1.02);
}

.gallery-thumbs button {
  border-radius: 8px;
  border-color: var(--line);
}

.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
}

.pd-purchase {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: clamp(28px, 3vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.pd-info h1 {
  margin: 12px 0 14px;
  font-size: clamp(2rem, 3vw, 3.25rem);
  letter-spacing: -0.035em;
}

.pd-price {
  margin: 22px 0;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.pd-price .now {
  font-size: 2rem;
}

.variant-group {
  margin: 22px 0;
}

.variant-pills button {
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 15px;
}

.variant-pills button.on {
  background: var(--olive-deep);
  border-color: var(--olive-deep);
}

.qty-row {
  flex-wrap: nowrap;
  margin: 28px 0 18px;
}

.qty-stepper {
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
}

.qty-stepper button {
  height: 52px;
}

.pd-perks {
  gap: 8px;
  margin: 26px 0 0;
}

.pd-perks .perk {
  min-height: 60px;
  border-radius: 9px;
  background: var(--cream);
}

.pd-detail-panel {
  grid-column: 1 / -1;
  min-width: 0;
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
}

.pd-detail-panel .tabs {
  margin-bottom: 30px;
}

.pd-detail-panel #tabBody {
  max-width: 860px;
  color: var(--bark-soft);
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.tabs button {
  min-height: 48px;
  padding: 13px 20px;
}

.spec-table td {
  overflow-wrap: anywhere;
}

.cart-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, 0.85fr);
  gap: clamp(28px, 4vw, 52px);
}

.cart-line {
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 22px;
  padding: 24px 0;
}

.cart-line img {
  width: 112px;
  height: 112px;
  object-fit: contain;
  padding: 6px;
  border: 1px solid var(--line-soft);
  background: #F0ECE4;
}

.summary-card {
  top: calc(var(--header-h) + 24px);
  border-color: var(--line);
  border-radius: var(--r-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}

.promo-row input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.free-ship-bar {
  height: 7px;
  border-radius: 4px;
}

.checkout-section {
  padding-top: 42px;
}

#coRoot {
  max-width: 1220px;
}

.co-cols {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, 0.85fr);
  gap: clamp(28px, 4vw, 52px);
}

.panel {
  border-color: var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.field input,
.field select,
.field textarea {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #FFFEFB;
}

.pay-method {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 17px 18px;
}

.pay-method > span {
  min-width: 0;
}

.steps {
  max-width: 720px;
}

.steps .step .n {
  border-color: var(--line);
}

.empty-state {
  max-width: 760px;
  margin-inline: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.cart-drawer {
  width: min(460px, 100vw);
  background: var(--cream);
}

.search-overlay {
  background: rgba(247, 243, 236, 0.98);
}

.search-box .input-row {
  border-color: var(--bark);
}

.cookie-banner {
  right: auto;
  bottom: 18px;
  left: 50%;
  width: min(900px, calc(100vw - 36px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 26px;
  align-items: center;
  border-color: var(--line);
  border-radius: var(--r-md);
  padding: 18px 20px;
  box-shadow: 0 22px 60px rgba(40, 35, 29, 0.2);
  transform: translate(-50%, 160%);
}

.cookie-banner.show {
  transform: translate(-50%, 0);
}

.cookie-banner h4 {
  margin-bottom: 3px;
}

.cookie-banner p {
  margin-bottom: 0;
}

.cookie-banner .row {
  flex-shrink: 0;
}

.prose {
  max-width: 900px;
  padding: clamp(28px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.prose h2 {
  margin-top: 48px;
}

.prose p,
.prose li {
  line-height: 1.72;
}

.prose .callout {
  border-radius: 0 10px 10px 0;
  background: var(--cream);
}

.auth-wrap {
  min-height: calc(100vh - var(--header-h) - 32px);
  background: var(--paper);
}

.auth-visual {
  background: var(--beige);
}

.auth-visual img {
  width: min(560px, 86%);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 66% center;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.account-nav {
  border-color: var(--line);
  border-radius: var(--r-md);
}

.footer-word {
  display: none;
}

.footer-grid {
  gap: clamp(26px, 4vw, 56px);
  padding-top: clamp(62px, 8vw, 94px);
}

.newsletter-row input {
  min-width: 0;
  border-radius: 8px;
}

.footer-bottom {
  align-items: flex-start;
}

.reveal-l,
.reveal-r {
  transform: translateY(28px);
}

.reveal-l.in,
.reveal-r.in {
  transform: none;
}

@media (max-width: 1160px) {
  .main-nav {
    display: none;
  }

  .hamburger {
    display: inline-flex;
  }

  .home-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.92fr);
    gap: 34px;
  }
}

@media (max-width: 900px) {
  .reveal-l,
  .reveal-r {
    transform: translateY(24px);
  }

  .reveal-l.in,
  .reveal-r.in {
    transform: none;
  }

  .hero {
    min-height: 700px;
    padding: 16px 0;
  }

  .hero-bg {
    inset: 16px;
  }

  .hero-inner {
    align-items: flex-end;
    padding: 46px 0;
  }

  .hero-copy {
    width: min(600px, 100%);
  }

  .home-business-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .home-maker-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
  }

  .home-maker-grid .maker-card:first-child {
    grid-row: auto;
    grid-template-rows: minmax(320px, auto) auto;
  }

  .shop-layout,
  .pd-layout,
  .cart-cols,
  .co-cols {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .filters,
  .pd-purchase,
  .summary-card {
    position: static;
  }

  .filters {
    padding: 20px;
    max-height: 330px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pd-detail-panel {
    grid-column: 1;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: min(100% - 28px, 1320px);
  }

  .section {
    padding: 60px 0;
  }

  .section.tight {
    padding: 40px 0;
  }

  .topbar {
    min-height: 38px;
    padding: 6px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.025em;
  }

  .header-inner {
    gap: 6px;
  }

  .logo {
    max-width: calc(100% - 176px);
    gap: 7px;
    font-size: 1.08rem;
    line-height: 1;
  }

  .logo .mark {
    width: 28px;
    height: 28px;
  }

  .header-actions {
    margin-left: auto;
    gap: 4px;
  }

  .header-actions .icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 8px;
  }

  .header-actions .icon-btn svg {
    width: 18px;
    height: 18px;
  }

  .hero {
    min-height: 720px;
    padding: 10px 0;
  }

  .hero-bg {
    inset: 10px;
    border-radius: var(--r-lg);
  }

  .hero-bg img {
    object-position: 64% center;
  }

  .hero-inner {
    align-items: flex-end;
    padding: 28px 0;
  }

  .hero-copy {
    padding: 28px 22px;
    border-radius: var(--r-md);
    background: rgba(255, 252, 246, 0.96);
  }

  .hero-inner .h-display {
    font-size: clamp(2.5rem, 12vw, 3.25rem);
    max-width: 9.5ch;
  }

  .hero-inner .lead {
    margin: 18px 0 22px;
    font-size: 0.94rem;
  }

  .hero-cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-proof {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 22px;
    padding-top: 18px;
  }

  .hero-proof .item:last-child {
    grid-column: 1 / -1;
  }

  .hero-card {
    display: none;
  }

  .marquee-track {
    gap: 30px;
  }

  .marquee-track span {
    gap: 30px;
  }

  .section-head {
    align-items: flex-start;
  }

  .page-hero {
    padding: 40px 0;
  }

  .page-hero h1 {
    font-size: clamp(2.25rem, 11vw, 3.2rem);
  }

  .page-hero .crumbs,
  .product-crumbs {
    align-items: flex-start;
  }

  .page-hero .crumbs span:last-child,
  .product-crumbs span:last-child {
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .home-category-grid,
  .home-maker-grid {
    grid-template-columns: 1fr;
  }

  .home-maker-grid .maker-card {
    grid-template-columns: 112px minmax(0, 1fr);
  }

  .home-maker-grid .maker-card:first-child {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(250px, auto) auto;
  }

  .home-maker-grid .maker-card .quote,
  .home-maker-grid .maker-card:first-child .quote {
    padding: 18px;
  }

  .home-maker-grid .maker-card .quote p {
    font-size: .92rem;
  }

  .home-maker-grid .maker-card:first-child .quote p {
    font-size: 1.14rem;
  }

  .cat-card {
    aspect-ratio: 5 / 4.4;
  }

  .product-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card .info {
    padding: 13px 13px 15px;
  }

  .product-card .title {
    font-size: 0.96rem;
  }

  .product-card .quick-add {
    transform: translateY(0);
    opacity: 1;
  }

  .product-card .quick-add .btn {
    min-height: 40px;
    padding: 9px 12px;
  }

  .stat {
    min-height: 120px;
    padding: 20px;
  }

  .pd-layout {
    gap: 26px;
  }

  .gallery-main {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
  }

  .gallery-main img {
    padding: 12px;
  }

  .gallery-thumbs {
    overflow-x: auto;
    padding-bottom: 5px;
  }

  .gallery-thumbs button {
    flex: 0 0 70px;
    width: 70px;
    height: 70px;
  }

  .pd-purchase,
  .pd-detail-panel {
    padding: 22px 18px;
  }

  .pd-info h1 {
    font-size: 2.1rem;
  }

  .qty-row {
    flex-direction: column;
    align-items: stretch;
  }

  .qty-stepper {
    width: 100%;
    justify-content: space-between;
  }

  .qty-stepper input {
    flex: 1;
  }

  .qty-row #addBtn {
    min-width: 0 !important;
    width: 100%;
  }

  .pd-perks {
    grid-template-columns: 1fr;
  }

  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .tabs::-webkit-scrollbar {
    display: none;
  }

  .tabs button {
    flex: 0 0 auto;
    padding-inline: 14px;
  }

  .cart-line {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 14px;
  }

  .cart-line img {
    width: 78px;
    height: 78px;
  }

  .cart-line .line-total {
    grid-column: 2;
    text-align: left !important;
  }

  .summary-card,
  .panel {
    padding: 22px 18px;
  }

  .promo-row {
    align-items: stretch;
  }

  .promo-row .btn {
    padding-inline: 15px;
  }

  .steps {
    margin-bottom: 30px;
  }

  .steps .sep {
    margin: 0 5px;
    min-width: 6px;
  }

  .pay-method {
    flex-wrap: wrap;
    gap: 12px;
  }

  .pay-method .icons {
    width: 100%;
    margin-left: 30px;
    flex-wrap: wrap;
  }

  .search-box {
    margin-top: 8vh;
  }

  .search-hit {
    align-items: flex-start;
    gap: 10px;
  }

  .search-hit .p {
    margin-left: 0;
  }

  .cookie-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    display: block;
    padding: 20px;
    transform: translateY(160%);
  }

  .cookie-banner.show {
    transform: translateY(0);
  }

  .cookie-banner .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .cookie-banner .btn {
    min-width: 0;
    padding-inline: 12px;
    white-space: normal;
  }

  .toast-zone {
    width: calc(100vw - 28px);
    max-width: 360px;
  }

  .toast {
    width: 100%;
    max-width: 360px;
    justify-content: center;
    border-radius: 12px;
    text-align: center;
  }

  .prose {
    padding: 24px 18px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .newsletter-row {
    flex-wrap: wrap;
  }

  .newsletter-row input {
    flex: 1 1 190px;
  }

  .footer-bottom {
    justify-content: flex-start;
    text-align: left;
  }
}

.mobile-catalog-toggle,
.mobile-filter-toggle {
  display: none;
}

.editorial-product-card {
  display: none;
}

@media (max-width: 600px) {
  body[data-page="shop"] .page-hero {
    padding: 28px 0 24px;
  }

  body[data-page="shop"] .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.15rem, 10vw, 2.85rem);
  }

  body[data-page="shop"] .page-hero .lead {
    font-size: .92rem;
    line-height: 1.5;
  }

  .mobile-catalog-toggle,
  .mobile-filter-toggle {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    color: var(--bark);
    font-weight: 800;
  }

  .mobile-catalog-toggle {
    width: 100%;
    margin-bottom: 12px;
  }

  .category-chips {
    display: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0 0 18px;
    padding: 0;
  }

  .category-chips.mobile-open {
    display: grid;
  }

  .category-chips .chip {
    width: 100%;
    min-height: 44px;
    white-space: normal;
    text-align: left;
  }

  .editorial-product-card:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    overflow: hidden;
    margin: 0 0 24px;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    background: var(--paper);
    box-shadow: var(--shadow-sm);
  }

  .editorial-product-media {
    min-width: 0;
    background: #f0ece4;
  }

  .editorial-product-media img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: contain;
    padding: 12px;
  }

  .editorial-product-copy {
    padding: 20px 16px;
  }

  .editorial-product-copy .eyebrow {
    font-size: .62rem;
    letter-spacing: .12em;
  }

  .editorial-product-copy .eyebrow::before {
    width: 18px;
  }

  .editorial-product-copy p {
    margin: 8px 0 14px;
    color: var(--bark-soft);
    font-size: .84rem;
    line-height: 1.45;
  }

  .shop-toolbar {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  .shop-toolbar .result-count {
    grid-column: 1 / -1;
  }

  .shop-toolbar select {
    width: 100%;
    min-width: 0;
  }

  .filters {
    display: none;
    max-height: none;
    margin-bottom: 18px;
    overflow: visible;
  }

  .filters.mobile-open {
    display: block;
  }
}

@media (max-width: 430px) {
  .editorial-product-card:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .editorial-product-media img {
    min-height: 220px;
    max-height: 260px;
  }

  .products-grid .product-card {
    display: grid;
    grid-template-columns: minmax(118px, 40%) minmax(0, 1fr);
  }

  .products-grid .product-card .thumb {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .products-grid .product-card .info {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
  }

  .products-grid .product-card .quick-add {
    display: none;
  }
}

@media (max-width: 430px) {
  .products-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cookie-banner .row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 340px) {
  .site-header .logo {
    max-width: 28px;
    gap: 0;
    font-size: 0;
  }

  .site-header .logo .mark {
    flex: 0 0 28px;
  }

  .site-header .logo em {
    display: none;
  }
}

.gallery-mobile-nav {
  display: none;
}

@media (max-width: 600px) {
  .product-section {
    padding-top: 22px;
  }

  .product-crumbs {
    margin-bottom: 18px;
  }

  .pd-layout {
    gap: 22px;
  }

  .gallery-main {
    width: 100%;
    max-height: min(66vw, 260px);
    aspect-ratio: 4 / 3;
  }

  .gallery-main img {
    padding: 14px;
  }

  .gallery-thumbs {
    display: none;
  }

  .gallery-mobile-nav {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
  }

  .gallery-mobile-nav button {
    min-height: 44px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--paper);
    padding: 8px 13px;
    color: var(--bark);
    font-weight: 800;
  }

  .pd-purchase {
    padding: 18px;
  }

  .pd-info h1 {
    margin-top: 8px;
    font-size: clamp(1.75rem, 8vw, 2.35rem);
  }

  .qty-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 10px;
  }

  .qty-row .btn {
    min-width: 0 !important;
  }

  .product-description {
    max-width: 62ch;
    color: var(--bark-soft);
    line-height: 1.72;
  }

  body[data-page="shop"]:has(.mobile-buy-bar) {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
  }

  .mobile-buy-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 74;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(138px, auto);
    gap: 12px;
    align-items: center;
    min-height: 72px;
    padding: 10px max(14px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: rgba(255, 254, 251, 0.97);
    box-shadow: 0 -12px 36px rgba(40, 35, 29, 0.14);
    backdrop-filter: blur(10px);
  }

  .mobile-buy-copy {
    min-width: 0;
  }

  .mobile-buy-label {
    display: block;
    color: var(--bark-soft);
    font-size: 0.72rem;
    font-weight: 700;
  }

  .mobile-buy-price {
    display: block;
    overflow: hidden;
    font-size: 1.08rem;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-buy-bar .btn {
    min-width: 0;
    min-height: 48px;
    padding-inline: 18px;
  }

  body.cookie-visible .mobile-buy-bar,
  body.overlay-open .mobile-buy-bar {
    display: none;
  }
}

.learn-start-feature:not([hidden]) {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  overflow: hidden;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.learn-start-media {
  min-height: 360px;
  background: #f0ece4;
}

.learn-start-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.learn-start-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(28px, 5vw, 58px);
}

.learn-start-copy p {
  margin: 14px 0 22px;
  color: var(--bark-soft);
  line-height: 1.65;
}

.article-title {
  margin: 14px 0 18px;
}

.article-deck {
  margin-bottom: 30px;
}

.article-intro {
  margin-top: 34px;
  color: var(--bark);
  font-size: 1.08rem;
  line-height: 1.76;
}

.article-section {
  margin-top: 44px;
}

.article-checklist {
  margin: 42px 0 26px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream);
}

.article-checklist h2 {
  margin-top: 0;
}

.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

@media (max-width: 600px) {
  body[data-page="learn"] .page-hero {
    padding: 28px 0 24px;
  }

  .learn-start-feature:not([hidden]) {
    grid-template-columns: minmax(0, 1fr);
  }

  .learn-start-media {
    min-height: 250px;
  }

  .learn-start-copy {
    padding: 24px 20px;
  }

  .learn-article-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose {
    padding: 24px 18px;
  }

  .article-hero-image {
    max-height: 320px;
  }

  .article-section {
    margin-top: 34px;
  }

  .article-checklist {
    padding: 20px;
  }
}

/* Homepage practical-guidance workbench collage */
.home-learning-section {
  padding-block: clamp(56px, 6vw, 88px);
}

.home-learning-section .section-head {
  margin-bottom: clamp(24px, 3vw, 38px);
}

.home-learning-section .section-head .h-1 {
  max-width: 15ch;
  font-size: clamp(2.45rem, 4.3vw, 4.4rem);
}

.home-learning-section .learn-article-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(168px, 16vw, 236px);
  gap: clamp(12px, 1.55vw, 22px);
}

.home-learning-section .article-card {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--beige);
  border: 1px solid var(--line-soft);
}

.home-learning-section .article-card:nth-child(1) {
  grid-column: span 5;
  grid-row: span 2;
}

.home-learning-section .article-card:nth-child(2) {
  grid-column: span 4;
}

.home-learning-section .article-card:nth-child(3) {
  grid-column: span 3;
}

.home-learning-section .article-card:nth-child(4) {
  grid-column: span 7;
}

.home-learning-section .article-card .thumb {
  display: block;
  height: 100%;
  aspect-ratio: auto;
  border: 0;
}

.home-learning-section .article-card .thumb img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
}

.home-learning-section .article-card .body {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  max-width: 34rem;
  padding: 13px 15px;
  background: rgba(255, 252, 246, 0.94);
  border: 1px solid rgba(57, 50, 42, 0.1);
}

.home-learning-section .article-card .body p {
  display: none;
}

.home-learning-section .article-card h3 {
  margin: 6px 0 0;
  font-size: clamp(1rem, 1.35vw, 1.32rem);
  line-height: 1.14;
}

@media (max-width: 960px) {
  .home-learning-section .learn-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(210px, 31vw, 290px);
  }

  .home-learning-section .article-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .home-learning-section .article-card:nth-child(1),
  .home-learning-section .article-card:nth-child(4) {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .home-learning-section {
    padding-block: 52px;
  }

  .home-learning-section .section-head {
    margin-bottom: 24px;
  }

  .home-learning-section .section-head .h-1 {
    max-width: 12ch;
    font-size: clamp(2.2rem, 10vw, 3.1rem);
  }

  .home-learning-section .learn-article-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: minmax(230px, 58vw);
  }

  .home-learning-section .article-card:nth-child(n) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .home-learning-section .article-card .body {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 11px 13px;
  }
}
