/* ==========================================================================
   NUR gift shop
   Layout: a florist's gift table. An airy two-column story with illustrated
   chenille bouquets as the heroes, gift tags as the recurring label, and a
   fuzzy pipe-cleaner thread as the section divider.
   ========================================================================== */

/* ---------- Tokens (light first) ----------
   A warm florist palette: cream paper, dark forest green, dusty terracotta-rose
   and soft gold, with muted sage behind the bouquets. The logo keeps its own
   periwinkle (--brand); the blue and white flowers stand out against the warm tones. */
:root {
  --bg: #FAF8F5;                          /* warm cream page */
  --surface: #FFFFFF;
  --surface-2: #F3EEE7;                   /* pale sand: cards, tags, product backgrounds */
  --ink: #2A2521;                         /* warm near-black text */
  --ink-2: #5A524B;
  --ink-3: #6F665E;
  --line: rgba(42, 37, 33, 0.1);
  --line-2: rgba(42, 37, 33, 0.18);
  --accent: #1E2A22;                      /* dark forest green: primary buttons, selected states */
  --accent-ink: #A94F45;                  /* dusty terracotta-rose: accent text, kickers, links */
  --accent-soft: rgba(169, 79, 69, 0.1);
  --on-accent: #FFFFFF;
  --brand: #C8DCFF;                       /* logo periwinkle */
  --on-brand: #2A2521;
  --gold: #B88A4A;                        /* warm gold details */
  --gold-ink: #94672F;                    /* gold for small icons on light fills */
  --gold-soft: rgba(184, 138, 74, 0.16);
  --gold-line: #D9BC8E;                   /* gold outline: secondary buttons */
  --band: #EEDCD2;                        /* pale dusty rose: ribbon band */
  --on-band: #2A2521;
  --leaf: #187A45;                        /* WhatsApp green (unchanged) */
  --on-leaf: #FFFFFF;
  --sun: #C99A4E;
  --blob: #DCE3D5;                        /* muted sage disc behind bouquets */
  --blob-2: #F1E1D6;                      /* soft peach glow */
  --shadow: 0 30px 60px -32px rgba(92, 64, 40, 0.32);
  --bouquet-shadow: rgba(112, 78, 48, 0.24);

  --font-display: "Noto Serif Display", "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Nunito", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif;
  --font-hand: "Caveat", "Segoe Print", "Bradley Hand", cursive;

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1240px;
  --header-h: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  color-scheme: light;
  interpolate-size: allow-keywords;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #171513;
    --surface: #211E1B;
    --surface-2: #2A2622;
    --ink: #F4EEE7;
    --ink-2: #D2C8BD;
    --ink-3: #A99F94;
    --line: rgba(244, 238, 231, 0.1);
    --line-2: rgba(244, 238, 231, 0.18);
    --accent: #CFDCCB;
    --accent-ink: #E3A396;
    --accent-soft: rgba(227, 163, 150, 0.14);
    --on-accent: #17201A;
    --brand: #C8DCFF;
    --on-brand: #171513;
    --gold: #D9AE6A;
    --gold-ink: #E2BC80;
    --gold-soft: rgba(217, 174, 106, 0.16);
    --gold-line: rgba(217, 174, 106, 0.55);
    --band: #3A2C28;
    --on-band: #F4EEE7;
    --leaf: #3FBF78;
    --on-leaf: #04200F;
    --sun: #E2B66E;
    --blob: #2C3329;
    --blob-2: #3A2C27;
    --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75);
    --bouquet-shadow: rgba(0, 0, 0, 0.5);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #171513;
  --surface: #211E1B;
  --surface-2: #2A2622;
  --ink: #F4EEE7;
  --ink-2: #D2C8BD;
  --ink-3: #A99F94;
  --line: rgba(244, 238, 231, 0.1);
  --line-2: rgba(244, 238, 231, 0.18);
  --accent: #CFDCCB;
  --accent-ink: #E3A396;
  --accent-soft: rgba(227, 163, 150, 0.14);
  --on-accent: #17201A;
  --brand: #C8DCFF;
  --on-brand: #171513;
  --gold: #D9AE6A;
  --gold-ink: #E2BC80;
  --gold-soft: rgba(217, 174, 106, 0.16);
  --gold-line: rgba(217, 174, 106, 0.55);
  --band: #3A2C28;
  --on-band: #F4EEE7;
  --leaf: #3FBF78;
  --on-leaf: #04200F;
  --sun: #E2B66E;
  --blob: #2C3329;
  --blob-2: #3A2C27;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75);
  --bouquet-shadow: rgba(0, 0, 0, 0.5);
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.02;
}
h3 { font-family: var(--font-body); font-weight: 800; font-size: 1.2rem; line-height: 1.25; letter-spacing: -0.005em; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 3px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.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;
  left: 16px;
  top: calc(env(safe-area-inset-top, 0px) + 10px);
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Type helpers ---------- */
.kicker {
  font-family: var(--font-hand);
  font-size: clamp(1.35rem, 1.2rem + 0.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--accent-ink);
}
.h2 { font-size: clamp(2.2rem, 1.4rem + 3.2vw, 4rem); }
.lede { max-width: 56ch; color: var(--ink-2); font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.12rem); text-wrap: pretty; }

