.spinner{
    background: url(images/spinner.gif) no-repeat;
    background-size: 20px 20px;
    display: inline-block;
     visibility: hidden; 
    /*float: right;*/
    vertical-align: middle;
    opacity: .7;
    width: 20px;
    height: 20px;
    margin: 4px 10px 0;
}


.zone-element,.distance-element,.shipping-cost {
    /*display: none;*/
}
#my_data, .my_data{
    display: none;
}

.my_data th,td, .fee th,td {
    font-family: "Poppins";
    color:black !important;
    font-weight: 400 !important;
}
#delivery_cost, #total_shipping_cost, #shipping_calc_tva_text, #shipping_calc_tva, .cart-subtotal td, .order-total td{
    font-weight: 600 !important;
    color:#324A6D !important;
}

.shipping{
    /*due to this, +5 to the total */
    display: none !important;
}
.fee{
    display: none;
}
.tax-rate{
    /*display: none;  */
}
.hide_expedition_or_shipping{
    display: none;
}
/* CSS for loader */
.shipping-calc-loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}
.shipping-calc-loading-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
}

.shipping-calc-loading-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.shipping-calc-dot {
    width: 10px;
    height: 10px;
    background-color: #f39c12; /* Change to your desired color */
    border-radius: 50%;
    margin: 0 5px;
    opacity: 0;
    animation: shipping-calc-blink .6s infinite;
}

.shipping-calc-dot-1 {
    animation-delay: 0.2s;
}

.shipping-calc-dot-2 {
    animation-delay: 0.4s;
}

.shipping-calc-dot-3 {
    animation-delay: 0.6s;
}

@keyframes shipping-calc-blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.address-message{
    font-family: "Poppins";
    color: #233a40;
}


/*
#place_order {
    pointer-events: none;
    cursor: not-allowed;
    opacity: 0.5;
}
*/
/* Optional: Style for the "not-allowed" cursor */
/*#place_order:hover {
    cursor: not-allowed;
}*/

.pac-container:after {
    content: none !important;
}

.pac-item-query {
    font-family: 'Roboto','sans-serif' !important;
}

.pac-item {
    font-family: 'Roboto','sans-serif' !important;
    
}

.woocommerce-terms-and-conditions-checkbox-text {
  cursor: pointer;
}
/* v2.10.13 — Sur panier container uniquement, masquer la ligne "Expédition" WooCommerce
   car le plugin affiche ses propres lignes de livraison.
   SAUF si des accessoires WBS sont aussi dans le panier : dans ce cas on garde la ligne
   pour afficher les frais WBS. On masque uniquement le label "Expédition" mais pas les frais. */
.sc-has-container tr.woocommerce-shipping-totals.shipping th {
    display: none;
}
.sc-has-container tr.woocommerce-shipping-totals.shipping {
    display: table-row !important;
}
.sc-has-container tr.woocommerce-shipping-totals.shipping ul.woocommerce-shipping-methods {
    list-style: none;
    padding: 0;
    margin: 0;
}
.sc-has-container tr.woocommerce-shipping-totals.shipping input[type="radio"] {
    display: none;
}

/* v2.10.16 — Masquer la liste de produits dans les packages d'expédition */
.woocommerce-checkout .woocommerce-shipping-contents {
    display: none !important;
}
/* Masquer le titre vide du package container */
.woocommerce-checkout th.woocommerce-shipping-destination:empty {
    display: none !important;
}
.woocommerce-checkout tr.woocommerce-shipping-totals:has(th:empty) th {
    display: none !important;
}

/* v2.10.17 — Masquer les lignes Expédition WooCommerce natives sur panier container
   (le plugin affiche ses propres lignes structurées à la place) */
.sc-has-container tr.woocommerce-shipping-totals.shipping {
    display: none !important;
}

/* Masquer la liste de produits dans les packages */
.woocommerce-checkout .woocommerce-shipping-contents {
    display: none !important;
}

/* Style section livraison du plugin */
.my-custom-shipping-details tr.my_data th {
    font-weight: normal;
    color: #333;
}
.my-custom-shipping-details tr.sc-subtotal-livraison th,
.my-custom-shipping-details tr.sc-subtotal-livraison td {
    font-weight: bold;
    border-top: 1px solid #e0e0e0;
    padding-top: 8px;
}

/* v2.10.25 — Masquer l'option "Sur devis" dans la liste des méthodes WBS
   sur les paniers accessoires (sans container).
   Sur panier container, toute la ligne .shipping est déjà masquée via .sc-has-container.
   v2.10.30 — Exception : paniers "sur devis" (ex: Boxwell, classe "devis") où
   "Sur devis" est la SEULE méthode voulue, sans aucun calcul automatique. */
.woocommerce-checkout:not(.sc-has-container):not(.sc-has-quote) .woocommerce-shipping-methods li:has(label[for*="flat_rate"]) {
    display: none !important;
}
