/* =====================================================================
   Oulet Hrayer · feuille de style du site
   Palette : dégradés dorés (dominants) + vert bouteille des étiquettes
   ===================================================================== */

:root {
  /* Or */
  --or-900: #5E430D;
  --or-800: #7A5915;
  --or-700: #9A7424;
  --or-600: #B58C30;
  --or-500: #C9A042;
  --or-400: #DDB95A;
  --or-300: #EBD089;
  --or-200: #F5E4B2;
  --or-100: #FBF3DC;
  --or-50:  #FFFBF1;

  /* Vert */
  --vert-950: #0B2017;
  --vert-900: #10291E;
  --vert-800: #153A2B;
  --vert-700: #1E4A35;
  --vert-600: #2A6247;
  --vert-400: #5E8F6E;

  /* Encre */
  --encre: #2A2213;
  --encre-douce: #5C4E33;
  --rouge: #A8322A;

  /* Dégradés signatures */
  --grad-or: linear-gradient(135deg, #8A6516 0%, #C9A042 20%, #F6E3A0 42%, #DDB95A 58%, #9A7424 82%, #C9A042 100%);
  --grad-or-anime: linear-gradient(110deg, #8A6516 0%, #C9A042 18%, #F8E8AA 34%, #C9A042 50%, #8A6516 66%, #DDB95A 82%, #8A6516 100%);
  --grad-or-doux: linear-gradient(165deg, #FFFAEC 0%, #F8EBC4 45%, #EED79A 100%);
  --grad-or-creme: linear-gradient(180deg, #FFFCF4 0%, #FBF1D6 100%);
  --grad-vert: linear-gradient(160deg, #1E4A35 0%, #153A2B 55%, #0B2017 100%);
  --grad-vert-or: linear-gradient(135deg, #153A2B 0%, #1E4A35 45%, #7A5915 120%);

  --ombre-douce: 0 10px 30px -12px rgba(94, 67, 13, .35);
  --ombre-forte: 0 24px 60px -20px rgba(21, 58, 43, .55);
  --rayon: 22px;
  --police-titre: "Cormorant Garamond", Georgia, serif;
  --police-texte: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --police-ar: "Tajawal", "DM Sans", sans-serif;
  --police-ar-deco: "Aref Ruqaa", "Tajawal", serif;
  --entete-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--entete-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--police-texte);
  font-size: 16px;
  line-height: 1.6;
  color: var(--encre);
  background: var(--or-50);
  background-image: var(--grad-or-creme);
  overflow-x: hidden;
  font-variant-numeric: lining-nums;
}
html[lang="ar"] body { font-family: var(--police-ar); font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--police-titre); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { font-family: var(--police-ar); font-weight: 700; line-height: 1.35; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }

.conteneur { width: min(1200px, 100% - 32px); margin-inline: auto; }

.lien-evitement { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--vert-800); color: var(--or-200); padding: 8px 14px; border-radius: 8px; }
.lien-evitement:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--or-500); outline-offset: 3px; border-radius: 6px; }

/* Texte doré animé */
.texte-or {
  background: var(--grad-or-anime);
  background-size: 250% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: reflet-or 7s linear infinite;
  font-style: italic;
}
.texte-vert { color: var(--vert-700); font-style: italic; }
@keyframes reflet-or { to { background-position: 250% center; } }

/* ---------------------------------------------------------------- */
/* Boutons                                                          */
/* ---------------------------------------------------------------- */
.bouton {
  --hauteur: 50px;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: var(--hauteur);
  padding: 0 1.6em;
  border-radius: 999px;
  border: 0;
  font-weight: 700;
  letter-spacing: .01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background-position .6s ease, filter .2s;
}
.bouton:active { transform: translateY(1px) scale(.99); }
.bouton-vert { background: var(--grad-vert); color: var(--or-200); box-shadow: 0 10px 24px -12px rgba(11, 32, 23, .8); }
.bouton-vert:hover { box-shadow: 0 14px 30px -12px rgba(11, 32, 23, .9), inset 0 0 0 1.5px var(--or-500); }
.bouton-or {
  background: var(--grad-or-anime); background-size: 220% auto;
  color: var(--vert-900);
  box-shadow: 0 10px 26px -12px rgba(122, 89, 21, .8), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.bouton-or:hover { background-position: 100% center; }
.bouton-contour {
  color: var(--vert-800);
  background: linear-gradient(var(--or-50), var(--or-50)) padding-box, var(--grad-or) border-box;
  border: 2px solid transparent;
}
.bouton-contour:hover { background: linear-gradient(var(--or-100), var(--or-100)) padding-box, var(--grad-or) border-box; }
.bouton-large { width: 100%; }
.bouton[disabled] { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- */
/* Bandeau d'annonce + en-tête                                      */
/* ---------------------------------------------------------------- */
.annonce {
  background: var(--vert-950);
  color: var(--or-300);
  text-align: center;
  font-size: .86rem;
  letter-spacing: .03em;
  padding: 8px 16px;
}
.annonce:empty { display: none; }

.entete {
  position: sticky; top: 0; z-index: 40;
  background: var(--grad-vert);
  box-shadow: 0 1px 0 rgba(221, 185, 90, .35), 0 10px 30px -18px rgba(0, 0, 0, .6);
}
.entete::after { /* filet doré */
  content: ""; position: absolute; inset: auto 0 0 0; height: 2px; background: var(--grad-or);
}
.entete-ligne { display: flex; align-items: center; gap: 20px; min-height: var(--entete-h); }
.marque { display: flex; align-items: center; gap: 12px; text-decoration: none; flex-shrink: 0; }
.marque img { width: 40px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35)); }
.marque-texte { display: flex; flex-direction: column; line-height: 1.05; }
.marque-nom {
  font-family: var(--police-titre); font-weight: 700; font-size: 1.5rem;
  background: var(--grad-or-anime); background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: reflet-or 9s linear infinite;
}
.marque-ar { font-family: var(--police-ar-deco); color: var(--or-300); font-size: .95rem; }

.nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav a {
  color: var(--or-100); text-decoration: none; font-weight: 500; font-size: .95rem;
  padding: 8px 14px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav a:hover { background: rgba(221, 185, 90, .14); color: var(--or-300); }

.entete-actions { display: flex; align-items: center; gap: 10px; }
.bouton-langue, .bouton-panier, .bouton-menu {
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid rgba(221, 185, 90, .55);
  background: rgba(255, 255, 255, .04);
  color: var(--or-200);
  cursor: pointer;
  position: relative;
  transition: background .2s, transform .2s;
}
.bouton-langue { font-family: var(--police-ar-deco); font-size: 1.25rem; line-height: 1; }
html[lang="ar"] .bouton-langue { font-family: var(--police-texte); font-size: .9rem; font-weight: 700; }
.bouton-langue:hover, .bouton-panier:hover, .bouton-menu:hover { background: rgba(221, 185, 90, .18); }
.bouton-panier svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.compteur {
  position: absolute; top: -4px; inset-inline-end: -4px;
  min-width: 21px; height: 21px; padding: 0 5px;
  border-radius: 999px; background: var(--grad-or); color: var(--vert-900);
  font-size: .72rem; font-weight: 700; display: grid; place-items: center;
  box-shadow: 0 0 0 2px var(--vert-800);
}
.compteur.saute { animation: saute .45s ease; }
@keyframes saute { 40% { transform: scale(1.35); } }
.bouton-menu { display: none; gap: 4px; align-content: center; }
.bouton-menu span { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }

/* ---------------------------------------------------------------- */
/* Héros                                                            */
/* ---------------------------------------------------------------- */
.heros {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(255, 248, 220, .95), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(201, 160, 66, .55), transparent 60%),
    linear-gradient(135deg, #F7E7B6 0%, #EDD290 35%, #DDB95A 70%, #C9A042 100%);
  padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 8vw, 110px);
}
.heros-reflets { /* balayage lumineux */
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%);
  background-size: 250% 100%;
  animation: balayage 9s ease-in-out infinite;
  mix-blend-mode: soft-light;
}
@keyframes balayage { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
.heros-grille { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.surtitre {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--vert-700); margin-bottom: 18px;
}
html[lang="ar"] .surtitre { letter-spacing: 0; font-size: .95rem; }
.surtitre::before, .surtitre::after { content: ""; width: 28px; height: 1.5px; background: currentColor; opacity: .6; }
.heros-titre { font-size: clamp(2.6rem, 5.6vw, 4.6rem); color: var(--vert-900); letter-spacing: -.01em; }
.heros-titre em { display: block; }
.heros-intro { font-size: 1.12rem; max-width: 34em; color: #3D321C; }
.heros-boutons { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 34px; }
.heros .bouton-contour { background: linear-gradient(rgba(255, 250, 235, .7), rgba(255, 250, 235, .7)) padding-box, var(--grad-vert) border-box; }
.heros-atouts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 14px; }
.heros-atouts li {
  display: flex; flex-direction: column; padding: 10px 18px;
  border-radius: 16px; background: rgba(255, 251, 238, .55);
  border: 1px solid rgba(154, 116, 36, .35);
  backdrop-filter: blur(6px);
}
.heros-atouts strong { font-family: var(--police-titre); font-size: 1.6rem; color: var(--vert-800); line-height: 1.1; }
.heros-atouts span { font-size: .82rem; color: var(--encre-douce); }

.heros-visuel { position: relative; aspect-ratio: 1 / 1.08; max-width: 560px; justify-self: center; width: 100%; }

/* Arches (forme des portes tunisiennes) */
.arche {
  margin: 0; padding: 7px;
  border-radius: 999px 999px 26px 26px;
  background: var(--grad-or);
  box-shadow: var(--ombre-forte);
}
.arche img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 20px 20px; }
.arche-grande { position: absolute; inset: 0 12% 0 8%; }
.arche-grande::before { /* deuxième filet */
  content: ""; position: absolute; inset: -14px; border-radius: inherit;
  border: 1.5px solid rgba(21, 58, 43, .45);
}
.arche-petite { position: absolute; width: 30%; aspect-ratio: 3 / 4; padding: 5px; animation: flotte 7s ease-in-out infinite; }
.arche-petite img { background: #fff; }
.arche-a { left: -4%; bottom: 6%; }
.arche-b { right: -2%; top: 8%; animation-delay: -3.5s; }
@keyframes flotte { 50% { transform: translateY(-12px) rotate(-1deg); } }

.sceau {
  position: absolute; right: 4%; bottom: -2%;
  width: 132px; height: 132px; border-radius: 50%;
  background: var(--grad-vert);
  box-shadow: 0 0 0 4px rgba(245, 228, 178, .9), 0 0 0 6px var(--or-600), var(--ombre-forte);
  display: grid; place-items: center;
}
.sceau svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: tourne 24s linear infinite; }
.sceau text { font-family: var(--police-texte); font-size: 15.5px; font-weight: 700; letter-spacing: 2.6px; fill: var(--or-300); }
.sceau img { width: 40px; filter: brightness(0) saturate(100%) invert(84%) sepia(35%) saturate(500%) hue-rotate(5deg); }
@keyframes tourne { to { transform: rotate(360deg); } }

/* Ruban fleuri (motif des étiquettes) */
.ruban {
  height: 34px;
  background-color: var(--vert-700);
  background-image:
    linear-gradient(90deg, transparent, transparent),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='34' viewBox='0 0 120 34'%3E%3Cg fill='none' stroke='%23DDB95A' stroke-width='1'%3E%3Cpath d='M0 3.5h120M0 30.5h120'/%3E%3C/g%3E%3Cg%3E%3Cpath d='M30 17c6-6 14-6 20 0-6 6-14 6-20 0Z' fill='%235E8F6E'/%3E%3Cpath d='M70 17c6-6 14-6 20 0-6 6-14 6-20 0Z' fill='%235E8F6E'/%3E%3C/g%3E%3Cg fill='%23C8372D'%3E%3Ccircle cx='17' cy='12.5' r='3.6'/%3E%3Ccircle cx='21.5' cy='17' r='3.6'/%3E%3Ccircle cx='17' cy='21.5' r='3.6'/%3E%3Ccircle cx='12.5' cy='17' r='3.6'/%3E%3C/g%3E%3Ccircle cx='17' cy='17' r='2.4' fill='%23F5E4B2'/%3E%3Cg fill='%233F5DAA'%3E%3Ccircle cx='60' cy='12.8' r='3.2'/%3E%3Ccircle cx='64.2' cy='17' r='3.2'/%3E%3Ccircle cx='60' cy='21.2' r='3.2'/%3E%3Ccircle cx='55.8' cy='17' r='3.2'/%3E%3C/g%3E%3Ccircle cx='60' cy='17' r='2.1' fill='%23F5E4B2'/%3E%3Cg fill='%23C8372D'%3E%3Ccircle cx='103' cy='12.5' r='3.6'/%3E%3Ccircle cx='107.5' cy='17' r='3.6'/%3E%3Ccircle cx='103' cy='21.5' r='3.6'/%3E%3Ccircle cx='98.5' cy='17' r='3.6'/%3E%3C/g%3E%3Ccircle cx='103' cy='17' r='2.4' fill='%23F5E4B2'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  border-block: 2px solid var(--or-500);
}

/* ---------------------------------------------------------------- */
/* Sections                                                         */
/* ---------------------------------------------------------------- */
.section { padding: clamp(56px, 8vw, 104px) 0; position: relative; }
.titre-section { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 52px); }
.titre-section h2 { font-size: clamp(2rem, 4vw, 3.1rem); color: var(--vert-900); }
.titre-section p:not(.surtitre) { color: var(--encre-douce); font-size: 1.05rem; }

