/* ✅ CONFIG GLOBAL (ESSENCIAL) */
html {
    box-sizing: border-box;
}

*, *::before, *::after {
    box-sizing: inherit;
}

/* ===== BASE ===== */
body {
    margin: 0;
    overflow-x: hidden;
    font-family: Arial, sans-serif;
    background: #fdffff;
}

/* ✅ PROTEÇÃO: esconder mobile no desktop */
.mobile-only {
    display: none;
}

/* ===== HEADER ===== */

header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;

    height: 150px;
    padding: 0 25px;

    background: #ddd;
    border-bottom: 1px solid #ddd;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
    margin-left: -10px;
}

.logo {
    display: flex;
    align-items: center;
    margin-top: -10px;
    margin-left: -10px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 180px;
    width: auto;
}

/* ===== DIREITA ===== */

/* CONTAINER */
.header-right {
    display: flex;
    align-items: center;
    gap: 35px; /* 🔥 mais respiro */
}

/* ITEM */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 4px;
    font-size: 12px;
    text-align: center;
    cursor: pointer;
}

/* ÍCONE */
.menu-item i {
    font-size: 20px;
    color: #333;
}

/* HOVER */
.menu-item:hover i {
    color: #123b63;
    transform: scale(1.1);
}

/* CARRINHO */
.cart-icon {
    position: relative;
}

/* BADGE */
.cart-badge {
    position: absolute;

    top: -6px;
    right: -8px;

    background: #e63946;
    color: #fff;

    font-size: 11px;
    font-weight: 700;

    padding: 3px 6px;
    border-radius: 50%;
}

