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


body {
  font-family: montserrat;
  background: #f5f5f5;
  margin: 0 !important;
    padding: 0 !important;
}

.header {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-color: #007dff;
}




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




.logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  height: 84px;
  margin-bottom: 10px;
}


.search-container {
  display: flex;
  gap: none;
}

.search-input {
  flex: 1;
  padding: 0px;
  border: none;
  font-size: 17px;
  background-color: #f0f0f0;
  outline: none;
}

.search-btn {
  background-color: #fff;
  border-radius: 0px;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 10px 10px;
}

.hero {
  background-image: url("https://i.ibb.co/gbvh0Xp6/Screenshot-20260212-001859-Chrome-1.jpg");
  padding: 114px;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  color: #fff;
  text-align: center;
  padding-bottom: 70px;
}

.main {
  padding: 30px 0;
}

.section-title {
  font-size: 24px;
  margin-bottom: 20px;
}

.products-grid {
  display: grid;
}

.footer {
  background-color: #fff;
  padding: 20px;
  text-align: center;
  margin-top: 50px;
  border-top: 2px solid #007dff;
}

.footer p{
  color: #777;
  font-size: 14px;
}


/* Ajuste na Grid para mostrar os produtos em colunas responsivas */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  padding: 20px 0;
}

/* Estilo do Card do Produto */
.product-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 125, 255, 0.15);
}

.product-img {
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 15px;
}

.product-title {
  font-size: 16px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-price {
  font-size: 18px;
  color: #007dff;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Botão de comprar dentro do Card */
.buy-btn-card {
  background-color: #007dff;
  color: #fff;
  border: none;
  padding: 12px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s;
}

.buy-btn-card:hover {
  background-color: #0056b3;
}

/* BARRA SUPERIOR (HEADER) */
.gl-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: none;
    color: #fff;
    padding: 12px 16px;
    position: sticky;
    top: 0;
    z-index: 9999;
    font-family: sans-serif;
}
.gl-top-bar-title {
    font-size: 18px;
    font-weight: bold;
}
.gl-menu-btn, .gl-cart-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* MENU LATERAL (SIDEBAR) */
.gl-sidebar {
    position: fixed;
    top: 0;
    left: -280px; /* Esconde o menu totalmente para a esquerda fora da tela */
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 10001;
    transition: left 0.3s ease; /* Efeito suave deslizando */
    display: flex;
    flex-direction: column;
    font-family: sans-serif;
}
/* Classe ativada via JavaScript para abrir o menu */
.gl-sidebar.active {
    left: 0; 
}
.gl-sidebar-header {
    background: #0076ff;
    color: white;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}
.gl-sidebar-close {
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}
.gl-category-item {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #f2f2f2;
}

/* FUNDO ESCURO ATRÁS DO MENU */
.gl-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 10000;
    display: none;
}
.gl-sidebar-overlay.active {
    display: block;
}


/* Alinha o menu na esquerda, título no centro e sacola na direita */
.gl-top-bar {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}

/* Remove o fundo branco, bordas e quadrados padrões dos botões */
.gl-menu-btn, .gl-cart-btn {
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 5px !important;
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Garante que as linhas dos ícones fiquem brancas */
.gl-menu-btn svg, .gl-cart-btn svg {
  stroke: #ffffff !important;
}

/* Oculta o cabeçalho e rodapé originais do WordPress */
#masthead, 
.site-header, 
.ast-site-header,
#colophon, 
.site-footer,
.footer-widgets {
  display: none !important;
}



/* =======================================================
   AJUSTE DE LAYOUT PARA CELULAR: PRODUTOS MAIS LARGOS
   ======================================================= */
@media (max-width: 768px) {
    
    /* 1. Alarga a área útil do site tirando o excesso de margem nas laterais */
    .container,
    .site-content .ast-container,
    .woocommerce-page .site-content {
        padding-left: 8px !important;
        padding-right: 8px !important;
        max-width: 100% !important;
    }

    /* 2. Correção se estiver usando a sua Grid Customizada (.products-grid) */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* Garante 2 colunas lado a lado */
        gap: 8px !important; /* Diminui o vão do meio para dar mais espaço aos cards */
        padding: 10px 0 !important;
    }

    /* 3. Correção se estiver usando a lista padrão do WooCommerce/Astra */
    .woocommerce ul.products, 
    ul.products.columns-2 {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* 4. Deixa os Cards mais largos e menos apertados por dentro */
    .product-card,
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        padding: 10px !important; /* Reduz o espaço interno para sobrar área para o conteúdo */
        margin: 0 0 8px 0 !important;
    }

    /* Ajuste fino de tamanho para o layout do WooCommerce não quebrar */
    .woocommerce ul.products li.product, 
    .woocommerce-page ul.products li.product {
        width: calc(50% - 4px) !important; /* Divide a tela em 2 colunas perfeitas */
    }

    /* 5. Impede que a imagem fique esticada ou fina demais */
    .product-img,
    .woocommerce ul.products li.product a img {
        width: 100% !important;
        height: auto !important;
        max-height: 160px !important; /* Limita a altura para manter a proporção quadrada */
        object-fit: contain !important; /* Mantém a foto do produto inteira sem distorcer */
        margin-bottom: 10px !important;
    }



