/*! Spark & Sugar · base.css — design system (docs/REDESIGN.md, docs/FOUNDATION.md)
 * White canvas, photo-led, flat colour blocks in the owner's palette, one typeface (Source Sans 3).
 *  1 Font            2 Tokens          3 Base / reset     4 Layout & type helpers
 *  5 Buttons         6 Badges, chips   7 Forms            8 Accordion, breadcrumbs, notice
 *  9 Announcement   10 Header, nav, mega menu            11 Dialogs: drawers, search, bag
 * 12 Line items, upsells, empty state  13 Toasts, floating WhatsApp
 * 14 Product card, grid, carousel row  15 Editorial block, category strip, trust row
 * 16 Footer         17 Motion & print
 */

/* ---------- 1. Font ---------- */
@font-face {
  font-family: 'Source Sans 3';
  src: url('/assets/fonts/source-sans-3-latin-var.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Metric-matched fallback: no layout shift when the web font swaps in */
@font-face {
  font-family: 'Source Sans Fallback';
  src: local('Arial'), local('ArialMT'), local('Liberation Sans');
  size-adjust: 92.4%;
  ascent-override: 110.9%;
  descent-override: 43.3%;
  line-gap-override: 0%;
}

/* ---------- 2. Tokens ---------- */
:root {
  /* Owner's palette (always flat) */
  --lime: #CCFF00;
  --purple: #700496;
  --purple-deep: #4A0263;
  --coral: #FF7178;
  --cyan: #0CC1DF;
  --lavender: #E9DAEF;
  --lavender-soft: #F6EFF9;
  /* Neutrals */
  --white: #FFFFFF;
  --ink: #2A0838;          /* text */
  --ink-2: #6B6070;        /* secondary text: white / lavender-soft only (never on lavender) */
  --line: #E8E2EC;         /* dividers */
  --line-2: #D6CCDC;       /* chip / card outlines */
  --line-input: #8A7495;   /* form control borders (≥ 3:1 on white) */
  --error: #B3261E;
  --wa: #128C7E;           /* floating WhatsApp button only */

  --font: 'Source Sans 3', 'Source Sans Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-hero: clamp(2rem, 1.15rem + 3.4vw, 4rem);          /* 32 → 64 */
  --fs-display: clamp(1.75rem, 1.2rem + 1.9vw, 2.75rem);  /* 28 → 44 editorial titles */
  --fs-h1: clamp(1.75rem, 1.45rem + 1.25vw, 2.5rem);      /* 28 → 40 */
  --fs-h2: clamp(1.25rem, 1.08rem + .7vw, 1.75rem);       /* 20 → 28 */
  --fs-h3: 1.125rem;
  --fs-body: 1rem;
  --fs-ui: .875rem;
  --fs-sm: .8125rem;
  --fs-xs: .75rem;

  --container: 1320px;
  --gutter: clamp(20px, 3vw, 40px);
  --section-y: clamp(48px, 6vw, 88px);
  --radius-img: 2px;
  --radius-btn: 4px;
  --radius-card: 6px;
  --radius-pill: 999px;
  --header-h: 72px;
  --wa-offset: 0px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur: .2s;
  --shadow-pop: 0 18px 40px -18px rgb(42 8 56 / .28);
  color-scheme: light;
}

/* ---------- 3. Base / reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-tap-highlight-color: transparent;
}
/* Scroll lock while a modal is open; --sbw (set by core.js) replaces the vanished scrollbar so nothing shifts */
html:has(dialog[open]) { overflow: hidden; padding-inline-end: var(--sbw, 0px); }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
:where(ul, ol)[role="list"] { list-style: none; padding: 0; } /* zero specificity: component classes win */
img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--purple); }
strong, b { font-weight: 700; }
button, input, select, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 2px; }
[hidden] { display: none !important; }
::selection { background: var(--lime); color: var(--ink); }
.icon { flex: none; }
.site-main { display: block; min-height: 50vh; }
.site-main:focus { outline: none; }

.sr-only {
  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: fixed; z-index: 200; top: 8px; left: 8px; padding: 10px 16px;
  background: var(--purple); color: var(--white); font-weight: 700; text-decoration: none;
  border-radius: var(--radius-btn); translate: 0 -150%; transition: translate var(--dur) var(--ease);
}
.skip-link:focus { translate: 0 0; color: var(--white); }

