/* ============================================================================
   Gresia — Passione Uncinetto · Design system
   Warm artisan e-commerce. Warmth via committed terracotta/rosa + photography,
   not a beige body wash. OKLCH throughout. See DESIGN.md.
   ========================================================================== */

/* ---- Fonts ---------------------------------------------------------------- */
@import url("https://fonts.googleapis.com/css2?family=Young+Serif&family=Hanken+Grotesk:wght@400;500;600;700;800&display=swap");

/* ---- Tokens --------------------------------------------------------------- */
:root {
  --bg:          oklch(0.992 0.006 70);
  --surface:     oklch(0.972 0.012 60);
  --surface-2:   oklch(0.948 0.018 55);
  --line:        oklch(0.90 0.02 55);

  --ink:         oklch(0.30 0.045 40);
  --ink-soft:    oklch(0.44 0.040 40);
  --muted:       oklch(0.52 0.030 50);

  --terracotta:      oklch(0.585 0.125 42);
  --terracotta-deep: oklch(0.475 0.120 40);

  --rose:        oklch(0.86 0.055 18);
  --rose-200:    oklch(0.92 0.035 20);
  --rose-btn:    oklch(0.55 0.150 16);
  --rose-btn-h:  oklch(0.49 0.150 16);

  --peach:       oklch(0.88 0.075 60);
  --peach-deep:  oklch(0.70 0.110 58);

  --sage:        oklch(0.83 0.045 150);
  --sage-deep:   oklch(0.50 0.060 152);

  --ok:    oklch(0.55 0.10 150);
  --warn:  oklch(0.70 0.13 70);
  --error: oklch(0.55 0.17 25);
  --on-color: oklch(0.99 0.01 70);

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --space-1:.25rem; --space-2:.5rem; --space-3:.75rem; --space-4:1rem;
  --space-6:1.5rem; --space-8:2rem; --space-12:3rem; --space-16:4rem; --space-24:6rem;

  --radius-sm:.5rem; --radius:.875rem; --radius-lg:1.25rem; --radius-xl:1.75rem; --radius-pill:999px;

  --shadow-sm: 0 1px 2px oklch(0.30 0.05 40 / .06), 0 1px 3px oklch(0.30 0.05 40 / .08);
  --shadow:    0 6px 20px oklch(0.45 0.08 40 / .10);
  --shadow-lg: 0 18px 50px oklch(0.45 0.08 40 / .16);

  --container: 1200px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);          /* ease-out-expo-ish */
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);

  /* z-index scale */
  --z-dropdown: 100; --z-header: 200; --z-backdrop: 300; --z-drawer: 400; --z-toast: 500;
}

/* ---- Reset ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--terracotta); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--rose); color: var(--ink); }

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

/* ---- Typography ----------------------------------------------------------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.08; letter-spacing: -0.01em; color: var(--terracotta-deep); text-wrap: balance; }
h4, h5, h6 { font-family: var(--font-sans); font-weight: 700; line-height: 1.2; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.8vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 1.4rem + 2.2vw, 3.1rem); }
h3 { font-size: clamp(1.4rem, 1.15rem + 1.1vw, 2rem); }
h4 { font-size: 1.2rem; }
p { text-wrap: pretty; max-width: 68ch; }
.lead { font-size: clamp(1.1rem, 1.02rem + 0.5vw, 1.4rem); color: var(--ink-soft); line-height: 1.5; }
strong, b { font-weight: 700; }
small { font-size: .8125rem; }

.eyebrow { /* used sparingly & named, not as per-section scaffold */
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .02em; color: var(--terracotta);
}
.eyebrow::before { content: ""; width: 1.6rem; height: 2px; background: var(--terracotta); border-radius: 2px; }

