/* ==========================================================
   ZANDOS MARKETPLACE — HOME
   DARK EDITORIAL 2026

   Ce fichier concerne uniquement le corps de l'accueil.
   Navbar et footer seront harmonisés séparément.
========================================================== */

:root {
    --black: #0f0f0f;
    --page-bg: #191919;
    --surface: #242424;
    --surface-soft: #202020;

    --text: #f5f5f5;
    --text-soft: #d4d4d4;
    --gray: #9a9a9a;
    --gray-dark: #707070;

    --border: #363636;

    --photo-background: #eeeeee;

    --white: #ffffff;
    --promo: #e30613;
    --orange: #f76902;

    --page-padding: clamp(20px, 4vw, 64px);
    --section-space: 48px;

    --radius-photo: 0px;
}


/* ==========================================================
   RESET / BASE
========================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body {
    min-height: 100vh;

    overflow-x: hidden;

    color: var(--text);
    background: var(--page-bg);

    font-family: "Inter", -apple-system, BlinkMacSystemFont,
        "Segoe UI", sans-serif;

    font-size: 14px;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main {
    width: 100%;
    overflow: hidden;

    color: var(--text);
    background: var(--page-bg);
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* ==========================================================
   SECTIONS
========================================================== */

.featured-section,
.category-section {
    position: relative;

    width: 100%;

    padding:
        var(--section-space)
        var(--page-padding);

    color: var(--text);
    background: var(--page-bg);
}

.featured-section {
    padding-top: 32px;
}

.category-section {
    position: relative;
    margin-top: 28px;
    border-top: 1px solid var(--border);
}

.category-section::before {
    content: "";
    position: absolute;

    top: -29px;
    left: 0;

    width: 100%;
    height: 28px;

    background: #0f0f0f;
    border-top: 1px solid #2f2f2f;
    border-bottom: 1px solid #2f2f2f;

    pointer-events: none;
}

#categories-container {
    width: 100%;
    background: var(--page-bg);
}


/* ==========================================================
   TITRES DES SECTIONS
========================================================== */

.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    width: 100%;

    gap: 30px;
    margin-bottom: 30px;
}

.section-header > div {
    display: flex;
    flex-direction: column;

    min-width: 0;

    gap: 8px;
}

