/* MELINA — moderne, porté par la photo, animé. Mobile d'abord, compatible RTL. */

:root {
  --bg: #ffffff;
  --soft: #f7f3f1;
  --blush: #fbeef0;
  --ink: #141414;
  --ink-2: #4a4646;
  --muted: #8e8888;
  --line: #ece7e5;
  --rose: #b83260;
  --rose-d: #962449;
  --err: #c0262d;
  --ok: #2f7a4f;
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 16px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: 18px;
}
html[dir="rtl"] { --font: "Cairo", system-ui, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  animation: page-in .6s var(--ease) both;
}
@keyframes page-in { from { opacity: 0; } }
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; font-weight: 600; letter-spacing: -.02em; }
html[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--rose); color: #fff; }

.wrap { width: 100%; max-width: 1400px; margin-inline: auto; padding-inline: var(--gutter); }
.narrow { max-width: 640px; }
.muted { color: var(--muted); }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 8px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 8px; }
.arr { display: inline-block; transition: transform .35s var(--ease); }
html[dir="rtl"] .arr { transform: scaleX(-1); }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: var(--rose); }
html[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }

/* ---------- Animations d'apparition ---------- */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.anim-up { animation: up 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes up { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Bandeau défilant ---------- */
.announce { background: var(--ink); color: #fff; overflow: hidden; font-size: 12.5px; font-weight: 400; letter-spacing: .04em; }
html[dir="rtl"] .announce { font-size: 13.5px; letter-spacing: 0; }
.ticker { display: flex; width: max-content; animation: ticker 38s linear infinite; }
.ticker > span { padding: 8px 28px; white-space: nowrap; }
html[dir="rtl"] .ticker { animation-name: ticker-rtl; }
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes ticker-rtl { to { transform: translateX(50%); } }

/* ---------- En-tête : barre de verre flottante ---------- */
:root {
  --bar-h: 58px;
  --bar-gap: 8px;
  --header-h: calc(var(--bar-h) + var(--bar-gap) * 2);
  --glass-bg: rgba(255, 255, 255, .62);
  --glass-border: rgba(255, 255, 255, .75);
  --glass-blur: blur(22px) saturate(180%);
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  padding-block: var(--bar-gap); color: var(--ink);
  transition: transform .55s var(--ease), color .4s ease;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.site-header.hide:not(.mega-open):not(.search-open) { transform: translateY(-110%); }

/* La barre elle-même */
.header-row {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: var(--bar-h);
  padding-inline: 10px;
  border-radius: 999px;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 40px -12px rgba(30, 10, 20, .22), inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(255, 255, 255, .25);
  transition: height .5s var(--ease), background .45s ease, border-color .45s ease, box-shadow .45s ease;
}
/* reflet de lumière qui traverse le verre */
.header-row::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: linear-gradient(115deg, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 68%, rgba(255, 255, 255, .25) 100%);
  opacity: .7;
}
.wrap.header-row { max-width: calc(1400px - var(--gutter) * 2); width: calc(100% - var(--gutter) * 2); }
.site-header.scrolled .header-row { --glass-bg: rgba(255, 255, 255, .72); box-shadow: 0 14px 44px -14px rgba(30, 10, 20, .3), inset 0 1px 0 rgba(255, 255, 255, .9); }

.header-start { display: flex; align-items: center; gap: 2px; min-width: 0; }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.logo { position: relative; display: inline-flex; align-items: center; line-height: 1; text-decoration: none; }
.logo img { display: block; width: auto; height: 30px; transition: height .5s var(--ease), filter .4s ease; } /* rose sur fond clair, or sur la photo */
.logo .logo-gold { display: none; }
.home .site-header.on-hero:not(.mega-open):not(.search-open) .logo .logo-gold { display: block; }
.home .site-header.on-hero:not(.mega-open):not(.search-open) .logo .logo-rose { display: none; }

.hbtn {
  position: relative; display: inline-grid; place-items: center;
  width: 42px; height: 42px; padding: 0; border: 0; border-radius: 50%;
  background: transparent; color: inherit; cursor: pointer; text-decoration: none;
  transition: background .25s, transform .25s var(--ease);
}
.hbtn:hover { background: color-mix(in srgb, currentColor 10%, transparent); }
.hbtn:active { transform: scale(.92); }
.hbtn svg, .nav-link svg, .search-inner > svg, .drawer-search svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.badge { position: absolute; top: 3px; inset-inline-end: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--rose); color: #fff; font-size: 11px; font-weight: 600; display: grid; place-items: center; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(0); } }
.badge[hidden] { display: none; }

[data-tip]::after {
  content: attr(data-tip); position: absolute; top: calc(100% + 10px); left: 50%;
  padding: 6px 10px; border-radius: 10px; background: rgba(20, 20, 20, .85); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #fff;
  font-size: 12px; font-weight: 500; white-space: nowrap; pointer-events: none;
  opacity: 0; transform: translate(-50%, -4px); transition: opacity .2s, transform .25s var(--ease);
}
[data-tip]:hover::after { opacity: 1; transform: translate(-50%, 0); }

/* Langue : interrupteur en verre */
.lang-toggle { display: inline-flex; padding: 3px; border-radius: 999px; background: color-mix(in srgb, currentColor 7%, transparent); margin-inline-end: 4px; }
.lang-toggle a { padding: 4px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.4; text-decoration: none; opacity: .75; transition: background .3s, color .3s, opacity .3s; }
.lang-toggle a[lang="ar"] { font-family: "Cairo", sans-serif; font-size: 15px; line-height: 1.25; }
.lang-toggle a:hover { opacity: 1; }
.lang-toggle a[aria-current] { background: var(--ink); color: #fff; opacity: 1; box-shadow: 0 2px 8px rgba(0, 0, 0, .15); }

/* Navigation : jamais sur deux lignes */
.main-nav { display: none; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  padding: 9px 14px; border: 0; border-radius: 999px; background: none; color: inherit;
  font-size: 14.5px; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: background .25s;
}
.nav-link:hover, .nav-link[aria-expanded="true"] { background: color-mix(in srgb, currentColor 9%, transparent); }
.nav-link svg { width: 16px; height: 16px; transition: transform .35s var(--ease); }
.nav-link[aria-expanded="true"] svg { transform: rotate(180deg); }

.search-btn, .lang-menu { display: none; }
@media (min-width: 960px) {
  :root { --bar-h: 64px; --bar-gap: 12px; --gutter: 40px; }
  .menu-btn, .search-btn-m { display: none; }
  .main-nav { display: flex; gap: 2px; }
  .main-nav .nav-link:nth-child(n+3) { display: none; }
  .search-btn, .track-btn { display: inline-grid; }
  .lang-menu { display: block; }
  .header-row { padding-inline: 14px; }
  .logo img { height: 38px; }
  .site-header.scrolled .header-row { height: 56px; }
  .site-header.scrolled .logo img { height: 32px; }
}
@media (min-width: 1280px) { .main-nav .nav-link:nth-child(n+3) { display: inline-flex; } }

/* Accueil : verre teinté au-dessus de la photo */
.home .site-header.on-hero:not(.mega-open):not(.search-open) { color: #fff; }
.home .site-header.on-hero:not(.mega-open):not(.search-open) .header-row {
  --glass-bg: rgba(20, 12, 16, .22); --glass-border: rgba(255, 255, 255, .28);
  box-shadow: 0 10px 40px -14px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.home .site-header.on-hero:not(.mega-open):not(.search-open) .header-row::before { opacity: .25; }
.home .site-header.on-hero:not(.mega-open):not(.search-open) .lang-toggle a[aria-current] { background: #fff; color: var(--ink); }

/* Panneaux en verre sous la barre (méga-menu, recherche) */
.mega, .search-bar {
  position: absolute; z-index: 1; top: calc(100% - var(--bar-gap) + 10px); inset-inline: 0;
  color: var(--ink);
  visibility: hidden; opacity: 0; transform: translateY(-12px) scale(.985); transform-origin: top center;
  transition: opacity .3s ease, transform .5s var(--ease), visibility 0s .5s;
}
.mega-open .mega, .search-open .search-bar { visibility: visible; opacity: 1; transform: none; transition: opacity .3s ease, transform .5s var(--ease); }
.mega-inner, .search-inner {
  max-width: calc(1400px - var(--gutter) * 2); width: calc(100% - var(--gutter) * 2); margin-inline: auto;
  border-radius: 28px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 70px -24px rgba(30, 10, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.mega-inner { display: grid; grid-template-columns: 1fr 260px; gap: 40px; padding: 28px; }
/* le méga-menu n'existe que sur ordinateur : sur mobile il élargissait la page (défilement latéral) */
@media (max-width: 959px) { .mega, .mega-veil { display: none; } }
.mega-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.mega-cat { text-decoration: none; font-weight: 500; font-size: 14.5px; display: grid; gap: 10px; opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s var(--ease); }
.mega-open .mega-cat { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 80ms); }
.mega-img { display: block; aspect-ratio: 3 / 4; border-radius: 18px; overflow: hidden; background: var(--soft); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .8s var(--ease); }
.mega-cat:hover .mega-img img { transform: scale(1.07); }
.mega-cat:hover > span:last-child { color: var(--rose); }
.mega-side { display: grid; align-content: center; gap: 12px; padding-inline-start: 36px; border-inline-start: 1px solid rgba(0, 0, 0, .08); }
.mega-text { color: var(--ink-2); font-size: 15px; }
.search-inner { display: flex; align-items: center; gap: 12px; height: 72px; padding-inline: 24px 12px; }
.search-inner > svg { color: var(--muted); flex: none; }
.search-inner input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: clamp(18px, 2.2vw, 22px); padding: 8px 0; }
.search-inner input::placeholder { color: #a49c9a; }

/* Voile flouté sur la page quand un panneau est ouvert */
.mega-veil {
  position: fixed; inset: 0; z-index: 39;
  background: rgba(30, 12, 20, .22);
  -webkit-backdrop-filter: blur(6px) saturate(120%); backdrop-filter: blur(6px) saturate(120%);
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.mega-on .mega-veil, .search-on .mega-veil { opacity: 1; pointer-events: auto; }

/* ---------- Menu mobile ---------- */
.drawer { position: fixed; inset: 0; z-index: 60; background: rgba(30, 12, 20, .3); -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%); animation: fade .35s; }
@keyframes fade { from { opacity: 0; } }
.drawer[hidden] { display: none; }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: min(90vw, 400px);
  background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(24px) saturate(180%); backdrop-filter: blur(24px) saturate(180%); border-inline-end: 1px solid rgba(255, 255, 255, .7); box-shadow: 20px 0 60px -20px rgba(30, 10, 20, .35); padding: 12px 20px 24px; display: flex; flex-direction: column; gap: 18px; overflow-y: auto;
  border-start-end-radius: 26px; border-end-end-radius: 26px; animation: slide-in .5s var(--ease);
}
html[dir="rtl"] .drawer-panel { animation-name: slide-in-rtl; }
@keyframes slide-in { from { transform: translateX(-100%); } }
@keyframes slide-in-rtl { from { transform: translateX(100%); } }
.drawer-top { display: flex; align-items: center; justify-content: space-between; margin-inline-end: -8px; }
.drawer-top .logo img { height: 30px; }
.drawer-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 50px; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid rgba(0, 0, 0, .06); color: var(--muted); }
.drawer-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 16px; color: var(--ink); }
.drawer-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.drawer-cat { position: relative; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: var(--soft); text-decoration: none; animation: up .6s var(--ease) both; animation-delay: calc(var(--i) * 50ms + .1s); }
.drawer-cat img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.drawer-cat::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.drawer-cat span { position: absolute; z-index: 1; inset-inline: 12px; bottom: 10px; color: #fff; font-weight: 600; font-size: 15px; line-height: 1.25; }
.drawer-links { display: grid; }
.drawer-links a { display: flex; justify-content: space-between; align-items: center; padding: 14px 2px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 17px; font-weight: 500; }
.drawer-foot { margin-top: auto; display: grid; gap: 12px; }
.drawer-foot .lang-toggle { display: flex; margin: 0; }
.drawer-foot .lang-toggle a { flex: 1; text-align: center; padding: 8px; font-size: 14px; }

/* ---------- Boutons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 14px 34px;
  background: var(--ink); color: #fff;
  border: 1.5px solid var(--ink); border-radius: 999px;
  font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(0, 0, 0, .35); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; box-shadow: none; }
.btn-rose { background: var(--rose); border-color: var(--rose); }
.btn-rose:hover { background: var(--rose-d); border-color: var(--rose-d); box-shadow: 0 14px 30px -12px rgba(184, 50, 96, .6); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-wa { background: #25d366; border-color: #25d366; color: #0b2b17; }
.btn-lg { min-height: 58px; font-size: 16px; }
.btn-block { width: 100%; }
.link-btn { background: none; border: 0; padding: 4px 0; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: 13px; color: var(--muted); }
.link-arrow { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; }
.link-arrow:hover .arr { transform: translateX(5px); }
html[dir="rtl"] .link-arrow:hover .arr { transform: scaleX(-1) translateX(5px); }
.round-btn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: none; cursor: pointer; font-size: 18px; display: grid; place-items: center; transition: background .25s, color .25s, transform .25s; }
.round-btn:hover { background: var(--ink); color: #fff; }
.round-btn:active { transform: scale(.94); }

/* ---------- Hero plein écran ---------- */
.hero-full {
  position: relative; overflow: hidden; isolation: isolate;
  height: calc(100svh - 36px); min-height: 580px; max-height: 1000px;
  margin-top: calc(var(--header-h) * -1);
  background: #1a1214; color: #fff;
}
.hf-media { position: absolute; inset: 0; z-index: -2; }
.hf-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%;
  opacity: 0; transform: scale(1.08); transition: opacity 1.6s ease;
}
.hf-media img.active { opacity: 1; animation: hf-zoom 9s ease-out forwards; }
@keyframes hf-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
/* voile pour la lisibilité du texte */
.hero-full::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(80% 55% at 50% 85%, rgba(0, 0, 0, .5), transparent 75%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 55%, rgba(0, 0, 0, .55) 100%);
}

.hf-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding-top: var(--header-h); justify-content: flex-end; padding-bottom: clamp(70px, 11vh, 120px);
}
.hf-eyebrow { font-size: 13px; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; opacity: .92; margin-bottom: 18px; }
html[dir="rtl"] .hf-eyebrow { letter-spacing: 0; font-size: 15px; }
.hf-title { font-size: clamp(46px, 7vw, 104px); font-weight: 600; line-height: .92; letter-spacing: -.045em; text-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
html[dir="rtl"] .hf-title { letter-spacing: 0; line-height: 1.2; }
.hf-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hf-title .word > span { display: inline-block; animation: word-up 1.2s var(--ease) both; animation-delay: var(--d); }
@keyframes word-up { from { transform: translateY(108%); } }
.hf-sub { font-size: clamp(15px, 1.4vw, 18px); max-width: 44ch; margin-block: 20px 34px; opacity: .92; }
.hf-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 28px; }
.hf-link { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding-bottom: 3px; background: linear-gradient(#fff, #fff) no-repeat 0 100% / 100% 1px; transition: background-size .45s var(--ease); }
.hf-link:hover { background-size: 0 1px; background-position: 100% 100%; }
.hf-link:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .hf-link:hover .arr { transform: scaleX(-1) translateX(4px); }

.hf-dots { position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; gap: 8px; }
.hf-dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .35); overflow: hidden; cursor: pointer; }
.hf-dots button i { display: block; height: 100%; width: 0; background: #fff; }
.hf-dots button[aria-selected="true"] i { animation: fill-bar 6s linear forwards; }
@keyframes fill-bar { to { width: 100%; } }

.scroll-cue { display: none; }
@media (min-width: 900px) {
  .scroll-cue { display: block; position: absolute; z-index: 2; bottom: 28px; inset-inline-end: var(--gutter); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .8); border-radius: 14px; }
  .scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Bande défilante des catégories ---------- */
.ticker-band { background: var(--blush); overflow: hidden; border-block: 1px solid #f3dde2; }
.ticker-slow { animation-duration: 45s; }
.ticker-band .ticker > span { padding: 18px 20px; font-size: clamp(20px, 3vw, 30px); font-weight: 500; letter-spacing: -.01em; }
.ticker-band .dot { color: var(--rose); font-size: 16px !important; display: grid; place-items: center; }

/* ---------- Sections ---------- */
.section { padding-block: 64px; }
.section-tight { padding-block: 24px 64px; }
@media (min-width: 960px) { .section { padding-block: 96px; } }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title { font-size: clamp(30px, 4.6vw, 52px); }
.section > .wrap > .section-title { margin-bottom: 28px; }
.page-head { background: var(--blush); padding-block: 44px 36px; text-align: center; }
.page-title { font-size: clamp(36px, 7vw, 68px); margin-bottom: 6px; animation: up .9s var(--ease) both; }
.crumbs { padding-block: 16px; font-size: 13px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--rose); }

/* ---------- Univers (grille bento) ---------- */
.univers-head { display: grid; gap: 14px; margin-bottom: 32px; }
.univers-head .eyebrow { margin-bottom: 10px; }
.univers-intro { color: var(--ink-2); max-width: 40ch; font-size: 16px; }
@media (min-width: 900px) { .univers-head { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }

/* Mobile : cartes hautes qui défilent au doigt */
.bento {
  display: grid; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
}
.bento::-webkit-scrollbar { display: none; }
.tile {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  aspect-ratio: 3 / 4; border-radius: 22px; background: var(--soft);
  color: #fff; text-decoration: none; scroll-snap-align: start;
}
.tile-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transition: transform 1.4s var(--ease), opacity .8s ease; }
.tile-img-2 { opacity: 0; }
.tile:hover .tile-img { transform: scale(1.07); }
.tile:hover .tile-img-2 { opacity: 1; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .18) 0%, transparent 30%, transparent 50%, rgba(0, 0, 0, .62) 100%); transition: opacity .5s; }

.tile-num { position: absolute; z-index: 2; top: 16px; inset-inline-start: 18px; font-size: 13px; font-weight: 600; letter-spacing: .1em; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .3); }
.tile-body { position: absolute; z-index: 2; inset-inline: 18px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.tile-text { display: grid; gap: 2px; transform: translateY(6px); transition: transform .6s var(--ease); }
.tile:hover .tile-text { transform: none; }
.tile-name { font-size: clamp(22px, 2.4vw, 32px); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; text-wrap: balance; }
html[dir="rtl"] .tile-name { letter-spacing: 0; line-height: 1.3; }
.tile-count { font-size: 13.5px; opacity: .85; }
.tile-go {
  flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%;
  background: #fff; color: var(--ink);
  transition: background .4s var(--ease), color .4s var(--ease), transform .6s var(--ease);
}
.tile-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--ease); }
html[dir="rtl"] .tile-go svg { transform: scaleX(-1); }
.tile:hover .tile-go { background: var(--rose); color: #fff; transform: scale(1.08); }
.tile:hover .tile-go svg { transform: rotate(45deg); }
html[dir="rtl"] .tile:hover .tile-go svg { transform: scaleX(-1) rotate(45deg); }

/* Ordinateur : cartes portrait identiques, 4 par rangée ; la dernière rangée incomplète est centrée
   (fonctionne quel que soit le nombre de catégories, sans recadrer les photos en largeur) */
@media (min-width: 900px) {
  .bento { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; overflow: visible; margin: 0; padding: 0; }
  .tile { flex: 0 0 calc((100% - 48px) / 4); aspect-ratio: 3 / 4; border-radius: 26px; }
  .tile-num { top: 20px; inset-inline-start: 22px; }
  .tile-body { inset-inline: 22px; bottom: 22px; }
}

/* ---------- Grille produits ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 12px; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 22px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card-link { display: block; text-decoration: none; }
.card-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--soft); border-radius: var(--radius); isolation: isolate; }
.card-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.1s var(--ease), opacity .6s ease; }
.card-media img.alt { position: absolute; inset: 0; opacity: 0; }
.card-link:hover .card-media img { transform: scale(1.06); }
.card-link:hover .card-media img.alt { opacity: 1; }
.card-cta {
  position: absolute; inset-inline: 12px; bottom: 12px; z-index: 2;
  display: grid; place-items: center; height: 44px; border-radius: 999px;
  background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); color: var(--ink);
  font-size: 14px; font-weight: 600;
  transform: translateY(140%); transition: transform .5s var(--ease);
}
.card-link:hover .card-cta { transform: none; }
@media (hover: none) { .card-cta { display: none; } }
.card-body { padding-top: 12px; }
.card-title { font-size: 14.5px; font-weight: 500; line-height: 1.35; margin-bottom: 4px; letter-spacing: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; font-weight: 600; font-size: 15px; }
.price s { color: var(--muted); font-weight: 400; font-size: .88em; }
.card .price > span:first-child { color: var(--rose); }
.price-lg { font-size: 24px; margin-block: 10px 4px; }
.price-lg > span:first-child { color: var(--rose); }

.ph { width: 100%; height: 100%; display: grid; place-items: center; padding: 16px; text-align: center; background: var(--soft); }
.ph span { font-size: 15px; color: var(--muted); }
.ph-lg { aspect-ratio: 3 / 4; border-radius: var(--radius); }

.tag { position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; direction: ltr; unicode-bidi: isolate; }
.tag-sale { background: var(--rose); color: #fff; }
.tag-out { background: var(--ink); color: #fff; }
.tag-lg { top: 16px; inset-inline-start: 16px; font-size: 14px; padding: 6px 14px; }

/* ---------- Section vedette Beldi ---------- */
.feature { position: relative; overflow: hidden; background: #2a0f1b; color: #fff; padding-block: 72px 80px; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 70% at 85% 50%, rgba(184, 50, 96, .45), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(184, 50, 96, .25), transparent 70%); pointer-events: none; }
.feature-bg { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.feature-ticker { animation-duration: 70s; }
.feature-ticker span { padding: 0 .25em; font-size: clamp(120px, 22vw, 320px); font-weight: 700; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .1); white-space: nowrap; }
.feature-ticker span:nth-child(even) { font-family: "Cairo", sans-serif; }

.feature-grid { position: relative; z-index: 1; display: grid; gap: 44px; align-items: center; }
.feature-text { display: grid; gap: 18px; justify-items: start; }
.feature .eyebrow { color: #ff9cc0; }
.feature-title { font-size: clamp(46px, 6.4vw, 92px); line-height: .95; letter-spacing: -.035em; }
html[dir="rtl"] .feature-title { line-height: 1.25; letter-spacing: 0; }
.feature-desc { color: rgba(255, 255, 255, .74); max-width: 42ch; font-size: 17px; }
.feature-chips { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.feature-chips li { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); font-size: 14px; }
.feature-chips strong { color: #ff9cc0; font-weight: 700; }
.feature-cta { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.feature-cta .btn:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .feature-cta .btn:hover .arr { transform: scaleX(-1) translateX(4px); }

/* Éventail de produits */
.fan { display: grid; grid-auto-flow: column; grid-auto-columns: 64%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
.fan::-webkit-scrollbar { display: none; }
.fan-card { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 20px; overflow: hidden; scroll-snap-align: start; text-decoration: none; color: #fff; background: #3a1726; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .7); }
.fan-card img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.fan-card::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.fan-info { position: absolute; z-index: 1; inset-inline: 14px; bottom: 14px; display: grid; gap: 8px; justify-items: start; }
.fan-name { font-weight: 600; font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.fan-price { padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--rose); font-weight: 700; font-size: 14px; }
.js .fan.reveal .fan-card { opacity: 0; transform: translateY(40px); transition: opacity .8s ease, transform 1s var(--ease); transition-delay: calc(var(--i) * 110ms); }
.js .fan.reveal { opacity: 1; transform: none; }
.js .fan.in .fan-card { opacity: 1; transform: none; }

@media (min-width: 900px) {
  .feature { padding-block: 110px 120px; }
  .feature-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 40px; }
  .fan { display: block; position: relative; height: 560px; overflow: visible; margin: 0; padding: 0; }
  .fan-card {
    --off: calc(var(--i) - (var(--n) - 1) / 2);
    --x: calc(var(--off) * 105px); --r: calc(var(--off) * 7deg); --y: calc(var(--off) * var(--off) * 10px); --s: 1;
    position: absolute; left: 50%; top: 50%; width: min(260px, 22vw);
    transform-origin: 50% 110%;
    transform: translate(-50%, -50%) translateX(var(--x)) translateY(var(--y)) rotate(var(--r)) scale(var(--s));
    transition: transform .8s var(--ease), box-shadow .5s ease, opacity .8s ease;
  }
  html[dir="rtl"] .fan-card { --x: calc(var(--off) * -105px); --r: calc(var(--off) * -7deg); }
  .fan:hover .fan-card { --x: calc(var(--off) * 140px); --r: calc(var(--off) * 4deg); --y: 0px; }
  html[dir="rtl"] .fan:hover .fan-card { --x: calc(var(--off) * -140px); --r: calc(var(--off) * -4deg); }
  .fan .fan-card:hover { --y: -28px; --s: 1.05; z-index: 10; box-shadow: 0 40px 70px -25px rgba(0, 0, 0, .8); }
  .fan-card:hover img { transform: scale(1.06); }
  /* Apparition : les cartes partent du centre, empilées, puis s'ouvrent en éventail */
  .js .fan.reveal .fan-card { --x: 0px; --r: 0deg; --y: 80px; opacity: 0; transform: translate(-50%, -50%) translateX(var(--x)) translateY(var(--y)) rotate(var(--r)) scale(var(--s)); transition: transform 1.1s var(--ease), opacity .7s ease; transition-delay: calc(var(--i) * 120ms); }
  .js .fan.reveal.in .fan-card { --x: calc(var(--off) * 105px); --r: calc(var(--off) * 7deg); --y: calc(var(--off) * var(--off) * 10px); opacity: 1; transform: translate(-50%, -50%) translateX(var(--x)) translateY(var(--y)) rotate(var(--r)) scale(var(--s)); }
  html[dir="rtl"] .js .fan.reveal.in .fan-card { --x: calc(var(--off) * -105px); --r: calc(var(--off) * -7deg); }
  .js .fan.reveal.in:hover .fan-card { --x: calc(var(--off) * 140px); --r: calc(var(--off) * 4deg); --y: 0px; transition-delay: 0s; }
  html[dir="rtl"] .js .fan.reveal.in:hover .fan-card { --x: calc(var(--off) * -140px); --r: calc(var(--off) * -4deg); }
  .js .fan.reveal.in .fan-card:hover { --y: -28px; --s: 1.05; z-index: 10; }
}

/* ---------- Carrousel ---------- */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 66%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-inline: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); scroll-padding-inline: max(var(--gutter), calc((100vw - 1400px) / 2 + var(--gutter))); cursor: grab; }
.carousel::-webkit-scrollbar { display: none; }
.carousel.dragging { cursor: grabbing; scroll-snap-type: none; }
.carousel.dragging a { pointer-events: none; }
.carousel .card { scroll-snap-align: start; }
@media (min-width: 760px) { .carousel { grid-auto-columns: 34%; gap: 22px; } }
@media (min-width: 1100px) { .carousel { grid-auto-columns: calc((min(100vw, 1400px) - 80px - 66px) / 4); } }
.carousel-nav { display: flex; gap: 10px; }

/* ---------- Comment ça marche ---------- */
.how { background: var(--blush); padding-block: 72px; text-align: center; }
.how-title { font-size: clamp(28px, 4.4vw, 46px); margin: 0 auto 44px; max-width: 20ch; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 34px; }
.how-steps li { display: grid; justify-items: center; gap: 10px; }
.how-icon { width: 68px; height: 68px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 4px; box-shadow: 0 10px 30px -14px rgba(184, 50, 96, .45); transition: transform .5s var(--ease); }
.how-steps li:hover .how-icon { transform: translateY(-6px) rotate(-6deg); }
.how-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--rose); stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }
.how-steps strong { font-size: 19px; font-weight: 600; }
.how-steps p { color: var(--ink-2); max-width: 30ch; }
@media (min-width: 860px) { .how { padding-block: 100px; } .how-steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Lookbook ---------- */
.look { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 760px) { .look { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.look-item { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); text-decoration: none; }
.look-item:nth-child(3n+2) { aspect-ratio: 4 / 5.6; }
.look-item img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.2s var(--ease); }
.look-item:hover img { transform: scale(1.07); }
.look-tag { position: absolute; inset-inline: 10px; bottom: 10px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(6px); font-size: 13px; font-weight: 500; transform: translateY(130%); transition: transform .5s var(--ease); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.look-item:hover .look-tag { transform: none; }
@media (hover: none) { .look-tag { transform: none; } }

/* ---------- Catalogue ---------- */
.chips-bar { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: top .45s var(--ease); }
.header-hidden .chips-bar { top: 0; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; padding: 9px 18px; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 500; font-size: 14px; white-space: nowrap; transition: border-color .25s, background .25s, color .25s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.toolbar { display: flex; gap: 10px; margin-bottom: 32px; }
.toolbar .search { flex: 1; }
.toolbar input, .toolbar select, .field input, .field textarea, .track-form input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: #fff;
  font-size: 16px; transition: border-color .25s, box-shadow .25s;
}
.toolbar select { appearance: none; padding-inline-end: 40px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center; font-size: 14px; font-weight: 500; }
html[dir="rtl"] .toolbar select { background-position: left 16px center; }
.toolbar input:focus, .toolbar select:focus, .field input:focus, .field textarea:focus, .track-form input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(184, 50, 96, .12); }
.pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 48px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; text-decoration: none; font-weight: 500; transition: background .2s; }
.pager a:hover { background: var(--soft); }
.pager a[aria-current] { background: var(--ink); color: #fff; }
.empty { text-align: center; padding-block: 56px; display: grid; gap: 22px; justify-items: center; }
.empty-big { font-size: clamp(24px, 4vw, 36px); max-width: 20ch; }

/* ---------- Page produit ---------- */
/* Bandeau promo + encadré « ne rate pas l'occasion » sous le prix (comme sur melinaclothes.com) */
.promo-strip { direction: ltr; text-align: center; margin: 14px 0 12px; animation: promo-beat 1.6s ease-in-out infinite; }
.promo-strip span { background: #e8231a; color: #fff; font-weight: 800; font-size: 17px; line-height: 1.9; padding: 3px 10px; border-radius: 4px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.promo-strip b { color: #ffe14d; font-weight: 900; }
.promo-urgent { direction: ltr; text-align: center; margin: 0 0 16px; padding: 12px 10px 6px; background: #fff1f0; border: 2px dashed #e8231a; border-radius: 12px; animation: promo-glow 1.5s infinite; }
.promo-urgent p { margin: 0 0 8px; line-height: 1.6; text-wrap: balance; }
.promo-urgent-l { font-size: 16px; font-weight: 800; color: #c4120a; }
.promo-urgent-l b { font-weight: 900; }
.promo-urgent-s { font-size: 19px; font-weight: 900; color: #1b2236; }
.promo-urgent-s span { display: inline-block; margin-right: 6px; padding: 0 8px; border-radius: 3px; background: #e8231a; color: #fff; animation: promo-blink 1s steps(2, start) infinite; }
@keyframes promo-beat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes promo-blink { to { visibility: hidden; } }
@keyframes promo-glow { 0% { box-shadow: 0 0 0 0 rgba(232, 35, 26, .45); } 70% { box-shadow: 0 0 0 10px rgba(232, 35, 26, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 35, 26, 0); } }
@media (prefers-reduced-motion: reduce) { .promo-strip, .promo-urgent, .promo-urgent-s span { animation: none; } }

.order-form { display: grid; gap: 22px; margin-top: 24px; animation: up .9s var(--ease) .2s both; }
.opt { border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend, .opt .legend { display: block; font-weight: 600; font-size: 14px; margin-bottom: 10px; padding: 0; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: grid; place-items: center; min-width: 54px; min-height: 46px; padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 500; font-size: 14px; cursor: pointer; user-select: none; transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease); }
.pill span:hover { border-color: var(--ink); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; animation: pick .35s var(--ease); }
@keyframes pick { 50% { transform: scale(1.08); } }
.pill input:focus-visible + span { outline: 2px solid var(--rose); outline-offset: 3px; }
.stepper { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; align-items: stretch; overflow: hidden; }
.stepper button { width: 46px; min-height: 46px; background: none; border: 0; font-size: 20px; cursor: pointer; transition: background .2s; }
.stepper button:hover { background: var(--soft); }
.stepper input, .stepper span { width: 44px; text-align: center; border: 0; background: none; font-weight: 600; font-size: 15px; -moz-appearance: textfield; display: grid; place-items: center; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper-sm button { width: 36px; min-height: 36px; font-size: 17px; }
.stepper-sm span { width: 32px; font-size: 14px; }

.cod-box { background: var(--soft); border-radius: 22px; padding: 22px; display: grid; gap: 16px; }

/* Offres de quantité (1 / 2 / 3 pièces), pièces, pack et « souvent achetés ensemble » */
.offers { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 10px; }
.offers > .legend { font-weight: 600; font-size: 14px; margin-bottom: 2px; padding: 0; }
.offer { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.offer.has-badge { margin-top: 8px; }
.offer:hover { border-color: #d9cfcc; }
.offer.on, .offer:has(input:checked) { border-color: var(--rose); box-shadow: 0 0 0 1px var(--rose); }
.offer input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--rose); }
.offer-name { flex: 1; display: grid; gap: 2px; font-weight: 600; font-size: 15px; }
.offer-name small { font-size: 12.5px; font-weight: 600; color: var(--ok); }
.offer-price { display: grid; justify-items: end; gap: 1px; text-align: end; }
.offer-price strong { font-size: 16px; }
.offer-price s { font-size: 12.5px; color: var(--muted); }
.offer-badge { position: absolute; top: -10px; inset-inline-end: 14px; padding: 2px 10px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 11.5px; font-weight: 700; }
.pieces { display: grid; gap: 10px; }
.piece { display: grid; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff; }
.piece[hidden] { display: none; }
.piece-n { font-size: 13px; font-weight: 700; color: var(--rose); }
.pieces[data-count="1"] .piece { padding: 0; background: none; }
.pieces[data-count="1"] .piece-n { display: none; }
.pack, .upsell { display: grid; gap: 10px; }
.pack-title, .upsell-title { font-weight: 600; font-size: 14px; }
.pack-item, .up-item { display: grid; gap: 10px; padding: 12px; border-radius: 14px; background: #fff; }
.pack-item { grid-template-columns: 56px 1fr; align-items: start; }
.pack-thumb { width: 56px; height: 70px; border-radius: 10px; object-fit: cover; background: var(--soft); display: block; }
.pack-body { display: grid; gap: 8px; min-width: 0; }
.pack-body > strong { font-size: 14.5px; }
.up-item { border: 1.5px solid transparent; transition: border-color .2s; }
.up-item.on { border-color: var(--rose); }
.up-check { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.up-check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--rose); }
.up-body { display: grid; gap: 3px; min-width: 0; }
.up-body strong { font-size: 14.5px; font-weight: 600; }
.up-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.up-price s { color: var(--muted); font-size: 12.5px; }
.up-price small { color: var(--ok); font-weight: 700; }
.up-opts[hidden] { display: none; }
.cod-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.cod-head h2 { font-size: 22px; }
.cod-head h2.cod-prompt { width: 100%; font-family: "Cairo", system-ui, sans-serif; font-size: 16.5px; font-weight: 600; line-height: 1.7; text-align: center; }
.cod-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; background: #fff; color: var(--ok); font-size: 12.5px; font-weight: 600; }
.cod-badge::before { content: "✓"; }
.fields { display: grid; gap: 12px; }
@media (min-width: 520px) { .fields { grid-template-columns: 1fr 1fr; } .fields .field:nth-child(1), .fields .field:nth-child(n+4) { grid-column: 1 / -1; } }
.field { display: grid; gap: 6px; }
.field > span { font-weight: 500; font-size: 13.5px; }
.field textarea { resize: vertical; min-height: 80px; }
.field-err { color: var(--err); font-size: 13px; font-weight: 500; animation: shake .4s; }
@keyframes shake { 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
html[dir="rtl"] input[dir="ltr"] { text-align: right; }

.summary { margin: 0; display: grid; gap: 8px; padding-top: 14px; border-top: 1px dashed #d8cfcc; font-size: 15px; }
.summary > div { display: flex; justify-content: space-between; gap: 12px; }
.summary dt { color: var(--ink-2); }
.summary dd { margin: 0; font-weight: 500; }
.sum-total { font-size: 19px; padding-top: 4px; }
.sum-total dt, .sum-total dd { font-weight: 700; color: var(--ink); }
.fine { font-size: 13px; color: var(--muted); text-align: center; }

.alert { padding: 14px 18px; border-radius: 14px; background: var(--soft); margin-bottom: 18px; font-weight: 500; animation: up .5s var(--ease); }
.alert.err { color: var(--err); background: #fdeeee; }
.alert.ok { color: var(--ok); background: #eaf6ef; }

.details { margin-top: 32px; }
.details details { border-bottom: 1px solid var(--line); }
.details summary { list-style: none; cursor: pointer; padding-block: 18px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.details summary::-webkit-details-marker { display: none; }
.details summary::after { content: "+"; font-size: 22px; font-weight: 300; transition: transform .4s var(--ease); }
.details details[open] summary::after { transform: rotate(45deg); }
.details details[open] .prose { animation: up .5s var(--ease); }
.prose { padding-bottom: 20px; color: var(--ink-2); white-space: normal; }

.sticky-buy {
  position: fixed; inset-inline: 10px; bottom: 10px; z-index: 30;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 18px; margin-bottom: env(safe-area-inset-bottom);
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px);
  border-radius: 999px; box-shadow: 0 14px 40px -12px rgba(0, 0, 0, .3);
  transform: translateY(150%); transition: transform .55s var(--ease);
}
html[dir="rtl"] .sticky-buy { padding: 10px 18px 10px 10px; }
.sticky-buy.show { transform: none; }
.sticky-price { display: grid; font-size: 12.5px; line-height: 1.3; min-width: 0; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-price strong { font-size: 16px; color: var(--rose); }
.sticky-buy .btn { min-height: 48px; padding-inline: 20px; flex: 1; white-space: nowrap; }
.sticky-price { flex: none; }
#order { scroll-margin-top: 76px; }
@media (min-width: 900px) { .sticky-buy { display: none; } }

/* ---------- Panier ---------- */
.checkout { display: grid; gap: 32px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1fr 460px; align-items: start; gap: 56px; } .checkout-box { position: sticky; top: calc(var(--header-h) + 20px); } }
.free-bar { background: var(--blush); border-radius: 14px; padding: 14px 18px; margin-bottom: 18px; font-weight: 500; font-size: 14px; }
.bar { height: 6px; border-radius: 3px; background: #fff; margin-top: 10px; overflow: hidden; }
.bar span { display: block; height: 100%; background: var(--rose); border-radius: 3px; animation: grow 1.2s var(--ease) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.line { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding-block: 16px; border-bottom: 1px solid var(--line); animation: up .6s var(--ease) both; }
.line-img img, .line-img .ph { width: 96px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; }
.line-name { font-weight: 600; text-decoration: none; }
.line-info .muted { font-size: 14px; }
.line-price { font-weight: 700; color: var(--rose); margin-block: 4px 8px; }
.line-actions { display: flex; align-items: center; gap: 16px; }

/* ---------- Merci & suivi ---------- */
.thanks { padding-block: 56px 72px; text-align: center; }
.check-anim { width: 84px; height: 84px; margin: 0 auto 20px; display: block; fill: none; stroke: var(--ok); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.check-anim circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw .8s var(--ease) forwards; }
.check-anim path { stroke-dasharray: 36; stroke-dashoffset: 36; animation: draw .5s var(--ease) .7s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.thanks .eyebrow { margin-bottom: 10px; animation: up .8s var(--ease) .3s both; }
.thanks-title { font-size: clamp(52px, 12vw, 104px); letter-spacing: -.04em; margin-bottom: 16px; animation: up .9s var(--ease) .4s both; }
.thanks-sub { font-size: 17px; color: var(--ink-2); max-width: 46ch; margin: 0 auto 32px; animation: up .9s var(--ease) .5s both; }
.receipt { background: var(--soft); border-radius: 20px; padding: 22px; display: grid; gap: 10px; margin-bottom: 24px; text-align: start; animation: up .9s var(--ease) .6s both; }
.receipt-line { display: flex; justify-content: space-between; gap: 12px; }
.receipt-total { border-top: 1px dashed #d8cfcc; padding-top: 12px; font-weight: 700; font-size: 18px; }
.receipt-addr { font-size: 14px; }
.thanks-actions { display: grid; gap: 10px; animation: up .9s var(--ease) .7s both; }
.track-form { display: grid; gap: 14px; margin-bottom: 22px; }
.track-result { background: var(--soft); border-radius: 20px; padding: 22px; display: grid; gap: 20px; animation: up .7s var(--ease); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.timeline li { font-size: 12.5px; font-weight: 500; padding-top: 12px; border-top: 4px solid #e2dad8; border-radius: 2px; color: var(--muted); }
.timeline li.done { border-color: var(--ink); color: var(--ink); }
.timeline li.current { border-color: var(--rose); color: var(--rose); }
.status-big { font-size: 28px; font-weight: 700; }
.status-annulee, .status-retour { color: var(--err); }
.log { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: 14px; }
.log time { color: var(--muted); margin-inline-end: 8px; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; background: #140d10; color: #e9e2e4; }
.footer-glow { position: absolute; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; top: -35%; inset-inline-end: -20%; border-radius: 50%; background: radial-gradient(circle, rgba(184, 50, 96, .38), transparent 65%); filter: blur(20px); animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
@keyframes drift { to { transform: translate(-12%, 18%) scale(1.15); } }
.site-footer > .wrap { position: relative; z-index: 1; }

/* Bandeau d'aide */
.footer-cta { display: grid; gap: 24px; padding-block: 64px 48px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-cta .eyebrow { color: #ff9cc0; margin-bottom: 10px; }
.footer-cta-title { font-size: clamp(30px, 4.2vw, 54px); color: #fff; letter-spacing: -.03em; max-width: 18ch; }
html[dir="rtl"] .footer-cta-title { letter-spacing: 0; }
.footer-cta-text { color: rgba(255, 255, 255, .66); max-width: 46ch; margin-top: 12px; font-size: 16px; }
.footer-cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-cta-btns svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linejoin: round; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost-light:hover .arr { transform: translateX(4px); }
html[dir="rtl"] .btn-ghost-light:hover .arr { transform: scaleX(-1) translateX(4px); }
@media (min-width: 900px) { .footer-cta { grid-template-columns: 1fr auto; align-items: end; padding-block: 88px 56px; } }

/* Engagements */
.footer-perks { list-style: none; margin: 0; padding: 32px 0; display: grid; gap: 22px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer-perks li { display: flex; align-items: center; gap: 16px; }
.perk-icon { flex: none; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12); transition: transform .6s var(--ease), background .4s; }
.perk-icon svg { width: 24px; height: 24px; fill: none; stroke: #ff9cc0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.footer-perks li:hover .perk-icon { transform: rotate(-10deg) scale(1.08); background: rgba(184, 50, 96, .25); }
.footer-perks strong { display: block; color: #fff; font-weight: 600; font-size: 16px; }
.footer-perks small { display: block; color: rgba(255, 255, 255, .55); font-size: 14px; }
@media (min-width: 760px) { .footer-perks { grid-template-columns: repeat(3, 1fr); padding-block: 40px; } }

/* Colonnes */
.footer-grid { display: grid; gap: 40px; padding-block: 48px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .footer-grid { grid-template-columns: 1.25fr 1.2fr .8fr 1.05fr; gap: 48px; } }
.footer-logo { display: inline-block; }
.footer-logo img { display: block; width: auto; height: 44px; }
.footer-brand p { color: rgba(255, 255, 255, .6); max-width: 34ch; margin-block: 16px 20px; }
.socials { display: flex; gap: 10px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .35s, border-color .35s, transform .45s var(--ease); }
.socials a:hover { background: var(--rose); border-color: var(--rose); transform: translateY(-4px); }
.socials svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.site-footer h3 { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; color: rgba(255, 255, 255, .45); margin-bottom: 18px; }
html[dir="rtl"] .site-footer h3 { letter-spacing: 0; font-size: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.footer-links-2 { grid-template-columns: 1fr; }
.footer-links a { color: #e9e2e4; white-space: nowrap; text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: color .3s, text-decoration-color .3s; }
.footer-links a:hover { color: #fff; text-decoration-color: currentColor; }
.footer-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 20px; padding: 22px; align-self: start; }
.footer-card h3 { margin-bottom: 10px; }
.footer-card p { color: rgba(255, 255, 255, .62); font-size: 14.5px; margin-bottom: 16px; }
.cod-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--rose); color: #fff; font-size: 13px; font-weight: 600; }
.cod-pill::before { content: "✓"; }

/* Grand logo rempli d'une photo */
.footer-word { position: relative; z-index: 1; padding-inline: var(--gutter); text-align: center; line-height: .78; margin-top: 8px; }
.word-fill {
  display: inline-block; font-family: "Outfit", sans-serif; font-weight: 700;
  font-size: clamp(84px, 21vw, 330px); letter-spacing: -.02em; white-space: nowrap;
  color: transparent;
  background: var(--img, linear-gradient(120deg, var(--rose), #5a1a33)) center 30% / cover no-repeat, linear-gradient(120deg, var(--rose), #5a1a33);
  -webkit-background-clip: text; background-clip: text;
  animation: pan 26s ease-in-out infinite alternate;
}
@keyframes pan { from { background-position: 50% 10%; } to { background-position: 50% 70%; } }
.js .footer-word.reveal { opacity: 1; transform: none; }
.js .footer-word.reveal .word-fill { clip-path: inset(100% 0 0 0); letter-spacing: .2em; transition: clip-path 1.4s var(--ease), letter-spacing 1.6s var(--ease); }
.js .footer-word.reveal.in .word-fill { clip-path: inset(0 0 0 0); letter-spacing: -.02em; }

/* Barre du bas */
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13px; color: rgba(255, 255, 255, .5); }
.footer-bottom-end { display: flex; align-items: center; gap: 12px; }
.footer-bottom .lang-toggle { display: inline-flex; color: #fff; margin: 0; }
.footer-bottom .lang-toggle a[aria-current] { background: #fff; color: var(--ink); }
.to-top { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); color: #fff; transition: background .3s, color .3s; }
.to-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.to-top:hover { background: #fff; color: var(--ink); }
.to-top:hover svg { animation: nudge .8s var(--ease) infinite; }
@keyframes nudge { 50% { transform: translateY(-3px); } }
body:has(.sticky-buy) .footer-bottom { padding-bottom: 96px; }

.wa-float {
  position: fixed; bottom: 20px; inset-inline-end: 18px; z-index: 35;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: #25d366; color: #fff; box-shadow: 0 10px 28px -8px rgba(37, 211, 102, .6);
  transition: transform .35s var(--ease), bottom .5s var(--ease);
}
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
body:has(.sticky-buy.show) .wa-float { bottom: 86px; }
@media (min-width: 900px) { body:has(.sticky-buy.show) .wa-float { bottom: 20px; } }
.js .carousel .card.reveal { opacity: 1; transform: none; }

/* ---------- Choix de langue (en-tête) ---------- */
.lang-menu { position: relative; margin-inline-end: 4px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px 0 10px;
  border: 0; border-radius: 999px; cursor: pointer; color: inherit;
  background: color-mix(in srgb, currentColor 8%, transparent);
  font-size: 13.5px; font-weight: 600; transition: background .25s;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: color-mix(in srgb, currentColor 14%, transparent); }
.lang-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn svg:last-child { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.lang-btn[aria-expanded="true"] svg:last-child { transform: rotate(180deg); }
.lang-btn [lang="ar"] { font-family: "Cairo", sans-serif; font-size: 14.5px; }
.lang-pop {
  position: absolute; top: calc(100% + 14px); inset-inline-end: -6px; z-index: 5; min-width: 184px;
  padding: 6px; border-radius: 18px; color: var(--ink);
  background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: 0 24px 50px -18px rgba(30, 10, 20, .35), inset 0 1px 0 rgba(255, 255, 255, .9);
  visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.96); transform-origin: top right;
  transition: opacity .25s ease, transform .4s var(--ease), visibility 0s .4s;
}
html[dir="rtl"] .lang-pop { transform-origin: top left; }
.lang-menu.open .lang-pop { visibility: visible; opacity: 1; transform: none; transition: opacity .25s ease, transform .4s var(--ease); }
.lang-pop a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 12px; text-decoration: none; font-size: 14.5px; font-weight: 500; transition: background .2s; }
.lang-pop a:hover { background: rgba(0, 0, 0, .05); }
.lang-pop a[lang="ar"] { font-family: "Cairo", sans-serif; font-size: 15.5px; }
.lang-pop a svg { width: 18px; height: 18px; fill: none; stroke: var(--rose); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .4s var(--ease); }
.lang-pop a[aria-current] { background: var(--blush); color: var(--rose-d); font-weight: 600; }
.lang-pop a[aria-current] svg { opacity: 1; transform: none; }
.lang-menu.open .lang-pop a { animation: up .4s var(--ease) both; }
.lang-menu.open .lang-pop a + a { animation-delay: .05s; }
.footer-bottom .lang-toggle a[lang="ar"] { font-size: 14px; }

/* Bannières larges (ordinateur) : zoom plus léger pour ne pas recadrer les photos */
@media (min-width: 900px) {
  .hf-media picture:has(source) img { object-position: 50% 0%; transform: scale(1.03); }
  .hf-media picture:has(source) img.active { animation-name: hf-zoom-soft; }
}
@keyframes hf-zoom-soft { from { transform: scale(1.03); } to { transform: scale(1); } }
/* Écrans d'ordinateur peu hauts (ex. 1366×768) : bloc de texte plus compact */
@media (min-width: 900px) and (max-height: 820px) {
  .hf-content { padding-bottom: 58px; }
  .hf-eyebrow { margin-bottom: 8px; font-size: 12px; }
  .hf-title { font-size: clamp(40px, 5.4vw, 74px); }
  .hf-sub { margin-block: 10px 20px; font-size: 15px; }
  .hf-cta .btn-lg { min-height: 50px; }
}

/* ---------- Boutons du hero ---------- */
.hb-main, .hb-glass {
  display: inline-flex; align-items: center; height: 58px; border-radius: 999px;
  font-size: 15.5px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .3s, border-color .3s;
}
.hb-main {
  gap: 16px; padding: 6px 6px 6px 26px;
  background: linear-gradient(135deg, #c93a6b 0%, var(--rose) 55%, var(--rose-d) 100%);
  color: #fff; box-shadow: 0 16px 36px -12px rgba(184, 50, 96, .75), inset 0 1px 0 rgba(255, 255, 255, .25);
}
html[dir="rtl"] .hb-main { padding: 6px 26px 6px 6px; }
.hb-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #fff; color: var(--rose); transition: transform .5s var(--ease); }
.hb-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
html[dir="rtl"] .hb-arrow svg { transform: scaleX(-1); }
.hb-main:hover { transform: translateY(-3px); box-shadow: 0 22px 44px -14px rgba(184, 50, 96, .85), inset 0 1px 0 rgba(255, 255, 255, .25); }
.hb-main:hover .hb-arrow { transform: scale(1.06); }
.hb-main:hover .hb-arrow svg { transform: rotate(-45deg); }
html[dir="rtl"] .hb-main:hover .hb-arrow svg { transform: scaleX(-1) rotate(-45deg); }

.hb-glass {
  gap: 10px; padding: 0 26px; color: #fff;
  background: rgba(255, 255, 255, .14); -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .45); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.hb-glass svg { width: 18px; height: 18px; fill: currentColor; transition: transform .6s var(--ease); }
.hb-glass:hover { background: rgba(255, 255, 255, .26); border-color: rgba(255, 255, 255, .7); transform: translateY(-3px); }
.hb-glass:hover svg { transform: rotate(90deg) scale(1.1); }

@media (max-width: 560px) {
  .hf-cta { flex-direction: column; width: 100%; max-width: 340px; gap: 10px; }
  .hb-main, .hb-glass { width: 100%; justify-content: space-between; }
  .hb-glass { justify-content: center; }
}
@media (min-width: 900px) and (max-height: 820px) { .hb-main, .hb-glass { height: 52px; } .hb-arrow { width: 40px; height: 40px; } }

/* ---------- Rubans croisés (catégories + engagements) ---------- */
.ribbons { position: relative; height: 210px; overflow: hidden; background: #fff; display: grid; place-items: center; }
.ribbon { position: absolute; left: -5%; width: 110%; overflow: hidden; }
.ribbon-rose { z-index: 2; transform: rotate(-3deg); background: linear-gradient(90deg, var(--rose-d), var(--rose) 50%, #c94372); box-shadow: 0 18px 40px -18px rgba(150, 36, 73, .65); }
.ribbon-ink { z-index: 1; transform: rotate(2.5deg); background: var(--ink); }
.ribbon-track { display: flex; align-items: center; width: max-content; animation: ticker 40s linear infinite; }
.ribbon-ink .ribbon-track { animation-direction: reverse; animation-duration: 55s; }
html[dir="rtl"] .ribbon-track { animation-name: ticker-rtl; }
.ribbons:hover .ribbon-track { animation-play-state: paused; }

.ribbon-item { display: inline-flex; align-items: center; gap: 14px; padding: 14px 10px; color: #fff; text-decoration: none; font-size: clamp(20px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.ribbon-item img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 2px solid rgba(255, 255, 255, .85); transition: transform .5s var(--ease); }
.ribbon-item span { background: linear-gradient(#fff, #fff) no-repeat 0 100% / 0 2px; padding-bottom: 2px; transition: background-size .45s var(--ease); }
.ribbon-item:hover img { transform: scale(1.15) rotate(-6deg); }
.ribbon-item:hover span { background-size: 100% 2px; }
.ribbon-perk { display: inline-flex; align-items: center; gap: 10px; padding: 12px 10px; color: #f3e9ec; font-size: 15px; font-weight: 500; white-space: nowrap; }
.ribbon-perk svg { width: 20px; height: 20px; fill: none; stroke: #ff9cc0; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ribbon-sep { padding: 0 22px; color: rgba(255, 255, 255, .7); font-size: 14px; }
.ribbon-ink .ribbon-sep { color: var(--rose); }
@media (max-width: 760px) {
  .ribbons { height: 190px; }
  .ribbon-rose { transform: translateY(-26px) rotate(-2.5deg); }
  .ribbon-ink { transform: translateY(34px) rotate(2deg); }
  .ribbon-item img { width: 38px; height: 38px; }
  .ribbon-perk { font-size: 13.5px; }
}

/* ---------- En-tête de section centré (pastille + mot souligné) ---------- */
.sec-head { text-align: center; display: grid; justify-items: center; margin-bottom: 44px; }
.sec-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px;
  background: var(--blush); border: 1px solid #f3d3dc; color: var(--rose-d);
  font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
html[dir="rtl"] .sec-pill { letter-spacing: 0; font-size: 14px; text-transform: none; }
.sec-pill i { font-style: normal; font-size: 11px; color: var(--rose); animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 50% { transform: rotate(90deg) scale(1.25); opacity: .6; } }
.sec-title { font-size: clamp(38px, 5.6vw, 68px); font-weight: 600; letter-spacing: -.035em; line-height: 1.05; margin-block: 18px 16px; }
html[dir="rtl"] .sec-title { letter-spacing: 0; line-height: 1.35; }
.sec-accent { position: relative; display: inline-block; color: var(--rose); }
.sec-swash { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .3em; overflow: visible; }
.sec-swash path { fill: none; stroke: var(--rose); stroke-width: 4; stroke-linecap: round; opacity: .55; stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.3s var(--ease) .45s; }
.sec-head.in .sec-swash path, html:not(.js) .sec-swash path { stroke-dashoffset: 0; }
.sec-intro { color: var(--ink-2); font-size: 16.5px; max-width: 50ch; }
@media (max-width: 760px) { .sec-head { margin-bottom: 30px; } .sec-intro { font-size: 15.5px; } }

/* ---------- Titre de section minimal : texte entre deux traits fins ---------- */
.sec-line { display: flex; align-items: center; justify-content: center; gap: 22px; margin-bottom: 40px; }
.sec-line::before, .sec-line::after { content: ""; height: 1px; flex: 0 1 220px; background: var(--ink); opacity: .22; transform: scaleX(0); transition: transform 1.1s var(--ease) .15s; }
.sec-line::before { transform-origin: right; }
.sec-line::after { transform-origin: left; }
html[dir="rtl"] .sec-line::before { transform-origin: left; }
html[dir="rtl"] .sec-line::after { transform-origin: right; }
.sec-line.in::before, .sec-line.in::after, html:not(.js) .sec-line::before, html:not(.js) .sec-line::after { transform: scaleX(1); }
.sec-line h2 { font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: .32em; text-transform: uppercase; white-space: nowrap; padding-inline-start: .32em; }
html[dir="rtl"] .sec-line h2 { letter-spacing: 0; text-transform: none; font-size: clamp(19px, 1.9vw, 24px); padding: 0; }
@media (max-width: 760px) { .sec-line { gap: 14px; margin-bottom: 28px; } .sec-line::before, .sec-line::after { flex-basis: 70px; } }

/* ---------- Engagements (sous le hero) : cartes centrées ---------- */
.promises { background: #fff; padding-block: 28px; }
.promises-row { list-style: none; margin-block: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.promise {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px;
  padding: 22px 12px; border-radius: 20px; background: var(--soft);
  transition: transform .5s var(--ease), background .4s, box-shadow .5s var(--ease);
}
.promise-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  background: #fff; color: var(--rose); box-shadow: 0 8px 20px -10px rgba(184, 50, 96, .45);
  transition: transform .6s var(--ease), background .4s, color .4s;
}
.promise-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.promise-text strong { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.promise-text small { display: block; font-size: 12.5px; color: var(--muted); line-height: 1.45; margin-top: 4px; max-width: 26ch; margin-inline: auto; }
.promise:hover { transform: translateY(-4px); background: var(--blush); box-shadow: 0 16px 34px -20px rgba(184, 50, 96, .4); }
.promise:hover .promise-icon { background: var(--rose); color: #fff; transform: rotate(-8deg) scale(1.05); }
@media (min-width: 900px) {
  .promises { padding-block: 40px; }
  .promises-row { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .promise { padding: 30px 22px; }
  .promise-text strong { font-size: 15.5px; }
  .promise-text small { font-size: 13.5px; }
}


/* ---------- Options (taille, couleur, quantité) dans la carte de commande ---------- */
.variants { display: grid; gap: 16px; padding-bottom: 18px; border-bottom: 1px dashed #d8cfcc; }
.cod-box .opt legend, .cod-box .opt .legend { font-size: 13.5px; margin-bottom: 8px; }
.cod-box .pill span { background: #fff; border-color: #e6dedb; min-height: 42px; }
.cod-box .pill span:hover { border-color: var(--ink); }
.cod-box .pill input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.cod-box .stepper { background: #fff; border-color: #e6dedb; }

/* ---------- Listes déroulantes taille / couleur ---------- */
.opt-select {
  display: block; width: 100%; min-height: 50px; padding: 12px 44px 12px 16px; appearance: none; cursor: pointer;
  border: 1.5px solid #e6dedb; border-radius: 14px; font-size: 16px; font-weight: 500; color: var(--ink);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23141414' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") no-repeat right 16px center;
  transition: border-color .25s, box-shadow .25s;
}
html[dir="rtl"] .opt-select { padding: 12px 16px 12px 44px; background-position: left 16px center; }
/* Paiement toujours en arabe, même sur la version française (bloc isolé en droite-à-gauche) */
.order-form[dir="rtl"], .thanks[dir="rtl"] { font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif; }
.order-form[dir="rtl"] :is(h1, h2, h3), .thanks[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
.thanks[dir="rtl"] .eyebrow { letter-spacing: 0; font-size: 14px; }
.order-form[dir="rtl"] .opt-select { padding: 12px 16px 12px 44px; background-position: left 16px center; }
.order-form[dir="rtl"] input[dir="ltr"] { text-align: right; }


/* Taille puis couleur, l'une sous l'autre */
.opt-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.opt-row .opt-select { padding-inline-start: 14px; text-overflow: ellipsis; }
.opt-row:empty { display: none; }
.opt-select:hover { border-color: var(--ink); }
.opt-select:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 4px rgba(184, 50, 96, .12); }
.opt-select option:disabled { color: #aaa; }
.opt-select:invalid { color: var(--muted); }
.opt-select option { color: var(--ink); }

/* ---------- Pastilles de couleur ---------- */
.color-picked { font-weight: 400; color: var(--ink-2); }
.swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.swatch { position: relative; display: block; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch-dot {
  display: block; width: 38px; height: 38px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12), 0 0 0 3px #fff, 0 0 0 4px #e6dedb;
  transition: box-shadow .3s, transform .35s var(--ease);
}
.swatch-dot.light { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2), 0 0 0 3px #fff, 0 0 0 4px #e6dedb; }
.swatch:hover .swatch-dot { transform: scale(1.08); }
.swatch input:checked + .swatch-dot { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .15), 0 0 0 3px #fff, 0 0 0 5px var(--ink); }
.swatch input:focus-visible + .swatch-dot { outline: 2px solid var(--rose); outline-offset: 6px; }
.pp-track > img { transition: opacity .18s ease; }
.pp-track > img.swapping { opacity: 0; }

/* ---------- Description produit (mise en page commerciale) ---------- */
.pdesc { margin-top: 34px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; gap: 16px; }
.pdesc-title { font-size: 22px; font-weight: 600; letter-spacing: -.01em; }
.pdesc-rich { color: var(--ink-2); line-height: 1.7; overflow-wrap: anywhere; }
.pdesc-rich > :first-child { margin-top: 0; }
.pdesc-rich > :last-child { margin-bottom: 0; }
.pdesc-rich p, .pdesc-rich div { margin: 0 0 12px; }
.pdesc-rich h2, .pdesc-rich h3, .pdesc-rich h4 { margin: 16px 0 8px; color: var(--ink); line-height: 1.4; }
.pdesc-rich h2 { font-size: 21px; }
.pdesc-rich h3 { font-size: 18px; }
.pdesc-rich h4 { font-size: 16px; }
.pdesc-rich ul, .pdesc-rich ol { margin: 0 0 12px; padding-inline-start: 1.5em; }
.pdesc-rich blockquote { margin: 12px 0; padding-inline-start: 14px; border-inline-start: 3px solid var(--rose); }
.pdesc-rich a { color: var(--rose); text-decoration: underline; }
.pdesc-rich table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; }
.pdesc-rich td, .pdesc-rich th { min-width: 80px; padding: 8px 10px; border: 1px solid var(--line); text-align: start; }
.pdesc-rich th { color: var(--ink); background: var(--soft); }
/* Le contenu de la description garde la grille de .pdesc ; ce bloc ne sert qu'à fixer le sens de lecture */
.pdesc-body { display: contents; }
/* Blocs colorés d'une description mise en forme (ex. copiée de melinaclothes.com) : vraies cartes */
.pdesc-rich div[style*="background-color"] { padding: 20px 18px; border-radius: 16px; margin: 0 0 18px; }
.pdesc-rich div[style*="background-color"] div[style*="background-color"] { padding: 16px; border-radius: 12px; }
.pdesc-rich div[style*="background-color"] > :last-child { margin-bottom: 0; }
.pdesc-rich div[style*="background-color"] h2 { margin-top: 0; font-size: 22px; line-height: 1.5; }
.pdesc-rich div[style*="background-color"] h3 { margin-top: 0; }
.pdesc-rich div[style*="background-color"] p { margin-bottom: 10px; }
/* Carte MELINA : toutes les descriptions (même design que la Chemise Alba) */
.pdesc-card { padding: 22px 18px; border-radius: 16px; background: #f7f3ed; color: #302a25; line-height: 1.75; overflow-wrap: anywhere; }
.pdesc-card p { margin: 0 0 12px; }
.pdesc-card > :last-child { margin-bottom: 0; }
.pdesc-brand { text-align: center; color: #80664f; font-size: 13px; letter-spacing: .3em; }
.pdesc-name { margin: 0 0 8px; text-align: center; font-size: 21px; font-weight: 600; line-height: 1.45; color: #302a25; }
.pdesc-stock { text-align: center; }
.pdesc-intro { font-size: 15.5px; }
.pdesc-sub { margin: 18px 0 8px; font-size: 16px; font-weight: 700; color: #302a25; }
.pdesc-box, .pdesc-ship { margin: 0 0 16px; padding: 16px; border-radius: 12px; }
.pdesc-box { background: #efe7dd; }
.pdesc-box h4 { margin: 0 0 10px; font-size: 16px; font-weight: 700; color: #302a25; }
.pdesc-box p:last-child, .pdesc-ship p:last-child, .pdesc-facts p:last-child { margin-bottom: 0; }
.pdesc-facts { margin: 0 0 16px; }
.pdesc-facts p { margin-bottom: 6px; }
.pdesc-ship { background: #eae0d3; text-align: center; }
.pdesc-ship p { margin-bottom: 8px; }
/* La description est toujours en arabe, même sur la version française */
.pdesc[dir="rtl"] { font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif; }
.pdesc-img { margin: 0; border-radius: 18px; overflow: hidden; background: var(--soft); }
.pdesc-img img { width: 100%; height: auto; display: block; }
.pdesc-check { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--rose); color: #fff; margin-top: 1px; }
.pdesc-check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.pdesc + .details { margin-top: 24px; }
.promo-quality { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--soft); }
.promo-quality h3 { margin: 0 0 2px; font-size: 15px; font-weight: 600; color: var(--ink); }
.promo-quality p { margin: 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.55; }
.promo-trend { display: inline-block; margin-top: 10px; padding: 4px 12px; border-radius: 999px; background: var(--blush); color: var(--rose-d); font-size: 13px; font-weight: 600; }

/* ---------- Étoiles ---------- */
.stars { position: relative; display: inline-block; line-height: 0; vertical-align: middle; }
.stars svg { width: 15px; height: 15px; }
.stars-lg svg { width: 22px; height: 22px; }
.stars-bg svg { fill: #e6dedb; }
.stars-fg { position: absolute; inset: 0 auto 0 0; overflow: hidden; white-space: nowrap; }
html[dir="rtl"] .stars-fg { inset: 0 0 0 auto; }
.stars-fg svg { fill: #f2a516; }
.stars-bg, .stars-fg { display: inline-flex; gap: 2px; }
.title-rating { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; text-decoration: none; font-size: 13.5px; color: var(--ink-2); }
.title-rating:hover span { text-decoration: underline; }
.card-rating { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; color: var(--muted); }
.card-rating .stars svg { width: 12px; height: 12px; }

/* ---------- Avis clientes ---------- */
.reviews { background: #fff; border-top: 1px solid var(--line); }
.reviews-grid { display: grid; gap: 28px; align-items: start; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: 300px 1fr; gap: 48px; } .reviews-summary { position: sticky; top: calc(var(--header-h) + 20px); } }
.reviews-summary { display: grid; gap: 10px; justify-items: start; padding: 24px; border-radius: 22px; background: var(--soft); }
.rs-avg { font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.rs-avg small { font-size: 18px; font-weight: 500; color: var(--muted); margin-inline-start: 4px; }
.rs-count, .rs-empty { color: var(--ink-2); font-size: 14px; }
.rs-dist { list-style: none; margin: 4px 0 8px; padding: 0; width: 100%; display: grid; gap: 6px; font-size: 13px; }
.rs-dist li { display: grid; grid-template-columns: 34px 1fr 22px; align-items: center; gap: 8px; color: var(--ink-2); }
.rs-dist li span:last-child { text-align: end; color: var(--muted); }
.rs-bar { height: 7px; border-radius: 4px; background: #e6dedb; overflow: hidden; }
.rs-bar i { display: block; height: 100%; background: #f2a516; border-radius: 4px; }

.review-form { display: grid; gap: 16px; padding: 24px; margin-bottom: 24px; border-radius: 22px; border: 1px solid var(--line); animation: up .5s var(--ease); }
.review-form .field-full { grid-column: 1 / -1; }
.rate-pick { border: 0; padding: 0; margin: 0; }
.rate-pick legend { font-weight: 600; font-size: 14px; margin-bottom: 6px; padding: 0; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
html[dir="rtl"] .rate-stars { flex-direction: row; }
.rate-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rate-stars label { cursor: pointer; line-height: 0; }
.rate-stars svg { width: 34px; height: 34px; fill: #e6dedb; transition: fill .15s, transform .25s var(--ease); }
.rate-stars label:hover svg, .rate-stars label:hover ~ label svg, .rate-stars input:checked ~ label svg { fill: #f2a516; }
.rate-stars label:hover svg { transform: scale(1.12); }
.rate-stars input:focus-visible + label svg { outline: 2px solid var(--rose); outline-offset: 2px; border-radius: 4px; }
.verify summary { cursor: pointer; font-size: 14px; font-weight: 500; color: var(--rose-d); }
.verify .fields { margin-top: 12px; }

.review-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.review { padding: 20px; border-radius: 20px; border: 1px solid var(--line); display: grid; gap: 10px; }
.review-head { display: flex; align-items: center; gap: 12px; }
.review-head > div { flex: 1; min-width: 0; display: grid; }
.review-head strong { font-size: 15px; }
.review-meta { font-size: 12.5px; color: var(--muted); }
.review-avatar { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--blush); color: var(--rose-d); font-weight: 700; }
.verified { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 3px 10px; border-radius: 999px; background: #eaf6ef; color: var(--ok); font-size: 12px; font-weight: 600; }
.verified svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.review p { color: var(--ink-2); line-height: 1.6; }
.reviews-empty { padding: 34px 20px; border-radius: 22px; border: 1px dashed #e0d6d3; text-align: center; color: var(--ink-2); }
.track-review { display: flex; flex-wrap: wrap; gap: 8px; }
.track-review a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--blush); color: var(--rose-d); font-size: 13.5px; font-weight: 600; text-decoration: none; }
.track-review a:hover { background: var(--rose); color: #fff; }
.review-form[hidden] { display: none; }
.stars svg { flex: none; }
.review-form .fields .field:nth-child(1) { grid-column: auto; }

/* Variante épuisée (stock par taille / couleur) */
.pill.is-out span, .is-out > span { opacity: .38; text-decoration: line-through; cursor: not-allowed; }
.is-out { cursor: not-allowed; }

/* ---------- Bandeau de page : sombre, titre serif (même famille que le hero) ---------- */
.page-head { position: relative; isolation: isolate; overflow: hidden; padding-block: 72px 60px; text-align: center; background: #1e1611; color: #efe6da; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(80% 120% at 50% 100%, rgba(30, 22, 17, .55), rgba(30, 22, 17, .9) 75%); }
.ph-media { position: absolute; inset: 0; z-index: -2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; grid-template-rows: minmax(0, 1fr); gap: 4px; }
.ph-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; opacity: 0; filter: saturate(.75); animation: ph-in 1.6s var(--ease) both; animation-delay: calc(var(--j) * .15s); }
@keyframes ph-in { from { opacity: 0; transform: scale(1.08); } to { opacity: 1; transform: none; } }
.ph-eyebrow { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 14px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #d6b088; animation: up .9s var(--ease) both; }
.ph-eyebrow::before, .ph-eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }
html[dir="rtl"] .ph-eyebrow { font-size: 15px; letter-spacing: 0; }
.page-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(46px, 5.8vw, 88px); line-height: .95; letter-spacing: -.01em; color: #f7f0e5; margin-bottom: 18px; animation: up 1.1s var(--ease) .1s both; }
.ph-shop .page-title { font-size: clamp(54px, 7.6vw, 116px); text-shadow: 0 6px 30px rgba(20, 14, 10, .45); }
html[dir="rtl"] .page-title { font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(36px, 4.4vw, 64px); line-height: 1.3; letter-spacing: 0; }
html[dir="rtl"] .ph-shop .page-title { font-size: clamp(40px, 5.6vw, 80px); }
.page-head .muted, .page-head > .wrap > p:not(.ph-eyebrow, .ph-count) { font-size: 15px; color: rgba(247, 240, 229, .78); animation: up .9s var(--ease) .3s both; }
.page-head .ph-count { display: inline-flex; align-items: center; gap: 12px; font-size: 12.5px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 240, 229, .85); }
.ph-count::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d6b088; }
html[dir="rtl"] .page-head .ph-count { font-size: 14px; letter-spacing: 0; }
.ph-shop { padding-block: 110px 92px; }
@media (max-width: 760px) {
  .page-head { padding-block: 48px 42px; }
  .ph-shop { padding-block: 76px 64px; }
  .ph-media img:nth-child(n+3) { display: none; }
}

/* ---------- Nouvelle collection (bloc sombre, accueil) ---------- */
.drop { background: #1e1611; color: #efe6da; padding-block: 72px; }
.drop-grid { display: grid; gap: 40px; }
.drop-hero { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #fff; text-decoration: none; background: #2c221b; }
.drop-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform 1.4s var(--ease); }
.drop-hero:hover img { transform: scale(1.04); }
.drop-cap { position: absolute; inset-inline: 0; bottom: 0; display: flex; justify-content: space-between; align-items: end; gap: 16px; padding: 60px 20px 18px; background: linear-gradient(transparent, rgba(20, 14, 10, .6)); font-size: 14px; }
.drop-cap strong { font-weight: 500; white-space: nowrap; }
.drop-eyebrow { display: flex; align-items: center; gap: 14px; font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: #d6b088; }
.drop-eyebrow::before { content: ""; width: 40px; height: 1px; background: currentColor; }
html[dir="rtl"] .drop-eyebrow { font-size: 14px; letter-spacing: 0; }
.drop-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(52px, 7.4vw, 112px); line-height: .95; letter-spacing: -.01em; color: #f7f0e5; margin-block: 18px 20px; }
html[dir="rtl"] .drop-title { font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(40px, 5.4vw, 76px); line-height: 1.3; letter-spacing: 0; }
.drop-desc { color: rgba(239, 230, 218, .72); max-width: 42ch; font-size: 16.5px; margin-bottom: 30px; }
.drop-btn {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 12px 30px;
  background: #efe6da; color: #1e1611; font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: background .3s;
}
html[dir="rtl"] .drop-btn { font-size: 15px; font-weight: 700; letter-spacing: 0; }
.drop-btn:hover { background: #fff; }
.drop-btn:hover .arr { transform: translateX(5px); }
html[dir="rtl"] .drop-btn:hover .arr { transform: scaleX(-1) translateX(5px); }
.drop-list { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
.drop-list a { display: grid; gap: 6px; text-decoration: none; color: inherit; }
.drop-list img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: 50% 20%; background: #2c221b; margin-bottom: 6px; transition: opacity .3s; }
.drop-list a:hover img { opacity: .85; }
.drop-name { font-size: 13.5px; line-height: 1.35; color: rgba(239, 230, 218, .8); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop-list strong { font-weight: 500; font-size: 14px; color: #fff; }
@media (min-width: 900px) {
  .drop { padding-block: 112px; }
  .drop-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 80px; align-items: center; }
  .drop-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* ---------- Hero : triptyque de photos sur fond expresso (même style que « Nouvelle collection ») ---------- */
.hw { background: #1e1611; }
.hw::before { background: linear-gradient(180deg, rgba(30, 22, 17, .55) 0%, rgba(30, 22, 17, .05) 28%, rgba(30, 22, 17, .15) 52%, rgba(30, 22, 17, .88) 100%); }
.hw-media { position: absolute; inset: 0; z-index: -2; }
.hw-slide { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr; gap: 6px; }
/* les panneaux changent l'un après l'autre (--j), avec un léger zoom arrière */
.hw-slide img {
  width: 100%; height: 100%; min-height: 0; object-fit: cover; object-position: 50% 18%;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.3s ease calc(var(--j) * .18s), transform 9s ease-out calc(var(--j) * .18s);
}
.hw-slide.active img { opacity: 1; transform: scale(1); }
.hw-slide img:not(:first-child) { display: none; }
@media (min-width: 900px) {
  .hw-slide { grid-template-columns: repeat(var(--n), 1fr); }
  .hw-slide img:not(:first-child) { display: block; }
}
.hw-content {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center; padding-top: var(--header-h); padding-bottom: clamp(70px, 11vh, 120px);
}
.hw-eyebrow { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; font-size: 12px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: #d6b088; }
.hw-eyebrow::before, .hw-eyebrow::after { content: ""; width: 40px; height: 1px; background: currentColor; }
html[dir="rtl"] .hw-eyebrow { font-size: 15px; letter-spacing: 0; }
.hw-title { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(60px, 8.5vw, 136px); line-height: .92; letter-spacing: -.01em; color: #f7f0e5; text-shadow: 0 10px 40px rgba(0, 0, 0, .3); }
.hw-title .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.hw-title .word > span { display: inline-block; animation: word-up 1.2s var(--ease) both; animation-delay: var(--d); }
.hw-title .word:nth-child(even) > span { font-style: italic; color: #d6b088; }
html[dir="rtl"] .hw-title { font-family: "Cairo", sans-serif; font-weight: 700; font-size: clamp(46px, 6.4vw, 96px); line-height: 1.3; }
html[dir="rtl"] .hw-title .word:nth-child(even) > span { font-style: normal; }
.hw-sub { font-size: clamp(15px, 1.3vw, 17.5px); color: rgba(247, 240, 229, .85); max-width: 46ch; margin-block: 18px 32px; }
.hw-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; padding: 12px 32px;
  background: #efe6da; color: #1e1611; border: 1px solid #efe6da;
  font-size: 12px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; text-decoration: none;
  transition: background .3s, color .3s, border-color .3s;
}
html[dir="rtl"] .hw-btn { font-size: 15.5px; font-weight: 700; letter-spacing: 0; }
.hw-btn:hover { background: #fff; border-color: #fff; }
.hw-btn:hover .arr { transform: translateX(5px); }
html[dir="rtl"] .hw-btn:hover .arr { transform: scaleX(-1) translateX(5px); }
.hw-btn-ghost { background: transparent; color: #f7f0e5; border-color: rgba(247, 240, 229, .5); }
.hw-btn-ghost:hover { background: #f7f0e5; border-color: #f7f0e5; color: #1e1611; }
@media (max-width: 560px) { .hw-cta { flex-direction: column; width: 100%; max-width: 340px; } }
@media (min-width: 900px) and (max-height: 820px) {
  .hw-content { padding-bottom: 58px; }
  .hw-title { font-size: clamp(48px, 6.4vw, 96px); }
  .hw-sub { margin-block: 12px 22px; }
}
/* Mobile : texte posé sur une seule photo, voile plus sombre dès le milieu pour la lisibilité */
@media (max-width: 899px) { .hw::before { background: linear-gradient(180deg, rgba(30, 22, 17, .5) 0%, rgba(30, 22, 17, .05) 22%, rgba(30, 22, 17, .35) 42%, rgba(30, 22, 17, .92) 100%); } }

/* =====================================================================
   Page produit — version « conversion » (paiement à la livraison)
   ===================================================================== */
.pp { display: grid; gap: 22px; padding-bottom: 56px; }
@media (min-width: 900px) {
  .pp { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .pp-media { position: sticky; top: calc(var(--header-h) + 16px); }
}

/* Photos */
.pp-media { min-width: 0; }
.pp-stage { position: relative; margin-inline: calc(var(--gutter) * -1); background: var(--soft); }
.pp-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.pp-track::-webkit-scrollbar { display: none; }
.pp-track > * { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; background: var(--soft); }
.pp-badge { position: absolute; top: 14px; inset-inline-start: 14px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: #e8231a; color: #fff; font-size: 15px; font-weight: 800; direction: ltr; box-shadow: 0 6px 16px -6px rgba(232, 35, 26, .7); animation: promo-beat 1.6s ease-in-out infinite; }
.pp-count { position: absolute; bottom: 12px; inset-inline-end: 12px; z-index: 2; padding: 3px 10px; border-radius: 999px; background: rgba(20, 20, 20, .6); color: #fff; font-size: 12.5px; direction: ltr; backdrop-filter: blur(6px); }
.pp-nav { position: absolute; top: 50%; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; margin-top: -20px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; box-shadow: 0 6px 18px -8px rgba(0, 0, 0, .4); transition: background .2s; }
.pp-nav:hover { background: #fff; }
.pp-nav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pp-prev { left: 12px; }
.pp-next { right: 12px; }
html[dir="rtl"] .pp-prev { left: auto; right: 12px; transform: scaleX(-1); }
html[dir="rtl"] .pp-next { right: auto; left: 12px; transform: scaleX(-1); }
@media (hover: none) { .pp-nav { display: none; } }
.pp-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.pp-thumbs::-webkit-scrollbar { display: none; }
.pp-thumb { flex: 0 0 64px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--soft); cursor: pointer; opacity: .6; transition: opacity .2s, border-color .2s; }
.pp-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.pp-thumb.on { border-color: var(--rose); opacity: 1; }
.pp-thumb:hover { opacity: 1; }
@media (min-width: 900px) {
  .pp-stage { margin-inline: 0; border-radius: 20px; overflow: hidden; }
  .pp-thumb { flex-basis: 76px; }
}

/* Titre, prix, économie */
.pp-info { min-width: 0; }
.pp-eyebrow { font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--rose); margin-bottom: 6px; }
html[dir="rtl"] .pp-eyebrow { letter-spacing: 0; font-size: 13.5px; }
.pp-title { font-size: clamp(25px, 3.4vw, 36px); line-height: 1.2; animation: up .8s var(--ease) both; }
.pp-price { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 12px; }
.pp-now { font-size: 30px; font-weight: 800; color: var(--rose); letter-spacing: -.01em; }
.pp-was { font-size: 18px; color: var(--muted); }
.pp-off { padding: 3px 10px; border-radius: 6px; background: #e8231a; color: #fff; font-size: 14px; font-weight: 800; direction: ltr; }
.pp-save { margin-top: 6px; display: inline-block; padding: 4px 12px; border-radius: 999px; background: #e9f6ee; color: var(--ok); font-size: 14px; font-weight: 600; }
.pp-save b { font-weight: 800; }

/* Avantages */
.pp-perks { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pp-perks li { display: grid; justify-items: center; align-content: start; gap: 6px; padding: 12px 6px; text-align: center; border-radius: 14px; background: var(--blush); color: var(--rose-d); }
.pp-perks svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.pp-perks strong { display: block; font-size: 13px; line-height: 1.3; }
.pp-perks small { display: block; margin-top: 2px; font-size: 11.5px; line-height: 1.35; color: var(--ink-2); }
.pp-perks:has(li:nth-child(2):last-child) { grid-template-columns: repeat(2, 1fr); }

/* Carte de commande */
.pp .order-form { margin-top: 0; gap: 12px; }
.pp .cod-box { padding: 0; gap: 0; overflow: hidden; background: #fff; border: 2px solid var(--rose); border-radius: 22px; box-shadow: 0 22px 50px -28px rgba(184, 50, 96, .55); }
.pp .cod-head { display: block; padding: 16px 18px 14px; background: linear-gradient(135deg, var(--rose), #d4486f); color: #fff; text-align: center; }
.cod-kicker { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 19px; font-weight: 800; line-height: 1.4; }
.cod-kicker svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp .cod-head h2.cod-prompt { margin-top: 4px; font-size: 14.5px; font-weight: 500; opacity: .95; }
.cod-inner { display: grid; gap: 16px; padding: 18px; }
.pp .variants { gap: 16px; padding-bottom: 16px; }
.pp .opt { position: relative; }
.opt-picked { font-weight: 500; color: var(--rose); }
.pp .cod-box .opt .legend { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; }
/* Le vrai <select> reste dans le formulaire (envoi, validation), invisible sous les boutons */
.js .opt-native { position: absolute; inset-inline: 0; bottom: 0; width: 100%; height: 48px; min-height: 0; opacity: 0; pointer-events: none; }
html:not(.js) .chips { display: none; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-o { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 52px; min-height: 46px; padding: 8px 16px; border: 1.5px solid #e3dad7; border-radius: 12px; background: #fff; color: var(--ink); font-size: 15px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.chip-o:hover { border-color: var(--ink); }
.chip-o.on { border-color: var(--rose); background: #fdf0f4; color: var(--rose-d); box-shadow: 0 0 0 1px var(--rose); animation: pick .3s var(--ease); }
.chip-o.out, .chip-o:disabled { opacity: .38; cursor: not-allowed; text-decoration: line-through; box-shadow: none; }
.chip-c { padding-inline: 10px 14px; font-weight: 600; }
.chip-dot { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--c, #ddd); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.chip-dot.none { background: repeating-linear-gradient(45deg, #eee, #eee 4px, #ddd 4px, #ddd 8px); }
.chips.need .chip-o { border-color: var(--err); animation: shake .4s; }
@keyframes pick { 50% { transform: scale(1.06); } }
.pp .stepper { background: #fff; border-color: #e3dad7; }
.pp .piece, .pp .pack-item, .pp .up-item { background: var(--soft); }
.pp .offer { background: #fff; }

/* Champs avec icône */
.pp .fields { gap: 12px; }
@media (min-width: 520px) { .pp .fields { grid-template-columns: 1fr; } }
.pp .field > span:first-child { font-weight: 700; font-size: 14px; }
.field-in { position: relative; display: block; }
.field-in svg { position: absolute; top: 50%; inset-inline-start: 14px; width: 20px; height: 20px; margin-top: -10px; fill: none; stroke: var(--muted); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; transition: stroke .2s; }
.pp .field-in input { min-height: 54px; padding-inline-start: 44px; background: #fcfafa; border-color: #e3dad7; }
.pp .field-in input:focus { background: #fff; }
.field-in:focus-within svg { stroke: var(--rose); }
/* Formulaire en arabe : l'icône est à droite, même pour le téléphone (saisi de gauche à droite) */
.pp .order-form[dir="rtl"] .field-in input { padding-left: 16px; padding-right: 44px; }

/* Récapitulatif + bouton */
.pp .summary { gap: 6px; padding: 12px 14px; border: 0; border-radius: 14px; background: var(--soft); }
.sum-free { color: var(--ok); font-weight: 700 !important; }
.cod-submit { min-height: 62px; font-size: 19px; font-weight: 800; border-radius: 16px; background: linear-gradient(135deg, var(--rose), #d4486f); border: 0; animation: cod-pulse 2s infinite; }
.cod-submit::after { animation: cod-shine 2.8s ease-in-out infinite; }
.cod-submit[disabled] { animation: none; }
@keyframes cod-pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 50, 96, .55); } 70% { box-shadow: 0 0 0 14px rgba(184, 50, 96, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 50, 96, 0); } }
@keyframes cod-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.cod-safe { display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--muted); text-align: center; }
.cod-safe svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pp .btn-wa { min-height: 52px; border-radius: 16px; font-weight: 700; }

/* Comment commander */
.pp-how { margin-top: 26px; padding: 20px 18px; border-radius: 18px; background: var(--soft); }
.pp-how-t { font-size: 19px; text-align: center; margin-bottom: 14px; }
.pp-how ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.pp-how li { display: flex; gap: 12px; align-items: flex-start; }
.pp-how li > b { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--rose); color: #fff; font-size: 15px; }
.pp-how strong { display: block; font-size: 15px; line-height: 1.4; }
.pp-how small { display: block; font-size: 13.5px; color: var(--ink-2); line-height: 1.5; }
.pp .pdesc { margin-top: 26px; }

/* Barre fixe en bas (mobile) */
.sticky-buy { padding: 8px; gap: 10px; }
html[dir="rtl"] .sticky-buy { padding: 8px; }
.sticky-thumb { flex: none; width: 40px; height: 50px; border-radius: 999px 10px 10px 999px; object-fit: cover; }
html[dir="rtl"] .sticky-thumb { border-radius: 10px 999px 999px 10px; }
.sticky-price { display: grid; gap: 0; }
.sticky-price strong { font-size: 17px; font-weight: 800; }
.sticky-price s { font-size: 12px; color: var(--muted); }
.sticky-buy .btn { font-size: 16px; font-weight: 800; background: linear-gradient(135deg, var(--rose), #d4486f); border: 0; animation: cod-pulse 2s infinite; }

@media (prefers-reduced-motion: reduce) {
  .pp-badge, .cod-submit, .cod-submit::after, .sticky-buy .btn, .chip-o.on { animation: none; }
}
