body {
    font-family: 'Duplet Regular', sans-serif !important;
}

@font-face {
    font-family: 'Duplet Regular';
    font-weight: 400;
    src: url('https://off-snkrs.com/wp-content/uploads/2025/10/BMDupletTXT-Regular.woff2');
    font-display: swap;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    padding: 10px;
    padding-left: 0;
    background-color: white;
}

@media (min-width: 1024px) {
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        /* auâÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂÂdessus des autres éléments */
        background: white;
        /* ou la couleur de fond de ton header */
        padding: 8px 48px 15px;
    }

    .header-subtext {
        display: none;
    }
    
    .main-content {
        padding: 0 48px;
    }
}


.header h2 {
    margin: 0;
    font-family: 'Duplet Regular', sans-serif;
    font-size: 20px;
}

.header-buttons {
    display: flex;
    gap: 10px;
    position: relative;
    justify-content: flex-end;
}

.filtr-button {
    background-color: #eeeff3;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Duplet Regular', sans-serif;
    font-size: 16px;
}

.sort-button {
    background-color: #eeeff3;
    color: black;
    border: none;
    border-radius: 50px;
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Duplet Regular', sans-serif;
    font-size: 16px;
}

.filtres {
    padding-top: 15px;
    padding-bottom: 15px;
}

.filter-button {
    display: flex;
    align-items: center;
    background-color: #eeeff3;
    color: black;
    border: none;
    border-radius: 20px;
    padding: 8px 13px;
    margin-left: 20px;
    cursor: pointer;
    font-family: 'Duplet Regular', sans-serif;
    font-size: 16px;
    float: left;
    /*position: fixed;*/
    /*bottom: 20px;*/
    /*right: 20px;*/
    /*z-index: 1000;*/
}

.filter-button img {
    /*filter: invert(1) brightness(2);*/
    margin-right: 8px; /* Espacement entre l'icône et le texte */
    /*width: 28px; /* Taille augmentée */
    /*height: 22px; /* Taille augmentée */
}

/* Si vous utilisez un SVG directement */
.filter-button svg {
    fill: white;
    margin-right: 8px; /* Espacement entre l'icône et le texte */
}

/* Si vous utilisez un SVG avec des paths */
.filter-button svg path {
    fill: white;
    stroke: white;
}

.content {
    display: flex;
}

.sidebar {
    width: 350px;
    height: 100%;
    overflow-y: auto;
    padding: 0 0 3em 48px;
    box-sizing: border-box;
}

#sidebar::after {
  height: 3em;
}

.sidebar h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.sidebar .categories {
    list-style: none;
    padding: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
}

.sidebar .categories li {
    margin-bottom: 10px;
}

.sidebar .categories li a {
    text-decoration: none;
    color: black;
}

/*@media (min-width: 1024px) {
    #sidebar {
        position: sticky;
        top: 50px;
        /* distance entre le haut de la fenêtre et ton sidebar */
        align-self: start;
    }
}*/


.filters {
    margin-top: 20px;
}

.filters h3 {
    font-size: 16px;
    margin-bottom: 20px;
    cursor: pointer;
    font-family: 'Duplet Regular', sans-serif;
}

.filter-options {
    display: none;
    margin-bottom: 30px;
    font-family: 'Duplet Regular', sans-serif;
}

.main-content {
    width: 100%;
    padding-top: 10px;
}

.filters-bar {
    position: relative;
    margin-bottom: 20px;
}

.filters-bar .sort-button {
    padding: 10px 20px;
    cursor: pointer;
    background-color: black;
}

.sort-options {
    display: none;
    position: absolute;
    top: 100%;
    right: -2%;
    background: white;
    padding: 20px;
    z-index: 1;
    border-radius: 10px;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    row-gap: 12px;
}

.product {
    margin-bottom: 20px;
}

.nb-color {
    color: #707072;
}

.nb-sexe {
    font-size: 15px;
    color: #707072;
}

.nb-new {
    font-size: 15px;
}

.nike-air-force {
    color: black;
    font-family: 'Duplet Regular', sans-serif;
}

.nike-price {
    font-family: 'Duplet Regular', sans-serif;
    font-size: 16px;
    color: black;
    position: relative;
    top: 4px;
}

@media (max-width: 1024px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .header {
        padding-left: 20px;
    }
}

@media (max-width: 480px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
    }

    .header {
        padding-left: 20px;
    }
}

