/* =========================================================================
   MOCKLAB — built from the creatsy.com design tokens (dembrandt extraction)
   Colors / type scale / spacing / radii / shadow / motion / breakpoints are
   taken from creatsy.com.tokens.json; layout and copy are original.
   ========================================================================= */

/* ---- Fonts (Open Sans — self-hosted, the family observed on creatsy.com) -- */
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-300.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("assets/fonts/open-sans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ------------------------------------------------------------- */
:root {
  /* Colours — observed palette + semantic colours */
  --surface: #ffffff;
  --ink: #000000;
  --primary: #222222;
  --bg: #f8f8f8;
  --on-surface: #282828;
  --accent: #ff534a;
  --link: #0000ee;
  --fb: #3b5998;
  --muted: #7c7c7c;

  /* Type scale — observed sizes */
  --text-hero: 112px;        /* heading-2 */
  --text-display: 51.1px;    /* text */
  --text-heading: 50px;      /* heading-3 */
  --text-heading-sm: 32px;   /* heading-1 */
  --text-lead: 23px;         /* body */
  --text-ui: 18px;           /* ui */
  --text-link: 16px;         /* link */
  --text-caption: 13px;      /* caption */
  --text-micro: 11px;

  --w-light: 300;
  --w-normal: 400;
  --w-semibold: 600;
  --w-bold: 700;

  --tracking-hero: -0.02em;   /* −2.24px @ 112px */
  --tracking-heading: 0.004em;
  --tracking-link: 0.03em;

  /* Spacing scale — observed values */
  --sp-1: 1px;
  --sp-2: 2px;
  --sp-3: 3px;
  --sp-5: 5px;
  --sp-6: 6px;
  --sp-10: 10px;
  --sp-11: 11px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-23: 23px;
  --sp-24: 24px;
  --sp-30: 30px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-50: 50px;
  --sp-52: 52px;
  --sp-60: 60px;
  --sp-74: 74px;
  --sp-80: 80px;

  /* Radii — observed: mostly square, a few small rounds + full circles */
  --r-0: 0px;
  --r-sm: 4px;
  --r-xl: 8px;
  --r-full: 50%;

  /* Elevation — the single shadow measured on creatsy.com */
  --shadow-sm: rgba(0, 0, 0, 0.08) 0px 8px 24px 0px;

  /* Motion — observed transition durations */
  --t-fast: 0.2s;
  --t-mid: 0.3s;
  --t-slow: 0.5s;
  --ease: ease;
  --ease-out: ease-out;

  --header-h: 72px;
}

/* ---- Reset / base ------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: var(--text-link);
  font-weight: var(--w-normal);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
h1, h2, h3, h4, p, dl, dd, figure, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
s { color: var(--muted); }

::selection { background: var(--accent); color: var(--surface); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.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; top: -100px; left: var(--sp-16);
  z-index: 200; padding: var(--sp-10) var(--sp-16);
  background: var(--ink); color: var(--surface);
  transition: top var(--t-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-10); }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--sp-60);
}

/* ---- Type helpers ------------------------------------------------------- */
.eyebrow {
  display: flex; align-items: center; gap: var(--sp-12);
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow-rule {
  width: 34px; height: 1px; background: var(--ink); flex: none;
}
.eyebrow--light, .eyebrow--light .eyebrow-rule { color: var(--surface); }
.eyebrow--light .eyebrow-rule { background: currentColor; }

.section { padding: var(--sp-80) 0; }
.section--alt { background: var(--bg); }

.section-head { max-width: 760px; }
.section-head h2 {
  margin-top: var(--sp-16);
  font-size: var(--text-heading);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  letter-spacing: var(--tracking-heading);
  text-transform: uppercase;
}
.section-head--row {
  max-width: none;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-30);
  margin-bottom: var(--sp-40);
}
.section-sub {
  margin-top: var(--sp-16);
  max-width: 560px;
  color: var(--on-surface);
  font-size: var(--text-ui);
  font-weight: var(--w-light);
  line-height: 1.6;
}

/* ---- Buttons & links (observed component styles) ------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-10);
  padding: var(--sp-11) var(--sp-16);
  border-radius: var(--r-0);
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-dark { background: var(--ink); color: var(--surface); }
.btn-dark:hover { background: var(--accent); }

.btn-light { background: var(--surface); color: var(--ink); }
.btn-light:hover { background: var(--ink); color: var(--surface); }

.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid rgba(0, 0, 0, 0.16);
}
.btn-ghost:hover { background: var(--ink); color: var(--surface); border-color: var(--ink); }

.btn-block { width: 100%; }

.btn-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform var(--t-fast) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

.link-cta {
  display: inline-flex; align-items: center; gap: var(--sp-6);
  font-size: var(--text-link);
  font-weight: var(--w-semibold);
  letter-spacing: var(--tracking-link);
  border-bottom: 1px solid currentColor;
  padding-bottom: var(--sp-3);
  transition: color var(--t-fast) var(--ease), opacity var(--t-fast) var(--ease);
}
.link-cta:hover { color: var(--accent); }
.link-cta--light:hover { color: var(--ink); opacity: 0.85; }

.icon-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: var(--r-0);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.icon-btn:hover { background: rgba(0, 0, 0, 0.06); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

.badge {
  position: absolute; top: var(--sp-12); left: var(--sp-12);
  padding: var(--sp-5) var(--sp-10);
  background: var(--ink); color: var(--surface);
  font-size: var(--text-micro);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.badge--new { background: var(--accent); }
.badge--sale { background: var(--surface); color: var(--accent); }

.plus {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px;
  border-radius: var(--r-full);
  border: 1px solid currentColor;
  font-size: 13px; line-height: 1;
}

.dot { width: 7px; height: 7px; border-radius: var(--r-full); background: var(--muted); display: inline-block; }
.dot--live { background: var(--accent); }

/* ---- Announcement ------------------------------------------------------- */
.announce {
  background: var(--ink); color: var(--surface);
  padding: var(--sp-10) var(--sp-16);
  text-align: center;
}
.announce p {
  font-size: var(--text-micro);
  font-weight: var(--w-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---- Header ------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: box-shadow var(--t-mid) var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  height: var(--header-h);
  display: flex; align-items: center; gap: var(--sp-30);
}

.burger { display: none; }

.logo {
  position: relative;
  font-size: 21px;
  font-weight: var(--w-bold);
  letter-spacing: 0.22em;
  padding-right: 10px;
}
.logo-dot {
  position: absolute; right: 0; bottom: 4px;
  width: 7px; height: 7px; border-radius: var(--r-full);
  background: var(--accent);
}
.logo--light { color: var(--surface); }

.primary-nav {
  display: flex; align-items: center; gap: var(--sp-30);
  margin-left: var(--sp-30);
}
.primary-nav a {
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: var(--sp-6) 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
}
.primary-nav a:hover { border-color: var(--accent); color: var(--accent); }

.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--sp-6); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  min-width: 16px; height: 16px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--surface);
  border-radius: var(--r-full);
  font-size: 10px; font-weight: var(--w-bold);
  transform: scale(0);
  transition: transform var(--t-fast) var(--ease-out);
}
.cart-count.is-on { transform: scale(1); }

