/* ============================================
   Big Central Lojista - Página de Produtos
   Design Moderno, Criativo e Responsivo
   ============================================ */

/* Hero Section */
.produtos-hero-section {
    background: linear-gradient(135deg, #DC143C 0%, #B71C1C 100%);
    padding: 30px 20px 40px;
    position: relative;
    overflow: hidden;
}

/* Ondulação criativa no fundo */
.produtos-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.08)" d="M0,64L48,69.3C96,75,192,85,288,85.3C384,85,480,75,576,64C672,53,768,43,864,48C960,53,1056,75,1152,80C1248,85,1344,75,1392,69.3L1440,64L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    opacity: 1;
    animation: wave 8s ease-in-out infinite;
}

.produtos-hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 120"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,101.3C96,107,192,117,288,117.3C384,117,480,107,576,96C672,85,768,75,864,80C960,85,1056,107,1152,112C1248,117,1344,107,1392,101.3L1440,96L1440,120L1392,120C1344,120,1248,120,1152,120C1056,120,960,120,864,120C768,120,672,120,576,120C480,120,384,120,288,120C192,120,96,120,48,120L0,120Z" transform="scale(-1,1) translate(-1440,0)"></path></svg>');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: bottom;
    animation: wave 10s ease-in-out infinite reverse;
}

@keyframes wave {
    0%, 100% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25px) translateY(5px);
    }
}

.produtos-hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.produtos-hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.produtos-hero-image {
    flex: 0 0 auto;
    z-index: 2;
}

.produtos-mascot-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.3));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-6px);
    }
}

.produtos-hero-text {
    flex: 1;
    min-width: 250px;
    text-align: left;
    z-index: 2;
}

.produtos-hero-title {
    font-size: 42px;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3), 
                 0 1px 4px rgba(0, 0, 0, 0.2);
    letter-spacing: -0.02em;
}

.produtos-hero-subtitle {
    font-size: 20px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.4;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.01em;
}