.product img {
    width: 100%;
    border-radius: 15px;
}

.product p {
    margin: 5px 0;
}

@media (max-width: 1024px) {
    .sidebar {
        display: none !important;
    }

    .main-content {
        width: 100% !important;
    }

    .product-details {
        padding-left: 10px;
    }

    .af1 {
        /*border-bottom: 2px solid #000;
        padding-bottom: 18px;*/
        background-color: #eeeff3;
        border-radius: 50px;
        padding: 8px 12px;
        color: #000 !important;
    }

    .mobile-categories {
        display: flex;
        overflow-x: auto;
        gap: 30px;
        padding: 10px 20px 20px 20px !important;
        width: 100%;
        -ms-overflow-style: none;
        scrollbar-width: none;
        border-bottom: 1px solid #f5f5f5;
        font-family: 'Duplet Regular', sans-serif;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .mobile-categories::-webkit-scrollbar {
        display: none;
    }

    .mobile-categories li {
        list-style: none;
        white-space: nowrap;
    }

    .mobile-categories a {
        text-decoration: none;
        color: black;
    }

    /*.mobile-categories::after {
content: "";
display: block;
width: 100%;
height: 1px;
background-color: #ccc;
margin-top: 10px;
}*/

    .nike-air-force {
        font-size: 14px;
    }

    .nb-color {
        color: #707072;
        font-size: 12px;
    }

    .nb-sexe {
        color: #707072;
        font-size: 12px;
    }

    .nb-new {
        font-size: 12px;
    }

    .nike-price {
        font-size: 13px;
    }
}

.filter-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.filter-popup-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%; /* Même hauteur que le popup Prix */
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 10px 0 0 0;
    overflow-y: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

/* Structure interne identique aux autres popups */
.filter-popup-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8f9fc;
}

.filter-popup-header {
    text-align: center;
    padding: 16px 24px;
    position: relative;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    box-sizing: border-box;
    flex-shrink: 0;
}

.filter-popup-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;  /* Même valeur que le padding horizontal */
    right: 24px; /* Même valeur que le padding horizontal */
    height: 1px;
    background: #e1e5e9;
}

.filter-popup-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Duplet Regular', sans-serif;
    color: #0e1016;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.filter-popup-header .header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.filter-popup-header .close {
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.filter-popup-body {
    flex: 1; /* Prend tout l'espace disponible */
    padding: 24px;
    overflow-y: auto;
    background: white;
}

.filter-popup-footer {
    padding: 12px 24px 24px 24px; /* Plus de padding en bas pour l'aspect visuel */
    border-top: 1px solid #dfe1e7;
    background: white;
    flex-shrink: 0; /* Empêche le footer de rétrécir */
}

/* Styles pour les boutons du footer */
.filter-popup-buttons {
    display: flex;
    gap: 12px;
    width: 100%;
}

.filter-popup-buttons button {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Duplet Regular', sans-serif;
    font-weight: 400;
    cursor: pointer;
    transition: background 0.2s;
}

.filter-popup-buttons .clearfilters {
    background: white;
    color: #0e1016;
    border: 1px solid #e1e5e9;
}

.filter-popup-buttons .clearfilters:hover {
    background: #f8f9fa;
}

.filter-popup-buttons .apply-filters-btn {
    background: #0e1016;
    color: white;
}

.filter-popup-buttons .apply-filters-btn:hover {
    background: #2a2d35;
}

/* Ajustements responsive */
@media (max-width: 480px) {
    .filter-popup-content {
        height: 85%;
        padding: 10px 0 0 0;
    }
    
    .filter-popup-body {
        padding: 16px;
    }
    
    .filter-popup-header {
        padding: 12px 20px;
        min-height: 56px;
    }
    
    .filter-popup-header h2 {
        font-size: 16px;
    }
    
    .filter-popup-footer {
        padding: 12px 20px 20px 20px;
    }
}

.filter-icon {
    margin-left: 10px;
    width: 19px;
    height: 19px;
}

.filter-button {
    font-family: 'Duplet Regular', sans-serif;
}

.filter-options label {
    display: flex;
    align-items: center;
    margin-bottom: -5px;
}

@media (min-width: 1025px) {

    .filter-button,
    .mobile-filter-button {
        display: none;
    }

    .mobile-categories {
        display: none;
    }
}

@media (max-width: 1024px) {

    .sort-button,
    #toggle-filters-button {
        display: none;
    }
}