.section-header h2 {
    margin: 0;

    color: var(--text);

    font-size: clamp(22px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1.15px;
}

.section-header p {
    margin: 0;

    color: var(--gray);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


/* ==========================================================
   VOIR TOUT
========================================================== */

.section-header > a,
.section-header button,
.view-all-link {
    display: inline-flex;
    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    min-height: 36px;

    padding: 0 16px;

    color: var(--text);
    background: transparent;

    border: 1px solid #5a5a5a;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;
    line-height: 1;

    white-space: nowrap;

    cursor: pointer;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.section-header > a::after,
.section-header button::after,
.view-all-link::after {
    display: none;
    content: none;
}

.section-header > a:hover,
.section-header button:hover,
.view-all-link:hover {
    color: #111111;
    background: #ffffff;
    border-color: #ffffff;
}


/* ==========================================================
   SLIDER
========================================================== */

.products-slider {
    position: relative;
    width: 100%;
}

.products-slider + .products-slider {
    margin-top: 38px;
}


/* ==========================================================
   PRODUITS
========================================================== */

.product-row {
    display: flex;
    flex-wrap: nowrap;

    width: 100%;

    gap: 6px; /* espace entre le texte produit */

    overflow-x: auto;
    overflow-y: hidden;

    padding: 0;

    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.product-row::-webkit-scrollbar {
    display: none;
}


/* ==========================================================
   CARTE PRODUIT
========================================================== */

.product-card {
    position: relative;

    flex: 0 0 calc((100% - 18px) / 4);
    min-width: calc((100% - 18px) / 4)

    overflow: visible;

    color: var(--text);
    background: transparent;

    cursor: pointer;
}

.product-card:focus-visible {
    outline: 2px solid rgba(255, 255, 255, .8);
    outline-offset: 5px;
}


/* ==========================================================
   IMAGE PRODUIT
========================================================== */

.product-image {
    position: relative;

    width: 100%;
    aspect-ratio: 3 / 4;

    overflow: hidden;

    background: var(--photo-background);

    border-radius: var(--radius-photo);

    isolation: isolate;
}

.product-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    transition:
        transform .45s cubic-bezier(.2, .6, .2, 1),
        opacity .25s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.015);
}


/* ==========================================================
   PROMOTION
========================================================== */

.product-badge {
    position: absolute;
    z-index: 5;

    bottom: 10px;
    left: 10px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 25px;

    padding: 5px 9px;

    color: #ffffff;
    background: var(--promo);

    border-radius: 0;

    font-size: 10px;
    font-weight: 650;
    line-height: 1;
    letter-spacing: .02em;
}


/* ==========================================================
   FAVORIS
========================================================== */

.favorite-btn {
    position: absolute;
    z-index: 6;

    top: 10px;
    right: 10px;

    display: grid;
    place-items: center;

    width: 38px;
    height: 38px;

    padding: 0;

    color: #111111;
    background: rgba(255, 255, 255, .94);

    border: 0;
    border-radius: 50%;

    box-shadow: none;

    font-size: 17px;

    cursor: pointer;

    transition:
        transform .2s ease,
        color .2s ease,
        background .2s ease;
}

.favorite-btn:hover {
    transform: scale(1.04);
}

.favorite-btn.active {
    color: #ffffff;
    background: #111111;
}


/* ==========================================================
   CONTENU PRODUIT
========================================================== */




/* NOM / MARQUE */

.product-content {
    display: flex;
    flex-direction: column;
    min-height: 116px;
    padding: 12px 10px 16px;
    background: #1c1c1c;
}

.product-content h3 {
    overflow: hidden;

    margin: 0 0 4px;

    color: var(--text);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;

    text-overflow: ellipsis;
    white-space: nowrap;
}


/* DESCRIPTION */

.product-description {
    display: -webkit-box;

    min-height: 38px;

    overflow: hidden;

    margin: 0 0 8px;

    color: var(--gray);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;

    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}


/* ==========================================================
   VENDEUR
========================================================== */

.product-seller {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 4px;

    margin-top: 5px;

    color: var(--gray-dark);

    font-size: 10px;
    line-height: 1.4;
}

.product-seller-label {
    color: var(--gray-dark);
}

.product-seller-name {
    overflow: hidden;

    color: var(--gray);

    font-weight: 500;

    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-seller-verified {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: var(--text-soft);

    font-size: 10px;
}


/* ==========================================================
   NOTE
========================================================== */

.product-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    min-height: 20px;

    gap: 5px;
    margin: 7px 0 8px;

    color: var(--gray);

    font-size: 11px;
    line-height: 1.3;
}

.product-stars {
    display: inline-flex;
    align-items: center;

    gap: 1px;

    color: var(--text);

    font-size: 9px;
    line-height: 1;
}

.product-rating-value {
    color: var(--text-soft);

    font-size: 11px;
    font-weight: 500;
}

.product-review-count {
    color: var(--gray);

    font-size: 11px;
    font-weight: 400;
}


/* ==========================================================
   PRIX
========================================================== */

.price-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 3px;

    margin-top: auto;
}

.normal-price,
.new-price {
    color: var(--text);

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.new-price {
    color: var(--text);
    font-weight: 650;
}

.reference-price {
    color: var(--gray);

    font-size: 11px;
    line-height: 1.45;
}

.old-price {
    color: var(--gray);

    text-decoration: line-through;
    text-decoration-thickness: 1px;
}

.discount {
    margin-left: 4px;

    color: var(--text-soft);

    font-weight: 500;
}


/* ==========================================================
   FLÈCHES DES PRODUITS
========================================================== */

.slider-arrow {
    position: absolute;
    z-index: 20;

    top: 39%;

    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;

    padding: 0;

    color: #111111;
    background: rgba(255, 255, 255, .96);

    border: 0;
    border-radius: 50%;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, .25);

    font-size: 14px;

    cursor: pointer;

    transform: translateY(-50%);

    transition:
        opacity .2s ease,
        visibility .2s ease,
        transform .2s ease;
}

.slider-arrow:hover {
    transform:
        translateY(-50%)
        scale(1.04);
}

.slider-arrow-left {
    left: -20px;
}

.slider-arrow-right {
    right: -20px;
}

.slider-arrow:disabled {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}



/* ==========================================================
   VITRINE COLLECTIONS ZANDOS
========================================================== */

.home-showcase {
    padding: 16px var(--page-padding) 0;
    background: var(--page-bg);
}

.home-showcase-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 10px;
    max-width: 1280px;
    margin: 0 auto;
}

