/* ===== CATÁLOGO DE PRODUTOS ===== */

/* ===== HERO SECTION ===== */
.catalogo-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #333 100%);
    padding: 60px 0;
    text-align: center;
}

.catalogo-hero h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
}

.catalogo-hero p {
    color: #bdc3c7;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ===== SEARCH & FILTERS ===== */
.search-filters {
    background: #333;
    padding: 30px 0;
    border-bottom: 1px solid #34495e;
}

.search-container {
    margin-bottom: 20px;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #bdc3c7;
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 45px;
    border: 2px solid #34495e;
    border-radius: 25px;
    background: #1a1a1a;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #fef037;
    box-shadow: 0 0 0 3px rgba(254, 240, 55, 0.1);
}

.search-btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #fef037;
    color: #1a1a1a;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #e6d800;
    transform: translateY(-50%) scale(1.05);
}

/* ===== FILTERS ===== */
.filters-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.filter-group select {
    padding: 10px 15px;
    border: 2px solid #34495e;
    border-radius: 8px;
    background: #1a1a1a;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
    min-width: 150px;
}

.filter-group select:focus {
    outline: none;
    border-color: #fef037;
}

.btn-outline {
    background: transparent;
    color: #fef037;
    border: 2px solid #fef037;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-outline:hover {
    background: #fef037;
    color: #1a1a1a;
    transform: translateY(-2px);
}

.limpar-carrinho-catalogo {
    background: rgba(220, 53, 69, 0.1);
    border-color: #dc3545;
    color: #dc3545;
}

.limpar-carrinho-catalogo:hover {
    background: #dc3545;
    color: white;
}

/* ===== PRODUTOS GRID SECTION ===== */
.produtos-grid-section {
    padding: 40px 0;
    background: #1a1a1a;
    min-height: 60vh;
}

.produtos-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.results-info {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.sort-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sort-container label {
    color: #bdc3c7;
    font-size: 14px;
}

.sort-container select {
    padding: 8px 12px;
    border: 1px solid #34495e;
    border-radius: 6px;
    background: #333;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

/* ===== PRODUTOS GRID ===== */
.produtos-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 25px !important;
    margin-bottom: 40px !important;
}

.produto-card {
    background: #333 !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    border: 1px solid #555 !important;
    height: 420px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
}

.produto-card::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(254, 240, 55, 0.2), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: 1 !important;
}

.produto-card:hover::before {
    left: 100% !important;
}

.produto-card:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(254, 240, 55, 0.3) !important;
    border-color: #fef037 !important;
}

.produto-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.3s ease !important;
    flex-shrink: 0 !important;
}

.produto-card:hover .produto-image {
    transform: scale(1.05) !important;
}

.produto-content {
    padding: 20px !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.produto-categoria {
    color: #fef037 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    letter-spacing: 0.5px !important;
}

.produto-nome {
    font-size: 18px !important;
    font-weight: bold !important;
    color: #fff !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.produto-descricao {
    color: #bdc3c7 !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    margin-bottom: 15px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    flex: 1 !important;
}

.produto-info {
    margin-bottom: 15px !important;
}

.produto-preco {
    font-size: 24px !important;
    font-weight: bold !important;
    color: #27ae60 !important;
    margin-bottom: 5px !important;
}

.produto-preco-original {
    font-size: 16px !important;
    color: #e74c3c !important;
    text-decoration: line-through !important;
    margin-right: 10px !important;
}

.produto-acoes {
    display: flex !important;
    gap: 10px !important;
    margin-top: auto !important;
}

.btn-detalhes, .btn-comprar {
    flex: 1 !important;
    padding: 12px 20px !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: bold !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-block !important;
}

.btn-detalhes {
    background: transparent !important;
    color: #3498db !important;
    border: 2px solid #3498db !important;
}

.btn-detalhes:hover {
    background: #3498db !important;
    color: white !important;
    transform: translateY(-2px) !important;
}

.btn-comprar {
    background: #27ae60 !important;
    color: white !important;
}

.btn-comprar:hover {
    background: #229954 !important;
    transform: translateY(-2px) !important;
}

/* ===== BOTÕES DE FILTRO ===== */
.filtro-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: #bdc3c7;
    border: 2px solid #555;
    border-radius: 50px;
    font-family: 'Orbitron', monospace;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filtro-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(254, 240, 55, 0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.filtro-btn:hover::before {
    left: 100%;
}

.filtro-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    border-color: #fef037;
    color: #fef037;
}

.filtro-btn.active {
    background: linear-gradient(135deg, #fef037 0%, #f4d03f 100%);
    color: #1a1a1a;
    box-shadow: 0 5px 15px rgba(254, 240, 55, 0.3);
    border-color: #fef037;
}

.filtro-btn i {
    font-size: 1rem;
}

/* ===== BADGES ===== */
.produto-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    gap: 5px;
}

.badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: bold;
    text-transform: uppercase;
}

.badge-destaque {
    background: #f39c12;
    color: white;
}

.badge-lancamento {
    background: #e74c3c;
    color: white;
}

/* ===== LOADING & ERROR STATES ===== */
.loading-spinner {
    text-align: center;
    padding: 60px 20px;
    color: #bdc3c7;
}

.spinner {
    border: 4px solid #34495e;
    border-top: 4px solid #fef037;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #bdc3c7;
}

.no-results i {
    font-size: 4rem;
    color: #34495e;
    margin-bottom: 20px;
}

.no-results h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.no-results p {
    color: #bdc3c7;
    font-size: 1rem;
}

/* ===== NOTIFICATIONS ===== */
.catalogo-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: bold;
    z-index: 1000;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.notification-success {
    background: #27ae60;
}

.notification-error {
    background: #e74c3c;
}

.notification-info {
    background: #3498db;
}

/* ===== FLOATING CART ===== */
.floating-cart {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #333;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    width: 300px;
    max-height: 400px;
    display: none;
    overflow: hidden;
    border: 1px solid #34495e;
}

.floating-cart.show {
    display: block;
}

.cart-header {
    background: #fef037;
    color: #1a1a1a;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.close-cart {
    background: none;
    border: none;
    color: #1a1a1a;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
}

.cart-items {
    max-height: 250px;
    overflow-y: auto;
    padding: 15px;
}

.cart-footer {
    background: #34495e;
    padding: 15px 20px;
    border-top: 1px solid #333;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
    font-weight: bold;
    margin-bottom: 10px;
}

.cart-total span:last-child {
    color: #fef037;
    font-size: 18px;
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .catalogo-hero h1 {
        font-size: 2rem;
    }
    
    .catalogo-hero p {
        font-size: 1rem;
    }
    
    .filters-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        width: 100%;
    }
    
    .produtos-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
    
    .produto-card {
        height: 380px !important;
    }
    
    .produto-content {
        padding: 15px !important;
    }
    
    .produto-nome {
        font-size: 16px !important;
    }
    
    .produto-descricao {
        font-size: 13px !important;
    }
    
    .produto-preco {
        font-size: 20px !important;
    }
    
    .floating-cart {
        width: 280px;
        right: 10px;
        bottom: 10px;
    }
}

@media (max-width: 480px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .produto-card {
        height: 350px !important;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .search-box input {
        padding: 12px 45px 12px 40px;
        font-size: 14px;
    }
    
    .btn-detalhes, .btn-comprar {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
} 