.product-card-two-item {
    background-color: #f5f5f5;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    aspect-ratio: 3 / 4;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card-two-item.mini-one {
    min-width: 220px;
}

.product-card-two-item.mini-two {
    min-width: 220px;
}

.product-card-two-item.one {
    width: 280px;
}

@media (max-width: 668px) {
    .product-card-two-item.mini-one {
        min-width: 180px;
    }

    .product-card-two-item.one {
        width: 220px;
    }

    .product-card-two-item.mini-two {
        min-width: 200px;
    }
}

.product-card-two-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.product-infos-two {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    z-index: 2;
}

.product-color-dot-two {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1px solid #ccc;
    display: inline-block;
    vertical-align: middle;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.10);
    margin: 0 2px;
    /* Pas de padding, le cercle est plein */
}

.product-colors-vertical-list-two {
    display: flex;
    gap: 6px;
    z-index: 2;
    flex-direction: row;
    bottom: 8px;
    right: 8px;
}

.product-sizes-vertical-list-two {
    display: flex;
    flex-direction: row;
    gap: 4px;
    margin: 3px 0;
    bottom: 8px;
    right: 8px;
}

.product-size-dot-two {
    display: flex;
    align-items: center;
    justify-content: center;
    /* max-width: 32px; */
    /* max-height: 32px; */
    padding: 2px 4px;
    background: #fff;
    border: 1.5px solid #764ba2;
    border-radius: 16px;
    font-weight: 600;
    color: #764ba2;
    font-size: clamp(0.5rem, 1vw, 0.8rem);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}


.product-color-dot-more-two {
    background: rgba(0, 0, 0, 0.489) !important;
    color: white;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(0.5rem, 1vw, 0.8rem);
    border: 1px solid #ccc;
    border-radius: 50%;
}

