/* ==========================================================================
   PALA CHIC — landing page v2 (palachic.com): soft, cute, still chic.
   Mobile-first, RTL: layout uses logical properties (inline-start = right).
   Brand green stays the ink and the buttons; blush, mint, butter and lilac
   (the flowers in the photos) are the soft accents.
   The order form markup is shared with the main page (includes/sections/shop.php).
   ========================================================================== */

:root {
  --c-green: #002907;
  --c-green-hover: #0d3d17;
  --c-green-soft: #3d6145;
  --c-mint: #e7f0e4;
  --c-mint-pale: #f3f8f1;
  --c-mint-line: #cddcc8;

  --c-rose: #f7cdd3;
  --c-rose-deep: #ec98a7;   /* decoration only */
  --c-rose-ink: #a83c55;    /* text-safe pink */
  --c-blush: #fdecee;
  --c-petal: #fff6f6;
  --c-cream: #fffaf3;
  --c-butter: #fff0cf;
  --c-latte: #f3e5d6;
  --c-lilac: #eee8f8;

  --c-white: #fff;
  --c-ink: #1f2a22;
  --c-muted: #69716a;
  --c-line: #eedfdc;
  --c-error: #b42318;

  --font-display: "Baloo Bhaijaan 2", "Tajawal", system-ui, sans-serif;
  --font-body: "Tajawal", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-fr: "Cormorant Garamond", "Times New Roman", serif;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-md: 1.0625rem;
  --fs-lg: 1.25rem;
  --fs-h1: clamp(2.3rem, 1.5rem + 3.6vw, 4rem);
  --fs-h2: clamp(1.75rem, 1.3rem + 1.9vw, 2.6rem);

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;
  --shadow-soft: 0 18px 40px -26px rgb(120 40 60 / .45);
  --shadow-card: 0 2px 0 rgb(236 152 167 / .25), 0 22px 44px -30px rgb(0 41 7 / .45);

  --ease: cubic-bezier(.2, .7, .2, 1);
  --bounce: cubic-bezier(.34, 1.56, .64, 1);
  --dur: .22s;

  --container: 1160px;
  --gutter: 16px;
  --header-h: 62px;
  --scroll-offset: 12px;
}

@media (min-width: 900px) {
  :root {
    --gutter: 32px;
    --header-h: 76px;
    --scroll-offset: calc(var(--header-h) + 16px);
  }
}

/* ---- Base ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--scroll-offset);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--c-cream);
  color: var(--c-ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* The tilted ribbon and stickers poke out a little: never a sideways scroll. */
main { overflow-x: clip; }

img { display: block; max-width: 100%; height: auto; }
picture { display: block; }

h1, h2, h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-green);
}

p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }

:focus-visible {
  outline: 2.5px solid var(--c-green);
  outline-offset: 3px;
}

[lang="fr"] {
  font-family: var(--font-fr);
  font-style: italic;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: .01em;
}

.money { white-space: nowrap; font-variant-numeric: tabular-nums; }
.money__cur { font-size: .72em; font-weight: 700; letter-spacing: .04em; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Filled decorative shapes (hearts, sparkles, flower, bow). */
.deco {
  width: 1em;
  height: 1em;
  flex: none;
  fill: currentColor;
  color: var(--c-rose-deep);
  vertical-align: -.1em;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  inset-inline-start: 12px;
  top: -100px;
  z-index: 100;
  padding: .6rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--c-green);
  color: var(--c-white);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(100% - 2 * var(--gutter), var(--container));
  margin-inline: auto;
}

.img-missing {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 120px;
  background: linear-gradient(135deg, var(--c-blush), var(--c-mint));
}

.logo-text {
  font-family: var(--font-fr);
  font-weight: 600;
  font-style: normal;
  letter-spacing: .12em;
  color: var(--c-green);
}

/* ---- Shared components --------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: 1.2rem;
  line-height: 1.4;
  color: var(--c-rose-ink);
}

.section-head {
  display: grid;
  justify-items: center;
  gap: .3rem;
  max-width: 620px;
  margin-inline: auto;
  text-align: center;
}
.section-head--start { justify-items: start; margin-inline: 0; text-align: start; }
.section-title { font-size: var(--fs-h2); }
.section-lead { color: var(--c-muted); font-size: var(--fs-md); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--fs-md);
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--dur) var(--ease),
    color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform .14s var(--ease);
}
.btn .icon { width: 1.15em; height: 1.15em; }

/* A soft "pressable" button: pink ledge underneath, sinks when tapped. */
.btn--primary {
  background: var(--c-green);
  color: var(--c-white);
  box-shadow: 0 5px 0 var(--c-rose-deep);
}
.btn--primary .deco { color: var(--c-rose); }
.btn--primary:hover { background: var(--c-green-hover); transform: translateY(-1px); box-shadow: 0 6px 0 var(--c-rose-deep), 0 16px 26px -14px rgb(0 41 7 / .6); }
.btn--primary:active { transform: translateY(4px); box-shadow: 0 1px 0 var(--c-rose-deep); }