/* ---- Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.5rem); }
.section { padding-block: clamp(3.5rem, 2rem + 7vw, 7rem); }
.section--tight { padding-block: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
main { flex: 1 0 auto; }
.stack > * + * { margin-top: var(--space-4); }
.center { text-align: center; }
.flow > * + * { margin-top: 1em; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; 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: 1rem; top: -3rem; z-index: var(--z-toast); background: var(--ink); color: var(--on-color); padding: .6rem 1rem; border-radius: var(--radius-sm); transition: top .2s; }
.skip-link:focus { top: 1rem; }

.section-head { max-width: 60ch; margin-bottom: clamp(1.8rem, 1rem + 2.5vw, 3rem); }
.section-head.center { margin-inline: auto; }
.section-head .lead { margin-top: .8rem; }

/* ---- Buttons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: .9rem 1.5rem; min-height: 48px;
  border: 2px solid transparent; border-radius: var(--radius-pill);
  transition: transform .35s var(--ease-out), background-color .25s, box-shadow .35s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--rose-btn); color: var(--on-color); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--rose-btn-h); box-shadow: var(--shadow); }
.btn--secondary { background: transparent; color: var(--terracotta-deep); border-color: var(--terracotta); }
.btn--secondary:hover { background: var(--terracotta); color: var(--on-color); }
.btn--ghost { background: transparent; color: var(--ink); padding-inline: .6rem; }
.btn--ghost:hover { color: var(--terracotta-deep); }
.btn--on-dark { background: var(--on-color); color: var(--terracotta-deep); }
.btn--on-dark:hover { background: var(--bg); }
.btn--block { width: 100%; }
.btn--sm { padding: .55rem 1rem; min-height: 40px; font-size: .9rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---- Badges & pills ------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; font-weight: 700; letter-spacing: .01em; padding: .3rem .6rem; border-radius: var(--radius-pill); line-height: 1; }
.badge--cat   { background: var(--sage); color: var(--sage-deep); }
.badge--custom{ background: var(--peach); color: oklch(0.40 0.10 55); }
.badge--new   { background: var(--rose); color: oklch(0.40 0.13 16); }
.badge--soldout { background: var(--surface-2); color: var(--muted); }
.badge--instock { color: var(--ok); font-weight: 600; }
.badge--low { color: var(--warn); font-weight: 600; }

/* ---- Image fallback (onerror) -------------------------------------------- */
.img-fallback {
  background: linear-gradient(135deg, var(--rose-200), var(--peach));
  display: grid; place-items: center; color: var(--terracotta-deep);
  font-family: var(--font-display); font-size: 1.4rem; text-align: center; padding: 1rem;
}

/* ============================================================================
   Header
   ========================================================================== */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: oklch(0.992 0.006 70 / .82);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header__bar { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.brand { display: inline-flex; align-items: baseline; gap: .5rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--terracotta-deep); line-height: 1; }
.brand small { font-family: var(--font-sans); font-size: .62rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: .25rem; margin-left: auto; }
.main-nav a { padding: .55rem .8rem; border-radius: var(--radius-pill); font-weight: 500; color: var(--ink-soft); transition: color .2s, background-color .2s; position: relative; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--terracotta-deep); }
.main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .25rem; height: 2px; background: var(--rose-btn); border-radius: 2px; }
.header-actions { display: flex; align-items: center; gap: .4rem; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill); border: none; background: transparent; color: var(--ink); transition: background-color .2s, color .2s; position: relative; }
.icon-btn:hover { background: var(--surface-2); color: var(--terracotta-deep); }
.cart-count { position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--radius-pill); background: var(--rose-btn); color: var(--on-color); font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.cart-count[hidden] { display: none; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .nav-toggle { display: inline-grid; }
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; z-index: var(--z-dropdown);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1rem 1.2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .35s var(--ease-out), opacity .25s, visibility .25s;
  }
  .main-nav[data-open="true"] { transform: translateY(0); opacity: 1; visibility: visible; }
  .main-nav a { padding: .9rem .6rem; font-size: 1.05rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .main-nav a[aria-current="page"]::after { display: none; }
}

/* ============================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--terracotta); color: var(--on-color); margin-top: var(--space-24); }
.site-footer a { color: var(--on-color); opacity: .9; }
.site-footer a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__grid { display: grid; gap: clamp(2rem, 4vw, 3rem); grid-template-columns: 1.4fr repeat(3, 1fr); padding-block: clamp(3rem, 5vw, 5rem); }
.site-footer h4 { color: var(--on-color); font-family: var(--font-sans); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; opacity: .8; margin-bottom: 1rem; }
.site-footer .brand { color: var(--on-color); }
.site-footer .brand small { color: oklch(0.99 0.01 70 / .7); }
.site-footer ul { display: grid; gap: .6rem; }
.footer-note { color: oklch(0.99 0.01 70 / .85); max-width: 34ch; margin-top: 1rem; }
.footer-bottom { border-top: 1px solid oklch(0.99 0.01 70 / .25); padding-block: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .85rem; color: oklch(0.99 0.01 70 / .85); }
.payment-marks { display: inline-flex; gap: .5rem; align-items: center; }
.payment-marks span { background: oklch(0.99 0.01 70 / .16); border-radius: 6px; padding: .25rem .5rem; font-size: .7rem; font-weight: 700; letter-spacing: .03em; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .site-footer__grid { grid-template-columns: 1fr; } }

/* ============================================================================
   Hero (home)
   ========================================================================== */
