.carousel-wrapper {
    position: relative;
    padding: 0 30px;
    width: 80%;
}

.carousel-arrow {
    position: absolute;
    top: 30%;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #b71c1c;
    font-size: 44px;
}

.left-arrow {
    left: -60px;
}
.right-arrow {
    right: -60px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    height: auto;
    width: auto;
}

.carousel-slide {
    min-width: 100% !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: stretch;
    padding: 20px 20px;
    gap: 10px;
}

.product-image-container {
    border: 2px solid #b71c1c;
    background: #fff;
    margin-bottom: 10px;
    aspect-ratio: 1/1;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    border-radius: 0;
    overflow: hidden;
}
@media (min-width: 992px) {
    .carousel-wrapper {
        width: 100%;
    }

    .product-image-container {
        min-width: 260px;
        min-height: 260px;
        max-width: 340px;
        max-height: 340px;
    }
}
@media (max-width: 991px) {
    .product-image-container {
        min-width: 170px;
        min-height: 170px;
        max-width: 100%;
        max-height: 100vw;
    }
}
@media (max-width: 576px) {
    .product-image-container {
        min-width: 120px;
        min-height: 120px;
    }
}
.product-image {
    width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.product-info {
    text-align: center;
    border-radius: 0;
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background-color: none !important;
}

.product-info h5 {
    font-weight: 500;
    font-size: 1.8rem;
    color: #222;
    min-height: 75px;
}

.product-link {
    display: inline-block;
    background-color: #b71c1c;
    color: white;
    padding: 4px 12px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 16px;
    border-radius: 0;
    letter-spacing: 0.5px;
    font-weight: 600;
    box-sizing: border-box;
    margin-top: 8px;
}

.product-link:hover {
    color: #222 !important;
}

@media (min-width: 768px) {
    .carousel-slide {
        min-width: 50% !important;
    }
}

@media (min-width: 992px) {
    .carousel-slide {
        min-width: 35% !important;
    }
}

@media (min-width: 1700px) {
    .carousel-slide {
        min-width: 25% !important;
    }
}

/* Responsive para móviles */
@media (max-width: 991px) {
    /* .carousel-track {
        width: 400%;
    } */
    
    .featured-products-container {
        padding: 20px 20px;
    }
    
    /* Quitar el borde rojo en móviles */
    .product-image-container {
        border: none;
        height: 200px;
    }
}

/* Ajustes específicos para dispositivos muy pequeños */
@media (max-width: 576px) {
    .product-image-container {
        height: 180px;
    }
    
    /* .product-title {
        font-size: 1rem;
    } */
}