/* =====================================================================
   Cardápio online — design novo (mobile primeiro).
   Tudo escopado em body.moderno, assim as regras antigas continuam
   nos outros arquivos e remover a classe do body volta ao visual de antes.
   A cor da marca vem do tema do cliente (--marca, definida pelo moderno.js).
   ===================================================================== */

body.moderno {
    --marca: #008d85;
    --marca-escura: color-mix(in srgb, var(--marca) 82%, #000);
    --marca-clara: color-mix(in srgb, var(--marca) 11%, #fff);
    --marca-borda: color-mix(in srgb, var(--marca) 26%, #fff);
    --tinta: #1b2422;
    --tinta-2: #5e6b68;
    --tinta-3: #8c9895;
    --fundo: #f4f6f5;
    --cartao: #fff;
    --linha: #e8eceb;
    --raio: 18px;
    --sombra: 0 1px 2px rgba(20, 40, 36, .06), 0 8px 24px rgba(20, 40, 36, .07);
    --sombra-forte: 0 10px 40px rgba(20, 40, 36, .22);
    --barra-h: 56px;

    font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    color: var(--tinta);
    background: var(--fundo);
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

body.moderno * {
    box-sizing: border-box;
}

body.moderno main {
    padding-bottom: 96px;
}

/* ---------- Capa e cartão da loja ---------- */
body.moderno .row {
    margin: 0;
}

body.moderno #slide-top {
    position: relative;
    height: 190px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--marca), var(--marca-escura));
}

body.moderno #slide-top a {
    display: block;
    height: 100%;
}

body.moderno #slide-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    max-height: none;
}

body.moderno #slide-top::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .32) 0%, rgba(0, 0, 0, 0) 38%, rgba(0, 0, 0, .28) 100%);
    pointer-events: none;
}

body.moderno .hero-acoes {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top));
    right: 14px;
    z-index: 5;
    display: flex;
    gap: 10px;
}

body.moderno .hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--tinta);
    font-size: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
    backdrop-filter: blur(8px);
    transition: transform .15s;
}

body.moderno .hero-btn:active {
    transform: scale(.92);
}

body.moderno .hero-btn a {
    color: inherit;
    display: flex;
}

body.moderno .menu_foto {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    gap: 14px;
    width: calc(100% - 28px);
    max-width: 1040px;
    margin: -46px auto 0;
    padding: 14px 16px;
    height: auto;
    background: var(--cartao);
    border-radius: 22px;
    box-shadow: var(--sombra);
}

body.moderno .menu_foto .foto_perfil {
    flex: 0 0 auto;
    width: 74px;
    height: 74px;
    margin: -34px 0 0;
    padding: 0;
    border-radius: 50%;
    border: 4px solid var(--cartao) !important;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .16);
    position: relative;
    top: 0;
    left: 0;
}

body.moderno .menu_foto .foto_perfil .foto,
body.moderno .menu_foto .foto_perfil .foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0;
}

body.moderno .texto_menu_foto {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

body.moderno .texto_menu_foto .nome {
    flex: 0 0 100%;
    margin: 0;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.01em;
    color: var(--tinta);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

body.moderno .texto_menu_foto .status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--fundo);
    color: var(--tinta-2) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

body.moderno .texto_menu_foto .status i {
    font-size: 11px;
}

body.moderno .texto_menu_foto .separador {
    display: none;
}

body.moderno .texto_menu_foto .status.loja {
    background: #ffecec;
    color: #c0392b !important;
}

body.moderno .texto_menu_foto .status.loja i {
    font-size: 8px;
}

body.moderno .texto_menu_foto .status.loja[style*="green"] {
    background: #e3f6ea;
    color: #1d7a45 !important;
}

body.moderno .texto_menu_foto .status.loja[style*="green"] i {
    animation: pulsa 1.8s ease-in-out infinite;
}

@keyframes pulsa {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .45; transform: scale(.8); }
}

body.moderno .menu_foto .info {
    display: none;
}

/* ---------- Busca ---------- */
body.moderno .pesquisar {
    width: calc(100% - 28px);
    max-width: 1040px;
    margin: 14px auto 6px;
    padding: 0;
}

body.moderno .barra-pesquisar {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 16px;
    border-radius: 14px;
    border: 1.5px solid transparent;
    background: var(--cartao);
    box-shadow: var(--sombra);
    transition: border-color .15s, box-shadow .15s;
}

body.moderno .barra-pesquisar:focus-within {
    border-color: var(--marca);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--marca) 16%, transparent);
}

body.moderno .barra-pesquisar i {
    position: static;
    color: var(--tinta-3);
    font-size: 15px;
    margin-right: 10px;
}

body.moderno .barra-pesquisar input {
    flex: 1;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 15px;
    font-weight: 600;
    color: var(--tinta);
    box-shadow: none;
}

body.moderno .barra-pesquisar input::placeholder {
    color: var(--tinta-3);
    font-weight: 500;
}

