/* Identité de La Volaillerie des Halles sur tout le site, jusqu'en janvier 2027 (Lumi, 12/11/2026, décisions de
   Thibault) : le design préparé pour la Rôtisserie, « épuré », aux couleurs de la Volaillerie. Bordeaux du bandeau du
   stand #AE1E2C (prélevé sur photo) pour l'action, bordeaux profond #6E1F2A pour le pied de page, ni jaune ni gris :
   les neutres sont des teintes très claires de bordeaux, les textes restent noirs. En-tête blanc avec le logo de la
   Volaillerie (la poule sur sa pancarte). Remplace identite-rotisserie.css. Elle reste en janvier, quand le site devient
   La Rôtisserie : même logo, mêmes couleurs (Thibault, 12/11 au soir ; l'étiquette noir et or est abandonnée). Maquette validée : C « La vitrine »,
   livrables/clients/TYT/site-volaillerie/maquettes-noel-2026-11-12/. */

/* Cinzel (SIL OFL) figée en graisse 700, pour les grands titres seulement. */
@font-face { font-family: "Cinzel Rotisserie"; src: url("cinzel-rotisserie.woff") format("woff"); font-weight: 100 900; font-display: swap; }

body.kb-v1 {
  --marque: #AE1E2C;
  --marque-f: #6E1F2A;
  --accent: #AE1E2C;
  --accent-f: #8C1623;
  --accent-c: #8C1623;
  --gris-clair: #FAF1F2;
  --gris-trait: #EBDCDE;
  /* site.css */
  --jaune: var(--accent);
  --jaune-f: var(--accent-f);
  --bois: var(--marque);
  --bois-f: var(--marque-f);
  --encre: #1F1A1B;
  --gris: #3B2F31;
  --trait: var(--gris-trait);
  --titre: "Cinzel Rotisserie", Georgia, "Times New Roman", serif;
  /* Poco */
  --primary: var(--accent);
  --primary_hover: var(--accent-f);
  --secondary: var(--marque-f);
  /* Elementor (kit 6) */
  --e-global-color-primary: var(--accent);
  --e-global-color-secondary: var(--marque-f);
  --e-global-color-accent: var(--marque);
}
body.kb-v1 .vh {
  --jaune: var(--accent);
  --jaune-f: var(--accent-f);
  --rose: var(--marque);
  --bois: var(--marque);
  --bois-f: var(--marque-f);
  --encre: #1F1A1B;
  --gris: #3B2F31;
  --trait: var(--gris-trait);
  --titre: "Cinzel Rotisserie", Georgia, "Times New Roman", serif;
}

/* Titres */
body.kb-v1 .vh h1, body.kb-v1 .vh h2 { letter-spacing: .01em; line-height: 1.08; }
body.kb-v1 .vh-ouverture h1 { font-size: clamp(34px, 4.6vw, 56px); }
body.kb-v1 .vh-entete h2, body.kb-v1 .vh-retrait h2 { font-size: clamp(26px, 3.2vw, 36px); }
body.kb-v1 .poco-breadcrumb .breadcrumb-heading { font-size: clamp(28px, 3.4vw, 40px); }
body.kb-v1 .product_title { font-size: clamp(26px, 3vw, 36px); }

/* Ouvertures sombres des autres pages : bordeaux profond au lieu de l'anthracite */
body.kb-v1 .vh-ouverture { background: var(--marque-f); }
body.kb-v1 .vh-ouverture::before { background: linear-gradient(90deg, rgba(74,16,24,.88) 0%, rgba(74,16,24,.62) 42%, rgba(74,16,24,.06) 75%); }
@media (max-width: 600px) {
  body.kb-v1 .vh-ouverture::before { background: linear-gradient(0deg, rgba(74,16,24,.92) 0%, rgba(74,16,24,.6) 55%, rgba(74,16,24,.15) 100%); }
}