.hero { position: relative; overflow: clip; }
.hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(2.5rem, 2rem + 5vw, 6rem); }
.hero__copy { max-width: 34rem; }
.hero h1 { margin-top: 1rem; }
.hero .lead { margin-top: 1.4rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.2rem; color: var(--muted); font-size: .9rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }
.hero__media { position: relative; }
.hero__media .photo { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/5; object-fit: cover; width: 100%; }
.hero__media .photo--mini { position: absolute; width: 42%; aspect-ratio: 1; right: -1.2rem; bottom: -1.2rem; border-radius: var(--radius-lg); border: 6px solid var(--bg); box-shadow: var(--shadow); }
.hero__tag { position: absolute; left: -1rem; top: 1.5rem; background: var(--bg); border-radius: var(--radius-pill); padding: .55rem 1rem; box-shadow: var(--shadow); display: inline-flex; gap: .5rem; align-items: center; font-weight: 600; font-size: .9rem; }
.hero__tag b { color: var(--terracotta-deep); }
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero__media { max-width: 420px; }
  .hero__media .photo--mini { right: 0; }
}

/* ---- Marquee strip -------------------------------------------------------- */
.strip { background: var(--terracotta-deep); color: var(--on-color); overflow: hidden; }
.strip__track { display: flex; gap: 3rem; padding-block: .8rem; white-space: nowrap; width: max-content; animation: marquee 32s linear infinite; }
.strip span { font-weight: 600; font-size: .92rem; display: inline-flex; gap: .6rem; align-items: center; opacity: .95; }
.strip span::before { content: "✿"; color: var(--rose); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip__track { animation: none; justify-content: center; flex-wrap: wrap; white-space: normal; } }

/* ============================================================================
   Product cards & grid
   ========================================================================== */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: clamp(1.1rem, 2.5vw, 2rem); }
.product-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.product-card:hover, .product-card:focus-within { transform: translateY(-5px); box-shadow: var(--shadow); }
.product-card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--surface-2); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease-out); }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__badges { position: absolute; top: .7rem; left: .7rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.product-card__fav { position: absolute; top: .6rem; right: .6rem; background: oklch(0.99 0.006 70 / .9); }
.product-card__body { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .3rem; flex: 1; }
.product-card__cat { font-size: .76rem; font-weight: 600; color: var(--sage-deep); letter-spacing: .02em; }
.product-card__name { font-family: var(--font-sans); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.product-card__name a::after { content: ""; position: absolute; inset: 0; }
.product-card__foot { margin-top: auto; padding-top: .6rem; display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.price { font-weight: 700; font-size: 1.1rem; color: var(--terracotta-deep); }
.price del { color: var(--muted); font-weight: 500; font-size: .85rem; margin-right: .35rem; }
.price-onrequest { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--terracotta-deep); }
.price-onrequest::before { content: "✦"; color: var(--rose-btn); }
.product-card__onrequest { font-weight: 600; font-size: .85rem; color: var(--sage-deep); }
.product-card__add { position: relative; z-index: 1; }

.stars { display: inline-flex; align-items: center; gap: .15rem; color: var(--peach-deep); font-size: .9rem; line-height: 1; }
.stars small { color: var(--muted); margin-left: .3rem; font-size: .78rem; }

/* ---- Filters bar ---------------------------------------------------------- */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: clamp(1.5rem, 3vw, 2.5rem); align-items: start; }
.filters { position: sticky; top: 90px; background: var(--surface); border-radius: var(--radius-lg); padding: 1.3rem; display: grid; gap: 1.3rem; }
.filters h3 { font-family: var(--font-sans); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.filter-group { display: grid; gap: .5rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip { border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--radius-pill); padding: .4rem .85rem; font-size: .85rem; font-weight: 500; color: var(--ink-soft); transition: all .2s; }
.chip:hover { border-color: var(--terracotta); color: var(--terracotta-deep); }
.chip[aria-pressed="true"] { background: var(--terracotta); border-color: var(--terracotta); color: var(--on-color); }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; justify-content: space-between; margin-bottom: 1.4rem; }
.shop-toolbar .count { color: var(--muted); font-size: .92rem; }
.select { border: 1.5px solid var(--line); background: var(--bg); border-radius: var(--radius-pill); padding: .55rem 1rem; font-weight: 500; }
.filters-toggle { display: none; }
@media (max-width: 800px) {
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters[data-collapsed="true"] { display: none; }
  .filters-toggle { display: inline-flex; }
}

/* ============================================================================
   Product detail
   ========================================================================== */
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.gallery__main { aspect-ratio: 4/5; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow-sm); }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumbs { display: flex; gap: .6rem; margin-top: .8rem; flex-wrap: wrap; }
.gallery__thumbs button { width: 72px; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; border: 2px solid transparent; background: var(--surface-2); padding: 0; }
.gallery__thumbs button[aria-current="true"] { border-color: var(--terracotta); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); margin: .4rem 0 .6rem; }
.pdp__price { font-size: 1.6rem; font-weight: 700; color: var(--terracotta-deep); margin: 1rem 0; }
.pdp__desc { color: var(--ink-soft); }
.option-group { margin: 1.3rem 0; }
.option-group > span { display: block; font-weight: 600; margin-bottom: .5rem; font-size: .92rem; }
.swatches { display: flex; gap: .5rem; flex-wrap: wrap; }
.swatch { width: 38px; height: 38px; border-radius: var(--radius-pill); border: 2px solid var(--line); position: relative; }
.swatch[aria-pressed="true"] { border-color: var(--ink); transform: scale(1.08); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: var(--radius-pill); overflow: hidden; }
.qty button { width: 42px; height: 44px; background: var(--surface); border: none; font-size: 1.2rem; color: var(--ink); }
.qty button:hover { background: var(--surface-2); }
.qty input { width: 48px; text-align: center; border: none; background: transparent; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pdp__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; align-items: center; }
.pdp__meta { margin-top: 1.6rem; display: grid; gap: .7rem; border-top: 1px solid var(--line); padding-top: 1.4rem; color: var(--ink-soft); font-size: .92rem; }
.pdp__meta div { display: flex; gap: .6rem; align-items: flex-start; }
@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; } }

