/* =========================================================
   HOMEPAGE V2 - VALTRÉS TRIATHLON
   ---------------------------------------------------------
   PLAN DU FICHIER
   1. Variables globales
   2. Masquage d'éléments Astra/WordPress
   3. Correctif pleine largeur
   4. Structure générale de la home
   5. Header personnalisé
   6. Hero
   7. Boutons
   8. Blocs de réassurance
   9. Visuel hero / livres
   10. Sections générales
   11. Section bénéfices
   12. Section sélection de livres
   13. Section profils lecteurs
   14. Section auteur
   15. CTA final
   16. Container global
   17. Responsive
========================================================= */

/* =========================================================
   HUB BAR
   ---------------------------------------------------------
   Mini navigation entre les sous-domaines de l'univers
========================================================= */
.vt-hubbar {
    background: white;
    color: #111111;
    border-bottom: 1px solid rgba(17, 17, 17, 0.12);
}

.vt-hubbar-inner {
    min-height: 42px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.vt-hubbar a {
    text-decoration: none;
}

.vt-hubbar-label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: black;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.vt-hubbar a:hover .vt-hubbar-label {
    color: var(--vt-orange);
}

.vt-hub-nav {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.vt-hub-nav a {
    text-decoration: none;
    color: black;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.4px;
    opacity: 0.84;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.vt-hub-nav a:hover {
    opacity: 1;
    color: var(--vt-orange);
}

.vt-hub-nav a.is-current {
    opacity: 1;
    color: var(--vt-orange);
}

/* =========================================================
   1. VARIABLES GLOBALES
   ---------------------------------------------------------
   Couleurs principales du logo + variables utilitaires
========================================================= */
:root {
    --vt-blue: #3AA1DA;
    --vt-orange: #F39F1E;
    --vt-red: #BE1D2D;
    --vt-black: #111111;
    --vt-white: #ffffff;
    --vt-cream: #fffaf4;
    --vt-soft: #f4f7fa;
    --vt-border: rgba(17, 17, 17, 0.12);
    --vt-shadow: 0 18px 45px rgba(0, 0, 0, 0.123);
    --vt-radius: 24px;
}


/* =========================================================
   2. MASQUAGE DU HEADER / TITRES NATIFS ASTRA
   ---------------------------------------------------------
   On masque les éléments du thème Astra sur la home
   pour utiliser uniquement le header personnalisé Valtrés
========================================================= */
.site-header,
.ast-primary-header-bar,
.main-header-bar,
.entry-header,
.ast-page-header-wrap,
.page-header {
    display: none !important;
}


/* =========================================================
   3. FULL WIDTH FIX
   ---------------------------------------------------------
   Force la home à prendre toute la largeur disponible
   en neutralisant les largeurs et marges du thème
========================================================= */
body,
#page {
    background: #ffffff !important;
}

.site-content,
.content-area,
#primary,
.entry-content,
.ast-container,
main.site-main {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Container spécifique à la home
   -> largeur contrôlée mais pas collée aux bords */
.vt-home-v2 .container {
    max-width: 1280px !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
}


/* =========================================================
   4. STRUCTURE GÉNÉRALE DE LA PAGE D'ACCUEIL
   ---------------------------------------------------------
   Fond global et ambiance visuelle
========================================================= */

/* Fine barre colorée en haut */
.vt-topbar {
    height: 8px;
    background: linear-gradient(
        to right,
        var(--vt-blue) 0 33.33%,
        var(--vt-orange) 33.33% 66.66%,
        var(--vt-red) 66.66% 100%
    );
}


/* =========================================================
   5. HEADER PERSONNALISÉ
   ---------------------------------------------------------
   Logo + nom + navigation
========================================================= */
.vt-header {
    position: relative;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(17, 17, 17, 0.06);
}

.vt-header-inner {
    min-height: 88px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Bloc logo + nom du site */
.vt-brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--vt-black);
}

.vt-header .vt-brand-logo {
    display: block;
    width: auto !important;
    height: 52px !important;
    max-width: none !important;
    object-fit: contain;
}

.vt-brand-name {
    font-weight: 900;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navigation principale */
.vt-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.vt-nav a {
    text-decoration: none;
    color: var(--vt-black);
    font-weight: 750;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
}

.vt-nav a:hover {
    color: #045CB4;
}

/* Soulignement animé au survol */
.vt-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 3px;
    border-radius: 999px;
    background: var(--vt-red);
    transition: width 0.25s ease;
}

.vt-nav a:hover::after {
    width: 100%;
}


/* Badge quantité panier dans le header */
.vt-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vt-cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;

    padding: 0 5px;

    border-radius: 50%;

    background: var(--vt-orange);
    color: var(--vt-black);

    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}


/* =========================================================
   6. HERO
   ---------------------------------------------------------
   Gros bloc d'entrée de page :
   texte principal + image / visuel des livres
========================================================= */
.vt-hero {
    padding: 70px 0 90px;
}

/* Mise en page en 2 colonnes */
.vt-hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

/* Petits labels type "TRIATHLON • HUMOUR • AUTODÉRISION" */
.vt-kicker,
.vt-section-kicker,
.vt-mini-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.vt-kicker,
.vt-section-kicker {
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(190, 29, 45, 0.08);
    color: var(--vt-red);
    margin-bottom: 18px;
}

/* Espace entre le titre du catalogue et le message panier */
.vt-cart-notices {
    margin-top: 35px;
}

/* Titre principal du hero */
.vt-hero h1 {
    margin: 0;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1.5px;
    max-width: 760px;
}

/* Partie du titre en rouge */
.vt-hero h1 span {
    color: var(--vt-red);
}

/* Paragraphe d'introduction sous le H1 */
.vt-hero-text {
    margin: 26px 0 0;
    max-width: 650px;
    font-size: 20px;
    line-height: 1.65;
    color: rgba(17, 17, 17, 0.82);
}

/* Groupe des boutons CTA */
.vt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
    justify-content: center;
}