/* ---------- 4. Layout & type helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(760px + var(--gutter) * 2); }
.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.section--soft { background: var(--lavender-soft); }
.section--lavender { background: var(--lavender); }
.section + .section:not([class*="section--"]) { padding-top: 0; }

.eyebrow {
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.page-title { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -.015em; }
.section-title { font-size: var(--fs-h2); font-weight: 700; }
.section-lead { margin-top: 8px; max-width: 62ch; color: var(--ink-2); }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(20px, 2.4vw, 32px); }
.section-head--center { flex-direction: column; align-items: center; text-align: center; }
.section-head__text { display: grid; gap: 6px; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .9375rem; font-weight: 700; color: var(--ink);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
}
.text-link:hover { color: var(--purple); text-decoration-thickness: 2px; }
.text-link--light, .text-link--light:hover { color: var(--white); }
.muted { color: var(--ink-2); }
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose h2 { margin-top: 1.8em; font-size: var(--fs-h2); }
.prose h3 { margin-top: 1.5em; font-size: var(--fs-h3); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--purple); }

/* Palette tones: background + matching text/button colours (WCAG AA). Use with .tone-bg / .btn--tone. */
.tone-purple { --tone-bg: var(--purple); --tone-fg: var(--white); --tone-btn: var(--lime); --tone-btn-fg: var(--ink); --tone-btn-hover: var(--white); }
.tone-purple-deep { --tone-bg: var(--purple-deep); --tone-fg: var(--white); --tone-btn: var(--lime); --tone-btn-fg: var(--ink); --tone-btn-hover: var(--white); }
.tone-coral { --tone-bg: var(--coral); --tone-fg: var(--ink); --tone-btn: var(--ink); --tone-btn-fg: var(--white); --tone-btn-hover: var(--purple-deep); }
.tone-cyan { --tone-bg: var(--cyan); --tone-fg: var(--ink); --tone-btn: var(--ink); --tone-btn-fg: var(--white); --tone-btn-hover: var(--purple-deep); }
.tone-lime { --tone-bg: var(--lime); --tone-fg: var(--ink); --tone-btn: var(--ink); --tone-btn-fg: var(--white); --tone-btn-hover: var(--purple-deep); }
.tone-lavender { --tone-bg: var(--lavender); --tone-fg: var(--ink); --tone-btn: var(--purple); --tone-btn-fg: var(--white); --tone-btn-hover: var(--purple-deep); }
.tone-bg { background: var(--tone-bg); color: var(--tone-fg); }
.tone-bg a:not(.btn):hover { color: inherit; }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 10px 24px;
  border: 1px solid transparent; border-radius: var(--radius-btn);
  background: transparent; color: var(--ink);
  font-size: .9375rem; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; user-select: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.btn:hover { color: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; gap: 8px; }
.btn--lg { min-height: 52px; padding: 12px 28px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }
.btn--primary { background: var(--purple); color: var(--white); }
.btn--primary:hover { background: var(--purple-deep); color: var(--white); }
.btn--secondary, .btn--whatsapp { border-color: var(--ink); background: var(--white); color: var(--ink); }
.btn--secondary:hover, .btn--whatsapp:hover { background: var(--ink); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn--ink:hover { background: var(--purple-deep); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--lavender-soft); color: var(--ink); }
.btn--spark { background: var(--lime); color: var(--ink); }
.btn--spark:hover { background: var(--white); color: var(--ink); }
.btn--ghost { color: var(--ink); }
.btn--ghost:hover { background: var(--lavender-soft); }
.btn--tone { background: var(--tone-btn); color: var(--tone-btn-fg); }
.btn--tone:hover { background: var(--tone-btn-hover); color: var(--tone-btn-fg); }
.tone-purple .btn--tone:hover, .tone-purple-deep .btn--tone:hover { color: var(--ink); }
.btn:disabled, .btn[aria-disabled="true"], .btn--soldout {
  border-color: transparent; background: #EFEAF2; color: var(--ink-2); cursor: not-allowed;
}
.btn.is-added { background: var(--ink); border-color: var(--ink); color: var(--white); }

.icon-btn {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.icon-btn:hover { background: var(--lavender-soft); color: var(--ink); }

/* Round outline/ink buttons: carousel arrows, quick add */
.round-btn {
  position: relative; display: inline-grid; place-items: center; flex: none;
  width: 40px; height: 40px; padding: 0; border: 1px solid var(--ink); border-radius: 50%;
  background: var(--white); color: var(--ink); cursor: pointer; text-decoration: none;
  transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease), opacity var(--dur);
}
.round-btn:hover { background: var(--ink); color: var(--white); }
.round-btn:disabled { opacity: .3; cursor: default; background: var(--white); color: var(--ink); }
.round-btn--ink { border-color: var(--ink); background: var(--ink); color: var(--white); }
.round-btn--ink:hover { border-color: var(--purple); background: var(--purple); color: var(--white); }
.round-btn .icon--check { display: none; }
.round-btn.is-added { border-color: var(--purple); background: var(--purple); color: var(--white); }
.round-btn.is-added .icon--check { display: block; }
.round-btn.is-added .icon:not(.icon--check) { display: none; }