.tag {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 3px 14px 3px 24px;
  background: var(--surface-2);
  color: var(--ink);
  font-family: var(--font-hand);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  clip-path: polygon(13px 0, 100% 0, 100% 100%, 13px 100%, 0 50%);
  border-radius: 0 6px 6px 0;
}
.tag::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -3px;
  border-radius: 50%;
  background: var(--bg);
  box-shadow: inset 0 0 0 1.5px var(--line-2);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.chip:hover { border-color: var(--accent); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  --b-bg: transparent;
  --b-fg: var(--ink);
  --b-bd: var(--line-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border: 1.5px solid var(--b-bd);
  border-radius: 999px;
  background: var(--b-bg);
  color: var(--b-fg);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.005em;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--spring), background-color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary { --b-bg: var(--accent); --b-fg: var(--on-accent); --b-bd: var(--accent); box-shadow: 0 12px 28px -14px var(--accent); }
.btn--wa { --b-bg: var(--leaf); --b-fg: var(--on-leaf); --b-bd: var(--leaf); box-shadow: 0 12px 28px -14px var(--leaf); }
/* Secondary buttons get a soft gold outline that picks up the warm tones of the bouquets. */
.btn--ghost { --b-bg: var(--surface); --b-bd: var(--gold-line); }
.btn--ghost:hover { --b-bd: var(--gold); box-shadow: 0 10px 24px -16px var(--gold); }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 0.9rem; }
.btn--lg { min-height: 56px; padding: 0 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled] { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .i { width: 20px; height: 20px; flex: none; }
.linkbtn {
  padding: 4px 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.linkbtn:hover { color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.site-header.is-scrolled,
body.menu-open .site-header {
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom-color: var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: var(--header-h);
}
/* The header may grow wider than the page content on big screens, so the full menu
   and the WhatsApp button fit side by side in every language. */
.site-header__inner.wrap { max-width: calc(1560px + 2 * var(--gutter)); }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  flex: none;
}
.logo__img {
  display: block;
  width: 46px;
  height: 46px;
  flex: none;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.8s var(--spring);
}
.logo:hover .logo__img { transform: rotate(-8deg) scale(1.05); }
.logo__word { display: grid; justify-items: center; gap: 4px; line-height: 1; }
.logo__nur {
  margin-right: -0.12em;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.logo__gifts {
  font-family: var(--font-display);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ink-2);
}
.site-nav { margin-inline: auto; }
.site-nav ul { display: flex; gap: 0; margin: 0; padding: 0; list-style: none; }
.site-nav a {
  display: block;
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav a:hover { color: var(--ink); background: var(--accent-soft); }
.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.site-nav + .site-header__actions { margin-left: 0; }

.lang {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
}
.lang button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 36px;
  height: 30px;
  padding: 0 9px 0 6px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.flag {
  display: block;
  flex: none;
  width: 18px;
  height: 12px;
  border-radius: 2.5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}
.lang button[aria-pressed="true"] .flag { box-shadow: 0 0 0 1.5px var(--bg); }

/* The header measures itself (see main.js) and steps down until everything fits:
   1 flags without the AZ/EN/RU/TR text, 2 also no WhatsApp button (the floating one stays),
   3 menu behind the ☰ button, 4 menu behind ☰ and no WhatsApp button.
   One-line labels make an overflow measurable instead of wrapping silently. */
.header-cta { white-space: nowrap; }
.site-header:not([data-fit="0"]) .lang button { min-width: 32px; padding: 0 6px; }
.site-header:not([data-fit="0"]) .lang button span { display: none; }
.site-header[data-fit="2"] .header-cta,
.site-header[data-fit="4"] .header-cta { display: none; }
.site-header[data-fit="3"] .site-nav,
.site-header[data-fit="4"] .site-nav { display: none; }
.site-header[data-fit="3"] .menu-btn,
.site-header[data-fit="4"] .menu-btn { display: inline-block; }
.site-header[data-fit="3"] .site-header__actions,
.site-header[data-fit="4"] .site-header__actions { margin-left: auto; }

.menu-btn {
  position: relative;
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.menu-btn span {
  position: absolute;
  left: 12px;
  right: 12px;
  top: 50%;
  height: 2px;
  margin-top: -1px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease);
}
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.menu-btn[aria-expanded="true"] span:first-child { transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 20px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 24px);
  background: var(--bg);
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu__nav { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.mobile-menu__nav a:not(.btn) {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 2.6rem);
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
}
.mobile-menu__nav .btn { margin-top: 20px; }

@media (max-width: 1000px) {
  .site-nav { display: none; }
  .menu-btn { display: inline-block; }
  .site-header__actions { margin-left: auto !important; }
}
@media (max-width: 640px) {
  .header-cta { display: none; }
  .site-header__inner { gap: 12px; }
  .lang button { min-width: 32px; padding: 0 6px; }
  .lang button span { display: none; }
  .flag { width: 20px; height: 14px; }
}
@media (max-width: 400px) {
  .logo { gap: 8px; }
  .logo__img { width: 38px; height: 38px; }
  .logo__nur { font-size: 1.25rem; }
  .logo__gifts { font-size: 0.66rem; }
}

/* ---------- Bouquet illustrations ---------- */
.bq { display: block; width: 100%; height: auto; overflow: visible; }
.bq .head { transition: transform 0.5s var(--spring); }
.bq--hero .stem {
  animation: sway 6.5s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.55s);
}
.bq--hero.is-paused .stem { animation-play-state: paused; }
.bq--hero .stem:hover .head { transform: scale(1.15); }
.bloom .head {
  animation: pop 0.9s var(--spring) backwards;
  animation-delay: calc(var(--i) * 70ms + 120ms);
}
.stem.is-new { animation: grow 0.7s var(--spring) backwards; }
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.6deg); } }
@keyframes pop { from { transform: scale(0.25); } }
@keyframes grow { from { transform: scale(0.3); opacity: 0; } }
.ico { display: block; width: 100%; height: 100%; overflow: visible; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: clamp(24px, 4vw, 56px) clamp(56px, 7vw, 96px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__text { display: grid; gap: 22px; justify-items: start; min-width: 0; }
.hero__title {
  font-size: clamp(3rem, 1.4rem + 6.4vw, 6.6rem);
  line-height: 0.95;
  letter-spacing: -0.025em;
}
.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--accent-ink);
}
.hero__lede { max-width: 50ch; color: var(--ink-2); font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem); text-wrap: pretty; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 4px 0 0; padding: 0; list-style: none; }
.hero__badges li { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 0.95rem; color: var(--ink-2); }
.hero__badges svg { width: 18px; height: 18px; padding: 2px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); }

