/* =============================================
   PÁGINA DE PRODUTOS - ESTILOS COMPLETOS
   ============================================= */

   .produtos-page {
    padding: 3rem 0;
    background-color: var(--light);
}

.page-header {
    margin-bottom: 2.5rem;
}

.page-header h1 {
    font-size: 2.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--primary);
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.products-container {
    display: flex;
    gap: 2rem;
}

.products-filters {
    flex: 0 0 280px;
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    height: fit-content;
}

.filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.filter-list {
    list-style: none;
}

.filter-list li {
    margin-bottom: 0.5rem;
}

.filter-list a {
    color: var(--gray);
    display: block;
    padding: 0.5rem 0;
    transition: all 0.2s ease;
}

.filter-list a:hover, .filter-list a.active {
    color: var(--primary);
    padding-left: 0.5rem;
}

.price-range {
    margin-top: 1rem;
}

.range-slider {
    margin-bottom: 0.5rem;
}

.slider {
    width: 100%;
    height: 5px;
    -webkit-appearance: none;
    background: #ddd;
    border-radius: 5px;
    outline: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    background: var(--primary);
    border-radius: 50%;
    cursor: pointer;
}

.price-values {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray);
    margin-bottom: 1rem;
}

.btn-filter {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.btn-filter:hover {
    background-color: var(--primary-dark);
}

.promo-banner {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
}

.promo-banner p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.btn-promo {
    display: inline-block;
    background-color: white;
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-promo:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.products-list {
    flex: 1;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.results-count {
    font-size: 0.9rem;
    color: var(--gray);
}

.sort-by {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-by select {
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    min-width: 180px;
    cursor: pointer;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.product-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background-color: var(--success);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2;
}

.product-card-img {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

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

.card-body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-card-category {
    font-size: 0.75rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-weight: 600;
}

.product-card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

.product-card-desc {
    font-size: 0.875rem;
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-price {
    margin-bottom: 1rem;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.old-price {
    text-decoration: line-through;
    color: var(--gray);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.product-rating {
    margin-bottom: 1rem;
}

.product-rating i {
    color: #ffc107;
    font-size: 0.9rem;
}

/* BOTÕES ATUALIZADOS */
.product-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: auto;
}

.btn-add-to-cart {
    flex: 1;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.85rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    min-height: 48px;
}

.btn-add-to-cart:hover {
    background-color: #004a9e;
    transform: translateY(-2px);
}

.btn-add-to-cart.added {
    background-color: var(--success);
    animation: pulse 0.5s ease;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-details {
    background-color: var(--light);
    color: var(--dark);
    border: 1px solid var(--gray-200);
    padding: 0.85rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.btn-details:hover {
    background-color: #e9ecef;
    border-color: #ced4da;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-nav, .page-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.page-nav {
    background-color: #f8f9fa;
    color: var(--gray);
}

.page-nav:hover:not(.disabled) {
    background-color: var(--primary);
    color: white;
}

.page-nav.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-number {
    color: var(--dark);
    background-color: white;
    border: 1px solid #ddd;
}

.page-number:hover, .page-number.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
}

.page-dots {
    color: var(--gray);
    padding: 0 0.5rem;
}

@media (max-width: 992px) {
    .products-container {
        flex-direction: column;
    }
    
    .products-filters {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sort-by {
        width: 100%;
    }
    
    .sort-by select {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .product-card-actions {
        flex-direction: column;
    }
}

