/* =========================================================================
   SiteCrafted — Design System
   Premium templates store. Mobile-first, accessible, dependency-free.
   Sections: 1 Tokens · 2 Reset · 3 Typography · 4 Layout · 5 Buttons
             6 Forms · 7 Header · 8 Footer · 9 Cards · 10 Sections
             11 Product page · 12 Cart & checkout · 13 Utilities · 14 Motion
   ========================================================================= */

/* 1 ─ Design tokens ------------------------------------------------------ */
:root {
  /* Neutrals */
  --white: #ffffff;
  --paper: #faf9f7;
  --mist: #f3f2ef;
  --line: #e6e4df;
  --line-strong: #d6d3cc;
  --gray-500: #75736d;
  --gray-600: #5c5a55;
  --gray-700: #43413d;
  --charcoal: #15171a;
  --charcoal-soft: #24272b;

  /* Accent — refined emerald */
  --accent: #0e6b57;
  --accent-hover: #0a5344;
  --accent-soft: #e7f1ee;
  --accent-ring: rgba(14, 107, 87, 0.28);

  /* Support */
  --amber: #a86a12;
  --amber-soft: #fdf5e6;
  --danger: #a32f2a;
  --danger-soft: #fbeceb;

  /* Typography */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --step--1: clamp(0.8rem, 0.77rem + 0.13vw, 0.875rem);
  --step-0: clamp(0.95rem, 0.92rem + 0.15vw, 1.0625rem);
  --step-1: clamp(1.1rem, 1.04rem + 0.3vw, 1.3rem);
  --step-2: clamp(1.35rem, 1.22rem + 0.6vw, 1.75rem);
  --step-3: clamp(1.7rem, 1.45rem + 1.1vw, 2.45rem);
  --step-4: clamp(2.1rem, 1.6rem + 2.2vw, 3.4rem);
  --step-5: clamp(2.5rem, 1.6rem + 3.9vw, 4.6rem);

  /* Space */
  --sp-1: 0.25rem;  --sp-2: 0.5rem;   --sp-3: 0.75rem;  --sp-4: 1rem;
  --sp-5: 1.5rem;   --sp-6: 2rem;     --sp-7: 3rem;     --sp-8: 4rem;
  --sp-9: 6rem;     --sp-10: 8rem;

  /* Shape & depth */
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-xs: 0 1px 2px rgba(21, 23, 26, 0.05);
  --shadow-sm: 0 2px 8px rgba(21, 23, 26, 0.06);
  --shadow-md: 0 12px 32px -12px rgba(21, 23, 26, 0.18);
  --shadow-lg: 0 28px 64px -24px rgba(21, 23, 26, 0.28);

  --container: 1200px;
  --container-narrow: 760px;
  --header-h: 72px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* 2 ─ Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
/* overflow-x lives on <html>, never on <body>: putting it on body turns the
   body into the scroll container, which breaks window.scrollY, anchor
   scrolling and position:sticky. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: hidden; }
body {
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--gray-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

/* 3 ─ Typography --------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
h1 { font-size: var(--step-5); }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); line-height: 1.2; }
h4 { font-size: var(--step-1); line-height: 1.3; }
p { max-width: 68ch; }

.eyebrow {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  font-family: var(--font-sans);
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.5; }
.eyebrow--plain::before { display: none; }

.lede { font-size: var(--step-1); color: var(--gray-600); line-height: 1.6; }
.muted { color: var(--gray-500); }
.small { font-size: var(--step--1); }
.link-underline { color: var(--charcoal); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); transition: text-decoration-color 0.2s; }
.link-underline:hover { text-decoration-color: var(--accent); color: var(--accent); }

.prose h2 { font-size: var(--step-2); margin-top: var(--sp-7); }
.prose h3 { font-size: var(--step-1); margin-top: var(--sp-6); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p, .prose ul, .prose ol { margin-top: var(--sp-4); }
.prose ul { display: grid; gap: var(--sp-2); }
.prose ul li { position: relative; padding-left: 1.4em; max-width: 68ch; }
.prose ul li::before { content: ""; position: absolute; left: 0.25em; top: 0.72em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.prose ol { counter-reset: n; display: grid; gap: var(--sp-2); }
.prose ol li { counter-increment: n; position: relative; padding-left: 1.8em; max-width: 68ch; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; color: var(--accent); font-weight: 600; }
.prose strong { color: var(--charcoal); font-weight: 600; }

/* 4 ─ Layout ------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--sp-5); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding-block: var(--sp-8); }
.section--lg { padding-block: var(--sp-9); }
.section--tint { background: var(--paper); }
.section--dark { background: var(--charcoal); color: #cfd1d0; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark .eyebrow { color: #7fd3bd; }
.section--line { border-top: 1px solid var(--line); }

.section-head { display: grid; gap: var(--sp-3); max-width: 62ch; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 860px) {
  .section-head--split { grid-template-columns: minmax(0, 1fr) auto; gap: var(--sp-5); }
  .section-head--split > :first-child { max-width: 58ch; }
}

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); }
.stack { display: grid; gap: var(--sp-4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; }

/* 5 ─ Buttons ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--charcoal); --btn-fg: #fff; --btn-bd: var(--charcoal);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.85em 1.5em;
  font-size: var(--step--1); font-weight: 600; letter-spacing: 0.01em;
  color: var(--btn-fg); background: var(--btn-bg);
  border: 1px solid var(--btn-bd); border-radius: var(--radius-pill);
  cursor: pointer; white-space: nowrap; position: relative; isolation: isolate;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background-color 0.22s var(--ease), border-color 0.22s var(--ease), color 0.22s var(--ease), opacity 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); box-shadow: var(--shadow-xs); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }
.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.btn--accent { --btn-bg: var(--accent); --btn-bd: var(--accent); }
.btn--accent:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--charcoal); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bd: var(--charcoal); --btn-bg: var(--white); }
.btn--quiet { --btn-bg: var(--mist); --btn-fg: var(--charcoal); --btn-bd: transparent; }
.btn--quiet:hover { --btn-bg: var(--line); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--charcoal); --btn-bd: #fff; }
.btn--onlight-outline { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgba(255,255,255,0.4); }
.btn--onlight-outline:hover { --btn-bd: #fff; --btn-bg: rgba(255,255,255,0.08); }
.btn--lg { padding: 1.05em 1.9em; font-size: var(--step-0); }
.btn--sm { padding: 0.6em 1.1em; font-size: 0.8rem; }
.btn--block { width: 100%; }

.btn--loading { color: transparent !important; pointer-events: none; }
.btn--loading::after {
  content: ""; position: absolute; inset: 0; margin: auto; width: 1.1em; height: 1.1em;
  border: 2px solid currentColor; border-top-color: transparent; border-radius: 50%;
  color: var(--btn-fg); animation: spin 0.7s linear infinite;
}
.btn--done { --btn-bg: var(--accent); --btn-bd: var(--accent); --btn-fg: #fff; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: var(--step--1); color: var(--charcoal); }
.link-arrow svg { width: 1em; height: 1em; transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover svg { transform: translateX(4px); }

/* 6 ─ Forms -------------------------------------------------------------- */
.field { display: grid; gap: var(--sp-2); }
.field > label, .label { font-size: var(--step--1); font-weight: 600; color: var(--charcoal); }
.label .req { color: var(--danger); }
.input, .select, .textarea {
  width: 100%; padding: 0.8em 1em;
  background: var(--white); color: var(--charcoal);
  border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.input::placeholder, .textarea::placeholder { color: #9d9a94; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--gray-500); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-ring); }
.textarea { min-height: 150px; resize: vertical; }
.select { appearance: none; padding-right: 2.5em; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%2343413d' stroke-width='1.6'%3E%3Cpath d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; background-size: 12px; }
.hint { font-size: 0.8rem; color: var(--gray-500); }
.error-text { font-size: 0.8rem; color: var(--danger); font-weight: 500; display: none; }
.field[data-invalid="true"] .input, .field[data-invalid="true"] .textarea, .field[data-invalid="true"] .select { border-color: var(--danger); background: var(--danger-soft); }
.field[data-invalid="true"] .error-text { display: block; }

.checkbox { display: flex; gap: var(--sp-3); align-items: flex-start; font-size: var(--step--1); cursor: pointer; }
.checkbox input { width: 1.1em; height: 1.1em; margin-top: 0.25em; accent-color: var(--accent); flex: none; }

.form-note { font-size: 0.8rem; color: var(--gray-500); }
.form-status { display: none; padding: var(--sp-4); border-radius: var(--radius-sm); font-size: var(--step--1); }
.form-status[data-state="success"] { display: block; background: var(--accent-soft); color: var(--accent-hover); border: 1px solid rgba(14,107,87,0.2); }
.form-status[data-state="error"] { display: block; background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(163,47,42,0.2); }

.newsletter-form { display: flex; flex-direction: column; gap: var(--sp-3); width: 100%; max-width: 520px; }
@media (min-width: 560px) { .newsletter-form .row { display: flex; gap: var(--sp-3); } .newsletter-form .row .input { flex: 1; } }

/* 7 ─ Header ------------------------------------------------------------- */
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 200; background: var(--charcoal); color: #fff; padding: 0.8em 1.2em; border-radius: 0 0 var(--radius-sm) 0; }
.skip-link:focus { left: 0; }

.announce { background: var(--charcoal); color: #d9dbda; font-size: 0.78rem; letter-spacing: 0.02em; }
.announce svg { width: 14px; height: 14px; flex: none; color: #7fd3bd; }
.announce .container { display: flex; align-items: center; justify-content: center; gap: var(--sp-3); min-height: 38px; text-align: center; padding-block: 0.4rem; }
.announce strong { color: #fff; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.86); backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.25s, box-shadow 0.25s, background-color 0.25s; }
.site-header[data-stuck="true"] { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }
.site-header .container { display: flex; align-items: center; gap: var(--sp-5); min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; letter-spacing: -0.03em; color: var(--charcoal); }
.brand__mark { width: 30px; height: 30px; border-radius: 9px; background: var(--charcoal); color: #fff; display: grid; place-items: center; font-family: var(--font-sans); font-size: 0.78rem; font-weight: 700; letter-spacing: -0.03em; transition: background-color 0.25s var(--ease), transform 0.25s var(--ease); }
.brand:hover .brand__mark { background: var(--accent); transform: rotate(-4deg); }
.brand__name em { font-style: normal; color: var(--accent); }
.brand--footer { color: #fff; font-size: 1.35rem; }
.brand--footer .brand__mark { background: #fff; color: var(--charcoal); }
.brand--footer:hover .brand__mark { background: var(--accent); color: #fff; }

.nav { display: none; margin-inline-start: auto; }
.nav ul { display: flex; align-items: center; gap: var(--sp-5); }
.nav a { position: relative; font-size: var(--step--1); font-weight: 500; color: var(--gray-700); padding-block: 0.4rem; transition: color 0.2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.28s var(--ease); }
.nav a:hover { color: var(--charcoal); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--charcoal); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: var(--sp-2); margin-inline-start: auto; }
.nav + .header-actions { margin-inline-start: 0; }

.icon-btn { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: var(--radius-pill); color: var(--charcoal); transition: background-color 0.2s, transform 0.2s; }
.icon-btn:hover { background: var(--mist); }
.icon-btn:active { transform: scale(0.94); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; display: grid; place-items: center; background: var(--accent); color: #fff; font-family: var(--font-sans); font-size: 0.66rem; font-weight: 700; line-height: 1; border-radius: var(--radius-pill); border: 2px solid var(--white); transform: scale(0); transition: transform 0.28s var(--ease); }
.cart-count[data-visible="true"] { transform: scale(1); }
.cart-count.is-bumped { animation: bump 0.45s var(--ease); }

.menu-toggle { display: grid; }
.menu-panel { display: none; position: fixed; inset: 0; z-index: 150; background: var(--white); padding: var(--sp-5); overflow-y: auto; }
.menu-panel[data-open="true"] { display: block; animation: fade-in 0.22s var(--ease); }
.menu-panel__top { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }
.menu-panel nav { margin-top: var(--sp-5); }
.menu-panel nav ul { display: grid; gap: var(--sp-1); }
.menu-panel nav a { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-size: var(--step-2); color: var(--charcoal); padding-block: var(--sp-3); border-bottom: 1px solid var(--line); }
.menu-panel nav a svg { width: 18px; height: 18px; flex: none; color: var(--gray-500); transition: transform 0.25s var(--ease), color 0.25s; }
.menu-panel nav a:hover svg { transform: translateX(4px); color: var(--accent); }
.menu-panel nav a[aria-current="page"] { color: var(--accent); }
.menu-panel nav a[aria-current="page"] svg { color: var(--accent); }
.menu-panel__foot { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }
body[data-scroll-locked="true"] { overflow: hidden; }

@media (min-width: 980px) {
  .nav { display: block; }
  .menu-toggle { display: none; }
}

/* 8 ─ Footer ------------------------------------------------------------- */
.site-footer { background: var(--charcoal); color: #a9aca9; padding-block: var(--sp-8) var(--sp-5); }
.site-footer a { color: #cfd1cf; transition: color 0.2s; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; gap: var(--sp-7); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr repeat(3, 1fr); gap: var(--sp-6); } }
.footer-about p { max-width: 34ch; margin-top: var(--sp-4); font-size: var(--step--1); }
.footer-col h4 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #fff; margin-bottom: var(--sp-4); }
.footer-col ul { display: grid; gap: var(--sp-3); font-size: var(--step--1); }
.socials { display: flex; gap: var(--sp-2); margin-top: var(--sp-5); }
.socials a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.16); transition: background-color 0.22s, border-color 0.22s, transform 0.22s; }
.socials a:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; justify-content: space-between; font-size: 0.8rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-4); }
.payment-marks { display: flex; align-items: center; gap: var(--sp-3); flex-wrap: wrap; margin-top: var(--sp-5); }
.payment-mark svg { width: 13px; height: 13px; flex: none; }
.payment-mark { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.4em 0.8em; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius-sm); font-size: 0.72rem; letter-spacing: 0.04em; color: #cfd1cf; }

/* 9 ─ Cards -------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 0.4em; padding: 0.35em 0.75em; border-radius: var(--radius-pill); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }
.badge svg { width: 0.95em; height: 0.95em; flex: none; }
.badge--accent { background: var(--accent-soft); color: var(--accent-hover); }
.badge--dark { background: var(--charcoal); color: #fff; }
.badge--amber { background: var(--amber-soft); color: var(--amber); }
.badge--outline { border: 1px solid var(--line-strong); color: var(--gray-600); }

.tag { display: inline-flex; align-items: center; gap: 0.35em; padding: 0.3em 0.65em; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); font-size: 0.7rem; font-weight: 500; color: var(--gray-600); white-space: nowrap; }
.tag svg { width: 0.85em; height: 0.85em; color: var(--accent); }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }

/* Product card */
.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease); }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--line-strong); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.55s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.045); }
.product-card__badges { position: absolute; top: var(--sp-3); left: var(--sp-3); display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.product-card__peek { position: absolute; inset: auto 0 0 0; padding: var(--sp-4); display: flex; justify-content: center; background: linear-gradient(to top, rgba(21,23,26,0.55), transparent); opacity: 0; transform: translateY(8px); transition: opacity 0.3s var(--ease), transform 0.3s var(--ease); }
.product-card:hover .product-card__peek, .product-card:focus-within .product-card__peek { opacity: 1; transform: translateY(0); }
.product-card__body { display: flex; flex-direction: column; gap: var(--sp-3); padding: var(--sp-5); flex: 1; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); font-size: 0.75rem; }
.product-card__meta .muted { display: inline-flex; align-items: center; gap: 0.3em; white-space: nowrap; }
.product-card__meta svg { width: 0.95em; height: 0.95em; flex: none; color: var(--amber); }
.product-card__cat { color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.product-card__title { font-size: var(--step-1); }
.product-card__title a { transition: color 0.2s; }
.product-card__title a:hover { color: var(--accent); }
.product-card__desc { font-size: var(--step--1); color: var(--gray-600); margin: 0; }
.product-card__tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.product-card__foot { margin-top: auto; padding-top: var(--sp-4); border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: var(--sp-3); }
.price { font-family: var(--font-display); font-size: var(--step-2); color: var(--charcoal); letter-spacing: -0.02em; }
.price small { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 500; color: var(--gray-500); letter-spacing: 0.04em; text-transform: uppercase; display: block; margin-top: -0.15em; }
.product-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); padding: 0 var(--sp-5) var(--sp-5); }

/* Skeleton loading */
.skeleton { position: relative; overflow: hidden; background: var(--mist); border-radius: var(--radius-lg); }
.skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,0.75), transparent); animation: shimmer 1.4s infinite; }
.skeleton-card { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.skeleton-card .sk-media { aspect-ratio: 4/3; }
.skeleton-card .sk-body { padding: var(--sp-5); display: grid; gap: var(--sp-3); }
.skeleton-card .sk-line { height: 12px; border-radius: 6px; }
.skeleton-card .sk-line.w-40 { width: 40%; } .skeleton-card .sk-line.w-70 { width: 70%; } .skeleton-card .sk-line.w-90 { width: 90%; }

/* Category card */
.cat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--paper); border: 1px solid var(--line); overflow: hidden; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; }
.cat-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 100% 0%, var(--cat-tint, var(--accent-soft)) 0%, transparent 62%); opacity: 0.9; transition: opacity 0.3s; }
.cat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.cat-card > * { position: relative; }
.cat-card__icon { width: 40px; height: 40px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); margin-bottom: auto; box-shadow: var(--shadow-xs); }
.cat-card__icon svg { width: 20px; height: 20px; }
.cat-card h3 { font-size: var(--step-1); margin-top: var(--sp-5); }
.cat-card p { font-size: 0.8rem; color: var(--gray-500); margin-top: var(--sp-1); }

