/* PELLETHANDEL BUSINGER - Echelle generale des pages publiques */

html {
    font-size: 90%;
}

body {
    font-size: 14px;
}

/* Titres principaux */
main h1,
main .bw-cart-title h1,
main .bw-checkout-title h1 {
    font-size: clamp(27px, 3.2vw, 39px);
    line-height: 1.15;
}

main h2 {
    font-size: clamp(21px, 2.5vw, 29px);
    line-height: 1.2;
}

main h3 {
    font-size: clamp(17px, 2vw, 22px);
    line-height: 1.25;
}

/* Grand titre du carrousel d'accueil */
.bw-content h1 {
    font-size: clamp(42px, 5.2vw, 68px) !important;
    line-height: .98 !important;
}

.bw-content h1 span {
    font-size: inherit;
}

.bw-promo-heading h2,
.bw-category-heading h2,
.featured .section-heading h2,
.promo-banner h2 {
    font-size: clamp(23px, 2.8vw, 34px) !important;
    line-height: 1.15 !important;
}

/* Textes */
main p,
main li,
main label {
    font-size: 14px;
    line-height: 1.55;
}

/* Boutons et champs */
main button,
main .button,
main a.button,
main input,
main select,
main textarea {
    font-size: 13px;
}

/* Navigation publique */
.bw-header-container {
    min-height: 78px;
    gap: 22px;
}

.bw-logo img {
    width: 135px;
    height: 66px;
}

.bw-navigation {
    gap: 22px;
}

.bw-navigation a {
    font-size: 12px;
}

.bw-cart-button {
    font-size: 12px;
}

/* Petits écrans */
@media (max-width: 768px) {
    html {
        font-size: 88%;
    }

    .bw-content h1 {
        font-size: clamp(34px, 9vw, 48px) !important;
    }

    .bw-promo-heading h2,
    .bw-category-heading h2,
    .featured .section-heading h2,
    .promo-banner h2 {
        font-size: clamp(21px, 6vw, 27px) !important;
    }

    main h1 {
        font-size: 27px;
    }

    main h2 {
        font-size: 22px;
    }

    .bw-header-container {
        min-height: 68px;
    }

    .bw-logo img {
        width: 115px;
        height: 56px;
    }
}

/* ==========================================
   ECHELLE FINALE - BOUTIQUE PUBLIQUE
   Objectif : reproduire le rendu de reference
   avec Chrome a 100 %
========================================== */

/* Barre superieure de la page d'accueil */
.topbar {
    min-height: 35px !important;
    padding: 7px 5% !important;
    gap: 12px !important;
    font-size: 10px !important;
}

/* Navigation principale de l'accueil */
.header {
    height: 76px !important;
    min-height: 76px !important;
    padding: 0 5% !important;
    gap: 20px !important;
}

.header .logo {
    font-size: 22px !important;
}

.header .site-logo {
    max-width: 125px !important;
    max-height: 62px !important;
    object-fit: contain;
}

.header .navigation {
    gap: 23px !important;
}

.header .navigation a {
    font-size: 11px !important;
}

.header .cart-button {
    padding: 11px 17px !important;
    font-size: 11px !important;
}

/* En-tete des pages internes */
.bw-header-container {
    min-height: 76px !important;
    padding: 0 5% !important;
    gap: 20px !important;
}

.bw-logo img {
    width: 125px !important;
    height: 62px !important;
}

.bw-navigation {
    gap: 23px !important;
}

.bw-navigation a {
    font-size: 11px !important;
}

.bw-cart-button {
    min-height: 42px !important;
    padding: 0 17px !important;
    font-size: 11px !important;
}

/* Carrousel principal */
.bw-hero {
    height: 635px !important;
    min-height: 560px !important;
}

.bw-content {
    max-width: 760px !important;
    width: 75% !important;
    left: 9% !important;
}

.bw-label {
    font-size: 11px !important;
    letter-spacing: 2.5px !important;
    margin-bottom: 20px !important;
}

.bw-content h1 {
    font-size: clamp(44px, 4.1vw, 66px) !important;
    line-height: .98 !important;
    margin-bottom: 19px !important;
}

.bw-content p {
    max-width: 560px !important;
    font-size: 15px !important;
    line-height: 1.55 !important;
    margin-bottom: 25px !important;
}

.bw-buy {
    padding: 16px 25px !important;
    gap: 25px !important;
    font-size: 12px !important;
}

.bw-arrow {
    width: 44px !important;
    height: 44px !important;
}

/* Titres des sections */
.bw-promo-heading h2,
.bw-category-heading h2,
.featured .section-heading h2,
.promo-banner h2 {
    font-size: clamp(23px, 2.5vw, 32px) !important;
}

/* Pages internes */
main h1 {
    font-size: clamp(26px, 2.8vw, 36px);
}

main h2 {
    font-size: clamp(20px, 2.2vw, 27px);
}

/* Adaptation mobile */
@media (max-width: 700px) {
    .topbar {
        font-size: 9px !important;
    }

    .header {
        height: 68px !important;
        min-height: 68px !important;
    }

    .bw-hero {
        height: 560px !important;
        min-height: 560px !important;
    }

    .bw-content {
        left: 8% !important;
        width: 84% !important;
    }

    .bw-content h1 {
        font-size: clamp(36px, 9vw, 50px) !important;
    }

    .bw-content p {
        font-size: 13px !important;
    }
}