/* ---------- 6. Badges, chips, price ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 22px; padding: 2px 10px; border-radius: var(--radius-pill);
  background: var(--lavender); color: var(--ink);
  font-size: var(--fs-xs); font-weight: 700; line-height: 1.2; letter-spacing: .01em; white-space: nowrap;
}
.badge--lime { background: var(--lime); }
.badge--cyan { background: var(--cyan); }
.badge--coral { background: var(--coral); }
.badge--lavender { background: var(--lavender); }
.badge--white { background: var(--white); }
.badge--purple { background: var(--purple); color: var(--white); }
.badge--ink { background: var(--purple-deep); color: var(--white); }
.badge--sm { min-height: 20px; padding: 1px 8px; font-size: .6875rem; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 40px; padding: 6px 16px;
  border: 1px solid var(--line-2); border-radius: var(--radius-pill);
  background: var(--white); color: var(--ink);
  font-size: var(--fs-ui); font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  cursor: pointer; transition: border-color var(--dur), background-color var(--dur), color var(--dur);
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-active, .chip[aria-pressed="true"], .chip[aria-current="page"] { border-color: var(--purple); background: var(--purple); color: var(--white); }
.chip__count { color: var(--ink-2); font-weight: 600; font-size: var(--fs-sm); }
.chip.is-active .chip__count, .chip[aria-pressed="true"] .chip__count, .chip[aria-current="page"] .chip__count { color: var(--white); }
.chip--sm { min-height: 34px; padding: 4px 12px; font-size: var(--fs-sm); }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }

.price { font-weight: 700; }
.price--lg { font-size: 1.375rem; }
.price--xl { font-size: clamp(1.375rem, 1.2rem + .5vw, 1.5rem); }

/* ---------- 7. Forms ---------- */
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field__label { font-size: var(--fs-ui); font-weight: 700; }
.field__req { color: var(--purple); }
.field__opt { font-weight: 400; color: var(--ink-2); }
.input {
  width: 100%; min-height: 48px; padding: 11px 14px;
  border: 1px solid var(--line-input); border-radius: var(--radius-btn);
  background: var(--white); color: var(--ink);
  font-size: 1rem; line-height: 1.4;
  transition: border-color var(--dur), box-shadow var(--dur);
}
.input::placeholder { color: #7A6F80; opacity: 1; }
.input:hover { border-color: var(--ink); }
.input:focus { outline: 2px solid var(--purple); outline-offset: 0; border-color: var(--purple); }
.textarea { min-height: 112px; resize: vertical; }
.select-wrap { position: relative; }
.select { appearance: none; padding-right: 44px; cursor: pointer; }
.select-wrap__icon { position: absolute; right: 14px; top: 50%; translate: 0 -50%; pointer-events: none; color: var(--ink); }
input[type="number"].input { -moz-appearance: textfield; }
.field__hint { font-size: var(--fs-sm); color: var(--ink-2); line-height: 1.4; }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; color: var(--error); }
.field__error .icon { margin-top: 1px; }
.field.is-invalid .input { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field.is-invalid .input:focus { outline-color: var(--error); }
.form-grid { display: grid; gap: 16px; }
.form-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.span-2 { grid-column: 1 / -1; }
@media (max-width: 559.98px) { .form-grid--2 { grid-template-columns: minmax(0, 1fr); } }

.check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; cursor: pointer; }
.check__control { position: relative; display: grid; flex: none; width: 22px; height: 22px; }
.check__input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.check__box {
  display: grid; place-items: center; width: 22px; height: 22px;
  border: 1px solid var(--line-input); border-radius: var(--radius-btn); background: var(--white); color: transparent;
  transition: background-color var(--dur), border-color var(--dur);
}
.check__input:checked + .check__box { border-color: var(--purple); background: var(--purple); color: var(--white); }
.check__input:focus-visible + .check__box { outline: 2px solid var(--purple); outline-offset: 2px; }

.pills { min-width: 0; margin: 0; padding: 0; border: 0; }
.pills__row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pill { position: relative; display: inline-flex; }
.pill input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pill > span {
  display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 8px 18px;
  border: 1px solid var(--line-input); border-radius: var(--radius-pill); background: var(--white);
  font-size: .9375rem; font-weight: 600; line-height: 1.2;
  transition: border-color var(--dur), background-color var(--dur), color var(--dur);
}
.pill:hover > span { border-color: var(--ink); }
.pill input:checked + span { border-color: var(--purple); background: var(--purple); color: var(--white); }
.pill input:focus-visible + span { outline: 2px solid var(--purple); outline-offset: 2px; }
.pill small { font-size: var(--fs-sm); font-weight: 600; }
.pill.is-disabled > span { border-style: dashed; background: #F7F4F9; color: var(--ink-2); text-decoration: line-through; }
.pill.is-disabled input { cursor: not-allowed; }

.stepper { display: inline-flex; align-items: stretch; height: 52px; border: 1px solid var(--line-input); border-radius: var(--radius-btn); background: var(--white); }
.stepper__btn { display: grid; place-items: center; width: 44px; padding: 0; border: 0; background: transparent; color: var(--ink); cursor: pointer; border-radius: var(--radius-btn); }
.stepper__btn:hover { background: var(--lavender-soft); }
.stepper__btn:disabled { opacity: .3; cursor: default; background: transparent; }
.stepper__input { width: 44px; min-width: 0; padding: 0; border: 0; background: transparent; text-align: center; font-size: 1rem; font-weight: 700; -moz-appearance: textfield; }
.stepper__input::-webkit-outer-spin-button, .stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper__input:focus { outline: 2px solid var(--purple); outline-offset: -2px; border-radius: 2px; }
.stepper--sm { height: 36px; }
.stepper--sm .stepper__btn { width: 34px; }
.stepper--sm .stepper__input { width: 34px; font-size: .9375rem; }

/* ---------- 8. Accordion, breadcrumbs, notice ---------- */
.accordions { border-top: 1px solid var(--line); }
.accordion { border-bottom: 1px solid var(--line); }
.accordion__summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 14px 0; list-style: none; cursor: pointer;
  font-size: 1rem; font-weight: 700; line-height: 1.35;
}
.accordion__summary::-webkit-details-marker { display: none; }
.accordion__summary:hover { color: var(--purple); }
.accordion__icon { position: relative; flex: none; width: 16px; height: 16px; }
.accordion__icon::before, .accordion__icon::after {
  content: ''; position: absolute; left: 0; top: 50%; width: 16px; height: 1.5px;
  background: currentColor; translate: 0 -50%; transition: rotate var(--dur) var(--ease);
}
.accordion__icon::after { rotate: 90deg; }
.accordion[open] > .accordion__summary .accordion__icon::after { rotate: 0deg; }
.accordion__body { padding: 0 0 22px; }
.accordion__body > * + * { margin-top: .8em; }
.accordion__body ul { padding-left: 1.2em; }
.accordion__body li + li { margin-top: .3em; }
.accordion__body li::marker { color: var(--purple); }

