body {
    margin: 0;
    font-family: 'urbane', sans-serif;
    
}
/* Espacement global entre toutes les sections */
section {
    margin-bottom: 40px;
}

/* =================== HERO =================== */
.hero {
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 100px;
    padding: 40px 20px;
}

.container-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    width: 80%;
    align-items: stretch;
}

.left, .right {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

/* =================== CARD =================== */
.card {
    position: relative;
    padding: 25px;
    border-radius: 10px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.card h6 {
    opacity: 0.75;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 4px;
    font-family: "urbane", Sans-serif;
    font-size: 15px;
    font-weight: 300;
}
.card h3 {
    margin: 0 0 6px;
    line-height: 0.8;
    font-family: "degular", Sans-serif;
    font-size: 42px;
    font-weight: 700;
}
.card p  {
    opacity: 0.6;
    margin: 0;
    line-height: 1.4;
    font-family: "degular", Sans-serif;
    font-size: 21px !important;
    font-weight: 300 ! important;
}

/* ================= IMAGE + OVERLAY ================= */
.card-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
}

.card1 .card-img img {
    width: 90%;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.45s ease;
    margin-bottom: -12px;
    object-fit: contain;
}
.card2 .card-img img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.45s ease;
    margin-bottom: -12px;
    object-fit: contain;
}
.card3 .card-img img {
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.45s ease;
    margin-bottom: -12px;
    object-fit: contain;
}
.card4 .card-img img {
    width: 90%;
    display: block;
    position: relative;
    z-index: 1;
    transition: transform 0.45s ease;
    margin-bottom: -12px;
    object-fit: contain;
}

/* overlay gradient */
.card-img::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