/* Boutons : bordeaux, texte blanc */
body.kb-v1 .vh-bouton, body.kb-v1 .button, body.kb-v1 .single_add_to_cart_button, body.kb-v1 #place_order, body.kb-v1 a.checkout-button { background: var(--accent) !important; color: #fff !important; border-color: var(--accent) !important; }
body.kb-v1 .vh-bouton:hover, body.kb-v1 .vh-noel:hover .vh-bouton, body.kb-v1 .button:hover, body.kb-v1 .single_add_to_cart_button:hover, body.kb-v1 #place_order:hover, body.kb-v1 a.checkout-button:hover { background: var(--accent-f) !important; border-color: var(--accent-f) !important; }
body.kb-v1 .vh-bouton--clair { background: #fff !important; color: var(--marque) !important; border-color: #fff !important; }
body.kb-v1 .vh-bouton:focus-visible { outline-color: var(--accent); }

/* Liens sur fond blanc : noir souligné de bordeaux */
body.kb-v1 .vh-entete a, body.kb-v1 .vi .vi-lien, body.kb-v1 .vi .vi-conditions a { color: var(--encre); text-decoration: none; border-bottom: 2px solid var(--accent); }
body.kb-v1 .vh-entete a:hover, body.kb-v1 .vi .vi-lien:hover { color: var(--accent); }

/* Encarts clairs : teinte de bordeaux très claire */
body.kb-v1 .kb-panier-info { background: var(--gris-clair); border-color: var(--gris-trait); color: var(--encre); }
body.kb-v1 .kb-panier-info__retirer { color: var(--marque); }
body.kb-v1 .woocommerce-info, body.kb-v1 .woocommerce-message { background: var(--gris-clair) !important; }
body.kb-v1 .woocommerce-info::before, body.kb-v1 .woocommerce-message::before,
body.kb-v1 .woocommerce-info a, body.kb-v1 .woocommerce-message a { color: var(--marque) !important; }

/* En-tête : blanc, logo de la Volaillerie (uploads/2022/06/logo-bv-top.svg remplacé par la poule sur sa pancarte),
   menu en noir, page en cours soulignée de bordeaux, téléphone en noir */
body.kb-v1 .elementor-location-header .elementor-section.elementor-top-section { background-color: #fff !important; border-bottom: 1px solid var(--gris-trait); }
body.kb-v1 .elementor-location-header .main-navigation a,
body.kb-v1 .elementor-location-header nav a { color: var(--encre) !important; }
body.kb-v1 .elementor-location-header .current-menu-item > a { color: var(--encre) !important; box-shadow: inset 0 -3px 0 var(--accent); }
body.kb-v1 .elementor-location-header nav a:hover { color: var(--accent) !important; }
body.kb-v1 .elementor-location-header .elementor-icon-box-title,
body.kb-v1 .elementor-location-header .elementor-icon-box-title a { color: var(--gris) !important; }
body.kb-v1 .elementor-location-header .elementor-icon-box-description,
body.kb-v1 .elementor-location-header .elementor-icon-box-description a { color: var(--encre) !important; }
body.kb-v1 .elementor-location-header .elementor-icon i,
body.kb-v1 .elementor-location-header .elementor-icon svg { color: var(--accent) !important; fill: var(--accent) !important; }
body.kb-v1 .elementor-location-header .site-header-account a,
body.kb-v1 .elementor-location-header .site-header-cart a,
body.kb-v1 .elementor-location-header .site-header-search a,
body.kb-v1 .elementor-location-header .button-search-popup,
body.kb-v1 .elementor-location-header .cart-contents,
body.kb-v1 .elementor-location-header .menu-mobile-nav-button { color: var(--encre) !important; }
body.kb-v1 .elementor-location-header .count { background: var(--accent) !important; color: #fff !important; }
body.kb-v1 .elementor-location-header .elementor-icon-box-icon .elementor-icon { color: var(--accent) !important; border-color: var(--accent) !important; }
body.kb-v1 .elementor-location-header .header-group-action i { color: var(--encre) !important; }
body.kb-v1 .elementor-location-header .elementor-icon-box-icon svg path { fill: var(--accent) !important; }
/* Le logo de la Volaillerie est presque carré : on le règle en hauteur (agrandi le 13/11/2026 à la demande de Thibault : 64 → 96 px, 52 → 64 px) */
body.kb-v1 .elementor-location-header img.logo-light,
body.kb-v1 .elementor-location-header img.logo-dark { width: auto !important; max-width: none !important; height: 96px !important; }
@media (max-width: 1024px) {
  body.kb-v1 .elementor-location-header img.logo-light,
  body.kb-v1 .elementor-location-header img.logo-dark { height: 64px !important; }
}
@media (min-width: 1025px) {
  body.kb-v1 .elementor-location-header .primary-navigation ul.menu > li > a { padding-left: 14px !important; padding-right: 14px !important; font-size: 15px !important; }
}
/* Pages qui s'ouvrent sur une bande sombre : collées à l'en-tête */
body.kb-v1.page-template-template-accueil-noel #content.site-content,
body.kb-v1.page-template-template-accueil-rotisserie #content.site-content,
body.kb-v1.page-template-template-volaillerie #content.site-content,
body.kb-v1.page-template-template-infos #content.site-content,
body.kb-v1.page-template-template-noel #content.site-content,
body.kb-v1.page-template-template-rotisserie #content.site-content { margin-top: 0; }

/* Bandeau d'annonce des fêtes, au-dessus de l'en-tête (functions/kb-v1.php) */
.kb-annonce { background: var(--accent); color: #fff; font-size: 14px; line-height: 1.45; }
.kb-annonce__in { max-width: 1290px; margin: 0 auto; padding: 9px 24px; display: flex; gap: 16px; justify-content: space-between; align-items: center; }
.kb-annonce p { margin: 0; color: #fff; }
.kb-annonce a { color: #fff !important; font-weight: 700; text-decoration: underline; text-decoration-color: rgba(255,255,255,.7); text-decoration-thickness: 2px; text-underline-offset: 4px; white-space: nowrap; }
@media (max-width: 760px) { .kb-annonce { font-size: 13px; } .kb-annonce__in { flex-direction: column; align-items: flex-start; gap: 4px; padding: 8px 16px; } }

/* Pied de page : bordeaux profond */
body.kb-v1 .elementor-location-footer { background-image: none !important; background-color: var(--marque-f) !important; }
body.kb-v1 .elementor-location-footer .elementor-section,
body.kb-v1 .elementor-location-footer .elementor-background-overlay { background-image: none !important; }
body.kb-v1 .elementor-location-footer .elementor-background-overlay { opacity: 0 !important; }
body.kb-v1 .elementor-location-footer .elementor-icon-box-description,
body.kb-v1 .elementor-location-footer .elementor-icon-box-description a { color: #fff !important; }
body.kb-v1 .elementor-location-footer .elementor-button { background: #fff !important; color: var(--marque) !important; }
/* Téléphone (titre Elementor) et liens du pied de page : en blanc sur le bordeaux */
body.kb-v1 .elementor-location-footer .elementor-heading-title,
body.kb-v1 .elementor-location-footer .elementor-heading-title a,
body.kb-v1 .elementor-location-footer a { color: #fff !important; }
body.kb-v1 .elementor-location-footer .elementor-social-icon { background: transparent !important; }
body.kb-v1 .elementor-location-footer .elementor-social-icon i, body.kb-v1 .elementor-location-footer .elementor-social-icon svg { color: #fff !important; fill: #fff !important; }
/* Logo du pied de page (uploads/2020/09/logo-barbak-volailles-footer.svg remplacé par celui de la Volaillerie) : sur une plaque blanche */
body.kb-v1 img[src*="logo-barbak-volailles-footer"] { background: #fff; border-radius: 8px; padding: 10px; width: 150px !important; height: auto !important; }

/* Bandeau de consentement aux cookies */
body.kb-v1 .cmplz-cookiebanner .cmplz-btn.cmplz-accept { background: var(--marque) !important; border-color: var(--marque) !important; color: #fff !important; }
body.kb-v1 .cmplz-cookiebanner .cmplz-link { color: var(--marque) !important; }

/* Menu des fêtes (template-noel.php) : ouverture sans photo (photo du stand retirée le 12/11), vignettes des produits,
   bouton « Ajouter » bordeaux au survol */
body.kb-v1 .vn-ouverture--sans-photo { min-height: 0; }
body.kb-v1 .vn-ouverture--sans-photo::before { display: none; }
body.kb-v1 .vn-ouverture--sans-photo .vh-ouverture__texte { padding-top: 64px; padding-bottom: 64px; }
/* Ouverture avec la photo d'ambiance à côté du texte (12/11 au soir) : texte sur le bordeaux à gauche, photo à droite */
body.kb-v1 .vn-ouverture--photo-cote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; min-height: 480px; background: var(--marque-f); }
body.kb-v1 .vn-ouverture--photo-cote::before { display: none; }
body.kb-v1 .vn-ouverture--photo-cote .vh-ouverture__texte { width: auto; margin: 0; justify-content: center; padding: 56px 48px 56px max(24px, calc((100vw - 1200px) / 2 + 24px)); }
body.kb-v1 .vn-ouverture--photo-cote .vh-bouton { background: #fff !important; color: var(--marque) !important; border-color: #fff !important; }
body.kb-v1 .vn-ouverture--photo-cote .vh-bouton:hover { background: #F6E3E5 !important; border-color: #F6E3E5 !important; }
.vn-ouverture__cote { order: 2; display: block; width: 100%; height: 100%; min-height: 480px; object-fit: cover; object-position: 50% 40%; }
@media (max-width: 900px) {
  body.kb-v1 .vn-ouverture--photo-cote { grid-template-columns: 1fr; min-height: 0; }
  .vn-ouverture__cote { order: -1; height: 280px; min-height: 0; }
  body.kb-v1 .vn-ouverture--photo-cote .vh-ouverture__texte { padding: 32px 16px 36px; }
}
img.vn-ligne__vignette { object-fit: cover; }
.vn-ligne__vignette, .vn-ligne__vignette--vide { background: var(--gris-clair, #FAF1F2) !important; }
body.kb-v1 .vn .vn-ajouter { border-color: var(--gris-trait) !important; border-bottom-color: #D9BFC3 !important; background: #fff !important; color: var(--encre) !important; }
body.kb-v1 .vn .vn-ajouter:hover, body.kb-v1 .vn .vn-ajouter.added { background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important; }
body.kb-v1 .vn .vn-champ select, body.kb-v1 .vn .vn-champ input { border-color: #D9BFC3; }
/* Sur les bandes bordeaux, titres et surtitres en blanc ; sur fond blanc, rubriques et prix en noir (pas de texte en couleur) */
body.kb-v1 .vh-retrait h2, body.kb-v1 .vh-ouverture .vh-surtitre, body.kb-v1 .vh-retrait .vh-etapes li::marker { color: #fff !important; }
body.kb-v1 .vn .vn-rubrique, body.kb-v1 .vn-ligne__prix, body.kb-v1 .vn-ligne .added_to_cart { color: var(--encre) !important; }

/* Page La Volaillerie (template-volaillerie.php), gardée hors du menu : son logo sur une plaque blanche */
.vv .vv-plaque { display: inline-block; background: #fff; border-radius: 8px; padding: 10px 14px; }
.vv .vv-plaque img { display: block; width: min(320px, 100%); height: auto; }

/* 17/11/2026 (Thibault : « bug sur le panier en haut à droite ») : l'icône du panier est le ::before du lien (thème Poco),
   restée bleu marine et à 16 px, quand la recherche et le compte sont des <i> noirs de 18-20 px ; la pastille la couvrait.
   Même taille et même noir que les deux autres icônes, pastille posée sur le bord du cercle. */
body.kb-v1 .elementor-location-header .cart-contents::before { color: var(--encre) !important; font-size: 20px !important; }
body.kb-v1 .elementor-location-header .cart-contents .count {
  top: -7px !important; right: -9px !important; left: auto !important;
  min-width: 10px; height: 17px; padding: 0 4px; border-radius: 9px;
  font-size: 10px !important; font-weight: 700; line-height: 17px !important; text-align: center;
  border: 2px solid #fff; box-sizing: content-box;
}
/* Même pastille dans la barre du bas sur téléphone : chiffre en blanc (il était noir sur le rouge) et décalée hors de l'anse. */
body.kb-v1 .footer-cart-contents .count {
  top: 2px !important; left: calc(50% + 9px) !important; right: auto !important;
  min-width: 10px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--accent) !important; color: #fff !important;
  font-size: 10px !important; font-weight: 700; line-height: 17px !important; text-align: center;
  border: 2px solid #fff; box-sizing: content-box;
}
/* 17/11/2026 (capture de Thibault, panier de 18 articles) : avec un produit pesé, le sous-total reçoit « environ » (kb-v1.php,
   kb_v1_prefixe_environ) ; le thème cache le montant dans l'icône du panier mais pas ce mot, qui s'affichait (« enviro / n »)
   et poussait la pastille contre le bandeau des fêtes. Masqué dans les icônes seulement : il reste au panier et à la commande. */
body.kb-v1 .cart-contents .kb-environ,
body.kb-v1 .footer-cart-contents .kb-environ { display: none !important; }
