/*
Theme Name: VÃ©rola Hair Child
Theme URI: https://verola-hair.fr
Description: ThÃ¨me enfant d'Astra pour VÃ©rola Hair â€” personnalisations boutique (fiche produit, onglet conseil d'entretien, badges).
Author: VÃ©rola Hair
Template: astra
Version: 1.0.0
Text Domain: verola-hair-child
*/

/* ==========================================================================
   VÃ‰ROLA HAIR â€” Variables de marque
   ========================================================================== */
:root {
    --vh-pink: #f48fb1;        /* rose principal (boutons, accents) */
    --vh-pink-soft: #fce4ec;   /* rose clair (badges, fonds) */
    --vh-black: #111111;       /* noir (footer, titres) */
    --vh-text: #333333;
    --vh-muted: #777777;
    --vh-border: #e7e7e7;
}



/* Barre de miniatures : neutraliser la hauteur inline posée par le slider */
ol .single-product .flex-control-thumbs {
    height: auto !important;
    overflow: visible !important;
}

/* Filet de sécurité : chaque case de la barre de miniatures a une taille */
ol .single-product .flex-control-thumbs li {
    width: 100% !important;
    float: none !important;
    display: block;
}
ol .single-product .flex-control-thumbs li img,
ol .single-product .flex-control-thumbs li video {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}


/* ==========================================================================
   CARROUSEL DÉFILANT (shortcode [verola_carrousel]) — produits mis en avant
   ========================================================================== */
.vh-marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 2rem 0;
}
.vh-marquee-track {
    display: flex !important;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    animation: vh-marquee-scroll var(--vh-marquee-speed, 40s) linear infinite;
}
.vh-marquee:hover .vh-marquee-track {
    animation-play-state: paused; /* pause au survol */
}
.vh-marquee-track li.product {
    flex: 0 0 auto;
    width: 280px !important;
    margin: 0 1.5rem 0 0 !important;
    padding: 0 !important;
    float: none !important;
    clear: none !important;
}
@keyframes vh-marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* la liste est doublée -> boucle sans couture */
}
@media (max-width: 768px) {
    .vh-marquee-track li.product {
        width: 62vw !important;      /* ~1,6 produit visible */
        margin-right: 1rem !important;
    }
}

/* ==========================================================================
   WIDGET PRODUIT UNIQUE (shortcode [verola_produit]) — accueil
   Réutilise tout le style .single-product ; ici juste la mise en page.
   ========================================================================== */
.vh-product-widget {
    max-width: 1200px;
    margin: 3rem auto;
}
.vh-product-widget .product {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    align-items: flex-start;
}
.vh-product-widget .product::before,
.vh-product-widget .product::after { content: none; } /* neutralise le clearfix float */
.vh-product-widget .vh-product-widget__images {
    flex: 1 1 48%;
    min-width: 320px;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}
/* ---- Galerie maison du widget ---- */
.vh-wg { width: 100%; }
.vh-wg-viewport {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
}
.vh-wg-track {
    display: flex;
    align-items: flex-start;
    transition: transform 0.3s ease;
}
.vh-wg-slide {
    flex: 0 0 100%;
}
/* Chaque média s'affiche entier, dans son propre format (pas de recadrage,
   pas de vide) ; la hauteur du cadre s'adapte à l'image active (voir JS),
   sans jamais dépasser 900px. */
.vh-wg-slide img,
.vh-wg-slide video {
    width: 100% !important;
    height: auto !important;
    max-height: 900px;
    object-fit: contain;
    display: block;
}
.vh-wg-viewport {
    max-height: 900px;
    transition: height 0.3s ease;
}
/* Flèches (desktop) */
.vh-wg-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 52px;
    height: 52px;
    border: none;
    background: transparent;      /* fond transparent */
    color: var(--vh-pink);        /* chevron rose */
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, transform 0.15s ease;
}
.vh-wg-arrow svg {
    width: 40px;                  /* icône plus grosse */
    height: 40px;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}
.vh-wg-arrow:hover { color: #ec6f9b; }
.vh-wg-prev { left: 4px; }
.vh-wg-next { right: 4px; }

/* Miniatures — nettes, en grille */
.vh-wg-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
    margin-top: 0.75rem;
}
.vh-wg-thumb {
    position: relative;
    padding: 0;
    border: none;              /* pas de bordure, même sélectionnée */
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: none;
    aspect-ratio: 3 / 4;       /* format portrait */
}
.vh-wg-thumb img,
.vh-wg-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.vh-wg-thumb.is-active { border: none; }
/* Miniatures vidéo plus grandes que les photos (2×2 dans la grille) */
.vh-wg-thumb--video {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}
/* Desktop : on n'affiche QUE les miniatures vidéo (pas les photos) */
.vh-wg-thumb:not(.vh-wg-thumb--video) { display: none; }