/* ---------- Barra de categorias (fica presa no topo) ---------- */
body.moderno .menu-topo {
    position: sticky;
    top: 0;
    z-index: 30;
    display: flex !important;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: var(--barra-h);
    margin: 0;
    padding: 0 14px;
    background: color-mix(in srgb, var(--fundo) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}

body.moderno .menu-topo.rolou {
    border-bottom-color: var(--linha);
    box-shadow: 0 6px 20px rgba(20, 40, 36, .06);
}

body.moderno .menu-topo .dropdown {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

body.moderno .menu-topo .dropdown > span,
body.moderno .menu-topo .dropdown > i {
    display: none;
}

body.moderno .menu-topo .dropdown-content {
    position: static;
    display: flex !important;
    align-items: center;
    gap: 8px;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    background: transparent;
    border: 0;
    box-shadow: none;
    min-width: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

body.moderno .menu-topo .dropdown-content::-webkit-scrollbar {
    display: none;
}

body.moderno .menu-topo .dropdown-content p {
    flex: 0 0 auto;
    margin: 0;
    padding: 9px 16px;
    border-radius: 999px;
    background: var(--cartao);
    border: 1.5px solid var(--linha);
    color: var(--tinta-2);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    text-transform: none;
    cursor: pointer;
    scroll-snap-align: center;
    transition: background .15s, color .15s, border-color .15s, transform .12s;
}

body.moderno .menu-topo .dropdown-content p:active {
    transform: scale(.95);
}

body.moderno .menu-topo .dropdown-content p.ativa {
    background: var(--marca);
    border-color: var(--marca);
    color: #fff;
}

body.moderno .menu-topo .barra-pesquisar {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

body.moderno .menu-topo .barra-pesquisar i {
    margin: 0;
}

body.moderno .menu-topo .barra-pesquisar input {
    width: 0;
    flex: 0 0 0;
    transition: width .2s;
}

body.moderno .menu-topo .barra-pesquisar:focus-within {
    position: absolute;
    left: 14px;
    right: 14px;
    width: auto;
    height: 44px;
    padding: 0 16px;
    justify-content: flex-start;
    border-radius: 14px;
    z-index: 3;
}

body.moderno .menu-topo .barra-pesquisar:focus-within input {
    width: 100%;
    flex: 1;
}

body.moderno .menu-topo .barra-pesquisar:focus-within i {
    margin-right: 10px;
}

body.moderno .menu-topo .barra-pesquisar .logged {
    display: none !important;
}

/* ---------- Produtos ---------- */
body.moderno .row.prods {
    margin: 0;
}

body.moderno .prods .separador,
body.moderno #elm-produto-destaque {
    display: none;
}

body.moderno .prods .container {
    width: 100%;
    max-width: 1040px;
    padding: 0 14px;
}

body.moderno .box-all {
    width: 100%;
    padding: 0;
}

body.moderno .categoria {
    margin: 0 0 8px;
    padding-top: 10px;
    scroll-margin-top: calc(var(--barra-h) + 6px);
}

body.moderno .categoria .accordion {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin: 14px 2px 10px;
    padding: 0;
    background: transparent;
    border: 0;
    cursor: default;
    pointer-events: none;
}

body.moderno .categoria .accordion p {
    margin: 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--tinta);
    text-transform: none;
}

body.moderno .categoria .accordion::after {
    content: "";
    flex: 1;
    height: 1.5px;
    background: linear-gradient(90deg, var(--marca-borda), transparent);
    transform: translateY(-4px);
}

body.moderno .categoria .accordion i {
    display: none;
}

body.moderno .categoria .itens {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 0;
    margin: 0;
}

body.moderno .item {
    position: relative;
    display: flex !important;
    align-items: stretch;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 122px;
    margin: 0;
    padding: 12px;
    border: 0;
    border-radius: var(--raio);
    background: var(--cartao);
    box-shadow: var(--sombra);
    cursor: pointer;
    overflow: hidden;
    transition: transform .18s cubic-bezier(.2, .8, .2, 1), box-shadow .18s;
    animation: item-entra .45s cubic-bezier(.2, .8, .2, 1) both;
}

body.moderno .item:active {
    transform: scale(.985);
}

@keyframes item-entra {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}

body.moderno .item-texto {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    width: auto;
    margin: 0;
    padding: 2px 0;
}

body.moderno .item-texto .nome_prod {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: -.01em;
    color: var(--tinta);
    text-transform: none;
}

body.moderno .item-texto .descricao {
    margin: 0;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.45;
    color: var(--tinta-2);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: none;
}

body.moderno .item .preco {
    display: inline-flex;
    align-items: baseline;
    align-self: flex-start;
    margin: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--marca-clara);
    color: var(--marca-escura);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
    width: auto;
    float: none;
}

body.moderno .item-img {
    flex: 0 0 auto;
    width: 112px;
    height: 112px;
    margin: 0;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--marca-clara);
    position: relative;
    float: none;
}

body.moderno .item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s cubic-bezier(.2, .8, .2, 1);
}

body.moderno .item.sem-foto .item-img img {
    object-fit: contain;
    padding: 16px;
    opacity: .5;
}

body.moderno .item .over-btn-cart {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 2;
    display: block !important;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    opacity: 1 !important;
}

body.moderno .item .over-btn-cart button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--marca);
    color: #fff;
    box-shadow: 0 6px 16px color-mix(in srgb, var(--marca) 45%, transparent);
    transition: transform .15s, background .15s;
}

