/* =========================================================
   MIRANDA'S HAMBURGUERIA — tema preto, laranja, amarelo e vermelho
   ========================================================= */
:root {
  --yellow: #ffc21a;
  --yellow-2: #f5b800;
  --orange: #ff6a13;
  --pink: #e2261c;
  --aqua: #ff9a3c;
  --sea: #7a1410;
  --navy: #120c08;
  --navy-2: #1b130d;
  --navy-3: #2a1d13;
  --sand: #f1dfb8;
  --text: #f6f1e7;
  --muted: #c2b3a3;
  --line: rgba(255, 255, 255, .09);
  --card: rgba(255, 255, 255, .05);
  --wpp: #25d366;
  --radius: 18px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .6);
  --font-title: 'Anton', Impact, sans-serif;
  --font: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --nav-h: 70px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); color: var(--text); background: var(--navy);
  background-image:
    radial-gradient(1200px 600px at 110% -10%, rgba(226, 38, 28, .12), transparent 60%),
    radial-gradient(900px 500px at -10% 30%, rgba(255, 154, 60, .08), transparent 60%);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
.hidden { display: none !important; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; margin-top: 28px; }
.pre { white-space: pre-line; }
.container { width: min(1180px, 92vw); margin: 0 auto; }
em { font-style: normal; color: var(--yellow); }
h1, h2, h3 { margin: 0; line-height: 1.05; }
h1, h2 { font-family: var(--font-title); font-weight: 400; letter-spacing: .5px; text-transform: uppercase; }

/* ----- Botões ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; cursor: pointer;
  font-weight: 700; letter-spacing: .2px; transition: transform .15s, box-shadow .2s, background .2s, opacity .2s;
  background: var(--navy-3); white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn-yellow { background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #1a1100; box-shadow: 0 10px 24px -10px rgba(255, 160, 40, .8); }
.btn-wpp { background: var(--wpp); color: #04200f; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .8); }
.btn-outline { background: transparent; border-color: var(--yellow); color: var(--yellow); }
.btn-ghost { background: rgba(255, 255, 255, .07); border-color: var(--line); }
.btn-danger { background: #e5384f; color: #fff; }
.btn-sm { padding: 7px 14px; font-size: .85rem; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ----- Ticker ----- */
.ticker { background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink)); color: #1a0b00; overflow: hidden; height: 30px; display: flex; align-items: center; font-weight: 700; font-size: .85rem; }
.ticker-track { display: flex; gap: 60px; white-space: nowrap; animation: ticker 28s linear infinite; padding-left: 100%; }
@keyframes ticker { to { transform: translateX(-100%); } }

/* ----- Navegação ----- */
.nav {
  position: sticky; top: 0; z-index: 50; height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 4vw; background: rgba(18, 12, 8, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-brand img { height: 46px; width: auto; filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .5)); }