.btn--soft {
  background: var(--c-blush);
  color: var(--c-rose-ink);
  border-color: var(--c-rose);
}
.btn--soft:hover { background: var(--c-rose); color: var(--c-green); }
.btn--soft:active { transform: scale(.97); }

.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: var(--fs-sm); box-shadow: 0 4px 0 var(--c-rose-deep); }
.btn--lg { min-height: 58px; padding: 0 2.1rem; font-size: 1.125rem; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .7; cursor: progress; }

/* ---- Top bar + header ---------------------------------------------------- */

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .4rem var(--gutter);
  background: var(--c-green);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}
.topbar .deco { color: var(--c-rose); }
.topbar__sep { opacity: .6; }

.site-header {
  position: relative;
  z-index: 20;
  background: rgb(255 250 243 / .92);
  border-bottom: 1.5px dashed var(--c-rose);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: saturate(1.3) blur(10px); }
}
.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}
.brand { display: inline-flex; border-radius: 6px; }
.brand__logo { width: auto; height: 36px; }
.site-nav { display: none; }

@media (min-width: 900px) {
  .site-header { position: sticky; top: 0; }
  .brand__logo { height: 46px; }
  .site-nav {
    display: flex;
    gap: .5rem;
    margin-inline: auto 1.5rem;
  }
  .site-nav a {
    padding: .35rem 1rem;
    border-radius: var(--radius-pill);
    font-weight: 700;
    text-decoration: none;
    color: var(--c-ink);
    transition: background-color var(--dur) var(--ease), color var(--dur) var(--ease);
  }
  .site-nav a:hover { background: var(--c-blush); color: var(--c-rose-ink); }
}

/* ---- Hero ---------------------------------------------------------------- */

.hero {
  position: relative;
  padding-block: 1.75rem 3rem;
  overflow: hidden;
  background:
    radial-gradient(60% 50% at 85% 10%, var(--c-blush) 0, transparent 70%),
    radial-gradient(50% 40% at 10% 90%, var(--c-mint) 0, transparent 70%),
    var(--c-cream);
}

/* Soft floating circles behind everything. */
.hero__bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero__bubble--a {
  width: 220px;
  height: 220px;
  top: -70px;
  inset-inline-start: -80px;
  background: var(--c-butter);
  opacity: .7;
}
.hero__bubble--b {
  width: 140px;
  height: 140px;
  bottom: 40px;
  inset-inline-end: -50px;
  background: var(--c-lilac);
}

.hero__inner {
  position: relative;
  display: grid;
  gap: 2.25rem;
}

.hero__media {
  position: relative;
  width: min(80vw, 330px);
  justify-self: center;
}
/* A pink twin of the blob, peeking out behind the photo. */
.hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 58% 42% 50% 50% / 46% 54% 46% 54%;
  background: var(--c-rose);
  transform: translate(-12px, 12px) rotate(-6deg);
}

.hero__blob {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 6px solid var(--c-white);
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--c-white);
  box-shadow: var(--shadow-soft);
  animation: blob 14s ease-in-out infinite alternate;
}
@keyframes blob {
  50% { border-radius: 54% 46% 58% 42% / 44% 56% 46% 54%; }
  100% { border-radius: 42% 58% 48% 52% / 56% 46% 54% 44%; }
}

.hero__photo {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .5s var(--ease);
}
/* Other colours stay unloaded until v2.js marks the hero as warm. */
.hero__photo:not(.is-active) { display: none; }
.hero.is-warm .hero__photo { display: block; }
.hero__photo.is-active { opacity: 1; }
.hero__photo picture,
.hero__img { width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 48%; }

.sticker-spin {
  position: absolute;
  top: -14px;
  inset-inline-start: -14px;
  width: 92px;
  height: 92px;
  overflow: visible;
  filter: drop-shadow(0 8px 12px rgb(0 41 7 / .25));
  rotate: -8deg;
  direction: ltr; /* text on a path breaks in the page's RTL direction */
}
.sticker-spin__bg { fill: var(--c-green); }
.sticker-spin__ring {
  transform-box: view-box;
  transform-origin: 60px 60px;
  animation: spin 22s linear infinite;
}
.sticker-spin text {
  fill: var(--c-white);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
}
.sticker-spin__heart { fill: var(--c-rose); }
@keyframes spin { to { transform: rotate(360deg); } }