/* Feature / step / testimonial cards */
.feature { display: grid; gap: var(--sp-3); padding: var(--sp-5); border-radius: var(--radius-lg); background: var(--white); border: 1px solid var(--line); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feature__icon { width: 44px; height: 44px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.feature__icon svg { width: 21px; height: 21px; }
.feature h3 { font-size: var(--step-1); }
.feature p { font-size: var(--step--1); color: var(--gray-600); margin: 0; }

.steps { counter-reset: step; display: grid; gap: var(--sp-5); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { counter-increment: step; position: relative; padding-top: var(--sp-5); border-top: 2px solid var(--line); display: grid; gap: var(--sp-2); }
.step::before { content: "0" counter(step); font-family: var(--font-display); font-size: var(--step-2); color: var(--accent); line-height: 1; }
.step::after { content: ""; position: absolute; top: -2px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width 0.6s var(--ease); }
.step.is-visible::after { width: 100%; }
.step h3 { font-size: var(--step-1); }
.step p { font-size: var(--step--1); color: var(--gray-600); margin: 0; }
.section--dark .step { border-top-color: rgba(255,255,255,0.16); }
.section--dark .step p { color: #a9aca9; }
.section--dark .step::before { color: #7fd3bd; }

.quote { display: flex; flex-direction: column; gap: var(--sp-4); padding: var(--sp-6); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); height: 100%; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.quote:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote blockquote { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; color: var(--charcoal); letter-spacing: -0.01em; }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: var(--sp-3); }
.avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-hover); font-weight: 700; font-size: 0.85rem; flex: none; }
.quote cite { font-style: normal; font-weight: 600; font-size: var(--step--1); color: var(--charcoal); display: block; }
.quote cite span { display: block; font-weight: 400; font-size: 0.78rem; color: var(--gray-500); }
.stars { display: flex; gap: 2px; color: var(--amber); }
.stars svg { width: 15px; height: 15px; }

/* Stat strip */
.stats { display: grid; gap: var(--sp-5); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { display: grid; gap: var(--sp-1); }
.stat dt { order: 2; font-size: var(--step--1); color: var(--gray-500); }
.stat dd { order: 1; font-family: var(--font-display); font-size: var(--step-3); color: var(--charcoal); line-height: 1; }
.section--dark .stat dd { color: #fff; }
.section--dark .stat dt { color: #a9aca9; }

/* 10 ─ Page sections ----------------------------------------------------- */
.hero { position: relative; padding-block: var(--sp-8) var(--sp-8); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 60% at 78% 12%, var(--accent-soft) 0%, transparent 60%), radial-gradient(60% 50% at 4% 90%, #f6f1e9 0%, transparent 58%); z-index: -1; }
.hero__inner { display: grid; gap: var(--sp-7); align-items: center; }
@media (min-width: 1024px) { .hero { padding-block: var(--sp-9) var(--sp-9); } .hero__inner { grid-template-columns: 1.02fr 0.98fr; gap: var(--sp-8); } }
.hero__content { display: grid; gap: var(--sp-5); justify-items: start; }
.hero h1 { max-width: 14ch; }
.hero__sub { font-size: var(--step-1); color: var(--gray-600); max-width: 48ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__trust { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); font-size: 0.8rem; color: var(--gray-500); }
.hero__trust .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--line-strong); }

.hero__visual { position: relative; }
.hero__stack { display: grid; grid-template-columns: 1fr; gap: var(--sp-4); }
@media (min-width: 560px) { .hero__stack { grid-template-columns: 1.25fr 0.75fr; align-items: start; } }
.hero__shot { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow-lg); }
.hero__shot img { width: 100%; }
.hero__shot--a { transform: rotate(-1.2deg); }
.hero__shot--b { transform: rotate(1.6deg); margin-top: var(--sp-6); }
.hero__float { position: absolute; right: -6px; bottom: -18px; display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: 0.8rem; }
.hero__float strong { display: block; font-size: 0.9rem; color: var(--charcoal); }
.hero__float .dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-ring); animation: pulse 2.4s infinite; }

.page-header { padding-block: var(--sp-7) var(--sp-6); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-header__inner { display: grid; gap: var(--sp-4); max-width: 62ch; }
.page-header h1 { font-size: var(--step-4); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-2); font-size: 0.78rem; color: var(--gray-500); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs li { display: flex; align-items: center; gap: var(--sp-2); }
.breadcrumbs li + li::before { content: "/"; color: var(--line-strong); }
.breadcrumbs [aria-current="page"] { color: var(--charcoal); }

/* Marquee logo strip */
.logo-strip { padding-block: var(--sp-6); border-block: 1px solid var(--line); background: var(--white); }
.logo-strip p { text-align: center; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); margin-inline: auto; }
.logo-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--sp-5) var(--sp-7); margin-top: var(--sp-5); }
.logo-row span { font-family: var(--font-display); font-size: var(--step-1); color: var(--charcoal); opacity: 0.42; letter-spacing: -0.02em; transition: opacity 0.25s; }
.logo-row span:hover { opacity: 0.85; }