/* =========================================================
   7. BOUTONS
   ---------------------------------------------------------
   Styles génériques des CTA
========================================================= */
.vt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.1px;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vt-btn:hover {
    transform: translateY(-2px);
}

/* Bouton principal */
.vt-btn-primary {
    background: var(--vt-orange);
    color: var(--vt-black);
}

.vt-btn-primary:hover {
    background: var(--vt-red);
    color: var(--vt-white);
}

/* Bouton secondaire */
.vt-btn-secondary {
    background: transparent;
    color: var(--vt-black);
    border: 2px solid var(--vt-black);
}

.vt-btn-secondary:hover {
    background: var(--vt-black);
    color: var(--vt-white);
}


/* =========================================================
   8. BLOCS DE RÉASSURANCE
   ---------------------------------------------------------
   Petits blocs sous le hero pour rassurer / convaincre
========================================================= */
.vt-proof {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.vt-proof-item {
    background: var(--vt-white);
    border: 1px solid var(--vt-border);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--vt-shadow);
}

.vt-proof-item strong {
    display: block;
    font-size: 15px;
    margin-bottom: 5px;
}

.vt-proof-item span {
    display: block;
    font-size: 14px;
    color: rgba(17, 17, 17, 0.72);
}


/* =========================================================
   9. VISUEL HERO / LIVRES
   ---------------------------------------------------------
   Partie droite du hero avec carte inclinée + image de livres
========================================================= */
.vt-hero-visual {
    position: relative;
}

/* Carte inclinée du hero */
.vt-hero-card {
    position: relative;
    z-index: 2;
    background: var(--vt-white);
    border-radius: var(--vt-radius);
    padding: 28px;
    box-shadow: var(--vt-shadow);
    border: 1px solid var(--vt-border);
    max-width: 430px;
    margin-left: auto;
    transform: rotate(-2deg);
}

/* Variante avec bord haut rouge */
.vt-card-red {
    border-top: 8px solid var(--vt-red);
}

.vt-hero-card h2 {
    margin: 6px 0 14px;
    font-size: 28px;
    line-height: 1.05;
}

.vt-hero-card ul {
    margin: 0;
    padding-left: 20px;
}

.vt-hero-card li {
    margin-bottom: 10px;
    line-height: 1.5;
}

/* Bloc image des livres */
.vt-books-shot {
    position: relative;
    z-index: 1;
    margin-top: -30px;
    margin-left: 40px;
    background: linear-gradient(135deg, rgba(58, 161, 218, 0.12), rgba(243, 159, 30, 0.12));
    border-radius: 30px;
    padding: 28px;
    box-shadow: var(--vt-shadow);
}

.vt-books-shot img {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
}


/* =========================================================
   10. ESPACEMENTS GÉNÉRAUX DES SECTIONS
   ---------------------------------------------------------
   Padding vertical commun aux grandes sections
========================================================= */
.vt-benefits,
.vt-selection,
.vt-reader-types,
.vt-author,
.vt-final-cta {
    padding: 95px 0;
}

/* Titre commun des sections */
.vt-section-heading {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 48px;
}

.vt-section-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4.5vw, 3.3rem);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -1px;
}


/* =========================================================
   11. SECTION BÉNÉFICES
   ---------------------------------------------------------
   Cartes "pourquoi acheter / pourquoi lire"
========================================================= */
.vt-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.vt-benefit {
    background: var(--vt-white);
    border-radius: 24px;
    padding: 28px 28px 0px 28px;
    box-shadow: var(--vt-shadow);
    border: 1px solid var(--vt-border);
}

.vt-benefit h3 {
    margin-top: 0;
    font-size: 24px;
    line-height: 1.1;
    padding-bottom: 20px;
}

/* Variantes de couleur */
.vt-benefit-blue {
    border-top: 8px solid var(--vt-blue);
}

.vt-benefit-orange {
    border-top: 8px solid var(--vt-orange);
}

.vt-benefit-red {
    border-top: 8px solid var(--vt-red);
}


/* =========================================================
   12. SECTION SÉLECTION DE LIVRES
   ---------------------------------------------------------
   Cartes de livres mises en avant
========================================================= */
.vt-selection {
    background: var(--vt-cream);
}