.hero__art { position: relative; display: grid; place-items: center; min-width: 0; }
/* A muted sage disc (round like the logo) gives the light bouquet something to stand out against. */
.hero__blob {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(94%, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(70% 70% at 32% 28%, rgba(255, 255, 255, 0.42), transparent 60%),
    var(--blob);
  box-shadow: inset 0 -24px 48px -20px rgba(92, 64, 40, 0.12);
  transform: translate(-50%, -47%);
}
.hero__blob::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-line);
  animation: turn 90s linear infinite;
}
@keyframes turn { to { transform: rotate(360deg); } }
.hero__bouquet { position: relative; width: min(100%, 520px); aspect-ratio: 300 / 360; }
/* Soft warm shadow so the bouquet lifts off the disc. */
.hero__bouquet .bq { filter: drop-shadow(0 22px 22px var(--bouquet-shadow)); }
.tag--hero {
  position: absolute;
  right: -2%;
  bottom: 9%;
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: rotate(6deg);
  transform-origin: 0 50%;
  animation: swing 5s ease-in-out infinite alternate;
}
@keyframes swing { from { transform: rotate(3deg); } to { transform: rotate(9deg); } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero__art { max-width: 460px; width: 100%; margin-inline: auto; }
}

/* ---------- Ribbon ---------- */
.ribbon { overflow: hidden; padding-block: 14px; }
.ribbon__band {
  overflow: hidden;
  margin-inline: -2%;
  padding-block: 18px;
  background: var(--band);
  color: var(--on-band);
  transform: rotate(-1.5deg);
}
.ribbon__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.ribbon ul { display: flex; margin: 0; padding: 0; list-style: none; }
.ribbon li {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-style: italic;
  font-weight: 500;
  white-space: nowrap;
}
.ribbon li::after {
  content: "";
  width: 14px;
  height: 14px;
  background: radial-gradient(circle, var(--sun) 0 32%, transparent 34%),
    conic-gradient(from 0deg, currentColor 0 10%, transparent 10% 20%, currentColor 20% 30%, transparent 30% 40%, currentColor 40% 50%, transparent 50% 60%, currentColor 60% 70%, transparent 70% 80%, currentColor 80% 90%, transparent 90%);
  border-radius: 50%;
  opacity: 0.9;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
/* Menu links skip the section's empty top padding, so the heading lands just below the
   sticky header (16px here plus the 12px scroll-padding on html) instead of far down the screen. */
.section {
  --section-pad: clamp(72px, 9vw, 128px);
  padding-block: var(--section-pad);
  scroll-margin-top: calc(16px - var(--section-pad));
}
.section-head { display: grid; gap: 10px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head--split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: end;
  gap: 16px 48px;
}
.section-head--split > div { display: grid; gap: 10px; }
@media (max-width: 860px) { .section-head--split { grid-template-columns: minmax(0, 1fr); } }

.thread { overflow: hidden; height: 48px; }
.thread svg { display: block; width: max(100%, 960px); height: 48px; margin-left: 50%; transform: translateX(-50%); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .rv {
      animation: rv-in linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 65%;
    }
    @keyframes rv-in { from { transform: translateY(40px); } to { transform: none; } }
  }
}