/* Univers */
.section-univers { background: var(--grad-or-creme); }
.univers { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.univers-tuile {
  position: relative; text-align: center; text-decoration: none;
  padding: 22px 12px 18px; border-radius: 999px 999px 20px 20px;
  background: linear-gradient(var(--or-50), var(--or-50)) padding-box, var(--grad-or) border-box;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .3s ease, box-shadow .3s ease;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.univers-tuile:hover { transform: translateY(-6px); box-shadow: var(--ombre-douce); }
.univers-medaillon {
  width: 84px; height: 84px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 3px var(--or-50), 0 0 0 5px var(--or-500);
  background: var(--grad-or-doux);
  display: grid; place-items: center;
}
.univers-medaillon img { width: 100%; height: 100%; object-fit: cover; }
.univers-tuile strong { font-family: var(--police-titre); font-size: 1.15rem; color: var(--vert-800); line-height: 1.15; }
html[lang="ar"] .univers-tuile strong { font-family: var(--police-ar); font-size: 1.05rem; }
.univers-tuile small { color: var(--or-800); font-weight: 600; font-size: .78rem; }

/* Boutique */
.section-boutique {
  background:
    radial-gradient(900px 400px at 100% 0, rgba(235, 208, 137, .45), transparent 70%),
    radial-gradient(700px 400px at 0 100%, rgba(235, 208, 137, .35), transparent 70%),
    var(--or-50);
}
.filtres { display: flex; flex-direction: column; gap: 16px; align-items: center; margin-bottom: 36px; }
.recherche { position: relative; width: min(460px, 100%); }
.recherche svg { position: absolute; inset-inline-start: 18px; top: 50%; translate: 0 -50%; width: 20px; height: 20px; fill: none; stroke: var(--or-700); stroke-width: 2; stroke-linecap: round; }
.recherche input {
  width: 100%; height: 52px; padding-inline: 50px 18px;
  border-radius: 999px; border: 2px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad-or) border-box;
  outline: none;
}
.recherche input:focus { box-shadow: 0 0 0 4px rgba(221, 185, 90, .35); }
.puces { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.puce {
  border: 1.5px solid rgba(154, 116, 36, .45); background: rgba(255, 255, 255, .6);
  border-radius: 999px; padding: 8px 18px; cursor: pointer; font-weight: 500; font-size: .92rem;
  color: var(--vert-800); transition: all .2s;
}
.puce:hover { border-color: var(--or-600); background: var(--or-100); }
.puce[aria-selected="true"] { background: var(--grad-vert); color: var(--or-200); border-color: var(--vert-800); box-shadow: inset 0 0 0 1px var(--or-500); }

.grille-produits { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 24px; }
@media (max-width: 1080px) { .grille-produits { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 18px; } }

.carte {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--rayon); padding: 12px 12px 18px;
  background: linear-gradient(#FFFDF7, #FFF8E8) padding-box, var(--grad-or) border-box;
  border: 1.5px solid transparent;
  box-shadow: 0 2px 0 rgba(255, 255, 255, .8) inset, 0 12px 30px -20px rgba(94, 67, 13, .55);
  transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
  opacity: 0; transform: translateY(18px);
}
.carte.visible { opacity: 1; transform: none; }
.carte:hover { transform: translateY(-6px); box-shadow: 0 2px 0 rgba(255, 255, 255, .8) inset, 0 26px 50px -24px rgba(94, 67, 13, .7); }
.carte-visuel {
  position: relative; aspect-ratio: 1 / 1; border-radius: 999px 999px 16px 16px; overflow: hidden;
  background: var(--grad-or-doux); cursor: pointer; border: 0; padding: 0; width: 100%;
}
.carte-visuel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.carte:hover .carte-visuel img { transform: scale(1.06); }
.badges { position: absolute; top: 14px; inset-inline-start: 14px; display: flex; gap: 6px; z-index: 2; }
.badge {
  font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
html[lang="ar"] .badge { letter-spacing: 0; font-size: .78rem; }
.badge-nouveau { background: var(--grad-or); color: var(--vert-900); box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .4); }
.badge-epuise { background: var(--vert-900); color: var(--or-200); }

/* Visuel de remplacement (produit sans photo) */
.visuel-calligraphie {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 24px; text-align: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 255, 255, .7), transparent 60%),
    var(--grad-or);
}
.visuel-calligraphie::before {
  content: ""; position: absolute; inset: 10px; border-radius: 999px 999px 10px 10px;
  border: 1.5px solid rgba(21, 58, 43, .35);
}
.visuel-calligraphie::after {
  content: ""; position: absolute; inset: 22% 25% 18%; background: url("../img/jarre-vert.svg") center / contain no-repeat; opacity: .1;
}
.visuel-calligraphie .ar { position: relative; font-family: var(--police-ar-deco); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--vert-800); line-height: 1.3; z-index: 1; }
.visuel-calligraphie .fr { position: relative; font-family: var(--police-titre); font-style: italic; font-weight: 600; color: var(--or-900); font-size: 1.05rem; z-index: 1; }

