/* =============================================
   Carousel CSS - Bareso
   ============================================= */

.carousel-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e8e0d5;
    transition: all 0.3s ease;
    min-width: calc(25% - 15px);
    flex-shrink: 0;
}

.carousel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.18);
}

.carousel-card .product-image {
    height: 210px;
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    position: relative;
    overflow: hidden;
    padding: 0;
}

.carousel-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.carousel-card:hover .product-image img {
    transform: scale(1.05);
}

.carousel-card .product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.05));
}

.carousel-card .product-info {
    padding: 18px;
}

.carousel-card .product-name {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a2e;
    line-height: 1.4;
}

.carousel-card .product-price {
    font-size: 17px;
    font-weight: 800;
    color: #FF6B00;
    margin-bottom: 12px;
}

.carousel-card .add-to-cart-btn {
    width: 100%;
    justify-content: center;
    padding: 9px 16px;
    font-size: 13px;
}

/* Auto-scroll animation */
@keyframes autoScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.carousel-auto {
    display: flex;
    gap: 20px;
    animation: autoScroll 30s linear infinite;
}

.carousel-auto:hover {
    animation-play-state: paused;
}