/* ===== MENU ===== */
.menu {
    background: linear-gradient(90deg, #2a2a2a, #000000, #1c1c1c);
    display: flex;
    justify-content: center;
    gap: 120px;
    padding: 20px 0;
    border-top: 1px solid #222;
    border-bottom: 1px solid #222;
    color: white;
}

.menu a {
    text-decoration: none;
    color: white;
    font-size: 14px;
}

.menu a:hover {
    color: #f4c542;
}

.banner {
    max-width: 1300px;
    margin: 30px auto;
}

.banner img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== HOME BANNERS ===== */
.categorias-banner {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.categorias-banner img {
    width: 500px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.categorias-banner img:hover {
    transform: scale(1.03);
}

/* ========================================= */
/* ✅ LISTAGEM PRODUTOS */
/* ========================================= */

.card {
    width: 100%;
    background: #fdffff;
    border-radius: 14px;
    padding: 20px 25px;
    text-align: center;

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

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
    min-height: unset;
}

.card:hover {
    transform: translateY(-5px);
}

/* IMAGEM */
.img-box {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.img-box img {
    max-height: 300px;
    width: auto;
}

.card h3 {
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
    font-family: "Montserrat", sans-serif !important;

    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

    overflow: hidden;
    text-overflow: ellipsis;

    height: 32px;
    margin-bottom: 6px;
}

.avaliacao {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 4px 0 6px;
}

.preco {
    font-size: 20px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #000;

    margin: 6px 0;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;  /* 🔥 CENTRALIZA */
    gap: 6px;

    text-align: center;       /* ✅ garante alinhamento */
}

/* BOTÕES */
.card-actions {
    margin-top: auto;
    display: flex;
    justify-content: center;
    gap: 10px;

    opacity: 0;
    transform: translateY(10px);
    transition: 0.3s;
}

.btn-acao.comprar {
    background: #0b0c0c;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 13px;
    text-decoration: none;
}

.btn-acao.ver {
    background: white;
    border: 1px solid #333;
    color: #333;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 12px;
    text-decoration: none;
}

.card::after {
    content: "";
    display: block;
    height: 1px;
    background: #ddd;
    margin-top: 15px;
}

.card:hover .card-actions {
    opacity: 1;
    transform: translateY(0);
}

/* ===================== */
/* ✅ DETALHE PRODUTO */
/* ===================== */

@media (min-width: 769px) {

    .produto-container {
        display: grid !important;
        grid-template-columns: 1.5fr 420px;
        gap: 80px;

        max-width: 1250px;
        margin: 40px auto;
        padding: 20px;

        align-items: start;
    }

    .produto-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        position: sticky;
        top: 120px;
    }
}

@media (min-width: 769px) {

    .produto-imagem {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;
        min-height: 600px;
    }

}

    .produto-info {
        display: flex;
        flex-direction: column;
        gap: 5px;
        position: sticky;
        top: 120px;
    }

/* ========================= */
/* ✅ BLOCO BENEFÍCIOS       */
/* ========================= */
.produto-beneficios {
    margin-top: 6px;
    padding: 16px 18px;

    border-radius: 12px;
    border: 1px solid #e2e6ea;

    background: #f9fafb;

    display: flex;
    flex-direction: column;
    gap: 5px;

    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* 🔷 PARCELAMENTO (destaque maior) */
.parcelamento {
    display: inline-block;   /* 🔥 vira “caixinha” */

    background: #444;     /* ✅ verde ML real */
    color: #fff;             /* ✅ texto branco */
    white-space: nowrap;
    font-size: 14px;
    font-weight: 550;
    font-family: "Montserrat", sans-serif;

    padding: 7px 7px;
    border-radius: 6px;

    line-height: 1.2;
}

.pix {
    display: inline-block;

    background: #444;  /* ✅ verde ML */
    color: #fff;           /* ✅ texto branco */

    font-size: 11px;
    font-weight: 550;
    font-family: "Montserrat", sans-serif;

    padding: 5px 8px;
    border-radius: 6px;

    line-height: 1.2;
}


/* 🔷 LINK "ver detalhes" */
.ver-detalhes {
    font-size: 12px;
    color: #555;
    text-decoration: underline;
    cursor: pointer;

    margin-top: 5px;
}

.ver-detalhes:hover {
    color: #123b63;
}

/* 🔷 Ícones opcionais */
.produto-beneficios i {
    margin-right: 6px;
    color: #1a7f37;
}

.btn-comprar-principal {
    background: #333;
    color: white;
    height: 42px;
    border: none;
    border-radius: 30px;
    padding: 10px 0px;
    font-weight: bold;
    font-size: 12px;
    cursor: pointer;
    width: 100%;
}

@media (min-width: 769px) {
    .btn-comprar-principal {
        width: auto;
        height: 40px;
        padding: 14px 50px;
        font-weight: 550;
        flex: unset;
    }
}

/* RESTANTE FOI MANTIDO 100% IGUAL */

.compra-box {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 10px;
    padding: 5px;
    background: #f5f5f5;
}

.frete-box {
    margin-top: 15px;
}

.cep-box {
    display: flex;
    margin-top: 10px;
    font-family: "Montserrat", Sans-serif;
    font-size: 12px;
}

.cep-box input {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ccc;
    height: 42px;
}

.cep-box button {
    padding: 0 16px;                /* ✅ altura controlada via height */
    height: 42px;
    border-radius: 10px;
    border: 1.5px solid #333;   /* ✅ borda mais forte */
    background: #fff;
    color: #333;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;            /* ✅ não quebra CALCULAR */
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cep-box button:hover {
    background: #333;
    color: #fff;
}

.link-cep {
    display: inline-block;

    margin-top: 6px;

    font-size: 12px;
    font-family: "Montserrat", sans-serif;

    color: #333;              /* ✅ cor padrão do site */
    text-decoration: none;        /* ✅ remove sublinhado feio */

    border-bottom: 1px solid transparent; /* ✅ efeito elegante */

    cursor: pointer;
    transition: 0.2s;
}

.link-cep:hover {
    border-bottom: 1px solid #123b63; /* ✅ underline suave */
    color: #0d2d4a;                  /* ✅ sombra de hover */
}

.indicador {
    text-align: center;
    font-size: 13px;
    color: #777;
    margin-top: 5px;
}

.breadcrumb {
    font-size: 12px;
    color: #888;
    margin: 10px 5px;
}

.produto-titulo {
    font-size: 20px;
    font-weight: bold;
    margin: 10px 5px;
}

.produto-preco {
    font-size: 28px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    color: #000;

    margin: 10px 5px;

    display: flex;          /* ✅ alinha com badge */
    align-items: center;    /* ✅ central vertical */
    gap: 8px;               /* ✅ espaço entre preço e OFF */
}

/* ✅ BADGE DESCONTO (estilo Mercado Livre) */
.desconto {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #00a650;    /* ✅ verde ML */
    color: #fff;

    font-size: 11px;
    font-weight: 700;

    padding: 3px 6px;
    border-radius: 4px;

    line-height: 1;
    white-space: nowrap;
}

/* ✅ SELECT IGUAL MARKETPLACE */
.box-tamanho {
    margin: 15px 5px;
}

.box-tamanho label {
    font-size: 13px;
    color: #555;
}

.select-tamanho {
    width: 100%;
    padding: 12px;
    margin-top: 5px;

    border-radius: 10px;
    border: 1px solid #ccc;

    font-size: 14px;
    background: white;
}

.produto-descricao {
    margin: 20px 5px;
    font-size: 14px;
    color: #444;
}

.devolucao-aviso {
    font-size: 12px;
    color: #444;

    margin-top: 8px;

    display: block;
}
.qtd-box {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 7px;
    width: 100%;

    font-size: 15px;

    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 10px;

    background-color: #fff;
}

.qtd-box button {
    border: none;
    background: none;
    outline: none;          /* ✅ remove contorno */
    box-shadow: none;       /* ✅ remove sombra de foco */

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;
}

.produto-img {
    display: none !important;
    width: 100%;

    max-width: 100%;   /* ✅ evita overflow estranho */
    height: auto;      /* ✅ garante proporção */

    cursor: pointer;
}

.produto-img.ativa {
    display: block !important;
}


.modal-img {
    position: fixed;
    inset: 0;

    background: rgba(0,0,0,0.9);
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;

    opacity: 0;
    pointer-events: none;

    transition: opacity 0.3s ease;
}

.modal-img.active {
    opacity: 1;
    pointer-events: all;
}

.modal-img img {
    max-width: 98%;
    max-height: 90%;
    user-select: none;
    position: relative;
    transform-origin: center;

    touch-action: none;
    opacity: 0;
    transform: scale(0.9);

    transition: all 0.2s ease;
}

.modal-img.active img {
    opacity: 1;
    transform: scale(1);
}

.modal-topo {
    position: absolute;
    top: 15px;
    left: 20px;
    right: 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    color: #fff;
    font-size: 14px;
}

.modal-topo .fechar {
    font-size: 22px;
    cursor: pointer;
}

.modal-topo span:first-child {
    font-weight: 600;
}

.seta {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    font-size: 28px;
    color: #fff;

    padding: 10px;
    background: rgba(0,0,0,0.4);
    border-radius: 50%;

    cursor: pointer;
    user-select: none;
}

.seta.esquerda { left: 10px; }
.seta.direita { right: 10px; }

body.modal-aberto {
    overflow: hidden;
}

/* ✅ ESCONDE banner no mobile */
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
}

.banner-info-desktop {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 15px auto;
    padding: 15px 30px;

    background: #e5e5e5;
    border-radius: 6px;

    gap: 20px;
}

.info-item-desktop {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;

    gap: 10px;
    flex: 1;
}

.info-item-desktop .icon-box {
    width: 45px;
    height: 45px;
    margin-bottom: 2px;
    border: 2px solid #333;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 22px;
}

.info-text {
    text-align: center;
    max-width: 170px;
    transform: translateX(12px);
}

.info-destaque {
    font-size: 13px;
    font-weight: 700;
    display: block;
    transform: translateX(-8px);
}

.info-text p {
    font-size: 12px;
    margin: 2px 0 0;
    color: #555;
    transform: translateX(-8px);
}

/* ===== CAROUSEL ===== */
@media (min-width: 769px) {

    .banner-carousel {
        max-width: 1300px;
        width: 100%;
        margin: 20px auto;

        height: 500px;
        overflow: hidden;
        border-radius: 12px;

        position: relative;
    }

    .carousel-track {
        display: flex;
        height: 100%;
        transition: transform 0.4s ease;
    }

    .slide {
        min-width: 100%;
        flex: 0 0 100%;
        height: 100%;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }
}

.avaliacao-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 5px 0;
}

.produto-avaliacao .stars {
    color: #333;
    font-size: 20px;
}

.avaliacao-home .qtd {
    font-size: 12px;
    color: #777;
}

.container-produtos {
    display: flex;
    gap: 10px;
    max-width: 1500px;
    margin: 0 auto;
    padding: 25px;
}

/* SIDEBAR */
.sidebar-filtros {
    width: 240px;
}

.sidebar-filtros h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.lista-categorias {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.lista-categorias li {
    margin-bottom: 8px;
}

/* ✅ LISTA CATEGORIAS IGUAL FILTRO */
.lista-categorias a {
    display: block;

    font-size: 14px;
    font-family: "Montserrat", sans-serif;

    color: #2f3e46;

    padding: 4px 0;

    text-decoration: none;

    transition: 0.2s;
}

/* ✅ HOVER IGUAL CHECKBOX */
.lista-categorias a:hover {
    color: #123b63;
}


/* FILTROS */
.filtro-bloco {
    margin-bottom: 25px;
}

.filtro-bloco h4 {
    font-size: 16px;
    margin-bottom: 10px;
}

.filtro-bloco label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
    font-family: "Montserrat", Sans-serif;
    cursor: pointer;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));

    gap: 1px;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;
    padding: 10px;
}

.titulo-categoria {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;

    font-family: "Montserrat", sans-serif;
    font-size: 15px;
}

.header-center {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: -15px;

    width: 100%;
    justify-self: center;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.search-box input {
    width: 100%;
    padding: 14px 500px 14px 20px;
    border-radius: 25px;
    border: 1px solid #888;
    font-size: 14px;
}

.search-icon {
    width: 25px;
    height: 25px;
    fill: #838080;
}


.search-box input:focus {
    border-color: #123b63;
    box-shadow: 0 0 6px rgba(18, 59, 99, 0.2);
}

.search-button {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);

    background: none;
    border: none;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .sidebar-filtros {
        display: none;
    }

    .container-produtos {
        flex-direction: column;
        padding: 10px;
    }

    .card-wrapper {
        flex: 0 0 50%;
    }
}

.image-wrapper {
    flex: 1;

    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {

    .produto-container {
        display: block;
    }

    .thumb-coluna {
        display: none;
    }

    .produto-imagem img {
        max-width: 520px;
    }

}

@media (min-width: 769px) {

    .product-slider-image {
        position: relative;
        top: unset;
        left: unset;
        transform: none;

        margin: auto; /* ✅ centraliza dentro do wrapper */
        display: block;
    }

}

.compra-beneficios {
    margin-top: 10px;

    padding: 16px 18px;

    border-radius: 10px;
    border: 1.5px solid #ccc;

    background: #f7f7f7;

    display: flex;
    flex-direction: column;
    gap: 10px; /* ✅ mais respiro */
}

/* LINHAS */
.compra-beneficios p {
    font-size: 14px;
    color: #1a7f37;
    font-family: Arial, sans-serif;
    margin: 0;

    display: flex;
    align-items: center;
    gap: 10px; /* ✅ melhora alinhamento */
}

.compra-wrapper {
    margin-top: 15px;
    padding: 14px;

    border-radius: 10px;
    border: 1.5px solid #ddd;

    background: #f5f5f5;
}

#brand-ticker {
    overflow: hidden;
    background: #fff;

    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);

    padding: 18px 0;
}