@media (max-width: 1024px) {
    .filter-options {
        display: block !important;
    }
}

@media (max-width: 1024px) {
    .filter-popup-buttons {
        display: flex;
        justify-content: space-around;
        position: fixed;
        bottom: 0;
        width: 100%;
        left: 0;
        padding: 20px 30px;
        background-color: #fff;
        border-top: 1px solid #f5f5f5;
        gap: 10px;
    }

    .filter-popup-buttons button {
        padding: 10px 30px;
        cursor: pointer;
        border: none;
        border-radius: 50px;
        font-family: 'Duplet Regular', sans-serif;
        font-size: 14px;
    }

    .filter-popup-buttons .clearfilters {
        background-color: white !important;
        border: 1px solid #f5f5f5 !important;
        color: black !important;
    }

    .filter-popup-buttons .applyfilters {
        background-color: black;
        color: white;
    }

    .filter-popup-content .filter-options {
        border-bottom: 1px solid #f5f5f5;
        padding-bottom: 30px;
    }

    .navig {
        display: flex;
        align-items: center;
        gap: 5px;
        padding-left: 20px;
        z-index: 99;
    }
}

@media (min-width: 1025px) {
    .filters h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
    }

    .filters .filter-icon {
        margin-left: 10px;
        width: 16px;
        height: 16px;
    }
    
    .navig {
        display: flex;
        align-items: center;
        gap: 5px;
        padding-left: 48px;
        z-index: 99;
    }
}

@media (min-width: 1025px) {
    .header-buttons .sort-button {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .header-buttons .sort-icon {
        margin-left: 5px;
        width: 16px;
        height: 16px;
    }

    .filters h3 {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .filters .filter-icon {
        margin-left: 10px;
        width: 16px;
        height: 16px;
    }

    .filter-popup-content,
    .filter-popup {
        display: none !important;
    }
}

/* Style pour les cases à cocher */
input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    border: 1px solid black;
    border-radius: 5px;
    width: 17px;
    height: 17px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 8px;
}

input[type="checkbox"]:checked {
    background-color: black;
    border-color: black;
}

input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 40%;
    left: 50%;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

/* Style pour les boutons radio */
input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: white;
    border: 1px solid black;
    border-radius: 50px;
    width: 16px;
    height: 16px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 8px;
    /* Espace entre le bouton radio et le texte */
}

input[type="radio"]:checked {
    background-color: white;
    border-color: black;
}

input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background-color: black;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

/* 1) On désactive l’apparence native */
.filter-options input[type="checkbox"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* dimensions et position */
    width: 23px;
    height: 23px;
    margin-right: 8px;
    vertical-align: middle;
    position: relative;
    cursor: pointer;

    /* bordure grise et coins arrondis */
    border: 1px solid #ccc;
    border-radius: 50px;

    /* fond transparent par défaut (sera overridé par les règles couleur) */
    background-color: transparent;
}

/* 2) Cases colorées “toujours” */
.filter-options input[type="checkbox"][value="black"] {
    background-color: black;
}

.filter-options input[type="checkbox"][value="white"] {
    background-color: white;
}

.filter-options input[type="checkbox"][value="blue"] {
    background-color: #00a8ff;
}

.filter-options input[type="checkbox"][value="green"] {
    background-color: green;
}

.filter-options input[type="checkbox"][value="brown"] {
    background-color: #4b3636;
}

.filter-options input[type="checkbox"][value="gray"] {
    background-color: gray;
}

.filter-options input[type="checkbox"][value="orange"] {
    background-color: orange;
}

.filter-options input[type="checkbox"][value="purple"] {
    background-color: purple;
}

.filter-options input[type="checkbox"][value="pink"] {
    background-color: pink;
}

.filter-options input[type="checkbox"][value="red"] {
    background-color: red;
}

.filter-options input[type="checkbox"][value="yellow"] {
    background-color: yellow;
}

/* Multicolor : noir à pois blancs */
.filter-options input[type="checkbox"][value="multicolor"] {
    background-color: black;
    background-image: radial-gradient(circle, white 35%, transparent 35%);
    background-size: 6px 6px;
}

