/* Thème Mine · les écrans intérieurs (03/12/2026, recopié du thème Tour) : fiche, panier, commande, infos, avis, contact, barre « Commander »,
   barre du bas. Panneaux de bois sombre à liseré d'or, l'action en or verni, le vert du logo pour les « + ».
   Chargée en dernier, avec [data-vitrine="mine"] en plus pour l'emporter. */
body[data-vitrine="mine"] {
  --mn-nuit: #1a120b; --mn-panneau: linear-gradient(180deg, rgba(74,47,24,.94), rgba(38,24,12,.97));
  --mn-bord: rgba(255,198,41,.8); --mn-lueur: 0 5px 0 rgba(15,10,6,.6);
  --mn-texte: #fff6e6; --mn-doux: rgba(255,246,230,.72); --mn-orange: #8fd61a; --mn-jaune: #ffc629;
}

/* ---------- Les panneaux ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#productModalPanel, #basketSection > .glass, #orderModal > .glass, #infoSection .glass, #reviewsSection .glass, #contactSection > .glass, #productsEmpty) {
  background: var(--mn-panneau) !important; border: 1.5px solid var(--mn-bord) !important; border-radius: 20px !important; box-shadow: var(--mn-lueur) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#productModalPanel, #basketSection > .glass, #orderModal > .glass, #infoSection .glass, #reviewsSection .glass, #contactSection > .glass, #productsEmpty),
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#productModalPanel, #basketSection > .glass, #orderModal > .glass, #infoSection .glass, #reviewsSection .glass, #contactSection > .glass, #productsEmpty) :is(p, span, label, div, h2, h3, b, small, li, a:not(.wc-reseau)) {
  color: var(--mn-texte) !important; text-shadow: none !important;
}
/* Petits titres : bleu clair, comme les libellés d'un tableau de bord. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#productModalPanel, #orderModal > .glass, #reviewsSection .glass) p.uppercase,
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #orderModal > .glass label,
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #productModalPanel p.text-xs {
  color: #ffc629 !important; letter-spacing: .14em;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .pageSection > p,
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .pageSection > p.text-xs.font-semibold.uppercase {
  color: #fff !important; text-shadow: 0 0 14px rgba(255,198,41,.9) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #modalName { color: #fff !important; text-shadow: 0 0 14px rgba(255,198,41,.8) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #modalMediaGallery img { filter: none; animation: none; border-radius: 14px; }

/* ---------- Les champs ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#productModalPanel, #orderModal, #reviewsSection) :is(input, select, textarea),
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #productSearch {
  background: rgba(20,13,8,.85) !important; color: #fff !important; font-size: 16px !important;
  border: 1.5px solid rgba(255,198,41,.55) !important; border-radius: 12px !important; box-shadow: inset 0 2px 8px rgba(0,0,0,.35) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(input, textarea)::placeholder { color: rgba(255,243,214,.6) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(input, select, textarea):focus {
  outline: none !important; border-color: #ffe07a !important; box-shadow: 0 0 0 3px rgba(255,198,41,.35) !important;
}

/* ---------- Les boutons ---------- */
/* L'action : le seul orange, comme le bouton du tableau de bord. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#modalPurchase, .basket-cta, #confirmOrderBtn, #submitReviewBtn, #promoApplyBtn),
body[data-theme="template"][data-vitrine="mine"] .basket-empty :is(a, button) {
  background: linear-gradient(180deg, #a6f01e, #8fd61a) !important; color: #fff !important; text-shadow: 0 1px 2px rgba(20,50,5,.6) !important;
  border: 1.5px solid rgba(255,224,122,.85) !important; border-radius: 14px !important;
  box-shadow: 0 0 18px rgba(143,214,26,.6), inset 0 -3px 0 rgba(20,50,5,.3) !important; font-weight: 800 !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#modalPurchase, .basket-cta, #confirmOrderBtn, #submitReviewBtn) { animation: mn-appel-bouton 2.4s ease-in-out infinite; }
@keyframes mn-appel-bouton { 50% { box-shadow: 0 0 30px rgba(166,240,30,.95), inset 0 -3px 0 rgba(20,50,5,.3); } }
/* Les boutons secondaires : contour bleu. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#copyRecapBtn, #closeModalBtn, .basket-clear, #closeModal, .delivery-choice) {
  background: rgba(255,246,230,.1) !important; color: var(--mn-texte) !important; border: 1.5px solid rgba(255,198,41,.65) !important;
  border-radius: 12px !important; box-shadow: none !important; text-shadow: none !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #closeModal * { color: var(--mn-texte) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #orderModal .delivery-choice.delivery-choice-active {
  background: linear-gradient(180deg, #a6f01e, #8fd61a) !important; color: #fff !important; border-color: rgba(255,224,122,.85) !important;
}
/* Quantité : deux touches rondes. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#qtyMinus, #qtyPlus, .qty-control button) {
  background: linear-gradient(180deg, #5a3a1e, #0f3d14) !important; color: #fff !important; border: 1.5px solid var(--mn-bord) !important;
  border-radius: 999px !important; box-shadow: 0 0 10px rgba(255,198,41,.5) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #basketSection .qty-control { background: rgba(20,13,8,.6) !important; border: 1.5px solid rgba(255,198,41,.45) !important; }
/* Les options de la fiche : des touches qui s'allument. */
body[data-vitrine="mine"] .cl-pastilles button {
  background: rgba(255,246,230,.1) !important; color: var(--mn-texte) !important; border: 1.5px solid rgba(255,198,41,.65) !important;
  border-radius: 12px !important; box-shadow: none !important; text-shadow: none !important;
}
body[data-vitrine="mine"] .cl-pastilles button.on {
  background: linear-gradient(180deg, #a6f01e, #8fd61a) !important; color: #fff !important; border-color: rgba(255,224,122,.85) !important; box-shadow: 0 0 14px rgba(143,214,26,.6) !important;
}

/* ---------- Prix, panier ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#productModalPanel, #basketSection) :is(#modalPrice, #modalPrice *, .basket-total, .basket-subtotal) {
  color: var(--mn-jaune) !important; font-weight: 800 !important; text-shadow: 0 0 12px rgba(255,198,41,.45) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .basket-line {
  background: rgba(255,246,230,.08) !important; border: 1px solid rgba(255,198,41,.45) !important; border-radius: 14px !important; box-shadow: none !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .basket-thumb { border-radius: 10px !important; background: rgba(20,13,8,.7) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .removeBtn { color: #ff9aa8 !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #basketSection .basket-summary {
  background: rgba(20,13,8,.75) !important; border: 1.5px solid rgba(255,198,41,.55) !important; border-top: 3px solid var(--mn-orange) !important;
  border-radius: 14px !important; box-shadow: none !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #basketSection > .glass .basket-summary :is(span, div, p) { color: var(--mn-texte) !important; text-shadow: none !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #basketSection > .glass .basket-summary .basket-total,
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #basketSection .basket-summary-row .basket-total { color: var(--mn-jaune) !important; text-shadow: 0 0 12px rgba(255,198,41,.45) !important; }

/* ---------- Avis, contact, notifications ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(.star-btn, .star-display) { color: rgba(255,198,41,.35) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(.star-btn, .star-display).is-filled { color: var(--mn-jaune) !important; text-shadow: 0 0 10px rgba(255,198,41,.7) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .wc-reseau {
  background: var(--mn-panneau) !important; border: 1.5px solid var(--mn-bord) !important; border-radius: 16px !important; box-shadow: var(--mn-lueur) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .wc-reseau :is(b, small, svg) { color: var(--mn-texte) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .sn-notifications-container .sn-notify {
  background: var(--mn-panneau) !important; border: 1.5px solid var(--mn-bord) !important; border-radius: 14px !important; box-shadow: var(--mn-lueur) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .sn-notifications-container .sn-notify * { color: var(--mn-texte) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #searchClear { color: var(--mn-texte) !important; }

/* ---------- Fenêtres : fond sombre ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#orderModal, #productModal) { background: rgba(15,10,6,.74) !important; }

/* ---------- La barre « Commander » : une réglette du tableau de bord ---------- */
body[data-vitrine="mine"] #cl-barre {
  background: linear-gradient(180deg, rgba(74,47,24,.96), rgba(38,24,12,.98)) !important; border: 1.5px solid var(--mn-bord) !important;
  border-radius: 16px !important; box-shadow: 0 0 20px rgba(255,198,41,.5), 0 10px 22px rgba(0,0,0,.5) !important; color: var(--mn-texte) !important;
}
body[data-vitrine="mine"] .cl-barre__n { background: var(--mn-jaune) !important; color: #1a120b !important; border: 0 !important; }
body[data-vitrine="mine"] .cl-barre__t b { color: var(--mn-jaune) !important; }
body[data-vitrine="mine"] .cl-barre__go {
  background: linear-gradient(180deg, #a6f01e, #8fd61a) !important; color: #fff !important; border-radius: 10px !important;
  font: 800 13px/1 'Poppins', system-ui, sans-serif !important; letter-spacing: .04em; box-shadow: 0 0 12px rgba(143,214,26,.6);
}

/* ---------- La barre du bas : le socle du tableau de bord ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #bottomNav {
  background: linear-gradient(180deg, #3d2713, #1a120b 70%) !important; box-shadow: 0 -8px 22px rgba(0,0,0,.5);
}
body[data-theme="template"][data-glossy][data-vitrine="mine"] #bottomNav::before {
  background: linear-gradient(90deg, transparent, #ffc629 25%, #8fd61a 50%, #ffc629 75%, transparent) !important; box-shadow: 0 0 10px rgba(255,198,41,.7) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #bottomNav #basketBtn::before {
  background: radial-gradient(circle at 50% 35%, #c5f76a, #8fd61a 62%, #3f7a0a) !important; border: 3px solid #ffe07a !important;
  box-shadow: 0 0 20px rgba(143,214,26,.65), 0 6px 14px rgba(0,0,0,.5) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #basketBadge { background: var(--mn-jaune) !important; color: #1a120b !important; border: 2px solid #1a120b !important; }

/* ---------- Retouches vues à l'écran ---------- */
/* La photo de la fiche : plus de bandes blanches autour. */
body[data-vitrine="mine"] #modalMediaGallery, body[data-vitrine="mine"] #modalMediaGallery > * { background: rgba(20,13,8,.7) !important; border-radius: 14px; }
/* Les titres de page (« Panier », « Infos »…) ne collent plus au bord gauche. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] .pageSection > p { padding-left: 16px; }
/* Hors de l'onglet Produits, le cockpit n'est plus devant : la Terre reprend toute la page (sinon son bas se voyait coupé). */

/* ---------- La carte et la ligne des notifications (webapp/notifs.js) : nuit et or ---------- */
body[data-vitrine="mine"] :is(#nf-carte, .nf-ligne) { background: linear-gradient(180deg, #4a2f18, #1a120b); border: 1.5px solid #ffc629; color: #fff6e6; }
body[data-vitrine="mine"] :is(#nf-carte .nf-oui, .nf-ligne button) { background: linear-gradient(180deg, #ffd84a, #ffb400); color: #1a1206; }

/* ---------- L'action et l'écran de fin ---------- */
/* L'action : jaune verni, texte violet, rebord net. Le lettrage du logo. Aucune lueur qui bat. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#modalPurchase, .basket-cta, #confirmOrderBtn, #submitReviewBtn, #promoApplyBtn),
body[data-theme="template"][data-vitrine="mine"] .basket-empty :is(a, button),
body[data-vitrine="mine"] .cl-barre__go,
body[data-vitrine="mine"] .cl-pastilles button.on,
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #orderModal .delivery-choice.delivery-choice-active {
  background: linear-gradient(180deg, rgba(255,255,255,.5), rgba(255,255,255,0) 46%), linear-gradient(180deg, #ffd84a, #ffb400) !important;
  color: #0f3d14 !important; text-shadow: none !important; border: 2px solid #0f3d14 !important; box-shadow: 0 4px 0 #1a120b !important; animation: none !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] :is(#modalPurchase, .basket-cta, #confirmOrderBtn, #submitReviewBtn, #promoApplyBtn) * { color: #0f3d14 !important; }
body[data-vitrine="mine"] #cl-barre { box-shadow: 0 5px 0 rgba(15,10,6,.6) !important; }
/* L'adresse de retrait dans la fenêtre « Finaliser » : une plaque jaune, comme un lingot. */
body[data-vitrine="mine"] #pickupInfo { background: rgba(255,198,41,.14) !important; border: 1.5px solid #ffc629 !important; border-radius: 14px !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="mine"] #orderModal > .glass #pickupInfo p:first-child { color: #ffc629 !important; letter-spacing: .1em; }
body[data-vitrine="mine"] #orderSuccessOverlay { background: rgba(26,18,11,.94) !important; }
body[data-vitrine="mine"] .order-success-message { color: #fff3d6 !important; font-weight: 700; padding: 0 24px; text-align: center; }
/* L'écran de fin : la coche en jaune, sans lueur verte. */
body[data-vitrine="mine"] #orderSuccessOverlay .check-circle { border-color: #ffc629 !important; box-shadow: none !important; }
body[data-vitrine="mine"] #orderSuccessOverlay svg { stroke: #ffc629 !important; }