/* ---------- Why ---------- */
.why__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.why__item {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 28px 24px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.why__icon { display: block; width: 58px; height: 62px; margin-bottom: 6px; }
.why__item p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 1000px) { .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Catalogue ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button {
  min-height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filters button:hover { border-color: var(--accent); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.catalog { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1000px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .catalog { grid-template-columns: minmax(0, 1fr); } }

.product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product__art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  padding: 22px 22px 6px;
  border: 0;
  background:
    radial-gradient(62% 56% at 50% 48%, var(--tint), transparent 72%),
    var(--surface-2);
  cursor: pointer;
}
.product__art .bq { height: 100%; margin-inline: auto; width: auto; transition: transform 0.7s var(--spring); }
.product__badge {
  position: absolute;
  left: 14px;
  top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: rgba(25, 27, 36, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  pointer-events: none;
}
.product__badge svg { width: 12px; height: 12px; }
.product:hover .product__art .bq { transform: rotate(-2.5deg) translateY(-4px) scale(1.03); }
.product__art--photo { padding: 0; overflow: hidden; background: var(--surface-2); }
.product__photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.product:hover .product__photo { transform: scale(1.04); }
.product__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.product h3 { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; letter-spacing: -0.01em; }
.product__desc { color: var(--ink-2); font-size: 0.98rem; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 6px; }
.product__price { font-weight: 800; font-size: 0.92rem; color: var(--accent-ink); }
.product .btn { margin-top: 6px; }
.dots { display: inline-flex; }
.dots i {
  width: 16px;
  height: 16px;
  margin-right: -4px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: 0 0 0 2px var(--surface), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}

/* ---------- Swatches ---------- */
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.sw__dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 3px var(--surface), 0 0 0 4px var(--line-2);
  transition: box-shadow 0.2s, transform 0.3s var(--spring);
}
.sw__dot--square { border-radius: 8px; }
.sw:hover .sw__dot { transform: scale(1.08); }
.sw input:checked + .sw__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), 0 0 0 3px var(--surface), 0 0 0 5.5px var(--ink); }
.sw input:focus-visible + .sw__dot { outline: 3px solid var(--accent-ink); outline-offset: 6px; }
.sw--named {
  padding: 5px 14px 5px 6px;
  border: 1.5px solid var(--line-2);
  border-radius: 999px;
  background: var(--surface);
  transition: border-color 0.2s, background-color 0.2s;
}
.sw--named .sw__dot { width: 26px; height: 26px; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.sw--named:has(input:checked) { border-color: var(--ink); background: var(--surface-2); }
.sw--named input:checked + .sw__dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14); }
.sw__name { font-size: 0.9rem; font-weight: 700; }