body.moderno .item .over-btn-cart button i {
    display: none;
}

body.moderno .item .over-btn-cart button::before {
    content: "+";
    font-size: 24px;
    font-weight: 600;
    line-height: 1;
    transform: translateY(-1px);
}

body.moderno .item .over-btn-cart button:active {
    transform: scale(.88);
}

/* ---------- Esqueleto de carregamento ---------- */
body.moderno .loading {
    padding: 6px 0;
}

body.moderno .loading h2 {
    display: none;
}

body.moderno .sk-secao {
    height: 22px;
    width: 40%;
    margin: 18px 2px 12px;
    border-radius: 8px;
}

body.moderno .sk-item {
    height: 122px;
    margin-bottom: 12px;
    border-radius: var(--raio);
}

body.moderno .sk-secao,
body.moderno .sk-item {
    background: linear-gradient(100deg, #e9eeed 30%, #f6f8f7 50%, #e9eeed 70%);
    background-size: 220% 100%;
    animation: brilho 1.3s linear infinite;
}

@keyframes brilho {
    from { background-position: 120% 0; }
    to { background-position: -120% 0; }
}

/* ---------- Carrinho (barra de baixo) ---------- */
body.moderno .carrinho_flutuante {
    position: fixed;
    left: 50%;
    right: auto;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    width: min(calc(100% - 28px), 520px);
    height: 58px;
    margin: 0;
    padding: 0 8px 0 18px;
    border: 0;
    border-radius: 18px;
    background: var(--marca) !important;
    color: #fff;
    box-shadow: 0 12px 30px color-mix(in srgb, var(--marca) 50%, transparent);
    transform: translate(-50%, 140%);
    transition: transform .35s cubic-bezier(.2, .9, .2, 1);
    cursor: pointer;
    top: auto;
}

body.moderno .carrinho_flutuante.tem-itens {
    transform: translate(-50%, 0);
}

body.moderno .carrinho_flutuante .carrinho_centro {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    margin: 0;
    background: transparent;
    border: 0;
}

body.moderno .carrinho_flutuante .carrinho_centro i {
    color: #fff !important;
    font-size: 20px;
}

body.moderno .carrinho_flutuante .cb-qtd {
    position: absolute;
    top: -9px;
    right: -12px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    background: #fff;
    color: var(--marca-escura);
    font-size: 11px;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}

body.moderno .carrinho_flutuante .cb-texto {
    flex: 1 1 auto;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -.01em;
}

body.moderno .carrinho_flutuante .cb-total {
    flex: 0 0 auto;
    padding: 10px 16px;
    border-radius: 13px;
    background: rgba(255, 255, 255, .18);
    font-size: 15px;
    font-weight: 800;
}

body.moderno .carrinho_flutuante.pulo {
    animation: pulo-carrinho .5s ease;
}

@keyframes pulo-carrinho {
    0%, 100% { transform: translate(-50%, 0) scale(1); }
    40% { transform: translate(-50%, -6px) scale(1.04); }
}

body.moderno #alerta-carrinho {
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%);
    width: max-content;
    max-width: 90vw;
    padding: 10px 16px;
    border-radius: 12px;
    background: var(--tinta);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    box-shadow: var(--sombra-forte);
}

body.moderno #alerta-carrinho::after {
    border-top-color: var(--tinta);
}

/* ---------- Janelas: folha que sobe (celular) e janela central (PC) ---------- */
body.moderno .conteudo-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    pointer-events: none;
}

body.moderno .conteudo-modal .md-modal.md-show {
    pointer-events: auto;
}

body.moderno .md-overlay {
    position: fixed;
    inset: 0;
    z-index: 1999;
    background: rgba(14, 24, 21, .5);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s, visibility .3s;
}

body.moderno .md-show ~ .md-overlay {
    opacity: 1;
    visibility: visible;
}

body.moderno #modal-1,
body.moderno #modal-2 {
    position: fixed;
    z-index: 2001;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    max-width: none;
    min-width: 0;
    height: auto;
    max-height: 94dvh;
    margin: 0;
    transform: none !important;
    visibility: hidden;
    transition: visibility 0s .35s;
}

body.moderno #modal-1.md-show,
body.moderno #modal-2.md-show {
    visibility: visible;
    transition-delay: 0s;
}

body.moderno #modal-1 .md-content,
body.moderno #modal-2 .md-content {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100% !important;
    height: auto;
    max-height: 94dvh;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 26px 26px 0 0;
    background: var(--cartao);
    box-shadow: var(--sombra-forte);
    opacity: 1 !important;
    transform: translateY(105%) !important;
    transition: transform .38s cubic-bezier(.2, .9, .2, 1) !important;
}

body.moderno #modal-1.md-show .md-content,
body.moderno #modal-2.md-show .md-content {
    transform: translateY(0) !important;
}

/* Puxador da folha. */
body.moderno #modal-1 .md-content::before,
body.moderno #modal-2 .md-content::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    z-index: 6;
    width: 42px;
    height: 5px;
    margin-left: -21px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .85);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}

body.moderno #modal-2 .md-content::before {
    background: var(--linha);
    box-shadow: none;
}

