/* ================== BASE ================== */
body {
    background-color: rgb(66, 66, 66);
    color: white;
}

html,
body {
    max-width: 100%;
    background-color: #000000;
}

html {
    overflow-x: hidden;
}

body {
    overflow-x: visible;
}

.navbar-include {
    width: 100%;
    height: 140px;
    display: block;
    border: none;
}

.menu-mobile-include {
    width: 100%;
    height: 0;
    display: block;
    border: none;
}


.navbar * {
    position: relative;
    z-index: 1;
}

h1,
h2,
h3,
p,
video {
    position: relative;
    z-index: 0;
}

footer {
    color: white;
    padding: 40px 0;
    margin-top: 50px;
    border-radius: 10px;
}


/* ----------------------------
   SOBRE
----------------------------- */
.info-linha {
    display: flex;
    align-items: right;
    gap: 8px;
    margin-bottom: 8px;
    flex-direction: row-reverse;
    color: #d10808;
}

.info-linha img {
    width: 18px;
    height: 18px;
}

.info-conteudo {
    margin-left: 26px;
    font-size: 16px;
    color: #fff;
}

.link-mapa {
    display: inline-block;
    margin-left: 26px;
    margin-bottom: 4px;
    color: #d10808;
    text-decoration: none;
    font-size: 16px;
    margin-top: 5px;
}

.sobre-text {
    font-size: 16px;
    font-weight: 500;
}

.sobre-col-esq {
    padding-left: 80px;
}

.sobre-col-dir {
    padding-right: 80px;
    text-align: right;
}

.redes {
    transition: transform 0.4s ease;
}

.redes:hover {
    transform: scale(1.1);
    cursor: pointer;
}

.btn-topo {

    font-size: 14px;
    padding: 5px 15px;
}


/* ================== NAVBAR ================== */


.categorias-nav {

    border-top: 1px solid #d10808;
    margin-bottom: 10px;
    width: 100%;
}

.categorias-nav ul {
    flex-wrap: wrap;
    justify-content: center;
}

.categorias-nav .nav-link {
    color: #e4e4e4;
    font-weight: 700;
    font-size: 18px;
    white-space: nowrap;
}

.categorias-nav .nav-link:hover {
    transition: 0.2s;
    color: #fc1b1b;
    opacity: 0.8;
}

.dropdown-item:hover {
    transition: 0.2s;
    color: #fc1b1b;
}

.nav_icon {
    width: 28px;
    height: 28px;
    margin-top: 5px;
}


.btn-search {
    background: #d10808;
    left: 10px;
    margin-bottom: 2px;
    border-radius: 6px;
}

/* ================== FILTROS ================== */

.area-conteudo {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.filtro {

    width: 250px;
    height: calc(100vh - 300px);
    background-color: #111111;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-right: 20px;
    position: sticky;
    display: flex;
    flex-direction: column;
    top: 180px;
    align-self: flex-start;
    padding: 20px;
}

.filtro-bloco.open .filtro-lista {
    opacity: 1;
    transform: translateY(0);
}

.filtro-bloco.open .filtro-titulo {
    color: #ff3b3b;
}

/* título do filtro */
.filtro-titulo {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.filtro-titulo:hover {

    transition: 0.3s !important;
    color: #d10808 !important;
    transform: scale(1.05) !important;
}

.filtro-lista {
    cursor: pointer;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);

    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1),
        opacity 0.3s ease-in-out 0.1s,
        transform 0.3s ease-in-out 0.1s;

    padding: 0 12px;
    margin: 0;
    margin-bottom: 10px;
}

.filtro.open .filtro-lista {

    opacity: 1;
    transform: translateY(0);
    padding: 8px 12px;
}

.filtro-lista li {
    margin: 6px 0;
}

.filtro-lista li:hover {

    transition: 0.3;
    transform: scale(1.01);
    color: #dad4d4;
}

.active-filtro {
    color: #ff2a2a;
    font-weight: bold;
}

.filtros-scroll {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}


/* scrollbar discreta */
.filtros-scroll::-webkit-scrollbar {
    width: 6px;
}

.filtros-scroll::-webkit-scrollbar-thumb {
    background: rgba(199, 14, 14, 0.2);
    border-radius: 10px;
}

