/* Queen Du Bal — ivoire, prune et or. Mobile d'abord. */
:root {
  --ivory: #fbf6f0;
  --paper: #fffdfa;
  --blush: #f5e7e3;
  --blush-2: #efdcd6;
  --ink: #24161b;
  --muted: #6b575d;
  --line: #e8d9d2;
  --plum: #5e1631;
  --plum-2: #7a2343;
  --plum-ink: #fff7f3;
  --gold: #b08a3e;
  --gold-ink: #85651f;
  --wa: #1c7a43;
  --wa-2: #16683a;
  --reserved: #9a5b00;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 14px;
  --arch: 999px 999px 18px 18px;
  --shadow: 0 18px 40px -22px rgba(62, 18, 34, .45);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --gutter: clamp(16px, 4vw, 40px);
}
:lang(ar) {
  --serif: 'Amiri', 'Cormorant Garamond', serif;
  --sans: 'IBM Plex Sans Arabic', 'Jost', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, select, input { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; }
:lang(ar) h1, :lang(ar) h2, :lang(ar) h3 { line-height: 1.4; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--plum); color: var(--plum-ink); padding: 10px 16px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }
.ico { flex: none; }
[dir='rtl'] .ico--flip { transform: scaleX(-1); }
.wrap { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- boutons ---------- */
.btn {
  --bg: var(--plum); --fg: var(--plum-ink); --bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1.5px solid var(--bd);
  background: var(--bg); color: var(--fg); text-decoration: none; font-weight: 500; letter-spacing: .01em;
  cursor: pointer; transition: transform .2s var(--ease), background-color .2s, box-shadow .2s, border-color .2s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary:hover { --bg: var(--plum-2); box-shadow: var(--shadow); }
.btn--wa { --bg: var(--wa); --fg: #fff; }
.btn--wa:hover { --bg: var(--wa-2); box-shadow: 0 14px 30px -18px rgba(22, 104, 58, .8); }
.btn--ghost { --bg: transparent; --fg: var(--plum); --bd: color-mix(in srgb, var(--plum) 35%, transparent); }
.btn--ghost:hover { --bg: color-mix(in srgb, var(--plum) 7%, transparent); --bd: var(--plum); }
.btn--outline { --bg: transparent; --fg: var(--ink); --bd: var(--ink); }
.btn--outline:hover { --bg: var(--ink); --fg: var(--ivory); }
.btn--text { --bg: transparent; --fg: var(--plum); padding-inline: 4px; min-height: 44px; }
.btn--text:hover { text-decoration: underline; text-underline-offset: 4px; transform: none; }
.btn--sm { min-height: 40px; padding: 8px 16px; font-size: 15px; }
.btn--lg { min-height: 56px; font-size: 17px; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 0; color: var(--plum); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- en-tête ---------- */
.topbar { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ivory) 88%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.topbar.is-scrolled { border-color: var(--line); box-shadow: 0 8px 24px -20px rgba(36, 22, 27, .5); }
.topbar__in { width: min(1240px, 100%); margin-inline: auto; padding: 10px var(--gutter); display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--plum); }
.logo__crown { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--plum); color: #e7c97f; }
.logo__word { font-family: 'Cormorant Garamond', serif; font-size: 25px; font-weight: 600; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.logo__word em { font-style: italic; font-weight: 500; color: var(--gold-ink); }
.nav { display: none; gap: 28px; margin-inline-start: auto; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; padding: 10px 2px; position: relative; }
.nav a::after { content: ''; position: absolute; inset-inline: 0; bottom: 4px; height: 1px; background: var(--plum); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: scaleX(1); }
.topbar__end { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang { display: inline-grid; place-items: center; min-width: 44px; min-height: 40px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; color: var(--ink); background: var(--paper); }
.lang:hover { border-color: var(--plum); }
.lang__long { display: none; }
.topbar .btn--wa span:not(.sr-only) { display: none; }
.topbar .btn--wa { padding: 8px; width: 44px; min-height: 44px; }
@media (min-width: 900px) {
  .nav { display: flex; }
  .topbar__end { margin-inline-start: 24px; }
  .lang__long { display: inline; }
  .lang__short { display: none; }
  .topbar .btn--wa { width: auto; padding: 8px 18px; min-height: 40px; }
  .topbar .btn--wa span:not(.sr-only) { display: inline; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: clip; padding: clamp(28px, 6vw, 72px) 0 clamp(48px, 8vw, 96px); }
.hero::before {
  content: ''; position: absolute; inset: auto -10% 0 -10%; height: 70%; z-index: -1;
  background: radial-gradient(60% 70% at 70% 60%, var(--blush) 0%, transparent 70%), radial-gradient(40% 50% at 15% 90%, #f3e6d3 0%, transparent 70%);
}
.hero__in { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; }
:lang(ar) .eyebrow { letter-spacing: 0; font-size: 14px; }
.hero h1 { font-size: clamp(44px, 11vw, 92px); margin: 18px 0 18px; letter-spacing: -.01em; color: var(--ink); }
:lang(ar) .hero h1 { font-size: clamp(40px, 10vw, 76px); }
.hero h1 em { font-style: italic; font-weight: 500; color: var(--plum); }
:lang(ar) .hero h1 em { font-style: normal; }
.hero__text { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 36ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.perks { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; }
.perks li { display: inline-flex; align-items: center; gap: 8px; }
.perks .ico { color: var(--gold); }

.hero__art { position: relative; height: clamp(380px, 112vw, 640px); max-width: 560px; width: 100%; margin-inline: auto; }
.arch { position: absolute; display: block; overflow: hidden; border-radius: var(--arch); background: var(--blush-2); box-shadow: var(--shadow); }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.04); }
.arch--main { inset-inline-start: 12%; top: 0; width: 66%; height: 88%; border: 6px solid var(--paper); }
.arch--side { inset-inline-end: 0; bottom: 0; width: 38%; height: 46%; border: 5px solid var(--paper); }
.arch--mini { inset-inline-start: 0; bottom: 6%; width: 26%; height: 30%; border: 4px solid var(--paper); }
.hero__art--empty .arch--main { inset-inline-start: 50%; transform: translateX(-50%); background: linear-gradient(170deg, var(--plum) 0%, #3d0d20 100%); display: grid; place-items: center; }
[dir='rtl'] .hero__art--empty .arch--main { transform: translateX(50%); }
.monogram { position: relative; display: grid; place-items: center; color: #e7c97f; }
.monogram .ico { position: absolute; top: -78px; }
.monogram b { font: italic 600 clamp(150px, 30vw, 220px)/1 'Cormorant Garamond', serif; color: var(--plum-ink); opacity: .95; }
.hero__art--empty .arch--main::after { content: ''; position: absolute; inset: 14px; border-radius: inherit; border: 1px solid rgba(231, 201, 127, .55); }
.hero__seal { position: absolute; top: 8%; inset-inline-end: 4%; display: grid; place-items: center; gap: 2px; width: 104px; height: 104px; border-radius: 50%; background: var(--paper); color: var(--plum); box-shadow: var(--shadow); text-align: center; font: italic 600 15px/1.1 var(--serif); padding: 12px; border: 1px solid var(--line); }
.hero__seal .ico { color: var(--gold); }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1.05fr .95fr; gap: 56px; }
  .hero__art { height: 600px; }
}

/* ---------- sections ---------- */
section { padding-block: clamp(56px, 9vw, 112px); }
.section-head { margin-bottom: 28px; }
.section-head--center { text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-ink); font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; margin-bottom: 10px; }
:lang(ar) .kicker { letter-spacing: 0; font-size: 14px; }
.section-head h2 { font-size: clamp(36px, 7vw, 60px); }
.section-head__sub { margin-top: 10px; color: var(--muted); }

/* ---------- boutique ---------- */
.shop { background: var(--paper); border-block: 1px solid var(--line); }
.filters { position: sticky; top: 64px; z-index: 20; margin: 0 calc(var(--gutter) * -1) 24px; padding: 10px var(--gutter); background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: grid; gap: 10px; }
.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; scroll-snap-align: start; min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); cursor: pointer; font-size: 15px; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.chip:hover { border-color: var(--plum); }
.chip[aria-pressed='true'] { background: var(--plum); color: var(--plum-ink); border-color: var(--plum); }
.filters__row { display: flex; gap: 10px; flex-wrap: wrap; }
.select { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.select select { min-height: 40px; border-radius: 999px; border: 1px solid var(--line); background: var(--ivory); padding: 6px 14px; color: var(--ink); cursor: pointer; }

.grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; } }
@media (min-width: 1100px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; min-width: 0; animation: rise .5s var(--ease) both; }
.card[hidden] { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.card__media { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--blush); }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s, transform .9s var(--ease); }
.card__alt { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__alt { opacity: 1; }
  .card:hover .card__media img:first-child { transform: scale(1.04); }
}
.card__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); }
.tag { position: absolute; top: 10px; inset-inline-start: 50%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--paper); color: var(--plum); font-size: 12px; font-weight: 500; letter-spacing: .04em; white-space: nowrap; box-shadow: 0 6px 16px -10px rgba(0,0,0,.4); }
[dir='rtl'] .tag { transform: translateX(50%); }
.card .tag { top: 14%; }
.tag .ico { color: var(--gold); }
.tag--new { background: var(--plum); color: var(--plum-ink); }
.tag--reserved { background: #fff3df; color: var(--reserved); }
.tag--sold { background: var(--ink); color: var(--ivory); }
.card__body { display: flex; flex-direction: column; gap: 4px; padding-top: 12px; flex: 1; }
.card__title { font-size: clamp(19px, 2.4vw, 22px); line-height: 1.2; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__title a:hover { color: var(--plum); }
.card__meta { color: var(--muted); font-size: 14px; }
.price { font-weight: 600; color: var(--plum); font-size: 17px; }
.price s { color: var(--muted); font-weight: 400; font-size: .85em; margin-inline-start: 6px; }
.card .btn { margin-top: auto; position: relative; z-index: 2; min-height: 44px; font-size: 15px; padding-inline: 12px; }
.card__body > .btn { margin-top: auto; }
.card__body > .price { margin-bottom: 10px; }
.card--reserved .card__media img { filter: saturate(.75); }
.card--sold .card__media img { filter: grayscale(1); opacity: .7; }
.nomatch { text-align: center; color: var(--muted); padding: 32px 0; }
.more { display: flex; justify-content: center; margin-top: 36px; }
.empty { text-align: center; display: grid; justify-items: center; gap: 12px; padding: 40px 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.empty .ico { color: var(--gold); }
.empty h3 { font-size: 30px; color: var(--ink); }
.empty .btn { margin-top: 8px; }

/* ---------- comment commander ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: s; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px 24px; }
.step__ico { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--blush); color: var(--plum); margin-bottom: 16px; }
.step__n { position: absolute; top: 18px; inset-inline-end: 22px; font: italic 600 34px/1 'Cormorant Garamond', serif; color: var(--gold); opacity: .8; }
.step h3 { font-size: 25px; margin-bottom: 6px; }
.step p { color: var(--muted); }
.how__note { text-align: center; max-width: 60ch; margin: 28px auto 0; color: var(--muted); }

/* ---------- vendues ---------- */
.sold { background: var(--blush); }
.sold__row { list-style: none; padding: 0; margin: 0; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; padding-bottom: 8px; }
.sold__row li { position: relative; flex: 0 0 clamp(130px, 30vw, 200px); scroll-snap-align: start; }
.sold__row img { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; border-radius: 999px 999px 12px 12px; filter: grayscale(.85); opacity: .85; }
.sold__row .tag { top: auto; bottom: 10px; }

/* ---------- à propos ---------- */
.about__in { max-width: 760px; text-align: center; display: grid; justify-items: center; gap: 18px; }
.about__mark { color: var(--gold); }
.about h2 { font-size: clamp(36px, 7vw, 56px); }
.about__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--tiktok { --bg: #111; --fg: #fff; }
.btn--tiktok:hover { --bg: #000; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .7); }
.about p { font-size: clamp(18px, 2.4vw, 21px); color: var(--muted); font-family: var(--serif); font-style: italic; line-height: 1.55; }
:lang(ar) .about p { font-style: normal; }

/* ---------- pied de page ---------- */
.footer { background: var(--ink); color: #e9dcd6; padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer__in { width: min(1240px, 100%); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 32px; }
@media (min-width: 760px) { .footer__in { grid-template-columns: 2fr 1fr 1fr; } }
.footer .logo { color: var(--plum-ink); }
.footer .logo__crown { background: var(--plum-2); }
.footer .logo__word em { color: #d8b866; }
.footer__brand p { margin-top: 14px; color: #c8b6b0; }
.footer__brand .footer__city { margin-top: 4px; }
.footer h2 { font: 500 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #d8b866; margin-bottom: 16px; }
:lang(ar) .footer h2 { letter-spacing: 0; font-size: 14px; }
.footer__col { display: grid; gap: 6px; align-content: start; }
.footer__col a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: #f3e9e5; }
.footer__col a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { width: min(1240px, 100%); margin: 40px auto 0; padding: 20px var(--gutter) 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #b9a7a1; }

.wa-float { position: fixed; z-index: 50; inset-inline-end: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--wa); color: #fff; box-shadow: 0 16px 30px -12px rgba(22, 104, 58, .7); transition: transform .2s var(--ease), opacity .3s; }
.wa-float:hover { transform: scale(1.06); background: var(--wa-2); }
.wa-float.is-hidden { opacity: 0; pointer-events: none; transform: scale(.8); }

/* ---------- page produit ---------- */
.pdp-wrap { padding-top: 16px; padding-bottom: 24px; }
.backlink { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 15px; }
.backlink:hover { color: var(--plum); }
.pdp { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 960px) { .pdp { grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; } }
.gallery { position: relative; min-width: 0; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 28px 28px var(--radius) var(--radius); background: var(--blush); }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 4 / 5; border: 0; padding: 0; margin: 0; background: none; cursor: zoom-in; display: block; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide--ph { display: grid; place-items: center; color: var(--gold); cursor: default; }
.gallery > .tag { top: 16px; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; scrollbar-width: none; }
.thumb { flex: 0 0 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--blush); cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-current='true'], .thumb:hover { opacity: 1; border-color: var(--plum); }
.pdp__info { display: grid; gap: 16px; align-content: start; }
@media (min-width: 960px) { .pdp__info { position: sticky; top: 88px; } }
.pdp h1 { font-size: clamp(36px, 6vw, 54px); }
.pdp__price .price { font-size: 26px; }
.pdp__note { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.pdp__note .ico { color: var(--gold); margin-top: 5px; }
.pdp__status { font: italic 600 26px/1 var(--serif); color: var(--reserved); }
.pdp__status--sold { color: var(--muted); }
.specs { margin: 8px 0 0; display: grid; border-top: 1px solid var(--line); }
.specs div { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; font-weight: 500; text-align: end; }
.pdp__desc h2 { font-size: 26px; margin-bottom: 8px; }
.pdp__desc p { color: var(--muted); }
.pdp__delivery { font-size: 14px; color: var(--muted); padding: 14px 16px; background: var(--blush); border-radius: 12px; }
.pdp--sold .gallery img { filter: grayscale(1); }
.related { padding-top: 24px; }
.related .section-head h2 { font-size: clamp(30px, 5vw, 44px); }

.zoom { overscroll-behavior: contain; width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 10, 14, .96); color: #fff; }
.zoom::backdrop { background: rgba(20, 10, 14, .9); }
.zoom[open] { display: grid; place-items: center; }
.zoom img { max-width: 100%; max-height: 100dvh; object-fit: contain; touch-action: pan-y pinch-zoom; }
.zoom__btn { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; }
.zoom__btn:hover { background: rgba(255,255,255,.26); }
.zoom__close { top: calc(14px + env(safe-area-inset-top)); inset-inline-end: 14px; }
.zoom__prev { inset-inline-start: 12px; top: 50%; translate: 0 -50%; }
.zoom__next { inset-inline-end: 12px; top: 50%; translate: 0 -50%; }
.zoom__count { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); inset-inline: 0; text-align: center; font-size: 14px; color: #e9dcd6; }

.notfound { text-align: center; display: grid; justify-items: center; gap: 16px; padding-block: 96px; }
.notfound .ico { color: var(--gold); }
.notfound h1 { font-size: clamp(34px, 6vw, 52px); }
.notfound p { color: var(--muted); max-width: 46ch; }

.toast { position: fixed; z-index: 60; bottom: calc(90px + env(safe-area-inset-bottom)); inset-inline: 0; margin-inline: auto; width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 999px; background: var(--ink); color: var(--ivory); font-size: 15px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- bandeau d'annonce ---------- */
.announce { background: var(--plum); color: var(--plum-ink); text-align: center; font-size: 13px; letter-spacing: .06em; padding: 8px 16px; }
:lang(ar) .announce { letter-spacing: 0; font-size: 14px; }
.announce p { min-height: 1.5em; }
.announce span { display: inline-block; animation: fade .6s var(--ease); }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } }

/* ---------- ruban défilant ---------- */
.ribbon { overflow: hidden; background: var(--ink); color: #ead9c4; padding: 14px 0; }
.ribbon__track { display: flex; width: max-content; animation: ribbon 38s linear infinite; }
[dir='rtl'] .ribbon__track { animation-name: ribbon-rtl; }
@keyframes ribbon-rtl { to { transform: translateX(50%); } }
.ribbon span { display: flex; align-items: center; flex: none; }
.ribbon b { font-weight: inherit; margin-inline: 22px; white-space: nowrap; }
.ribbon { font: italic 500 22px/1 var(--serif); }
:lang(ar) .ribbon { font-style: normal; font-size: 20px; }
.ribbon .ico { color: var(--gold); }
@keyframes ribbon { to { transform: translateX(-50%); } }

/* ---------- catégories ---------- */
.cats { padding-bottom: 0; }
.cats__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 720px) { .cats__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .cats__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.cat { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; background: var(--blush); text-decoration: none; color: #fff; }
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.cat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(36, 10, 20, .78)); }
.cat:hover img { transform: scale(1.05); }
.cat__label { position: absolute; z-index: 1; inset-inline: 0; bottom: 0; padding: 14px; display: grid; gap: 2px; text-align: center; }
.cat__name { font: 600 21px/1.15 var(--serif); }
.cat__n { font-size: 13px; opacity: .85; }

/* ---------- cartes : marque et réduction ---------- */
.card__brand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; }
.off { position: absolute; bottom: 10px; inset-inline-end: 10px; padding: 4px 9px; border-radius: 999px; background: var(--paper); color: var(--plum); font-size: 12.5px; font-weight: 600; box-shadow: 0 6px 16px -10px rgba(0,0,0,.45); font-variant-numeric: tabular-nums; }

/* ---------- pourquoi la seconde main ---------- */
.why { background: var(--paper); border-block: 1px solid var(--line); }
.why__in { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .why__in { grid-template-columns: .85fr 1.15fr; gap: 64px; } }
.why__media { border-radius: 999px 999px var(--radius) var(--radius); overflow: hidden; aspect-ratio: 3 / 4; max-width: 460px; width: 100%; margin-inline: auto; box-shadow: var(--shadow); border: 6px solid var(--ivory); }
.why__media img { width: 100%; height: 100%; object-fit: cover; }
.why__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
@media (min-width: 640px) { .why__list { grid-template-columns: 1fr 1fr; gap: 28px 24px; } }
.why__list li { display: flex; gap: 14px; align-items: flex-start; }
.why__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--blush); color: var(--plum); }
.why__list h3 { font-size: 23px; margin-bottom: 4px; }
.why__list p { color: var(--muted); font-size: 15.5px; }

/* ---------- questions ---------- */
.faq__in { max-width: 820px; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; cursor: pointer; font: 600 22px/1.25 var(--serif); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--plum); }
.qa__ico { flex: none; position: relative; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); }
.qa__ico::before, .qa__ico::after { content: ''; position: absolute; inset: 50% 7px auto; height: 1.5px; background: currentColor; transition: transform .25s var(--ease); }
.qa__ico::after { transform: rotate(90deg); }
.qa[open] .qa__ico::after { transform: rotate(0deg); }
.qa p { color: var(--muted); padding: 0 0 20px; max-width: 64ch; }

/* ---------- fiche produit : économie, état, outils ---------- */
.pdp__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.pdp__save { font-size: 14px; color: var(--wa); font-weight: 500; }
.pdp__cond { font-size: 15px; color: var(--muted); padding: 12px 14px; border-inline-start: 3px solid var(--gold); background: var(--paper); border-radius: 0 10px 10px 0; }
[dir='rtl'] .pdp__cond { border-radius: 10px 0 0 10px; }
.pdp__cond strong { color: var(--ink); font-weight: 600; }
.pdp__tools { display: flex; flex-wrap: wrap; gap: 4px 18px; }

@media (prefers-reduced-motion: reduce) {
  .ribbon__track { animation: none; }
}