.carte-corps { padding: 14px 6px 0; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte-cat { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-700); margin: 0; }
html[lang="ar"] .carte-cat { letter-spacing: 0; font-size: .82rem; }
.carte-titre { font-size: 1.4rem; margin: 0; color: var(--vert-900); }
.carte-titre button { all: unset; cursor: pointer; }
.carte-titre button:focus-visible { outline: 3px solid var(--or-500); outline-offset: 2px; }
.carte-ar { font-family: var(--police-ar-deco); color: var(--or-800); margin: -6px 0 0; font-size: 1.05rem; }
html[lang="ar"] .carte-ar { font-family: var(--police-titre); font-style: italic; font-size: 1rem; }

.formats { display: flex; flex-wrap: wrap; gap: 6px; }
.format {
  display: flex; flex-direction: column; align-items: center; line-height: 1.15;
  padding: 7px 12px; border-radius: 12px; cursor: pointer;
  border: 1.5px solid rgba(154, 116, 36, .4); background: #fff;
  transition: all .2s; min-width: 66px;
}
.format small { font-size: .74rem; color: var(--encre-douce); font-weight: 500; }
.format b { font-size: .98rem; color: var(--vert-800); }
.format:hover { border-color: var(--or-600); }
.format[aria-pressed="true"] { background: var(--grad-or); border-color: var(--or-700); box-shadow: 0 6px 14px -8px rgba(122, 89, 21, .9); }
.format[aria-pressed="true"] small { color: var(--vert-900); }
.format[disabled] { opacity: .45; cursor: not-allowed; text-decoration: line-through; }

