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

/* Police du prix : Nunito Sans ExtraBold (alternative gratuite a Anago Bold) */
.price,
.woocommerce-Price-amount {
    font-family: 'Nunito Sans', sans-serif !important;
    font-weight: 800 !important;
}

/* Prix plus grands dans le panier */
.woocommerce-cart .woocommerce-Price-amount,
.woocommerce-cart .product-subtotal .amount,
.woocommerce-cart td.product-price .amount {
    font-size: 18px !important;
}

/* Prix principal plus grand, uniquement sur la fiche produit */
.single-product .product-price .price .woocommerce-Price-amount {
    font-size: 52px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
}

/* Bouton wishlist sur la fiche produit : empecher le retour a la ligne */
.single-product .product-actions .wishlist.klbwl-btn {
    font-size: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
}
.single-product .product-actions .wishlist.klbwl-btn:before {
    font-size: 28px !important;
    margin-right: 0 !important;
}

/* Masquer la barre de menu secondaire (Nos categories + menu principal) */
.header-nav {
    display: none !important;
}

/* Masquer la ligne vide restante dans le panier (coupon desactive) */
.woocommerce-cart-form td.actions {
    display: none !important;
}
.woocommerce-cart-form tr:has(td.actions) {
    display: none !important;
}


/* ===================================================== */
/* ===== DEBUT ADDITIONAL CSS MIGREE (ex-Customizer) ===== */
/* ===================================================== */
.site-header .header-nav .site-menu .menu > li > a:hover {
    color: #1a6fba;
}



.site-header .header-addons-icon .button-count, .site-footer .footer-newsletter .site-newsletter .subscribe-form button {
    background-color: #1a6fba;
    color: white;
}

span.swiper-pagination-bullet-active {
    background: #1a6fba;
}


.site-header .discount-products .discount-banner {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    height: 54px;
    cursor: pointer;
    display: none;
}


.widget_media_image{
	display: none !important;
}

.input-search-addon{
	display: none !important;
}


form.search-form select.form-select, form.search-form input.form-control {
    border: 1px solid var(--color-form-border);
    border-top-left-radius: 6px!important;
    border-bottom-left-radius: 6px !important;
}


.product-footer{
	display: none!important;
}

.product-content-fade{
	display: none!important;
}



.order-review-wrapper .woocommerce-checkout-payment .woocommerce-privacy-policy-text p {
    font-size: 0.8125rem;
    line-height: 1.6;
    display: none!important;
}

.widget_product_status{
	display: none!important;
}
.single-product-wrapper .product-actions a.klbcp-btn {
    margin-left: 1.25rem;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: none!important;
}

.single-product-wrapper .product-message.warning {
    color: #1a6fba;
    background-color: #fffcf2;
    border: 1px solid #faeecf;
    display: none!important;
}

.site-social ul {
    display: none!important;
}


.entry-published a{
	display: none!important;
}

@media (max-width: 768px) {

  .footer-widgets {
    display: flex;
    flex-wrap: wrap;
  }

  /* First two columns */
  .footer-widgets .col-12:nth-child(1),
  .footer-widgets .col-12:nth-child(2) {
    width: 100%!important;
  }

  /* Last two columns in one row */
  .footer-widgets .col-12:nth-child(3),
  .footer-widgets .col-12:nth-child(4) {
    width: 50%!important;
  }

}

.col-12:nth-child(2) {
    margin-top: 20px!important;
}

.col-12:nth-child(4) {
    margin-top: 20px!important;
}


.product-trust-image {
    margin: 15px 0;
}

.product-trust-image img {
    width: 70% !important;
    max-width: 100% !important;
    height: auto;
    display: block;
	border-radius: 5px;
	
}



.elementor-section.section-stretched { max-width: 100% !important; left: 0 !important; }
.elementor-widget-machic-home-slider .machic-home-slider,
.elementor-widget-machic-home-slider .slick-slider,
.elementor-widget-machic-home-slider .slick-list,
.elementor-widget-machic-home-slider img { width: 100% !important; max-width: 100% !important; object-fit: cover; }