.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 2px 8px; margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 8px; }
.breadcrumbs li + li::before { content: '/'; color: currentColor; opacity: .6; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs a:hover { color: inherit; text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); }
.breadcrumbs--on-tone ol { color: inherit; }
.breadcrumbs--on-tone [aria-current="page"] { color: inherit; font-weight: 600; }
.crumbs-wrap { padding-top: 20px; }

.notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; border-radius: var(--radius-card); background: var(--lavender-soft); color: var(--ink); }
.notice__icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; margin-top: 1px; }
.notice__body { display: grid; gap: 4px; font-size: .9375rem; line-height: 1.5; }
.notice__title { font-weight: 700; }
.notice a { font-weight: 700; }
.notice--cyan { background: var(--cyan); }
.notice--lime, .notice--success { background: var(--lime); }
.notice--coral, .notice--warn { background: var(--coral); }
.notice--lavender { background: var(--lavender); }
.notice--line { border: 1px solid var(--line); background: var(--white); }

/* ---------- 9. Announcement bar ---------- */
.announce { position: relative; z-index: 51; background: var(--purple); color: var(--white); font-size: var(--fs-sm); font-weight: 600; line-height: 1.35; }
.announce__inner { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; align-items: center; min-height: 36px; }
.announce__track { display: grid; text-align: center; }
.announce__msg { grid-area: 1 / 1; align-self: center; padding: 7px 4px; opacity: 0; visibility: hidden; transition: opacity .35s ease, visibility .35s; }
.announce__msg.is-active { opacity: 1; visibility: visible; }
.announce__nav { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--white); cursor: pointer; }
.announce__nav:hover { background: rgb(255 255 255 / .14); }
.announce__nav:focus-visible { outline-color: var(--lime); }
@media (max-width: 599.98px) { .announce { font-size: var(--fs-xs); } .announce__inner { grid-template-columns: 30px minmax(0, 1fr) 30px; } }

/* ---------- 10. Header, nav, mega menu ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white); border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__bar {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  grid-template-areas: "start logo end"; align-items: center; column-gap: 12px; min-height: 64px;
}
.site-header__burger { grid-area: start; justify-self: start; margin-left: -10px; }
.site-header__logo { grid-area: logo; display: block; line-height: 0; }
.site-header__logo img { width: auto; height: 34px; }
.main-nav { display: none; }
.site-header__actions { grid-area: end; justify-self: end; display: flex; align-items: center; gap: 2px; margin-right: -10px; }
.site-header__wa { display: none; }
.header-search {
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ink); text-decoration: none;
}
.header-search:hover { background: var(--lavender-soft); color: var(--ink); }
.header-search__text { display: none; }
.bag-count {
  position: absolute; top: 4px; right: 2px; display: grid; place-items: center;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--radius-pill);
  background: var(--purple); color: var(--white); font-size: 11px; font-weight: 700; line-height: 1;
}
.bag-count.is-bump { animation: ss-bump .45s var(--ease); }

@media (min-width: 1025px) {
  .site-header__bar { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "logo nav end"; column-gap: 32px; min-height: 76px; }
  .site-header__burger { display: none; }
  .site-header__logo img { height: 40px; }
  .main-nav { grid-area: nav; display: block; align-self: stretch; }
  .site-header__wa { display: inline-grid; }
  .site-header__actions { margin-right: -8px; gap: 4px; }
}
@media (min-width: 1280px) {
  .site-header__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "nav logo end"; }
  .site-header__logo img { height: 44px; }
  .header-search {
    display: inline-flex; align-items: center; justify-content: flex-start; gap: 10px;
    width: clamp(180px, 15vw, 240px); height: 40px; margin-right: 8px; padding: 0 2px;
    border-radius: 0; border-bottom: 1px solid var(--ink); color: var(--ink-2);
  }
  .header-search:hover { background: transparent; color: var(--ink); border-bottom-color: var(--purple); }
  .header-search .icon { color: var(--ink); }
  .header-search__text { display: inline; font-size: var(--fs-ui); }
}

.main-nav__list { display: flex; align-items: stretch; gap: clamp(20px, 1.9vw, 30px); height: 100%; margin: 0; padding: 0; list-style: none; }
.main-nav__item { display: flex; align-items: stretch; }
.main-nav__item--xl { display: none; }
@media (min-width: 1600px) { .main-nav__item--xl { display: flex; } }
.main-nav__link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 0; border: 0; background: transparent; color: var(--ink);
  font-size: .9375rem; font-weight: 600; line-height: 1.2; white-space: nowrap; text-decoration: none; cursor: pointer;
}
.main-nav__link::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px;
  background: var(--purple); scale: 0 1; transform-origin: left; transition: scale var(--dur) var(--ease);
}
.main-nav__link:hover { color: var(--ink); }
.main-nav__link:hover::after, .main-nav__link[aria-current]::after, .main-nav__link.is-current::after,
.main-nav__item.is-open > .main-nav__link::after { scale: 1 1; }
.main-nav__chev { transition: rotate var(--dur) var(--ease); }
.main-nav__item.is-open .main-nav__chev { rotate: 180deg; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -28px rgb(42 8 56 / .35);
  opacity: 0; visibility: hidden; translate: 0 -6px;
  transition: opacity var(--dur) var(--ease), visibility var(--dur), translate var(--dur) var(--ease);
}
.main-nav__item.is-open > .mega { opacity: 1; visibility: visible; translate: 0 0; }
.mega__inner { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1.1fr 1.1fr; gap: 40px; padding-block: 32px 40px; }
.mega__title { margin-bottom: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.mega__links { display: grid; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mega__links a { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .9375rem; text-decoration: none; }
.mega__links a:hover { color: var(--purple); text-decoration: underline; }
.mega__links a[aria-current] { font-weight: 700; }
.mega__count { font-size: var(--fs-sm); color: var(--ink-2); }
.mega__all { margin-top: 10px; }
.mega-card { display: grid; gap: 10px; align-content: start; text-decoration: none; color: var(--ink); }
.mega-card__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lavender-soft); border-radius: var(--radius-img); }
.mega-card__media img { width: 100%; height: 100%; object-fit: cover; transition: scale .4s var(--ease); }
.mega-card:hover img { scale: 1.03; }
.mega-card__label { font-weight: 700; }
.mega-card__label .icon { display: inline; vertical-align: -3px; margin-left: 4px; }
.mega-card:hover .mega-card__label { color: var(--purple); text-decoration: underline; }

/* ---------- 11. Dialogs: drawers, search, bag ---------- */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: none; max-height: none; }
dialog::backdrop { background: rgb(42 8 56 / 0); transition: background-color .3s ease, overlay .3s allow-discrete, display .3s allow-discrete; }
dialog[open]::backdrop { background: rgb(42 8 56 / .45); }
@starting-style { dialog[open]::backdrop { background: rgb(42 8 56 / 0); } }