.vt-book-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.vt-book-card {
    position: relative;
    background: var(--vt-white);
    border-radius: 26px;
    padding: 24px;
    border: 1px solid var(--vt-border);
    box-shadow: var(--vt-shadow);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.vt-book-card:hover {
    transform: translateY(-10px);
    border-color: rgba(243, 159, 30, 0.45);
    box-shadow:
        var(--vt-shadow),
        0 0 0 2px rgba(243, 159, 30, 0.45);
}

/* on neutralise l'effet permanent du livre du milieu */
.vt-book-card-featured {
    transform: none;
    border: 1px solid var(--vt-border);
}
/* Badge au-dessus d'un livre */
.vt-book-badge {
    align-self: flex-start;
    margin-bottom: 18px;
    padding: 8px 12px;
    border-radius: 999px;

    background: #dceff9;
    color: #075985;

    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
}

.vt-book-card img {
    width: 100%;
    max-height: 320px;
    object-fit: contain;
    margin-bottom: 18px;
}

.vt-book-card h2, .vt-page-livre-content h1 {
    margin: 0 0 10px;
    font-size: 25px;
    line-height: 1.1;
    text-align: center;
}

.vt-book-card h3 {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.1;
    text-align: center;
}

.vt-book-card p {
    margin: 0 0 20px;
    color: rgba(17, 17, 17, 0.78);
    text-align: center;
}

/* Bas de carte : prix + bouton */
.vt-book-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.vt-price {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
}

.vt-price-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    text-align: center;
}

.vt-price-old {
    font-size: 20px;
    color: #888;
    text-decoration: line-through;
}

/* Filtres livres */

.vt-book-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 32px;
}

.vt-filter-btn {
    border: 1px solid var(--vt-border);
    background: var(--vt-white);
    color: var(--vt-black);
    padding: 10px 18px;
    border-radius: 999px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.2s ease;
}

.vt-filter-btn:hover,
.vt-filter-btn.is-active {
    background: var(--vt-blue);
    color: var(--vt-white);
    border-color: var(--vt-blue);
}


/* =========================================================
   14. SECTION AUTEUR
   ---------------------------------------------------------
   Bloc texte auteur + citation
========================================================= */
.vt-author {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbfe 100%);
}

/* Mise en page en 2 colonnes */
.vt-author-box {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
}

.vt-author-copy,
.vt-author-quote {
    background: var(--vt-white);
    border-radius: 28px;
    border: 1px solid var(--vt-border);
    box-shadow: var(--vt-shadow);
    padding: 34px;
}

/* Titre du bloc auteur */
.vt-author-copy h2 {
    margin-top: 0;
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.05;
    margin-bottom: 20px;
}

/* Bloc citation à droite */
.vt-author-quote {
    background-color: rgb(107, 103, 103);
    color: var(--vt-white);
    display: flex;
    align-items: center;
}

.vt-author-quote p {
    margin: 0;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
}


/* =========================================================
   15. CTA FINAL
   ---------------------------------------------------------
   Dernier bloc pour pousser à l'achat / à l'action
========================================================= */
.vt-final-cta {
    padding-top: 50px;
}

.vt-final-cta a {
    text-align: center;
}

/* Grand encart bleu final */
.vt-final-cta-inner {
    background: linear-gradient(135deg, var(--vt-blue), #67b8e5);
    color: var(--vt-white);
    border-radius: 32px;
    padding: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.vt-final-cta-inner .vt-section-kicker {
    background: rgba(255, 255, 255, 0.16);
    color: var(--vt-white);
}

.vt-final-cta-inner h2 {
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.05;
    color: var(--vt-white);
}

/* Bouton final blanc */
.vt-final-cta .vt-btn-primary {
    background: var(--vt-white);
    color: var(--vt-black);
}

.vt-final-cta .vt-btn-primary:hover {
    background: var(--vt-red);
    color: var(--vt-white);
}


/* =========================================================
   16. CONTAINER GLOBAL
   ---------------------------------------------------------
   ATTENTION :
   Cette règle est globale, pas seulement pour la home.
   Elle peut écraser d'autres pages.
========================================================= */
.container {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}


/* =========================================================
   27. SINGLE LIVRE
   ---------------------------------------------------------
   Ajustements spécifiques à la page détail d'un livre
========================================================= */

.vt-page-livre-single .vt-page-livre-hero .vt-hero-grid {
    grid-template-columns: minmax(360px, 460px) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

.vt-page-livre-cover {
    display: flex;
    justify-content: center;
}

.vt-page-livre-cover-card {
    width: 100%;
    max-width: 440px;
    padding: 22px;
    border-radius: 32px;
    background: #fff;
    border: 1px solid var(--vt-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.vt-page-livre-cover-card:hover {
    transform: none;
    border-color: var(--vt-border);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.vt-page-livre-image {
    width: 100%;
    max-width: 100%;
    max-height: none !important;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0;
}

.vt-page-livre-content h1 {
    font-size: clamp(2.4rem, 4.8vw, 4.5rem);
    line-height: 0.98;
    max-width: 850px;
}

.vt-page-livre-intro {
    max-width: 760px;
}

.vt-page-livre-intro p {
    margin-bottom: 0;
}

.vt-page-livre-price {
    margin-top: 26px;
    margin-bottom: 30px;
}

.vt-page-livre-price .price,
.vt-page-livre-price .woocommerce-Price-amount {
    font-size: 42px;
    font-weight: 900;
    line-height: 1;
    color: var(--vt-black);
}

.vt-page-livre-price .woocommerce-Price-currencySymbol {
    font-size: 0.8em;
}

/* Prix normal barré */
.vt-page-livre-price del {
    text-decoration: none;
    opacity: 1;
}

.vt-page-livre-price del .woocommerce-Price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #777;

    text-decoration: line-through;
    text-decoration-color: #777;
    text-decoration-thickness: 2px;
    text-decoration-skip-ink: none;
}

/* Prix promotionnel */
.vt-page-livre-price ins {
    text-decoration: none;
}

.vt-page-livre-price ins .woocommerce-Price-amount {
    font-size: 42px;
    font-weight: 900;
    color: var(--vt-black);
}

.vt-page-livre-price .vt-price-wrap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 14px;
}

.vt-page-livre-buy-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 320px));
    gap: 18px;
    justify-content: start;
    margin-top: 12px;
}

.vt-page-livre-buy-grid .vt-benefit {
    padding: 22px;
    border-radius: 24px;
}

.vt-page-livre-buy-grid .vt-benefit h3 {
    font-size: 20px;
    padding-bottom: 8px;
    margin-bottom: 0;
}

.vt-page-livre-buy-grid .vt-benefit p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.55;
}

