/* 22/11/2026 — inc/look-20261122.php */

/* =========================================================
   1. EN-TÊTE NOIR (choisi le 22/11 parmi 4 propositions : jaune -> noir)
   ========================================================= */
body .header { background:#111; border-bottom:0; box-shadow:none; }
body .header .header__main, body .header .header__search-m { background:transparent; }
body .header .header__main { border-bottom:1px solid #2a2a2a; }
body .header .logo__img { filter:none; content:url("media/logo-foyelia-clair-v2.png"); } /* F jaune + texte blanc */
body .header .header__icon, body .header .header__burger, body .header .header__help,
body .header .header__help span, body .header .header__help small, body .header .header__help strong { color:#fff; }
body .header .header__count { background:#ffc21a !important; color:#111 !important; border-color:#111 !important; }
/* Barre de recherche : champ blanc + bouton loupe jaune à droite */
body .header .header__searchbar { position:relative; height:48px; padding:0 64px 0 16px; border-radius:8px; background:#fff; color:#5f5f5f;
  box-shadow:none; font-weight:400; }
body .header .header__searchbar .icon { position:absolute; right:0; top:0; width:56px; height:48px; padding:12px 16px; box-sizing:border-box;
  border-radius:0 8px 8px 0; background:#ffc21a; color:#111; }
body .header .header__search-m { padding-bottom:12px; }
@media (min-width:750px) {
  body .header .header__icon:hover, body .header .header__help:hover { background:rgb(255 255 255 / 10%); }
}

/* =========================================================
   2. TYPOGRAPHIE LA BOXE POUR TOUS (Inter, valeurs relevées sur leur site)
   ========================================================= */
/* Avis des cartes : Inter partout (était en Arial) */
body .fy-rl, body .fy-rl__note, body .fy-rl__count { font-family:"Inter","Helvetica Neue",Arial,sans-serif !important; }
body .card .fy-rl__count { font-weight:400; font-size:12px; }

/* Titres de sections : capitales espacées */
body h2.section__title { font-size:18.4px; font-weight:700; line-height:1.2; letter-spacing:.14em; text-transform:uppercase; }
body .fyfh__title { font-weight:700; letter-spacing:-.01em; }
body .link-arrow, body .fyfavs__seeall { font-weight:500; }

/* Hero */
body .fyhero__title, body .fyhb .fyhero__title { font-weight:600; letter-spacing:-.02em; }
body .fyhero__btn, body .fyhb .fyhero__btn { font-weight:600; font-size:17px; }
@media (max-width:749px) {
  body .fyhero__title, body .fyhb .fyhero__title { font-size:33.15px; line-height:1.05; }
  body .fyhero__text, body .fyhb .fyhero__text { font-size:15.68px; line-height:1.5; }
}

/* Cartes produits */
body .card__link { font-weight:400; font-size:13px; letter-spacing:-.02em; }
body .card__brand { font-weight:700; font-size:11px; letter-spacing:.14em; text-transform:uppercase; }
body .card .price__current { font-size:15px; font-weight:800; letter-spacing:0; }
body .card .price__pct { font-size:14px; font-weight:600; }
body .badge, body .card__sale { font-size:8.5px; }
/* Grille des collections : cartes plus grandes, comme Boxe */
body.template-collection .grid .card__link { font-size:15px; letter-spacing:-.02em; }
body.template-collection .grid .card__brand { font-weight:800; font-size:12px; letter-spacing:.1em; }
body.template-collection .grid .card .price__current { font-size:17px; }
body.template-collection .grid .badge, body.template-collection .grid .card__sale { font-size:9px; }
body .coll-head__title { font-weight:800; letter-spacing:-.035em; }

/* Fiche produit */
body .pdp__title { font-weight:700; letter-spacing:-.025em; }  /* taille gardée (titres Foyelia longs : 22 px mobile) */
body .pdp .fy-rl__note { font-weight:700; }
body .pdp .fy-rl__count { font-weight:600; }
body .pdp summary { font-weight:700; }
body .pdp__avail-title { font-weight:600; }
body .single_add_to_cart_button, body .buybox .btn { font-weight:600; }

/* Pied de page */
body .dfoot__copy { font-size:14px; }

/* =========================================================
   3. COLLECTIONS : nombre de produits masqué (22/11)
   ========================================================= */
body .coll__bar .coll__count, body .coll .coll__count { display:none !important; }

/* 4. Date de livraison des cartes (assets/delivery-date.js) */
body .fy-card-stock[data-fy-date] strong { font-weight:800; color:#111; }

/* =========================================================
   5. COLLECTIONS : « ··· Accueil » -> bande grise « ‹ Tous nos chauffages » façon Amazon (22/11)
   ========================================================= */
body .coll-banner .breadcrumbs { display:block !important; margin:-12px 0 16px; padding:12px 0; background:#f5f5f5;
  box-shadow:0 0 0 100vmax #f5f5f5; clip-path:inset(0 -100vmax); border-bottom:1px solid #e6e6e6; }
body .coll-banner .breadcrumbs ol { display:flex; margin:0; padding:0; }
body .coll-banner .breadcrumbs li { display:none !important; }
body .coll-banner .breadcrumbs li:nth-child(2) { display:flex !important; align-items:center; }
body .coll-banner .breadcrumbs li:nth-child(2)::before { content:none; }
body .coll-banner .breadcrumbs li:nth-child(2) a { display:inline-flex; align-items:center; gap:10px; font-size:0; color:#111; text-decoration:none; }
body .coll-banner .breadcrumbs li:nth-child(2) a::before { content:""; width:8px; height:8px; border-left:2px solid #555; border-bottom:2px solid #555; transform:rotate(45deg); margin-left:3px; }
body .coll-banner .breadcrumbs li:nth-child(2) a::after { content:"Tous nos chauffages"; font-size:17px; font-weight:700; letter-spacing:-.01em; }

/* 6. Fiche produit : date de livraison en gros (assets/delivery-date.js) */
/* 22/11 (retouche) : une seule ligne sobre, comme les autres lignes du bloc ; date en gras */
body .pdp__dot.fy-pdp-date strong { font-weight:700; color:#111; }

/* 7. Menu ordinateur : noms plus clairs (22/11) -> resserré pour tenir sur une ligne */
@media (min-width:990px) {
  body .nav .nav__list { flex-wrap:nowrap; }
  body .nav .nav__link { padding-left:10px; padding-right:10px; white-space:nowrap; }
  body .nav .nav__item:first-child .nav__link { padding-left:0; }
}
@media (min-width:990px) and (max-width:1499px) { body .nav .nav__extra { display:none; } }
@media (min-width:990px) and (max-width:1199px) { body .nav .nav__link { padding-left:6px; padding-right:6px; font-size:13.5px; } }

/* =========================================================
   8. COLLECTIONS : barre de filtres (22/11)
   ========================================================= */
/* Ligne « Filtrer et trier » supprimée : c'est le bouton « Trier » (icône filtre) qui ouvre le panneau */
body .coll__bar { display:none !important; }
/* Pastilles au style de l'ancien bouton « Filtrer et trier » : texte gras, 48 px, contour gris */
body .fycx-qf__chip { height:48px; padding:0 18px !important; font-weight:600 !important; font-size:16px; color:#111; border:1.5px solid #ddd !important; border-radius:999px; background:#fff; gap:8px; }
body .fycx-qf__chip[data-menu="sort"]::before { content:""; flex:none; width:18px; height:18px;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M4 6h16M7 12h10M10 18h4'/%3E%3C/svg%3E") center/contain no-repeat; }
body .fycx-qf__chip[data-menu="sort"] svg { display:none; }

/* =========================================================
   9. CARTES PRODUITS : « Black Friday » retiré de la photo -> étiquette rouge au-dessus du prix, façon Amazon
   (ne s'affiche que si la carte porte le badge Black Friday, donc s'arrête avec l'opération)
   ========================================================= */
body .card .card__flags [data-bf-sale] { display:none !important; }
body .card:has([data-bf-sale]) .card__foot::before { content:"Offre Black Friday"; display:inline-block; align-self:flex-start; margin:0 0 6px; padding:4px 8px 3px;
  background:#cc0c39; color:#fff; font-size:12.5px; font-weight:700; line-height:1.2; letter-spacing:0; text-transform:none; }
body .card:has([data-bf-sale]) .card__foot { flex-direction:column; align-items:center; }
body .card:has([data-bf-sale]) .card__foot::before { align-self:center; }
body .coll [data-cf-grid] .card:has([data-bf-sale]) .card__foot { align-items:flex-start; }
body .coll [data-cf-grid] .card:has([data-bf-sale]) .card__foot::before { align-self:flex-start; }
/* 22/11 : étiquette au même rouge et à la même police que le prix (#d62828, Inter 800) */
body .card:has([data-bf-sale]) .card__foot::before { background:#d62828; font-family:"Inter","Helvetica Neue",Arial,sans-serif; font-weight:800; font-size:13px; padding:4px 8px; }
/* Collections (mobile, liste) : plus de hauteur réservée sous les titres courts */
@media (max-width:749px) { body .coll [data-cf-grid] .card__title { min-height:0 !important; } }

/* =========================================================
   10. Bande « ‹ Page parente » sous l'en-tête, sur toutes les pages (inc/backbar.php, 22/11)
   ========================================================= */
.fy-backbar { background:#f5f5f5; border-bottom:1px solid #e6e6e6; }
.fy-backbar .container { display:flex; align-items:center; min-height:48px; }
.fy-backbar a { display:inline-flex; align-items:center; gap:10px; padding:10px 0; color:#111; font-size:17px; font-weight:700; letter-spacing:-.01em; text-decoration:none; }
.fy-backbar svg { flex:none; color:#555; }
.fy-backbar a:hover span { text-decoration:underline; text-underline-offset:3px; }
body .fy-backbar + * .coll-banner, body .fy-backbar ~ .shopify-section .coll-banner { padding-top:16px; }

/* =========================================================
   11. Boutons « Ajouter au panier » : fini les majuscules serrées -> « Ajouter au panier », 15 px, 600 (22/11)
   ========================================================= */
body .fy-card-add, body .fy-card-add span,
body .single_add_to_cart_button, body .buybox .btn, body .pdp__info button[type="submit"],
body .fy-mobile-buy button, body .fy-mobile-buy .btn, body .sticky-buy button {
  text-transform:none !important; letter-spacing:0 !important; font-family:"Inter","Helvetica Neue",Arial,sans-serif !important; font-weight:600 !important; }
body .fy-card-add span { font-size:15px !important; }
body .single_add_to_cart_button, body .buybox .btn, body .pdp__info button[type="submit"] { font-size:17px !important; }
body .pdp__info form .btn--primary, body .pdp__info [data-add-form] .btn { font-size:17px !important; text-transform:none !important; letter-spacing:0 !important; font-weight:600 !important; }
body .pdp__dot.fy-pdp-date { align-items:center; color:#111; }
body .pdp__dot.fy-pdp-date strong { white-space:nowrap; }

/* =========================================================
   12. Étoiles remplies au prorata de la note (22/11) — --fy-pct posé côté serveur (inc/backbar.php)
   ========================================================= */
body .fy-review-link .fy-stars { position:relative; display:inline-block; line-height:0; }
body .fy-review-link .fy-stars::before { color:#d9d9d9 !important; }
body .fy-review-link .fy-stars::after { content:"★★★★★"; position:absolute; left:0; top:0; width:var(--fy-pct, 100%); overflow:hidden; white-space:nowrap;
  font:400 25px/1 Arial, Helvetica, sans-serif; letter-spacing:-1px; color:#ffb13e; }
body .fy-review-link .fy-stars::before { line-height:1 !important; }
body .fy-review-link--card .fy-stars::after { font-size:17px; }
@media (max-width:599px) { body .fy-review-link--card .fy-stars::after { font-size:14px; } }
body .pdp__info .fy-review-link .fy-stars::after { font-size:17px !important; }
body .pdp__info .fy-review-link .fy-stars::before { line-height:1 !important; }
body .fy-product-reviews .fy-stars__base svg, body .fy-review-summary .fy-stars__base svg, body .fy-review .fy-stars__base svg, body .fy-reviews .fy-stars__base svg { fill:#d9d9d9 !important; background:transparent !important; }
