/* --- BASE --- */
:root {
    --blue-light: #4facfe; --blue-dark: #0072ff;
    --main-gradient: linear-gradient(135deg, var(--blue-light) 10%, var(--blue-dark) 100%);
    --bg-body: #f8faff; --text-dark: #1a2b4b; --text-gray: #606f8c;
    --whatsapp-color: #25d366;
}
* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Roboto, sans-serif; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-body); color: var(--text-dark); overflow-x: hidden; width: 100%; }
.container { width: 90%; max-width: 1100px; margin: 0 auto; }

/* LOGO RESTAURADA E SEM SUBLINHADO */
.logo { font-size: 1.5rem; font-weight: 800; color: var(--text-dark); }
.logo-link { text-decoration: none !important; border: none !important; }

/* CALCULADORA */
.calculator-inputs { background: #f0f7ff; padding: 10px; border-radius: 8px; margin-bottom: 10px; border: 1px solid #dbeafe; }
.calculator-inputs label { display: block; font-size: 0.85rem; font-weight: bold; margin-bottom: 5px; color: var(--blue-dark); text-align: left; }
.calculator-inputs input, .calculator-inputs select { width: 100%; padding: 8px; margin-bottom: 5px; border: 1px solid #ccc; border-radius: 5px; outline: none; font-size: 0.9rem; }
.calculator-inputs input:focus { border-color: var(--blue-dark); }
.info-icon { color: var(--blue-dark); cursor: pointer; font-size: 0.9rem; margin-left: 5px; }

/* GALERIA DEPOIMENTOS */
.testimonials-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 15px; padding: 20px 0; }
.testi-img-card img { width: 100%; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s; border: 2px solid #eee; cursor: zoom-in; }
.testi-img-card img:hover { transform: scale(1.05); border-color: var(--blue-dark); z-index: 10; position: relative; }

/* LIGHTBOX (EXPANDIR IMAGEM) */
.lightbox {
    display: none;
    position: fixed; z-index: 9999;
    padding-top: 50px;
    left: 0; top: 0;
    width: 100%; height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
}
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    border-radius: 8px;
    animation: zoom 0.6s;
}
@keyframes zoom { from {transform:scale(0)} to {transform:scale(1)} }
.close-lightbox {
    position: absolute;
    top: 15px; right: 35px;
    color: #f1f1f1;
    font-size: 40px; font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
.close-lightbox:hover, .close-lightbox:focus { color: #bbb; text-decoration: none; cursor: pointer; }

/* CUSTOM ALERT */
.custom-alert-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.6); z-index: 3000;
    display: none; justify-content: center; align-items: center;
    backdrop-filter: blur(2px);
}
.custom-alert-box {
    background: #fff; padding: 25px; border-radius: 15px;
    width: 90%; max-width: 350px; text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeIn 0.3s ease;
}
.alert-icon { font-size: 2.5rem; color: var(--blue-dark); margin-bottom: 15px; }
.btn-alert-ok {
    background: var(--blue-dark); color: white;
    border: none; padding: 8px 25px; border-radius: 20px;
    margin-top: 20px; cursor: pointer; font-weight: bold;
}

/* HEADER & MENU */
.header { padding: 15px 0; background: rgba(255,255,255,0.95); position: fixed; width: 100%; top: 0; z-index: 100; backdrop-filter: blur(5px); box-shadow: 0 1px 10px rgba(0,0,0,0.05); }
.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo-container { display: flex; align-items: center; gap: 8px; }
.header-logo-img { height: 40px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; }
.nav-menu a { margin-left: 20px; text-decoration: none; color: var(--text-dark); font-weight: 500; font-size: 0.9rem; }
.btn-suporte-nav { background: #e6fffa; color: #047481 !important; padding: 8px 15px; border-radius: 20px; border: 1px solid #b2f5ea; }

/* HERO */
.hero { 
    padding: 110px 0 90px 0;
    text-align: center; 
    background: linear-gradient(to bottom, #fff, #f0f7ff); 
    position: relative; 
    overflow: hidden; 
}
.hero-content-wrapper { position: relative; z-index: 5; }
.guarantee-banner { display: inline-block; background: #e6fffa; color: #047481; border: 1px solid #b2f5ea; padding: 8px 15px; border-radius: 20px; font-size: 0.9rem; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: 3rem; margin-bottom: 5px; font-weight: 800; line-height: 1.15; }
.typing-text { color: var(--blue-dark); background: var(--main-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.wave-container { position: absolute; bottom: -5px; width: 100%; z-index: 1; pointer-events: none; }

/* --- NOVOS ESTILOS: QUALIDADE E GARANTIA --- */
.quality-tag {
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    border: 1px solid #c8e6c9;
    align-self: center;
}

.cart-warranty-info {
    font-size: 0.85rem;
    color: #555;
    margin-bottom: 20px;
    padding: 12px 15px;
    background: #fffde7;
    border-radius: 12px;
    border-left: 4px solid #fbc02d;
    text-align: left;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 12px;
}
.cart-warranty-info i { color: #fbc02d; font-size: 1.3rem; }

/* STEPS (SLOGAN: ESCOLHA > PAGUE > RECEBA) */
.hero-steps-container { margin-top: 50px; margin-bottom: 20px; position: relative; z-index: 10; }
.steps-grid { display: flex; justify-content: center; gap: 30px; flex-wrap: wrap; }
.step-item { text-align: center; width: 200px; }
.step-item h3 { color: var(--text-dark); margin-top: 10px; font-size: 1.1rem; }
.step-item p { color: #555; font-size: 0.9rem; }
.step-icon { width: 60px; height: 60px; flex-shrink: 0; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto; color: var(--blue-dark); font-size: 1.5rem; box-shadow: 0 5px 15px rgba(0,0,0,0.05); }
.step-arrow { display: flex; align-items: center; color: #ddd; font-size: 1.5rem; }

/* TABS */
.platform-tabs { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { padding: 10px 20px; border: 1px solid #ddd; background: #fff; border-radius: 30px; cursor: pointer; color: #666; font-weight: 600; display: flex; align-items: center; gap: 8px; transition: 0.3s; }
.tab-btn:hover, .tab-btn.active { border-color: var(--blue-dark); color: var(--blue-dark); background: #eef6ff; }
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* CARDS E GRID */
.compact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; }

/* --- MOBILE SPECIFIC (INCLUI A LIMPEZA DO CARRINHO) --- */
@media (max-width: 768px) {
    .container { width: 92%; } 
    .compact-grid { grid-template-columns: repeat(2, 1fr); gap: 15px; } 
    .compact-grid > .package-card:last-child:nth-child(odd) { grid-column: span 2; }

    .package-card { padding: 20px 15px; } 
    .package-card h4 { font-size: 0.95rem; margin-top: 5px; line-height: 1.3; } 
    .icon-circle { width: 45px; height: 45px; font-size: 1.3rem; flex-shrink: 0; margin-bottom: 8px; }
    .btn-full { padding: 10px 5px; font-size: 0.85rem; }
    
    /* Ajuste Hero Mobile */
    .hero { padding-top: 90px; padding-bottom: 40px; } 
    .hero h1 { font-size: 2.2rem; min-height: auto; margin-bottom: 20px; }
    
    .step-arrow, .nav-menu > a { display: none; }
    .steps-grid { gap: 15px; } /* Aproxima os steps no mobile */
    .step-item { width: 100px; } /* Reduz tamanho do step */
    .step-item h3 { font-size: 0.9rem; }
    .step-item p { font-size: 0.75rem; }
    .step-icon { width: 45px; height: 45px; font-size: 1.2rem; }

    .floating-cart-btn { bottom: 85px !important; }
    
    .social-banner { flex-direction: column; text-align: center; }
    .social-buttons { justify-content: center; }
    
    .combos-section, .services-section { padding: 20px 0; }
    .combos-section .container, .services-section .container { padding: 0 5px; }
    .platform-tabs { gap: 5px; margin-bottom: 15px; }
    .tab-btn { padding: 8px 12px; font-size: 0.8rem; }

    /* === LIMPEZA DO CARRINHO MOBILE === */
    .checkout-box {
        padding: 20px 15px !important; /* Menos borda */
        width: 95% !important; /* Mais largo */
        max-height: 85vh; /* Evita que corte em telas pequenas */
    }
    .cart-header h3 { font-size: 1.1rem; margin-bottom: 15px; }
    .cart-items-container { max-height: 200px; } /* Area de itens menor */
    .input-group label { font-size: 0.8rem; margin-bottom: 3px; }
    .input-group { margin-bottom: 10px; }
    .clean-input { padding: 8px 12px; font-size: 0.9rem; border-radius: 8px; }
    .cart-warranty-info { font-size: 0.75rem; padding: 8px; gap: 8px; margin-bottom: 10px; }
    .cart-warranty-info i { font-size: 1rem; }
    .btn-large { padding: 12px; font-size: 0.95rem; }
    .terms-box { margin: 10px 0; }
    .terms-label { font-size: 0.8rem; }
}

.package-card { background: white; padding: 25px; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,0.05); position: relative; border: 1px solid #eee; transition: 0.3s; display: flex; flex-direction: column; justify-content: space-between; }
.package-card:hover { transform: translateY(-5px); border-color: var(--blue-light); }
.popular-tag { position: absolute; top: 10px; right: 10px; background: var(--blue-dark); color: white; padding: 3px 10px; border-radius: 20px; font-size: 0.6rem; font-weight: bold; }
.package-header { text-align: center; margin-bottom: 15px; }
.icon-circle { width: 50px; height: 50px; flex-shrink: 0; background: #eef6ff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; color: var(--blue-dark); font-size: 1.4rem; }
.dynamic-price { display: block; text-align: center; font-size: 1.5rem; font-weight: 800; color: var(--blue-dark); margin: 10px 0; }
.section-title { text-align: center; font-size: 2rem; margin-bottom: 40px; color: var(--text-dark); }
.btn { display: inline-block; padding: 10px 25px; border-radius: 50px; text-decoration: none; font-weight: bold; transition: 0.3s; border: none; cursor: pointer; }
.btn-large, .btn-full { background: var(--main-gradient); color: white; box-shadow: 0 4px 10px rgba(0, 114, 255, 0.3); }
.btn-full { width: 100%; text-align: center; }

/* SEÇÕES */
.services-section { padding: 40px 0; }
.combos-section { background: linear-gradient(to top, #fff, #f4f8ff); padding: 40px 0; border-top: 1px solid #eee; }

.combo-badge { display: inline-block; background: #25d366; color: white; padding: 3px 10px; border-radius: 10px; font-size: 0.7rem; font-weight: bold; margin-bottom: 10px; text-transform: uppercase; }
.package-features.compact li { font-size: 0.9rem; color: #555; margin-bottom: 5px; border-bottom: 1px dashed #eee; padding-bottom: 5px; list-style: none; }
.select-wrapper select { width: 100%; padding: 10px; border-radius: 8px; border: 1px solid #ddd; margin-bottom: 15px; }

/* SOCIAL BANNER */
.social-section { margin: 40px 0; }
.social-banner { background: #007bff; border-radius: 12px; padding: 30px; display: flex; justify-content: space-between; align-items: center; color: white; flex-wrap: wrap; gap: 20px; box-shadow: 0 10px 20px rgba(0, 114, 255, 0.2); }
.social-buttons { display: flex; gap: 10px; flex-direction: row; flex-wrap: nowrap; } 
.btn-social { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); padding: 10px 20px; border-radius: 50px; color: white; text-decoration: none; display: flex; align-items: center; gap: 10px; font-weight: 600; transition: 0.3s; white-space: nowrap; }
.btn-social:hover { background: white; color: var(--blue-dark); }

/* FOOTER */
.footer { background: #0f172a; color: #fff; padding: 40px 0 10px; text-align: center; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; margin-bottom: 30px; text-align: left; }
.contact-link { display: flex; gap: 10px; align-items: center; color: #a0b3d9; text-decoration: none; margin-bottom: 10px; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; font-size: 0.8rem; color: #64748b; }

/* FLUTUANTES */
.floating-cart-btn {
    position: fixed; bottom: 20px; right: 20px;
    width: 60px; height: 60px;
    background: var(--blue-dark); color: white;
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    font-size: 24px; cursor: pointer; z-index: 1002;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    display: none;
}
.cart-count {
    position: absolute; top: -5px; right: -5px;
    background: #ff4444; color: white;
    font-size: 12px; font-weight: bold;
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
}

/* BOTÃO WHATSAPP MOBILE */
.floating-wpp-mobile { display: none; }
@media (max-width: 768px) {
    .floating-wpp-mobile {
        display: flex; position: fixed; bottom: 20px; right: 20px;
        width: 50px; height: 50px; background: #25d366; color: white;
        border-radius: 50%; justify-content: center; align-items: center;
        font-size: 28px; z-index: 1001; box-shadow: 0 4px 10px rgba(0,0,0,0.2);
        text-decoration: none;
    }
}

.sales-notification { position: fixed; bottom: 20px; left: 20px; background: #fff; padding: 12px 15px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.15); border-left: 4px solid #25d366; display: flex; align-items: center; gap: 12px; z-index: 990; transform: translateX(-150%); transition: transform 0.5s; }
.sales-notification.show { transform: translateX(0); }
.notif-icon { color: #25d366; font-size: 1.5rem; }

/* MODAL CARRINHO */
.checkout-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); z-index: 2000; display: none; justify-content: center; align-items: center; backdrop-filter: blur(4px); }

.checkout-box { 
    background: #fff; width: 90%; max-width: 480px; padding: 35px 30px; 
    border-radius: 24px; position: relative; max-height: 90vh; overflow-y: auto; 
    box-shadow: 0 20px 60px rgba(0,0,0,0.15); font-family: 'Segoe UI', Roboto, sans-serif;
}

.cart-header h3 { font-size: 1.4rem; color: #333; margin-bottom: 25px; text-align: center; font-weight: 700; }
.close-modal { 
    position: absolute; top: 20px; right: 25px; background: #f0f2f5; 
    width: 32px; height: 32px; border-radius: 50%; border: none; font-size: 1.2rem; cursor: pointer; color: #666; 
    display: flex; align-items: center; justify-content: center; transition: 0.2s;
}
.close-modal:hover { background: #e4e6e9; color: #333; }

.cart-items-container { max-height: 300px; overflow-y: auto; margin-bottom: 25px; }
.cart-item { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid #f0f0f0; }
.cart-item:last-child { border-bottom: none; }
.cart-item-info h4 { font-size: 0.95rem; margin-bottom: 4px; color: #333; font-weight: 600; }
.cart-item-info p { color: var(--blue-dark); font-weight: 700; font-size: 0.9rem; }
.remove-item-btn { background: none; border: none; color: #ff4d4d; font-size: 1.4rem; cursor: pointer; padding: 0 10px; line-height: 1; }

.cart-footer { padding-top: 10px; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; font-size: 1.1rem; font-weight: 600; color: #555; margin-bottom: 20px; }
.big-price { font-size: 1.8rem; color: #333; font-weight: 800; letter-spacing: -1px; }

.input-group { margin-bottom: 15px; }
.input-group label { display: block; font-size: 0.85rem; color: #666; margin-bottom: 6px; font-weight: 600; margin-left: 5px; }
.clean-input { width: 100%; background: #f7f9fc; border: 2px solid transparent; border-radius: 12px; padding: 12px 15px; font-size: 0.95rem; color: #333; outline: none; transition: 0.3s; }
.clean-input:focus { background: #fff; border-color: var(--blue-light); box-shadow: 0 0 0 4px rgba(79, 172, 254, 0.1); }

.discount-banner { background: #fff8e1; color: #b7791f; border: 1px solid #fceeb5; padding: 12px; border-radius: 12px; font-size: 0.9rem; margin-bottom: 20px; text-align: center; font-weight: 500; }

.coupon-flex { display: flex; gap: 10px; }
.btn-coupon { background: #333; color: white; border: none; padding: 0 20px; border-radius: 12px; font-weight: 600; cursor: pointer; }

.btn-whatsapp-action { 
    background: #25d366; color: white; border: none; width: 100%; padding: 16px; border-radius: 50px; 
    font-weight: 800; font-size: 1rem; display: flex; align-items: center; justify-content: center; gap: 10px; 
    margin-top: 25px; cursor: pointer; transition: 0.3s; box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3); 
}
.btn-whatsapp-action:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4); }

/* --- CHECKOUT PIX & TERMOS --- */
.btn-pix-action { background: #00bfa5; color: white; border: none; box-shadow: 0 4px 15px rgba(0, 191, 165, 0.4); }
.btn-pix-action:hover { background: #009688; transform: translateY(-2px); }

/* Checkbox Termos */
.terms-box { margin: 15px 0; text-align: left; }
.terms-label { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 0.9rem; }
.terms-label a { color: var(--blue-dark); text-decoration: underline; }
.terms-details { background: #f8f9fa; border: 1px solid #e9ecef; padding: 10px; margin-top: 10px; border-radius: 8px; font-size: 0.8rem; color: #555; line-height: 1.4; }

/* Modal Privacidade */
.privacy-box { background: white; padding: 30px; width: 90%; max-width: 500px; border-radius: 20px; text-align: center; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.privacy-subtitle { color: #666; margin-bottom: 20px; }
.privacy-steps { display: grid; gap: 10px; text-align: left; margin-bottom: 20px; }
.p-step { padding: 10px; border-radius: 8px; font-weight: bold; font-size: 0.9rem; }

/* Identidade Visual Correta */
.step-pink { background: var(--blue-dark); color: white; }
.p-step-img { background: #f0f7ff; color: var(--text-dark); border: 1px solid #dbeafe; }
.fake-toggle .fa-toggle-off { color: #ccc; }
.btn-confirm-privacy { background: var(--blue-dark); box-shadow: 0 5px 15px rgba(0, 114, 255, 0.3); }
.btn-confirm-privacy:hover { background: var(--blue-light); }

/* Status Page */
.btn-locked { background: #ccc !important; cursor: not-allowed; color: #666 !important; box-shadow: none !important; transform: none !important; }
.countdown-box { font-size: 2.5rem; font-weight: 800; color: var(--text-dark); margin: 20px 0; font-variant-numeric: tabular-nums; }
.countdown-label { font-size: 0.9rem; color: #666; text-transform: uppercase; letter-spacing: 1px; }
.btn-text-only { background: none; border: none; color: #666; cursor: pointer; margin-top: 10px; text-decoration: underline; }
.timeline-container { display: flex; justify-content: space-between; margin: 40px 0; position: relative; }
.timeline-container::before { content: ''; position: absolute; top: 15px; left: 0; width: 100%; height: 4px; background: #e0e0e0; z-index: 0; }
.timeline-step { position: relative; z-index: 1; text-align: center; width: 33%; }
.t-circle { width: 35px; height: 35px; background: #e0e0e0; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 10px; font-weight: bold; transition: 0.3s; }
.timeline-step.active .t-circle { background: #25d366; box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.2); }
.timeline-step p { font-size: 0.9rem; font-weight: 600; color: #999; }
.timeline-step.active p { color: #333; }

/* CORREÇÃO RASTREIO MOBILE */
@media (max-width: 768px) {
    .nav-menu > a.btn-rastreio-mobile { display: inline-flex !important; align-items: center; gap: 5px; font-size: 0.85rem; background: #f0f7ff; padding: 5px 10px; border-radius: 15px; border: 1px solid #dbeafe; }
    .texto-rastreio { font-size: 0.8rem; }
}
/* RESOLUÇÃO DO STUTTERING NO MOBILE */
@media (max-width: 768px) {
    .hero h1 {
        /* Define uma altura mínima para que o texto ao mudar não "empurre" o resto da página */
        min-height: 80px; 
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .typing-text {
        /* Garante que o span mantenha um bloco consistente */
        display: inline-block;
        min-height: 1.2em;
    }
}
/* ====================================================== */
/* NOVO SISTEMA DE PLATAFORMAS (MOBILE E PC)              */
/* ====================================================== */

@media (max-width: 768px) {
    .services-section .platform-tabs { 
        display: none !important; 
    }
    .outros-filter-container { 
        display: none !important; /* Esconde a seleção secundária no celular, pois já escolheu na principal */
    }
    .mobile-platform-filter-container {
        background: #fff;
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.05);
        margin-bottom: 25px;
        border: 1px solid #f0f0f0;
        display: block; 
    }
}

@media (min-width: 769px) {
    .mobile-platform-filter-container { 
        display: none !important; /* Esconde o Dropdown no PC */
    }
    .platform-tabs {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
}
/* APLICAR BORDA EM TODOS OS SERVIÇOS E COMBOS */
#servicos .package-card,
#combos .package-card {
    border: 2px solid var(--blue-dark);
    box-shadow: 0 10px 30px rgba(0,114,255,0.1);
}
/* AJUSTES DO DROPDOWN CUSTOMIZADO MOBILE */
.custom-dropdown-options {
    max-height: 350px !important; /* Aumenta o espaço da lista */
    overflow-y: auto !important;
}

/* Esconde o app que já está selecionado para não repetir na lista */
.custom-option.is-active {
    display: none !important;
}

/* Estiliza a barra de rolagem para o cliente ver que tem mais apps para baixo */
.custom-dropdown-options::-webkit-scrollbar { width: 6px; }
.custom-dropdown-options::-webkit-scrollbar-track { background: #f8faff; border-radius: 0 0 12px 0; }
.custom-dropdown-options::-webkit-scrollbar-thumb { background: var(--blue-dark); border-radius: 10px; }
/* ======================================================
   OTIMIZAÇÃO DE CONVERSÃO (CRO) - CHIPS DE QUANTIDADE E LINKS
   ====================================================== */
.qty-chips-container {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.qty-chip {
    background: #f0f7ff;
    border: 1px solid var(--blue-light);
    color: var(--blue-dark);
    padding: 6px 0;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    font-weight: 800;
    transition: 0.2s ease;
    flex: 1;
    text-align: center;
    min-width: 60px;
    box-shadow: 0 2px 4px rgba(0,114,255,0.05);
}
.qty-chip:hover, .qty-chip:active {
    background: var(--blue-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,114,255,0.2);
}

.premium-link-box {
    margin-top: 15px; 
    text-align: left; 
    background: #fff; 
    padding: 12px; 
    border-radius: 10px; 
    border: 2px dashed #dbeafe; 
    transition: 0.3s;
}
.premium-link-box:focus-within {
    border-color: var(--blue-light);
    background: #f8faff;
}
.premium-link-label {
    display:flex; 
    align-items:center; 
    gap:6px; 
    font-size:0.85rem; 
    font-weight:bold; 
    color:var(--text-dark); 
    margin-bottom:8px;
}
.premium-link-input {
    width:100%; 
    border:1px solid #ccc; 
    padding:10px 12px; 
    border-radius:8px; 
    font-size:0.9rem;
    outline: none;
    transition: 0.2s;
}
.premium-link-input:focus {
    border-color: var(--blue-dark);
    box-shadow: 0 0 0 3px rgba(0,114,255,0.1);
}
/* ======================================================
   DROPDOWN CUSTOMIZADO MOBILE (COM ÍCONES)
   ====================================================== */
.custom-select-wrapper { position: relative; user-select: none; width: 100%; }
.custom-select-trigger {
    display: flex; justify-content: space-between; align-items: center;
    height: 55px; background-color: #f8faff; border: 2px solid var(--blue-dark);
    border-radius: 12px; padding: 0 20px; font-size: 1rem; color: var(--text-dark);
    font-weight: 700; cursor: pointer; transition: 0.3s ease; box-shadow: 0 0 0 4px rgba(0, 114, 255, 0.1);
}
.custom-select-trigger:hover { border-color: var(--blue-dark); }
.custom-select-trigger span { display: flex; align-items: center; gap: 10px; }
.custom-select-trigger i.fa-chevron-down { transition: transform 0.3s; color: var(--blue-dark); }
.custom-select-wrapper.open .custom-select-trigger i.fa-chevron-down { transform: rotate(180deg); }

.custom-options-container {
    position: absolute; display: none; top: 100%; left: 0; right: 0;
    background: #fff; border: 1px solid #dbeafe; border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1); margin-top: 5px; z-index: 100;
    max-height: 280px; overflow-y: auto;
}
.custom-select-wrapper.open .custom-options-container { display: block; animation: fadeIn 0.2s ease; }
.custom-option {
    padding: 15px 20px; display: flex; align-items: center; gap: 12px;
    font-weight: 600; color: var(--text-dark); cursor: pointer;
    transition: 0.2s; border-bottom: 1px solid #f0f7ff; font-size: 1rem;
}
.custom-option:last-child { border-bottom: none; }
.custom-option:hover { background: #f0f7ff; color: var(--blue-dark); padding-left: 25px; }
.custom-option i { font-size: 1.2rem; width: 20px; text-align: center; }
/* ======================================================
   MINI TUTORIAL FLUTUANTE (NÃO INTRUSIVO)
   ====================================================== */
.mini-tutorial-toast {
    position: fixed;
    bottom: 25px;
    left: 20px; /* Fica na esquerda para não cobrir o botão do carrinho na direita */
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 9999;
    display: none;
    overflow: hidden;
    border: 2px solid var(--blue-light);
    animation: slideUpToast 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.mini-tutorial-header {
    background: var(--blue-dark);
    color: white;
    padding: 10px;
    font-size: 0.85rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}
.close-mini-tutorial {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}
.close-mini-tutorial:hover { transform: scale(1.2); }
.mini-tutorial-toast video {
    width: 100%;
    display: block;
    aspect-ratio: 9/16;
    object-fit: cover;
    background: #111;
}
@keyframes slideUpToast {
    from { transform: translateY(150px) scale(0.8); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

@media (max-width: 480px) {
    .mini-tutorial-toast {
        bottom: 90px; /* Fica um pouco acima do menu/footer no mobile */
        left: 15px;
        width: 180px; /* Menor em telas pequenas */
    }
}