/* ----- Produto ----- */
body.moderno #modal-1 .dados {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.moderno #modal-1 .imagem {
    float: none;
    display: block;
    width: 100%;
    max-width: none;
    height: 240px;
    overflow: hidden;
    background: var(--marca-clara);
}

body.moderno #modal-1 .imagem img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.moderno #modal-1 .dados_infos {
    width: 100%;
    padding: 18px 18px 8px;
}

body.moderno #modal-1 .topo_venda {
    position: static;
    display: block;
    margin: 0 0 6px;
    padding: 0;
    border: 0;
    background: transparent;
}

body.moderno #modal-1 .topo_venda p {
    margin: 0;
    padding-right: 4px;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.02em;
    color: var(--tinta);
    text-transform: none;
}

body.moderno #modal-1 .topo_venda i.fa-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 7;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .94);
    color: var(--tinta) !important;
    font-size: 17px !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .22);
    cursor: pointer;
}

body.moderno #modal-1 .topo {
    display: block;
    margin: 0;
    padding: 0;
    border: 0;
}

body.moderno #modal-1 .topo small {
    display: block;
    margin: 0 0 14px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--tinta-2);
}

body.moderno #modal-1 .valores {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin: 0 0 6px;
    padding: 12px 14px;
    border-radius: 16px;
    background: var(--fundo);
}

body.moderno #modal-1 .valores p {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    color: var(--marca-escura);
}

body.moderno #modal-1 .qtd,
body.moderno #modal-2 .qtd {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0;
    padding: 4px;
    border-radius: 999px;
    background: var(--cartao);
    border: 1.5px solid var(--linha);
    width: auto;
    height: auto;
}

body.moderno #modal-1 .qtd i,
body.moderno #modal-2 .qtd i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0;
    padding: 0;
    border-radius: 50%;
    background: var(--marca-clara);
    color: var(--marca-escura);
    font-size: 13px;
    cursor: pointer;
    transition: background .15s, transform .1s;
}

body.moderno #modal-1 .qtd i:active,
body.moderno #modal-2 .qtd i:active {
    transform: scale(.9);
    background: var(--marca-borda);
}

body.moderno #modal-1 .qtd input,
body.moderno #modal-2 .qtd input {
    width: 40px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--tinta);
    box-shadow: none;
}

body.moderno #modal-1 .dados_detalhes {
    padding: 4px 0 6px;
}

/* Blocos de escolha (ponto da carne, adicionais, bordas...). */
body.moderno #modal-1 .pontos > div:first-child,
body.moderno #modal-1 .composicao,
body.moderno #modal-1 .adicional,
body.moderno #modal-1 .parte,
body.moderno #modal-1 .borda,
body.moderno #modal-1 .utensilio,
body.moderno #modal-1 .ponto {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 18px 0 8px;
    padding: 0;
    background: transparent;
    border: 0;
}

body.moderno #modal-1 .ponto p,
body.moderno #modal-1 .composicao p,
body.moderno #modal-1 .adicional p,
body.moderno #modal-1 .parte p,
body.moderno #modal-1 .borda p,
body.moderno #modal-1 .utensilio p {
    margin: 0;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .02em;
    color: var(--tinta);
}

body.moderno #modal-1 .dados small {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--tinta-3);
}

body.moderno #modal-1 .dados table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

body.moderno #modal-1 .dados table tr {
    background: var(--fundo);
    border: 0;
    cursor: pointer;
    transition: background .12s;
}

body.moderno #modal-1 .dados table tr:active {
    background: var(--marca-clara);
}

body.moderno #modal-1 .dados table td {
    padding: 13px 14px;
    border: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--tinta);
    vertical-align: middle;
}

body.moderno #modal-1 .dados table td:first-child {
    border-radius: 13px 0 0 13px;
}

body.moderno #modal-1 .dados table td:last-child {
    border-radius: 0 13px 13px 0;
    text-align: right;
    width: 56px;
}

body.moderno #modal-1 input[type="checkbox"],
body.moderno #modal-1 input[type="radio"] {
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--marca);
}

body.moderno #modal-1 input[type="checkbox"] {
    border-radius: 7px;
    border: 2px solid var(--tinta-3);
    background: #fff;
}

body.moderno #modal-1 input[type="checkbox"]:checked {
    background: var(--marca);
    border-color: var(--marca);
}

body.moderno #modal-1 .obs p {
    margin: 18px 0 8px;
    font-size: 14px;
    font-weight: 800;
    color: var(--tinta);
}

body.moderno #modal-1 textarea {
    width: 100%;
    min-height: 74px;
    padding: 12px 14px;
    border: 1.5px solid var(--linha);
    border-radius: 14px;
    background: var(--fundo);
    font-size: 14px;
    font-weight: 500;
    color: var(--tinta);
    resize: none;
    outline: 0;
    transition: border-color .15s, background .15s;
}

body.moderno #modal-1 textarea:focus {
    border-color: var(--marca);
    background: #fff;
}

/* Barra de adicionar, presa embaixo. */
body.moderno #modal-1 .total {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--cartao);
    border-top: 1px solid var(--linha);
    box-shadow: 0 -10px 30px rgba(20, 40, 36, .06);
}

body.moderno #modal-1 .total p {
    display: none;
}

