/* Thème Toits · les écrans intérieurs (20/11/2026) : fiche, panier, commande, infos, avis, contact, barre « Commander »,
   barre du bas. Recopié du thème Usine : panneaux marine à liseré d'or, un seul bordeaux pour l'action, or pour les prix.
   Chargée en dernier, avec [data-vitrine="toits"] en plus pour l'emporter. */
body[data-vitrine="toits"] {
  --tt-nuit: #0d0f17; --tt-panneau: linear-gradient(180deg, rgba(25,28,40,.94), rgba(10,11,17,.97));
  --tt-bord: rgba(232,196,120,.8); --tt-lueur: 0 0 22px rgba(232,180,90,.45), inset 0 0 26px rgba(240,190,110,.12);
  --tt-texte: #fff6e6; --tt-doux: rgba(255,246,230,.72); --tt-orange: #a3162a; --tt-jaune: #f2c66d;
}

/* ---------- Les panneaux ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(#productModalPanel, #basketSection > .glass, #orderModal > .glass, #infoSection .glass, #reviewsSection .glass, #contactSection > .glass, #productsEmpty) {
  background: var(--tt-panneau) !important; border: 1.5px solid var(--tt-bord) !important; border-radius: 20px !important; box-shadow: var(--tt-lueur) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(#productModalPanel, #basketSection > .glass, #orderModal > .glass, #infoSection .glass, #reviewsSection .glass, #contactSection > .glass, #productsEmpty),
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :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(--tt-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="toits"] :is(#productModalPanel, #orderModal > .glass, #reviewsSection .glass) p.uppercase,
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #orderModal > .glass label,
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #productModalPanel p.text-xs {
  color: #e8c478 !important; letter-spacing: .14em;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] .pageSection > p,
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] .pageSection > p.text-xs.font-semibold.uppercase {
  color: #fff !important; text-shadow: 0 0 14px rgba(240,190,110,.9) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #modalName { color: #fff !important; text-shadow: 0 0 14px rgba(240,190,110,.8) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #modalMediaGallery img { filter: none; animation: none; border-radius: 14px; }

/* ---------- Les champs ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(#productModalPanel, #orderModal, #reviewsSection) :is(input, select, textarea),
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #productSearch {
  background: rgba(8,9,14,.85) !important; color: #fff !important; font-size: 16px !important;
  border: 1.5px solid rgba(232,196,120,.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="toits"] :is(input, textarea)::placeholder { color: rgba(240,225,190,.6) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(input, select, textarea):focus {
  outline: none !important; border-color: #f6dfa8 !important; box-shadow: 0 0 0 3px rgba(240,190,110,.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="toits"] :is(#modalPurchase, .basket-cta, #confirmOrderBtn, #submitReviewBtn, #promoApplyBtn),
body[data-theme="template"][data-vitrine="toits"] .basket-empty :is(a, button) {
  background: linear-gradient(180deg, #c8263a, #a3162a) !important; color: #fff !important; text-shadow: 0 1px 2px rgba(60,5,15,.6) !important;
  border: 1.5px solid rgba(242,214,150,.85) !important; border-radius: 14px !important;
  box-shadow: 0 0 18px rgba(163,22,42,.6), inset 0 -3px 0 rgba(60,5,15,.3) !important; font-weight: 800 !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(#modalPurchase, .basket-cta, #confirmOrderBtn, #submitReviewBtn) { animation: tt-appel-bouton 2.4s ease-in-out infinite; }
@keyframes tt-appel-bouton { 50% { box-shadow: 0 0 30px rgba(210,60,75,.95), inset 0 -3px 0 rgba(60,5,15,.3); } }
/* Les boutons secondaires : contour bleu. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(#copyRecapBtn, #closeModalBtn, .basket-clear, #closeModal, .delivery-choice) {
  background: rgba(255,246,230,.1) !important; color: var(--tt-texte) !important; border: 1.5px solid rgba(232,196,120,.65) !important;
  border-radius: 12px !important; box-shadow: none !important; text-shadow: none !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #closeModal * { color: var(--tt-texte) !important; }
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #orderModal .delivery-choice.delivery-choice-active {
  background: linear-gradient(180deg, #c8263a, #a3162a) !important; color: #fff !important; border-color: rgba(242,214,150,.85) !important;
}
/* Quantité : deux touches rondes. */
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] :is(#qtyMinus, #qtyPlus, .qty-control button) {
  background: linear-gradient(180deg, #2a2f45, #141722) !important; color: #fff !important; border: 1.5px solid var(--tt-bord) !important;
  border-radius: 999px !important; box-shadow: 0 0 10px rgba(232,180,90,.5) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #basketSection .qty-control { background: rgba(8,9,14,.6) !important; border: 1.5px solid rgba(232,196,120,.45) !important; }
/* Les options de la fiche : des touches qui s'allument. */
body[data-vitrine="toits"] .cl-pastilles button {
  background: rgba(255,246,230,.1) !important; color: var(--tt-texte) !important; border: 1.5px solid rgba(232,196,120,.65) !important;
  border-radius: 12px !important; box-shadow: none !important; text-shadow: none !important;
}
body[data-vitrine="toits"] .cl-pastilles button.on {
  background: linear-gradient(180deg, #c8263a, #a3162a) !important; color: #fff !important; border-color: rgba(242,214,150,.85) !important; box-shadow: 0 0 14px rgba(163,22,42,.6) !important;
}

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

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

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

/* ---------- La barre « Commander » : une réglette du tableau de bord ---------- */
body[data-vitrine="toits"] #cl-barre {
  background: linear-gradient(180deg, rgba(25,28,40,.96), rgba(10,11,17,.98)) !important; border: 1.5px solid var(--tt-bord) !important;
  border-radius: 16px !important; box-shadow: 0 0 20px rgba(232,180,90,.5), 0 10px 22px rgba(0,0,0,.5) !important; color: var(--tt-texte) !important;
}
body[data-vitrine="toits"] .cl-barre__n { background: var(--tt-jaune) !important; color: #0d0f17 !important; border: 0 !important; }
body[data-vitrine="toits"] .cl-barre__t b { color: var(--tt-jaune) !important; }
body[data-vitrine="toits"] .cl-barre__go {
  background: linear-gradient(180deg, #c8263a, #a3162a) !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(163,22,42,.6);
}

/* ---------- La barre du bas : le socle du tableau de bord ---------- */
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #bottomNav {
  background: linear-gradient(180deg, #191c28, #0d0f17 70%) !important; box-shadow: 0 -8px 22px rgba(0,0,0,.5);
}
body[data-theme="template"][data-glossy][data-vitrine="toits"] #bottomNav::before {
  background: linear-gradient(90deg, transparent, #e8c478 25%, #a3162a 50%, #e8c478 75%, transparent) !important; box-shadow: 0 0 10px rgba(240,190,110,.7) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #bottomNav #basketBtn::before {
  background: radial-gradient(circle at 50% 35%, #d8404f, #a3162a 62%, #6f0d1b) !important; border: 3px solid #f2d696 !important;
  box-shadow: 0 0 20px rgba(163,22,42,.65), 0 6px 14px rgba(0,0,0,.5) !important;
}
body[data-theme="template"][data-glossy="candy"][data-vitrine="toits"] #basketBadge { background: var(--tt-jaune) !important; color: #0d0f17 !important; border: 2px solid #0d0f17 !important; }

/* ---------- Retouches vues à l'écran ---------- */
/* La photo de la fiche : plus de bandes blanches autour. */
body[data-vitrine="toits"] #modalMediaGallery, body[data-vitrine="toits"] #modalMediaGallery > * { background: rgba(8,9,14,.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="toits"] .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é). */
body.tt-hors .tt-v--terre { transform: none; }
body.tt-hors .tt-verre { display: none; }
