/* ==========================================================================
   SECTION CARROUSEL (Conteneur et Navigation)
   ========================================================================== */
.ma-carousel-section {
    max-width: 1300px;
    margin: 80px auto;
    padding: 0 20px;
}

/* --- EN-TÊTE : Titre + Flèches alignés --- */
.ma-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-left: 5px solid #F16725;
    padding-left: 15px;
}

.ma-carousel-title {
    font-family: 'Oswald', sans-serif;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    color: #111111 !important; 
    margin: 0 !important;
    line-height: 1.2;
}

/* --- FLÈCHES DE NAVIGATION TACTIQUES --- */
.ma-carousel-nav {
    display: flex !important;
    gap: 15px !important;
}

.ma-swiper-prev, .ma-swiper-next {
    width: 45px !important;
    height: 45px !important;
    background: #111111 !important;
    color: #F16725 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
}

.ma-swiper-prev:hover, .ma-swiper-next:hover {
    background: #F16725 !important;
    color: #ffffff !important;
}

/* ==========================================================================
   LA CARTE PRODUIT MAÎTRE (Le Blindage Éclairci)
   ========================================================================== */
.swiper-slide { 
    height: auto !important; 
}

.ma-product-card {
    background: #1e1e1e !important; 
    border: 1px solid #333 !important; 
    border-top: 3px solid #F16725 !important; 
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.4), 0 5px 15px rgba(0, 0, 0, 0.3) !important; 
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    position: relative !important; 
    transition: all 0.3s ease !important;
}

/* Effet mécanique de soulèvement au survol */
.ma-product-card:hover {
    border-color: #555 !important;
    border-top: 3px solid #F16725 !important;
    transform: translateY(-5px) !important;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2), 0 15px 30px rgba(0, 0, 0, 0.5) !important;
}

/* --- ZONE IMAGE (Retour à la lumière) --- */
.ma-product-img-wrap {
    display: block !important;
    width: 100% !important;
    height: 250px !important;
    background: #ffffff !important; 
    overflow: hidden !important;
    flex-shrink: 0 !important;
    border-bottom: 1px solid #333 !important;
}

.ma-product-img {
    width: 100% !important;
    height: 100% !important;
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.4s ease !important;
}

.ma-product-card:hover .ma-product-img { 
    transform: scale(1.08) !important; 
}

/* --- LE BADGE PROMO (Marquage d'urgence) --- */
.ma-product-card .onsale,
.ma-product-card .ma-badge-sale {
    position: absolute !important;
    top: 15px !important;
    left: -5px !important; 
    background-color: #F16725 !important;
    color: #111111 !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 900 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    padding: 5px 20px 5px 15px !important;
    z-index: 10 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    line-height: 1.2 !important;
    clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 50%, 100% 100%, 0 100%); 
    filter: drop-shadow(2px 4px 5px rgba(0,0,0,0.5));
}

/* --- ZONE INFOS ET TITRE --- */
.ma-product-info {
    padding: 25px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    text-align: left !important;
}

.ma-product-title {
    margin: 0 0 15px 0 !important;
    line-height: 1.4 !important;
}

.ma-product-title a {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    text-decoration: none !important;
}

.ma-product-title a:hover { 
    color: #F16725 !important; 
}

/* ==========================================================================
   LA GESTION DES PRIX (Hiérarchie visuelle)
   ========================================================================== */
.ma-product-price {
    margin-top: auto !important; 
    margin-bottom: 25px !important;
    display: flex !important;
    flex-direction: column !important; 
    align-items: flex-start !important;
    gap: 2px !important;
}

/* 1. L'ancien prix (Éteint et barré) */
.ma-product-price del {
    display: block !important;
}

.ma-product-price del .amount,
.ma-product-price del span, 
.ma-product-price del bdi {
    color: #555555 !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
    text-decoration-color: #F16725 !important;
    text-decoration-thickness: 2px !important;
}

/* 2. Le prix final / nouveau prix (Allumé) */
.ma-product-price ins,
.ma-product-price > .amount,
.ma-product-price > span {
    text-decoration: none !important;
    background: transparent !important;
}

.ma-product-price ins .amount,
.ma-product-price > .amount,
.ma-product-price > span .amount {
    color: #F16725 !important;
    font-size: 2.2rem !important;
    font-family: 'Oswald', sans-serif !important;
    font-weight: 900 !important;
    line-height: 1 !important;
}

/* ==========================================================================
   BOUTON AJOUTER AU PANIER
   ========================================================================== */
a.ma-btn-tactical {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #333333 !important;
    color: #ffffff !important;
    padding: 15px 20px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
    transition: all 0.3s ease !important;
    border-left: 3px solid #F16725 !important;
    font-size: 1rem !important;
    gap: 8px !important;
}

a.ma-btn-tactical:hover {
    background: #F16725 !important;
    color: #ffffff !important;
}

a.ma-btn-tactical.loading {
    opacity: 0.6 !important;
    pointer-events: none !important;
}

a.ma-btn-tactical.added::after {
    content: ' ✓' !important;
    margin-left: 5px !important;
}

/* ==========================================================================
   BANDEAU DES MARQUES PARTENAIRES (Intégré ici pour bypasser le cache)
   ========================================================================== */
.ma-marques-section { 
    max-width: 1300px !important; 
    margin: 60px auto !important; 
    padding: 0 20px !important; 
    box-sizing: border-box !important; 
    overflow: hidden; 
}
.ma-marques-header { text-align: left; margin-bottom: 30px; border-left: 5px solid #F16725; padding-left: 15px; }
.ma-marques-title { font-family: 'Oswald', sans-serif !important; font-size: 2.5rem !important; font-weight: 900 !important; text-transform: uppercase !important; color: #111 !important; margin: 0 !important; display: flex !important; align-items: center !important; }
.ma-marques-title .ma-hl-orange { background-color: #F16725; color: #fff !important; padding: 0 15px; margin-left: 10px; display: inline-block !important; clip-path: polygon(10px 0, 100% 0, calc(100% - 10px) 100%, 0 100%); }

.ma-marques-slider { height: 100px; margin: auto; overflow: hidden; position: relative; width: 100%; mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); }
.ma-marques-track { display: flex; align-items: center; width: max-content; animation: defilement_marques 40s linear infinite; }
.ma-marques-slider:hover .ma-marques-track { animation-play-state: paused; }
@keyframes defilement_marques { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.ma-marque-slide { height: 100px; padding: 0 35px; display: flex; justify-content: center; align-items: center; box-sizing: border-box; }
.ma-marque-slide img { height: 65px; width: auto; object-fit: contain; filter: grayscale(100%) opacity(40%); transition: all 0.4s ease; }
.ma-marque-slide:hover img { filter: grayscale(0%) opacity(100%); transform: scale(1.1); }