/* Accordion */
.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger { display: flex; width: 100%; gap: var(--sp-4); align-items: flex-start; justify-content: space-between; padding: var(--sp-5) 0; text-align: left; font-family: var(--font-display); font-size: var(--step-1); color: var(--charcoal); letter-spacing: -0.01em; transition: color 0.2s; }
.accordion__trigger:hover { color: var(--accent); }
.accordion__icon { flex: none; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; margin-top: 0.2em; transition: transform 0.35s var(--ease), background-color 0.25s, border-color 0.25s, color 0.25s; }
.accordion__icon svg { width: 12px; height: 12px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: var(--accent); border-color: var(--accent); color: #fff; }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.35s var(--ease); }
.accordion__panel > div { overflow: hidden; }
.accordion__panel[data-open="true"] { grid-template-rows: 1fr; }
.accordion__panel p { padding-bottom: var(--sp-5); color: var(--gray-600); font-size: var(--step-0); max-width: 72ch; }

/* Newsletter band */
.newsletter { background: var(--charcoal); color: #cfd1cf; border-radius: var(--radius-lg); padding: var(--sp-7) var(--sp-5); text-align: center; display: grid; gap: var(--sp-5); justify-items: center; }
@media (min-width: 768px) { .newsletter { padding: var(--sp-8); } }
.newsletter h2 { color: #fff; max-width: 20ch; }
.newsletter p { max-width: 52ch; }
.newsletter .input { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.2); color: #fff; }
.newsletter .input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter .input:focus { background: rgba(255,255,255,0.1); border-color: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,0.14); }
.newsletter .form-note { color: rgba(255,255,255,0.55); }
.newsletter .form-status[data-state="success"] { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }

/* CTA band */
.cta-band { display: grid; gap: var(--sp-5); justify-items: center; text-align: center; padding: var(--sp-8) var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(180deg, var(--paper), var(--white)); }

/* 11 ─ Shop & product ---------------------------------------------------- */
.shop-layout { display: grid; gap: var(--sp-6); }
@media (min-width: 1024px) { .shop-layout { grid-template-columns: 250px minmax(0, 1fr); gap: var(--sp-7); align-items: start; } }
.filters { display: grid; gap: var(--sp-5); }
@media (min-width: 1024px) { .filters { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }
.filter-group h3 { font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray-500); margin-bottom: var(--sp-3); }
.filter-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
@media (min-width: 1024px) { .filter-list { display: grid; gap: var(--sp-1); } }
.filter-chip { display: inline-flex; align-items: center; justify-content: space-between; gap: var(--sp-2); padding: 0.45em 0.85em; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font-size: var(--step--1); color: var(--gray-600); transition: border-color 0.2s, color 0.2s, background-color 0.2s; }
@media (min-width: 1024px) { .filter-chip { border-radius: var(--radius-sm); width: 100%; } }
.filter-chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-chip[aria-pressed="true"] { background: var(--charcoal); border-color: var(--charcoal); color: #fff; }
.filter-chip .n { font-size: 0.7rem; opacity: 0.6; }
.shop-toolbar { display: flex; flex-wrap: wrap; gap: var(--sp-3); align-items: center; justify-content: space-between; padding-bottom: var(--sp-5); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-5); }
.shop-toolbar .count { font-size: var(--step--1); color: var(--gray-500); }
.search-field { position: relative; flex: 1; min-width: 200px; max-width: 340px; }
.search-field svg { position: absolute; left: 0.9em; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--gray-500); pointer-events: none; }
.search-field .input { padding-left: 2.6em; }
.empty-state { display: grid; gap: var(--sp-4); justify-items: center; text-align: center; padding: var(--sp-9) var(--sp-5); border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); background: var(--paper); }
.empty-state__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--white); border: 1px solid var(--line); display: grid; place-items: center; color: var(--accent); box-shadow: var(--shadow-sm); }
.empty-state__icon svg { width: 28px; height: 28px; }
.empty-state p { max-width: 44ch; color: var(--gray-600); }

