/* PVR redesign, shared styles (taste-skill direction). 
   Dark theme locked. One accent: violet #6d4fd8 (ink #b29df7).
   Shape rule: buttons, chips and badges are full pill; surfaces 20px; media inside surfaces 14px.
   No web fonts: system display stack (SF Pro on Apple, Segoe UI Variable on Windows). */

:root {
  --bg: #0b0a0f;
  --bg-2: #121118;
  --bg-3: #18161f;
  --line: rgba(236, 235, 242, 0.08);
  --line-2: rgba(236, 235, 242, 0.14);
  --text: #ecebf2;
  --muted: #a3a0b1;
  --faint: #8a879b;
  --accent: #6d4fd8;
  --accent-hover: #5e41c9;
  --accent-ink: #b29df7;
  --plate: #ecebf0;
  --r-surface: 20px;
  --r-media: 14px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", system-ui, sans-serif;
  --nav-h: 64px;
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
:focus-visible { outline: 2px solid var(--accent-ink); outline-offset: 3px; border-radius: 6px; }

/* preview switcher (not part of the design) */
.pv { background: #1d1b26; color: var(--muted); font-size: 12px; text-align: center; padding: 6px 12px; }
.pv a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; margin-left: 10px; }

/* ── nav + mega menus ─────────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(11, 10, 15, 0.86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line); }
.nav-bar { height: var(--nav-h); display: flex; align-items: center; gap: 24px; }
.logo { font-weight: 700; letter-spacing: -0.02em; font-size: 17px; white-space: nowrap; }
.logo b { color: var(--accent-ink); font-weight: 700; }
.nav-links { display: flex; gap: 2px; margin-left: auto; list-style: none; align-items: center; }
.nav-links > li > a, .mega-trigger { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--muted); padding: 8px 11px; border-radius: 999px; background: none; border: 0; cursor: pointer; white-space: nowrap; transition: color 160ms ease, background-color 160ms ease; }
.nav-links > li > a:hover, .mega-trigger:hover, .nav-links > li > a[aria-current], .mega-trigger[aria-expanded="true"] { color: var(--text); }
.mega-trigger[aria-expanded="true"] { background: rgba(236, 235, 242, 0.06); }
.chev { width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease); }
.mega-trigger[aria-expanded="true"] .chev { transform: translateY(1px) rotate(225deg); }
.new { font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; color: #fff; background: var(--accent); padding: 0 7px; border-radius: 999px; line-height: 17px; }
.lang { display: flex; gap: 2px; padding: 3px; margin-left: 8px; border: 1px solid var(--line-2); border-radius: 999px; }
.lang a { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 999px; color: var(--muted); }
.lang a[aria-current] { background: var(--text); color: var(--bg); }
.burger { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13px; cursor: pointer; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: #0e0d13; border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, 0.7); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 160ms ease, transform 160ms ease, visibility 0s linear 160ms; }
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 0s; }
.mega-inner { padding-top: 22px; padding-bottom: 20px; }
/* two panes: categories left, the active category right */
.mega-2p { display: grid; grid-template-columns: 250px 1fr; column-gap: 36px; align-items: start; }
.mcat { display: contents; }
.mcat-btn { grid-column: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; text-align: left; padding: 9px 14px; border: 0; border-radius: 12px; background: none; color: var(--muted); font-size: 14.5px; cursor: pointer; transition: color 140ms ease, background-color 140ms ease; }
.mcat-btn:hover { color: var(--text); background: rgba(236, 235, 242, 0.04); }
.mcat-btn[aria-expanded="true"] { color: var(--text); background: rgba(109, 79, 216, 0.2); }
.mcat-n { font-size: 12px; font-weight: 600; color: var(--faint); font-variant-numeric: tabular-nums; }
.mcat-btn[aria-expanded="true"] .mcat-n { color: var(--accent-ink); }
.mcat-panel { grid-column: 2; grid-row: 1 / span var(--n); display: none; }
.mcat-btn[aria-expanded="true"] + .mcat-panel { display: block; }
.mega-title { font-size: 16px; font-weight: 650; color: var(--text); margin: 6px 0 12px; letter-spacing: -0.01em; }
.mega-feat { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mega-prod { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); transition: border-color 160ms ease, background-color 160ms ease; }
.mega-prod:hover { border-color: rgba(178, 157, 247, 0.4); background: var(--bg-3); }
.mega-plate { width: 56px; height: 56px; border-radius: 10px; background: var(--plate); display: grid; place-items: center; flex-shrink: 0; overflow: hidden; }
.mega-plate img { width: 82%; height: 82%; object-fit: contain; mix-blend-mode: multiply; }
.mega-prod b { display: block; font-size: 14px; font-weight: 600; color: var(--text); line-height: 1.3; }
.mega-prod small { font-size: 12px; color: var(--faint); }
.mega-prod .new { font-size: 10px; margin-left: 6px; vertical-align: 1px; }
.mega-list { list-style: none; columns: 3 150px; column-gap: 28px; margin-top: 14px; }
.mega-list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 10px; margin: 0 -10px; border-radius: 10px; font-size: 14px; color: var(--muted); transition: color 140ms ease, background-color 140ms ease; }
.mega-list a span { font-size: 12px; color: var(--faint); }
.mega-list a .new { color: #fff; font-size: 10px; margin-left: auto; margin-right: 4px; }
.mega-list a:hover { color: var(--text); background: rgba(236, 235, 242, 0.05); }
/* every listed product with a small picture on the same light plate as the cards */
.mega-list li { break-inside: avoid; }
.mega-list a { align-items: center; padding: 5px 10px; }
.mega-mini { width: 32px; height: 32px; flex-shrink: 0; display: grid; place-items: center; border-radius: 8px; background: var(--plate); overflow: hidden; }
.mega-mini img { width: 84%; height: 84%; object-fit: contain; mix-blend-mode: multiply; }
.mega-list a .mega-name { flex: 1; min-width: 0; font-size: 14px; color: inherit; }
.mega-list a .mega-name .new { margin-left: 6px; }
.mega-foot { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 18px; }
.mega-foot a { font-size: 14px; font-weight: 600; color: var(--accent-ink); }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: transform 160ms var(--ease), background-color 200ms ease, border-color 200ms ease; }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border: 1px solid var(--line-2); color: var(--text); }
.btn-ghost:hover { border-color: rgba(236, 235, 242, 0.32); }
.arrow { display: inline-block; transition: transform 200ms var(--ease); }
a:hover .arrow { transform: translateX(3px); }
/* crossed-out Lovense list price (added by list-prices.js, same logic as the live site) */
.pvr-was { text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: 0.6; font-weight: 500; font-size: 0.86em; white-space: nowrap; }
.pvr-off { display: inline-block; margin-left: 0.45em; padding: 0.1em 0.55em; border-radius: 999px; background: var(--accent); color: #fff; font-size: max(0.42em, 11px); font-weight: 700; line-height: 1.45; letter-spacing: 0.02em; vertical-align: middle; white-space: nowrap; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-ink); }

/* ── footer ───────────────────────────────────────────────────────── */
footer { border-top: 1px solid var(--line); margin-top: clamp(56px, 7vw, 104px); padding: 56px 0 40px; color: var(--muted); font-size: 14px; }
.fcols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
footer h4 { color: var(--text); font-size: 14px; font-weight: 600; margin-bottom: 14px; }
footer ul { list-style: none; display: grid; gap: 9px; }
footer a:hover { color: var(--text); }
.legal { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.65; }
.legal-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 48px; }
.legal-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }   /* links on the left: on wide screens the promo popup (bottom right) covered them, Cookie settings included */
.legal strong { color: var(--text); font-weight: 600; }
.legal-links { display: flex; gap: 8px 20px; flex-wrap: wrap; font-size: 0; }   /* font-size 0 hides the loose " • " the live cookie script inserts */
.legal-links a { font-size: 13px; }
.legal-links .cookie-settings-link { margin: 0 !important; color: inherit !important; }   /* "Cookie settings", added by js/cookie-consent.min.js */