.filter-options input[type="checkbox"]::after {
    content: '';
    position: absolute;
    /* on place l'origine au centre de la case */
    top: 50%;
    left: 50%;
    /* dimensions de la coche */
    width: 6px;
    height: 10px;
    /* style de la coche */
    border: solid black;
    border-width: 0 2px 2px 0;
    /* on décale le tracé pour qu'il soit exactement centré */
    transform: translate(-50%, -60%) rotate(45deg);
    /* caché par défaut */
    opacity: 0;
}

/* coche visible uniquement quand checked */
.filter-options input[type="checkbox"]:checked::after {
    opacity: 1;
}

/* 4) (Optionnel) changer la couleur de la coche pour multicolor */
.filter-options input[type="checkbox"][value="multicolor"]:checked::after {
    border-color: white;
}


.close {
    width: 12px;
    height: 12px;
    cursor: pointer;
}

.no-scroll {
    overflow: hidden;
}

/* Supprimer les effets de surlignement et de reflet sur les boutons et les liens */
button,
a {
    outline: none;
    /* Supprime le contour lors du focus */
}

button:active,
a:active,
button:focus,
a:focus,
button:visited,
a:visited {
    outline: none;
    box-shadow: none;
    /* Supprime l'effet de reflet lors du clic */
    text-decoration: none;
    color: inherit;
}

/* Supprimer les effets de surlignement sur les liens */
a:focus,
a:active {
    outline: none;
    box-shadow: none;
}

/* Supprimer les effets de surlignement sur les boutons */
button:focus,
button:active {
    outline: none;
    box-shadow: none;
}

.loading {
    display: none;
    /* Initialement caché */
    text-align: center;
    z-index: 1000;
    /* Assurez-vous qu'il est au-dessus des autres éléments */
}

.loading img {
    width: 30px;
    height: 30px;
}

/* Supprimer le contour et l'effet de surlignement sur les boutons */
button,
.sort-button,
.filtr-button,
.filter-button {
    outline: none;
    box-shadow: none;
}

/* Supprimer le contour et l'effet de surlignement lors du focus et du clic */
button:focus,
button:active,
.sort-button:focus,
.sort-button:active,
.filtr-button:focus,
.filtr-button:active,
.filter-button:focus,
.filter-button:active {
    outline: none;
    box-shadow: none;
}

/* Supprimer les effets de surlignement et de reflet sur les boutons et les liens */
button,
a {
    outline: none;
    /* Supprime le contour lors du focus */
}

button:active,
a:active,
button:focus,
a:focus,
button:visited,
a:visited {
    outline: none;
    box-shadow: none;
    /* Supprime l'effet de reflet lors du clic */
    text-decoration: none;
    color: inherit;
}

/* Supprimer les effets de surlignement sur les liens */
a:focus,
a:active {
    outline: none;
    box-shadow: none;
}

/* Supprimer les effets de surlignement sur les boutons */
button:focus,
button:active {
    outline: none;
    box-shadow: none;
}

/* 1. On transforme le titre en flex pour aligner texte, compteur et icône */
.filters .filter-group>h3 {
    display: flex;
    align-items: center;
    /* si tu as déjà des padding/margins, laisse-les */
    /* padding: 10px; */
}

/* 2. On donne un petit écart entre le texte et le compteur */
.filters .filter-group .filter-count {
    margin-left: 6px;
    /* espace entre "Sexe" et "(n)" */
    font-size: 0.9em;
    /* ajustable selon ton design */
    color: inherit;
    /* récupère la même couleur que le titre */
    /* si tu veux une couleur spécifique : color: #555; */
    font-family: 'Duplet Regular', sans-serif;
}

/* 3. On force l’icône tout à droite */
.filters .filter-group .filter-icon {
    margin-left: auto;
    /* pousse l’icône à l’extrémité droite */
    /* si tu as déjà des margins, adapte ici */
}

/* 4. (Optionnel) Ajuste l’apparence du compteur au hover du titre */
.filters .filter-group>h3:hover .filter-count {
    color: #000;
    /* ou un autre hover color */
}

.clearfilters {
    position: relative;
    /* tes styles existants… */
}

.clearfilters .clear-count {
    margin-left: 6px;
    font-family: inherit;
    font-size: 0.9em;
    color: inherit;
}

.count-product {
    color: #888;
    font-size: 14px;
    font-family: 'Duplet Regular', sans-serif;
}

.products-count-display {
    color: #888;
    margin-left: 20px;
    padding-bottom: 15px;
    font-family: 'Duplet Regular', sans-serif;
}

@media (min-width: 768px) and (max-width: 1023px) {
    .products-count-display {
        margin-left: 20px;
    }
}