/* Product detail */
.product-top { display: grid; gap: var(--sp-6); padding-block: var(--sp-6) var(--sp-7); }
@media (min-width: 1024px) { .product-top { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--sp-7); align-items: start; } }
.gallery { display: grid; gap: var(--sp-3); }
.gallery__main { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: cover; animation: fade-in 0.35s var(--ease); }
.gallery__caption { position: absolute; left: var(--sp-3); bottom: var(--sp-3); padding: 0.4em 0.8em; background: rgba(255,255,255,0.92); backdrop-filter: blur(6px); border-radius: var(--radius-pill); font-size: 0.72rem; font-weight: 600; color: var(--charcoal); }
.gallery__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-3); }
.gallery__thumb { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--mist); transition: border-color 0.2s, transform 0.2s; padding: 0; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { transform: translateY(-2px); border-color: var(--line-strong); }
.gallery__thumb[aria-current="true"] { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); }

.buybox { display: grid; gap: var(--sp-5); }
@media (min-width: 1024px) { .buybox { position: sticky; top: calc(var(--header-h) + var(--sp-5)); } }
.buybox__head { display: grid; gap: var(--sp-3); }
.buybox__price { display: flex; align-items: baseline; gap: var(--sp-3); }
.buybox__price .amount { font-family: var(--font-display); font-size: var(--step-4); color: var(--charcoal); line-height: 1; }
.buybox__price .vat { font-size: 0.8rem; color: var(--gray-500); }
.buybox__actions { display: grid; gap: var(--sp-3); }
.notice { display: flex; gap: var(--sp-3); padding: var(--sp-4); border-radius: var(--radius); font-size: var(--step--1); line-height: 1.5; }
.notice svg { width: 18px; height: 18px; flex: none; margin-top: 0.15em; }
.notice--accent { background: var(--accent-soft); color: var(--accent-hover); }
.notice--accent strong { color: var(--accent-hover); }
.notice--neutral { background: var(--mist); color: var(--gray-700); }
.notice--neutral svg { color: var(--gray-600); }
.notice--amber { background: var(--amber-soft); color: var(--amber); }
.notice strong { display: block; color: var(--charcoal); font-weight: 600; }
.spec-list { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec-list div { display: flex; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-3) var(--sp-4); font-size: var(--step--1); }
.spec-list div + div { border-top: 1px solid var(--line); }
.spec-list dt { color: var(--gray-500); }
.spec-list dd { color: var(--charcoal); font-weight: 500; text-align: right; }