/* ---------- Builder ---------- */
.builder-section { background: linear-gradient(180deg, transparent, var(--surface-2) 18%, var(--surface-2) 82%, transparent); }
.builder {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.builder__stage {
  position: sticky;
  top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 20px);
  display: grid;
  gap: 16px;
  min-width: 0;
}
.builder__canvas {
  position: relative;
  display: grid;
  place-items: center;
  padding: 28px 24px 16px;
  border-radius: 32px;
  background:
    radial-gradient(55% 50% at 50% 45%, var(--blob), transparent 75%),
    var(--surface);
  border: 1px solid var(--line);
  min-height: 380px;
}
.builder__label { position: absolute; top: 16px; left: 22px; font-family: var(--font-hand); font-size: 1.4rem; font-weight: 600; color: var(--accent-ink); }
.builder__preview { width: min(100%, 400px); aspect-ratio: 300 / 360; }
.builder__empty {
  position: absolute;
  left: 50%;
  top: 38%;
  width: min(80%, 300px);
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink-2);
}
.builder__summary { text-align: center; font-weight: 800; color: var(--ink-2); }
.builder__presets { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }
.builder__presets > span { font-weight: 700; color: var(--ink-3); font-size: 0.92rem; margin-right: 4px; }

.builder__panel { display: grid; gap: 16px; min-width: 0; }
.bstep {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  min-width: 0;
}
.bstep legend {
  display: flex;
  align-items: center;
  gap: 10px;
  float: left;
  width: 100%;
  padding: 0;
  font-weight: 800;
  font-size: 1.12rem;
}
.bstep legend + * { clear: both; }
.bstep__n {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--on-accent);
  font-size: 0.9rem;
}
.fp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.fp { position: relative; cursor: pointer; min-width: 0; }
.fp input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.fp__card {
  display: grid;
  justify-items: center;
  gap: 4px;
  padding: 10px 6px 8px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: var(--bg);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
  transition: border-color 0.2s, background-color 0.2s, transform 0.3s var(--spring);
}
.fp__card .ico { width: 44px; height: 48px; }
.fp:hover .fp__card { border-color: var(--line-2); transform: translateY(-2px); }
.fp input:checked + .fp__card { border-color: var(--accent); background: var(--accent-soft); }
.fp input:focus-visible + .fp__card { outline: 3px solid var(--accent-ink); outline-offset: 2px; }

.stem-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.stem-list:empty { display: none; }
.stem-chip {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 10px;
  padding: 5px 6px 5px 10px;
  border-radius: 14px;
  background: var(--bg);
}
.stem-chip .ico { width: 26px; height: 28px; }
.stem-chip__text { font-size: 0.92rem; min-width: 0; }
.stem-chip__btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}
.stem-chip__btn:hover:not([disabled]) { border-color: var(--accent); color: var(--accent-ink); }
.stem-chip__btn[disabled] { opacity: 0.4; cursor: not-allowed; }
.bstep__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.builder__msg { font-size: 0.9rem; font-weight: 700; color: var(--accent-ink); }
.builder__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.builder__actions .btn { flex: 1 1 240px; }