.drawer {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(440px, 100%); height: 100%; height: 100dvh;
  background: var(--white); overflow: hidden;
  transform: translateX(100%);
  transition: transform .32s var(--ease), overlay .32s allow-discrete, display .32s allow-discrete;
}
.drawer[open] { transform: translateX(0); }
@starting-style { .drawer[open] { transform: translateX(100%); } }
.drawer--left { inset: 0 auto 0 0; width: min(400px, calc(100% - 44px)); transform: translateX(-100%); }
@starting-style { .drawer--left[open] { transform: translateX(-100%); } }
.drawer__panel { display: flex; flex-direction: column; height: 100%; }
.drawer__head { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 10px 10px 10px 24px; border-bottom: 1px solid var(--line); }
.drawer__title { margin-right: auto; font-size: 1.125rem; font-weight: 700; }
.drawer__count { font-weight: 600; color: var(--ink-2); }
.drawer__logo img { width: auto; height: 30px; }
.drawer__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; }
.drawer__foot { padding: 16px 24px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--white); }

.nav-drawer__search { position: relative; margin: 16px 0 8px; }
.nav-drawer__search .input { padding-right: 48px; }
.nav-drawer__search .icon-btn { position: absolute; right: 2px; top: 2px; }
.nav-drawer__heading { margin: 24px 0 4px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.nav-drawer__list { margin: 0; padding: 0; list-style: none; }
.nav-drawer__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--line);
  font-size: 1.0625rem; font-weight: 600; text-decoration: none; color: var(--ink);
}
.nav-drawer__link:hover { color: var(--purple); }
.nav-drawer__link[aria-current] { color: var(--purple); }
.nav-drawer__link .icon { color: var(--ink-2); }
.nav-drawer__link--small { min-height: 46px; font-size: 1rem; font-weight: 400; }
.nav-drawer__contact { display: grid; gap: 12px; }
.nav-drawer__social { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: var(--fs-ui); }
.nav-drawer__social a { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; text-decoration: none; font-weight: 600; }

.search-dialog {
  position: fixed; inset: 0 0 auto 0; margin: 0; width: 100%; max-height: 100dvh;
  background: var(--white);
  opacity: 0; transform: translateY(-12px);
  transition: opacity .2s ease, transform .26s var(--ease), overlay .26s allow-discrete, display .26s allow-discrete;
}
.search-dialog[open] { opacity: 1; transform: none; }
@starting-style { .search-dialog[open] { opacity: 0; transform: translateY(-12px); } }
.search-dialog__panel { max-height: 100dvh; overflow-y: auto; overscroll-behavior: contain; padding: 20px 0 40px; }
.search-form { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--ink); }
.search-form:focus-within { border-bottom-color: var(--purple); box-shadow: 0 1px 0 var(--purple); }
.search-form__icon { display: grid; color: var(--ink); }
.search-form__input {
  flex: 1; min-width: 0; height: 56px; padding: 0 4px; border: 0; background: transparent;
  font-size: clamp(1.125rem, 1rem + .6vw, 1.5rem); font-weight: 600; color: var(--ink);
}
.search-form__input:focus { outline: none; }
.search-form__input::placeholder { color: #7A6F80; font-weight: 400; }
.search-form__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form__submit { display: none; }
@media (min-width: 640px) { .search-form__submit { display: inline-flex; } }
.search-results { margin-top: 24px; }
.search-results__head { margin-bottom: 12px; font-size: var(--fs-ui); font-weight: 600; color: var(--ink-2); }
.search-results__list { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .search-results__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; } }
@media (min-width: 1100px) { .search-results__list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.search-hit { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px; border-radius: var(--radius-card); color: var(--ink); text-decoration: none; }
.search-hit:hover, .search-hit:focus-visible { background: var(--lavender-soft); color: var(--ink); }
.search-hit__img { width: 56px; height: 70px; object-fit: cover; background: var(--lavender-soft); border-radius: var(--radius-img); }
.search-hit__body { min-width: 0; display: grid; gap: 2px; justify-items: start; }
.search-hit__name { font-weight: 700; line-height: 1.25; }
.search-hit__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: var(--fs-sm); line-height: 1.35; color: var(--ink-2); }
.search-hit__price { font-weight: 700; white-space: nowrap; }
.search-hit mark { background: var(--lime); color: var(--ink); border-radius: 2px; }
.search-results__all { margin-top: 20px; }
.search-empty { display: grid; gap: 4px; padding: 20px; border-radius: var(--radius-card); background: var(--lavender-soft); }
.search-suggest { margin-top: 28px; }
.search-suggest__title { margin-bottom: 12px; font-size: var(--fs-xs); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }

.bag-added { display: flex; align-items: center; gap: 10px; padding: 12px 24px; background: var(--lime); font-weight: 700; animation: ss-drop .35s var(--ease); }
.bag-added__icon { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--ink); color: var(--lime); }
.bag-summary { display: grid; gap: 10px; margin-bottom: 14px; }
.bag-summary__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-weight: 700; }
.bag-summary__total { font-size: 1.125rem; }
.bag-note { display: flex; align-items: flex-start; gap: 8px; font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); }
.bag-note .icon { margin-top: 1px; color: var(--ink); }
.bag-note--warn { color: var(--error); font-weight: 600; }
.bag-note--warn .icon { color: var(--error); }
.bag-actions { display: grid; gap: 8px; }
.bag-empty { padding-top: 16px; }
.bag-empty__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 8px; }

/* ---------- 12. Line items, upsells, empty state ---------- */
.line-items { margin: 0; padding: 0; list-style: none; }
.line-item {
  position: relative; display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.line-item__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lavender-soft); border-radius: var(--radius-img); }
.line-item__media img { width: 100%; height: 100%; object-fit: cover; }
.line-item__info { display: grid; align-content: start; gap: 2px; min-width: 0; }
.line-item__name { font-weight: 700; line-height: 1.3; text-decoration: none; color: var(--ink); }
.line-item__name:hover { text-decoration: underline; }
.line-item__sub, .line-item__meta { font-size: var(--fs-sm); line-height: 1.35; color: var(--ink-2); }
.line-item__warn { font-size: var(--fs-sm); font-weight: 700; color: var(--error); }
.line-item__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; margin-top: 10px; }
.line-item__price { font-weight: 700; }
.line-item__remove { align-self: start; width: 36px; height: 36px; margin-top: -6px; margin-right: -6px; color: var(--ink-2); }
.line-item__remove:hover { color: var(--error); }
.line-item.is-unavailable .line-item__media img { opacity: .5; }
.line-item.is-unavailable .line-item__price { color: var(--ink-2); text-decoration: line-through; }
.line-item.is-new { animation: ss-flash 1.4s ease; }

.upsells { margin-top: 20px; padding: 16px; border-radius: var(--radius-card); background: var(--lavender-soft); }
.upsells__title { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 700; }
.upsells__list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.upsell { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.upsell__img { width: 52px; height: 52px; object-fit: cover; border-radius: var(--radius-img); background: var(--white); }
.upsell__name { display: block; font-size: .9375rem; font-weight: 700; line-height: 1.25; text-decoration: none; }
.upsell__price { font-size: var(--fs-sm); color: var(--ink-2); }

.empty-state { display: grid; justify-items: center; gap: 10px; padding: 24px 0; text-align: center; }
.empty-state__title { font-size: 1.25rem; font-weight: 700; }
.empty-state__text { max-width: 40ch; color: var(--ink-2); }
.empty-state .btn { margin-top: 8px; }

/* ---------- 13. Toasts, floating WhatsApp ---------- */
.toasts {
  position: fixed; z-index: 120; inset: auto auto calc(16px + env(safe-area-inset-bottom) + var(--wa-offset)) 50%;
  translate: -50% 0; margin: 0; padding: 0; border: 0; background: transparent; overflow: visible;
  display: grid; gap: 8px; width: min(440px, calc(100% - 32px)); pointer-events: none;
}
.toasts:popover-open { display: grid; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-radius: var(--radius-card); background: var(--purple-deep); color: var(--white);
  box-shadow: var(--shadow-pop); font-weight: 600; line-height: 1.35; pointer-events: auto;
  animation: ss-toast-in .3s var(--ease);
}
.toast.is-leaving { animation: ss-toast-out .25s ease forwards; }
.toast__icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--lime); color: var(--ink); }
.toast--error .toast__icon { background: var(--coral); }
.toast--info .toast__icon { background: var(--cyan); }
.toast__text { flex: 1; }
.toast__action { flex: none; padding: 0; border: 0; background: none; color: var(--lime); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; }
.toast__action:hover { color: var(--white); }
@media (min-width: 768px) { .toasts { inset: auto calc(24px + env(safe-area-inset-right)) calc(24px + var(--wa-offset)) auto; translate: none; } }

