:root {
    --primary-blue: #0073CF;
    --dark-blue: #0056b3;
    --nav-blue: #005bb5;
    --orange: #FF7300;
    --light-gray: #f8f9fa;
    --text-dark: #333;
    --text-gray: #666;
}




* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    
}

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
}

/* --- TOP BAR --- */
.top-bar {
    background-color: var(--primary-blue);
    color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
.top-bar button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    display: none; /* Desktop only */
}

/* --- HEADER --- */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background-color: #F2F2F2;
}

/* Search */
.search-container {
    flex: 1;
    max-width: 600px;
    position: relative;
    margin: 0 20px;
}
.search-container input {
    width: 100%;
    padding: 12px 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Montserrat', sans-serif;
    outline: none;
}
.search-container i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-blue);
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
}

/* Header Icons */
.header-icons {
    display: flex;
    align-items: center;
    gap: 25px;
}
.icon-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-dark);
    font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    cursor: pointer;
}
.icon-item i {
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
}
.cart-wrapper {
    position: relative;
    cursor: pointer;
}
.cart-wrapper i {
    font-size: 24px;
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-blue);
}
.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--orange);
    color: #fff;
    font-size: 11px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    color: var(--primary-blue);
    cursor: pointer;
}

/* --- DESKTOP NAV --- */
.desktop-nav {
    background-color: var(--nav-blue);
    color: #fff;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
    list-style: none;
}
.nav-links li {
    font-size: 12px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}