.ticker-track {
    display: flex;
    gap: 40px;
    width: max-content;

    animation: tickerScroll 25s linear infinite;
}

.ticker-track span {
    font-size: 14px;
    color: #333;
    white-space: nowrap;

    font-family: "Montserrat", sans-serif;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.produto-imagem {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* IMAGEM PRINCIPAL */
.product-slider-image {
    max-height: 520px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* THUMBNAILS */
.thumb-coluna {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0; /* 🔥 MUITO IMPORTANTE */
}

.thumb-coluna img {
    width: 60px;
    height: 60px;
    object-fit: cover;

    border-radius: 8px;
    cursor: pointer;

    border: 2px solid transparent;
    transition: 0.3s;
}

.cookie-banner {
    position: fixed;
    bottom: 5px;       /* ✅ sobe um pouco da borda */
    left: 50%;
    transform: translateX(-50%);

    width: 60%;         /* ✅ MAIS ESTREITO (metade aprox) */
    max-width: 500px;   /* ✅ limita no desktop */

    background: #333;
    color: #fff;

    padding: 12px 16px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    border-radius: 10px;   /* ✅ mais moderno */
    z-index: 999999;

    font-size: 13px;
}

/* TEXTO */
.cookie-banner span {
    flex: 1;
}

/* BOTÃO */
.cookie-banner button {
    border: 1px solid #fff;
    background: transparent;

    color: white;

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

    font-size: 8px;
    font-weight: 600;

    cursor: pointer;
}

/* MOBILE */
@media (max-width: 768px) {

    .cookie-banner {
        position: fixed;

        left: 50%;
        transform: translateX(-50%);

        bottom: env(safe-area-inset-bottom, 20px); /* ✅ evita corte iPhone */

        width: 75%;
        max-width: none;

        padding: 14px;

        display: flex;
        flex-direction: column;
        align-items: stretch;   /* ✅ melhor que flex-start */
        justify-content: center;

        gap: 10px;

        border-radius: 12px;

        font-size: 10px;
    }

    .cookie-banner span {
        text-align: left;
        line-height: 1.4;
    }

    .cookie-banner button {
        width: 100%;          /* ✅ BOTÃO GRANDE (TOQUE) */
        padding: 10px;

        font-size: 8px;
        border-radius: 25px;

        align-self: stretch;  /* ✅ ocupa tudo */
    }
}


.conteudo-produtos {
    flex: 1;
}

.ordenacao-container {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.select-ordenar {
    appearance: none;
    padding: 10px 40px 10px 15px;
    font-size: 14px;
    font-weight: 500;

    border: 1px solid #888;
    border-radius: 8px;

    background-color: #fff;
    color: #333;
    cursor: pointer;

    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    transition: all 0.2s ease;

    background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.select-ordenar:hover {
    border-color: #999;
}

.select-ordenar:focus {
    outline: none;
    border-color: #6a5acd;
    box-shadow: 0 0 0 2px rgba(106, 90, 205, 0.2);
}

.btn-filtrar {
    width: 70%;
    margin-top: 10px;
    padding: 12px 14px;

    background-color: #111;
    color: #ffffff;

    border: 1px solid #111;
    border-radius: 8px;

    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
}

/* hover */
.btn-filtrar:hover {
    background-color: #000;
    border-color: #000;
    transform: translateY(-2px);
}

/* clique */
.btn-filtrar:active {
    transform: scale(0.97);
}

/* foco */
.btn-filtrar:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

/* ===== BLOCO GERAL ===== */
.filtro-preco {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #e5e5e5;
}

.filtro-preco h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #111;
}


/* ===== CONTAINER DOS CAMPOS ===== */
.preco-campos {
    display: flex;
    align-items: flex-end;
    gap: 5px;
}


/* ===== CADA CAMPO ===== */
.campo {
    display: flex;
    flex-direction: column;
}

.campo label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}


/* ===== INPUT ===== */
.campo input {
    width: 85px;
    padding: 8px 10px;

    border: 1px solid #ddd;
    border-radius: 10px;

    font-size: 13px;
    font-weight: 500;

    background: #f8f9fb;

    transition: all 0.2s ease;
}

.campo input:focus {
    outline: none;
    border-color: #111;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}


/* ===== BOTÃO SETA ===== */
.btn-preco {
    height: 30px;
    width: 30px;

    border-radius: 50%;
    border: 1px solid #777;

    background: #fff;
    color: #111;

    font-size: 18px;
    font-weight: bold;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.25s ease;
}


/* hover */
.btn-preco:hover {
    background: #111;
    color: #fff;
    border-color: #111;

    transform: translateY(-2px);
}


/* clique */
.btn-preco:active {
    transform: scale(0.95);
}


/* ===== CONTATO DESKTOP ===== */
.contato-container {
    max-width: 1200px;
    margin: 40px auto;

    display: grid;
    grid-template-columns: 30% 70%;
    gap: 50px;

    padding: 0 20px;

    box-sizing: border-box; /* ✅ evita overflow */
}

/* info esquerda */
.contato-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-family: Arial, sans-serif;
}

.contato-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: Arial, sans-serif;
    font-size: 13px; /* ✅ leve ajuste */
    margin-bottom: 12px;
    color: #4a5057;
}

/* form */
.contato-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* labels */
.contato-form label {
    font-size: 13px;
    font-weight: 500;
    color: #4a5057;
    font-family: Arial, sans-serif;
}

/* inputs */
.contato-form input,
.contato-form textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px;

    border-radius: 12px;
    border: 1px solid #ccc;

    font-size: 14px;

    box-sizing: border-box; /* ✅ essencial */
}

/* textarea */
.contato-form textarea {
    height: 150px;
    resize: none;
}

/* botão */
.btn-enviar {
    width: 200px;

    padding: 12px;

    border-radius: 25px;
    border: none;

    background: #333;
    color: #fff;

    font-weight: 600;
    cursor: pointer;

    margin-top: 10px;

    transition: 0.3s;
}

.btn-enviar:hover {
    background: #333;
}

/* ✅ CAPTCHA alinhamento */
.g-recaptcha {
    margin-top: 10px;
}

/* =====================
   MENSAGENS (DESKTOP)
===================== */

.msg-success,
.msg-error {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 12px;
    font-weight: 500;
    font-size: 14px;
    max-width: 420px; /* ✅ mais equilibrado */
}

/* ✅ sucesso */
.msg-success {
    background: #e6f9f0;
    color: #1a7f4b;
    border: 1px solid #b7ebc6;
}

/* ❌ erro */
.msg-error {
    background: #fdeaea;
    color: #a61b1b;
    border: 1px solid #f5c6cb;
}


.menu-item.atendimento {
    position: relative;
}

/* ✅ BOX */
.box-atendimento {
    position: absolute;
    top: 45px;
    right: 0;

    background: #f5f5f5;
    border: 1px solid #333;
    border-radius: 10px;

    padding: 10px;
    min-width: 240px;

    box-shadow: 0 6px 20px rgba(0,0,0,0.08);

    display: none;
    z-index: 999;
}

/* TEXTO */
.box-atendimento p {
    margin: 8px 0;
    font-size: 13px;
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;

    color: #333;
}

.box-atendimento i {
    color: #333;
}

.menu-item.conta {
    position: relative;
}

/* ========================= */
/* ✅ BOX CONTA (FINAL)      */
/* ========================= */
.box-conta {
    position: absolute;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);

    background: #fff;
    border: 1px solid #000;
    border-radius: 10px;

    padding: 2px 0;
    min-width: 230px;

    box-shadow: 0 8px 24px rgba(0,0,0,0.08);

    display: none; /* ✅ único display */

    flex-direction: column;
    gap: 2px;

    z-index: 999;
}

