/* Prices Section Styles */
.prices {
    background: var(--light-gray);
    padding: 80px 0;
}

/* Categories Filter */
.price-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.category-btn {
    background: var(--primary-white);
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.category-btn:hover {
    background: var(--primary-red);
    color: var(--primary-white);
    transform: translateY(-2px);
}

.category-btn.active {
    background: var(--primary-red);
    color: var(--primary-white);
}

/* Price Grid */
.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

/* Price Card */
.price-card {
    background: var(--primary-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.price-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.price-card-header {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.price-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.price-card:hover .price-img {
    transform: scale(1.05);
}

.price-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--primary-red);
    color: var(--primary-white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-badge.kit {
    background: #28a745;
}

.price-badge.manual {
    background: #007bff;
}

.price-badge.accessory {
    background: #6c757d;
}

.price-badge.soldagem {
    background: #ff6b00;
}

.price-card-body {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.price-card-body h4 {
    color: var(--primary-black);
    margin-bottom: 10px;
    font-size: 1.3rem;
    font-weight: 600;
}

.price-description {
    color: var(--secondary-gray);
    margin-bottom: 20px;
    line-height: 1.5;
    flex-grow: 1;
}

.price-value {
    margin-bottom: 20px;
}

.price {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: 700;
    display: block;
}

.price-installment {
    color: var(--secondary-gray);
    font-size: 0.9rem;
}

.price-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.feature {
    background: var(--light-gray);
    color: var(--primary-black);
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.price-card-footer {
    padding: 0 25px 25px;
}

.buy-btn {
    width: 100%;
    background: var(--primary-red);
    color: var(--primary-white);
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.buy-btn:hover {
    background: #a80000;
    transform: translateY(-2px);
}

/* Animations */
.price-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .price-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .price-categories {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .prices {
        padding: 60px 0;
    }
    
    .price-card-header {
        height: 160px;
    }
    
    .price-card-body {
        padding: 20px;
    }
    
    .price-card-footer {
        padding: 0 20px 20px;
    }
    
    .price {
        font-size: 1.5rem;
    }
}

/* Filter Animation */
.price-card.hidden {
    display: none;
}

.price-card.visible {
    display: flex;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}