.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  color: var(--ink);
  font-weight: 600;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.input::placeholder { color: var(--ink-3); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }

@media (max-width: 900px) {
  .builder { grid-template-columns: minmax(0, 1fr); }
  .builder__stage { position: static; }
  .builder__canvas { min-height: 0; }
  .builder__preview { width: min(100%, 320px); }
}
@media (max-width: 420px) {
  .fp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bstep { padding: 18px 16px; }
}

/* ---------- Occasions ---------- */
.occ-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.occ {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 24px 22px;
  border-radius: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
  transition: transform 0.4s var(--spring), border-color 0.3s;
}
.occ:hover { transform: translateY(-4px) rotate(-0.6deg); border-color: var(--accent); }
.occ__icon { display: block; width: 48px; height: 52px; margin-bottom: 4px; }
.occ h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.45rem; }
.occ p { color: var(--ink-2); font-size: 0.96rem; }
@media (max-width: 1000px) { .occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .occ-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- How to order ---------- */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  position: relative;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 30px 26px;
  border-radius: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  min-width: 0;
}
.step__n {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-style: italic;
  font-weight: 600;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; }
.step p { color: var(--ink-2); }
.how__note {
  margin-top: 24px;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--ink-2);
}
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}
.about__art {
  position: relative;
  width: min(100%, 340px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.about__art img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow);
}
.about__art::after {
  content: "";
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed var(--line-2);
  pointer-events: none;
}
.about__text { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.about__lead { font-family: var(--font-display); font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.75rem); line-height: 1.35; font-weight: 500; text-wrap: pretty; }
.about__text > p:not(.kicker):not(.about__lead):not(.about__sign) { color: var(--ink-2); max-width: 54ch; }
.about__sign { font-family: var(--font-hand); font-size: 1.9rem; font-weight: 600; color: var(--accent-ink); transform: rotate(-2deg); }
@media (max-width: 860px) {
  .about__grid { grid-template-columns: minmax(0, 1fr); }
  .about__art { width: min(72%, 280px); }
}

/* ---------- Instagram gallery ----------
   Instagram's embeds are white cards; each one sets its own height (see main.js).
   Visible posts before "Show more": 6 on desktop, 4 on tablet, 2 on phones (matches instaLimit in main.js). */
.insta__head { display: grid; gap: 18px; justify-items: start; }
.insta__handle { font-weight: 800; }
.insta__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.insta__grid[data-count="1"] { grid-template-columns: minmax(0, 440px); justify-content: center; }
.insta__grid[data-count="2"] { grid-template-columns: repeat(2, minmax(0, 440px)); justify-content: center; }
.insta__post {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--surface);
}
/* Placeholder Instagram glyph while the embed loads; the loaded embed covers it. */
.insta__post::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 44px;
  height: 44px;
  background: var(--ink-3);
  opacity: 0.3;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='17.2' cy='6.8' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.5' y='3.5' width='17' height='17' rx='5' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='black' stroke-width='1.8'/%3E%3Ccircle cx='17.2' cy='6.8' r='1.2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.insta__post iframe { position: relative; display: block; width: 100%; height: 620px; border: 0; }
.insta__grid:not(.is-all) .insta__post:nth-child(n+7) { display: none; }
.insta__more { display: flex; justify-content: center; margin-top: 28px; }
.insta__more:has(> [hidden]) { display: none; }
@media (max-width: 1000px) {
  .insta__grid, .insta__grid[data-count] { grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; }
  .insta__grid[data-count="1"] { grid-template-columns: minmax(0, 440px); justify-content: center; }
  .insta__grid:not(.is-all) .insta__post:nth-child(n+5) { display: none; }
}
@media (max-width: 700px) {
  .insta__grid, .insta__grid[data-count] { grid-template-columns: minmax(0, 1fr); max-width: 460px; margin-inline: auto; }
  .insta__grid:not(.is-all) .insta__post:nth-child(n+3) { display: none; }
}

