* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
    color: #333;
    background-color: #fff;
}

/* HEADER MOBILE */
.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    gap: 12px;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 8px;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}

.logo-img {
    height: 100%;
    width: auto;
    max-width: 100%;
}

.header-icons {
    display: flex;
    gap: 8px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    padding: 8px;
}

/* SEARCH BAR */
.search-bar {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    margin: 8px 12px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 24px;
    gap: 8px;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 13px;
    color: #333;
}

.search-input::placeholder {
    color: #999;
}

.search-clear {
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
    font-size: 16px;
    padding: 4px;
}

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

/* PROMO BANNER */
.promo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f0f0;
    padding: 10px 12px;
    gap: 8px;
    font-size: 13px;
    color: #001489;
    font-weight: 500;
}

.banner-arrow {
    background: none;
    border: none;
    cursor: pointer;
    color: #001489;
    font-size: 18px;
    padding: 4px;
    flex-shrink: 0;
}

.banner-content {
    flex: 1;
    text-align: center;
}

.banner-text a {
    color: #001489;
    text-decoration: underline;
    font-weight: 600;
}

/* MOBILE MENU */
.mobile-menu {
    display: none;
    flex-direction: column;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.mobile-menu.active {
    display: flex;
    max-height: 500px;
}

.menu-item {
    padding: 12px 16px;
    text-decoration: none;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    border-bottom: 1px solid #eee;
    transition: background 0.2s;
}

.menu-item:active {
    background: #f0f0f0;
}

.menu-item.outlet {
    color: #ff6b35;
}

/* MAIN CONTENT */
.main-content {
    padding: 16px;
}

/* SEARCH SECTION */
.search-section {
    margin-bottom: 16px;
}

.search-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.search-title h1 {
    font-size: 16px;
    font-weight: 600;
}

.results-count {
    font-size: 13px;
    color: #666;
}

/* FILTER TABS */
.filter-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.tab-btn.active {
    color: #001489;
    border-bottom-color: #001489;
}

/* PRODUCTS GRID */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.product-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}

.product-card:active {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    background: #f5f5f5;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #000;
    color: #fff;
    padding: 4px 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 2px;
    z-index: 2;
}

.product-add-btn {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s;
}

.product-add-btn:active {
    background: #f0f0f0;
}

.product-name {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    padding: 8px 8px 4px;
    line-height: 1.3;
}

.product-favorite {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 8px;
    margin-bottom: 4px;
}

.product-favorite svg {
    width: 18px;
    height: 18px;
    cursor: pointer;
    color: #999;
    transition: all 0.2s;
    fill: none;
    stroke-width: 2;
}

.product-favorite.favorited svg {
    color: #ff6b35;
    fill: #ff6b35;
    stroke-width: 2;
}

.product-favorite svg:active {
    color: #ff6b35;
    fill: #ff6b35;
    stroke-width: 2;
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 0 8px 8px;
    font-size: 12px;
}

.price {
    font-weight: 700;
    color: #001489;
    font-size: 14px;
}

.installment {
    color: #666;
    font-size: 11px;
}

.availability {
    color: #999;
    font-size: 11px;
}

/* FOOTER */
.footer {
    background: #f9f9f9; /* Fundo geral do footer mais claro */
    border-top: 1px solid #eee;
    position: relative;
    z-index: 1;
}

/* Newsletter Section */
.newsletter-section {
    position: relative;
    background: #001489;
    color: #fff;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Mobile: Imagem em cima, texto embaixo */
}

.newsletter-image {
    display: block; /* Mostrar imagem no mobile */
    width: 100%;
    height: auto;
    line-height: 0; /* Remove espaço extra abaixo da imagem */
}

.newsletter-bg {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.newsletter-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 16px;
    text-align: center;
    background: #001489;
    width: 100%;
}

.newsletter-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.newsletter-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #66b3ff;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.newsletter-text {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px; /* Um pouco mais largo */
}