/* Main Section */
.produtos-main-section {
    padding: 40px 20px;
    background: linear-gradient(to bottom, #F9FAFB 0%, #FFFFFF 100%);
}

.produtos-content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Sidebar */
.produtos-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.filter-card {
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.filter-title {
    padding: 24px;
    font-size: 20px;
    font-weight: 700;
    color: #1F2937;
    margin: 0;
    background: linear-gradient(135deg, #F9FAFB 0%, #FFFFFF 100%);
    border-bottom: 2px solid #F3F4F6;
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-title i {
    color: #DC143C;
}

.filter-section {
    padding: 24px;
}

.filter-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #6B7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 8px;
    text-decoration: none;
    color: #374151;
    font-size: 15px;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.filter-option:hover {
    background: #F9FAFB;
    color: #DC143C;
}

.filter-option.active {
    background: #DC143C;
    color: #FFFFFF;
    font-weight: 600;
    border-color: #DC143C;
}

.filter-option.active i {
    color: #FFFFFF;
}

/* Main Content */
.produtos-main {
    min-width: 0;
}

/* Controls Bar */
.produtos-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.produtos-controls-left {
    flex: 1;
}

.produtos-count {
    margin: 0;
    font-size: 14px;
    color: #6B7280;
}

.produtos-count strong {
    color: #1F2937;
    font-weight: 600;
}

.produtos-controls-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.control-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.control-label {
    font-size: 14px;
    color: #6B7280;
    white-space: nowrap;
}

.control-select {
    padding: 8px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #1F2937;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 150px;
}

.control-select:focus {
    outline: none;
    border-color: #DC143C;
    box-shadow: 0 0 0 3px rgba(220, 20, 60, 0.1);
}

/* Products Grid */
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.produto-card {
    background: #FFFFFF;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.produto-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.produto-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.produto-card-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    background: #F9FAFB;
    overflow: hidden;
}

.produto-card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: transform 0.3s ease;
}

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

.produto-badge-desconto {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #1F2937;
    color: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    z-index: 2;
}

.produto-badge-destaque {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #DC143C;
    color: #FFFFFF;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.produto-card-body {
    padding: 20px;
}

.produto-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1F2937;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 44px;
}

.produto-card-codigo {
    font-size: 12px;
    color: #9CA3AF;
    margin: 0 0 12px 0;
}

.produto-card-price {
    margin-bottom: 12px;
}

.produto-price-old {
    display: block;
    font-size: 14px;
    color: #9CA3AF;
    text-decoration: line-through;
    margin-bottom: 4px;
}

.produto-price-current {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #DC143C;
    line-height: 1;
}

.produto-card-payment {
    padding-top: 12px;
    border-top: 1px solid #F3F4F6;
}

.produto-payment-text {
    display: block;
    font-size: 12px;
    color: #6B7280;
    margin-bottom: 4px;
}

.produto-pix-text {
    display: block;
    font-size: 12px;
    color: #DC143C;
    font-weight: 600;
}

/* Empty State */
.produtos-empty {
    text-align: center;
    padding: 80px 20px;
    background: #FFFFFF;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.produtos-empty i {
    font-size: 64px;
    color: #D1D5DB;
    margin-bottom: 20px;
}

.produtos-empty h3 {
    font-size: 24px;
    color: #1F2937;
    margin-bottom: 12px;
}

.produtos-empty p {
    font-size: 16px;
    color: #6B7280;
}

/* Pagination */
.produtos-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6B7280;
}

.pagination-select {
    padding: 8px 12px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #1F2937;
    background: #FFFFFF;
    cursor: pointer;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    color: #6B7280;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pagination-btn:hover {
    border-color: #DC143C;
    color: #DC143C;
    background: #FEF2F2;
}

.pagination-dots {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-dot {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    color: #6B7280;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination-dot:hover {
    border-color: #DC143C;
    color: #DC143C;
    background: #FEF2F2;
}

.pagination-dot.active {
    background: #DC143C;
    border-color: #DC143C;
    color: #FFFFFF;
}

.pagination-ellipsis {
    padding: 0 8px;
    color: #9CA3AF;
}

/* Responsivo - Tablet */
@media (max-width: 1024px) {
    .produtos-content-wrapper {
        grid-template-columns: 240px 1fr;
        gap: 30px;
    }
    
    .produtos-hero-section {
        padding: 25px 20px 35px;
    }
    
    .produtos-mascot-img {
        max-width: 180px;
    }
    
    .produtos-hero-title {
        font-size: 36px;
        text-align: center;
    }
    
    .produtos-hero-subtitle {
        font-size: 18px;
        text-align: center;
    }
    
    .produtos-hero-text {
        text-align: center;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .produtos-hero-section {
        padding: 40px 20px 80px;
    }
    
    .produtos-hero-section {
        padding: 25px 20px 35px;
    }
    
    .produtos-hero-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .produtos-mascot-img {
        max-width: 150px;
    }
    
    .produtos-hero-title {
        font-size: 32px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .produtos-hero-subtitle {
        font-size: 17px;
        text-align: center;
    }
    
    .produtos-hero-text {
        text-align: center;
    }
    
    .produtos-main-section {
        padding: 30px 15px;
    }
    
    .produtos-content-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .produtos-sidebar {
        position: static;
    }
    
    .produtos-controls-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .produtos-controls-right {
        flex-direction: column;
        width: 100%;
    }
    
    .control-group {
        width: 100%;
        justify-content: space-between;
    }
    
    .control-select {
        flex: 1;
        min-width: 0;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .produto-card-body {
        padding: 16px;
    }
    
    .produto-card-title {
        font-size: 14px;
        min-height: 40px;
    }
    
    .produto-price-current {
        font-size: 20px;
    }
    
    .produtos-pagination {
        flex-direction: column;
        align-items: stretch;
    }
    
    .pagination-controls {
        justify-content: center;
    }
}

/* Responsivo - Mobile Pequeno */
@media (max-width: 480px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .produtos-hero-title {
        font-size: 28px;
    }
    
    .produtos-hero-subtitle {
        font-size: 16px;
    }
}

