@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700;900&display=swap');

:root{
	--bg:#111;
	--surface:#1a1a1a;
	--surface2:#222222;
	--text:#f5f5f5;
	--muted:#aaaaaa;
	--accent:#ffd600;
	--accent-strong:#ffbf00;
	--red:#cc0000;
	--border: rgba(255,255,255,0.06);
}

*{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px}
body{font-family:'Poppins',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.35;-webkit-font-smoothing:antialiased}

/* Container */
#cardapio{min-height:100vh;background:var(--bg)}

/* Header */
.header{background:var(--red);padding:1.6rem 1rem 1rem;text-align:center;border-bottom:4px solid var(--accent);}
.logo-area{display:flex;flex-direction:column;align-items:center;gap:0.25rem}
.logo-name{font-size:1.6rem;font-weight:800;color:#fff;letter-spacing:0.03em;text-transform:uppercase}
.logo-name span{color:var(--accent)}
.logo-sub{font-size:0.7rem;color:rgba(255,255,255,0.85);letter-spacing:0.25em;text-transform:uppercase}
.yellow-line{width:44px;height:3px;background:var(--accent);margin-top:0.4rem;border-radius:2px}

/* Nav (scrollable) */
.nav{display:flex;overflow-x:auto;background:var(--surface);border-bottom:1px solid var(--border);padding:0.4rem;gap:0.4rem}
.nav::-webkit-scrollbar{display:none}
.nav-btn{flex:0 0 auto;padding:0.9rem 1rem;font-size:0.78rem;font-weight:700;color:var(--muted);background:none;border:0;border-bottom:3px solid transparent;border-radius:8px;cursor:pointer;white-space:nowrap}
.nav-btn.active{color:var(--accent);border-bottom-color:var(--accent)}
.nav-btn:focus{outline:2px solid rgba(255,255,255,0.06)}

/* Content */
.content{padding:1rem;max-width:720px;margin:0 auto}
.section-title{font-size:0.64rem;letter-spacing:0.25em;text-transform:uppercase;color:var(--accent);margin-bottom:0.8rem;padding-bottom:0.4rem;border-bottom:1px solid var(--border)}

.item{display:flex;justify-content:space-between;align-items:flex-start;padding:0.75rem 0;border-bottom:1px solid var(--border);gap:0.8rem}
.item-name{font-size:0.95rem;font-weight:600;color:var(--text)}
.item-desc{font-size:0.76rem;color:var(--muted);margin-top:4px}
.item-price{font-size:0.95rem;font-weight:800;color:var(--accent);white-space:nowrap}

.subsection{margin-bottom:1.6rem}
.sub-label{font-size:0.62rem;letter-spacing:0.18em;text-transform:uppercase;color:rgba(255,90,90,0.95);margin-bottom:0.5rem;margin-top:0.9rem}

.combo-card{background:var(--surface2);border:1px solid var(--border);border-radius:10px;padding:0.9rem;margin-bottom:0.8rem}
.combo-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:0.4rem}
.combo-name{font-size:1rem;font-weight:700}
.combo-price{font-size:1.05rem;font-weight:900;color:var(--accent)}
.combo-desc{font-size:0.78rem;color:var(--muted);line-height:1.4}
.combo-tag{display:inline-block;background:var(--red);color:#fff;font-size:0.62rem;font-weight:700;padding:3px 8px;border-radius:20px}

.promo-card{background:var(--red);border-radius:10px;padding:0.9rem;margin-bottom:0.7rem;display:flex;justify-content:space-between;align-items:center}
.promo-day{font-size:0.64rem;color:rgba(255,255,255,0.85);text-transform:uppercase}
.promo-item-name{font-size:0.95rem;font-weight:700;color:#fff}
.promo-price{font-size:1.05rem;font-weight:900;color:var(--accent)}

.tag-grid{display:flex;flex-wrap:wrap;gap:0.5rem}
.tag{background:var(--surface2);border:1px solid var(--border);border-radius:20px;padding:0.35rem 0.75rem;font-size:0.82rem;color:var(--text);display:flex;align-items:center;gap:0.6rem}
.tag-price{color:var(--accent);font-weight:700;font-size:0.78rem}

.footer-info{background:var(--surface);border-top:1px solid var(--border);padding:1rem;text-align:center;font-size:0.78rem;color:var(--muted);display:flex;flex-direction:column;gap:0.25rem}
.footer-info a{color:var(--accent);text-decoration:none}

/* Admin button */
#admin-btn{position:fixed;bottom:1.1rem;right:1.1rem;background:var(--red);border:2px solid var(--accent);color:var(--accent);font-size:0.72rem;font-weight:800;padding:0.6rem 0.95rem;border-radius:28px;cursor:pointer;z-index:100}

.save-toast{display:none;position:fixed;bottom:5rem;left:50%;transform:translateX(-50%);background:var(--red);color:#fff;padding:0.55rem 1.1rem;border-radius:20px;font-size:0.82rem;font-weight:700;border:1px solid var(--accent);z-index:300}

/* Buttons */
.btn-primary{background:var(--red);color:#fff;border:none;border-radius:8px;padding:0.7rem 1.2rem;font-weight:800;cursor:pointer}
.btn-primary:active{transform:translateY(1px)}
.btn-sm{background:var(--red);color:#fff;border:0;border-radius:6px;padding:0.35rem 0.7rem}
.btn-danger{background:transparent;color:#ff6b6b;border:1px solid #ff6b6b;border-radius:6px;padding:0.3rem 0.6rem}

/* Admin styles small */
.modal-box{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:1rem}

/* Responsive adjustments */
@media(min-width:800px){
	html{font-size:17px}
	.content{max-width:920px}
	.logo-name{font-size:2.2rem}
	.nav-btn{padding:0.7rem 1.2rem}
}

/* Lightbox / image viewer */
.image-viewer{display:none;position:fixed;inset:0;background:rgba(0,0,0,0.92);z-index:400;align-items:center;justify-content:center;padding:1rem}
.image-viewer.open{display:flex}
.image-viewer img{max-width:96%;max-height:90vh;border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,0.6)}
.image-viewer .caption{color:var(--text);margin-top:12px;font-size:0.95rem;text-align:center}
.image-viewer .close{position:absolute;top:18px;right:18px;background:transparent;border:0;color:var(--muted);font-size:28px;cursor:pointer}

/* Editor page */
.editor-root{max-width:1100px;margin:0 auto;padding:1.25rem 1rem 2rem}
.editor-header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;margin-bottom:1rem;padding:1.2rem;border:1px solid var(--border);border-radius:14px;background:linear-gradient(140deg,#171717,#101010)}
.editor-header h1{font-size:1.4rem;line-height:1.1}
.editor-header p{font-size:0.86rem;color:var(--muted);margin-top:0.35rem}
.editor-link{display:inline-flex;align-items:center;height:40px;padding:0 1rem;border-radius:10px;background:var(--surface2);border:1px solid var(--border);color:var(--accent);font-weight:700;text-decoration:none}

.editor-page{min-height:100vh;background:radial-gradient(1200px 520px at 10% -15%, rgba(255,214,0,0.08), transparent 55%), radial-gradient(900px 500px at 90% -10%, rgba(204,0,0,0.12), transparent 50%), #0d0d0f}

.editor-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;padding:1rem;margin-bottom:1rem}
.editor-card h2{font-size:1rem;margin-bottom:0.8rem}

.editor-login{max-width:680px;margin:1.4rem auto 0;box-shadow:0 22px 60px rgba(0,0,0,0.38);border-color:rgba(255,255,255,0.11);background:linear-gradient(170deg, #1a1a1d, #121214)}
.editor-login-badge{display:inline-block;padding:0.26rem 0.58rem;border-radius:999px;font-size:0.72rem;font-weight:700;color:#ffe08a;background:rgba(255,214,0,0.14);border:1px solid rgba(255,214,0,0.28);margin-bottom:0.55rem}
.editor-login-note{font-size:0.88rem;color:var(--muted);margin-bottom:0.75rem}

.editor-toolbar{display:grid;grid-template-columns:1fr auto auto;gap:0.6rem;margin-bottom:1rem}
.editor-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:0.6rem}
.editor-grid-4{display:grid;grid-template-columns:1.2fr 1.5fr .7fr .8fr;gap:0.6rem}

.editor-input,.editor-textarea{width:100%;background:#111;border:1px solid var(--border);border-radius:10px;color:var(--text);padding:0.72rem 0.8rem;font-family:inherit}
.editor-textarea{min-height:82px;resize:vertical}
.editor-input:focus,.editor-textarea:focus{outline:none;border-color:rgba(255,214,0,0.55);box-shadow:0 0 0 3px rgba(255,214,0,0.08)}

.editor-actions{display:flex;align-items:center;gap:0.6rem;margin-top:0.7rem;flex-wrap:wrap}
.editor-btn,.editor-btn-primary,.editor-btn-danger{border-radius:10px;padding:0.64rem 0.9rem;font-weight:700;border:1px solid transparent;cursor:pointer;font-family:inherit}
.editor-btn{background:var(--surface2);border-color:var(--border);color:#fff}
.editor-btn-primary{background:var(--red);color:#fff}
.editor-btn-danger{background:transparent;border-color:#a83a3a;color:#ff9e9e}
.editor-btn-primary:hover{filter:brightness(1.07)}
.editor-btn:hover,.editor-btn-danger:hover{filter:brightness(1.05)}

.editor-msg{font-size:0.86rem;color:#7bd389}
.editor-msg.is-error{color:#ff9e9e}
.editor-check{display:inline-flex;align-items:center;gap:0.4rem;font-size:0.85rem;color:var(--muted)}

.editor-list{display:flex;flex-direction:column;gap:0.8rem}
.editor-cat{border:1px solid var(--border);border-radius:12px;padding:0.8rem;background:#121212}
.editor-cat h3{font-size:0.9rem;color:var(--accent);margin-bottom:0.6rem}
.editor-item{border:1px solid var(--border);border-radius:10px;padding:0.7rem;margin-bottom:0.6rem;background:#101010}
.editor-item-row{display:grid;grid-template-columns:1.6fr .6fr .6fr;gap:0.55rem;margin-bottom:0.55rem}

@media(max-width:780px){
	.editor-header{flex-direction:column}
	.editor-toolbar{grid-template-columns:1fr 1fr 1fr}
	.editor-grid-2{grid-template-columns:1fr}
	.editor-grid-4{grid-template-columns:1fr}
	.editor-item-row{grid-template-columns:1fr}
}