.product-sections { display: grid; gap: var(--sp-7); }
@media (min-width: 1024px) { .product-sections { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: var(--sp-7); align-items: start; } }
.check-list { display: grid; gap: var(--sp-3); }
.check-list li { display: flex; gap: var(--sp-3); font-size: var(--step-0); }
.check-list svg { width: 19px; height: 19px; flex: none; margin-top: 0.2em; color: var(--accent); }
.pill-list { display: flex; flex-wrap: wrap; gap: var(--sp-2); }
.pill { padding: 0.45em 0.9em; border: 1px solid var(--line); border-radius: var(--radius-pill); background: var(--white); font-size: var(--step--1); color: var(--gray-700); }
.feature-rows { display: grid; gap: var(--sp-5); }
@media (min-width: 700px) { .feature-rows { grid-template-columns: repeat(2, 1fr); } }
.feature-row { display: grid; gap: var(--sp-2); padding-left: var(--sp-5); border-left: 2px solid var(--accent-soft); }
.feature-row h4 { font-family: var(--font-sans); font-size: var(--step-0); font-weight: 600; }
.feature-row p { font-size: var(--step--1); color: var(--gray-600); margin: 0; }
.info-card { padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); display: grid; gap: var(--sp-4); }
.info-card h3 { font-size: var(--step-1); }

/* Quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius-pill); background: var(--white); overflow: hidden; }
.qty button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--charcoal); transition: background-color 0.2s, color 0.2s; }
.qty button:hover:not(:disabled) { background: var(--mist); color: var(--accent); }
.qty button:disabled { opacity: 0.35; cursor: not-allowed; }
.qty svg { width: 13px; height: 13px; }
.qty input { width: 42px; height: 36px; text-align: center; border: 0; border-inline: 1px solid var(--line); font-size: var(--step--1); font-weight: 600; color: var(--charcoal); -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 12 ─ Cart & checkout --------------------------------------------------- */
.cart-layout { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.75fr); gap: var(--sp-7); } }
.cart-list { display: grid; gap: var(--sp-4); }
.cart-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: var(--sp-4); padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--white); transition: box-shadow 0.25s, opacity 0.3s, transform 0.3s; }
@media (min-width: 560px) { .cart-item { grid-template-columns: 132px minmax(0, 1fr); gap: var(--sp-5); padding: var(--sp-5); } }
.cart-item:hover { box-shadow: var(--shadow-sm); }
.cart-item.is-removing { opacity: 0; transform: translateX(-16px); }
.cart-item__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--mist); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__body { display: grid; gap: var(--sp-3); align-content: start; }
.cart-item__top { display: flex; gap: var(--sp-4); justify-content: space-between; align-items: flex-start; }
.cart-item__title { font-size: var(--step-1); }
.cart-item__title a:hover { color: var(--accent); }
.cart-item__cat { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); font-weight: 600; }
.cart-item__price { font-family: var(--font-display); font-size: var(--step-1); color: var(--charcoal); white-space: nowrap; }
.cart-item__foot { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); justify-content: space-between; }
.remove-btn { display: inline-flex; align-items: center; gap: 0.45em; font-size: 0.8rem; color: var(--gray-500); transition: color 0.2s; }
.remove-btn:hover { color: var(--danger); }
.remove-btn svg { width: 14px; height: 14px; }

