/* Produits en colonne sur mobile */
.shop-page-products {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 0;
    padding: 0;
    justify-content: flex-start;
}

/* Deux colonnes sur mobile */
.shop-page-product {
    width: calc(50% - 8px); /* 2 colonnes avec gap de 16px */
    height: auto;
    background: #f1ebe5;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
    margin-bottom: 0;
}

.shop-page-product-link {
    display: block;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
    justify-content: center;
    text-align: center;
}

/* Pour éviter que l'image déborde */
.shop-page-product-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

.shop-page-product-image {
    position: relative;
    cursor: pointer;
    z-index: 1;
}
.shop-page-product-desc {
    display: none;
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(241,235,229,0.4) ;
    color: #222;
    padding: 12px;
    box-sizing: border-box;
    border-radius: 8px;
    font-size: 12px;
    overflow: auto;
    z-index: 2;
    transition: display 0.2s ease-in-out;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.shop-page-product-image:hover .shop-page-product-desc {
    display: flex;
}

.shop-page-product-title h3 {
    font-family: 'The Seasons Bold', sans-serif;
    font-size: 14px;
    margin: 6px 0 2px 0;
    color: #c3b1a2;
}

.shop-page-product-price {
    font-family: 'The Seasons Bold', sans-serif;
    font-size: 12px;
    font-weight: bold;
    color: #c3b1a2;
    margin-bottom: 2px;
}

.shop-page-variation-attribute {
    font-family: 'The Seasons Bold', sans-serif;
    font-size: 12px;
    color: #c3b1a2;
    width: 100%;
    margin-bottom: 2px;
}

.shop-page-product-variations {
    min-height: 14px; /* ajuste selon la hauteur de tes vraies variations */
    margin-bottom: 2px;
}

.shop-page-add-to-cart {
    margin-top: 8px;
    width: 100%;
}

.shop-page-add-to-cart .button,
.shop-page-add-to-cart button {
    width: 100%;
    background: #f1ebe5;
    color: #222;
    border: 1px solid #c3b1a2;
    border-radius: 20px;
    padding: 8px 0;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.shop-page-add-to-cart .button,
.shop-page-add-to-cart button:hover {
    background: #c3b1a2;
    color: #fff;
    border-color: #a98d6c;
}

/* 3 colonnes sur tablette */
@media (min-width: 600px) and (max-width: 1024px) {
    .shop-page-product {
        width: calc(33.333% - 11px); /* 3 colonnes avec gap de 16px */
    }

    .shop-page-product-desc {
    font-size: 14px;
}

.shop-page-product-title h3 {
    font-size: 18px;
}

.shop-page-product-price {
    font-size: 16px;
}

.shop-page-variation-attribute {
    font-size: 18px;
}

.shop-page-product-variations {
    min-height: 20px; /* ajuste selon la hauteur de tes vraies variations */
    margin-bottom: 2px;
}

.shop-page-add-to-cart .button,
.shop-page-add-to-cart button {
    font-size: 16px;
}

}

/* Quatre colonnes sur desktop */
@media (min-width: 1025px) {
    .shop-page-product {
        width: calc(25% - 12px); /* 4 colonnes avec gap de 16px */
    }

    .shop-page-product-desc {
    font-size: 16px;
}

.shop-page-product-title h3 {
    font-size: 20px;
}

.shop-page-product-price {
    font-size: 18px;
}

.shop-page-variation-attribute {
    font-size: 20px;
}

.shop-page-product-variations {
    min-height: 22px; /* ajuste selon la hauteur de tes vraies variations */
    margin-bottom: 2px;
}

.shop-page-add-to-cart .button,
.shop-page-add-to-cart button {
    font-size: 18px;
}
}