/* Base et typographie */
@font-face {
    font-family: 'Avenir';
    src: url('Assets/Fonts/AvenirLTStd-Black.otf') format('opentype');
    src: url('Assets/Fonts/Avenir-Black.ttf') format('truetype');
    src: url('Assets/Fonts/Avenir-Black.woff') format('woff');
    src: url('Assets/Fonts/Avenir-Black.woff2') format('woff2');
}
body {
    font-family: 'Roboto', sans-serif;
}

h1, h2, h3, h5.nav-link {
    font-family: 'Avenir', sans-serif;
    color: black;
}

h6{
    font-family: 'Avenir',sans-serif;
    color: #d7d5d5;
}
.navbar-nav .nav-item.d-none.d-md-block.me-5:hover {
     transform: scale(1.1);

}
.navbar-nav .nav-link:hover {
    color: #fff;
    background-color: #000000;
}
/*les formualaire*/
.signup-page {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    width: 100%;
    margin: 0;
}

.signup-page .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.signup-page .container form {
    width: 100%;
    max-width: 500px;
    padding: 30px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    /* Retirer margin-left: 200px; */
}

.signup-page h2 {
    font-size: 2rem;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.signup-page button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    background-color: #000;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.signup-page button:hover {
    background-color: #444;
}


/*Cartes des produit*/

.product-card {
    display: flex;
    flex-direction: column;
    border: none;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
    padding: 0;
    background-color: #fff;
    border-radius: 0;
}

.product-card:hover {
    transform: scale(1.05); 
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Image */
.product-card img {
    object-fit: cover;
    height: 200px;
    border-radius: 0;
}

/* Titre du produit */
.product-title {
    font-weight: bold;
    margin: 10px 0 5px;
    font-size: 1rem;
    text-align:start;
    margin-top: -12px;
}

/* Catégorie */
.product-category {
    color: rgb(238, 233, 233);
    text-transform: uppercase;
    font-size: 0.9rem;
    margin-bottom: 15px;
    text-align: left;
    
}

/* Étoiles */
.star-rating {
    color: black;
    font-size: 0.8rem;
}

/* Prix */
.price {
    font-size: 1rem;
    margin-bottom: 15px;
}

/* Icône Panier */
.cart-icon {
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
}

/*Détails du produit*/
.details {
    padding: 10px;
}

/* Modifications responsive */
@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        text-align: center;
    }

    .product-card img {
        height: 250px;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .star-rating {
        font-size: 1.2rem;
    }
}



.btn-outline-dark {
    border: 2px solid black;
    padding: 6px 12px;
    background-color: transparent;
}

/*Filtres*/

.range-slider {
    position: relative;
    height: 2px;
    background-color: #d3d3d3;
    border-radius: 5px;
    margin: 30px 0;
    width: 100%; 
    max-width: 100%;
}

.range-slider .thumb {
    position: absolute;
    top: -8px;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid black;
    border-radius: 50%;
    cursor: pointer;
    transform: translateX(-50%);
    z-index: 2;
}