@media (min-width: 1024px) {
    .products-count-display {
        margin-left: 0; /* Ajustez selon vos besoins */
    }
}

.parens {
    color: #888;
    font-size: 14px;
    /* Même taille que le nombre */
}

/* 1) Grille 3 colonnes pour le seul filtre couleur */
.filter-options.color-options {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
}

/* 2) Masquer les <br> s’il en reste */
.filter-options.color-options br {
    display: none;
}

/* 3) Label vertical (checkbox au-dessus, texte en-dessous) */
.filter-options.color-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    /* espace checkbox ↔ texte */
    margin-bottom: 0;
}

@media (max-width: 1024px) {

    /* 1) Override du display:block!important pour le seul filtre couleur */
    .filter-options.color-options {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px 20px;
    }

    /* 2) S’assure que les <br> restent masqués */
    .filter-options.color-options br {
        display: none;
    }

    /* 3) Les labels toujours empilés verticalement */
    .filter-options.color-options label {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        margin-bottom: 0;
    }
}

.navig {
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 99;
}

.navig a {
    text-decoration: none;
    color: inherit;
    /* pour garder la même couleur de texte */
    font-family: 'Duplet Regular';
    font-size: 14px;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.original-price {
    text-decoration: line-through;
    color: #ff0000;
    font-size: 16px;
    margin-right: 0 !important;
}

.price-label {
    margin-right: 0 !important;
}

#product-price {
    display: flex;
    gap: 8px;
}

.promo-price {
    font-size: 16px;
    color: black
}

.discount-badge {
    color: #366944;
    background-color: #b3f2c1;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 16px;
    font-family: 'Duplet Regular';
}

.nike-price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

/* Version mobile */
@media screen and (max-width: 768px) {
    .price-wrapper {
        /* flex-direction: column;*/
        align-items: center;
    }

    .discount-badge {
        display: inline-block;
        margin-top: 5px;
    }

    .nike-price-container {
        gap: 5px;
    }
}

@media (max-width: 1024px) {
    .promo-price {
        font-size: 13px;
    }

    .discount-badge {
        font-size: 13px;
    }

    .original-price {
        font-size: 14px !important;
    }
}

.product {
  position: relative;
  overflow: hidden;
  transition: opacity 0.3s ease;
}

.skeleton {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: 400% 400%;
  animation: shimmer 1.5s infinite;
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.skeleton-image {
  width: 100%;
  height: 350px;
  background: #e0e0e0;
  margin-bottom: 15px;
  border-radius: 15px;
}

.skeleton-details {
  margin: 0 10px;
}

.skeleton-line {
  height: 12px;
  background: #e0e0e0;
  margin-bottom: 10px;
  border-radius: 4px;
  overflow: hidden;
}

.skeleton-line.short { width: 30%; }
.skeleton-line.medium { width: 60%; }
.skeleton-line.long { width: 90%; }
.skeleton-line.price {
  width: 40%;
  height: 12px;
  margin-top: 5px;
}

.product-content {
  opacity: 0;
  transition: opacity 0.3s ease 0.1s;
}

.product.loaded .skeleton {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product.loaded .product-content {
  opacity: 1;
}

/* Animation shimmer */
@keyframes shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position: -100% 50%; }
}

/* Responsive heights */
@media (max-width: 1024px) {
  .skeleton-image { height: 400px; }
}

@media (max-width: 768px) {
  .skeleton-image { height: 250px; }
}

.no-products {
    margin-left: 20px;
}






/* CSS BOUTIQUE RAJOUTER APRES POUR LES NOUVELLES FONCTIONNALITÉS */
/* Charge la police Duplet (si nécessaire) */
@font-face {
    font-family: 'Duplet Regular';
    font-style: normal;
    font-weight: 400;
    src: url('https://off-snkrs.com/wp-content/uploads/2025/10/Duplet-Regular-BF642a340663b06.ttf') format('truetype');
    font-display: swap;
}

:root {
    --reprise-bg: #f6edff;
    --reprise-bg-hover: #eddcff;
    --reprise-color: #0b0b0b;
    --reprise-padding-y: 10px;
    --reprise-padding-x: 14px;
    --reprise-gap: 12px;
    --reprise-radius: 999px;
    --reprise-font-size: 14px;
    --reprise-icon-w: 50px;
    --reprise-icon-h: 10px;
}