.price-tag {
  position: absolute;
  bottom: 6px;
  inset-inline-end: -12px;
  display: grid;
  justify-items: center;
  padding: .55rem 1rem .5rem 1.6rem;
  border: 2px dashed var(--c-rose-deep);
  border-radius: 14px 14px 14px 14px;
  background: var(--c-white);
  box-shadow: 0 0 0 4px var(--c-white), var(--shadow-soft);
  line-height: 1.2;
  rotate: -7deg;
}
/* The tag's eyelet. */
.price-tag::before {
  content: "";
  position: absolute;
  inset-inline-end: .55rem;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: var(--c-cream);
  box-shadow: inset 0 0 0 2px var(--c-rose-deep);
}
.price-tag__label { font-size: var(--fs-xs); font-weight: 700; color: var(--c-rose-ink); }
.price-tag__amount { font-family: var(--font-body); font-size: 1.35rem; font-weight: 800; color: var(--c-green); }

.hero__spark { position: absolute; animation: twinkle 3.2s ease-in-out infinite; }
.hero__spark--1 { top: 18%; inset-inline-end: -26px; font-size: 26px; color: var(--c-rose-deep); }
.hero__spark--2 { top: 4%; inset-inline-end: 18%; font-size: 15px; color: #e7b94f; animation-delay: -1.1s; }
.hero__spark--3 { bottom: 26%; inset-inline-start: -22px; font-size: 20px; color: var(--c-rose-deep); animation-delay: -2s; }
@keyframes twinkle {
  0%, 100% { transform: scale(1) rotate(0); opacity: 1; }
  50% { transform: scale(.7) rotate(15deg); opacity: .65; }
}

/* Phones: centred; price + button straight after the title and colours. */
.hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero__title {
  margin-block: .2rem .4rem;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 1.25;
}
/* A hand-drawn pink wave under the key word. */
.squiggle {
  color: var(--c-rose-ink);
  text-decoration: underline wavy var(--c-rose-deep);
  text-decoration-thickness: .06em;
  text-underline-offset: .22em;
  text-decoration-skip-ink: none;
}
.hero__product { font-weight: 700; color: var(--c-green-soft); }
.hero__lead {
  order: 1;
  max-width: 42ch;
  margin-top: 1.1rem;
  color: var(--c-muted);
  font-size: var(--fs-md);
}
.hero__notes { order: 2; }

.picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  margin-top: 1rem;
}
.picker__label { width: 100%; font-size: var(--fs-sm); font-weight: 700; color: var(--c-muted); }
.picker__chip {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 42px;
  padding: 0 .95rem 0 .75rem;
  border: 2px solid var(--c-line);
  border-radius: var(--radius-pill);
  background: var(--c-white);
  font-size: var(--fs-sm);
  font-weight: 700;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease), transform .2s var(--bounce);
  -webkit-tap-highlight-color: transparent;
}
.picker__chip i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px var(--c-white), 0 0 0 3.5px rgb(0 0 0 / .14);
}
.picker__chip:hover { border-color: var(--c-rose); }
.picker__chip[aria-pressed="true"] {
  border-color: var(--c-green);
  background: var(--c-mint);
  transform: translateY(-2px);
}

.hero__cta { margin-top: 1.4rem; }

.hero__notes {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-top: 1.25rem;
}
.hero__notes li {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / .8);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--c-green);
  box-shadow: inset 0 0 0 1.5px var(--c-mint-line);
}

@media (min-width: 760px) {
  .hero { padding-block: 3.5rem 5rem; }
  .hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
    gap: 3rem;
  }
  .hero__media { order: 2; width: min(100%, 470px); }
  .hero__blob { aspect-ratio: 4 / 5; }
  .hero__copy { align-items: flex-start; text-align: start; }
  .hero__lead, .hero__notes { order: 0; }
  .hero__lead { margin-top: .4rem; }
  .picker, .hero__notes { justify-content: flex-start; }
  .picker__label { width: auto; margin-inline-end: .25rem; }
  .sticker-spin { width: 120px; height: 120px; top: -10px; inset-inline-start: -30px; }
  .price-tag { bottom: 34px; inset-inline-end: -34px; padding: .7rem 1.2rem .6rem 1.9rem; }
  .price-tag__amount { font-size: 1.6rem; }
  .hero__bubble--a { width: 360px; height: 360px; top: -140px; }
  .hero__bubble--b { width: 220px; height: 220px; }
}