.home-showcase-card {
    position: relative;
    display: block;
    min-width: 0;
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 8px;
    background: #242424;
    color: #fff;
    text-decoration: none;
}

.home-showcase-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
}

.home-showcase-card:nth-child(2) {
    grid-column: span 2;
    aspect-ratio: auto;
}

.home-showcase-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-showcase-caption {
    position: absolute;
    inset: auto 0 0;
    padding: 50px 18px 18px;
    background: linear-gradient(transparent, rgba(0,0,0,.85));
}

.home-showcase-caption h2 {
    margin: 0 0 5px;
    font-size: clamp(17px, 2vw, 28px);
    line-height: 1.15;
}

.home-showcase-caption p {
    margin: 0 0 9px;
    font-size: 13px;
    color: #eee;
}

.home-showcase-caption span {
    font-size: 12px;
    font-weight: 600;
}

@media (max-width: 700px) {
    .home-showcase {
        padding-top: 10px;
    }

    .home-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
        gap: 8px;
    }

    .home-showcase-card:first-child {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 1 / 1;
    }

    .home-showcase-card:nth-child(2) {
        grid-column: span 2;
        aspect-ratio: 2 / 1;
    }

    .home-showcase-card:nth-child(n+3) {
        grid-column: span 1;
        aspect-ratio: 1 / 1;
    }

    .home-showcase-caption {
        padding: 32px 12px 12px;
    }

    .home-showcase-caption h2 {
        font-size: 16px;
    }

    .home-showcase-caption p {
        font-size: 11px;
    }
}

/* ==========================================================
   PUBLICITÉS / CAMPAGNES

   DESKTOP :
   grand bloc éditorial sombre.
   Texte à gauche, média à droite.

   MOBILE :
   média pleine largeur puis contenu.
========================================================== */

#featured-campaigns-container {
    width: 100%;
    background: var(--page-bg);
}

#featured-campaigns-container:empty {
    display: none;
}

.home-editorial {
    display: grid;

    grid-template-columns:
        minmax(340px, 1fr)
        minmax(440px, 1.15fr);

    align-items: stretch;

    width: 100%;
    min-height: 370px;

    gap: 0;

    padding: 0;

    color: var(--text);
    background: var(--surface);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.home-editorial + .home-editorial {
    border-top: 0;
}


/* TEXTE PUBLICITAIRE */

.home-editorial-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    min-width: 0;

    padding:
        clamp(46px, 6vw, 92px)
        clamp(28px, 5vw, 76px);
}

.home-editorial-sponsored {
    display: flex;
    align-items: center;

    gap: 7px;

    margin: 0 0 28px;

    color: var(--gray);

    font-size: 11px;
    font-weight: 450;
    line-height: 1.4;
}

.home-editorial-sponsored span {
    font-size: 13px;
    line-height: 1;
}

.home-editorial-content h2 {
    max-width: 580px;

    margin: 0;

    color: var(--text);

    font-size:
        clamp(
            32px,
            3.7vw,
            58px
        );

    font-weight: 450;
    line-height: 1.02;
    letter-spacing: -2.1px;
}