.vt-page-livre-buy-grid .vt-btn {
    width: 100%;
    min-height: 58px;
    font-size: 14px;
}

.vt-page-livre-text-block {
    max-width: 920px;
    margin: 0 auto;
    padding: 42px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-radius: 28px;
    box-shadow: var(--vt-shadow);
}

.vt-page-livre-text-intro {
    margin: 0 0 24px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--vt-black);
}

.vt-page-livre-text-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.vt-page-livre-text-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 18px;
    line-height: 1.7;
    color: rgba(17, 17, 17, 0.88);
}

.vt-page-livre-text-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 12px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--vt-orange);
}

.vt-page-livre-text-list li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   17. CHECKOUT WOOCOMMERCE
   ---------------------------------------------------------
   Page de commande classique WooCommerce.
   Les sélecteurs incluent .woocommerce-page afin de dépasser
   les largeurs et flottements imposés par Astra/WooCommerce.
========================================================= */

/* Fond et largeur générale */
body.woocommerce-checkout {
    background: #f7f9fb;
}

body.woocommerce-checkout .site-content {
    padding: 55px 24px 80px !important;
}

body.woocommerce-checkout .entry-content,
body.woocommerce-checkout form.checkout,
body.woocommerce-checkout .vt-checkout-reassurance {
    width: 100% !important;
    max-width: 1280px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Blocs de réassurance */
.vt-checkout-reassurance {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 38px !important;
}

.vt-checkout-reassurance-item {
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-top: 6px solid var(--vt-orange);
    border-radius: 20px;
    box-shadow: var(--vt-shadow);
    text-align: center;
}

.vt-checkout-reassurance-item:nth-child(2) {
    border-top-color: var(--vt-blue);
}

.vt-checkout-reassurance-item:nth-child(3) {
    border-top-color: var(--vt-red);
}

.vt-checkout-reassurance-item strong,
.vt-checkout-reassurance-item span {
    display: block;
}

.vt-checkout-reassurance-item strong {
    margin-bottom: 6px;
    font-size: 17px;
    color: var(--vt-black);
}

.vt-checkout-reassurance-item span {
    font-size: 14px;
    color: rgba(17, 17, 17, 0.7);
}

/* Grille principale : coordonnées à gauche, commande à droite */
body.woocommerce-checkout form.checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1.1fr) minmax(430px, 0.9fr);
    grid-template-areas: "customer review";
    column-gap: 42px;
    align-items: start;
}

/* Colonne gauche */
body.woocommerce-checkout #customer_details {
    grid-area: customer;
    width: 100% !important;
    min-width: 0;
    float: none !important;
}

body.woocommerce-checkout #customer_details .col-1,
body.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
}

/* Titre et bloc de droite.
   !important neutralise notamment les width/float d'Astra. */
body.woocommerce-checkout.woocommerce-page #order_review_heading {
    display: none !important;
}

body.woocommerce-checkout.woocommerce-page #order_review {
    grid-area: review;
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 28px !important;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-radius: 24px;
    box-shadow: var(--vt-shadow);
    box-sizing: border-box;
}

body.woocommerce-checkout #order_review::before {
    content: "Votre commande";
    display: block;
    margin: 0 0 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--vt-border);
    font-size: 28px;
    line-height: 1.15;
    font-weight: 900;
    color: var(--vt-black);
}

/* Tableau du récapitulatif */
body.woocommerce-checkout #order_review table {
    width: 100% !important;
    table-layout: auto;
}

body.woocommerce-checkout #order_review th,
body.woocommerce-checkout #order_review td {
    overflow-wrap: normal;
    word-break: normal;
}

/* Moyens de paiement */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment ul.payment_methods,
body.woocommerce-checkout #payment .payment_box {
    width: 100% !important;
    box-sizing: border-box;
}

body.woocommerce-checkout #payment label,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment p {
    white-space: normal;
    word-break: normal;
    overflow-wrap: break-word;
}

/* Champs */
body.woocommerce-checkout form .form-row {
    margin-bottom: 18px;
}

body.woocommerce-checkout form .form-row label {
    display: block;
    margin-bottom: 7px;
    font-weight: 800;
    color: var(--vt-black);
}

body.woocommerce-checkout form input.input-text,
body.woocommerce-checkout form textarea,
body.woocommerce-checkout form select,
body.woocommerce-checkout .select2-container .select2-selection--single {
    width: 100%;
    min-height: 50px;
    padding: 12px 14px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.18);
    border-radius: 12px;
    box-shadow: none;
    box-sizing: border-box;
}

body.woocommerce-checkout form textarea {
    min-height: 140px;
    resize: vertical;
}

body.woocommerce-checkout form input.input-text:focus,
body.woocommerce-checkout form textarea:focus,
body.woocommerce-checkout form select:focus {
    outline: none;
    border-color: var(--vt-blue);
    box-shadow: 0 0 0 3px rgba(58, 161, 218, 0.14);
}

