/*
Theme Name: MercadoLivre
Theme URI: http://seudominio.com/
Author: Seu Nome
Author URI: http://seudominio.com/
Description: Descrição do seu tema.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: seu-tema
Tags: layout-responsivo, clean, moderno
*/

/* Resetando margens e espaçamentos */
html, body, header{
    margin: 0;
    padding: 0;
    font-family: "Proxima Nova", -apple-system, Roboto, Arial, sans-serif;
}




@media (min-width: 768px) {

    .fas.fa-shopping-cart:before {
    content: "\f07a";
}

.fas.fa-bars:before {
    content: "\f0c9";
}

.fas.fa-times:before {
    content: "\f00d";
}

    /* Header Principal */
    .header {
        background-color: #ffe600;
        width: 100%;
        padding: 10px 0;
        box-sizing: border-box;
        border: none;
        z-index: 1000;
        top: 0;
        left: 0;
        position: fixed;
    }

    /* Container Geral */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 20px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Logotipo à esquerda */
    .header-left {
        width: 10%;
        display: flex;
        align-items: center;
    }

    .logo img {
        max-width: 100%;
        height: auto;
    }

    .location {
        display: flex;
        align-items: center;
        font-size: 14px;
        margin-left: 10px;
    }

    .location i {
        margin-right: 5px;
        font-size: 18px;
    }

    /* Barra de busca centralizada */
    .header-center {
        width: 50%;
        display: flex;
        justify-content: center;
    }

    .search-form {
        display: flex;
        max-width: 100%;
        width: 100%;
        background-color: white;
        border-radius: 4px;
        overflow: hidden;
        border: 1px solid #ccc;
    }

    .search-form input {
        width: 100%;
        padding: 10px;
        border: none;
        font-size: 16px;
    }

    .search-form button {
        background-color: #fff;
        border: none;
        font-size: 20px;
        padding: 10px;
        cursor: pointer;
    }

    /* Estilos para o container header-menu-account */
    .header-menu-account {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        margin-top: 10px;
    }

    /* Banner à direita */
    .header-right-banner {
        width: 25%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .header-right-banner img {
        max-width: 100%;
        height: auto;
    }

    /* Estilos para o container header-bottom */
    .header-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    /* Localização (CEP) */
    .header-location {
        width: 10%;
        display: flex;
        align-items: center;
        font-size: 14px;
    }

    .header-location i {
        margin-right: 5px;
        font-size: 18px;
    }

    /* Estilos do menu central (meio) */
    .header-menu {
        width: 50%;
        text-align: center;
        padding-left: 60px;
    }

    .header-menu ul {
        display: flex;
        justify-content: center;
        gap: 20px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .header-menu ul li a {
        text-decoration: none;
        color: #000;
        font-size: 14px;
        font-weight: 500;
        padding: 0px;
        margin: 0;
        transition: color 0.3s ease;
        line-height: 18px;
    }

    .header-menu ul li a:hover {
        color: #0056b3;
    }

    /* Conta e Carrinho à direita */
    .header-account {
        width: 30%;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .header-account ul {
        display: flex;
        gap: 15px;
        padding: 0;
        margin: 0;
        list-style: none;
    }

    .header-account a {
        text-decoration: none;
        color: #000;
        font-size: 14px;
        font-weight: 400;
    }

    /* Estilos para o modal */
    .modal {
        display: none;
        position: fixed;
        z-index: 999;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4);
    }

    .modal-content {
        background-color: #fff;
        margin: 15% auto;
        padding: 20px;
        border: 1px solid #888;
        width: 400px;
        max-width: 80%;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        border-radius: 8px;
    }

    .close-modal {
        color: #aaa;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

    .close-modal:hover,
    .close-modal:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }

    #cep-form {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    #cep-input {
        padding: 10px;
        font-size: 16px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }

    #cep-form button {
        background-color: #ffe600;
        border: none;
        padding: 10px;
        font-size: 16px;
        cursor: pointer;
    }

    /* Remove marcadores de lista dos itens de navegação */
    .main-nav ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

    .main-nav ul li {
        list-style-type: none;
    }

    /* Estilo para o item principal do menu */
    .header-menu .dropdown {
        position: relative;
    }

    .header-menu .dropbtn {
        cursor: pointer;
        color: #000;
        text-decoration: none;
        font-weight: bold;
    }

    /* Estilo para o conteúdo do dropdown (submenu) */
    .header-menu .dropdown-content {
        display: none;
        position: absolute;
        left: 0;
        top: 100%;
        background-color: #333;
        padding: 10px 0;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
        z-index: 1;
        width: 200px;
        height: auto;
    }

    .header-menu .dropdown-content ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .header-menu .dropdown-content li {
        width: 100%;
    }

    .header-menu .dropdown-content li a {
        display: flex;
        color: #fff;
        text-decoration: none;
        padding: 10px 20px;
        transition: background-color 0.3s;
        line-height: 18px;
        font-weight: 500;
        font-size: 14px;
    }

    .header-menu .dropdown-content li a:hover {
        background-color: #444;
    }

    /* Exibir o submenu ao passar o mouse sobre o item principal */
    .header-menu .dropdown:hover .dropdown-content {
        display: block;
    }
}




