/* === CARRUSEL DE PRODUCTOS ESTILO PERFIL === */
:root {
    --pharma-blue: #304f9e;
    --pharma-yellow: #f3e02e;
    --pharma-light-blue: #e3f2fd;
    --pharma-dark-blue: #1a2d5f;
    --pharma-gradient: linear-gradient(135deg, var(--pharma-blue) 0%, #4a6bb8 100%);
    --shadow-light: 0 2px 10px rgba(48, 79, 158, 0.08);
    --shadow-medium: 0 4px 20px rgba(48, 79, 158, 0.12);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* SELECTOR ESPECÍFICO PARA CARRUSELES */
.owl-carousel .product-card {
    background: #fff !important;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-light) !important;
    padding: 1rem 0.8rem 0.8rem 0.8rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    position: relative !important;
    font-family: 'Inter', 'Segoe UI', sans-serif !important;
    margin-top: 2px !important;
    margin-bottom: 2px !important;
    transition: var(--transition) !important;
    height: 300px !important;
    max-height: 300px !important;
    min-height: 300px !important;
    overflow: hidden !important;
}

.owl-carousel .product-card:hover {
    box-shadow: var(--shadow-medium) !important;
    transform: translateY(-2px) !important;
}

.owl-carousel .product-card__image {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin-bottom: 0.6rem !important;
    width: 140px !important;
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
}

.owl-carousel .product-card__image img {
    width: 140px !important;
    height: 140px !important;
    object-fit: contain !important;
    border-radius: 0 !important;
}

.owl-carousel .product-card__info {
    width: 100% !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    flex-grow: 1 !important;
    margin-bottom: 0.6rem !important;
}

.owl-carousel .product-card__name {
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #000 !important;
    margin-bottom: 0.4rem !important;
    text-align: left !important;
    line-height: 1.2 !important;
    letter-spacing: -0.2px !important;
    height: 2rem !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}

.owl-carousel .product-card__name a {
    color: #000 !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

.owl-carousel .product-card__name a:hover {
    color: var(--pharma-blue) !important;
    text-decoration: none !important;
}

.owl-carousel .product-card__prices {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    color: var(--pharma-blue) !important;
    margin-bottom: 0.6rem !important;
    text-align: center !important;
}

.owl-carousel .product-card__buttons {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.4rem !important;
    width: 100% !important;
    margin-top: auto !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.owl-carousel .product-card__buttons .input-group {
    margin-bottom: 0.3rem !important;
}

.owl-carousel .product-card__buttons .btn-cantidad-minus,
.owl-carousel .product-card__buttons .btn-cantidad-plus {
    background: #0c63e4 !important;
    color: #fff !important;
    border: 1px solid #0c63e4 !important;
    font-weight: 600 !important;
    font-size: 0.8rem !important;
    padding: 0.2rem 0.3rem !important;
    border-radius: 3px !important;
    width: 26px !important;
    height: 26px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.owl-carousel .product-card__buttons .cantidad-input {
    text-align: center !important;
    font-weight: 600 !important;
    border: 1px solid #dee2e6 !important;
    height: 26px !important;
    width: 45px !important;
    font-size: 0.8rem !important;
}

.owl-carousel .product-card__buttons .btn-primary,
.owl-carousel .product-card__buttons .btn {
    background: #0041AE !important;
    color: #fff !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 5px !important;
    font-size: 0.75rem !important;
    padding: 0.35rem 0.6rem !important;
    transition: all 0.2s !important;
    width: 100% !important;
}

.owl-carousel .product-card__buttons .btn-primary:hover,
.owl-carousel .product-card__buttons .btn:hover {
    background: #0952c4 !important;
    transform: translateY(-1px) !important;
}

.owl-carousel .product-card__badges-list {
    left: 8px !important;
    top: 8px !important;
    position: absolute !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    z-index: 1 !important;
}   

/* CARRUSEL DEL CARRITO MÁS PEQUEÑO */
.carousel-chico .owl-carousel .product-card {
    height: 260px !important;
    max-height: 260px !important;
    min-height: 260px !important;
    padding: 0.8rem 0.6rem 0.6rem 0.6rem !important;
}

.carousel-chico .owl-carousel .product-card__image {
    width: 90px !important;
    height: 90px !important;
}

.carousel-chico .owl-carousel .product-card__image img {
    width: 90px !important;
    height: 90px !important;
}

@media (max-width: 479px) {
    .owl-carousel .product-card {
        height: 240px !important;
        max-height: 240px !important;
        min-height: 240px !important;
        padding: 0.6rem 0.4rem !important;
    }
    
    .owl-carousel .product-card__image {
        width: 80px !important;
        height: 80px !important;
    }
    
    .owl-carousel .product-card__image img {
        width: 80px !important;
        height: 80px !important;
    }
    
    .owl-carousel .product-card__name {
        font-size: 0.75rem !important;
        height: 1.8rem !important;
    }
}

.owl-dots {
    display: none !important;
}