/* ---- Hero --------------------------------------------------------------- */
.hero { padding: var(--sp-80) 0 var(--sp-74); }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: var(--sp-60);
  align-items: center;
}

.hero-copy h1 {
  margin: var(--sp-24) 0 0;
  font-size: var(--text-hero);
  font-weight: var(--w-bold);
  line-height: 0.9;
  letter-spacing: var(--tracking-hero);
  text-transform: uppercase;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: var(--sp-30);
  max-width: 520px;
  color: var(--on-surface);
  font-size: var(--text-lead);
  font-weight: var(--w-light);
  line-height: 1.4;
}
.hero-cta {
  margin-top: var(--sp-40);
  display: flex; align-items: center; gap: var(--sp-30);
  flex-wrap: wrap;
}
.hero-facts {
  margin-top: var(--sp-60);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-20);
  padding-top: var(--sp-24);
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.hero-facts dt {
  font-size: var(--text-heading-sm);
  font-weight: var(--w-bold);
  letter-spacing: -0.01em;
}
.hero-facts dd {
  margin-top: var(--sp-6);
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-media { position: relative; }
.hero-shot { overflow: hidden; }
.hero-shot img {
  width: 100%; height: 560px; object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out);
}
.hero-shot:hover img { transform: scale(1.03); }

