/* ==========================================================================
   1. RESET, VARIÁVEIS E ESTILO GERAL
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #ffffff;
    color: #333333;
    -webkit-font-smoothing: antialiased;
}


/* ==========================================================================
   2. ESTRUTURA DO HEADER (PADRÃO DESKTOP / PC) - ATUALIZADO
   ========================================================================== */
header {
    background-color: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    width: 100%;
}

.header-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Força a Logo a ser o primeiro item no PC */
.logo-container {
    order: 1; 
}
.logo-container a {
    font-size: 1.8rem;
    font-weight: 900;
    color: #111111;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}
.logo-container span {
    color: #ffbc0d;
    font-weight: 700;
}

/* Escondido por padrão no PC */
.menu-toggle {
    display: none;
}

/* Força a Barra de Pesquisa a ser o SEGUNDO item (ficar no centro) no PC */
.mobile-row-2 {
    order: 2; 
    display: flex;
    align-items: center;
    flex: 1;
    max-width: 500px; /* Controla o tamanho ideal da barra central */
}

.search-box {
    position: relative;
    width: 100%;
}
.search-box input {
    width: 100%;
    padding: 12px 20px 12px 45px;
    border-radius: 30px;
    border: 1px solid #dddddd;
    background-color: #f5f5f5;
    font-size: 0.88rem;
    outline: none;
}
.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #666666;
}

/* Força o Entrar e Sacola a ser o TERCEIRO item (ficar no canto direito) no PC */
.user-actions {
    order: 3; 
    display: flex;
    align-items: center;
    gap: 25px;
}
.user-actions a {
    color: #111111;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}
.user-actions .logout-btn { color: #cc0000; }
.user-actions i { font-size: 1.1rem; }

/* Menu de Abas Horizontal Preto do PC */
.nav-menu {
    display: flex;
    background-color: #111111;
    justify-content: center;
    gap: 40px;
    padding: 14px 0;
    width: 100%;
}
.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}
.nav-menu a:hover { color: #ffbc0d; }
.nav-menu .btn-cadastrar { color: #ffbc0d; }

/* ==========================================================================
   3. VITRINE DE PRODUTOS E DETALHES (SEUS ESTILOS DA LOJA)
   ========================================================================== */
.main-store {
    padding: 50px 2%;
    max-width: 1450px;
    margin: 0 auto;
}
.subcat-menu {
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    margin-bottom: 40px;
    padding-bottom: 8px;
    text-align: center;
    border-bottom: 1px solid #f2f2f2;
}
.subcat-menu div {
    display: inline-flex;
    gap: 35px;
    justify-content: center;
    min-width: 100%;
}
.subcat-menu a {
    color: #444444;
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding-bottom: 12px;
}
.subcat-menu a:hover { color: #ffbc0d; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 35px 20px;
    width: 100%;
}
.product-card {
    background: #ffffff;
    text-decoration: none;
    color: #333333;
    display: flex;
    flex-direction: column;
    border: 1px solid #e1e1e1;
    padding: 12px;
    border-radius: 4px;
}
.image-holder {
    width: 100%;
    height: 310px;
    background-color: #f7f7f7;
    overflow: hidden;
    position: relative;
}
.image-holder img { width: 100%; height: 100%; object-fit: cover; }
.product-info { padding-top: 12px; text-align: center; }
.product-category { font-size: 0.68rem; color: #999999; text-transform: uppercase; font-weight: 600; }
.product-title { font-size: 0.82rem; font-weight: 500; margin-bottom: 6px; }
.rating { color: #ffbc0d; font-size: 0.68rem; margin-bottom: 6px; }
.product-price { font-size: 0.98rem; font-weight: 700; color: #111111; }

/* ==========================================================================
   4. RODAPÉ (FOOTER) - PADRÃO DESKTOP
   ========================================================================== */
footer {
    background-color: #111111;
    color: #bbbbbb;
    padding: 40px 20px 20px 20px;
    margin-top: 60px;
    font-size: 0.9rem;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    flex-direction: row; /* Coloca os elementos lado a lado no PC */
    text-align: left;    /* Alinhamento padrão à esquerda no PC */
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
    width: 100%;
}
.footer-section { 
    flex: 1; 
}
.footer-section h3 { 
    color: #ffffff; 
    margin-bottom: 15px; 
    font-size: 1.1rem; 
    text-transform: uppercase; 
}
.footer-section p { 
    margin: 8px 0; 
    line-height: 1.6;
}
.footer-section a { 
    color: #bbbbbb; 
    text-decoration: none; 
    line-height: 1.6; 
    font-size: 0.9rem;
    transition: color 0.2s;
    display: inline-block;
}
.footer-section a:hover { 
    color: #ffbc0d; 
}
.footer-section i { 
    margin-right: 8px; 
    color: #ffbc0d; 
}

.footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #222222;
    font-size: 0.8rem;
    color: #666666;
}

/* --- Botão Flutuante do WhatsApp (Desktop) --- */
.whatsapp-flutuante {
    position: fixed;
    width: 55px; 
    height: 55px; 
    bottom: 20px; 
    right: 20px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    text-align: center;
    font-size: 30px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.2s;
}
.whatsapp-flutuante:hover { 
    transform: scale(1.1); 
    color: #ffffff; 
}