.reprise-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--reprise-gap);
    padding: var(--reprise-padding-y) var(--reprise-padding-x);
    background: var(--reprise-bg);
    color: var(--reprise-color);
    text-decoration: none;
    border-radius: var(--reprise-radius);
    font-family: 'Duplet Regular', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: var(--reprise-font-size);
    line-height: 1;
    white-space: nowrap;
    -webkit-tap-highlight-color: transparent;
    transition: background .14s ease, transform .06s ease;
    box-shadow: none;
    border: none;
    cursor: pointer;
    margin: 0 20px 20px 20px;
}

.reprise-btn:hover,
.reprise-btn:focus {
    background: var(--reprise-bg-hover);
}

.reprise-btn:active {
    transform: translateY(1px);
}

.reprise-img {
    width: var(--reprise-icon-w);
    height: var(--reprise-icon-h);
    object-fit: contain;
    display: block;
    flex: 0 0 auto;
}

.reprise-text {
    display: inline-block;
    color: inherit;
    font-weight: 500;
    letter-spacing: -0.01em;
    font-size: 12px
}

@media (max-width:420px) {
    .reprise-btn {
        padding: 8px px;
        gap: 10px;
        font-size: 13px;
    }

    .reprise-img {
        width: 50px;
        height: auto;
    }
}

@media (min-width: 1024px) {
    .reprise-btn {
        display: none;
    }
}

/* Styles pour le bouton Prix et Coupe tablette et mobile */
.price-button.tablet-mobile-only,
.style-button.tablet-mobile-only,
.color-button.tablet-mobile-only,
.gender-button.tablet-mobile-only,
.sort-popup-button.tablet-mobile-only {
    display: none;
}

/* Container pour permettre le scroll horizontal */
.filtres-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE and Edge */
}

.filtres-container::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.filtres {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    width: max-content;
    min-width: 100%;
}

/* Styles pour les flèches dropdown SVG */
.dropdown-arrow {
    margin-left: 8px;
    flex-shrink: 0;
}

/* Afficher les boutons Prix et Coupe pour tablette et mobile */
@media (max-width: 1024px) {

    .price-button.tablet-mobile-only,
    .style-button.tablet-mobile-only,
    .color-button.tablet-mobile-only,
    .gender-button.tablet-mobile-only,
    .sort-popup-button.tablet-mobile-only {
        display: inline-flex;
        align-items: center;
        background-color: #eeeff3;
        color: black;
        border: none;
        border-radius: 20px;
        padding: 8px 13px;
        cursor: pointer;
        font-family: 'Duplet Regular', sans-serif;
        font-size: 16px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .sort-popup-button.tablet-mobile-only {
        margin-right: 20px;
    }

    .price-button.tablet-mobile-only:hover,
    .style-button.tablet-mobile-only:hover,
    .color-button.tablet-mobile-only:hover,
    .gender-button.tablet-mobile-only:hover,
    .sort-popup-button.tablet-mobile-only:hover {
        background: #e9ecef;
    }
}

/* Styles pour le popup de prix */
.price-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.price-popup-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Styles pour le nouveau design du popup de prix */
.price-popup-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8f9fc;
}

.price-popup-header {
    text-align: center;
    padding: 16px 24px;
    position: relative;
    border-bottom: 1px solid #e1e5e9;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    box-sizing: border-box;
}

.price-popup-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Duplet Regular', sans-serif;
    color: #0e1016;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.price-popup-header .header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.price-popup-header .close {
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.price-popup-header .clear-price-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    color: #0e1016;
    font-family: 'Duplet Regular', sans-serif;
    display: none;
    padding: 0;
    white-space: nowrap;
}

.price-popup-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: white;
}

.price-graph {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 100px;
    margin-bottom: 30px;
    gap: 2px;
}

.price-bar {
    flex: 1;
    background: #b3c8ef;
    border-radius: 2px;
    min-height: 1px;
}

.price-slider-container {
    position: relative;
    height: 32px;
    margin: 20px 0 30px;
}

.price-slider-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #e1e5e9;
    transform: translateY(-50%);
    border-radius: 2px;
}

.price-slider-selection {
    position: absolute;
    top: 50%;
    height: 4px;
    background: #2f3137;
    transform: translateY(-50%);
    border-radius: 2px;
}

.price-slider-handle {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background: white;
    border: 2px solid #2f3137;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
    transition: background 0.2s;
}