/* Responsividade para mobile */
@media (max-width: 768px) {

/* Estiliza a lista para ter uma aparência consistente */
.menu-links .mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-categorias {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

/* Corrige o submenu para empurrar os elementos para baixo */
.mobile-menu-submenu {
    display: none;
    padding: 0;
    margin: 0;
    background-color: #ffde00;
    border-top: 1px solid #e0e0e0;
    width: 100%;
    position: relative;
}

.mobile-menu-submenu li {
    padding: 10px 15px;
    border-bottom: 1px solid #e0e0e0;
}

.mobile-menu-submenu li a {
    color: #000;
    text-decoration: none;
    display: block;
}

/* Corrige sub-submenus */
.mobile-menu-submenu .sub-menu {
    display: none;
    padding-left: 15px;
    background-color: #fff8b5;
}



/* Exibe setinha ▼ em itens com submenu */
.mobile-menu-submenu .menu-item-has-children > a::after {
    content: " ▼";
    float: right;
    font-size: 12px;
}

/* Rotaciona seta quando aberto */
.mobile-menu-submenu .menu-item-has-children > a.open::after {
    content: " ▲";
}

    .fas.fa-shopping-cart:before {
    content: "\f07a";
}

.fas.fa-bars:before {
    content: "\f0c9";
}

.fas.fa-times:before {
    content: "\f00d";
}

    /* Estilos gerais */
/* Header Mobile - Estilização geral */
.header-mobile {
    background-color: #ffe600;
    padding: 10px 0;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}

.header-mobile .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Parte superior do header */
.header-mobile-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 95%;
    padding: 15px 0px 0px 10px;
}

/* REMOVIDO: logo (se quiser ocultar via CSS, use display: none) */
.header-mobile-top .logo {
    display: none;
}

/* A barra de busca agora ocupa quase toda a largura */
.header-mobile-top .header-mobile-search.full-width {
    flex: 1;
    margin-right: 10px;
}

.header-mobile-search .search-form-mobile {
    width: 100%;
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 20px;
    overflow: hidden;
    padding: 0 10px;
    height: 38px;
}

.header-mobile-search input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    font-size: 14px;
    border: none;
    outline: none;
    background: none;
}

.header-mobile-search button {
    background-color: transparent;
    border: none;
    padding: 8px;
    cursor: pointer;
    font-size: 16px;
    color: #333;
}

.cart-icon {
  position: relative;
  display: flex;
  align-items: center;
}

/* Estilo para o número de itens no carrinho */
.cart-count2 {
  position: absolute;
  top: 1px;
  right: 10px;
  background: red;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 50%;
  line-height: 1;
  text-align: center;
}

/* Remover o texto Carrinho */
.cart-menu span {
  
}



/* Ícones do menu e carrinho - cada um ocupa 10% */
.menu-icon, .cart-icon {
    display: inline-block;
    vertical-align: middle;
    color: #333; /* Ajuste a cor para a desejada */
    padding-left: 3px;
}

.menu-icon i, .cart-icon i {
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.cart-icon i {
    font-size: 1.5rem; /* Ajuste o tamanho para a preferência */
    color: #333; /* Ajuste a cor para a desejada */
}

.menu-icon i {
    font-size: 1.6rem; /* Ajuste o tamanho para a preferência */
    color: #333; /* Ajuste a cor para a desejada */
}

/* Estilos para o ícone do carrinho */
.cart-icon a {
    display: inline-block;
    padding: 10px;
    text-decoration: none;
}

/* Estilos para o botão de menu */
.menu-icon button {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    outline: none;
}
/* Ajuste de espaçamento entre os ícones */
.menu-icon {
    margin-right: 0px; /* Espaço entre o menu e o carrinho */
}

/* Estilo para o container de CEP */
.cep-container {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 10px 15px !important;
    font-size: 14px;
    color: #333;
}

.cep-container .cep-icon {
    margin-right: 5px;
    font-size: 13px;
    margin-left: 10px
    
}
/* Menu em tela cheia - Ajuste de altura para cobrir apenas até o "Informe seu CEP" */
.fullscreen-menu {
    display: none;
    position: fixed;
    top: 50px; /* Ajuste conforme a altura do header logo/search/menu */
    left: 0;
    width: 100%;
    height: calc(100vh - 60px); /* Define a altura para cobrir a área abaixo do header até o final da viewport */
    background-color: #ffe600;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    box-sizing: border-box;
    border-top: 1px solid #ddd;
}
/* Ícone de "X" para fechar o menu */
.menu-icon .menu-bars {
    display: inline;
}

.menu-icon .close-icon {
    display: none;
}

/* Ao abrir o menu, alterna para o ícone "X" */
.fullscreen-menu.open .menu-icon .menu-bars {
    display: none;
}

.fullscreen-menu.open .menu-icon .close-icon {
    display: inline;
}

/* Mostrar o menu quando a classe 'open' estiver presente */
.fullscreen-menu.open {
    display: block;
}

.menu-bars, .close-icon {
    font-size: 1.5rem;
    color: #333;
}

/* Container de boas-vindas em largura total */
.menu-header {
    width: 100vw; /* Largura total da viewport */
    background-color: #ffe600; /* Cor de fundo */
    padding: 20px; /* Espaçamento interno */
    margin-left: calc(-50vw + 50%); /* Centra o container de largura total */
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    border-radius: 0; /* Remove bordas arredondadas para ocupar toda a largura */
}
.user-info {
    display: flex;
    align-items: center;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #e0e0e0;
    margin-right: 10px;
}

.user-info p {
    font-weight: bold;
    margin: 0;
}

.user-info span {
    font-size: 14px;
    color: #666;
}

.menu-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Estilo para os botões de login e cadastro */
.menu-buttons .btn-login {
    background-color: #0073e6;
    border: none;
    color: #fff;
    padding: 8px 62px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    margin-right: 0px;
    line-height: 14px;
    display: inline-block;
    margin-left: 10px;
    
}

.menu-buttons .btn-register {
    background-color: #fff;
    color: #0073e6;
    border: 1px solid #0073e6;
    margin-left: 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    line-height: 14px;
    display: inline-block;
    width: 48%;
}

/* Estilos para os botões de login e cadastro */
.menu-buttons button {
    background-color: #0073e6;
    border: none;
    color: #fff;
    padding: 8px 12px;
    margin-right: 10px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.btn-register {
    background-color: #fff;
    color: #0073e6;
    border: 1px solid #0073e6;
}

/* Ajuste de margem superior para garantir espaçamento adequado */
.menu-links {
    margin-top: 20px;
}
/* Lista de links */
.menu-links ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    border-top: 1px solid #ddd;
}

.menu-links ul li {
    padding: 10px 0;
    display: flex;
    align-items: center;
}

.menu-links ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.menu-links ul li a i {
    margin-right: 10px;
    font-size: 18px;
}

.badge {
    margin-left: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    color: #fff;
    font-weight: bold;
}

.badge.green {
    background-color: #28a745;
}

.badge.blue {
    background-color: #0073e6;
}

/* Estilo geral do modal */
.modal {
    display: none; /* Garantir que o modal comece oculto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 20px;
    color: #333;
    cursor: pointer;
}

.modal-content h2 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.modal-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.modal-content label {
    display: block;
    text-align: left;
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 5px;
}

.modal-content input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    margin-bottom: 15px;
}

.submit-btn {
    width: 100%;
    padding: 10px;
    background-color: #007bff; /* Azul estilo botão */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.help-link {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #007bff;
    text-decoration: none;
}

.help-link:hover {
    text-decoration: underline ;
}

.footer-top {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    
    max-width: 1200px !important;
    margin-bottom: 20px !important;
}
.footer-links a {
    margin-left: 10px !important;
    text-decoration: none !important;
    color: #555 !important;
    font-size: 14px !important;
    padding-right: 10px !important;
    text-align: center !important;
}
.footer {
    background-color: #f5f5f5 !important;
    color: #333 !important;
    padding: 20px 0 !important;
    font-size: 14px !important;
    border-top: 1px solid #eaeaea !important;
    width: 100vw !important; /* Garante que o footer ocupe 100% da largura da viewport */
    box-sizing: border-box;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

}


/* Aqui começa o footer */
/* Container principal do footer */
.footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 20px 0;
    font-size: 14px;
    border-top: 1px solid #eaeaea;
    width: 100vw; /* Garante que o footer ocupe 100% da largura da viewport */
    box-sizing: border-box;
    display: ;
    flex-direction: column;
    align-items: center;
}

/* Configurações para as colunas de links no desktop */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 90%; /* Limita a largura para centralizar o conteúdo */
    max-width: 1200px; /* Limite de largura para telas grandes */
    margin-bottom: 20px;
}