.wa-float {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right));
  bottom: calc(16px + env(safe-area-inset-bottom) + var(--wa-offset));
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: var(--wa); color: var(--white);
  box-shadow: 0 10px 24px -10px rgb(42 8 56 / .55);
  transition: transform var(--dur) var(--ease), opacity var(--dur), visibility var(--dur), bottom .25s var(--ease);
}
.wa-float:hover { color: var(--white); transform: translateY(-2px); }
.wa-float__label {
  position: absolute; right: calc(100% + 10px); top: 50%; translate: 0 -50%;
  padding: 6px 12px; border-radius: var(--radius-btn); background: var(--ink); color: var(--white);
  font-size: var(--fs-sm); font-weight: 600; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity var(--dur);
}
@media (hover: hover) { .wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { opacity: 1; } }
@media (min-width: 1025px) { .wa-float { right: max(24px, env(safe-area-inset-right)); bottom: calc(24px + var(--wa-offset)); } }
html:has(dialog[open]) .wa-float { opacity: 0; visibility: hidden; transform: scale(.9); }
/* Tucked away while the visitor scrolls down (core.js initHeader), back on any scroll up: it never covers content. */
.wa-float.is-tucked { opacity: 0; visibility: hidden; transform: translateY(12px) scale(.9); pointer-events: none; }
/* Toasts and the floating button share the bottom-right corner: while the button shows, the toasts stack above it
   (52px button + 12px gap) instead of covering it. With a dialog open the button hides and they drop back. */
html:has(.wa-float):not(:has(dialog[open])) .toasts { bottom: calc(80px + env(safe-area-inset-bottom) + var(--wa-offset)); }
@media (min-width: 1025px) { html:has(.wa-float):not(:has(dialog[open])) .toasts { bottom: calc(88px + var(--wa-offset)); } }

/* ---------- 14. Product card, grid, carousel row ---------- */
.pcard { position: relative; display: flex; flex-direction: column; height: 100%; color: var(--ink); }
.pcard__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--lavender-soft); border-radius: var(--radius-img); }
.pcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .5s var(--ease), opacity .35s ease; }
.pcard__alt { position: absolute; inset: 0; }
.pcard__img--alt { opacity: 0; }
@media (hover: hover) {
  .pcard:hover .pcard__img { scale: 1.03; }
  .pcard:hover .pcard__img--alt { opacity: 1; }
}
.pcard__badges { position: absolute; z-index: 1; top: 12px; left: 12px; right: 12px; display: flex; flex-wrap: wrap; gap: 6px; pointer-events: none; }
.pcard__body { display: flex; flex: 1; flex-direction: column; gap: 2px; padding-top: 14px; }
.pcard__title { font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0; }
.pcard__link { color: inherit; text-decoration: none; }
.pcard__link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.pcard__link:hover { color: inherit; text-decoration: underline; }
.pcard__link:focus-visible { outline: none; }
.pcard__link:focus-visible::after { outline: 2px solid var(--purple); outline-offset: -2px; }
.pcard__sub { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; font-size: var(--fs-ui); line-height: 1.4; color: var(--ink-2); }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.pcard__price { font-size: 1rem; font-weight: 700; }
.pcard__add { z-index: 2; }
.pcard__soldout { font-size: var(--fs-sm); font-weight: 600; color: var(--ink-2); }
.pcard.is-soldout .pcard__img { opacity: .55; }
.pcard.is-soldout .pcard__price { color: var(--ink-2); }
@media (max-width: 479.98px) {
  .pcard__title { font-size: .9375rem; }
  .pcard__sub { font-size: var(--fs-sm); }
  .pcard__badges { top: 8px; left: 8px; right: 8px; gap: 4px; }
  .pcard__badges .badge { min-height: 20px; padding: 1px 8px; font-size: .6875rem; }
  .pcard__add { width: 36px; height: 36px; }
}

.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 20px; } }
@media (min-width: 1100px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 24px; } }

