/**
* Theme Name: Furnob Child
* Description: This is a child theme of Furnob, generated by Merlin WP.
* Author: <a href="http://themeforest.net/user/KlbTheme">KlbTheme (Sinan ISIK)</a>
* Template: furnob-premium
* Version: 1.5.6
*/

/*
 * Galerie produit : avant l'initialisation du carrousel (JS différé), WooCommerce affiche
 * toutes les photos empilées puis les regroupe => gros décalage de mise en page (CLS).
 * Tant que la galerie n'est pas initialisée (pas encore de .flex-viewport), on n'affiche
 * que la 1re photo et on réserve la place de la rangée de miniatures (6 colonnes + 15px).
 */
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper > .woocommerce-product-gallery__image:nth-child(n+2) {
    display: none;
}
.woocommerce-product-gallery > .woocommerce-product-gallery__wrapper:has(> .woocommerce-product-gallery__image:nth-child(2)) {
    margin-bottom: calc(100% / 6 + 15px);
}

/* Élargit la colonne "Envio" du récapitulatif de commande */
.woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping td {
    width: auto;
    max-width: none;
    white-space: normal;
}

/* Agrandit le texte du message d'alerte */
.woocommerce-no-shipping-available-html,
span.woocommerce-no-shipping-available-html {
    display: block;
    font-size: 1rem;      /* ajuste selon le rendu souhaité, ex: 0.95rem, 1.1rem */
    line-height: 1.5;
    color: #ff0000;       /* rouge d'alerte classique, conservé : signal de danger/erreur universel */
}

/* Page produit : dimensions avec icônes sous la galerie (voir functions.php) */
.timosa-dimensions {
    display: flex;
    justify-content: space-around;
    gap: 12px;
    margin: 20px 0 10px;
    padding: 0;
    list-style: none;
}
.timosa-dimensions__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.875rem;
    line-height: 1.3;
}
.timosa-dimensions__icon {
    display: block;
    width: 28px;
    height: 28px;
    margin-bottom: 6px;
    color: var(--color-primary);
}
.timosa-dimensions__icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