/* Ajustes para as colunas de links dentro do footer */
.footer-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%; /* Garante que ocupe 100% do container */
}

.footer-column {
    flex: 1 1 150px;
    min-width: 150px;
}

.footer-column h4 {
    font-weight: bold;
    font-size: 16px;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.footer-column ul li a:hover {
    text-decoration: underline;
}

/* Ajuste para a parte inferior do footer com copyright */
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
    color: #555;
    width: 100%; /* Garante que ocupa toda a largura do footer */
    border-top: 1px solid #ddd;
    margin-top: 20px;
}

/* Links na parte inferior do footer */
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.footer-links li {
    display: inline;
}

.footer-links a {
    text-decoration: none;
    color: #555;
    font-size: 14px;
    padding-right: 10px;
}

.footer-links a:hover {
    color: #000;
}

.footer-copyright {
    font-size: 12px;
    color: #555;
    text-align: center;
    width: 100%;
    line-height: 1.5;
    margin-top: 10px;
}



/* MyAccount WooCommerce */
.woocommerce form.login,
.woocommerce form.register {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Estilo dos inputs */
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

/* Estilos personalizados */
.login-container {
    max-width: 400px !important;
    margin: 120px auto 50px !important;
    padding: 30px !important;
    background: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    text-align: center !important;
}

.login-container h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.form-group input[type="text"],
.form-group input[type="password"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.login-button {
    width: 100% !important;
    padding: 12px !important;
    background: #0073e6 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: bold !important;
    border: none !important;
    border-radius: 4px !important;
    cursor: pointer !important;
}

.additional-links {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.additional-links a {
    color: #0073e6;
    text-decoration: none;
}

.additional-links a:hover {
    text-decoration: underline;
}

.social-login {
    margin-top: 20px;
}

.or-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.or-divider span {
    background: #fff;
    padding: 0 10px;
    color: #666;
}

.google-login-button {
    display: block;
    width: 100%;
    padding: 10px;
    background: #4285f4;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
}

.google-login-button:hover {
    background: #357ae8;
}





@media (max-width: 768px) {
  .mais-vendidos-mobile-lista {
    background-color: #fff;
    padding: 16px 0;
  }

  .mais-vendidos-mobile-container .container {
    max-width: 360px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .secao-titulo {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
  }

  .produto-linha {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  .produto-imagem img {
    width: 80px;
    height: 80px;
    object-fit: contain;
  }

  .produto-detalhes {
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .produto-titulo {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    line-height: 1.2;
    text-decoration: none;
  }

  .preco-com-desconto {
    margin-bottom: 6px;
  }

  .preco-original {
    display: block;
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 2px;
  }

  .preco-promocional {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-right: 6px;
  }

  .percentual-desconto {
    font-size: 13px;
    font-weight: 500;
    color: #00a650;
  }

  .produto-preco {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 6px;
  }

  .produto-parcelamento {
    font-size: 13px;
    color: #00a650;
    margin-bottom: 4px;
    padding-top: 1px;
  }

  .produto-frete {
    font-size: 13px;
    color: #00a650;
    padding-top: 10px;
  }

  .mais-vendidos-ver-mais {
    text-align: center;
    margin-top: 8px;
    padding: 12px 0 0;
    border-top: 1px solid #eee;
  }

  .mais-vendidos-ver-mais a {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    color: #3483fa;
    text-decoration: none;
  }

  .mais-vendidos-ver-mais a::after {
    content: '→';
    display: inline-block;
    margin-left: 6px;
    font-size: 16px;
  }

  .texto-preto {
    color: #000;
  }

  .texto-verde {
    color: #00a650;
  }
}


/* Oculta versão MOBILE no desktop */
@media (min-width: 769px) {
  .mais-vendidos-mobile-lista {
    display: none !important;
  }
}

/* Oculta versão DESKTOP no mobile */
@media (max-width: 768px) {
  .mais-vendidos-desktop {
    display: none !important;
  }
}


@media (min-width: 769px) {
  .mais-vendidos-desktop {
    background-color: #fff;
    padding: 40px 0;
  }

  .container-mais-vendidos-desktop {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .titulo-mais-vendidos-desktop {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 24px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    text-align: left;
  }

  .grade-produtos-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .produto-card-desktop {
    display: flex;
    flex-direction: column;
    text-align: left;
  }

  .imagem-desktop img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 12px;
  }

  .titulo-desktop {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    text-decoration: none;
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 38px;
    display: inline-block;
  }

  .preco-com-desconto-desktop {
    margin-bottom: 6px;
  }

  .preco-original-desktop {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    display: block;
    margin-bottom: 2px;
  }

  .preco-linha {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .preco-promocional-desktop {
    font-size: 16px;
    font-weight: bold;
    color: #000;
  }

  .percentual-desconto-desktop {
    font-size: 13px;
    font-weight: 500;
    color: #00a650;
  }

  .preco-unico-desktop {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin-bottom: 6px;
  }

  .parcelamento-desktop {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .texto-preto {
    color: #000;
  }

  .texto-verde {
    color: #00a650;
  }

  .frete-gratis-desktop {
    font-size: 13px;
    color: #00a650;
  }

  /* Ocultar versão mobile no desktop */
  .mais-vendidos-mobile-lista {
    display: none !important;
  }
}



 /* categorias versão mobile  */

@media (max-width: 768px) {
  .categorias-mobile {
    background-color: #fff;
    padding: 16px 0;
  }

  .categorias-mobile-container {
    max-width: 360px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .categorias-titulo {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
  }

  .grade-categorias {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  .categoria-card {
    background-color: #f9f9f9;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    text-align: center;
    padding: 10px 6px;
    text-decoration: none;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: box-shadow 0.2s ease;
  }

  .categoria-card img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    margin-bottom: 8px;
  }

  .categoria-nome {
    font-size: 12px;
    line-height: 1.2;
  }

  .ver-mais-categorias {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
  }

  .ver-mais-categorias a {
    color: #3483fa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .ver-mais-categorias a::after {
    content: '→';
    margin-left: 6px;
    font-size: 16px;
  }

  /* Esconde versão desktop se houver */
  .categorias-desktop {
    display: none !important;
  }
}

/* Oculta a versão mobile no desktop */
@media (min-width: 769px) {
  body.home .categorias-mobile {
    display: none !important;
  }
}


/* === CATEGORIAS DESKTOP === */

.categorias-desktop {
  background-color: #fff;
  padding: 32px 0;
}

.categorias-desktop-container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

.categorias-desktop-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
}

.categorias-desktop-titulo {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
}

.categorias-desktop-vermais {
  font-size: 14px;
  font-weight: 500;
  color: #3483fa;
  text-decoration: none;
}

.categorias-desktop-vermais::after {
  content: '→';
  margin-left: 6px;
  font-size: 16px;
}

/* Grid de categorias */
.categorias-desktop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 16px;
}

/* Card desktop */
.categoria-card-desktop {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 12px;
  text-align: center;
  text-decoration: none;
  color: #333;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 0 0 1px #eee;
  transition: box-shadow 0.2s ease;
}

.categoria-card-desktop:hover {
  box-shadow: 0 0 0 2px #3483fa;
}

.categoria-card-desktop img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 8px;
}

.categoria-nome-desktop {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
}

/* =======================
   MOBILE (ATÉ 768px)
========================== */

@media (max-width: 768px) {
  /* Exibe versão mobile */
  .compras-do-mes-mobile {
    display: block;
  }

  /* Oculta versão desktop */
  .campanhas-home-desktop {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }

  .compras-mes-container {
    max-width: 360px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .compras-titulo {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    text-align: center; 
  }

  .banner-link img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .produtos-supermercado {
    display: flex;
    justify-content: space-between;
    gap: 8px;
  }

  .produto-thumb img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 8px;
    background-color: #fff;
  }

  .produto-thumb {
    text-decoration: none;
  }
}


/* =======================
   DESKTOP (A PARTIR DE 769px)
========================== */

@media (min-width: 769px) {
  /* Exibe versão desktop */
  .campanhas-home-desktop {
    display: block;
    background-color: #f5f5f5;
    padding: 32px 0;
  }

  /* Oculta versão mobile */
  .compras-do-mes-mobile {
    display: none !important;
    visibility: hidden;
    height: 0;
    overflow: hidden;
  }

  .campanhas-container {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    gap: 16px;
    justify-content: space-between;
  }

  .bloco-campanha {
    background-color: #fff;
    border-radius: 12px;
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .titulo-campanha {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    
  }

  .banner-campanha img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 12px;
  }

  .produtos-campanha {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }

  .produto-thumb-desktop img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
  }

  .produto-thumb-desktop {
    text-decoration: none;
  }
}

/* Inspirado no último visto - Versão mobile */
@media (max-width: 768px) {
  .recomendados-mobile {
    background-color: #fff;
    padding: 16px 0;
  }

  .recomendados-container {
    
    margin: 0 auto;
    padding: 0 16px;
  }

  .recomendados-titulo {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
    padding-left: 5px
  }

  .produto-recomendado {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #000;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    background-color: #fff;
    transition: box-shadow 0.2s ease;
  }

  .produto-recomendado:hover {
    box-shadow: 0 0 0 2px #3483fa2e;
  }

  .recomendados-container .grid-recomendados {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
  }

  .produto-recomendado .imagem {
    width: 100%;
    text-align: center;
    margin-bottom: 8px;
  }

  .produto-recomendado .imagem img {
    width: auto;
    height: 100px;
    object-fit: contain;
  }

  .produto-recomendado .info {
    display: flex;
    flex-direction: column;
  }

  .produto-recomendado .titulo {
    font-size: 13px;
    line-height: 1.3;
    margin-bottom: 6px;
    font-weight: 500;
  }

  .produto-recomendado .precos {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 4px;
  }

  .preco-antigo {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
  }

  .preco-promocional {
    font-size: 15px;
    font-weight: bold;
    color: #000;
  }

  .desconto {
    font-size: 13px;
    font-weight: 500;
    color: #00a650;
  }

  .preco-unico {
    font-size: 15px;
    font-weight: bold;
    color: #000;
  }

  .parcelamento {
    font-size: 13px;
    color: #00a650;
    margin-bottom: 4px;
  }

  .entrega {
    font-size: 13px;
    color: #00a650;
    background-color: #e6f7ec;
    display: inline-block;
    padding: 2px 6px;
    border-radius: 6px;
    margin-bottom: 4px;
  }

  .frete {
    font-size: 13px;
    color: #00a650;
  }

  .recomendados-ver-mais {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
  }

  .recomendados-ver-mais a {
    color: #3483fa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .recomendados-ver-mais a::after {
    content: '→';
    margin-left: 6px;
    font-size: 16px;
  }
}


/* Oculta a seção recomendados-mobile no desktop */
@media (min-width: 769px) {
  .recomendados-mobile {
    display: none !important;
  }
}




/* Oculta no mobile */
@media (max-width: 768px) {
  .recomendados-desktop {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .recomendados-desktop {
    background-color: #f5f5f5;
    padding: 32px 0;
    display: block;
  }

  .recomendados-desktop-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .recomendados-titulo-desktop {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
  }

  .grid-recomendados-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .produto-desktop {
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s ease;
  }

  .produto-desktop:hover {
    box-shadow: 0 0 0 2px #3483fa2e;
  }

  .produto-desktop .imagem {
    text-align: center;
    margin-bottom: 10px;
  }

  .produto-desktop .imagem img {
    height: 120px;
    object-fit: contain;
    width: auto;
  }

  .produto-desktop .titulo {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    line-height: 1.3;
  }

  .produto-desktop .precos {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 4px;
  }

  .preco-antigo {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
  }

  .preco-promocional {
    font-size: 15px;
    font-weight: bold;
    color: #000;
  }

  .desconto {
    font-size: 13px;
    font-weight: 500;
    color: #00a650;
  }

  .preco-unico {
    font-size: 15px;
    font-weight: bold;
    color: #000;
  }

  .parcelamento {
    font-size: 13px;
    color: #00a650;
    margin-bottom: 4px;
  }

  .entrega {
    font-size: 13px;
    color: #00a650;
    background-color: #e6f7ec;
    padding: 2px 6px;
    border-radius: 6px;
    display: inline-block;
    margin-bottom: 4px;
  }

  .frete {
    font-size: 13px;
    color: #00a650;
  }

  .recomendados-ver-mais-desktop {
    text-align: center;
    margin-top: 24px;
  }

  .recomendados-ver-mais-desktop a {
    color: #3483fa;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
  }

  .recomendados-ver-mais-desktop a::after {
    content: ' →';
    margin-left: 4px;
  }
}


@media (max-width: 768px) {
  .icones-categorias-mobile {
    
    padding: 20px 0 8px;

  }

  .frete-topo {
    background-color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    margin: 0 16px 12px;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #333;
    justify-content: center;
    box-shadow: 0 0 0 1px #e5e5e5;
  }

  .icone-truck {
    color: #00a650;
    margin-right: 6px;
  }

  .frete-gratis-texto strong {
    color: #00a650;
    font-weight: 600;
  }

  .scroll-categorias {
    display: flex;
    overflow-x: auto;
    padding-left: 16px;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }


  .scroll-categorias2 {
    display: flex;
    overflow-x: auto;
    padding-left: 16px;
    padding-top: 10px;
    gap: 16px;
    scroll-snap-type: x mandatory;
  }

  .item-categoria {
    flex: 0 0 auto;
    width: 72px;
    text-align: center;
    text-decoration: none;
    color: #333;
    scroll-snap-align: start;
  }

  .icone-wrapper {
    width: 64px;
    height: 64px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 50%;
    margin: 0 auto 6px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .icone-wrapper img {
    width: auto;
    height: auto;
    max-width: 100%;
    border-radius: 50%;
  }

  .item-categoria .titulo {
    font-size: 12px;
    line-height: 1.2;
    word-break: break-word;
    color:  rgba(0,0,0,.55);
  }


   .titulo2 {
    font-size: 12px;
    line-height: 1.2;
    
    color: #black;
    font-weight: 600;
  }

  .scroll-categorias::-webkit-scrollbar {
    display: none;
  }

  .scroll-categorias2::-webkit-scrollbar {
    display: none;
  }
}

/* Oculta no desktop */
@media (min-width: 769px) {
  .icones-categorias-mobile {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .banner-slider-mobile {
    background: linear-gradient(to bottom, #ffe600 25%, #ffffff 100%);
    padding: 16px 0;
    position: relative;
    padding-top: 110px;
  }

  .slider-wrapper {
    max-width: 398px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 8px;
  }

  .slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
    touch-action: pan-y;
  }

  .slide {
    min-width: 100%;
    flex-shrink: 0;
  }

  .slide img {
    width: 398px;
    height: 182px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
  }
}


/* Esconde no desktop */
@media (min-width: 769px) {
  .banner-slider-mobile {
    display: none;
  }
}

@media (max-width: 768px) {
  .oferta-do-dia-mobile {
    background-color: #fff;
    padding: 16px 0;
  }

  .oferta-container {
    max-width: 360px;
    margin: 0 auto;
    padding: 0 16px;
  }

  .oferta-titulo {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee;
    padding-bottom: 8px;
  }

  .oferta-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px;
    transition: box-shadow 0.2s ease;
  }

  .oferta-card:hover {
    box-shadow: 0 0 0 2px #3483fa2e;
  }

  .oferta-imagem {
    text-align: center;
    margin-bottom: 12px;
  }

  .oferta-imagem img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
  }

  .oferta-info {
    display: flex;
    flex-direction: column;
  }

  .oferta-nome {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.3;
  }

  .oferta-precos {
    display: flex;
    flex-direction: column;
    margin-bottom: 6px;
  }

  .preco-regular {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin-bottom: 4px;
  }

  .preco-oferta {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .preco-promocional {
    font-size: 18px;
    font-weight: bold;
    color: #000;
  }

  .desconto {
    font-size: 13px;
    font-weight: 500;
    color: #00a650;
  }

  .parcelamento {
    font-size: 13px;
    color: #00a650;
    margin-bottom: 4px;
  }

  .frete {
    font-size: 13px;
    color: #00a650;
  }

  .icone-full {
    font-weight: bold;
    font-size: 13px;
  }

  .ver-todas-ofertas {
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eee;
  }

  .ver-todas-ofertas a {
    color: #3483fa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
  }

  .ver-todas-ofertas a::after {
    content: '→';
    margin-left: 6px;
    font-size: 16px;
  }
}

/* Oculta no desktop */
@media (min-width: 769px) {
  .oferta-do-dia-mobile {
    display: none !important;
  }
}


@media (max-width: 768px) {
  .mobile-slider {
    display: block;
    padding: 16px 0;
    background-color: #f9f9f9;
  }

  .slider-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 430px;
    height: 197px;
    margin: 0 auto;
    border-radius: 8px;
  }

  .slide-track {
    display: flex;
    width: 400%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }

  .slide {
    flex: 0 0 100%;
    height: 100%;
  }

  .slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 8px;
  }

  .slider-dots {
    position: absolute;
    bottom: 10px;
    width: 100%;
    text-align: center;
  }

  .slider-dots .dot {
    height: 6px;
    width: 6px;
    margin: 0 4px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
  }

  .slider-dots .dot.active {
    background-color: #555;
  }
}

/* Oculta no desktop */
@media (min-width: 769px) {
  .mobile-slider {
    display: none;
  }
}



@media (max-width: 768px) {
  .melhores-ofertas-mobile {
    background-color: #fff8e1;
    padding: 16px 0;
  }

  .ofertas-container {
    padding: 0 16px;
  }

  .ofertas-titulo {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 12px;
  }

  .ofertas-scroll {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scroll-snap-type: x mandatory;
    padding-left: 4px;
    padding-right: 4px;
  }

  .ofertas-scroll::-webkit-scrollbar {
    display: none;
  }

  .card-produto {
    flex: 0 0 auto;
    width: 160px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    scroll-snap-align: start;
  }

  .card-produto img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 8px;
  }

  .preco {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 4px;
  }

  .titulo-produto {
  font-size: 13px;
  font-weight: 500;
  margin: 6px 0;
  color: #333;
  line-height: 1.3;
  height: 36px;
  overflow: hidden;
}

.card-produto .preco {
  font-size: 14px;
  font-weight: bold;
  color: #111;
  margin: 6px 0 4px;
}


  .btn-comprar {
    background-color: #fff;
    color: #3483fa;
    border: 1px solid #3483fa;
    padding: 6px 8px;
    font-size: 13px;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    text-align: center;
    text-decoration: none;
  }

  .ver-mais-ofertas {
    margin-top: 12px;
    text-align: center;
  }

  .ver-mais-ofertas a {
    color: #3483fa;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
  }

  .ver-mais-ofertas a::after {
    content: ' →';
  }
}

.mensagem-carrinho-sucesso {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #00a650;
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 9999;
  font-size: 14px;
  animation: slideUpFadeIn 0.3s ease;
}

@keyframes slideUpFadeIn {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

.added_to_cart {
  display: none !important;
}

/* Banner fixo no mobile */
@media (max-width: 768px) {
  .banner-fixo-mobile {
    width: 100%;
    max-width: 394px;
    
    margin: 0 auto 16px auto;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
  }

  .banner-fixo-mobile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding-top: 10px;
  }
}

/* Oculta no desktop */
@media (min-width: 769px) {
  .banner-fixo-mobile {
    display: none;
  }
}


/* Oculta conteúdo mobile no desktop */
@media (min-width: 769px) {
  .mobile-only {
    display: none !important;
  }
}


@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none !important;
  }

  .container-super {
    max-width: 1160px;
    margin: 0px auto;
    padding-top: 50px;
  }

  .categorias-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: space-between;
    margin-top: 24px;
  }

  .cat-item {
    text-align: center;
    width: 150px;
    text-decoration: none;
    color: #000;
  }

  .cat-item img {
    border-radius: 50%;
    margin-bottom: 6px;
  }
}

@media (min-width: 769px) {
  .categoria-destaque-desktop {
    background-color: #f2f2f2;
    padding: 32px 0;
  }

  .categoria-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .titulo-linha {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }

  .categoria-titulo {
    font-size: 20px;
    font-weight: bold;
  }

  .ver-mais-link {
    font-size: 14px;
    color: #3483fa;
    text-decoration: none;
  }

  .ver-mais-link::after {
    content: " →";
    margin-left: 4px;
  }

  .produtos-grid-destaque {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

  .card-produto-desktop {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .card-produto-desktop a img {
  height: 120px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}


  .titulo-produto {
    font-size: 13px;
    min-height: 36px;
    margin: 4px 0;
    line-height: 1.3;
    overflow: hidden;
  }

  .preco-antigo {
    font-size: 13px;
    color: #999;
    text-decoration: line-through;
    margin: 2px 0 0;
  }

  .preco-novo {
    font-size: 16px;
    font-weight: bold;
    color: #000;
    margin: 2px 0 0;
  }

  .desconto {
    font-size: 13px;
    color: #00a650;
    font-weight: 500;
    margin-left: 4px;
  }

  .parcelamento {
    font-size: 13px;
    color: #00a650;
    margin: 2px 0;
  }

  .frete-gratis {
    font-size: 13px;
    color: #00a650;
    margin-bottom: 4px;
  }

  .faixa-promocao {
    font-size: 13px;
    background-color: #eef3fd;
    color: #3483fa;
    padding: 4px;
    border-radius: 4px;
    margin-bottom: 8px;
  }

  .btn-comprar {
    background-color: #3483fa;
    color: #fff;
    text-decoration: none;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: block;
    margin-top: auto;
  }

  .btn-comprar:hover {
    background-color: #2968c8;
  }
}

/* Oculta o conteúdo no mobile */
.desktop-only {
  display: none;
}

/* Exibe apenas a partir de 769px (desktop) */
@media (min-width: 769px) {
  .desktop-only {
    display: block;
  }
}






//* === GERAL === */
.woocommerce-account .woocommerce {
  padding-top: 100px;
  padding-bottom: 40px;
}

body, html {
  overflow-x: hidden;
  width: 100%;
}

.woocommerce,
.woocommerce-account,
.woocommerce-page {
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}



body:not(.single-product) .woocommerce * {
  box-sizing: border-box;
  max-width: 100%;
}

/* === MENU LATERAL (My Account Navigation) === */
.woocommerce-MyAccount-navigation {
  background-color: #f9f9f9;
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  margin-bottom: 10px;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 14px;
  background-color: #ffffff;
  color: #333;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation .is-active a {
  background-color: #3483fa;
  color: #fff;
  border-color: #3483fa;
}

/* === TABELA DE PEDIDOS === */
.woocommerce-orders-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.woocommerce-orders-table thead {
  background-color: #f5f5f5;
  font-size: 14px;
}

.woocommerce-orders-table tbody tr {
  border-bottom: 1px solid #e0e0e0;
}

.woocommerce-orders-table th,
.woocommerce-orders-table td {
  text-align: left;
  padding: 10px 12px;
  font-size: 14px;
  white-space: nowrap;
}

.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
  text-align: right;
}

/* Botão "Visualizar" */
.woocommerce-button {
  background-color: #3483fa;
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  display: inline-block;
}

.woocommerce-button:hover {
  background-color: #2968c8;
}

/* === LAYOUT DESKTOP (largura > 768px) === */
@media (min-width: 769px) {
  .woocommerce-account .woocommerce {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 100px 40px 40px;
  }

  .woocommerce-MyAccount-navigation {
    flex: 0 0 250px;
    max-width: 250px;
  }

  .woocommerce-MyAccount-content {
    flex: 1;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  /* Tabela em formato padrão */
  .woocommerce-orders-table {
    display: table;
    overflow-x: unset;
  }

  .woocommerce-orders-table thead {
    display: table-header-group;
  }

  .woocommerce-orders-table tbody tr {
    display: table-row;
  }

  .woocommerce-orders-table td {
    display: table-cell;
    border-bottom: 1px solid #e0e0e0;
  }

  .woocommerce-orders-table td::before {
    content: none;
  }
}

/* === LAYOUT MOBILE (largura ≤ 768px) === */
@media (max-width: 768px) {
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    gap: 10px;
  }

  .woocommerce-account .woocommerce {
    padding: 100px 0px 40px;
  }

  .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto;
  }

  .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
    font-size: 13px;
  }

   .woocommerce-orders-table {
    width: 100%;
  }

  .woocommerce-orders-table thead {
    display: none;
  }

  .woocommerce-orders-table tbody tr {
    display: block;
    margin-bottom: 15px;
    background: #fff;
    padding: 10px;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }

  .woocommerce-orders-table td {
    padding: 10px;
  }

  .woocommerce-orders-table td::before {
    content: attr(data-title) ": ";
    font-weight: bold;
    flex: 1;
    color: #333;
  }

  .woocommerce-orders-table td:last-child {
    border-bottom: none;
  }

  .woocommerce-MyAccount-content {
    width: 100%;
    padding: 16px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  }
}