.price-slider-handle:hover {
    background: #f8f9fa;
}

.price-inputs {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.price-input-group {
    flex: 1;
    position: relative;
}

.price-input-group input {
    width: 100%;
    height: 48px;
    padding: 14px 12px 0;
    border: 1px solid #818388;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Duplet Regular', sans-serif;
    box-sizing: border-box;
    background: white;
}

.price-input-group label {
    position: absolute;
    top: 5px;
    left: 13px;
    font-size: 12px;
    color: #5b5d62;
    pointer-events: none;
    font-family: 'Duplet Regular', sans-serif;
}

.price-average {
    text-align: center;
    margin-top: 12px;
    font-size: 14px;
    color: #5b5d62;
    font-family: 'Duplet Regular', sans-serif;
}

.price-popup-footer {
    padding: 12px 24px 0 24px;
    border-top: 1px solid #dfe1e7;
    background: white;
}

.price-apply-btn {
    width: 100%;
    padding: 12px 16px;
    background: #0e1016;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Duplet Regular', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.price-apply-btn:hover {
    background: #2a2d35;
}

/* Styles pour tous les popups (style, couleur, sexe, tri) */
.style-popup,
.color-popup,
.gender-popup,
.sort-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.style-popup-content,
.color-popup-content,
.gender-popup-content,
.sort-popup-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: white;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    overflow-y: auto;
    box-sizing: border-box;
}

.style-popup-inner,
.color-popup-inner,
.gender-popup-inner,
.sort-popup-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #f8f9fc;
}

.style-popup-header,
.color-popup-header,
.gender-popup-header,
.sort-popup-header {
    text-align: center;
    padding: 16px 24px;
    position: relative;
    border-bottom: 1px solid #e1e5e9;
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 60px;
    box-sizing: border-box;
}

.style-popup-header h2,
.color-popup-header h2,
.gender-popup-header h2,
.sort-popup-header h2 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Duplet Regular', sans-serif;
    color: #0e1016;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.style-popup-header .header-buttons,
.color-popup-header .header-buttons,
.gender-popup-header .header-buttons,
.sort-popup-header .header-buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
}

.style-popup-header .close,
.color-popup-header .close,
.gender-popup-header .close,
.sort-popup-header .close {
    cursor: pointer;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 12px;
    height: 12px;
}

.style-popup-header .clear-style-btn,
.color-popup-header .clear-color-btn,
.gender-popup-header .clear-gender-btn,
.sort-popup-header .clear-sort-btn {
    cursor: pointer;
    background: none;
    border: none;
    font-size: 16px;
    color: #0e1016;
    font-family: 'Duplet Regular', sans-serif;
    display: none;
    padding: 0;
    white-space: nowrap;
}

.style-popup-body,
.color-popup-body,
.gender-popup-body,
.sort-popup-body {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    background: white;
}

.style-popup-footer,
.color-popup-footer,
.gender-popup-footer,
.sort-popup-footer {
    padding: 12px 24px 0 24px;
    border-top: 1px solid #dfe1e7;
    background: white;
}

.style-apply-btn,
.color-apply-btn,
.gender-apply-btn,
.sort-apply-btn {
    width: 100%;
    padding: 12px 16px;
    background: #0e1016;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-family: 'Duplet Regular', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.style-apply-btn:hover,
.color-apply-btn:hover,
.gender-apply-btn:hover,
.sort-apply-btn:hover {
    background: #2a2d35;
}

/* Styles corrigés pour les options dans tous les popups */
.style-options-container,
.color-options-container,
.gender-options-container,
.sort-options-container {
    padding: 0;
}

.style-options-list,
.color-options-list,
.gender-options-list,
.sort-options-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.style-option-item,
.color-option-item,
.gender-option-item,
.sort-option-item {
    margin: 0;
}

.style-option-label,
.color-option-label,
.gender-option-label,
.sort-option-label {
    display: flex;
    align-items: center;
    padding: 16px;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: white;
    min-height: 56px;
    box-sizing: border-box;
    font-family: 'Duplet Regular', sans-serif;
    font-size: 16px;
    color: #0e1016;
    position: relative;
}

.style-option-label:hover,
.color-option-label:hover,
.gender-option-label:hover,
.sort-option-label:hover {
    border-color: #0e1016;
}

.style-option-label.selected,
.color-option-label.selected,
.gender-option-label.selected,
.sort-option-label.selected {
    border-color: #0e1016;
    background-color: #0e1016;
    color: white;
}

.style-option-content,
.color-option-content,
.gender-option-content,
.sort-option-content {
    display: flex;
    align-items: center;
    width: 100%;
}

.style-option-text,
.color-option-text,
.gender-option-text,
.sort-option-text {
    flex: 1;
    font-family: 'Duplet Regular', sans-serif;
    font-size: 16px;
}

/* STYLE CORRIGÉ POUR LES CHECKBOXES CIRULAIRES - LE ROND EST LE CHECKBOX VISUEL */
.style-option-input,
.color-option-input,
.gender-option-input,
.sort-option-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* L'indicateur circulaire qui sert de checkbox visuel */
.style-option-indicator,
.color-option-indicator,
.gender-option-indicator,
.sort-option-indicator {
    width: 20px;
    height: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 50%;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
    background: white;
}

/* Quand sélectionné, le rond a un point noir au centre */
.style-option-label.selected .style-option-indicator::after,
.color-option-label.selected .color-option-indicator::after,
.gender-option-label.selected .gender-option-indicator::after,
.sort-option-label.selected .sort-option-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #0e1016;
    border-radius: 50%;
}