/* ---------- Care ---------- */
.care__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.tip { display: grid; align-content: start; gap: 10px; padding-top: 22px; border-top: 2px solid var(--line-2); min-width: 0; }
.tip svg { width: 36px; height: 36px; color: var(--leaf); }
.tip p { color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 1000px) { .care__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; } }
@media (max-width: 520px) { .care__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: start; }
.faq__list { display: grid; gap: 10px; min-width: 0; }
.faq details {
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}
.faq details[open] { border-color: var(--line-2); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 800;
  font-size: 1.05rem;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary i {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border-radius: 50%;
  background: var(--accent-soft);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq summary i::before, .faq summary i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  margin: -1px 0 0 -6px;
  border-radius: 2px;
  background: var(--accent-ink);
  transition: transform 0.4s var(--ease), background-color 0.3s;
}
.faq summary i::after { transform: rotate(90deg); }
.faq details[open] summary i { background: var(--accent); transform: rotate(180deg); }
.faq details[open] summary i::before, .faq details[open] summary i::after { background: var(--on-accent); }
.faq details[open] summary i::after { transform: rotate(0deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); max-width: 64ch; }
.faq details::details-content {
  block-size: 0;
  overflow: hidden;
  transition: block-size 0.4s var(--ease), content-visibility 0.4s allow-discrete;
}
.faq details[open]::details-content { block-size: auto; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------- */
.contact__card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: 24px;
  align-items: center;
  padding: clamp(32px, 5vw, 72px);
  border-radius: 40px;
  background:
    radial-gradient(60% 80% at 90% 20%, var(--blob), transparent 70%),
    radial-gradient(50% 70% at 10% 100%, var(--blob-2), transparent 70%),
    var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
}
.contact__text { display: grid; gap: 18px; justify-items: start; min-width: 0; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.contact__reply { font-family: var(--font-hand); font-size: 1.35rem; font-weight: 600; color: var(--ink-2); }
.contact__art { display: flex; justify-content: center; align-items: flex-end; gap: 4px; }
.contact__art span { display: block; width: 84px; height: 92px; }
.contact__art span:nth-child(1) { transform: rotate(-12deg) translateY(10px); }
.contact__art span:nth-child(2) { width: 104px; height: 114px; }
.contact__art span:nth-child(3) { transform: rotate(12deg) translateY(10px); }
@media (max-width: 760px) {
  .contact__card { grid-template-columns: minmax(0, 1fr); }
  .contact__art { order: -1; justify-content: flex-start; }
  .contact__art span { width: 60px; height: 66px; }
  .contact__art span:nth-child(2) { width: 74px; height: 82px; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-top: clamp(48px, 6vw, 80px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  border-top: 1px solid var(--line);
}
.footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}
.footer__brand { display: grid; gap: 12px; justify-items: start; }
.footer__brand p { color: var(--ink-2); }
.footer__nav, .footer__contact { display: grid; gap: 8px; justify-items: start; }
.footer__nav a, .footer__contact a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--accent-ink); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--ink-3);
}
/* Each language's page, as plain links (search engines follow these). */
.footer__langs { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.footer__langs a { color: var(--ink-2); font-weight: 700; text-decoration: none; }
.footer__langs a:hover { color: var(--accent-ink); }
.footer__langs a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: minmax(0, 1fr); gap: 24px; } }

/* ---------- Floating WhatsApp ---------- */
.fab {
  position: fixed;
  right: calc(env(safe-area-inset-right, 0px) + 18px);
  /* --fab-lift is set by main.js when Netlify's "Powered by Netlify" badge sits in this corner. */
  bottom: calc(env(safe-area-inset-bottom, 0px) + 18px + var(--fab-lift, 0px));
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--leaf);
  color: var(--on-leaf);
  box-shadow: 0 14px 30px -10px var(--leaf), 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s var(--spring);
}
.fab:hover { transform: scale(1.08) rotate(-6deg); }
.fab svg { width: 28px; height: 28px; }
body.menu-open .fab { opacity: 0; pointer-events: none; }

