/* Boutique du Cookie Festival : boutique, retour de paiement, billets. Feuille légère, indépendante du site. */
:root {
  --noir: #000; --blanc: #fff; --rose: #F90C83; --rose-vif: #FF3D9E; --bonbon: #FFD23F; --creme: #FFF4DE; --gris: #545454;
  --f-titre: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --f-texte: "Schibsted Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--noir); color: var(--blanc); font: 16px/1.5 var(--f-texte); min-height: 100vh; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, select { font: inherit; }
:focus-visible { outline: 3px solid var(--bonbon); outline-offset: 2px; }

.bq-haut { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 16px; border-bottom: 1px solid #222; }
.bq-haut img { height: 44px; width: auto; }
.bq-haut a { font-weight: 700; text-decoration: none; font-size: .95rem; }
.bq-langues { display: flex; gap: .35rem; }
.bq-langues button { background: none; border: 2px solid #333; color: var(--blanc); border-radius: 999px; padding: .15rem .6rem; font-weight: 700; font-size: .8rem; cursor: pointer; }
.bq-langues button[aria-pressed="true"] { border-color: var(--rose); color: var(--rose); }

.bq { max-width: 60rem; margin: 0 auto; padding: 1.5rem 16px 4rem; }
.bq-titre { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: clamp(2.6rem, 9vw, 4.4rem); line-height: .9; margin: .5rem 0 .6rem; }
.bq-titre span { color: var(--rose); }
.bq-intro { color: #ccc; margin: 0 0 1.5rem; max-width: 40rem; }
.bq-test { background: var(--bonbon); color: var(--noir); font-weight: 700; padding: .7rem 1rem; border-radius: 12px; border: 3px solid var(--noir); box-shadow: 0 0 0 2px var(--bonbon); margin: 0 0 1.5rem; }
.bq-ferme { border: 2px dashed #444; border-radius: 16px; padding: 1.5rem; text-align: center; color: #ccc; }

.bq-produits { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.bq-produit { background: var(--creme); color: var(--noir); border: 3px solid var(--noir); border-radius: 16px; box-shadow: 6px 6px 0 var(--rose); padding: 1rem; display: flex; flex-direction: column; gap: .6rem; }
/* Devanture : fond noir avec un halo rose, l'objet tourne au centre (assets/js/objets-3d.js) */
.bq-produit__img { position: relative; height: 14rem; display: grid; place-items: center; border-radius: 12px; overflow: hidden;
  background: radial-gradient(ellipse 60% 22% at 50% 84%, rgba(249,12,131,.55), transparent 70%), radial-gradient(circle at 50% 40%, #4a4550 0, #1c1a1f 38%, #0b0b0c 72%); }
.bq-produit__img::after { content: ""; position: absolute; left: 50%; bottom: 12%; width: 56%; height: 9%; transform: translateX(-50%);
  border-radius: 50%; border: 1.5px solid rgba(255,61,158,.75); box-shadow: 0 0 14px rgba(249,12,131,.8); pointer-events: none; }
.bq-produit__img img { max-height: 11rem; max-width: 88%; width: auto; object-fit: contain; }
.bq-3d { position: absolute; inset: -4% 0 6%; z-index: 1; filter: drop-shadow(0 14px 10px rgba(0,0,0,.6)); }
.bq-produit__img--3d > img { visibility: hidden; }
.bq-produit h2 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 1.9rem; line-height: 1; margin: 0; }
.bq-produit p { margin: 0; font-size: .92rem; color: #3D2E00; }
.bq-produit .bq-prix, .bq-prix { font-family: var(--f-titre); font-weight: 900; font-size: 2rem; line-height: 1; }
.bq-produit .bq-prix--bientot { color: var(--rose); font-size: 1.5rem; text-transform: uppercase; }
.bq-ligne { display: flex; align-items: center; justify-content: space-between; gap: .5rem; flex-wrap: wrap; }
.bq-variante { font-weight: 700; }
.bq-qte { display: inline-flex; align-items: center; border: 2px solid var(--noir); border-radius: 999px; background: var(--blanc); }
.bq-qte button { width: 2.4rem; height: 2.4rem; border: 0; background: none; font-size: 1.3rem; font-weight: 700; cursor: pointer; color: var(--noir); }
.bq-qte button:disabled { opacity: .3; cursor: default; }
.bq-qte output { min-width: 1.8rem; text-align: center; font-weight: 800; }
.bq-reste { font-size: .8rem; color: #7a5a00; }
.bq-epuise { font-weight: 800; color: #C8005F; text-transform: uppercase; font-size: .85rem; }

.bq-caisse { margin-top: 2rem; background: #111; border: 2px solid #2a2a2a; border-radius: 16px; padding: 1.25rem; }
.bq-caisse h2 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 2rem; margin: 0 0 .8rem; }
.bq-recap { list-style: none; margin: 0 0 .8rem; padding: 0; }
.bq-recap li { display: flex; justify-content: space-between; gap: 1rem; padding: .35rem 0; border-bottom: 1px solid #222; }
.bq-total { display: flex; justify-content: space-between; font-family: var(--f-titre); font-weight: 900; font-size: 1.8rem; margin: .4rem 0 1rem; }
.bq-champs { display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
.bq-champ label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.bq-champ input { width: 100%; padding: .7rem .8rem; border-radius: 10px; border: 2px solid #333; background: #000; color: var(--blanc); }
.bq-champ input:focus { border-color: var(--rose); outline: none; }
.bq-cgv { display: flex; gap: .6rem; align-items: flex-start; margin: 1rem 0; font-size: .92rem; }
.bq-cgv input { width: 1.2rem; height: 1.2rem; margin-top: .15rem; accent-color: var(--rose); }
.bq-note { font-size: .85rem; color: #aaa; margin: .6rem 0 0; }
.bq-erreur { background: #3a0018; border: 2px solid var(--rose); border-radius: 10px; padding: .6rem .8rem; margin: .8rem 0 0; font-weight: 700; }

.bq-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.2rem; padding: .6rem 1.6rem; border-radius: 999px; border: 3px solid var(--noir); background: var(--rose); color: var(--noir);
  font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: 1.4rem; text-decoration: none; cursor: pointer; box-shadow: 0 0 0 2px var(--rose), 0 6px 18px -6px var(--rose); }
.bq-btn:hover { background: var(--rose-vif); }
.bq-btn:disabled { opacity: .45; cursor: default; }
.bq-btn--contour { background: transparent; color: var(--blanc); border-color: var(--blanc); box-shadow: none; }
.bq-cadenas { font-size: .85rem; color: #aaa; margin-top: .6rem; display: flex; align-items: center; gap: .4rem; }

/* Retour de paiement et billets */
.bq-carte { background: var(--creme); color: var(--noir); border: 3px solid var(--noir); border-radius: 18px; box-shadow: 8px 8px 0 var(--rose); padding: 1.4rem; max-width: 40rem; margin: 1rem auto; }
.bq-carte h1 { font-family: var(--f-titre); font-weight: 900; text-transform: uppercase; font-size: clamp(2rem, 7vw, 3rem); line-height: .95; margin: 0 0 .6rem; }
.bq-carte p { margin: .4rem 0; }
.bq-qr { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); margin: 1rem 0; }
.bq-qr figure { margin: 0; background: var(--blanc); border: 2px solid var(--noir); border-radius: 14px; padding: .8rem; text-align: center; }
.bq-qr img { width: 100%; max-width: 15rem; margin: 0 auto; image-rendering: pixelated; }
.bq-qr figcaption { font-weight: 800; margin-top: .3rem; }
.bq-qr code { font-size: .8rem; color: #444; }
.bq-qr .bq-utilise { color: #C8005F; font-weight: 800; }
.bq-attente { display: inline-block; width: 1.2rem; height: 1.2rem; border-radius: 50%; border: 3px solid var(--rose); border-right-color: transparent; animation: bq-tourne 1s linear infinite; vertical-align: -3px; }
@keyframes bq-tourne { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bq-attente { animation: none; } }
.bq-pied { text-align: center; color: #777; font-size: .8rem; padding: 2rem 16px; }
.bq-pied a { color: #aaa; }
@media print { body { background: #fff; color: #000; } .bq-haut, .bq-pied, .bq-btn { display: none; } .bq-carte { box-shadow: none; } }