@media (min-width: 1100px) {
  .hero__inner { gap: 5rem; }
  .hero__lead { font-size: var(--fs-lg); }
}

/* ---- Ribbon ---------------------------------------------------------------- */

.ribbon {
  position: relative;
  z-index: 2;
  margin-block: -1.1rem;
  overflow: hidden;
  background: var(--c-green);
  color: var(--c-white);
  rotate: -1.6deg;
  box-shadow: 0 10px 24px -16px rgb(0 41 7 / .6);
}
.ribbon__track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.ribbon__group {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: .7rem 0;
  padding-inline-end: 1.1rem;
  white-space: nowrap;
  font-weight: 700;
}
.ribbon__group [lang="fr"] { font-size: 1.2rem; font-weight: 600; color: #ffe3e7; }
.ribbon .deco { color: var(--c-rose); font-size: .85rem; }
/* RTL: the copy sits to the left, so sliding right by half loops seamlessly. */
@keyframes marquee { to { transform: translateX(50%); } }

/* ---- Colours: polaroids ---------------------------------------------------- */

.looks {
  padding-block: 4.5rem 3.5rem;
  background:
    radial-gradient(circle at 1px 1px, rgb(236 152 167 / .35) 1.2px, transparent 0) 0 0 / 22px 22px,
    var(--c-blush);
}

.looks__grid {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(72vw, 280px);
  gap: 1.1rem;
  margin-top: 1.5rem;
  margin-inline: calc(-1 * var(--gutter));
  padding: 1.5rem var(--gutter) 1.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--gutter);
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.looks__grid::-webkit-scrollbar { display: none; }

.polaroid {
  position: relative;
  display: grid;
  gap: .7rem;
  padding: 12px 12px 14px;
  border-radius: 16px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  scroll-snap-align: center;
  rotate: var(--tilt, 0deg);
  transition: rotate .35s var(--bounce), transform .35s var(--bounce);
}
.polaroid:hover { rotate: 0deg; transform: translateY(-6px); }
.polaroid__tape {
  position: absolute;
  top: -12px;
  left: 50%;
  z-index: 1;
  width: 86px;
  height: 26px;
  margin-left: -43px;
  border-radius: 3px;
  background: rgb(247 205 211 / .85);
  rotate: -4deg;
  box-shadow: 0 1px 2px rgb(0 0 0 / .06);
}
.polaroid:nth-child(2) .polaroid__tape { background: rgb(205 220 200 / .9); rotate: 3deg; }
.polaroid:nth-child(3) .polaroid__tape { background: rgb(255 228 170 / .9); }
.polaroid__photo {
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--c-latte);
}
.polaroid__photo picture,
.polaroid__img { width: 100%; height: 100%; }
.polaroid__img { object-fit: cover; }
.polaroid__name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--c-green);
}
.polaroid__name i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--dot);
  box-shadow: 0 0 0 2px var(--c-white), 0 0 0 3.5px rgb(0 0 0 / .14);
}
.polaroid__fr { font-size: 1.05rem; font-weight: 500; color: var(--c-muted); }

@media (min-width: 760px) {
  .looks { padding-block: 6rem 5rem; }
  .looks__grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto 0;
    padding: 1.5rem 0 0;
    overflow: visible;
  }
}

/* ---- Why she'll love them -------------------------------------------------- */

.love { padding-block: 4rem; background: var(--c-cream); }
.love__grid { display: grid; gap: 2rem; }
.love__media { display: none; }

.love__list {
  display: grid;
  gap: .8rem;
  margin-top: 1.5rem;
}
.bubble {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  column-gap: .9rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--tone);
}
.bubble--1 { --tone: var(--c-blush); }
.bubble--2 { --tone: var(--c-mint); }
.bubble--3 { --tone: var(--c-butter); }
.bubble--4 { --tone: var(--c-lilac); }
.bubble__icon {
  grid-row: span 3;
  align-self: start;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-green);
  box-shadow: 0 6px 14px -8px rgb(0 41 7 / .35);
}
.bubble__icon .icon { width: 24px; height: 24px; }
.bubble__title { font-size: 1.2rem; line-height: 1.35; }
.bubble__fr { font-size: 1.05rem; font-weight: 500; line-height: 1.3; color: var(--c-rose-ink); }
.bubble__text { margin-top: .3rem; font-size: var(--fs-sm); color: var(--c-muted); }

