/* Product Carousel */
.product-carousel-wrapper {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    position: relative;
}

.product-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.product-carousel-title {
    font-size: 36px;
    font-weight: 900;
    color: #111827;
    letter-spacing: -0.02em;
    margin: 0;
}

.product-carousel-nav {
    display: flex;
    gap: 12px;
}

.carousel-nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-nav-btn:hover {
    background: #05307A;
    border-color: #05307A;
}

.carousel-nav-btn:hover svg {
    stroke: white;
}

.carousel-nav-btn svg {
    width: 20px;
    height: 20px;
    stroke: #374151;
    transition: all 0.3s;
}

.carousel-nav-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.carousel-nav-btn.disabled:hover {
    background: white;
    border-color: #e5e7eb;
}

.carousel-nav-btn.disabled:hover svg {
    stroke: #374151;
}

.product-carousel-container {
    position: relative;
    overflow: hidden;
}

.product-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-product-card {
    flex: 0 0 calc(25% - 18px);
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.carousel-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(5, 48, 122, 0.15);
    border-color: #05307A;
}

.carousel-product-image {
    width: 100%;
    height: 280px;
    background: #ffffff; /* Alterado para branco */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

.carousel-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.carousel-product-info {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
    text-align: center;
    align-items: center;
}

.carousel-product-category {
    display: none !important;
}

.carousel-product-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 44px;
    margin: 0;
}

.carousel-product-price {
    font-size: 24px;
    font-weight: 900;
    color: #05307A;
    margin: 8px 0 0 0;
}

.carousel-product-price del {
    font-size: 16px;
    color: #9ca3af;
    font-weight: 500;
    margin-right: 8px;
}

.carousel-product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.carousel-product-badge.sale {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* Ocultar preço para usuários deslogados */
body:not(.logged-in) .carousel-product-price {
    display: none;
}

/* Responsive */
@media (max-width: 1200px) {
    .carousel-product-card {
        flex: 0 0 calc(33.333% - 16px);
    }
}

@media (max-width: 768px) {
    .product-carousel-title {
        font-size: 28px;
    }
    
    .carousel-product-card {
        flex: 0 0 calc(50% - 12px);
    }
    
    .carousel-product-image {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .product-carousel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .carousel-product-card {
        flex: 0 0 100%;
    }
}