/* Bouton final */
body.woocommerce-checkout #place_order {
    width: 100%;
    min-height: 58px;
    padding: 15px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--vt-orange);
    color: var(--vt-black);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

body.woocommerce-checkout #place_order:hover {
    background: var(--vt-red);
    color: var(--vt-white);
}


/* =========================================================
   PANIER WOOCOMMERCE
   ---------------------------------------------------------
   Page classique WooCommerce : /panier/
========================================================= */

body.woocommerce-cart {
    background: #f7f9fb;
}

body.woocommerce-cart .site-content {
    padding: 55px 24px 80px !important;
}

body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
    width: 100%;
    max-width: 1180px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Message WooCommerce */
body.woocommerce-cart .woocommerce-notices-wrapper {
    margin-bottom: 24px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    padding: 18px 22px 18px 52px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-top: 5px solid var(--vt-blue);
    border-radius: 16px;
    box-shadow: var(--vt-shadow);
}

/* Tableau des produits */
body.woocommerce-cart table.shop_table {
    overflow: hidden;
    width: 100%;
    margin: 0 0 30px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-radius: 24px;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--vt-shadow);
}

body.woocommerce-cart table.shop_table th {
    padding: 18px;
    background: var(--vt-soft);
    color: var(--vt-black);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

body.woocommerce-cart table.shop_table td {
    padding: 20px 18px;
    border-top: 1px solid var(--vt-border);
    vertical-align: middle;
}

/* Image du livre */
body.woocommerce-cart table.shop_table .product-thumbnail img {
    width: 82px;
    height: 105px;
    object-fit: contain;
    border-radius: 10px;
}

/* Titre du produit */
body.woocommerce-cart table.shop_table .product-name a {
    color: var(--vt-black);
    font-size: 17px;
    font-weight: 800;
    text-decoration: none;
}

body.woocommerce-cart table.shop_table .product-name a:hover {
    color: var(--vt-red);
}

/* Prix */
body.woocommerce-cart table.shop_table .amount {
    color: var(--vt-black);
    font-weight: 900;
}

/* Quantité */
body.woocommerce-cart .quantity .qty {
    width: 78px;
    min-height: 46px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 10px;
    text-align: center;
}

/* Bouton de suppression */
body.woocommerce-cart a.remove {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    border: 1px solid rgba(17,17,17,.18);
    border-radius: 50%;

    color: var(--vt-red) !important;
    background: #fff;

    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    padding: 0;
    margin: 0 auto;
    padding-top: 5px;

    text-decoration: none;
}

body.woocommerce-cart a.remove:hover {
    background: var(--vt-red);
    color: #fff !important;
    border-color: var(--vt-red);
    padding-top: 5px;
}

/* Code promotionnel */
body.woocommerce-cart .coupon {
    display: flex;
    gap: 10px;
    align-items: center;
}

body.woocommerce-cart .coupon .input-text {
    min-width: 220px;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid rgba(17, 17, 17, 0.2);
    border-radius: 999px;
}

/* Boutons du panier */
body.woocommerce-cart button.button,
body.woocommerce-cart a.button,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    min-height: 50px;
    padding: 13px 22px;
    border: 0;
    border-radius: 999px;
    background: var(--vt-orange);
    color: var(--vt-black);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
}

body.woocommerce-cart button.button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--vt-red);
    color: var(--vt-white);
}

/* Bouton désactivé */
body.woocommerce-cart button.button:disabled,
body.woocommerce-cart button.button:disabled:hover {
    opacity: 0.5;
    background: #dddddd;
    color: #666666;
}

/* =========================================================
   TOTAL DU PANIER
========================================================= */

body.woocommerce-cart .cart-collaterals {
    display: block;
    width: 100%;
    margin-top: 34px;
}

body.woocommerce-cart .cart_totals {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-top: 7px solid var(--vt-blue);
    border-radius: 24px;
    box-shadow: var(--vt-shadow);
    box-sizing: border-box;
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 24px;
    color: var(--vt-black);
    font-size: 30px;
    line-height: 1.1;
    font-weight: 900;
}

body.woocommerce-cart .cart_totals table {
    width: 100%;
    margin: 0 0 28px;
    border-collapse: separate;
    border-spacing: 0;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
    padding: 18px 14px;
    border-top: 1px solid var(--vt-border);
    vertical-align: top;
}

body.woocommerce-cart .cart_totals tr:first-child th,
body.woocommerce-cart .cart_totals tr:first-child td {
    border-top: 0;
}