/* ---------- Order dialog ---------- */
.order {
  width: min(880px, calc(100vw - 24px));
  max-height: calc(100dvh - 24px);
  padding: 0;
  border: 0;
  border-radius: 32px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow);
  overflow: auto;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity 0.25s, transform 0.35s var(--ease), overlay 0.35s allow-discrete, display 0.35s allow-discrete;
}
.order[open] {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  opacity: 1;
  transform: none;
}
@starting-style { .order[open] { opacity: 0; transform: translateY(16px) scale(0.98); } }
.order::backdrop { background: rgba(26, 10, 22, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.order__art {
  display: grid;
  place-items: center;
  padding: 32px 24px;
  background: radial-gradient(60% 55% at 50% 48%, var(--tint, var(--blob)), transparent 72%), var(--surface-2);
}
.order__art .bq { width: min(100%, 320px); transition: none; }
.order__art.order__art--photo { display: flex; flex-direction: column; justify-content: flex-start; gap: 10px; padding: 0; }
.order__photo { display: block; width: 100%; aspect-ratio: 1; max-width: 100%; object-fit: cover; }
.order__thumbs { display: flex; gap: 8px; padding: 0 14px 14px; overflow-x: auto; }
.order__thumbs button {
  position: relative;
  flex: none;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  background: var(--surface-2);
  overflow: hidden;
  cursor: pointer;
}
.order__thumbs button[aria-pressed="true"] { border-color: var(--ink); }
.order__thumbs img,
.order__thumbs video { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.order__thumb-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.22);
  color: #fff;
}
.order__thumb-play svg { width: 18px; height: 18px; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.4)); }
.order__thumb-ig {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #F9CE34, #EE2A7B 55%, #6228D7);
  color: #fff;
}
.order__thumb-ig svg { width: 24px; height: 24px; }

/* Videos in the order window */
/* The player takes the video's own shape (phone videos are usually vertical), capped in height. */
.order__video {
  display: block;
  width: 100%;
  max-width: 100%;
  min-height: 220px;
  max-height: min(70vh, 640px);
  object-fit: contain;
  background: #000;
}
.order__embed { position: relative; width: 100%; background: #000; }
.order__embed iframe { display: block; width: 100%; height: 100%; border: 0; }
.order__embed--yt { aspect-ratio: 16 / 9; }
.order__embed--yt.is-vertical { aspect-ratio: auto; height: min(70vh, 640px); }
.order__embed--ig { height: min(72vh, 640px); background: #fff; }
.order__ext {
  align-self: flex-start;
  margin: 0 14px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent-ink);
}
.order__body { position: relative; display: grid; align-content: start; gap: 16px; padding: 32px 30px 28px; min-width: 0; }
.order__close {
  position: absolute;
  right: 16px;
  top: 16px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}
.order__close svg { width: 18px; height: 18px; }
.order__title { font-family: var(--font-display); font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.5rem); font-weight: 600; padding-right: 48px; }
.order__desc { color: var(--ink-2); }
.order__field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.order__field > label, .order__field > legend { padding: 0; margin-bottom: 2px; font-weight: 800; font-size: 0.92rem; }
.order__row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; }
.stepper {
  display: inline-grid;
  grid-template-columns: 44px 56px 44px;
  height: 48px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  background: var(--bg);
  overflow: hidden;
}
.stepper button { border: 0; background: transparent; font-size: 1.2rem; font-weight: 800; cursor: pointer; }
.stepper button:hover { background: var(--accent-soft); color: var(--accent-ink); }
.stepper input {
  width: 100%;
  border: 0;
  border-inline: 1px solid var(--line);
  background: transparent;
  text-align: center;
  font-weight: 800;
  -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.order__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.order__actions .btn { flex: 1 1 220px; }
.order__hint { font-size: 0.85rem; color: var(--ink-3); }
.order__lead { font-family: var(--font-hand); font-size: 1.3rem; font-weight: 600; color: var(--accent-ink); }
@media (max-width: 760px) {
  .order[open] { grid-template-columns: minmax(0, 1fr); }
  .order { border-radius: 26px; }
  .order__art { padding: 20px; }
  .order__art .bq { width: min(60%, 220px); }
  .order__body { padding: 24px 20px 22px; }
  .order__row { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 92px);
  z-index: 80;
  max-width: calc(100vw - 32px);
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  box-shadow: var(--shadow);
  transform: translate(-50%, 24px);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.4s var(--spring), opacity 0.3s;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* ---------- Language switch transition ---------- */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.35s; }

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