@media (min-width: 560px) {
  .love__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bubble { display: block; padding: 1.3rem; }
  .bubble__icon { margin-bottom: .75rem; }
  .bubble__fr { display: block; }
  .love__list .bubble:nth-child(even) { translate: 0 1.25rem; }
  .love__list { padding-bottom: 1.25rem; }
}

@media (min-width: 900px) {
  .love { padding-block: 6rem; }
  .love__grid {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: 4.5rem;
  }
  .love__media {
    position: relative;
    display: block;
    width: min(100%, 420px);
    justify-self: center;
  }
  .love__arch {
    aspect-ratio: 4 / 5;
    overflow: hidden;
    border: 6px solid var(--c-white);
    border-radius: 999px 999px var(--radius-xl) var(--radius-xl);
    background: var(--c-latte);
    box-shadow: var(--shadow-soft);
  }
  .love__arch picture,
  .love__img { width: 100%; height: 100%; }
  .love__img { object-fit: cover; object-position: 50% 60%; }
  .love__flower {
    position: absolute;
    bottom: -18px;
    inset-inline-start: -22px;
    width: 72px;
    height: 72px;
    color: var(--c-rose-deep);
    animation: spin 30s linear infinite;
  }
  .love__bow {
    position: absolute;
    top: 8%;
    inset-inline-end: -30px;
    width: 64px;
    height: 64px;
    color: var(--c-rose-deep);
    rotate: 14deg;
  }
}

/* ---- Shop: gallery + order form (shared markup) ----------------------------- */

.shop {
  position: relative;
  padding-block: 3.5rem 4rem;
  background:
    radial-gradient(circle at 1px 1px, rgb(61 97 69 / .14) 1.2px, transparent 0) 0 0 / 22px 22px,
    var(--c-mint-pale);
}
.shop__grid { display: grid; gap: 2rem; }

@media (min-width: 600px) and (max-width: 899px) {
  .gallery { width: min(100%, 460px); margin-inline: auto; }
}
@media (min-width: 900px) {
  .shop { padding-block: 5.5rem; }
  .shop__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: 3rem;
  }
  .gallery { position: sticky; top: calc(var(--header-h) + 24px); }
}
@media (min-width: 1200px) {
  .shop__grid { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 4rem; }
}

.gallery__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  border: 6px solid var(--c-white);
  border-radius: var(--radius-xl);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide {
  position: relative;
  flex: 0 0 100%;
  aspect-ratio: 3 / 4;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.gallery__slide picture,
.gallery__img { width: 100%; height: 100%; }
.gallery__img { object-fit: cover; }
.gallery__tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  padding: .2rem .85rem;
  border-radius: var(--radius-pill);
  background: rgb(255 255 255 / .94);
  font-size: var(--fs-sm);
  font-weight: 800;
  line-height: 1.6;
  color: var(--c-green);
}
.gallery__tag [lang="fr"] { font-weight: 600; color: var(--c-rose-ink); }
.gallery__thumbs {
  display: flex;
  justify-content: center;
  gap: .75rem;
  margin-top: 1rem;
}
.gallery__thumb {
  width: 62px;
  height: 62px;
  padding: 0;
  overflow: hidden;
  border: 3px solid var(--c-white);
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 0 0 2px transparent;
  opacity: .7;
  cursor: pointer;
  transition: opacity var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform .25s var(--bounce);
}
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb:hover { opacity: .95; }
.gallery__thumb[aria-current="true"] {
  opacity: 1;
  box-shadow: 0 0 0 2.5px var(--c-rose-deep);
  transform: scale(1.08);
}

/* The order form: one white card. */
.buybox {
  display: grid;
  gap: 2rem;
  padding: 1.5rem 1.1rem 1.6rem;
  border-radius: var(--radius-xl);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
@media (min-width: 600px) { .buybox { padding: 2rem 1.75rem; } }

.buybox__head {
  padding-bottom: 1.25rem;
  border-bottom: 2px dashed var(--c-rose);
}
.buybox__title { font-size: var(--fs-h2); margin-top: .1rem; }
.buybox__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .9rem;
  margin-top: .35rem;
}
.buybox__amount { font-size: 2.1rem; font-weight: 800; color: var(--c-green); line-height: 1.3; }
.buybox__compare { color: var(--c-muted); font-size: var(--fs-md); }
.buybox__unit { margin-top: .15rem; font-size: var(--fs-sm); color: var(--c-muted); }

