/* ==========================================================================
   UrbOvan: website styles
   Palette and type follow urbovan_website_reference.png:
   warm cream canvas, deep forest green, serif display + clean sans body.
   ========================================================================== */

:root {
  --cream: #f6f1e7;
  --paper: #fcfaf5;
  --sage: #eaf0e4;
  --sage-2: #dfe8d7;
  --forest: #1e4634;
  --forest-deep: #143024;
  --forest-ink: #0f2419;
  --leaf: #5b8a4c;
  --ink: #1d2820;
  --muted: #5d695f;
  --line: #e6dfd1;
  --line-strong: #d6cdbb;
  --star: #e0a43a;
  --clay: #b4532e;
  --clay-deep: #96421f;
  --clay-soft: #f6e4d9;
  --danger: #b4452f;

  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(30, 50, 35, .06), 0 2px 8px rgba(30, 50, 35, .05);
  --shadow-md: 0 6px 24px rgba(30, 50, 35, .10);
  --shadow-lg: 0 18px 50px rgba(20, 40, 28, .18);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--leaf); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 28px; height: 28px; stroke-width: 1.5; }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--forest-deep); margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.9rem); line-height: 1.06; }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
h3 { font-size: 1.1rem; line-height: 1.3; }
p { margin: 0; }
.eyebrow {
  font-family: var(--font-body); font-size: .78rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: var(--forest);
}
.lead { color: var(--muted); font-size: 1.05rem; max-width: 44ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 14px; border: 1.5px solid transparent;
  font-weight: 600; font-size: .98rem; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.btn .icon { transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--forest); color: #fff; box-shadow: 0 6px 16px rgba(30, 70, 52, .22); }
.btn-primary:hover { background: var(--forest-deep); }
.btn-outline { background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: #fff; }
.btn-light { background: #fff; color: var(--forest-deep); }
.btn-light:hover { background: var(--sage); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: .9rem; border-radius: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--forest);
  min-height: 44px;
}
.link-arrow:hover .icon { transform: translateX(3px); }
.link-arrow .icon { transition: transform .2s var(--ease); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(252, 250, 245, .88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 18px rgba(30, 50, 35, .05); }
.header-inner { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo {
  display: inline-flex; align-items: center; gap: 1px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.65rem; letter-spacing: -.03em; color: var(--forest-ink);
}
.logo-mark { width: 30px; height: 30px; margin: 0 1px; }
.main-nav { display: flex; gap: 6px; }
.main-nav a {
  padding: 10px 12px; border-radius: 10px; font-size: .93rem; font-weight: 500; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.main-nav a:hover { background: var(--sage); }
.main-nav a[aria-current="page"] { color: var(--forest); font-weight: 600; }
.header-search { flex: 1; max-width: 340px; margin-left: auto; position: relative; }
.header-search input {
  width: 100%; height: 44px; padding: 0 16px 0 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--cream); font-size: .9rem;
  transition: border-color .2s, background-color .2s;
}
.header-search input:focus { outline: none; border-color: var(--leaf); background: #fff; }
.header-search .icon { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); width: 18px; height: 18px; }
.header-actions { display: flex; gap: 4px; }
.icon-btn {
  position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px;
  border-radius: 12px; border: 0; background: transparent; color: var(--forest-ink);
  transition: background-color .2s;
}
.icon-btn:hover { background: var(--sage); }
.cart-count {
  position: absolute; top: 4px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--forest); color: #fff; font-size: .68rem; font-weight: 700;
  display: grid; place-items: center; transform: scale(0); transition: transform .25s var(--ease);
}
.cart-count.has-items { transform: scale(1); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-toggle { display: none; }

.mobile-nav {
  display: none; border-top: 1px solid var(--line); background: var(--paper); padding: 8px var(--gutter) 16px;
}
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav .header-search { display: block; max-width: none; margin: 8px 0 4px; }

/* ---------- Hero ---------- */
.hero { padding-top: 20px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: var(--r-xl);
  min-height: clamp(460px, 62vh, 600px); display: flex; align-items: center;
  background: #efe6d4;
}
.hero-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(250, 246, 237, .97) 0%, rgba(250, 246, 237, .88) 30%, rgba(250, 246, 237, .35) 55%, rgba(250, 246, 237, 0) 72%);
}
.hero-content { position: relative; z-index: 1; padding: clamp(28px, 6vw, 72px); max-width: 620px; }
.hero-content h1 { margin: 14px 0 18px; }
.hero-content .lead { color: #3e4a41; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-badge {
  position: absolute; right: 28px; bottom: 28px; z-index: 1;
  display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px;
  background: rgba(255, 255, 255, .92); border-radius: 18px; box-shadow: var(--shadow-md);
  font-size: .85rem; line-height: 1.3;
}
.hero-badge img { width: 46px; height: 46px; border-radius: 12px; object-fit: cover; }
.hero-badge strong { display: block; color: var(--forest-deep); }
.hero-badge span { color: var(--muted); }

/* ---------- Trust strip ---------- */
.trust {
  margin-top: 20px; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--sage); border-radius: var(--r-lg); padding: 8px;
}
.trust-item {
  display: flex; align-items: center; gap: 14px; padding: 18px 20px; font-size: .9rem; line-height: 1.35;
}
.trust-item + .trust-item { border-left: 1px solid rgba(30, 70, 52, .12); }
.trust-item .icon { width: 30px; height: 30px; color: var(--forest); stroke-width: 1.5; }
.trust-item strong { display: block; font-weight: 600; color: var(--forest-deep); }
.trust-item span { color: var(--muted); font-size: .82rem; }

/* ---------- Sections ---------- */
.section { padding-top: clamp(56px, 8vw, 96px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-head p { color: var(--muted); margin-top: 8px; }

/* Space cards */
.space-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.space-card {
  display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg);
  overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.space-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.space-card .media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sage); }
.space-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.space-card:hover .media img { transform: scale(1.05); }
.space-card .body { display: flex; align-items: center; gap: 12px; padding: 16px 18px 18px; }
.space-card .body > div { flex: 1; }
.space-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.space-card p { font-size: .85rem; color: var(--muted); margin-top: 2px; }
.round-arrow {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; flex: none;
  background: var(--sage); color: var(--forest); transition: background-color .2s, color .2s;
}
.space-card:hover .round-arrow { background: var(--forest); color: #fff; }

/* ---------- Product cards ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.product-card {
  position: relative; display: flex; flex-direction: column; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 20%, #fbf6ec 0%, #efe6d4 100%);
}
.product-media img {
  width: 100%; height: 100%; object-fit: contain; padding: 14px 10px 0;
  mix-blend-mode: multiply; transition: transform .5s var(--ease);
}
.product-media img.fill { object-fit: cover; padding: 0; }
.product-card:hover .product-media img { transform: scale(1.05); }
.fav-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; color: var(--forest-ink);
  box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), color .2s;
}
.fav-btn:hover { transform: scale(1.08); }
.fav-btn[aria-pressed="true"] { color: var(--danger); }
.fav-btn[aria-pressed="true"] .icon { fill: currentColor; }
.tag-pill {
  position: absolute; top: 14px; left: 14px; z-index: 2; padding: 5px 10px; border-radius: 999px;
  background: var(--forest); color: #fff; font-size: .72rem; font-weight: 600; letter-spacing: .02em;
}
.product-info { display: flex; flex-direction: column; gap: 10px; padding: 16px 16px 18px; flex: 1; }
.product-info h3 { font-family: var(--font-body); font-size: 1.02rem; font-weight: 600; }
.product-info h3 a:hover { color: var(--forest); }
.meta-dots { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .8rem; color: var(--muted); }
.meta-dots span + span::before { content: "•"; margin-right: 8px; color: var(--line-strong); }
.price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { font-size: 1.25rem; font-weight: 700; color: var(--forest-ink); font-variant-numeric: tabular-nums; }
.rating { display: inline-flex; align-items: center; gap: 4px; font-size: .8rem; color: var(--muted); }
.rating .icon { width: 14px; height: 14px; fill: var(--star); stroke: var(--star); }
.rating b { color: var(--ink); font-weight: 600; }
.size-chips { display: flex; gap: 6px; }
.size-chip {
  min-width: 44px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line-strong);
  background: transparent; font-size: .8rem; font-weight: 500; color: var(--muted);
  transition: border-color .2s, background-color .2s, color .2s;
}
.size-chip:hover { border-color: var(--forest); color: var(--forest); }
.size-chip[aria-pressed="true"] { border-color: var(--forest); background: var(--sage); color: var(--forest-deep); font-weight: 600; }
.product-card .btn { margin-top: auto; min-height: 44px; }
.btn.added { background: var(--leaf); }

/* ---------- Help CTA ---------- */
.help-cta {
  display: grid; grid-template-columns: 1.05fr 1fr; overflow: hidden;
  background: var(--sage); border-radius: var(--r-xl); min-height: 380px;
}
.help-cta .text { padding: clamp(28px, 5vw, 60px); display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.help-cta .text p { color: var(--muted); max-width: 42ch; }
.help-cta .btn { align-self: flex-start; margin-top: 8px; }
.help-cta .media { position: relative; }
.help-cta .media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.chat-bubble {
  position: absolute; right: 24px; bottom: 28px; max-width: 230px; padding: 12px 14px;
  background: #fff; border-radius: 16px 16px 4px 16px; box-shadow: var(--shadow-md); font-size: .82rem; line-height: 1.4;
}
.chat-bubble strong { display: flex; align-items: center; gap: 6px; color: var(--forest); font-size: .78rem; margin-bottom: 2px; }
.chat-bubble strong img { width: 22px; height: 22px; border-radius: 50%; mix-blend-mode: multiply; }

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.how-media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.4; }
.how-media img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; counter-reset: step; }
.steps li {
  display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.step-num {
  flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--sage); color: var(--forest);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
}
.steps h3 { font-family: var(--font-body); font-size: 1rem; }
.steps p { font-size: .9rem; color: var(--muted); margin-top: 2px; }

/* ---------- Category ribbon ---------- */
.ribbon {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 4px;
  padding-top: 26px; padding-bottom: 26px; margin-top: clamp(48px, 7vw, 80px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.ribbon .badge-leaf { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sage); color: var(--forest); margin-right: 14px; }
.ribbon a { padding: 10px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; transition: color .2s, background-color .2s; }
.ribbon a:hover { color: var(--forest); background: var(--sage); }
.ribbon .dot { color: var(--line-strong); }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(56px, 8vw, 96px); background: var(--forest-deep); color: #dfe8dc; position: relative; overflow: hidden; }
.site-footer::before {
  content: ""; position: absolute; inset: 0; opacity: .08; pointer-events: none;
  background: url("../images/city.webp") center 60% / cover no-repeat;
}
.footer-hero { position: relative; text-align: center; padding-top: 64px; padding-bottom: 44px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-hero .icon { width: 30px; height: 30px; color: #a9c79a; margin: 0 auto 12px; }
.footer-hero h2 { color: #fff; }
.footer-hero p { color: #b9c9b6; margin: 10px auto 24px; max-width: 46ch; }
.footer-grid { position: relative; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-top: 44px; padding-bottom: 44px; }
.footer-grid h4, .footer-grid .ft-h { margin: 0 0 12px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: #a9c79a; }
.footer-grid a { display: block; padding: 6px 0; color: #dfe8dc; font-size: .93rem; }
.footer-grid a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-grid a.logo { display: inline-flex; font-size: 1.65rem; padding: 0; color: #fff; margin-bottom: 12px; }
.footer-grid a.logo:hover { text-decoration: none; }
.footer-grid .about { color: #b9c9b6; font-size: .9rem; max-width: 34ch; }
.footer-bottom { position: relative; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 18px; padding-bottom: 26px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .82rem; color: #9fb19b; }

/* ---------- Shop page ---------- */
.page-banner {
  position: relative; overflow: hidden; margin-top: 20px; border-radius: var(--r-xl);
  background: linear-gradient(100deg, #f8f3e9 0%, #f3ecdf 45%, #e7dcc6 100%);
  min-height: 260px; display: flex; align-items: center;
}
.page-banner .text { position: relative; z-index: 1; padding: clamp(28px, 5vw, 56px); max-width: 560px; }
.page-banner h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); margin: 12px 0 12px; }
.page-banner p { color: var(--muted); }
.page-banner > img {
  position: absolute; right: 0; top: 0; height: 100%; width: 52%; object-fit: cover; object-position: 30% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}

.cat-row { display: flex; gap: 12px; margin: 28px 0 22px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-btn {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 96px;
  padding: 0; border: 0; background: none; font-size: .85rem; font-weight: 500; color: var(--muted);
}
.cat-btn .circle {
  display: grid; place-items: center; width: 62px; height: 62px; border-radius: 20px;
  background: var(--paper); border: 1px solid var(--line); color: var(--forest);
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease);
}
.cat-btn:hover .circle { border-color: var(--forest); transform: translateY(-2px); }
.cat-btn[aria-pressed="true"] { color: var(--forest-deep); font-weight: 600; }
.cat-btn[aria-pressed="true"] .circle { background: var(--forest); border-color: var(--forest); color: #fff; }

.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 22px; }
.toolbar .count { color: var(--muted); font-size: .9rem; }
.select-wrap { position: relative; }
.select-wrap select {
  appearance: none; height: 44px; padding: 0 40px 0 16px; border-radius: 12px; border: 1px solid var(--line);
  background: var(--paper); font-size: .9rem; font-weight: 500; cursor: pointer;
}
.select-wrap .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--muted); width: 16px; height: 16px; }
.toolbar .header-search { margin-left: auto; max-width: 280px; }
.toolbar .header-search input { background: var(--paper); }
.empty-state {
  grid-column: 1 / -1; text-align: center; padding: 56px 20px; background: var(--paper);
  border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--muted);
}
.empty-state h3 { margin-bottom: 6px; }

.help-strip {
  display: flex; align-items: center; gap: 18px; margin-top: 36px; padding: 22px 26px;
  background: var(--sage); border-radius: var(--r-lg);
}
.help-strip .leaf-badge { display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 50%; background: var(--paper); color: var(--forest); }
.help-strip .copy { flex: 1; }
.help-strip h3 { font-family: var(--font-body); font-size: 1rem; }
.help-strip p { font-size: .88rem; color: var(--muted); }

/* ---------- Product detail ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 22px 0 18px; font-size: .85rem; color: var(--muted); }
.breadcrumb a:hover { color: var(--forest); text-decoration: underline; }
.breadcrumb .icon { width: 14px; height: 14px; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 500; }
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.gallery { display: grid; grid-template-columns: 84px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 12px; }
.thumb {
  padding: 0; border: 2px solid transparent; border-radius: 14px; overflow: hidden; aspect-ratio: 1;
  background: #efe6d4; transition: border-color .2s;
}
.thumb img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.thumb[aria-current="true"] { border-color: var(--forest); }
.main-img {
  position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 4.6;
  background: radial-gradient(120% 90% at 50% 20%, #fbf6ec 0%, #ebe0ca 100%);
}
.main-img img { width: 100%; height: 100%; object-fit: contain; padding: 28px 18px 0; mix-blend-mode: multiply; transition: opacity .25s; }
.main-img img.fill { object-fit: cover; padding: 0; }
.pdp-info { position: sticky; top: 96px; }
.pdp-title { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.pdp-title h1 { font-size: clamp(2rem, 3.6vw, 2.6rem); }
.pdp-title .fav-btn { position: static; flex: none; background: var(--paper); border: 1px solid var(--line); box-shadow: none; width: 44px; height: 44px; }
.pdp-info .meta-dots { margin-top: 8px; font-size: .88rem; }
.pdp-price { display: flex; align-items: baseline; gap: 16px; margin: 20px 0 14px; }
.pdp-price .price { font-size: 2rem; }
.pdp-desc { color: var(--muted); }
.field-label { display: block; font-weight: 600; font-size: .92rem; margin: 26px 0 10px; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.size-option {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 8px;
  border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper);
  font-size: .85rem; color: var(--muted); transition: border-color .2s, background-color .2s;
}
.size-option b { font-size: 1rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.size-option:hover { border-color: var(--forest); }
.size-option[aria-checked="true"] { border-color: var(--forest); background: var(--sage); color: var(--forest-deep); box-shadow: inset 0 0 0 1px var(--forest); }
.buy-row { display: flex; gap: 12px; margin-top: 20px; }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line-strong); border-radius: 14px; background: var(--paper); }
.qty button { width: 44px; height: 48px; border: 0; background: none; display: grid; place-items: center; color: var(--forest-deep); }
.qty button:disabled { color: var(--line-strong); cursor: not-allowed; }
.qty output { min-width: 28px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; }
.buy-row .btn { flex: 1; }
.care-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 28px;
  background: var(--sage); border-radius: var(--r-lg); padding: 6px;
}
.care-item { display: flex; align-items: center; gap: 12px; padding: 16px; font-size: .84rem; line-height: 1.35; }
.care-item + .care-item { border-left: 1px solid rgba(30, 70, 52, .12); }
.care-item .icon { width: 28px; height: 28px; color: var(--forest); stroke-width: 1.5; }
.care-item strong { display: block; color: var(--forest-deep); font-weight: 600; }
.care-item span { color: var(--muted); }

.checkout-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 22px; margin-top: 22px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; }
.panel h3 { font-family: var(--font-body); font-size: 1.02rem; margin-bottom: 16px; }
.pin-form { display: flex; gap: 10px; }
.pin-form label { flex: 1; }
.pin-form input {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff;
}
.pin-form input:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(91, 138, 76, .18); }
.pin-msg { margin-top: 10px; font-size: .86rem; min-height: 1.3em; }
.pin-msg.ok { color: var(--leaf); }
.pin-msg.err { color: var(--danger); }
.ship-options { display: grid; gap: 10px; margin-top: 14px; }
.ship-option {
  display: flex; align-items: center; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; font-size: .9rem;
}
.ship-option:has(input:checked) { border-color: var(--forest); background: var(--sage); }
.ship-option input { accent-color: var(--forest); width: 18px; height: 18px; }
.ship-option .grow { flex: 1; }
.ship-option small { display: block; color: var(--muted); font-size: .78rem; }
.ship-option .free { font-weight: 600; color: var(--forest); }
.summary-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .9rem; color: var(--muted); }
.summary-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 16px; color: var(--ink); font-weight: 700; font-size: 1.15rem; }
.summary-row.total span:last-child { font-size: 1.5rem; }
.note-strip { display: flex; gap: 14px; align-items: center; margin-top: 22px; padding: 18px 22px; background: var(--sage); border-radius: var(--r-lg); font-size: .88rem; color: var(--muted); }
.note-strip strong { color: var(--forest-deep); display: block; }
.note-strip .icon { color: var(--forest); width: 30px; height: 30px; stroke-width: 1.5; }

/* ---------- Cart drawer / dialogs ---------- */
.scrim { position: fixed; inset: 0; z-index: 60; background: rgba(15, 30, 22, .42); opacity: 0; pointer-events: none; transition: opacity .25s; }
.scrim.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; z-index: 70; height: 100%; width: min(420px, 100%);
  background: var(--paper); box-shadow: var(--shadow-lg); display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .32s var(--ease); visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.35rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 20px; }
.drawer-foot { padding: 18px 20px 22px; border-top: 1px solid var(--line); }
.cart-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 72px; height: 72px; border-radius: 12px; object-fit: contain; background: #efe6d4; mix-blend-mode: multiply; }
.cart-line h3 { font-family: var(--font-body); font-size: .95rem; }
.cart-line .sub { font-size: .8rem; color: var(--muted); }
.cart-line .qty { margin-top: 6px; border-radius: 10px; }
.cart-line .qty button { width: 36px; height: 36px; }
.cart-line .remove { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 8px 0; min-height: 44px; }
.cart-empty { text-align: center; padding: 48px 8px; color: var(--muted); }
.cart-empty img { width: 120px; margin: 0 auto 12px; mix-blend-mode: multiply; }

.modal {
  position: fixed; z-index: 70; left: 50%; top: 50%; width: min(520px, calc(100% - 32px)); max-height: calc(100% - 32px); overflow-y: auto;
  transform: translate(-50%, -46%) scale(.98); opacity: 0; visibility: hidden;
  background: var(--paper); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.modal.open { opacity: 1; visibility: visible; transform: translate(-50%, -50%); }
.modal-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.modal-head img { width: 44px; height: 44px; border-radius: 50%; mix-blend-mode: multiply; background: #fff; }
.modal-head h2 { font-size: 1.25rem; flex: 1; }
.modal-head p { font-size: .8rem; color: var(--muted); font-family: var(--font-body); }
.modal-body { padding: 20px; }
.form-q { font-weight: 600; margin-bottom: 12px; }
.choice-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 10px; padding: 14px; min-height: 56px; text-align: left;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-weight: 500; font-size: .92rem;
  transition: border-color .2s, background-color .2s;
}
.choice:hover { border-color: var(--forest); background: var(--sage); }
.choice .icon { color: var(--forest); }
.form-progress { display: flex; gap: 6px; margin-bottom: 18px; }
.form-progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background-color .3s; }
.form-progress span.on { background: var(--forest); }
.reco-list { display: grid; gap: 10px; margin: 6px 0 16px; }
.reco {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px;
  border: 1px solid var(--line); border-radius: 14px; background: #fff;
}
.reco img { width: 64px; height: 64px; object-fit: contain; border-radius: 10px; background: #efe6d4; mix-blend-mode: multiply; }
.reco b { display: block; font-size: .95rem; }
.reco span { font-size: .8rem; color: var(--muted); }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translate(-50%, calc(100% + 40px));
  visibility: hidden;
  display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 14px;
  background: var(--forest-ink); color: #fff; font-size: .9rem; box-shadow: var(--shadow-lg);
  transition: transform .35s var(--ease), visibility .35s; max-width: calc(100% - 32px);
}
.toast.show { transform: translate(-50%, 0); visibility: visible; }
.toast .icon { color: #a9c79a; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .main-nav { display: none; }
  .header-inner > .header-search { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: inline-grid; }
  .space-grid { grid-template-columns: repeat(2, 1fr); }
  .trust { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .pdp { grid-template-columns: 1fr; }
  .pdp-info { position: static; }
}
@media (max-width: 760px) {
  .hero-card { align-items: flex-end; min-height: 560px; }
  .hero-card > img { object-position: 65% 30%; height: 62%; }
  .hero-card::after { background: linear-gradient(180deg, rgba(250, 246, 237, 0) 25%, rgba(250, 246, 237, .92) 48%, #faf6ed 60%); }
  .hero-badge { display: none; }
  .help-cta, .how { grid-template-columns: 1fr; }
  .help-cta .media { min-height: 300px; }
  .how-media { aspect-ratio: 4 / 3; }
  .checkout-grid { grid-template-columns: 1fr; }
  .page-banner { align-items: flex-end; min-height: 380px; }
  .page-banner > img { width: 100%; height: 58%; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .toolbar .header-search { margin-left: 0; max-width: none; flex-basis: 100%; order: -1; }
  .help-strip { flex-wrap: wrap; }
  .help-strip .btn { width: 100%; }
}
@media (max-width: 560px) {
  .space-grid { gap: 12px; }
  .space-card .body { padding: 12px; }
  .space-card p { display: none; }
  .space-card .round-arrow { width: 30px; height: 30px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust-item { flex-direction: column; text-align: center; gap: 8px; padding: 16px 8px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .product-info { padding: 12px; gap: 8px; }
  .product-info h3 { font-size: .92rem; }
  .price { font-size: 1.05rem; }
  .price-row { flex-direction: column; align-items: flex-start; gap: 2px; }
  .size-chip { min-width: 38px; padding: 0 6px; }
  .gallery { grid-template-columns: 1fr; }
  .thumbs { flex-direction: row; order: 2; }
  .thumb { width: 64px; }
  .care-strip { grid-template-columns: 1fr; }
  .care-item + .care-item { border-left: 0; border-top: 1px solid rgba(30, 70, 52, .12); }
  .footer-grid { grid-template-columns: 1fr; }
  .choice-list { grid-template-columns: 1fr; }
  .section-head { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Forms (callback request) ---------- */
.form-field { display: grid; gap: 6px; margin-bottom: 16px; }
.form-field label { font-weight: 600; font-size: .9rem; }
.form-field .opt { font-weight: 400; color: var(--muted); }
.form-field input, .form-field textarea, .form-field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; font-size: 1rem;
}
.form-field .select-wrap select { background: #fff; height: 48px; font-weight: 400; padding: 0 40px 0 14px; }
.form-field textarea { resize: vertical; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { outline: none; border-color: var(--leaf); box-shadow: 0 0 0 3px rgba(91, 138, 76, .18); }
.form-field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .82rem; min-height: 1em; }

/* reserve the header height before the script renders it (prevents layout shift) */
.site-header { min-height: 73px; }
