.hero-produit {
    background-color: #fff7f5;
    min-height: 47vh;
}

.hero-produit-content {
    padding-top: 22vh;
    width: 100%;
}

.hero-produit-content h2 {
    color: #2f2f36;
    font-size: clamp(2.3rem, 2.3rem, 3.8rem);
    font-weight: 700;
    margin-bottom: 30px;
}

.hero-produit-content span {
    color: #616168;
    font-size: clamp(0.95rem, 1.1vw, 1.2rem);
}

@media (min-width: 992px) {
    /* Centre exactement le slogan entre le logo et le bouton sur la page produit */
    .hero-produit .header-top {
        display: grid !important;
        grid-template-columns: 1fr auto 1fr;
        align-items: center;
    }

    .hero-produit .header-top > a {
        justify-self: start;
    }

    .hero-produit .header-top .text-slogan {
        justify-self: center;
        margin-bottom: 0 !important;
    }

    .hero-produit .header-top .text-end {
        justify-self: end;
    }
}

.produit-products {
    background: #ffffff;
}

.produit-products__title {
    color: #32333b;
    font-size: clamp(2.3rem, 2.3rem, 4.4rem);
    font-weight: 700;
    letter-spacing: -0.5px;
}

.produit-filters {
    margin: 0;
    background: #f0efef;
    border: 1px solid #d8d8da;
}

.produit-sidebar {
    display: flex;
    justify-content: flex-end;
}

.produit-filter-group {
    border-bottom: 1px solid #d1d1d4;
}

.produit-filter-group:last-child {
    border-bottom: none;
}

.produit-filter-title {
    margin: 0;
    padding: 1.15rem 1.5rem;
    color: #33343c;
    font-size: clamp(1.2rem, 1.6vw, 2rem);
    font-weight: 700;
}

.produit-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.produit-filter-list li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #d1d1d4;
    padding: 0.95rem 1.5rem;
    color: #3d3e45;
    font-size: clamp(1rem, 1rem, 1.45rem);
}

.produit-filter-list button {
    border: 0;
    background: transparent;
    color: #82838a;
    font-size: 1.3rem;
    line-height: 1;
    padding: 0;
}

.produit-colors {
    border-top: 1px solid #d1d1d4;
    padding: 0.95rem 1rem 1.2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.produit-color {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 3px solid #ececee;
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.color-red {
    background: #ff4a4a;
}

.color-purple {
    background: #893ee9;
}

.color-gold {
    background: #e4c974;
}

.color-blue {
    background: #4a76e7;
}

.color-green {
    background: #6ce636;
}

.color-pink {
    background: #ef3fa2;
}

.produit-price-range {
    border-top: 1px solid #d1d1d4;
    padding: 1rem 1.5rem 1.35rem;
}

.produit-price-range input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
    margin: 0;
}

.produit-price-range input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
    background: #f0f0f1;
}

.produit-price-range input[type="range"]::-moz-range-track {
    height: 7px;
    background: #f0f0f1;
}

.produit-price-range input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    margin-top: -8px;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    border: 0;
    background: #e52a3d;
    box-shadow: 0 0 0 3px rgba(229, 42, 61, 0.15);
}

.produit-price-range input[type="range"]::-moz-range-thumb {
    width: 23px;
    height: 23px;
    border-radius: 50%;
    border: 0;
    background: #e52a3d;
    box-shadow: 0 0 0 3px rgba(229, 42, 61, 0.15);
}

.produit-price-values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.3rem;
    color: #55565d;
    font-size: 0.7rem;
}

.produit-price-values .active {
    color: #e52a3d;
    font-weight: 700;
}

.produit-products .product-content {
    padding: 1.05rem 0.25rem 0;
}

.produit-products .product-price-current {
    font-size: clamp(1.1rem, 1.1rem, 2.05rem);
}

.produit-products .product-rating {
    font-size: clamp(1rem, 1rem, 1.45rem);
}

.produit-products .product-badge {
    left: 0.6rem;
}

.produit-pagination {
    margin-top: 4.9rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.35rem;
}

.produit-pagination-side {
    display: inline-flex;
    align-items: center;
    gap: 0.95rem;
    color: #ea3042;
    text-decoration: none;
}

.produit-pagination-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    line-height: 0.4;
}

.produit-pagination-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #ea3042;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
}

.produit-pagination-pages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
}

.produit-pagination-pages a {
    color: #2f3139;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 1.2em;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
}

.produit-pagination-pages a.is-active {
    width: 32px;
    min-width: 32px;
    border-radius: 999px;
    background: #ea3042;
    color: #ffffff;
}

.produit-pagination a:hover {
    color: #ea3042;
}

@media (max-width: 991.98px) {
    .produit-sidebar {
        display: block;
    }

    .hero-produit {
        min-height: 34vh;
    }

    .hero-produit-content {
        padding-top: 16vh;
    }

    .produit-filters {
        margin-bottom: 1rem;
    }

    .produit-pagination {
        margin-top: 2.35rem;
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem 1.2rem;
    }

    .produit-pagination-pages {
        order: -1;
        width: 100%;
    }
}

@media (max-width: 767.98px) {
    .hero-produit {
        min-height: 32vh;
    }

    .hero-produit-content {
        padding-top: 1vh;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .produit-products__title {
        font-size: clamp(1.6rem, 8vw, 2.4rem);
    }

    .produit-filter-title {
        padding: 0.95rem 1rem;
    }

    .produit-filter-list li {
        padding: 0.85rem 1rem;
    }

    .produit-colors,
    .produit-price-range {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .produit-color {
        width: 1.9rem;
        height: 1.9rem;
    }

    .produit-products .product-content {
        padding: 0.95rem 0 0;
    }

    .produit-pagination {
        margin-top: 1.85rem;
    }

    .produit-pagination-label {
        font-size: 0.96rem;
        letter-spacing: 1.2px;
    }

    .produit-pagination-arrow {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .produit-pagination-pages {
        gap: 0.45rem;
    }

    .produit-pagination-pages a {
        height: 38px;
        font-size: 1.05rem;
    }

    .produit-pagination-pages a.is-active {
        width: 38px;
        min-width: 38px;
    }
}