body.moderno #modal-1 .total input {
    flex: 0 0 auto;
    width: 104px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    font-size: 19px;
    font-weight: 800;
    color: var(--tinta);
    box-shadow: none;
}

body.moderno #modal-1 .total button,
body.moderno #modal-2 button.finalizar {
    flex: 1 1 auto;
    width: auto;
    height: 52px;
    margin: 0;
    padding: 0 18px;
    border: 0;
    border-radius: 15px;
    background: var(--marca);
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: .01em;
    text-transform: none;
    box-shadow: 0 8px 20px color-mix(in srgb, var(--marca) 40%, transparent);
    transition: transform .12s, background .15s;
}

body.moderno #modal-1 .total button:active,
body.moderno #modal-2 button.finalizar:active {
    transform: scale(.97);
}

body.moderno #modal-1 .total button[disabled] {
    background: #b9c3c0 !important;
    box-shadow: none;
}

/* ----- Carrinho ----- */
body.moderno #modal-2 .topo_venda {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 24px 18px 12px;
    border: 0;
}

body.moderno #modal-2 .topo_venda p {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--tinta);
}

body.moderno #modal-2 .topo_venda i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--fundo);
    color: var(--tinta);
    font-size: 17px !important;
    cursor: pointer;
}

body.moderno #modal-2 hr {
    display: none;
}

body.moderno #modal-2 .dados {
    flex: 1 1 auto;
    min-height: 0;
    padding: 4px 16px 12px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body.moderno #modal-2 .produto {
    display: flex;
    gap: 12px;
    margin: 0 0 12px;
    padding: 12px;
    border: 0;
    border-radius: 16px;
    background: var(--fundo);
}

body.moderno #modal-2 .img_prod {
    flex: 0 0 auto;
    width: 76px;
    height: 76px;
    margin: 0;
    border-radius: 13px;
    overflow: hidden;
    background: var(--marca-clara);
}

body.moderno #modal-2 .img_prod img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

body.moderno #modal-2 .infos {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 8px;
    width: auto;
    padding: 0;
}

body.moderno #modal-2 .nome {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
}

body.moderno #modal-2 .nome p {
    margin: 0;
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.25;
    color: var(--tinta);
}

body.moderno #modal-2 .adicionais p,
body.moderno #modal-2 .complementos p,
body.moderno #modal-2 .obs p {
    margin: 2px 0 0;
    font-size: 12px;
    font-weight: 500;
    color: var(--tinta-2);
}

body.moderno #modal-2 .produto .total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: auto;
    margin: 0;
    padding: 0;
    background: transparent;
}

body.moderno #modal-2 .produto .total > p {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    color: var(--marca-escura);
}

body.moderno #modal-2 .vazio {
    padding: 40px 10px;
    text-align: center;
    font-weight: 600;
    color: var(--tinta-3);
}

body.moderno #modal-2 .total_final {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 14px 18px 4px;
    border-top: 1px solid var(--linha);
    background: var(--cartao);
}

body.moderno #modal-2 .total_final p {
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--tinta-2);
}

body.moderno #modal-2 .total_final input {
    width: 140px;
    padding: 0;
    border: 0;
    background: transparent;
    text-align: right;
    font-size: 22px;
    font-weight: 800;
    color: var(--tinta);
    box-shadow: none;
}

body.moderno #modal-2 .md-content > .col-10:last-child {
    display: flex;
    gap: 10px;
    width: 100%;
    margin: 0;
    padding: 8px 16px calc(14px + env(safe-area-inset-bottom));
    background: var(--cartao);
}

body.moderno #modal-2 button.limpar {
    flex: 0 0 auto;
    height: 52px;
    margin: 0;
    padding: 0 18px;
    border: 1.5px solid var(--linha);
    border-radius: 15px;
    background: #fff;
    color: var(--tinta-2);
    font-size: 14px;
    font-weight: 700;
}

/* ---------- Ver mais (informações da loja) ---------- */
body.moderno .vermais-guia {
    position: fixed;
    top: calc(64px + env(safe-area-inset-top));
    right: 14px;
    left: auto;
    z-index: 60;
    width: min(360px, calc(100% - 28px));
    max-height: 70dvh;
    margin: 0;
    padding: 18px;
    overflow-y: auto;
    border: 0;
    border-radius: 20px;
    background: var(--cartao);
    box-shadow: var(--sombra-forte);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(.97);
    transform-origin: top right;
    transition: opacity .2s, transform .2s, visibility .2s;
}

body.moderno .vermais-guia.show {
    opacity: 1;
    visibility: visible;
    transform: none;
    display: block;
}

body.moderno .vermais-guia .fechar {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--fundo);
    cursor: pointer;
}

body.moderno .vermais-guia .tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 36px 12px 0;
}

body.moderno .vermais-guia .tabs button {
    padding: 8px 12px;
    border: 0;
    border-radius: 999px;
    background: var(--fundo);
    color: var(--tinta-2);
    font-size: 12.5px;
    font-weight: 700;
}

body.moderno .vermais-guia .tabs button.active {
    background: var(--marca);
    color: #fff;
}

body.moderno .vermais-guia .tabs button a {
    color: inherit;
    text-decoration: none;
}