/* Pour les options de tri (radio buttons), le style est le même */
.sort-option-label.selected .sort-option-indicator::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: #0e1016;
    border-radius: 50%;
}

/* AJOUT: Display none pour les inputs des popups spécifiques */
.style-popup input[type="checkbox"],
.color-popup input[type="checkbox"],
.gender-popup input[type="checkbox"],
.sort-popup input[type="radio"] {
    display: none !important;
}

/* Responsive adjustments */
@media (max-width: 480px) {

    .price-popup-content,
    .style-popup-content,
    .color-popup-content,
    .gender-popup-content,
    .sort-popup-content {
        height: 85%;
        padding: 15px;
    }

    .price-popup-body,
    .style-popup-body,
    .color-popup-body,
    .gender-popup-body,
    .sort-popup-body {
        padding: 16px;
    }

    .price-inputs {
        flex-direction: column;
        gap: 12px;
    }

    .price-graph {
        height: 80px;
        margin-bottom: 20px;
    }

    .price-popup-header,
    .style-popup-header,
    .color-popup-header,
    .gender-popup-header,
    .sort-popup-header {
        padding: 12px 20px;
        min-height: 56px;
    }

    .price-popup-header h2,
    .style-popup-header h2,
    .color-popup-header h2,
    .gender-popup-header h2,
    .sort-popup-header h2 {
        font-size: 16px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .price-popup-header .header-buttons,
    .style-popup-header .header-buttons,
    .color-popup-header .header-buttons,
    .gender-popup-header .header-buttons,
    .sort-popup-header .header-buttons {
        gap: 12px;
    }

    .price-popup-header .clear-price-btn,
    .style-popup-header .clear-style-btn,
    .color-popup-header .clear-color-btn,
    .gender-popup-header .clear-gender-btn,
    .sort-popup-header .clear-sort-btn {
        font-size: 14px;
        padding: 0;
    }
}

/* Ajustements pour tablette */
@media (min-width: 769px) and (max-width: 1024px) {
    .price-popup-content {
        height: 70%;
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
    }

    .style-popup-content,
    .color-popup-content,
    .gender-popup-content,
    .sort-popup-content {
        height: 50%;
        max-width: 600px;
        left: 50%;
        transform: translateX(-50%);
        border-radius: 20px;
    }

    .price-popup-body,
    .style-popup-body,
    .color-popup-body,
    .gender-popup-body,
    .sort-popup-body {
        padding: 30px;
    }

    .price-graph {
        height: 120px;
    }

    .price-inputs {
        gap: 24px;
    }
}

/* Styles pour les boutons de filtre actifs */
.price-button.active-filter,
.gender-button.active-filter,
.style-button.active-filter,
.color-button.active-filter,
.sort-popup-button.active-filter {
    background-color: #bbc7eb !important;
    color: black !important;
    border-color: #bbc7eb !important;
}

.price-button.active-filter .dropdown-arrow path,
.gender-button.active-filter .dropdown-arrow path,
.style-button.active-filter .dropdown-arrow path,
.color-button.active-filter .dropdown-arrow path,
.sort-popup-button.active-filter .dropdown-arrow path {
    stroke: black !important;
}