.range-slider .range {  
    position: absolute;
    height: 1px;
    background-color: #d3d3d3;
    z-index: 1;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.price-values {
    text-align: center;
    font-weight: bold;
}


/*Pagination */
.pagination {
    display: flex;
    justify-content: flex-start; 
    margin: 0;
}

.pagination .page-item .page-link {
    color: black;
    background-color: transparent;
    border: none;
    margin-right: 5px;
    padding: 5px 15px;
    transition: all 0.3s ease;
}

.pagination .page-item .page-link:hover {
    background-color: transparent;
}
.pagination .page-item {
    margin-right: 15px;
}

.pagination .page-item.active .page-link {
    background-color: black; 
    color: white; 
    border-radius: 0; 
    border: 1px solid ; 
}

/*chevron ">"*/
.pagination .page-item:last-child .page-link {
    font-size: 20px;
    font-weight: bold;
    margin-top: -5PX;
}


/* Pagination mobile*/
@media (max-width: 768px) {
    .pagination {
        justify-content: flex-start;
    }

    .pagination .page-item:nth-child(n+5):nth-child(-n+10) {
        display: none; 
    }

    .pagination .page-item:last-child {
        display: block;
    }
}

/* Pagination grand ecran */
@media (min-width: 769px) {
    .pagination .page-item:nth-child(n+11) {
        display: block;
    }
}

/*Zone de recherche */
.search-container {
    display: flex;
    align-items: center;
}

.search-container .secondary-logo {
    margin-right: 50px;
    margin-left: 20px;
    width: 40px; 
    height: auto;
}

/* beacoup de Formulaire */
select, .form-select, .search-container input[type="text"] {
    box-shadow: none;
}

select, .form-select {
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 3px solid #ddd;
    text-align: left;
}

.input-group {
    width: 100%;
    display: flex;
    position: relative;
}

.search-container input[type="text"] {
    flex-grow: 1; 
    border: none;
    border-bottom: 3px solid black; 
    resize: horizontal;
    transition: width 0.3s ease;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding-left: 10px;
    border: none;
    border-bottom: 3px solid black;
    background: transparent;
}

.input-group-text span {
    margin-right: 5px;
    font-size: 12px;
    color: gray;
    margin-right: 35px;
}


/*Responsive Design*/
@media (max-width: 768px) {
    .row-cols-md-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 576px) {
    .row-cols-md-3 {
        grid-template-columns: repeat(1, 1fr) !important;
    }
}

/* Mode mobile uniquement */
@media (max-width: 767.98px) {
    .mobile-cart {
        margin-left: auto; 
        margin-right: 100px;
        display: flex;
        align-items: center; 
    }
    .navbar-toggler {
        border: none;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0.5rem;
    }
    body {
        margin-top: 0; 
    }
    .navbar {
        margin: 0; 
        padding: 0; 
        top: 0; 
        left: 0; 
        right: 0; 
        position: fixed; 
        z-index: 1050; 
        background-color: white;
    }
    .search-container {
        flex-wrap: nowrap; 
        margin-top: 53px;
    }
    .input-group {
        width: 100%;
        display: flex;
        position: relative;
        margin-left: -12px;
    }
    
    .navbar-nav .nav-item.p-2.d-md-none {
        margin-right: -70px;
    }

    .navbar-toggler {
        margin-left: -20px;
    }

    .mobile-cart .btn {
        padding: 5px 10px; 
        font-size: 14px; 
    }

    .filters-desktop {
        display: none;
    }

    .d-md-none {
        display: block;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex-direction: column;
        text-align: center;
    }
    .search-container .secondary-logo {
        margin-right: 50px;
        margin-left: 12px;
        width: 32px;
        height: auto;
    }

    .img-container {
        height: 250px;
    }

    .price-and-cart {
        justify-content: center;
    }

    .price {
        text-align: center;
    }

   
    .details, .price-and-cart {
        padding-left: 10px;
        padding-right: 10px;
    }

    .input-group-text {
        display: none; 
    }

    .input-group-text span {
        font-size: 14px; 
        color: black; 
    }

    .input-group-text i {
        font-size: 18px; 
        color: black;
    }

    .search-container input[type="text"] {
        padding-left: 5px;
    }
}

.filters-desktop select {
    width: 100%;
}

/*Modification Aziz*/
.input-group{
    border-bottom: black 3px solid;
}
#BestMatch{
    border-radius: 0;
    border-bottom: #d3d3d3 2px solid;
}
.mobileFilterSelect{
    border-radius: 0;
}
.Filter_element{
    border-radius: 0;
    border-bottom: #d3d3d3 2px solid;
}
#Filter_element{
    border-radius: 0;
    border-bottom: #d3d3d3 2px solid;
}
#navbarNav{
    font-weight: 500;
}
.desktop-filter-title{
    font-weight: 500;
    color: #d3d3d3;
}
.Algo{
    color: black;
}
.nav-item a{
    color: black;
}
.product-category{
    font-size: 12px;
    color: #c9c9c8;
    font-weight:400;
}

