/*
Theme Name: Savory Child
Theme URI: https://savory.qodeinteractive.com
Description: A child theme of Savory Theme
Author: Elated Themes
Author URI: https://themeforest.net/user/elated-themes
Version: 1.0.3
Template: savory
Text Domain: savory
*/

/* === Fiche Chèque cadeaux === */

/* Colonne des libellés identique pour Montant et Destinataire */
.postid-38271 table.variations th.label,
.postid-38271 .woo-vou-recipient-fields td.label:not([colspan]) {
    width: 210px !important;
    min-width: 210px;
    box-sizing: border-box;
    padding: 0 15px 0 0 !important;
    vertical-align: middle;
}
.postid-38271 table.variations td.value { padding: 10px 0 !important; }
.postid-38271 table.variations td.value,
.postid-38271 .woo-vou-recipient-fields td.label:not([colspan]) + td.value {
    width: 100%;
    text-align: left !important;
    padding-left: 0 !important;
}

/* Libellé montant au même style que "Destinataire" */
.postid-38271 table.variations th.label label {
    font-size: 15px;
    text-transform: none;
    letter-spacing: normal;
}

/* Liste des montants et champ Destinataire : même largeur, alignés */
.postid-38271 table.variations .select2-container { width: 250px !important; }
.postid-38271 table.variations .select2-container .select2-selection { width: 100% !important; }
.postid-38271 .woo-vou-recipient-fields .woo-vou-recipient-details { width: 250px !important; }

/* Masque le prix affiché sous la liste après sélection */
.postid-38271 .single_variation_wrap .woocommerce-variation-price { display: none !important; }

/* Visuels carrés et centrés */
.postid-38271 .woo-vou-preview-template-img-wrap {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 5px 0 15px !important;
}
.postid-38271 .woo-vou-preview-template-img-wrap .woo-vou-image-wrap {
    float: none !important;
    width: 150px !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
}
.postid-38271 .woo-vou-preview-template-img-wrap .woo-vou-preview-template-img {
    display: block;
    width: 150px !important;
    height: 150px !important;
    max-width: none;
    object-fit: cover;
}
/* Icône loupe replacée en bas à droite du carré */
.postid-38271 .woo-vou-preview-template-img-wrap .woo-vou-view-preview-template-img {
    top: auto !important;
    left: auto !important;
    right: 6px !important;
    bottom: 6px !important;
    background: #fff;
    border-radius: 2px;
    padding: 3px;
}

/* Espace sous le contenu du chèque cadeaux */
.postid-38271 .eltd-content-inner > .eltd-container > .eltd-container-inner {
    padding-bottom: 100px;
}

/* Détails de la commande : pas de puces dans le tableau */
.woocommerce-order-details table ul,
.woocommerce-order-details table ul li {
    list-style: none !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
.woocommerce-order-details table ul li::before {
    display: none !important;
}
.woocommerce-order-details table ul li p {
    display: inline;
    margin: 0;
}