/*
Theme Name: GeneratePress Child
Theme URI: https://generatepress.com
Description: Tema filho do GeneratePress para personalizações.
Author: Seu Nome
Author URI: https://seusite.com
Template: generatepress
Version: 1.0
*/

/* Estilo para navegadores WebKit (Chrome, Edge, Safari) 
::-webkit-scrollbar {
  width: 10px; 
  height: 10px; 
}

::-webkit-scrollbar-track {
  background: #695239;
}

::-webkit-scrollbar-thumb {
  background-color: #333; 
  border-radius: 6px;
  border: 2px solid #f1f1f1;
}

* {
  scrollbar-color: #695239 #333;
  scrollbar-width: thin;
}
*/
/* ==============
   FORMMULÁRIOS
   ============== */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

#left, #right {
  width: 48%;
  float: left;
  margin-right: 4%;
}

#right {
  margin-right: 0;
}

@media screen and (max-width: 768px) {
  #left, #right {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}
/*FIM Formularios*/

/* ==============================================
   MENU TRANSPARENTE - GENERATEPRESS - CORRIGIDO
   ============================================== */

/* HEADER PRINCIPAL */
.site-header {
    position: fixed !important;
    top: 0 !important; /* Sempre no topo para não logados */
    left: 0;
    right: 0;
    width: 100% !important;
    z-index: 9999;
    transition: all 0.3s ease;
/*     background-color: transparent !important; */
    padding: 20px 0;
    box-shadow: none !important;
    border-bottom: none !important;
}

/* MAIN NAVIGATION - GENERATEPRESS */
.main-navigation {
/*     position: static !important; */
    background: transparent !important;
    width: 100% !important;
}

/* CONTAINER DO GENERATEPRESS */
.site-header .inside-header {
    transition: all 0.3s ease;
    padding-left: 20px;
    padding-right: 20px;
}

/* ESTADO INICIAL - TRANSPARENTE */
.site-header {
  background-color: transparent !important; 
}

/* ESTADO SCROLLADO - COM FUNDO */
.site-header.scrolled {
    background-color: #fff !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
    padding: 10px 0;
} 

/* LOGO GENERATEPRESS */
.site-header .site-logo,
.site-header .site-logo img {
    transition: all 0.3s ease;
} 

.site-header.scrolled .site-logo {
     font-size: 1em;
}

/* .site-header.scrolled .site-logo img {
  transform: scale(0.8);
  max-height: 80px; 
} */

/* LINKS DO MENU - COR INICIAL BRANCA (IMPORTANTE!) */
/* .site-header .main-navigation a,
.site-header .main-navigation ul li a,
.site-header .site-title a,
.site-header .site-description,
.site-header .menu-item a {
    color: white !important;
    transition: color 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
} */

/* LINKS DO MENU - COR APÓS SCROLL ESCURA */
.site-header.scrolled .main-navigation a,
.site-header.scrolled .main-navigation ul li a,
.site-header.scrolled .site-title a,
.site-header.scrolled .site-description,
.site-header.scrolled .menu-item a {
    color: #6E6336 !important;
    text-shadow: none;
}

/* HOVER DOS LINKS */
.site-header .main-navigation a:hover,
.site-header .menu-item a:hover {
    color: #333333 !important;
}

.site-header.scrolled .main-navigation a:hover,
.site-header.scrolled .menu-item a:hover {
    color: #6E6336 !important;
}

/* MENU DROPDOWN */
.site-header .main-navigation .sub-menu,
.site-header .main-navigation .children {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.site-header .main-navigation .sub-menu a,
.site-header .main-navigation .children a {
    color: #333333 !important;
    text-shadow: none !important;
}

/* MOBILE MENU GENERATEPRESS */
.menu-toggle,
.menu-toggle span {
    color: white !important;
    transition: color 0.3s ease;
}

.site-header.scrolled .menu-toggle,
.site-header.scrolled .menu-toggle span {
    color: #333333 !important;
}

/* AJUSTE PARA ADMIN BAR - APENAS QUANDO LOGADO */
.admin-bar .site-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px !important;
    }
}

/* ESPAÇAMENTO DO CONTEÚDO */
.site {
    padding-top: 80px;
}

.admin-bar .site {
    padding-top: 112px;
}

@media (max-width: 782px) {
    .admin-bar .site {
        padding-top: 126px;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .site-header {
        padding: 15px 0;
    }
    
    .site-header.scrolled {
        padding: 10px 0;
    }
    
    .site-header .inside-header {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .site {
        padding-top: 70px;
    }
}

/* FORÇA TRANSPARÊNCIA INICIAL */
.site-header:not(.scrolled) {
    background: transparent !important;
    background-color: transparent !important;
}

/* ESPECÍFICO PARA GENERATEPRESS - EVITA CONFLITOS */
.site-header {
    box-sizing: border-box !important;
}

/* PARA STICKY NAVIGATION DO GP (se ativo) */
.sticky-enabled .site-header {
    position: fixed !important;
}


/* ===================
   PRODUTOS HOME
   =================== */
.produtos-container {
    max-width: 1200px;
    margin: 0 auto;
/*     padding: 20px; */
    font-family: Arial, sans-serif;
}

.produtos-layout {
    display: flex;
    gap: 20px;
}

.produtos-sidebar {
    flex: 0 0 280px;
}

.produtos-menu {
    background: #A1AE46;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.produtos-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.produtos-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.produtos-menu li:last-child {
    border-bottom: none;
}

.produtos-menu a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: all 0.3s ease;
}

.produtos-menu a:hover,
.produtos-menu a.active {
    background: rgba(255,255,255,0.1);
    padding-left: 30px;
}

.produtos-grid {
    flex: 1;
}

.produtos-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.produto-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.produto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.2);
}

.produto-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    background: #f5f5f5;
}

.produto-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
	background-color: white;
}

.produto-card:hover .produto-image img {
    transform: scale(1.05);
}

.produto-categoria {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #A1AE46;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.produto-info {
    padding: 15px;
}

.produto-linha {
    color: #666;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.produto-nome {
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}

.no-produtos {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 18px;
}

@media (max-width: 768px) {
    .produtos-layout {
        flex-direction: column;
    }
    
    .produtos-sidebar {
        flex: none;
    }
    
    .produtos-menu {
        margin-bottom: 20px;
    }
    
    .produtos-items {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .produtos-items {
        grid-template-columns: 1fr;
    }
}

/* ===================
   SINGLE DO PRODUTO
   =================== */
   
   .single-produto-container h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}
.produto-categoria, .produto-linha {
    font-size: 1rem;
    color: #666;
}
.produto-descricao {
    margin-top: 30px;
    line-height: 1.6;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: #46b450 !important;
}