/* === Detalhes do Pedido === */
.order-header-msg {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 16px;
  margin-bottom: 24px;
  font-size: 15px;
  border-radius: 6px;
}

.woocommerce-order-details {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
  margin-bottom: 30px;
}

.woocommerce-order-details__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #333;
}

.woocommerce-table--order-details {
  width: 100%;
  border-collapse: collapse;
}

.woocommerce-table--order-details th,
.woocommerce-table--order-details td {
  padding: 12px 10px;
  border: 1px solid #e0e0e0;
  font-size: 14px;
  vertical-align: top;
}

.woocommerce-table--order-details th {
  background-color: #f8f8f8;
  font-weight: 600;
  color: #333;
}

.woocommerce-customer-details {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}

.woocommerce-column__title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 12px;
  color: #444;
}

.address {
  background: #f9f9f9;
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  color: #333;
}

/* Responsivo */
@media (max-width: 768px) {
  .woocommerce-order-details,
  .woocommerce-customer-details {
    padding: 12px;
  }

  .woocommerce-table--order-details th,
  .woocommerce-table--order-details td {
    font-size: 13px;
    padding: 10px 8px;
  }

  .order-header-msg {
    font-size: 14px;
    padding: 12px;
  }
}

/* ============================
   Estilo personalizado: Endereços (Minha Conta)
   ============================ */

