.woocommerce-store-notice, p.demo_store
{
    background-color: var(--second);
}

.header-cart-button {
    display: flex;
    align-items: center;
    padding: 5px 10px;
    text-decoration: none;
    color: #fff; /* ou une autre couleur de votre choix */
    position: relative;
}

.header-cart-button .fas {
    font-size: 20px;
    margin-right: 5px;
}

.cart-quantity {
    background-color: red; /* ou une autre couleur de votre choix */
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    color: #fff;
    position: absolute; /* Pour positionner la quantité au-dessus de l'icône */
   bottom: 25px;
    right: 0px;
}


.content-categorie-products div {
    flex: 1;
}
.content-categorie-products {
    display: flex;
}

.filterBoutique
{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--second);
    color: #fff;
    padding: 5px;
    border-radius: 10px;
}

/* Wrapper de la grille */
.my-products-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Ajustez l'espace entre les produits */
    justify-content: center;
}

/* Style du select "orderby" */
.orderby {
    appearance: none; /* Supprime l'apparence par défaut */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #f5f5f5; /* Couleur d'arrière-plan */
    border: 1px solid #dcdcdc; /* Bordure */
    padding: 10px 30px 10px 10px; /* Espacement interne */
    border-radius: 5px; /* Coins arrondis */
    font-size: 16px; /* Taille de la police */
    color: #333; /* Couleur de la police */
    cursor: pointer; /* Change le curseur en main */
    position: relative;
    background-image: url('path_to_your_dropdown_arrow_image.svg'); /* Icône flèche vers le bas */
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.orderby:focus {
    outline: none; /* Supprime le contour de mise au point par défaut */
    border-color: #555; /* Change la couleur de la bordure lors de la mise au point */
}


p.woocommerce-result-count 
{
    margin-right: 15px;
    margin-bottom: 0;
}

/* Élément individuel du produit */
/* Élément individuel du produit */
.product-item  a {
    text-decoration : none;
}
.product-item {
    flex: 1 1; 
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 10px;
    background-color: #f9f9f9;
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Pour l'effet hover */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    min-width: 250px;
    max-width: 250px;
}

.product-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.product-item img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center; /* Centre verticalement l'image */
    justify-content: center; /* Centre horizontalement l'image */
    object-fit: contain; /* Assure que l'image couvre tout l'espace tout en conservant ses proportions */
    border-radius: 10px;
    margin-bottom: 15px;
}

.product-item h2 {
    font-size: 18px;
    margin: 0 0 10px;
    text-align: center;
}

.product-item .price {
    font-weight: bold;
    display: block;
    text-align: center;
    margin-bottom: 15px;
}

.product-item .button {
    display: block;
    background-color: var(--second);
    color: #fff;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
     margin-top: auto;
}

.product-item .button:hover {
    background-color: var(--primary);
}

/* PANIER */

.woocommerce-info::before {
    color: var(--second) !important;
}
.woocommerce-info {
    border-top-color: var(--second) !important;
}

.button.alt, .button.alt:hover
{
    background-color: var(--second) !important;
}


.woocommerce table.cart td.actions .input-text
{
    width: auto;
}

.woocommerce-cart-form, .woocommerce-error, .woocommerce-info, .woocommerce-message, .shop_table.shop_table_responsive, .woocommerce-checkout-review-order-table, .woocommerce-checkout-payment
{
    background-color: #fff !important;
}
.woocommerce #content table.cart img, .woocommerce table.cart img, .woocommerce-page #content table.cart img, .woocommerce-page table.cart img
{
    height: 150px;
    width: auto;
}

/* MENU de l(utilisateur) */
nav.woocommerce-MyAccount-navigation ul 
{
    display: flex;
    width: 100%;
    list-style-type: none;
}

nav.woocommerce-MyAccount-navigation ul li.is-active
{
    background: var(--second);
    color: var(--colorText);
} 
nav.woocommerce-MyAccount-navigation ul li 
{
    flex: 1;
    padding: 10px;
    color: #ffffff !important;
    text-align: center;
    background: var(--primary);
    border-right: solid 2px;
}

nav.woocommerce-MyAccount-navigation ul li a 
{
    color: var(--colorMenu) !important;
    text-decoration: none;
}

header.woocommerce-Address-title.title {
    padding: 10px;
}

.woocommerce-Address {
   
    width: 100% !important;
}

.woocommerce-Address address {
    margin-left: 15px;
}

/* SINGLE PRODUCT */
.container-img-product {
    border-right: solid 1px #efefef;
    width: 100%;
    text-align: center;
    height: 100%;
    margin-bottom: 10px;
    padding: 10px;
}

.container-gallery-product {
    display: flex;
    overflow-x: hidden;
    width: 100%;
    flex-wrap: wrap;
    gap: 20px;
    max-height: 150px;
}

.product-right-side {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.wc-proceed-to-checkout {
    float: right;
}



/* Responsive */
@media (max-width: 768px) {
    .product-item {
        flex: 1 0 calc(48% - 20px); /* 2 produits par ligne */
       margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .product-item {
        flex: 1 0 calc(100% - 20px); /* 1 produit par ligne */
    }
}
