/*
Theme Name: SteelThemes Nest Grown Child
Theme URI: https://lehealthystore.ma/
Description: Environnement de test basé sur le thème SteelThemes Nest
Author: Anas Ait Khali
Template: steelthemes-nest
Version: 1.0
Text Domain: steelthemes-nest-grown-child
*/
/* Styles pour la barre de progression de livraison gratuite */
.free-shipping-progress-bar {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.free-shipping-progress-bar p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.free-shipping-progress-bar .progress {
    background-color: #e9ecef;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.free-shipping-progress-bar .progress-bar {
    background-color: #28a745;
    height: 10px;
    transition: width 0.4s ease;
}

/* Styles pour rendre la page de validation de commande responsive */
@media only screen and (max-width: 768px) {
    /* Formulaire de facturation */
    .woocommerce-checkout .col2-set {
        display: block;
        width: 100%;
        margin: 0;
    }

    .woocommerce-checkout .col2-set .col-1,
    .woocommerce-checkout .col2-set .col-2 {
        width: 100%;
        margin-bottom: 20px;
    }

    /* Ajuster les zones de texte et d'input */
    .woocommerce-checkout input[type="text"],
    .woocommerce-checkout input[type="email"],
    .woocommerce-checkout textarea {
        width: 100%;
        padding: 10px;
        font-size: 16px;
    }

    /* Section récapitulatif de la commande */
    .woocommerce-checkout .woocommerce-checkout-review-order {
        width: 100%;
        margin-top: 20px;
    }

    .woocommerce-checkout-review-order table.shop_table {
        width: 100%;
        font-size: 16px;
    }

    .woocommerce-checkout-review-order table.shop_table td {
        padding: 10px;
    }

    /* Bouton de retour au panier */
    .woocommerce-checkout .return-to-cart-button {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
    }

    /* Ajout de padding et ajustement du bouton 'Commander' */
    .woocommerce-checkout #place_order {
        width: 100%;
        padding: 15px;
        font-size: 18px;
    }
}
/* Styles pour la barre de progression de livraison gratuite */
.free-shipping-progress-bar {
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.free-shipping-progress-bar p {
    margin: 0 0 10px;
    font-size: 14px;
    color: #333;
}

.free-shipping-progress-bar .progress {
    background-color: #e9ecef;
    border-radius: 5px;
    height: 10px;
    overflow: hidden;
}

.free-shipping-progress-bar .progress-bar {
    background-color: #28a745;
    height: 10px;
    transition: width 0.4s ease;
}

/* Style du bouton retour au panier */
.return-to-cart-button {
    background-color: #c4d600;
    color: #ffffff;
    padding: 10px 20px;
    text-align: center;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: block;
}

/* Ajuster la section de paiement */
.woocommerce-checkout-payment {
    clear: both;
    padding: 10px;
}

/* ============================
   FIX Lighthouse "Font display"
   Force font-display: swap
   ============================ */

/* ---- Font Awesome 5 ---- */
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 400;       /* Regular */
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 5 Free';
  font-style: normal;
  font-weight: 900;       /* Solid */
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 5 Brands'; /* fa-brands-400 */
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ---- (au cas où) Font Awesome 6 ---- */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

/* ---- Variantes nommées par certains thèmes/plugins ---- */
@font-face { font-family: 'FontAwesome';   font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'fa-brands-400'; font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'fa-solid-900';  font-style: normal; font-weight: 900; font-display: swap; }

/* ---- Icônes WooCommerce & autres packs ---- */
@font-face { font-family: 'WooCommerce'; font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: 'icons';       font-style: normal; font-weight: 400; font-display: swap; }

/* (optionnel) si ton thème expose "woocommerce" en minuscule */
@font-face { font-family: 'woocommerce'; font-style: normal; font-weight: 400; font-display: swap; }