/* Sur mobile : pas de flèches (on swipe), miniatures un peu plus petites */
@media (max-width: 768px) {
    .vh-wg-arrow { display: none; }
    /* Mobile : aucune miniature (on swipe la grande image) */
    .vh-wg-thumbs { display: none; }
}
.vh-product-widget .summary.entry-summary {
    flex: 1 1 45%;
    min-width: 300px;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
}
/* Pas de fil d'Ariane dans le widget */
.vh-product-widget .woocommerce-breadcrumb { display: none; }

@media (max-width: 768px) {
    .vh-product-widget .product { gap: 1.5rem; }
    .vh-product-widget .vh-product-widget__images,
    .vh-product-widget .summary.entry-summary { flex-basis: 100%; }
}

/* ==========================================================================
   FICHE PRODUIT â€” Mise en page (galerie gauche / infos droite)
   ========================================================================== */

/* CatÃ©gorie au-dessus du titre (ex: "Perruques") */
.single-product .vh-product-category {
    color: var(--vh-pink);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 0.5rem;
    display: block;
}

/* Badges PREMIUM / BEST-SELLER */
.vh-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}
.vh-badge {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    text-transform: uppercase;
}
.vh-badge--premium {
    background: var(--vh-black);
    color: #fff;
}
.vh-badge--bestseller {
    background: var(--vh-pink-soft);
    color: var(--vh-black);
}

/* Titre produit */
.single-product .product_title {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.15;
    color: var(--vh-black);
    margin-bottom: 0.75rem;
}

/* Prix (Astra le force en gris : on remet du noir) */
.single-product div.product .summary .price,
.single-product .summary .price,
.single-product .summary .price .woocommerce-Price-amount,
.single-product .summary .price bdi,
.single-product .summary .price ins,
.single-product .summary .price .amount {
    color: var(--vh-black) !important;
}
.single-product .summary .price {
    font-size: 1.8rem;
    font-weight: 700;
}

/* Bouton ajouter au panier */
.single-product .single_add_to_cart_button {
    background: var(--vh-pink) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
    padding: 1rem 2rem !important;
    width: 100%;
    transition: background 0.2s ease;
}
.single-product .single_add_to_cart_button:hover {
    background: #ec6f9b !important;
}

/* SÃ©lecteurs de variations (Longueur, DensitÃ©) en boutons faÃ§on "pilules" */
.single-product .variations td.value {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ==========================================================================
   ONGLETS PRODUIT (Description / Conseil d'entretien)
   ========================================================================== */
.woocommerce-tabs .tabs {
    padding-left: 0;
    display: flex;
    gap: 1.5rem;
}
.woocommerce-tabs .tabs li {
    list-style: none;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.woocommerce-tabs .tabs li a {
    color: var(--vh-muted);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid transparent;
}
.woocommerce-tabs .tabs li.active a {
    color: var(--vh-black);
    border-bottom-color: var(--vh-black);
}
/* Retirer la ligne rose au-dessus de l'onglet actif (style maquette) */
.single-product .woocommerce-tabs ul.tabs li.active::before,
.single-product .woocommerce-tabs ul.tabs li::before {
    display: none !important;
    background: transparent !important;
}

/* Onglets placés dans la colonne de droite, sous la réassurance */
.single-product .summary .woocommerce-tabs {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vh-border);
    clear: both;
}
.single-product .summary .woocommerce-tabs .panel {
    margin-top: 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--vh-text);
}

/* --- « Voir plus / Voir moins » --- */
.vh-readmore .vh-readmore-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.25s ease;
}
.vh-readmore.vh-collapsed .vh-readmore-content {
    max-height: 150px;
}
/* Dégradé de fondu en bas quand c'est replié */
.vh-readmore.vh-collapsed .vh-readmore-content::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3.5em;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}
.vh-readmore-btn {
    display: inline-block;
    margin-top: 0.75rem;
    background: none;
    border: none;
    padding: 0;
    color: var(--vh-black);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: underline;
    cursor: pointer;
}
.vh-readmore-btn:hover { color: var(--vh-pink); }