/* ── motion: reveal on scroll (IntersectionObserver in taste.js) ──── */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
  html.js .reveal.is-in { opacity: 1; transform: none; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes settle { from { opacity: 0; transform: scale(0.97); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0ms !important; animation: none !important; }
}

/* ── responsive shell ─────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .burger { display: inline-block; }
  .nav-links { display: none; position: absolute; top: var(--nav-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px clamp(16px, 4vw, 40px) 20px; background: var(--bg); border-bottom: 1px solid var(--line); max-height: calc(100dvh - var(--nav-h)); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links > li { width: 100%; border-bottom: 1px solid var(--line); }
  .nav-links > li:last-child { border-bottom: 0; }
  .nav-links > li > a, .mega-trigger { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 16px; border-radius: 0; color: var(--text); }
  .mega-trigger[aria-expanded="true"] { background: none; }
  .mega { position: static; display: none; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .mega.open { display: block; }
  .mega .wrap { padding: 0; }
  .mega-inner { padding: 0 0 16px; }
  .mega-2p { display: block; }
  .mcat { display: block; }
  .mcat + .mcat { border-top: 1px solid var(--line); }
  .mcat-btn { padding: 12px 2px; border-radius: 0; font-size: 15px; color: var(--text); }
  .mcat-btn:hover, .mcat-btn[aria-expanded="true"] { background: none; }
  .mcat-btn .mcat-n::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 12px; border-right: 1.5px solid var(--muted); border-bottom: 1.5px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform 200ms var(--ease); }
  .mcat-btn[aria-expanded="true"] .mcat-n::after { transform: translateY(1px) rotate(225deg); }
  .mcat-panel { padding: 0 0 14px; }
  .mcat-panel .mega-title { display: none; }
  .mega-feat { grid-template-columns: 1fr; gap: 8px; }
  .mega-list { columns: 1; margin-top: 8px; }
  .mega-foot { flex-direction: column; margin-top: 4px; }
  .lang { margin: 14px 0 0; align-self: flex-start; }
  .nav-links > li.lang-li { border-bottom: 0; }
}
@media (max-width: 900px) {
  .fcols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .fcols { grid-template-columns: 1fr; }
  .legal-notes { grid-template-columns: 1fr; }
}

/* language menu (pages that exist in nine languages) */
.lang-menu { position: relative; margin-left: 8px; }
.lang-menu summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: 12.5px; font-weight: 600; color: var(--text);
  border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu[open] summary .chev { transform: translateY(1px) rotate(225deg); }
.lang-menu__list { position: absolute; right: 0; top: calc(100% + 8px); z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px;
  background: #0e0d13; border: 1px solid var(--line-2); border-radius: 16px; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7); }
.lang-menu__list a { font-size: 12.5px; font-weight: 600; color: var(--muted); padding: 6px 10px; border-radius: 10px; text-align: center; }
.lang-menu__list a:hover { color: var(--text); background: rgba(236, 235, 242, 0.06); }
.lang-menu__list a[aria-current] { color: var(--bg); background: var(--text); }
@media (max-width: 1080px) {
  .lang-menu { margin: 14px 0 0; }
  .lang-menu__list { position: static; margin-top: 8px; grid-template-columns: repeat(5, 1fr); box-shadow: none; }
}

/* live promo popup: sit above the preview's bottom buy bar when it is shown */
/* lift the promo above the buy bar only where the bar is visible: always on articles, up to 1024px on reviews */
.ar-page:has(.buybar.show) .pvr-promo { bottom: 92px !important; }
@media (max-width: 1024px) { body:has(.buybar.show) .pvr-promo { bottom: 92px !important; } }

/* ── Compare and Lush Comparison in colour (the user, 2026-10-11), in the redesign's violets rather than the old
   pink and coral ("dans les nouvelles couleurs et DA du site"): a lavender to near-white to violet gradient that
   slowly slides, a soft violet glow, and a violet New badge ── */
.nav-links > li > a.nav-glow { font-weight: 600; background-image: linear-gradient(90deg, var(--ng1) 0%, var(--ng2) 25%, var(--ng3) 50%, var(--ng2) 75%, var(--ng1) 100%); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; animation: navShine 5s linear infinite, navGlow 2.8s ease-in-out infinite alternate; }
.nav-glow--compare, .nav-glow--lush { --ng1: #b29df7; --ng2: #e4dcff; --ng3: #8b6ff0; --ngc: rgb(109 79 216 / 75%); }
.nav-glow--lush { animation-delay: -2.5s, -1.4s !important; }
.nav-links > li > a.nav-glow .new { -webkit-text-fill-color: #fff; color: #fff; background: linear-gradient(135deg, #6d4fd8, #9b82f5); box-shadow: 0 0 8px rgba(109, 79, 216, 0.55), 0 0 16px rgba(178, 157, 247, 0.35); animation: navBadgeGlow 1.6s ease-in-out infinite alternate; }
@keyframes navShine { from { background-position: 0% center; } to { background-position: -200% center; } }
@keyframes navGlow { from { filter: drop-shadow(0 0 1px var(--ngc)); } to { filter: drop-shadow(0 0 7px var(--ngc)); } }
@keyframes navBadgeGlow { from { box-shadow: 0 0 5px rgba(109, 79, 216, 0.45), 0 0 10px rgba(178, 157, 247, 0.25); } to { box-shadow: 0 0 10px rgba(109, 79, 216, 0.8), 0 0 22px rgba(178, 157, 247, 0.45); } }
@media (prefers-reduced-motion: reduce) {
  .nav-links > li > a.nav-glow, .nav-links > li > a.nav-glow .new { animation: none; }
  .nav-links > li > a.nav-glow { filter: drop-shadow(0 0 4px var(--ngc)); }
}