.step { display: grid; gap: .75rem; }
.step__head {
  display: flex;
  align-items: center;
  gap: .6rem;
  width: 100%;
  margin-bottom: .9rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-green);
}
.step__num {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--c-rose);
  color: var(--c-green);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1;
}
.step__fr {
  margin-inline-start: auto;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--c-rose-ink);
}
.step__hint {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.step__hint .icon { color: var(--c-rose-deep); }

/* Selectable cards (radio inputs, visually replaced). */
.option {
  position: relative;
  display: block;
  height: 100%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.option__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.option__card {
  display: flex;
  align-items: center;
  gap: .85rem;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-white);
  transition:
    border-color var(--dur) var(--ease),
    background-color var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease),
    transform .25s var(--bounce);
}
.option:hover .option__card { border-color: var(--c-rose); }
.option__input:checked + .option__card {
  border-color: var(--c-green);
  background: var(--c-mint);
  box-shadow: 0 4px 0 var(--c-mint-line);
  transform: translateY(-2px);
}
.option__input:focus-visible + .option__card {
  outline: 2.5px solid var(--c-green);
  outline-offset: 3px;
}
.option__radio {
  display: grid;
  place-items: center;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--c-mint-line);
  border-radius: 50%;
  background: var(--c-white);
  transition: border-color var(--dur) var(--ease);
}
.option__radio::after {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--c-green);
  transform: scale(0);
  transition: transform .25s var(--bounce);
}
.option__input:checked + .option__card .option__radio { border-color: var(--c-green); }
.option__input:checked + .option__card .option__radio::after { transform: scale(1); }

/* Offers */
.offers { display: grid; gap: .85rem; }
.offer--best { margin-top: .5rem; }
.offer--best .option__card { border-color: var(--c-rose-deep); background: var(--c-petal); }
.offer--best .option__input:checked + .option__card { border-color: var(--c-green); background: var(--c-mint); }
.offer__card { position: relative; min-height: 76px; }
.offer__badge {
  position: absolute;
  top: -14px;
  inset-inline-end: 14px;
  padding: .1rem .8rem;
  border-radius: var(--radius-pill);
  background: var(--c-rose-ink);
  color: var(--c-white);
  font-size: var(--fs-xs);
  font-weight: 800;
  line-height: 1.75;
  rotate: -3deg;
  box-shadow: 0 4px 10px -4px rgb(168 60 85 / .6);
}
.offer__badge [lang="fr"] { font-weight: 500; }
.offer__info { display: grid; flex: 1; gap: .05rem; line-height: 1.5; }
.offer__label { font-size: var(--fs-md); font-weight: 800; }
.offer__fr { margin-inline-start: .3rem; font-size: 1rem; font-weight: 500; color: var(--c-muted); }
.offer__meta { font-size: var(--fs-sm); color: var(--c-muted); }
.offer__pricing { display: grid; justify-items: end; gap: .2rem; text-align: end; line-height: 1.4; }
.offer__price { font-size: 1.25rem; font-weight: 800; color: var(--c-green); }
.offer__save {
  padding: .05rem .6rem;
  border-radius: var(--radius-pill);
  background: var(--c-blush);
  color: var(--c-rose-ink);
  font-size: var(--fs-xs);
  font-weight: 800;
  white-space: nowrap;
}
.option__input:checked + .option__card .offer__save { background: var(--c-white); }

/* Colours */
.pair__legend {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: .5rem;
  font-size: var(--fs-sm);
  font-weight: 800;
}
.pair__picked { font-weight: 500; color: var(--c-rose-ink); }
.pair__picked::before { content: "— "; }
.colors[data-qty="1"] .pair__legend,
.colors[data-qty="1"] .colors__mix { display: none; }
.colors__mix { padding: .5rem .8rem; border-radius: var(--radius-sm); background: var(--c-butter); color: var(--c-ink); }
.colors__mix .icon { color: #c48a12; }
.swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
}
.swatch__card {
  position: relative;
  flex-direction: column;
  gap: .5rem;
  padding: .55rem .55rem .7rem;
  text-align: center;
}
.swatch__media {
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--c-latte);
}
.swatch__media picture,
.swatch__img { width: 100%; height: 100%; }
.swatch__img { object-fit: cover; }
.swatch__text { display: grid; line-height: 1.35; }
.swatch__name { font-size: var(--fs-sm); font-weight: 800; }
.swatch__fr { font-size: .95rem; font-weight: 500; color: var(--c-muted); }
.swatch__tick {
  position: absolute;
  top: 8px;
  inset-inline-start: 8px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--c-green);
  color: var(--c-white);
  box-shadow: 0 0 0 2px var(--c-white);
  transform: scale(0);
  transition: transform .3s var(--bounce);
}
.swatch__tick .icon { width: 16px; height: 16px; stroke-width: 2.4; }
.option__input:checked + .swatch__card .swatch__tick { transform: scale(1); }
.colors:not([data-qty="1"]) .swatch__card {
  flex-direction: row;
  gap: .55rem;
  padding: .45rem .5rem;
  text-align: start;
}
.colors:not([data-qty="1"]) .swatch__media { flex: none; width: 40px; }
.colors:not([data-qty="1"]) .swatch__fr,
.colors:not([data-qty="1"]) .swatch__tick { display: none; }