.carousel { --gap: 24px; position: relative; }
.carousel__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: clamp(18px, 2.2vw, 28px); }
.carousel__head-text { display: grid; gap: 6px; }
.carousel__tools { display: flex; align-items: center; gap: 20px; }
.carousel__arrows { display: flex; gap: 8px; }
.carousel__track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - var(--gap) * 3) / 4); gap: var(--gap);
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { min-width: 0; scroll-snap-align: start; }
@media (max-width: 1099.98px) { .carousel__track { grid-auto-columns: calc((100% - var(--gap) * 2) / 3); } }
@media (max-width: 767.98px) {
  .carousel { --gap: 14px; }
  .carousel__track { grid-auto-columns: 44%; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .carousel__arrows { display: none; }
}

/* ---------- 15. Editorial block, category strip, trust row ---------- */
.editorial { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: clamp(440px, 42vw, 620px); }
.editorial__media { position: relative; overflow: hidden; background: var(--lavender-soft); }
.editorial__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial__panel { display: flex; align-items: center; padding: clamp(40px, 6vw, 96px); }
.editorial__content { display: grid; justify-items: start; gap: 16px; max-width: 480px; }
.editorial__title { font-size: var(--fs-display); font-weight: 800; line-height: 1.08; letter-spacing: -.015em; }
.editorial__text { font-size: 1.0625rem; line-height: 1.55; }
.editorial__content .btn { margin-top: 8px; }
.editorial--reverse .editorial__media { order: 2; }
@media (max-width: 767.98px) {
  .editorial { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .editorial__media { aspect-ratio: 1 / 1; }
  .editorial--reverse .editorial__media { order: 0; }
  .editorial__panel { padding: 36px var(--gutter) 44px; }
  .editorial__text { font-size: 1rem; }
}

.cat-strip { position: relative; }
.cat-strip__head { margin-bottom: clamp(18px, 2.2vw, 28px); }
.cat-strip__track {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.cat-strip__track::-webkit-scrollbar { display: none; }
.cat-strip__item { min-width: 0; scroll-snap-align: start; }
@media (max-width: 1099.98px) { .cat-strip__track { grid-auto-columns: 30vw; } }
@media (max-width: 767.98px) { .cat-strip__track { grid-auto-columns: 44vw; } }
.cat-tile { position: relative; display: block; overflow: hidden; color: var(--white); text-decoration: none; background: var(--tone-bg, var(--lavender)); }
.cat-tile__media { position: relative; display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--lavender-soft); }
.cat-tile__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: scale .6s var(--ease); }
.cat-tile__media::after { content: ''; position: absolute; inset: 50% 0 0; background: linear-gradient(to top, rgb(26 4 36 / .7), rgb(26 4 36 / 0)); }
.cat-tile__label { position: absolute; z-index: 1; left: clamp(14px, 1.4vw, 20px); right: 14px; bottom: clamp(16px, 1.6vw, 22px); font-size: clamp(1.0625rem, .92rem + .5vw, 1.375rem); font-weight: 700; line-height: 1.15; text-wrap: balance; }
.cat-tile__label .icon { display: inline; vertical-align: -3px; margin-left: 2px; transition: translate var(--dur) var(--ease); }
.cat-tile__bar { display: block; height: 8px; background: var(--tone-bg, var(--lavender)); }
.cat-tile:hover { color: var(--white); }
.cat-tile:hover .cat-tile__img { scale: 1.04; }
.cat-tile:hover .cat-tile__label .icon { translate: 3px 0; }
.cat-tile:focus-visible { outline-offset: -4px; outline-color: var(--white); box-shadow: inset 0 0 0 4px var(--purple); }

.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 32px; margin: 0; padding: 0; list-style: none; }
.trust__item { display: flex; align-items: center; gap: 14px; min-width: 0; }
.trust__icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--white); color: var(--purple); }
.trust__title { font-size: .9375rem; font-weight: 700; line-height: 1.3; }
.trust__text { font-size: var(--fs-sm); line-height: 1.4; color: var(--ink-2); }
@media (max-width: 1099.98px) { .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599.98px) { .trust { grid-template-columns: minmax(0, 1fr); gap: 16px; } .trust__icon { width: 40px; height: 40px; } }

/* ---------- 16. Footer ---------- */
.site-footer { margin-top: 0; border-top: 1px solid var(--line); background: var(--white); color: var(--ink); }
.footer-intro { display: grid; justify-items: center; gap: 14px; padding-block: clamp(40px, 5vw, 64px) clamp(32px, 4vw, 48px); text-align: center; border-bottom: 1px solid var(--line); }
.footer-intro__slogan { max-width: 34ch; font-size: clamp(1.25rem, 1.05rem + .8vw, 1.75rem); font-weight: 700; line-height: 1.2; text-wrap: balance; }
.footer-intro__line { display: block; }
.footer-intro__text { max-width: 56ch; color: var(--ink-2); }
.footer-intro .btn { margin-top: 6px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; padding-block: clamp(36px, 4vw, 56px); }
.footer-col__title { margin-bottom: 14px; font-size: var(--fs-ui); font-weight: 700; letter-spacing: .02em; }
.footer-col ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 32px; font-size: .9375rem; text-decoration: none; color: var(--ink); }
.footer-col a > span { min-width: 0; overflow-wrap: anywhere; }
.footer-col a:hover { color: var(--purple); text-decoration: underline; }
.footer-col .icon { color: var(--ink); }
.footer-logo { display: flex; justify-content: center; padding-block: 8px clamp(28px, 3.5vw, 48px); }
.footer-logo a { display: block; width: min(100%, 720px); line-height: 0; }
.footer-logo img { width: 100%; height: auto; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 20px calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); font-size: var(--fs-sm); color: var(--ink-2); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--purple); text-decoration: underline; }
@media (max-width: 899.98px) { .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 20px; } }
@media (max-width: 599.98px) { .footer-col--contact { grid-column: 1 / -1; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* ---------- 17. Motion & print ---------- */
@keyframes ss-bump { 0% { scale: 1; } 40% { scale: 1.35; } 100% { scale: 1; } }
@keyframes ss-drop { from { opacity: 0; translate: 0 -8px; } to { opacity: 1; translate: 0 0; } }
@keyframes ss-flash { 0% { background: var(--lavender-soft); } 100% { background: transparent; } }
@keyframes ss-toast-in { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }
@keyframes ss-toast-out { to { opacity: 0; translate: 0 8px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}

@media print {
  .announce, .site-header, .site-footer, .wa-float, .toasts, dialog { display: none !important; }
  body { color: #000; }
}
