/* =========================================
   STYLE.CSS - MKY STUDIO (VERSÃO COMPLETA FINAL)
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&display=swap');

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: #020205; /* Fundo Preto Profundo */
    color: #e0e0e0;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* =================================================================
   CORREÇÃO FINAL DO HEADER (Cole substituindo a parte do TOPO)
   ================================================================= */

/* 1. O Cabeçalho em si */
header {
    background-color: rgba(2, 2, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 80px;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* 2. O Container que segura tudo (Logo - Menu - Icones) */
.header-container {
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;            /* Isso alinha tudo na horizontal */
    align-items: center;      /* Centraliza verticalmente */
    justify-content: space-between; /* Espalha os itens */
}

/* 3. Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
    text-transform: none;
}
.logo-img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 14px rgba(127, 0, 255, 0.38);
}
.logo-mky,
.logo-studio {
    display: inline-block;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.logo-mky {
    background-image: linear-gradient(90deg, #7F00FF 0%, #00E5FF 100%);
}
.logo-studio {
    background-image: linear-gradient(90deg, #00E5FF 0%, #7F00FF 100%);
}

/* 4. O MENU CENTRAL (Onde estava o problema) */
.header-center {
    display: flex;            /* FORÇA ficar um ao lado do outro */
    align-items: center;
    gap: 30px;                /* Espaço entre os links */
    height: 100%;
}

/* Links normais do menu */
.header-center > a {
    color: #d5d8e2;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    transition: 0.3s;
}

/* 5. A CAIXINHA DO DROPDOWN (O que escondemos) */
.dropdown {
    position: relative;       /* OBRIGATÓRIO: Mantém a caixa presa aqui */
    height: 100%;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.dropbtn {
    color: #d5d8e2;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: 0.3s;
}

/* A Gaveta que abre */
.dropdown-content {
    display: none;            /* Escondido por padrão */
    position: absolute;       /* Flutua por cima de tudo */
    top: 100%;                /* Cola exatamente embaixo do botão */
    left: 0;                  /* Alinha à esquerda do botão */
    background-color: #f8fafc;
    min-width: 220px;         /* Largura da caixa */
    box-shadow: 0 16px 40px rgba(2, 6, 23, 0.18);
    border: 1px solid #e2e8f0;
    border-top: 3px solid #7F00FF;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    flex-direction: column;
}

/* O Efeito Mágico: Passou o mouse, aparece */
.dropdown:hover .dropdown-content {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.dropdown:hover .dropbtn {
    color: white; /* O texto "Impressão 3D" fica branco */
}

/* Links dentro da gaveta */
.dropdown-content a {
    color: #1f2937;
    padding: 15px 20px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    white-space: nowrap;
}

.dropdown-content a:hover {
    background-color: #eef2ff;
    color: #6d28d9;
    padding-left: 25px; /* Efeitinho de deslizar */
}

/* 6. Ícones da Direita */
.header-right { display: flex; gap: 20px; align-items: center; }
.header-right a { color: white; font-size: 1.2rem; }

/* 7. Ajuste Mobile (Esconde o menu grande no celular) */
@media (max-width: 900px) {
    .header-center { display: none !important; } /* Some o menu quebrado */
    .mobile-menu-icon { display: block !important; }
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- 2. HOME: HERO & BANNERS --- */
.hero-wrapper {
    display: flex; align-items: center; justify-content: space-between; padding: 80px 5%; min-height: 550px;
    background: radial-gradient(circle at 20% 50%, rgba(127, 0, 255, 0.15), transparent 50%);
}
.hero-text { max-width: 50%; }
.hero-badge { background: rgba(127, 0, 255, 0.1); border: 1px solid #7F00FF; color: #d4aaff; padding: 5px 15px; border-radius: 20px; font-size: 0.8rem; text-transform: uppercase; font-weight: bold; margin-bottom: 20px; display: inline-block; }
.hero-title { font-size: 3.5rem; line-height: 1.1; font-weight: 900; margin-bottom: 20px; color: white; }
.hero-title span { background: linear-gradient(90deg, #7F00FF, #00E5FF); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-subtitle { color: #aaa; font-size: 1.1rem; margin-bottom: 30px; max-width: 500px; }

.hero-buttons { display: flex; gap: 15px; }
.btn-primary { background: #7F00FF; color: white; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; border: none; }
.btn-primary:hover { transform: translateY(-3px); background: #944dff; box-shadow: 0 0 20px rgba(127, 0, 255, 0.4); }
.btn-secondary { background: white; color: #000; padding: 15px 30px; border-radius: 8px; text-decoration: none; font-weight: bold; transition: 0.3s; }
.btn-secondary:hover { transform: translateY(-3px); background: #eee; }

.hero-image { position: relative; max-width: 45%; }
.hero-card {
    width: 100%;
    max-width: 700px;
    /* Remova a altura fixa (height: 420px) */
    height: auto; 
    background: transparent; /* Remove o fundo preto */
    border-radius: 24px;
    border: 2px solid #7F00FF;
    box-shadow: 0 0 20px rgba(127, 0, 255, 0.4);
    position: relative;
    overflow: hidden;
    display: block; /* Garante que o contêiner siga o fluxo da imagem */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-card img {
    width: 100%; /* Força a imagem a preencher a largura total do quadro */
    height: auto; /* A altura será proporcional à imagem original */
    display: block;
    object-fit: cover; /* Garante que não haja distorção */
}
.floating-badge { position: absolute; top: 20px; right: -20px; background: #222; border: 1px solid #444; color: #FFD700; padding: 8px 15px; border-radius: 8px; font-size: 0.8rem; font-weight: bold; box-shadow: 0 10px 20px rgba(0,0,0,0.5); }

/* Categorias */
.dual-banner { display: flex; gap: 30px; padding: 0 5%; margin-top: -50px; margin-bottom: 80px; flex-wrap: wrap; }
.cat-card { flex: 1; background: #0a0a12; border: 1px solid #1f1f33; border-radius: 20px; padding: 40px; position: relative; min-width: 300px; transition: 0.3s; }
.cat-card:hover { border-color: #7F00FF; transform: translateY(-5px); }
.cat-icon { font-size: 2rem; background: rgba(255,255,255,0.05); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 12px; margin-bottom: 20px; color: #7F00FF; }
.cat-title { font-size: 1.8rem; font-weight: 800; margin-bottom: 10px; color: white; }
.cat-desc { color: #888; margin-bottom: 25px; font-size: 0.95rem; }
.btn-explore { display: inline-block; padding: 12px 25px; border-radius: 50px; font-weight: bold; text-decoration: none; font-size: 0.9rem; text-transform: uppercase; transition: 0.3s; }
.cat-3d { background: radial-gradient(circle at top right, rgba(127, 0, 255, 0.1), transparent); }
.cat-3d .btn-explore { background: linear-gradient(90deg, #7F00FF, #bd00ff); color: white; }
.cat-moda { background: radial-gradient(circle at top right, rgba(255, 0, 85, 0.1), transparent); }
.cat-moda .btn-explore { background: linear-gradient(90deg, #FF0055, #ff4d88); color: white; }

/* Orçamento (Rodapé Home) */
.custom-banner { background: #0a0a12; border: 1px solid #1f1f33; border-radius: 20px; margin: 80px 5%; padding: 50px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 30px; }
.custom-content h2 { font-size: 2.2rem; margin-bottom: 10px; color: white; }
.steps-grid { display: grid; gap: 15px; }
.step-item { background: #151520; padding: 15px; border-radius: 8px; border: 1px solid #2a2a35; display: flex; align-items: center; gap: 15px; width: 300px; }
.step-icon { color: #7F00FF; font-size: 1.2rem; }
.step-text strong { display: block; color: white; font-size: 0.9rem; }

/* --- 3. PRODUTOS & CARDS --- */
.container { max-width: 1200px; margin: 0 auto; padding: 40px 20px; }
.section-title { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 30px; text-align: center; }
.products-grid { display: flex; flex-wrap: wrap; gap: 25px; justify-content: center; }

.card { background: #0f0f1a; border: 1px solid #1f1f33; border-radius: 12px; width: 260px; padding: 12px; transition: 0.3s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-5px); border-color: #7F00FF; }
.card-image-wrapper { position: relative; width: 100%; height: 240px; overflow: hidden; border-radius: 8px; margin-bottom: 15px; background: #000; }
.card-image-wrapper img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s ease; opacity: 0; }
.card-image-wrapper img:first-child { opacity: 1; position: relative; }
.card-image-wrapper img.visible { opacity: 1; z-index: 2; }
.card h3 { color: white; font-size: 1rem; margin-bottom: 5px; font-weight: 600; min-height: 40px; }
.card .price { color: #00e5ff; font-size: 1.3rem; font-weight: 700; display: block; margin-top: auto; }
.btn-zap { display: inline-block; padding: 8px 15px; border: 1px solid #7F00FF; color: #7F00FF; border-radius: 50px; text-decoration: none; font-size: 0.8rem; font-weight: bold; text-align: center; margin-top: 10px; transition: 0.3s; }
.btn-zap:hover { background: #7F00FF; color: white; }

/* --- 4. PÁGINA DO PRODUTO (CORREÇÃO DE LAYOUT) --- */
.product-detail-container { display: flex; flex-wrap: wrap; gap: 50px; max-width: 1200px; margin: 40px auto; padding: 20px; align-items: flex-start; }

/* Coluna Fotos */
.detail-gallery { flex: 1.2; min-width: 300px; max-width: 600px; }
.main-image { position: relative; border-radius: 15px; overflow: hidden; border: 1px solid #1f1f33; margin-bottom: 15px; }
.main-image img { width: 100%; height: auto; display: block; }
.thumbnails { display: flex; gap: 10px; overflow-x: auto; }
.thumb { width: 80px; height: 80px; border-radius: 8px; border: 1px solid #333; cursor: pointer; object-fit: cover; opacity: 0.6; transition: 0.2s; }
.thumb.active, .thumb:hover { opacity: 1; border-color: #7F00FF; transform: scale(1.05); }

/* Coluna Info */
.detail-info { flex: 1; min-width: 300px; }
.detail-title { font-size: 2.5rem; line-height: 1.2; margin-bottom: 10px; color: white; }
.price-area { margin-bottom: 25px; display: flex; align-items: baseline; gap: 10px; }
.current-price { font-size: 2.2rem; color: #00e5ff; font-weight: 700; }
.selector-area { margin-bottom: 25px; }
.label { display: block; font-weight: bold; margin-bottom: 10px; font-size: 0.9rem; color: #ccc; }
.color-options { display: flex; gap: 10px; flex-wrap: wrap; }
.color-circle { width: 35px; height: 35px; border-radius: 50%; border: 2px solid #333; cursor: pointer; transition: 0.2s; }
.color-circle.selected { border: 2px solid white; box-shadow: 0 0 10px #7F00FF; transform: scale(1.1); }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-btn { padding: 10px 15px; background: #0f0f1a; border: 1px solid #333; color: #ccc; border-radius: 8px; cursor: pointer; font-weight: bold; font-size: 0.9rem; }
.size-btn.selected { background: #7F00FF; border-color: #7F00FF; color: white; box-shadow: 0 0 15px rgba(127, 0, 255, 0.3); }
.actions-row { display: flex; gap: 15px; margin-bottom: 30px; align-items: center; flex-wrap: wrap; }
.qty-input { display: flex; border: 1px solid #333; border-radius: 8px; overflow: hidden; height: 50px; }
.qty-input button { width: 35px; background: #0f0f1a; border: none; color: white; font-size: 1.2rem; cursor: pointer; }
.qty-input input { width: 40px; background: #0f0f1a; border: none; color: white; text-align: center; font-weight: bold; }
.btn-add { flex: 2; background: #7F00FF; color: white; display: flex; align-items: center; justify-content: center; text-decoration: none; font-weight: bold; border-radius: 8px; height: 50px; text-transform: uppercase; min-width: 200px; box-shadow: 0 4px 15px rgba(127, 0, 255, 0.3); transition: 0.3s; }
.btn-add:hover { background: #944dff; transform: translateY(-2px); }
.tag-promo { position: absolute; top: 15px; left: 15px; padding: 6px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 800; text-transform: uppercase; box-shadow: 0 4px 10px rgba(0,0,0,0.5); z-index: 10; }

/* --- 5. RODAPÉ (FOOTER) - ESTILO RIACHUELO --- */
.shipping-banner {
    background: linear-gradient(90deg, #7F00FF, #00E5FF);
    color: #000; text-align: center; padding: 12px; font-weight: 800; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-top: 80px;
}
footer { background-color: #08080c; border-top: 1px solid #1f1f33; padding-top: 60px; color: #ccc; font-size: 0.9rem; }
.footer-wrapper {
    max-width: 1300px; margin: 0 auto; padding: 0 40px 60px;
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px;
}
.footer-heading { color: #fff; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 25px; position: relative; }
.footer-heading::after { content: ''; display: block; width: 30px; height: 2px; background: #7F00FF; margin-top: 10px; }
.footer-desc { line-height: 1.6; margin-bottom: 20px; color: #888; }
.footer-address strong { display: block; color: #fff; margin-bottom: 5px; }
.footer-address p { color: #888; line-height: 1.5; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: #aaa; transition: 0.3s; display: inline-block; }
.footer-links a:hover { color: #00E5FF; transform: translateX(5px); }
.contact-info { list-style: none; padding: 0; }
.contact-info li { display: flex; gap: 15px; margin-bottom: 20px; align-items: flex-start; }
.contact-info span { font-size: 1.2rem; margin-top: -3px; }
.contact-info strong { display: block; color: #fff; font-size: 0.8rem; text-transform: uppercase; }
.contact-info a, .contact-info p { color: #aaa; text-decoration: none; transition: 0.3s; }
.contact-info a:hover { color: #00E5FF; }
.social-grid { display: flex; flex-direction: column; gap: 10px; }
.social-btn { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; border-radius: 6px; text-decoration: none; font-weight: bold; font-size: 0.9rem; color: white; transition: 0.3s; }
.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.whatsapp-btn { background: #25D366; }
.payment-icons { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 15px; }
.pay-icon { background: #151520; border: 1px solid #333; color: #ccc; padding: 5px 10px; border-radius: 4px; font-size: 0.75rem; font-weight: bold; }
.copyright-bar { background-color: #020205; border-top: 1px solid #1f1f33; padding: 25px 40px; text-align: center; }
.copy-content p { color: #555; font-size: 0.8rem; margin: 3px 0; }

/* Mobile */
@media (max-width: 900px) {
    .header-center { display: none; }
    .hero-wrapper { flex-direction: column; text-align: center; gap: 40px; padding-top: 40px; }
    .hero-text, .hero-image { max-width: 100%; }
    .hero-buttons { justify-content: center; }
    .dual-banner { flex-direction: column; margin-top: 40px; }
    .footer-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .product-detail-container { flex-direction: column; }
}
/* =========================================
   CORREÇÃO FINAL: PRODUTO NO CELULAR
   (Cola isso no FINAL do style.css)
   ========================================= */

@media (max-width: 900px) {
    
    /* 1. O Container Principal vira uma coluna só */
    .product-detail-container {
        display: block !important; /* Garante que fique em bloco */
        width: 100% !important;
        padding: 15px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Corta qualquer excesso lateral */
    }

    /* 2. As colunas (Foto e Texto) ocupam 100% da largura */
    .detail-gallery, .detail-info {
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
        margin-bottom: 30px !important;
    }

    /* 3. A FOTO PRINCIPAL (Onde está o problema) */
    .main-image {
        width: 100% !important;
        height: auto !important;
        background: #000; /* Fundo preto caso a foto não preencha tudo */
        border-radius: 12px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .main-image img {
        width: 100% !important;       /* Largura total da tela */
        height: auto !important;      /* Altura automática proporcional */
        max-height: 400px !important; /* TRAVA A ALTURA: Não deixa ficar gigante */
        object-fit: contain !important; /* Garante que a foto inteira apareça dentro do quadrado */
    }

    /* 4. Miniaturas (Thumbnails) */
    .thumbnails {
        justify-content: center !important; /* Centraliza as miniaturas */
        gap: 10px !important;
    }
    
    /* 5. Títulos e Textos */
    .detail-title {
        font-size: 1.8rem !important;
        text-align: center !important; /* Centraliza o título */
    }
    
    /* 6. Preço */
    #preco-visual {
        text-align: center !important;
        display: block !important;
    }

    /* 7. Botão Comprar */
    .actions-row {
        flex-direction: column !important;
    }
    .btn-add {
        width: 100% !important;
        padding: 18px !important;
        font-size: 1.1rem !important;
    }
}
/* =========================================================
   CORREÇÃO DE EMERGÊNCIA: MENU MOBILE (GAVETA)
   Cole isto no FINAL do style.css para esconder a barra preta
   ========================================================= */

/* 1. Força a gaveta a sair da tela e ficar fixa no canto */
.mobile-nav {
    position: fixed !important;    /* Tira do meio da tela */
    top: 0 !important;
    right: -350px !important;      /* Joga para fora da tela (Direita) */
    width: 300px !important;
    height: 100vh !important;      /* Altura total */
    background: #08080c !important;
    z-index: 9999 !important;      /* Fica acima de tudo */
    transition: right 0.3s ease !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 20px !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.8);
    overflow: hidden !important;
}

/* 2. Só traz a gaveta pra tela quando tiver a classe 'active' (Clicou no botão) */
.mobile-nav.active {
    right: 0 !important;
}

/* 3. Esconde o botão de três riscos (hambúrguer) no Computador */
.mobile-menu-icon {
    display: none !important;
}

/* 4. Estilo dos links dentro da gaveta (pra ficar bonito no celular) */
.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    flex-shrink: 0;
}

.mobile-nav-links {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding-right: 4px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.mobile-nav-links a {
    display: block;
    color: #e5e7eb;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-cat-group {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.mobile-cat-toggle {
    width: 100%;
    border: 0;
    background: transparent;
    color: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 13px 0;
    cursor: pointer;
}

.mobile-cat-toggle i {
    transition: transform 0.2s ease;
    color: #9ca3af;
}

.mobile-cat-toggle.open i {
    transform: rotate(180deg);
}

.mobile-cat-submenu {
    display: block;
    margin: 0;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    max-height: 0;
    opacity: 0;
    pointer-events: none;
    transition: max-height 0.28s ease, opacity 0.2s ease, margin 0.2s ease;
}

.mobile-cat-submenu.open {
    margin: 0 0 10px;
    max-height: 720px;
    opacity: 1;
    pointer-events: auto;
}

.mobile-cat-submenu a {
    color: #1f2937;
    border-bottom: 1px solid #e2e8f0;
    padding: 11px 14px;
    font-size: 0.92rem;
}

.mobile-cat-submenu a:hover {
    background: #eef2ff;
    color: #5b21b6;
}

.mobile-cat-submenu a:last-child {
    border-bottom: 0;
}

/* =========================================================
   REGRAS SÓ PARA CELULAR (TELAS PEQUENAS)
   ========================================================= */
@media (max-width: 900px) {
    /* No celular, ESCONDE o menu de texto do topo */
    .header-center {
        display: none !important;
    }

    /* No celular, MOSTRA o ícone de três riscos */
    .mobile-menu-icon {
        display: block !important;
        font-size: 1.5rem;
        color: white;
        cursor: pointer;
    }
}

body.mobile-menu-open {
    overflow: hidden !important;
}

/* =========================================
   AJUSTES FINOS MOBILE (HOME/CATEGORIA)
   ========================================= */
@media (max-width: 768px) {
    header { height: 64px; }
    .header-container { padding: 0 16px; }
    .logo { font-size: 1.05rem; }
    .logo-img { width: 42px; height: 42px; }
    .header-right { gap: 14px; }

    .container-width { padding: 0 18px; }
    .hero-bg-full { padding: 30px 0; }
    .hero-wrapper { flex-direction: column !important; gap: 28px !important; padding: 40px 18px !important; text-align: center !important; }
    .hero-text { max-width: 100%; }
    .hero-title { font-size: 2.2rem !important; line-height: 1.2; margin-bottom: 16px; }
    .hero-subtitle { font-size: 0.95rem !important; margin-bottom: 20px !important; }
    .hero-buttons { flex-direction: column !important; width: 100% !important; gap: 12px !important; }
    .hero-buttons a { width: 100%; text-align: center; }
    .stats-row { flex-direction: column !important; gap: 12px !important; padding-top: 18px !important; align-items: center !important; }

    .hero-card { max-width: 100%; border-radius: 18px; }
    .floating-badge { top: 12px; right: -10px; font-size: 0.7rem; padding: 6px 10px; }

    .dual-banner { display: grid !important; grid-template-columns: 1fr !important; padding: 0 16px !important; gap: 16px !important; margin-top: 20px !important; }
    .cat-card { padding: 28px; min-width: 0; border-radius: 16px; }
    .cat-title { font-size: 1.4rem; }
    .cat-desc { font-size: 0.9rem; }

    .products-grid { grid-template-columns: 1fr !important; gap: 18px !important; }
    .product-card { border-radius: 14px; }
    .img-container { height: 220px; }
    .info { padding: 16px; }
    .info h3 { font-size: 1rem; }
    .info .price { font-size: 1.15rem; }

    .custom-image-box, .hero-image { max-width: 100%; }

    /* Catálogo (3d.php / vestuario.php) */
    .catalogo-container { padding: 30px 16px !important; }
    .catalogo-container h2 { font-size: 1.8rem !important; }
    .catalogo-container p { font-size: 0.9rem !important; }
    .grid-produtos { gap: 16px !important; }
    .card-produto { width: 100% !important; }
    .foto-wrapper { height: 220px !important; }
    .nome-produto { font-size: 0.95rem !important; }
    .preco-destaque { font-size: 1.1rem !important; }
}
/* =========================================
   CORREÇÃO DE ÍCONES SOCIAIS (IMAGENS)
   Cole no final do style.css
   ========================================= */

/* Regra para a imagem dentro do botão */
.social-icon-img {
    width: 24px !important;  /* Largura fixa */
    height: 24px !important; /* Altura fixa */
    object-fit: contain !important; /* Garante que a imagem caiba sem distorcer */
    margin-right: 10px !important; /* Espaço entre o ícone e o texto */
    vertical-align: middle !important; /* Alinha com o texto */
    display: inline-block !important;
}

/* Ajuste para o botão de comprar no produto ficar alinhado */
.btn-add {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Ajuste para os botões do rodapé ficarem alinhados */
.social-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important; /* Alinha à esquerda no rodapé */
}
/* =========================================
   AJUSTE AUTOMÁTICO DE ÍCONES (IMG)
   Cole no final do style.css
   ========================================= */

.icon-img {
    width: 24px !important;        /* Força largura pequena */
    height: 24px !important;       /* Força altura pequena */
    object-fit: contain !important; /* Faz a imagem caber sem esticar/distorcer */
    margin-right: 10px !important;  /* Dá um espaço do texto */
    vertical-align: middle !important; /* Alinha com o texto */
    display: inline-block !important;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.2)); /* Sombra leve pra destacar */
}

/* Ajuste específico para o botão de comprar ficar centralizado */
.btn-add {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Garante que os botões do rodapé alinhem a imagem e texto */
.social-btn {
    display: flex !important;
    align-items: center !important;
}

/* =================================================================
   CORREÇÃO FINAL: IMAGEM DO BANNER DE ORÇAMENTO (HOME)
   Cole isto no FINAL do seu style.css
   ================================================================= */

/* 1. A "Moldura" da Imagem */
.custom-image-box {
    flex: 1.2 !important; /* Dá um pouco mais de espaço horizontal que os textos */
    height: 400px !important; /* ALTURA FIXA: Define o tamanho do "quadro" */
    border-radius: 16px;
    overflow: hidden; /* Corta o que passar da moldura */
    border: 2px solid #1f1f33;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4); /* Sombra elegante */
    background: #000; /* Fundo preto caso a imagem demore a carregar */
    margin: 0 20px; /* Espaço nas laterais */
}

/* 2. A Imagem dentro da Moldura */
.custom-image-box img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* O SEGREDO: Preenche sem esticar/distorcer */
    object-position: center center !important; /* Centraliza o foco da imagem */
    display: block;
    transition: transform 0.5s ease;
}

/* Efeito opcional: Zoom suave ao passar o mouse */
.custom-image-box:hover img {
    transform: scale(1.05);
}

/* 3. Ajuste para CELULAR (Mobile) */
@media (max-width: 900px) {
    .custom-banner {
        flex-direction: column !important; /* Empilha tudo */
        text-align: center !important;
        padding: 40px 20px !important;
    }

    .custom-image-box {
        width: 100% !important; /* Ocupa a largura total no celular */
        height: auto !important; /* Altura automática */
        max-height: 300px !important; /* Mas não deixa ficar gigante */
        margin: 30px 0 !important; /* Espaço em cima e embaixo */
        flex: none !important;
    }
}

/* =========================================
   ESTILO PARA ÍCONES SVG DO MENU
   Cole no final do style.css
   ========================================= */

.menu-icon-svg {
    width: 20px !important;        /* Tamanho padrão de ícone */
    height: 20px !important;       /* Mantém quadrado */
    margin-right: 10px !important; /* Espaço para o texto */
    vertical-align: middle !important; /* Alinha com o meio da letra */
    display: inline-block !important;
    filter: brightness(0) invert(1); /* Opcional: Deixa o ícone BRANCO se o fundo for escuro */
    transition: 0.3s;
}

/* Efeito ao passar o mouse: Fica roxo */
a:hover .menu-icon-svg {
    filter: none !important; /* Remove o filtro branco pra mostrar a cor original (se tiver) */
    transform: scale(1.1);   /* Leve zoom */
}

/* =============================================================
   CARRINHO LIGHT (CLARO) - "Confiança & Profissionalismo"
   (Estilo Magalu/Mercado Livre/Amazon)
   Substitua o bloco anterior do carrinho por este.
   ============================================================= */

/* 1. Fundo Claro para passar credibilidade */
.cart-page {
    background-color: #f4f7fa; /* Cinza "clean" de escritório/banco */
    min-height: 100vh;
    padding: 40px 20px;
    color: #333; /* Texto escuro para leitura perfeita */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cart-container { max-width: 1200px; margin: 0 auto; }

/* Títulos Escuros (Contraste) */
.cart-container h1 { color: #1a1a2e; font-weight: 800; }

/* 2. Barra de Passos (Steps) */
.cart-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0; /* Linha cinza suave */
}
.step-item {
    display: flex; align-items: center; gap: 10px;
    color: #999; font-weight: 600; font-size: 0.95rem;
}
.step-item.active { color: #7F00FF; /* Roxo da marca */ }
.step-circle {
    width: 32px; height: 32px; border-radius: 50%;
    background: #e0e0e0; color: #666;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; font-weight: bold; transition: 0.3s;
}
.step-item.active .step-circle {
    background: #7F00FF; color: white;
    box-shadow: 0 4px 10px rgba(127, 0, 255, 0.3);
}

/* 3. Grid Principal */
.cart-grid { display: flex; gap: 30px; align-items: flex-start; }
.cart-items-col { flex: 1.6; }

/* 4. Barra de Frete Grátis (Gamificação Colorida) */
.free-shipping-bar {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    margin-bottom: 25px;
    text-align: center;
}
.fs-text { color: #555; margin-bottom: 12px; font-size: 1rem; }
.fs-highlight { color: #00bf63; font-weight: 800; } /* Verde = Dinheiro/Sucesso */
.progress-bg {
    background: #eee; height: 10px; border-radius: 5px;
    overflow: hidden; position: relative;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}
.progress-fill {
    background: linear-gradient(90deg, #7F00FF, #00E5FF); /* O toque da marca */
    height: 100%; width: 70%; border-radius: 5px;
}

/* 5. Cartão do Produto (Branco e Limpo) */
.cart-card {
    background: #fff;
    border: 1px solid #e1e1e1; /* Borda sutil */
    border-radius: 12px;
    padding: 25px;
    display: flex; gap: 20px;
    margin-bottom: 15px; position: relative;
    transition: 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}
.cart-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #7F00FF;
}

.cart-img {
    width: 100px; height: 100px;
    border-radius: 8px; background: #f0f0f0;
    object-fit: cover; border: 1px solid #eee;
}

.card-details { flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.prod-title { font-size: 1.1rem; font-weight: 700; color: #1a1a2e; margin-bottom: 5px; } /* Título Escuro */
.prod-meta { font-size: 0.9rem; color: #777; display: flex; gap: 15px; }
.prod-price { font-size: 1.3rem; font-weight: 800; color: #1a1a2e; margin-top: 5px;}

/* Controle de Quantidade Clean */
.qty-wrapper {
    display: flex; align-items: center;
    border: 1px solid #ddd; border-radius: 8px;
    width: fit-content; height: 38px; background: #f9f9f9;
}
.qty-btn {
    width: 35px; height: 100%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; color: #555; font-size: 1.1rem; transition: 0.2s;
}
.qty-btn:hover { background: #e0e0e0; color: #000; }
.qty-val {
    width: 40px; text-align: center; font-size: 1rem; font-weight: 600; color: #333;
    border-left: 1px solid #ddd; border-right: 1px solid #ddd;
    height: 100%; display: flex; align-items: center; justify-content: center; background: #fff;
}

.remove-btn {
    position: absolute; top: 20px; right: 20px;
    background: transparent; border: none; color: #999;
    cursor: pointer; font-size: 1.2rem; transition: 0.2s;
}
.remove-btn:hover { color: #FF0055; background: #fff0f5; padding: 5px; border-radius: 50%; }

/* 6. COLUNA RESUMO (Branca com Sombra) */
.cart-summary-col {
    flex: 1;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    border: 1px solid #e1e1e1;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: sticky; top: 100px;
}

.summary-title {
    font-size: 1.4rem; font-weight: 800; color: #1a1a2e;
    margin-bottom: 25px; border-bottom: 1px solid #eee; padding-bottom: 15px;
}

/* Inputs Modernos */
.addon-group { margin-bottom: 20px; }
.addon-label { display: block; font-size: 0.9rem; color: #444; margin-bottom: 8px; font-weight: 600; }
.input-flex { display: flex; gap: 10px; }
.cart-input {
    flex: 1;
    background: #f9fafb;
    border: 2px solid #cbd5e1;
    color: #111827;
    padding: 12px;
    border-radius: 8px;
    outline: none;
    font-size: 0.95rem;
    transition: 0.3s;
}
.cart-input:focus { border-color: #7F00FF; background: #ffffff; box-shadow: 0 0 0 3px rgba(127, 0, 255, 0.12); }

.btn-apply {
    background: #1a1a2e; color: #fff; border: none;
    padding: 0 20px; border-radius: 8px; cursor: pointer; font-weight: bold; transition: 0.2s;
}
.btn-apply:hover { background: #7F00FF; transform: translateY(-2px); }

/* Totais */
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 1rem; color: #666; }
.summary-row.total {
    border-top: 2px solid #f0f0f0; padding-top: 20px; margin-top: 20px;
    font-size: 1.6rem; font-weight: 800; color: #1a1a2e;
}
.highlight-price { color: #7F00FF; }

/* Botão Verde (WhatsApp/Compra) */
.btn-checkout-wa {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%;
    background: linear-gradient(90deg, #25D366, #128C7E); /* Verde Confiável */
    color: white; padding: 18px; border-radius: 10px;
    font-weight: 800; font-size: 1.1rem; text-transform: uppercase;
    text-decoration: none; margin-top: 25px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
    transition: 0.3s;
}
.btn-checkout-wa:hover { transform: translateY(-3px); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4); }

.continue-link { display: block; text-align: center; margin-top: 20px; color: #666; text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.continue-link:hover { color: #7F00FF; text-decoration: underline; }

/* Mobile */
@media (max-width: 900px) {
    .cart-grid { flex-direction: column; }
    .cart-img { width: 80px; height: 80px; }
    .cart-card { padding: 15px; }
    .summary-title { font-size: 1.2rem; }
}

/* =========================================
   PÁGINA DE CATEGORIA (HEADER & ESTILO)
   ========================================= */

.category-header {
    position: relative;
    background: url('img/capa-hero.png') no-repeat center center/cover; /* Usa sua capa padrão ou uma genérica */
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 0px; /* Ajuste conforme seu header */
}

/* Camada escura roxa para dar leitura */
.cat-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(5,5,8,0.8), rgba(5,5,8,1));
    z-index: 1;
}

.cat-content {
    position: relative;
    z-index: 2;
    color: white;
}

.cat-icon {
    width: 60px; height: 60px;
    background: rgba(127, 0, 255, 0.2);
    border: 1px solid #7F00FF;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; font-weight: 800; color: #7F00FF;
    margin: 0 auto 15px auto;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(127, 0, 255, 0.4);
}

.cat-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    background: linear-gradient(90deg, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cat-subtitle {
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 5px;
}

.cat-stats {
    margin-top: 15px;
    font-size: 0.8rem;
    color: #00E5FF;
    border: 1px solid rgba(0, 229, 255, 0.3);
    padding: 5px 15px;
    border-radius: 20px;
    display: inline-block;
    background: rgba(0, 0, 0, 0.3);
}

/* Ajuste da Grid de Produtos para reutilizar */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* =========================================
   CORREÇÃO DE IMAGENS E GRID (GLOBAL)
   ========================================= */

/* Container Principal para não colar nas bordas */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
}

/* GRID DE PRODUTOS */
.products-grid {
    display: grid;
    /* Isso garante que os cards tenham entre 250px e o espaço disponível, sem esticar demais */
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

/* O CARD DO PRODUTO */
.product-card {
    background: #0f0f1a; /* Fundo escuro do site */
    border: 1px solid #1f1f33;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: #7F00FF;
}

/* A CORREÇÃO DA IMAGEM GIGANTE */
.img-container {
    width: 100%;
    height: 300px; /* Altura fixa para alinhar tudo */
    position: relative;
    background: #000;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ISSO IMPEDE A DISTORÇÃO E O TAMANHO GIGANTE */
    object-position: center;
    transition: transform 0.5s;
}

.product-card:hover .img-container img {
    transform: scale(1.1); /* Zoom suave ao passar o mouse */
}

/* OVERLAY DO BOTÃO */
.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: 0.3s;
}

.product-card:hover .overlay { opacity: 1; }

.btn-buy {
    background: #7F00FF; color: white;
    padding: 12px 25px; border-radius: 30px;
    text-decoration: none; font-weight: bold;
    transform: translateY(20px); transition: 0.3s;
}

.product-card:hover .btn-buy { transform: translateY(0); }

/* INFORMAÇÕES */
.info { padding: 20px; text-align: center; }
.info h3 { font-size: 1.1rem; color: white; margin-bottom: 5px; }
.info .price { font-size: 1.3rem; color: #00E5FF; font-weight: bold; }
.category-tag { font-size: 0.8rem; color: #666; text-transform: uppercase; margin-bottom: 10px; }

/* ESTADO VAZIO */
.empty-state { text-align: center; padding: 50px; color: #666; }
.empty-state i { font-size: 4rem; margin-bottom: 20px; color: #333; }
.empty-state a { color: #7F00FF; margin-top: 15px; display: inline-block; }


/* =========================================
   ESTILO DOS ÍCONES DE PAGAMENTO (PNG/JPG)
   ========================================= */

/* O Container que segura as imagens */
.payment-container {
    display: flex;
    align-items: center; /* Alinha verticalmente no centro */
    justify-content: flex-start; /* Alinha tudo à esquerda */
    gap: 25px; /* Espaço entre as imagens */
    margin-top: 20px;
    flex-wrap: wrap; /* Permite quebrar linha em telas pequenas */
}

/* O estilo das imagens em si */
.pay-img {
    /* O SEGREDO ESTÁ AQUI: */
    height: 35px;  /* Define uma altura fixa para todas ficarem alinhadas */
    width: auto;   /* A largura se ajusta sozinha, SEM ESTICAR */
    
    object-fit: contain; /* Garante que a imagem caiba no espaço sem cortar */
    max-width: 100%; /* Segurança para não estourar a tela no mobile */
    opacity: 0.9; /* Um pouco de transparência para ficar elegante */
    transition: transform 0.3s ease, opacity 0.3s;
}

/* Efeito ao passar o mouse */
.pay-img:hover {
    opacity: 1;
    transform: scale(1.05); /* Aumenta um pouquinho */
}
/* =========================================
   BARRA FINAL DO RODAPÉ (Copyright)
   ========================================= */

.footer-bottom {
    width: 100%;
    text-align: center; /* Centraliza tudo */
    margin-top: 50px;   /* Empurra para baixo das colunas */
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Linha divisória fina e elegante */
}

/* Selo de Segurança */
.security-badge {
    color: #00E5FF; /* Azul neon ou #7F00FF (Roxo) se preferir */
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 229, 255, 0.1);
    padding: 5px 15px;
    border-radius: 20px;
}

/* Texto de Copyright */
.copyright {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.copyright strong {
    color: white;
}

/* Link de Acesso Restrito (Discreto) */
.restricted-link {
    color: #333; /* Bem escuro para ninguém notar muito */
    font-size: 0.75rem;
    text-decoration: none;
    transition: 0.3s;
}

.restricted-link:hover {
    color: #7F00FF; /* Acende roxo quando passa o mouse */
}
/* =========================================
   AJUSTE FINAL: MOLDURAS DINÂMICAS (SEM TARJAS)
   ========================================= */

/* 1. Ajuste do Quadro do Topo (Hero) */
.hero-card {
    height: auto !important; /* Remove a altura fixa de 420px */
    background: transparent !important; /* Remove o fundo preto */
    display: inline-block; /* Faz o quadro 'apertar' a imagem lateralmente */
    width: auto; 
    max-width: 700px;
}

.hero-card img {
    width: 100%;
    height: auto;
    object-fit: contain !important; /* Garante que a moldura siga o desenho da foto */
    display: block;
}

/* 2. Ajuste do Quadro de Orçamento (Baixo) */
/* Usando a classe exata que está no seu código atual */
.custom-image-box {
    height: auto !important; /* Remove os 400px fixos que causam a tarja */
    background: transparent !important;
    display: inline-block;
    flex: none !important; /* Impede que o flexbox estique a moldura */
    width: auto;
    max-width: 600px;
    border: 2px solid #7F00FF; /* Garante a borda roxa aqui também */
    box-shadow: 0 0 20px rgba(127, 0, 255, 0.4);
}

.custom-image-box img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    display: block;
}

/* 3. Efeito Neon Pulsante no Hover (Para ambos) */
.hero-card:hover, .custom-image-box:hover {
    transform: scale(1.02);
    box-shadow: 0 0 40px rgba(127, 0, 255, 0.8);
    transition: all 0.4s ease;
}

/* FUNDO NEON ROXO TOTAL - CANTO A CANTO */
body {
    background-color: #020205 !important;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(127, 0, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(127, 0, 255, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(20, 10, 35, 1) 0%, #020205 100%) !important;
    background-attachment: fixed !important;
    background-size: cover !important;
}

/* Ajuste para o Slider não quebrar a moldura */
.swiper {
    width: 100%;
    height: auto;
}
/* Garante que o Swiper mude de altura suavemente */
.swiper {
    transition: height 0.4s ease-in-out;
}

/* Remove qualquer restrição de altura das imagens internas do slider */
.swiper-slide {
    height: auto !important;
}

.swiper-slide img {
    max-height: none !important;
}