.carte-achat { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.carte-prix { font-family: var(--police-titre); font-size: 1.7rem; font-weight: 700; color: var(--vert-800); margin-inline-end: auto; line-height: 1; }
.carte-prix.sur-demande { font-family: var(--police-texte); font-size: .9rem; color: var(--or-800); }
.bouton-ajout {
  width: 48px; height: 48px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--grad-vert); color: var(--or-200);
  display: grid; place-items: center;
  box-shadow: inset 0 0 0 1.5px var(--or-500), 0 8px 18px -10px rgba(11, 32, 23, .9);
  transition: transform .2s;
}
.bouton-ajout:hover { transform: rotate(90deg) scale(1.05); }
.bouton-ajout svg { width: 22px; height: 22px; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.bouton-ajout[disabled] { opacity: .4; cursor: not-allowed; transform: none; }
.vide { text-align: center; color: var(--encre-douce); padding: 40px 0; }

/* Vitrine bsissa à tartiner (fond vert) */
.section-vitrine {
  background:
    radial-gradient(800px 380px at 50% -10%, rgba(221, 185, 90, .28), transparent 70%),
    var(--grad-vert);
  color: var(--or-100);
  overflow: hidden;
}
.section-vitrine::before, .section-vitrine::after {
  content: ""; position: absolute; inset-inline: 0; height: 2px; background: var(--grad-or);
}
.section-vitrine::before { top: 0; } .section-vitrine::after { bottom: 0; }
.titre-clair h2 { color: var(--or-50); }
.titre-clair .surtitre { color: var(--or-300); }
.titre-clair p:not(.surtitre) { color: rgba(251, 243, 220, .82); }
.vitrine { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.pot {
  position: relative; text-align: center; padding: 18px 16px 22px; border-radius: 999px 999px 24px 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1.5px solid rgba(221, 185, 90, .45);
  transition: transform .4s ease, background .4s;
}
.pot:hover { transform: translateY(-8px); background: linear-gradient(180deg, rgba(221, 185, 90, .16), rgba(255, 255, 255, .02)); }
.pot-image { aspect-ratio: 3 / 4; border-radius: 999px 999px 16px 16px; overflow: hidden; padding: 5px; background: var(--grad-or); margin-bottom: 16px; }
.pot-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 12px 12px; background: #fff; }
.pot h3 { font-size: 1.5rem; color: var(--or-100); margin-bottom: 2px; }
.pot .ar { font-family: var(--police-ar-deco); color: var(--or-300); margin-bottom: 10px; }
.pot .prix-pot { font-family: var(--police-titre); font-size: 1.9rem; font-weight: 700; display: block; margin-bottom: 14px; }
.pot .prix-pot small { font-family: var(--police-texte); font-size: .8rem; color: rgba(251, 243, 220, .7); font-weight: 400; }

/* Liste des prix */
.section-prix { background: var(--grad-or-doux); }
.tableau-prix {
  position: relative; max-width: 940px; margin: 0 auto;
  background: #FFFCF3;
  border-radius: 28px;
  padding: 0 clamp(14px, 3vw, 40px) clamp(24px, 3vw, 40px);
  box-shadow: 0 0 0 2px var(--or-500), 0 0 0 9px #FFFCF3, 0 0 0 11px var(--or-700), var(--ombre-forte);
}
.tableau-prix-entete {
  position: relative; text-align: center;
  margin: 0 auto 28px; padding: 40px 24px 26px;
  width: min(560px, 100%);
  background: var(--grad-vert); color: var(--or-100);
  border-radius: 0 0 50% 50% / 0 0 30% 30%;
  box-shadow: inset 0 -3px 0 var(--or-500);
}
.tableau-prix-jarre { width: 42px; margin: 0 auto 8px; }
.tableau-prix-entete h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 4px; }
.tableau-prix-entete h2 > span:first-child {
  background: var(--grad-or-anime); background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: reflet-or 8s linear infinite;
}
.ar-deco { display: block; font-family: var(--police-ar-deco); font-size: .55em; color: var(--or-300); font-weight: 400; }
html[lang="ar"] .ar-deco { font-family: var(--police-titre); font-style: italic; font-size: .6em; }
.tableau-prix-entete p { margin: 0; font-size: .9rem; color: rgba(251, 243, 220, .78); }
.tableau-defilant { overflow-x: auto; -webkit-overflow-scrolling: touch; }
#table-prix { width: 100%; border-collapse: collapse; min-width: 560px; }
#table-prix th, #table-prix td { padding: 10px 12px; text-align: center; border-bottom: 1px solid rgba(201, 160, 66, .35); }
#table-prix thead th {
  background: var(--grad-vert); color: var(--or-200); font-weight: 700; font-size: .92rem;
  border-bottom: 0; position: sticky; top: 0;
}
#table-prix thead th:first-child { border-radius: 12px 0 0 0; text-align: start; }
#table-prix thead th:last-child { border-radius: 0 12px 0 0; }
html[dir="rtl"] #table-prix thead th:first-child { border-radius: 0 12px 0 0; }
html[dir="rtl"] #table-prix thead th:last-child { border-radius: 12px 0 0 0; }
#table-prix tbody th { text-align: start; font-weight: 600; color: var(--vert-900); }
#table-prix tbody th .ar { display: block; font-family: var(--police-ar); font-weight: 500; color: var(--or-800); font-size: .9rem; }
html[lang="ar"] #table-prix tbody th .ar { font-family: var(--police-texte); }
#table-prix tr.groupe th {
  background: linear-gradient(90deg, rgba(221, 185, 90, .4), rgba(221, 185, 90, .05));
  font-family: var(--police-titre); font-size: 1.15rem; color: var(--or-900); text-align: start; padding-top: 14px;
}
html[dir="rtl"] #table-prix tr.groupe th { background: linear-gradient(270deg, rgba(221, 185, 90, .4), rgba(221, 185, 90, .05)); }
html[lang="ar"] #table-prix tr.groupe th { font-family: var(--police-ar); }
#table-prix td { font-weight: 700; color: var(--vert-800); white-space: nowrap; }
#table-prix td.vide-cellule { color: rgba(154, 116, 36, .4); font-weight: 400; }
#table-prix tbody tr:not(.groupe):hover { background: rgba(245, 228, 178, .45); }
.bouton-imprimer { display: flex; margin: 26px auto 0; }

