:root {
    /* Paleta Donatto Premium */
    --bg-body: #050505;       /* Preto Profundo */
    --bg-card: #121212;       /* Cinza Carvão */
    --bg-header: rgba(10, 10, 10, 0.85); /* Vidro Escuro */
    
    /* Dourado Metálico (Gradiente) */
    --brand-gold: #D4AF37;
    --brand-gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F2D06B 50%, #B89628 100%);
    
    --text-main: #f0f0f0;
    --text-muted: #888888;
    --border-color: #222222;
    
    --success: #00ff88;
    --error: #ff4444;

    --font-main: 'Inter', sans-serif;
    --font-title: 'Archivo', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

/* 19. SCROLLBAR PERSONALIZADA */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-gold); }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.5;
    margin-bottom: 400px; /* Espaço para o Footer Reveal */
    position: relative;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 15px; }

/* 5. PRELOADER */
#preloader {
    position: fixed; inset: 0; background: #000; z-index: 9999;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}
.loader-content { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; }
.loader-logo { width: 300px; height: auto; margin-bottom: 30px; animation: pulseGold 2s infinite ease-in-out; display: block; }
.loading-bar { width: 250px; height: 4px; background: #222; border-radius: 4px; overflow: hidden; position: relative; box-shadow: 0 0 10px rgba(0,0,0,0.5); }
.bar-fill { width: 0%; height: 100%; background: linear-gradient(90deg, var(--brand-gold) 0%, #fff 100%); animation: loadFill 1.5s forwards cubic-bezier(0.45, 0, 0.55, 1); box-shadow: 0 0 15px var(--brand-gold); }

@keyframes pulseGold { 
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 0 rgba(212,175,55,0)); opacity: 0.8; } 
    50% { transform: scale(1.05); filter: drop-shadow(0 0 25px rgba(212,175,55,0.6)); opacity: 1; } 
}
@keyframes loadFill { 0% { width: 0; } 100% { width: 100%; } }

/* HEADER */
#header {
    background: var(--bg-header);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: sticky; top: 0; z-index: 1000;
    transition: transform 0.3s ease;
}
#header.hide { transform: translateY(-100%); }

