/* Estilos Base - MANTIDOS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}
body {
    background-color: #f3f4f6; /* Cinza claro */
    color: #1e3a8a; /* Azul escuro */
}
/* Cabeçalho */
header {
    background-color: #fff;
    padding: 5px 20px;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.logo img {
    width: 150px;
    height: auto;
}
.menu-hamburger {
    font-size: 24px;
    cursor: pointer;
    display: none;
    color: #1e3a8a;
}
/* AJUSTE 1: Move o NAV para a esquerda para centralizar e evitar que o sub-submenu saia da tela */
nav {
    position: relative;
    display: flex;
    gap: 10px;
    margin-right: 80px;
}
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-button {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #1e3a8a;
    cursor: pointer;
    padding: 10px;
}
.dropdown-button:hover {
    color: #f97316;
}
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 1;
    
    /* CORREÇÃO PARA GARANTIR ESPAÇO PARA SUB-SUBMENU */
    /* Garante que o menu principal fique à esquerda e o submenu tenha espaço */
    left: -100px; 
    right: auto;
    
    /* 🚀 CORREÇÃO CRÍTICA PARA ROLAGEM */
    max-height: 400px; 
    overflow-y: auto;
}
.dropdown-countries {
    min-width: 200px;
}
.dropdown:hover .dropdown-content {
    display: block;
}
/* Estilo dos itens de país e submenu de produtos */
.country-item {
    position: relative;
}
.country-item:hover .product-submenu {
    display: block;
}
.country-link {
    color: #1e3a8a;
    padding: 12px 16px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
.country-link:hover, .country-link.selected {
    background-color: #f97316;
    color: #fff;
}
.flag {
    width: 20px;
    height: 20px;
}

/* Estilo do Sub-Submenu (Produtos) */
.product-submenu {
    display: none;
    position: absolute;
    
    /* 💥 CORREÇÃO PARA O PROBLEMA DE CORTE (ITEM 1) 💥 */
    /* Altera o left para 100% para que o submenu abra exatamente à direita do item do país */
    left: 100%; 
    top: 0;
    
    background-color: #f3f4f6;
    min-width: 180px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 2;
    border-left: 1px solid #ddd;
}
.product-submenu a {
    color: #1e3a8a;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
}
.product-submenu a:hover {
    background-color: #1e3a8a;
    color: #fff;
}
.submenu-title {
    display: block;
    padding: 10px 15px;
    font-weight: 700;
    color: #f97316;
    border-bottom: 1px solid #ddd;
}
/* Hero/Banner - MANTIDO */
.hero {
    background: url('https://healthnutraplus.com/wp-content/uploads/HealthNutraPlus/hero-bg.jpg') no-repeat center/cover;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(30, 58, 138, 0.5);
}
.hero-content {
    z-index: 1;
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    margin-bottom: 10px;
}
.hero p {
    font-size: 18px;
    margin-bottom: 20px;
}
.cta-button {
    background-color: #f97316;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    transition: background 0.3s;
}
.cta-button:hover {
    background-color: #ea580c;
}
/* Produtos em Destaque */
.featured-products {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}
.featured-products h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 20px;
}
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 20px;
    justify-content: center;
}
.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    justify-self: center;
}
.product-card img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    margin: 10px auto;
    display: block;
    border-radius: 5px;
}
.product-card h1 {
    font-size: 18px;
    margin: 10px 0;
    color: #1e3a8a;
}
.product-card p {
    font-size: 14px;
    padding: 0 10px 10px;
}
.product-card a {
    display: block;
    background: #f97316;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
    margin: 0 10px 10px;
}
.product-card a:hover {
    background: #ea580c;
}
/* Destaque da Semana - MANTIDO */
.weekly-highlight {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: center;
}
.weekly-highlight h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1e3a8a;
    margin-bottom: 20px;
}
.highlight-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    max-width: 300px;
    margin: 0 auto;
}
.highlight-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 5px;
}
.highlight-card h1 {
    font-size: 18px;
    color: #1e3a8a;
    margin: 10px 0;
}
.highlight-card p {
    font-size: 14px;
    margin-bottom: 10px;
}
.highlight-card a {
    display: block;
    background: #f97316;
    color: #fff;
    padding: 10px;
    text-decoration: none;
    border-radius: 5px;
}
.highlight-card a:hover {
    background: #ea580c;
}
/* Rodapé - MANTIDO */
footer {
    background: #1e3a8a;
    color: #fff;
    padding: 20px;
    text-align: center;
}
footer a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}
footer a:hover {
    color: #f97316;
}
/* Responsividade - MANTIDO */
@media (max-width: 768px) {
    .product-card img {
        width: 100%;
        height: 250px;
    }
    .menu-hamburger {
        display: block;
    }
    .dropdown {
        display: none;
        flex-direction: column;
        position: static;
        width: 100%;
        background: #fff;
        padding: 10px 20px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }
    .dropdown.active {
        display: flex;
        margin-bottom: 10px;
    }
    .dropdown-content {
        position: static;
        width: 100%;
        box-shadow: none;
    }
    /* Ajuste do Sub-Submenu no Mobile */
    .product-submenu {
        position: static;
        width: 100%;
        margin-left: 20px;
        border-left: none;
        padding-left: 0;
        box-shadow: none;
    }
    .country-item.active .product-submenu {
        display: block;
    }
    .hero h1 {
        font-size: 24px;
    }
    .hero p {
        font-size: 16px;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 14px;
    }
    .featured-products h2, .weekly-highlight h2 {
        font-size: 24px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
}
/* Ícones Sociais - MANTIDO */
.social-icon {
    max-width: 80px !important;
    height: auto !important;
    display: inline-block;
    vertical-align: middle;
}