/* Retouches de design du 17/11/2026 (Lumi, validées par Thibault sur maquettes : « on les fait tous »).
   Chargée après identite-volaillerie.css. Retour arrière : supprimer ce fichier (kb-v1.php ne le charge que s'il existe). */

/* 1. Bouton « Ajouter » : c'est l'action principale, il passe en bordeaux plein ----------------------------- */
body.kb-v1 .vn .vn-ajouter { background: var(--accent, #AE1E2C) !important; border-color: var(--accent, #AE1E2C) !important; color: #fff !important; }
body.kb-v1 .vn .vn-ajouter:hover, body.kb-v1 .vn .vn-ajouter.added { background: #8C1722 !important; border-color: #8C1722 !important; color: #fff !important; }

/* Quantité : boutons − et + autour du nombre (posés par design-1711.js) */
.vn .kb-pas { display: inline-flex; align-items: stretch; border: 1px solid #D9BFC3; border-radius: 6px; overflow: hidden; background: #fff; }
.vn .kb-pas button { all: unset; box-sizing: border-box; cursor: pointer; width: 38px; text-align: center; font-size: 20px; line-height: 1; color: var(--encre, #1F1A1B); }
.vn .kb-pas button:focus-visible { outline: 2px solid var(--accent, #AE1E2C); outline-offset: -2px; }
body.kb-v1 .vn .kb-pas .vn-qte { width: 38px; border: 0 !important; border-radius: 0; padding: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.vn .kb-pas .vn-qte::-webkit-outer-spin-button, .vn .kb-pas .vn-qte::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* 2. Sur téléphone : familles repliables (menu des fêtes et rôtisserie) et lignes resserrées ----------------- */
@media (max-width: 760px) {
  .vn-pliable .vn-section > .vh-entete { cursor: pointer; display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 6px; }
  .vn-pliable .vn-section > .vh-entete h2 { flex: 1 1 auto; min-width: 0; width: auto; }
  .vn-pliable .vn-section > .vh-entete::after { content: "+"; flex: none; font-size: 28px; font-weight: 400; line-height: 1; color: var(--accent, #AE1E2C); }
  .vn-pliable .vn-section:not(.est-pliee) > .vh-entete::after { content: "−"; }
  .vn-pliable .vn-section.est-pliee > :not(.vh-entete) { display: none !important; }
  .vn-pliable .vn-section.est-pliee { padding-block: 0; margin-block: 0; }
  .vn-pliable .vn-section.est-pliee > .vh-entete { margin-block: 14px 0; }
  .vn-pliable .vn-section > .vh-entete h2 { margin: 0; }
  .vn-pliable .vn-section > .vh-entete:focus-visible { outline: 2px solid var(--accent, #AE1E2C); outline-offset: 4px; }
  .vn-lignes--liste .vn-ligne, .vn .vn-ligne { padding-block: 10px; row-gap: 8px; }
  .vn .vn-ligne__choix { gap: 8px; }
  body.kb-v1 .vn .vn-ajouter { flex: 1 1 64px; min-width: 0; padding-inline: 8px; text-align: center; }
  .vn .kb-pas button { width: 32px; }
  body.kb-v1 .vn .kb-pas .vn-qte { width: 32px; }
  .vn-menu.vn-pliable { gap: 6px !important; }
  .vn .vn-cuisson { flex: 0 1 auto; }
}

/* 3. Barre du bas sur téléphone : sous le panier, le total remplace le mot « Panier » dès qu'il y a un article */
.poco-handheld-footer-bar .footer-cart-contents .title.kb-total { font-weight: 700; white-space: nowrap; color: var(--accent, #AE1E2C); }

/* 4. Bandeau cookies : une bande en bas sur téléphone ------------------------------------------------------ */
@media (max-width: 760px) {
  #cmplz-cookiebanner-container .cmplz-cookiebanner { left: 0 !important; right: 0 !important; bottom: 0 !important; top: auto !important; transform: none !important; width: 100% !important; max-width: 100% !important; margin: 0 !important; border-radius: 12px 12px 0 0 !important; padding: 12px 16px 14px !important; row-gap: 8px !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-header { display: none !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-divider { display: none !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-message { font-size: 13px !important; line-height: 1.4 !important; margin: 0 !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; gap: 8px !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-accept,
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny { flex: 1 1 0 !important; min-width: 0 !important; height: 40px !important; margin: 0 !important; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-deny { order: -1; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-buttons .cmplz-btn.cmplz-view-preferences { flex: 1 1 100% !important; height: auto !important; padding: 2px 0 !important; margin: 0 !important; background: none !important; border: 0 !important; font-size: 12.5px !important; text-decoration: underline; }
  #cmplz-cookiebanner-container .cmplz-cookiebanner .cmplz-documents { font-size: 12px !important; }
}

/* 5. Panier vide : l'en-tête de la page offre déjà « Le menu des fêtes » et « La Rôtisserie » ; la grande icône et le
   bouton « Retour à la boutique » en dessous sont retirés. */
body.woocommerce-cart .cart-empty::before, body.woocommerce-cart .cart-empty:before { display: none !important; }
body.woocommerce-cart .return-to-shop { display: none !important; }

/* 6. Accueil : les titres de rubrique dans la police du menu des fêtes ------------------------------------- */
#accueil-noel .vn-tete h2, #accueil-noel .vn-bande h2, #accueil-noel .vn-rotisserie h2 { font-family: "Cinzel Rotisserie", "Cinzel", Georgia, serif; font-weight: 700; letter-spacing: .01em; }

/* 7. Accueil sur téléphone (18/11) : le texte d'ouverture en blanc, posé sur la photo assombrie en bas.
   Sur iPhone la photo dépassait de son cadre et passait sous le titre noir, illisible. La photo est maintenant tenue dans son cadre. */
@media (max-width: 900px) {
  #accueil-noel .vn-ouverture { overflow: hidden; }
  #accueil-noel .vn-ouverture__mosaique { display: block; position: relative; height: 480px; overflow: hidden; }
  #accueil-noel .vn-ouverture__mosaique img:nth-child(2) { position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
  #accueil-noel .vn-ouverture__panneau { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; max-width: none; border-radius: 0; box-shadow: none; padding: 96px 20px 24px; background: linear-gradient(to top, rgba(24, 14, 10, .9) 0%, rgba(24, 14, 10, .66) 55%, rgba(24, 14, 10, 0) 100%); }
  #accueil-noel .vn-ouverture__panneau h1 { color: #fff !important; }
  #accueil-noel .vn-ouverture__panneau p { color: #fff !important; margin: 10px 0 18px; }
}