/* ========================= */
/* ✅ LINKS (COM ÍCONE)      */
/* ========================= */
.link-conta {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 14px;
    cursor: pointer;
    color: #2f3e46;

    padding: 10px 15px;

    font-family: Arial, sans-serif;

    transition: all 0.2s ease;
}

/* ✅ ÍCONE */
.link-conta i {
    font-size: 14px;
    color: #333;
    min-width: 18px;
}

/* ✅ HOVER PROFISSIONAL */
.link-conta:hover {
    background: #f5f7fa;
    color: #4f46e5;
}

.link-conta:hover i {
    color: #4f46e5;
}

/* ✅ FIX FINAL DROPDOWNS */
.box-conta.ativo,
.box-atendimento.ativo {
    display: flex !important;
    flex-direction: column;
}

.link-conta {
    display: flex;
    align-items: center;
    gap: 12px;
 
    width: 100%;
 
    padding: 12px 18px;
 
    text-decoration: none;
    color: #123b63;
 
    font-size: 15px;
    font-weight: 500;
 
    transition: .2s;
}

 
.link-conta span {
    flex: 1;
}
 
.link-conta:hover {
    background: #f5f5f5;
}

/* ✅ FORM LOGIN / CONTA */

.conta-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px 40px;

    background: #ffffff;

    border: 1px solid #ddd;
    border-radius: 12px;

    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* TÍTULO */
