/* =====================================================================
   Bulk Maroc — page produit (mobile d'abord)
   ===================================================================== */

:root {
  --vibrant-coral: #fe5f55;
  --tan: #e3c498;
  --sand-dune: #d6d1b1;
  --beige: #eef5db;

  --color-text: #1d1b18;
  --color-text-muted: #6f6a60;
  --color-white: #ffffff;
  --color-border: rgba(29, 27, 24, 0.16);

  --gradient-main: linear-gradient(135deg, var(--vibrant-coral), var(--tan), var(--sand-dune), var(--beige));

  /* gris du goût Unflavoured (bouton, sélection) */
  --grey-flavor: #b4b9bf;

  /* dérivées */
  --color-border-strong: rgba(29, 27, 24, 0.28);
  --coral-ink: #b8372e;              /* petits textes coral lisibles (AA) */
  --coral-soft: rgba(254, 95, 85, 0.10);
  --coral-ring: rgba(254, 95, 85, 0.16);

  --display: "Scoutie Sans", "Helvetica Neue", Arial, sans-serif;
  --body: "Scoutie Sans", "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: "Courier Prime", "Courier New", monospace;

  --header-h: 56px;
  --pad: 16px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
html[lang="ar"] {
  --display: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --mono: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background-color: var(--beige);
  color: var(--color-text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
legend { padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--color-text); outline-offset: 3px; }
.skip-link { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 60; padding: 8px 14px; background: var(--color-text); color: #fff; font-size: 13px; }
.skip-link:focus { top: 12px; }

/* =====================================================================
   BOUTONS D'ACTION
   ===================================================================== */
/*
  From Uiverse.io by aCHEN-design - https://uiverse.io/aCHEN-design/popular-snake-80
  MIT License, Copyright (c) adeladel522, aCHEN-design (aCHEN)
*/
.bulk-action-button {
  position: relative;
  transition:
    transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out,
    background-color 0.3s ease-in-out,
    border-color 0.3s ease-in-out;
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
  padding-block: 0.5rem;
  padding-inline: 1.25rem;
  background: rgba(0, 0, 0, 0.82);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #ffffff;
  gap: 10px;
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.9);
  outline: none;
  overflow: hidden;
  font-size: 15px;
  text-decoration: none;
}
.bulk-action-button__icon { width: 24px; height: 24px; flex: none; transition: transform 0.3s ease-in-out; }
.bulk-action-button:hover {
  transform: scale(1.05);
  border-color: #fff9;
  background: #1d1b18;
  box-shadow: 0 4px 0 rgba(29, 27, 24, 0.45), 0 0 0 3px rgba(254, 95, 85, 0.18);
}
.bulk-action-button:hover .bulk-action-button__icon { transform: translate(4px); }
.bulk-action-button:hover::before { animation: shine 1.5s ease-out infinite; }
.bulk-action-button::before {
  content: "";
  position: absolute;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(120deg, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0) 70%);
  top: 0;
  left: -100px;
  opacity: 0.6;
}
@keyframes shine { 0% { left: -100px; } 60% { left: 100%; } to { left: 100%; } }
/* Ajouts Bulk (style d'origine inchangé) */
.bulk-action-button:focus-visible { outline: 2px solid var(--vibrant-coral); outline-offset: 3px; }
.bulk-action-button:active { transform: scale(0.98); }
.bulk-action-button:disabled { cursor: progress; transform: none; }
.bulk-action-button.is-loading .bulk-action-button__icon { display: none; }
.bulk-action-button.is-loading::after {
  content: ""; width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 800ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* Noir au départ, puis couleur du goût choisi (texte foncé pour la lisibilité) */
.bulk-action-button[data-flavor="vanilla"] { background: var(--tan); color: var(--color-text); }
.bulk-action-button[data-flavor="mixedBerry"] { background: var(--vibrant-coral); color: var(--color-text); }
.bulk-action-button[data-flavor="unflavored"] { background: var(--grey-flavor); color: var(--color-text); }
.bulk-action-button[data-flavor="vanilla"]:hover { background: #d9b47f; }
.bulk-action-button[data-flavor="mixedBerry"]:hover { background: #f4483d; }
.bulk-action-button[data-flavor="unflavored"]:hover { background: #a1a7ae; }
.bulk-action-button[data-flavor]:focus-visible { outline-color: var(--color-text); }
.bulk-action-button[data-flavor].is-loading::after { border-color: rgba(29, 27, 24, 0.25); border-top-color: var(--color-text); }
/* Arabe : la flèche pointe vers la gauche */
[dir="rtl"] .bulk-action-button__icon { transform: scaleX(-1); }
[dir="rtl"] .bulk-action-button:hover .bulk-action-button__icon { transform: scaleX(-1) translate(4px); }

/* ---------- Bandeau + header ---------- */
.promo {
  padding: 7px var(--pad);
  background: var(--vibrant-coral);
  color: var(--color-text);
  font-size: 12.5px; font-weight: 600; text-align: center;
}
.site-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--pad);
  background: var(--beige);
  border-bottom: 1px solid var(--color-border);
}
.brand { display: inline-flex; }
.brand img { height: 24px; width: auto; }
.brand:active { opacity: 0.5; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn, .icon-btn {
  display: grid; place-items: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  border: 1px solid var(--color-border); border-radius: 999px;
  background: var(--beige); cursor: pointer;
  font-weight: 700; font-size: 15px;
  transition: transform 200ms var(--ease);
}
.lang-btn { font-family: "IBM Plex Sans Arabic", var(--body); }
.icon-btn { width: 40px; padding: 0; }
.icon-btn svg { width: 16px; height: 16px; fill: none; stroke: var(--color-text); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lang-btn:hover, .icon-btn:hover { border-color: var(--vibrant-coral); }
.lang-btn:active, .icon-btn:active { transform: scale(0.94); }
.toast { position: absolute; inset-inline-end: var(--pad); top: calc(100% + 8px); padding: 6px 12px; background: var(--color-text); color: #fff; font-size: 12.5px; border-radius: 8px; }

/* ---------- Mise en page ---------- */
.shop { display: grid; grid-template-areas: "gallery" "info" "order"; }
.gallery { grid-area: gallery; }
.info { grid-area: info; }
.order { grid-area: order; }

/* ---------- Galerie ---------- */
.gallery { position: relative; padding: 14px var(--pad) 0; }
.gallery-coral, .gallery-tan { position: absolute; z-index: 0; }
.gallery-coral { inset-inline-start: 0; bottom: 18px; width: 46%; height: 46%; background: var(--vibrant-coral); }
.gallery-tan { inset-inline-end: 0; top: 0; width: 38%; height: 40%; background: var(--tan); }
.slides {
  position: relative; z-index: 1;
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
  direction: ltr;  /* ordre des photos identique en arabe */
  scrollbar-width: none;
  margin-inline: 8px;
  background: var(--sand-dune);
}
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 5 / 4; overflow: hidden; }
.slide img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.dots { position: relative; z-index: 1; display: flex; justify-content: center; gap: 6px; padding: 12px 0 2px; }
.dot { width: 22px; height: 22px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.dot::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--color-border-strong);
  transition: transform 300ms var(--ease), background-color 200ms;
}
.dot[aria-current="true"]::before { background: var(--color-text); transform: scaleX(2.2); }
.arrow { display: none; }

/* ---------- Infos produit ---------- */
.info { padding: 14px var(--pad) 4px; }
.kicker { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; color: var(--color-text-muted); }
html[lang="ar"] .kicker { letter-spacing: 0; }
.title {
  margin-top: 4px;
  font-family: var(--display); font-stretch: 88%; font-weight: 800;
  font-size: clamp(32px, 8vw, 58px); line-height: 1; letter-spacing: -0.03em;
}
html[lang="ar"] .title { letter-spacing: 0; line-height: 1.25; font-weight: 700; }
.lead { margin-top: 10px; font-size: 15.5px; line-height: 1.55; max-width: 46ch; }
/* =====================================================================
   TYPOGRAPHIE : SCOUTIE SANS (titres + textes ; graisses 400 à 800)
   ===================================================================== */
.title, .price, .ok-title, .tk-total b, .acc-btn, .bulk-action-button .btn-label, .sticky-cta > span {
  font-family: var(--display);
  font-style: normal;
  font-stretch: normal;
  font-synthesis: none;
}
.title { font-size: clamp(36px, 9.5vw, 66px); font-weight: 600; line-height: 1.02; letter-spacing: -0.03em; }
.price { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; }
.ok-title { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.tk-total b { font-family: var(--display); font-size: 28px; font-weight: 700; }
.acc-btn { font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.bulk-action-button .btn-label, .sticky-cta > span { font-size: 16px; font-weight: 700; letter-spacing: 0; }
@media (min-width: 1024px) {
  .title { font-size: 62px; }
  .price { font-size: 36px; }
}
/* Arabe : Scoutie Sans n'a pas de lettres arabes → police arabe en gras */
html[lang="ar"] .title, html[lang="ar"] .price, html[lang="ar"] .ok-title, html[lang="ar"] .tk-total b,
html[lang="ar"] .acc-btn, html[lang="ar"] .bulk-action-button .btn-label, html[lang="ar"] .sticky-cta > span {
  font-weight: 700; letter-spacing: 0;
}
html[lang="ar"] .acc-btn { font-weight: 600; }

/* Points clés sous le titre */
.highlights { margin-top: 12px; padding-inline-start: 20px; list-style: disc; font-size: 15px; line-height: 1.5; max-width: 52ch; }
.highlights li + li { margin-top: 5px; }
.highlights li::marker { color: var(--vibrant-coral); }
.highlights .hl-date { margin-bottom: 10px; }
.sub { margin-top: 8px; color: var(--color-text-muted); font-size: 13.5px; }
.price-line { margin-top: 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price {
  position: relative; padding-bottom: 4px;
  font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.price::after { content: ""; position: absolute; inset-inline: 0; bottom: 0; height: 4px; background: var(--vibrant-coral); }
.compare { color: var(--color-text-muted); font-size: 16px; font-weight: 500; }
.trust { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.t-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--vibrant-coral); flex: none; }

/* =====================================================================
   BON DE COMMANDE (ticket)
   ===================================================================== */
.order { margin: 22px var(--pad) 0; scroll-margin-top: calc(var(--header-h) + 10px); }
.ticket {
  position: relative;
  padding: 22px 18px 26px;
  background: var(--color-white);
  font-family: var(--mono);
  filter: drop-shadow(0 18px 30px rgba(29, 27, 24, 0.12));
}
/* bord perforé */
.ticket::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px;
  background: radial-gradient(circle at 8px 0, transparent 7px, var(--color-white) 7.5px) 0 0 / 16px 12px repeat-x;
}
.tk-head { text-align: center; padding-bottom: 12px; }
.tk-head img { height: 22px; width: auto; margin: 0 auto 6px; }
.tk-title { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: 0.02em; line-height: 1.5; }
.tk-sec { padding: 14px 0; }
.tk-label { float: inline-start; width: 100%; margin: 0 0 10px; font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.08em; }
.tk-label + * { clear: both; }
html[lang="ar"] .tk-label, html[lang="ar"] .tk-title { letter-spacing: 0; }

.tk-pick { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tk-pick.tk-three { grid-template-columns: repeat(3, 1fr); }
.tk-opt {
  position: relative;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  min-height: 44px; padding: 8px 6px;
  border: 1px solid var(--color-border-strong);
  font-size: 13px; text-align: center; line-height: 1.25;
  cursor: pointer;
  transition: transform 180ms var(--ease);
}
.tk-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.tk-opt:hover { border-color: var(--color-text); }
.tk-opt:active { transform: scale(0.97); }
.tk-opt:has(input:checked) {
  border-color: var(--vibrant-coral);
  background: var(--coral-soft);
  box-shadow: 0 0 0 2px rgba(254, 95, 85, 0.12);
  font-weight: 700;
}
.tk-opt:has(input:focus-visible) { outline: 2px solid var(--color-text); outline-offset: 2px; }
.tk-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: inset 0 0 0 1px rgba(29, 27, 24, 0.15); }
.dot-vanilla { background: var(--tan); }
.dot-berry { background: var(--vibrant-coral); }
.dot-plain { background: var(--sand-dune); }
.tk-pick.has-error .tk-opt { border-color: var(--coral-ink); }
.tk-hint { margin-top: 8px; font-size: 12px; color: var(--color-text-muted); }

/* =====================================================================
   SÉLECTEUR DE CHOIX (format, goût)
   ===================================================================== */
/*
  From Uiverse.io by Yaya12085 - https://uiverse.io/Yaya12085/orange-eagle-19
  MIT License, Copyright (c) Yaya12085 (Yaya Mohamed)
*/
/* Adaptations Bulk : classes renommées (.seg), largeur fluide (--n = nombre d'options),
   couleurs de la marque, champs radio restés accessibles au clavier. */
.seg input {
  position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none;
}
.seg {
  --n: 3;
  --seg-color: #1d1b18;
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background-color: #fff;
  color: #000000;
  width: 100%;
  overflow: hidden;
  border: 1px solid rgba(53, 52, 52, 0.226);
  font-family: var(--body);
}
.seg label {
  width: 100%;
  min-height: 44px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  font-weight: 600;
  letter-spacing: -1px;
  font-size: 14px;
  line-height: 1.2;
}
html[lang="ar"] .seg label { letter-spacing: 0; }
.seg label:hover:not(:has(input:checked)) { background-color: rgba(29, 27, 24, 0.05); }
.seg label:active { opacity: 0.75; }
.seg label:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--vibrant-coral); }
.seg .selection {
  display: none;
  position: absolute;
  height: 100%;
  width: calc(100% / var(--n));
  z-index: 0;
  left: 0;
  top: 0;
  transition: .15s ease;
}
.seg label:has(input:checked) { color: #fff; }
.seg label:has(input:checked) ~ .selection {
  background-color: var(--seg-color);
  display: inline-block;
}
.seg label:nth-child(1):has(input:checked) ~ .selection { transform: translateX(0%); }
.seg label:nth-child(2):has(input:checked) ~ .selection { transform: translateX(100%); }
.seg label:nth-child(3):has(input:checked) ~ .selection { transform: translateX(200%); }
/* Arabe (droite à gauche) : la sélection glisse dans l'autre sens */
[dir="rtl"] .seg .selection { left: auto; right: 0; }
[dir="rtl"] .seg label:nth-child(2):has(input:checked) ~ .selection { transform: translateX(-100%); }
[dir="rtl"] .seg label:nth-child(3):has(input:checked) ~ .selection { transform: translateX(-200%); }
/* Goût : la sélection prend la couleur du goût (texte foncé pour rester lisible) */
.seg--flavor label:has(input:checked) { color: var(--color-text); }
.seg--flavor:has(input[value="unflavored"]:checked) { --seg-color: var(--grey-flavor); }
.seg--flavor:has(input[value="vanilla"]:checked) { --seg-color: var(--tan); }
.seg--flavor:has(input[value="mixedBerry"]:checked) { --seg-color: var(--vibrant-coral); }
.seg.has-error { border-color: var(--coral-ink); box-shadow: 0 0 0 2px rgba(184, 55, 46, 0.15); }

/* Deux cartes séparées : produit, puis coordonnées */
.ticket + .ticket { margin-top: 34px; }
.ticket--info { padding-top: 10px; }

/* Format : poids + prix sur deux lignes (3 options) */
.seg--pack label { min-height: 56px; padding: 8px 4px; }
.seg-two { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.seg-two b { font-size: 15px; font-weight: 700; }
.seg-two small { font-size: 12px; font-weight: 500; letter-spacing: -0.02em; opacity: 0.8; }

/* Mix : un compteur par goût */
.mix-hint { margin-bottom: 10px; font-family: var(--body); font-size: 13px; color: var(--color-text-muted); }
.mix { border: 1px solid rgba(53, 52, 52, 0.226); border-radius: 10px; overflow: hidden; font-family: var(--body); }
.mix-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 6px 8px 6px 14px;
  transition: background-color 180ms var(--ease);
}
[dir="rtl"] .mix-row { padding: 6px 14px 6px 8px; }
.mix-row + .mix-row { border-top: 1px solid rgba(53, 52, 52, 0.12); }
.mix-name { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
html[lang="ar"] .mix-name { letter-spacing: 0; }
.mix-dot { width: 12px; height: 12px; border-radius: 50%; flex: none; }
.mix-row[data-flavor="unflavored"] { --fl: var(--grey-flavor); }
.mix-row[data-flavor="vanilla"] { --fl: var(--tan); }
.mix-row[data-flavor="mixedBerry"] { --fl: var(--vibrant-coral); }
.mix-dot { background: var(--fl); }
.mix-row.is-on { background: color-mix(in srgb, var(--fl) 18%, #fff); }
.stepper { display: inline-flex; align-items: center; gap: 4px; }
.step-btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--color-border-strong); background: #fff; color: var(--color-text);
  font-family: var(--body); font-size: 22px; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: transform 160ms var(--ease), opacity 160ms var(--ease);
}
.step-btn[data-step="1"] { background: var(--color-text); border-color: var(--color-text); color: #fff; }
.step-btn:hover:not(:disabled) { transform: scale(1.06); }
.step-btn:active:not(:disabled) { transform: scale(0.92); }
.step-btn:focus-visible { outline: 2px solid var(--vibrant-coral); outline-offset: 2px; }
.step-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.step-val { min-width: 28px; text-align: center; font-family: var(--display); font-weight: 700; font-size: 19px; font-variant-numeric: tabular-nums; }
.mix-sum { margin-top: 10px; font-size: 13px; font-weight: 700; }
.mix.has-error { border-color: var(--coral-ink); box-shadow: 0 0 0 2px rgba(184, 55, 46, 0.15); }
@media (prefers-reduced-motion: no-preference) {
  #mix-sec:not([hidden]) { animation: fade-in 320ms var(--ease) both; }
}

.flavor-slot + .flavor-slot { margin-top: 12px; }
.slot-label { margin-bottom: 6px; font-size: 12.5px; font-weight: 700; }
@media (prefers-reduced-motion: no-preference) {
  .flavor-slot:not([hidden]) { animation: fade-in 320ms var(--ease) both; }
}

.field + .field { margin-top: 10px; }
.field label { display: block; margin-bottom: 4px; font-family: var(--body); font-size: 12.5px; font-weight: 700; }
.field input, .field textarea {
  display: block; width: 100%; min-height: 48px; padding: 11px 12px;
  border: 1px solid var(--color-border-strong); border-radius: 6px;
  background: var(--color-white); font-family: var(--body); font-size: 16px; line-height: 1.4;
}
[dir="rtl"] .field input[type="tel"] { text-align: right; }
.field textarea { resize: vertical; min-height: 64px; }
.field input::placeholder, .field textarea::placeholder { color: var(--color-text-muted); opacity: 0.7; }
.field input:hover, .field textarea:hover { border-color: rgba(29, 27, 24, 0.45); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--vibrant-coral); box-shadow: 0 0 0 3px var(--coral-ring); }
.field .is-invalid, .field .is-invalid:hover { border-color: var(--coral-ink); }
.error { margin-top: 6px; font-family: var(--body); font-size: 12.5px; font-weight: 600; color: var(--coral-ink); }
.error:empty { display: none; }

.tk-lines { padding-top: 12px; }
.tk-row { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; font-size: 14px; }
.tk-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 0 4px; font-weight: 700; font-size: 17px; }
.tk-total b { font-size: 26px; font-variant-numeric: tabular-nums; }
.tk-paynow { font-size: 12.5px; }
.form-status { margin-top: 10px; font-family: var(--body); font-size: 13.5px; font-weight: 600; color: var(--coral-ink); }
.order-btn { width: 100%; min-height: 54px; margin-top: 14px; font-family: var(--body); font-size: 16px; }
.fine { margin-top: 10px; text-align: center; font-family: var(--body); font-size: 12px; color: var(--color-text-muted); }
.fine--privacy { margin-top: 4px; font-size: 11.5px; opacity: 0.85; }

/* Confirmation */
.success { outline: none; text-align: center; }
/* Confirmation : vert « succès » */
.ok-mark { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #2e9e5b; box-shadow: 0 0 0 6px rgba(46, 158, 91, 0.15), 0 10px 22px rgba(46, 158, 91, 0.25); }
.ok-mark svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.ok-title { margin-top: 12px; font-family: var(--display); font-weight: 800; font-size: 24px; letter-spacing: -0.02em; color: #1f7a43; }
html[lang="ar"] .ok-title { letter-spacing: 0; }
.ok-text { margin-top: 6px; font-family: var(--body); color: var(--color-text-muted); font-size: 14px; }
.success .tk-lines { margin-top: 14px; text-align: start; }
.ghost-btn {
  width: 100%; min-height: 50px; margin-top: 16px;
  border: 1px solid var(--color-text); border-radius: 999px; background: transparent;
  font-family: var(--body); font-weight: 600; cursor: pointer; transition: transform 200ms var(--ease);
}
.ghost-btn:hover { background: var(--beige); }
.ghost-btn:active { transform: scale(0.98); }
@media (prefers-reduced-motion: no-preference) {
  .success:not([hidden]) { animation: fade-in 420ms var(--ease) both; }
  .acc-panel:not([hidden]) { animation: fade-in 320ms var(--ease) both; }
}
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Avis (dans la section « Avis ») ---------- */
.section-sub { font-size: 13px; color: var(--color-text-muted); }
.review-list {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(var(--pad) * -1); padding: 12px var(--pad) 8px; scrollbar-width: none;
}
.review-list::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 82%; scroll-snap-align: start;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
  padding: 16px; background: var(--color-white); border: 1px solid var(--color-border); border-radius: 12px;
}
.review p { font-size: 14.5px; line-height: 1.55; }
.r-name { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.r-name::before { content: ""; width: 14px; height: 3px; background: var(--vibrant-coral); }

/* ---------- Informations produit (style bulk.com) ---------- */
.details { margin: 48px var(--pad) 0; }
.accordions { border-top: 1px solid var(--color-border-strong); }
.acc { border-bottom: 1px solid var(--color-border-strong); }
.acc h2 { font-size: inherit; font-weight: inherit; }
.acc-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 18px 0; border: 0; background: none; text-align: start; cursor: pointer;
  font-weight: 500; font-size: 17px; color: var(--color-text);
}
.acc-btn:hover { color: var(--coral-ink); }
.acc-btn:active { opacity: 0.6; }
/* Avis : titre fixe, section toujours ouverte */
.acc-btn--static, .acc-btn--static:hover { cursor: default; color: var(--color-text); }
.acc-btn--static:active { opacity: 1; }
.acc h2.acc-btn--static { font-size: 17px; font-weight: 500; }
html[lang="ar"] .acc h2.acc-btn--static { font-weight: 600; }
/* chevron (v) qui pivote à l'ouverture */
.acc-icon {
  width: 11px; height: 11px; flex: none; margin-inline-end: 4px;
  border: solid currentColor; border-width: 0 2.5px 2.5px 0;
  transform: translateY(-3px) rotate(45deg);
  transition: transform 300ms var(--ease);
}
.acc-btn[aria-expanded="true"] .acc-icon { transform: translateY(2px) rotate(-135deg); }
.acc-panel { padding: 0 0 22px; font-size: 15px; line-height: 1.65; color: var(--color-text); }
.rich h3 { margin: 18px 0 6px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
html[lang="ar"] .rich h3 { letter-spacing: 0; font-size: 15px; }
.rich h3:first-child { margin-top: 0; }
.rich p + p { margin-top: 10px; }
.rich ul { margin: 6px 0 0; padding-inline-start: 20px; list-style: disc; }
.rich li + li { margin-top: 4px; }
.rich li::marker { color: var(--vibrant-coral); }
.rich .note { margin-top: 14px; font-size: 13px; color: var(--color-text-muted); }
.rich table { width: 100%; max-width: 460px; margin-top: 8px; border-collapse: collapse; font-size: 14.5px; }
.rich th, .rich td { padding: 10px 12px; text-align: start; border-bottom: 1px solid var(--color-border); }
.rich thead th { background: var(--color-white); font-weight: 700; border-bottom: 2px solid var(--color-text); }
.rich tbody td:last-child, .rich thead th:last-child { text-align: end; font-variant-numeric: tabular-nums; }
.rich tbody tr:nth-child(2) td:first-child { padding-inline-start: 26px; color: var(--color-text-muted); }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  margin-top: 48px; padding: 32px var(--pad) 100px;
  background: var(--color-text); color: rgba(238, 245, 219, 0.7);
  display: flex; flex-direction: column; gap: 10px; font-size: 13.5px;
}
.site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--gradient-main); }
.site-footer img { height: 26px; width: auto; max-width: none; align-self: flex-start; object-fit: contain; filter: invert(1); }
.site-footer a { color: var(--beige); font-weight: 600; }
.site-footer a:hover { color: var(--vibrant-coral); }
.site-footer a:active { opacity: 0.6; }
.copy { font-size: 12px; }

/* ---------- Bouton fixe mobile ---------- */
.sticky-cta {
  position: fixed; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 35;
  min-height: 54px; font-size: 16px;
  transform: translateY(160%); opacity: 0; pointer-events: none;
}
.sticky-cta.is-visible { transform: none; opacity: 1; pointer-events: auto; }
.sticky-cta.is-visible:hover { transform: scale(1.05); }

/* =====================================================================
   TABLETTE
   ===================================================================== */
@media (min-width: 640px) {
  :root { --pad: 28px; }
  .review { flex-basis: 46%; }
  .ticket { padding: 26px 26px 30px; }
}

/* =====================================================================
   ORDINATEUR
   ===================================================================== */
@media (min-width: 1024px) {
  :root { --header-h: 68px; --pad: 40px; }
  .promo { font-size: 13px; }
  .brand img { height: 28px; }

  .shop {
    max-width: 1320px; margin: 0 auto; padding: 32px var(--pad) 0;
    grid-template-columns: minmax(0, 1.15fr) minmax(400px, 0.85fr);
    grid-template-areas: "gallery order" "info order";
    column-gap: 56px;
  }
  .gallery { padding: 22px 22px 0; }
  .gallery-coral { bottom: 22px; height: 52%; }
  .slides { margin-inline: 0; }
  .arrow {
    display: grid; place-items: center;
    position: absolute; z-index: 2; top: calc(50% - 30px);
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--color-border); background: rgba(255, 255, 255, 0.92); cursor: pointer;
    transition: transform 200ms var(--ease);
  }
  .arrow svg { width: 18px; height: 18px; fill: none; stroke: var(--color-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .arrow-prev { left: 34px; }
  .arrow-next { right: 34px; }
  .arrow:hover { border-color: var(--vibrant-coral); }
  .arrow:active { transform: scale(0.94); }
  .info { padding: 22px 0 0; }
  .title { font-size: 56px; }
  .price { font-size: 34px; }

  .order { align-self: start; margin: 22px 0 0; }

  .details { max-width: 1320px; margin: 72px auto 0; padding: 0 var(--pad); }
  .acc-panel { max-width: 860px; }
  .acc-panel:has(.review-list) { max-width: none; }
  .review-list { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0; padding: 12px 0 8px; }

  .site-footer { margin-top: 80px; padding: 32px var(--pad); flex-direction: row; align-items: center; gap: 32px; }
  .site-footer img { align-self: center; }
  .copy { margin-inline-start: auto; }

  .sticky-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .bulk-action-button.is-loading::after { animation: spin 1.4s linear infinite !important; }
}