.top-bar { background: #000; font-size: 0.75rem; color: #aaa; padding: 6px 0; border-bottom: 1px solid #1a1a1a; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.top-links { display: flex; align-items: center; gap: 15px; cursor: pointer; }
.top-links a:hover { color: var(--brand-gold); }

.header-main { padding: 15px 0; }
.header-content { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.logo-img { height: 50px; cursor: pointer; }

/* Busca */
.search-area { flex: 1; max-width: 600px; position: relative; }
.search-container { display: flex; position: relative; width: 100%; }
.search-container input {
    width: 100%; padding: 12px 15px; background: #fff; color: #333;
    border: 2px solid transparent; border-radius: 4px 0 0 4px; font-weight: 500;
}
.search-container input:focus { border-color: var(--brand-gold); }
.voice-btn { background: #fff; border: none; color: #666; cursor: pointer; padding: 0 10px; border-top: 2px solid transparent; border-bottom: 2px solid transparent; transition: 0.2s; }
.voice-btn:hover { color: var(--brand-gold); }
.search-btn { background: var(--brand-gold); color: #000; border: none; padding: 0 25px; border-radius: 0 4px 4px 0; cursor: pointer; font-size: 1.1rem; }
.search-dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: #1a1a1a; border: 1px solid var(--brand-gold); border-top: none; z-index: 1001; display: none; max-height: 400px; overflow-y: auto; box-shadow: 0 10px 30px rgba(0,0,0,0.8); }
.search-dropdown.active { display: block; }
.search-item { display: flex; align-items: center; gap: 15px; padding: 10px; border-bottom: 1px solid #333; cursor: pointer; transition: 0.2s; }
.search-item:hover { background: #252525; }
.search-item img { width: 40px; height: 40px; object-fit: cover; border-radius: 4px; }
.search-item h4 { color: #fff; margin: 0; font-size: 0.9rem; }

/* Actions */
.user-actions { display: flex; gap: 25px; align-items: center; }
.action-item { display: flex; align-items: center; gap: 8px; cursor: pointer; color: #ccc; transition: 0.2s; }
.action-item:hover { color: var(--brand-gold); }
.icon-wrapper { position: relative; font-size: 1.4rem; }
.badge { position: absolute; top: -5px; right: -8px; background: var(--brand-gold); color: #000; font-size: 0.65rem; font-weight: 900; padding: 2px 5px; border-radius: 50%; }
.action-text { display: flex; flex-direction: column; font-size: 0.8rem; line-height: 1.1; }
.action-text span { font-weight: 700; color: #fff; }

/* NAV */
.main-nav { background: rgba(10,10,10,0.5); border-top: 1px solid #222; border-bottom: 1px solid #222; position: relative; z-index: 900; }
.nav-links { display: flex; gap: 30px; overflow: visible !important; height: 50px; align-items: center; }
.nav-link { display: flex; align-items: center; height: 100%; font-size: 0.85rem; font-weight: 700; text-transform: uppercase; color: #ccc; cursor: pointer; border-bottom: 2px solid transparent; transition: 0.2s; white-space: nowrap; }
.nav-link:hover, .nav-dropdown:hover .nav-link { color: #fff; border-bottom-color: var(--brand-gold); }
.nav-link.gold-link { color: var(--brand-gold); }

.nav-dropdown { height: 100%; display: flex; align-items: center; position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 0; background: #121212; border: 1px solid #333; border-top: 2px solid var(--brand-gold); box-shadow: 0 15px 40px rgba(0,0,0,0.9); opacity: 0; visibility: hidden; transform: translateY(10px); transition: 0.2s; z-index: 1000; padding: 15px 0; border-radius: 0 0 4px 4px; }
.nav-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown:hover .fa-chevron-down { transform: rotate(180deg); color: var(--brand-gold); transition: 0.3s; }

.mega-menu { display: flex; width: 600px; padding: 20px; gap: 30px; }
.mega-column { flex: 1; display: flex; flex-direction: column; border-right: 1px solid #222; }
.mega-column:last-child { border-right: none; }
.mega-column h4 { color: var(--brand-gold); font-size: 0.75rem; margin-bottom: 10px; text-transform: uppercase; border-bottom: 1px solid #333; padding-bottom: 5px; }
.simple-menu { width: 200px; }
.dropdown-menu a { color: #aaa; padding: 8px 10px; font-size: 0.85rem; font-weight: 500; display: block; }
.dropdown-menu a:hover { color: #fff; background: #1a1a1a; padding-left: 15px; border-left: 2px solid var(--brand-gold); }

/* HERO SECTION (Tipografia + Grid) */
.hero-wrapper { 
    position: relative; background: var(--bg-body); z-index: 10; 
    padding-top: 140px; padding-bottom: 40px;
    background-image: radial-gradient(circle at 50% 0%, #1a1a1a 0%, #050505 60%); 
}
.hero-text-centered { text-align: center; margin-bottom: 50px; position: relative; }
.hero-text-centered h2 { color: var(--brand-gold); font-size: 1rem; letter-spacing: 4px; text-transform: uppercase; margin-bottom: 15px; font-weight: 700; }
.hero-text-centered h1 { color: #fff; font-size: 4rem; font-family: var(--font-title); font-weight: 900; line-height: 1; text-transform: uppercase; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.hero-divider { width: 60px; height: 4px; background: var(--brand-gold); margin: 20px auto 0; border-radius: 2px; }

/* BENTO GRID */
.bento-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 20px; height: 280px; }
.bento-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; border: 1px solid #222; background: #111; transition: 0.4s; }
.bento-bg { width: 100%; height: 100%; object-fit: cover; transition: 0.6s ease; filter: brightness(0.5) grayscale(30%); }
.bento-content { position: absolute; bottom: 25px; left: 25px; z-index: 2; }
.bento-content span { color: var(--brand-gold); font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; display: block; margin-bottom: 5px; }
.bento-content h3 { color: #fff; font-size: 1.6rem; margin: 0; font-family: var(--font-title); text-shadow: 0 2px 10px rgba(0,0,0,0.8); }
.bento-item:hover { border-color: var(--brand-gold); transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,0.6); }
.bento-item:hover .bento-bg { transform: scale(1.1); filter: brightness(0.8) grayscale(0%); }

/* Título Vazado */
.outline-title {
    font-family: var(--font-title); font-size: 5rem; font-weight: 900; color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.1); position: absolute; top: -50px;
    left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: -1; pointer-events: none;
}

/* MAIN CONTENT */
.main-container { padding-top: 20px; padding-bottom: 60px; background: var(--bg-body); position: relative; z-index: 10; }
.breadcrumbs { font-size: 0.85rem; color: #666; margin-bottom: 20px; }
.breadcrumbs span { margin: 0 5px; }

.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; border-bottom: 1px solid #222; padding-bottom: 20px; }
.section-title { font-family: var(--font-title); font-size: 1.8rem; color: #fff; text-transform: uppercase; font-weight: 800; }

/* --- FILTROS E SELECTS (ESTILO PREMIUM CORRIGIDO) --- */
.filter-controls { display: flex; gap: 20px; flex-wrap: wrap; }

.custom-select {
    position: relative; background: #151515; border: 1px solid #333;
    border-radius: 6px; height: 50px; min-width: 180px;
    display: flex; align-items: center; padding: 0 15px; transition: 0.3s ease;
}
.custom-select:hover { border-color: var(--brand-gold); box-shadow: 0 5px 15px rgba(0,0,0,0.5); transform: translateY(-1px); }
.custom-select i { color: var(--brand-gold); font-size: 1rem; margin-right: 10px; }
.custom-select select {
    background: transparent; border: none; color: #fff; font-size: 0.9rem;
    font-weight: 600; width: 100%; height: 100%; cursor: pointer; outline: none;
    appearance: none; -webkit-appearance: none; z-index: 2;
}
.custom-select select option { background: #1a1a1a; color: #fff; padding: 10px; }
.custom-select::after {
    content: '\f078'; font-family: 'Font Awesome 5 Free'; font-weight: 900;
    color: #666; font-size: 0.7rem; position: absolute; right: 15px;
    pointer-events: none; transition: 0.3s;
}
.custom-select:hover::after { color: var(--brand-gold); transform: rotate(180deg); }

/* GRID & CARDS */
.products-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.product-card { background: #151515; border: 1px solid #222; border-radius: 8px; display: flex; flex-direction: column; overflow: hidden; position: relative; transition: 0.3s; height: 100%; }
.product-card:hover { border-color: var(--brand-gold); transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.card-img-container { position: relative; width: 100%; height: 260px; background: #000; display: flex; align-items: center; justify-content: center; overflow: hidden; border-bottom: 1px solid #222; }
.product-img { max-width: 90%; max-height: 90%; object-fit: contain; transition: 0.4s ease; }
.img-hover { 
    position: absolute; 
    inset: 0; /* Prende a imagem nas 4 pontas */
    margin: auto; /* Centraliza a imagem no eixo X e Y perfeitamente */
    max-width: 90%; 
    max-height: 90%; 
    object-fit: contain; /* Mantém a proporção real da foto, sem esticar */
    opacity: 0; 
    transition: 0.4s ease; 
}

.product-card:hover .img-hover { 
    opacity: 1; 
    transform: scale(1.05); 
}
.new-badge { position: absolute; top: 10px; left: 10px; background: var(--brand-gold); color: #000; font-size: 0.65rem; font-weight: 800; padding: 4px 8px; border-radius: 4px; z-index: 5; text-transform: uppercase; box-shadow: 0 2px 5px rgba(0,0,0,0.5); }
.btn-card-fav { position: absolute; top: 10px; right: 10px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); width: 35px; height: 35px; border-radius: 50%; color: #fff; cursor: pointer; z-index: 5; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(2px); transition: 0.2s; }
.btn-card-fav:hover { background: #fff; color: red; }
.card-info { padding: 15px; text-align: left; display: flex; flex-direction: column; flex: 1; justify-content: space-between; }
.clube { font-size: 0.7rem; color: #666; text-transform: uppercase; font-weight: 600; display: block; margin-bottom: 5px; }
.product-card h3 { font-size: 0.95rem; color: #eee; font-weight: 500; margin: 0; line-height: 1.4; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.price-container { margin-top: 10px; }
.price { font-size: 1.2rem; font-weight: 800; color: var(--brand-gold); display: block; }
.installments { font-size: 0.75rem; color: #888; display: block; }
.stock-bar-container { width: 100%; height: 4px; background: #333; margin-top: 8px; border-radius: 2px; overflow: hidden; }
.stock-bar-fill { height: 100%; border-radius: 2px; }
.blur-load { filter: blur(10px); transition: filter 0.5s; }
.blur-load.loaded { filter: blur(0); }

/* ELEMENTOS FLUTUANTES */
.floating-bag { position: fixed; bottom: 30px; left: 30px; background: rgba(26,26,26,0.9); backdrop-filter: blur(10px); border: 1px solid var(--brand-gold); color: #fff; padding: 12px 25px; border-radius: 50px; cursor: pointer; z-index: 4000; box-shadow: 0 10px 30px rgba(0,0,0,0.5); display: flex; align-items: center; gap: 15px; transition: 0.3s; }
.floating-bag:hover { transform: scale(1.05); background: var(--brand-gold); color: #000; }
.bag-icon { position: relative; font-size: 1.2rem; }
.bag-total { font-weight: bold; font-size: 0.9rem; }
.whatsapp-float { position: fixed; bottom: 30px; right: 30px; width: 60px; height: 60px; background: rgba(37, 211, 102, 0.2); backdrop-filter: blur(10px); border: 1px solid rgba(37, 211, 102, 0.4); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; color: #25d366; z-index: 4000; transition: 0.3s; box-shadow: 0 5px 20px rgba(0,0,0,0.3); }
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 0 25px rgba(37, 211, 102, 0.6); }
.chatbot-float { position: fixed; bottom: 100px; right: 35px; width: 50px; height: 50px; background: #333; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--brand-gold); z-index: 4000; cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.5); transition: 0.3s; border: 1px solid #444; }
.chatbot-float:hover { transform: translateY(-5px); background: #444; }

/* FOOTER REVEAL */
.main-footer { position: fixed; bottom: 0; left: 0; width: 100%; height: 400px; background: #080808; z-index: -1; display: flex; flex-direction: column; justify-content: flex-end; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-bottom: 50px; }
.footer-col h4 { color: #fff; margin-bottom: 20px; font-size: 0.9rem; border-left: 3px solid var(--brand-gold); padding-left: 10px; }
.footer-col ul li { margin-bottom: 10px; color: #888; }
.footer-col a:hover { color: var(--brand-gold); }
.payment-methods { font-size: 2rem; display: flex; gap: 15px; color: #555; margin-bottom: 15px; }
.security-seal { display: flex; align-items: center; gap: 10px; color: #666; font-size: 0.8rem; }
.footer-bottom { background: #000; padding: 20px 0; text-align: center; font-size: 0.8rem; border-top: 1px solid #1a1a1a; }

/* MODAIS */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.9); backdrop-filter: blur(5px); z-index: 2000; opacity: 0; visibility: hidden; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.modal-overlay.active { opacity: 1; visibility: visible; }
.right-sidebar { position: fixed; top: 0; right: -450px; width: 420px; height: 100%; background: var(--bg-card); z-index: 2001; transition: 0.4s; border-left: 1px solid #333; display: flex; flex-direction: column; box-shadow: -10px 0 50px rgba(0,0,0,0.8); }
.right-sidebar.active { right: 0; }
.sidebar-header { padding: 20px; background: #0f0f0f; border-bottom: 1px solid #222; display: flex; justify-content: space-between; align-items: center; }
.sidebar-header h3 { color: #fff; }
.close-sidebar-btn { background: none; border: none; font-size: 1.4rem; color: #fff; cursor: pointer; }
.shipping-progress-container { background: #1a1a1a; padding: 15px; border-bottom: 1px solid #333; }
.shipping-text { font-size: 0.85rem; text-align: center; color: #ccc; margin-bottom: 8px; }
.progress-bar-bg { background: #333; height: 6px; border-radius: 3px; overflow: hidden; }
.progress-bar-fill { height: 100%; background: var(--brand-gold); transition: width 0.5s; }
.sidebar-content { flex: 1; overflow-y: auto; padding: 20px; }
.sidebar-footer { padding: 25px; background: #0f0f0f; border-top: 1px solid #222; }
.checkout-btn-final { background: var(--brand-gold-gradient); color: #000; width: 100%; padding: 18px; font-weight: 900; font-size: 1rem; border: none; border-radius: 4px; cursor: pointer; text-transform: uppercase; transition: 0.2s; }
.checkout-btn-final:hover { transform: translateY(-2px); box-shadow: 0 5px 20px rgba(212,175,55,0.3); }

/* --- BOTÕES SECUNDÁRIOS (ESTILO PREMIUM CORRIGIDO) --- */
.btn-guide-action {
    background: transparent;
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    padding: 10px 20px;
    font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    border-radius: 6px; cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 120px;
}
.btn-guide-action:hover {
    background: var(--brand-gold); color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px); font-weight: 800;
}
.btn-guide-action i { font-size: 1rem; }

/* CHECKOUT MODAL */
.checkout-card { background: #0f0f0f; width: 1000px; max-width: 95%; max-height: 90vh; border-radius: 12px; display: flex; flex-direction: column; border: 1px solid #222; box-shadow: 0 20px 60px rgba(0,0,0,0.9); overflow: hidden; }
.checkout-header { padding: 25px 40px; background: #141414; border-bottom: 1px solid #222; display: flex; flex-direction: column; gap: 5px; }
.checkout-header h2 { font-size: 1.6rem; color: #fff; margin: 0; display: flex; align-items: center; }
.checkout-header p { font-size: 0.9rem; color: #666; margin: 0; padding-left: 28px; }
.checkout-body { display: flex; flex: 1; overflow-y: auto; }
.checkout-section { padding: 40px; flex: 1.3; }
.checkout-section.right-col { flex: 0.8; background: #121212; border-left: 1px solid #222; display: flex; flex-direction: column; position: relative; }
.section-heading { font-size: 1.1rem; color: var(--brand-gold); margin-bottom: 25px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }

.floating-group { position: relative; margin-bottom: 20px; }
.floating-group input, .floating-group textarea { width: 100%; padding: 25px 15px 8px 15px; background: #1a1a1a; border: 1px solid #333; border-radius: 6px; color: #fff; font-size: 1rem; outline: none; transition: 0.3s ease; font-family: var(--font-main); }
.floating-group textarea { resize: none; height: 60px; }
.floating-group label { position: absolute; top: 50%; left: 15px; transform: translateY(-50%); color: #888; font-size: 0.95rem; transition: 0.3s ease; pointer-events: none; font-weight: 500; }
.floating-group input:focus, .floating-group input:not(:placeholder-shown), .floating-group textarea:focus, .floating-group textarea:not(:placeholder-shown) { border-color: var(--brand-gold); background: #202020; }
.floating-group input:focus ~ label, .floating-group input:not(:placeholder-shown) ~ label, .floating-group textarea:focus ~ label, .floating-group textarea:not(:placeholder-shown) ~ label { top: 10px; left: 15px; transform: none; font-size: 0.7rem; color: var(--brand-gold); font-weight: 700; text-transform: uppercase; }
.input-icon-right { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--brand-gold); }
.floating-group.disabled-look input { background: #111; border-color: transparent; color: #aaa; }

.gift-checkbox { display: flex; align-items: center; gap: 15px; background: rgba(212, 175, 55, 0.05); padding: 15px; border: 1px dashed #444; border-radius: 6px; cursor: pointer; transition: 0.2s; margin-bottom: 20px; }
.gift-checkbox:hover { border-color: var(--brand-gold); }
.gift-checkbox input { display: none; }
.gift-box-visual { width: 40px; height: 40px; background: #222; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #666; transition: 0.2s; }
.gift-checkbox input:checked ~ .gift-box-visual { background: var(--brand-gold); color: #000; transform: scale(1.1) rotate(10deg); }
.gift-text span { display: block; color: #fff; font-weight: bold; font-size: 0.9rem; }
.gift-text small { color: var(--brand-gold); font-size: 0.8rem; }
.shipping-box { margin-top: 10px; padding: 15px; background: #1a1a1a; border-left: 4px solid var(--brand-gold); display: flex; align-items: center; gap: 10px; border-radius: 0 4px 4px 0; }
.shipping-box i { color: var(--brand-gold); font-size: 1.2rem; }

.coupon-wrapper { margin-bottom: 20px; }
.coupon-input-container { display: flex; align-items: center; background: #000; border: 1px dashed #444; border-radius: 6px; padding: 5px; position: relative; transition: 0.3s; }
.coupon-input-container:focus-within { border-color: var(--brand-gold); border-style: solid; }
.coupon-icon { padding: 0 15px; color: var(--brand-gold); font-size: 1rem; }
#coupon-input { flex: 1; background: transparent; border: none; color: #fff; font-weight: bold; text-transform: uppercase; font-size: 0.9rem; padding: 12px 0; outline: none; }
.btn-apply { background: #222; color: #fff; border: none; padding: 8px 15px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; cursor: pointer; transition: 0.2s; margin-right: 5px; }
.btn-apply:hover { background: var(--brand-gold); color: #000; }

.order-receipt { background: #181818; padding: 25px; border-radius: 8px; border: 1px solid #222; margin: 20px 0; }
.receipt-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 0.9rem; color: #aaa; }
.receipt-row.discount span:last-child { color: var(--success); }
.receipt-divider { height: 1px; background: #333; margin: 15px 0; border-bottom: 1px dashed #444; }
.receipt-total { display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 1.1rem; font-weight: 700; }
.receipt-total span:last-child { font-size: 1.6rem; color: var(--brand-gold); text-shadow: 0 0 15px rgba(212, 175, 55, 0.2); }

.payment-trust-container { background: #181818; border: 1px solid #222; border-radius: 8px; padding: 15px; text-align: center; margin-bottom: 20px; }
.payment-trust-container p { font-size: 0.7rem; color: #666; margin-bottom: 8px; text-transform: uppercase; letter-spacing: 1px; }
.mp-logo-container { background: #fff; padding: 8px 20px; border-radius: 4px; display: inline-block; margin-bottom: 10px; }
.mp-logo { height: 25px; width: auto; display: block; }
.payment-methods-mini { display: flex; justify-content: center; gap: 15px; font-size: 0.8rem; color: #ccc; border-top: 1px solid #2a2a2a; padding-top: 10px; }
.payment-methods-mini i { color: var(--brand-gold); margin-right: 5px; }
.ssl-note { text-align: center; font-size: 0.75rem; color: #555; margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.pulse-shadow { animation: pulseGlow 2s infinite; }
@keyframes pulseGlow { 0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); } 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); } }

/* PRODUCT MODAL */
.product-modal-card { background: var(--bg-card); width: 900px; max-width: 95%; max-height: 90vh; display: flex; border: 1px solid #333; border-radius: 4px; overflow: hidden; position: relative; box-shadow: 0 0 50px rgba(0,0,0,0.9); }
.modal-gallery { width: 55%; background: #080808; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; border-right: 1px solid #222; }
.main-img-area { width: 100%; height: 400px; display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; margin-bottom: 15px; }
.main-img-area img { max-width: 100%; max-height: 100%; object-fit: contain; }
.thumb-img-area { width: 70px; height: 70px; border: 1px solid #333; cursor: pointer; border-radius: 4px; overflow: hidden; opacity: 0.6; transition: 0.3s; }
.thumb-img-area:hover { opacity: 1; border-color: var(--brand-gold); transform: scale(1.05); }
.thumb-img-area img { width: 100%; height: 100%; object-fit: cover; }
.modal-info { width: 45%; padding: 30px; overflow-y: auto; background: var(--bg-card); display: flex; flex-direction: column; }
.modal-info h2 { font-size: 1.8rem; color: #fff; font-family: var(--font-title); margin-bottom: 5px; line-height: 1.1; }
.modal-info h3 { font-size: 2rem; color: var(--brand-gold); font-weight: 300; margin-bottom: 5px; }
.installment-text { color: #888; font-size: 0.9rem; margin-bottom: 25px; }
.size-header-row { margin-bottom: 15px; }
.size-selector { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.size-opt { width: 45px; height: 45px; background: #0f0f0f; border: 1px solid #333; color: #888; display: flex; align-items: center; justify-content: center; font-weight: bold; cursor: pointer; border-radius: 4px; transition: 0.2s; }
.size-opt:hover { border-color: #666; color: #fff; }
.size-opt.selected { background: var(--brand-gold); color: #000; border-color: var(--brand-gold); box-shadow: 0 0 10px rgba(212, 175, 55, 0.4); }
.size-opt.disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; border-color: #222; }
.modal-actions { margin-top: auto; }
.login-card { width: 400px; padding: 40px; text-align: center; }
.close-modal-x { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; color: #fff; cursor: pointer; z-index: 10; }
.checkout-header, .login-header { padding: 10px 30px; background: #0f0f0f; border-bottom: 1px solid #222; }
.input-group label { color: #888; font-size: 0.75rem; display: block; margin-bottom: 5px; }
.input-group input, textarea { width: 100%; background: #1a1a1a; border: 1px solid #333; padding: 12px; color: #fff; border-radius: 4px; }
/* --- AJUSTE BOTÃO GOOGLE (MENOR E CENTRALIZADO) --- */
.google-btn {
    width: auto;                /* Não ocupa mais 100% */
    min-width: 200px;           /* Tamanho mínimo */
    padding: 10px 20px;         /* Menos enchimento */
    background: #fff;
    border: none;
    border-radius: 50px;        /* Bordas arredondadas modernas */
    cursor: pointer;
    margin: 20px auto 0 auto;   /* Centraliza horizontalmente */
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #333;
    transition: transform 0.2s;
}

.google-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.google-icon {
    width: 20px; /* Ícone menor */
    height: 20px;
}

/* --- ESTILO DA TABELA DE MEDIDAS --- */
.size-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    font-size: 0.9rem;
    color: #ddd;
}

.size-table th {
    background-color: var(--brand-gold);
    color: #000;
    padding: 12px;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 1px;
}

.size-table td {
    padding: 12px;
    border-bottom: 1px solid #333;
    text-align: center;
}

.size-table tr:hover td {
    background-color: #1a1a1a;
    color: var(--brand-gold);
}

/* --- TEXTO INSTITUCIONAL (SCROLL) --- */
.institutional-content {
    color: #ccc;
    line-height: 1.6;
    font-size: 0.95rem;
    padding: 10px;
    text-align: justify;
}
.institutional-content h4 {
    color: var(--brand-gold);
    margin-top: 20px;
    margin-bottom: 10px;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
}

.mobile-search-trigger { display: none; }
/* =========================================
   GALERIA DE FOTOS DINÂMICA (ILIMITADA)
   ========================================= */
.thumbs-container {
    display: flex; 
    gap: 10px; 
    margin-top: 15px; 
    justify-content: center; 
    flex-wrap: wrap; /* Isso faz as fotos pularem de linha caso passe de 5 */
    max-height: 180px; /* Limita a altura para o modal não ficar gigante */
    overflow-y: auto; 
    width: 100%; 
    padding-bottom: 5px;
}

/* Estilizando a barrinha de rolagem das miniaturas (caso tenha 20 fotos) */
.thumbs-container::-webkit-scrollbar { width: 5px; }
.thumbs-container::-webkit-scrollbar-track { background: transparent; }
.thumbs-container::-webkit-scrollbar-thumb { background: var(--brand-gold); border-radius: 4px; }

@media (max-width: 768px) {
    /* 1. Cabeçalho e Busca Mobile */
    .top-bar { display: none; }
    .header-content { flex-wrap: wrap; gap: 15px; padding: 10px 15px; }
    .logo-area { order: 1; flex: 1; }
    .logo-img { height: 35px; } 
    .user-actions { order: 2; gap: 15px; }
    .action-text { display: none; }
    .icon-wrapper { font-size: 1.4rem; color: #fff; }

    .mobile-search-trigger { display: flex; } 
    
    .search-area {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        max-width: 100%;
        background: #121212;
        padding: 15px;
        border-bottom: 1px solid #333;
        z-index: 999;
        box-shadow: 0 15px 30px rgba(0,0,0,0.9);
        margin-top: 0;
    }
    .search-area.active { display: block; } 
    .search-container input { font-size: 16px; border-radius: 4px; padding: 12px 15px; }
    .search-btn { position: absolute; right: 0; top: 0; height: 100%; background: transparent; color: var(--brand-gold); }
    .voice-btn { display: none; }

    /* 2. Menu de Navegação - Dropdowns Flutuantes */
    .nav-links { overflow-x: auto !important; width: 100%; padding-bottom: 5px; display: flex; align-items: center; }
    .nav-links::-webkit-scrollbar { display: none; }
    .mega-menu, .simple-menu { display: none !important; }
    
    /* Configuração do "Mini-Modal" dos Times */
    .dropdown-menu { 
        display: none !important; 
        position: fixed; 
        top: 130px; 
        left: 5%; 
        width: 90%; 
        background: #1a1a1a; 
        border: 1px solid var(--brand-gold);
        border-radius: 8px; 
        padding: 20px; 
        z-index: 2000;
        box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    }
    .dropdown-menu.show-mobile { display: flex !important; flex-direction: column; opacity: 1; visibility: visible; transform: none; }
    
    .mega-menu { flex-direction: column; gap: 15px; }
    .mega-column { border-right: none; border-bottom: 1px solid #333; padding-bottom: 15px; }
    .mega-column:last-child { border-bottom: none; padding-bottom: 0; }
    .mega-column h4 { font-size: 0.9rem; }
    
    .dropdown-trigger i { padding: 10px; margin-left: 0; font-size: 1.1rem; }

    /* 3. Capa (Hero) e Bento Grid */
    .hero-wrapper { padding-top: 110px; padding-bottom: 20px; }
    .hero-text-centered h1 { font-size: 2.2rem; } 
    .hero-text-centered h2 { font-size: 0.85rem; }
    .outline-title { display: none; }

    .bento-grid { grid-template-columns: 1fr; height: auto; gap: 15px; }
    .bento-item { height: 140px; }
    .bento-item.large { height: 160px; }
    .bento-content h3 { font-size: 1.4rem; }

    /* 4. Grade de Produtos */
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .card-img-container { height: 150px; }
    .product-card h3 { font-size: 0.85rem; height: 35px; -webkit-line-clamp: 2; }
    .price { font-size: 1rem; }
    .installments { font-size: 0.65rem; }
    .card-info { padding: 10px; }

    /* 5. Filtros e Elementos Flutuantes */
    .filter-controls { width: 100%; gap: 10px; }
    .custom-select { flex: 1; min-width: auto; height: 45px; }
    .custom-select select { font-size: 0.85rem; }

    .floating-bag { bottom: 20px; left: 20px; padding: 10px 15px; }
    .bag-total { display: none; } 
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 25px; }
    .chatbot-float { display: none; }

    /* 6. Rodapé */
    body { margin-bottom: 0; }
    .main-footer { position: relative; height: auto; z-index: 1; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-col h4 { border-left: none; border-bottom: 2px solid var(--brand-gold); padding-left: 0; padding-bottom: 5px; display: inline-block; }
    .payment-methods, .security-seal { justify-content: center; }

    /* 7. Modais (Produto, Checkout) */
    .modal-overlay { padding: 0; }
    .checkout-card, .product-modal-card { width: 100%; height: 100%; border-radius: 0; border: none; max-width: 100%; max-height: 100%; }
    
    .product-modal-card { flex-direction: column; overflow-y: auto; }
    .modal-gallery { width: 100%; height: auto; padding: 15px; padding-top: 50px; border-right: none; border-bottom: 1px solid #222; }
    .main-img-area { height: 250px; margin-bottom: 10px; }
    .thumb-img-area { width: 50px; height: 50px; }
    .modal-info { width: 100%; padding: 20px; padding-bottom: 90px; } 
    .modal-actions { position: fixed; bottom: 0; left: 0; width: 100%; background: #121212; padding: 15px; z-index: 100; border-top: 1px solid #333; }
    .btn-guide-action { width: 100%; margin-bottom: 5px; }

    .checkout-header { padding: 15px 20px; }
    .checkout-header h2 { font-size: 1.3rem; }
    .checkout-body { flex-direction: column; overflow-x: hidden; }
    .checkout-section { padding: 20px; } 
    .checkout-section.right-col { max-width: 100%; border-left: none; border-top: 1px solid #333; }
    .form-row { flex-direction: column; } 

    .right-sidebar { width: 85%; }

    /* =========================================
       TABELA GUIA DE MEDIDAS (HORIZONTAL E LIMPA)
       ========================================= */
    .size-table {
        width: 100%;
        min-width: 600px; 
        border-collapse: collapse;
        margin: 0;
        font-size: 0.95rem; 
        background: #121212;
    }

    .size-table th, 
    .size-table td {
        padding: 18px 25px; 
        text-align: center;
        border: 1px solid #333;
        white-space: nowrap; 
    }

    .size-table th {
        background-color: var(--brand-gold);
        color: #000;
        font-weight: 900;
        font-family: var(--font-title);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .size-table td:first-child {
        font-weight: 800;
        color: var(--brand-gold);
        background: rgba(255, 255, 255, 0.05);
        font-size: 1.1rem;
        position: sticky;
        left: 0;
        z-index: 10;
        border-right: 2px solid #444; 
    }

    .size-table th:first-child {
        position: sticky;
        left: 0;
        z-index: 11;
        border-right: 2px solid #b89628;
    }

    .size-table tr:nth-child(even) { background-color: #1a1a1a; }
    .size-table tr:nth-child(odd) { background-color: #121212; }

    .size-table tr:hover td {
        background-color: rgba(212, 175, 55, 0.15);
        color: #fff;
        transition: 0.2s;
    }
}
/* =========================================
   ÁREA DO CLIENTE (PAINEL MODAL)
   ========================================= */
.account-layout { display: flex; height: 100%; min-height: 550px; width: 100%; }
.account-sidebar { width: 280px; background: #0f0f0f; border-right: 1px solid #222; display: flex; flex-direction: column; flex-shrink: 0; }
.account-user-info { padding: 30px 20px; text-align: center; border-bottom: 1px solid #222; }
.user-avatar { width: 70px; height: 70px; background: rgba(212, 175, 55, 0.05); border: 2px solid var(--brand-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; margin: 0 auto 15px; color: var(--brand-gold); overflow: hidden; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-menu { display: flex; flex-direction: column; padding: 15px 0; flex: 1; }
.acc-menu-btn { padding: 18px 25px; text-align: left; font-size: 0.95rem; font-weight: 500; color: #888; background: transparent; border: none; border-left: 3px solid transparent; transition: 0.2s; display: flex; align-items: center; gap: 15px; cursor: pointer; }
.acc-menu-btn:hover { background: #1a1a1a; color: #fff; }
.acc-menu-btn.active { border-left-color: var(--brand-gold); color: var(--brand-gold); font-weight: 700; background: #151515; }
.acc-menu-btn.text-danger { color: #ff4444; margin-top: auto; border-top: 1px solid #222; }
.acc-menu-btn.text-danger:hover { background: rgba(255, 68, 68, 0.1); color: #ff4444; }

.account-content { flex: 1; padding: 35px; overflow-y: auto; background: #121212; }
.account-content h3 { font-size: 1.4rem; color: #fff; margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 15px; }

/* Cartões de Pedido no Painel */
.order-card-new { border: 1px solid #333; border-radius: 8px; padding: 25px; margin-bottom: 20px; background: #161616; display: flex; flex-direction: column; gap: 15px; transition: 0.3s; }
.order-card-new:hover { border-color: #444; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.order-card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2a2a2a; padding-bottom: 15px; }
.order-card-header h4 { margin: 0; color: var(--brand-gold); font-size: 1.1rem; }
.order-status { padding: 6px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.status-aguardando_pagamento { background: rgba(255, 165, 0, 0.1); color: orange; border: 1px solid rgba(255, 165, 0, 0.3); }
.status-pago { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.3); }
.status-enviado { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-cancelado { background: rgba(255, 68, 68, 0.1); color: #ff4444; border: 1px solid rgba(255, 68, 68, 0.3); }

.order-timeline { background: #222; height: 6px; border-radius: 3px; position: relative; overflow: hidden; margin-top: 10px; }
.order-timeline-fill { height: 100%; transition: width 1s ease-in-out; border-radius: 3px; }
.order-timeline-labels { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: #666; margin-top: 5px; }

@media (max-width: 768px) {
  .account-layout { flex-direction: column; min-height: auto; }
  .account-sidebar { width: 100%; border-right: none; border-bottom: 1px solid #333; }
  .account-user-info { padding: 15px; display: flex; align-items: center; gap: 15px; text-align: left; }
  .user-avatar { margin: 0; width: 50px; height: 50px; font-size: 20px; }
  .account-menu { flex-direction: row; overflow-x: auto; padding: 0; border-top: 1px solid #222; }
  .account-menu::-webkit-scrollbar { display: none; }
  .acc-menu-btn { padding: 15px; border-left: none; border-bottom: 3px solid transparent; white-space: nowrap; flex: 1; justify-content: center; font-size: 0.85rem; }
  .acc-menu-btn.active { border-bottom-color: var(--brand-gold); border-left: none; }
  .account-content { padding: 15px; }
  .order-card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}
/* =========================================
   ÁREA DO CLIENTE (PAINEL MODAL HORIZONTAL)
   ========================================= */
.account-layout { display: flex; flex-direction: column; height: 100%; min-height: 500px; width: 100%; }
.account-sidebar { width: 100%; background: #0f0f0f; border-bottom: 1px solid #222; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; flex-shrink: 0; }
.account-user-info { display: flex; align-items: center; gap: 15px; padding: 15px 0; border: none; text-align: left; }
.user-avatar { width: 45px; height: 45px; background: rgba(212, 175, 55, 0.05); border: 2px solid var(--brand-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; margin: 0; color: var(--brand-gold); overflow: hidden; }
.user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.account-user-info h4 { font-size: 1.1rem; margin: 0; color: #fff;}
.account-user-info p { display: none; } /* Oculta o email no desktop para ficar limpo */

.account-menu { display: flex; flex-direction: row; padding: 0; flex: 1; justify-content: flex-end; gap: 15px; }
.acc-menu-btn { padding: 18px 20px; background: transparent; color: #888; border: none; border-bottom: 3px solid transparent; font-size: 0.95rem; text-align: center; cursor: pointer; transition: 0.2s; display: flex; align-items: center; gap: 8px;}
.acc-menu-btn:hover { color: #fff; }
.acc-menu-btn.active { color: var(--brand-gold); border-bottom-color: var(--brand-gold); font-weight: 700; }
.acc-menu-btn.text-danger { color: #ff4444; }
.acc-menu-btn.text-danger:hover { background: rgba(255, 68, 68, 0.1); }

.account-content { flex: 1; padding: 35px; overflow-y: auto; background: #121212; }
.account-content h3 { font-size: 1.4rem; color: #fff; margin-bottom: 25px; border-bottom: 1px solid #333; padding-bottom: 15px; }

/* Cartões de Pedido no Painel */
.order-card-new { border: 1px solid #333; border-radius: 8px; padding: 25px; margin-bottom: 20px; background: #161616; display: flex; flex-direction: column; gap: 15px; transition: 0.3s; }
.order-card-new:hover { border-color: #444; box-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.order-card-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #2a2a2a; padding-bottom: 15px; }
.order-card-header h4 { margin: 0; color: var(--brand-gold); font-size: 1.1rem; }
.order-status { padding: 6px 12px; border-radius: 4px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.status-aguardando_pagamento { background: rgba(255, 165, 0, 0.1); color: orange; border: 1px solid rgba(255, 165, 0, 0.3); }
.status-pago { background: rgba(0, 255, 136, 0.1); color: #00ff88; border: 1px solid rgba(0, 255, 136, 0.3); }
.status-enviado { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.status-cancelado { background: rgba(255, 68, 68, 0.1); color: #ff4444; border: 1px solid rgba(255, 68, 68, 0.3); }

.order-timeline { background: #222; height: 6px; border-radius: 3px; position: relative; overflow: hidden; margin-top: 10px; }
.order-timeline-fill { height: 100%; transition: width 1s ease-in-out; border-radius: 3px; }
.order-timeline-labels { display: flex; justify-content: space-between; font-size: 0.75rem; font-weight: 600; color: #666; margin-top: 5px; }

@media (max-width: 768px) {
    .account-sidebar { flex-direction: column; align-items: flex-start; padding: 0; }
    .account-user-info { padding: 15px; width: 100%; border-bottom: 1px solid #222; display: flex; }
    .account-user-info p { display: block; } /* Mostra email no celular */
    .account-menu { width: 100%; overflow-x: auto; justify-content: flex-start; gap: 0; }
    .acc-menu-btn { flex: 1; white-space: nowrap; padding: 15px; justify-content: center; }
    .account-content { padding: 15px; }
    .order-card-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}