/* ==========================================================================
   Frisquéo — Thème WooCommerce
   Système de design : "le froid rendu visible"
   --------------------------------------------------------------------------
   1. Tokens (couleurs, typo, espacements, ombres, rayons)
   2. Reset & bases
   3. Typographie
   4. Layout & utilitaires
   5. Composants (boutons, badges, pills, cartes, marquee…)
   6. Header & barres
   7. Footer
   8. Sections page d'accueil
   9. Signature (courant d'air froid, ligne de givre)
   10. Animations & accessibilité
   ========================================================================== */

/* 1. TOKENS ================================================================ */
:root {
  /* Palette — froid (marque) vs chaud (urgence) */
  --navy:        #0F2C4C;
  --navy-800:    #16324f;
  --navy-700:    #1d3f61;
  --ink:         #0B1B2B;
  --ice:         #33BEE8;   /* accent marque, le froid */
  --ice-600:     #0E86B8;
  --ice-050:     #EAF6FB;   /* wash glacé */
  --frost:       #F3F9FC;   /* fond de section très pâle */
  --heat:        #F1663A;   /* promo / urgence / canicule */
  --heat-600:    #D8501F;
  --heat-050:    #FDEDE6;

  --white:       #FFFFFF;
  --paper:       #FBFDFE;
  --muted:       #64748B;
  --muted-400:   #94A3B8;
  --line:        #E7ECF0;
  --line-strong: #D6DFE6;

  /* Étoiles / notes */
  --star:        #F5A623;

/* Variante Gris Anthracite ClimaOne */
--anthracite-bg:#111827;
--anthracite-surface:#1F2937;
--anthracite-primary:#3B82F6;
--anthracite-primary-hover:#2563EB;
--anthracite-light:#F3F4F6;
--anthracite-muted:#D1D5DB;
--anthracite-text:#FFFFFF;
--anthracite-border:rgba(255,255,255,.10);
--anthracite-danger:#EF4444;

  /* Typographie */
  --font-display: "Schibsted Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  /* Rôle "data/label" : on garde une variable dédiée mais sur la fonte de
     texte (chiffres tabulaires) — plus propre que l'ancien Space Mono. */
  --font-mono:    "Hanken Grotesk", system-ui, -apple-system, sans-serif;

  /* Graisses de titres — volontairement plus fines/modernes */
  --w-display: 600;
  --w-display-strong: 700;

  /* Échelle typographique fluide */
  --step--1: clamp(0.80rem, 0.77rem + 0.15vw, 0.88rem);
  --step-0:  clamp(0.95rem, 0.92rem + 0.18vw, 1.05rem);
  --step-1:  clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
  --step-2:  clamp(1.45rem, 1.30rem + 0.75vw, 1.95rem);
  --step-3:  clamp(1.90rem, 1.60rem + 1.5vw,  2.85rem);
  --step-4:  clamp(2.60rem, 1.90rem + 3.4vw,  4.75rem);
  --step-5:  clamp(3.40rem, 2.30rem + 5.5vw,  6.80rem);

  /* Espacements */
  --space-1: 0.375rem;
  --space-2: 0.625rem;
  --space-3: 1rem;
  --space-4: 1.5rem;
  --space-5: 2.25rem;
  --space-6: 3.5rem;
  --space-7: 5rem;
  --space-8: 7rem;

  /* Rayons */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Ombres — douces, "givrées" */
  --sh-sm: 0 1px 2px rgba(15,44,76,.06), 0 1px 1px rgba(15,44,76,.04);
  --sh-md: 0 12px 30px -12px rgba(15,44,76,.18);
  --sh-lg: 0 30px 60px -20px rgba(15,44,76,.25);
  --sh-ice: 0 20px 45px -18px rgba(51,190,232,.45);

  --wrap: 1240px;
  --wrap-wide: 1440px;
  --header-h: 96px;
}

