
/* =============================================
   BREIZHPUB - Custom CSS pour Classic Theme
   Rapproche le style de Hummingbird
   ============================================= */

/* --- Bannière slider pleine largeur --- */
#index .container,
#index .row > .col-md-12 {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#_desktop_logo {
    display: flex;
    align-items: center;
}

/* Slider pleine largeur */
.homeslider-container,
#homeslider,
.carousel,
.ps_imageslider {
    max-width: 100% !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
}

.homeslider-container .container,
#homeslider .container {
    max-width: 100% !important;
    padding: 0 !important;
}

/* Images du slider pleine largeur */
.homeslider-container img,
#homeslider img,
.carousel-item img,
.ps_imageslider img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important; object-fit: contain !important;
}

/* Photos produit : jamais rognees (corrige la regle slider ci-dessus) */
.product__carousel .carousel-item img,
.product__images .carousel-item img,
.product__images img {
    height: auto !important;
    aspect-ratio: 1 / 1;
    object-fit: contain !important;
}

/* --- Menu du haut : clair, UNE seule barre visible a la fois (comme avant) --- */
.navbar-horizontal-dark,
.navbar-horizontal-dark.bp-mode-sign {
    background: #fff !important;
    border-bottom: 1px solid #eee3d0;
    box-shadow: 0 4px 14px rgba(26, 38, 87, .06);
    overflow: visible !important;
}
.navbar-horizontal-dark .container-fluid,
.navbar-horizontal-dark .horizontal-menu-dark {
    background: transparent !important;
}
.navbar-horizontal-dark .container-fluid {
    max-width: 100% !important;
    padding: 0 8px !important;
    overflow: visible !important;
}
/* La barre visible : une seule ligne (overflow visible pour laisser sortir les menus deroulants) */
.navbar-horizontal-dark .horizontal-menu-dark:not([style*="none"]):not([hidden]) {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    justify-content: center !important;
    align-items: center;
    gap: 2px;
    overflow: visible !important;
}
/* La barre masquee par le theme reste masquee */
.navbar-horizontal-dark .horizontal-menu-dark[style*="none"],
.navbar-horizontal-dark .horizontal-menu-dark[hidden] {
    display: none !important;
}
.navbar-horizontal-dark .nav-item {
    flex: 0 0 auto;
    border: 0 !important;
    background: transparent !important;
}
.navbar-horizontal-dark .nav-item::before,
.navbar-horizontal-dark .nav-item::after {
    display: none !important;
}
.navbar-horizontal-dark .nav-link {
    background: transparent !important;
    color: #1a2657 !important;
    font-weight: 600;
    white-space: nowrap;
    font-size: clamp(9px, .82vw, 14px) !important;
    padding: 16px clamp(4px, .5vw, 12px) !important;
    border-radius: 999px;
    transition: background .2s, color .2s;
}
.navbar-horizontal-dark .nav-link:hover {
    background: #f4efe4 !important;
    color: #e63946 !important;
}

/* --- Fiche produit : tailles en tuiles --- */
.bp-size-qty-grid table,
.bp-size-qty-grid tbody {
    display: block;
    width: 100%;
    border: 0;
}
.bp-size-qty-grid thead {
    display: none;
}
.bp-size-qty-grid tbody {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    gap: 10px;
    margin-top: 6px;
}
.bp-size-qty-grid .bp-size-row {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e8e0d0;
    border-radius: 12px;
    padding: 8px 8px 10px;
    transition: border-color .2s, box-shadow .2s;
}
.bp-size-qty-grid .bp-size-row:hover,
.bp-size-qty-grid .bp-size-row:focus-within {
    border-color: #e63946;
    box-shadow: 0 4px 12px rgba(230, 57, 70, .12);
}
.bp-size-qty-grid td {
    display: block;
    padding: 0;
    border: 0;
    text-align: center;
}
.bp-size-name-label {
    font-size: 14px;
    color: #1a2657;
}
.bp-qty-input {
    width: 100%;
    text-align: center;
    border: 0 !important;
    border-bottom: 2px solid #eee !important;
    border-radius: 0;
    background: transparent;
    font-weight: 600;
    -moz-appearance: textfield;
    appearance: textfield;
}
.bp-qty-input::-webkit-outer-spin-button,
.bp-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* --- Fiche produit : pastilles de couleur, bords nets (aucun debordement de la teinte) --- */
.product-variant__colors {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 8px 6px;
}
.input-color__label {
    cursor: pointer;
}
.input-color__label .color {
    display: block;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 0 !important;
    background-image: none !important;
    background-clip: padding-box;
    /* anneaux EXTERIEURS opaques : la teinte reste pure et le bord parfaitement net */
    box-shadow: 0 0 0 2px #fff, 0 0 0 3px #aeb4c2;
    transform: none !important;
    transition: box-shadow .15s ease;
}
.input-color__label:hover .color {
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #e63946;
}
.input-color__input:checked + .input-color__label .color {
    box-shadow: 0 0 0 2px #fff, 0 0 0 5px #1a2657;
}
.input-color__input:focus-visible + .input-color__label .color {
    outline: 2px solid #e63946;
    outline-offset: 6px;
}