/* Delivery */
.deliveries {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem;
}
.delivery__card {
  position: relative;
  flex-direction: column;
  align-items: flex-start;
  gap: .1rem;
  padding: 1rem;
}
.delivery__card .option__radio {
  position: absolute;
  top: 1rem;
  inset-inline-end: 1rem;
}
.delivery__icon { width: 30px; height: 30px; margin-bottom: .4rem; color: var(--c-rose-ink); }
.delivery__label { font-size: var(--fs-sm); font-weight: 800; line-height: 1.45; }
.delivery__fr { font-size: .95rem; font-weight: 500; color: var(--c-muted); line-height: 1.4; }
.delivery__hint { margin-top: .2rem; font-size: var(--fs-xs); color: var(--c-muted); line-height: 1.55; }
.delivery__fee {
  margin-top: auto;
  padding-top: .55rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--c-green);
}
.delivery__from {
  margin-inline-end: .3rem;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--c-muted);
}

/* Contact details */
.fields { display: grid; gap: .9rem; }
@media (min-width: 600px) {
  .fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--wide { grid-column: 1 / -1; }
}
.field { display: grid; gap: .35rem; align-content: start; }
.field__label { font-size: var(--fs-sm); font-weight: 800; }
.field__input {
  width: 100%;
  min-height: 54px;
  padding: .7rem 1.1rem;
  border: 2px solid var(--c-line);
  border-radius: var(--radius);
  background: var(--c-petal);
  font: inherit;
  font-size: 1rem; /* 16px: iOS doesn't zoom in on focus */
  line-height: 1.4;
  color: var(--c-ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background-color var(--dur) var(--ease);
}
.field__input::placeholder { color: var(--c-muted); opacity: .75; }
.field__input:hover { border-color: var(--c-rose); }
.field__input:focus {
  outline: none;
  border-color: var(--c-green);
  background: var(--c-white);
  box-shadow: 0 0 0 4px rgb(247 205 211 / .7);
}
.field__input[dir="ltr"] { text-align: right; }
.field__input[aria-invalid="true"] { border-color: var(--c-error); }
.field__select {
  appearance: none;
  padding-inline-end: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23002907' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 1rem center;
  background-size: 18px;
  cursor: pointer;
}
.field__error {
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.5;
  color: var(--c-error);
}

.buybox [data-submit] { min-height: 62px; font-size: 1.2rem; }

/* ---- How to order ---------------------------------------------------------- */

.how { padding-block: 4rem; background: var(--c-cream); }

.how__steps {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  counter-reset: none;
}
.how__step {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-lg);
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.how__num {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 46% 54% 42% 58% / 52% 44% 56% 48%;
  background: var(--tone, var(--c-rose));
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--c-green);
}
.how__step:nth-child(2) .how__num { --tone: var(--c-mint); }
.how__step:nth-child(3) .how__num { --tone: var(--c-butter); }
.how__step h3 { font-size: 1.2rem; }
.how__step p { font-size: var(--fs-sm); color: var(--c-muted); }

.promises {
  display: grid;
  gap: .7rem;
  margin-top: 2rem;
}
.promise {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .9rem 1rem;
  border: 2px dashed var(--c-rose);
  border-radius: var(--radius);
  background: var(--c-petal);
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.promise strong { display: block; font-size: 1rem; color: var(--c-green); }
.promise [lang="fr"] { color: var(--c-rose-ink); }
.promise .money { font-weight: 800; color: var(--c-green); }
.promise__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--c-white);
  color: var(--c-rose-ink);
}