body.moderno .vermais-guia .conteudo p {
    margin: 0 0 6px;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.5;
    color: var(--tinta-2);
}

body.moderno .vermais-guia .titulo-conteudo-tab {
    margin-top: 12px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tinta);
}

/* ---------- Rodapé e botão de topo ---------- */
body.moderno .footer {
    margin-top: 28px;
    padding: 26px 16px 110px;
    background: var(--tinta) !important;
    color: #b7c2bf;
    font-size: 12.5px;
    line-height: 1.6;
}

body.moderno .footer a {
    color: #fff;
}

body.moderno .up2top {
    display: none !important;
}

/* ---------- Telas maiores ---------- */
@media (min-width: 700px) {
    body.moderno #slide-top {
        height: 260px;
    }

    body.moderno .menu_foto {
        margin-top: -56px;
        padding: 18px 24px;
        gap: 20px;
    }

    body.moderno .menu_foto .foto_perfil {
        width: 96px;
        height: 96px;
        margin-top: -50px;
    }

    body.moderno .texto_menu_foto .nome {
        font-size: 26px;
    }

    body.moderno .texto_menu_foto .status {
        font-size: 13px;
        padding: 6px 13px;
    }

    body.moderno .categoria .itens {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    body.moderno .item {
        min-height: 140px;
        padding: 14px;
    }

    body.moderno .item-img {
        width: 128px;
        height: 128px;
    }

    body.moderno .menu-topo {
        padding: 0 max(14px, calc((100% - 1040px) / 2));
    }

    body.moderno .pesquisar {
        margin-top: 18px;
    }

    /* Janela central no PC. */
    body.moderno #modal-1,
    body.moderno #modal-2 {
        top: 50%;
        left: 50%;
        right: auto;
        bottom: auto;
        width: 580px !important;
        max-height: 90dvh;
        transform: translate(-50%, -50%) !important;
    }

    body.moderno #modal-1 .md-content {
        border-radius: 26px;
        transform: translateY(24px) scale(.97) !important;
        opacity: 0 !important;
        transition: transform .3s cubic-bezier(.2, .9, .2, 1), opacity .25s !important;
        max-height: 90dvh;
    }

    body.moderno #modal-1.md-show .md-content {
        transform: none !important;
        opacity: 1 !important;
    }

    body.moderno #modal-1 .md-content::before,
    body.moderno #modal-2 .md-content::before {
        display: none;
    }

    /* Carrinho vira gaveta lateral. */
    body.moderno #modal-2 {
        top: 0;
        left: auto;
        right: 0;
        bottom: 0;
        width: 440px !important;
        max-height: none;
        height: 100%;
        transform: none !important;
    }

    body.moderno #modal-2 .md-content {
        height: 100%;
        max-height: none;
        border-radius: 26px 0 0 26px;
        transform: translateX(105%) !important;
    }

    body.moderno #modal-2.md-show .md-content {
        transform: none !important;
    }

    body.moderno .carrinho_flutuante {
        left: auto;
        right: 28px;
        bottom: 28px;
        width: 360px;
        transform: translateY(140%);
    }

    body.moderno .carrinho_flutuante.tem-itens {
        transform: none;
    }

    body.moderno .carrinho_flutuante.pulo {
        animation-name: pulo-carrinho-pc;
    }
}

@keyframes pulo-carrinho-pc {
    0%, 100% { transform: translateY(0) scale(1); }
    40% { transform: translateY(-6px) scale(1.04); }
}

@media (min-width: 1024px) {
    body.moderno #slide-top {
        height: 300px;
    }

    /* No PC os produtos viram cartões com a foto em cima. */
    body.moderno .categoria .itens {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    body.moderno .item {
        flex-direction: column-reverse;
        justify-content: flex-end;
        gap: 0;
        min-height: 0;
        padding: 0;
    }

    body.moderno .item-img {
        width: 100%;
        height: 190px;
        border-radius: 0;
    }

    body.moderno .item-texto {
        flex: 1 1 auto;
        padding: 16px 16px 18px;
        gap: 12px;
    }

    body.moderno .item-texto .nome_prod {
        font-size: 17px;
    }

    body.moderno .item-texto .descricao {
        min-height: 36px;
    }

    body.moderno .item .over-btn-cart {
        top: 150px;
        right: 14px;
        bottom: auto;
    }

    body.moderno .prods .container,
    body.moderno .pesquisar,
    body.moderno .menu_foto {
        max-width: 1180px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.moderno *,
    body.moderno *::before,
    body.moderno *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

/* ---------- Ajustes de convivência com o CSS antigo ---------- */
body.moderno .menu-topo.fixar {
    position: sticky !important;
    top: 0 !important;
    display: flex !important;
    z-index: 30;
}

body.modal-aberto {
    overflow: hidden;
}

/* ---------- Regras antigas com !important que precisam ser vencidas ---------- */
body.moderno #slide-top {
    height: 190px !important;
    margin-bottom: 0 !important;
}

body.moderno #slide-top a {
    display: block !important;
    height: 100% !important;
    max-height: none !important;
}

body.moderno #slide-top img {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
}

body.moderno .menu_foto {
    height: auto !important;
    min-height: 0 !important;
    margin-bottom: 0 !important;
    align-items: center !important;
}

