.empty-state {
    text-align: center;
    padding: 60px 20px;
    display: none;
}

.empty-state i {
    font-size: 40px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.empty-state p {
    color: var(--text-mid);
    font-size: 16px;
    font-weight: 500;
}

/* =====================================================
   FULL CORPORATE FOOTER
   ===================================================== */
.magalu-footer-full {
    background-color: #f5f5f5;
    border-top: 1px solid var(--border);
    color: var(--text-mid);
    font-size: 13px;
}

.footer-expand {
    display: flex;
    justify-content: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    background-color: #ffffff;
}

.footer-expand-btn {
    background: transparent;
    border: 1px solid var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--text-mid);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.footer-expand-btn:hover {
    background: #f0f0f0;
}

.footer-main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr) 200px;
    gap: 30px;
}

.footer-col h4 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-mid);
    margin-bottom: 12px;
    font-size: 14px;
    text-decoration: none;
}

.footer-col a:hover {
    color: var(--blue-primary);
    text-decoration: underline;
}

.footer-badges-col {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.footer-badges-col .cert-img {
    height: 40px;
    border-radius: 4px;
}

.footer-badges-col .cert-text {
    font-size: 11px;
    color: var(--text-mid);
    line-height: 1.2;
    display: flex;
    align-items: center;
    gap: 8px;
}
.footer-badges-col .cert-text i {
    font-size: 16px;
}

.footer-divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 40px 0 20px 0;
}

.footer-horiz-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: flex-start;
    margin-bottom: 30px;
    line-height: 1.5;
}

.footer-horiz-links a {
    color: var(--text-mid);
    font-weight: 600;
    font-size: 14px;
}

.footer-horiz-links a:hover {
    color: var(--blue-primary);
}

.footer-legal-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-legal-text {
    flex: 1;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.6;
}

.footer-legal-text p {
    margin-bottom: 10px;
}

.footer-contact-box {
    background: #f9f9f9;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: var(--radius, 8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 250px;
}

.footer-chat-btn {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--text-mid);
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

.footer-chat-btn:hover {
    background: #ebebeb;
}

.footer-phone {
    text-align: center;
    font-size: 13px;
    color: var(--text-mid);
}

.footer-phone strong {
    display: block;
    font-size: 18px;
    color: var(--text-dark);
    margin-top: 4px;
}

.footer-bottom-bar {
    background-color: #ebebeb;
    padding: 20px;
    text-align: center;
    font-size: 11px;
    color: var(--text-light);
}

/* =====================================================
   CARD FRAMING & GRID ALIGNMENT FIXES
   ===================================================== */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    align-items: stretch !important;
}

.product-card-real {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.card-img-area {
    position: relative !important;
    width: 100% !important;
    height: 220px !important;
    min-height: 220px !important;
    max-height: 220px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px !important;
    background-color: #ffffff !important;
    overflow: hidden !important;
}

.card-img-area img {
    max-height: 100% !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: auto !important;
    display: block !important;
}

.card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 14px !important;
    justify-content: space-between !important;
}

.card-title {
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: 40px !important;
    max-height: 40px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    margin-bottom: 10px !important;
    font-weight: 500 !important;
    color: #333333 !important;
}

/* Quick Modules Fixes */
.quick-module-card .quick-module-img {
    height: 110px !important;
    width: 100% !important;
    object-fit: contain !important;
    margin: 8px 0 !important;
}

/* RESPONSIVENESS */
@media (max-width: 1024px) {
    .footer-cols {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-badges-col {
        grid-column: 1 / -1;
    }
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 768px) {
    .quick-modules {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    .quick-modules::-webkit-scrollbar {
        height: 6px;
    }
    .quick-modules::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }
    .quick-module-card {
        min-width: 160px;
        scroll-snap-align: start;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    
    .filter-pills {
        display: flex !important;
        overflow-x: auto !important;
        white-space: nowrap !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    .filter-pill {
        flex-shrink: 0 !important;
    }
    
    .card-img-area {
        height: 160px !important;
        min-height: 160px !important;
        max-height: 160px !important;
    }

    .footer-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .footer-legal-row {
        flex-direction: column;
    }
    .footer-contact-box {
        width: 100%;
    }
    .footer-horiz-links {
        justify-content: center;
        gap: 12px;
        text-align: center;
    }
    .footer-horiz-links a {
        padding: 4px 0;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
    
    .card-img-area {
        height: 140px !important;
        min-height: 140px !important;
        max-height: 140px !important;
    }
}

/* =====================================================
   MAGALU EMPRESAS BANNER (CUSTOM HTML/CSS)
   ===================================================== */
.magalu-empresas-banner-custom {
    display: flex;
    width: 100%;
    height: 84px;
    border-radius: 8px;
    overflow: hidden;
    margin: 24px 0;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0, 134, 255, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-family: 'Inter', sans-serif;
}

.magalu-empresas-banner-custom:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 134, 255, 0.2);
}

.banner-section-left {
    background: #0086ff;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.logo-empresas-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-magalu {
    color: #ffffff;
    font-size: 26px;
    font-weight: 900;
    letter-spacing: -1px;
}

.logo-sub {
    color: #ffd200;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    margin-top: 2px;
}

.slogan-empresas {
    color: #ffd200;
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
    white-space: nowrap;
}

.banner-section-mid {
    background: #0070e0;
    flex: 1;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #ffffff;
}

.banner-icons-group {
    display: flex;
    gap: 10px;
}

.icon-box {
    width: 36px;
    height: 36px;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #ffffff;
}

.cnpj-text {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

.cnpj-btn-pill {
    background: #0056b3;
    color: #ffffff;
    font-weight: 700;
    font-size: 13px;
    padding: 8px 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.banner-section-right {
    background: #ffd200;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-shrink: 0;
}

.banner-right-icon {
    font-size: 24px;
    color: #0086ff;
}

/* Responsiveness for Banner */
@media (max-width: 1024px) {
    .banner-icons-group {
        display: none;
    }
    .slogan-empresas {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .magalu-empresas-banner-custom {
        height: auto;
        flex-direction: column;
    }
    .banner-section-left,
    .banner-section-mid,
    .banner-section-right {
        padding: 12px 16px;
        justify-content: center;
        width: 100%;
    }
    .banner-section-right {
        display: none;
    }
}