/* ================= GRADIENT ================= */
.card1 { background: linear-gradient(180deg, #dfe7ef, #cfd9df); color: #17344c; }
.card2 { background: #f02443; color: #fff; }
.card3 { background: linear-gradient(180deg, #46d7df, #17344c); color: #fff; }
.card4 { background: #dfe7ef; color: #17344c; }

.card1 .card-img::before {
    background: linear-gradient(to top, rgba(240,36,67,0.95) 15%, rgba(240,36,67,0.55) 48%, rgba(240,36,67,0.15) 70%, transparent 90%);
}
.card2 .card-img::before {
    background: linear-gradient(to top, rgba(240,36,67,0.95) 15%, rgba(240,36,67,0.55) 55%, rgba(240,36,67,0.25) 70%, transparent 92%);
}
.card3 .card-img::before {
    background: linear-gradient(to top, rgba(23,52,76,0.95) 15%, rgba(23,52,76,0.55) 40%, rgba(23,52,76,0.2) 70%, transparent 98%);
}
.card4 .card-img::before {
    background: linear-gradient(to top, rgba(67,221,230,0.95) 0%, rgba(67,221,230,0.55) 40%, rgba(67,221,230,0.25) 65%, transparent 85%);
}

/* ================= HOVER ================= */
.card:hover .card-img img {
    transform: translateY(-12px) scale(1.03);
}
.card:hover .card-img::before {
    opacity: 0.95;
}

/* ================= BUTTON SHOP ================= */
.shop-btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    opacity: 0;
    transition: 0.4s;
    z-index: 3;
    font-family: "degular", Sans-serif !important;
    font-size: 30px;
    font-weight: 300;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.card:hover .shop-btn {
  
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* flèche SVG */
.shop-btn::after {
    content: "";
    transform: rotate(-45deg);
    display: inline-block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background-image: url('/assets/images/Arrow-home.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    transition: transform 0.3s ease;
}

.shop-btn:hover::after {
    transform: rotate(0deg);
}

/* filtre couleur flèche selon carte */
.card1 .shop-btn::after { filter: brightness(0) saturate(100%) invert(14%) sepia(29%) saturate(1200%) hue-rotate(175deg); }
.card2 .shop-btn::after { filter: brightness(0) saturate(100%) invert(20%) sepia(80%) saturate(3000%) hue-rotate(330deg); }
.card3 .shop-btn::after { filter: brightness(0) saturate(100%) invert(80%) sepia(50%) saturate(500%) hue-rotate(140deg); }
.card4 .shop-btn::after { filter: brightness(0) saturate(100%) invert(14%) sepia(29%) saturate(1200%) hue-rotate(175deg); }

/* ligne animée */
.shop-btn::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 2px;
    transform: translateX(-50%);
    transition: width 0.4s ease;
}
.shop-btn:hover::before { width: 100%; }

.card1 .shop-btn::before { background: #17344c; }
.card2 .shop-btn::before { background: #f02443; }
.card3 .shop-btn::before { background: #43dde6; }
.card4 .shop-btn::before { background: #17344c; }

/* ================= MAIN CARD ================= */
.main-card {
    position: relative;
    background: url("/assets/images/Smart-life-BG.jpg") no-repeat center;
    background-size: cover;
    color: #fff;
    border-radius: 10px;
    height: 784px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 24px;
    
}
.main-card h1 {
    font-family: "degular", Sans-serif;
    font-size: 58px ! important;
    font-weight: 700;
    position: relative;
    z-index: 2;
    margin: 0 0 8px;
    line-height: 1 ! important;
    letter-spacing: -1pt;
}
.main-card p {
    font-family: "degular", Sans-serif;
    font-size: 16px;
    font-weight: 300;
    position: relative;
    z-index: 2;
    max-width: 80%;
    margin-top: 30px;
    letter-spacing: 0pt;
}
.main-card img {
    position: absolute;
    bottom: 0;
    margin-bottom: 60px;
    right: 0;
    max-height: 100%;
    width: 90%;
    object-fit: contain;
    z-index: 1;
}

.btn-center {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 22px;
    border-radius: 10px;
    background: #f02443;
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    z-index: 2;
    width: fit-content;
    align-self: flex-start;
    margin-top: 90%;
    font-family: "degular", Sans-serif !important;
    font-size: 30px;
    font-weight: 600;
    font-style: italic ! important;
}
.btn-center:hover {     /* Neon glow */
    box-shadow:
        0 0 5px rgba(240, 36, 67, 0.6),
        0 0 15px rgba(240, 36, 67, 0.6),
        0 0 30px rgba(240, 36, 67, 0.4);

    transform: translateY(-2px); }

/* =================== TRUST BADGES =================== */
.trust {
    overflow: hidden;
    padding: 32px 0;
}
.trust-slider {
    display: flex;
    gap: 56px;
    animation: scrollTrust 20s linear infinite;
    width: 100%;
    
}
.trust__item {
    display: flex;
    align-items: center;
    gap: 22px;
    white-space: nowrap;
    font-size: 44px;
    color: #17344c;
    font-family: "degular", Sans-serif !important;
    font-weight: 700;
    font-style: italic ! important;
    padding: 20px;
}
.trust__item img { width: 76px; height: 76px; }
@keyframes scrollTrust {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =================== VARIABLES =================== */
:root {
    --red:   #f02443;
    --blue:  #17344c;
    --cyan:  #43dde6;
    --light: #DFEBF7;
    --dark:  #102533;
}

/* ===============================
   SECTION DARK
================================= */
.banner-container-dark {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.banner-dark-left,
.banner-dark-right {
    position: relative;
    border-radius: 18px;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding-right: 220px;
    color: #fff;
    transition: 0.3s;
    cursor: pointer;
}
.banner-dark-left:hover,
.banner-dark-right:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(0,0,0,0.4);
}

.banner-dark-left {
    background: radial-gradient(circle at top left, rgba(34,211,238,0.25), transparent 50%),
                linear-gradient(135deg, #0f172a, #1e293b);
}
.banner-dark-right {
    background: radial-gradient(circle at top right, rgba(255,0,64,0.25), transparent 50%),
                linear-gradient(135deg, #0f172a, #1e293b);
}

.bd-content-dark-left,
.bd-content-dark-right {
    z-index: 2;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 0px 40px 0px;
}

.bd-tag-dark-left,
.bd-tag-dark-right {
    width: 100%;
    font-size: 18px;
    font-family: "degular", Sans-serif;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.bd-tag-dark-left::before,
.bd-tag-dark-right::before {
    content: "";
    width: 120px;
    height: 4px;
    display: inline-block;
}
.bd-tag-dark-left::before { background: #43dde6; }
.bd-tag-dark-right::before { background: #f02443; }

.bd-title-left{
    font-family: "degular", sans-serif;
    font-size: 46px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 0.8;
    padding-left: 30px;
    

}


.bd-title-right {
    font-family: "degular", sans-serif;
    font-size: 46px;
    font-weight: 800;
    margin: 0 0 10px;
    line-height: 0.8;
    padding-left: 30px;


}

.bd-content-bas-dark-left,
.bd-content-bas-dark-right {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-left: 30px;
    margin-bottom: -12px;
}

.bd-desc-dark-left {
    font-family: "degular", Sans-serif;
    font-size: 10px;
    margin: 0;
    opacity: 0.6;
    max-width: 100%;
}
.bd-desc-dark-right {
    font-family: "degular", Sans-serif;
    font-size: 10px;
    margin: 0;
    opacity: 0.6;
    max-width: 100%;

}

.bd-btn-dark-left {
    font-family: "degular", Sans-serif;
    font-size: 26px;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: 8px;
    line-height: 1.2;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    background: #43dde6;
    color: #17344c;
    font-style: italic ! important;
}
.bd-btn-dark-left:hover { box-shadow:
        0 0 8px rgba(67, 221, 230, 0.9),
        0 0 20px rgba(67, 221, 230, 0.7),
        0 0 40px rgba(67, 221, 230, 0.5);
    transform: translateY(-3px);
    color: #fff;
   }

.bd-btn--dark-right {
font-family: "degular", Sans-serif;
    font-size: 26px;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    line-height: 1.2;
    white-space: nowrap;
    background: #f02443;
    color: #fff;
    font-style: italic ! important;
}
.bd-btn--dark-right:hover {     box-shadow:
        0 0 5px rgba(240, 36, 67, 0.6),
        0 0 15px rgba(240, 36, 67, 0.6),
        0 0 30px rgba(240, 36, 67, 0.4);

    transform: translateY(-2px);
  color: #fff; }

/* IMAGE — mouvement droite → gauche */
.bd-image-dark-left,
.bd-image-dark-right {
    width: 42%;
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.bd-image-dark-left img {
    max-height: 350px;
    object-fit: contain;
    transform: translateX(40px);
    transition: transform 0.5s ease-in-out;

}

.bd-image-dark-right img {
    max-height: 350px;
    object-fit: contain;
    transform: translateX(40px);
    transition: transform 0.5s ease-in-out;

}
.banner-dark-left:hover .bd-image-dark-left img,
.banner-dark-right:hover .bd-image-dark-right img {
    transform: translateX(0);
}

/* ===============================
   SECTION LIGHT
================================= */
.banner-container-light {
    width: 90%;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.banner-light-left,
.banner-light-right {
    position: relative;
    border-radius: 18px;
    min-height: 320px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    padding-right: 220px;
    color: #17344c;
    transition: 0.3s;
    cursor: pointer;
}
.banner-light-left:hover,
.banner-light-right:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.banner-light-left {
    background: radial-gradient(circle at top left, rgba(67,221,230,0.25), transparent 50%), #f8fafc;
}
.banner-light-right {
    background: radial-gradient(circle at top right, rgba(240,36,67,0.15), transparent 50%), #f8fafc;
}

.bl-content-light-left,
.bl-content-light-right {
    z-index: 2;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px 0px 40px 0px;
}

.bl-tag-light-left,
.bl-tag-light-right {
    font-size: 18px;
    font-family: "degular", Sans-serif;
    display: inline-flex;
    align-items: center;
    font-weight: 400;
    gap: 10px;
    color: #17344c;
}
.bl-tag-light-left::before,
.bl-tag-light-right::before {
    content: "";
    width: 120px;
    height: 2px;
    display: inline-block;
}
.bl-tag-light-left::before { background: #43dde6; }
.bl-tag-light-right::before { background: #f02443; }

.bl-title-light-left,
.bl-title-light-right {
    font-family: "degular", Sans-serif;
    font-size: 46px;
    font-weight: 800;
    line-height: 1;
    color: #17344c;
    padding-left: 30px;
}

.bd-content-bas-light-left,
.bd-content-bas-light-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-left: 30px;
}

.bl-desc-light-left {
    font-family: "degular", Sans-serif;
    font-size: 10px;
    margin: 0;
    opacity: 0.6;
    max-width: 100%;
    
}
.bl-desc-light-right {
    font-family: "degular", Sans-serif;
    font-size: 10px;
    margin: 0;
    opacity: 0.6;
    max-width: 100%;
}

.bl-btn-light-left {
    font-family: "degular", Sans-serif;
    font-size: 26px;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: 8px;
    line-height: 1.2;
    text-decoration: none;
    transition: 0.3s;
    white-space: nowrap;
    background: #43dde6;
    color: #17344c;
    font-style: italic ! important;
}
.bl-btn-light-left:hover { box-shadow:
        0 0 8px rgba(67, 221, 230, 0.9),
        0 0 20px rgba(67, 221, 230, 0.7),
        0 0 40px rgba(67, 221, 230, 0.5);
    transform: translateY(-3px);
    color: #fff; }

.bl-btn-light-right {
   font-family: "degular", Sans-serif;
    font-size: 26px;
    font-weight: 600;
    padding: 14px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.3s;
    line-height: 1.2;
    white-space: nowrap;
    background: #f02443;
    color: #fff;
    font-style: italic ! important;
}
.bl-btn-light-right:hover { box-shadow:
        0 0 5px rgba(240, 36, 67, 0.6),
        0 0 15px rgba(240, 36, 67, 0.6),
        0 0 30px rgba(240, 36, 67, 0.4);

    transform: translateY(-2px);
  color: #fff; }

/* IMAGE — mouvement droite → gauche */
.bl-image-light-left {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}
.bl-image-light-right {
    position: absolute;
    bottom: 0;
    right: 0;
    z-index: 1;
}

.bl-image-light-left img {
    max-height: 350px;
    height: 100%;
    object-fit: contain;
    transform: translateX(20px);
    margin-right: 50px;
    transition: transform 0.5s ease-in-out;
}
.bl-image-light-right img {
    max-height: 300px;
    height: 100%;
    object-fit: contain;
    margin-right: -50px;
    transform: translateX(40px);
    transition: transform 0.5s ease-in-out;
    
}
.banner-light-left:hover .bl-image-light-left img,
.banner-light-right:hover .bl-image-light-right img {
    transform: translateX(0px);
}

/* ============================================================
   Bannières (×4) coupées en deux : TEXTE à gauche / IMAGE à droite
   ============================================================ */
.banner-dark-left,  .banner-dark-right,
.banner-light-left, .banner-light-right {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    padding-right: 0;           /* annule l'espace réservé à l'ancienne image absolue */
}
.bd-content-dark-left,  .bd-content-dark-right,
.bl-content-light-left, .bl-content-light-right {
    flex: 0 0 50%;              /* moitié gauche = texte */
    max-width: 50%;
    box-sizing: border-box;
    padding-right: 24px;
}
.bd-image-dark-left,  .bd-image-dark-right,
.bl-image-light-left, .bl-image-light-right {
    position: static;          /* plus d'absolu : devient la moitié droite */
    inset: auto;
    flex: 0 0 50%;             /* moitié droite = image */
    max-width: 50%;
    width: auto;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.bd-image-dark-left img,  .bd-image-dark-right img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: translateX(40px);              /* au repos : décalée vers la droite */
    transition: transform 0.5s ease-in-out;   /* au survol : glisse de droite à gauche */
}

.bl-image-light-left img, .bl-image-light-right img {
    max-width: 130%;
    max-height: 320px;
    width: auto;
    height: auto;
    object-fit: contain;
    transform: translateX(40px);              /* au repos : décalée vers la droite */
    transition: transform 0.5s ease-in-out;   /* au survol : glisse de droite à gauche */
}

/* Position de l'image dans sa moitié (par bannière) */
.bd-image-dark-left,  .bd-image-dark-right,
.bl-image-light-right {
    align-items: flex-end;        /* image en bas */
    justify-content: flex-end;    /* image à droite */
    padding: 0;
}
.bl-image-light-left {
    align-items: flex-start;      /* image en haut */
    justify-content: flex-end;    /* image à droite */
    padding: 0;
}

/* Descriptions des bannières : 2 lignes maximum */
.bd-desc-dark-left,  .bd-desc-dark-right,
.bl-desc-light-left, .bl-desc-light-right {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =================== SMARTLIFE =================== */
.smartlife {
    background: linear-gradient(180deg, #17344c, #102533);
    padding: 40px 0px 60px 20px !important;
    text-align: center;
    color: white;
    gap: 6px;
}
.smartlife-subtitle {
    color: var(--cyan);
    margin-bottom: 10px;
    font-family: "urbane", Sans-serif;
    font-size: 26px;
    font-weight: 500;
}
.smartlife-title {
    margin: 0 !important;
    margin-bottom: 40px !important;
    font-family: "degular", Sans-serif;
    font-size: 68px;
    font-weight: 700;
    font-style: italic;
}

.products-grid {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.product-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: left;
    position: relative;
    transition: 0.3s;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.product-card:hover { transform: translateY(-5px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
.product-card a, .product-card a:hover, .product-card a:visited { text-decoration: none !important; color: inherit; }
.product-card img { width: 100%; height: 150px; object-fit: cover; }
.product-name, .product-card h3 {
    color: #17344C;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
    line-height: 1;
    margin: 6px 0;
    font-size: 18px;
    font-weight: 600;
}
.product-name:hover, .product-card h3:hover { color: var(--red); }
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    font-size: 15px;
    font-family: "Urbane", sans-serif;
}
.badge.new  { background: var(--cyan); }
.badge.sale { background: var(--red); }
.price { font-size: 12px; color: #17344c; margin-bottom: 5px; }
.price-box { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.old-price {
    text-decoration: line-through;
    color: gray;
    font-family: "degular", Sans-serif;
    font-size: 20px;
    font-weight: 300;
}
.new-price {
    font-weight: bold;
    color: #17344c;
    font-family: "degular", Sans-serif;
    font-size: 20px;
    font-weight: 700;

}
.card-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 10px; align-items: center; }
.btn-add-cart {
    flex: 1;
    padding: 8px 12px;
    background: #17344c;
    color: #fff !important;
    border: none;
    border: 2px solid #17344c; border-radius: 8px;
    text-align: center;
    text-decoration: none !important;
    cursor: pointer;
    transition: 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-sizing: border-box;
    font-family: "degular", Sans-serif !important;
    font-size: 20px;
    font-weight: 600;
    
}
.btn-add-cart:hover { background: #43dde6; color: #17344c !important; }
.btn-wishlist {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    color: #17344c;
    border: none;
    border-radius: 6px;
    text-decoration: none !important;
    cursor: pointer;
    transition: 0.3s;
    box-sizing: border-box;
    padding: 0;
}
.btn-wishlist:hover { background: #ffe0e5; color: #f02443; }
.btn-wishlist.active { background: #f02443; color: #fff; }
@keyframes wishPop { 0%{transform:scale(1)} 50%{transform:scale(1.35)} 100%{transform:scale(1)} }
.btn-wishlist.wishlist-pop { animation: wishPop 0.4s ease; }
.view-all { margin-top: 40px; }
.view-all a {
    display: inline-flex;
    align-items: center;            /* texte + flèche sur le même niveau */
    gap: 10px;
    background: #DFEBF7;
    padding: 12px 26px;
    border-radius: 6px;
    text-decoration: none;
    color: #17344c;
    font-family: "degular", Sans-serif;
    font-size: 26px;
    font-weight: 700;
    font-style: italic;
    transition: background 0.3s ease, color 0.3s ease;
}
.view-all a:hover { background: #43dde6; color: #fff; }


/* flèche SVG */
.view-all a::after {
    content: "";
    transform: rotate(-45deg);
    display: inline-block;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    -webkit-mask: url('/assets/images/Arrow-home.svg') no-repeat center / contain;
    mask: url('/assets/images/Arrow-home.svg') no-repeat center / contain;
    background-color: #17344c;       /* couleur de la flèche au repos */
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.view-all a:hover::after {
    transform: rotate(0deg);
    background-color: #DFEBF7;        /* flèche claire au survol */
}

/* Responsive de .products-grid → consolidé dans le bloc RESPONSIVE (bas de fichier) */

.empty-msg { text-align:center; width:100%; color:#aaa; padding:40px 0; grid-column:1/-1; }

/* =================== SLIDER SECTION =================== */
.product-slider-section {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: auto;
    padding: 60px 20px;
}
.slider-title {
    text-align: left;
    color: #17344c;
    margin: 0;
    font-family: "degular", Sans-serif;
    font-size: 68px;
    font-weight: 700;
}
.slider-subtitle {
    color: #43dde6;
    text-align: left;
    font-family: "urbane", Sans-serif;
    font-size: 26px;
    font-weight: 500;
    margin: 0 0 6px;
    letter-spacing: 1px;
}

.slider-tabs {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px;
}
.slider-tab {
    padding: 8px 18px;
    border-radius: 20px;
    border: 2px solid #17344c;
    background: transparent;
    color: #17344c;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}
.slider-tab:hover, .slider-tab.active { background: #17344c; color: #fff; }

.slider-container { position: relative; width: 100%; margin: auto; padding-inline: 48px; box-sizing: border-box; }

.product-slider {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    align-items: stretch;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.product-slider::-webkit-scrollbar { display: none; }

.product-card-slider {
    /* 5 cartes pleines qui remplissent la largeur du conteneur
       (4 espaces de 16px) → plus aucune carte coupée à gauche/droite */
    flex: 0 0 calc((100% - 64px) / 5);
    min-width: 0;
    max-width: calc((100% - 64px) / 5);
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #17344c;
    transition: 0.3s;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.product-card-slider:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }
.product-card-slider a,
.product-card-slider a:hover,
.product-card-slider a:visited { text-decoration: none !important; color: inherit; }

/* Cartes du slider : largeur adaptative pour rester pleines (jamais coupées).
   Sous 768px, on en montre 2 et on fait défiler au doigt. */
/* Responsive de .product-card-slider → consolidé dans le bloc RESPONSIVE (bas de fichier) */

.img-slider { width:100%; height:130px; object-fit:cover; margin-bottom:10px; flex-shrink:0; }
.caty-slider {
    font-family: "urbane", Sans-serif;
    font-size: 10px;
    font-weight: 300;
    background: #DFEBF7;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    color: #17344c;
    margin-bottom: 5px;
}
.name-slider {
    color: #17344c;
    margin: 5px 0 8px;
    text-decoration: none;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 36px;
    line-height: 1.4;
    font-size: 15px;
    font-weight: 700;
    font-family: "urbane", Sans-serif;
}
.name-slider:hover { color: #f02443; }
.price-box-slider { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; margin-bottom: 8px; }
.old-price-slider {
    text-decoration: line-through;
    font-weight: 700;
    font-size: 20px;
    color: gray;
    font-family: "degular", Sans-serif !important;
}
.new-price-slider {
    color: #17344c;
    font-family: "degular", Sans-serif !important;
    font-weight: 700;
    font-size: 20px;
}

.slider-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: #17344c;
    color: white;
    border: none;
    width: 46px;
    height: 46px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    font-family: "degular", Sans-serif;
    font-size: 20px;
    font-weight: 600;
}
.slider-btn.left  { left: 0; }
.slider-btn.right { right: 0; }
.slider-btn:hover { background: #43dde6; }

.btn-slider {
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    margin-top: auto;
    background: #17344c;
    color: #fff !important;
    border: none;
    border: 2px solid #17344c; border-radius: 8px;
    font-weight: 600;
    text-decoration: none !important;
    cursor: pointer;
    transition: 0.3s;
    gap: 6px;
    font-family: "degular", Sans-serif !important;
    font-size: 26px;
}
.btn-slider:hover { background: #43dde6; color: #17344c !important; }

/* =================== HITS DU MOIS =================== */
.hits-section {
    background: linear-gradient(180deg, #102533 0%, #17344c 100%);
    padding: 60px 5%;
}
.hits-header { margin-bottom: 36px; }
.hits-subtitle {
    color: #f02443;
    letter-spacing: 0.5px;
    margin: 0 0 8px;
    font-family: "urbane", Sans-serif;
    font-size: 26px;
    font-weight: 500;
}
.hits-title {
    color: #fff;
    font-family: "degular", Sans-serif;
    font-size: 68px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}
.hits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hit-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border-radius: 12px;
    padding: 16px;
    text-decoration: none !important;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-sizing: border-box;
}
.hit-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.hit-img {
    flex-shrink: 0;
    width: 90px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f7fa;
    border-radius: 8px;
    overflow: hidden;
}
.hit-img img { width: 100%; height: 100%; object-fit: cover; }
.hit-info { flex: 1; min-width: 0; }
.hit-category {
    font-family: "urbane", Sans-serif;
    font-size: 10px;
    font-weight: 300;
    background: #DFEBF7;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
    align-self: flex-start;
    color: #17344c;
    margin-bottom: 0px;
}
.hit-name {
    font-family: "urbane", Sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #17344c;
    margin: 0 0 8px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.hit-name:hover { color: #f02443; }

.hit-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.hit-old-price {
    text-decoration: line-through;
    font-family: "degular", Sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #aaa;
}
.hit-new-price {
    font-family: "degular", Sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: #17344c;
}

/* =================== MESSAGES =================== */
.messages-container { max-width: 90%; margin: 16px auto; }
.alert { padding: 14px 20px; border-radius: 8px; margin-bottom: 10px; font-size: 14px; }
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.alert-warning { background: #fff3cd; color: #856404; border: 1px solid #ffeeba; }

.products-grid p, .product-slider p {
    text-align: center; width: 100%; color: #aaa; padding: 40px 0; grid-column: 1/-1;
}

/* ========== BRANDS CAROUSEL ========== */
.brands-carousel-section {
    background: #17344c;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    margin: auto; height: 100px;
}
.brands-track-wrapper {
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    width: 80%;
    padding: 22px 0;
}
.brands-track-wrapper::before,
.brands-track-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    height: 100%;
    z-index: 10;
    pointer-events: none;
}
.brands-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #17344c, transparent);
}
.brands-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #17344c, transparent);
}
.brands-track {
    display: flex;
    align-items: center;
    gap: 30px;
    width: max-content;
    animation: scroll-brands 22s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }
.brand-item {
    display: flex;
    align-items: center;
    height: 50px;
    flex-shrink: 0;
    opacity: 0.55;
    transition: opacity 0.3s ease;
    filter: brightness(0) invert(1);
}
.brand-item:hover { opacity: 1; }
.brand-item img { height: 60px; width: auto; max-width: 100px; object-fit: contain; }
@keyframes scroll-brands {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== AVANTAGES ========== */
.avantages-section { width: 80%; margin: 60px auto; }
.avantages-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.av-card {
    background: #dfebf7;
    border-radius: 14px;
    padding: 28px 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 14px;
    min-height: 180px;
    transition: all 0.3s ease;
    cursor: pointer;
}
.av-card:hover {
    transform: translateY(-6px);
    background: #17344c;
    box-shadow: 0 12px 28px rgba(14,37,55,0.2);
}
.av-icon { width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; }
.av-icon svg { width: 100%; height: 100%; fill: #17344c; transition: fill 0.3s ease; }
.av-label {
    font-size: 32px;
    font-family: "degular", Sans-serif !important;
    font-weight: 700;
    color: #17344c;
    line-height: 1;
    margin: 0;
    transition: color 0.3s ease;
}
.av-card:hover .av-label { color: #ffffff; }
.av-card .av-icon svg .cls-1 { fill: #17344c; }
.av-card.icon-red .av-icon svg .cls-2  { fill: #f02443; }
.av-card.icon-blue .av-icon svg .cls-2 { fill: #17344c; }
.av-card.icon-cyan .av-icon svg .cls-2 { fill: #43dde6; }
.av-card:hover .av-icon svg .cls-1,
.av-card:hover .av-icon svg .cls-2 { fill: #ffffff; }
.av-card.icon-red:hover .av-icon svg .cls-1  { fill: #ffffff; }
.av-card.icon-red:hover .av-icon svg .cls-2  { fill: #f02443; }
.av-card.icon-blue:hover .av-icon svg .cls-2 { fill: #17344c; }
.av-card.icon-cyan:hover .av-icon svg .cls-2 { fill: #43dde6; }

/* ── PRIX PAR TYPE CLIENT ── */
.client-type-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    background: #17344c;
    color: #fff;
    letter-spacing: .3px;
    vertical-align: middle;
    margin-left: 4px;
}
.client-type-bar {
    background: linear-gradient(90deg, #17344c, #0f2235);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.client-type-bar .ct-normal    { color: #43dde6; }
.client-type-bar .ct-revendeur { color: #f5a623; }
.client-type-bar .ct-grossiste { color: #28a745; }

/* ========================================================
   RESPONSIVE — système unifié (cascade desktop → mobile)
   Points de rupture : 1200 / 992 / 768 / 480
   ======================================================== */

/* — Typographie fluide des grands titres (s'adapte à l'écran ET au zoom) — */
.slider-title, .hits-title, .smartlife-title, .main-card h1 { font-size: clamp(24px, 5.5vw, 68px) !important; line-height: 1.05 !important; }
.smartlife-subtitle { font-size: clamp(14px, 3vw, 26px) !important; margin-bottom: 6px !important; }
.bd-title-left, .bd-title-right,
.bl-title-light-left, .bl-title-light-right { font-size: clamp(22px, 4.4vw, 46px) !important; }
.bd-tag-dark-left, .bd-tag-dark-right,
.bl-tag-light-left, .bl-tag-light-right { font-size: clamp(13px, 2.4vw, 18px) !important; }
.av-label { font-size: clamp(15px, 2.8vw, 24px) !important; }

/* ===== ≤ 1200px — laptops ===== */
@media (max-width: 1200px) {
    .products-grid { grid-template-columns: repeat(4, 1fr); }
    .product-card-slider { flex: 0 0 calc((100% - 48px) / 4); max-width: calc((100% - 48px) / 4); }
    .container-grid { width: 92%; gap: 20px; }
    .avantages-section { width: 92%; }
    .card h3 { font-size: 34px; }
}

/* ===== ≤ 992px — tablettes ===== */
@media (max-width: 992px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .product-card-slider { flex: 0 0 calc((100% - 32px) / 3); max-width: calc((100% - 32px) / 3); }
    .hits-grid { grid-template-columns: repeat(2, 1fr); }
    .avantages-wrap { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .container-grid { grid-template-columns: 1fr 1fr; width: 94%; }
    .main-card { grid-column: 1 / -1; height: auto; min-height: 260px; align-items: center; text-align: center; justify-content: flex-start; }
    .main-card p { max-width: 100%; margin-top: 12px; }
    .main-card img { position: static; max-height: 230px; width: auto; max-width: 62%; margin: 16px auto 0; display: block; }
    .btn-center { margin-top: 16px; }
    .left, .right { gap: 18px; }
    .card { height: 280px; }
    .card h3 { font-size: 28px; }
    .card p { font-size: 16px; }
}

/* ===== ≤ 768px — grands mobiles ===== */
@media (max-width: 768px) {
    .product-slider-section { width: 94%; padding: 36px 0; }
    /* SMARTLIFE : padding symétrique (annule le 20px à gauche / 0 à droite) */
    .smartlife { padding: 32px 0 48px !important; }
    /* produits SMARTLIFE : la grille remplit le .container (déjà 92% centré), pas de double 92% */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
    .product-card-slider { flex: 0 0 calc((100% - 16px) / 2); max-width: calc((100% - 16px) / 2); }
    .product-card img { height: 120px; }
    /* ===== HITS DU MOIS : slider horizontal (glisser-défiler) sur mobile ===== */
    .hits-grid {
        display: flex; flex-direction: row;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        gap: 12px; padding: 4px 0 12px; scrollbar-width: none;
    }
    .hits-grid::-webkit-scrollbar { display: none; }
    .hit-card { flex: 0 0 85%; max-width: 85%; scroll-snap-align: start; }
    .avantages-section { width: 94%; margin: 16px auto; }
    .avantages-wrap { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .av-card { padding: 20px 12px; min-height: 130px; }
    .av-icon { width: 50px; height: 50px; }

    /* ===== HERO : slider horizontal (glisser-défiler), une carte = un slide ===== */
    .hero { padding: 20px 0; }
    .container-grid {
        display: flex; flex-direction: row;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        gap: 12px; width: 100%; padding: 4px 14px 12px; scrollbar-width: none;
    }
    .container-grid::-webkit-scrollbar { display: none; }
    .left, .center, .right { display: contents; }
    .card, .main-card {
        flex: 0 0 82%; max-width: 82%; min-height: 300px; height: auto;
        scroll-snap-align: center; margin: 0;
    }
    .card { padding: 18px 14px; }
    .card h3 { font-size: 24px; }
    .card p { display: none; }
    .card .card-img img { max-height: 130px; }
    .shop-btn { opacity: 1; transform: translateX(-50%); font-size: 17px; bottom: 14px; }
    .shop-btn::after { width: 18px; height: 18px; }
    /* panneau central : titre + image cadrée, le tout centré (l'image ne déborde plus) */
    .main-card { padding: 22px 18px; align-items: center; text-align: center; justify-content: flex-start; }
    .main-card p { max-width: 100%; margin-top: 12px; }
    .main-card img {
        position: static; max-height: 150px; width: auto; max-width: 92%;
        margin: 12px auto 0; display: block;
    }

    /* ===== BANNIÈRES : slider horizontal, chaque bannière empilée (texte + image) ===== */
    .banner-container-dark, .banner-container-light {
        display: flex; grid-template-columns: none;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        gap: 14px; width: 100%; padding: 0 14px 12px; scrollbar-width: none;
    }
    .banner-container-dark::-webkit-scrollbar,
    .banner-container-light::-webkit-scrollbar { display: none; }
    .banner-dark-left, .banner-dark-right,
    .banner-light-left, .banner-light-right {
        flex: 0 0 92%; max-width: 92%; scroll-snap-align: center;
        flex-direction: row; flex-wrap: nowrap; align-items: stretch;
        padding-right: 0; min-height: auto; text-align: left;
    }
    .bd-content-dark-left, .bd-content-dark-right,
    .bl-content-light-left, .bl-content-light-right { flex: 1 1 auto; min-width: 0; padding: 16px 4px 16px 14px; align-items: flex-start; justify-content: center; gap: 8px; }
    /* pas de retrait gauche en double sur mobile */
    .bd-title-left, .bd-title-right, .bl-title-light-left, .bl-title-light-right,
    .bd-content-bas-dark-left, .bd-content-bas-dark-right,
    .bd-content-bas-light-left, .bd-content-bas-light-right { padding-left: 0; }
    .bd-image-dark-left, .bd-image-dark-right,
    .bl-image-light-left, .bl-image-light-right { position: relative; bottom: auto; right: auto; flex: 0 0 42%; max-width: 42%; width: auto; margin: 0; align-self: stretch; display: flex; align-items: flex-end; justify-content: flex-end; }
    .bd-image-dark-left img, .bd-image-dark-right img,
    .bl-image-light-left img, .bl-image-light-right img { max-height: 150px; transform: none; width: 100%; object-fit: contain; object-position: bottom right; }

    section { margin-bottom: 28px; }
}

/* ===== ≤ 480px — petits mobiles ===== */
@media (max-width: 480px) {
    .product-slider-section { padding: 26px 0; }
    .products-grid { gap: 10px; }
    .hits-grid { grid-template-columns: 1fr; }
    .avantages-wrap { grid-template-columns: 1fr 1fr; gap: 10px; }
    .av-card { padding: 16px 8px; min-height: 110px; gap: 10px; }
    .av-icon { width: 42px; height: 42px; }
    .hero { padding: 16px 8px; }
    .container-grid { gap: 12px; }
    .card { min-height: 280px; }
    .card h6 { font-size: 12px; }
    .card .card-img img { max-height: 110px; }
    .shop-btn { font-size: 15px; bottom: 12px; }
    .main-card { min-height: 260px; }
    .product-card img { height: 105px; }
    .bd-image-dark-left img, .bd-image-dark-right img,
    .bl-image-light-left img, .bl-image-light-right img { max-height: 130px; }
}
