/* ==========================================================
   SQUISHLAND — Design system
   ========================================================== */
:root {
  --bg: #FFF8F2;
  --bg-2: #FFEFE6;
  --card: #FFFFFF;
  --ink: #2B1B3D;
  --ink-2: #6B5A7E;
  --ink-3: #A597B5;
  --line: #F1E4EC;
  --pink: #FF5C9A;
  --pink-2: #E23D7E;
  --pink-soft: #FFE1EC;
  --lilac: #B69CFF;
  --lilac-soft: #EFE8FF;
  --mint: #6FD6B2;
  --mint-soft: #DDF7EE;
  --yellow: #FFD24D;
  --yellow-soft: #FFF4CC;
  --sky: #8EC5FF;
  --radius: 28px;
  --radius-sm: 16px;
  --shadow: 0 10px 30px -12px rgba(43, 27, 61, .18);
  --shadow-lg: 0 30px 60px -20px rgba(43, 27, 61, .28);
  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --ease-soft: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.locked { overflow: hidden; }
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
.container { width: min(1240px, 100% - 40px); margin-inline: auto; }
.w-full { width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--pink); color: #fff; }

/* ---------- Squishy SVG ---------- */
.sq { width: 100%; height: 100%; overflow: visible; }
.sq-body { transform-box: view-box; transform-origin: 100px 184px; will-change: transform; }
.sq-shadow { fill: rgba(43, 27, 61, .12); transform-box: fill-box; transform-origin: center; }
.sq .f-squeeze { display: none; }
.sq.squeezed .f-open { display: none; }
.sq.squeezed .f-squeeze { display: inline; }

/* ---------- Boutons ---------- */
.btn {
  --b: var(--ink);
  --c: #fff;
  --sh: #000;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  background: var(--b);
  color: var(--c);
  box-shadow: 0 5px 0 var(--sh);
  transform: translateY(0);
  transition: transform .15s var(--ease-soft), box-shadow .15s var(--ease-soft), background .2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--sh); }