.woocommerce-Addresses,
.woocommerce-Address {
  margin-bottom: 30px;
}

.woocommerce-Address {
  background-color: #fff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.06);
  font-size: 14px;
}

.woocommerce-Address-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.woocommerce-Address-title h2 {
  font-size: 16px;
  margin: 0;
  color: #333;
  font-weight: 600;
}

.woocommerce-Address-title .edit {
  font-size: 13px;
  color: #3483fa;
  text-decoration: none;
}

.woocommerce-Address-title .edit:hover {
  text-decoration: underline;
}

.woocommerce-Address address {
  line-height: 1.6;
  color: #444;
  font-style: normal;
}

/* Título e descrição principal */
.woocommerce-Addresses + p,
.woocommerce h2 {
  font-size: 15px;
  margin-bottom: 16px;
  color: #222;
}

/* Corrige grid em telas maiores */
@media (min-width: 768px) {
  .woocommerce-Addresses.col2-set {
    display: flex;
    gap: 24px;
  }

  .woocommerce-Address {
    flex: 1;
  }
}

/* Responsivo (mobile) */
@media (max-width: 767px) {
  .woocommerce-Address {
    margin-bottom: 20px;
    padding: 14px;
  }

  .woocommerce-Address-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .woocommerce-Address-title .edit {
    align-self: flex-end;
  }

  .woocommerce-Address address {
    font-size: 14px;
  }
}