.hero-tag {
  position: absolute;
  display: inline-flex; align-items: center; gap: var(--sp-6);
  background: var(--surface);
  padding: var(--sp-10) var(--sp-12);
  box-shadow: var(--shadow-sm);
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-tag--top { top: var(--sp-20); left: var(--sp-20); }
.hero-tag--bottom {
  right: var(--sp-20); bottom: var(--sp-20);
  display: block; line-height: 1.5;
}
.hero-tag--bottom strong { font-size: var(--text-heading-sm); letter-spacing: -0.01em; }

/* ---- Marquee ------------------------------------------------------------ */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: var(--sp-16) 0;
  background: var(--bg);
}
.marquee-track {
  display: inline-flex; align-items: center; gap: var(--sp-40);
  white-space: nowrap;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-surface);
}
.marquee-track i { color: var(--accent); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---- Categories --------------------------------------------------------- */
.category-grid {
  margin-top: var(--sp-40);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-16);
}
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--bg);
  min-height: 260px;
}
.cat-card--tall { grid-row: span 2; min-height: 536px; }
.cat-card--wide { grid-column: span 2; }
.cat-card img {
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  object-fit: cover;
  transition: transform var(--t-slow) var(--ease-out), opacity var(--t-slow) var(--ease);
}
.cat-card:hover img { transform: scale(1.04); opacity: 0.92; }
.cat-meta {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--sp-10);
  padding: var(--sp-16);
  background: linear-gradient(to top, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0));
  color: var(--surface);
}
.cat-meta span:first-child {
  font-size: var(--text-ui);
  font-weight: var(--w-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.cat-count {
  font-size: var(--text-micro);
  font-weight: var(--w-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.8;
}

/* ---- Products ----------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-30) var(--sp-20);
}
.product-card {
  background: var(--surface);
  transition: box-shadow var(--t-mid) var(--ease), transform var(--t-mid) var(--ease);
}
.product-card:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); }

.product-media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--bg);
}
.product-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-slow) var(--ease-out);
}
.product-card:hover .product-media img { opacity: 0.85; transform: scale(1.03); }

.product-body { padding: var(--sp-16) var(--sp-16) var(--sp-20); }
.product-body h3 {
  font-size: var(--text-ui);
  font-weight: var(--w-semibold);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.product-meta {
  margin-top: var(--sp-6);
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: var(--w-light);
}
.product-foot {
  margin-top: var(--sp-16);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-12);
}
.price { font-size: var(--text-ui); font-weight: var(--w-bold); }
.price s { margin-right: var(--sp-6); font-weight: var(--w-normal); font-size: var(--text-caption); }

/* ---- Coral band --------------------------------------------------------- */
.band { background: var(--accent); color: var(--surface); padding: var(--sp-74) 0; }
.band-inner {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: var(--sp-60);
}
.band-title {
  margin-top: var(--sp-16);
  font-size: var(--text-display);
  font-weight: var(--w-bold);
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.band-sub {
  margin-top: var(--sp-20);
  max-width: 560px;
  font-size: var(--text-ui);
  font-weight: var(--w-light);
  line-height: 1.6;
}
.band-actions { display: flex; align-items: center; gap: var(--sp-30); flex-wrap: wrap; }

/* ---- Stats -------------------------------------------------------------- */
.stats { padding: var(--sp-60) 0; border-bottom: 1px solid rgba(0, 0, 0, 0.1); }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-30);
}
.stat strong {
  display: block;
  font-size: var(--text-heading);
  font-weight: var(--w-bold);
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat span {
  display: block;
  margin-top: var(--sp-10);
  color: var(--muted);
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---- How it works ------------------------------------------------------- */
.how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--sp-74);
  align-items: center;
}
.how-media { position: relative; }
.how-media > img { width: 100%; height: 620px; object-fit: cover; }
.how-note {
  position: absolute; left: var(--sp-20); bottom: var(--sp-20);
  display: flex; align-items: center; gap: var(--sp-12);
  background: var(--surface);
  padding: var(--sp-16);
  box-shadow: var(--shadow-sm);
  max-width: 280px;
}
.how-note p { font-size: var(--text-caption); line-height: 1.5; }
.how-note strong { display: block; font-weight: var(--w-bold); }

.steps { margin: var(--sp-40) 0; display: grid; gap: var(--sp-30); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: var(--sp-20); padding-top: var(--sp-20); border-top: 1px solid rgba(0, 0, 0, 0.12); }
.step-no {
  font-size: var(--text-heading-sm);
  font-weight: var(--w-bold);
  color: var(--accent);
  line-height: 1;
}
.steps h3 {
  font-size: var(--text-ui);
  font-weight: var(--w-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.steps p {
  margin-top: var(--sp-10);
  color: var(--on-surface);
  font-size: var(--text-link);
  font-weight: var(--w-light);
  line-height: 1.6;
}

/* ---- Newsletter --------------------------------------------------------- */
.newsletter { background: var(--bg); padding: var(--sp-74) 0; }
.newsletter-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: var(--sp-60);
  align-items: center;
}
.newsletter h2 {
  margin-top: var(--sp-16);
  font-size: var(--text-heading);
  font-weight: var(--w-semibold);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: var(--tracking-heading);
}
.newsletter-form { display: grid; gap: var(--sp-10); }
.newsletter-form input {
  width: 100%;
  padding: var(--sp-16) var(--sp-12);
  background: var(--surface);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--r-0);           /* observed: 0px input radius */
  font-size: var(--text-link);
  font-weight: var(--w-light);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}
.newsletter-form input::placeholder { color: var(--muted); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.newsletter-form.is-error input { border-color: var(--accent); }
.form-note { font-size: var(--text-caption); color: var(--muted); font-weight: var(--w-light); }
.newsletter-form.is-done input { border-color: var(--ink); background: var(--surface); }

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--ink); color: var(--surface); padding: var(--sp-74) 0 var(--sp-30); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: var(--sp-60);
}
.footer-brand p {
  margin-top: var(--sp-20);
  max-width: 320px;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--text-caption);
  font-weight: var(--w-light);
  line-height: 1.7;
}
.footer-col { display: grid; gap: var(--sp-10); align-content: start; }
.footer-col h4 {
  font-size: var(--text-micro);
  font-weight: var(--w-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--sp-6);
}
.footer-col a {
  font-size: var(--text-caption);
  font-weight: var(--w-normal);
  color: rgba(255, 255, 255, 0.86);
  transition: color var(--t-fast) var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  margin-top: var(--sp-60);
  padding-top: var(--sp-20);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--sp-20);
}
.footer-bottom p { font-size: var(--text-micro); color: rgba(255, 255, 255, 0.5); }
.footer-legal { display: flex; gap: var(--sp-20); }
.footer-legal a { font-size: var(--text-micro); color: rgba(255, 255, 255, 0.6); }
.footer-legal a:hover { color: var(--accent); }