.nav-links li i {
    font-size: 10px;
}
.nav-departments {
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-ofertas {
    background-color: var(--orange);
    padding: 15px 30px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Container base relativo para o dropdown se posicionar corretamente */
.nav-links li.has-mega {
    position: relative;
}

/* O Mega Menu Base */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 600px; /* Largura total do popup */
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    display: none; /* Escondido por padrão */
    z-index: 999;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    cursor: default;
}
/* Estilo para listas com Sub-Subcategorias */
.mega-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.mega-col-list li {
    padding: 6px 15px;
    font-size: 13px;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}
.mega-col-list li:hover {
    color: #005bb5;
}

/* Títulos das Subcategorias (Ex: SMART TV, JBL) */
.mega-col-list li.mega-title {
    font-weight: 800;
    color: #000;
    padding-bottom: 2px;
    margin-bottom: 5px;
    border-bottom: 1px solid #eee;
    cursor: default;
}
.mega-col-list li.mega-title:hover {
    color: #000; /* Título não muda de cor no hover */
}

/* Margem extra para separar blocos diferentes */
.mt-10 {
    margin-top: 15px !important;
}

/* Ativa no Hover */
.nav-links li.has-mega:hover .mega-menu {
    display: flex;
}

/* Colunas Esquerda/Direita */
.mega-menu .menu-left {
    width: 40%;
    padding: 20px 0;
    border-right: 1px solid #eaeaea;
}
.mega-menu .menu-right {
    width: 60%;
    padding: 20px;
}
.mega-menu .bg-light {
    background-color: #f6f6f6; /* Fundo cinza das categorias */
}

/* Listas do Menu Esquerdo */
.mega-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mega-menu .menu-left li {
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    cursor: pointer;
    transition: color 0.2s;
}
/* Efeito Hover/Ativo igual ao print (Ciano) */
.mega-menu .menu-left li:hover, 
.mega-menu .menu-left li.active {
    color: #00d2ff; 
}

/* Painéis Dinâmicos da Direita (Departamentos) */
.dept-pane { display: none; }
.dept-pane.active { display: block; }
.dept-pane li {
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #000;
}
.dept-pane li:hover { color: #005bb5; }

/* --- OVERLAY DO MENU MOBILE --- */
.mobile-menu-overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- GAVETA DO MENU (DRAWER) --- */
.mobile-menu-drawer {
    position: fixed;
    top: 0; 
    left: -320px; /* Esconde o menu para a esquerda */
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}
.mobile-menu-drawer.active {
    left: 0; /* Desliza o menu para a tela */
}

/* --- HEADER DO MENU --- */
.mob-drawer-header {
    background-color: #0073CF;
    padding: 20px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mob-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.mob-avatar {
    width: 45px; height: 45px;
    background-color: #e0e0e0;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #999; font-size: 22px;
}
.mob-user-text a {
    color: #fff; text-decoration: none;
    display: flex; flex-direction: column;
}
.mob-user-text strong {
    font-size: 15px; font-weight: 700; font-family: 'Montserrat', sans-serif;
}
.mob-user-text span {
    font-size: 12px; font-weight: 500; opacity: 0.9;
}
.mob-close-btn {
    background: transparent; border: none;
    color: #fff; font-size: 22px; cursor: pointer;
}

/* --- CONTEÚDO ROLÁVEL --- */
.mob-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
}

/* Links do Topo */
.mob-quick-links {
    list-style: none; padding: 0 15px; margin: 0;
}
.mob-quick-links li a {
    display: flex; align-items: center; gap: 15px;
    padding: 12px 0; color: #333;
    font-size: 14px; font-weight: 600; text-decoration: none;
    font-family: 'Montserrat', sans-serif;
}
.mob-quick-links li a i {
    color: #005bb5; font-size: 18px; width: 20px; text-align: center;
}
.mob-divider {
    border: none; border-top: 1px solid #eaeaea; margin: 15px 0;
}

/* Accordion Categorias */
.mob-accordion-menu {
    list-style: none; padding: 0 15px; margin: 0;
}
.mob-acc-item {
    border-bottom: 1px solid #f9f9f9;
}
.mob-acc-title {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 0; color: #000; font-size: 13px; font-weight: 700;
    cursor: pointer; font-family: 'Montserrat', sans-serif;
    transition: color 0.3s;
}
.mob-acc-title i {
    color: #999; font-size: 14px;
    transition: transform 0.3s ease;
}

/* Submenus Ocultos */
.mob-sub-menu {
    list-style: none; padding: 0 0 0 15px; margin: 0;
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease;
}
.mob-sub-menu li a {
    display: block; padding: 10px 0;
    color: #666; font-size: 13px; text-decoration: none; font-weight: 500;
}

/* Estado Ativo do Accordion (Aberto) */
.mob-acc-item.active .mob-sub-menu {
    max-height: 500px; /* Expande o submenu */
}
.mob-acc-item.active .mob-acc-title i {
    transform: rotate(180deg); /* Gira a setinha */
}
.mob-acc-item.active .mob-acc-title {
    color: #005bb5; /* Fica azul quando aberto */
}

/* Botão Ofertas */
.mob-ofertas-wrapper {
    margin-top: 20px; padding: 0 15px;
}
.mob-btn-ofertas {
    display: flex; align-items: center; gap: 10px;
    background-color: #ff7300; color: #fff;
    padding: 12px 15px; border-radius: 6px;
    font-size: 14px; font-weight: 800; font-family: 'Montserrat', sans-serif;
    text-decoration: none;
}

/* --- FOOTER DO MENU --- */
.mob-drawer-footer {
    border-top: 1px solid #eaeaea;
    padding: 15px;
    background: #fdfdfd;
}
.mob-drawer-footer a {
    display: flex; align-items: center; gap: 10px;
    color: #005bb5; font-size: 13px; font-weight: 600;
    text-decoration: none; font-family: 'Montserrat', sans-serif;
}

/* ===================================================
   SLIDER DE PRODUTO NO MENU (À PROVA DE QUEBRAS) 
   =================================================== */
.mega-product-slider {
    position: relative;
    width: 100%;
    min-height: 280px; /* Dá espaço suficiente para a imagem, texto e preço não apertarem */
    display: flex;
    justify-content: center;
}

.mega-product-slider .mega-slide {
    position: absolute; /* Prende todo mundo no mesmo lugar (eixo Z) */
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    
    /* Efeito de esconder suave em vez de display: none */
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    pointer-events: none; /* Impede clicar no produto escondido */
}

.mega-product-slider .mega-slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Libera o clique no produto visível */
}

/* Tamanho padronizado da imagem do produto */
.mega-slide img {
    max-width: 140px;
    height: 140px;
    object-fit: contain; 
    margin: 0 auto 10px;
    display: block;
}
.mega-slide h4 {
    font-size: 13px;
    color: #333;
    margin-bottom: 10px;
    font-weight: 600;
    line-height: 1.3;
}
.badge-discount {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #003399;
    color: #fff;
    padding: 5px 8px;
    font-size: 12px;
    font-weight: 800;
    border-radius: 4px;
}
.price-box strike { font-size: 12px; color: #999; display: block; }
.price-box .sale-price { font-size: 22px; color: #003399; font-weight: 900; display: block; }
.price-box .avista { font-size: 12px; color: #005bb5; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Desativa os dropdowns no Mobile pois lá usaremos o Menu Drawer */
@media (max-width: 991px) {
    .nav-links li.has-mega:hover .mega-menu { display: none; }
}

@media (max-width: 991px) {
    /* 1. Força o container a quebrar linha */
    .header {
        display: flex !important;
        flex-wrap: wrap !important; 
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        background-color: #f4f4f4 !important; /* Cor de fundo do print */
    }

    /* 2. Menu Hamburguer (Esquerda) */
    .mobile-menu-btn {
        display: block !important;
        order: 1 !important;
        flex: 0 0 20% !important; /* Ocupa 20% da largura */
        text-align: left !important;
    }

    /* 3. Logo (Centro) */
    .header-logo {
        order: 2 !important;
        flex: 0 0 60% !important; /* Ocupa 60% para ficar centralizado */
        text-align: center !important;
        margin: 0 !important;
    }
    .header-logo img {
        width: 90px !important; /* Ajuste o tamanho da logo */
        height: auto !important;
        display: inline-block !important;
    }

    /* 4. Carrinho (Direita) */
    .header-icons {
        order: 3 !important;
        flex: 0 0 20% !important; /* Ocupa 20% da largura */
        display: flex !important;
        justify-content: flex-end !important;
    }
    .header-icons .icon-item {
        display: none !important; /* Esconde Atendimento, Rastreio e Conta */
    }
    .cart-wrapper {
        margin: 0 !important;
    }
    .cart-wrapper i {
        font-size: 22px !important;
    }

    /* 5. Barra de Pesquisa (Linha de Baixo) */
    .search-container {
        order: 4 !important;
        flex: 0 0 100% !important; /* Ocupa 100% da largura, forçando a quebra */
        max-width: 100% !important;
        margin: 12px 0 5px 0 !important;
        position: relative !important;
    }
    .search-container input {
        width: 100% !important;
        padding: 10px 15px !important;
        border-radius: 10px !important; /* Bordas arredondadas igual ao print */
        border: 1px solid #ddd !important;
        font-size: 14px !important;
        background-color: #fff !important;
    }
    .search-container i {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        color: #005bb5 !important;
    }

    /* Esconde o menu de categorias no mobile */
    .desktop-nav {
        display: none !important;
    }
}

/* Container principal do Banner */
.main-banner {
    width: 100%;
    height: 300px; /* Altura fixa solicitada */
    position: relative;
    overflow: hidden;
    background-color: #000;
    cursor: grab;
}

/* Garante que o slider ocupe todo o espaço */
.banner-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Cada Slide (onde fica a imagem e o link) */
.slide {
    position: absolute; /* Sobrepõe as imagens para o efeito de fade */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0; /* Começa invisível */
    visibility: hidden;
    transition: opacity 0.8s ease-in-out; /* Velocidade da transição */
    z-index: 1;
}

/* Classe que o JavaScript adiciona para mostrar o slide atual */
.slide.active {
    opacity: 1; /* Torna visível */
    visibility: visible;
    z-index: 2; /* Fica por cima dos outros */
}

/* Estilo do link (<a>) para cobrir toda a área */
.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Estilo da Imagem */
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Não deixa a imagem esticar/deformar */
    pointer-events: none; /* Evita que o navegador tente "arrastar" o arquivo da imagem */
}

/* Cursor mudando ao clicar/arrastar */
.main-banner:active {
    cursor: grabbing;
}

/* Ajuste Responsivo (Opcional) */
@media (max-width: 768px) {
    .main-banner {
        height: 300px; /* Se quiser diminuir um pouco no celular */
    }
}

/* --- BENEFITS SECTION --- */
.benefits {
    padding: 30px 20px;
    max-width: 1400px;
    margin: 0 auto;
    border-bottom: 1px solid #eee;
}
.benefits-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.benefit-item {
    display: flex;
    align-items: center;
    gap: 15px;
}
.benefit-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}
.benefit-icon.whatsapp {
    background-color: #25D366;
    border-color: #25D366;
    color: #fff;
}
.benefit-icon.whatsapp i {
    color: #fff;
}
.benefit-icon i {
    font-size: 20px;
    color: var(--primary-blue);
}
.benefit-text h4 {
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #000;
}
.benefit-text p {
    font-size: 12px;
    color: var(--text-gray);
    margin-top: 2px;
}

.benefit-desktop-only {
    display: flex;
}
.benefit-mobile-only {
    display: none;
}


/* --- MEDIA QUERIES (Mobile Adjustments) --- */
@media (max-width: 991px) {
    .top-bar button {
        display: none;
    }
    
    .header {
        flex-wrap: wrap;
        padding: 15px;
    }
    .mobile-menu-btn {
        display: block;
    }
    .header-icons .icon-item {
        display: none; /* Hides Atendimento, Rastreio, Conta */
    }
    .header-logo {
        margin: 0 auto; /* Centers logo */
        font-size: 24px;
    }
    
    /* Search bar breaks to new line on mobile */
    .search-container {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin: 15px 0 0 0;
    }

    .desktop-nav {
        display: none;
    }

    .banner-desktop {
        display: none;
    }
    .banner-mobile {
        display: block; /* Show mobile banner */
    }

    .benefits {
        overflow: hidden; /* Esconde o que vazar da tela */
        width: 100%;
        padding: 20px 0;
    }
    .benefits-grid {
        display: flex;
        flex-wrap: nowrap; /* Impede a quebra de linha */
        justify-content: flex-start;
        transition: transform 0.4s ease-in-out; /* Animação suave */
        width: 100%;
    }
   .benefit-item {
        flex: 0 0 100%; 
        display: flex;
        flex-direction: row; /* Coloca ícone e texto lado a lado */
        align-items: center;
        justify-content: center; /* Centraliza o bloco na tela */
        text-align: left; /* Alinha o texto à esquerda, logo após o ícone */
        gap: 15px; /* Cria o espaço entre o ícone e o texto */
    }
    
    .benefit-item .benefit-icon {
        border: none;
        width: auto;
        height: auto;
        margin-bottom: 0; /* Remove a margem inferior antiga */
        display: flex;
    }
    
    .benefit-item .benefit-icon i {
        font-size: 32px; /* Tamanho proporcional ao texto no mobile */
    }
    
    .benefit-item .benefit-text h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
}

/* --- CATEGORIES CAROUSEL --- */
.categories-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    position: relative;
}

.categories-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.cat-nav-btn {
    background: transparent;
    border: none;
    font-size: 32px;
    color: #005bb5;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    padding: 10px;
    display: flex;
}
.cat-nav-btn.prev { left: -10px; }
.cat-nav-btn.next { right: -10px; } /* Caso precise da seta direita */

.categories-track {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    width: 100%;
    padding: 10px 0;
}
.categories-track::-webkit-scrollbar {
    display: none;
}

.category-item {
    flex: 0 0 calc(100% / 6 - 15px); /* Desktop: 6 itens visíveis */
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.category-img {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}
.category-img img {
    height: 150px;
}

.category-img img:hover {
    transform: scale(1.06);
}

/* Tamanho placeholder para visualização */
.category-img div {
    width: 100px;
    height: 100px;
    background-color: #f0f0f0;
    border: 1px dashed #ccc;
}

.category-item p {
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    line-height: 1.3;
}

/* Dots Mobile */
.carousel-dots-mobile {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 25px;
}
.carousel-dots-mobile .dot {
    width: 7px;
    height: 7px;
    background-color: #aebfd5;
    border-radius: 50%;
}
.carousel-dots-mobile .dot.active {
    width: 18px;
    background-color: #005bb5;
    border-radius: 4px;
}

/* --- MEDIA QUERIES --- */
@media (max-width: 991px) {
    .cat-nav-btn {
        display: none; /* Esconde setas no mobile */
    }
    
    .category-item {
        flex: 0 0 calc(100% / 3 - 10px); /* Mobile: 3 itens visíveis */
    }

    .carousel-dots-mobile {
        display: flex; /* Mostra dots no mobile */
    }
    
    .category-item p {
        font-size: 14px;
    }
}

/* --- SEÇÃO: ACABARAM DE CHEGAR --- */
.new-arrivals-section {
    background-color: #f4f5f7;
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
}
/* Centraliza os Produtos Relacionados no Desktop */
@media (min-width: 992px) {
    .products-track.center-track {
        width: 100% !important; /* Força a ocupar a linha toda */
        justify-content: center !important; /* Centraliza os itens */
        transform: translateX(0) !important; /* Impede o JavaScript de puxar para a esquerda */
    }
    
    /* Esconde as setinhas de navegação caso o JS tente exibi-las para 4 itens */
    .center-track ~ .nav-arrow {
        display: none !important; 
    }
}
.new-arrivals-header {
    text-align: center;
    margin-bottom: 30px;
}

.new-arrivals-header h2 {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #001530;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.new-arrivals-carousel {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    /* Remover display:flex daqui pois o slider-wrapper que fará o corte */
}

/* Novo wrapper para esconder o que passa do limite de 5 itens */
.slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 10px 0; /* Espaço para não cortar box-shadow */
}

.products-track {
    display: flex;
    gap: 15px;
    /* Transição suave para o JS movimentar a trilha */
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); 
    width: max-content; /* Permite que a trilha cresça conforme os itens */
}