@media (min-width: 760px) {
  .how { padding-block: 6rem; }
  .how__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
  /* Dotted path linking the three steps. */
  .how__steps::before {
    content: "";
    position: absolute;
    top: 52px;
    inset-inline: 16%;
    border-top: 3px dotted var(--c-rose-deep);
  }
  .how__step {
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    padding: 1.6rem 1.25rem;
    text-align: center;
  }
  .how__num { grid-row: auto; width: 64px; height: 64px; margin-bottom: .6rem; }
  .promises { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---- Final call to action -------------------------------------------------- */

.final { padding-block: 1rem 4.5rem; background: var(--c-cream); }
.final__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: .8rem;
  max-width: 760px;
  margin-inline: auto;
  padding: 2.5rem 1.25rem 2.25rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 1px 1px, rgb(236 152 167 / .4) 1.2px, transparent 0) 0 0 / 20px 20px,
    var(--c-blush);
  text-align: center;
}
.final__swatches { display: flex; margin-bottom: .4rem; }
.final__swatch {
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 4px solid var(--c-white);
  border-radius: 50%;
  background: var(--c-latte);
  box-shadow: 0 10px 20px -12px rgb(0 41 7 / .5);
}
.final__swatch + .final__swatch { margin-inline-start: -16px; }
.final__swatch:nth-child(2) { translate: 0 -8px; }
.final__swatch img { width: 100%; height: 100%; object-fit: cover; }
.final__lead { color: var(--c-muted); font-size: var(--fs-md); }
.final__lead .money { font-weight: 800; color: var(--c-green); }
.final .btn { margin-top: .6rem; }
.final__note {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: .3rem;
  font-size: var(--fs-sm);
  color: var(--c-muted);
}
.final__note .icon { color: var(--c-rose-ink); }
.final__spark { position: absolute; animation: twinkle 3.4s ease-in-out infinite; }
.final__spark--1 { top: 22px; inset-inline-start: 26px; font-size: 26px; color: #e7b94f; }
.final__spark--2 { bottom: 28px; inset-inline-end: 30px; font-size: 24px; animation-delay: -1.5s; }

@media (min-width: 900px) {
  .final { padding-block: 1rem 6rem; }
  .final__card { padding: 3.5rem 2rem 3rem; }
  .final__swatch { width: 96px; height: 96px; }
}

/* ---- Footer ---------------------------------------------------------------- */

.site-footer {
  position: relative;
  margin-top: 30px;
  padding-block: 1.75rem calc(2.25rem + 80px);
  background: var(--c-green);
  color: rgb(255 255 255 / .8);
  font-size: var(--fs-sm);
}
.site-footer__wave {
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 30px;
  fill: var(--c-green);
}
.site-footer__inner {
  display: grid;
  justify-items: center;
  gap: .5rem;
  text-align: center;
}
.site-footer__logo { width: auto; height: 60px; margin-bottom: .4rem; }
.site-footer .deco { color: var(--c-rose); }
.site-footer__copy { font-size: var(--fs-xs); opacity: .75; }
@media (min-width: 900px) {
  .site-footer { padding-bottom: 2.25rem; }
}

/* ---- Mobile sticky CTA ----------------------------------------------------- */

.sticky-cta {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem var(--gutter) calc(.75rem + env(safe-area-inset-bottom));
  border-radius: 22px 22px 0 0;
  background: rgb(255 255 255 / .97);
  box-shadow: 0 -2px 0 var(--c-rose), 0 -14px 30px -20px rgb(0 41 7 / .45);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .3s var(--ease), visibility 0s linear .3s;
}
.sticky-cta.is-visible {
  transform: none;
  visibility: visible;
  transition: transform .35s var(--bounce);
}
.sticky-cta__info { display: grid; line-height: 1.25; }
.sticky-cta__label { font-size: var(--fs-xs); color: var(--c-muted); }
.sticky-cta__amount { font-size: 1.35rem; font-weight: 800; color: var(--c-green); }
@media (min-width: 900px) {
  .sticky-cta { display: none; }
}

/* ---- Reveal on scroll (only when v2.js runs and motion is welcome) -------- */

.js-reveal .reveal {
  opacity: 0;
  translate: 0 22px;
  transition: opacity .6s var(--ease), translate .7s var(--bounce);
}
.js-reveal .reveal.is-in { opacity: 1; translate: 0 0; }
.js-reveal .love__list .bubble:nth-child(even).reveal.is-in { translate: 0 0; }
@media (min-width: 560px) {
  .js-reveal .love__list .bubble:nth-child(even).reveal.is-in { translate: 0 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: .01ms !important;
  }
  .ribbon__track { transform: none; }
}
