/* =========================
   RESET BÁSICO
========================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-size: 80%;
    line-height: 1.5;
    color: #444;
    font-family: Arial, sans-serif;
}

a {
    color: #fff;
    text-decoration: none;
    font-size: 1.4em;
}

a:hover {
    text-decoration: underline;
}

img,
picture,
video,
embed {
    max-width: 100%;
}

/* =========================
   CONTAINER
========================= */
.container {
    max-width: 1024px;
    margin: 0 auto;
    width: 100%;
}

/* =========================
   HEADER
========================= */
.header {
    width: 100%;
    margin: 0.5em 0;
    background: #fff;
    position: relative;
    z-index: 10;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.logo {
    width: 22.8515625%;
    min-width: 100px;
}

/* =========================
   CAIXA PRINCIPAL
========================= */
.caixa {
    width: 100%;
    padding: 1em;
    background: #000;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.18);
    margin: 10px 0;
    position: relative;
}

.caixa p {
    font-size: 1.6em;
    font-weight: 200;
    color: #fff;
    margin-bottom: 12px;
}

h1 {
    font-size: 2em;
    font-weight: 200;
    color: #fff;
}

/* =========================
   GRID FLEXBOX
========================= */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: stretch;
}

/* =========================
   COLUNAS
========================= */
.coluna,
.coluna2 {
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    font-size: 80%;
    border: 1px solid #f0f0f0;

    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s ease;

    display: flex;
    flex-direction: column;
}

/* 4 colunas */
.coluna {
    flex: 1 1 calc(25% - 24px);
    min-width: 220px;
}

/* 2 colunas */
.coluna2 {
    flex: 1 1 calc(50% - 24px);
}

/* alturas */
.coluna {
    min-height: 400px;
}

.coluna2 {
    height: auto;
}

/* hover */
.coluna:hover,
.coluna2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.10);
    border-color: #e0e0e0;
}

/* =========================
   OUTROS
========================= */
.carrinho2 {
    width: 100%;
    background: #ADD8E6;
}

.coluna_pdv {
    width: 100%;
    margin-top: 20px;
    background: #E5E5E5;
}

#paginas_detaque {
    width: 100%;
    margin-top: 20px;
    min-height: 20px;
}

.contato {
    padding: 5px;
    margin-top: 2.4em;
    color: #000;
}

p {
    font-size: 1.4em;
}

/* =========================
   FOOTER
========================= */
.footer {
    width: 100%;
    margin: 2.4em 0;
    background: #000;
    text-align: center;
    color: #e67206;
    padding: 20px;
}

.footer small {
    font-size: 1.4em;
}

.footer a {
    color: #e67206;
    font-size: 1em;
}

/* =========================
   ATENDENTE
========================= */
.atendente {
    position: fixed;
    right: 5%;
    top: 90%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;

    background-image: url("../imagens/atendente.png");
    background-repeat: no-repeat;
    background-size: cover;
}

.atendente_b {
    width: 50px;
    height: 50px;
    opacity: 0;
}

/* =========================
   FORMULÁRIOS
========================= */
#carrinho {
    height: 50px;
    width: 100px;
    background: #fff;

    display: flex;
    align-items: center;

    padding: 5px;
    text-align: left;
}

#buscador {

    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

#logo-container {
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.campos_buscar,
.campos_buton,
.campos_form {
    height: 30px;
    color: #0000FF;
}

.campos_buscar {
    width: 100px;
}

#login_ind {
    margin: auto;
    width: 350px;

    border: 1px solid #BFBFBF;
    padding: 5px;
    font-size: 15px;

    background: #b0b0b0;
    text-align: center;
}

/* =========================
   MENU TOP
========================= */
.menu-top {
    width: 100%;
    padding: 12px 0;
    position: relative;
    z-index: 50;
}

.menu-categorias {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.menu-item {
    position: relative;
}

.btn-menu-top {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-width: 130px;
    padding: 13px 22px;

    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.14);

    background: rgba(255,255,255,0.08);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    color: #db6909ff;
    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
    transition: 0.3s ease;

    box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

.btn-menu-top:hover {
    transform: translateY(-2px);
    background: hsla(34, 94%, 19%, 0.884);
}

.btn-menu-top.ativo {
    background: #fff;
    color: #111;
}

.seta-menu {
    font-size: 16px;
    transition: transform 0.35s ease;
}

.btn-menu-top.ativo .seta-menu {
    transform: rotate(180deg);
}

/* =========================
   SUBMENU
========================= */
.submenu-top {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;

    transform: translateX(-50%) translateY(-8px);

    width: max-content;
    max-width: min(420px, calc(100vw - 40px));

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: 0.28s ease;
    z-index: 99;
}

.submenu-top.aberto {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform: translateX(-50%) translateY(0);
}

.submenu-top-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;

    padding: 18px;
    border-radius: 18px;

    background: rgba(255,255,255,0.10);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    box-shadow: 0 20px 38px rgba(0,0,0,0.18);
}

.btn-submenu-top {
    display: inline-block;

    padding: 11px 18px;

    border-radius: 12px;
    background: #fff;

    color: #111;
    font-size: 12px;
    font-weight: 700;

    border: 1px solid #fff;

    transition: 0.28s ease;

    box-shadow: 0 8px 18px rgba(0,0,0,0.10);

    white-space: nowrap;
}

.btn-submenu-top:hover {
    background: #efefef;
    transform: translateY(-2px);
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    background: #2563eb;
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.btn-action:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

.btn-action img {
    width: 22px;
    height: auto;
}

/* contêiner para empilhar botões verticalmente */
.btn-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* variantes de cor */
.btn-action--blue { background: #2563eb; }
.btn-action--blue:hover { background: #1d4ed8; }

.btn-action--green { background: #16a34a; }
.btn-action--green:hover { background: #14803e; }

/* =========================
   CAROUSEL
========================= */
.carousel {
    position: relative;
    max-width: 700px;
    margin: 20px auto;
    overflow: hidden;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-track img {
    min-width: 100%;
    height: 100%;
    object-fit: contain;
    background: #f5f5f5;
}

.carousel img {
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}

.carousel-btn {
    position: absolute;
    top: 50%;

    transform: translateY(-50%);

    background: rgba(0,0,0,0.5);
    color: #fff;

    border: none;
    padding: 10px 15px;

    cursor: pointer;
    font-size: 18px;
}

.prev { left: 10px; }
.next { right: 10px; }

.carousel-dots {
    text-align: center;
    margin-top: 10px;
}

.carousel-dots span {
    display: inline-block;

    width: 12px;
    height: 12px;

    margin: 5px;

    background: #ccc;
    border-radius: 50%;

    cursor: pointer;
}

.carousel-dots .active {
    background: #333;
}

/* =========================
   RESPONSIVO
========================= */
@media screen and (max-width: 1024px) {

    .container {
        padding: 0 2.4em;
    }

}

@media screen and (max-width: 768px) {

    .grid {
        gap: 16px;
    }

    .coluna {
        flex: 1 1 calc(50% - 16px);
    }

    .coluna2 {
        flex: 1 1 100%;
    }

    .menu-categorias {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .menu-item {
        width: 100%;
        max-width: 320px;
    }

    .btn-menu-top {
        width: 100%;
    }

    .submenu-top {
        position: static;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transform: translateY(-8px);
    }

    .submenu-top.aberto {
        margin-top: 10px;
        max-height: 500px;
        transform: translateY(0);
    }

}

@media screen and (max-width: 520px) {

    .coluna,
    .coluna2 {
        flex: 1 1 100%;
        min-height: auto;
    }

    #buscador {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }


}