.home-editorial-description {
    max-width: 530px;

    margin: 22px 0 0;

    color: #b4b4b4;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* BOUTON PUBLICITAIRE */

.home-editorial-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 42px;

    margin-top: 32px;

    padding: 0 19px;

    color: #111111;
    background: #ffffff;

    border: 1px solid #ffffff;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 600;
    line-height: 1;

    transition:
        color .2s ease,
        background .2s ease;
}

.home-editorial-link:hover {
    color: #ffffff;
    background: transparent;
}

.home-editorial-link span {
    display: none;
}


/* MÉDIA PUBLICITAIRE */

.home-editorial-visual {
    position: relative;

    min-width: 0;
    min-height: 370px;

    overflow: hidden;

    background: #111111;
}

.home-editorial-media {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 370px;

    object-fit: cover;
    object-position: center;
}




/* PUBLICITÉ DESKTOP — VERSION UNIQUE */
@media (min-width: 1001px) {
  #featured-campaigns-container {
    padding: 32px var(--page-padding);
  }

  #featured-campaigns-container .home-editorial {
    grid-template-columns: 58% 42%;
    width: min(100%, 1280px);
    min-height: 360px;
    height: auto;
    margin: 0 auto;
    border: 0;
    border-radius: 0;
    overflow: hidden;
  }

  #featured-campaigns-container .home-editorial + .home-editorial {
    margin-top: 28px;
  }

  #featured-campaigns-container .home-editorial-visual {
    grid-column: 1;
    grid-row: 1;
    min-height: 360px;
    height: 100%;
    border-radius: 0;
  }

  #featured-campaigns-container .home-editorial-media {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
  }

  #featured-campaigns-container .home-editorial-content {
    grid-column: 2;
    grid-row: 1;
    justify-content: center;
    padding: 32px;
  }

  #featured-campaigns-container .home-editorial-content h2 {
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: -1px;
  }

  #featured-campaigns-container .home-editorial-description {
    margin-top: 14px;
    font-size: 13px;
  }

  #featured-campaigns-container .home-editorial-link {
    width: auto;
    min-height: 44px;
    margin-top: 24px;
  }
}

/* ==========================================================
   MARQUES
========================================================== */

.brands {
    width: 100%;

    padding:
        70px
        var(--page-padding)
        84px;

    color: var(--text);
    background: var(--page-bg);

    border-top: 1px solid var(--border);
}