/* Bloc "rÃ©assurance" sous le bouton (Cheveux premium, Livraison, etc.) */
.vh-reassurance {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem 2rem;
    margin: 1.5rem 0;
    padding-top: 1.5rem;
    border-top: 1px solid var(--vh-border);
}
.vh-reassurance-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--vh-text);
}
.vh-reassurance-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--vh-pink);
    flex-shrink: 0;
}

/* ==========================================================================
   FIL D'ARIANE (en haut, au-dessus des deux colonnes)
   ========================================================================== */
.single-product .woocommerce-breadcrumb {
    font-size: 0.8rem;
    color: var(--vh-muted);
    margin-bottom: 1.5rem;
    text-transform: none;
}
/* On ne garde que le fil d'Ariane du haut : on masque celui de la colonne
   de droite (dans le résumé produit). */
.single-product .summary .woocommerce-breadcrumb {
    display: none;
}
.single-product .woocommerce-breadcrumb a {
    color: var(--vh-muted);
}
.single-product .woocommerce-breadcrumb a:hover {
    color: var(--vh-black);
}

/* ==========================================================================
   NOTE (étoiles + 4.x/5 + nombre d'avis)
   ========================================================================== */
.vh-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: -0.25rem 0 1rem;
}
.vh-rating .star-rating {
    font-size: 0.95rem;
    color: var(--vh-pink);
    margin: 0;
}
.vh-rating .star-rating::before { color: #d9d9d9; }
.vh-rating .star-rating span::before { color: var(--vh-pink); }
.vh-rating-score {
    font-weight: 700;
    color: var(--vh-black);
    font-size: 0.9rem;
}
.vh-rating-count {
    color: var(--vh-muted);
    font-size: 0.85rem;
    text-decoration: underline;
}

/* ==========================================================================
   PRIX + KLARNA
   ========================================================================== */
.single-product .summary > .price {
    margin: 0 0 0.35rem;
}
.single-product .summary > .price del { opacity: 0.5; font-size: 1.1rem; }
.single-product .summary > .price ins { text-decoration: none; }

.vh-klarna {
    color: var(--vh-muted);
    font-size: 0.9rem;
    margin: 0 0 1.25rem;
}
.vh-klarna strong { color: var(--vh-text); font-weight: 700; }
.vh-klarna-brand { color: var(--vh-pink); font-weight: 700; }

/* Le prix de la variation dans le formulaire est masqué :
   on affiche un prix unique sous le titre (mis à jour en JS). */
.single-product .woocommerce-variation-price { display: none; }
.single-product .woocommerce-variation-availability { margin-top: 0.5rem; }

/* Description courte */
.single-product .woocommerce-product-details__short-description {
    color: var(--vh-text);
    font-size: 0.98rem;
    line-height: 1.6;
    padding-bottom: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--vh-border);
}

/* ==========================================================================
   SÉLECTEURS DE VARIATION (Longueur, Densité…) — pilules
   ========================================================================== */
.single-product .variations {
    border: none;
    margin-bottom: 0.5rem;
}
.single-product .variations tr,
.single-product .variations td,
.single-product .variations th {
    display: block;
    border: none;
    padding: 0;
    background: none;
}
.single-product .variations tr { margin-bottom: 2rem; }
.single-product .variations th.label {
    font-weight: 500 !important;
    color: var(--vh-black);
    font-size: 0.95rem;
    margin-bottom: 0.9rem;
    text-transform: none;
}
/* Le texte est dans un <label> interne (mis en 700 par le plugin) + la valeur
   sélectionnée dans .woo-selected-variation-item-name (600). On force 500. */
.single-product .variations th label,
.single-product .variations td label,
.single-product .variations .woo-variation-item-label,
.single-product .variations .woo-selected-variation-item-name {
    font-weight: 500 !important;
    color: var(--vh-black);
}

