/* Product Carousel Wrapper & Grid */
.products-section {
    margin-bottom: 60px;
}

.see-all-link {
    font-size: 14px;
    color: var(--primary);
    text-decoration: underline;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-carousel-container {
    position: relative;
    padding: 0 20px;
}

.product-grid {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    scrollbar-width: none;
}

.product-grid::-webkit-scrollbar {
    display: none;
}

.slider-arrow {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: 0.3s;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
}

.slider-arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background-color: var(--primary);
}

.arrow-left { left: -50px; }
.arrow-right { right: -50px; }

/* Unified Product Card Style */
.product-card-clean {
    /* Dimensões padrões para o carrossel */
    flex: 0 0 calc(25% - 15px);
    max-width: calc(25% - 15px);
    
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    scroll-snap-align: start;
}

.product-card-clean:hover {
    transform: translateY(-5px);
}

.img-box-clean {
    position: relative;
    width: 100%;
    height: 320px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    margin-bottom: 5px;
}

.img-box-clean img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s;
}

.product-card-clean:hover .img-box-clean img {
    transform: scale(1.05);
}

.details-clean {
    text-align: left;
    padding: 0 12px 25px 12px;
}

.product-title {
    font-size: 16px;
    color: #333;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.3;
    height: 42px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-card-clean:hover .product-title {
    text-decoration: underline;
}

.price-area {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 2px;
}

.price-area .old-price {
    font-size: 13px;
    color: #444444;
    text-decoration: line-through;
    font-weight: 400;
}

.price-area strong {
    font-size: 22px;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
}

.installment-text {
    font-size: 14px;
    color: #767676;
    font-weight: 400;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.indicator {
    width: 30px;
    height: 4px;
    background-color: #ccc;
    border-radius: 2px;
}

.indicator.active {
    background-color: var(--primary-dark);
}

/* Responsive Cards */
@media (max-width: 1200px) {
    .arrow-left { left: -20px; }
    .arrow-right { right: -20px; }
}

@media (max-width: 768px) {
    .slider-arrow { display: none; }
    .product-carousel-container { padding: 0; }
    
    /* No mobile, o card ocupa mais espaço */
    .product-card-clean {
        flex: 0 0 75vw;
        max-width: 75vw;
    }
}