/* carousel.css */
.products-carousel-section {
    overflow: hidden;
    padding: 40px 0;
    background: #fdfdfd;
    margin-bottom: 20px;
}
.products-carousel-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: max-content;
    will-change: transform;
}
.product-carousel-item {
    width: 250px;
    height: 250px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    cursor: pointer;
    margin-right: 20px;
}
@media (max-width: 768px) {
    .product-carousel-item {
        width: 140px;
        height: 140px;
        margin-right: 10px;
    }
}
.product-carousel-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 2;
}
.product-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-zoom-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(255,255,255,0.8);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d5016;
    opacity: 0;
    transition: opacity 0.3s ease;
    backdrop-filter: blur(4px);
}
.product-carousel-item:hover .product-zoom-icon {
    opacity: 1;
}
.product-carousel-label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: #2d5016;
    padding: 12px 10px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.3);
}
.product-carousel-label a {
    color: inherit;
    text-decoration: none;
}
.product-carousel-label a:hover {
    text-decoration: underline;
}
@keyframes scrollProducts {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@-webkit-keyframes scrollProducts {
    0% { -webkit-transform: translateX(0); }
    100% { -webkit-transform: translateX(-50%); }
}
.products-carousel-track:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

.testimonials-carousel-wrapper { overflow: hidden; padding: 20px 0; }
.testimonials-track {
    display: flex;
    width: max-content;
    will-change: transform;
}
.testimonial-card {
    flex-shrink: 0;
    margin-right: 20px;
    width: 380px; 
    cursor: pointer;
    transition: transform 0.3s ease;
}
@media (max-width: 768px) {
    .testimonial-card { width: 180px; margin-right: 10px; }
    .testimonial-card img { max-height: 120px; object-fit: contain; background: #fff; }
}
.testimonial-card:hover { transform: scale(1.02); }
.testimonial-card img { width: 100%; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.1); }

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@-webkit-keyframes scrollTestimonials {
    0% { -webkit-transform: translateX(0); }
    100% { -webkit-transform: translateX(-50%); }
}
.testimonials-track:hover { animation-play-state: paused; -webkit-animation-play-state: paused; }