/* Ocultar barra de rolagem nativa */
.products-track::-webkit-scrollbar { display: none; }
.products-track { -ms-overflow-style: none; scrollbar-width: none; }

.product-card {
    /* Largura fixa baseada no container (1400px / 5 itens, descontando o gap) */
    width: calc((1400px / 5) - 12px); 
    background-color: #fff;
    border: 1px solid transparent; /* Borda invisível para não pular no hover */
    border-radius: 4px;
    padding: 20px 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

/* Cria o link invisível sobre todo o card */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Protege os botões para que o clique funcione neles em vez de ir para o produto */
.product-actions {
    position: relative;
    z-index: 2; /* Fica "acima" do link invisível */
}

/* Efeito Hover no Desktop */
@media (min-width: 992px) {
    .product-card:hover {
        border-color: #005bb5; /* Borda Azul solicitada */
        box-shadow: 0 5px 15px rgba(0,91,181,0.1);
        transform: translateY(-5px);
    }
    .product-card:hover .product-actions {
        opacity: 1;
        visibility: visible;
        margin-top: 15px; /* Empurra os itens para baixo */
        height: auto;
    }
}



.discount-badge { /* ... Mantenha igual ao seu código anterior ... */
    position: absolute; top: 0; left: 15px; background-color: #003db3;
    color: #fff; font-size: 11px; font-weight: 800; font-family: 'Montserrat', sans-serif;
    padding: 6px 8px; min-width: 36px; display: flex; flex-direction: column; align-items: center;
}
.product-img { width: 100%; max-width: 160px; height: 160px; object-fit: contain; margin: 10px auto 15px; }
.product-title { /* ... Mantenha igual ao seu código anterior ... */ font-size: 13px; font-weight: 600; font-family: 'Montserrat', sans-serif; color: #333; line-height: 1.4; height: 34px; overflow: hidden; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.product-rating { color: #ffc107; font-size: 11px; margin-bottom: 15px; }
.price-old { font-size: 11px; color: #666; text-decoration: line-through; min-height: 14px; margin-bottom: 2px; }
.price-new { font-size: 24px; font-weight: 800; font-family: 'Montserrat', sans-serif; color: #005bb5; letter-spacing: -0.5px; margin-bottom: 5px; }
.price-condition { font-size: 13px; color: #0082c8; font-weight: 400; font-family: 'Montserrat', sans-serif; margin-bottom: 10px; }
.installments { font-size: 10px; color: #000; line-height: 1.4; }
.installments strong { font-weight: 700; font-family: 'Montserrat', sans-serif; }

/* Ações (Comprar + Quantidade) */
.product-actions {
    display: flex; 
    width: 100%;
    gap: 8px;
    /* Oculto no desktop por padrão */
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin-top: 0;
    transition: all 0.3s ease;
}

.qty-selector { display: flex; align-items: center; border: 1px solid #ddd; border-radius: 4px; height: 35px; }
.qty-btn { background: transparent; border: none; color: #666; width: 15px; height: 20px; cursor: pointer; font-size: 16px; }
.qty-input { width: 15px; text-align: center; border: none; font-size: 13px; font-weight: 600; font-family: 'Montserrat', sans-serif; color: #333; padding: 0; }
.btn-comprar { flex: 1; background-color: #0073CF; color: #fff; border: none; border-radius: 4px; font-size: 12px; font-weight: 700; font-family: 'Montserrat', sans-serif; cursor: pointer; height: 35px; text-transform: uppercase; }

/* Setas do Carrossel */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: #005bb5;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-arrow.prev { left: -20px; }
.nav-arrow.next { right: -20px; }

/* Dots */
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.carousel-dots .dot { width: 8px; height: 8px; background-color: #aebfd5; border-radius: 50%; cursor: pointer; }
.carousel-dots .dot.active { width: 24px; background-color: #005bb5; border-radius: 4px; }

@media (max-width: 991px) {
    .nav-arrow { display: none; }
    
    /* Encaixa perfeitamente 2 produtos na tela, descontando o gap e os paddings */
    .product-card {
        width: calc((100vw - 55px) / 2) !important; 
        padding: 15px 10px;
        flex: 0 0 auto;
    }
    
    .product-img { max-width: 120px; height: 120px; }
    .price-new { font-size: 20px; }
    
    /* Layout das Ações no Mobile */
    .product-actions {
        opacity: 1;
        visibility: visible;
        margin-top: 15px;
        height: auto;
        flex-direction: column; /* Empilha para não vazar a div */
        gap: 8px;
    }

    .qty-selector {
        width: 100%;
        justify-content: space-between;
        padding: 0 5px;
    }

    .btn-comprar {
        width: 100%; /* Botão ocupa a largura total do card no mobile */
    }
}

  /* --- SEÇÃO: BANNERS PROMOCIONAIS (860x470) --- */
.promo-banners-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
    display: flex;
    gap: 20px;
}

.promo-card {
    flex: 1;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.promo-card img {
    width: 100%;
    height: auto;
    /* Define a proporção exata solicitada */
    aspect-ratio: 860 / 470; 
    object-fit: cover;
    display: block;
}

/* Efeito de hover para feedback visual */
.promo-card:hover img {
    transform: scale(1.03);
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 991px) {
    .promo-banners-section {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    
    .promo-card {
        border-radius: 8px;
    }
}

/* --- SEÇÃO: BANNERS GRID (4 BLOCOS) --- */
.banner-grid-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 colunas desktop */
    gap: 20px;
}

.banner-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f0f0f0; 
    line-height: 0;
}

.banner-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transição mais suave */
}

/* Efeito de Zoom ao passar o mouse */
.banner-item:hover img {
    transform: scale(1.05); 
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 991px) {
    .banner-grid-section {
        padding: 0 15px;
        margin: 25px auto;
    }
    .banner-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas mobile */
        gap: 12px; 
    }
    .banner-item {
        border-radius: 8px; 
    }
}

/* --- BANNERS HORIZONTAIS DUPLOS --- */
.horizontal-banners-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.horizontal-banners-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.horizontal-banner-item {
    display: block;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    line-height: 0; /* Remove espaço residual abaixo da imagem */
    background-color: #f4f4f4;
}

.horizontal-banner-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Efeito de Zoom ao Hover */
.horizontal-banner-item:hover img {
    transform: scale(1.03);
}

/* Responsividade Mobile */
@media (max-width: 991px) {
    .horizontal-banners-section {
        padding: 0 15px;
        margin: 25px auto;
    }
    
    .horizontal-banners-container {
        gap: 15px;
    }

    .horizontal-banner-item {
        border-radius: 8px;
    }
}

/* --- SEÇÃO: MARCAS QUE TRABALHAMOS --- */
.brands-section {
    max-width: 1400px;
    margin: 60px auto 40px;
    padding: 0 20px;
    text-align: center;
    overflow: hidden;
}

.brands-section h2 {
    font-size: 24px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    margin-bottom: 40px;
}

.brands-container {
    width: 100%;
    position: relative;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1);
}

.brand-item {
    /* Desktop: 5 itens por vez (considerando o gap) */
    flex: 0 0 calc(20% - 24px); 
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
    padding: 10px;
}

.brand-item img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s, transform 0.4s, opacity 0.4s;
    transform: scale(0.95);
}

.brand-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

/* Dots */
.brands-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 35px;
}

.brands-dots .dot {
    width: 8px;
    height: 8px;
    background-color: #aebfd5;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.brands-dots .dot.active {
    width: 24px;
    background-color: #005bb5;
    border-radius: 10px;
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 991px) {
    .brand-item {
        flex: 0 0 calc(50% - 15px); /* 2 itens por vez */
        border: 1px solid #eaeaea;
        border-radius: 8px;
    }
    
    .brands-track {
        gap: 15px;
    }
}

/* --- SEÇÃO: AVALIAÇÕES / REVIEWS --- */
.reviews-section {
    max-width: 1200px; /* Um pouco menor para manter os cards agrupados como no print */
    margin: 60px auto 40px;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
}

.reviews-section h2 {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
}

.reviews-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.nav-arrow {
    background: transparent;
    border: none;
    cursor: pointer;
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.nav-arrow.prev { left: -40px; }
.nav-arrow.next { right: -40px; }

.reviews-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
    width: 100%;
    padding-bottom: 10px;
}

.reviews-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.review-card {
    flex: 0 0 calc(33.333% - 14px); /* Desktop: 3 cards */
    background-color: #fafbfa;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    padding: 25px 20px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 210px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.stars {
    color: #fabb05;
    font-size: 22px;
    letter-spacing: 1px;
    line-height: 1;
}

.review-text {
    font-size: 13px;
    color: #0060a8;
    line-height: 1.5;
    margin-bottom: 30px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    color: #003366;
    font-size: 15px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
}

.review-date {
    color: #0060a8;
    font-size: 12px;
    margin-top: 2px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

/* Paginação (Dots) */
.reviews-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
}

.reviews-dots .dot {
    width: 3px;
    height: 3px;
    background-color: #ff6b35; /* Laranja Eshop */
    border-radius: 50%;
}

.reviews-dots .dot.active {
    width: 8px;
    height: 8px;
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 991px) {
    .nav-arrow {
        display: none; /* Oculta setas no mobile */
    }

    .review-card {
        flex: 0 0 100%; /* Exibe 1 card por vez no mobile */
    }
}

/* --- SEÇÃO: NEWSLETTER --- */
.newsletter-section {
    padding: 35px 20px;
    border-bottom: 4px solid #003366; /* Linha azul no rodapé da seção */
    font-family: 'Montserrat', sans-serif;
}

.newsletter-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.newsletter-text {
    flex: 1;
}

.newsletter-text h2 {
    color: #003366;
    font-size: 20px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

.newsletter-text p {
    color: #0073CF;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
}

.newsletter-form {
    display: flex;
    gap: 15px;
    flex: 2;
    justify-content: flex-end;
}

.newsletter-form input {
    flex: 1;
    max-width: 280px;
    padding: 0 15px;
    height: 45px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 500;
    font-family: 'Montserrat', sans-serif;
    color: #000;
    outline: none;
}

.newsletter-form input::placeholder {
    color: #000;
}

.newsletter-form button {
    background-color: #ff6b00;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 30px;
    font-size: 14px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    height: 45px;
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 991px) {
    .newsletter-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .newsletter-form {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .newsletter-form input {
        max-width: 100%;
        width: 100%;
    }

    .newsletter-form button {
        width: 100%;
    }
}



.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   SESSÃO 10: RODAPÉ AZUL (Desktop)
   ========================================= */
.footer-azul {
  background-color: #003399; /* Azul do print */
  color: #ffffff;
  padding: 50px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-coluna {
  flex: 1;
}

.accordion-titulo {
  font-size: 13px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 20px;
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-conteudo {
  list-style: none;
}

.accordion-conteudo li {
  margin-bottom: 15px;
}

.accordion-conteudo a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
}

.accordion-conteudo a:hover {
  text-decoration: underline;
}

.mt-espaco {
  margin-top: 35px;
}

/* Mídias Sociais e Formas de Pagamento */
.midias-sociais {
  display: flex;
  gap: 15px;
  align-items: center;
}

.midias-sociais img {
  height: 24px;
}

.formas-pagamento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 160px;
}

.formas-pagamento img {
  width: 100%;
  border-radius: 2px;
}

/* Atendimento */
.infos-atendimento h4 {
  font-size: 13px;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  margin-top: 15px;
  margin-bottom: 5px;
}

.infos-atendimento p, 
.infos-atendimento a {
  font-size: 13px;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.6;
}

/* =========================================
   SESSÃO 11: SELOS E TEXTO LEGAL
   ========================================= */
.selos-legal {
  background-color: #ffffff;
  padding: 40px 0;
}

.bloco-selos {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1050px;
  margin: 0 auto 30px auto;
  flex-wrap: wrap;
  gap: 20px;
}

.selo img {
  max-height: 50px;
  object-fit: contain;
}

.avaliacao-google img {
  max-height: 85px;
  border-radius: 4px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1); /* Sombra sutil do widget do Google */
}

.linha-divisoria {
  border: none;
  border-top: 1px solid #dcdcdc;
  margin: 20px 0 30px 0;
}

.texto-legal {
  text-align: center;
  color: #0066cc; /* Azul claro do texto */
  font-size: 12px;
  line-height: 1.8;
  padding: 0 10px;
}

.texto-legal a {
  color: #003399;
  font-weight: bold;
  font-family: 'Montserrat', sans-serif;
  text-decoration: none;
}

.texto-legal a:hover {
  text-decoration: underline;
}

/* =========================================
   MOBILE (max-width: 768px)
   ========================================= */
@media (max-width: 768px) {
  
  .footer-azul {
    padding: 20px 10px;
  }

  .footer-grid {
    flex-direction: column;
    gap: 0;
  }
/* Mostra o conteúdo quando o accordion estiver ativo */
  .accordion-conteudo.active {
    display: block !important;
  }

  /* Adicione uma transição suave na seta que você já criou */
  .seta-mobile::after {
    transition: transform 0.3s ease;
  }

  /* Gira a setinha para cima quando estiver aberto */
  .accordion-titulo.active .seta-mobile::after {
    transform: rotate(-135deg);
    margin-top: 3px;
  }
  /* Estilização da Sanfona Fechada (conforme print mobile) */
  .accordion-titulo {
    border: 1px solid #1a4f9c; 
    border-radius: 4px;
    padding: 16px 15px;
    margin-bottom: 8px;
    font-size: 12px;
    cursor: pointer;
  }

  .mt-espaco {
    margin-top: 0;
  }

  /* Ícone da Seta (Chevron Down) */
  .seta-mobile::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(45deg);
    margin-top: -3px;
  }

  /* Oculta os itens no mobile por padrão */
  .accordion-conteudo {
    display: none; 
    padding: 0 15px 15px 15px;
  }

  /* Ajuste Selos Sessão 11 */
  .bloco-selos {
    justify-content: center;
    gap: 15px;
  }

/* Corrige o conflito do 'display: block' e organiza Mídias e Pagamentos lado a lado */
  .accordion-conteudo.midias-sociais.active,
  .accordion-conteudo.formas-pagamento.active {
    display: flex !important;
    flex-wrap: wrap; /* Permite quebrar linha se não couber na tela */
    gap: 12px;
    align-items: center;
  }

  /* Ajusta o tamanho das imagens de pagamento para não ficarem gigantes */
  .accordion-conteudo.formas-pagamento img {
    width: auto !important;
    height: 25px !important; /* Altura fixa ideal para mobile */
    object-fit: contain;
    margin: 0;
  }
  .selo {
    flex: 1 1 45%; 
    display: flex;
    justify-content: center;
  }

  .selo img {
    max-height: 40px;
  }

  .avaliacao-google img {
    max-height: 70px;
  }
}

/* Estilos do drawer do carrinho */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -400px; /* Esconde o drawer inicialmente */
    width: 400px;
    height: 100vh;
    z-index: 9999;
    transition: right 0.3s ease;
}

.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer.active {
    right: 0; /* Mostra o drawer */
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer-content {
    position: relative;
    background: #fff;
    height: 100%;
    width: 100%;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto; /* Permite rolagem dentro do drawer */
    display: flex;
    flex-direction: column;
}

.close-cart {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

.cart-drawer h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 22px;
    color: #333;
}

/* Conteúdo dos itens do carrinho */
.cart-itens-content {
    flex-grow: 1; /* Ocupa o espaço restante */
    overflow-y: auto; /* Adiciona scroll se necessário */
    padding-right: 10px; /* Espaçamento para a barra de rolagem */
    margin-bottom: 20px;
}

.cart-itens-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cart-itens-content li {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-itens-content li:last-child {
    border-bottom: none;
}

.cart-itens-content .product-thumbnail {
    flex-shrink: 0;
    margin-right: 15px;
}

.cart-itens-content .product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-itens-content .product-details {
    flex-grow: 1;
    text-align: left;
}

.cart-itens-content .product-details a {
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: #333;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.cart-itens-content .quantity {
    font-size: 14px;
    color: #666;
    display: block;
}

.cart-itens-content .product-price {
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    color: #007BFF;
    font-size: 15px;
    display: block;
    margin-top: 5px;
}

.cart-itens-content .remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    font-size: 20px;
    color: #aaa;
    cursor: pointer;
    text-decoration: none;
    line-height: 1; /* Garante que o X fique bem centralizado */
}

.cart-itens-content .remove:hover {
    color: #ff0000;
}

.empty-cart-message {
    text-align: center;
    padding: 20px;
    color: #666;
    font-style: italic;
}

/* Rodapé do carrinho */
.cart-footer {
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
    /* display: none; /* Pode ser controlado via JS se o carrinho estiver vazio */
}

.cart-footer .cart-total {
    font-size: 18px;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 15px;
    color: #333;
}

.cart-footer .woocommerce-mini-cart__buttons.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-footer .woocommerce-mini-cart__buttons.buttons a {
    padding: 12px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s;
    display: block; /* Garante que os botões ocupem a largura total */
}

.cart-footer .woocommerce-mini-cart__buttons.buttons a.button.wc-forward {
    background-color: #007BFF;
    color: white;
}

.cart-footer .woocommerce-mini-cart__buttons.buttons a.button.wc-forward:hover {
    background-color: #0056b3;
}

.cart-footer .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward {
    background-color: #28a745;
}

.cart-footer .woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:hover {
    background-color: #218838;
}

/* Responsividade para o drawer do carrinho */
@media (max-width: 500px) {
    .cart-drawer {
        width: 90%; /* Ocupa mais largura em telas pequenas */
    }
}

<style>
/* ==========================================
   CARRINHO CUSTOMIZADO (CLONE TRAY)
========================================== */
body.woocommerce-cart {
    background-color: #f8f9fa; /* Fundo cinza bem claro */
    font-family: 'Montserrat', sans-serif;
    margin: 0;
}

/* Esconde o header e footer padrão do tema apenas na página de carrinho */
body.woocommerce-cart > header:not(.cart-isolated-header), 
body.woocommerce-cart > footer:not(.cart-isolated-footer) {
    display: none !important;
}

.custom-cart-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- 1. CABEÇALHO ISOLADO --- */
.cart-isolated-header {
    background-color: #003893; /* Azul escuro principal */
    color: #fff;
    padding: 15px 0;
}
.cart-header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.cart-logo img {
    max-height: 40px;
    width: auto;
}
.cart-security-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 11px;
    font-weight: 700;
    text-align: right;
    line-height: 1.2;
}
.cart-security-badge i {
    font-size: 24px;
    color: #ff9800; /* Laranja do cadeado */
}

/* --- 2. CONTAINER PRINCIPAL --- */
.cart-main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    flex: 1;
    width: 100%;
}

/* Botões de Ação Topo/Rodapé */
.cart-top-actions, .cart-bottom-actions {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}
.cart-bottom-actions {
    margin-top: 20px;
    margin-bottom: 60px;
}
.btn-escolher-mais {
    background-color: #003893;
    color: #fff;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s;
    text-align: center;
}
.btn-continuar {
    background-color: #0073CF; /* Azul mais claro */
    color: #fff;
    padding: 12px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s;
    text-align: center;
}
.btn-escolher-mais:hover { background-color: #002266; color: #fff; }
.btn-continuar:hover { background-color: #005bb5; color: #fff; }

/* Layout Grid (Colunas) */
.cart-grid-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}

/* Cards (Boxes) */
.cart-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}
.cart-box h2 {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin-top: 0;
    margin-bottom: 20px;
}

/* --- ITEM DO CARRINHO --- */
.cart-item-row {
    display: flex;
    align-items: center;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    position: relative; /* Importante para o ícone de remover no mobile */
}
.cart-item-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}
.item-thumbnail {
    width: 80px;
    flex-shrink: 0;
    margin-right: 20px;
}
.item-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    object-fit: contain;
}
.item-details {
    flex: 1;
    min-width: 0; /* Evita que o texto quebre o flexbox */
}
.item-name a {
    font-size: 14px;
    font-weight: 700;
    color: #000;
    text-decoration: none;
    display: block;
    line-height: 1.3;
}
.item-meta {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Seletor de Quantidade */
.item-quantity {
    margin: 0 20px;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 35px;
    overflow: hidden;
    width: 100px; /* Largura fixa para não deformar */
}
.qty-btn {
    background: #f9f9f9;
    border: none;
    width: 30px;
    height: 100%;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: #eee; }
.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    height: 100%;
    font-weight: 600;
    -moz-appearance: textfield;
    padding: 0 !important; /* Reseta padding do Woo */
    color: #333;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.item-subtotal {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    min-width: 100px;
    text-align: right;
}
.item-remove {
    margin-left: 20px;
}
.remove-cart-item {
    color: #999;
    font-size: 18px;
    text-decoration: none;
}
.remove-cart-item:hover {
    color: #dc3545;
}

/* --- FRETE --- */
.woocommerce-shipping-calculator .shipping-calculator-button {
    display: none !important;
}
.woocommerce-shipping-calculator .shipping-calculator-form {
    display: block !important;
}
.shipping-calculator-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.shipping-calculator-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    width: 100%; /* Força preenchimento no mobile */
}
.btn-buscar-cep {
    background-color: #0073CF;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap; /* Não quebra linha no botão */
}
.link-cep {
    font-size: 12px;
    color: #0073CF;
    text-decoration: none;
}
#shipping-methods-container {
    margin-top: 15px;
}
#shipping-methods-container .woocommerce-shipping-destination,
#shipping-methods-container .woocommerce-shipping-calculator {
    display: none !important;
}
#shipping-methods-container table th {
    display: none;
}
#shipping-methods-container table td {
    padding: 0;
    border: none;
}
#shipping-methods-container ul#shipping_method {
    padding: 0;
    margin: 0;
    list-style: none;
}
#shipping-methods-container ul#shipping_method li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #333;
}