body.woocommerce-cart .cart_totals th {
    width: 28%;
    color: var(--vt-black);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

body.woocommerce-cart .cart_totals td {
    color: rgba(17, 17, 17, 0.82);
    font-size: 15px;
}

body.woocommerce-cart .cart_totals .order-total th,
body.woocommerce-cart .cart_totals .order-total td {
    padding-top: 22px;
    padding-bottom: 22px;
    background: var(--vt-soft);
}

body.woocommerce-cart .cart_totals .order-total .amount {
    color: var(--vt-black);
    font-size: 32px;
    line-height: 1;
    font-weight: 900;
}

/* Espace entre le tableau et le bouton */
body.woocommerce-cart .wc-proceed-to-checkout {
    margin-top: 30px;
    margin-bottom: 30px;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 60px;
    margin: 0;
    padding: 16px 24px;
    border-radius: 999px;
    background: var(--vt-orange);
    color: var(--vt-black);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover {
    background: var(--vt-red);
    color: var(--vt-white);
}

body.woocommerce-cart .cart_totals h2 {
    margin: 0 0 22px;
    color: var(--vt-black);
    font-size: 28px;
    font-weight: 900;
}

body.woocommerce-cart .cart_totals table {
    margin-bottom: 22px;
}

body.woocommerce-cart .cart_totals th,
body.woocommerce-cart .cart_totals td {
    padding: 15px 8px;
}

body.woocommerce-cart .order-total .amount {
    font-size: 22px;
    font-weight: 900;
}


body.woocommerce-checkout #billing_phone_field .required {
    display: none !important;
}

/* Bouton Commander */
body.woocommerce-cart .wc-proceed-to-checkout {
    padding: 0;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    margin: 0;
    font-size: 15px;
}


/* Panier vide */
body.woocommerce-cart .cart-empty {
    margin: 0 auto 26px;
    padding: 34px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-top: 7px solid var(--vt-orange);
    border-radius: 24px;
    box-shadow: var(--vt-shadow);
    color: var(--vt-black);
    font-size: 20px;
    font-weight: 800;
    text-align: center;
}

body.woocommerce-cart .return-to-shop {
    text-align: center;
}

body.woocommerce-cart .return-to-shop .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Supprime l'icône du panier vide */
body.woocommerce-cart .cart-empty::before,
body.woocommerce-cart .woocommerce-info::before {
    display: none !important;
    content: none !important;
}

/* Recentre le texte puisque l'icône n'est plus là */
body.woocommerce-cart .cart-empty,
body.woocommerce-cart .woocommerce-info {
    padding-left: 34px !important;
}


/* =========================================================
   COMMANDE REÇUE
   ---------------------------------------------------------
   Page affichée après la validation d'une commande.
========================================================= */

body.woocommerce-order-received {
    background: #f7f9fb;
}

body.woocommerce-order-received .site-content {
    padding: 55px 24px 80px !important;
}

body.woocommerce-order-received .entry-content,
body.woocommerce-order-received .woocommerce {
    width: 100%;
    max-width: 1100px;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Message principal */
body.woocommerce-order-received
.woocommerce-thankyou-order-received {
    position: relative;
    margin: 0 0 32px;
    padding: 38px 34px 38px 92px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-top: 7px solid var(--vt-orange);
    border-radius: 24px;
    box-shadow: var(--vt-shadow);
    color: var(--vt-black);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 900;
}

/* Icône de validation sans image externe */
body.woocommerce-order-received
.woocommerce-thankyou-order-received::before {
    content: "✓";
    position: absolute;
    top: 50%;
    left: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--vt-orange);
    color: var(--vt-black);
    font-size: 25px;
    font-weight: 900;
    transform: translateY(-50%);
}

/* Résumé de commande */
body.woocommerce-order-received
ul.woocommerce-order-overview {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 34px;
    padding: 0;
    list-style: none;
}

body.woocommerce-order-received
ul.woocommerce-order-overview li {
    float: none;
    width: auto;
    margin: 0;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-radius: 18px;
    box-shadow: var(--vt-shadow);
    color: rgba(17, 17, 17, 0.7);
    font-size: 12px;
    line-height: 1.5;
    text-transform: uppercase;
}

body.woocommerce-order-received
ul.woocommerce-order-overview li strong {
    display: block;
    margin-top: 7px;
    color: var(--vt-black);
    font-size: 16px;
    line-height: 1.35;
    text-transform: none;
}

/* Titres des sections */
body.woocommerce-order-received
.woocommerce-order-details__title,
body.woocommerce-order-received
.woocommerce-column__title {
    margin: 38px 0 18px;
    color: var(--vt-black);
    font-size: 28px;
    font-weight: 900;
}

/* Détails de la commande */
body.woocommerce-order-received
.woocommerce-order-details {
    margin-bottom: 34px;
}

body.woocommerce-order-received
table.woocommerce-table--order-details {
    overflow: hidden;
    width: 100%;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-radius: 24px;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: var(--vt-shadow);
}

body.woocommerce-order-received
table.woocommerce-table--order-details th {
    padding: 18px 20px;
    background: var(--vt-soft);
    color: var(--vt-black);
    font-weight: 900;
}

body.woocommerce-order-received
table.woocommerce-table--order-details td {
    padding: 18px 20px;
    border-top: 1px solid var(--vt-border);
}

body.woocommerce-order-received
table.woocommerce-table--order-details a {
    color: var(--vt-black);
    font-weight: 800;
    text-decoration: none;
}

body.woocommerce-order-received
table.woocommerce-table--order-details a:hover {
    color: var(--vt-red);
}

/* Coordonnées client */
body.woocommerce-order-received
.woocommerce-customer-details {
    margin-top: 34px;
}

body.woocommerce-order-received
.woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

body.woocommerce-order-received
.woocommerce-column--billing-address,
body.woocommerce-order-received
.woocommerce-column--shipping-address {
    float: none !important;
    width: 100% !important;
    padding: 28px;
    background: #ffffff;
    border: 1px solid var(--vt-border);
    border-top: 7px solid var(--vt-blue);
    border-radius: 24px;
    box-shadow: var(--vt-shadow);
}

body.woocommerce-order-received
.woocommerce-column--shipping-address {
    border-top-color: var(--vt-red);
}

body.woocommerce-order-received
.woocommerce-customer-details address {
    padding: 0;
    border: 0;
    color: rgba(17, 17, 17, 0.82);
    font-style: normal;
    line-height: 1.8;
}

/* =========================================================
   18. RESPONSIVE - TABLETTE
   ---------------------------------------------------------
   Adaptations sous 1100px
========================================================= */
@media (max-width: 1100px) {
    .vt-hero-grid,
    .vt-author-box,
    .vt-benefits-grid,
    .vt-book-grid,
    .vt-types-grid,
    .vt-proof {
        grid-template-columns: 1fr;
    }

    .vt-book-card-featured {
        transform: none;
    }

    .vt-books-shot {
        margin-left: 0;
        margin-top: 20px;
    }

    .vt-hero-card {
        max-width: 100%;
        margin-left: 0;
    }

    .vt-final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .vt-page-livre-single .vt-page-livre-hero .vt-hero-grid {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .vt-page-livre-cover-card {
        max-width: 380px;
    }

    .vt-page-livre-buy-grid {
        grid-template-columns: 1fr 1fr;
    }
}




@media (max-width: 900px) {
    body.woocommerce-checkout form.checkout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "customer"
            "review";
        gap: 22px;
    }

    .vt-checkout-reassurance {
        grid-template-columns: 1fr;
    }

    body.woocommerce-checkout .site-content {
        padding: 35px 22px 60px !important;
    }
}


@media (max-width: 900px) {
    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body.woocommerce-order-received
    .woocommerce-columns--addresses {
        grid-template-columns: 1fr;
    }

    body.woocommerce-cart .cart-collaterals {
        display: block;
    }

    body.woocommerce-cart .cart_totals {
        max-width: none;
    }
}

@media (max-width: 700px) {
    body.woocommerce-cart table.shop_table_responsive,
    body.woocommerce-cart table.shop_table_responsive tbody,
    body.woocommerce-cart table.shop_table_responsive tr,
    body.woocommerce-cart table.shop_table_responsive td {
        display: block;
        width: 100%;
    }

    body.woocommerce-cart
    table.shop_table_responsive thead {
        display: none;
    }

    body.woocommerce-cart
    table.shop_table_responsive tr.cart_item {
        margin-bottom: 20px;
        padding: 18px;
        background: #ffffff;
        border: 1px solid var(--vt-border);
        border-radius: 18px;
    }

    body.woocommerce-cart
    table.shop_table_responsive td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 18px;
        padding: 12px 0;
        border: 0;
        border-bottom: 1px solid var(--vt-border);
        text-align: right !important;
    }

    body.woocommerce-cart
    table.shop_table_responsive td:last-child {
        border-bottom: 0;
    }

    body.woocommerce-cart .coupon {
        flex-direction: column;
        align-items: stretch;
    }

    body.woocommerce-cart .coupon .input-text {
        min-width: 0;
        width: 100%;
    }

    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        grid-template-columns: 1fr;
    }

    body.woocommerce-order-received
    .woocommerce-thankyou-order-received {
        padding: 88px 24px 28px;
        text-align: center;
    }

    body.woocommerce-order-received
    .woocommerce-thankyou-order-received::before {
        top: 25px;
        left: 50%;
        transform: translateX(-50%);
    }
}