.conta-form h2 {
    text-align: center;
    margin-bottom: 30px;

    font-family: "Montserrat", sans-serif;
    font-size: 22px;
}

/* GRUPOS */
.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

/* LABEL */
.form-group label {
    font-size: 13px;
    margin-bottom: 6px;
    color: #333;
}

/* INPUT */
.form-group input {
    height: 42px;
    padding: 10px 12px;

    border-radius: 10px;
    border: 1px solid #ccc;

    font-size: 14px;

    transition: 0.2s;
}

/* FOCO */
.form-group input:focus {
    border-color: #123b63;
    box-shadow: 0 0 6px rgba(18, 59, 99, 0.2);
    outline: none;
}

/* BOTÃO */
.btn-criar-conta {
    width: 100%;
    margin-top: 10px;

    height: 40px;

    border-radius: 30px;
    border: none;

    background: #333;
    color: #fff;

    font-weight: 500;

    cursor: pointer;

    transition: 0.3s;
}

/* HOVER BOTÃO */
.btn-criar-conta:hover {
    background: #3b5561;
}

/* TEXTO ABAIXO */
.conta-form p {
    text-align: center;
    font-size: 13px;
    margin-top: 15px;
}

/* LINK */
.conta-form a {
    color: #123b63;
    font-weight: 500;
    text-decoration: none;
}