.btn-limpar {

    margin-top: 10px;
    margin-left: 2px;
    text-decoration: none !important;
    color: #e4e4e4;
    cursor: pointer;
}

.btn-limpar:hover {

    transition: 0.2s;
    transform: scale(1.01);
    color: #d10808;
}

.btn-voltar {

    text-decoration: none !important;
    color: white;
}

.btn-voltar:hover {

    transition: 0.2s;
    transform: scale(1.01);
    color: #d10808 !important;
}

/* ================= DIVISÓRIA DOS FILTROS ================= */

.filtro>div:not(:last-child) {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


/* ================== PRODUTOS ================== */

.produto-card {
    background-color: #000000;
    border: none;
    padding: 15px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: 0.3s;
}


.produto-img {

    transition: 0.3s;
    width: 100%;
    height: 160px;
    object-fit: contain;
    margin-bottom: 15px;
}

.produto-img:hover {

    transition: 0.3s;
    transform: scale(1.5);
    transition: 0.3s;
}


.produto-titulo {
    font-size: 16px;
    font-weight: 600;
    min-height: 48px;
    text-align: center;
}

.produto-preco {
    font-size: 18px;
    font-weight: 700;
    color: #dad4d4;
    text-align: center;
    margin: 10px 0;
}

.produto-item {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.produto-item.hidden {
    opacity: 0;
    transform: translateY(20px);
}

.btn-consulte {
    background: #d10808;
    color: white;
    font-weight: bold;
    font-size: 13px;
    border-radius: 6px;
    padding: 10px;
    width: 100%;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
}

.btn-consulte:hover {
    background: #ff2a2a;
    color: white;
}

.logo {
    width: 300px;
    height: auto;
    max-width: 80%;
    margin-bottom: 15px;
}


/* ================== WHATSAPP ================== */

.whatsapp-flutuante {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none !important;
    box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 999;
}

.whatsapp-flutuante img {
    width: 18px;
}

/* ------------------------------
   MENU HAMBÚRGUER MOBILE
------------------------------ */
.hamburger-btn {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    background: none;
    font-size: 24px;
    color: white;
    border: none;
    z-index: 10000;
}

/* MENU LATERAL */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100vh;
    background: #111;
    padding: 20px;
    transition: 0.35s ease;
    z-index: 20000;
    overflow-y: auto;
    box-shadow: 3px 0 15px rgba(0, 0, 0, 0.4);
}

/* ITEM PADRÃO */
.mobile-menu-list li {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 10px;
    background: #1d1d1d;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

.mobile-menu-list li img {
    width: 28px;
    margin-right: 12px;
}

.mobile-menu-list li span {
    font-size: 18px;
    font-weight: 600;
}

/* ACORDEÃO */
.accordion-item {
    flex-direction: column;
    align-items: stretch;
}

.accordion-item:hover {

    transition: 0.3s;
    color: #d10808;
}

.accordion-content a:hover {

    transition: 0.2s;
    color: #d10808;
}

.accordion-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.accordion-header span.arrow {
    margin-left: auto;
    font-size: 18px;
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;

    border-radius: 6px;
    transition: max-height 0.35s ease;
    margin-top: 10px;
}

.accordion-content li {
    display: block;
    padding: 10px 15px;
    background: transparent;
    margin: 0;
}

.accordion-content li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
}

.accordion-item.open .accordion-content {
    max-height: 500px;
    /* suficiente pro conteúdo */
}

.accordion-item.open .arrow {
    transform: rotate(180deg);
}

.mobile-menu.show {
    left: 0;
}

.close-btn {
    position: absolute;
    top: 3px;
    right: 1px;

    font-size: 26px;
    line-height: 1;
    background: transparent;
    border: none;
    color: #bbb;
    display: none;

    cursor: pointer;
    padding: 4px;
    z-index: 21000;

    transition: color 0.2s ease, transform 0.2s ease;
}

.close-btn:hover {
    color: #fff;
    transform: scale(1.1);
}


.mobile-menu-list {
    list-style: none;
    padding: 0;
}

.mobile-menu-list li {
    display: flex;
    align-items: center;
    padding: 12px 10px;
    margin-bottom: 10px;
    background: #1d1d1d;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.25s;
}

.mobile-menu-list li img {
    width: 28px;
    margin-right: 12px;
}

.mobile-menu-list li span {
    font-size: 18px;
    font-weight: 600;
}

/* BOTÃO DE FILTROS - MOBILE */
.btn-filtro-mobile {
    transition: 0.3s;
    display: none;
    position: fixed;
    bottom: 90px;
    right: 20px;
    z-index: 9999;
    background: #292929;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-filtro-mobile:hover {
    transition: 0.3s;
    transform: scale(1.1);
    background: #3d0000;
}

/* BOTÃO HOME - MOBILE */
.btn-home-mobile {
    transition: 0.3s;
    display: none;
    position: fixed;
    bottom: 90px;
    left: 20px;
    z-index: 9999;
    background: #292929;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* PAINEL DE FILTROS (MOBILE) */
.filtro {
    transition: 0.35s ease;
}

.link-filtro{
    transition: 0.3s;
    text-decoration: none !important;
    color: #ffffff !important;
}


/* 📱 MOBILE */
@media (max-width: 992px) {

    .btn-filtro-mobile {
        display: block;
    }

    .filtro {
        position: fixed;
        top: 0;
        left: -100%;
        width: 90%;
        max-width: 320px;
        height: 100vh;
        background: #111;
        z-index: 20000;
        padding-top: 20px;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.5);
    }

    .filtro.show {
        left: 0;
    }
}

/* ================== RESPONSIVO ================== */

/* Esconde a NAVBAR 2 no mobile */
@media (max-width: 1200px) {
    .categorias-nav {
        display: none !important;
    }

    .hamburger-btn {
        display: block;
    }
}

/* Tablets */
@media (max-width: 992px) {
    .categorias-nav .nav-link {
        font-size: 16px;
    }

    .nav_icon {
        width: 26px;
        height: 26px;
    }

    .filtro {
        width: 160px;
        height: calc(100vh - 330px);
    }
}

/* Mobile */
@media (max-width: 768px) {

    /* produtos */
    .produto-img {
        height: 150px;
    }

    .produto-titulo {
        font-size: 15px;
    }

    .lista-produtos {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }


    .produto-img:hover {

        transition: 0.3s;
        transform: scale(1.6);
        transition: 0.3s;
    }

    .close-btn {
        display: flex;
    }

    /* whatsapp compacto */
    .whatsapp-flutuante {
        padding: 10px 14px;
        font-size: 14px;
    }

    .filtro {
        width: 160px;
        height: calc(100vh - 320px);
    }

    .whatsapp-flutuante {
        font-size: 13px;
        padding: 6px 12px;
    }

    .logo-site {
        max-width: 260px;
    }

    .btn-home-mobile {
        display: flex;
        position: fixed;
        bottom: 20px;
        left: 15px;
        z-index: 1200;

        background: #272727;
        border: none;
        border-radius: 50%;
        padding: 10px;

        box-shadow: 0 4px 10px rgba(0, 0, 0, .4);
    }

    .btn-home-mobile:hover {
        transition: 0.3s;
        transform: scale(1.1);
        background: #3d0000;

    }

    .btn-home-mobile img {
        width: 26px;
        height: 26px;
    }


    footer h3,
    footer h5 {
        text-align: center !important;
        margin-right: 0 !important;
    }

    .sobre-col-dir,
    .sobre-col-esq {
        text-align: center !important;
        padding: 20px !important;
    }

    .info-linha {
        flex-direction: row !important;
        justify-content: center;
    }

    .info-conteudo,
    .link-mapa {
        margin-left: 0 !important;
        text-align: center;
    }

    .whatsapp-flutuante {
        padding: 12px;
        border-radius: 50%;
    }

    .whatsapp-flutuante span,
    .whatsapp-flutuante::after {
        display: none;
    }

    .whatsapp-flutuante img {
        width: 26px;
        margin: 0;
    }
}

/* Telas muito pequenas */
@media (max-width: 480px) {
    .produto-preco {
        font-size: 18px;
    }
}

/* ================= GRID DE PRODUTOS ================= */

.lista-produtos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 25px;
}

/* notebook */
@media (max-width: 1200px) {
    .lista-produtos {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* tablet */
@media (max-width: 768px) {
    .lista-produtos {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* celular */
@media (max-width: 580px) {
    .lista-produtos {
        grid-template-columns: 1fr;
    }
}

/* trava largura mínima do card */
.produto {
    min-width: 0;
}