.product-infos-card-two {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    background-color: white;
    border-radius: 8px;
    padding: 4px 8px;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.product-free-delivery-two {
    margin-top: 4px;
    display: flex;
    align-items: start;
    border: #4CAF50 1px solid;
    padding: 2px 4px;
    border-radius: 10px;
    gap: 4px;
    background: #e6ffe6;
    font-size: clamp(0.5rem, 1vw, 0.6rem);
}

.product-free-delivery-two h1 {
    font-size: clamp(0.5rem, 1vw, 0.8rem);
    color: #4CAF50;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.product-meta-two {
    display: flex;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    gap: 4px;
    margin-bottom: 2px;
    flex-direction: row;
    align-items: center;

}

.product-category-two {
    font-size: clamp(0.5rem, 1vw, 0.9rem);
    color: #764ba2;
    margin-right: 6px;
    font-weight: 600;
    border: 1.5px solid #764ba2;
    padding: 2px 4px;
    border-radius: 8px;
}

.product-type-two {
    font-size: clamp(0.5rem, 1vw, 0.7rem);
    color: #555;
    border: #764ba2 1px solid;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f8f8ff;
}

.rich-text-content_title_promo-two {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4;
    max-width: 100%;
    word-break: break-word;
    font-weight: bold;
    font-size: clamp(0.8rem, 1.2vw, 1.4rem);
    color: #222;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.rich-text-row_title_promo-two {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-promo-two {
    display: inline-block;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: white;
    font-weight: bold;
    background: linear-gradient(90deg, #ff3c3c 60%, #ffb347 100%);
    border-radius: 8px;
    padding: 2px 8px;
    box-shadow: 0 2px 8px rgba(255, 60, 60, 0.10);
}

.product-price-two {
    font-size: 0.7rem;
    font-weight: 700;
    color: green;
    /* margin-top: 6px; */
    letter-spacing: 0.5px;
}

.product-selling-price-two {
    font-size: 0.5rem;
    color: #764ba2;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.product-price-two.one {
    font-size: 0.6rem;
    font-weight: 600;
    color: green;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    /* margin-top: 6px; */
}

.product-reduced-price-two {
    font-size: 0.7rem;
    font-weight: 700;
    color: #ff3c3c;
    /* margin-top: 6px; */
}

/* Badge Personnalisable avec animation de texte */
.customizable-badge-two {
    background: white;
    border-radius: 18px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    position: absolute;
    gap: 4px;
    top: 6px;
    left: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #764ba2;
    animation: slideInLeft 0.6s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.customizable-text-two {
    animation: textFlicker 3s infinite;
}

@keyframes textFlicker {

    0%,
    50% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

.product-card-overlay-two {
    position: absolute;
    top: 8px;
    right: 4px;
    /* width: 100%; */
    /* height: 100%; */
    background: rgba(0, 0, 0, 0.0);
    transition: background 0.3s ease;
    z-index: 999;
    display: flex;
    gap: 4px;
    flex-direction: column;
    align-items: flex-end;
}

.product-rating-two {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #FFD700;
    padding: 2px 4px;
    border-radius: 18px;
    background-color: #ffd9003f;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.206);
    z-index: 2;
    flex-direction: row;
    border: #FFD700 1px solid;
}

.product-like-button-two {
    background-color: rgba(128, 128, 128, 0.5);
    color: #673ab7;
    border-radius: 100%;
    border: none;
    font-size: 18px;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.topseller-badge-two {
    display: flex;
    align-items: center;
    padding: 2px 6px;
    font-weight: 100;
    font-family: fantasy;
    border-bottom-right-radius: 22px;
    width: fit-content;
    background: linear-gradient(90deg, #ff3c3c 60%, #ffb347 100%);
    color: #FFD700;
}

/* ── mini-three: 3× smaller card for inline collection ─── */
.product-card-two-item.mini-three {
    min-width: 0;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    aspect-ratio: 3 / 4;
}

.product-card-two-item.mini-three:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Overlay (rating + like) */
.product-card-two-item.mini-three .product-card-overlay-two {
    top: 3px;
    right: 2px;
    gap: 2px;
}

.product-card-two-item.mini-three .product-rating-two {
    font-size: 0.5rem;
    padding: 1px 3px;
    border-radius: 10px;
    gap: 2px;
}

.product-card-two-item.mini-three .product-rating-two svg {
    width: 10px;
    height: 10px;
}

.product-card-two-item.mini-three .product-like-button-two {
    font-size: 10px;
    padding: 2px;
}

/* Badges (customizable / top-seller) */
.product-card-two-item.mini-three .customizable-badge-two {
    padding: 1px 3px;
    font-size: 0;
    gap: 0;
    top: 3px;
    left: 2px;
    border-radius: 10px;
}

.product-card-two-item.mini-three .customizable-badge-two svg {
    width: 10px;
    height: 10px;
}

.product-card-two-item.mini-three .customizable-text-two {
    display: none;
}

.product-card-two-item.mini-three .topseller-badge-two {
    padding: 1px 3px;
    font-size: 0.45rem;
    border-bottom-right-radius: 12px;
}

.product-card-two-item.mini-three .topseller-badge-two svg {
    width: 10px;
    height: 10px;
}

/* Float image */
.product-card-two-item.mini-three > img[style] {
    max-width: 75% !important;
    max-height: 75% !important;
}

/* Infos bottom */
.product-card-two-item.mini-three .product-infos-two {
    bottom: 4px;
    width: 92%;
    gap: 2px;
}

/* Color / size dots */
.product-card-two-item.mini-three .product-color-dot-two {
    width: 10px;
    height: 10px;
}

.product-card-two-item.mini-three .product-colors-vertical-list-two {
    gap: 2px;
}

.product-card-two-item.mini-three .product-size-dot-two {
    padding: 1px 2px;
    font-size: 0.4rem;
    border-radius: 8px;
    border-width: 1px;
}

.product-card-two-item.mini-three .product-sizes-vertical-list-two {
    gap: 2px;
}

.product-card-two-item.mini-three .product-color-dot-more-two {
    font-size: 0.4rem;
    width: 10px;
    height: 10px;
}

/* Info card */
.product-card-two-item.mini-three .product-infos-card-two {
    padding: 2px 4px;
    gap: 1px;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Free delivery */
.product-card-two-item.mini-three .product-free-delivery-two {
    padding: 1px 2px;
    border-radius: 6px;
    gap: 2px;
    margin-top: 1px;
}

.product-card-two-item.mini-three .product-free-delivery-two svg {
    width: 8px;
    height: 8px;
}

.product-card-two-item.mini-three .product-free-delivery-two h1 {
    font-size: 0.4rem;
}

/* Meta (category / type) */
.product-card-two-item.mini-three .product-meta-two {
    gap: 2px;
    margin-bottom: 0;
}

.product-card-two-item.mini-three .product-category-two {
    font-size: 0.4rem;
    padding: 1px 2px;
    border-radius: 5px;
    border-width: 1px;
    margin-right: 2px;
}

.product-card-two-item.mini-three .product-category-two svg {
    width: 8px;
    height: 8px;
}

.product-card-two-item.mini-three .product-type-two {
    font-size: 0.38rem;
    padding: 1px 3px;
    border-radius: 6px;
    border-width: 1px;
}

/* Title */
.product-card-two-item.mini-three .rich-text-content_title_promo-two {
    font-size: 0.45rem;
    -webkit-line-clamp: 2;
    line-height: 1.2;
}

/* Promo badge */
.product-card-two-item.mini-three .product-promo-two {
    font-size: 0.4rem;
    padding: 1px 3px;
    border-radius: 5px;
    gap: 2px;
}

.product-card-two-item.mini-three .product-promo-two svg {
    width: 8px;
    height: 8px;
}

/* Prices */
.product-card-two-item.mini-three .product-price-two {
    font-size: 0.4rem;
}

.product-card-two-item.mini-three .product-selling-price-two {
    font-size: 0.35rem;
}

.product-card-two-item.mini-three .product-price-two.one {
    font-size: 0.38rem;
}

.product-card-two-item.mini-three .product-reduced-price-two {
    font-size: 0.42rem;
}