/* ---- Reviews -------------------------------------------------------------- */
.review { border-top: 1px solid var(--line); padding: 1.3rem 0; }
.review__head { display: flex; align-items: center; gap: .7rem; margin-bottom: .4rem; }
.review__avatar { width: 40px; height: 40px; border-radius: var(--radius-pill); background: var(--rose); color: oklch(0.40 0.13 16); display: grid; place-items: center; font-weight: 700; }
.review__name { font-weight: 600; }

/* ============================================================================
   Cart drawer
   ========================================================================== */
.backdrop { position: fixed; inset: 0; background: oklch(0.30 0.05 40 / .4); z-index: var(--z-backdrop); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.backdrop[data-open="true"] { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg); z-index: var(--z-drawer); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); transform: translateX(100%); transition: transform .4s var(--ease-out); }
.drawer[data-open="true"] { transform: translateX(0); }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.3rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 1.4rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.drawer__foot { border-top: 1px solid var(--line); padding: 1.3rem 1.4rem; display: grid; gap: .9rem; background: var(--surface); }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.cart-line img { width: 64px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); background: var(--surface-2); }
.cart-line__name { font-weight: 600; font-size: .95rem; }
.cart-line__opt { color: var(--muted); font-size: .82rem; }
.cart-line__price { font-weight: 700; color: var(--terracotta-deep); }
.cart-line__remove { background: none; border: none; color: var(--muted); font-size: .82rem; text-decoration: underline; padding: 0; margin-top: .3rem; }
.cart-line__remove:hover { color: var(--error); }
.cart-qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-pill); margin-top: .4rem; }
.cart-qty button { width: 28px; height: 28px; border: none; background: none; font-size: 1rem; }
.cart-qty span { min-width: 1.5rem; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 700; font-size: 1.15rem; }
.cart-total span:last-child { color: var(--terracotta-deep); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state svg { margin: 0 auto 1rem; opacity: .5; }

/* ============================================================================
   Forms
   ========================================================================== */
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-weight: 600; font-size: .92rem; }
.field .hint { color: var(--muted); font-size: .82rem; }
.input, .textarea, .select-field {
  width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: var(--radius);
  background: var(--bg); transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.input::placeholder, .textarea::placeholder { color: var(--muted); }
.input:focus, .textarea:focus, .select-field:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px oklch(0.585 0.125 42 / .15); }
.textarea { min-height: 120px; resize: vertical; }
.field--error .input, .field--error .textarea { border-color: var(--error); }
.field__error { color: var(--error); font-size: .82rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.1rem; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.filedrop { border: 2px dashed var(--line); border-radius: var(--radius); padding: 1.5rem; text-align: center; color: var(--muted); transition: border-color .2s, background-color .2s; cursor: pointer; }
.filedrop:hover, .filedrop[data-drag="true"] { border-color: var(--terracotta); background: var(--surface); color: var(--ink-soft); }
.checkbox { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; }
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: .15rem; accent-color: var(--rose-btn); }