/* 2. RESET & BASES ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: none; }
ul, ol { list-style: none; padding: 0; }

:focus-visible {
  outline: 3px solid var(--ice);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection { background: var(--ice); color: var(--white); }

/* 3. TYPOGRAPHIE =========================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--w-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--step-4); letter-spacing: -0.03em; }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); font-weight: var(--w-display-strong); letter-spacing: -0.01em; }

p { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ice-600);
  font-weight: 700;
}
.eyebrow--light { color: rgba(255,255,255,.72); }

.lead { font-size: var(--step-1); color: var(--muted); line-height: 1.55; }
.mono { font-family: var(--font-mono); }

/* Rôle "data" : chiffres alignés (prix, compteurs, specs) */
.eyebrow, .badge, .spec-chip, .price, .countdown .n,
.product-card__cat, .fr-cat, .woocommerce ul.products li.product .price {
  font-variant-numeric: tabular-nums;
}

/* 4. LAYOUT & UTILITAIRES ================================================== */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2.5rem); }
.wrap--wide { max-width: var(--wrap-wide); }
.section { padding-block: var(--space-7); }
.section--tight { padding-block: var(--space-6); }
.section--frost { background: var(--frost); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }

.stack > * + * { margin-top: var(--space-3); }
.center { text-align: center; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 999;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

.section-head { max-width: 640px; margin-inline: auto; text-align: center; margin-bottom: var(--space-6); }
.section-head .eyebrow { display: inline-block; margin-bottom: var(--space-2); }
.section-head p { margin-top: var(--space-3); color: var(--muted); font-size: var(--step-1); }

/* 5. COMPOSANTS ============================================================ */
/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  font-family: var(--font-body); font-weight: 700; font-size: var(--step-0);
  padding: 0.95em 1.6em; border-radius: var(--r-pill);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, color .2s ease;
  line-height: 1; white-space: nowrap; border: 2px solid transparent;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary { background: var(--navy); color: var(--white); box-shadow: var(--sh-md); }
.btn--primary:hover { background: var(--navy-700); box-shadow: var(--sh-lg); }

.btn--ice { background: var(--ice); color: var(--navy); box-shadow: var(--sh-ice); }
.btn--ice:hover { background: #46c8ef; }

.btn--heat { background: var(--heat); color: var(--white); box-shadow: 0 16px 34px -14px rgba(241,102,58,.6); }
.btn--heat:hover { background: var(--heat-600); }

.btn--white { background: var(--white); color: var(--navy); box-shadow: var(--sh-md); }
.btn--white:hover { background: var(--frost); }

.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--navy); background: var(--frost); }

.btn--block { display: flex; width: 100%; }
.btn--lg { padding: 1.1em 2em; font-size: var(--step-1); }

/* Badges */
.badge {
  display: inline-flex; align-items: center; gap: .4em;
  font-family: var(--font-mono); font-weight: 700; font-size: .72rem;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .35em .7em; border-radius: var(--r-sm); line-height: 1;
}
.badge--heat { background: var(--heat); color: #fff; }
.badge--ice  { background: var(--ice-050); color: var(--ice-600); }
.badge--new  { background: var(--navy); color: #fff; }
.badge--soft { background: var(--frost); color: var(--muted); border: 1px solid var(--line); }

/* Puces de spec (langage technique) */
.spec-chip {
  display: inline-flex; align-items: center; gap: .45em;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 700;
  color: var(--navy); background: var(--ice-050);
  padding: .45em .8em; border-radius: var(--r-pill); line-height: 1;
}
.spec-chip svg { width: 14px; height: 14px; color: var(--ice-600); }

/* Étoiles */
.stars { display: inline-flex; gap: 2px; color: var(--star); }
.stars svg { width: 15px; height: 15px; }
.rating-line { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--step--1); color: var(--muted); }

/* Cartes de réassurance */
.reassure-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}
.reassure {
  display: flex; gap: var(--space-3); align-items: flex-start;
  padding: var(--space-4); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s;
}
.reassure:hover { box-shadow: var(--sh-md); transform: translateY(-3px); border-color: var(--ice); }
.reassure .ic {
  flex: none; width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 12px; background: var(--ice-050); color: var(--ice-600);
}
.reassure .ic svg { width: 24px; height: 24px; }
.reassure h4 { font-size: 1.02rem; margin-bottom: 2px; }
.reassure p { font-size: var(--step--1); color: var(--muted); line-height: 1.45; }