/* Pastilles woo-variation-swatches (type bouton) */
.single-product .variable-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}
.single-product ul.variable-items-wrapper li.variable-item,
.single-product .variable-items-wrapper .variable-item {
    margin: 0 !important;
    min-width: 48px;
    width: auto !important;
    height: 42px !important;
    padding: 0 1.15rem !important;
    border: 1px solid var(--vh-border) !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--vh-text);
    font-weight: 500 !important;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.single-product .variable-items-wrapper .variable-item:hover {
    border-color: var(--vh-black) !important;
}
.single-product .variable-items-wrapper .variable-item.selected,
.single-product .variable-items-wrapper .variable-item[aria-checked="true"] {
    background: var(--vh-black) !important;
    border-color: var(--vh-black) !important;
    color: #fff !important;
}
.single-product .variable-items-wrapper .variable-item .variable-item-span {
    color: inherit !important;
    font-weight: 500 !important;
    line-height: 1.1;
}
.single-product .variable-items-wrapper .variable-item.selected .variable-item-span {
    color: #fff !important;
}
/* Lien "réinitialiser" sous les variations */
.single-product .reset_variations {
    display: inline-block;
    margin: 1rem 0 0.5rem;
    font-size: 0.8rem;
    color: var(--vh-muted);
}

/* ==========================================================================
   QUANTITÉ (− / nombre / +)
   ========================================================================== */
.single-product form.cart .quantity {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid var(--vh-border);
    border-radius: 999px;
    overflow: hidden;
    height: 48px;
    margin: 0 0 1.25rem;
}
.single-product form.cart .quantity .vh-qty-btn {
    width: 46px;
    border: none;
    background: #fff;
    color: var(--vh-black);
    font-size: 1.2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    transition: background 0.15s ease;
}
.single-product form.cart .quantity .vh-qty-btn:hover { background: var(--vh-pink-soft); }
.single-product form.cart .quantity input.qty {
    width: 48px;
    border: none;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    background: #fff;
    -moz-appearance: textfield;
    padding: 0;
}
.single-product form.cart .quantity input.qty::-webkit-outer-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none; margin: 0;
}
.single-product form.cart .quantity::before { content: "Quantité"; }
.single-product form.cart .quantity {
    position: relative;
}
/* Label "Quantité" au-dessus du sélecteur */
.single-product form.cart .quantity::before {
    position: absolute;
    top: -1.6rem;
    left: 0;
    font-weight: 700;
    color: var(--vh-black);
    font-size: 0.95rem;
    white-space: nowrap;
}
.single-product form.cart { margin-top: 2rem; }

/* ==========================================================================
   GALERIE — mobile : grande image + swipe, sans miniatures
   ========================================================================== */
.single-product .woocommerce-product-gallery {
    position: relative;
}
.single-product .woocommerce-product-gallery__trigger {
    z-index: 5;
}


/* ==========================================================================
   MINIATURES VIDÉO QUI TOURNENT
   ========================================================================== */
/* Vidéo qui remplit la miniature */
.vh-thumb-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: inherit;
    pointer-events: none; /* le clic traverse vers la miniature (sélection du slide) */
}
/* Miniature "bloc" : conteneur en position relative pour caler la vidéo */
.vwg-block-thumbnail-video {
    position: relative;
    overflow: hidden;
}
.vwg-block-thumbnail-video .vh-thumb-video {
    position: absolute;
    inset: 0;
}
/* On garde une petite pastille ▶ visible par-dessus la vidéo */
.vwg-block-thumbnail-video .vwg-block-play-icon {
    z-index: 2;
}
/* Miniature fiche produit (flexslider) : vidéo posée par-dessus l'image */
.single-product .flex-control-thumbs li.vh-thumb-video-item {
    position: relative;
    overflow: hidden;
}
.single-product .flex-control-thumbs li.vh-thumb-video-item .vh-thumb-video {
    position: absolute;
    inset: 0;
    z-index: 1;
}
/* Tissages : miniature vidéo à 288px de haut (perruques non concernées) */
.single-product [class*="product_cat-tissage"] .flex-control-thumbs li.vh-thumb-video-item {
    height: 288px !important;
}
.single-product [class*="product_cat-tissage"] .flex-control-thumbs li.vh-thumb-video-item .vh-thumb-video {
    object-fit: cover;
}

/* ==========================================================================
   MINIATURES FICHE PRODUIT (desktop) — plus visibles et plus grandes
   ========================================================================== */
/* Astra grise les miniatures (opacity .5) : on les rend bien visibles. */
.single-product .flex-control-thumbs li img,
.single-product .flex-control-thumbs li .vh-thumb-video {
    opacity: 1 !important;
}
/* Grille robuste (gère l'élément masqué de la photo active sans casser
   l'alignement) + miniatures un peu plus grandes : 3 par ligne. */
.single-product .flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75em;
    overflow: visible;
}
.single-product .flex-control-thumbs li {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    border-radius: 8px;
    overflow: hidden;
}
.single-product .flex-control-thumbs li img {
    width: 100%;
    display: block;
    border-radius: 8px;
}