.summary { position: sticky; top: calc(var(--header-h) + var(--sp-5)); display: grid; gap: var(--sp-5); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.summary h2 { font-size: var(--step-2); }
.summary__rows { display: grid; gap: var(--sp-3); font-size: var(--step--1); }
.summary__rows > div { display: flex; justify-content: space-between; gap: var(--sp-4); }
.summary__rows .total { padding-top: var(--sp-3); border-top: 1px solid var(--line-strong); font-size: var(--step-0); color: var(--charcoal); font-weight: 600; align-items: baseline; }
.summary__rows .total span:last-child { font-family: var(--font-display); font-size: var(--step-2); font-weight: 500; }
.trust-row { display: grid; gap: var(--sp-2); font-size: 0.78rem; color: var(--gray-600); }
.trust-row li { display: flex; gap: var(--sp-2); align-items: center; }
.trust-row svg { width: 15px; height: 15px; color: var(--accent); flex: none; }

.checkout-layout { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 1024px) { .checkout-layout { grid-template-columns: minmax(0, 1.25fr) minmax(330px, 0.75fr); gap: var(--sp-7); } }
.pay-options { display: grid; gap: var(--sp-3); }
.pay-option { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--sp-4); align-items: center; padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); cursor: pointer; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.pay-option:hover { border-color: var(--gray-500); }
.pay-option input { accent-color: var(--accent); width: 1.15em; height: 1.15em; }
.pay-option:has(input:checked) { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--white); }
.pay-option__name { font-weight: 600; color: var(--charcoal); font-size: var(--step-0); }
.pay-option__desc { font-size: 0.78rem; color: var(--gray-500); }
.pay-logo { font-family: var(--font-sans); font-weight: 700; font-size: 0.85rem; letter-spacing: -0.02em; padding: 0.35em 0.7em; border-radius: 6px; background: var(--mist); color: var(--charcoal); }
.pay-logo--stripe { background: #635bff; color: #fff; }
.pay-logo--paypal { background: #003087; color: #fff; }
.order-item { display: flex; gap: var(--sp-3); align-items: center; padding-block: var(--sp-3); border-bottom: 1px solid var(--line); }
.order-item:last-of-type { border-bottom: 0; }
.order-item img { width: 54px; border-radius: 8px; border: 1px solid var(--line); }
.order-item .n { font-size: var(--step--1); font-weight: 600; color: var(--charcoal); }
.order-item .q { font-size: 0.75rem; color: var(--gray-500); }
.order-item .p { margin-left: auto; font-size: var(--step--1); font-weight: 600; color: var(--charcoal); white-space: nowrap; }

/* Thank you */
.success-hero { display: grid; gap: var(--sp-5); justify-items: center; text-align: center; padding-block: var(--sp-8) var(--sp-6); }
.success-mark { width: 76px; height: 76px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; animation: pop 0.5s var(--ease) both; }
.success-mark svg { width: 36px; height: 36px; }
.success-mark svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw 0.5s var(--ease) 0.25s forwards; }
.download-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-4); padding: var(--sp-4) var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.download-row__icon { width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; flex: none; }
.download-row__icon svg { width: 20px; height: 20px; }
.download-row__meta { flex: 1; min-width: 160px; }
.download-row__meta strong { display: block; color: var(--charcoal); font-size: var(--step-0); }
.download-row__meta span { font-size: 0.78rem; color: var(--gray-500); }