/* Étapes */
.section-etapes { background: var(--or-50); }
.etapes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: e; }
.etapes li {
  position: relative; padding: 34px 26px 26px; border-radius: 24px;
  background: linear-gradient(#FFFDF7, #FFFDF7) padding-box, var(--grad-or) border-box;
  border: 1.5px solid transparent;
}
.etape-num {
  position: absolute; top: -24px; inset-inline-start: 26px;
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--police-titre); font-size: 1.6rem; font-weight: 700;
  background: var(--grad-vert); color: var(--or-300);
  box-shadow: 0 0 0 4px var(--or-50), 0 0 0 6px var(--or-500);
}
.etapes h3 { font-size: 1.45rem; color: var(--vert-900); margin-top: 6px; }
.etapes p { margin: 0; color: var(--encre-douce); }

/* À propos */
.section-apropos { background: var(--grad-or-creme); }
.apropos { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.arche-apropos { aspect-ratio: 4 / 5; }
.apropos-texte h2 { font-size: clamp(2rem, 3.6vw, 2.8rem); color: var(--vert-900); }
.apropos-texte p { color: var(--encre-douce); font-size: 1.06rem; }
.citation {
  font-family: var(--police-ar-deco); font-size: 1.9rem; color: var(--or-800) !important;
  border-inline-start: 3px solid var(--or-500); padding-inline-start: 18px; margin-top: 26px;
}

/* Pied de page */
.pied { background: var(--grad-vert); color: var(--or-100); }
.pied-grille { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; padding: 56px 0 36px; }
.pied-marque img { width: 82px; margin-bottom: 14px; }
.pied-marque p { color: rgba(251, 243, 220, .78); max-width: 26em; }
.pied h3 { font-size: 1.35rem; margin-bottom: 14px; background: var(--grad-or); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pied-liens { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pied-liens a { color: rgba(251, 243, 220, .86); text-decoration: none; }
.pied-liens a:hover { color: var(--or-300); text-decoration: underline; }
.pied-bas { display: flex; justify-content: space-between; gap: 12px; padding: 18px 0 26px; border-top: 1px solid rgba(221, 185, 90, .25); font-size: .86rem; color: rgba(251, 243, 220, .6); }
.lien-admin { color: rgba(251, 243, 220, .6); text-decoration: none; }
.lien-admin:hover { color: var(--or-300); }

/* WhatsApp flottant */
.whatsapp-flottant {
  position: fixed; bottom: 20px; inset-inline-end: 20px; z-index: 30;
  width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--grad-or); color: var(--vert-900);
  box-shadow: 0 0 0 3px var(--vert-800), 0 14px 30px -10px rgba(0, 0, 0, .5);
  transition: transform .2s;
}
.whatsapp-flottant:hover { transform: scale(1.08); }
.whatsapp-flottant svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------------------------------------------------------------- */
/* Panier (tiroir)                                                  */
/* ---------------------------------------------------------------- */
.voile { position: fixed; inset: 0; background: rgba(11, 32, 23, .55); backdrop-filter: blur(3px); z-index: 50; }
.tiroir {
  position: fixed; top: 0; bottom: 0; inset-inline-end: 0; z-index: 51;
  width: min(420px, 100%);
  background: var(--or-50);
  display: flex; flex-direction: column;
  transform: translateX(105%); transition: transform .4s cubic-bezier(.2, .8, .2, 1);
  box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .4);
}
html[dir="rtl"] .tiroir { transform: translateX(-105%); }
.tiroir.ouvert { transform: none !important; }
.tiroir-entete { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; background: var(--grad-vert); color: var(--or-100); position: relative; }
.tiroir-entete::after { content: ""; position: absolute; inset: auto 0 0; height: 2px; background: var(--grad-or); }
.tiroir-entete h2 { margin: 0; font-size: 1.6rem; }
.fermer {
  width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(221, 185, 90, .55);
  background: transparent; color: inherit; font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.tiroir-corps { flex: 1; overflow-y: auto; padding: 16px 22px; }
.ligne-panier { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(201, 160, 66, .3); }
.ligne-panier .vignette { width: 64px; height: 64px; border-radius: 32px 32px 10px 10px; overflow: hidden; background: var(--grad-or); display: grid; place-items: center; font-family: var(--police-ar-deco); color: var(--vert-800); font-size: .9rem; text-align: center; line-height: 1.1; padding: 4px; }
.ligne-panier .vignette img { width: 100%; height: 100%; object-fit: cover; }
.ligne-panier h3 { font-family: var(--police-texte); font-size: .98rem; margin: 0 0 2px; }
.ligne-panier .detail { font-size: .84rem; color: var(--encre-douce); }
.ligne-droite { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ligne-droite b { color: var(--vert-800); }
.quantite { display: inline-flex; align-items: center; border-radius: 999px; border: 1.5px solid rgba(154, 116, 36, .5); background: #fff; }
.quantite button { width: 32px; height: 32px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--vert-800); border-radius: 50%; }
.quantite button:hover { background: var(--or-100); }
.quantite span { min-width: 24px; text-align: center; font-weight: 700; }
.panier-vide { text-align: center; padding: 48px 10px; color: var(--encre-douce); }
.panier-vide img { width: 64px; margin: 0 auto 14px; opacity: .55; }
.tiroir-pied { padding: 18px 22px 24px; border-top: 2px solid var(--or-300); background: var(--grad-or-doux); }
.totaux { margin: 0 0 16px; display: grid; gap: 6px; }
.totaux div { display: flex; justify-content: space-between; }
.totaux dt { color: var(--encre-douce); }
.totaux dd { margin: 0; font-weight: 700; }
.totaux .total { font-size: 1.2rem; padding-top: 8px; border-top: 1px dashed var(--or-600); }
.totaux .total dd { font-family: var(--police-titre); font-size: 1.6rem; color: var(--vert-800); }
.note-livraison { font-size: .82rem; color: var(--or-800); margin: -6px 0 12px; }

/* ---------------------------------------------------------------- */
/* Fenêtres (dialog)                                                */
/* ---------------------------------------------------------------- */
.fenetre {
  border: 0; padding: 0; border-radius: 28px; width: min(880px, calc(100% - 24px)); max-height: calc(100dvh - 24px);
  background: var(--or-50); color: var(--encre);
  box-shadow: 0 0 0 2px var(--or-500), 0 40px 80px -30px rgba(0, 0, 0, .6);
  overflow: auto;
}
.fenetre::backdrop { background: rgba(11, 32, 23, .6); backdrop-filter: blur(4px); }
.fenetre[open] { animation: apparait .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes apparait { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.fenetre > .fermer { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 3; background: rgba(255, 252, 243, .9); color: var(--vert-800); }
.fp-grille { display: grid; grid-template-columns: 1fr 1fr; }
.fp-visuel { position: relative; min-height: 380px; background: var(--grad-or-doux); }
.fp-visuel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fp-infos { padding: 40px 32px 32px; display: flex; flex-direction: column; gap: 12px; }
.fp-cat { margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--or-700); }
.fp-infos h2 { font-size: 2.2rem; color: var(--vert-900); margin: 0; }
.fp-ar { font-family: var(--police-ar-deco); color: var(--or-800); font-size: 1.3rem; margin: -6px 0 0; }
.fp-desc { color: var(--encre-douce); margin: 0; }
.fp-achat { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.fp-achat .quantite button { width: 40px; height: 40px; }

.fenetre-commande { width: min(560px, calc(100% - 24px)); }
.fenetre-commande form, .merci { padding: 34px 30px 30px; }
.fenetre-commande h2 { font-size: 2rem; color: var(--vert-900); margin-bottom: 4px; }
.aide { color: var(--encre-douce); font-size: .92rem; }
.champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.champ label { font-weight: 600; font-size: .9rem; color: var(--vert-800); }
.champ input, .champ textarea {
  padding: 12px 14px; border-radius: 14px; border: 1.5px solid rgba(154, 116, 36, .45); background: #fff; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.champ input:focus, .champ textarea:focus { border-color: var(--or-600); box-shadow: 0 0 0 4px rgba(221, 185, 90, .3); }
.champ input[aria-invalid="true"] { border-color: var(--rouge); }
.champs-duo { display: grid; grid-template-columns: 1fr 1.4fr; gap: 12px; }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.recap { background: var(--grad-or-doux); border-radius: 16px; padding: 14px 16px; margin: 6px 0 16px; font-size: .9rem; }
.recap div { display: flex; justify-content: space-between; gap: 10px; }
.recap .total { font-weight: 700; border-top: 1px dashed var(--or-600); margin-top: 6px; padding-top: 6px; font-size: 1rem; }
.erreur { color: var(--rouge); font-weight: 600; font-size: .92rem; }
.merci { text-align: center; }
.merci-jarre { width: 60px; margin: 0 auto 10px; }
.merci strong { font-family: var(--police-titre); font-size: 1.5rem; color: var(--vert-800); }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 26px; z-index: 60;
  translate: -50% 140%; opacity: 0;
  background: var(--grad-vert); color: var(--or-100);
  padding: 12px 22px; border-radius: 999px; font-weight: 500;
  box-shadow: inset 0 0 0 1.5px var(--or-500), var(--ombre-forte);
  transition: translate .35s cubic-bezier(.2, .8, .2, 1), opacity .35s;
  max-width: calc(100% - 32px); text-align: center;
}
.toast.visible { translate: -50% 0; opacity: 1; }

/* ---------------------------------------------------------------- */
/* Responsive                                                       */
/* ---------------------------------------------------------------- */
@media (max-width: 1080px) {
  .univers { grid-template-columns: repeat(3, 1fr); }
  .vitrine { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .bouton-menu { display: grid; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; gap: 0;
    background: var(--vert-900); padding: 8px 16px 16px;
    border-bottom: 2px solid var(--or-500);
    display: none;
  }
  .nav.ouvert { display: flex; }
  .nav a { padding: 14px 10px; border-radius: 10px; }
  .heros-grille { grid-template-columns: 1fr; }
  .heros-texte { text-align: center; }
  .heros-intro { margin-inline: auto; }
  .heros-boutons, .heros-atouts { justify-content: center; }
  .heros-visuel { max-width: 460px; }
  .apropos { grid-template-columns: 1fr; }
  .arche-apropos { max-width: 360px; margin-inline: auto; width: 100%; }
  .pied-grille { grid-template-columns: 1fr 1fr; }
  .pied-marque { grid-column: 1 / -1; }
  .fp-grille { grid-template-columns: 1fr; }
  .fp-visuel { min-height: 0; aspect-ratio: 1 / 1; }
}
@media (max-width: 640px) {
  :root { --entete-h: 66px; }
  .marque-nom { font-size: 1.25rem; }
  .marque img { width: 34px; }
  .entete-ligne { gap: 10px; }
  .entete-actions { gap: 6px; margin-inline-start: auto; }
  .bouton-langue, .bouton-panier, .bouton-menu { width: 40px; height: 40px; }
  .heros-atouts li { padding: 8px 12px; }
  .heros-atouts strong { font-size: 1.3rem; }
  .sceau { width: 100px; height: 100px; right: 0; }
  .sceau text { font-size: 15px; }
  .sceau img { width: 30px; }
  .univers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .grille-produits { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .carte { padding: 8px 8px 14px; }
  .carte-corps { padding: 10px 2px 0; gap: 8px; }
  .carte-titre { font-size: 1.12rem; }
  .carte-ar { font-size: .92rem; }
  .format { min-width: 0; padding: 5px 8px; }
  .format b { font-size: .86rem; }
  .carte-prix { font-size: 1.3rem; }
  .bouton-ajout { width: 40px; height: 40px; }
  .vitrine { gap: 12px; }
  .pot { padding: 10px 8px 16px; }
  .pot h3 { font-size: 1.15rem; }
  .pot .prix-pot { font-size: 1.4rem; }
  .etapes { grid-template-columns: 1fr; gap: 36px; }
  .champs-duo { grid-template-columns: 1fr; gap: 0; }
  .pied-grille { grid-template-columns: 1fr; gap: 28px; }
  .pied-bas { flex-direction: column; align-items: center; }
  .fp-infos { padding: 24px 20px; }
  .fenetre-commande form, .merci { padding: 28px 18px 22px; }
}
@media (max-width: 340px) {
  .grille-produits { grid-template-columns: 1fr; }
}

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

/* ---------------------------------------------------------------- */
/* Impression : uniquement la liste des prix                        */
/* ---------------------------------------------------------------- */
@media print {
  body { background: #fff; }
  body > *:not(main), main > *:not(#prix), .bouton-imprimer, .whatsapp-flottant { display: none !important; }
  .section-prix { background: #fff; padding: 0; }
  .tableau-prix { box-shadow: none; border: 2px solid #9A7424; }
  .tableau-prix-entete, #table-prix thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .tableau-prix-entete h2 > span:first-child { color: #F5E4B2; -webkit-text-fill-color: #F5E4B2; background: none; }
  #table-prix { min-width: 0; font-size: 12px; }
  #table-prix th, #table-prix td { padding: 5px 8px; }
}
