/* =============================================================
   NAKERION Commande — styles du module de commande à emporter
   Complète css/site.css, ne le remplace pas.
   Variables reprises de la charte du site (violet / orange / crème).
   ============================================================= */

.bloc-titre {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  color: #5C2168;
  margin: 0 0 18px;
}

.chargement-txt { color: #63596E; font-size: 15px; }

/* ---------------- La carte ---------------- */

.carte-liste .cat + .cat { margin-top: 30px; }

.carte-liste h3 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: #C9500E;
  letter-spacing: .04em;
  margin: 0 0 4px;
  padding-bottom: 8px;
  border-bottom: 1px solid #EADFD4;
}

.cat-note { font-size: 13.5px; color: #63596E; margin: 6px 0 0; font-style: italic; }

.articles { list-style: none; margin: 10px 0 0; padding: 0; }

.art {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 11px 0;
  border-bottom: 1px dotted #EADFD4;
}
.art:last-child { border-bottom: 0; }

.art-txt { flex: 1 1 220px; min-width: 0; }
.art-nom { display: block; font-size: 15.5px; color: #2A2030; }
.art-detail { display: block; font-size: 13px; color: #63596E; margin-top: 1px; }

.art-act { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.art-opt {
  font-size: 13.5px;
  padding: 7px 10px;
  border: 1px solid #DCCFC2;
  border-radius: 8px;
  background: #fff;
  color: #2A2030;
  max-width: 190px;
}

.art-prix {
  font-size: 15.5px;
  font-weight: bold;
  color: #5C2168;
  white-space: nowrap;
  min-width: 62px;
  text-align: right;
}

.art-add {
  border: 0;
  border-radius: 999px;
  background: #C9500E;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 9px 18px;
  cursor: pointer;
  transition: background .15s ease;
  min-width: 96px;
}
.art-add:hover { background: #A83F09; }
.art-add:focus-visible { outline: 3px solid #5C2168; outline-offset: 2px; }

/* ---------------- Le panier ---------------- */

/* Volontairement NON collant : en position sticky, le panier recouvrait
   les premiers champs du formulaire au défilement. */
.panier-card { position: static; }

.panier-badge {
  display: inline-block;
  min-width: 26px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #C9500E;
  color: #fff;
  font-family: system-ui, sans-serif;
  font-size: 14px;
  text-align: center;
  vertical-align: middle;
}

.panier { list-style: none; margin: 0; padding: 0; }

.panier-vide { color: #63596E; font-size: 15px; padding: 6px 0; }

.panier-l {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dotted #EADFD4;
}

.panier-q { display: flex; align-items: center; gap: 8px; }

.panier-q button {
  width: 32px;
  height: 32px;
  border: 1px solid #DCCFC2;
  border-radius: 8px;
  background: #fff;
  color: #5C2168;
  font-size: 19px;
  line-height: 1;
  cursor: pointer;
}
.panier-q button:hover { border-color: #5C2168; }
.panier-q button:focus-visible { outline: 3px solid #5C2168; outline-offset: 2px; }
.panier-q span { min-width: 20px; text-align: center; font-weight: bold; }

.panier-n { flex: 1; font-size: 15px; color: #2A2030; }
.panier-opt { display: block; font-size: 13px; color: #C9500E; }
.panier-p { font-weight: bold; color: #5C2168; white-space: nowrap; }

.panier-tot {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid #5C2168;
}
.panier-tot span { font-size: 15px; color: #2A2030; }
.panier-tot strong { font-size: 24px; color: #5C2168; white-space: nowrap; }

/* ---------------- Créneaux ---------------- */

.plage + .plage { margin-top: 16px; }

.plage-nom {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #63596E;
  margin-bottom: 8px;
}

.creneaux-l { display: flex; flex-wrap: wrap; gap: 8px; }

.creneaux-l input[type=radio] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.creneaux-l label {
  display: inline-block;
  padding: 10px 15px;
  border: 1px solid #DCCFC2;
  border-radius: 999px;
  background: #fff;
  font-size: 14.5px;
  color: #2A2030;
  cursor: pointer;
  transition: all .15s ease;
}
.creneaux-l label:hover { border-color: #C9500E; }

.creneaux-l input[type=radio]:checked + label {
  background: #5C2168;
  border-color: #5C2168;
  color: #fff;
  font-weight: bold;
}
.creneaux-l input[type=radio]:focus-visible + label {
  outline: 3px solid #C9500E;
  outline-offset: 2px;
}

/* ---------------- Petits écrans ---------------- */

@media (max-width: 560px) {
  .art { align-items: flex-start; }
  .art-act { width: 100%; justify-content: space-between; }
  .art-opt { max-width: none; flex: 1 1 140px; }
}

@media (prefers-reduced-motion: reduce) {
  .art-add, .creneaux-l label { transition: none; }
}

/* ---------------- Confirmation de majorité (alcool) ---------------- */

.majeur-bloc {
  border: 2px solid #C9500E;
  border-radius: 12px;
  padding: 14px 16px;
  background: #FFF9F4;
}

.majeur-l {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
  color: #2A2030;
  line-height: 1.5;
}

.majeur-l input { margin-top: 3px; width: 20px; height: 20px; accent-color: #C9500E; flex: none; }

.majeur-note { margin: 10px 0 0; font-size: 12.5px; color: #63596E; line-height: 1.5; }