body.moderno .menu_foto .foto_perfil {
    display: block !important;
    width: 74px !important;
    height: 74px !important;
    margin: -34px 0 0 !important;
}

body.moderno .texto_menu_foto {
    width: auto !important;
    margin: 0 !important;
}

body.moderno .texto_menu_foto .nome {
    font-size: 19px !important;
}

body.moderno .item .over-btn-cart {
    position: absolute !important;
    top: 82px !important;
    right: 18px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    float: none !important;
    text-align: left;
}

@media (min-width: 700px) {
    body.moderno #slide-top { height: 260px !important; }
    body.moderno .menu_foto .foto_perfil { width: 96px !important; height: 96px !important; margin-top: -50px !important; }
    body.moderno .texto_menu_foto .nome { font-size: 26px !important; }
    body.moderno .item .over-btn-cart { top: 100px !important; right: 20px !important; }
}

@media (min-width: 1024px) {
    body.moderno #slide-top { height: 300px !important; }
    body.moderno .item .over-btn-cart { top: 150px !important; right: 14px !important; }
}

/* O slick envolve a capa em outras caixas, todas precisam acompanhar a altura. */
body.moderno #slide-top .slick-list,
body.moderno #slide-top .slick-track,
body.moderno #slide-top .slick-slide,
body.moderno #slide-top .slick-slide > div {
    height: 100% !important;
}

/* A capa mostra a imagem inteira, sem cortar: o cliente envia um banner largo e o texto dele não pode sumir. */
body.moderno #slide-top,
body.moderno #slide-top .slick-list,
body.moderno #slide-top .slick-track,
body.moderno #slide-top .slick-slide,
body.moderno #slide-top .slick-slide > div,
body.moderno #slide-top a {
    height: auto !important;
}

body.moderno #slide-top {
    background: var(--marca-escura);
}

body.moderno #slide-top img {
    height: auto !important;
    min-height: 96px !important;
    max-height: 340px !important;
    object-fit: cover !important;
}

@media (min-width: 700px) {
    body.moderno #slide-top { height: auto !important; }
}

@media (min-width: 1024px) {
    body.moderno #slide-top { height: auto !important; }
}

/* Botões de informação e conta ficam dentro do cartão da loja. */
body.moderno .menu_foto .hero-acoes {
    position: absolute;
    top: 12px;
    right: 12px;
    gap: 8px;
}

body.moderno .menu_foto .hero-btn {
    width: 38px;
    height: 38px;
    background: var(--fundo);
    box-shadow: none;
    font-size: 15px;
}

body.moderno .texto_menu_foto .nome {
    padding-right: 90px;
}

/* ---------- Lista de produtos: vence os tamanhos fixos do CSS antigo ---------- */
body.moderno .menu_foto {
    margin-top: -20px !important;
}

body.moderno .categoria {
    width: 100% !important;
    margin: 0 0 8px !important;
    padding: 10px 0 0 !important;
    border-radius: 0 !important;
}

body.moderno .categoria .itens {
    border-top: 0 !important;
    margin: 0 !important;
}

body.moderno .item {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 122px !important;
    margin: 0 !important;
    padding: 12px !important;
    border: 0 !important;
    border-radius: 18px !important;
}

body.moderno .item-texto {
    width: auto !important;
    height: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    flex-direction: column !important;
}

body.moderno .item-img {
    width: 112px !important;
    height: 112px !important;
    max-width: none !important;
    max-height: none !important;
    float: none !important;
    display: block !important;
}

body.moderno .item-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

body.moderno .item .descricao {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    max-height: none !important;
    overflow: hidden !important;
    white-space: normal !important;
    font-size: 12.5px !important;
}

body.moderno .item p {
    font-size: inherit;
    word-break: normal;
}

body.moderno .item .over-btn-cart button,
body.moderno .item .over-btn-cart .btn-custom2 {
    background: var(--marca) !important;
    color: #fff !important;
}

body.moderno .item .nome_prod {
    font-size: 16px !important;
}

@media (min-width: 700px) {
    body.moderno .menu_foto { margin-top: -26px !important; }
    body.moderno .item { padding: 14px !important; min-height: 140px !important; }
    body.moderno .item-img { width: 128px !important; height: 128px !important; }
}

@media (min-width: 1024px) {
    body.moderno .item {
        padding: 0 !important;
        min-height: 0 !important;
        flex-direction: column-reverse !important;
    }

    body.moderno .item-img {
        width: 100% !important;
        height: 190px !important;
        border-radius: 0 !important;
    }

    body.moderno .item .nome_prod { font-size: 17px !important; }
}

/* ---------- Fundo e barra de baixo ---------- */
body.moderno main,
body.moderno .row.prods,
body.moderno .prods .container,
body.moderno .box-all,
body.moderno .box-all center {
    background: transparent !important;
}

body.moderno .carrinho_flutuante {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .35s cubic-bezier(.2, .9, .2, 1), opacity .25s, visibility 0s .35s;
}

body.moderno .carrinho_flutuante.tem-itens {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
}

@media (min-width: 1024px) {
    body.moderno .menu-topo {
        padding: 0 max(14px, calc((100% - 1180px) / 2));
    }
}