/* ==========================================================================
   MASQUER LA MINIATURE DE LA PHOTO ACTUELLEMENT AFFICHÉE
   -------------------------------------------------------------------------
   La vignette de l'image vue en grand disparaît de la liste ; dès qu'on
   change d'image, l'ancienne réapparaît et la nouvelle se masque (géré
   automatiquement par les classes "active" des galeries).
   ========================================================================== */

/* Fiche produit (flexslider) : la vignette active porte img.flex-active */
.single-product .flex-control-thumbs li:has(img.flex-active) {
    display: none;
}

/* Galerie "bloc" (accueil) : la vignette active porte la classe --is-active */
.wc-block-product-gallery-thumbnails__thumbnail:has(
    img.wc-block-product-gallery-thumbnails__thumbnail__image--is-active
) {
    display: none;
}

/* ==========================================================================
   BLOC AVIS (sous la fiche, avant produits similaires)
   ========================================================================== */
/* Bloc avis : bande beige sur toute la largeur de l'écran.
   La couleur est peinte via box-shadow étendu + clip-path (pas de marges
   négatives / 100vw), donc pas de débordement ni de scroll horizontal.
   Le reste de la page reste blanc. */
.vh-reviews {
    clear: both;
    width: 100%;
    background: #FAF8F6;
    padding: 3rem 0;
    margin: 3rem 0 0; /* pas de blanc sous les avis : la bande continue */
    box-shadow: 0 0 0 100vmax #FAF8F6;
    clip-path: inset(0 -100vmax);
}

/* La section "Produits similaires" continue la même bande beige */
.single-product .related.products,
.single-product section.up-sells.products {
    clear: both;
    background: #FAF8F6;
    padding: 3rem 0;
    margin: 0 0 3rem;
    box-shadow: 0 0 0 100vmax #FAF8F6;
    clip-path: inset(0 -100vmax);
}
.vh-reviews-inner {
    max-width: 850px;
    margin: 0 auto;
}
.vh-reviews-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.vh-reviews-title {
    font-size: 1.6rem;
    color: var(--vh-black);
    margin: 0;
}
.vh-reviews-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--vh-black);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.25rem;
}
.vh-reviews-chevron {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}
.vh-reviews.vh-form-open .vh-reviews-chevron { transform: rotate(180deg); }

/* Carte blanche */
.vh-reviews-card {
    background: #fff;
    border: 1px solid var(--vh-border);
    border-radius: 14px;
    padding: 2.5rem;
}

/* État vide (aucun avis) */
.vh-reviews-empty {
    text-align: center;
    padding: 1rem 0;
}
.vh-reviews-stars {
    display: flex;
    justify-content: center;
    gap: 0.35rem;
    color: var(--vh-black);
    margin-bottom: 1rem;
}
.vh-reviews-stars svg { width: 26px; height: 26px; }
.vh-reviews-empty-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--vh-black);
    margin: 0 0 0.5rem;
}
.vh-reviews-empty-text {
    color: var(--vh-muted);
    margin: 0 0 1.5rem;
}
.vh-leave-review-btn,
.vh-reviews .comment-form .submit {
    background: var(--vh-pink);
    color: #fff !important;
    border: none;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    padding: 0.9rem 2rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.vh-leave-review-btn:hover,
.vh-reviews .comment-form .submit:hover { background: #ec6f9b; }

/* Le formulaire d'avis est masqué tant qu'on n'a pas cliqué */
.vh-reviews .woocommerce-noreviews { display: none; }
.vh-reviews #review_form_wrapper { display: none; margin-top: 1.5rem; }
.vh-reviews.vh-form-open #review_form_wrapper { display: block; }
/* Quand le formulaire est ouvert, on masque l'invitation "état vide" */
.vh-reviews.vh-form-open .vh-reviews-empty { display: none; }

@media (max-width: 768px) {
    .vh-reviews-card { padding: 1.5rem; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 768px) {
    .single-product .product_title { font-size: 1.8rem; }
    .vh-reassurance { grid-template-columns: 1fr 1fr; }

    /* Galerie : on masque les miniatures, grande image swipeable */
    .single-product .flex-control-thumbs,
    .single-product .woocommerce-product-gallery .flex-control-nav {
        display: none !important;
    }
    .single-product .woocommerce-product-gallery {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .vh-reassurance { grid-template-columns: 1fr; }
}