/* === CONFIGURAÇÕES GLOBAIS E VARIÁVEIS === */
:root {
    --dark-blue: #333;
    --yellow: #FFF;
    --gray: #FFF;
    --text-color: #333;
}
* { box-sizing: border-box; }
body { font-family: sans-serif; margin: 0; color: var(--text-color); overflow-x: hidden; }
.container { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }
img { max-width: 100%; height: auto; display: block; }
.page-section { padding: 2rem 0; }
.clear{ clear: both;}

/* === HEADER (LOGO E MENU) === */
header {
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 1.5rem 1rem;
    gap: 20px;
}

.header-logo img {
    max-height: 70px;
    width: auto;
}

/* Busca Central */
.header-search {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 20px;
}
.header-search form {
    display: flex;
    width: 100%;
    border: 2px solid var(--dark-blue);
    border-radius: 6px;
    overflow: hidden;
}
.header-search input {
    flex-grow: 1;
    border: none;
    padding: 12px 15px;
    font-size: 1rem;
    outline: none;
}
.header-search button {
    background-color: var(--dark-blue);
    color: #fff;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
}
.header-search button:hover { background-color: var(--yellow); color: var(--dark-blue); }

/* Ações da Direita (Login / Carrinho) */
.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}
.header-action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--dark-blue);
    transition: 0.2s;
}
.header-action-item:hover { color: #50c878; }
.header-action-item i { font-size: 1.8rem; }
.action-text { font-size: 0.85rem; line-height: 1.2; color: #666; }
.action-text strong { color: var(--dark-blue); font-size: 0.95rem; }

.cart-item { position: relative; }
.cart-count {
    position: absolute;
    top: -8px;
    right: -12px;
    background-color: #e74c3c;
    color: #fff;
    font-size: 0.75rem;
    font-weight: bold;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .header-content { flex-wrap: wrap; justify-content: space-between; padding: 1rem; gap: 15px; }
    .header-logo { order: 1; width: auto; }
    .header-actions { order: 2; width: auto; gap: 15px; }
    .header-search { order: 3; width: 100%; max-width: 100%; margin: 0; }
    .action-text { display: none; } /* Oculta o texto no mobile, mantém só os ícones */
}

.nav-bar {
    width: 100%;
    background-color: var(--dark-blue);
}

.nav-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 1rem;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    transition: background-color 0.3s;
}

.nav-menu li a:hover {
    color: #50c878;
}

/* Dropdown Desktop */
.nav-menu li.dropdown { position: relative; }
.nav-menu li.dropdown .dropdown-menu { display: none; position: absolute; top: 100%; left: 0; background-color: var(--dark-blue); min-width: 220px; list-style: none; padding: 0; margin: 0; box-shadow: 0 4px 10px rgba(0,0,0,0.15); z-index: 1000; border-top: 3px solid var(--yellow); }
.nav-menu li.dropdown:hover .dropdown-menu { display: block; }
.nav-menu li.dropdown .dropdown-menu li a { padding: 12px 15px; border-bottom: 1px solid rgba(255,255,255,0.05); transition: 0.2s; text-transform: none; }
.nav-menu li.dropdown .dropdown-menu li:last-child a { border-bottom: none; }
.nav-menu li.dropdown .dropdown-menu li a:hover { background-color: rgba(255,255,255,0.05); padding-left: 20px; }

/* --- MENU PROFISSIONAL (DEPARTAMENTOS) --- */
.professional-menu {
    display: flex;
    align-items: center;
    width: 100%;
}

.departments-dropdown {
    position: relative;
    margin-right: 20px;
}

.departments-btn {
    background-color: var(--dark-blue, #2c3e50);
    color: #fff !important;
    padding: 15px 25px !important;
    font-weight: bold;
    display: flex !important;
    align-items: center;
    gap: 10px;
    border-radius: 4px 4px 0 0;
    min-width: 250px;
}

.departments-btn .ms-auto {
    margin-left: auto;
}

.departments-btn:hover {
    background-color: #1a252f;
}

.mega-menu-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: auto;
    min-width: 600px;
    max-width: 90vw;
        background: var(--dark-blue);
        border: none;
        border-top: 3px solid var(--yellow);
        box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    z-index: 100;
    padding: 30px;
    border-radius: 0 0 4px 4px;
}

.departments-dropdown:hover .mega-menu-panel {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}
.mega-menu-column { display: flex; flex-direction: column; }
    .mega-menu-title { font-weight: bold; color: #fff; margin-bottom: 15px; border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 8px; text-decoration: none; display: inline-block; font-size: 15px;}
    .mega-menu-title:hover { color: #50c878; border-color: #50c878; }
.mega-menu-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.mega-menu-links li a {
        color: #ccc !important;
    font-size: 14px;
    padding: 0 !important;
    text-transform: none !important;
    display: block;
    transition: 0.2s;
}
.mega-menu-links li a:hover {
        color: #fff !important;
    padding-left: 5px !important;
}

/* Links Topo da Nav (Destaques) */
.nav-top-item > a {
    padding: 15px 15px !important;
    font-weight: bold;
    font-size: 14px;
    color: #fff;
}

.nav-top-item > a:hover {
    color: #50c878 !important;
}

.highlight-item {
    margin-left: auto;
}

.highlight-item > a {
    color: #e74c3c !important;
}

/* Botão Toggle Mobile (Escondido no Desktop) */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    padding: 0.5rem;
    font-weight: 400;
}

/* Menu Mobile (Gaveta Lateral) */
.mobile-nav {
    position: fixed;
    top: 0;
    left: -320px; /* Começa fora da tela (esquerda) */
    width: 320px;
    max-width: 85%;
    height: 100%;
    background-color: #fff;
    z-index: 2000;
    transition: left 0.3s ease;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-nav.active { left: 0; }

.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; background: #f8f9fa; border-bottom: 1px solid #eee; }
.mobile-nav-header h3 { margin: 0; font-size: 1.1rem; color: var(--dark-blue); text-transform: uppercase; font-weight: bold; }
.mobile-nav-close { background: none; border: none; color: #999; font-size: 2rem; cursor: pointer; line-height: 1; padding: 0; transition: 0.2s; }
.mobile-nav-close:hover { color: #e74c3c; }

.mobile-nav-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; }
.mobile-nav-list li { display: block; }
.mobile-link-wrapper { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #eee; transition: 0.2s; }
.mobile-link-wrapper:hover { background-color: #f9f9f9; }
.mobile-link-wrapper a { flex-grow: 1; padding: 15px 20px; color: var(--dark-blue); text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: 0.2s; }
.mobile-link-wrapper a:hover { color: #e74c3c; padding-left: 25px; }
.mobile-submenu-toggle { background: none; border: none; padding: 15px 20px; color: #999; font-size: 14px; cursor: pointer; transition: 0.3s; border-left: 1px solid #eee; outline: none; }
.mobile-submenu-toggle:hover { color: var(--dark-blue); background: #eee; }

/* Mobile Submenu */
.mobile-sub-nav { list-style: none; padding: 0; margin: 0; background-color: #fafafa; display: none; }
.mobile-sub-nav li a { display: block; padding: 12px 20px 12px 40px; font-size: 0.9em; border-bottom: 1px solid #f5f5f5; color: #666; font-weight: normal; text-decoration: none; transition: 0.2s; }
.mobile-sub-nav li a:hover { background-color: #f0f0f0; padding-left: 45px; color: var(--dark-blue); }

/* Overlay Escuro */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1999;
}
.mobile-nav-overlay.active { display: block; }

/* Responsividade do Menu */
@media (max-width: 768px) {
    .nav-menu { display: none; } /* Esconde menu desktop */
    .mobile-menu-toggle { display: block; } /* Mostra botão mobile */
    .nav-container {
        justify-content: flex-start; /* Alinha botão à direita */
    }
}

/* === PAGINA HOME === */
#empresa{ background: #ededed;}
#empresa img{ display: inline-block; }
/* TITULO */
.section-title-bar { color: var(--dark-blue); padding: 20px 0; text-align: center; }
.section-title-bar h2 { margin: 0; font-size: 26px; font-weight: 600; }
@media (max-width: 768px) {
.section-title-bar h2 { font-size: 24px; }

}

.title-bar { background-color: var(--yellow); color: #fff; padding: 5px 0; text-align: center; text-transform: uppercase; }
.title-bar h2 { margin: 0; font-size: 18px; font-weight: 600; color: var(--dark-blue); }

.parallax-title-bar { padding: 150px 20px; position: relative;background-size: cover; background-position: center center; background-repeat: no-repeat; background-attachment: fixed; }
#projetos-title-section { background-image: url('../../uploads/projetos-parallax-bg.jpg'); }

/* BANNER */
.hero-slider { position: relative; width: 100%; min-height: 250px; background-color: #f0f0f0; }
.hero-slider img{ width: 100%;}
.hero-slider .splide__slide { line-height: 0; }
.hero-slider .splide__arrow { background: rgba(10, 29, 58, 0.7); width: 3rem; height: 3rem; }
.hero-slider .splide__arrow svg { fill: #fff; }
.hero-slider .splide__pagination { position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 1; }
.hero-slider .splide__pagination__page { background: rgba(255, 255, 255, 0.7); width: 12px; height: 12px; margin: 0 6px; opacity: 1; border: 1px solid rgba(0,0,0,0.2); }
.hero-slider .splide__pagination__page.is-active { background: var(--yellow); transform: scale(1.1); border: 1px solid rgba(0,0,0,0.4); }

/* === RODAPÉ (FOOTER) === */
.site-footer { background-color: #fff; color: #444; border-top: 1px solid #eee; }

.footer-features { background-color: var(--dark-blue); color: #fff; padding: 20px 0; }
.features-row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.feature-item { display: flex; align-items: center; gap: 15px; flex: 1; min-width: 250px; justify-content: center; }
.feature-item i { font-size: 2.2rem; color: var(--yellow); }
.feature-item span { font-size: 0.9rem; line-height: 1.3; }
.feature-item strong { display: block; font-size: 1.05rem; }

.footer-main { padding: 50px 0 30px; background-color: #f8f9fa; }
.footer-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }

.footer-logo { max-width: 180px; margin-bottom: 20px; }
.footer-desc { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; color: #666; }

.social-icons { display: flex; gap: 10px; }
.social-icons a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: #ddd; color: #333; text-decoration: none; transition: 0.3s; font-size: 1.1rem; }
.social-icons a:hover { background: var(--dark-blue); color: #fff; transform: translateY(-3px); }

.footer-title { color: var(--dark-blue); font-size: 1rem; margin-top: 0; margin-bottom: 20px; text-transform: uppercase; font-weight: 700; }

.footer-links, .footer-contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: #666; text-decoration: none; font-size: 0.95rem; transition: 0.2s; }
.footer-links a:hover { color: var(--dark-blue); padding-left: 5px; font-weight: 600; }

.footer-contact-list li { display: flex; align-items: center; gap: 10px; color: #666; font-size: 0.95rem; }
.footer-contact-list i { color: var(--dark-blue); font-size: 1.1rem; width: 20px; text-align: center; }

.footer-payments { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; font-size: 2.2rem; color: #777; }
.footer-security { display: inline-flex; align-items: center; gap: 10px; background: #e9ecef; padding: 10px 15px; border-radius: 6px; font-weight: bold; color: #28a745; font-size: 0.9rem; }

.footer-bottom { background-color: var(--dark-blue); color: #ccc; padding: 15px 0; text-align: center; font-size: 0.85rem; }
.footer-bottom .copyright { margin: 0; }

@media (max-width: 992px) {
    .footer-row { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .footer-row { grid-template-columns: 1fr; text-align: center; }
    .feature-item { justify-content: flex-start; }
    .social-icons { justify-content: center; }
    .footer-contact-list li { justify-content: center; }
    .footer-payments { justify-content: center; }
    .footer-logo { margin: 0 auto 20px auto; }
}

/* === BOTÃO VOLTAR AO TOPO === */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--dark-blue);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 1.2rem;
    z-index: 1000;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s, background-color 0.3s;
}
.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}
.back-to-top-btn:hover {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

/* === BOTÃO FLUTUANTE WHATSAPP === */
.whatsapp-floating-btn {
    position: fixed;
    bottom: 90px; /* Posição acima do botão 'voltar ao topo' */
    right: 30px;
    background-color: #25D366; /* Cor do WhatsApp */
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-size: 2rem; /* Tamanho do ícone */
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
}

.whatsapp-floating-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}


/* ======================================================
   ### ESTILOS PARA PÁGINAS INTERNAS ###
   ====================================================== */
.pagina{ padding: 0;background-color: #fff; }
.pagina .pagina-banner { width: 100%; display: inline-block; z-index: -1; }
.pagina .meio{ line-height: 1.8; font-size: 16px; max-width: 1000px; margin: 0 auto; padding: 20px; background: #FFF; z-index: 2; }
.pagina .meio iframe { width: 100%; }

.page-wrapper {
    padding: 30px 20px 40px;
    background-color: #fff;
}
/* === SEÇÃO DE PLANOS === */
.planos-section { background-color: #FFF; }
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}
.plano-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    border: 1px solid #eee;
}
.plano-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.plano-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
}
.plano-icon { height: 70px; display: flex; align-items: center; justify-content: center; }
.plano-icon img { max-height: 100%; width: auto; }
.plano-card h3 { color: var(--dark-blue); margin: 0; font-size: 1rem; text-align: left; }
.plano-valor {margin-bottom: 1.5rem; text-align: left; }
.plano-valor b{ color: var(--dark-blue); font-size: 2rem; font-weight: bold;}
.plano-texto { font-size: 0.95rem; color: #666; line-height: 1; text-align: left; }
.plano-texto ul { text-align: left; padding-left: 1.2rem; }
.plano-botao {
    margin-top: 1.5rem;
    text-align: center;
}
.plano-botao a {
    display: inline-block;
    background-color: var(--dark-blue);
    color: #fff;
    padding: 0.8rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.plano-botao a:hover {
    background-color: var(--yellow);
    color: var(--dark-blue);
}

/* === SEÇÃO REDE CREDENCIADA === */
.rede-section {
    background-color: var(--dark-blue);
    color: #fff;
    padding: 0;
    padding: 2rem 0;
    position: relative;
    z-index: 10;
}
.rede-grid {
    display: flex;
    align-items: center;
    gap: 3rem;
}
.rede-img { margin-top: -6rem; margin-bottom: -6rem; }
.rede-info { flex: 1; }

.rede-info h3 { color: #fff; font-size: 2rem; margin-top: 0; margin-bottom: 1rem; }
.rede-info p { font-size: 1.1rem; margin-bottom: 2rem; line-height: 1.6; }

.btn-rede {
    display: inline-block;
    background-color: var(--yellow);
    color: var(--dark-blue);
    padding: 1rem 2rem;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: 0.3s;
}
.btn-rede:hover { background-color: #fff; }

@media (max-width: 768px) {
    .rede-grid { flex-direction: column; text-align: center; }
    .rede-img { max-width: 80%; margin: 0 auto 2rem auto; }
}

/* === PÁGINA CIDADES === */
.cidades-content {
    margin-top: 2rem;
}
.cidades-list {
    list-style: none;
    padding: 0;
    margin: 0;
    column-count: 6; /* Divide em 4 colunas em telas grandes */
    column-gap: 2rem;
}
.cidades-list li {
    margin: 0.3rem;
    break-inside: avoid; /* Evita que o item seja quebrado entre colunas */
    font-size: 1rem;
    line-height: 1.4;
    color: var(--text-color);
}
.cidades-list li i { color: var(--dark-blue); margin-right: 8px; font-size: 0.9em; }
.cidades-list li a { text-decoration: none; color: inherit; display: block; }
.cidades-list li a:hover { color: var(--dark-blue); font-weight: bold; }

@media (max-width: 992px) { .cidades-list { column-count: 3; } }
@media (max-width: 768px) { .cidades-list { column-count: 2; } }
@media (max-width: 480px) { .cidades-list { column-count: 1; } }

/* === AVISO DE COOKIES === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(30, 67, 149, 0.95); /* Azul escuro com transparência */
    color: #fff;
    padding: 1rem 0;
    z-index: 9999;
    display: none; /* Oculto por padrão, exibido via JS */
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
.cookie-banner.show {
    display: block;
    animation: slideUp 0.5s ease-out;
}
.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}
.cookie-content a {
    color: var(--yellow);
    text-decoration: underline;
}
.btn-cookie {
    background-color: var(--yellow);
    color: var(--dark-blue);
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.3s;
}
.btn-cookie:hover {
    background-color: #fff;
}
@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

/* === VITRINE DE PRODUTOS === */
.bg-light { background-color: #f8f9fa; }
.produtos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.produto-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}
.produto-img {
    height: 200px;
    background: #f9f9f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.produto-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.produto-card:hover .produto-img img { transform: scale(1.05); }
.sem-imagem { color: #aaa; font-size: 12px; text-transform: uppercase; padding: 50px; }
.produto-info { padding: 15px; display: flex; flex-direction: column; flex-grow: 1; text-align: center; }
.produto-categoria { color: #888; font-size: 12px; text-transform: uppercase; margin-bottom: 5px; display: block; min-height: 14px; }
.produto-titulo { font-size: 16px; color: var(--dark-blue); margin: 0 0 10px 0; font-weight: 600; line-height: 1.3; flex-grow: 1; }
.produto-preco { font-size: 20px; font-weight: bold; color: #333; margin-bottom: 15px; }
.btn-comprar {
    background-color: var(--dark-blue); color: #fff; text-decoration: none;
    padding: 10px; border-radius: 4px; font-weight: bold; text-transform: uppercase; font-size: 13px; transition: 0.3s;
}
.btn-comprar:hover { background-color: var(--yellow); color: var(--dark-blue); }

/* === PÁGINA DE PRODUTO DETALHES === */
.produto-single { padding: 40px 0; }
.produto-single-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 768px) { .produto-single-grid { grid-template-columns: 1fr; } }
.produto-galeria { display: flex; flex-direction: column; gap: 15px; }
.produto-main-img { 
    border: 1px solid #eee; border-radius: 8px; overflow: hidden; background: #f9f9f9; 
    display: flex; align-items: center; justify-content: center; position: relative;
}
.produto-main-img img { width: 100%; height: auto; display: block; object-fit: cover; aspect-ratio: 1/1; }
.produto-thumbs { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; }
.produto-thumb-item { 
    width: 80px; height: 80px; border: 2px solid transparent; border-radius: 6px; 
    cursor: pointer; overflow: hidden; transition: 0.2s; flex-shrink: 0; background: #f9f9f9; 
}
.produto-thumb-item.active, .produto-thumb-item:hover { border-color: var(--dark-blue); }
.produto-thumb-item img { width: 100%; height: 100%; object-fit: cover; }
.produto-info-detalhe h1 { color: var(--dark-blue); font-size: 28px; margin: 0 0 15px 0; line-height: 1.2; }
.produto-meta { color: #888; font-size: 14px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 8px; }
.produto-meta span strong { color: #555; }
.produto-preco-destaque { font-size: 32px; font-weight: bold; color: #333; margin-bottom: 20px; }
.produto-estoque { margin-bottom: 20px; font-size: 14px; }
.produto-estoque.disponivel { color: #28a745; font-weight: bold; }
.produto-estoque.indisponivel { color: #dc3545; font-weight: bold; }
.produto-breve { 
    font-size: 15px; line-height: 1.6; color: #555; margin-bottom: 30px; 
    padding-bottom: 30px; border-bottom: 1px solid #eee; 
}
.produto-acoes { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; }
.btn-whatsapp-comprar { 
    display: inline-flex; align-items: center; gap: 10px; background-color: #25D366; 
    color: #fff; padding: 15px 30px; text-decoration: none; font-weight: bold; 
    border-radius: 5px; font-size: 16px; transition: 0.3s; border: none; cursor: pointer;
}
.btn-whatsapp-comprar:hover { background-color: #1ebd57; color: #fff; }
.produto-descricao-completa { margin-top: 50px; padding-top: 40px; border-top: 1px solid #eee; }
.produto-descricao-completa h3 { color: var(--dark-blue); margin-bottom: 25px; font-size: 24px; }
.produto-descricao-content { line-height: 1.8; color: #444; font-size: 16px; }
.produto-descricao-content img { max-width: 100%; height: auto; border-radius: 8px; margin: 15px 0; }
.produto-descricao-content ul { padding-left: 20px; margin-bottom: 15px; }

/* === PAGINAÇÃO === */
.paginacao { display: flex; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.paginacao a, .paginacao span { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 4px; text-decoration: none; color: var(--dark-blue); background: #fff; border: 1px solid #ddd; font-weight: bold; transition: 0.3s; }
.paginacao a:hover { background: #f0f0f0; border-color: #ccc; }
.paginacao span.ativo { background: var(--dark-blue); color: #fff; border-color: var(--dark-blue); }

/* === NOVAS CLASSES REPOSICIONADAS (REMOÇÃO DE INLINE STYLES) === */
.dropdown-icon { font-size: 0.8em; margin-left: 3px; }
.error-die-message { font-family: sans-serif; padding: 50px; text-align: center; }
.error-die-message a { padding: 10px 20px; background: #333; color: #fff; text-decoration: none; border-radius: 5px; }

.page-padding { padding: 40px 0; min-height: 60vh; }
.success-padding { padding: 80px 0; min-height: 60vh; }
.hidden-row { display: none !important; }
.text-dark-blue { color: var(--dark-blue); }

/* Carrinho */
.cart-container { margin-top: 20px; border-radius: 8px; border: 1px solid #eee; padding: 30px; }
.cart-empty { text-align: center; padding: 40px 0; }
.cart-empty h3 { color: #666; margin-bottom: 15px; }
.cart-empty .btn-comprar { display: inline-block; margin-top: 20px; padding: 12px 30px; font-size: 16px; }
.table-responsive { overflow-x: auto; }
.cart-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 600px; }
.cart-table th { padding: 15px; border-bottom: 2px solid #ddd; }
.cart-table td { padding: 15px; border-bottom: 1px solid #eee; }
.cart-img { width: 80px; height: 80px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; }
.cart-product-link { color: var(--dark-blue); text-decoration: none; font-size: 16px; }
.cart-price { text-align: center; color: #555; }
.cart-qty-form { display: inline-flex; align-items: center; gap: 5px; }
.cart-qty-input { width: 60px; padding: 8px; text-align: center; border: 1px solid #ccc; border-radius: 4px; outline: none; }
.cart-btn-update { background: var(--dark-blue); color: #fff; border: none; padding: 9px 12px; border-radius: 4px; cursor: pointer; transition: 0.3s; }
.cart-subtotal { text-align: right; font-weight: bold; font-size: 16px; color: var(--dark-blue); }
.cart-btn-remove { color: #dc3545; font-size: 18px; transition: 0.2s; }
.cart-btn-remove:hover { color: #a71d2a; }
.cart-footer { margin-top: 40px; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 30px; }
.cart-continue { color: #666; text-decoration: underline; font-weight: bold; font-size: 15px; }
.frete-calculator { margin-top: 30px; background: #fff; padding: 20px; border: 1px solid #eee; border-radius: 8px; }
.frete-calculator h4 { margin-top: 0; color: var(--dark-blue); margin-bottom: 15px; font-size: 18px; }
.frete-form { display: flex; gap: 10px; margin-bottom: 15px; flex-wrap: wrap; }
.frete-input { padding: 12px; border: 1px solid #ccc; border-radius: 4px; width: 150px; font-size: 16px; outline: none; }
.frete-btn { padding: 12px 25px; cursor: pointer; border: none; }
.frete-results { font-size: 14px; color: #555; }
.cart-summary-box { background: #f8f9fa; padding: 25px; border-radius: 8px; min-width: 320px; text-align: right; border: 1px solid #e9ecef; }
.cart-summary-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 16px; color: #666; }
.cart-total-title { margin-top: 15px; padding-top: 15px; border-top: 1px solid #ddd; color: #555; font-size: 18px; }
.cart-total-val { color: var(--dark-blue); font-size: 32px; display: inline-block; margin-top: 10px; }
.btn-checkout { display: block; width: 100%; text-align: center; padding: 16px; font-size: 18px; margin-top: 20px; background-color: #28a745; text-transform: uppercase; }

/* Checkout */
.checkout-layout { display: flex; flex-wrap: wrap; gap: 30px; margin-top: 20px; }
.checkout-col-left { flex: 1; min-width: 320px; background: #fff; padding: 30px; border-radius: 8px; border: 1px solid #eee; }
.checkout-col-right { flex: 1; min-width: 320px; max-width: 400px; }
.checkout-title { color: var(--dark-blue); margin-top: 0; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; }
.frete-title { color: var(--dark-blue); margin-bottom: 15px; font-size: 1.1rem; font-weight: bold; }
.checkout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.checkout-full-width { grid-column: 1 / -1; }
.checkout-label { display: block; margin-bottom: 5px; font-weight: bold; color: #555; }
.checkout-input { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 4px; outline: none; }
.checkout-help { color: #888; font-size: 0.85em; }
.checkout-frete-container { margin-top: 30px; }
.checkout-frete-list { display: flex; flex-direction: column; gap: 10px; }
.frete-option-label { display: flex; align-items: center; justify-content: space-between; padding: 15px; border: 2px solid #eee; border-radius: 6px; cursor: pointer; transition: 0.2s; }
.frete-option-label:hover { border-color: #ccc; }
.frete-option-info { display: flex; align-items: center; gap: 10px; }
.frete-option-price { color: var(--dark-blue); font-size: 16px; }
.checkout-summary-sticky { background: #f8f9fa; padding: 25px; border-radius: 8px; border: 1px solid #e9ecef; position: sticky; top: 20px; }
.checkout-summary-title { margin-top: 0; color: #555; border-bottom: 1px solid #ddd; padding-bottom: 15px; }
.checkout-items-list { max-height: 300px; overflow-y: auto; margin-bottom: 20px; }
.checkout-item { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.checkout-item-img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; border: 1px solid #ddd; }
.checkout-item-info { flex: 1; font-size: 14px; }
.checkout-item-name { color: var(--dark-blue); font-weight: bold; }
.checkout-item-meta { color: #777; }
.checkout-item-price { font-weight: bold; color: var(--dark-blue); }
.checkout-total-row { margin-top: 15px; padding-top: 15px; border-top: 1px solid #ddd; color: #555; font-size: 18px; display: flex; justify-content: space-between; align-items: center; }
.checkout-total-val { color: var(--dark-blue); font-size: 28px; }
.btn-finalizar { display: block; width: 100%; text-align: center; padding: 16px; font-size: 18px; margin-top: 20px; background-color: #28a745; border: none; opacity: 0.5; pointer-events: none; }
.btn-finalizar.active { opacity: 1; pointer-events: auto; }
.btn-finalizar-help { display: block; text-align: center; margin-top: 10px; color: #888; }
.frete-error { color: #dc3545; font-weight: bold; }
.frete-options-wrapper { display: flex; flex-direction: column; gap: 10px; margin-top: 15px; }
.payment-brick-wrapper { margin-top: 20px; }

/* Sucesso */
.success-container { text-align: center; }
.success-card { display: inline-block; background: #fff; padding: 50px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); max-width: 600px; width: 100%; }
.success-icon { font-size: 80px; color: #28a745; margin-bottom: 20px; }
.success-title { color: var(--dark-blue); font-size: 32px; margin-bottom: 10px; }
.success-order { font-size: 18px; color: #555; margin-bottom: 30px; }
.success-message { color: #666; margin-bottom: 40px; line-height: 1.6; }
.success-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-home { padding: 12px 30px; font-size: 16px; background: #eee; color: #333; }
.pix-box, .ticket-box { background: #f9f9f9; padding: 20px; border-radius: 8px; border: 1px solid #ddd; margin-bottom: 30px; }
.pix-title, .ticket-title { color: #333; margin-top: 0; margin-bottom: 15px; }
.pix-icon { color: #32BCAD; }
.pix-qr { width: 200px; height: 200px; margin: 0 auto 15px; display: block; }
.pix-help { font-size: 14px; color: #666; margin-bottom: 10px; }
.pix-textarea { width: 100%; height: 60px; padding: 10px; font-size: 12px; border: 1px solid #ccc; border-radius: 4px; resize: none; margin-bottom: 10px; cursor: pointer; outline: none; }
.ticket-btn { background-color: var(--dark-blue); color: #fff; padding: 12px 25px; display: inline-block; font-size: 16px; border-radius: 5px; text-decoration: none; }

/* Produto */
.produto-cart-form { display: flex; gap: 15px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.produto-cart-input-wrapper { display: flex; align-items: center; border: 2px solid #eee; border-radius: 6px; overflow: hidden; height: 50px; background: #fff; }
.produto-cart-input { width: 70px; height: 100%; border: none; text-align: center; font-size: 18px; outline: none; font-weight: bold; color: var(--dark-blue); }
.produto-cart-btn { height: 50px; padding: 0 35px; font-size: 16px; border: none; cursor: pointer; display: flex; align-items: center; gap: 10px; border-radius: 6px; }
.produto-not-found { padding: 80px 0; text-align: center; }

/* Wishlist Button */
.btn-wishlist { width: 50px; height: 50px; border: 2px solid #ddd; background: #fff; color: #aaa; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; transition: 0.3s; }
.btn-wishlist:hover { border-color: #e74c3c; color: #e74c3c; }
.btn-wishlist.active { border-color: #e74c3c; background: #e74c3c; color: #fff; }
.btn-wishlist.active:hover { background: #c0392b; border-color: #c0392b; }

/* === LOGIN E CADASTRO === */
.login-alert { margin-bottom: 20px; text-align: center; }
.login-alert.alert-danger { color: red; }
.login-alert.alert-success { color: green; }

.login-row { display: flex; gap: 30px; flex-wrap: wrap; }
.login-box { flex: 1; min-width: 300px; background: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.login-box-title { margin-bottom: 20px; font-size: 20px; }

.form-row { margin-bottom: 15px; }
.form-row-last { margin-bottom: 20px; }
.form-row-spaced { margin-bottom: 20px; margin-top: 20px; }
.form-row-flex { display: flex; gap: 15px; margin-bottom: 15px; flex-wrap: wrap; }

.form-col { flex: 1; min-width: 140px; }
.form-col-2 { flex: 2; min-width: 200px; }
.form-col-2-sm { flex: 2; min-width: 140px; }
.form-col-sm { flex: 1; min-width: 80px; }
.form-section-title { margin: 20px 0 10px 0; font-size: 16px; }

.btn-login { width: 100%; border: none; cursor: pointer; }
.btn-cadastro { width: 100%; border: none; cursor: pointer; background-color: #28a745; }
.error-msg { color: red; display: none; }
.input-valid { border-color: #28a745 !important; outline: none; }
.input-invalid { border-color: #dc3545 !important; outline: none; }

/* Inputs com Ícone */
.password-wrapper { position: relative; display: flex; align-items: center; width: 100%; }
.password-wrapper input { padding-right: 40px; }
.password-toggle { position: absolute; right: 10px; background: none; border: none; color: #666; cursor: pointer; font-size: 1.1rem; padding: 0; outline: none; transition: 0.2s; }
.password-toggle:hover { color: var(--dark-blue); }

/* === MINHA CONTA === */
.account-row { display: flex; gap: 30px; flex-wrap: wrap; }
.account-sidebar { min-width: 250px; }
.account-content { flex: 1; min-width: 300px; }
.account-box { background: #fff; padding: 20px; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.account-box-main { padding: 30px; }
.account-user-info { text-align: center; margin-bottom: 20px; }
.account-user-icon { font-size: 50px; color: #ccc; margin-bottom: 10px; }
.account-user-name { font-size: 18px; margin: 0; }
.account-menu { list-style: none; padding: 0; margin: 0; }
.account-menu-item { margin-bottom: 10px; }
.account-menu-link { display: block; padding: 10px; background: #f8f9fa; color: #333; text-decoration: none; border-radius: 4px; font-weight: bold; transition: 0.2s; }
.account-menu-link:hover { background: #e2e6ea; }
.account-menu-link.active { background: var(--dark-blue); color: #fff; }
.account-menu-link-danger { display: block; padding: 10px; background: #dc3545; color: #fff; text-decoration: none; border-radius: 4px; text-align: center; font-weight: bold; transition: 0.2s; }
.account-menu-link-danger:hover { background: #c82333; }
.account-alert { margin-bottom: 20px; font-weight: bold; padding: 15px; border-radius: 6px; }
.account-alert.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.account-alert.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }
.account-section-title { margin-bottom: 20px; font-size: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; margin-top: 0; color: var(--dark-blue); }
.account-section-title.mt-40 { margin-top: 40px; }
.account-empty-text { color: #666; }
.account-address-text { color: #666; line-height: 1.6; }
.account-table { width: 100%; border-collapse: collapse; text-align: left; }
.account-table th { padding: 10px; border-bottom: 2px solid #ddd; }
.account-table td { padding: 10px; border-bottom: 1px solid #eee; }
.status-badge { display: inline-block; padding: 4px 8px; border-radius: 4px; font-size: 12px; font-weight: bold; }
.status-aprovado { background: #d4edda; color: #155724; }
.status-recusado { background: #f8d7da; color: #721c24; }
.status-pendente { background: #fff3cd; color: #856404; }
.btn-save-profile { width: auto; padding: 12px 30px; }

/* Detalhes do Pedido */
.pedido-detalhes-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.pedido-detalhes-title { margin: 0 !important; border: none !important; padding: 0 !important; }
.pedido-layout { margin-top: 0; }
.pedido-box { padding: 20px; }
.pedido-box-title { margin-top: 0; color: var(--dark-blue); }
.pedido-endereco-texto { margin: 0; line-height: 1.6; }
.pedido-itens-title { margin-top: 30px; margin-bottom: 15px; color: var(--dark-blue); }
.pedido-total-destaque { color: var(--dark-blue); font-size: 18px; }

/* Utilitários Genéricos */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.pt-20 { padding-top: 20px; }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-voltar { background-color: #666; }
.btn-voltar:hover { background-color: var(--dark-blue); color: var(--yellow); }

/* === LISTAGEM DE PRODUTOS === */
.search-result-text { color: #666; margin-top: 5px; }
.search-result-text strong { color: var(--dark-blue); }
.products-list-container { margin-top: 20px; }
.products-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 1px solid #eee; padding-bottom: 10px; flex-wrap: wrap; gap: 10px; }
.products-count { color: #666; font-size: 14px; }
.sort-form { display: flex; align-items: center; gap: 10px; margin: 0; }
.sort-label { font-size: 14px; color: #555; margin: 0; }
.sort-select { padding: 6px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 14px; outline: none; background: #fff; cursor: pointer; }
.produtos-grid-mt0 { margin-top: 0 !important; }
.products-empty { background: #fff; padding: 40px; text-align: center; border-radius: 8px; border: 1px solid #eee; }
.products-empty h3 { color: #666; margin-top: 0; }
.products-empty-btn { display: inline-block; margin-top: 15px; }

/* === POP-UP DE LEAD (PRIMEIRA COMPRA) === */
.lead-popup-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 10000;
    display: flex; justify-content: center; align-items: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.lead-popup-overlay.show { opacity: 1; visibility: visible; }
.lead-popup-content {
    background: #fff; border-radius: 8px; width: 90%; max-width: 420px;
    padding: 40px 30px; position: relative; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2); transform: translateY(20px); transition: 0.3s;
}
.lead-popup-overlay.show .lead-popup-content { transform: translateY(0); }
.lead-popup-close { position: absolute; top: 15px; right: 15px; font-size: 28px; background: none; border: none; cursor: pointer; color: #999; transition: 0.2s; line-height: 1; }
.lead-popup-close:hover { color: #333; }
.lead-popup-title { font-size: 24px; color: var(--dark-blue); margin: 0 0 10px 0; font-weight: bold; }
.lead-popup-desc { color: #666; font-size: 15px; margin-bottom: 25px; line-height: 1.5; }
.lead-coupon-box { background: #f8f9fa; padding: 15px; border: 2px dashed #28a745; font-size: 24px; font-weight: bold; letter-spacing: 2px; color: #28a745; margin: 20px 0; border-radius: 6px; }

/* === STAR RATING INPUT === */
.star-rating { display: inline-flex; flex-direction: row-reverse; gap: 5px; font-size: 24px; }
.star-rating input { display: none; }
.star-rating label { color: #ddd; cursor: pointer; transition: 0.2s; }
.star-rating input:checked ~ label, .star-rating label:hover, .star-rating label:hover ~ label { color: #ffc107; }

/* === MINI CART DRAWER === */
.mini-cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 9998;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.mini-cart-overlay.active { opacity: 1; visibility: visible; }

.mini-cart-drawer {
    position: fixed; top: 0; right: -400px; width: 100%; max-width: 400px; height: 100%;
    background: #fff; z-index: 9999; box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    display: flex; flex-direction: column; transition: right 0.3s ease;
}
.mini-cart-drawer.active { right: 0; }

.mini-cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid #eee; }
.mini-cart-header h3 { margin: 0; color: var(--dark-blue); font-size: 18px; }
.mini-cart-close { background: none; border: none; font-size: 28px; cursor: pointer; color: #999; line-height: 1; padding: 0; }
.mini-cart-close:hover { color: #333; }
.mini-cart-items { flex-grow: 1; overflow-y: auto; padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.mini-cart-item { display: flex; gap: 15px; border-bottom: 1px solid #f9f9f9; padding-bottom: 15px; }
.mini-cart-item-img { width: 70px; height: 70px; object-fit: cover; border-radius: 6px; border: 1px solid #eee; }
.mini-cart-item-info { flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.mini-cart-item-title { font-size: 14px; color: var(--dark-blue); font-weight: bold; margin: 0 0 5px 0; line-height: 1.3; }
.mini-cart-item-price { font-size: 14px; color: #555; }
.mini-cart-item-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 5px; }
.mini-cart-qty { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; overflow: hidden; }
.mini-cart-qty button { background: #f9f9f9; border: none; padding: 2px 8px; cursor: pointer; color: #555; }
.mini-cart-qty button:hover { background: #eee; }
.mini-cart-qty input { width: 30px; border: none; text-align: center; border-left: 1px solid #ddd; border-right: 1px solid #ddd; font-size: 13px; outline: none; }
.mini-cart-remove { color: #dc3545; font-size: 14px; cursor: pointer; background: none; border: none; padding: 0; }
.mini-cart-remove:hover { color: #a71d2a; text-decoration: underline; }
.mini-cart-footer { padding: 20px; border-top: 1px solid #eee; background: #f9f9f9; }
.mini-cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; font-size: 18px; color: var(--dark-blue); font-weight: bold; }
.mini-cart-empty { text-align: center; color: #888; padding: 40px 0; }