.brands h2 {
    margin: 0 0 27px;

    color: var(--text);

    font-size: clamp(26px, 2.3vw, 36px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -1.1px;
}

.brand-scroll {
    display: flex;

    width: 100%;

    gap: 8px;

    overflow-x: auto;

    padding-bottom: 6px;

    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.brand-scroll::-webkit-scrollbar {
    display: none;
}

.brand-scroll a {
    display: inline-flex;
    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    min-height: 40px;

    padding: 0 18px;

    color: var(--text-soft);
    background: transparent;

    border: 1px solid #4b4b4b;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 500;

    white-space: nowrap;

    transition:
        color .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.brand-scroll a:hover {
    color: #111111;
    background: #ffffff;
    border-color: #ffffff;
}


/* ==========================================================
   ÉTAT VIDE
========================================================== */

.empty-products {
    width: 100%;

    padding: 40px 0;

    color: var(--gray);

    font-size: 13px;
}


/* ==========================================================
   TABLETTE
========================================================== */

@media (max-width: 1100px) {

    .product-row {
        gap: 12px;
    }

    .product-card {
        flex-basis:
            calc((100% - 6px) / 2)

        min-width:
            calc((100% - 6px) / 2)
    }

    .home-editorial {
        grid-template-columns:
            minmax(270px, .9fr)
            minmax(400px, 1.25fr);

        min-height: 520px;
    }

    .home-editorial-visual,
    .home-editorial-media {
        min-height: 520px;
    }

}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 700px) {

    :root {
        --page-padding: 16px;
        --section-space: 32px;
        --radius-photo: 0px;
    }


    /* ------------------------------------------------------
       SECTIONS
    ------------------------------------------------------ */

    .featured-section,
    .category-section {
        padding:
            42px
            var(--page-padding);
    }

    .featured-section {
        padding-top: 42px;
    }


    /* ------------------------------------------------------
       TITRES
    ------------------------------------------------------ */

    .section-header {
        align-items: flex-end;

        gap: 12px;
        margin-bottom: 20px;
    }

    .section-header > div {
        gap: 0;
    }

    .section-header h2 {
        font-size: 20px;
        font-weight: 500;
        line-height: 1.1;
        letter-spacing: -.75px;
    }

    /*
       Pour le look de référence,
       on retire le sous-titre sur mobile.
    */

    .section-header p {
        display: none;
    }

    .section-header > a,
    .section-header button,
    .view-all-link {
        min-height: 30px;

        padding: 0 11px;

        border-color: #555555;

        font-size: 10px;
    }


    /* ------------------------------------------------------
       CARROUSEL PRODUITS

       Deux cartes presque complètes +
       début de la suivante.
    ------------------------------------------------------ */

    .product-row {
        display: flex;
        flex-wrap: nowrap;

        width:
            calc(
                100% + var(--page-padding)
            );

        gap: 8px;

        overflow-x: auto;
        overflow-y: hidden;

        padding-right:
            var(--page-padding);

        padding-bottom: 6px;

        scroll-behavior: smooth;
        scroll-snap-type: x mandatory;

        scrollbar-width: none;

        -webkit-overflow-scrolling: touch;

        overscroll-behavior-inline: contain;
    }

    .product-row::-webkit-scrollbar {
        display: none;
    }

    .products-slider + .products-slider {
        margin-top: 26px;
    }

    .product-card {
        flex: 0 0 45.5%;
        width: 45.5%;
        min-width: 45.5%;

        overflow: hidden;

        background: #191919;

        scroll-snap-align: start;
    }

    .slider-arrow {
        display: grid !important;

        width: 42px;
        height: 58px;

        top: 38%;

        background: rgba(20, 20, 20, .68);
        border: 0;
        border-radius: 0;

        color: #ffffff;
    }

    .slider-arrow-left {
        left: 0;
    }

    .slider-arrow-right {
        right: 0;
    }

    .slider-arrow:disabled {
        opacity: .38;
        visibility: visible;
        pointer-events: none;
    }


    /* ------------------------------------------------------
       IMAGE
    ------------------------------------------------------ */

    .product-image {
        width: 100%;
        aspect-ratio: 3 / 4;

        border-radius: 0;
    }

    .product-card:hover .product-image img {
        transform: none;
    }


    /* ------------------------------------------------------
       FAVORI
    ------------------------------------------------------ */

    .favorite-btn {
        top: 8px;
        right: 8px;

        width: 34px;
        height: 34px;

        font-size: 15px;
    }


    /* ------------------------------------------------------
       PROMOTION
    ------------------------------------------------------ */

    .product-badge {
        bottom: 8px;
        left: 8px;

        min-height: 22px;

        padding: 4px 7px;

        font-size: 9px;
    }


    /* ------------------------------------------------------
       TEXTE PRODUIT
    ------------------------------------------------------ */

   .product-content {
    display: flex;
    flex-direction: column;
    min-height: 112px;
    padding: 12px 10px 14px;
    background: #1c1c1c;
}

    .product-content h3 {
        margin: 0 0 4px;

        overflow: hidden;

        color: #ffffff;

        font-size: 13px;
        font-weight: 650;
        line-height: 1.25;

        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .product-description {
        min-height: 29px;

        margin: 0 0 5px;

        color: #a9a9a9;

        font-size: 10.5px;
        line-height: 1.35;
    }

    .product-seller {
        gap: 3px;

        margin-top: 2px;

        color: #8f8f8f;

        font-size: 9px;
    }

    .product-seller-label,
    .product-seller-name,
    .product-seller-verified {
        font-size: 9px;
    }

    .product-seller-name {
        color: #b6b6b6;
    }

    .product-rating {
        min-height: 15px;

        gap: 4px;

        margin:
            4px
            0
            5px;
    }

    .product-stars {
        color: #ffffff;
        font-size: 7px;
    }

    .product-rating-value,
    .product-review-count {
        font-size: 9px;
    }

    .price-wrapper {
    margin-top: auto;
    min-height: 36px;
}

    .normal-price,
    .new-price {
        color: #ffffff;

        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
    }

    .reference-label {
        display: none;
    }

    .price-wrapper-promo {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: 4px 7px;
    }

    .reference-price {
        color: #a0a0a0;

        font-size: 9.5px;
        line-height: 1.35;
    }

    .old-price {
        color: #a0a0a0;
    }

    .discount {
        color: #d0d0d0;
    }


    /* ======================================================
       PUBLICITÉ MOBILE

       On change volontairement l'ordre :
       média d'abord,
       texte ensuite.
    ====================================================== */

    .home-editorial {
        display: flex;
        flex-direction: column;

        min-height: 0;

        gap: 0;

        padding: 0;

        background: var(--surface);

        border-top: 1px solid var(--border);
        border-bottom: 1px solid var(--border);
    }

    .home-editorial-visual {
        order: 1;

        width: 100%;
        min-height: 0;

        aspect-ratio: 4 / 5;

        background: #111111;
    }

    .home-editorial-media {
        width: 100%;
        height: 100%;
        min-height: 0;

        object-fit: cover;
        object-position: center;
    }

    .home-editorial-content {
        order: 2;

        display: flex;
        align-items: flex-start;

        padding:
            24px
            16px
            30px;
    }

    .home-editorial-sponsored {
        margin-bottom: 17px;

        color: #909090;

        font-size: 9px;
    }

    .home-editorial-sponsored span {
        font-size: 11px;
    }

    .home-editorial-content h2 {
        max-width: 95%;

        font-size: 24px;
        font-weight: 450;
        line-height: 1.08;
        letter-spacing: -.75px;
    }

    .home-editorial-description {
        max-width: 92%;

        margin-top: 13px;

        color: #aaaaaa;

        font-size: 11px;
        line-height: 1.5;
    }

    .home-editorial-link {
        width: 100%;
        min-height: 54px;

        margin-top: 22px;
        margin-left: auto;
        margin-right: auto;

        padding: 0 24px;

        border-radius: 999px;

        font-size: 14px;
        font-weight: 650;
    }


    /* ------------------------------------------------------
       MARQUES
    ------------------------------------------------------ */

    .brands {
        padding:
            44px
            var(--page-padding)
            52px;
    }

    .brands h2 {
        margin-bottom: 20px;

        font-size: 23px;
        font-weight: 500;
        letter-spacing: -.75px;
    }

    .brand-scroll {
        gap: 7px;
    }

    .brand-scroll a {
        min-height: 35px;

        padding: 0 14px;

        font-size: 10px;
    }

}


/* ==========================================================
   TRÈS PETIT MOBILE
========================================================== */

@media (max-width: 380px) {

    :root {
        --page-padding: 14px;
    }

    .product-card {
        flex-basis: 46%;
        width: 46%;
        min-width: 46%;
    }

    .section-header h2,
    .brands h2 {
        font-size: 21px;
    }

    .home-editorial-content h2 {
        font-size: 22px;
    }

    .product-rating-value {
        display: none;
    }

}


/* ==========================================================
   GRAND ÉCRAN
========================================================== */

@media (min-width: 1400px) {

    :root {
        --page-padding: 5%;
    }

    .featured-section,
    .category-section {
        padding-top: 84px;
        padding-bottom: 84px;
    }

    .home-editorial {
        min-height: 400px;
    }

    .home-editorial-visual,
    .home-editorial-media {
        min-height: 400px;
    }

}


/* ==========================================================
   ACCESSIBILITÉ
========================================================== */

.favorite-btn:focus-visible,
.slider-arrow:focus-visible,
.section-header a:focus-visible,
.section-header button:focus-visible,
.brand-scroll a:focus-visible,
.home-editorial-link:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}


/* ==========================================================
   RÉDUCTION DES ANIMATIONS
========================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

}
