/* SECRETTA HOME FORCE V3 */

body.sct-home-v3-on {
    background:#050505!important;
    color:#d4a64f!important;
    overflow-x:hidden!important;
}

/* Esconde o header original do Flynax SOMENTE na home */
body.sct-home-v3-on .header-banner-cont,
body.sct-home-v3-on header,
body.sct-home-v3-on section.main-menu,
body.sct-home-v3-on #logo,
body.sct-home-v3-on #top-navigation,
body.sct-home-v3-on #hline1,
body.sct-home-v3-on #hline2,
body.sct-home-v3-on #mline1,
body.sct-home-v3-on #mline2 {
    display:none!important;
    height:0!important;
    max-height:0!important;
    overflow:hidden!important;
    opacity:0!important;
    visibility:hidden!important;
    margin:0!important;
    padding:0!important;
}

/* Neutraliza largura antiga do Flynax na home */
body.sct-home-v3-on #floor,
body.sct-home-v3-on #wrapper,
body.sct-home-v3-on main,
body.sct-home-v3-on .content,
body.sct-home-v3-on .content-padding,
body.sct-home-v3-on .point1 {
    background:#050505!important;
    max-width:none!important;
    width:100%!important;
    overflow:visible!important;
    box-sizing:border-box!important;
}

/* Caixa principal */
#sct-home-v3 {
    width:min(430px, calc(100% - 20px))!important;
    max-width:430px!important;
    margin:0 auto 22px!important;
    padding:10px 0 0!important;
    color:#d4a64f!important;
    font-family:Arial, sans-serif!important;
    box-sizing:border-box!important;
    clear:both!important;
    float:none!important;
    display:block!important;
    position:relative!important;
    z-index:10!important;
}

/* Card topo */
#sct-home-v3 .sct-v3-card {
    width:100%!important;
    border:1px solid rgba(212,166,79,.30)!important;
    border-radius:22px!important;
    background:
        radial-gradient(circle at 50% 0%, rgba(212,166,79,.12), transparent 34%),
        linear-gradient(180deg,#090909,#050505)!important;
    padding:12px 14px 14px!important;
    box-shadow:0 18px 45px rgba(0,0,0,.60)!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
}

/* Linha topo */
#sct-home-v3 .sct-v3-top {
    height:76px!important;
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:10px!important;
    margin:0 0 10px!important;
}

#sct-home-v3 .sct-v3-menu,
#sct-home-v3 .sct-v3-lock {
    width:46px!important;
    height:46px!important;
    min-width:46px!important;
    border-radius:50%!important;
    border:1px solid rgba(212,166,79,.55)!important;
    background:#080808!important;
    color:#d4a64f!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-decoration:none!important;
    font-size:24px!important;
    line-height:1!important;
    padding:0!important;
    margin:0!important;
    box-sizing:border-box!important;
}

#sct-home-v3 .sct-v3-menu {
    background:transparent!important;
    border:0!important;
    font-size:34px!important;
    cursor:pointer!important;
}

#sct-home-v3 .sct-v3-logo-link {
    flex:1!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-width:0!important;
    text-decoration:none!important;
}

#sct-home-v3 .sct-v3-logo {
    width:225px!important;
    max-width:225px!important;
    height:auto!important;
    display:block!important;
    margin:-20px auto!important;
    object-fit:contain!important;
}

/* Busca */
#sct-home-v3 .sct-v3-search {
    width:100%!important;
    display:flex!important;
    gap:10px!important;
    align-items:center!important;
    margin:6px 0 14px!important;
    padding:0!important;
    box-sizing:border-box!important;
}

#sct-home-v3 .sct-v3-search input {
    flex:1!important;
    min-width:0!important;
    height:52px!important;
    border-radius:18px!important;
    border:1px solid rgba(212,166,79,.28)!important;
    background:#090909!important;
    color:#f4ead4!important;
    padding:0 16px!important;
    font-size:16px!important;
    outline:none!important;
    box-sizing:border-box!important;
}

#sct-home-v3 .sct-v3-search input::placeholder {
    color:#b9aa89!important;
}

#sct-home-v3 .sct-v3-search button {
    width:62px!important;
    height:62px!important;
    min-width:62px!important;
    border-radius:18px!important;
    border:0!important;
    background:linear-gradient(180deg,#b00000,#760000)!important;
    color:#fff!important;
    font-size:25px!important;
    cursor:pointer!important;
    box-shadow:0 10px 24px rgba(120,0,0,.45)!important;
    padding:0!important;
}

/* Banner */
#sct-home-v3 .sct-v3-hero {
    display:block!important;
    width:100%!important;
    border-radius:18px!important;
    overflow:hidden!important;
    border:1px solid rgba(212,166,79,.28)!important;
    background:#080808!important;
    box-sizing:border-box!important;
}

#sct-home-v3 .sct-v3-hero img {
    width:100%!important;
    max-width:100%!important;
    height:auto!important;
    display:block!important;
    object-fit:cover!important;
}

