/* ==========================================================================
  



1. CONFIGURAÇÕES DE VARIÁVEIS (:ROOT)
   ========================================================================== */
:root {
    --primary-color: #f5be0c;
    --secondary-color: #ec4899;
    --accent-color: #f59e0b;
    --dark-bg: #0f172a;
    --card-bg: #1e293b;
    --text-primary: #f1773e;
    --text-secondary: #cbd5e1;
    --border-color: #334155;
    --success-color: #10b981;
    --gradient-1: linear-gradient(135deg, #dd0e0e 0%, #f0e32a 100%);
    --gradient-2: linear-gradient(135deg, #daac16 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #f1773e 0%, #fafe00 100%);
	

}

/* ==========================================================================
   2. RESET E ESTILOS GLOBAIS
   ========================================================================== */
* {
    margin-top: 0px;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0007ef;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.log a {
    color: chocolate;
    text-decoration: none;
    cursor: pointer;
}

/* ==========================================================================
   3. HEADER STYLES
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.nav-brand h1 {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-highlight {
    color: var(--secondary-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Ações do Nav */
.nav-actions {
    display: flex;
    gap: 1rem;
}

.meulink {
    display: none;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    background: var(--primary-color);
    transition: background 0.3s ease;
}

.search-btn,
.cart-btn {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.75rem;
    border-radius: 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.search-btn:hover,
.cart-btn:hover {
    --dark-bg: #0f172a;
    transform: translateY(-2px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: green;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* ==========================================================================
   4. HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-button {
    background: var(--gradient-2);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.4);
}

/* Elementos Visuais do Hero */
.hero-visual {
    flex: 1;
    position: relative;
    height: 500px;
}

.floating-card {
    position: absolute;
    width: 200px;
    height: 250px;
    border-radius: 20px;
    animation: float 6s ease-in-out infinite;
}

.card-1 { background: var(--gradient-1); top: 20%; left: 10%; animation-delay: 0s; }
.card-2 { background: var(--gradient-2); top: 50%; right: 20%; animation-delay: 2s; }
.card-3 { background: var(--gradient-3); bottom: 10%; left: 30%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   5. PRODUCTS SECTION
   ========================================================================== */
.products-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, var(--dark-bg) 0%, #1e293b 100%);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    background: var(--gradient-3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: var(--card-bg);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.add-to-cart-btn {
    width: 100%;
    background: var(--gradient-1);
    color: white;
    border: none;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-to-cart-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

/* ==========================================================================
   6. CART SIDEBAR
   ========================================================================== */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 80vh;
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    transition: right 0.3s ease;
    z-index: 2000;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.cart-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
}

.close-cart {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.close-cart:hover {
    color: var(--secondary-color);
}

.cart-items {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    margin-bottom: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}


/* CONTINUAÇÃO DO CARRINHO */
.cart-item-info {
    flex: 1;
}

.cart-item-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--accent-color);
    font-weight: 600;
}

.remove-item {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.3s ease;
}

.remove-item:hover {
    color: var(--secondary-color);
}

.empty-cart {
    text-align: center;
    color: var(--text-secondary);
    padding: 2rem;
}

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-btn {
    width: 100%;
    background: var(--success-color);
    color: white;
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

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

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   RESPONSIVE DESIGN (GERAL)
   ========================================================================== */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 1rem;
    }

    .hero-visual {
        height: 300px;
        margin-top: 2rem;
    }

    .cart-sidebar {
        width: 100%;
        right: -100%;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   SCROLLBAR STYLES
   ========================================================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* ==========================================================================
   FOOTER RESPONSIVO
   ========================================================================== */
.footer {
    width: 100%;
    background: #0f172a;
    border-top: 1px solid #334155;
    padding: 2rem 1rem;
    margin-top: 3rem;
    color: #ececec82;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    align-items: left;
    text-align: center;
}

.footer-brand {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand img {
    width: 100px;
    max-width: 100%;
    border-radius: 8px;
    transition: transform .3s;
    float: inherit;
    padding: 5px;
    margin-top: 2%;
}

.footer-brand img:hover {
    transform: scale(1.1);
}

.footer-title h3 {
    justify-content: center;
    font-size: 1.1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.footer-text p {
    margin-top: 2rem;
    font-size: 1.5rem;
    color: #cbd5e1;
    text-align: center;
}

.footer-bottom {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #cbd5e1;
    text-align: center;
}

/* ==========================================================================
   BUSCA E ANIMAÇÕES
   ========================================================================== */
.search-bar {
    width: 100%;
    background: var(--dark-bg);
    padding: 10px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    font-size: 16px;
}

.search-bar input {
    width: 50%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 5px 0 0 5px;
    font-size: 16px;
    outline: none;
}

.search-btn {
    background-color: #132741;
    color: white;
    border-radius: 0px 5px 5px 0px;
    padding: 10px;
}

.footer-text p {
    display: flex;
    gap: 2px;
    margin-top: 5px;
    justify-content: center;
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-style: normal;
    color: rgb(238, 197, 62);
    animation: suave 2.5s ease-in-out infinite alternate;
}

@keyframes suave {
    0% { opacity: 2; transform: translateY(3px); }
    50% { opacity: 2; transform: translateY(-1px); }
    100% { opacity: -2; transform: translateY(-3px); }
}

/* ==========================================================================
   HERO RESPONSIVO (Imagens Mobile)
   ========================================================================== */
@media (max-width: 768px) {
    .floating-card {
        width: 120px !important;
        height: 150px !important;
        border-radius: 15px;
    }
    .card-1 { top: 25%; left: 5%; }
    .card-2 { top: 10%; right: 5%; }
    .card-3 { bottom: 50%; left: 5%; }
    .hero-visual {
        height: 250px !important;
        overflow: visible;
    }
}

/* ==========================================================================
   COOKIE CONSENT E SIDEBAR FIXA
   ========================================================================== */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 400px;
    margin: auto;
    background: #1e293b;
    padding: 15px;
    border: 1px solid #334155;
    border-radius: 12px;
    color: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    z-index: 5000;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.cookie-consent p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-btn {
    background: #10b981;
    border: none;
    padding: 8px 12px;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-btn:hover { opacity: 0.9; }
.cookie-btn.decline { background: #dc2626; }
.cookie-link { color: #38bdf8; text-decoration: underline; }
.cookie-link:hover { color: #60a5fa; }

/* BARRA LATERAL VERTICAL */
.sidebar-vertical {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-btn {
    background-color: #132741;
    color: #fff;
    text-decoration: none;
    padding: 12px;
    width: 70px;
    height: 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: 0.3s ease;
}

.sidebar-btn:hover {
    background-color: #1a3b60;
    transform: scale(1.08);
}

@media (max-width: 600px) {
    .sidebar-vertical { right: 10px; }
    .sidebar-btn {
        width: 60px;
        height: 60px;
        padding: 10px;
        font-size: 12px;
    }
}

/* CARDS RELACIONADOS */
.card-rel {
    text-decoration: none !important;
    color: white !important;
}

.card-rel:hover {
    color: #f39c12;
}

.grid-rel a {
    text-decoration: none !important;
    color: inherit !important;
}

/* ==========================================================================
   SUBMENU CATEGORIAS
   ========================================================================== */
.item-categoria:hover .submenu-lista {
    display: block !important;
    animation: fadeIn 0.2s ease-in-out;
}

.submenu-lista {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1a1a2e;
    min-width: 200px;
    padding: 10px 0;
    margin: 0;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    text-align: left;
    border-top: 2px solid #db5b00;
}

.submenu-lista li {
    list-style: none;
    padding: 0;
}

.submenu-lista li a {
    color: white !important;
    text-decoration: none;
    font-size: 13px;
    display: block;
    padding: 10px 20px;
    transition: 0.3s;
}

.submenu-lista li a:hover {
    background-color: #db5b00;
    padding-left: 25px;
}


    /* Animação simples de entrada */
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }


/* ==========================================================================
   5. BOTÕES FLUTUANTES (WHATSAPP E VOLTAR AO TOPO)
   ========================================================================== */

/* Botão Voltar ao Topo */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px !important;
    left: auto !important;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: #db5b00;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    display: none;
}

#backToTop:hover {
    background-color: #27ae60;
    transform: scale(1.1);
}

/* Botão WhatsApp */
.whatsapp-button, 
#whatsapp-link, 
[class*="whatsapp"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-button i, 
[class*="whatsapp"] i {
    font-size: 30px;
    color: white;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tooltip do WhatsApp */
.tooltip-whats {
	visibility: hidden;
	width: 160px;
	background-color: #333;
	color: #172817;
	text-align: center;
	border-radius: 6px;
	padding: 8px;
	position: absolute;
	right: 125%;
	font-size: 13px;
	opacity: 0;
	transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip-whats {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   4. MENU RESPONSIVO (MOBILE VS DESKTOP)
   ========================================================================== */

/* MOBILE: Até 950px */
@media (max-width: 950px) {
    .menu-toggle {
        display: block !important;
    }

    .menu-categorias-wrapper {
        display: block !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: #1a1a2e;
    }

    .menu-categorias-wrapper.active {
        max-height: 500px;
        opacity: 1;
        padding: 15px 0 !important;
        border-top: 1px solid #333;
    }

    .lista-cat {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 20px !important;
    }

    .hide-mobile {
        display: none !important;
    }
}

/* DESKTOP: Acima de 951px */
@media (min-width: 951px) {
    .menu-categorias-wrapper {
        width: auto !important;
        order: 2 !important;
        max-height: none !important;
        opacity: 1 !important;
    }
}


/* ==========================================================================
   1. CORREÇÃO DE ROLAGEM E ESTRUTURA GLOBAL
   ========================================================================== */
html {
    overflow-y: scroll !important;
    height: auto !important;
    scroll-behavior: smooth;
}



/* Reset de links global */
a {
    text-decoration: none !important;
}

/* ==========================================================================
   6. CARREGAMENTO E SKELETON LOADER
   ========================================================================== */

/* 1. O efeito de brilho (Skeleton) */
.skeleton {
    background: #ececec;
    /* Gradiente ajustado para um brilho mais suave e centralizado */
    background-image: linear-gradient(
        90deg, 
        #ececec 0px, 
        #f5f5f5 40px, 
        #ececec 80px
    );
    background-size: 200% 100%;
    border-radius: 8px;
    /* Animação corrigida para correr da esquerda para a direita */
    animation: shine 1.5s infinite linear;
}

@keyframes shine {
    from {
        background-position: -200% 0;
    }
    to {
        background-position: 200% 0;
    }
}

/* 2. Onde o esqueleto será aplicado (Ex: Imagem do Produto) */
.product-card img {
    width: 100%;
    min-height: 180px;
    display: block;
    object-fit: cover; /* Garante que a imagem não distorça ao carregar */
}

/* ==========================================================================
   3. HEADER E NAVEGAÇÃO
   ========================================================================== */
header.header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    width: 100%;
    z-index: 9999 !important;
    background: rgba(236, 72, 153, 0.4);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-menu ul {
    flex-wrap: wrap;
}

.nav-menu a:hover {
    color: #27ae60 !important;
    transition: 0.3s;
}

/* ==========================================================================
   2. VARIÁVEIS E MODO ESCURO (SOL E LUA)
   ========================================================================== */
.product-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empurra o botão sempre para o final */
    min-height: 400px; /* Ajuste essa altura conforme necessário */
}

.product-card h3 {
    height: 45px; /* Altura de mais ou menos 2 linhas de texto */
    overflow: hidden;
    margin-bottom: 10px;
}


/* ===== FOOTER ===== */
.footer {
    background: #111;
    color: #eee;
    margin-top: 50px;
}

.footer-container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #fff;
}

.footer-col p {
    font-size: 14px;
    color: #bbb;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #ff4da6;
}

/* PARTE DE BAIXO */
.footer-bottom {
    text-align: center;
    padding: 15px;
    border-top: 1px solid #222;
    font-size: 13px;
    color: #aaa;
}

/* ==========================================================================
   5. BOTÕES FLUTUANTES (WHATSAPP E VOLTAR AO TOPO)
   ========================================================================== */

/* Botão Voltar ao Topo */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px !important;
    left: auto !important;
    z-index: 9999;
    border: none;
    outline: none;
    background-color: #db5b00;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: 0.3s;
    display: none;
}

#backToTop:hover {
    background-color: #27ae60;
    transform: scale(1.1);
}

/* Botão WhatsApp */
.whatsapp-button, 
#whatsapp-link, 
[class*="whatsapp"] {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 60px;
    height: 60px;
    background-color: #0d6307;
    border-radius: 50%;
    z-index: 9999;
    text-decoration: none;
    box-shadow: 0 0px 0px rgba(0, 0, 0, 0.0);
}

.whatsapp-float {
    position: fixed !important;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF !important;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-button i, 
[class*="whatsapp"] i {
    font-size: 30px;
    color: white;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tooltip do WhatsApp */
.tooltip-whats {
	visibility: hidden;
	width: 160px;
	background-color: #333;
	color: #172817;
	text-align: center;
	border-radius: 6px;
	padding: 8px;
	position: absolute;
	right: 125%;
	font-size: 13px;
	opacity: 0;
	transition: opacity 0.3s;
}

.whatsapp-float:hover .tooltip-whats {
    visibility: visible;
    opacity: 1;
}

/* ==========================================================================
   4. MENU RESPONSIVO (MOBILE VS DESKTOP)
   ========================================================================== */

/* MOBILE: Até 950px */
@media (max-width: 950px) {
    .menu-toggle {
        display: block !important;
    }

    .menu-categorias-wrapper {
        display: block !important;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        background: #1a1a2e;
    }

    .menu-categorias-wrapper.active {
        max-height: 500px;
        opacity: 1;
        padding: 15px 0 !important;
        border-top: 1px solid #333;
    }

    .lista-cat {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding-left: 20px !important;
    }

    .hide-mobile {
        display: none !important;
    }
}

/* DESKTOP: Acima de 951px */
@media (min-width: 951px) {
    .menu-categorias-wrapper {
        width: auto !important;
        order: 2 !important;
        max-height: none !important;
        opacity: 1 !important;
    }
}


/* ==========================================================================
   1. CORREÇÃO DE ROLAGEM E ESTRUTURA GLOBAL
   ========================================================================== */
html {
    overflow-y: scroll !important;
    height: auto !important;
    scroll-behavior: smooth;
}



/* Reset de links global */
a {
    text-decoration: none !important;
}
/* Garante o alinhamento à esquerda nas colunas do footer */
.footer-col {
    text-align: left; /* Alinha o texto e títulos à esquerda */
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left; /* Garante que a lista não herde centralização */
}

.footer-col ul li {
    margin-bottom: 8px;
    display: block; /* Garante que ocupem a linha toda */
}

/* Ajuste para o container se comportar bem em telas menores */
@media (max-width: 768px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Alinha tudo à esquerda no celular também */
    }
}


 /* COSSMETICOS */
        

 /* Estilos Gerais para a página de Cosméticos */




.cosmeticos-container {
    max-width: 1000px; /* Largura ideal para 3 colunas */
    margin: 20px auto;
    background: #161b22;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #30363d;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.cosmeticos-container h1 { color: #ffffff; font-size: 32px; margin-bottom: 20px; }
.cosmeticos-container h3 { color: #f39c12; font-size: 20px; margin-top: 30px; margin-bottom: 12px; }
.cosmeticos-container p { font-size: 16px; color: #8b949e; line-height: 1.8; }
.cosmeticos-container strong { color: #f39c12; }

/* Vitrine em 3 Colunas Fixas */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: #0d1117;
    border: 1px solid #30363d;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    /* Ajuste aqui a altura total que você deseja para o card */
    height: 350px; 
}

/* O segredo para preencher o vazio */
.product-card img {
    width: 100%;
    /* Faz a imagem ocupar todo o espaço que sobra acima do texto */
    flex: 1; 
    /* Garante que ela cubra o fundo sem deixar faixas pretas */
    object-fit: cover; 
    display: block;
}

.product-card span {
    display: block;
    padding: 15px;
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    background: #161b22;
    text-align: center;
    /* Garante que o texto fique sempre colado no rodapé */
    margin-top: auto; 
    border-top: 1px solid #30363d;
}


/* Caixa de Contato */
.contact-box {
    background-color: #0d1117;
    padding: 25px;
    border-radius: 8px;
    margin-top: 40px;
    border: 1px solid #30363d;
    text-align: center;
}

.btn-contato {
    display: inline-block;
    background-color: #f39c12;
    color: #161b22 !important;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 15px;
}

/* Celular: vira 1 coluna */
@media (max-width: 768px) {
    .product-grid { grid-template-columns: 1fr; }
    .cosmeticos-container { padding: 20px; }
}




/* FORMULARIO DE CONTATO*/

/* Página de Contato Premium */
.contato-container {
    max-width: 900px;
    margin: 40px auto;
    background: #161b22;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #30363d;
    color: #ffffff;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.info-contato h3 { color: #f39c12; margin-bottom: 20px; }
.info-contato p { color: #8b949e; font-size: 14px; margin-bottom: 15px; }

/* Estilo do Formulário */
.form-contato { display: flex; flex-direction: column; gap: 15px; }

.form-contato input, .form-contato textarea {
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 12px;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.form-contato input:focus, .form-contato textarea:focus {
    border-color: #f39c12;
    outline: none;
}

.btn-enviar {
    background-color: #f39c12;
    color: #161b22 !important;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-enviar:hover { background-color: #e68a00; }

@media (max-width: 768px) {
    .contato-grid { grid-template-columns: 1fr; }
}

/* FIM DO FORMULARIO DE CONTATO*/


/* INICIO DA SESSÃO DEPOIMENTOS*/
/* Seção de Depoimentos Premium */
.reviews-section {
    padding: 60px 40px;
    background-color: #161b22;
    border-top: 1px solid #30363d;
}

.reviews-title {
    text-align: center;
    color: #ffffff;
    font-size: 28px;
    margin-bottom: 40px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.review-card {
    background-color: #0d1117;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #30363d;
    transition: 0.3s;
}

.review-card:hover {
    border-color: #f39c12;
    transform: translateY(-5px);
}

.stars {
    color: #f39c12;
    font-size: 18px;
    margin-bottom: 15px;
    display: block;
}

.review-text {
    color: #8b949e;
    font-size: 15px;
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 20px;
}

.client-name {
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    display: block;
}

.client-role {
    color: #f39c12;
    font-size: 12px;
    text-transform: uppercase;
}

/* Responsivo para Celular */
@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* FIM DA SESSÃO DEPOIMENTOS*/


/* AQUI É A NOVA PAGINA INICIAL*/

/* Container Principal da Home */
.home-cosmeticos {
    max-width: 1200px;
    margin: 0 auto;
    background: #161b22;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #30363d;
}

/* Seção de Destaque (Hero) */
.hero-section {
    padding: 80px 40px;
    text-align: center;
    background: radial-gradient(circle at top, #1c2128, #161b22);
    border-bottom: 1px solid #30363d;
}

.hero-section h1 {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 18px;
    color: #8b949e;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Grid de Categorias */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px;
}

.category-card {
    position: relative;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #30363d;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.category-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(transparent, rgba(13, 17, 23, 0.9));
    text-align: center;
}

.category-overlay span {
    color: #f39c12;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Seção de Diferenciais */
.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 60px 40px;
    background: #0d1117;
    text-align: center;
}

.feature-item h4 { color: #f39c12; margin-bottom: 10px; font-size: 18px; }
.feature-item p { color: #8b949e; font-size: 14px; }

/* Botão Call to Action */
.btn-cta {
    display: inline-block;
    background: #f39c12;
    color: #161b22 !important;
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-cta:hover { background: #e68a00; transform: translateY(-3px); }

@media (max-width: 768px) {
    .category-grid, .features-section { grid-template-columns: 1fr; }
    .hero-section h1 { font-size: 32px; }
}

/* AQUI É O FIM DA NOVA PAGINA INICIAL*/
/* Forçar o Menu a ficar sempre no topo e visível */

/* FIXAR O MENU NO TOPO */

/* Força o menu a ficar fixo no topo de qualquer jeito */
header.header { 
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important; /* Aumentei um nível para garantir que fique sobre as imagens */
    box-shadow: 0 4px 15px rgba(0,0,0,0.5); /* Sombra um pouco mais forte */
}

/* IMPORTANTE: Como o menu 'fixed' sai da contagem de espaço, 
   o conteúdo do site vai subir e ficar por baixo dele. 
   Adicione esse respiro no topo do seu body: */
body {
    padding-top: 0px; /* Ajuste esse valor de acordo com a altura do seu menu */
}

/* PARA NÃO DEIXAER FIXO NO CELULAR ATIVE ISTO */

//* 
   ============================================================
   MENU FIXO (COMENTADO - DESATIVADO)
   Para ativar, remova o "/*" do início e o "* /" do final.
   ============================================================

/* Este código só funciona em telas maiores que 768px (Tablets e PCs) */

@media (min-width: 769px) {
    header.header {
        position: -webkit-sticky !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 9999 !important;
    }
}


/* No celular (telas menores), ele volta ao normal */

@media (max-width: 768px) {
    header.header {
        position: relative !important;
    }
}

.contato-container{
max-width:900px;
margin:auto;
padding:40px 20px;
}

.contato-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:40px;
margin-top:30px;
}

.form-contato input,
.form-contato textarea{
width:100%;
padding:12px;
margin-bottom:15px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}

.form-contato button{
background:#f39c12;
border:none;
padding:12px;
color:#fff;
font-weight:bold;
border-radius:6px;
cursor:pointer;
}

.form-contato button:hover{
background:#e67e22;
}

@media(max-width:768px){

.contato-grid{
grid-template-columns:1fr;
}

}

/* Página de Contato Premium */
.contato-container {
    max-width: 900px;
    margin: 40px auto;
    background: #161b22;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #30363d;
    color: #ffffff;
}

.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.info-contato h3 { color: #f39c12; margin-bottom: 20px; }
.info-contato p { color: #8b949e; font-size: 14px; margin-bottom: 15px; }

/* Estilo do Formulário */
.form-contato { display: flex; flex-direction: column; gap: 15px; }

.form-contato input, .form-contato textarea {
    background: #0d1117;
    border: 1px solid #30363d;
    padding: 12px;
    border-radius: 6px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

.form-contato input:focus, .form-contato textarea:focus {
    border-color: #f39c12;
    outline: none;
}

.btn-enviar {
    background-color: #f39c12;
    color: #161b22 !important;
    padding: 12px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    transition: 0.3s;
}

.btn-enviar:hover { background-color: #e68a00; }

@media (max-width: 768px) {
    .contato-grid { grid-template-columns: 1fr; }
}
