/* #region style de base*/
.product-card-one {
    background: linear-gradient(135deg, #f8f8ff 60%, #e6e9ef 100%);
    box-shadow: 0 8px 32px rgba(137,43,226,0.10), 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 18px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    border: 1.5px solid #e6e9ef;
    animation: fadeInCard 0.5s;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.product-card-one:hover {
    box-shadow: 0 12px 40px rgba(137,43,226,0.18), 0 4px 16px rgba(0,0,0,0.18);
    transform: translateY(-1px) scale(0.99);
    border-color: #764ba2;
}

.product-image-container-one {
    width: 100%;
    background: linear-gradient(135deg, #8B7DBE 60%, #f8f8ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 18px 18px 0 0;
    aspect-ratio: 1.1;
    box-sizing: border-box;
}

 .product-image-square-one {
     width: 100%;
     height: 100%;
     border-radius: 18px 18px 0 0;
     object-fit: cover;
     display: block;
 }

/* Classes pour hauteurs variables - Effet brique */
.card-height-small {
    min-height: 320px;
}

.card-height-medium {
    min-height: 380px;
}

.card-height-large {
    min-height: 440px;
}

.card-height-extra-large {
    min-height: 500px;
}

/* Variantes d'image pour l'effet masonry */
.image-aspect-square {
    aspect-ratio: 1;
}

.image-aspect-portrait {
    aspect-ratio: 0.8;
}

.image-aspect-landscape {
    aspect-ratio: 1.2;
}

.image-aspect-tall {
    aspect-ratio: 0.6;
}

/* Overlay pour les éléments flottants sur l'image */
.product-overlay-badges-one {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    z-index: 3;
}

/* Badge Original PCA */
.original-pca-badge-one {
    background: white;
    border-radius: 12px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(5px);
    animation: slideInLeft 0.5s ease-out;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.original-pca-badge-one img {
    height: 24px;
    object-fit: contain;
}

@keyframes slideInLeft {
    from { transform: translateX(-20px); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Badge Personnalisable avec animation de texte */
.customizable-badge-one {
    background: white;
    border-radius: 18px;
    padding: 2px 4px;
    display: flex;
    align-items: center;
    gap: 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-one {
    animation: textFlicker 3s infinite;
}

@keyframes textFlicker {
    0%, 50% { opacity: 1; }
    25%, 75% { opacity: 0; }
}

/* Badge de marque temporaire */
.brand-logo-badge-one {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: brandFadeIn 0.8s ease-out, brandFadeOut 5s ease-in-out;
    animation-fill-mode: forwards;
}

.brand-logo-badge-one img {
    height: 24px;
    object-fit: contain;
    border-radius: 6px;
}

.brand-text-badge-one {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 6px 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: brandFadeIn 0.8s ease-out, brandFadeOut 5s ease-in-out;
    animation-fill-mode: forwards;
}

.brand-text-one-content-one {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
}

@keyframes brandFadeIn {
    from { transform: scale(0.8) translateY(-10px); opacity: 0; }
    to { transform: scale(1) translateY(0); opacity: 1; }
}

@keyframes brandFadeOut {
    0%, 80% { opacity: 1; }
    100% { opacity: 0; transform: scale(0.9); }
}

.product-top-seller-one {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #FFD700;
    padding: 2px 12px;
    border-radius: 10px 0 100px 0;
    background: linear-gradient(90deg, #ff3c3c 60%, #ffb347 100%);
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.206);
    z-index: 2;
    flex-direction: row;
    bottom: 12px;
    left: 12px;
    position: absolute;
    font-weight: bold;
}

.product-rating-one {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.9rem;
    color: #FFD700;
    padding: 2px 8px;
    border-radius: 18px;
    background-color: #ffd9003f;
    box-shadow: inset 0 1px 4px rgba(0, 0, 0, 0.206);
    z-index: 2;
    flex-direction: row;
    top: 12px;
    right: 12px;
    position: absolute;
    border: #FFD700 1px solid;
}

 .product-color-dot-one {
     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-one {
     display: flex;
     gap: 6px;
     z-index: 2;
     flex-direction: column;
     bottom: 8px;
     right: 8px;
     position: absolute;
 }

 .product-sizes-vertical-list-one {
     display: flex;
     flex-direction: column;
     gap: 4px;
     margin: 3px 0;
     bottom: 8px;
     right: 8px;
     position: absolute;
 }

 .product-size-dot-one {
     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: 0.5rem;
     box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
 }


 .product-color-dot-more-one {
     background: rgba(0, 0, 0, 0.489) !important;
     color: white;
     font-weight: bold;
     display: flex;
     align-items: center;
     justify-content: center;
     font-size: 0.8em;
     border: 1px solid #ccc;
     border-radius: 50%;
 }

.product-info-one {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 8px;
    gap: 4px;
    min-height: 120px;
    margin-bottom: 1em;
}

.product-free-delivery-one {
    margin-top: 4px;
    display: flex;
    align-items: start;
    border: #4CAF50 1px solid;
    padding: 2px 4px;
    border-radius: 10px;
    gap: 4px;
    background: #e6ffe6;
    font-size: 0.9rem;
}

.product-free-delivery-one h1 {
    font-size: 0.8rem;
    color: #4CAF50;
    margin: 0;
    padding: 0;
    font-weight: normal;
}

.product-meta-one {
    display: flex;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-weight: bold;
    gap: 4px;
    margin-bottom: 2px;
}

.product-category-icon-one {
    font-size: 1.2em;
    color: #764ba2;
    margin-right: 6px;
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}

.product-category-one {
    font-size: 0.9rem;
    color: #764ba2;
    margin-right: 6px;
    font-weight: 600;
}

.product-type-one {
    font-size: 0.7rem;
    color: #555;
    border: #764ba2 1px solid;
    padding: 2px 8px;
    border-radius: 10px;
    background: #f8f8ff;
}

.rich-text-content_title_promo-one {
    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: 1rem;
    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-one {
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-promo-one {
    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-exhausted-stock-one {
    color: #ff3c3c;
    font-weight: bold;
    font-size: 13px;
    background: #ffeaea;
    border-radius: 8px;
    padding: 2px 8px;
    margin-top: 4px;
}

.product-low-stock-one {
    color: orange;
    font-weight: bold;
    font-size: 13px;
    background: #fff6e6;
    border-radius: 8px;
    padding: 2px 8px;
    margin-top: 4px;
}

.product-stock-one {
    color: green;
    font-weight: bold;
    font-size: 13px;
    background: #e6ffe6;
    border-radius: 8px;
    padding: 2px 8px;
    margin-top: 4px;
}

/* Styles pour l'élément collection */
.product-collection-info-one {
    background: linear-gradient(135deg, #667eea 0%, #9a989b 100%);
    color: white;
    margin: 8px 0;
    padding: 4px;
    gap: 4px;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideInUp 0.4s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.product-collection-info-one:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.collection-header-one {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.collection-name-one {
    font-weight: 700;
    font-size: 0.9rem;
}

.collection-count-one {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 4px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
}

.collection-description-one {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.3;
}

@keyframes slideInUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.product-price-one {
    font-size: 1.2rem;
    font-weight: 700;
    color: green;
    /* margin-top: 6px; */
    letter-spacing: 0.5px;
}

.product-selling-price-one {
    font-size: 0.8rem;
    color: #764ba2;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
}

.product-price-one.one {
    font-size: 1rem;
    font-weight: 600;
    color: green;
    text-decoration: line-through;
    text-decoration-thickness: 1.5px;
    /* margin-top: 6px; */
}

.product-reduced-price-one {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ff3c3c;
    /* margin-top: 6px; */
}