/*
Theme Name: Shoptimizer Child Theme
Description: Child theme of Shoptimizer — NSM Generic Template
Author: Northstar Mesa LLC
Template: shoptimizer
Version: 1.3.0
*/

/* Typographie par défaut */
body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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 = Playfair Display */
.product_title.entry-title {
    font-family: 'Playfair Display', serif !important;
}

/* === TOP BAR === */
.top-bar .special-offer .coupon {
    background-color: var(--shop-primary, #333333) !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    padding: 2px 8px !important;
    font-weight: 700 !important;
}
.top-bar .special-offer strong {
    color: var(--shop-primary, #333333) !important;
}

/* === HEADER === */
.site-header {
    background-color: #ffffff !important;
    border-bottom: 2px solid #e0e0e0 !important;
}

.main-navigation ul li a {
    color: #1a1a2e !important;
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    color: var(--shop-primary, #333333) !important;
}

.header-widget .cart-contents,
.header-widget .cart-contents:hover {
    color: var(--shop-primary, #333333) !important;
}
.header-widget .cart-contents .count {
    background-color: var(--shop-primary, #333333) !important;
    color: #ffffff !important;
}

.header-search input:focus {
    border-color: var(--shop-primary, #333333) !important;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.12) !important;
}

.site-branding img.custom-logo {
    max-height: 60px !important;
    width: auto !important;
}


/* ============================================================
   BIJOUX SPIRITUEL — Overrides spécifiques
   ============================================================ */

/* Ambiance mystique — background archive catégorie */
.woocommerce-products-header,
.shop-hero {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%) !important;
    color: #fff !important;
}
.woocommerce-products-header__title.page-title {
    color: #fff !important;
}

/* Badge promo — violet */
.onsale {
    background: #8B5CF6 !important;
    color: #fff !important;
    border-radius: 6px !important;
}

/* Bouton ATC */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce #respond input#submit.alt,
.commercekit-sticky-add-to-cart a {
    background: #8B5CF6 !important;
    color: #fff !important;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
    background: #6D28D9 !important;
    color: #fff !important;
}

/* Price color */
.woocommerce-Price-amount,
.price ins .amount {
    color: #8B5CF6 !important;
}

/* Star ratings */
.star-rating span::before,
.woocommerce .star-rating span::before {
    color: #F59E0B !important;  /* gold stars */
}

/* Category page description bg */
.woocommerce .woocommerce-products-header + .term-description,
.archiveDescription {
    background: #f3f0ff !important;
    border-left: 4px solid #8B5CF6 !important;
}

/* Related products title */
.related.products > h2,
.upsells.products > h2 {
    color: #8B5CF6 !important;
}

/* Breadcrumb active */
.woocommerce-breadcrumb a:hover {
    color: #8B5CF6 !important;
}

/* Input focus */
.woocommerce input[type="text"]:focus,
.woocommerce input[type="email"]:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
    border-color: #8B5CF6 !important;
    box-shadow: 0 0 0 2px rgba(139,92,246,0.15) !important;
}

/* Checkout — steps highlight */
.woocommerce-checkout #payment .payment_method_label,
#order_review .woocommerce-checkout-review-order-table th {
    color: #8B5CF6 !important;
}

/* Trust badges / icons */
.commercekit-product-trust-icons svg,
.product-trust-badge svg {
    fill: #8B5CF6 !important;
    stroke: #8B5CF6 !important;
}