/* === Estilo: Editar Conta === */

.woocommerce-EditAccountForm {
  max-width: 600px;
  margin: 0 auto;
  padding: 16px;
  background: #fff;
  border-radius: 8px;
}

.woocommerce-EditAccountForm fieldset {
  margin-top: 24px;
  border: 1px solid #e0e0e0;
  padding: 16px;
  border-radius: 6px;
}

.woocommerce-EditAccountForm fieldset legend {
  font-size: 16px;
  font-weight: bold;
  padding: 0 8px;
  margin-bottom: 12px;
}

.woocommerce-EditAccountForm .form-row {
  margin-bottom: 16px;
}

.woocommerce-EditAccountForm label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.woocommerce-EditAccountForm .input-text {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.2s ease;
}

.woocommerce-EditAccountForm .input-text:focus {
  border-color: #3483fa;
  outline: none;
}

/* Estilo para <em> descritivo */
#account_display_name_description {
  font-size: 13px;
  color: #555;
  display: block;
  margin-top: 4px;
}

/* Botão */
.woocommerce-EditAccountForm button.woocommerce-Button {
  background-color: #3483fa;
  color: #fff;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.woocommerce-EditAccountForm button.woocommerce-Button:hover {
  background-color: #2968c8;
}

/* Layout responsivo */
.woocommerce-EditAccountForm .form-row-first,
.woocommerce-EditAccountForm .form-row-last {
  width: 100%;
}

@media (min-width: 600px) {
  .woocommerce-EditAccountForm .form-row-first,
  .woocommerce-EditAccountForm .form-row-last {
    float: left;
    width: 48%;
  }

  .woocommerce-EditAccountForm .form-row-first {
    margin-right: 4%;
  }

  .woocommerce-EditAccountForm .form-row-last {
    margin-left: 0;
  }

  .woocommerce-EditAccountForm .clear {
    clear: both;
  }
}

/* Melhora visual dos campos de senha */
.woocommerce-EditAccountForm input[type="password"] {
  font-family: 'Arial', sans-serif;
  letter-spacing: 1px;
}

/* Espaçamento final */
.woocommerce-EditAccountForm p {
  margin-bottom: 0;
}