.conta-form a:hover {
    text-decoration: underline;
}

/* ✅ CONTAINER */
.marcas-dropdown {
    position: relative;
    display: inline-block;
}

/* ✅ CAIXA DO DROPDOWN */
.dropdown-marcas {
    position: absolute;
    top: 100%;
    left: 0;

    width: 240px;
    max-height: 300px;

    background: #000; /* 🔥 fundo igual menu */
    color: #fff;

    overflow-y: auto;

    border-radius: 6px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);

    display: none;
    flex-direction: column;

    z-index: 9999;
}

/* ✅ ITENS */
.dropdown-marcas a {
    display: block;

    padding: 10px 15px;

    font-size: 14px;
    color: #fff;  /* 🔥 texto branco */
    text-decoration: none;
}

/* ✅ HOVER */
.dropdown-marcas a:hover {
    background: #6c2bd9; /* 🔥 seu roxo */
    color: #fff;
}

/* ✅ ABRIR */
.marcas-dropdown:hover .dropdown-marcas {
    display: flex;
}

.lista-categorias {
    list-style: none;
    padding: 0;
    margin: 0;
}
 
.lista-categorias li {
    margin-bottom: 8px;
}
 
.lista-categorias label {
    cursor: pointer;
}
 
.lista-categorias input[type="radio"] {
    margin-right: 6px;
}