/* ---- Cart drawer -------------------------------------------------------- */
.scrim {
  position: fixed; inset: 0; z-index: 90;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.scrim.is-on { opacity: 1; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  z-index: 100;
  width: min(420px, 92vw);
  display: flex; flex-direction: column;
  background: var(--surface);
  transform: translateX(100%);
  transition: transform var(--t-mid) var(--ease-out);
}
.drawer.is-open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-20) var(--sp-24);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.drawer-head h2 {
  font-size: var(--text-ui);
  font-weight: var(--w-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.drawer-body { flex: 1; overflow-y: auto; padding: var(--sp-10) var(--sp-24); }
.drawer-empty { color: var(--muted); font-weight: var(--w-light); padding: var(--sp-20) 0; line-height: 1.6; }

.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto;
  gap: var(--sp-16);
  padding: var(--sp-16) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  align-items: start;
}
.cart-item img { width: 72px; height: 90px; object-fit: cover; }
.cart-item h3 { font-size: var(--text-caption); font-weight: var(--w-semibold); line-height: 1.4; }
.cart-item .cart-meta { margin-top: var(--sp-6); color: var(--muted); font-size: var(--text-micro); text-transform: uppercase; letter-spacing: 0.08em; }
.cart-item .cart-price { margin-top: var(--sp-10); font-weight: var(--w-bold); font-size: var(--text-caption); }
.cart-remove {
  font-size: var(--text-micro);
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1px solid transparent;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.cart-remove:hover { color: var(--accent); border-color: var(--accent); }

.drawer-foot { padding: var(--sp-20) var(--sp-24) var(--sp-24); border-top: 1px solid rgba(0, 0, 0, 0.1); }
.drawer-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: var(--sp-16); }
.drawer-total span { font-size: var(--text-caption); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.drawer-total strong { font-size: var(--text-heading-sm); font-weight: var(--w-bold); }
.drawer-note { margin-top: var(--sp-10); font-size: var(--text-micro); color: var(--muted); text-align: center; }

/* ---- Search overlay ----------------------------------------------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(255, 255, 255, 0.97);
  padding: 12vh var(--sp-20) var(--sp-20);
}
.search-panel { max-width: 820px; margin: 0 auto; }
.search-bar {
  display: flex; align-items: center; gap: var(--sp-12);
  border-bottom: 2px solid var(--ink);
  padding-bottom: var(--sp-12);
}
.search-icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.search-bar input {
  flex: 1;
  border: 0; background: transparent;
  font-size: var(--text-heading-sm);
  font-weight: var(--w-light);
}
.search-bar input:focus { outline: none; }
.search-bar input::-webkit-search-cancel-button,
.search-bar input::-webkit-search-decoration {
  -webkit-appearance: none;
  appearance: none;
}

.search-results { margin-top: var(--sp-20); display: grid; gap: var(--sp-5); max-height: 56vh; overflow-y: auto; }
.search-results li a {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-20);
  padding: var(--sp-12) var(--sp-10);
  font-size: var(--text-ui);
  font-weight: var(--w-semibold);
  transition: background-color var(--t-fast) var(--ease);
}
.search-results li a:hover { background: var(--bg); }
.search-results .result-meta { color: var(--muted); font-size: var(--text-caption); font-weight: var(--w-normal); }
.search-hint { margin-top: var(--sp-24); color: var(--muted); font-size: var(--text-caption); }
.search-hint kbd {
  padding: 1px 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  font-size: var(--text-micro);
  font-family: inherit;
}

/* ---- Mobile nav --------------------------------------------------------- */
.mobile-nav {
  position: fixed; inset: 0; z-index: 95;
  background: var(--surface);
  padding: calc(var(--header-h) + var(--sp-40)) var(--sp-30) var(--sp-30);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
}
.mobile-nav.is-open { opacity: 1; }
.mobile-nav nav { display: grid; gap: var(--sp-20); }
.mobile-nav a {
  font-size: var(--text-heading-sm);
  font-weight: var(--w-semibold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ---- Toast -------------------------------------------------------------- */
.toast {
  position: fixed; left: 50%; bottom: var(--sp-30);
  z-index: 130;
  transform: translate(-50%, 16px);
  background: var(--ink); color: var(--surface);
  padding: var(--sp-12) var(--sp-20);
  font-size: var(--text-caption);
  font-weight: var(--w-semibold);
  letter-spacing: 0.06em;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--t-mid) var(--ease), transform var(--t-mid) var(--ease-out);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

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

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

/* ---- Responsive (breakpoints taken from the extraction) ----------------- */
@media (max-width: 1270px) {
  .wrap { padding: 0 var(--sp-40); }
  :root { --text-hero: 92px; }
  .hero-shot img { height: 480px; }
  .how-media > img { height: 540px; }
}

@media (max-width: 1000px) {
  :root { --text-hero: 76px; --text-heading: 42px; --text-display: 42px; }
  .primary-nav { display: none; }
  .burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: var(--sp-40); }
  .hero-shot img { height: 420px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-card--tall { grid-row: span 1; min-height: 300px; }
  .cat-card--wide { grid-column: span 2; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band-inner { flex-direction: column; align-items: flex-start; gap: var(--sp-30); }
  .how-grid { grid-template-columns: 1fr; gap: var(--sp-40); }
  .how-media > img { height: 420px; }
  .newsletter-inner { grid-template-columns: 1fr; gap: var(--sp-30); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-40); }
}

@media (max-width: 768px) {
  :root { --text-hero: 56px; --text-heading: 34px; --text-display: 34px; --text-lead: 20px; }
  .wrap { padding: 0 var(--sp-20); }
  .section { padding: var(--sp-60) 0; }
  .announce p { white-space: normal; }
  .hero { padding: var(--sp-60) 0; }
  .hero-shot img { height: 340px; }
  .hero-facts { grid-template-columns: 1fr; gap: var(--sp-16); }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: var(--sp-16); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sp-30) var(--sp-20); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 576px) {
  :root { --text-hero: 44px; --text-heading: 28px; --text-display: 28px; }
  .category-grid { grid-template-columns: 1fr; }
  .cat-card--wide { grid-column: span 1; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { aspect-ratio: 1 / 1; }
  .hero-cta { gap: var(--sp-16); }
  .band-actions { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 44px 1fr; gap: var(--sp-12); }
}

@media (max-width: 360px) {
  :root { --text-hero: 38px; }
  .header-inner { gap: var(--sp-12); }
  .logo { font-size: 18px; letter-spacing: 0.16em; }
}