/* =========================================================
   19. RESPONSIVE - PETITE TABLETTE / MOBILE LARGE
   ---------------------------------------------------------
   Adaptations sous 820px
========================================================= */
@media (max-width: 820px) {
    .vt-header-inner {
        flex-direction: column;
        justify-content: center;
        padding: 16px 0;
    }

    .vt-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .vt-hero {
        padding: 50px 0 70px;
    }

    .vt-hero h1 {
        letter-spacing: -1px;
    }

    .vt-hero-text {
        font-size: 18px;
    }

    .vt-author-quote p {
        font-size: 18px;
    }

        .vt-hubbar-inner {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .vt-hub-nav {
        gap: 12px;
    }
}

@media (max-width: 760px) {
    .vt-page-livre-buy-grid {
        grid-template-columns: 1fr;
    }

    .vt-page-livre-price .price,
    .vt-page-livre-price .woocommerce-Price-amount {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    .vt-page-livre-text-block {
        padding: 26px;
        font-size: 16px;
        line-height: 1.7;
        border-radius: 22px;
    }

    .vt-page-livre-text-intro {
        font-size: 19px;
        margin-bottom: 18px;
    }

    .vt-page-livre-text-list li {
        font-size: 16px;
        line-height: 1.6;
        padding-left: 24px;
        margin-bottom: 12px;
    }

    .vt-page-livre-text-list li::before {
        top: 10px;
        width: 8px;
        height: 8px;
    }
}




/* =========================================================
   20. RESPONSIVE - MOBILE
   ---------------------------------------------------------
   Adaptations sous 560px
========================================================= */
@media (max-width: 560px) {
    .vt-btn {
        width: 100%;
    }

    .vt-book-card,
    .vt-benefit,
    .vt-type-card,
    .vt-author-copy,
    .vt-author-quote,
    .vt-hero-card {
        padding: 22px;
    }

    .vt-brand-name {
        font-size: 12px;
        letter-spacing: 1.4px;
    }

        .vt-hubbar-label {
        font-size: 10px;
    }

    .vt-hub-nav a {
        font-size: 12px;
    }

    .vt-header .vt-brand-logo {
        height: 44px !important;
    }
}



/* =========================================================
   CORRECTIONS — PAGE COMMANDE REÇUE
========================================================= */

/* ---------------------------------------------------------
   1. Résumé de commande : 5 cadres sur une seule ligne
--------------------------------------------------------- */

body.woocommerce-order-received
ul.woocommerce-order-overview {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0 0 34px !important;
    padding: 0 !important;
}

body.woocommerce-order-received
ul.woocommerce-order-overview li {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 20px !important;
    border-right: 0 !important;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   2. Adresses : deux cartes alignées sur la même ligne
--------------------------------------------------------- */

body.woocommerce-order-received
.woocommerce-customer-details {
    width: 100%;
    margin: 34px 0 0 !important;
}

body.woocommerce-order-received
.woocommerce-columns--addresses,
body.woocommerce-order-received
.woocommerce-columns.col2-set {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
    width: 100%;
    margin: 0 !important;
}

body.woocommerce-order-received
.woocommerce-column--billing-address,
body.woocommerce-order-received
.woocommerce-column--shipping-address {
    float: none !important;
    clear: none !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px !important;
    box-sizing: border-box;
}

/* ---------------------------------------------------------
   3. Titres des cartes d’adresse
--------------------------------------------------------- */

body.woocommerce-order-received
.woocommerce-customer-details
.woocommerce-column__title {
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid var(--vt-border) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    color: var(--vt-black);
    font-size: 21px;
    line-height: 1.2;
    font-weight: 900;
}

/* Adresse sans encadrement intérieur supplémentaire */
body.woocommerce-order-received
.woocommerce-customer-details address {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* ---------------------------------------------------------
   4. Responsive
--------------------------------------------------------- */

@media (max-width: 1000px) {
    body.woocommerce-order-received
    ul.woocommerce-order-overview {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    body.woocommerce-order-received
    ul.woocommerce-order-overview,
    body.woocommerce-order-received
    .woocommerce-columns--addresses,
    body.woocommerce-order-received
    .woocommerce-columns.col2-set {
        grid-template-columns: 1fr;
    }
}

/* ===== PATCH COMMANDE RECUE V2 ===== */
body.woocommerce-order-received ul.woocommerce-order-overview{
display:flex!important;flex-wrap:nowrap!important;justify-content:space-between!important;gap:14px!important;padding:0!important;margin:0 0 34px!important}
body.woocommerce-order-received ul.woocommerce-order-overview li{flex:1 1 0!important;float:none!important;width:auto!important;margin:0!important}
body.woocommerce-order-received .woocommerce-columns--addresses,
body.woocommerce-order-received .woocommerce-columns{display:flex!important;gap:24px!important;align-items:flex-start!important}
body.woocommerce-order-received .woocommerce-column--billing-address,
body.woocommerce-order-received .woocommerce-column--shipping-address{flex:1!important;float:none!important;margin:0!important}
body.woocommerce-order-received .woocommerce-column__title{margin:0 0 18px!important;padding:0!important;border:none!important;border-bottom:1px solid var(--vt-border)!important;background:transparent!important;box-shadow:none!important}
body.woocommerce-order-received .woocommerce-customer-details address{border:none!important;background:none!important;padding:0!important;box-shadow:none!important}


/* ===== ALIGNEMENT FINAL DES ADRESSES ===== */

/* Le conteneur WooCommerce des deux adresses */
body.woocommerce-order-received
.woocommerce-customer-details .col2-set,
body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-columns--addresses,
body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-columns {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    align-items: stretch !important;
    width: 100% !important;
    margin: 0 !important;
}

/* Neutralise les flottements et marges d'Astra/WooCommerce */
body.woocommerce-order-received
.woocommerce-customer-details .col-1,
body.woocommerce-order-received
.woocommerce-customer-details .col-2,
body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-column--billing-address,
body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-column--shipping-address {
    float: none !important;
    clear: none !important;
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    align-self: stretch !important;
    box-sizing: border-box !important;
}

/* Garde les deux cartes sur la même ligne et dans le bon ordre */
body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-column--billing-address {
    grid-column: 1 !important;
}

body.woocommerce-order-received
.woocommerce-customer-details .woocommerce-column--shipping-address {
    grid-column: 2 !important;
}

/* Mobile */
@media (max-width: 700px) {
    body.woocommerce-order-received
    .woocommerce-customer-details .col2-set,
    body.woocommerce-order-received
    .woocommerce-customer-details .woocommerce-columns--addresses,
    body.woocommerce-order-received
    .woocommerce-customer-details .woocommerce-columns {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-order-received
    .woocommerce-customer-details .woocommerce-column--billing-address,
    body.woocommerce-order-received
    .woocommerce-customer-details .woocommerce-column--shipping-address {
        grid-column: auto !important;
    }
}

/* ================================
   Header mobile 560px
================================ */

@media (max-width: 560px) {

    .vt-header-inner {
        gap: 12px;
    }

    .vt-nav {
        width: 100%;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 18px;
    }

    .vt-nav a {
        font-size: 13px;
        letter-spacing: 0.8px;
    }

}

/* CTA final centré sur mobile */
@media (max-width: 780px) {

    .vt-final-cta-inner {
        align-items: center;
        text-align: center;
    }

    .vt-final-cta-inner .vt-section-kicker {
        margin-left: auto;
        margin-right: auto;
    }

    .vt-final-cta-inner .vt-btn {
        width: auto;
    }
}

/* Espace autour du CTA final accueil sur mobile */

@media (max-width: 560px) {

    .vt-final-cta-inner {
        width: calc(100% - 12px);
        margin-left: auto;
        margin-right: auto;
    }

}