/* Categorias redondas */
#sct-home-v3 .sct-v3-categorias {
    margin:22px 0 8px!important;
    padding:0!important;
}

#sct-home-v3 .sct-v3-title-row {
    display:flex!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:12px!important;
    margin:0 4px 14px!important;
}

#sct-home-v3 .sct-v3-title-row h2,
#sct-home-v3 .sct-v3-navegacao h2,
#sct-home-v3 .sct-v3-navegacao h3 {
    margin:0!important;
    color:#d4a64f!important;
    font-family:Georgia, serif!important;
    font-weight:800!important;
    letter-spacing:1.5px!important;
    text-transform:uppercase!important;
}

#sct-home-v3 .sct-v3-title-row h2 {
    font-size:18px!important;
}

#sct-home-v3 .sct-v3-title-row a {
    color:#d4a64f!important;
    text-decoration:none!important;
    font-size:12px!important;
    font-weight:800!important;
}

#sct-home-v3 .sct-v3-icons {
    display:grid!important;
    grid-template-columns:repeat(6,1fr)!important;
    gap:6px!important;
    text-align:center!important;
}

#sct-home-v3 .sct-v3-icons a {
    color:#d4a64f!important;
    text-decoration:none!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:6px!important;
    min-width:0!important;
}

#sct-home-v3 .sct-v3-icons span {
    width:48px!important;
    height:48px!important;
    border-radius:50%!important;
    border:1px solid rgba(212,166,79,.30)!important;
    background:#080808!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    font-size:20px!important;
}

#sct-home-v3 .sct-v3-icons a.active span {
    background:linear-gradient(180deg,#990000,#5a0000)!important;
    border-color:#8b5a22!important;
}

#sct-home-v3 .sct-v3-icons small {
    font-size:10px!important;
    color:#d4a64f!important;
    line-height:1.15!important;
    max-width:100%!important;
    overflow:hidden!important;
    text-overflow:ellipsis!important;
    white-space:nowrap!important;
}

/* Bloco navegação abaixo */
#sct-home-v3 .sct-v3-navegacao {
    margin:24px 0 0!important;
    padding:16px 12px!important;
    border:1px solid rgba(212,166,79,.22)!important;
    border-radius:18px!important;
    background:linear-gradient(180deg,#080808,#050505)!important;
    box-shadow:0 12px 32px rgba(0,0,0,.38)!important;
    box-sizing:border-box!important;
}

#sct-home-v3 .sct-v3-navegacao h2 {
    text-align:center!important;
    font-size:20px!important;
    line-height:1.15!important;
    margin-bottom:8px!important;
}

#sct-home-v3 .sct-v3-navegacao p {
    color:#d8c49b!important;
    text-align:center!important;
    font-size:12px!important;
    line-height:1.45!important;
    margin:0 0 16px!important;
}

#sct-home-v3 .sct-v3-grid-links {
    display:grid!important;
    grid-template-columns:repeat(2,1fr)!important;
    gap:8px!important;
    margin-bottom:18px!important;
}

#sct-home-v3 .sct-v3-grid-links a {
    display:block!important;
    text-align:center!important;
    border:1px solid #3b2a12!important;
    border-radius:12px!important;
    padding:12px 8px!important;
    background:#090909!important;
    color:#f0d39a!important;
    text-decoration:none!important;
    font-size:14px!important;
    font-weight:bold!important;
}

#sct-home-v3 .sct-v3-navegacao h3 {
    font-size:15px!important;
    margin:0 0 10px!important;
}

#sct-home-v3 .sct-v3-cidades {
    display:flex!important;
    flex-wrap:wrap!important;
    gap:8px!important;
    justify-content:center!important;
}

#sct-home-v3 .sct-v3-cidades a {
    border:1px solid #8b5a22!important;
    border-radius:999px!important;
    padding:9px 13px!important;
    color:#d4a64f!important;
    text-decoration:none!important;
    font-size:13px!important;
    background:#090909!important;
}

/* Esconde blocos antigos duplicados da home */
body.sct-home-v3-on .secretta-home-insert-wrap,
body.sct-home-v3-on #secretta-home-insert-wrap,
body.sct-home-v3-on .secretta-pro-section,
body.sct-home-v3-on .sct-global-header {
    display:none!important;
}

/* Segurança contra imagem gigante fora do nosso wrapper */
body.sct-home-v3-on img[src*="/img/logo.png"]:not(.sct-v3-logo),
body.sct-home-v3-on img[src*="secretta-hero.png"]:not(#sct-home-v3 img) {
    max-width:430px!important;
    height:auto!important;
}

@media(max-width:480px) {
    #sct-home-v3 {
        width:calc(100% - 18px)!important;
    }

    #sct-home-v3 .sct-v3-logo {
        width:220px!important;
        max-width:220px!important;
    }

    #sct-home-v3 .sct-v3-icons {
        gap:4px!important;
    }

    #sct-home-v3 .sct-v3-icons span {
        width:44px!important;
        height:44px!important;
        font-size:18px!important;
    }

    #sct-home-v3 .sct-v3-icons small {
        font-size:9px!important;
    }
}