/* ---------- Folha do produto: alturas do CSS antigo e detalhes ---------- */
body.moderno #modal-1 {
    height: auto !important;
}

body.moderno #modal-1 .md-content {
    height: auto !important;
}

body.moderno #modal-1 .dados {
    height: auto !important;
    flex: 1 1 auto;
    min-height: 0;
}

body.moderno #modal-1 .topo small,
body.moderno #modal-1 .topo_venda p {
    text-transform: none !important;
}

body.moderno #modal-1 .ponto > i,
body.moderno #modal-1 .composicao > i,
body.moderno #modal-1 .adicional > i,
body.moderno #modal-1 .parte > i,
body.moderno #modal-1 .borda > i,
body.moderno #modal-1 .utensilio > i {
    display: none;
}

body.moderno #modal-1 .ponto small,
body.moderno #modal-1 .composicao small,
body.moderno #modal-1 .adicional small,
body.moderno #modal-1 .parte small,
body.moderno #modal-1 .borda small,
body.moderno #modal-1 .utensilio small {
    display: block;
    margin-top: 2px;
    text-align: left;
}

/* ---------- Produto sem foto: ícone no lugar da imagem ---------- */
body.moderno .sem-foto-caixa {
    position: relative;
    background: linear-gradient(135deg, var(--marca-clara), color-mix(in srgb, var(--marca) 20%, #fff)) !important;
}

body.moderno .sem-foto-caixa img {
    visibility: hidden;
}

body.moderno .sem-foto-caixa::after {
    content: "\f2e7";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", FontAwesome;
    font-weight: 900;
    font-size: 30px;
    color: var(--marca);
    opacity: .55;
}

body.moderno #modal-1 .imagem.sem-foto-caixa::after {
    font-size: 64px;
}

/* Barra de adicionar: o CSS antigo a prende na tela (fixed) e dá alturas em porcentagem. */
body.moderno #modal-1 .total {
    position: relative !important;
    right: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    margin: 0 !important;
    padding: 12px 16px calc(14px + env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-top: 1px solid var(--linha) !important;
    background: var(--cartao) !important;
    box-shadow: 0 -10px 30px rgba(20, 40, 36, .06) !important;
    display: flex !important;
    align-items: center !important;
}

body.moderno #modal-1 .total input {
    height: auto !important;
    width: 104px !important;
    font-size: 19px !important;
    opacity: 1 !important;
    -webkit-text-fill-color: var(--tinta) !important;
}

body.moderno #modal-1 .total button {
    height: 52px !important;
    width: auto !important;
    font-size: 15px !important;
}

body.moderno #modal-1 .dados {
    overflow-y: auto !important;
}

body.moderno #modal-1 .dados_infos,
body.moderno #modal-1 .detalhes,
body.moderno #modal-1 .dados_detalhes {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
}

/* A área rolável do produto deixa sempre espaço para a barra de adicionar (78px). */
body.moderno #modal-1 .dados {
    max-height: calc(94dvh - 80px) !important;
}

@media (min-width: 700px) {
    body.moderno #modal-1 .dados {
        max-height: calc(90dvh - 80px) !important;
    }
}

/* O CSS antigo põe a lista de produtos em z-index 992 com !important, então tudo que precisa ficar por cima sobe acima disso. */
body.moderno .menu-topo,
body.moderno .menu-topo.fixar {
    z-index: 1100 !important;
}

body.moderno .carrinho_flutuante {
    z-index: 1500 !important;
}

body.moderno .vermais-guia {
    z-index: 1800 !important;
}

/* ---------- Ver mais: vence o tamanho e o preenchimento do CSS antigo ---------- */
body.moderno .vermais-guia,
body.moderno .vermais-guia.show {
    position: fixed !important;
    top: calc(64px + env(safe-area-inset-top)) !important;
    right: 14px !important;
    left: auto !important;
    bottom: auto !important;
    width: min(360px, calc(100% - 28px)) !important;
    height: auto !important;
    max-height: 70dvh !important;
    padding: 18px !important;
    margin: 0 !important;
}

body.moderno .vermais-guia .tabs {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px !important;
    height: auto !important;
    width: auto !important;
    margin: 0 40px 14px 0 !important;
}

body.moderno .vermais-guia .tabs button,
body.moderno .vermais-guia .tabs .tab {
    flex: 0 0 auto;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 13px !important;
    border: 0 !important;
    border-radius: 999px !important;
    font-size: 12.5px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

body.moderno .vermais-guia .conteudo-tabs,
body.moderno .vermais-guia .conteudo {
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

body.moderno .vermais-guia .conteudo p {
    text-transform: none !important;
    font-size: 13.5px !important;
    letter-spacing: 0 !important;
}

body.moderno .vermais-guia .titulo-conteudo-tab {
    text-transform: uppercase !important;
    font-size: 11.5px !important;
    letter-spacing: .06em !important;
}

body.moderno .vermais-guia .titulo-conteudo-tab {
    font-weight: 800 !important;
    color: var(--tinta) !important;
}

/* O quadro com ícone de "sem foto" foi trocado pela ilustração por tipo (images/default/sem-foto-*.svg). */
body.moderno .sem-foto-caixa::after {
    display: none !important;
}