.elementor-element-04d99c7 .elementor-column,
.elementor-element-04d99c7 .elementor-widget-container,
.elementor-element-04d99c7 .msf-carousel {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
}
.elementor-element-04d99c7 {
  margin: 0 !important;
  padding: 0 !important;
}
/* === Couleur bleue logo === */
:root {
    --color-primary: #1a6fba;
    --color-secondary: #1a6fba;
    --color-link: #1a6fba;
    --color-shop-button: #1a6fba;
    --color-shop-button-active: #155a9a;
}
a { color: #1a6fba; }
a:hover { color: #155a9a; }
.btn.primary,
.button.primary,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
.single_add_to_cart_button,
.checkout-button {
    background-color: #1a6fba !important;
    border-color: #1a6fba !important;
    color: #fff !important;
}
.btn.primary:hover,
.button.primary:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.single_add_to_cart_button:hover,
.checkout-button:hover {
    background-color: #155a9a !important;
    border-color: #155a9a !important;
}
.site-header .header-addons-icon .button-count,
.site-footer .footer-newsletter .site-newsletter .subscribe-form button {
    background-color: #1a6fba !important;
}
.site-header .header-nav .site-menu .menu > li > a:hover,
.site-header .header-nav .site-menu .menu > li.current-menu-item > a {
    color: #1a6fba !important;
}
span.swiper-pagination-bullet-active {
    background: #1a6fba !important;
}
.star-rating span::before,
.woocommerce .star-rating span::before { color: #f0b90b; }


.woocommerce-mini-cart__buttons a.checkout:hover,
p.woocommerce-mini-cart__buttons.buttons a:hover {
    background-color: #155a9a !important;
    border-color: #155a9a !important;
}


/* Bouton Commander (checkout uniquement) */
.woocommerce-mini-cart__buttons a.checkout,
p.woocommerce-mini-cart__buttons.buttons a.checkout,
.side-cart-footer a.checkout,
a.checkout.button {
    background-color: #1a6fba !important;
    border-color: #1a6fba !important;
    color: #fff !important;
}
.woocommerce-mini-cart__buttons a.checkout:hover,
p.woocommerce-mini-cart__buttons.buttons a.checkout:hover {
    background-color: #155a9a !important;
    border-color: #155a9a !important;
}



/* Titre page panier */
h2.cart-page-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #111;
}

/* Prix mini-cart en noir */
.cart-dropdown .products .product .product-price {
    color: #111 !important;
}
.cart-dropdown .products .product .woocommerce-Price-amount {
    color: #111 !important;
}

/* Sous-total mini-cart en noir */
.cart-dropdown .cart-subtotal-price,
.cart-dropdown .woocommerce-Price-amount,
.fl-mini-cart-content .woocommerce-Price-amount {
    color: #111 !important;
}




/* Boutons pill (coins arrondis) */
.btn,
a.btn,
button.btn,
.button,
a.button,
button.button,
input[type='submit'],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.single_add_to_cart_button,
.checkout-button,
.woocommerce #payment #place_order,
.woocommerce-page #payment #place_order,
#respond input#submit {
    border-radius: 50px !important;
}

/* Champs de formulaire arrondis */
input[type='text'],
input[type='email'],
input[type='password'],
input[type='number'],
input[type='tel'],
input[type='url'],
input[type='search'],
textarea,
select,
.form-control,
.input-text,
.select2-selection {
    border-radius: 50px !important;
}
textarea,
.select2-selection--multiple {
    border-radius: 16px !important;
}

/* Barre de recherche - bloc pill unifié */
.site-search .input-group {
    border-radius: 50px !important;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    background: #fff;
}
.site-search .input-group .input-search-field input,
.site-search .input-group .form-control {
    border-radius: 0 !important;
    border: none !important;
    box-shadow: none !important;
}
.site-search .input-group .input-search-button .btn {
    border-radius: 0 50px 50px 0 !important;
}

/* Bouton Ajouter au panier - plus gros */
button.single_add_to_cart_button {
    font-size: 1.125rem !important;
    padding: 1rem 2.5rem !important;
    height: auto !important;
}




/* Liens dans notifications WooCommerce */
div.woocommerce-message a.button,
div.woocommerce-message a.button:hover,
div.woocommerce-message a.button:focus,
div.woocommerce-message a,
div.woocommerce-message a:hover,
div.woocommerce-message a:focus {
    color: #fff !important;
    text-decoration: underline !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
}

/* Masquer bouton Update cart */
.woocommerce-cart-form .actions-wrapper .button[name=update_cart] {
    display: none !important;
}

/* Section logos marques - espacement équilibré */
.machic-clients-box {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}



/* ===== FOOTER STYLE SOMBRE ===== */
.site-footer,
.footer-widgets-wrapper,
.footer-top,
.footer-middle,
.footer-bottom {
    background-color: #2d2d3a !important;
    color: #b0b0b8 !important;
}

/* Titres colonnes */
.site-footer .widget-title,
.site-footer .widgettitle {
    color: #ffffff !important;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    border-bottom: 1px solid #444 !important;
    border-top: none !important;
    background: none !important;
}

/* Liens */
.site-footer a,
.site-footer ul.menu li a,
.site-footer ul li a {
    color: #b0b0b8 !important;
    text-decoration: none !important;
    font-size: 0.88rem !important;
    line-height: 2.2 !important;
    border: none !important;
    background: none !important;
}

.site-footer a:hover,
.site-footer ul li a:hover {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Barre copyright */
.footer-bottom-bar,
.footer-copyright,
.site-footer .footer-bottom {
    background-color: #23232e !important;
    border-top: 1px solid #444 !important;
    color: #777 !important;
    font-size: 0.82rem !important;
}

.footer-bottom-bar a,
.footer-copyright a {
    color: #999 !important;
}

/* Texte général */
.site-footer p,
.site-footer span,
.site-footer li {
    color: #b0b0b8 !important;
    font-size: 0.88rem !important;
}

/* Footer - fond uniforme */
.site-footer .footer-widgets,
.site-footer .footer-row,
.site-footer .footer-row.custom-color-dark,
.site-footer .footer-newsletter,
.site-footer .footer-details,
.site-footer .footer-bottom,
.site-footer .footer-tags,
.site-footer .footer-payment {
    background-color: #2d2d3a !important;
}

/* Footer - titres alignés en haut */
.footer-widgets .widget {
    display: flex !important;
    flex-direction: column !important;
}
.footer-widgets .widget-title,
.footer-widgets .widgettitle {
    min-height: 2.5rem !important;
    display: flex !important;
    align-items: flex-start !important;
}

/* Supprimer ligne vide footer */
.site-footer .footer-tags,
.site-footer .footer-tags-wrapper {
    display: none !important;
}

/* Supprimer espace vide au dessus du logo footer */
.site-footer .footer-widgets {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.site-footer .footer-details {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

/* Footer - widgets padding uniform */
.footer-widgets .widget {
    padding-top: 30px !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    vertical-align: top !important;
}
.footer-widgets .widget-title,
.footer-widgets .widgettitle {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Supprimer ligne séparatrice footer */
.site-footer .footer-bottom-bar,
.site-footer hr,
.site-footer .footer-divider,
.site-footer .footer-bottom::before,
.site-footer .footer-details::before {
    border: none !important;
    border-top: none !important;
    display: none !important;
}

/* Supprimer ligne bordered footer-copyright */
.site-footer .footer-row.footer-copyright.bordered,
.site-footer .footer-copyright.bordered {
    border-top: none !important;
    box-shadow: none !important;
}

/* Supprimer ligne footer bordered */
.site-footer .footer-row.bordered .container {
    border-top: none !important;
}

/* Supprimer newsletter footer - zéro espace */
.site-footer .footer-newsletter,
.site-footer .footer-row.footer-newsletter {
    display: none !important;
    height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* ===== Couleur des prix (noir), sauf widget Produits tendance (rouge conserve) ===== */
.price,
.price ins,
.price ins .woocommerce-Price-amount,
.woocommerce-Price-amount {
    color: #000000 !important;
}

.price del,
.price del .woocommerce-Price-amount {
    color: #999999 !important;
}

.widget_klb_products_list .price,
.widget_klb_products_list .price ins,
.widget_klb_products_list .price ins .woocommerce-Price-amount {
    color: rgb(239, 38, 44) !important;
}


/* ===== Prix plus grand sur la fiche produit uniquement (Radial Reamp Station, ID 27242) ===== */
body.single-product.postid-27242 .product-price .price {
    font-size: 40px !important;
}

body.single-product .product-price .price {
    font-weight: 700 !important;
    line-height: 1.2 !important;
}

body.single-product .product-price .price del {
    font-weight: 400 !important;
}


/* ── GLOBAL ── */
* { text-transform: none !important; }


/* ===== Prix en gras dans les widgets produits (accueil) ===== */
.elementor-widget-machic-product-list .price,
.elementor-widget-machic-product-grid .price,
.widget_klb_products_list .price {
    font-weight: 700 !important;
}


/* ===== Tous les prix en gras (sauf fiche produit et widgets, deja traites) ===== */
.price,
.price ins,
.woocommerce-Price-amount {
    font-weight: 700 !important;
}
body.single-product .product-price .price del {
    font-weight: 400 !important;
}
/* fix: prix barre reste normal partout */
.price del,
.price del .woocommerce-Price-amount {
    font-weight: 400 !important;
}


/* ===== Barre de recherche un peu plus longue ===== */
.header-form.site-search {
    min-width: 420px;
}
.header-main .column.left {
    flex-shrink: 0 !important;
}






/* ===== Mention TVA complète en ligne separee, fiche produit uniquement ===== */
body.single-product .product-price .woocommerce-price-suffix {
    display: block !important;
    font-weight: 400 !important;
    font-size: 13px !important;
    color: #767676 !important;
    margin-top: 4px !important;
}


/* ===== Mention TVA complete, fiche produit uniquement (CSS pur, natif) ===== */
body.single-product .product-price .woocommerce-price-suffix {
    display: none !important;
}
body.single-product .product-price::after {
    content: 'Tous les prix TVA incl. (TTC)';
    display: block;
    font-weight: 400;
    font-size: 13px;
    color: #767676;
    margin-top: 4px;
}




/* ===== (dont X TVA) plus petit ===== */
.includes_tax,
.includes_tax .woocommerce-Price-amount {
    font-size: 12.5px !important;
}
.includes_tax .woocommerce-Price-amount {
    font-weight: 700 !important;
}

.includes_tax {
    display: block;
    margin-top: 2px;
}
.includes_tax .woocommerce-Price-amount {
    color: #1a6fba !important;
}




/* ===== Logo checkout CartFlows : tailles fixes desktop + mobile (memes points de rupture que CartFlows) ===== */
body.cartflows-instant-checkout .main-header--site-logo,
body.cartflows-instant-checkout .main-header--site-logo img.custom-logo {
    width: 190px !important;
    height: 62px !important;
    max-width: none !important;
    max-height: none !important;
}
@media only screen and (max-width: 820px) {
    body.cartflows-instant-checkout .main-header--site-logo,
    body.cartflows-instant-checkout .main-header--site-logo img.custom-logo {
        width: 165px !important;
        height: 53px !important;
    }
}

#billing_country_field .select2-selection__arrow,
#shipping_country_field .select2-selection__arrow {
    right: 16px !important;
}

/* Masquer les points d'indicateur d'image sur les cartes produit */
.hover-slider-indicator { display: none !important; }

/* Masquer le titre de la page Liste de souhaits, comme pour le Panier */
body.page-id-883 .klb-page-title { display: none; }

/* Prix barré en gras et gris sur la page Liste de souhaits */
body.page-id-883 .klbwl-item--price del { font-weight: bold; color: #999999; }


/* ===== Fix natif : arrondi du champ Pays/region (Tom Select) aligne sur les autres champs ===== */
:root {
	--fluidcheckout--field--border-radius: 50px;
}


/* ===== Fix natif : le panneau deroulant (liste pays) ne doit pas heriter du radius pilule du champ ===== */
.ts-dropdown {
	border-radius: 10px !important;
}
.ts-dropdown .ts-dropdown-content {
	border-radius: 10px !important;
}

/* ===== FIN ADDITIONAL CSS MIGREE ===== */
