/* Habillage commun du site V2 (Lumi, 20/10/2026), chargé sur toutes les pages par functions/kb-v1.php.
   Reprend les couleurs, la police des titres et les boutons de l'accueil V1 (accueil.css) sur les pages du thème Poco :
   titre de page, fiches produit, panier, commande, compte. Aucune page du thème n'est modifiée, seulement restylée. */

@font-face { font-family: "Lilita One"; src: url("lilita-one.woff2") format("woff2"); font-display: swap; }

body.kb-v1 {
  --jaune: #F6C81C;
  --jaune-f: #E6A80E;
  --bois: #8C5A32;
  --bois-f: #5E3A1E;
  --encre: #231F1C;
  --gris: #625A54;
  --trait: #E7E1DA;
  --titre: "Lilita One", "Arial Black", Impact, sans-serif;
}

/* Titre de page : à gauche, sur fond blanc, comme les titres de section de l'accueil (fini le bandeau beige centré) */
body.kb-v1 #content.site-content { margin-top: 16px; }
body.kb-v1 .poco-breadcrumb { background: #fff; padding: 24px 0 8px; text-align: left; justify-content: flex-start; }
/* Le bandeau du thème est en flex centré : le conteneur reprend toute la largeur pour que le titre parte à gauche */
body.kb-v1 .poco-breadcrumb .col-full { width: 100%; display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
body.kb-v1 .poco-breadcrumb .breadcrumb-heading {
  margin: 0;
  font-family: var(--titre); font-weight: 400; letter-spacing: .01em;
  font-size: clamp(32px, 4vw, 46px); line-height: 1.05;
  color: var(--encre); text-align: left;
}
body.kb-v1 .poco-breadcrumb .woocommerce-breadcrumb { font-size: 13px; color: var(--gris); }
body.kb-v1 .poco-breadcrumb .woocommerce-breadcrumb a { color: var(--bois); }

/* Titres dans les pages */
body.kb-v1 .cart_totals h2,
body.kb-v1 #customer_details h3,
body.kb-v1 #order_review_heading,
body.kb-v1 .woocommerce-account h2,
body.kb-v1 section.related > h2,
body.kb-v1 .woocommerce-order h2 {
  font-family: var(--titre); font-weight: 400; letter-spacing: .01em; text-transform: none;
  font-size: 26px; line-height: 1.15; color: var(--encre);
}
body.kb-v1 section.related > h2 { text-align: left; }
body.kb-v1 .product_title { font-family: var(--titre); font-weight: 400; letter-spacing: .01em; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.05; color: var(--encre); }
body.kb-v1 .summary .price,
body.kb-v1 .summary .price .amount,
body.kb-v1 .poco-sticky-add-to-cart .amount { color: var(--encre) !important; font-weight: 800; }

/* Boutons du thème et de WooCommerce : ceux de l'accueil (jaune, coins à 6 px, pas de majuscules) */
body.kb-v1 .button,
body.kb-v1 button.button,
body.kb-v1 a.button,
body.kb-v1 input.button,
body.kb-v1 .single_add_to_cart_button,
body.kb-v1 #place_order,
body.kb-v1 a.checkout-button,
body.kb-v1 .woocommerce-form-login__submit {
  background: var(--jaune) !important;
  color: var(--encre) !important;
  border: 0 !important;
  border-bottom: 3px solid var(--jaune-f) !important;
  border-radius: 6px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 800 !important;
  font-size: 16px !important;
}
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: #ffd83a !important; }
body.kb-v1 .woocommerce-cart-form .button[name="update_cart"],
body.kb-v1 .coupon .button { background: #fff !important; border: 1px solid #cfc7be !important; border-bottom: 2px solid #b8aea3 !important; }

/* Avis WooCommerce (« Déjà client ? », « Code promo », ajouts au panier) : encart clair au lieu des barres rouges */
body.kb-v1 .woocommerce-info,
body.kb-v1 .woocommerce-message {
  background: #f7f3ee !important;
  color: var(--encre) !important;
  border: 1px solid var(--trait) !important;
  border-radius: 8px;
  font-size: 15px;
  padding: 12px 18px !important;
}
body.kb-v1 .woocommerce-info::before, body.kb-v1 .woocommerce-message::before { color: var(--bois) !important; }
body.kb-v1 .woocommerce-info a, body.kb-v1 .woocommerce-message a { color: var(--bois) !important; font-weight: 700; }
body.kb-v1 .woocommerce-error { border-radius: 8px; }

/* Message sur le contenu du panier et son jour de retrait (functions/kb-v1.php) */
.kb-panier-info {
  margin: 0 0 20px;
  padding: 14px 18px;
  background: #fff8db;
  border: 1px solid #efd77a;
  border-radius: 8px;
  color: #231F1C;
  font-size: 15px;
  line-height: 1.5;
}
.kb-panier-info p { margin: 0; }
.kb-panier-info ul { margin: 8px 0 0; padding-left: 1.2em; }
.kb-panier-info li { margin: 2px 0; }
.kb-panier-info__retirer { margin-left: 6px; color: #8C5A32; font-weight: 700; text-decoration: underline; white-space: nowrap; }
.kb-retrait .kb-panier-info { margin: 4px 0 16px; }

/* Cartes produits (produits similaires, recherche) */
body.kb-v1 ul.products li.product .product-block { border-radius: 8px; }
body.kb-v1 ul.products li.product .woocommerce-loop-product__title a,
body.kb-v1 ul.products li.product h2 a,
body.kb-v1 ul.products li.product h3 a { color: var(--encre); }
body.kb-v1 ul.products li.product .price { color: var(--encre); font-weight: 800; }

/* Fiche produit : onglets plus sobres */
body.kb-v1 .woocommerce-tabs ul.tabs li a { text-transform: none; letter-spacing: 0; }

/* Le thème coupe les mots n'importe où dans les tableaux (« aujourd'hu / i ») : coupure aux espaces */
body.kb-v1 table.shop_table th,
body.kb-v1 table.shop_table td,
body.kb-v1 .cart_totals th,
body.kb-v1 .cart_totals td { word-break: normal; overflow-wrap: break-word; hyphens: manual; }

/* Bloc « Votre retrait » de la page Commande : titre dans la police du site, comme les autres */
body.kb-v1 .kb-retrait h3.selection-title { font-family: var(--titre); font-weight: 400; letter-spacing: .01em; font-size: 26px; color: var(--encre); }

/* Panier : en-têtes du tableau sans majuscules espacées */
body.kb-v1 table.shop_table th { text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--gris); }
body.kb-v1 .cart_totals .order-total .amount,
body.kb-v1 .woocommerce-checkout-review-order-table .order-total .amount { color: var(--encre); }

/* Pages Infos pratiques (template-infos.php) */
body.page-template-template-infos { overflow-x: hidden; }
body.page-template-template-infos .poco-breadcrumb { display: none; }
body.page-template-template-infos #content.site-content { padding-top: 0; }
.vi .vi-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.vi .vi-liste h3 { font-family: var(--titre); font-weight: 400; font-size: 24px; margin: 0 0 8px; color: var(--bois); }
.vi .vi-liste p { font-size: 16px; line-height: 1.55; color: var(--encre); margin: 0 0 10px; }
.vi .vi-lien { font-weight: 700; color: var(--bois); text-decoration: underline; }
.vi .vi-photo { aspect-ratio: 1400 / 715; }
.vi .vi-lieu { grid-template-columns: 1fr; }
.vi .vi-conditions { margin-top: 8px; font-size: 14px; color: var(--gris); }
.vi .vi-conditions a { color: var(--bois); text-decoration: underline; }
@media (max-width: 900px) { .vi .vi-liste { grid-template-columns: 1fr; gap: 22px; } }