.newsletter-input {
    padding: 12px 20px; /* Mais padding */
    border: none;
    border-radius: 25px; /* Mais arredondado */
    font-size: 14px;
    outline: none;
    background: #fff;
    color: #333;
    text-align: left; /* Texto alinhado à esquerda */
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 12px 20px;
    background: #fff;
    color: #001489;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 800; /* Mais negrito */
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.newsletter-btn:active {
    background: #f0f0f0;
}

/* Footer Links Section - 2 COLUNAS */
.footer-links-section {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 colunas iguais */
    gap: 20px; /* Espaço entre colunas */
    padding: 30px 20px;
    background: #f4f4f4; /* Fundo levemente cinza */
    max-width: 100%;
    margin: 0;
}

.footer-column {
    margin-bottom: 0; /* Remove margem inferior extra */
}

.footer-title {
    font-size: 13px;
    font-weight: 800;
    color: #001489;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Mais espaçamento entre itens */
}

.footer-list a {
    font-size: 13px;
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-list a:active {
    color: #001489;
}

/* Social Section */
.footer-social-section {
    padding: 20px;
    text-align: center;
    background: #f4f4f4;
    border-top: 1px solid #e0e0e0; /* Divisória sutil */
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 10px;
}

.social-icon {
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
    color: #666; /* Cor padrão dos ícones */
}

/* Payment Section */
.footer-payment-section {
    padding: 20px;
    text-align: center;
    background: #f4f4f4;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.payment-icon {
    font-size: 24px; /* Ícones maiores */
    color: #666;
}

/* Security Section */
.footer-security-section {
    padding: 20px;
    text-align: center;
    background: #f4f4f4;
}

.security-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.security-badge {
    font-size: 12px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Contact Section */
.footer-contact-section {
    padding: 20px;
    text-align: center;
    background: #f4f4f4;
}

.contact-phone,
.contact-email,
.contact-hours {
    font-size: 13px;
    color: #666;
    margin: 8px 0;
}

.contact-phone a,
.contact-email a {
    color: #666; /* Cor cinza para links de contato */
    text-decoration: none;
}

/* Copyright Section */
.footer-copyright {
    padding: 20px;
    text-align: center;
    background: #f4f4f4;
    border-top: 1px solid #e0e0e0;
}

.copyright-text {
    font-size: 12px;
    font-weight: 700;
    color: #001489;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.copyright-disclaimer {
    font-size: 11px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
}

.copyright-info {
    font-size: 11px;
    color: #999;
    line-height: 1.5;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* No mobile, mantemos 2 colunas no footer também, conforme pedido */
    .footer-links-section {
        grid-template-columns: 1fr 1fr; 
        text-align: left; /* Alinhamento à esquerda nas colunas */
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 10px 12px;
    }

    .logo {
        height: 35px;
    }

    .search-bar {
        margin: 6px 8px;
        padding: 6px 10px;
    }

    .search-input {
        font-size: 12px;
    }

    .promo-banner {
        font-size: 12px;
        padding: 8px 10px;
    }

    .main-content {
        padding: 12px;
    }

    .search-title h1 {
        font-size: 14px;
    }

    .results-count {
        font-size: 12px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-name {
        font-size: 12px;
    }

    .product-price {
        font-size: 11px;
    }

    .price {
        font-size: 13px;
    }

    /* Ajustes específicos para Newsletter Mobile */
    .newsletter-section {
        flex-direction: column;
    }
    
    .newsletter-image {
        width: 100%;
    }

    .newsletter-content {
        padding: 30px 20px;
    }

    .newsletter-title {
        font-size: 18px;
    }

    .newsletter-subtitle {
        font-size: 18px;
    }

    .newsletter-text {
        font-size: 12px;
    }

    .newsletter-form {
        max-width: 100%;
    }
    
    /* Ajustes Footer Mobile */
    .footer-links-section {
        padding: 20px 16px;
        gap: 16px;
    }

    .footer-title {
        font-size: 12px;
    }

    .footer-list a {
        font-size: 12px;
    }
}

/* SVG Icons Styling */
.social-icon svg {
    width: 24px;
    height: 24px;
    color: #666; /* Cinza escuro */
    transition: color 0.2s;
}

.social-icon:hover svg {
    color: #001489; /* Azul Mizuno no hover */
}

.payment-icon svg {
    width: 38px;
    height: 24px;
    display: block;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #666;
    font-weight: 600;
}

.security-badge svg {
    width: 16px;
    height: 16px;
    color: #666;
}
