@font-face {
    font-family: 'Basic Choice';
    src: url('fonts/Basic Choice 2.ttf') format('truetype');
    font-display: swap;
}
@font-face {
    font-family: 'Cocogoose';
    src: url('fonts/Cocogoose-Pro-Darkmode-trial.ttf') format('truetype');
    font-display: swap;
}

:root {
    --bg-color: #F4E6CB;
    --card-bg: #FFF5EB;
    --text-dark: #1D2814;
    --text-light: #46493A;
    --accent-orange: #E09F41;
    --accent-blue: #7FB1C8;
    --danger: #E60000;
    --border-radius: 16px;
    --shadow: 0 4px 15px rgba(29, 40, 20, 0.08);
    --font-numbers: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; width: 100%; height: 100%; }

body { 
    background-color: var(--bg-color); 
    color: var(--text-dark); 
    font-family: 'Cocogoose', sans-serif; 
    overflow-x: hidden; 
    padding-top: 145px; 
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.font-display { font-family: 'Basic Choice', cursive; font-weight: normal; }

.container { flex-grow: 1; width: 100%; max-width: none; margin: 0; padding: 0; position: relative; padding-bottom: 100px; display: flex; flex-direction: column; }
img { width: 100%; height: auto; display: block; }

header { background-image: url('images/topo.png'); background-repeat: repeat-x; background-position: center top; position: fixed; top: 0; left: 0; right: 0; z-index: 1001; box-shadow: 0 2px 10px rgba(0,0,0,0.1); padding: 5px 0; width: 100%; }
.header-container-full { width: 100%; display: flex; justify-content: flex-start; padding-left: 0; }
.menu-btn { background-color: var(--card-bg); width: 50px; height: 40px; border-radius: 0 12px 12px 0; border: none; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #1D2814; cursor: pointer; box-shadow: 2px 2px 10px rgba(0,0,0,0.1); transition: transform 0.2s; margin-left: 0; }
.menu-btn:active { transform: scale(0.95); }

footer { flex-shrink: 0; margin-top: auto; background-image: url('images/roda.png'); background-repeat: repeat-x; background-position: bottom center; background-size: auto 100%; min-height: 6vh; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0; width: 100%; }
.footer-container-center { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 0; }
.footer-logo { max-width: 150px; height: auto; display: block; filter: drop-shadow(0 3px 3px rgba(224, 159, 65, 0.2)); margin-top: 40px; margin-bottom: 5px; }
.desktop-signature { display: none; }
.copy { font-family: Helvetica, Arial, sans-serif; font-size: 0.7rem; color: #1D2814; margin-top: 0; font-weight: bold; opacity: 0.7; }

/* NAVEGAÇÃO DE CATEGORIAS */
#categorias-nav { background-color: var(--bg-color); width: 100%; max-width: 100%; padding: 6px 0; position: fixed; top: 50px; left: 0; right: 0; z-index: 1000; border-bottom: 1px solid rgba(224, 159, 65, 0.2); box-shadow: 0 5px 15px rgba(29, 40, 20, 0.05); }
.categorias-nav-wrapper { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0; }
.categorias-draggable { display: flex; overflow-x: auto; padding: 12px 15px; gap: 10px; scrollbar-width: none; -ms-overflow-style: none; cursor: grab; user-select: none; -webkit-overflow-scrolling: touch; align-items: center; }
.categorias-draggable::-webkit-scrollbar { display: none; }
.categorias-draggable:active { cursor: grabbing; }

.categoria-btn { display: none; }
#categorias-horizontal a { display: inline-flex; align-items: center; justify-content: center; padding: 6px 18px; height: auto; background-color: white; color: var(--text-dark); text-decoration: none; border-radius: 30px; font-size: 1rem; font-weight: normal; font-family: 'Basic Choice', cursive; white-space: nowrap; transition: 0.3s ease; border: 1px solid rgba(224, 159, 65, 0.3); box-shadow: 0 4px 10px rgba(0,0,0,0.05); opacity: 1; text-transform: uppercase; }
#categorias-horizontal a:hover { transform: translateY(-2px); border-color: var(--accent-orange); }
#categorias-horizontal a.active-link { background-color: var(--accent-orange) !important; color: white !important; border-color: var(--accent-orange) !important; box-shadow: 0 4px 15px rgba(224, 159, 65, 0.3) !important; }

.side-menu { position: fixed; top: 0; left: -100%; width: 280px; height: 100vh; background: var(--card-bg); z-index: 2000; transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1); box-shadow: 4px 0 20px rgba(0,0,0,0.1); padding: 30px 20px; display: flex; flex-direction: column; overflow-y: auto; }
.side-menu.active { left: 0; }
.side-menu-content { display: flex; flex-direction: column; height: 100%; }
.menu-logo-container { width: 100%; display: flex; justify-content: center; margin-bottom: 30px; padding: 0 10px; }
.menu-logo-img { max-width: 100%; width: 140px; height: auto; object-fit: contain; }
.nav-links { flex-grow: 1; list-style: none; padding: 0; margin: 0; }
.nav-links li { margin-bottom: 20px; border-bottom: 1px solid #f0f0f0; padding-bottom: 10px; }
.menu-link { font-family: 'Basic Choice', cursive; font-size: 1.3rem; color: #1D2814; transition: 0.3s; display: block; text-decoration: none; }
.menu-link:hover { transform: translateX(5px); color: var(--accent-orange); }
.close-menu-btn { position: absolute; top: 15px; right: 20px; background: none; border: none; font-size: 2rem; color: #999; cursor: pointer; }
.menu-socials { margin-top: auto; padding-top: 20px; border-top: 2px solid #f5f5f5; display: flex; flex-direction: column; gap: 20px; }
.menu-social-link { font-size: 0.95rem; color: #1D2814; display: flex; align-items: center; gap: 15px; transition: 0.3s; font-weight: bold; text-decoration: none; }
.menu-social-link i { font-size: 1.5rem; }
.menu-social-link:hover { color: var(--accent-orange); transform: translateX(5px); }

.menu-content { padding: 10px; width: 100%; overflow-x: hidden; flex: 1; }
.categoria-group { display: none; animation: fadeIn 0.4s ease; margin-bottom: 40px; width: 100%; }
.categoria-group.active-group { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.categoria-title { font-family: 'Basic Choice', cursive; font-size: 2.6rem; color: var(--accent-orange); text-align: center; margin: 5px 0 25px 0; font-weight: normal; }

/* ================== TABELA: 5 COLUNAS ================== */
.table-card { background: var(--card-bg); border-radius: var(--border-radius); padding: 15px 10px; box-shadow: var(--shadow); border: 1px solid rgba(255,255,255,0.5); width: 100%; overflow: hidden; }

table { width: 100%; border-collapse: collapse; table-layout: fixed; }

thead th { font-family: 'Basic Choice', cursive; color: #1D2814; font-size: 1rem; padding-bottom: 12px; text-align: center; border-bottom: 2px solid rgba(29, 40, 20, 0.2); text-transform: uppercase; font-weight: normal;}

th.col-item, td.col-item { text-align: left; padding-left: 5px; width: 35%; word-wrap: break-word; }
th.col-icon, td.col-icon { width: 6%; text-align: center; vertical-align: middle; }
th.col-sec, td.col-sec { width: 19.6%; text-align: center; }
th.col-unid, td.col-unid { width: 19.6%; text-align: center; }
th.col-qtd, td.col-qtd { width: 19.6%; text-align: center; }

tbody tr { border-bottom: 1px dashed rgba(224, 159, 65, 0.2); transition: background-color 0.2s ease; }
tbody tr:hover { background-color: rgba(224, 159, 65, 0.05); }
tbody tr.group-separator { border-bottom: 2px solid rgba(224, 159, 65, 0.4); }
tbody tr:last-child { border-bottom: none; }

td { padding: 12px 5px; vertical-align: middle; color: var(--text-dark); font-size: 0.95rem; font-family: 'Basic Choice', cursive; font-weight: normal; }
td.col-item { font-size: 1.1rem; text-transform: uppercase; padding-right: 5px; }
td.col-icon { padding: 12px 0; }

.item-nome-texto { line-height: 1.2; }
.descricao { font-size: 0.8rem; color: var(--text-light); font-weight: normal; margin-top: 5px; line-height: 1.3; font-family: 'Basic Choice', cursive; text-transform: none; text-align: left; }

.quantidade-container { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.quantidade-input-group { display: flex; align-items: center; justify-content: center; gap: 5px; }

input[type="number"] { width: 38px; height: 30px; text-align: center; border: 1px solid #ddd; border-radius: 6px; background-color: #fff; color: var(--text-dark); font-family: 'Basic Choice', cursive; font-size: 1rem; outline: none; transition: 0.2s; }
input[type="number"]:focus { border-color: var(--accent-orange); }
input[type="number"]::-webkit-outer-spin-button, input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type="number"][type="number"] { -moz-appearance: textfield; }

.qtd-btn-table { width: 25px; height: 30px; border: none; background: none; color: var(--accent-orange); font-size: 1.3rem; font-weight: bold; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; transition: opacity 0.2s; line-height: 1; }
.qtd-btn-table:hover { opacity: 0.7; }

.erro-item-unico, .erro-categoria { color: var(--danger); font-size: 0.8rem; margin-top: 5px; display: none; font-family: 'Basic Choice', cursive; }
.erro-categoria { text-align: center; margin-bottom: 15px; background: rgba(255,255,255,0.8); padding: 5px; border-radius: 8px; }
.info-box { background: rgba(224, 159, 65, 0.1); border-top: 2px solid rgba(224, 159, 65, 0.2); padding: 15px; margin-top: 15px; text-align: left; font-family: 'Basic Choice', cursive; border-radius: 12px; }
.info-box p, .info-box-content { color: var(--text-dark); font-size: 0.95rem; margin: 0; line-height: 1.4; text-align: left; }
.info-box-content > div, .info-box-content > p { margin: 0 0 12px 0; }
.info-box-content > div:last-child, .info-box-content > p:last-child { margin-bottom: 0; }
.info-box-content span[style*="text-align"], #aviso-texto span[style*="text-align"] { display: block; }
#aviso-texto { text-align: left; }
#aviso-texto > div, #aviso-texto > p { margin: 0 0 12px 0; }
#aviso-texto > div:last-child, #aviso-texto > p:last-child { margin-bottom: 0; }
.aviso-popup-body { display: flex; flex-direction: column; gap: 16px; }
.aviso-popup-text { text-align: left; }
.aviso-popup-text > div, .aviso-popup-text > p { margin: 0 0 12px 0; }
.aviso-popup-text > div:last-child, .aviso-popup-text > p:last-child { margin-bottom: 0; }
.aviso-popup-image { width: 100%; }
.aviso-popup-image img { display: block; max-width: 100%; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.aviso-popup-image-top { margin-bottom: 2px; }
.aviso-popup-image-bottom { margin-top: 2px; }
caption { display: none; }

.th-mobile { display: inline; }
.th-desktop { display: none; }

@media (max-width: 600px) {
    table { table-layout: fixed; width: 100%; } 
    th.col-icon, td.col-icon { width: 20px; padding: 0; }
    th.col-sec, td.col-sec { width: 45px; padding: 0; }
    th.col-unid, td.col-unid { width: 55px; padding: 12px 0; text-align: center; line-height: 1.2; }
    td.col-unid .moeda { display: block; font-size: 0.75rem; color: var(--text-light); margin-bottom: 1px; }
    td.col-unid .valor { display: block; font-size: 0.85rem; }
    th.col-qtd, td.col-qtd { width: 90px; padding: 12px 0; text-align: center; }
    th.col-item, td.col-item { width: auto; padding-right: 4px; } 
    .quantidade-input-group { gap: 2px; justify-content: center; width: 100%; }
    input[type="number"] { width: 34px; height: 28px; padding: 0; margin: 0; }
    .qtd-btn-table { width: 24px; }
}

@media (min-width: 601px) {
    .th-mobile { display: none; } .th-desktop { display: inline; }
    .container { max-width: 1200px; margin: 0 auto; }
    .table-card { padding: 25px 35px; max-width: 850px; margin: 0 auto; }
    .categoria-title { font-size: 3rem; margin: 5px auto 25px auto; }
    thead th { font-size: 0.95rem; padding-bottom: 10px; }
    td { font-size: 0.9rem; padding: 12px 5px; }
    td.col-item { font-size: 1.05rem; padding-right: 15px; } 
    th.col-icon, td.col-icon { width: 5%; }
    .descricao { font-size: 0.75rem; margin-top: 4px; }
    #categorias-horizontal a { font-size: 0.95rem; padding: 6px 18px; }
    input[type="number"] { width: 36px; height: 28px; font-size: 0.95rem; }
    .qtd-btn-table { font-size: 1.1rem; }
    footer { min-height: 80px; flex-direction: column; justify-content: center; align-items: center; background-size: 100% 100%; gap: 0; }
    .footer-logo { display: none; }
    .desktop-signature { display: flex; align-items: center; gap: 8px; opacity: 0.6; }
    .desktop-signature span { font-size: 0.7rem; color: #1D2814; font-family: 'Cocogoose', sans-serif;}
    .desktop-signature img { height: 1.2em; width: auto; display: block; }
    .copy { margin-top: 0; line-height: 1.2; font-size: 0.7rem;}
}

/* ==========================================
   UX: EFEITO TÁTIL E BRILHO NOS CAMPOS
   ========================================== */
button { font-family: 'Basic Choice', cursive; cursor: pointer; border: none; transition: 0.2s; }

/* Clique macio em TODOS os botões e links de categoria */
button:active, .btn-secondary:active, .btn-primary-large:active, .btn-fazer-pedido:active, #categorias-horizontal a:active, .resumo-qtd-btn:active { 
    transform: scale(0.95) !important; 
    transition: 0.1s; 
}

/* Brilho elegante (Glow) ao digitar no formulário e cupom */
input:focus, textarea:focus, select:focus, #cupom-input:focus { 
    border-color: var(--accent-orange) !important; 
    box-shadow: 0 0 0 4px rgba(224, 159, 65, 0.15) !important;
    transition: all 0.2s ease-in-out;
}

.popup, .modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(29, 40, 20, 0.6); z-index: 6000; justify-content: center; align-items: center; backdrop-filter: blur(4px); opacity: 0; transition: 0.3s; }
.popup.show, .modal.show { display: flex; opacity: 1; }
.popup-conteudo, .modal-content { background-color: var(--card-bg); padding: 30px 25px 25px 25px; border-radius: 20px; width: min(92vw, 440px); max-width: 440px; text-align: center; position: relative; max-height: 90vh; overflow-y: auto; overflow-x: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.2); font-family: 'Basic Choice', cursive; transform: translateY(20px); transition: 0.3s; }
.popup.show .popup-conteudo, .modal.show .modal-content { transform: translateY(0); }/* ==========================================

UX: SCROLLBAR (BARRA FININHA E ELEGANTE)
   ========================================== */
::-webkit-scrollbar, .popup-conteudo::-webkit-scrollbar, .modal-body-scroll::-webkit-scrollbar { 
    width: 6px; 
    height: 6px; 
}
::-webkit-scrollbar-track, .popup-conteudo::-webkit-scrollbar-track, .modal-body-scroll::-webkit-scrollbar-track { 
    background: transparent; 
    margin: 15px 0; 
}
::-webkit-scrollbar-thumb, .popup-conteudo::-webkit-scrollbar-thumb, .modal-body-scroll::-webkit-scrollbar-thumb { 
    background: rgba(224, 159, 65, 0.4); /* Laranja suave */
    border-radius: 10px; 
}
::-webkit-scrollbar-thumb:hover, .popup-conteudo::-webkit-scrollbar-thumb:hover { 
    background: var(--accent-orange); 
}

.fechar, .close-btn-wrapper { position: absolute; top: 15px; right: 20px; font-size: 1.4rem; color: #999; cursor: pointer; line-height: 1; font-family: sans-serif; z-index: 100; }
.fechar:hover, .close-btn-wrapper:hover { color: #333; }
.popup-conteudo h2 { color: var(--accent-orange); font-family: 'Basic Choice', cursive; font-size: 1.6rem; margin: 5px 0 15px 0; padding-bottom: 12px; border-bottom: 1px solid rgba(224, 159, 65, 0.2); text-transform: uppercase; }

.resumo-itens { border-top: none; padding-top: 0; }
.resumo-grupo-titulo { font-family: 'Basic Choice', cursive; color: var(--text-dark); font-size: 1.1rem; font-weight: normal; text-transform: uppercase; text-align: left; margin-top: 20px; margin-bottom: 8px; }
.resumo-item-line { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px dashed rgba(29, 40, 20, 0.2); text-align: left; }
.resumo-item-name { flex: 1; color: var(--text-dark); font-family: 'Basic Choice', cursive; font-size: 1rem; font-weight: normal; text-transform: uppercase; padding-right: 10px; }
.resumo-item-name small { display: block; font-family: 'Basic Choice', cursive; font-size: 0.9rem; color: var(--text-light); font-weight: normal; margin-top: 2px; text-transform: none; }
.resumo-item-input-group { display: flex; align-items: center; gap: 5px; }
.resumo-qtd-btn { background: none; border: none; color: var(--accent-orange); font-size: 1.3rem; font-weight: bold; cursor: pointer; padding: 0 5px; }
.resumo-item-input-group input[type="number"] { width: 38px; height: 30px; border: 1px solid rgba(29, 40, 20, 0.2); border-radius: 6px; text-align: center; font-family: 'Basic Choice', cursive; font-size: 1rem; color: var(--text-dark); background: #fff; outline: none; }
.btn-excluir { background: none; border: none; color: #E60000; font-size: 1rem; cursor: pointer; margin-left: 6px; }

#cupom-container { border: 1px dashed rgba(29, 40, 20, 0.3); border-radius: 12px; padding: 20px 15px 12px 15px; position: relative; margin: 25px 0 15px 0; text-align: center; background: transparent; }
#cupom-container strong { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--card-bg); padding: 0 10px; color: var(--text-dark); font-family: 'Basic Choice', cursive; font-size: 1rem; font-weight: normal; text-transform: uppercase; white-space: nowrap; }
#cupom-input-group { display: flex; gap: 8px; justify-content: center; }
#cupom-input { flex: 1; min-width: 130px; border: 1px solid rgba(29, 40, 20, 0.2); border-radius: 30px; padding: 8px 12px; font-family: 'Basic Choice', cursive; font-size: 1rem; color: var(--text-dark); text-align: center; text-transform: uppercase; outline: none; }
#apply-cupom-btn { background: var(--accent-blue); color: #fff; border: none; border-radius: 12px; padding: 0 15px; font-family: 'Basic Choice', cursive; font-weight: normal; font-size: 1rem; cursor: pointer; }
.cupom-error { color: var(--danger); font-size: 0.85rem; margin-top: 6px; font-family: 'Basic Choice', cursive;}
.cupom-success { color: #28a745; font-size: 0.85rem; margin-top: 6px; font-family: 'Basic Choice', cursive;}

.resumo-footer-area { border-top: 1px solid rgba(224, 159, 65, 0.2); padding-top: 15px; margin-top: 15px;}
.resumo-total { text-align: right; font-family: 'Basic Choice', cursive !important; font-size: 1.4rem; font-weight: normal; color: var(--text-dark); margin-bottom: 15px; text-transform: uppercase; }

#form-pedido { text-align: left; display: flex; flex-direction: column; gap: 12px; margin-bottom: 15px; width: 100%; min-width: 0; }
.input-group { display: flex; flex-direction: column; gap: 5px; width: 100%; max-width: 100%; min-width: 0; overflow: visible; }
#form-pedido label { font-weight: normal; font-size: 0.9rem; color: var(--text-dark); font-family: 'Basic Choice', cursive; text-transform: uppercase; }
#form-pedido input, #form-pedido select, #form-pedido textarea { display: block; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; border-radius: 10px; border: 1px solid rgba(29, 40, 20, 0.2); font-family: 'Basic Choice', cursive; font-size: 1rem; outline: none; background: #fff; color: var(--text-dark); }
#form-pedido input::placeholder, #form-pedido textarea::placeholder { font-family: 'Basic Choice', cursive; color: #aaa; }
#form-pedido input:focus, #form-pedido select:focus, #form-pedido textarea:focus { border-color: var(--accent-orange); }

.popup-footer-actions { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid rgba(224, 159, 65, 0.2); padding-top: 15px;}
.popup-footer-actions-top { display: flex; flex-direction: row; gap: 8px; width: 100%; }

.btn-secondary { background-color: var(--accent-blue); color: #fff; border: none; padding: 10px; border-radius: 10px; font-family: 'Basic Choice', cursive; font-size: 1rem; cursor: pointer; flex: 1; text-transform: uppercase; }
.btn-primary-large, .btn-fazer-pedido { background-color: var(--accent-orange); color: #fff; font-size: 1.1rem; padding: 10px; border-radius: 10px; width: 100%; font-family: 'Basic Choice', cursive; border: none; cursor: pointer; text-transform: uppercase; }
.btn-secondary:hover, .btn-primary-large:hover, .btn-fazer-pedido:hover { opacity: 0.85; }

@media (min-width: 601px) {
    .popup-conteudo { padding: 30px 25px 20px 25px; }
    .popup-conteudo h2 { font-size: 1.4rem; }
    .resumo-grupo-titulo { font-size: 1rem; }
    .resumo-item-name { font-size: 0.9rem; }
    .resumo-item-name small { font-size: 0.8rem; }
    .resumo-item-input-group input[type="number"] { width: 34px; height: 28px; font-size: 0.9rem; }
    .resumo-qtd-btn { font-size: 1.2rem; }
    .btn-excluir { font-size: 0.95rem; }
    #cupom-container { padding: 15px; margin: 20px 0 10px 0; }
    #cupom-container strong { font-size: 0.9rem; top: -10px; }
    #cupom-input { font-size: 0.9rem; padding: 8px 10px; }
    #apply-cupom-btn { font-size: 0.9rem; padding: 0 15px; }
    .resumo-total { font-size: 1.2rem; margin-bottom: 10px; }
    #form-pedido label { font-size: 0.8rem; }
    #form-pedido input, #form-pedido select, #form-pedido textarea { font-size: 0.9rem; padding: 8px 10px; }
    .btn-secondary { font-size: 0.9rem; padding: 8px; }
    .btn-primary-large, .btn-fazer-pedido { font-size: 1rem; padding: 8px; margin-top: 5px; }
}

#fixed-summary { position: fixed; bottom: 20px; left: 5%; right: 5%; width: 90%; max-width: 540px; margin: 0 auto; background-color: var(--text-dark); color: #fff; padding: 12px 30px; border-radius: 50px; box-shadow: 0 5px 20px rgba(0,0,0,0.2); z-index: 80; display: none; cursor: pointer; border: none;}
.summary-content { display: flex; justify-content: space-between; align-items: center; width: 100%; }
#summary-text { flex: 1; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
#summary-total { font-weight: normal; font-size: 1.5rem; font-family: 'Basic Choice', cursive; line-height: 1.2; }
#summary-item-count { font-size: 0.85rem; font-family: 'Basic Choice', cursive; opacity: 0.9;}
#summary-button { color: #fff; font-size: 1.5rem; background: none; border: none; display: flex; }

.modal-img { max-width: 60%; border-radius: 15px; margin: 0 auto 20px; display: block; }
.modal-text p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 15px; line-height: 1.6; font-family: 'Cocogoose', sans-serif;}
.highlight { color: var(--accent-orange); font-weight: bold; margin-top: 20px; display: block; font-size: 1rem; font-family: 'Cocogoose', sans-serif;}

.modal-item-body { display: flex; flex-direction: column; align-items: center; gap: 20px; padding: 20px; }
.item-imagem-display { max-width: 100%; max-height: 50vh; object-fit: contain; border-radius: 8px; display: block; }
.item-info { text-align: center; width: 100%; }
#item-descricao-display { font-family: 'Basic Choice', cursive; font-size: 1rem; color: var(--text-dark); line-height: 1.6; text-transform: none; }
.item-info h3 { margin: 0 0 10px 0; font-size: 1.8rem; font-family: 'Basic Choice', cursive; text-transform: uppercase; }

.foto-hint { color: var(--accent-orange); opacity: 0.65; font-size: 0.95rem; transition: all 0.2s ease; }
.item-nome-clickable { transition: opacity 0.2s ease; }
.item-nome-clickable.tem-foto:hover { opacity: 0.8; }
.item-nome-clickable.tem-foto:hover .foto-hint { opacity: 1; transform: scale(1.15); }

/* --- ALTERADO: Inclusão de .info-box p para adotar a fonte limpa Arial --- */
td.col-sec,
td.col-unid,
td.col-qtd,
.descricao,
input[type="number"],
.info-box p,
.info-box-content {
    font-family: var(--font-numbers) !important;
}

/* --- FONTE DOS CAMPOS DE DIGITAÇÃO E ITENS DO RESUMO --- */
.resumo-item-name, 
.resumo-item-name small,
#form-pedido input, 
#form-pedido select, 
#form-pedido textarea,
#cupom-input {
    font-family: var(--font-numbers) !important;
}

#form-pedido input::placeholder, 
#form-pedido textarea::placeholder,
#cupom-input::placeholder {
    font-family: var(--font-numbers) !important;
}

/* --- REMOVER CAPS LOCK FORÇADO --- */
.resumo-item-name, 
.resumo-item-name small,
.descricao,
#form-pedido input, 
#form-pedido select, 
#form-pedido textarea {
    text-transform: none !important;
}

#form-pedido input::placeholder, 
#form-pedido textarea::placeholder {
    text-transform: none !important;
}

.peso-mobile { display: block; white-space: nowrap; font-size: 0.75rem; margin-top: 2px; color: var(--text-light); }

#form-pedido input[type="date"],
#form-pedido input[type="time"],
#form-pedido select {
    padding-right: 38px;
    background-clip: padding-box;
}

#form-pedido textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 100% !important;
}

@supports (-webkit-touch-callout: none) {
    #form-pedido input[type="date"],
    #form-pedido input[type="time"],
    #form-pedido select,
    #form-pedido textarea,
    #form-pedido input[type="text"],
    #form-pedido input[type="tel"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
    }
}


/* Ajuste fino: mantém o calendário no canto direito e padroniza o respiro do campo de horário */
#form-pedido input[type="date"] {
    padding-right: 12px !important;
}

#form-pedido input[type="date"]::-webkit-calendar-picker-indicator {
    margin-right: 0 !important;
    padding: 0 !important;
}

#horario-entrega-container {
    margin-top: -6px !important;
}