/* Formulaires de recherche (thème + WooCommerce) --------------------------- */
.fr-search-form,
.woocommerce-product-search,
.search-form {
  display: flex; gap: .6rem; width: 100%;
}
.fr-search-form input[type="search"],
.woocommerce-product-search .search-field,
.search-form .search-field {
  flex: 1; min-width: 0; border: 1.5px solid var(--line); border-radius: var(--r-pill);
  padding: .85rem 1.3rem; font-size: .95rem; background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.fr-search-form input[type="search"]:focus,
.woocommerce-product-search .search-field:focus,
.search-form .search-field:focus {
  border-color: var(--ice); box-shadow: 0 0 0 4px var(--ice-050); outline: none;
}
.fr-search-form button[type="submit"],
.woocommerce-product-search button[type="submit"],
.search-form .search-submit {
  background: var(--navy); color: #fff; border-radius: var(--r-pill);
  padding: 0 1.5rem; font-weight: 700; white-space: nowrap; transition: background .2s;
}
.fr-search-form button[type="submit"]:hover,
.woocommerce-product-search button[type="submit"]:hover,
.search-form .search-submit:hover { background: var(--navy-700); }

/* Contenu éditorial (WYSIWYG) --------------------------------------------- */
.entry-content { font-size: var(--step-0); color: var(--ink); line-height: 1.75; }
.entry-content > * + * { margin-top: var(--space-3); }
.entry-content h2 { font-size: var(--step-2); margin-top: var(--space-5); }
.entry-content h3 { font-size: var(--step-1); margin-top: var(--space-4); }
.entry-content p { color: #33475b; }
.entry-content a { color: var(--ice-600); text-decoration: underline; text-underline-offset: 3px; }
.entry-content a:hover { color: var(--navy); }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; display: grid; gap: .5rem; }
.entry-content ul { list-style: none; }
.entry-content ul li { position: relative; padding-left: 1.6rem; }
.entry-content ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--ice); }
.entry-content ol { list-style: decimal; }
.entry-content blockquote { border-left: 3px solid var(--ice); padding: .5rem 0 .5rem 1.4rem; font-size: var(--step-1); color: var(--navy); font-style: italic; }
.entry-content img { border-radius: var(--r-md); }
.entry-content table { width: 100%; border-collapse: collapse; }
.entry-content th, .entry-content td { padding: .8rem 1rem; border-bottom: 1px solid var(--line); text-align: left; }
.entry-content th { font-family: var(--font-mono); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }

/* 9. SIGNATURE : ligne de givre (séparateur) ------------------------------ */
.frost-line {
  height: 2px; border: 0; background:
    repeating-linear-gradient(90deg, var(--ice) 0 10px, transparent 10px 22px);
  opacity: .5; margin-block: var(--space-6);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

/* 10. ANIMATIONS =========================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes drift { from { transform: translateX(0); } to { transform: translateX(-50%); } }

[data-reveal] { opacity: 0; }
.is-in [data-reveal], [data-reveal].is-in { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
[data-reveal][data-delay="1"] { animation-delay: .08s; }
[data-reveal][data-delay="2"] { animation-delay: .16s; }
[data-reveal][data-delay="3"] { animation-delay: .24s; }
[data-reveal][data-delay="4"] { animation-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  [data-reveal] { opacity: 1 !important; }
}

/* ==========================================================
   CARTES PRODUITS - VERSION ANTHRACITE
========================================================== */

.product,
.product-card,
.woocommerce ul.products li.product {
    background: #1A2233 !important;
    border: 1px solid #2A3447 !important;
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: none !important;
    transition: .25s;
}

.product:hover,
.product-card:hover,
.woocommerce ul.products li.product:hover{
    transform: translateY(-4px);
    border-color:#3B82F6 !important;
    box-shadow:0 18px 40px rgba(0,0,0,.35);
}

/* Image */

.product img,
.woocommerce ul.products li.product img{
    background:#ffffff;
    border-radius:16px;
}

/* ==========================================================
   Titre produit
========================================================== */

.product h2,
.product h3,
.product h4,
.product-card h2,
.product-card h3,
.product-card h4,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3,
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce-loop-product__title,
.woocommerce ul.products li.product a h2,
.woocommerce ul.products li.product a h3{
    color:#FFFFFF !important;
}

/* Catégorie */

.product .posted_in,
.product .category,
.product-category{
    color:#93A4C3 !important;
}

/* Texte */

.product p,
.product small,
.product li{
    color:#C9D2E3 !important;
}

/* Badges */

.product .tag,
.product .badge,
.product .product-tag{
    background:#233149 !important;
    color:#7DB6FF !important;
    border:1px solid #31507D !important;
}

/* Ancien prix */

.price del{
    color:#6E7A91 !important;
}

/* Nouveau prix */

.price,
.price bdi,
.price ins,
.price ins bdi{
    font-weight:700;
}

.price{
    color:#FFFFFF !important;
}

.price bdi{
    color:#FFFFFF !important;
}

.price ins{
    color:#3B82F6 !important;
}

.price ins bdi{
    color:#3B82F6 !important;
}

/* Etoiles */

.star-rating,
.star-rating span{
    color:#FDBA2D !important;
}

/* Bouton */

.woocommerce a.button,
.woocommerce button.button,
.product .button{
    background:#3B82F6 !important;
    color:#FFFFFF !important;
    border:none !important;
    border-radius:999px !important;
    font-weight:700;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.product .button:hover{
    background:#2563EB !important;
}
/* ==========================================================
   PAGE BOUTIQUE - THÈME ANTHRACITE CLIMAONE
========================================================== */

/* Fond général */

body.post-type-archive-product,
body.tax-product_cat,
.woocommerce-shop,
.woocommerce{
    background:#111827 !important;
    color:#FFFFFF;
}

/* Conteneur */

.woocommerce .site-main,
.woocommerce .content-area{
    background:#111827 !important;
}

/* Sidebar */

.widget,
.woocommerce-widget-layered-nav,
.woocommerce .widget_product_categories{
    background:#1A2233 !important;
    border:1px solid #2A3447 !important;
    border-radius:22px;
    padding:24px;
}

/* Titres sidebar */

.widget-title,
.widget h2,
.widget h3{
    color:#FFFFFF !important;
}

/* Liens */

.widget a,
.widget li{
    color:#D1D5DB !important;
}

.widget a:hover{
    color:#3B82F6 !important;
}

/* Compteur */

.widget .count{
    color:#7BAEFF !important;
}

/* Barre de tri */

.woocommerce-ordering select,
select.orderby{
    background:#1A2233 !important;
    color:#FFFFFF !important;
    border:1px solid #2A3447 !important;
    border-radius:999px;
    padding:12px 18px;
}

/* Nombre de résultats */

.woocommerce-result-count{
    color:#C9D2E3 !important;
}

/* Pagination */

.woocommerce nav.woocommerce-pagination ul{
    border:none;
}

.woocommerce nav.woocommerce-pagination ul li{
    border:none;
    margin:0 6px;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span{
    background:#1A2233;
    color:#FFFFFF;
    border-radius:12px;
    border:1px solid #2A3447;
}

.woocommerce nav.woocommerce-pagination ul li span.current{
    background:#3B82F6;
    border-color:#3B82F6;
}

/* Fil d'Ariane */

.woocommerce-breadcrumb,
.woocommerce-breadcrumb a{
    color:#9CA3AF !important;
}

/* Messages */

.woocommerce-info,
.woocommerce-message{
    background:#1A2233;
    color:#FFFFFF;
    border-left:4px solid #3B82F6;
}

/* Champ recherche */

.woocommerce-product-search input{
    background:#1A2233;
    color:#FFFFFF;
    border:1px solid #2A3447;
}

.woocommerce-product-search input::placeholder{
    color:#94A3B8;
}

/* ==========================================================
   SHOP SIDEBAR - FILTRES ANTHRACITE CLIMAONE
========================================================== */

.shop-sidebar .filter-block,
.shop-sidebar .filter-block--help {
  background: #1F2937 !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  border-radius: 22px !important;
  color: #D1D5DB !important;
  box-shadow: 0 18px 45px rgba(0,0,0,.28) !important;
}

.shop-sidebar .filter-block h4,
.shop-sidebar .filter-block--help h4 {
  color: #FFFFFF !important;
}

.shop-sidebar .filter-block a,
.shop-sidebar .filter-block li,
.shop-sidebar .filter-block p,
.shop-sidebar .filter-block span,
.shop-sidebar .filter-block--help a,
.shop-sidebar .filter-block--help li,
.shop-sidebar .filter-block--help p,
.shop-sidebar .filter-block--help span {
  color: #D1D5DB !important;
}

.shop-sidebar .filter-block a:hover,
.shop-sidebar .filter-block--help a:hover {
  color: #3B82F6 !important;
}

.shop-sidebar .filter-block .count,
.shop-sidebar .filter-block span:last-child {
  color: #7DB6FF !important;
}

/* ==========================================================
   PAGE MEILLEURES VENTES - ANTHRACITE PREMIUM
========================================================== */

body.page-template,
body.page,
.site-main,
.section--light,
.section-light,
.section {
  background: #111827 !important;
}

.shop-hero,
.shop-hero * {
  color: #FFFFFF !important;
}

.shop-hero {
  background: linear-gradient(135deg, #111827 0%, #1F2937 100%) !important;
  border-bottom: 1px solid rgba(255,255,255,.10) !important;
}

/* Carte promo identique homepage */
.promo-band {
  position: relative;
  overflow: hidden;
  padding: var(--space-6);
  border-radius: 26px;
  background: linear-gradient(135deg, #FF5757 0%, #FF5E62 35%, #FF6A4A 70%, #FF8743 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 30px 80px rgba(255,87,87,.28) !important;
}

.promo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 30%, rgba(255,255,255,.18), transparent 42%);
  pointer-events: none;
}

.promo-band::after {
  content: "";
  position: absolute;
  right: -90px;
  top: -90px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
}

.promo-band__inner {
  position: relative;
  z-index: 2;
}

.promo-band h2,
.promo-band p,
.promo-band .eyebrow {
  color: #FFFFFF !important;
}

.countdown .unit {
  background: rgba(255,255,255,.18) !important;
  border: 1px solid rgba(255,255,255,.20) !important;
  color: #FFFFFF !important;
}

/* ==========================================================
   GUIDE D'ACHAT - ETAPE 1
========================================================== */

.section-head h2{
    color:#FFFFFF !important;
}

.section-head p{
    color:#D1D5DB !important;
}

.section-head .eyebrow{
    color:#3B82F6 !important;
}

/* ==========================================================
   PANIER - CARD PRODUIT BLANCHE COMME TOTAL PANIER
========================================================== */

.wc-block-cart-items__row,
.wc-block-cart .wc-block-cart-items__row,
.wc-block-components-sidebar-layout .wc-block-cart-items__row {
  background: #FFFFFF !important;
  color: #111827 !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 22px !important;
  padding: 22px !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.20) !important;
}

.wc-block-cart-items__row *,
.wc-block-cart .wc-block-cart-items__row * {
  color: #111827 !important;
}

.wc-block-cart-items__row .wc-block-components-product-name {
  color: #111827 !important;
  font-weight: 700 !important;
}

.wc-block-cart-items__row .wc-block-components-formatted-money-amount,
.wc-block-cart-items__row .wc-block-components-product-price {
  color: #3B82F6 !important;
  font-weight: 700 !important;
}

.wc-block-cart-items__row .wc-block-components-quantity-selector {
  background: #F3F4F6 !important;
  border: 1px solid #D1D5DB !important;
  border-radius: 999px !important;
}

/* ==========================================================
   CHECKOUT - FOND BLANC UNIQUEMENT
========================================================== */

body.woocommerce-checkout,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main,
body.woocommerce-checkout #main {
    background: #FFFFFF !important;
}

body.woocommerce-checkout .page-hero,
body.woocommerce-checkout .shop-hero {
    background: #FFFFFF !important;
}

/* ==========================================
   CHECKOUT : Hero foncé + contenu blanc
========================================== */

body.woocommerce-checkout {
    background: #161923 !important;
}

/* Le hero reste anthracite */
body.woocommerce-checkout .page-hero,
body.woocommerce-checkout .shop-hero {
    background: #161923 !important;
}

/* À partir du formulaire : fond blanc */
body.woocommerce-checkout .wc-block-checkout,
body.woocommerce-checkout .wp-block-woocommerce-checkout,
body.woocommerce-checkout .woocommerce-checkout,
body.woocommerce-checkout .checkout,
body.woocommerce-checkout .site-main > *:not(.page-hero):not(.shop-hero) {
    background: #ffffff !important;
}

/* PANIER : hero anthracite + contenu blanc */

body.woocommerce-cart {
  background: #111827 !important;
}

/* Le haut de page "Panier" reste anthracite */
body.woocommerce-cart .page-hero,
body.woocommerce-cart .shop-hero {
  background: #111827 !important;
}

/* Zone du panier en blanc */
body.woocommerce-cart .wc-block-cart,
body.woocommerce-cart .wp-block-woocommerce-cart,
body.woocommerce-cart .wc-block-components-sidebar-layout {
  background: #FFFFFF !important;
  color: #111827 !important;
  padding: 48px 24px !important;
}

/* Textes */
body.woocommerce-cart .wc-block-cart *,
body.woocommerce-cart .wp-block-woocommerce-cart * {
  color: #111827 !important;
}

/* Prix en bleu */
body.woocommerce-cart .wc-block-components-formatted-money-amount,
body.woocommerce-cart .wc-block-components-product-price {
  color: #3B82F6 !important;
  font-weight: 700 !important;
}

/* Boutons bleus */
body.woocommerce-cart .wc-block-components-button,
body.woocommerce-cart .wc-block-cart__submit-button {
  background: #3B82F6 !important;
  color: #FFFFFF !important;
  border-radius: 999px !important;
  border: none !important;
}

body.woocommerce-cart .wc-block-components-button * {
  color: #FFFFFF !important;
}

/* Bouton checkout identique au reste du site */
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout button[type="submit"] {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: 0 10px 30px rgba(37,99,235,.35) !important;
    font-weight: 700 !important;
    transition: .25s ease;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-checkout button[type="submit"]:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%) !important;
    transform: translateY(-1px);
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button *,
body.woocommerce-checkout .wc-block-components-button * {
    color: #fff !important;
}

/* FAQ - titres de catégorie */
.page-template-faq h2,
body.page-template-faq h2,
body.page-id-8 h2 {
  color: #FFFFFF !important;
}

/* ==========================================================
   PAGE PRODUIT - CORRECTION PREMIUM FINALE
========================================================== */

/* Fond général */
body.single-product,
body.single-product main,
body.single-product .site-main,
body.single-product div.product {
  background:#111827 !important;
  color:#fff !important;
}

/* Titre produit visible */
body.single-product .product_title,
body.single-product h1.product_title {
  color:#fff !important;
  opacity:1 !important;
}

/* Texte produit */
body.single-product .summary,
body.single-product .summary p,
body.single-product .summary span,
body.single-product .summary div {
  color:#fff !important;
}

/* Prix */
body.single-product .price,
body.single-product .price bdi,
body.single-product .summary .price {
  color:#3B82F6 !important;
  font-weight:800 !important;
}

body.single-product .price del,
body.single-product .price del bdi {
  color:#cbd5e1 !important;
  opacity:.75 !important;
}

body.single-product .price ins {
  text-decoration:none !important;
}

/* Badges blancs propres */
body.single-product .summary .tag,
body.single-product .summary .badge,
body.single-product .summary .pill,
body.single-product .summary .product-tag {
  background:#f8fafc !important;
  color:#111827 !important;
  border:1px solid #e5e7eb !important;
  border-radius:999px !important;
}

/* Bloc réassurance propre */
body.single-product .summary .reassurance,
body.single-product .summary .benefits,
body.single-product .summary .delivery-box,
body.single-product .product-usps,
body.single-product .usp-box {
  background:#1A2233 !important;
  border:1px solid rgba(255,255,255,.16) !important;
  border-radius:22px !important;
  color:#fff !important;
}

body.single-product .summary .reassurance *,
body.single-product .summary .benefits *,
body.single-product .summary .delivery-box *,
body.single-product .product-usps *,
body.single-product .usp-box * {
  color:#fff !important;
}

body.single-product .summary svg {
  color:#38BDF8 !important;
}

/* Supprime lignes pointillées moches */
body.single-product .summary hr,
body.single-product .summary .reassurance hr,
body.single-product .summary .benefits hr,
body.single-product .summary .delivery-box hr {
  border:none !important;
  border-top:1px solid rgba(255,255,255,.14) !important;
}

/* Onglets */
body.single-product .woocommerce-tabs,
body.single-product .woocommerce-Tabs-panel {
  background:#111827 !important;
  color:#fff !important;
}

body.single-product .woocommerce-tabs ul.tabs {
  border-bottom:1px solid rgba(59,130,246,.55) !important;
}

body.single-product .woocommerce-tabs ul.tabs li,
body.single-product .woocommerce-tabs ul.tabs li a {
  background:transparent !important;
  color:#cbd5e1 !important;
}

body.single-product .woocommerce-tabs ul.tabs li.active a,
body.single-product .woocommerce-tabs ul.tabs li a:hover {
  color:#38BDF8 !important;
}

/* Tableau informations complémentaires */
body.single-product table.shop_attributes {
  background:#1A2233 !important;
  border:1px solid rgba(255,255,255,.14) !important;
  border-radius:18px !important;
  overflow:hidden !important;
}

body.single-product table.shop_attributes tr,
body.single-product table.shop_attributes th,
body.single-product table.shop_attributes td {
  background:#1A2233 !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.10) !important;
}

body.single-product table.shop_attributes tr:nth-child(even) th,
body.single-product table.shop_attributes tr:nth-child(even) td {
  background:#202B3D !important;
}

body.single-product table.shop_attributes th {
  color:#93C5FD !important;
  font-weight:800 !important;
  text-transform:uppercase !important;
  letter-spacing:.06em !important;
}

body.single-product table.shop_attributes td,
body.single-product table.shop_attributes td p {
  color:#fff !important;
  font-weight:700 !important;
}

/* Description */
body.single-product .woocommerce-Tabs-panel h2,
body.single-product .woocommerce-Tabs-panel h3,
body.single-product .woocommerce-Tabs-panel p,
body.single-product .woocommerce-Tabs-panel li {
  color:#fff !important;
}

body.single-product .woocommerce-Tabs-panel li::marker {
  color:#38BDF8 !important;
}

/* Bouton */
body.single-product .single_add_to_cart_button {
  background:linear-gradient(135deg,#2563EB,#3B82F6) !important;
  color:#fff !important;
  border:none !important;
  border-radius:999px !important;
  font-weight:800 !important;
  box-shadow:0 14px 38px rgba(37,99,235,.38) !important;
}

/* Produits similaires */
body.single-product .related.products h2 {
  color:#fff !important;
}

body.single-product .related.products ul.products li.product {
  background:#1A2233 !important;
  border:1px solid #2A3447 !important;
  border-radius:22px !important;
  overflow:hidden !important;
}

body.single-product .related.products .woocommerce-loop-product__title {
  color:#fff !important;
}

/* =====================================================
   FINITIONS PAGE PRODUIT
   ===================================================== */

/* Badge Promo (coin image) */
body.single-product .onsale{
    background:#ff5a3c !important;
    color:#fff !important;
    border:none !important;
    border-radius:10px !important;
    font-weight:700 !important;
    padding:6px 12px !important;
    box-shadow:0 8px 18px rgba(255,90,60,.35);
}

/* Texte des badges caractéristiques */
body.single-product .summary .tag,
body.single-product .summary .badge,
body.single-product .summary .pill,
body.single-product .summary .product-tag,
body.single-product .summary .product-tag *,
body.single-product .summary .tag *,
body.single-product .summary .badge *,
body.single-product .summary .pill *{
    color:#111827 !important;
    font-weight:600 !important;
}

/* Point "Plus que X en stock" */
body.single-product .stock.in-stock::before,
body.single-product p.stock::before{
    color:#ff5a3c !important;
}

/* Si le point est créé avec une puce */
body.single-product .stock.in-stock{
    color:#ffffff !important;
}

body.single-product .stock.in-stock::marker{
    color:#ff5a3c !important;
}

/* Sélecteur de quantité */
body.single-product .quantity input,
body.single-product .quantity input.qty{
    color:#111827 !important;
    font-weight:700 !important;
}

/* Boutons + et - */
body.single-product .quantity button,
body.single-product .quantity .minus,
body.single-product .quantity .plus{
    color:#111827 !important;
}

/* ===== Badges caractéristiques ===== */

body.single-product .spec-chip{
    color:#111827 !important;
    -webkit-text-fill-color:#111827 !important;
}

body.single-product .spec-chip *{
    color:#111827 !important;
    -webkit-text-fill-color:#111827 !important;
}

/* Icônes bleues */
body.single-product .spec-chip svg,
body.single-product .spec-chip i{
    color:#38BDF8 !important;
}