.btn:active { transform: translateY(5px) scale(.98, .96); box-shadow: 0 0 0 var(--sh); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.btn-primary { --b: var(--pink); --sh: var(--pink-2); }
.btn-ghost { --b: #fff; --c: var(--ink); --sh: #EADDE6; border: 2px solid var(--line); }
.btn-light { --b: #fff; --c: var(--ink); --sh: rgba(0, 0, 0, .18); }
.btn-lg { padding: 17px 30px; font-size: 18px; }
.btn-sm { padding: 9px 16px; font-size: 14px; box-shadow: 0 3px 0 var(--sh); }
.btn-sm:hover { box-shadow: 0 5px 0 var(--sh); }
.btn:disabled { opacity: .5; pointer-events: none; }

.icon-btn {
  position: relative;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  transition: transform .25s var(--ease-bounce), background .2s;
}
.icon-btn:hover { transform: scale(1.08); background: var(--pink-soft); }
.icon-btn:active { transform: scale(.9); }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bubble {
  position: absolute; top: -4px; right: -4px;
  min-width: 21px; height: 21px; padding: 0 5px;
  display: grid; place-items: center;
  border-radius: 999px;
  background: var(--pink); color: #fff;
  font-size: 11px; font-weight: 800;
  border: 2px solid var(--bg);
  transform: scale(0);
  transition: transform .3s var(--ease-bounce);
}
.bubble.show { transform: scale(1); }
.bubble.bump { animation: bump .5s var(--ease-bounce); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.6, .7); } 70% { transform: scale(.85, 1.2); } 100% { transform: scale(1); } }

/* ---------- Annonce ---------- */
.announce { background: var(--ink); color: #fff; font-size: 13.5px; font-weight: 700; overflow: hidden; white-space: nowrap; }
.announce-track { display: inline-flex; gap: 56px; padding: 9px 0; animation: marquee 38s linear infinite; }
.announce b { color: var(--yellow); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 242, .82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.scrolled { border-color: var(--line); box-shadow: 0 8px 30px -20px rgba(43, 27, 61, .3); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 76px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark { width: 44px; height: 44px; display: block; }
.logo:hover .logo-mark { animation: jelly .7s; }
.logo-text { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: -.02em; }
.logo-text span { color: var(--pink); }
@keyframes jelly { 0%, 100% { transform: scale(1); } 30% { transform: scale(1.2, .8); } 50% { transform: scale(.9, 1.1); } 70% { transform: scale(1.05, .95); } }

.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a { padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: #fff; color: var(--ink); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.search { position: relative; display: flex; align-items: center; gap: 8px; height: 46px; padding: 0 16px; border-radius: 999px; background: #fff; border: 2px solid var(--line); transition: border-color .2s, width .3s; width: 230px; }
.search:focus-within { border-color: var(--pink); width: 280px; }
.search > svg { width: 18px; height: 18px; fill: none; stroke: var(--ink-3); stroke-width: 2.4; stroke-linecap: round; flex-shrink: 0; }
.search input { border: 0; outline: 0; background: none; width: 100%; font-weight: 600; font-size: 15px; }
.search input::placeholder { color: var(--ink-3); }
.search input::-webkit-search-cancel-button { display: none; }
.search-results {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0;
  background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 8px; display: none; max-height: 380px; overflow: auto;
  min-width: 300px;
}
.search-results.open { display: block; animation: pop .25s var(--ease-bounce); }
.sr-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 14px; cursor: pointer; }
.sr-item:hover, .sr-item.active { background: var(--pink-soft); }
.sr-item .sr-thumb { width: 46px; height: 46px; border-radius: 12px; padding: 4px; flex-shrink: 0; }
.sr-item b { display: block; font-size: 14.5px; }
.sr-item small { color: var(--ink-2); font-weight: 700; }
.sr-empty { padding: 14px; color: var(--ink-2); font-size: 14px; text-align: center; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.97); } to { opacity: 1; transform: none; } }

#soundBtn .snd-off { display: none; }
#soundBtn.muted .snd-on { display: none; }
#soundBtn.muted .snd-off { display: block; }
.burger { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 90px; }
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(600px 400px at 85% 30%, rgba(255, 92, 154, .16), transparent 70%),
    radial-gradient(500px 400px at 10% 90%, rgba(182, 156, 255, .18), transparent 70%),
    radial-gradient(400px 300px at 50% 0%, rgba(255, 210, 77, .14), transparent 70%);
  pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; background: #fff; border: 2px solid var(--line); font-weight: 800; font-size: 13.5px; color: var(--ink-2); }
.pill .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.hero h1 { font-size: clamp(46px, 6.4vw, 88px); font-weight: 700; margin: 22px 0 20px; letter-spacing: -.03em; line-height: .98; }
.squishy-word {
  display: inline-block; color: var(--pink); cursor: pointer; position: relative;
  transform-origin: 50% 90%;
}
.squishy-word::after { content: ''; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .22em; background: var(--yellow); border-radius: 99px; z-index: -1; opacity: .8; }
.squishy-word:hover { animation: jelly .8s; }
.lead { font-size: 19px; color: var(--ink-2); max-width: 520px; }
.lead b { color: var(--ink); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 38px; }
.hero-stats { display: flex; gap: 36px; list-style: none; padding: 0; margin: 0; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-family: var(--font-display); font-size: 30px; font-weight: 700; }
.hero-stats span { font-size: 14px; color: var(--ink-2); font-weight: 700; }

.hero-stage { position: relative; aspect-ratio: 1; max-width: 560px; justify-self: center; width: 100%; }
.hero-blob {
  position: absolute; inset: 8%;
  background: linear-gradient(140deg, #FFD6E5, #FFE8D6 50%, #EFE3FF);
  border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%;
  animation: morph 12s ease-in-out infinite;
}
.hero-ring { position: absolute; inset: 2%; border: 2px dashed rgba(255, 92, 154, .3); border-radius: 50%; animation: spin 50s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes morph {
  0%, 100% { border-radius: 42% 58% 55% 45% / 50% 44% 56% 50%; }
  33% { border-radius: 58% 42% 40% 60% / 40% 58% 42% 60%; }
  66% { border-radius: 48% 52% 62% 38% / 58% 40% 60% 42%; }
}
.hero-squishy {
  position: absolute; inset: 16% 14% 12%;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  animation: floaty 5s ease-in-out infinite;
  filter: drop-shadow(0 30px 30px rgba(226, 61, 126, .18));
}
.hero-squishy:focus-visible { outline: 3px dashed var(--pink); outline-offset: 8px; border-radius: 30px; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.hero-tag {
  position: absolute; padding: 10px 16px; border-radius: 16px; background: #fff; box-shadow: var(--shadow);
  font-weight: 800; font-size: 14px; animation: floaty 4s ease-in-out infinite;
}
.tag-1 { top: 14%; left: 0; animation-delay: -1s; }
.tag-2 { top: 26%; right: -2%; animation-delay: -2.5s; }
.hero-counter {
  position: absolute; bottom: 6%; right: 4%;
  display: flex; flex-direction: column; align-items: center;
  padding: 14px 20px; border-radius: 22px; background: var(--ink); color: #fff;
  box-shadow: var(--shadow-lg); transform: rotate(4deg);
}
.hero-counter span { font-size: 12px; font-weight: 700; opacity: .75; }
.hero-counter b { font-family: var(--font-display); font-size: 36px; line-height: 1.1; color: var(--yellow); }
.hero-counter.bump { animation: counterBump .4s var(--ease-bounce); }
@keyframes counterBump { 50% { transform: rotate(4deg) scale(1.15); } }
.hero-hint { position: absolute; bottom: 8%; left: 6%; font-family: var(--font-display); font-weight: 600; font-size: 17px; color: var(--pink-2); transform: rotate(-6deg); animation: floaty 3s ease-in-out infinite; }

.hero-floaters { position: absolute; inset: 0; pointer-events: none; }
.floater { position: absolute; width: 64px; height: 64px; pointer-events: auto; cursor: pointer; opacity: .9; animation: drift 9s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translate(0, 0) rotate(var(--r, 0deg)); } 50% { transform: translate(10px, -18px) rotate(calc(var(--r, 0deg) * -1)); } }

.burst { position: fixed; pointer-events: none; z-index: 200; font-size: 22px; will-change: transform, opacity; }

/* ---------- Trust ---------- */
.trust { padding: 0 0 20px; }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; background: #fff; border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow); }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item > span { width: 50px; height: 50px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; background: var(--bg-2); flex-shrink: 0; }
.trust-item b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; }
.trust-item small { color: var(--ink-2); font-weight: 600; font-size: 13.5px; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); font-weight: 700; letter-spacing: -.025em; }
.section-head p { margin-top: 14px; color: var(--ink-2); font-size: 17.5px; }
.eyebrow { display: inline-block; margin-bottom: 14px; padding: 6px 14px; border-radius: 999px; background: var(--pink-soft); color: var(--pink-2); font-weight: 800; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.eyebrow.light { background: rgba(255, 255, 255, .2); color: #fff; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Collections ---------- */
.collections { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.collection {
  position: relative; overflow: hidden; border-radius: var(--radius);
  padding: 24px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bgc); cursor: pointer; text-align: left;
  transition: transform .4s var(--ease-bounce), box-shadow .4s;
}
.collection:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: var(--shadow-lg); }
.collection:active { transform: scale(.97, .95); }
.collection-art { position: absolute; top: 10px; left: 0; right: 0; height: 190px; }
.collection-art .c-sq { position: absolute; width: 120px; height: 120px; transition: transform .5s var(--ease-bounce); }
.collection-art .c-sq:nth-child(1) { left: 6%; top: 50px; transform: rotate(-10deg); }
.collection-art .c-sq:nth-child(2) { left: 32%; top: 10px; width: 140px; height: 140px; z-index: 2; }
.collection-art .c-sq:nth-child(3) { right: 4%; top: 56px; transform: rotate(10deg); }
.collection:hover .c-sq:nth-child(1) { transform: rotate(-18deg) translate(-6px, -10px); }
.collection:hover .c-sq:nth-child(2) { transform: translateY(-12px) scale(1.06); }
.collection:hover .c-sq:nth-child(3) { transform: rotate(18deg) translate(6px, -10px); }
.collection h3 { font-size: 25px; position: relative; }
.collection p { color: var(--ink-2); font-weight: 700; font-size: 14px; position: relative; }
.collection .arrow { position: absolute; right: 22px; bottom: 24px; width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; transition: transform .3s var(--ease-bounce); }
.collection:hover .arrow { transform: rotate(-45deg) scale(1.1); }
.collection .arrow svg { width: 20px; fill: none; stroke: var(--ink); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Flash ---------- */
.flash {
  display: grid; grid-template-columns: 1.4fr auto auto; gap: 30px; align-items: center;
  padding: 34px 40px; border-radius: var(--radius);
  background: linear-gradient(120deg, #FF5C9A, #FF7F6E 55%, #FFA94D);
  color: #fff; position: relative; overflow: hidden;
}
.flash::before { content: ''; position: absolute; width: 300px; height: 300px; right: -60px; top: -120px; background: rgba(255, 255, 255, .12); border-radius: 50%; }
.flash h3 { font-size: 32px; font-weight: 700; }
.flash p { opacity: .9; font-weight: 600; margin-top: 6px; }
.big-price { font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 1; transform: rotate(-6deg); text-shadow: 0 6px 0 rgba(0, 0, 0, .12); }
.countdown { display: flex; gap: 10px; position: relative; }
.countdown div { min-width: 76px; padding: 12px 8px; border-radius: 18px; background: rgba(255, 255, 255, .2); text-align: center; backdrop-filter: blur(6px); }
.countdown b { display: block; font-family: var(--font-display); font-size: 34px; line-height: 1; }
.countdown span { font-size: 12px; font-weight: 700; opacity: .85; }

/* ---------- Toolbar & filtres ---------- */
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; min-width: 0; }
.chip {
  padding: 10px 18px; border-radius: 999px; background: #fff; border: 2px solid var(--line);
  font-weight: 800; font-size: 14.5px; color: var(--ink-2);
  transition: all .25s var(--ease-bounce);
}
.chip:hover { border-color: var(--pink); color: var(--ink); transform: translateY(-2px); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip:active { transform: scale(.92); }
.toolbar-right { display: flex; gap: 10px; align-items: center; min-width: 0; }
.select {
  appearance: none; -webkit-appearance: none;
  padding: 10px 40px 10px 18px; border-radius: 999px; border: 2px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B1B3D' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 16px;
  font-weight: 800; font-size: 14.5px; cursor: pointer; outline: 0;
}
.select:focus { border-color: var(--pink); }
.filters {
  display: grid; grid-template-columns: repeat(2, 1fr) auto; gap: 26px; align-items: end;
  background: #fff; border-radius: 22px; padding: 0 26px; max-height: 0; overflow: hidden; opacity: 0;
  transition: max-height .45s var(--ease-soft), padding .45s var(--ease-soft), opacity .3s, margin .45s;
}
.filters.open { max-height: 200px; padding: 22px 26px; opacity: 1; margin-bottom: 18px; }
.filter label { display: block; font-weight: 700; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.filter label b { color: var(--ink); }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--pink) var(--p, 100%), var(--line) var(--p, 100%)); outline: 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 4px solid var(--pink); box-shadow: 0 3px 8px rgba(0, 0, 0, .15); cursor: grab; transition: transform .2s var(--ease-bounce); }
input[type=range]::-webkit-slider-thumb:active { transform: scale(1.3, .8); cursor: grabbing; }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--pink); cursor: grab; }
.results-bar { margin: 8px 0 20px; color: var(--ink-2); font-weight: 700; font-size: 14.5px; }

/* ---------- Grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  position: relative; background: var(--card); border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 0 var(--line), 0 10px 30px -18px rgba(43, 27, 61, .2);
  transition: transform .45s var(--ease-bounce), box-shadow .45s;
  animation: cardIn .6s var(--ease-soft) both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.96); } }
.card:hover { transform: translateY(-8px); box-shadow: 0 2px 0 var(--line), var(--shadow-lg); }
.card-media { position: relative; aspect-ratio: 1 / .92; background: var(--bgc); cursor: pointer; overflow: hidden; }
.card-media::after { content: ''; position: absolute; inset: auto -20% -60% -20%; height: 80%; background: radial-gradient(closest-side, rgba(255, 255, 255, .7), transparent); pointer-events: none; }
.card-media .sq { position: absolute; inset: 11% 13% 7%; width: 74%; height: 82%; transition: transform .5s var(--ease-bounce); }
.card:hover .card-media .sq { transform: translateY(-6px) rotate(-3deg); }
.card-hint { position: absolute; bottom: 12px; left: 50%; transform: translate(-50%, 10px); padding: 5px 12px; border-radius: 99px; background: rgba(43, 27, 61, .85); color: #fff; font-size: 12px; font-weight: 800; opacity: 0; transition: all .3s var(--ease-bounce); pointer-events: none; z-index: 2; white-space: nowrap; }
.card:hover .card-hint { opacity: 1; transform: translate(-50%, 0); }
.badges { position: absolute; top: 14px; left: 14px; display: flex; flex-direction: column; gap: 6px; z-index: 2; align-items: flex-start; }
.badge { padding: 5px 11px; border-radius: 99px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; background: #fff; color: var(--ink); }
.badge.best { background: var(--yellow); }
.badge.new { background: var(--mint); color: #fff; }
.badge.limited { background: var(--ink); color: #fff; }
.badge.xxl { background: var(--lilac); color: #fff; }
.card-actions { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.round-act {
  width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 4px 12px -4px rgba(43, 27, 61, .25);
  transition: transform .3s var(--ease-bounce), background .2s;
}
.round-act:hover { transform: scale(1.12); }
.round-act:active { transform: scale(.85); }
.round-act svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: fill .2s, stroke .2s; }
.round-act.quick { opacity: 0; transform: translateX(10px); }
.card:hover .round-act.quick { opacity: 1; transform: none; }
.wish.on svg { fill: var(--pink); stroke: var(--pink); }
.wish.on { animation: heartPop .5s var(--ease-bounce); }
@keyframes heartPop { 40% { transform: scale(1.35); } }

.card-body { padding: 16px 18px 18px; }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-weight: 800; }
.card-cat { color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.stars { color: var(--ink); display: inline-flex; align-items: center; gap: 3px; }
.stars i { color: #FFB800; font-style: normal; }
.stars small { color: var(--ink-3); font-weight: 700; }
.card h3 { font-size: 20px; margin: 6px 0 10px; cursor: pointer; }
.card h3:hover { color: var(--pink-2); }
.specs { display: flex; gap: 12px; margin-bottom: 14px; font-size: 12.5px; font-weight: 800; color: var(--ink-2); }
.specs span { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 99px; background: var(--bg); }
.dots { display: inline-flex; gap: 2px; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--line); }
.dots i.on { background: var(--pink); }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-display); font-size: 23px; font-weight: 700; }
.price s { font-family: var(--font-body); font-size: 14px; color: var(--ink-3); font-weight: 700; margin-left: 4px; }
.price.sale { color: var(--pink-2); }
.add-btn {
  height: 44px; padding: 0 16px; border-radius: 999px; background: var(--ink); color: #fff;
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-display); font-weight: 600; font-size: 15px;
  box-shadow: 0 4px 0 #000; transition: transform .15s, box-shadow .15s, background .2s;
}
.add-btn svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; }
.add-btn:hover { background: var(--pink); box-shadow: 0 4px 0 var(--pink-2); transform: translateY(-2px); }
.add-btn:active { transform: translateY(4px) scale(.95, .9); box-shadow: 0 0 0 #000; }
.add-btn.done { background: var(--mint); box-shadow: 0 4px 0 #3FB08A; }

.empty { text-align: center; padding: 60px 20px; }
.empty-sq { width: 160px; height: 160px; margin: 0 auto 10px; }
.empty h3 { font-size: 28px; }
.empty p { color: var(--ink-2); margin: 8px 0 22px; }

/* ---------- Squish Lab ---------- */
.lab { background: linear-gradient(180deg, transparent, #F4EDFF 12%, #F4EDFF 88%, transparent); }
.lab-wrap { display: grid; grid-template-columns: 110px 1fr 320px; gap: 22px; align-items: stretch; }
.lab-picker { display: flex; flex-direction: column; gap: 10px; }
.lab-pick {
  aspect-ratio: 1; border-radius: 22px; background: #fff; padding: 10px; border: 3px solid transparent;
  transition: transform .3s var(--ease-bounce), border-color .2s;
}
.lab-pick:hover { transform: scale(1.06) rotate(-3deg); }
.lab-pick.active { border-color: var(--lilac); background: var(--lilac-soft); }
.lab-stage {
  position: relative; border-radius: 36px; overflow: hidden; min-height: 520px;
  background: #fff; cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none;
  box-shadow: var(--shadow);
}
.lab-stage:active { cursor: grabbing; }
.lab-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 50% 60%, var(--lab-c, #FFE1EC) 0, transparent 60%),
    radial-gradient(var(--line) 1.5px, transparent 1.5px) 0 0 / 26px 26px;
  transition: background .5s;
}
.lab-squishy { position: absolute; left: 50%; top: 52%; width: min(380px, 70%); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.lab-squishy .sq-body { will-change: transform; }
.lab-particles { position: absolute; inset: 0; pointer-events: none; }
.lab-particles span { position: absolute; font-size: 22px; will-change: transform, opacity; }
.lab-name { position: absolute; top: 22px; left: 0; right: 0; text-align: center; font-family: var(--font-display); font-weight: 600; font-size: 22px; pointer-events: none; }
.lab-name small { display: block; font-family: var(--font-body); font-size: 13.5px; color: var(--ink-2); font-weight: 700; }
.lab-panel { background: #fff; border-radius: 30px; padding: 24px; display: flex; flex-direction: column; gap: 20px; box-shadow: var(--shadow); }
.gauge-head { display: flex; justify-content: space-between; font-weight: 800; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.gauge-head b { color: var(--ink); font-family: var(--font-display); font-size: 17px; }
.gauge-bar { height: 14px; border-radius: 99px; background: var(--bg); overflow: hidden; }
.gauge-bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--lilac), var(--pink)); }
.gauge-bar.rise i { background: linear-gradient(90deg, var(--mint), var(--sky)); }
.stress-bar i { background: linear-gradient(90deg, var(--mint), var(--yellow), var(--pink)); background-size: 320px 100%; transition: width .6s var(--ease-soft); }
.lab-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lab-stats div { background: var(--bg); border-radius: 18px; padding: 14px; text-align: center; }
.lab-stats b { display: block; font-family: var(--font-display); font-size: 28px; }
.lab-stats span { font-size: 12.5px; color: var(--ink-2); font-weight: 700; }
.stress small { display: block; margin-top: 8px; color: var(--ink-2); font-weight: 700; font-size: 13px; }
.lab-panel .btn { margin-top: auto; }

.option-group { margin-bottom: 20px; }
.option-label { display: block; font-weight: 800; font-size: 14px; color: var(--ink-2); margin-bottom: 10px; }
.options { display: flex; gap: 10px; flex-wrap: wrap; }
.opt {
  padding: 12px 18px; border-radius: 18px; border: 2px solid var(--line); background: #fff;
  font-weight: 800; font-size: 15px; transition: all .25s var(--ease-bounce); text-align: left;
}
.opt small { display: block; font-size: 12px; color: var(--ink-3); font-weight: 700; }
.opt:hover { border-color: var(--pink); transform: translateY(-2px); }
.opt.active { border-color: var(--pink); background: var(--pink-soft); box-shadow: 0 0 0 3px var(--pink-soft); }
.opt:active { transform: scale(.94); }
.save { padding: 7px 14px; border-radius: 99px; background: var(--mint); color: #fff; font-weight: 800; font-size: 14px; }

/* ---------- Avis ---------- */
.reviews { overflow: hidden; }
.review-rail { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.review-track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; padding: 10px 0 20px; }
.review-rail:hover .review-track { animation-play-state: paused; }
.review { width: 340px; background: #fff; border-radius: 26px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review .r-stars { color: #FFB800; letter-spacing: 2px; font-size: 18px; }
.review p { font-size: 15.5px; font-weight: 600; flex: 1; }
.review-foot { display: flex; align-items: center; gap: 12px; }
.review-foot .r-sq { width: 50px; height: 50px; border-radius: 14px; padding: 5px; flex-shrink: 0; }
.review-foot b { display: block; font-size: 15px; }
.review-foot small { color: var(--ink-2); font-weight: 700; font-size: 12.5px; }
.verified { color: #2FA37B; font-weight: 800; font-size: 12px; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border-radius: 22px; overflow: hidden; transition: box-shadow .3s; }
.faq-item.open { box-shadow: var(--shadow); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 24px; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 18px; }
.faq-q i { width: 32px; height: 32px; border-radius: 50%; background: var(--bg); flex-shrink: 0; position: relative; transition: transform .4s var(--ease-bounce), background .2s; }
.faq-q i::before, .faq-q i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2.5px; background: var(--ink); border-radius: 2px; transform: translate(-50%, -50%); }
.faq-q i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .3s; }
.faq-item.open .faq-q i { background: var(--pink); transform: rotate(180deg); }
.faq-item.open .faq-q i::before, .faq-item.open .faq-q i::after { background: #fff; }
.faq-item.open .faq-q i::after { transform: translate(-50%, -50%) rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-soft); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 24px 22px; color: var(--ink-2); font-weight: 600; }

/* ---------- Newsletter ---------- */
.newsletter {
  display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center;
  padding: 44px 50px; border-radius: 40px; margin-bottom: 100px;
  background: var(--ink); color: #fff; position: relative; overflow: hidden;
}
.newsletter::after { content: ''; position: absolute; width: 420px; height: 420px; right: -120px; bottom: -220px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 92, 154, .5), transparent); }
.nl-sq { width: 220px; height: 220px; cursor: pointer; position: relative; z-index: 1; }
.nl-copy { position: relative; z-index: 1; }
.nl-copy h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; }
.nl-copy p { opacity: .8; font-size: 17px; margin: 10px 0 22px; }
.nl-copy p b { color: var(--yellow); opacity: 1; }
.nl-form { display: flex; gap: 10px; max-width: 520px; }
.nl-form input { flex: 1; min-width: 0; padding: 0 22px; height: 56px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .08); color: #fff; outline: 0; font-weight: 700; }
.nl-form input::placeholder { color: rgba(255, 255, 255, .5); }
.nl-form input:focus { border-color: var(--pink); }
.nl-form input.error { border-color: #FF6B6B; animation: shakeX .4s; }
.nl-form .btn { height: 56px; }
@keyframes shakeX { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.nl-success { font-size: 18px; font-weight: 700; }

/* ---------- Footer ---------- */
.footer { background: #fff; padding: 70px 0 30px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p { color: var(--ink-2); margin-top: 14px; max-width: 320px; font-weight: 600; }
.footer-col h4 { font-size: 17px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--ink-2); font-weight: 700; padding: 4px 0; transition: color .2s, transform .2s; }
.footer-col a:hover { color: var(--pink-2); transform: translateX(4px); }
.pay-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.pay-badges span { padding: 7px 12px; border-radius: 10px; border: 2px solid var(--line); font-weight: 800; font-size: 13px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-3); font-weight: 700; font-size: 14px; }

/* ---------- Overlay / Drawer / Modal ---------- */
.overlay { position: fixed; inset: 0; background: rgba(43, 27, 61, .45); backdrop-filter: blur(4px); z-index: 90; opacity: 0; pointer-events: none; transition: opacity .35s; }
.overlay.show { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 100;
  width: min(460px, 100%); background: var(--bg);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .55s var(--ease-soft);
  box-shadow: -30px 0 60px -30px rgba(43, 27, 61, .3);
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px 14px; }
.drawer-tabs { display: flex; gap: 6px; background: #fff; padding: 5px; border-radius: 999px; }
.drawer-tab { padding: 9px 16px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-2); transition: all .25s; }
.drawer-tab span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px; border-radius: 99px; background: var(--bg); font-size: 12px; }
.drawer-tab.active { background: var(--ink); color: #fff; }
.drawer-tab.active span { background: var(--pink); color: #fff; }
.drawer-body { flex: 1; overflow-y: auto; padding: 6px 22px 20px; }
.line-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 12px; background: #fff; border-radius: 22px; margin-bottom: 10px; animation: cardIn .45s var(--ease-soft) both; }
.line-item.removing { animation: removeItem .4s var(--ease-soft) forwards; }
@keyframes removeItem { to { opacity: 0; transform: translateX(60px) scale(.9); } }
.li-thumb { width: 84px; height: 84px; border-radius: 18px; padding: 8px; cursor: pointer; }
.li-info b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16.5px; line-height: 1.2; }
.li-info small { display: block; color: var(--ink-2); font-weight: 700; font-size: 13px; margin: 2px 0 8px; }
.qty { display: inline-flex; align-items: center; background: var(--bg); border-radius: 999px; padding: 3px; }
.qty button { width: 30px; height: 30px; border-radius: 50%; font-weight: 800; font-size: 17px; line-height: 1; transition: background .2s, transform .2s var(--ease-bounce); }
.qty button:hover { background: #fff; }
.qty button:active { transform: scale(.8); }
.qty span { min-width: 28px; text-align: center; font-weight: 800; }
.li-side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; height: 100%; gap: 10px; }
.li-side .price { font-size: 18px; }
.li-remove { color: var(--ink-3); font-size: 12.5px; font-weight: 800; text-decoration: underline; }
.li-remove:hover { color: var(--pink-2); }
.drawer-empty { text-align: center; padding: 40px 10px; }
.drawer-empty .sq-wrap { width: 150px; height: 150px; margin: 0 auto 10px; }
.drawer-empty h4 { font-size: 22px; margin-bottom: 6px; }
.drawer-empty p { color: var(--ink-2); font-weight: 600; margin-bottom: 20px; }
.drawer-foot { padding: 16px 22px 22px; background: #fff; border-radius: 28px 28px 0 0; box-shadow: 0 -10px 30px -20px rgba(43, 27, 61, .3); }
.totals { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; font-weight: 700; color: var(--ink-2); font-size: 15px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { color: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 700; padding-top: 8px; border-top: 2px dashed var(--line); margin-top: 4px; }
.secure { display: block; text-align: center; margin-top: 10px; color: var(--ink-2); font-weight: 700; }

.modal { position: fixed; inset: 0; z-index: 110; display: grid; place-items: center; padding: 20px; pointer-events: none; }
.modal-card {
  position: relative; width: min(1000px, 100%); max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg); border-radius: 36px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(40px) scale(.94); transition: opacity .35s, transform .5s var(--ease-bounce);
}
.modal.open { pointer-events: auto; }
.modal.open .modal-card { opacity: 1; transform: none; }
.modal-card > .close { position: absolute; top: 18px; right: 18px; z-index: 5; }

.pm-grid { display: grid; grid-template-columns: 1fr 1fr; }
.pm-media { position: relative; background: var(--bgc); min-height: 520px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; transition: background .4s; }
.pm-media .pm-sq { width: 88%; aspect-ratio: 1; cursor: pointer; }
.pm-media .badges { top: 24px; left: 24px; }
.pm-media .pm-tip { font-weight: 800; font-size: 13.5px; color: var(--ink-2); background: rgba(255, 255, 255, .7); padding: 6px 14px; border-radius: 99px; }
.pm-info { padding: 40px 36px 36px; display: flex; flex-direction: column; gap: 18px; }
.pm-info .card-cat { font-size: 12.5px; }
.pm-info h2 { font-size: 40px; font-weight: 700; margin-top: 4px; }
.pm-rating { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 14px; }
.pm-rating .r-stars { color: #FFB800; letter-spacing: 1px; font-size: 17px; }
.pm-rating a { color: var(--ink-2); text-decoration: underline; }
.pm-price { display: flex; align-items: baseline; gap: 10px; }
.pm-price .price { font-size: 34px; }
.pm-price .save { font-size: 13px; }
.pm-desc { color: var(--ink-2); font-weight: 600; }
.pm-meters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pm-meter { background: #fff; border-radius: 18px; padding: 12px 14px; }
.pm-meter .gauge-head { margin-bottom: 6px; font-size: 13px; }
.pm-meter .gauge-bar { height: 9px; }
.pm-meter .gauge-bar i { transition: width 1s var(--ease-soft); }
.swatches { display: flex; gap: 10px; }
.swatch { width: 38px; height: 38px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--line); transition: transform .3s var(--ease-bounce), box-shadow .2s; background: linear-gradient(135deg, var(--s1) 50%, var(--s2) 50%); }
.swatch:hover { transform: scale(1.12); }
.swatch.active { box-shadow: 0 0 0 3px var(--ink); }
.opt-row-label { font-weight: 800; font-size: 14px; color: var(--ink-2); margin-bottom: 8px; }
.opt-row-label b { color: var(--ink); }
.pm-buy { display: flex; gap: 12px; align-items: center; }
.pm-buy .qty { padding: 6px; background: #fff; border: 2px solid var(--line); }
.pm-buy .qty button { width: 36px; height: 36px; }
.pm-buy .btn { flex: 1; }
.pm-perks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--line); }
.tab { padding: 10px 14px; font-weight: 800; color: var(--ink-3); position: relative; }
.tab.active { color: var(--ink); }
.tab.active::after { content: ''; position: absolute; left: 10px; right: 10px; bottom: -2px; height: 3px; border-radius: 3px; background: var(--pink); }
.tab-panel { font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.tab-panel ul { margin: 0; padding-left: 18px; }
.tab-panel li { margin: 4px 0; }
.mini-review { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.mini-review:last-child { border: 0; }
.mini-review b { color: var(--ink); }
.mini-review .r-stars { color: #FFB800; font-size: 13px; margin-left: 6px; }

/* ---------- Checkout ---------- */
.checkout-modal { width: min(720px, 100%); padding: 40px; }
.steps { display: flex; gap: 8px; margin-bottom: 30px; padding-right: 50px; }
.step { flex: 1; display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 14px; color: var(--ink-3); padding-bottom: 12px; border-bottom: 4px solid var(--line); transition: all .3s; }
.step span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink-2); font-size: 13px; transition: all .3s var(--ease-bounce); }
.step.active { color: var(--ink); border-color: var(--pink); }
.step.active span { background: var(--pink); color: #fff; transform: scale(1.1); }
.step.done { color: var(--ink); border-color: var(--mint); }
.step.done span { background: var(--mint); color: #fff; }
.co-title { font-size: 28px; font-weight: 700; margin-bottom: 18px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-weight: 800; font-size: 13.5px; color: var(--ink-2); margin-bottom: 6px; }
.field input { width: 100%; height: 50px; padding: 0 16px; border-radius: 16px; border: 2px solid var(--line); background: #fff; outline: 0; font-weight: 700; transition: border-color .2s; }
.field input:focus { border-color: var(--pink); }
.field input.error { border-color: #FF6B6B; animation: shakeX .4s; }
.ship-opts, .pay-opts { display: grid; gap: 10px; margin: 22px 0; }
.radio-card { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 18px; background: #fff; border: 2px solid var(--line); cursor: pointer; transition: all .2s; }
.radio-card:hover { border-color: var(--pink); }
.radio-card input { accent-color: var(--pink); width: 20px; height: 20px; }
.radio-card.checked { border-color: var(--pink); background: var(--pink-soft); }
.radio-card .rc-main { flex: 1; }
.radio-card b { display: block; font-size: 15.5px; }
.radio-card small { color: var(--ink-2); font-weight: 700; }
.radio-card .rc-price { font-family: var(--font-display); font-weight: 600; font-size: 17px; }
.co-summary { background: #fff; border-radius: 22px; padding: 18px 20px; margin-bottom: 20px; }
.co-summary .totals { margin: 0; }
.co-actions { display: flex; justify-content: space-between; gap: 12px; }
.demo-note { margin: -8px 0 18px; padding: 12px 16px; border-radius: 16px; background: var(--yellow-soft); font-weight: 700; font-size: 13.5px; color: #7A5B00; }
.co-done { text-align: center; padding: 10px 0; }
.co-done .done-sq { width: 200px; height: 200px; margin: 0 auto; cursor: pointer; }
.co-done h3 { font-size: 34px; margin: 10px 0 8px; }
.co-done p { color: var(--ink-2); font-weight: 600; margin-bottom: 8px; }
.order-num { display: inline-block; margin: 8px 0 24px; padding: 8px 16px; border-radius: 12px; background: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: .05em; }

/* ---------- Toasts ---------- */
/* left:0/right:0 plutôt que left:50% + translateX : avec left:50% seul, la
   largeur disponible tombe à 50vw et le texte du toast s'écrase sur mobile. */
.toasts { position: fixed; bottom: 24px; left: 0; right: 0; padding: 0 16px; z-index: 150; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: 12px; padding: 10px 20px 10px 10px; border-radius: 999px;
  background: var(--ink); color: #fff; font-weight: 700; box-shadow: var(--shadow-lg);
  animation: toastIn .5s var(--ease-bounce) both; pointer-events: auto;
  max-width: 100%; text-align: left;
}
.toast .t-thumb { flex-shrink: 0; }
.toast button { flex-shrink: 0; white-space: nowrap; }
.toast .t-thumb { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .12); padding: 4px; display: grid; place-items: center; font-size: 20px; }
.toast button { color: var(--yellow); font-weight: 800; margin-left: 6px; text-decoration: underline; }
.toast.out { animation: toastOut .35s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(30px) scale(.8); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(20px) scale(.9); } }

.confetti { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; border-radius: 2px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .nav { display: none; }
  .burger { display: grid; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 76px; left: 16px; right: 16px;
    background: #fff; padding: 12px; border-radius: 24px; box-shadow: var(--shadow-lg); margin: 0;
    animation: pop .3s var(--ease-bounce);
  }
  .nav.open a { padding: 14px 16px; font-size: 17px; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .collections { grid-template-columns: repeat(2, 1fr); }
  .lab-wrap { grid-template-columns: 90px 1fr; }
  .lab-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); }
  .lab-panel .btn { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .lead { margin-inline: auto; }
  .hero-cta, .hero-stats { justify-content: center; }
  .hero-stage { max-width: 440px; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
  .flash { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .filters.open { grid-template-columns: 1fr; max-height: 400px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 30px; }
  .newsletter { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 36px 24px; }
  .nl-sq { width: 160px; height: 160px; }
  .nl-form { margin: 0 auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .pm-grid { grid-template-columns: 1fr; }
  .pm-media { min-height: 340px; }
  .pm-info { padding: 26px 22px; }
  .pm-info h2 { font-size: 32px; }
  .search { display: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .header-inner { height: 66px; gap: 10px; }
  /* Pas de place pour la barre de recherche dans l'en-tête à cette largeur, mais
     la masquer purement la rendait inaccessible sur téléphone. On la révèle en
     pleine largeur au-dessus du menu quand celui-ci est ouvert (.nav.open ~ …
     fonctionne car .header-actions suit .nav). Le menu descend d'autant. */
  .nav.open ~ .header-actions .search,
  .nav.open ~ .header-actions .search:focus-within {
    display: flex; position: absolute; top: 78px; left: 16px; right: 16px;
    width: auto; z-index: 60;
  }
  .nav.open { top: 136px; }
  .logo-text { font-size: 22px; }
  .logo-mark { width: 36px; height: 36px; }
  .icon-btn { width: 42px; height: 42px; }
  #soundBtn { display: none; }
  .hero { padding: 36px 0 60px; }
  .hero-stats { gap: 22px; }
  .hero-tag { font-size: 12px; padding: 7px 11px; }
  .section { padding: 70px 0; }
  .trust-inner { grid-template-columns: 1fr; padding: 18px; }
  .collections { grid-template-columns: 1fr; }
  /* Le <select> de tri tire sa largeur de son option la plus longue. Dans une
     colonne flex, align-items:stretch ne le contraint pas : il gonflait la barre
     d'outils à 765px et faisait déborder toute la page (et avec elle le tiroir et
     les modales, dimensionnés sur la largeur du document). D'où les largeurs
     explicites ci-dessous. */
  .toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; width: 100%; max-width: 100%; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .toolbar-right { justify-content: space-between; width: 100%; max-width: 100%; }
  .toolbar-right .select { flex: 1 1 0; min-width: 0; max-width: 100%; }
  .toolbar-right #filterToggle { flex-shrink: 0; }
  .card-body { padding: 12px 12px 14px; }
  .card h3 { font-size: 16.5px; }
  .specs { display: none; }
  .price { font-size: 19px; }
  .add-btn { height: 38px; padding: 0 12px; }
  .add-btn .add-label { display: none; }
  .round-act.quick { display: none; }
  .lab-wrap { grid-template-columns: 1fr; }
  .lab-picker { flex-direction: row; overflow-x: auto; }
  .lab-pick { width: 72px; flex-shrink: 0; }
  .lab-stage { min-height: 400px; }
  .lab-panel { grid-template-columns: 1fr; }
  .flash { padding: 28px 20px; }
  .flash h3 { font-size: 26px; }
  .countdown div { min-width: 64px; }
  .nl-form { flex-direction: column; }
  .footer-inner { grid-template-columns: 1fr; }
  .checkout-modal { padding: 26px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .steps { font-size: 12px; }
  .step { font-size: 12px; flex-direction: column; align-items: flex-start; }
  .pm-meters, .pm-perks { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 30px 30px 0 0; max-height: 94vh; }
  .review { width: 280px; }
  /* filet de sécurité : la catégorie se tronque plutôt que de pousser la note */
  .card-cat { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .card-top .stars { flex-shrink: 0; }
}

/* Petits téléphones : en grille 2 colonnes la carte fait ~165px, et
   "GOURMANDISES" + "★4,9 (142)" demande 167px pour 141px disponibles.
   On retire le nombre d'avis, on garde la note. */
@media (max-width: 430px) {
  .card-top .stars small { display: none; }
  .card-cat { font-size: 10.5px; letter-spacing: .04em; }
  .hero-stats { gap: 16px; }
  .collection { min-height: 260px; padding: 20px; }
  .collection h3 { font-size: 22px; }
  .collection .arrow { right: 16px; bottom: 18px; width: 38px; height: 38px; }
}

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

/* ---------- Photos produits ---------- */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 100%; user-select: none; -webkit-user-drag: none; }
.card-media .photo { position: absolute; inset: 0; transition: opacity .45s var(--ease-soft); }
.card-media .photo-alt { opacity: 0; }
.card:hover .card-media .photo-alt { opacity: 1; }
.sr-thumb:has(.photo), .li-thumb:has(.photo), .u-thumb:has(.photo), .r-sq:has(.photo) { padding: 0; overflow: hidden; }
.t-thumb:has(.photo) { padding: 0; overflow: hidden; }
.t-thumb .photo { border-radius: 50%; }
.pm-sq.has-photo { width: 100%; }
.pm-sq .photo { border-radius: 26px; box-shadow: var(--shadow-lg); }
.pm-thumbs { display: flex; gap: 10px; margin: 18px 0 12px; flex-wrap: wrap; justify-content: center; }
.pm-thumb { position: relative; width: 62px; height: 62px; border-radius: 16px; overflow: hidden; border: 3px solid transparent; background: #fff; transition: transform .3s var(--ease-bounce), border-color .2s; }
.pm-thumb:hover { transform: translateY(-3px); }
.pm-thumb.active { border-color: var(--ink); }
.pm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pm-thumb.anim { padding: 4px 4px 14px; }
.pm-thumb.anim span { position: absolute; left: 0; right: 0; bottom: 2px; font-size: 10px; font-weight: 800; text-align: center; }

.limit-note { margin: 0 22px 10px; padding: 12px 16px; border-radius: 18px; background: #fff; font-weight: 700; font-size: 14px; }
.limit-note b { color: var(--pink-2); }
.collection-art .c-sq .photo { border-radius: 22px; box-shadow: 0 12px 24px -10px rgba(43, 27, 61, .35); border: 4px solid #fff; }
.card { cursor: pointer; }