/* --- Fiche produit : tableau des prix degressifs en carte --- */
.discounts-table {
    width: 100%;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.discounts-table th {
    background: #f4efe4;
    color: #1a2657;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .8px;
    padding: 10px 14px;
}
.discounts-table td {
    padding: 10px 14px;
    border-top: 1px solid #f0eadc;
}
.discounts-table td:last-child {
    font-weight: 700;
    color: #e63946;
}

/* --- Fiche produit : panneaux Description / Details / Fiche technique --- */
.product__accordion .accordion-item {
    background: #fff;
    border: 0 !important;
    border-radius: 14px !important;
    margin-bottom: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    overflow: hidden;
}
.product__accordion .accordion-button {
    background: #fff;
    color: #1a2657;
    font-weight: 700;
    padding: 16px 20px;
    box-shadow: none !important;
}
.product__accordion .accordion-button:not(.collapsed) {
    background: #f4efe4;
    color: #1a2657;
}
.product__accordion .accordion-body {
    padding: 10px 20px 18px;
}

/* --- Fiche produit : quantite arrondie --- */
.quantity-button__group {
    border-radius: 999px !important;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e8e0d0 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}
.quantity-button__group .btn {
    border: 0 !important;
    background: transparent !important;
    color: #1a2657;
}
.quantity-button__group .btn:hover {
    color: #e63946;
}
.quantity-button__group .form-control {
    border: 0 !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
}
.btn-outline-primary {
    border-radius: 999px !important;
}

/* --- Bouton panier arrondi --- */
.add-to-cart,
.product__add-to-cart .btn {
    border-radius: 999px !important;
}

/* --- Header --- */
#header {
    box-shadow: 0 4px 14px rgba(26, 38, 87, .07);
}

#header .header-top {
    background: #fff;
}

/* --- Navigation menu style Hummingbird --- */
#header nav#header ul > li > a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
    color: #232323 !important;
    padding: 10px 15px;
}

#header nav#header ul > li > a:hover {
    color: #e63946 !important;
}

/* --- Couleur principale rouge Breizh Pub --- */
.btn-primary,
.add-to-cart,
button.btn-primary {
    background-color: #e63946 !important;
    border-color: #e63946 !important;
}

.btn-primary:hover,
.add-to-cart:hover {
    background-color: #c1121f !important;
    border-color: #c1121f !important;
}

/* --- Titres sections --- */
h2.h3.products-section-title,
.products-section-title {
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid #e63946;
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* --- Cartes produits arrondies --- */
.product-miniature {
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 12px rgba(26, 38, 87, .07);
    transition: transform .25s, box-shadow .25s;
}
.product-miniature:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(26, 38, 87, .14);
}
.product-miniature .thumbnail-container {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: none;
}

/* --- Footer --- */
#footer {
    background: #232323;
    color: #ccc;
    margin-top: 40px;
}

#footer a {
    color: #aaa !important;
}

#footer a:hover {
    color: #e63946 !important;
}
/* =============================================
   BREIZHPUB - Wordans-style category cards (no images)
   À ajouter à : /modules/breizhpubcss/css/custom.css
   ============================================= */

.bp-featured-categories {
    max-width: 1400px;
    margin: 50px auto;
    padding: 0 20px;
    clear: both;
}

.bp-featured-categories h2 {
    text-align: center;
    color: #232323;
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 30px 0;
    position: relative;
}
.bp-featured-categories h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: #e63946;
    margin: 12px auto 0;
}

.bp-cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

@media (max-width: 992px) {
    .bp-cat-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .bp-cat-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.bp-cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a2657 0%, #0d1638 100%);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    padding: 20px 15px;
    text-align: center;
    color: #fff;
}

.bp-cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

/* Icon/shape decoratif (cercle derriere l'initiale) */
.bp-cat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.bp-cat-card-title {
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.bp-cat-card-sub {
    color: #a3d95d;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

/* Decorative diagonal stripe (optionnel - "esprit Wordans") */
.bp-cat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.04);
    transform: rotate(45deg);
    pointer-events: none;
}

/* BP-SLIDER-CAP : carrousel d'accueil en entier mais pas plus large que 1250px (donc pas plus haut que ~510px) */
.ps-imageslider{max-width:1250px;margin-left:auto;margin-right:auto;border-radius:14px;overflow:hidden}
