﻿/* =========================================
   BRENNSTOFFWELT - THEME GLOBAL SOMBRE
========================================= */

:root {
    --bw-dark-bg: #242827;
    --bw-dark-panel: #303634;
    --bw-dark-panel-2: #373E3B;
    --bw-orange: #F97818;
    --bw-white: #FFFFFF;
    --bw-muted: #C5CBC8;
}

/* FOND GLOBAL */
html,
body {
    background: var(--bw-dark-bg) !important;
    color: var(--bw-white) !important;
}

/* EN-TETES */
.bw-header,
.header,
.site-header {
    background: var(--bw-dark-bg) !important;
    color: var(--bw-white) !important;
    border-color: #3B4540;
}

/* NAVIGATION */
.bw-navigation a,
.navigation a {
    color: var(--bw-white) !important;
}

.bw-navigation a:hover,
.bw-navigation a.active,
.navigation a:hover {
    color: var(--bw-orange) !important;
}

/* SECTIONS PUBLIQUES */
.featured,
.bw-categories,
.bw-winter-promo,
.bw-section,
.page-section {
    background: var(--bw-dark-bg) !important;
    color: var(--bw-white) !important;
}

/* PANNEAUX ET BLOCS */
.bw-promo-card,
.bw-filter,
.bw-sidebar,
.bw-form-container,
.bw-cart-container,
.bw-checkout-container {
    background: var(--bw-dark-panel) !important;
    color: var(--bw-white) !important;
}

/* TEXTES */
h1, h2, h3, h4, h5, h6,
p, label, li,
.featured .product-card {
    color: var(--bw-white);
}

small,
.text-muted,
.description {
    color: var(--bw-muted) !important;
}

/* FORMULAIRES */
input,
select,
textarea {
    background-color: var(--bw-dark-panel-2) !important;
    color: var(--bw-white) !important;
    border-color: #59615D !important;
}

input::placeholder,
textarea::placeholder {
    color: var(--bw-muted) !important;
}

/* TABLEAUX */
table {
    color: var(--bw-white);
}

th {
    background: var(--bw-dark-panel-2) !important;
    color: var(--bw-white) !important;
}

td {
    background: var(--bw-dark-panel) !important;
    color: var(--bw-white) !important;
}

/* BOUTONS ET ACCENTS */
.bw-cart-button,
.bw-buy,
.btn-primary,
.bw-category-button {
    background-color: var(--bw-orange);
    color: var(--bw-white);
}

/* FOOTER */
footer,
.footer {
    background: #171D1A !important;
    color: var(--bw-white) !important;
}

/* =========================================
   CORRECTION PANIER ET CAISSE
========================================= */

/* PANIER : fond général */
.bw-cart-page {
    background: #242827 !important;
    color: #FFFFFF !important;
}

.bw-cart-container {
    background: transparent !important;
    color: #FFFFFF !important;
}

.bw-cart-title h1,
.bw-cart-title p,
.bw-cart-banner-top strong,
.bw-cart-banner-top span,
.bw-cart-total-row strong,
.bw-cart-total-row span,
.bw-cart-continue,
.bw-payment-info h2,
.bw-payment-subtitle {
    color: #FFFFFF !important;
}

/* Cartes produits : fond clair et texte sombre */
.bw-cart-item {
    background: #FFFFFF !important;
    color: #17251E !important;
}

.bw-cart-product-info h2,
.bw-cart-unit-price,
.bw-cart-line-total {
    color: #17251E !important;
}

/* Informations de paiement */
.bw-payment-card,
.bw-payment-heading,
.bw-payment-content {
    background: #303634 !important;
    color: #FFFFFF !important;
}

.bw-payment-heading,
.bw-payment-info h2,
.bw-payment-guarantee {
    color: #FFFFFF !important;
}

.bw-payment-content p {
    color: #E0E5E2 !important;
}

/* Formulaire de livraison */
.bw-delivery-form {
    background: #303634 !important;
    border-color: #59615D !important;
    color: #FFFFFF !important;
}

.bw-delivery-form h2,
.bw-delivery-form > p,
.bw-field label {
    color: #FFFFFF !important;
}

/* CAISSE : fond général */
.bw-checkout {
    background: #242827 !important;
    color: #FFFFFF !important;
}

.bw-checkout-container {
    background: transparent !important;
    color: #FFFFFF !important;
}

.bw-checkout-title h1,
.bw-checkout-title p {
    color: #FFFFFF !important;
}

/* Cartes de commande : fond clair et texte lisible */
.bw-checkout-card {
    background: #FFFFFF !important;
    color: #20251F !important;
}

.bw-checkout-card-heading {
    background: #F3F3F0 !important;
    color: #173B29 !important;
}

.bw-checkout-card-content,
.bw-checkout-product,
.bw-checkout-product h3,
.bw-checkout-product p,
.bw-checkout-product-total,
.bw-customer-field strong,
.bw-bank-field strong,
.bw-checkout-total strong {
    color: #20251F !important;
}

.bw-customer-field span,
.bw-bank-field span {
    color: #626A65 !important;
}

.bw-checkout-total span,
.bw-order-number,
.bw-order-reference strong {
    color: #173B29 !important;
}

/* Boutons et retour boutique */
.bw-shop-return {
    color: #FFFFFF !important;
}

.bw-copy-button {
    background: #173B29 !important;
    color: #FFFFFF !important;
}

.bw-proof-submit {
    background: #F97818 !important;
    color: #FFFFFF !important;
}


/* CORRECTION EN-TÊTE SUR PANIER ET CAISSE */
body .bw-header {
    background: #242827 !important;
    border-top-color: #F97818 !important;
    box-shadow: 0 3px 15px rgba(0,0,0,.25) !important;
}

body .bw-header .bw-logo,
body .bw-header .bw-navigation a,
body .bw-header .bw-cart-button {
    color: #FFFFFF !important;
}

body .bw-header .bw-logo {
    color: #F97818 !important;
}


/* =========================================
   LOGO PELLETHANDEL BUSINGER
   ========================================= */

body .bw-header .bw-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 230px !important;
    min-width: 230px !important;
    height: 82px !important;
    padding: 0 !important;
    overflow: hidden !important;
    background-image: url('/assets/images/logo-pellethandel-businger.png') !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;
    background-size: contain !important;
    font-size: 0 !important;
    color: transparent !important;
    text-decoration: none !important;
}

body .bw-header .bw-logo span {
    display: none !important;
}

@media (max-width: 700px) {
    body .bw-header .bw-logo {
        width: 155px !important;
        min-width: 155px !important;
        height: 62px !important;
        background-position: left center !important;
    }
}