/* ============================================================================
   Generic cards / panels / feature
   ========================================================================== */
.panel { background: var(--surface); border-radius: var(--radius-lg); padding: clamp(1.3rem, 3vw, 2rem); }
.feature-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: clamp(1rem, 2.5vw, 2rem); }
.feature { display: grid; gap: .6rem; }
.feature__icon { width: 52px; height: 52px; border-radius: var(--radius); display: grid; place-items: center; background: var(--rose-200); color: var(--terracotta-deep); }
.feature h3 { font-family: var(--font-sans); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.feature p { color: var(--ink-soft); font-size: .95rem; }

/* drench / band sections */
.band { background: var(--terracotta); color: var(--on-color); }
.band h2, .band h3 { color: var(--on-color); }
.band .lead { color: oklch(0.99 0.01 70 / .9); }
.band--rose { background: linear-gradient(160deg, var(--rose) 0%, var(--peach) 100%); color: oklch(0.34 0.10 30); }
.band--rose h2 { color: oklch(0.34 0.12 30); }
.band--rose .lead { color: oklch(0.40 0.08 35); }
.band--sage { background: var(--sage); color: var(--sage-deep); }
.band--sage h2 { color: var(--sage-deep); }

/* split image + copy */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

/* ============================================================================
   Gallery (Instagram)
   ========================================================================== */
.ig-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .8rem; }
.ig-item { position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.ig-item:hover img { transform: scale(1.07); }
.ig-item__overlay { position: absolute; inset: 0; background: oklch(0.30 0.05 40 / 0); display: grid; place-items: center; color: var(--on-color); opacity: 0; transition: opacity .3s, background-color .3s; font-weight: 600; }
.ig-item:hover .ig-item__overlay { opacity: 1; background: oklch(0.30 0.05 40 / .45); }

/* ============================================================================
   Blog
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(1.3rem, 3vw, 2.2rem); }
.post-card { display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), box-shadow .4s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card__media { aspect-ratio: 16/10; overflow: hidden; background: var(--surface-2); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.post-card__body { padding: 1.3rem; display: grid; gap: .5rem; }
.post-card__meta { color: var(--muted); font-size: .82rem; display: flex; gap: .6rem; }
.post-card h3 { font-size: 1.3rem; }
.post-card h3 a { position: relative; }
.article { max-width: 720px; margin-inline: auto; }
.article img { border-radius: var(--radius-lg); margin: 2rem 0; width: 100%; }
.article h2 { margin: 2rem 0 1rem; }
.article p { margin-bottom: 1.2rem; }
.article blockquote { position: relative; background: var(--rose-200); border-radius: var(--radius); padding: 1.6rem 1.6rem 1.4rem 3.4rem; font-family: var(--font-display); font-size: 1.2rem; line-height: 1.4; color: var(--terracotta-deep); margin: 1.8rem 0; }
.article blockquote::before { content: "\201C"; position: absolute; left: .8rem; top: .2rem; font-family: var(--font-display); font-size: 3.2rem; color: var(--rose-btn); line-height: 1; }
.article blockquote p { margin: 0; max-width: none; }

/* ============================================================================
   Checkout
   ========================================================================== */
.checkout-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
.order-summary { position: sticky; top: 90px; background: var(--surface); border-radius: var(--radius-lg); padding: 1.5rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; color: var(--ink-soft); }
.summary-line--total { border-top: 1px solid var(--line); margin-top: .6rem; padding-top: .9rem; font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.summary-line--total span:last-child { color: var(--terracotta-deep); }
.pay-methods { display: grid; gap: .7rem; margin: 1rem 0; }
.pay-option { display: flex; align-items: center; gap: .8rem; border: 1.5px solid var(--line); border-radius: var(--radius); padding: 1rem; cursor: pointer; transition: border-color .2s, background-color .2s; }
.pay-option:has(input:checked) { border-color: var(--terracotta); background: var(--surface); }
.pay-option input { accent-color: var(--rose-btn); width: 1.15rem; height: 1.15rem; }
.pay-option__label { font-weight: 600; }
.pay-option__sub { color: var(--muted); font-size: .82rem; }
.note { background: var(--rose-200); border-radius: var(--radius); padding: 1rem 1.2rem; font-size: .9rem; color: oklch(0.40 0.10 25); }
.steps { display: flex; gap: .5rem; align-items: center; margin-bottom: 2rem; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.steps b { color: var(--terracotta-deep); }
@media (max-width: 820px) { .checkout-layout { grid-template-columns: 1fr; } .order-summary { position: static; } }

/* ============================================================================
   Toast
   ========================================================================== */
.toast-wrap { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: var(--z-toast); display: grid; gap: .6rem; width: min(420px, calc(100% - 2rem)); }
.toast { background: var(--ink); color: var(--on-color); border-radius: var(--radius); padding: .9rem 1.2rem; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: .7rem; font-weight: 500; transform: translateY(20px); opacity: 0; animation: toast-in .4s var(--ease-out) forwards; }
.toast--ok { background: var(--sage-deep); }
.toast--rose { background: var(--rose-btn); }
@keyframes toast-in { to { transform: translateY(0); opacity: 1; } }
.toast.is-leaving { animation: toast-out .3s ease forwards; }
@keyframes toast-out { to { transform: translateY(20px); opacity: 0; } }

/* ============================================================================
   Modal (request a product)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: var(--z-drawer); display: grid; place-items: center; padding: 1rem; }
.modal__backdrop { position: absolute; inset: 0; background: oklch(0.30 0.05 40 / .45); animation: fade-in .25s ease; }
.modal__card { position: relative; z-index: 1; background: var(--bg); border-radius: var(--radius-xl); padding: clamp(1.4rem, 4vw, 2.2rem); width: min(540px, 100%); max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); animation: modal-in .35s var(--ease-out); }
.modal__card--center { text-align: center; }
.modal__close { position: absolute; top: .8rem; right: .8rem; }
.modal__head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; padding-right: 2rem; }
.modal__thumb { width: 76px; height: 92px; object-fit: cover; border-radius: var(--radius); background: var(--surface-2); flex: none; }
.modal__head h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.7rem); margin: .15rem 0; }
.success-mark { width: 72px; height: 72px; border-radius: 50%; background: var(--sage); color: var(--sage-deep); display: grid; place-items: center; margin: 0 auto 1.1rem; }
.modal__card--center .lead { margin: .8rem auto; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } }
@media (prefers-reduced-motion: reduce) { .modal__card, .modal__backdrop { animation: none; } }

/* Request status badges (drawer + product) */
.req-status { display: inline-flex; align-items: center; gap: .35rem; font-size: .78rem; font-weight: 700; padding: .28rem .6rem; border-radius: var(--radius-pill); line-height: 1.1; }
.req-status--wait { background: var(--peach); color: oklch(0.42 0.10 55); }
.req-status--ok { background: var(--sage); color: var(--sage-deep); }
.req-status--no { background: var(--surface-2); color: var(--muted); }
.req-status--paid { background: var(--rose); color: oklch(0.40 0.13 16); }

/* ============================================================================
   Reveal-on-scroll (enhances already-visible content)
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
  .reveal.is-in { opacity: 1; transform: none; }
  .reveal-stagger > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
  .reveal-stagger.is-in > * { opacity: 1; transform: none; }
  .reveal-stagger.is-in > *:nth-child(2) { transition-delay: .07s; }
  .reveal-stagger.is-in > *:nth-child(3) { transition-delay: .14s; }
  .reveal-stagger.is-in > *:nth-child(4) { transition-delay: .21s; }
  .reveal-stagger.is-in > *:nth-child(5) { transition-delay: .28s; }
  .reveal-stagger.is-in > *:nth-child(6) { transition-delay: .35s; }
}

/* ============================================================================
   Page hero (inner pages)
   ========================================================================== */
.page-hero { padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.page-hero .eyebrow { margin-bottom: 1rem; }
.page-hero p { margin-top: 1rem; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; color: var(--muted); font-size: .85rem; margin-bottom: 1.2rem; }
.breadcrumb a:hover { color: var(--terracotta-deep); }

/* ---- Misc utilities ------------------------------------------------------- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 3vw, 2.5rem); }
@media (max-width: 640px) { .grid-2 { grid-template-columns: 1fr; } }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; }
.divider { height: 1px; background: var(--line); border: 0; margin-block: clamp(2rem, 5vw, 4rem); }
.text-terracotta { color: var(--terracotta-deep); }
hr { border: 0; height: 1px; background: var(--line); }