/* --- RESUMO DO PEDIDO --- */
.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: #333;
}
.summary-row.form-cupom a {
    color: #000;
    text-decoration: none;
    font-weight: 600;
}
.summary-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 20px 0;
}
.total-row {
    align-items: flex-start;
}
.total-label {
    font-weight: 800;
    color: #000;
    font-size: 16px;
}
.total-values {
    text-align: right;
}
.total-price {
    display: block;
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin-bottom: 5px;
}
.total-installments {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    display: block;
}

/* --- RODAPÉ ISOLADO --- */
.cart-isolated-footer {
    background-color: #003893;
    color: #fff;
    padding: 40px 20px 0;
    font-size: 12px;
}
.cart-isolated-footer .footer-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 14px;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 15px;
}
.footer-col p {
    margin: 5px 0;
}
.footer-col a {
    color: #fff;
    text-decoration: none;
}
.payment-icons img, .security-badges img {
    max-width: 100%;
    height: auto;
    margin: 5px;
}
.footer-copyright {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 10px;
}


/* ==========================================
   RESPONSIVO MOBILE (MAX-WIDTH: 991px)
========================================== */
@media (max-width: 991px) {
    /* Ajustes Gerais */
    .cart-main-container {
        padding: 0 15px;
        margin: 20px auto;
    }
    
    .cart-grid-layout {
        grid-template-columns: 1fr; /* Empilha o resumo embaixo dos itens */
        gap: 20px;
    }
    
    .cart-box {
        padding: 15px; /* Reduz o padding interno no celular */
    }

    /* Botões Topo / Base */
    .cart-top-actions, .cart-bottom-actions {
        flex-direction: column;
        gap: 10px;
    }
    .btn-escolher-mais, .btn-continuar {
        width: 100%; /* Força 100% de largura */
        box-sizing: border-box;
    }

    /* --- REDESENHO DO ITEM NO MOBILE --- */
    .cart-item-row {
        flex-wrap: wrap; /* Permite quebrar linha inteligentemente */
        align-items: flex-start;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }

    /* Imagem e Título no Topo */
    .item-thumbnail {
        width: 70px; /* Imagem um pouco menor */
        margin-right: 15px;
    }
    .item-details {
        flex: 1; /* Ocupa o restante do espaço ao lado da imagem */
        width: calc(100% - 85px);
        padding-right: 25px; /* Espaço para não encostar no 'X' */
    }
    
    /* Botão de Remover (Posicionado absoluto no topo direito da Row) */
    .item-remove {
        position: absolute;
        top: 0;
        right: 0;
        margin: 0;
    }
    .remove-cart-item {
        font-size: 20px;
        color: #999;
        padding: 5px;
    }

    /* Controle de Quantidade e Preço na Linha de Baixo */
    /* Cria um flex container invisível que abraça os controles */
    .cart-item-row::after {
        content: '';
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-top: 15px;
    }
    
    .item-quantity {
        margin: 15px 0 0 0;
        width: 50%; /* Ocupa metade da linha de baixo */
    }
    
    .item-subtotal {
        margin: 15px 0 0 0;
        width: 50%; /* Ocupa a outra metade */
        text-align: right;
        font-size: 16px;
    }

    /* --- FRETE --- */
    .shipping-calculator-form-custom {
        flex-direction: column; /* Coloca o input em cima e o botão embaixo */
    }
    .btn-buscar-cep {
        width: 100%;
        padding: 12px 20px;
    }

    /* --- RESUMO DO PEDIDO --- */
    .form-cupom-wrapper form {
        flex-direction: column; /* Quebra o form de cupom no mobile */
    }
    .form-cupom-wrapper .btn-continuar {
        width: 100%;
    }
    
    .total-row {
        flex-direction: column;
        align-items: center; /* Centraliza tudo no total do pedido */
        text-align: center;
        gap: 15px;
    }
    .total-values {
        text-align: center; /* Sobrescreve o right do desktop */
    }

    /* --- RODAPÉ ISOLADO --- */
    .cart-isolated-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


/* ==========================================
   CHECKOUT CUSTOMIZADO (CLONE TRAY)
========================================== */
body.woocommerce-checkout {
    background-color: #f8f9fa;
    font-family: 'Montserrat', sans-serif;
}

body.woocommerce-checkout > header:not(.cart-isolated-header), 
body.woocommerce-checkout > footer:not(.cart-isolated-footer) {
    display: none !important;
}

.checkout-main-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.checkout-grid-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

/* --- COLUNA ESQUERDA (ACORDEÃO) --- */
.checkout-step-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.checkout-step-box.disabled {
    opacity: 0.7;
}

.step-header {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-badge {
    width: 28px;
    height: 28px;
    background-color: #82c341; /* Verde do print */
    color: #fff;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
}

.checkout-step-box.disabled .step-badge {
    background-color: #ccc;
}

.step-title h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0;
    color: #000;
}

.step-status {
    font-size: 13px;
    color: #666;
}

.step-content {
    padding: 0 25px 25px;
}

/* --- FORMULÁRIOS E CAMPOS --- */
.form-row-custom {
    margin-bottom: 20px;
}
.form-row-custom.split-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    position: relative;
    width: 100%;
}
.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 14px;
}
.form-group .input-text {
    width: 100%;
    padding: 12px 15px 12px 40px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    color: #333;
    outline: none;
    box-sizing: border-box;
}

