.product-card-three-item {
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 5em;
    aspect-ratio: 1 / 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 100;
}

.product-card-three-item.mini-one {
    border-radius: 1.5em;
    min-width: 94px;
}

.product-card-three-item.mini-two {
    border-radius: 1em;
    min-width: 100px;
}

.product-card-three-item.mini-three {
    border-radius: 12px;
    min-width: 60px;
}

.product-card-three-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.float-image-three {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    z-index: 1;
}

.broken-image-three {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.3;
}

.badges-top-left-three {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    z-index: 2;
    pointer-events: none;
}

.badges-top-left-three.mini-one {
    top: 6px;
    left: 4px;
    gap: 2px;
}

.badges-top-left-three.mini-two {
    top: 8px;
    left: 6px;
    gap: 4px;
}

.customizable-badge-three {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.customizable-badge-three.mini-one {
    padding: 1px 2px;
    border-radius: 8px;
    gap: 2px;
}

.customizable-badge-three.mini-two {
    padding: 2px 4px;
    border-radius: 10px;
    gap: 4px;
}

.customizable-badge-three span {
    font-weight: 600;
}

.customizable-badge-three.mini-one span {
    font-size: 4px;
}

.customizable-badge-three.mini-two span {
    font-size: 6px;
}

.promo-badge-three {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f44336;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.promo-badge-three.mini-one {
    padding: 1px 2px;
    gap: 2px;
    border-radius: 6px;
}

.promo-badge-three.mini-two {
    padding: 2px 5px;
    gap: 4px;
    border-radius: 8px;
}

.promo-badge-three span {
    font-weight: 600;
}

.promo-badge-three.mini-one span {
    font-size: 6px;
}

.promo-badge-three.mini-two span {
    font-size: 8px;
}

.rating-top-right-three {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.rating-top-right-three.mini-one {
    top: 6px;
    right: 6px;
}

.rating-top-right-three.mini-two {
    top: 8px;
    right: 8px;
}

.rating-badge-three {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 193, 7, 0.25);
    border: 1px solid #FFC107;
    color: #FFC107;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    backdrop-filter: blur(4px);
}

.rating-badge-three.mini-one {
    padding: 1px 2px;
    gap: 2px;
    border-radius: 6px;
}

.rating-badge-three.mini-two {
    padding: 2px 5px;
    gap: 4px;
    border-radius: 8px;
}

.rating-badge-three span {
    font-weight: 600;
}

.rating-badge-three.mini-one span {
    font-size: 6px;
}

.rating-badge-three.mini-two span {
    font-size: 8px;
}

.infos-bottom-three {
    position: absolute;
    bottom: 0;
    /* top: 70%; */
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0%;
    padding: 0%;
    align-items: center;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    box-shadow: 0 -2px 8px rgba(0,0,0,0.3);
    box-sizing: border-box;
    z-index: 102;
    backdrop-filter: blur(8px);
}

.infos-bottom-three.mini-one {
    border-radius: 0 0 1.4em 1.4em;
    padding: 2px 4px;
}

.infos-bottom-three.mini-two {
    border-radius: 0 0 1.8em 1.8em;
    padding: 2px 4px;
}

.product-name-three {
    font-weight: 600;
    color: white;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-name-three.mini-one {
    font-size: 8px;
}

.product-name-three.mini-two {
    font-size: 10px;
}

.product-price-info-three {
    margin: 0;
    font-size: 22px;
    text-align: center;
}

.product-price-info-three.mini-one {
    font-size: 12px;
}

.product-price-info-three.mini-two {
    font-size: 10px;
}

.price-value-three {
    color: #4CAF50;
    font-weight: bold;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.price-unit-three {
    color: #999;
    margin-left: 4px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}