/* Toast */
.toast-region { position: fixed; z-index: 300; left: 50%; bottom: var(--sp-5); transform: translateX(-50%); display: grid; gap: var(--sp-3); width: min(420px, calc(100vw - 2rem)); pointer-events: none; }
@media (min-width: 768px) { .toast-region { left: auto; right: var(--sp-5); transform: none; } }
.toast { display: flex; align-items: center; gap: var(--sp-3); padding: var(--sp-3) var(--sp-4); background: var(--charcoal); color: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); font-size: var(--step--1); pointer-events: auto; animation: toast-in 0.32s var(--ease) both; }
.toast.is-leaving { animation: toast-out 0.28s var(--ease) both; }
.toast img { width: 42px; height: 32px; object-fit: cover; border-radius: 6px; flex: none; }
.toast__check { width: 22px; height: 22px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.toast__check svg { width: 12px; height: 12px; }
.toast a { margin-left: auto; font-weight: 600; color: #7fd3bd; white-space: nowrap; }
.toast a:hover { color: #fff; }

/* 13 ─ Utilities --------------------------------------------------------- */
.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; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--sp-4); } .mt-5 { margin-top: var(--sp-5); } .mt-6 { margin-top: var(--sp-6); } .mt-7 { margin-top: var(--sp-7); }
.mb-5 { margin-bottom: var(--sp-5); } .mb-6 { margin-bottom: var(--sp-6); }
.full { width: 100%; }
.divider { height: 1px; background: var(--line); border: 0; }
.hide-mobile { display: none; }
@media (min-width: 720px) { .hide-mobile { display: revert; } }

/* 14 ─ Motion ------------------------------------------------------------ */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 100% { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--accent-ring); } 70% { box-shadow: 0 0 0 10px rgba(14,107,87,0); } 100% { box-shadow: 0 0 0 0 rgba(14,107,87,0); } }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px) scale(0.98); } }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.07s; }
.reveal[data-delay="2"] { transition-delay: 0.14s; }
.reveal[data-delay="3"] { transition-delay: 0.21s; }
.reveal[data-delay="4"] { transition-delay: 0.28s; }

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

@media print {
  .site-header, .site-footer, .announce, .toast-region, .btn { display: none !important; }
  body { color: #000; }
}

/* 15 ─ Late additions ----------------------------------------------------- */
.grid--shop { grid-template-columns: repeat(auto-fill, minmax(min(100%, 272px), 1fr)); }
.page-header .lede { max-width: 58ch; }
.filters .info-card { padding: var(--sp-4); gap: var(--sp-3); }
.filters .info-card h3 { font-size: var(--step-0); font-family: var(--font-sans); font-weight: 600; }
.filters .info-card p { font-size: var(--step--1); margin: 0; }
.value-row { display: grid; gap: var(--sp-5); }
@media (min-width: 720px) { .value-row { grid-template-columns: repeat(3, 1fr); } }
.value-row .feature { background: var(--paper); }
.legal-toc { display: flex; flex-wrap: wrap; gap: var(--sp-2); padding: var(--sp-4); border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.legal-toc a { font-size: var(--step--1); padding: 0.35em 0.8em; border-radius: var(--radius-pill); background: var(--white); border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.legal-toc a:hover { border-color: var(--charcoal); color: var(--accent); }
.legal-section { scroll-margin-top: calc(var(--header-h) + 2rem); }
.timeline { display: grid; gap: var(--sp-6); }
.timeline li { display: grid; gap: var(--sp-2); padding-left: var(--sp-6); border-left: 2px solid var(--line); position: relative; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 3px solid var(--white); }
.timeline h3 { font-size: var(--step-1); }
.timeline p { font-size: var(--step--1); color: var(--gray-600); margin: 0; }
.timeline .when { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); }
.contact-grid { display: grid; gap: var(--sp-6); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: var(--sp-7); } }
.contact-card { display: grid; gap: var(--sp-4); padding: var(--sp-5); border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--paper); }
.contact-card dl { display: grid; gap: var(--sp-4); }
.contact-card dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gray-500); font-weight: 600; }
.contact-card dd { font-size: var(--step-0); color: var(--charcoal); }
.download-list { display: grid; gap: var(--sp-3); }
.next-steps { display: grid; gap: var(--sp-5); }
@media (min-width: 760px) { .next-steps { grid-template-columns: repeat(3, 1fr); } }
.info-card h3 svg { width: 1.05em; height: 1.05em; vertical-align: -0.12em; color: var(--accent); margin-right: 0.25em; }
.info-card h3 { display: flex; align-items: center; gap: 0.15em; font-size: var(--step-1); }
.info-card .check-list li { font-size: var(--step--1); }
.buybox__head .cluster .stars svg { color: var(--amber); }
/* Two-column content layouts (distinct from the shop's fixed sidebar) */
.split-2 { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .split-2 { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--sp-7); align-items: start; } }
.prose-layout { display: grid; gap: var(--sp-6); }
@media (min-width: 960px) { .prose-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: var(--sp-7); align-items: start; } }
/* On narrow screens the announce text wraps to two lines and the leading
   icon ends up orphaned against the edge — drop it below 600px. */
@media (max-width: 599px) {
  .announce svg { display: none; }
  .announce .container { gap: 0; padding-inline: var(--sp-4); }
}