/* Estado de Erro (Conforme Print) */
.form-group.has-error .input-text {
    border-color: #e74c3c;
}
.form-group.has-error .input-icon {
    color: #e74c3c;
}
.error-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #e74c3c;
    font-size: 14px;
}
.error-msg {
    display: block;
    color: #e74c3c;
    font-size: 11px;
    margin-top: 5px;
}

/* Checkboxes */
.checkboxes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.checkbox-container {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

/* Botões do Passo */
.btn-step-action {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 4px;
    font-weight: 800;
    font-size: 14px;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: 0.3s;
}
.btn-step-action.disabled {
    background-color: #7cb4e4; /* Azul claro / desabilitado do print */
    color: #fff;
    cursor: not-allowed;
}
.btn-step-action.active-btn {
    background-color: #0073CF;
    color: #fff;
}

/* --- COLUNA DIREITA (RESUMO DO PEDIDO) --- */
.checkout-col-right {
    position: sticky;
    top: 20px;
}
.checkout-sidebar-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 15px;
}
.sidebar-header h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 0;
}
.link-voltar {
    font-size: 12px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.sidebar-product-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}
.prod-img { width: 50px; flex-shrink: 0; }
.prod-img img { width: 100%; border-radius: 4px; }
.prod-info h4 { font-size: 11px; font-weight: 700; margin: 0; line-height: 1.4; color: #333; }
.prod-price { font-size: 12px; font-weight: 800; color: #000; white-space: nowrap; }

.sidebar-summary h3 {
    font-size: 16px;
    font-weight: 800;
    margin: 25px 0 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}
.summary-line.total {
    font-size: 16px;
    font-weight: 800;
    color: #000;
    margin-top: 15px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.sidebar-obs {
    margin-top: 20px;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}
.sidebar-obs summary {
    font-size: 13px;
    color: #666;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    outline: none;
}
.sidebar-obs textarea {
    width: 100%;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    font-family: inherit;
    font-size: 12px;
    resize: vertical;
    min-height: 60px;
}

/* Remove a tela cinza de carregamento infinito do WooCommerce */
.woocommerce-checkout .blockUI.blockOverlay {
    display: none !important;
    opacity: 0 !important;
}

/* --- MOBILE --- */
@media (max-width: 991px) {
    .checkout-grid-layout {
        grid-template-columns: 1fr;
    }
    .checkout-col-right {
        order: 2; /* Joga o resumo para baixo no mobile */
        position: static;
    }
    .form-row-custom.split-2 {
        grid-template-columns: 1fr;
    }
    .step-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ==========================================
   PÁGINA DE PRODUTO CUSTOMIZADA
========================================== */
.custom-single-product {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    font-family: 'Montserrat', sans-serif;
}

/* Breadcrumbs */
.product-breadcrumb {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.product-breadcrumb a {
    color: #005bb5;
    text-decoration: none;
}

.product-main-grid {
    display: grid;
    grid-template-columns: 1fr 500px; /* Esquerda adaptável, direita fixa (conforme print) */
    gap: 50px;
    align-items: start;
}

/* --- GALERIA DE IMAGENS --- */
.product-gallery-section {
    display: flex;
    flex-direction: row-reverse; /* Imagem principal à direita, thumbs à esquerda */
    position: relative;
    gap: 20px;
}

.product-badge-discount {
    position: absolute;
    top: 0;
    left: 100px; /* Deslocado por causa das miniaturas */
    background-color: #003893;
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
}

.main-image-wrapper {
    flex: 1;
    position: relative;
    text-align: center;
}
.main-image-wrapper img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.zoom-icon {
    position: absolute;
    top: 0;
    right: 0;
    font-size: 24px;
    color: #333;
    cursor: pointer;
}

.thumbnails-wrapper {
    width: 80px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.thumb-item {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 5px;
    cursor: pointer;
    transition: 0.3s;
}
.thumb-item.active, .thumb-item:hover {
    border-color: #005bb5;
}
.thumb-item img {
    width: 100%;
    height: auto;
}
.mobile-gallery-dots { display: none; }

/* --- INFORMAÇÕES DO PRODUTO --- */
.custom-single-product  .product-title {
    font-size: 20px;
    font-weight: 700;
    color: #000;
    height: 50px;
    margin: 0 0 15px;
    line-height: 1.3;
}

.product-meta-info {
    font-size: 10px;
    color: #666;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.meta-item strong {
    color: #000;
}

/* Preços */
.price-old {
    font-size: 14px;
    color: #666;
    text-decoration: line-through;
    margin-bottom: 5px;
}
.price-current {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 5px;
}
.price-current .value {
    font-size: 32px;
    font-weight: 800;
    color: #005bb5;
    letter-spacing: -1px;
}
.price-current .condition {
    font-size: 13px;
    color: #005bb5;
}
.price-installments {
    font-size: 13px;
    color: #000;
    margin-bottom: 20px;
}

.link-payment-options {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    background: #f4f4f4;
    padding: 8px 12px;
    border-radius: 4px;
    margin-bottom: 25px;
}

/* Ação de Compra */
.action-flex {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.qty-selector {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    height: 45px;
    width: 100px;
}
.qty-btn {
    background: transparent;
    border: none;
    width: 30px;
    height: 100%;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.qty-input {
    width: 40px;
    text-align: center;
    border: none;
    font-size: 15px;
    font-weight: 700;
     padding: 0 !important; /* Traz o número de volta forçando a anulação do padding do WooCommerce */
    text-align: center;
    -moz-appearance: textfield;
}
.btn-comprar-principal {
    flex: 1;
    background-color: #0073CF;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}
.btn-comprar-principal:hover { background-color: #005bb5; }

/* Banner de Desconto */
.discount-savings-banner {
    background-color: #003893;
    color: #fff;
    font-size: 12px;
    text-align: center;
    padding: 12px;
    border-radius: 4px;
    margin-bottom: 25px;
}

/* Trust Badges */
.product-trust-badges {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}
.badge-item {
    flex: 1;
    background: #f9f9f9;
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 15px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.badge-item i { font-size: 24px; }
.badge-item span { font-size: 10px; color: #333; line-height: 1.2; }

/* Calculadora de Frete */
.product-shipping-calc label {
    display: block;
    font-size: 10px;
    color: #333;
    margin-bottom: 8px;
}
.calc-form {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}
.cep-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}
.btn-calc-ok {
    background: #e0e0e0;
    color: #333;
    border: none;
    border-radius: 4px;
    padding: 0 20px;
    font-weight: 700;
    cursor: pointer;
}
.link-cep {
    font-size: 10px;
    color: #999;
    text-decoration: none;
}

/* ==========================================
   SEÇÃO DE ABAS DO PRODUTO (DESKTOP)
========================================== */
.product-tabs-section {
    margin-top: 60px;
    margin-bottom: 50px;
    width: 100%;
}

.tabs-content-container {
    padding: 0px 60px 0px 60px;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Espaçamento entre os botões azuis */
}

.desktop-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 20px;
}

.desktop-tabs-nav .tab-btn {
    padding: 12px 25px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.desktop-tabs-nav .tab-btn:hover {
    border-color: #003893;
}

/* Estado Ativo (Desktop) */
.desktop-tabs-nav .tab-btn.active {
    background-color: #003893; /* Azul Escuro */
    border-color: #003893;
    color: #fff;
}

/* Esconde os botões mobile no Desktop */
.mobile-accordion-btn {
    display: none;
    margin-top: 10px ;
}

/* Área de Conteúdo */
.tab-pane {
    display: none; /* Escondido por padrão */
    padding: 10px 0;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active {
    display: block; /* Mostra apenas o ativo */
}

.product-description-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}
.product-description-content img {
    max-width: 100%;
    height: auto;
}

.product-warranty-content p {
    font-size: 15px;
    color: #333;
}

/* Placeholder de Avaliações */
.reviews-placeholder {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px dashed #ccc;
}

.reviews-placeholder p {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #000;
}

.btn-login-review {
    display: inline-block;
    background-color: #ff7300; /* Laranja */
    color: #fff;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.3s;
}

.btn-login-review:hover {
    background-color: #e66600;
}

/* ==========================================
   ACORDEÃO DO PRODUTO (MOBILE)
========================================== */
@media (max-width: 991px) {
    .product-tabs-section {
        margin-top: 40px;
    }

    .desktop-tabs-nav {
        display: none; /* Esconde as abas horizontais */
    }

    .tabs-content-container {
        display: flex;
        padding: 0px;
        flex-direction: column;
        gap: 10px; /* Espaçamento entre os botões azuis */
    }

    /* O Botão Azul do Acordeão */
    .mobile-accordion-btn {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: #003893; /* Azul do seu print */
        color: #fff;
        padding: 16px 20px;
        border-radius: 8px;
        font-size: 14px;
        font-weight: 800;
        cursor: pointer;
        transition: background 0.3s;
        text-transform: uppercase;
    }

    /* Animação da Setinha */
    .mobile-accordion-btn i {
        transition: transform 0.3s ease;
    }
    .mobile-accordion-btn.active i {
        transform: rotate(180deg);
    }

    /* Ajuste da área de conteúdo para o mobile */
    .tab-pane {
        padding: 20px 15px;
        border: 1px solid #eaeaea;
        border-top: none;
        border-radius: 0 0 8px 8px;
        margin-top: -15px; /* Puxa para cima para "colar" no botão */
        background: #fff;
        margin-bottom: 10px;
    }
}

/* --- RESPONSIVIDADE MOBILE --- */
@media (max-width: 991px) {
    .product-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* Galeria Mobile: Imagem em cima, thumbs embaixo roláveis */
    .product-gallery-section {
        flex-direction: column;
    }
    .product-badge-discount {
        left: 0;
    }
    .thumbnails-wrapper {
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
    }
    .thumbnails-wrapper::-webkit-scrollbar { display: none; }
    .thumb-item {
        flex: 0 0 80px;
        scroll-snap-align: start;
    }
    .mobile-gallery-dots {
        display: flex;
        justify-content: center;
        gap: 5px;
        margin-top: -5px;
    }
    .mobile-gallery-dots .dot { width: 10px; height: 3px; background: #ccc; }
    .mobile-gallery-dots .dot.active { background: #005bb5; }

    /* Ajustes Finais Mobile */
    .product-title { }
    .price-current .value { font-size: 28px; }
    .product-trust-badges { flex-wrap: wrap; }
    .badge-item { flex: 0 0 calc(33.33% - 7px); padding: 10px 5px; }
}

/* ==========================================
   PÁGINA DE CATEGORIA CUSTOMIZADA
========================================== */
.custom-category-page {
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 60px;
}
.category-container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}
.category-breadcrumb {
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 25px;
}
.category-breadcrumb a { color: #005bb5; text-decoration: none; }

/* Cabeçalho Desktop */
.category-header-desktop {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.category-title {
    font-size: 24px;
    font-weight: 800;
    color: #000;
    text-transform: uppercase;
    margin: 0;
}
.desktop-sort { display: flex; align-items: center; gap: 10px; }
.sort-label { font-size: 13px; color: #333; font-weight: 600; }
.desktop-sort select {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    outline: none;
    cursor: pointer;
}

/* Esconde Elementos Mobile no Desktop */
.mobile-category-header, .filter-drawer-header, .filter-drawer-overlay {
    display: none;
}

/* Estrutura com Menu Lateral */
.category-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

/* Menu Lateral Desktop */
.filter-widget { margin-bottom: 35px; }
.filter-widget .widget-title {
    font-size: 15px;
    color: #003893;
    font-weight: 800;
    margin-bottom: 15px;
}
.filter-list { list-style: none; padding: 0; margin: 0; }
.filter-list li { margin-bottom: 12px; }
.filter-list label {
    font-size: 13px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}
.filter-list input[type="checkbox"] { width: 16px; height: 16px; accent-color: #003893; cursor: pointer; }
.filter-list .count { color: #999; font-size: 11px; margin-left: auto; }

/* Grid de Produtos */
.category-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Produtos por linha no Desktop */
    gap: 20px;
}
/* Reutiliza o estilo do product-card que já existe no seu CSS e força 100% de largura */
.category-product-grid .product-card {
    width: 100% !important;
}

/* Paginação */
.custom-pagination { margin-top: 40px; text-align: center; }
.custom-pagination .page-numbers {
    display: inline-flex; gap: 5px; list-style: none; padding: 0;
}
.custom-pagination .page-numbers li a, 
.custom-pagination .page-numbers li span {
    display: flex; align-items: center; justify-content: center;
    width: 35px; height: 35px; border-radius: 4px; background: #f4f4f4;
    color: #333; text-decoration: none; font-weight: 700; font-size: 14px;
}
.custom-pagination .page-numbers li span.current { background: #003893; color: #fff; }

/* ==========================================
   RESPONSIVIDADE MOBILE
========================================== */
@media (max-width: 991px) {
    .category-header-desktop { display: none; } /* Oculta título/filtro desktop */
    .category-layout { grid-template-columns: 1fr; } /* Remove as 2 colunas */

    /* Cabeçalho Mobile estilo App */
    .mobile-category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #f4f4f4;
        padding: 15px;
        margin: -20px -20px 20px -20px; /* Gruda nas bordas */
        border-bottom: 1px solid #ddd;
    }
    .mobile-cat-title { font-size: 16px; font-weight: 800; text-transform: uppercase; margin: 0; }
    .mobile-action-btn {
        background: transparent; border: none; color: #666; font-size: 11px;
        font-weight: 600; font-family: inherit; display: flex; flex-direction: column;
        align-items: center; gap: 5px; cursor: pointer; text-transform: uppercase;
    }
    .mobile-action-btn i { font-size: 18px; }
    
    /* Truque Mágico para o Ordenar funcionar invisível */
    .sort-btn-wrapper { position: relative; overflow: hidden; }
    .sort-btn-wrapper select {
        position: absolute; top: 0; left: 0; width: 100%; height: 100%;
        opacity: 0; cursor: pointer;
    }

    /* Grid do Mobile: 2 Colunas */
    .category-product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .category-product-grid .product-card {
        padding: 15px 10px;
    }

    /* Gaveta de Filtros (Drawer Mobile) */
    .filter-drawer-overlay {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.6); z-index: 9998; opacity: 0; visibility: hidden; transition: 0.3s;
    }
    .filter-drawer-overlay.active { opacity: 1; visibility: visible; }

    .category-sidebar {
        position: fixed; top: 0; left: -320px; width: 85%; max-width: 320px; height: 100vh;
        background: #fff; z-index: 9999; display: flex; flex-direction: column;
        transition: left 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94); box-shadow: 2px 0 10px rgba(0,0,0,0.1);
    }
    .category-sidebar.active { left: 0; }

    .filter-drawer-header {
        display: flex; justify-content: space-between; align-items: center;
        background: #003893; color: #fff; padding: 20px;
    }
    .filter-drawer-header h3 { font-size: 16px; margin: 0; font-weight: 800; }
    .close-filters { background: transparent; border: none; color: #fff; font-size: 24px; cursor: pointer; }
    
    .filter-widgets-content {
        padding: 20px; overflow-y: auto; flex: 1;
    }
}