/* ✅ ISOLAMENTO DO DRAWER (CRÍTICO) */
.drawer-filtros * {
    box-sizing: border-box;
}

.drawer-filtros label {
    display: block; /* garante padrão */
}

.accordion {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}
 
.accordion-header {
    display: flex;
    gap: 8px; /* 🔥 controla distância */
    align-items: center;
    cursor: pointer;
    padding: 12px 0;
    font-weight: 600;
}
 
.accordion-body {
    display: none;
    padding-bottom: 10px;
}
 
.accordion-body.ativo {
    display: block;
}
 
.accordion-body label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-family: "Montserrat", Sans-serif;
}

/* =============================== */
/* ✅ WRAPPER (FUNDO ESCURO) */
/* =============================== */
.pagamento-wrapper {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.5);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}

/* =============================== */
/* ✅ CONTAINER CENTRAL */
/* =============================== */
.pagamento-container {
    background: #fff;

    width: 100%;
    max-width: 900px;

    border-radius: 10px;
    padding: 25px;

    box-shadow: 0 15px 40px rgba(0,0,0,0.25);

    position: relative;
}

/* =============================== */
/* ✅ BOTÃO FECHAR */
/* =============================== */
.btn-close-pagamento {
    position: absolute;
    top: 15px;
    right: 15px;

    background: none;
    border: none;

    font-size: 18px;
    cursor: pointer;

    color: #666;
}

.btn-close-pagamento:hover {
    color: #000;
}

