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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #333;
}

.banner-oferta {
    background-color: #000;
    color: #fff;
    text-align: center;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
}

.header {
    background-color: #fff;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: #333;
    display: block;
    transition: 0.3s;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #8B6F47;
    letter-spacing: 2px;
}

.logo-img {
    max-height: 40px;
    width: auto;
    display: block;
}

.cart-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 1000;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.sidebar-logo {
    font-size: 20px;
    font-weight: bold;
    color: #8B6F47;
    letter-spacing: 2px;
}

.sidebar-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: block;
    padding: 15px 25px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
}

.nav-item:hover,
.nav-item.active {
    background-color: #f5f5f5;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    display: none;
}

.overlay.active {
    display: block;
}

.hero-banner {
    width: 100%;
    max-height: 400px;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
}

.main-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 10px;
}

.categoria-section {
    margin-bottom: 50px;
    background-color: #fff;
    padding: 5px 5px;
    border-radius: 8px;
}

.categoria-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.categoria-icone {
    font-size: 28px;
}

.categoria-titulo {
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.categoria-descricao {
    color: #666;
    font-size: 14px;
    margin-bottom: 25px;
}

.produtos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

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

.produto-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.produto-imagem {
    width: 100%;
    height: 280px;
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.produto-imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.produto-info {
    padding: 12px;
}

.produto-avaliacao {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
}

.estrela {
    color: #FFA500;
    font-size: 12px;
}

.avaliacao-numero {
    font-size: 11px;
    color: #666;
    margin-left: 3px;
}

.produto-nome {
    font-size: 13px;
    font-weight: 500;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 35px;
}

.produto-preco {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.preco-atual {
    font-size: 18px;
    font-weight: 700;
    color: #000;
}

.preco-antigo {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
}

.btn-comprar {
    width: 100%;
    padding: 10px 12px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-comprar:hover {
    background-color: #333;
}

.beneficios {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.beneficio-card {
    background-color: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.beneficio-icone {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background-color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beneficio-icone svg {
    stroke: #fff;
}

.beneficio-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.beneficio-card p {
    font-size: 13px;
    color: #666;
}

.footer {
    background-color: #000;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.footer-texto {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ccc;
}

.pagamentos {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.pagamentos .bandeiras-img {
    max-width: 100%;
    height: auto;
    max-height: 40px;
}

.pagamentos img {
    height: 30px;
    width: auto;
}

.footer-copyright {
    font-size: 13px;
    margin-bottom: 10px;
    color: #999;
}

.footer-link {
    color: #ccc;
    text-decoration: underline;
    font-size: 13px;
}

/* Desktop - Telas grandes */
@media (min-width: 769px) {
    .header {
        padding: 20px 60px;
    }
    
    .menu-toggle {
        display: none;
    }
    
    .logo {
        font-size: 28px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .main-content {
        max-width: 1400px;
        padding: 40px 60px;
    }
    
    .categoria-section {
        padding: 30px;
        margin-bottom: 60px;
    }
    
    .categoria-header {
        margin-bottom: 15px;
    }
    
    .categoria-icone {
        font-size: 36px;
    }
    
    .categoria-titulo {
        font-size: 32px;
    }
    
    .categoria-descricao {
        font-size: 16px;
        margin-bottom: 35px;
    }
    
    .produtos-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
    
    .produto-card {
        border-radius: 16px;
    }
    
    .produto-imagem {
        height: 320px;
    }
    
    .produto-info {
        padding: 20px;
    }
    
    .produto-avaliacao {
        margin-bottom: 10px;
    }
    
    .estrela {
        font-size: 14px;
    }
    
    .avaliacao-numero {
        font-size: 13px;
    }
    
    .produto-nome {
        font-size: 16px;
        margin-bottom: 12px;
        min-height: 44px;
    }
    
    .produto-preco {
        margin-bottom: 14px;
    }
    
    .preco-atual {
        font-size: 22px;
    }
    
    .preco-antigo {
        font-size: 15px;
    }
    
    .btn-comprar {
        padding: 14px 16px;
        font-size: 15px;
        border-radius: 8px;
    }
    
    .beneficios {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
        padding: 40px 60px;
        margin: 60px auto;
    }
    
    .beneficio-card {
        padding: 35px 25px;
    }
    
    .beneficio-icone {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .beneficio-card h3 {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .beneficio-card p {
        font-size: 14px;
    }
    
    .footer {
        padding: 60px 40px;
    }
    
    .footer-logo {
        font-size: 32px;
        margin-bottom: 20px;
    }
    
    .footer-texto {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .pagamentos {
        margin-bottom: 30px;
    }
    
    .footer-copyright {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .footer-link {
        font-size: 14px;
    }
}

/* Telas muito grandes */
@media (min-width: 1400px) {
    .produtos-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .produtos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .produto-imagem {
        height: 150px;
    }
    
    .produto-nome {
        font-size: 13px;
        min-height: 35px;
    }
    
    .preco-atual {
        font-size: 18px;
    }
    
    .beneficios {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .beneficio-card {
        padding: 20px 15px;
    }
    
    .beneficio-icone {
        width: 50px;
        height: 50px;
    }
    
    .beneficio-card h3 {
        font-size: 14px;
    }
    
    .beneficio-card p {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .categoria-section {
        padding: 5px 5px;
    }
    
    .produtos-grid {
        gap: 12px;
    }
}
