/*
Theme Name: Les Grands Vins
Theme URI: https://lesgrandsvins.com
Author: Evidence
Author URI: https://evidencegroup.net
Description: Thème sur mesure pour Les Grands Vins — Site e-commerce WordPress/WooCommerce
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.1
License: Proprietary
Text Domain: grands-vins
*/

.wc-block-components-shipping-rates-control .flexible-shipping-method-description-block {
    display: none !important;
}

#radio-control-wc-payment-method-options-stripe__label
{
padding-left: 25px;
padding-top: 6px;
}

.wc-block-components-totals-shipping .wc-block-components-totals-shipping__via
{
font-size: 16px;
}

.wc-block-components-totals-coupon .wc-block-components-panel__button
{
font-size: 16px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__login-prompt
{
background-color: var(--color-primary);
color: #fff;
font-size: 16px;
text-decoration: none;
padding: 3px 20px;
}

.wp-block-woocommerce-checkout .wc-block-checkout__login-prompt:hover
{
color: #fff;
opacity: 0.7;
}

/*ACTUS V2*/

/* =========================================================
   Tableau GEO responsive : .tableau-geo
   Les Grands Vins, Châtenois
   À coller dans Apparence > Personnaliser > CSS additionnel
   Réutilisable sur tous les tableaux du site : <table class="tableau-geo">
   Chaque <td> porte un data-label reprenant l'en-tête de sa colonne.
   ========================================================= */
:root{
  --tgeo-bleu:#b60c0d;        /* couleur principale : rouge Les Grands Vins (relevé sur le site) */
  --tgeo-bleu-fonce:#7a0809;  /* rouge foncé */
  --tgeo-mirabelle:#2b2324;   /* accent sobre, à remplacer si la charte du client en prévoit un */
  --tgeo-fond:#ffffff;
  --tgeo-fond-alt:#faf6f5;
  --tgeo-bord:#e8dedc;
  --tgeo-texte:#2b2324;
  --tgeo-texte-doux:#6b5f5e;
}
.tableau-geo{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:1.75em 0 2.25em;
  font-size:1rem;
  line-height:1.5;
  color:var(--tgeo-texte);
  background:var(--tgeo-fond);
  border:1px solid var(--tgeo-bord);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(43,35,36,.08);
}
.tableau-geo th,
.tableau-geo td{
  padding:.95em 1.15em;
  text-align:left;
  vertical-align:top;
}
.tableau-geo thead th{
  background:var(--tgeo-bleu);
  color:#fff;
  font-weight:600;
  font-size:.8rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-bottom:3px solid var(--tgeo-mirabelle);
}
.tableau-geo tbody td{
  border-bottom:1px solid var(--tgeo-bord);
}
.tableau-geo tbody tr:last-child td{ border-bottom:0; }
.tableau-geo tbody tr:nth-child(even) td{ background:var(--tgeo-fond-alt); }
.tableau-geo tbody tr:hover td{ background:#f6ecea; }
/* Première colonne : le libellé de la ligne */
.tableau-geo tbody td:first-child{
  font-weight:700;
  color:var(--tgeo-bleu-fonce);
  white-space:nowrap;
}
/* Dernière colonne : information secondaire */
.tableau-geo tbody td:last-child{
  color:var(--tgeo-texte-doux);
  font-size:.95em;
}
/* ---------- Mobile et petites tablettes : colonnes empilées ---------- */
@media (max-width:767px){
  .tableau-geo{
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
  }
  /* En-têtes masqués visuellement mais conservés pour l'accessibilité et les moteurs */
  .tableau-geo thead{
    position:absolute;
    width:1px;height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
  }
  .tableau-geo,
  .tableau-geo tbody,
  .tableau-geo tr,
  .tableau-geo td{
    display:block;
    width:100%;
    box-sizing:border-box;
  }
  /* Chaque ligne devient une carte */
  .tableau-geo tbody tr{
    background:var(--tgeo-fond);
    border:1px solid var(--tgeo-bord);
    border-left:5px solid var(--tgeo-bleu);
    border-radius:10px;
    margin-bottom:1em;
    padding:.35em 0 .6em;
    box-shadow:0 4px 14px rgba(43,35,36,.07);
  }
  .tableau-geo tbody tr:nth-child(even) td,
  .tableau-geo tbody tr:hover td{ background:transparent; }
  .tableau-geo tbody td{
    border:0;
    padding:.5em 1.1em;
    white-space:normal;
  }
  /* Libellé de colonne injecté depuis data-label */
  .tableau-geo tbody td::before{
    content:attr(data-label);
    display:block;
    margin-bottom:.15em;
    font-size:.72rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--tgeo-bleu);
  }
  /* Le libellé de ligne sert de titre de carte : pas de libellé au-dessus */
  .tableau-geo tbody td:first-child{
    font-size:1.1em;
    padding-top:.7em;
    padding-bottom:.25em;
    border-bottom:1px dashed var(--tgeo-bord);
    margin-bottom:.25em;
  }
  .tableau-geo tbody td:first-child::before{ display:none; }
  .tableau-geo tbody td:last-child{
    font-size:1em;
    color:var(--tgeo-texte);
  }
}
/* Très petits écrans */
@media (max-width:380px){
  .tableau-geo{ font-size:.95rem; }
  .tableau-geo tbody td{ padding:.45em .9em; }
}
/* Impression : version tabulaire classique */
@media print{
  .tableau-geo{ box-shadow:none; border-radius:0; }
  .tableau-geo thead th{ background:#eee !important; color:#000; }
}

/* ---------- Blocs éditoriaux SEO & GEO ---------- */
/* Ligne auteur et dates sous le H1 */
.article-meta{
  margin:-.4em 0 1.4em;
  font-size:.9em;
  color:var(--tgeo-texte-doux);
}
.bloc-essentiel,
.bloc-conseil,
.bloc-avis,
.bloc-cta{
  margin:1.75em 0;
  padding:1.2em 1.4em;
  border-radius:12px;
  background:var(--tgeo-fond-alt);
  border:1px solid var(--tgeo-bord);
  color:var(--tgeo-texte);
  line-height:1.55;
}
/* L'essentiel : encadré TL;DR, passage citable prioritaire (intitulé en H2 ou en strong) */
.bloc-essentiel{ border-left:5px solid var(--tgeo-bleu); }
.bloc-essentiel > h2,
.bloc-essentiel > p:first-child{
  margin:0 0 .6em;
  font-size:.8rem;
  line-height:1.4;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--tgeo-bleu);
}
.bloc-essentiel ul{ margin:0; padding-left:1.2em; }
.bloc-essentiel li{ margin-bottom:.45em; }
.bloc-essentiel li:last-child{ margin-bottom:0; }
/* Conseil terrain EEAT : signé, extractible seul */
.bloc-conseil{
  background:var(--tgeo-fond);
  border-left:5px solid var(--tgeo-bleu-fonce);
}
.bloc-conseil .bloc-titre{
  margin:0 0 .5em;
  font-weight:700;
  color:var(--tgeo-bleu-fonce);
}
.bloc-conseil .bloc-titre::before{
  content:"Conseil d'expert";
  display:block;
  font-size:.72rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--tgeo-bleu);
  margin-bottom:.2em;
}
.bloc-conseil p:last-child{ margin-bottom:0; }
/* Avis client : citation, auteur, lien vers Google */
.bloc-avis{
  background:var(--tgeo-fond);
  border-left:5px solid var(--tgeo-bleu);
}
.bloc-avis blockquote{
  margin:0 0 .6em;
  padding:0;
  border:0;
  font-style:italic;
  font-size:1.05em;
}
.bloc-avis blockquote p{ margin:0; }
.bloc-avis .bloc-auteur{
  margin:0;
  font-size:.95em;
  font-weight:600;
  color:var(--tgeo-texte-doux);
}
.bloc-avis .bloc-auteur a{
  color:var(--tgeo-bleu);
  text-decoration:underline;
}
/* FAQ : questions en H3, verdict en strong */
.bloc-faq h3{
  margin:1.3em 0 .35em;
  font-size:1.1em;
  color:var(--tgeo-bleu-fonce);
}
.bloc-faq h3 + p{ margin-top:0; }
/* Conclusion + CTA */
.bloc-cta{
  text-align:center;
  background:var(--tgeo-bleu);
  border-color:var(--tgeo-bleu);
  color:#fff;
}
.bloc-cta a.bouton{
  display:inline-block;
  margin-top:.6em;
  padding:.75em 1.6em;
  border-radius:999px;
  background:#fff;
  color:var(--tgeo-bleu);
  font-weight:700;
  text-decoration:none;
}
.bloc-cta a.bouton:hover{ background:var(--tgeo-fond-alt); }
/* Signature d'entité : rattachement de l'article à l'entreprise */
.bloc-signature,
.signature-entite{
  margin:1.5em 0 0;
  padding:1em 1.4em;
  border-top:3px solid var(--tgeo-bleu);
  font-size:.95em;
  line-height:1.6;
  color:var(--tgeo-texte-doux);
}
.bloc-signature p,
.signature-entite p{ margin:0; }
.bloc-signature strong,
.signature-entite strong{ color:var(--tgeo-bleu-fonce); }
.bloc-signature a,
.signature-entite a{ color:var(--tgeo-bleu); text-decoration:none; }
.bloc-signature a:hover,
.signature-entite a:hover{ text-decoration:underline; }
@media (max-width:767px){
  .bloc-essentiel,
  .bloc-conseil,
  .bloc-avis,
  .bloc-cta{ padding:1em 1.1em; border-radius:10px; }
  .bloc-signature,
  .signature-entite{ padding:.9em 1.1em; }
}
@media print{
  .bloc-essentiel,
  .bloc-conseil,
  .bloc-avis,
  .bloc-cta,
  .bloc-signature,
  .signature-entite{ box-shadow:none; background:#fff !important; color:#000 !important; border-color:#999; }
}

/* =========================================================
   Tableau GEO responsive : .tableau-geo
   Les Grands Vins, Châtenois
   À coller dans Apparence > Personnaliser > CSS additionnel
   Réutilisable sur tous les tableaux du site : <table class="tableau-geo">
   Chaque <td> porte un data-label reprenant l'en-tête de sa colonne.
   Tailles en rem calées sur le thème du site (racine à 10 px : 1.8rem = 18 px).
   ========================================================= */
:root{
  --tgeo-bleu:#b60c0d;        /* couleur principale : rouge Les Grands Vins (relevé sur le site) */
  --tgeo-bleu-fonce:#7a0809;  /* rouge foncé */
  --tgeo-mirabelle:#2b2324;   /* accent sobre, à remplacer si la charte du client en prévoit un */
  --tgeo-fond:#ffffff;
  --tgeo-fond-alt:#faf6f5;
  --tgeo-bord:#e8dedc;
  --tgeo-texte:#2b2324;
  --tgeo-texte-doux:#6b5f5e;
}
.tableau-geo{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  margin:1.75em 0 2.25em;
  max-width:900px;
  font-size:1.8rem;
  line-height:1.5;
  font-variant-numeric:lining-nums tabular-nums;
  color:var(--tgeo-texte);
  background:var(--tgeo-fond);
  border:1px solid var(--tgeo-bord);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(43,35,36,.08);
}
.tableau-geo th,
.tableau-geo td{
  padding:.95em 1.15em;
  text-align:left;
  vertical-align:top;
}
.tableau-geo thead th{
  background:var(--tgeo-bleu);
  color:#fff;
  font-weight:600;
  font-size:1.4rem;
  letter-spacing:.06em;
  text-transform:uppercase;
  border-bottom:3px solid var(--tgeo-mirabelle);
}
.tableau-geo tbody td{
  border-bottom:1px solid var(--tgeo-bord);
}
.tableau-geo tbody tr:last-child td{ border-bottom:0; }
.tableau-geo tbody tr:nth-child(even) td{ background:var(--tgeo-fond-alt); }
.tableau-geo tbody tr:hover td{ background:#f6ecea; }
/* Première colonne : le libellé de la ligne */
.tableau-geo tbody td:first-child{
  font-weight:700;
  color:var(--tgeo-bleu-fonce);
  white-space:nowrap;
}
/* Dernière colonne : information secondaire */
.tableau-geo tbody td:last-child{
  color:var(--tgeo-texte-doux);
  font-size:.95em;
}
/* ---------- Mobile et petites tablettes : colonnes empilées ---------- */
@media (max-width:767px){
  .tableau-geo{
    background:transparent;
    border:0;
    border-radius:0;
    box-shadow:none;
    overflow:visible;
  }
  /* En-têtes masqués visuellement mais conservés pour l'accessibilité et les moteurs */
  .tableau-geo thead{
    position:absolute;
    width:1px;height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
    clip-path:inset(50%);
    white-space:nowrap;
  }
  .tableau-geo,
  .tableau-geo tbody,
  .tableau-geo tr,
  .tableau-geo td{
    display:block;
    width:100%;
    box-sizing:border-box;
  }
  /* Chaque ligne devient une carte */
  .tableau-geo tbody tr{
    background:var(--tgeo-fond);
    border:1px solid var(--tgeo-bord);
    border-left:5px solid var(--tgeo-bleu);
    border-radius:10px;
    margin-bottom:1em;
    padding:.35em 0 .6em;
    box-shadow:0 4px 14px rgba(43,35,36,.07);
  }
  .tableau-geo tbody tr:nth-child(even) td,
  .tableau-geo tbody tr:hover td{ background:transparent; }
  .tableau-geo tbody td{
    border:0;
    padding:.5em 1.1em;
    white-space:normal;
  }
  /* Libellé de colonne injecté depuis data-label */
  .tableau-geo tbody td::before{
    content:attr(data-label);
    display:block;
    margin-bottom:.15em;
    font-size:1.3rem;
    font-weight:600;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--tgeo-bleu);
  }
  /* Le libellé de ligne sert de titre de carte : pas de libellé au-dessus */
  .tableau-geo tbody td:first-child{
    font-size:1.1em;
    padding-top:.7em;
    padding-bottom:.25em;
    border-bottom:1px dashed var(--tgeo-bord);
    margin-bottom:.25em;
  }
  .tableau-geo tbody td:first-child::before{ display:none; }
  .tableau-geo tbody td:last-child{
    font-size:1em;
    color:var(--tgeo-texte);
  }
}
/* Variante grille tarifaire : <table class="tableau-geo tableau-tarifs"> */
.tableau-geo.tableau-tarifs th:not(:first-child),
.tableau-geo.tableau-tarifs td:not(:first-child){ text-align:center; }
.tableau-geo.tableau-tarifs tbody td:last-child{ color:var(--tgeo-texte); font-size:1em; }
@media (max-width:767px){
  .tableau-geo.tableau-tarifs td:not(:first-child){ text-align:left; }
}

/* Très petits écrans */
@media (max-width:380px){
  .tableau-geo{ font-size:1.7rem; }
  .tableau-geo tbody td{ padding:.45em .9em; }
}
/* Impression : version tabulaire classique */
@media print{
  .tableau-geo{ box-shadow:none; border-radius:0; }
  .tableau-geo thead th{ background:#eee !important; color:#000; }
}

/* ---------- Blocs éditoriaux SEO & GEO ---------- */
/* Ligne auteur et dates sous le H1 */
.article-meta{
  margin:-.4em 0 1.4em;
  font-size:.9em;
  color:var(--tgeo-texte-doux);
}
.bloc-essentiel,
.bloc-conseil,
.bloc-avis,
.bloc-cta{
  margin:1.75em 0;
  padding:1.2em 1.4em;
  border-radius:12px;
  background:var(--tgeo-fond-alt);
  border:1px solid var(--tgeo-bord);
  color:var(--tgeo-texte);
  line-height:1.55;
}
/* L'essentiel : encadré TL;DR, passage citable prioritaire (intitulé en H2 ou en strong) */
.bloc-essentiel{ border-left:5px solid var(--tgeo-bleu); }
.bloc-essentiel > h2,
.bloc-essentiel > p:first-child{
  margin:0 0 .6em;
  font-size:1.4rem;
  line-height:1.4;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--tgeo-bleu);
}
.bloc-essentiel ul{ margin:0; padding-left:1.2em; }
.bloc-essentiel li{ margin-bottom:.45em; }
.bloc-essentiel li:last-child{ margin-bottom:0; }
/* Conseil terrain EEAT : signé, extractible seul */
.bloc-conseil{
  background:var(--tgeo-fond);
  border-left:5px solid var(--tgeo-bleu-fonce);
}
.bloc-conseil .bloc-titre{
  margin:0 0 .5em;
  font-weight:700;
  color:var(--tgeo-bleu-fonce);
}
.bloc-conseil .bloc-titre::before{
  content:"Conseil d'expert";
  display:block;
  font-size:1.3rem;
  font-weight:600;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--tgeo-bleu);
  margin-bottom:.2em;
}
.bloc-conseil p:last-child{ margin-bottom:0; }
/* Avis client : citation, auteur, lien vers Google */
.bloc-avis{
  background:var(--tgeo-fond);
  border-left:5px solid var(--tgeo-bleu);
}
.bloc-avis blockquote{
  margin:0 0 .6em;
  padding:0;
  border:0;
  font-style:italic;
  font-size:1.05em;
}
.bloc-avis blockquote p{ margin:0; }
.bloc-avis .bloc-auteur{
  margin:0;
  font-size:.95em;
  font-weight:600;
  color:var(--tgeo-texte-doux);
}
.bloc-avis .bloc-auteur a{
  color:var(--tgeo-bleu);
  text-decoration:underline;
}
/* FAQ : questions en H3, verdict en strong */
.bloc-faq h3{
  margin:1.3em 0 .35em;
  font-size:1.1em;
  color:var(--tgeo-bleu-fonce);
}
.bloc-faq h3 + p{ margin-top:0; }
/* Conclusion + CTA */
.bloc-cta{
  text-align:center;
  background:var(--tgeo-bleu);
  border-color:var(--tgeo-bleu);
  color:#fff;
}
.bloc-cta a.bouton{
  display:inline-block;
  margin-top:.6em;
  padding:.75em 1.6em;
  border-radius:999px;
  background:#fff;
  color:var(--tgeo-bleu);
  font-weight:700;
  text-decoration:none;
}
.bloc-cta a.bouton:hover{ background:var(--tgeo-fond-alt); }
/* Signature d'entité : rattachement de l'article à l'entreprise */
.bloc-signature,
.signature-entite{
  margin:1.5em 0 0;
  padding:1em 1.4em;
  border-top:3px solid var(--tgeo-bleu);
  font-size:.95em;
  line-height:1.6;
  color:var(--tgeo-texte-doux);
}
.bloc-signature p,
.signature-entite p{ margin:0; }
.bloc-signature strong,
.signature-entite strong{ color:var(--tgeo-bleu-fonce); }
.bloc-signature a,
.signature-entite a{ color:var(--tgeo-bleu); text-decoration:none; }
.bloc-signature a:hover,
.signature-entite a:hover{ text-decoration:underline; }
@media (max-width:767px){
  .bloc-essentiel,
  .bloc-conseil,
  .bloc-avis,
  .bloc-cta{ padding:1em 1.1em; border-radius:10px; }
  .bloc-signature,
  .signature-entite{ padding:.9em 1.1em; }
}
@media print{
  .bloc-essentiel,
  .bloc-conseil,
  .bloc-avis,
  .bloc-cta,
  .bloc-signature,
  .signature-entite{ box-shadow:none; background:#fff !important; color:#000 !important; border-color:#999; }
}