/* =============================== */
/* ✅ TITULOS */
/* =============================== */
.titulo-pagamento {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.subtitulo-pagamento {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

/* =============================== */
/* ✅ PIX */
/* =============================== */
.pix-box {
    background: #e8f8f1;
    border: 1px solid #b7ebc6;

    padding: 10px;
    border-radius: 6px;

    margin-bottom: 20px;

    font-size: 13px;
    color: #1b7f4c;
    font-weight: 500;

    border-left: 4px solid #00a650;
}

/* =============================== */
/* ✅ TABELA */
/* =============================== */
.tabela-parcelas {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
}

.linha-parcela {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 10px 14px;

    font-size: 14px;
    font-family: "Montserrat", sans-serif;

    background: #f5f5f5;

    border-bottom: 1px solid #ddd;
}

.linha-parcela:nth-child(even) {
    background: #eeeeee;
}

/* ✅ destaque 1x */
.linha-parcela:first-child {
    background: #fff8d6;
    border-left: 4px solid #ffd800;
}

/* texto */
.linha-parcela span:first-child {
    font-weight: 500;
}

.linha-parcela span:last-child {
    font-weight: 700;
    color: #000;
}

/* =============================== */
/* ✅ SEM JUROS */
/* =============================== */
.sem-juros {
    color: #00a650;
    font-size: 12px;
    margin-left: 5px;
    font-weight: 500;
}

/* =============================== */
/* ✅ BANDEIRAS */
/* =============================== */
.pagamento-detalhes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;

    margin-top: 10px;
    margin-bottom: 20px;
}

.pagamento-detalhes img {
    height: 32px;

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

    padding: 5px;
    border: 1px solid #eee;
}

/* =============================== */
/* ✅ BOLETO */
/* =============================== */
.boleto-box {
    font-size: 15px;
    margin-bottom: 15px;
}

/* =============================== */
/* ✅ VOLTAR */
/* =============================== */
.voltar {
    display: inline-block;

    margin-top: 20px;

    font-size: 14px;
    color: #007bff;
    text-decoration: none;
}

.voltar:hover {
    text-decoration: underline;
}

/* =============================== */
/* ✅ MOBILE */
/* =============================== */
@media (max-width: 768px) {

    .pagamento-container {
        padding: 15px;
        border-radius: 8px;
    }

    .titulo-pagamento {
        font-size: 18px;
    }

    .subtitulo-pagamento {
        font-size: 13px;
    }

    .linha-parcela {
        flex-direction: column;
        align-items: flex-start;

        padding: 10px;

        font-size: 13px;
        gap: 4px;
    }

    .linha-parcela span:last-child {
        font-size: 12px;
        color: #666;
    }

    .pagamento-detalhes {
        justify-content: center;
    }

    .pagamento-detalhes img {
        height: 26px;
    }

    .pix-box {
        font-size: 12px;
    }

}

/* =============================== */
/* ✅ CONTAINER RESULTADO */
/* =============================== */
.frete-list {
    margin-top: 8px;
}

/* =============================== */
/* ✅ ITEM */
/* =============================== */
.frete-item {
    border: 1px solid #eee;
    border-radius: 8px;

    padding: 8px 10px;   /* 🔥 menor */
    margin-bottom: 6px;  /* 🔥 mais compacto */

    background: #fafafa;

    display: flex;
    flex-direction: column;
    gap: 4px;

    position: relative;
}

/* destaque */
.frete-item.melhor {
    border: 1px solid #444;
    background: #f4fbf7;
}

/* =============================== */
/* ✅ TOPO (LOGO + NOME) */
/* =============================== */
.frete-top {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* 🔥 LOGO MENOR */
.frete-logo {
    height: 18px;
    width: auto;
}

/* nome transportadora */
.frete-top strong {
    font-size: 13px;
    font-weight: 600;
}

/* =============================== */
/* ✅ DETALHES */
/* =============================== */
.frete-detalhes {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* preço (destaque maior) */
.frete-detalhes span:first-child {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* prazo (mais suave) */
.frete-detalhes span:last-child {
    font-size: 12px;
    color: #666;
}

/* =============================== */
/* ✅ BADGES */
/* =============================== */
.badge {
    position: absolute;
    top: 6px;
    right: 6px;

    font-size: 10px;
    padding: 3px 6px;

    border-radius: 4px;

    background: #444;
    color: #fff;
}

.badge.secundario {
    background: #999;
}