/*
Theme Name: Shoptimizer Child Theme
Description: Child theme of Shoptimizer
Author: CommerceGurus
Template: shoptimizer
Version: 1.2.4
*/

/* Par défaut, tout le site en Helvetica Neue */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Titres généraux (sauf titre produit) */
h1, h2, h3, h4, h5, h6, p, button, .button, .price,
.woocommerce-loop-product__title,
.woocommerce-LoopProduct-link,
.woocommerce-card__header,
.woocommerce .woocommerce-product-details__short-description {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* TITRE PRODUIT WooCommerce UNIQUEMENT = Playfair Display */
.product_title.entry-title {
    font-family: 'Playfair Display', serif !important;
}

/* Hide product description snippet in checkout order summary */
.wc-block-components-product-metadata__description { display: none !important; }

/* === TOP BAR PROMO BANNER (nsm_promo_banner) === */
.top-bar .special-offer .coupon {
    background-color: var(--shop-primary, #3A6351) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-weight: 700 !important;
}
.top-bar .special-offer strong {
    color: #ffffff !important;
}

/* === HEADER : espace vide a droite corrige (2026-08-30) === */
/* .site-search est plafonne a max-width:25% et .site-branding est en
   position:absolute (hors flux flex) -- avec justify-content:normal (flex-start)
   par defaut, le contenu se tassait a gauche et laissait ~560px de vide apres
   les icones de droite. space-between repartit correctement. */
.main-header.col-full {
    justify-content: space-between !important;
}

/* === TOP BAR MOBILE : ne garder que l'offre de temporalite (2026-09-05) === */
/* Sur mobile, masque Darmowa dostawa / Bezpieczna platnosc (top-bar-left/right)
   pour ne laisser que le bandeau d'urgence (top-bar-center, nsm_promo_banner). */
@media (max-width: 768px) {
    .top-bar-left,
    .top-bar-right {
        display: none !important;
    }
}