.brand-word { font-family: var(--font-title); font-size: 1.45rem; text-transform: uppercase; letter-spacing: 1px; }
.brand-word b { color: var(--yellow); font-weight: 400; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { padding: 9px 14px; border-radius: 999px; font-weight: 600; font-size: .92rem; color: #dfe5f5; transition: background .2s, color .2s; display: flex; align-items: center; gap: 6px; }
.nav-links a:hover { background: rgba(255, 255, 255, .07); }
.nav-links a.active { background: var(--yellow); color: #1a1100; }
.nav-admin { color: var(--yellow) !important; border: 1px solid rgba(255, 194, 26, .4); }
.nav-admin.active { color: #1a1100 !important; }
.nav-orders { color: #7ee2a0 !important; border: 1px solid rgba(126, 226, 160, .45); font-weight: 700; }
.nav-portal { color: #ffd27a !important; border: 1px solid rgba(255, 194, 26, .35); }
.nav-orders.active { color: #062b12 !important; background: #7ee2a0 !important; }
.tabbar .tb-pedidos { display: none; }
.hist-ttl { margin: 0 0 10px; padding: 8px 12px; border-radius: 10px; background: rgba(255, 194, 26, .08); border: 1px dashed rgba(255, 194, 26, .4); font-size: .85rem; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.open-badge { font-size: .78rem; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: rgba(37, 211, 102, .15); color: #59e68f; }
.open-badge.closed { background: rgba(229, 56, 79, .15); color: #ff7286; }
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer; background: var(--yellow); color: #1a1100; display: grid; place-items: center; transition: transform .2s; }
.cart-btn:hover { transform: scale(1.07); }
.cart-btn.bump { animation: bump .45s; }
@keyframes bump { 30% { transform: scale(1.25) rotate(-8deg); } 60% { transform: scale(.95); } }
.cart-count { position: absolute; top: -4px; right: -4px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 10px; display: grid; place-items: center; padding: 0 5px; border: 2px solid var(--navy); }
.burger { display: none; width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .08); border-radius: 12px; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: .3s; }
.dot-live { width: 8px; height: 8px; border-radius: 50%; background: var(--wpp); display: inline-block; box-shadow: 0 0 0 0 rgba(37, 211, 102, .7); animation: live 1.8s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* ----- Views ----- */
.view { display: none; animation: fadeUp .45s ease both; min-height: 60vh; }
.view.active { display: block; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ----- HERO ----- */
.hero { position: relative; min-height: calc(100vh - var(--nav-h) - 30px); min-height: calc(100svh - var(--nav-h) - 30px); display: grid; place-items: center; overflow: hidden; isolation: isolate; }
.hero-content { text-align: center; padding: 30px 20px 90px; max-width: 900px; }
.hero-logo { width: min(440px, 78vw); margin: 0 auto -8px; filter: drop-shadow(0 25px 40px rgba(0, 0, 0, .55)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-12px) rotate(-1deg); } }
.hero-title { font-family: var(--font-title); font-size: clamp(3rem, 9vw, 6.6rem); text-transform: uppercase; line-height: .95; text-shadow: 0 6px 0 rgba(0, 0, 0, .3), 0 12px 40px rgba(0, 0, 0, .5); }
.hero-title span { color: #fff6e0; }
.hero-title em { font-family: 'Pacifico', cursive; text-transform: none; font-size: .78em; color: var(--yellow); margin-left: 6px; display: inline-block; transform: rotate(-4deg); }
.hero-slogan { font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 600; margin: 14px 0 26px; color: #fff3df; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-chips { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hero-chips span { background: rgba(18, 12, 8, .55); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .15); padding: 8px 14px; border-radius: 999px; font-size: .88rem; font-weight: 600; }
.scroll-hint { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #fff; opacity: .8; animation: hint 1.6s infinite; font-size: 1.1rem; }
@keyframes hint { 50% { transform: translate(-50%, 8px); } }

/* ----- Seções ----- */
.section-head { text-align: center; margin: 70px 0 34px; }
.section-head h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.kicker { display: inline-block; font-family: 'Pacifico', cursive; color: var(--aqua); font-size: 1.15rem; margin-bottom: 6px; }
.page-hero { position: relative; padding: 90px 0 70px; text-align: center; overflow: hidden;
  background: linear-gradient(180deg, #2a1650 0%, #b3405a 55%, #ff9a3c 100%); }
.page-hero.small { padding: 70px 0 56px; }
.page-hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 30 Q 180 0 360 30 T 720 30 T 1080 30 T 1440 30 V60 H0Z' fill='%230a1530'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.page-hero::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; left: 50%; bottom: -150px; transform: translateX(-50%); background: radial-gradient(circle, #fff3a0, #ffd23f 50%, rgba(255, 122, 26, 0) 70%); opacity: .9; }
.page-hero-inner { position: relative; z-index: 1; width: min(900px, 92vw); margin: 0 auto; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
.page-hero h1 em { color: #fff3a0; }
.page-hero p { font-weight: 500; margin: 12px auto 0; max-width: 620px; }
.page-hero .kicker { color: #fff; }

/* ----- Produtos ----- */
.grid.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .025));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255, 194, 26, .45); box-shadow: var(--shadow); }
.card.off { opacity: .55; }
.card-media { position: relative; height: 190px; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 50% 110%, var(--c, #ffd23f) -40%, transparent 65%), linear-gradient(180deg, #2a1b10, #160e08); }
.card-media::before { content: ''; position: absolute; inset: auto 0 0 0; height: 40px; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 20px, transparent 20px 40px); }
.card-media img.photo { width: 100%; height: 100%; object-fit: cover; }
.cup { width: 120px; height: 160px; transition: transform .35s; filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .45)); }
.card:hover .cup { transform: rotate(-6deg) scale(1.06); }
.card-emoji { position: absolute; top: 12px; left: 12px; font-size: 1.5rem; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.tag { position: absolute; top: 12px; right: 12px; font-size: .72rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--pink); color: #fff; text-transform: uppercase; letter-spacing: .5px; }
.tag.out { background: #3a2f27; color: #ccd; }
.tag.promo { background: var(--yellow); color: #1a1100; }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.08rem; font-weight: 700; }
.card-body p { margin: 0; color: var(--muted); font-size: .88rem; line-height: 1.45; flex: 1; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.price { font-family: var(--font-title); font-size: 1.6rem; color: var(--yellow); letter-spacing: .5px; }
.price s { font-family: var(--font); font-size: .82rem; color: var(--muted); margin-right: 6px; }
.add-btn { border: 0; cursor: pointer; background: var(--yellow); color: #1a1100; font-weight: 800; padding: 10px 16px; border-radius: 999px; display: flex; gap: 6px; align-items: center; transition: transform .15s; }
.add-btn:hover { transform: scale(1.06); }
.add-btn:disabled { background: #3a2f27; color: #99a; cursor: not-allowed; transform: none; }
.ice-note { font-size: .76rem; color: var(--aqua); font-weight: 600; }
.stock-low { font-size: .76rem; color: #ffb35c; font-weight: 600; }

/* controles admin no card */
.card-admin { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-top: 1px dashed rgba(255, 194, 26, .35); background: rgba(255, 194, 26, .06); font-size: .82rem; }
.card-admin b { min-width: 34px; text-align: center; }
.card-admin button { border: 1px solid var(--line); background: rgba(255, 255, 255, .08); border-radius: 8px; padding: 4px 9px; cursor: pointer; font-weight: 700; }
.card-admin button:hover { background: rgba(255, 194, 26, .25); }
.card-admin .grow { flex: 1; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: 14px; margin: 26px 0 0; background: rgba(255, 194, 26, .1); border: 1px solid rgba(255, 194, 26, .35); font-weight: 600; font-size: .9rem; }
.admin-bar div { display: flex; gap: 8px; }

.menu-tools { position: sticky; top: var(--nav-h); z-index: 20; padding: 18px 0 14px; margin-top: 10px; background: linear-gradient(180deg, var(--navy) 75%, rgba(18, 12, 8, 0)); }
.search { display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); padding: 0 16px; border-radius: 999px; margin-bottom: 12px; }
.search input { flex: 1; border: 0; background: none; padding: 13px 0; outline: none; }
.cats { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cats::-webkit-scrollbar { display: none; }
.cats button { flex-shrink: 0; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); padding: 8px 16px; border-radius: 999px; cursor: pointer; font-weight: 600; font-size: .88rem; transition: .2s; }
.cats button.active { background: var(--yellow); color: #1a1100; border-color: var(--yellow); }
.menu-cat { margin: 26px 0 40px; scroll-margin-top: 200px; }
.menu-cat > h2 { font-size: 2rem; margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.menu-cat > h2::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, rgba(255, 194, 26, .5), transparent); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.flavors-box { margin: 10px 0 60px; padding: 24px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 154, 60, .1), rgba(226, 38, 28, .08)); border: 1px solid rgba(255, 154, 60, .25); }
.flavors-box h3 { margin-bottom: 14px; }
.flavor-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 8px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); font-weight: 600; font-size: .86rem; }
.fchip i { width: 16px; height: 16px; border-radius: 5px; background: var(--fc); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .5); transform: rotate(12deg); }
.fchip.off { opacity: .4; text-decoration: line-through; }

/* ----- Como pedir ----- */
.how { margin-top: 70px; padding: 10px 0 70px; background: linear-gradient(180deg, transparent, rgba(122, 30, 16, .45) 30%, rgba(122, 30, 16, .45) 70%, transparent); }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { position: relative; text-align: center; padding: 34px 22px 26px; border-radius: var(--radius); background: rgba(18, 12, 8, .6); border: 1px solid var(--line); }
.step-n { position: absolute; top: -18px; left: 50%; transform: translateX(-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: #1a1100; font-family: var(--font-title); display: grid; place-items: center; font-size: 1.2rem; }
.step-ic { font-size: 2.6rem; margin-bottom: 10px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--muted); font-size: .92rem; }

.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; margin: 70px auto 90px; }
.split-text h2 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 14px; }
.split-text p { color: var(--muted); line-height: 1.6; margin: 0 0 22px; }
.chat-preview { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; transform: rotate(1.5deg); box-shadow: var(--shadow); }
.cp-msg { background: rgba(255, 255, 255, .06); padding: 10px 14px; border-radius: 14px 14px 14px 4px; font-size: .92rem; }
.cp-msg b { margin-right: 6px; color: var(--aqua); }
.cp-online { font-size: .85rem; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.r-admin { color: var(--yellow) !important; }
.r-mod { color: #7fb7ff !important; }

/* ----- Sobre ----- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 50px; align-items: center; margin: 60px auto 90px; }
.about-logo { position: relative; }
.about-logo::before { content: ''; position: absolute; inset: 10% 10%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 194, 26, .45), transparent 65%); filter: blur(10px); }
.about-logo img { position: relative; animation: float 6s ease-in-out infinite; }
.about-text #aboutText p { line-height: 1.75; color: #dfe4f2; margin: 0 0 14px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 22px 0 26px; }
.about-feats div { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: .9rem; }
.about-feats b { font-size: 1.4rem; }

/* ----- Contato ----- */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; margin: 60px auto 90px; }
.contact-cards { display: grid; gap: 14px; }
.c-card { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); transition: .2s; }
a.c-card:hover { border-color: var(--yellow); transform: translateX(4px); }
.c-card.wpp { background: linear-gradient(135deg, rgba(37, 211, 102, .2), rgba(37, 211, 102, .05)); border-color: rgba(37, 211, 102, .4); }
.c-ic { font-size: 1.8rem; width: 54px; height: 54px; border-radius: 16px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; flex-shrink: 0; }
.c-card small { display: block; color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: 1px; }
.c-card b { display: block; font-size: 1.05rem; }
.c-card span { font-size: .85rem; color: var(--muted); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); min-height: 380px; background: var(--navy-2); }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: saturate(1.1); }

/* ----- Chat ----- */
.chat-page { padding: 30px 0 60px; }
.chat-join { max-width: 520px; margin: 30px auto; text-align: center; padding: 34px 26px; border-radius: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02)); border: 1px solid var(--line); box-shadow: var(--shadow); }
.chat-join-logo { width: 220px; margin: -10px auto 6px; }
.chat-join h1 { font-size: 2.6rem; }
.chat-join p { color: var(--muted); }
.chat-join form, .admin-login form { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; }
input, select, textarea { width: 100%; background: rgba(255, 255, 255, .07); border: 1px solid var(--line); border-radius: 14px; padding: 13px 16px; outline: none; transition: border-color .2s, background .2s; }
input:focus, select:focus, textarea:focus { border-color: var(--yellow); background: rgba(255, 255, 255, .1); }
select option { background: var(--navy-2); }
textarea { resize: vertical; }
input[type=checkbox] { width: auto; accent-color: var(--yellow); }
input[type=color] { padding: 2px; height: 40px; width: 56px; cursor: pointer; }
.err { color: #ff7286; font-weight: 600; min-height: 1.2em; margin: 10px 0 0; font-size: .9rem; }

.chat-room { display: grid; grid-template-columns: 1fr 260px; gap: 16px; height: calc(100vh - var(--nav-h) - 130px); height: calc(100svh - var(--nav-h) - 130px); min-height: 460px; }
.chat-main { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: rgba(20, 13, 9, .75);
  background-image: radial-gradient(600px 300px at 100% 0, rgba(226, 38, 28, .08), transparent), radial-gradient(500px 300px at 0 100%, rgba(255, 154, 60, .07), transparent); }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .03); }
.chat-head > div:first-child { display: flex; flex-direction: column; }
.chat-head-actions { display: flex; gap: 6px; }
.chat-msgs { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 6px; scroll-behavior: smooth; }
.msg { position: relative; max-width: 86%; padding: 8px 12px 9px; border-radius: 16px 16px 16px 5px; background: rgba(255, 255, 255, .07); align-self: flex-start; animation: pop .25s ease; word-wrap: break-word; overflow-wrap: anywhere; }
@keyframes pop { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.msg.mine { align-self: flex-end; border-radius: 16px 16px 5px 16px; background: linear-gradient(135deg, rgba(255, 194, 26, .22), rgba(255, 122, 26, .18)); }
.msg.r-admin-msg { border: 1px solid rgba(255, 194, 26, .55); box-shadow: 0 0 18px -6px rgba(255, 194, 26, .6); }
.msg.r-mod-msg { border: 1px solid rgba(127, 183, 255, .4); }
.msg .who { font-weight: 700; font-size: .82rem; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.msg .who.r-user { color: var(--aqua); }
.msg .who.r-admin { color: var(--yellow); }
.msg .who.r-mod { color: #7fb7ff; }
.msg .time { font-size: .7rem; color: var(--muted); margin-left: 8px; }
.msg .txt { white-space: pre-wrap; font-size: .95rem; line-height: 1.45; margin-top: 2px; }
.msg .del { position: absolute; top: 4px; right: 6px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: .8rem; opacity: 0; transition: .2s; }
.msg:hover .del { opacity: 1; }
.crown { display: inline-block; filter: drop-shadow(0 0 6px rgba(255, 194, 26, .9)); animation: crown 2.4s ease-in-out infinite; }
@keyframes crown { 50% { transform: translateY(-2px) rotate(-8deg); } }
.sys { align-self: center; font-size: .8rem; color: var(--muted); background: rgba(255, 255, 255, .04); padding: 5px 12px; border-radius: 999px; text-align: center; max-width: 92%; }
.announce { align-self: stretch; max-width: 100%; text-align: center; padding: 12px 16px; border-radius: 14px; background: linear-gradient(135deg, rgba(255, 194, 26, .25), rgba(226, 38, 28, .2)); border: 1px solid rgba(255, 194, 26, .6); font-weight: 600; }
.announce .who { color: var(--yellow); }
.mute-banner { padding: 10px 16px; background: rgba(229, 56, 79, .18); color: #ff9aa8; font-weight: 600; font-size: .9rem; text-align: center; }
.chat-input { position: relative; display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .03); align-items: center; }
.chat-input input[type=text], .chat-input #chatText { flex: 1; border-radius: 999px; }
.emoji-btn { border: 0; background: rgba(255, 255, 255, .07); width: 44px; height: 44px; border-radius: 50%; cursor: pointer; font-size: 1.2rem; flex-shrink: 0; }
.emoji-pop { position: absolute; bottom: 64px; left: 12px; background: var(--navy-2); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: grid; grid-template-columns: repeat(8, 1fr); gap: 4px; box-shadow: var(--shadow); z-index: 5; }
.emoji-pop button { border: 0; background: none; font-size: 1.3rem; cursor: pointer; padding: 4px; border-radius: 8px; }
.emoji-pop button:hover { background: rgba(255, 255, 255, .1); }
.announce-toggle { display: flex; align-items: center; gap: 4px; font-size: 1.1rem; cursor: pointer; flex-shrink: 0; }
.chat-users { border-radius: 20px; border: 1px solid var(--line); background: rgba(20, 13, 9, .75); display: flex; flex-direction: column; overflow: hidden; }
.cu-head { padding: 14px 16px; font-weight: 700; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.badge { background: var(--wpp); color: #04200f; font-size: .75rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
#userList { list-style: none; margin: 0; padding: 8px; overflow-y: auto; flex: 1; }
#userList li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 12px; cursor: pointer; font-weight: 600; font-size: .9rem; transition: background .2s; }
#userList li:hover { background: rgba(255, 255, 255, .06); }
#userList li .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; font-weight: 800; color: #1a1100; flex-shrink: 0; }
#userList li .nm { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#userList li.me .nm::after { content: ' (você)'; color: var(--muted); font-weight: 400; font-size: .8rem; }
.cu-legend { display: flex; gap: 12px; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .75rem; color: var(--muted); }
.only-mobile { display: none !important; }

/* ----- Admin ----- */
.admin { padding: 40px 0 80px; }
.admin-login { max-width: 420px; margin: 40px auto; text-align: center; padding: 36px 26px; border-radius: 24px; border: 1px solid rgba(255, 194, 26, .35); background: linear-gradient(180deg, rgba(255, 194, 26, .1), rgba(255, 255, 255, .02)); }
.crown-big { font-size: 4rem; animation: crown 2.4s ease-in-out infinite; filter: drop-shadow(0 0 20px rgba(255, 194, 26, .7)); }
.admin-login h1 { font-size: 2.4rem; }
.admin-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.admin-top h1 { font-size: 2.4rem; }
.admin-top-actions { display: flex; gap: 14px; align-items: center; }
.switch-row { display: flex; align-items: center; gap: 8px; font-weight: 600; cursor: pointer; }
.tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs button { border: 0; background: none; padding: 10px 16px; border-radius: 12px 12px 0 0; cursor: pointer; font-weight: 700; color: var(--muted); white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs button.active { color: var(--yellow); border-bottom-color: var(--yellow); background: rgba(255, 194, 26, .07); }
.pane-tools { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.pane-tools input { max-width: 280px; padding: 9px 14px; }
.pane-tools p { margin: 0; flex: 1; min-width: 200px; }
.table-wrap { overflow-x: auto; border-radius: 16px; border: 1px solid var(--line); }
.adm-table { width: 100%; border-collapse: collapse; font-size: .88rem; min-width: 780px; }
.adm-table th { text-align: left; padding: 12px 10px; background: rgba(255, 255, 255, .05); color: var(--muted); font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .5px; }
.adm-table td { padding: 8px 10px; border-top: 1px solid var(--line); vertical-align: middle; }
.adm-table tr.off td { opacity: .5; }
.adm-table input, .adm-table select { padding: 7px 10px; border-radius: 10px; font-size: .88rem; }
.adm-table .w-num { width: 90px; }
.adm-table .w-name { min-width: 180px; }
.adm-table .thumb { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; font-size: 1.3rem; background: rgba(255, 255, 255, .06); }
.stock-ctrl { display: flex; align-items: center; gap: 4px; }
.stock-ctrl button, .icon-btn { border: 1px solid var(--line); background: rgba(255, 255, 255, .07); border-radius: 8px; width: 30px; height: 30px; cursor: pointer; font-weight: 800; flex-shrink: 0; }
.icon-btn:hover, .stock-ctrl button:hover { background: rgba(255, 194, 26, .25); }
.icon-btn.danger:hover { background: rgba(229, 56, 79, .5); }
.row-actions { display: flex; gap: 6px; }
.settings-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.settings-form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .88rem; }
.settings-form label.full { grid-column: 1 / -1; }
.settings-form label.check { flex-direction: row; align-items: center; gap: 10px; }
.settings-form .hint { font-weight: 400; color: var(--muted); font-size: .78rem; }
.settings-form .actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.adm-card { padding: 18px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); margin-bottom: 16px; }
.adm-card h3 { margin-bottom: 10px; font-size: 1.05rem; }
.chatadm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.adm-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .88rem; }
.adm-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.adm-list li small { display: block; color: var(--muted); font-size: .75rem; }
.adm-list .none { color: var(--muted); background: none; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.order { padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); margin-bottom: 10px; }
.order-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-weight: 700; margin-bottom: 6px; }
.order-head span { color: var(--muted); font-weight: 500; font-size: .85rem; }
.order ul { margin: 6px 0; padding-left: 18px; color: #dfe4f2; font-size: .9rem; }
.order .meta { font-size: .85rem; color: var(--muted); }

/* ----- Rodapé ----- */
.footer { position: relative; margin-top: 40px; background: #0a0705; padding-top: 70px; }
.footer-waves { position: absolute; top: -1px; left: 0; right: 0; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60' preserveAspectRatio='none'%3E%3Cpath d='M0 0 H1440 V20 Q 1260 60 1080 30 T 720 30 T 360 30 T 0 30 Z' fill='%230a1530'/%3E%3C/svg%3E") center/100% 100% no-repeat; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }
.footer-logo { width: 190px; margin-bottom: 8px; }
.footer h4 { margin: 0 0 12px; font-family: var(--font-title); font-weight: 400; font-size: 1.3rem; letter-spacing: .5px; text-transform: uppercase; color: var(--yellow); }
.footer-grid > div { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:hover { color: var(--yellow); }
.footer-bottom { border-top: 1px solid var(--line); padding: 18px 4vw 110px; display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); font-size: .82rem; }
.admin-link { font-size: 1.1rem; opacity: .5; transition: .2s; }
.admin-link:hover { opacity: 1; transform: scale(1.2); }

/* ----- WhatsApp flutuante ----- */
.wpp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 60px; height: 60px; border-radius: 50%; background: var(--wpp); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .8); transition: transform .2s; }
.wpp-float:hover { transform: scale(1.08) rotate(-6deg); }

/* ----- Carrinho ----- */
.drawer-bg, .modal-bg { position: fixed; inset: 0; background: rgba(2, 6, 18, .65); backdrop-filter: blur(4px); z-index: 80; animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100vw); z-index: 90; background: var(--navy-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.x { border: 0; background: rgba(255, 255, 255, .08); width: 38px; height: 38px; border-radius: 50%; cursor: pointer; font-size: 1rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.drawer-foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.ci { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci-ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.6rem; background: radial-gradient(circle at 50% 120%, var(--c), transparent 70%), rgba(255, 255, 255, .05); }
.ci-name { font-weight: 700; font-size: .95rem; }
.ci-sub { font-size: .8rem; color: var(--aqua); }
.ci-note { font-size: .78rem; color: var(--muted); }
.ci-right { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.ci-right b { color: var(--yellow); }
.qty { display: flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .1); cursor: pointer; font-weight: 800; }
.qty span { min-width: 18px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.cart-empty div { font-size: 3.4rem; margin-bottom: 8px; }
.checkout { display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.checkout h4 { margin: 6px 0 2px; }
.seg { display: flex; gap: 6px; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 4px; }
.seg button { flex: 1; border: 0; background: none; padding: 10px; border-radius: 10px; cursor: pointer; font-weight: 700; color: var(--muted); }
.seg button.active { background: var(--yellow); color: #1a1100; }
.age { font-size: .85rem; margin: 2px 0 0; }
.age label { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.totals { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: .92rem; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-size: 1.25rem; font-weight: 800; }
.totals .grand span:last-child { color: var(--yellow); font-family: var(--font-title); font-weight: 400; font-size: 1.6rem; }
.totals small { color: var(--muted); }

/* ----- Modal ----- */
.modal-bg { display: grid; place-items: center; padding: 16px; z-index: 100; }
.modal-bg.hidden { display: none; }
.modal { width: min(520px, 100%); max-height: 92vh; overflow-y: auto; background: var(--navy-2); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); animation: modalIn .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-head { position: relative; padding: 24px 24px 18px; text-align: center; background: radial-gradient(circle at 50% 120%, var(--c, var(--yellow)) -30%, transparent 65%), linear-gradient(180deg, #2a1b10, #0f1d40); }
.modal-head .cup { margin: 0 auto 8px; width: 100px; height: 132px; }
.modal-head h3 { font-size: 1.4rem; }
.modal-head p { color: var(--muted); margin: 6px 0 0; font-size: .9rem; }
.modal-head .x { position: absolute; top: 14px; right: 14px; }
.modal-body { padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.modal-body h4 { margin: 4px 0 0; font-size: .95rem; }
.modal-foot { padding: 16px 24px 22px; display: flex; gap: 10px; align-items: center; border-top: 1px solid var(--line); }
.modal-foot .grow { flex: 1; }
.ice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; }
.ice-opt { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px; border-radius: 12px; border: 2px solid var(--line); background: rgba(255, 255, 255, .04); cursor: pointer; font-weight: 600; font-size: .88rem; transition: .15s; }
.ice-opt input { position: absolute; opacity: 0; pointer-events: none; }
.ice-opt i { width: 22px; height: 22px; border-radius: 6px; background: var(--fc); transform: rotate(12deg); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55), 0 2px 6px rgba(0, 0, 0, .3); flex-shrink: 0; }
.ice-opt small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
.ice-opt.sel { border-color: var(--yellow); background: rgba(255, 194, 26, .12); }
.ice-opt.dis { opacity: .35; cursor: not-allowed; }
.modal .qty { padding: 5px; }
.modal .qty button { width: 34px; height: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-grid label { display: flex; flex-direction: column; gap: 5px; font-size: .84rem; font-weight: 600; }
.form-grid label.full { grid-column: 1 / -1; }
.form-grid label.check { flex-direction: row; align-items: center; gap: 8px; }
.user-menu { padding: 10px; display: flex; flex-direction: column; gap: 6px; }
.user-menu .um-head { padding: 14px; text-align: center; }
.user-menu .um-head b { font-size: 1.2rem; }
.user-menu button { justify-content: flex-start; }
.mute-opts { display: flex; gap: 6px; flex-wrap: wrap; }

/* ----- Toast ----- */
.toast-wrap { position: fixed; top: 110px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: var(--navy-3); border: 1px solid var(--line); padding: 12px 18px; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow); animation: toastIn .3s ease; font-size: .92rem; max-width: 90vw; }
.toast.ok { border-color: rgba(37, 211, 102, .5); }
.toast.bad { border-color: rgba(229, 56, 79, .6); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px); } }

/* ----- Responsivo ----- */
@media (max-width: 1000px) {
  .nav-links { position: fixed; top: calc(var(--nav-h) + 30px); left: 0; right: 0; flex-direction: column; padding: 14px 4vw 20px; background: rgba(18, 12, 8, .97); border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .35s; z-index: -1; }
  .nav-links.open { transform: none; }
  .nav-links a { padding: 13px 16px; font-size: 1rem; }
  .burger { display: flex; }
  .open-badge { display: none; }
  .split, .about, .contact { grid-template-columns: 1fr; }
  .about-logo { max-width: 380px; margin: 0 auto; }
  .chatadm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 62px; }
  .brand-word { display: none; }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .grid.products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .card-media { height: 150px; }
  .cup { width: 90px; height: 120px; }
  .card-body { padding: 12px; }
  .card-body h3 { font-size: .95rem; }
  .card-body p { font-size: .8rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .card-foot { flex-direction: column; align-items: stretch; }
  .add-btn { justify-content: center; }
  .price { font-size: 1.35rem; }
  .chat-room { grid-template-columns: 1fr; height: calc(100svh - var(--nav-h) - 110px); }
  .chat-page { padding: 12px 0 30px; }
  .chat-users { position: fixed; top: calc(var(--nav-h) + 30px); right: 0; bottom: 0; width: 260px; z-index: 70; border-radius: 20px 0 0 20px; transform: translateX(105%); transition: .3s; background: var(--navy-2); }
  .chat-users.open { transform: none; }
  .only-mobile { display: inline-flex !important; }
  .settings-form, .form-grid { grid-template-columns: 1fr; }
  .about-feats { grid-template-columns: 1fr; }
  .player { left: 10px; bottom: 10px; }
  .pl-text b { max-width: 90px; }
  #plVol { display: none; }
  .wpp-float { right: 12px; bottom: 80px; width: 54px; height: 54px; }
  .player { max-width: calc(100vw - 20px); }
  .hero-chips span { font-size: .78rem; }
  .msg { max-width: 92%; }
}
@media (max-width: 330px) {
  .grid.products { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (hover: none) {
  .card:hover { transform: none; box-shadow: none; border-color: var(--line); }
  .card:hover .cup { transform: none; }
  .btn:hover, .add-btn:hover, .cart-btn:hover, .wpp-float:hover { transform: none; }
  .card:active { transform: scale(.98); }
  .btn:active, .add-btn:active { transform: scale(.96); }
  .msg .del { opacity: .6; }
}

@media (max-width: 760px) {
  :root { --tab-h: 64px; --safe-b: env(safe-area-inset-bottom, 0px); }
  body { padding-bottom: calc(var(--tab-h) + var(--safe-b)); }

  /* iPhone: campos com 16px não dão zoom ao tocar */
  input, select, textarea { font-size: 16px !important; }

  /* topo mais enxuto */
  .ticker { height: 26px; font-size: .78rem; }
  .nav { padding: 0 14px; padding-left: max(14px, env(safe-area-inset-left)); padding-right: max(14px, env(safe-area-inset-right)); }
  .nav-brand img { height: 40px; }
  .brand-word { display: inline; font-size: 1.15rem; }
  .cart-btn { display: none; }
  .nav-links { top: calc(var(--nav-h) + 26px); max-height: calc(100dvh - var(--nav-h) - 26px); overflow-y: auto; }

  /* barra de navegação inferior estilo app */
  .tabbar {
    display: grid; grid-template-columns: repeat(5, 1fr); align-items: end;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
    height: calc(var(--tab-h) + var(--safe-b)); padding: 0 6px var(--safe-b);
    background: rgba(20, 13, 9, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line); transition: transform .25s;
  }
  .tabbar a, .tabbar button {
    height: var(--tab-h); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    border: 0; background: none; color: var(--muted); font-size: .68rem; font-weight: 600; cursor: pointer; padding: 0;
  }
  .tabbar .tb-ic { font-size: 1.3rem; line-height: 1; transition: transform .2s; filter: grayscale(.6); opacity: .8; }
  .tabbar a.active { color: var(--yellow); }
  .tabbar a.active .tb-ic { transform: translateY(-2px) scale(1.12); filter: none; opacity: 1; }
  .tb-cart-ic { position: relative; width: 54px; height: 54px; margin-top: -26px; border-radius: 50%; display: grid; place-items: center; font-size: 1.45rem;
    background: linear-gradient(135deg, var(--yellow), var(--orange)); box-shadow: 0 8px 20px -6px rgba(255, 160, 40, .9), 0 0 0 5px rgba(20, 13, 9, .94); }
  .tb-cart-ic b { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--pink); color: #fff; font-size: .7rem; display: grid; place-items: center; border: 2px solid var(--navy); }
  .tb-cart-ic b.zero { display: none; }
  .tb-cart.bump .tb-cart-ic { animation: bump .45s; }
  .tabbar .tb-cart > span:last-child { color: var(--yellow); }
  body.is-logged .tabbar .tb-contato { display: none; }
  body.is-logged .tabbar .tb-pedidos { display: flex; }
  body.kb-open .tabbar { transform: translateY(110%); }

  /* player e WhatsApp acima da barra */
  .player { left: 10px; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); padding: 5px 10px 5px 5px; gap: 8px; max-width: calc(100vw - 90px); }
  .pl-btn { width: 38px; height: 38px; font-size: .85rem; }
  .pl-btn.small { width: 30px; height: 30px; }
  .pl-text small { font-size: .58rem; }
  .pl-text b { max-width: 110px; font-size: .78rem; }
  .pl-eq { width: 20px; height: 18px; }
  #plVol, #plNext { display: none; }
  .player.min { padding: 5px; }
  .wpp-float { right: 12px; bottom: calc(var(--tab-h) + var(--safe-b) + 10px); width: 50px; height: 50px; }
  .wpp-float svg { width: 26px; height: 26px; }
  .toast-wrap { top: auto; bottom: calc(var(--tab-h) + var(--safe-b) + 70px); width: calc(100vw - 30px); flex-direction: column-reverse; }
  body:has(.drawer.open) .toast-wrap, body:has(.modal-bg:not(.hidden)) .toast-wrap { top: calc(env(safe-area-inset-top, 0px) + 74px); bottom: auto; }
  .toast { text-align: center; }

  /* no chat e no admin, tira o que atrapalha a tela */
  body.v-chat .player, body.v-chat .wpp-float, body.v-chat .footer, body.v-chat .ticker,
  body.v-admin .player, body.v-admin .wpp-float { display: none; }

  /* hero */
  .hero { min-height: calc(100svh - var(--nav-h) - 26px - var(--tab-h)); }
  .hero-content { padding: 26px 16px 70px; }
  .hero-cta { flex-direction: column; align-items: stretch; width: min(340px, 100%); margin: 0 auto; gap: 10px; }
  .hero-cta .btn { width: 100%; }
  .hero-chips { gap: 6px; margin-bottom: 40px; }
  .hero-chips span { padding: 6px 10px; }
  .construction { gap: 8px; }
  .tape { height: 18px; }
  .scroll-hint { display: none; }

  /* seções */
  .section-head { margin: 46px 0 22px; }
  .page-hero { padding: 54px 0 50px; }
  .page-hero.small { padding: 46px 0 44px; }
  .page-hero p { font-size: .92rem; padding: 0 6px; }
  .split, .about, .contact { margin: 44px auto 60px; gap: 24px; }
  .how { margin-top: 40px; padding-bottom: 40px; }
  .step { padding: 30px 18px 20px; }
  .footer { padding-top: 56px; }
  .footer-bottom { padding-bottom: 24px; }
  .footer-grid a { padding: 4px 0; }

  /* cardápio */
  .menu-tools { top: var(--nav-h); padding: 10px 0 8px; margin-left: -4vw; margin-right: -4vw; padding-left: 4vw; padding-right: 4vw; }
  .search { margin-bottom: 8px; }
  .search input { padding: 11px 0; }
  .cats { scroll-snap-type: x proximity; margin-right: -4vw; padding-right: 4vw; }
  .cats button { scroll-snap-align: start; padding: 9px 15px; }
  .menu-cat { margin: 16px 0 28px; scroll-margin-top: 150px; }
  .menu-cat > h2 { font-size: 1.6rem; margin-bottom: 12px; }
  .card { border-radius: 16px; cursor: pointer; }
  .card-media { height: 138px; }
  .cup { width: 82px; height: 110px; }
  .card-emoji { font-size: 1.15rem; top: 8px; left: 8px; }
  .tag { top: 8px; right: 8px; font-size: .62rem; padding: 4px 8px; }
  .card-body { padding: 10px 11px 12px; gap: 5px; }
  .ice-note, .stock-low { font-size: .7rem; }
  .card-foot { gap: 8px; margin-top: 2px; }
  .add-btn { padding: 11px 10px; min-height: 42px; font-size: .88rem; }
  .card-admin { flex-wrap: wrap; padding: 8px 10px; }
  .card-admin button { min-width: 34px; min-height: 34px; }
  .flavors-box { padding: 18px; margin-bottom: 30px; }
  .admin-bar { flex-direction: column; align-items: stretch; text-align: center; }
  .admin-bar div { justify-content: center; }

  /* contato */
  .c-card { padding: 14px 16px; }
  .c-ic { width: 46px; height: 46px; font-size: 1.5rem; }
  .map-wrap, .map-wrap iframe { min-height: 280px; }

  /* janelas (modais) abrem de baixo, estilo app */
  .modal-bg { place-items: end center; padding: 0; }
  .modal { width: 100%; max-height: 92dvh; border-radius: 24px 24px 0 0; border-bottom: 0; animation: sheetIn .32s cubic-bezier(.2, .8, .2, 1); padding-bottom: var(--safe-b); }
  .modal::before { content: ''; display: block; width: 42px; height: 5px; border-radius: 3px; background: rgba(255, 255, 255, .25); margin: 8px auto 0; }
  @keyframes sheetIn { from { transform: translateY(100%); } }
  .modal-head { padding: 14px 18px 14px; }
  .modal-head .cup { width: 74px; height: 98px; }
  .modal-head h3 { font-size: 1.2rem; }
  .modal-body { padding: 16px 18px; }
  .modal-foot { padding: 12px 18px 16px; position: sticky; bottom: 0; background: var(--navy-2); }
  .ice-grid { grid-template-columns: repeat(2, 1fr); }
  .ice-opt { padding: 11px 10px; min-height: 50px; }

  /* carrinho em tela cheia */
  .drawer { width: 100vw; border-left: 0; }
  .drawer-head { padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); }
  .drawer-body { padding: 10px 16px; -webkit-overflow-scrolling: touch; }
  .drawer-foot { padding: 12px 16px calc(14px + var(--safe-b)); }
  .qty button { width: 32px; height: 32px; }
  .ci { grid-template-columns: 46px 1fr auto; gap: 10px; }
  .ci-ic { width: 46px; height: 46px; }

  /* bate-papo ocupando a tela certinha (inclusive com teclado aberto) */
  .chat-page { padding: 0; width: 100%; }
  .chat-join { margin: 18px 14px; padding: 26px 18px; }
  .chat-join-logo { width: 170px; }
  .chat-room { height: calc(var(--app-h, 100dvh) - var(--nav-h) - var(--tab-h) - var(--safe-b)); min-height: 0; gap: 0; }
  body.kb-open .chat-room { height: calc(var(--app-h, 100dvh) - var(--nav-h)); }
  .chat-main { border-radius: 0; border-left: 0; border-right: 0; }
  .chat-head { padding: 8px 12px; }
  .chat-head b { font-size: .92rem; }
  .chat-msgs { padding: 12px 10px; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .chat-input { padding: 8px; gap: 6px; }
  .chat-input #chatText { padding: 11px 14px; }
  .emoji-btn { width: 42px; height: 42px; }
  .send-btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
  .send-txt { display: none; }
  .emoji-pop { left: 8px; right: 8px; bottom: 62px; grid-template-columns: repeat(8, 1fr); }
  .chat-users { top: var(--nav-h); bottom: 0; width: min(280px, 82vw); box-shadow: -20px 0 40px rgba(0, 0, 0, .5); }
  .msg .del { opacity: .6; }

  /* admin no celular: tabelas viram cartões */
  .admin { padding: 22px 0 40px; }
  .admin-top h1 { font-size: 1.9rem; }
  .admin-top-actions { width: 100%; justify-content: space-between; }
  .tabs { margin-left: -4vw; margin-right: -4vw; padding-left: 4vw; }
  .tabs button { padding: 10px 12px; }
  .pane-tools input { max-width: none; flex: 1 1 100%; }
  .table-wrap { border: 0; overflow: visible; }
  .adm-table { min-width: 0; }
  .adm-table thead { display: none; }
  .adm-table, .adm-table tbody, .adm-table tr, .adm-table td { display: block; width: 100%; }
  .adm-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; margin-bottom: 12px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .04); }
  .adm-table td { border: 0; padding: 0; }
  .adm-table td[data-label]::before { content: attr(data-label); display: block; font-size: .68rem; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 4px; }
  .adm-table td.full { grid-column: 1 / -1; }
  .adm-table td.chk { display: flex; align-items: center; gap: 8px; }
  .adm-table td.chk::before { margin: 0; order: 2; font-size: .8rem; text-transform: none; letter-spacing: 0; color: var(--text); }
  .adm-table td.chk input { width: 22px; height: 22px; }
  .adm-table td.thumb-cell { display: none; }
  .adm-table .w-num { width: 100%; }
  .stock-ctrl input { flex: 1; }
  .stock-ctrl button, .icon-btn { width: 40px; height: 40px; }
  .row-actions { justify-content: flex-end; }
  .adm-table input[type=color] { width: 100%; }
  .chatadm-grid { gap: 12px; }
  .adm-list li { flex-wrap: wrap; }
  .settings-form .actions { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) + 8px); }
  .settings-form .actions .btn { width: 100%; }
}

@media (max-width: 360px) {
  .brand-word { display: none; }
  .card-body h3 { font-size: .88rem; }
  .price { font-size: 1.2rem; }
  .tabbar a, .tabbar button { font-size: .62rem; }
}

/* telas baixas (celular deitado) */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { min-height: auto; }
  .hero-content { padding: 20px 16px 40px; }
  .construction-icon { display: none; }
}

/* =========================================================
   LOGO NOVA (redonda)
   ========================================================= */
.logo-round { border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--yellow), 0 6px 18px -4px rgba(255, 140, 30, .7); }
.nav-brand img.logo-round { height: 46px; width: 46px; transition: transform .3s; }
.nav-brand:hover img.logo-round { transform: rotate(-8deg) scale(1.05); }
.footer-logo.logo-round { width: 130px; height: 130px; }
.chat-join-logo.logo-round { width: 150px; height: 150px; margin: 0 auto 12px; box-shadow: 0 0 0 4px var(--yellow), 0 14px 40px -8px rgba(255, 140, 30, .8); }
.about-logo img.logo-round.big { width: min(380px, 80vw); height: auto; aspect-ratio: 1; margin: 0 auto; box-shadow: 0 0 0 6px var(--yellow), 0 0 0 14px rgba(255, 194, 26, .18), 0 30px 60px -15px rgba(255, 120, 30, .7); }

@media (max-width: 760px) {
  .nav-brand img.logo-round { height: 40px; width: 40px; }
  .footer-logo.logo-round { width: 110px; height: 110px; }
}

/* =========================================================
   TELA DE ABERTURA
   ========================================================= */
.splash { position: fixed; inset: 0; z-index: 500; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  background: radial-gradient(circle at 50% 45%, #3a2210, #0c0805 70%); transition: opacity .7s ease, visibility .7s; }
.splash img { width: 150px; height: 150px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--yellow), 0 0 60px rgba(255, 170, 40, .55); animation: splashPulse 1.4s ease-in-out infinite; }
.splash-bar { width: 140px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.splash-bar i { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--yellow), var(--orange)); animation: splashBar 1.1s ease-in-out infinite; }
.splash.out { opacity: 0; visibility: hidden; }
.splash.out img { transform: scale(1.15); transition: transform .7s; }
@keyframes splashPulse { 50% { transform: scale(1.06); box-shadow: 0 0 0 4px var(--yellow), 0 0 90px rgba(255, 170, 40, .8); } }
@keyframes splashBar { 0% { transform: translateX(-110%); } 100% { transform: translateX(260%); } }

/* entrada do topo depois de carregar */
.hero-content > * { opacity: 0; transform: translateY(18px); }
body.loaded .hero-content > * { animation: heroIn .8s cubic-bezier(.2, .8, .2, 1) forwards; }
body.loaded .hero-content > *:nth-child(2) { animation-delay: .12s; }
body.loaded .hero-content > *:nth-child(3) { animation-delay: .24s; }
body.loaded .hero-content > *:nth-child(4) { animation-delay: .36s; }
body.loaded .hero-content > *:nth-child(5) { animation-delay: .48s; }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* aparecer ao rolar */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }
.step.rv:nth-child(2) { transition-delay: .1s; }
.step.rv:nth-child(3) { transition-delay: .2s; }

/* acabamentos */
.nav { background: rgba(12, 8, 5, .72); }
.card { box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .8); }
.card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .07) 50%, transparent 60%); background-size: 250% 100%; background-position: 120% 0; transition: background-position .9s; }
.card:hover::after { background-position: -20% 0; }
.btn-yellow, .add-btn { background-size: 140% 100%; }
::selection { background: var(--yellow); color: #1a1100; }
@media (prefers-reduced-motion: reduce) {
  .rv, .hero-content > * { opacity: 1 !important; transform: none !important; }
  .splash { display: none; }
}



/* =========================================================
   MIRANDA'S — hamburgueria
   ========================================================= */
html { background: #0c0805; }
body {
  background-color: #0c0805;
  background-image:
    radial-gradient(1100px 600px at 110% -10%, rgba(255, 106, 19, .16), transparent 60%),
    radial-gradient(900px 600px at -10% 40%, rgba(226, 38, 28, .12), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%23ffffff' fill-opacity='.025'%3E%3Ccircle cx='20' cy='20' r='3'/%3E%3Ccircle cx='100' cy='60' r='2'/%3E%3Ccircle cx='60' cy='120' r='2.5'/%3E%3Ccircle cx='140' cy='140' r='2'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
}
.nav { background: rgba(12, 8, 5, .82); }
.ticker { background: linear-gradient(90deg, var(--yellow), var(--orange), var(--pink)); }
.kicker { color: var(--orange); }
h1 em, h2 em { color: var(--yellow); }
.brand-word { font-family: var(--font-title); font-size: 1.5rem; letter-spacing: .5px; text-transform: uppercase; }
.brand-word b { color: var(--orange); font-weight: 400; }
.logo-round { background: #fff; box-shadow: 0 0 0 2px var(--orange), 0 6px 18px -4px rgba(255, 106, 19, .7); }
.btn-yellow { background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #1a0d00; }
.btn-outline { border-color: var(--orange); color: var(--orange); }

/* topo */
.hero { min-height: calc(100vh - var(--nav-h) - 30px); min-height: calc(100svh - var(--nav-h) - 30px); display: flex; align-items: center; position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(900px 520px at 75% 55%, rgba(255, 106, 19, .28), transparent 65%), radial-gradient(700px 400px at 10% 90%, rgba(226, 38, 28, .18), transparent 70%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.ing { position: absolute; font-size: clamp(1.6rem, 3vw, 2.6rem); opacity: .22; filter: blur(.5px); animation: floaty 9s ease-in-out infinite; }
.i1 { top: 12%; left: 6%; } .i2 { top: 70%; left: 4%; animation-delay: -2s; } .i3 { top: 18%; left: 46%; animation-delay: -4s; }
.i4 { top: 82%; left: 44%; animation-delay: -1s; } .i5 { top: 8%; right: 6%; animation-delay: -3s; } .i6 { bottom: 10%; right: 8%; animation-delay: -5s; }
@keyframes floaty { 50% { transform: translateY(-16px) rotate(12deg); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 30px; align-items: center; padding: 30px 0 80px; }
.hero-content { text-align: left; padding: 0; max-width: none; }
.hero-logo { width: 130px; height: 130px; margin: 0 0 14px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px var(--orange), 0 20px 40px -10px rgba(0, 0, 0, .8); animation: float 5s ease-in-out infinite; }
.hero-title { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: .95; margin-top: 4px; }
.hero-title em { font-family: 'Pacifico', cursive; text-transform: none; color: var(--yellow); font-size: .85em; display: inline-block; transform: rotate(-4deg); }
.hero-slogan { color: #ffe6cc; margin: 16px 0 24px; }
.hero-cta, .hero-chips { justify-content: flex-start; }
.hero-chips span { background: rgba(255, 106, 19, .12); border-color: rgba(255, 106, 19, .35); }
.hero-art { position: relative; display: grid; place-items: center; }
.burst { position: absolute; width: min(520px, 90%); aspect-ratio: 1; border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, rgba(255, 194, 26, .16) 0 10deg, transparent 10deg 20deg); animation: spin 40s linear infinite;
  -webkit-mask: radial-gradient(circle, #000 40%, transparent 70%); mask: radial-gradient(circle, #000 40%, transparent 70%); }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-burger { position: relative; width: min(520px, 100%); border-radius: 30px; mix-blend-mode: lighten;
  -webkit-mask: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 74%); mask: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 74%);
  animation: float 6s ease-in-out infinite; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)) saturate(1.1); }
.seal { position: absolute; right: 4%; top: 6%; width: 112px; height: 112px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #120c08; border: 3px dashed var(--yellow); box-shadow: 0 0 0 6px #120c08, 0 0 0 8px var(--yellow); transform: rotate(10deg); line-height: 1; text-align: center; }
.seal b { font-family: var(--font-title); font-weight: 400; font-size: 2rem; color: var(--yellow); }
.seal small { font-size: .62rem; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding: 18px 0 60px; gap: 6px; }
  .hero-content { text-align: center; }
  .hero-logo { width: 96px; height: 96px; margin: 0 auto 10px; }
  .hero-cta, .hero-chips { justify-content: center; }
  .hero-art { order: -1; max-width: 360px; margin: 0 auto; }
  .seal { width: 84px; height: 84px; right: 0; top: 0; }
  .seal b { font-size: 1.5rem; }
  .hero-content > .hero-logo { display: none; }
}
@media (max-width: 760px) {
  .hero { min-height: auto; }
  .hero-art { max-width: 280px; }
  .hero-slogan { display: none; }
  .hero-cta { flex-direction: row; width: 100%; max-width: 380px; margin: 14px auto 0; }
  .hero-cta .btn { flex: 1; padding: 13px 10px; font-size: .92rem; }
  .hero-chips { display: none; }
}

/* seções escuras */
.page-hero { background: linear-gradient(180deg, rgba(120, 30, 14, .5), rgba(255, 106, 19, .14) 60%, rgba(12, 8, 5, 0)); }
.how { background: linear-gradient(180deg, transparent, rgba(122, 30, 16, .35) 30%, rgba(122, 30, 16, .35) 70%, transparent); }
.step-n { background: var(--orange); color: #fff; }
.menu-tools { background: rgba(12, 8, 5, .9); }
.menu-cat > h2 { color: #fff; }
.menu-cat > h2::before { content: ''; width: 10px; height: 34px; border-radius: 3px; background: linear-gradient(180deg, var(--yellow), var(--orange)); }
.menu-cat > h2::after { background: linear-gradient(90deg, rgba(255, 106, 19, .55), transparent); }
.cats button.active { background: var(--orange); border-color: var(--orange); color: #fff; }
.flavors-box { background: linear-gradient(135deg, rgba(255, 106, 19, .12), rgba(226, 38, 28, .08)); border-color: rgba(255, 106, 19, .3); }

/* cards de produto */
.card { background: linear-gradient(180deg, rgba(36, 25, 17, .95), rgba(22, 15, 10, .95)); border-color: rgba(255, 255, 255, .07); }
.card:hover { border-color: rgba(255, 106, 19, .6); }
.card-media { height: 200px; background: #0d0906; }
.card-media::before { display: none; }
.card-media img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.card:hover .card-media img.photo { transform: scale(1.06); }
.card-media::after { content: ''; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(180deg, transparent, rgba(22, 15, 10, .9)); pointer-events: none; }
.tag { background: var(--pink); z-index: 2; }
.tag.promo { background: var(--yellow); }
.price { color: var(--yellow); }
.add-btn { background: linear-gradient(135deg, var(--yellow), var(--orange)); color: #1a0d00; }
.ice-note { color: var(--orange); }
.ph { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(circle at 50% 110%, var(--c, #ff6a13) -30%, transparent 65%), linear-gradient(180deg, #2a1b10, #160e08); }
.ph span { font-size: 4.2rem; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .55)); transition: transform .3s; }
.card:hover .ph span { transform: scale(1.12) rotate(-6deg); }
.thumb { overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

/* modal do produto */
.modal-head { background: linear-gradient(180deg, rgba(255, 106, 19, .2), transparent); }
.m-media { width: 100%; max-width: 330px; aspect-ratio: 4 / 3; margin: 0 auto 12px; border-radius: 18px; overflow: hidden; background: #0d0906; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .8); }
.m-media img, .m-media .ph { width: 100%; height: 100%; object-fit: cover; }
.opt-group { margin: 0 0 18px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.opt-group.shake { animation: shake .4s; border-color: var(--pink); }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.og-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 14px; background: rgba(255, 255, 255, .05); }
.og-head h4 { margin: 0; font-size: .95rem; }
.og-rule { flex-shrink: 0; font-size: .68rem; font-weight: 800; padding: 4px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); text-transform: uppercase; letter-spacing: .3px; }
.og-rule.req { background: var(--pink); color: #fff; }
.opt { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.opt:hover { background: rgba(255, 106, 19, .07); }
.opt input { width: 20px; height: 20px; accent-color: var(--orange); flex-shrink: 0; pointer-events: none; }
.opt-name { flex: 1; font-weight: 600; font-size: .92rem; }
.opt-price { color: var(--yellow); font-weight: 700; font-size: .88rem; white-space: nowrap; }
.opt.sel { background: rgba(255, 106, 19, .13); }
.opt.dis { opacity: .45; }

/* sacola */
.ci-ic { overflow: hidden; }
.ci-ic img { width: 100%; height: 100%; object-fit: cover; }
.ci-sub { color: var(--orange); line-height: 1.35; margin-top: 2px; }
.seg button.active { background: var(--orange); color: #fff; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-grid button { border: 1px solid var(--line); background: rgba(255, 255, 255, .05); padding: 11px 8px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: .9rem; transition: .15s; }
.pay-grid button.active { background: rgba(255, 106, 19, .18); border-color: var(--orange); color: #fff; }
.pay-online { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 6px; opacity: .8; cursor: not-allowed !important;
  background: repeating-linear-gradient(-45deg, rgba(255, 194, 26, .07) 0 12px, transparent 12px 24px) !important; border-style: dashed !important; }
.badge-build { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--yellow); color: #1a0d00; letter-spacing: .4px; }

/* admin: grupos de adicionais */
.grp-list { display: flex; flex-direction: column; gap: 16px; }
.grp { padding: 16px; }
.grp.off { opacity: .6; }
.grp.dirty { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(255, 194, 26, .25); }
.grp-top { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.grp-name { flex: 1; min-width: 200px; font-weight: 700; font-size: 1rem; }
.mini { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.mini .w-num { width: 64px; }
.grp-where { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 8px 0; font-size: .85rem; }
.grp-where summary { cursor: pointer; width: 100%; margin-bottom: 6px; }
.chip-chk { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); cursor: pointer; font-size: .82rem; }
.chip-chk input { accent-color: var(--orange); }
.opt-table { margin-top: 8px; }
.grp-actions { margin-top: 12px; align-items: center; }
.grp-actions .grow { flex: 1; }
.construction-card { text-align: center; padding: 34px 24px; border: 2px dashed var(--yellow); background: repeating-linear-gradient(-45deg, rgba(255, 194, 26, .05) 0 18px, transparent 18px 36px); }
.construction-card h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 8px 0 10px; }
.todo-list { list-style: none; padding: 0; margin: 18px auto; max-width: 460px; text-align: left; display: flex; flex-direction: column; gap: 8px; }
.todo-list li { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-weight: 600; font-size: .9rem; }

.splash { background: radial-gradient(circle at 50% 45%, #3a2210, #0c0805 70%); }
.splash img { box-shadow: 0 0 0 4px var(--orange), 0 0 60px rgba(255, 106, 19, .6); }
.footer { background: rgba(8, 5, 3, .95); border-top: 3px solid var(--orange); }
.footer h4 { color: var(--orange); }
.page-hero::after, .page-hero::before { display: none !important; }
.page-hero h1 em { color: var(--yellow); }
.page-hero { border-bottom: 3px solid var(--orange); }

/* login escondido no hambúrguer */
#heroBurger { cursor: pointer; }
.login-modal h3 em { color: var(--yellow); font-style: normal; }

/* horário no meio da página inicial */
.hours-strip { width: min(760px, 92vw); margin: 10px auto 0; padding: 26px 20px 22px; text-align: center; border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 106, 19, .18), rgba(226, 38, 28, .12)); border: 2px solid rgba(255, 194, 26, .45); box-shadow: 0 20px 50px -25px rgba(255, 106, 19, .7); }
.hs-status { display: inline-block; font-weight: 800; padding: 7px 16px; border-radius: 999px; background: rgba(37, 211, 102, .15); color: #6ff0a0; border: 1px solid rgba(37, 211, 102, .4); font-size: .95rem; }
.hs-status.closed { background: rgba(226, 38, 28, .15); color: #ff8a80; border-color: rgba(226, 38, 28, .45); }
.hs-times { display: flex; align-items: center; justify-content: center; gap: clamp(16px, 5vw, 48px); margin: 14px 0 6px; }
.hs-times div { display: flex; flex-direction: column; line-height: 1; }
.hs-times small { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 6px; }
.hs-times b { font-family: var(--font-title); font-weight: 400; font-size: clamp(3rem, 10vw, 4.6rem); color: var(--yellow); text-shadow: 0 6px 24px rgba(255, 106, 19, .5); }
.hs-sep { font-size: clamp(1.8rem, 5vw, 2.6rem); }
.hs-note { margin: 4px 0 0; color: var(--muted); font-weight: 600; font-size: .9rem; }

/* controle da loja no admin */
.store-ctrl { margin: 6px 0 18px; padding: 14px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.store-status { font-weight: 800; font-size: 1.05rem; color: #6ff0a0; }
.store-status.closed { color: #ff8a80; }
.store-seg button { font-size: .88rem; }
.store-ctrl p { margin: 0; }
@media (max-width: 520px) { .store-seg { flex-direction: column; } }

/* checkout detalhado */
.addr-box { display: flex; flex-direction: column; gap: 10px; }
.loc-btn { display: flex; align-items: center; gap: 8px; text-align: left; border: 1px dashed rgba(255, 194, 26, .6); background: rgba(255, 194, 26, .08); padding: 11px 14px; border-radius: 12px; cursor: pointer; font-weight: 700; font-size: .86rem; }
.loc-btn.ok { border-style: solid; border-color: rgba(37, 211, 102, .6); background: rgba(37, 211, 102, .1); color: #8ff0b4; }
.loc-btn.bad { border-color: rgba(226, 38, 28, .6); background: rgba(226, 38, 28, .1); color: #ffaaa3; }
.no-delivery { margin: 0; padding: 10px 12px; border-radius: 12px; background: rgba(226, 38, 28, .12); border: 1px solid rgba(226, 38, 28, .4); font-weight: 700; font-size: .86rem; }
.seg button:disabled { opacity: .35; cursor: not-allowed; }
.checkout input.need, .checkout textarea.need { border-color: var(--pink) !important; box-shadow: 0 0 0 3px rgba(226, 38, 28, .25); }
/* dias da semana no quadro de horário */
.hs-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 14px 0 8px; }
.hs-day { display: flex; flex-direction: column; gap: 2px; padding: 8px 2px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); font-size: .72rem; line-height: 1.2; }
.hs-day b { font-size: .82rem; color: var(--yellow); text-transform: uppercase; }
.hs-day small { color: var(--muted); font-size: .64rem; }
.hs-day.off { opacity: .55; }
.hs-day.off b { color: #ff8a80; }
@media (max-width: 520px) { .hs-days { grid-template-columns: repeat(4, 1fr); } }
/* admin: horário por dia */
.sched { display: flex; flex-direction: column; gap: 8px; }
.sched-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 8px 10px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.sched-day { width: 70px; font-weight: 800; }
.sched-row input[type=time] { width: auto; padding: 6px 8px; }
.sched-row .check { margin: 0; }

/* pedidos: site x iFood */
.order.is-ifood { border-left: 4px solid #ea1d2c; }
.src { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; margin-right: 4px; }
.src.ifood { background: #ea1d2c; color: #fff; }
.src.site { background: var(--orange); color: #fff; }
.order .st { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(255, 194, 26, .15); color: var(--yellow); text-transform: uppercase; }
.order-actions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.ifood-card { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 14px; margin-bottom: 14px; border: 1px solid var(--line); background: rgba(255, 255, 255, .04); }
.ifood-card.ok { border-color: rgba(37, 211, 102, .5); }
.ifood-card.bad { border-color: rgba(226, 38, 28, .6); }
.ifood-card.off { border-style: dashed; }
#adminTabs button.ping { animation: ping 1s infinite; }
@keyframes ping { 50% { background: rgba(226, 38, 28, .35); } }

.print-box { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 12px 14px; margin: 0 0 14px; border-radius: 14px; background: rgba(255, 194, 26, .07); border: 1px solid rgba(255, 194, 26, .35); }
.print-box .check { margin: 0; }
.print-box select { width: auto; padding: 6px 10px; }

/* aceitar / recusar */
.order-actions.big { gap: 10px; }
.order-actions.big .btn { flex: 1; padding: 14px 10px; font-size: 1.05rem; }
.btn-accept { background: #1fa855; color: #fff; box-shadow: 0 10px 24px -12px rgba(37, 211, 102, .9); }
.btn-refuse { background: #c62828; color: #fff; }
.order.st-novo { border-color: var(--yellow); box-shadow: 0 0 0 2px rgba(255, 194, 26, .35); animation: pendPulse 1.6s ease-in-out infinite; }
@keyframes pendPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 194, 26, .12); } }
.order.st-recusado, .order.st-cancelado { opacity: .6; }
.order.st-aceito .st { background: rgba(37, 211, 102, .18); color: #6ff0a0; }
.order.st-recusado .st { background: rgba(226, 38, 28, .2); color: #ff8a80; }
.reason-list { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-top: 10px; }
/* funcionário: só pedidos */
body.is-staff #adminTabs button:not([data-tab=pedidos]):not([data-tab=historico]), body.orders-mode #adminTabs button:not([data-tab=pedidos]):not([data-tab=historico]), body.orders-mode .store-ctrl, body.orders-mode #menuAdminBar, body.is-staff .store-ctrl, body.is-staff #clearOrders, body.is-staff .card-admin, body.is-staff #menuAdminBar { display: none !important; }

/* janela de alarme de pedido novo */
.modal-bg.alarm-bg { background: rgba(120, 10, 0, .55); animation: alarmBg 1s steps(2) infinite; }
@keyframes alarmBg { 50% { background: rgba(20, 5, 0, .75); } }
.alarm-box { padding: 26px 22px 22px; text-align: center; }
.alarm-bell { font-size: 3.4rem; animation: ring .5s ease-in-out infinite; display: inline-block; }
@keyframes ring { 25% { transform: rotate(18deg); } 75% { transform: rotate(-18deg); } }
.alarm-box h2 { font-size: 2.4rem; color: var(--yellow); margin: 4px 0 6px; }
.alarm-sub { font-weight: 700; margin-bottom: 10px; }
.alarm-cust { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .05); margin-bottom: 10px; font-size: .92rem; }
.alarm-items { text-align: left; margin: 0 0 10px; padding: 10px 12px 10px 28px; border-radius: 12px; background: rgba(255, 255, 255, .04); max-height: 34vh; overflow-y: auto; }
.alarm-items li { margin-bottom: 6px; }
.alarm-note { font-weight: 700; color: var(--yellow); margin-bottom: 10px; }
.alarm-total { font-family: var(--font-title); font-size: 1.8rem; color: var(--yellow); margin-bottom: 14px; }
.alarm-total small { font-family: var(--font); font-size: .9rem; color: var(--muted); }
.alarm-btns { display: flex; gap: 10px; }
.alarm-btns .btn { flex: 1; padding: 18px 10px; font-size: 1.2rem; }
body.is-staff .ifood-card { display: none; }

/* convite pra instalar o app */
.install { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 300; max-width: 440px; margin: 0 auto; padding: 18px 16px 16px;
  background: #1b130d; border: 2px solid var(--orange); border-radius: 22px; box-shadow: 0 25px 60px -10px rgba(0, 0, 0, .85);
  display: grid; grid-template-columns: 56px 1fr; gap: 12px; align-items: center; transform: translateY(130%); transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.install.open { transform: none; }
.install img { width: 56px; height: 56px; }
.install-txt { display: flex; flex-direction: column; gap: 2px; font-size: .88rem; color: var(--muted); padding-right: 26px; }
.install-txt b { color: #fff; font-size: 1.02rem; }
.install .x { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; }
.install-ios, .install #installBtn { grid-column: 1 / -1; }
.install-ios { font-size: .88rem; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 10px 14px; }
.install-ios p { margin: 0 0 4px; font-weight: 700; }
.install-ios ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; }
.ios-share { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; background: #2f7cf6; color: #fff; font-size: .8rem; }
@media (max-width: 760px) { .install { bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 10px); } }

/* referência do endereço */
.addr-ref { display: block; color: var(--yellow) !important; font-weight: 700; font-size: .88rem; }
.hs-addr { margin: 10px 0 0; font-size: .92rem; color: var(--muted); }
.hs-addr b { color: var(--yellow); }

/* botão da música */
.music-btn { position: fixed; left: 14px; bottom: 18px; z-index: 60; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255, 106, 19, .5);
  background: rgba(18, 12, 8, .85); backdrop-filter: blur(8px); font-size: 1.2rem; cursor: pointer; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, .8); }
.music-btn.on { border-color: var(--yellow); animation: musicPulse 1.03s ease-in-out infinite; }
@keyframes musicPulse { 50% { box-shadow: 0 0 0 6px rgba(255, 194, 26, .12); } }
@media (max-width: 760px) { .music-btn { bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 12px); left: 10px; width: 42px; height: 42px; } }
body.v-admin .music-btn { display: none; }

/* mascote: o dono correndo com os sanduíches */
.mascot { position: fixed; left: 0; bottom: 6px; z-index: 55; width: 150px; height: 230px; pointer-events: none; opacity: 0; will-change: transform; }
.mascot.on { opacity: 1; pointer-events: auto; cursor: pointer; }
@media (max-width: 760px) { .mascot { bottom: calc(var(--tab-h, 64px) + env(safe-area-inset-bottom, 0px) + 2px); transform-origin: bottom left; } .mascot .m-body { scale: .82; transform-origin: 50% 100%; } }
.mascot .m-body { position: absolute; inset: 0; transform-origin: 50% 100%; }
.mascot.flip .m-body { transform: scaleX(-1); }
.mascot .m-svg { position: absolute; left: 10px; bottom: 0; overflow: visible; }
.mascot .m-head { position: absolute; left: 36px; bottom: 132px; width: 78px; height: auto; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .4)); transform-origin: 50% 90%; }
.mascot.running .m-body { animation: run .3s ease-in-out infinite; }
.mascot.flip.running .m-body { animation: runF .3s ease-in-out infinite; }
@keyframes run { 50% { translate: 0 -7px; rotate: -4deg; } }
@keyframes runF { 50% { translate: 0 -7px; rotate: 4deg; } }
.mascot .leg { transform-box: fill-box; transform-origin: 50% 0; }
.mascot.running .leg-l { animation: stride .3s ease-in-out infinite; }
.mascot.running .leg-r { animation: stride .3s ease-in-out infinite reverse; }
@keyframes stride { 0% { transform: rotate(28deg); } 50% { transform: rotate(-28deg); } 100% { transform: rotate(28deg); } }
.mascot.running .stack { animation: wobble .3s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes wobble { 50% { transform: rotate(3deg) translateY(-2px); } }
.mascot.running .m-head { animation: headbob .3s ease-in-out infinite; }
@keyframes headbob { 50% { transform: rotate(-3deg) translateY(-2px); } }
.mascot.waving .m-head { animation: nod .5s ease-in-out infinite; }
@keyframes nod { 50% { transform: rotate(6deg); } }
.speed { position: absolute; left: -30px; bottom: 60px; width: 40px; opacity: 0; }
.mascot.running .speed { opacity: 1; }
.speed i { display: block; height: 3px; margin: 9px 0; border-radius: 3px; background: rgba(255, 194, 26, .7); animation: zoom .3s linear infinite; }
.speed i:nth-child(2) { width: 70%; margin-left: 30%; animation-delay: .1s; }
.speed i:nth-child(3) { width: 50%; margin-left: 50%; animation-delay: .2s; }
@keyframes zoom { from { transform: translateX(10px); opacity: 1; } to { transform: translateX(-20px); opacity: 0; } }
.mascot.jump .m-body { animation: jump .6s ease-out; }
@keyframes jump { 40% { translate: 0 -34px; } }
.m-bubble { position: absolute; bottom: 222px; left: 50%; transform: translateX(-50%) scale(.6); opacity: 0; transition: .25s; z-index: 2;
  background: #fff; color: #1a0d00; font-weight: 800; font-size: .95rem; white-space: nowrap; padding: 9px 14px; border-radius: 16px; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .7); }
.m-bubble::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top-color: #fff; }
.m-bubble.show { opacity: 1; transform: translateX(-50%) scale(1); }
@media (max-width: 760px) { .m-bubble { bottom: 190px; } }
.mascot.flip .m-svg text { scale: -1 1; transform-box: fill-box; transform-origin: center; }
.mascot.flip .m-head { scale: -1 1; }

/* mascote: tropeço, choro e fuga */
.mascot .m-headwrap { position: absolute; left: 36px; bottom: 132px; width: 78px; }
.mascot .m-headwrap .m-head { position: static; display: block; width: 100%; }
.mascot.flip .m-headwrap { scale: -1 1; }
.mascot.flip .m-head { scale: 1 1; }
.mascot.tripping .m-body { animation: trip .7s cubic-bezier(.3, .7, .4, 1) forwards; }
.mascot.flip.tripping .m-body { animation: tripF .7s cubic-bezier(.3, .7, .4, 1) forwards; }
@keyframes trip { 0% { rotate: 0deg; translate: 0 0; } 35% { rotate: 28deg; translate: 18px -6px; } 70% { rotate: -6deg; translate: 8px 34px; } 100% { rotate: -4deg; translate: 6px 40px; } }
@keyframes tripF { 0% { rotate: 0deg; translate: 0 0; } 35% { rotate: -28deg; translate: -18px -6px; } 70% { rotate: 6deg; translate: -8px 34px; } 100% { rotate: 4deg; translate: -6px 40px; } }
.mascot.fallen .m-body { rotate: -4deg; translate: 6px 40px; }
.mascot.flip.fallen .m-body { rotate: 4deg; translate: -6px 40px; }
.mascot.fallen .leg-l { transform: rotate(-70deg); }
.mascot.fallen .leg-r { transform: rotate(-55deg); }
.mascot.tripping .stack, .mascot.fallen .stack { opacity: 0; transition: opacity .1s; }
.mascot.crying .m-headwrap { animation: sob .45s ease-in-out infinite; }
@keyframes sob { 50% { translate: 0 3px; rotate: -2deg; } }
.m-sad { position: absolute; left: 46%; top: 73%; width: 30%; height: 14%; border-radius: 50% 50% 40% 40%; background: #d9a274; opacity: 0; }
.m-sad::after { content: ''; position: absolute; left: 12%; right: 12%; top: 25%; height: 70%; border: 3px solid #5a1d0e; border-bottom: 0; border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.mascot.crying .m-sad { opacity: 1; }
.tear { position: absolute; width: 7px; height: 10px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #6ec6ff; opacity: 0; }
.tear.t1 { left: 40%; top: 50%; } .tear.t2 { left: 70%; top: 50%; }
.mascot.crying .tear { animation: tear .8s ease-in infinite; }
.mascot.crying .tear.t2 { animation-delay: .4s; }
@keyframes tear { 0% { opacity: 1; transform: translateY(0) scale(.6); } 100% { opacity: 0; transform: translateY(30px) scale(1); } }
.mascot.fleeing .speed i { background: rgba(255, 255, 255, .85); }
.m-drop { position: fixed; z-index: 54; font-size: 32px; line-height: 1; pointer-events: none; animation: drop .9s cubic-bezier(.35, 0, .6, 1) forwards; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .5)); }
@keyframes drop { 0% { transform: translate(0, 0) rotate(0); } 30% { transform: translate(calc(var(--dx) * .4), -60px) rotate(calc(var(--rot) * .4)); } 80% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } 90% { transform: translate(var(--dx), calc(var(--dy) - 10px)) rotate(var(--rot)); } 100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)); } }
.m-drop.gone { transition: opacity .6s .3s; opacity: 0; }
.mascot.empty .stack { opacity: 0; }
.mascot.empty .arm-l { d: path('M36 78 Q50 70 62 56'); }

.ban-count:not(:empty) { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--pink); color: #fff; font-size: .72rem; font-weight: 800; margin-left: 2px; }
.ban-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ban-list li span { display: flex; flex-direction: column; min-width: 0; }
.ban-list li small { color: var(--muted); font-size: .76rem; }
.ban-list li .btn { flex-shrink: 0; }

.stock-note { margin: 0 0 12px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 194, 26, .08); border: 1px solid rgba(255, 194, 26, .35); font-size: .9rem; }
.stock-note .x, .stock-in { font-weight: 800; color: var(--yellow); }
.stock-in { text-align: center; text-transform: uppercase; }

/* Pix pelo site */
.pay-online.live { cursor: pointer !important; opacity: 1; background: rgba(50, 188, 173, .12) !important; border-style: solid !important; border-color: #32bcad !important; }
.pay-online.live.active { background: rgba(50, 188, 173, .25) !important; color: #fff; }
.badge-live { display: inline-block; font-size: .7rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: #32bcad; color: #04201c; }
.pix-box { text-align: center; padding-top: 26px; }
.pix-qr { width: 230px; height: 230px; margin: 14px auto; border-radius: 16px; background: #fff; display: grid; place-items: center; overflow: hidden; }
.pix-qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.pix-load { color: #555; font-weight: 700; }
.pix-status { font-weight: 800; color: var(--yellow); margin: 12px 0 6px; }
.pix-total { color: var(--yellow); }
.order .paid { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: #1fa855; color: #fff; }
.pay-state { font-weight: 800; font-size: 1.05rem; color: #ff8a80; }
.pay-state.on { color: #6ff0a0; }

.pay-when button { font-size: .88rem; }
.pay-when button small { font-size: .7rem; opacity: .7; }
.pay-hint { margin: 4px 0 8px; font-size: .86rem; color: var(--muted); font-weight: 600; }
.troco-box { margin-top: 10px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 8px; }
.troco-box p { margin: 0; font-weight: 800; }
#payNowBox .pay-online { width: 100%; }

/* histórico */
.hist-filters { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.hist-period { flex-wrap: wrap; }
.hist-period button { flex: 1 1 auto; font-size: .85rem; padding: 9px 10px; }
.hist-custom { display: flex; gap: 10px; flex-wrap: wrap; }
.hist-custom label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .88rem; }
.hist-custom input { width: auto; }
.hist-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.hist-row select, .hist-row input { width: auto; flex: 1 1 170px; padding: 9px 12px; }
.hist-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin-bottom: 12px; }
.hc { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.hc small { color: var(--muted); font-weight: 700; font-size: .78rem; }
.hc b { font-family: var(--font-title); font-weight: 400; font-size: 1.7rem; color: #fff; }
.hc span { font-size: .78rem; color: var(--muted); }
.hc.big { background: linear-gradient(135deg, rgba(255, 106, 19, .2), rgba(255, 194, 26, .12)); border-color: rgba(255, 194, 26, .5); }
.hc.big b { color: var(--yellow); font-size: 2.1rem; }
.hc.bad b { color: #ff8a80; } .hc.warn { border-color: var(--yellow); } .hc.warn b { color: var(--yellow); }
.hist-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px; margin-bottom: 14px; }
@media (max-width: 760px) { .hist-split { grid-template-columns: 1fr; } }
.pay-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.pay-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.top-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.top-list li span { display: inline-block; min-width: 70%; }
.hist-table tbody tr { cursor: pointer; }
.hist-table tbody tr:hover { background: rgba(255, 106, 19, .07); }
.hst { display: inline-block; font-size: .72rem; font-weight: 800; padding: 3px 8px; border-radius: 999px; background: rgba(255, 194, 26, .15); color: var(--yellow); text-transform: uppercase; }
.hst.st-aceito, .hst.st-concluído, .hst.st-confirmado, .hst.st-saiu, .hst.st-em, .hst.st-pronto { background: rgba(37, 211, 102, .18); color: #6ff0a0; }
.hst.st-recusado, .hst.st-cancelado { background: rgba(226, 38, 28, .2); color: #ff8a80; }
.hv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; margin: 10px 0; }
.hv-grid div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px; background: rgba(255, 255, 255, .04); }
.hv-grid small { color: var(--muted); font-size: .72rem; font-weight: 700; }
.hv-items { padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.hv-tot { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.hv-tot b { color: var(--yellow); font-size: 1.15rem; }
body.is-staff .admin-only { display: none !important; }
.hs-day small.only-del { color: var(--yellow); font-weight: 700; }

/* botões ON/OFF de emissão automática das notas */
.print-tg { display: grid; gap: 8px; }
.ptg { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; text-align: left; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: inherit; border-radius: 14px; padding: 12px 14px; cursor: pointer; font: inherit; font-weight: 800; letter-spacing: .02em; min-height: 56px; transition: border-color .2s, background .2s; }
.ptg .pl small { display: block; font-weight: 500; font-size: .78em; opacity: .7; letter-spacing: 0; margin-top: 2px; }
.ptg .sw { position: relative; flex: 0 0 auto; width: 78px; height: 34px; border-radius: 999px; background: #3a3a3a; transition: background .2s; }
.ptg .sw i { position: absolute; top: 3px; left: 3px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.ptg .sw b { position: absolute; top: 0; bottom: 0; right: 12px; display: flex; align-items: center; font-size: .8rem; color: #ddd; }
.ptg .sw b::after { content: "OFF"; }
.ptg.on { border-color: rgba(34,197,94,.6); background: rgba(34,197,94,.1); }
.ptg.on .sw { background: #22c55e; }
.ptg.on .sw i { transform: translateX(44px); }
.ptg.on .sw b { right: auto; left: 12px; color: #fff; }
.ptg.on .sw b::after { content: "ON"; }
