:root {
  --brand: #111827;
  --accent: #f97316;
  --bg: #f7f8fb;
  --card: #ffffff;
  --text: #071225;
  --muted: #64748b;
  --line: #e2e8f0;
  --ok: #16a34a;
  --danger: #dc2626;
  --radius: 26px;
  --shadow: 0 18px 55px rgba(15, 23, 42, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--accent) 16%, transparent), transparent 34%),
    radial-gradient(circle at top right, color-mix(in srgb, var(--brand) 10%, transparent), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 58%, #eef3fb 100%);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
p { color: var(--muted); }
img { max-width: 100%; height: auto; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  min-height: 78px;
  padding: 14px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 950;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 14px;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin-top: 1px;
}

.top-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.top-actions a,
.cart-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 14px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #334155;
  font: inherit;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.cart-toggle,
.top-actions a:last-of-type {
  background: var(--brand);
  color: #fff;
}

.cart-toggle b {
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 58px;
  align-items: center;
  padding: 74px 0 78px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(42px, 5.8vw, 78px);
  line-height: .92;
  letter-spacing: -.075em;
  margin: 14px 0 20px;
}

.hero p {
  max-width: 700px;
  font-size: 19px;
  line-height: 1.75;
  margin: 0 0 24px;
}

.store-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
}

.store-info span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: #334155;
  font-size: 13px;
  font-weight: 850;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-banner {
  width: 100%;
  min-height: 330px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 14px 28px color-mix(in srgb, var(--accent) 26%, transparent);
  transition: .18s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn.secondary {
  background: #fff;
  color: var(--brand);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn.full { width: 100%; margin-top: 12px; }
.btn.small { min-height: 38px; padding: 8px 14px; font-size: 14px; }

.filters { margin: 10px 0 28px; }
.filters h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1;
  letter-spacing: -.05em;
  margin: 12px 0 18px;
}

.cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
.cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 15px;
  font-weight: 850;
  cursor: pointer;
  color: #334155;
}
.cat.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  padding-bottom: 70px;
}

.menu-item {
  background: rgba(255,255,255,.94);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(15, 23, 42, .06);
  transition: .22s ease;
}
.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.menu-item > img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  background: #fff7ed;
}
.menu-item-body { padding: 22px; }
.item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.item-meta small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.item-meta em {
  background: #fff7ed;
  color: #c2410c;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.menu-item h3 {
  font-size: 24px;
  line-height: 1.1;
  margin: 12px 0 8px;
}
.menu-item p {
  line-height: 1.65;
  margin: 0 0 14px;
}
.menu-item strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
  margin: 12px 0 8px;
}
.item-options-note {
  display: inline-block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  margin: 0 0 16px;
}
.add-btn { width: 100%; }

.cart-panel,
.custom-panel {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  justify-content: flex-end;
  background: rgba(15,23,42,.48);
}
.cart-panel.open,
.custom-panel.open { display: flex; }
.cart-box,
.custom-box {
  width: min(480px, 100%);
  height: 100%;
  overflow: auto;
  background: #fff;
  padding: 28px;
  box-shadow: -20px 0 60px rgba(15,23,42,.2);
}
.cart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
}
.cart-head h2 {
  font-size: 34px;
  letter-spacing: -.05em;
  margin: 8px 0 0;
}
.close-cart {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 28px;
  cursor: pointer;
}
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.cart-row h4 { margin: 0 0 4px; }
.cart-row small { color: var(--muted); line-height: 1.55; }
.qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.qty button {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 950;
}
.qty .remove-line {
  width: auto;
  padding: 0 10px;
  color: var(--danger);
}
.summary-box {
  margin: 18px 0;
  padding: 16px;
  border-radius: 18px;
  background: #f8fafc;
  font-weight: 850;
}
.summary-box div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
}
.summary-total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 12px !important;
  font-weight: 950;
}
.summary-total strong { font-size: 24px; }
.minimum-warning {
  display: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff7ed;
  color: #9a3412;
  border: 1px solid #fed7aa;
  font-weight: 850;
}
.cart-note { font-size: 13px; text-align: center; }

.option-title {
  font-size: 18px;
  margin: 18px 0 10px;
}
.option-list {
  display: grid;
  gap: 8px;
}
.option-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  cursor: pointer;
}
.option-pill input { width: auto; min-height: auto; }
.option-pill span {
  display: flex;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
}
.option-pill b { color: var(--brand); }

label { display: block; margin: 14px 0 6px; font-weight: 900; }
input, textarea, select {
  width: 100%;
  min-height: 46px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font: inherit;
  outline: none;
}
textarea { min-height: 100px; resize: vertical; }
.textarea-small { min-height: 130px; }

footer {
  text-align: center;
  color: var(--muted);
  padding: 42px 28px;
}

.auth { max-width: 560px; margin: 0 auto; padding: 34px 18px; }
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  margin: 22px 0;
}
.panel-head,
.admin-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.notice { padding: 13px 15px; border-radius: 14px; margin: 12px 0; }
.notice.ok { background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; }
.notice.bad { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.muted { color: var(--muted); }
.adminbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 16px 28px;
}
.adminbar nav a { margin-left: 16px; font-weight: 850; color: var(--muted); }
.admin { max-width: 1180px; margin: 0 auto; padding: 28px; }
.admin h1 { font-size: clamp(34px, 4vw, 54px); letter-spacing: -.06em; line-height: 1; margin: 10px 0; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.check-row { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 12px 0 18px; }
.check-row input { width: auto; min-height: auto; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th,td { padding: 13px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
th { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.thumb { width:76px; height:54px; object-fit:cover; border-radius:10px; }
.actions-cell { white-space: nowrap; }
.actions-cell a { margin-right: 12px; font-weight: 950; color: var(--brand); }
.dangerlink { color: var(--danger) !important; font-weight: 950; }

@media(max-width: 920px) {
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero, .menu-grid, .two { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 56px; gap: 32px; }
  .hero-banner { min-height: 240px; }
  .panel-head, .admin-title { flex-direction: column; }
}

@media(max-width: 620px) {
  .wrap { padding: 0 18px; }
  .top-actions { width: 100%; justify-content: flex-start; }
  .top-actions a, .cart-toggle { width: 100%; justify-content: center; }
  .hero h1 { font-size: 40px; }
  .btn { width: 100%; }
  .cart-box, .custom-box { padding: 22px; }
}

/* Pagamentos / Pix */
.payment-admin-box {
  margin: 20px 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #f8fafc;
}
.payment-admin-box h3 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -.03em;
}
.payment-box {
  display: none;
  margin: 16px 0;
}
.pix-card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #f8fafc;
}
.pix-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}
.pix-card p {
  margin: 8px 0;
  font-size: 14px;
}
.pix-card-success {
  background: #ecfdf5;
  border-color: #bbf7d0;
}
.pix-key-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}
.pix-key-row .btn {
  min-height: 46px;
  box-shadow: none;
}
.pix-copy {
  min-height: 92px;
  font-size: 13px;
  line-height: 1.4;
}
.pix-qr {
  width: 220px;
  height: 220px;
  object-fit: contain;
  display: block;
  margin: 12px auto;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px;
}
.payment-status-line {
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  font-weight: 850;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 6px 10px;
  background: #f1f5f9;
  color: #334155;
  font-size: 12px;
  font-weight: 950;
}

@media(max-width: 620px) {
  .pix-key-row {
    grid-template-columns: 1fr;
  }
}


/* =========================================================
   CARDÁPIO V10 - ENTREGA, STATUS, PONTOS, AFILIADOS
========================================================= */
.status-pill{display:inline-flex;align-items:center;padding:7px 11px;border-radius:999px;background:#eef2ff;color:#1e3a8a;font-size:12px;font-weight:900}.v10-order-form{display:grid;gap:8px;min-width:220px}.v10-order-form select,.v10-order-form input{width:100%}.reward-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:18px}.reward-card{overflow:hidden;border:1px solid var(--line,#dbe3ef);border-radius:24px;background:#fff;box-shadow:0 16px 34px rgba(15,23,42,.07)}.reward-placeholder{height:180px;display:grid;place-items:center;font-size:64px;background:linear-gradient(135deg,#f5f3ff,#f8fafc)}.reward-card-body{padding:18px}.reward-card-body h3{margin:0 0 8px;font-size:22px}.reward-card-body p{min-height:48px;color:var(--muted,#64748b);line-height:1.55;margin:0 0 14px}.reward-points{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;margin:14px 0;border-radius:16px;background:#f8fafc;border:1px solid var(--line,#dbe3ef)}.v101-order-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:18px}.v101-order-head h2{margin:8px 0 0;font-size:clamp(30px,4vw,48px);line-height:1.05;letter-spacing:-.045em}.v101-summary-row{display:flex;align-items:stretch;gap:14px;flex-wrap:wrap;margin:18px 0 26px}.v101-total-box,.v101-payment-box{min-width:220px;display:flex;align-items:center;gap:10px;padding:14px 18px;border-radius:20px;border:1px solid var(--line,#dbe3ef);background:#fff}.v101-total-box span,.v101-payment-box span{color:var(--muted,#64748b);font-weight:800}.v101-total-box strong{color:#16a34a;font-size:22px}.v101-payment-box strong{font-size:18px}.v101-payment-box em{margin-left:auto;font-style:normal;font-size:22px}.v101-payment-box.pending{background:#fff7ed;border-color:#fed7aa}.v101-payment-box.pending strong{color:#ea580c}.v101-payment-box.paid{background:#f0fdf4;border-color:#bbf7d0}.v101-payment-box.paid strong{color:#16a34a}.v101-status-board{position:relative;display:grid;gap:14px;margin:24px 0 30px;padding-left:74px}.v101-status-line{position:absolute;left:28px;top:42px;bottom:42px;width:2px;background:repeating-linear-gradient(to bottom,#94a3b8 0 8px,transparent 8px 17px);opacity:.75}.v101-step-card{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr) auto;gap:18px;align-items:center;min-height:96px;padding:16px 20px;border-radius:24px;border:1px solid var(--line,#dbe3ef);background:#fff;box-shadow:0 16px 42px rgba(15,23,42,.045)}.v101-marker{position:absolute;left:-59px;top:50%;transform:translateY(-50%);width:34px;height:34px;display:grid;place-items:center;border-radius:999px;background:#fff;border:2px solid #cbd5e1;z-index:2}.v101-marker span{width:18px;height:18px;border-radius:999px;background:#94a3b8}.v101-icon{width:66px;height:66px;display:grid;place-items:center;border-radius:999px;font-size:34px;background:#f8fafc}.v101-step-text h3{margin:0 0 6px;font-size:clamp(20px,2vw,27px);line-height:1.1}.v101-step-text p{margin:0;color:var(--muted,#64748b);font-size:16px;line-height:1.45}.v101-step-badge{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:150px;padding:10px 14px;border-radius:999px;font-weight:900;white-space:nowrap;background:#f1f5f9;color:#64748b}.v101-step-card.theme-blue{background:linear-gradient(135deg,#fff,#eff6ff);border-color:#bfdbfe}.v101-step-card.theme-green{background:linear-gradient(135deg,#fff,#f0fdf4);border-color:#bbf7d0}.v101-step-card.theme-orange{background:linear-gradient(135deg,#fff,#fffbeb);border-color:#fde68a}.v101-step-card.theme-purple{background:linear-gradient(135deg,#fff,#faf5ff);border-color:#e9d5ff}.v101-step-card.theme-mint{background:linear-gradient(135deg,#fff,#f0fdfa);border-color:#99f6e4}.v101-step-card.state-done .v101-step-badge{background:#dcfce7;color:#15803d}.v101-step-card.state-current .v101-step-badge{background:#fff7ed;color:#ea580c}.v101-step-card.state-done .v101-marker span,.v101-step-card.state-current .v101-marker span{background:#2563eb}.v101-items-box{margin-top:18px;padding:22px;border-radius:24px;background:#f8fafc;border:1px solid var(--line,#dbe3ef)}.v101-items-box h3{margin:0 0 14px;font-size:28px}.v101-items-box p{display:flex;justify-content:space-between;gap:14px;margin:10px 0;font-size:17px}@media(max-width:900px){.reward-grid{grid-template-columns:1fr}.v101-order-head{flex-direction:column}.v101-summary-row{display:grid;grid-template-columns:1fr}.v101-status-board{padding-left:44px}.v101-status-line{left:17px}.v101-step-card{grid-template-columns:56px minmax(0,1fr);gap:12px;padding:14px}.v101-marker{left:-42px;width:28px;height:28px}.v101-marker span{width:14px;height:14px}.v101-icon{width:52px;height:52px;font-size:28px}.v101-step-badge{grid-column:1/-1;width:100%;min-width:0}.v101-items-box p{display:block}.v101-items-box p strong{display:block;margin-top:4px}}

/* =========================================================
   AJUSTES V11 - CLIENTES, PIX QR E PAINEL ADMIN
========================================================= */
input[type="checkbox"],
input[type="radio"] {
  width: auto;
  min-height: auto;
  accent-color: var(--brand);
}

.site-wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.admin-v10-wrap {
  max-width: 1200px;
}

.card {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.mt { margin-top: 20px; }
.full { grid-column: 1 / -1; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
}

.form-grid h2.full,
.form-grid h3.full {
  margin: 10px 0 0;
}

.check {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  margin: 6px 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff, #f8fafc);
  cursor: pointer;
}

.check input[type="checkbox"] {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.alert {
  margin: 14px 0;
  padding: 13px 16px;
  border-radius: 16px;
  font-weight: 850;
}
.alert.ok { background: #ecfdf5; border: 1px solid #bbf7d0; color: #166534; }
.alert.bad { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 11px;
  border-radius: 999px;
  background: #eef2ff;
  color: #1e3a8a;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.store-header {
  width: min(1180px, calc(100% - 32px));
  margin: 20px auto 0;
}
.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 12px 28px rgba(15,23,42,.06);
  font-weight: 950;
}
.store-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #f8fafc;
  font-size: 22px;
}
.store-brand small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}

.admin-v10-nav,
.cardapio-v10-admin-menu-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 22px;
}

.admin-v10-nav a,
.cardapio-v10-admin-menu-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 12px 14px;
  border-radius: 18px;
  background: linear-gradient(135deg, #071225, #0f172a);
  color: #ffffff !important;
  text-decoration: none;
  text-align: center;
  font-weight: 950;
  font-size: 14px;
  box-shadow: 0 14px 28px rgba(7,18,37,.16);
  transition: transform .18s ease, box-shadow .18s ease;
}

.admin-v10-nav a:hover,
.cardapio-v10-admin-menu-grid a:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(7,18,37,.22);
}

.admin-v10-nav a.secondary,
.cardapio-v10-admin-menu-grid a.secondary {
  background: #fff;
  color: #071225 !important;
  border: 1px solid #dbe3ef;
  box-shadow: none;
}

.cardapio-v10-admin-menu {
  margin: 22px 0;
  padding: 22px;
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid #dbe3ef;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .08);
}
.cardapio-v10-admin-menu h2 { margin: 0 0 8px; font-size: 24px; color: #071225; }
.cardapio-v10-admin-menu p { margin: 0 0 16px; color: #64748b; }
.cardapio-v10-admin-menu-top { position: sticky; top: 12px; z-index: 50; }

.order-result { margin: 14px 0; }
.order-success-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid #bbf7d0;
  background: #ecfdf5;
}
.order-success-card h3 { margin: 0 0 8px; font-size: 20px; }
.order-success-card p { margin: 8px 0; }
.order-success-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0;
}
.order-success-actions .btn { width: 100%; }

.customer-page h1 {
  margin: 10px 0 10px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.055em;
}
.customer-auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.customer-head-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.customer-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.customer-metrics div {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #f8fafc;
}
.customer-metrics span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.customer-metrics strong {
  display: block;
  margin-top: 6px;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.inline-points-form {
  display: grid;
  grid-template-columns: 90px auto;
  gap: 8px;
  align-items: center;
  min-width: 170px;
}
.inline-points-form input { min-height: 38px; padding: 8px 10px; }
.inline-delete-form { display: inline; }
.danger-button {
  border: 0;
  background: transparent;
  color: var(--danger);
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  padding: 0;
}
.admin-customer-metrics { margin-bottom: 20px; }

.btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

@media(max-width: 980px) {
  .admin-v10-nav,
  .cardapio-v10-admin-menu-grid,
  .customer-auth-grid,
  .customer-metrics {
    grid-template-columns: 1fr;
  }
  .cardapio-v10-admin-menu-top { position: static; }
  .form-grid { grid-template-columns: 1fr; }
}

@media(max-width: 620px) {
  .site-wrap, .store-header { width: min(100% - 24px, 1180px); }
  .card { padding: 18px; }
  .customer-head-row { flex-direction: column; }
  .order-success-actions { grid-template-columns: 1fr; }
  .inline-points-form { grid-template-columns: 1fr; }
}

/* =========================================================
   AJUSTES V12 - PIX AUTOMÁTICO / GATEWAY
========================================================= */
.admin-v10-nav,
.cardapio-v10-admin-menu-grid {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

.pro-settings-form select,
.pro-settings-form input,
.pro-settings-form textarea {
  font-size: 15px;
}

.gateway-box {
  padding: 16px 18px;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fafc);
}

.gateway-ok,
.gateway-warn {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.gateway-ok {
  color: #166534;
  background: #dcfce7;
  border: 1px solid #bbf7d0;
}

.gateway-warn {
  color: #92400e;
  background: #fef3c7;
  border: 1px solid #fde68a;
}

.payment-status-line {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-weight: 800;
}

/* =========================================================
   AJUSTES V13 - REVISÃO PROFISSIONAL DE MERCADO
========================================================= */
.admin-v10-wrap {
  padding-top: 18px;
}

.admin-v10-nav {
  position: sticky;
  top: 10px;
  z-index: 80;
  padding: 12px;
  border: 1px solid rgba(219, 227, 239, .9);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, .10);
}

.admin-v10-nav a,
.cardapio-v10-admin-menu-grid a {
  letter-spacing: -.01em;
}

.pro-settings-form {
  gap: 18px 22px;
}

.pro-settings-form h2.full {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 2px;
  padding-top: 12px;
  border-top: 1px solid #edf2f7;
  color: #071225;
  font-size: 22px;
  letter-spacing: -.03em;
}

.pro-settings-form h2.full:first-child {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

.pro-settings-form label:not(.check) {
  display: grid;
  gap: 7px;
  color: #0f172a;
  font-weight: 850;
}

.pro-settings-form select,
.pro-settings-form input,
.pro-settings-form textarea,
.customer-page input,
.customer-page select,
.customer-page textarea {
  border: 1px solid #dbe3ef;
  border-radius: 14px;
  background: #fff;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.pro-settings-form select:focus,
.pro-settings-form input:focus,
.pro-settings-form textarea:focus,
.customer-page input:focus,
.customer-page select:focus,
.customer-page textarea:focus {
  outline: 0;
  border-color: #93c5fd;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, .12);
}

.check {
  position: relative;
  align-items: center;
  min-height: 58px;
  box-shadow: 0 10px 25px rgba(15,23,42,.035);
}

.check input[type="checkbox"] {
  appearance: none;
  position: relative;
  width: 24px;
  height: 24px;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  background: #fff;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.check input[type="checkbox"]:checked {
  border-color: var(--brand);
  background: var(--brand);
}

.check input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
}

.check span {
  font-size: 15px;
  color: #0f172a;
}

.gateway-status-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 8px;
}

.gateway-danger,
.danger-text {
  color: #991b1b;
  font-weight: 850;
}

.gateway-danger {
  padding: 10px 12px;
  border: 1px solid #fecaca;
  border-radius: 14px;
  background: #fef2f2;
}

.pix-card {
  border-radius: 20px;
  box-shadow: 0 16px 32px rgba(15, 23, 42, .07);
}

.pix-copy {
  min-height: 104px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: 12px;
  line-height: 1.45;
}

.payment-status-line {
  color: #0f172a;
}

.order-success-card {
  box-shadow: 0 16px 34px rgba(22, 101, 52, .08);
}

@media(max-width: 980px) {
  .admin-v10-nav { position: static; }
}


/* =========================================================
   AJUSTES V15 - POPUP DO CLIENTE E CHAVE PIX NORMALIZADA
========================================================= */
.pix-key-help,
.pix-key-ok,
.pix-key-warn {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.45;
}
.pix-key-ok {
  color: #166534;
  font-weight: 850;
}
.pix-key-warn {
  color: #991b1b;
  font-weight: 850;
}
.client-popup-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(2, 6, 23, .62);
  backdrop-filter: blur(10px);
}
.client-popup-card {
  position: relative;
  width: min(100%, 520px);
  max-height: min(92vh, 760px);
  overflow: auto;
  padding: 26px;
  border-radius: 28px;
  border: 1px solid rgba(219, 227, 239, .95);
  background: #ffffff;
  box-shadow: 0 30px 90px rgba(2, 6, 23, .30);
}
.client-popup-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: #f1f5f9;
  color: #0f172a;
  font-size: 24px;
  font-weight: 900;
  cursor: pointer;
}
.client-popup-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 18px;
  background: #eff6ff;
  font-size: 30px;
}
.client-popup-card h2 {
  margin: 0 42px 10px 0;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.05;
  letter-spacing: -.045em;
  color: #071225;
}
.client-popup-content p {
  margin: 8px 0;
  color: #334155;
  line-height: 1.55;
}
.client-popup-code {
  padding: 10px 12px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}
.client-popup-pix {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #dbe3ef;
  border-radius: 20px;
  background: #f8fafc;
}
.client-popup-pix h3 {
  margin: 0 0 10px;
  font-size: 18px;
}
.client-popup-pix .pix-qr {
  display: block;
  width: min(100%, 240px);
  margin: 8px auto 12px;
}
.client-popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 18px;
}
.client-popup-actions .btn {
  width: 100%;
  text-align: center;
}
.btn.light {
  background: #f1f5f9;
  color: #0f172a;
  box-shadow: none;
}
@media(max-width: 620px) {
  .client-popup-card { padding: 22px 18px; border-radius: 22px; }
  .client-popup-actions { grid-template-columns: 1fr; }
}

/* =========================================================
   AJUSTES V16 - DASHBOARD, CALENDÁRIO, RECOMPENSAS COM IMAGEM E ABATIMENTO
========================================================= */
.dashboard-head,
.section-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.dashboard-head h1 {
  margin: 12px 0 6px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -.055em;
}
.month-switcher {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}
.month-switcher strong {
  min-width: 86px;
  text-align: center;
  color: #071225;
  font-weight: 950;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.metric-card {
  padding: 18px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 16px 38px rgba(15,23,42,.06);
}
.metric-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.metric-card strong {
  display: block;
  margin: 8px 0 4px;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.045em;
  color: #071225;
}
.metric-card small {
  color: var(--muted);
  font-weight: 750;
}
.sales-chart {
  display: flex;
  align-items: end;
  gap: 7px;
  min-height: 230px;
  padding: 18px 8px 6px;
  overflow-x: auto;
  border-radius: 20px;
  background: linear-gradient(180deg, #f8fafc, #fff);
  border: 1px solid #edf2f7;
}
.sales-bar-wrap {
  min-width: 28px;
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 7px;
}
.sales-bar {
  width: 18px;
  border-radius: 999px 999px 6px 6px;
  background: linear-gradient(180deg, var(--accent), var(--brand));
  box-shadow: 0 12px 20px rgba(15,23,42,.12);
}
.sales-bar-wrap small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}
.calendar-weekdays {
  margin: 16px 0 10px;
}
.calendar-weekdays strong {
  padding: 8px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.calendar-day {
  min-height: 138px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(15,23,42,.04);
}
.calendar-day.empty {
  background: transparent;
  border: 0;
  box-shadow: none;
}
.calendar-day.today {
  border-color: #93c5fd;
  background: #eff6ff;
}
.calendar-day-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.calendar-day-top strong {
  font-size: 22px;
  color: #071225;
}
.calendar-day-top span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 11px;
  font-weight: 950;
}
.calendar-day p {
  margin: 4px 0;
  color: #334155;
  font-size: 13px;
  line-height: 1.35;
}
.calendar-day small {
  color: #991b1b;
  font-weight: 850;
}
.reward-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f8fafc;
}
.reward-admin-thumb {
  width: 86px;
  height: 62px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
}
.reward-mini-placeholder {
  width: 86px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--line);
  font-size: 26px;
}
.reward-points span {
  color: #0f172a;
  font-weight: 900;
  font-size: 13px;
}
.summary-discount {
  color: #166534;
}
.summary-discount strong {
  color: #166534;
}

@media(max-width: 1020px) {
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .calendar-weekdays { display: none; }
}
@media(max-width: 620px) {
  .dashboard-head { display: block; }
  .month-switcher { display: grid; grid-template-columns: 1fr; }
  .month-switcher strong { min-width: 0; }
  .metric-grid, .calendar-grid { grid-template-columns: 1fr; }
  .calendar-day.empty { display: none; }
}

/* =========================================================
   AJUSTES V17 - DETALHAMENTO CLICÁVEL POR DIA
========================================================= */
.sales-bar-link {
  color: inherit;
  text-decoration: none;
  border-radius: 14px;
  padding: 4px 3px;
  transition: background .18s ease, transform .18s ease;
}
.sales-bar-link:hover {
  background: #eef2ff;
  transform: translateY(-2px);
}
.calendar-day-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.calendar-day-link:hover {
  transform: translateY(-3px);
  border-color: #bfdbfe;
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  box-shadow: 0 16px 32px rgba(15,23,42,.10);
}
.calendar-day-link em {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 950;
}
.mt-sm { margin-top: 12px; }
.day-info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.day-info-box {
  padding: 15px 16px;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff, #f8fafc);
}
.day-info-box span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.day-info-box strong {
  display: block;
  margin-top: 6px;
  color: #071225;
  font-size: 24px;
  letter-spacing: -.03em;
}
@media(max-width: 1020px) {
  .day-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media(max-width: 620px) {
  .day-info-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   AJUSTES V18 - LIMPAR DIA, APAGAR PEDIDOS E RECONCILIAR PONTOS
========================================================= */
.btn.danger {
  background: linear-gradient(135deg, #991b1b, #ef4444);
  color: #fff;
  box-shadow: 0 14px 28px rgba(220, 38, 38, .18);
}
.danger-zone-card {
  border-color: #fecaca;
  background: linear-gradient(180deg, #fff, #fff7f7);
}
.danger-zone-card h2 {
  color: #7f1d1d;
}
.danger-zone-card code {
  padding: 2px 7px;
  border-radius: 8px;
  background: #fee2e2;
  color: #7f1d1d;
  font-weight: 900;
}
.clear-day-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 220px;
}
.order-row-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.delete-order-form {
  margin-top: 8px;
}
.danger-button.boxed {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid #fecaca;
  background: #fff5f5;
  color: #991b1b;
  font-size: 13px;
  box-shadow: none;
}
.danger-button.boxed:hover {
  background: #fee2e2;
}
@media(max-width: 620px) {
  .clear-day-form,
  .clear-day-form .btn {
    width: 100%;
  }
}

/* =========================================================
   AJUSTES V19 - CARTÃO ONLINE, LIMPEZA OPERACIONAL E POPUPS
========================================================= */
.card-payment-card,
.card-payment-popup {
  background: linear-gradient(180deg, #ffffff, #eff6ff);
  border-color: #bfdbfe;
}
.card-payment-card .btn,
.card-payment-popup .btn {
  margin-top: 10px;
}
.card-gateway-note p {
  margin: 6px 0;
  line-height: 1.55;
}
.clear-day-form input[type="date"] {
  min-height: 42px;
  min-width: 170px;
  margin-right: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 12px;
  font-weight: 850;
  color: #0f172a;
  background: #fff;
}
@media(max-width: 620px) {
  .clear-day-form input[type="date"] {
    width: 100%;
    margin: 0 0 8px 0;
  }
}


/* V20 - relatórios Excel */
.report-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:flex-end;
}
.export-excel-btn{
  background:linear-gradient(135deg,#14532d,#16a34a) !important;
  color:#fff !important;
  border-color:#16a34a !important;
  box-shadow:0 12px 24px rgba(22,163,74,.20);
}
.export-excel-btn:hover{
  transform:translateY(-1px);
  filter:brightness(1.03);
}
@media (max-width: 760px){
  .report-actions{justify-content:flex-start;width:100%;}
  .report-actions .btn,.report-actions a{width:100%;text-align:center;justify-content:center;}
}

/* =========================================================
   LOGIN ADMIN - ACABAMENTO PROFISSIONAL V22 CARDÁPIO
========================================================= */
.admin-login-body{
  min-height:100vh;
  min-height:100dvh;
  display:grid;
  place-items:center;
  padding:30px;
  overflow:hidden;
  background:
    radial-gradient(circle at 12% 18%,rgba(249,115,22,.22),transparent 32%),
    radial-gradient(circle at 82% 76%,rgba(17,24,39,.16),transparent 36%),
    linear-gradient(135deg,#fff7ed 0%,#f8fafc 45%,#eef4ff 100%);
}
.admin-login-body:before{
  content:"";
  position:fixed;
  inset:-18%;
  pointer-events:none;
  background:
    radial-gradient(circle at center,rgba(255,255,255,.62),transparent 28%),
    linear-gradient(120deg,rgba(255,255,255,.58),transparent 46%);
  filter:blur(1px);
}
.login-card.login-card-pro{
  position:relative;
  width:min(500px,100%);
  background:rgba(255,255,255,.96);
  border:1px solid rgba(226,232,240,.95);
  border-radius:34px;
  padding:42px 40px 34px;
  box-shadow:0 30px 88px rgba(15,23,42,.14);
  overflow:hidden;
}
.login-card-glow{
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 16% 0%,rgba(249,115,22,.16),transparent 34%),
    radial-gradient(circle at 95% 8%,rgba(17,24,39,.08),transparent 32%);
}
.login-card.login-card-pro>*:not(.login-card-glow){
  position:relative;
  z-index:1;
}
.login-card.login-card-pro .brand-login{
  width:82px;
  height:82px;
  border-radius:26px;
  margin-bottom:22px;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#fff7ed,#ffffff);
  border:1px solid #fed7aa;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 16px 34px rgba(249,115,22,.14);
}
.login-card.login-card-pro .brand-login img{
  width:54px;
  height:54px;
  object-fit:contain;
  border-radius:15px;
}
.login-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:8px;
  color:#c2410c;
  font-size:12px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.login-eyebrow:before{
  content:"";
  width:8px;
  height:8px;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 5px rgba(249,115,22,.13);
}
.login-card.login-card-pro h1{
  margin:0;
  font-size:clamp(32px,4vw,42px);
  line-height:1.05;
  letter-spacing:-.055em;
  color:#081225;
}
.login-card.login-card-pro .login-subtitle{
  margin:18px 0 0;
  max-width:390px;
  font-size:16px;
  color:#475569;
  font-weight:650;
  line-height:1.55;
}
.login-form-pro{
  margin-top:32px;
  display:grid;
  gap:22px;
}
.login-field{
  display:grid;
  gap:11px;
  margin:0;
  color:#0f172a;
  font-weight:950;
}
.login-input-wrap{
  position:relative;
  display:block;
}
.login-icon{
  position:absolute;
  left:17px;
  top:50%;
  transform:translateY(-50%);
  opacity:.72;
  font-size:18px;
  pointer-events:none;
}
.login-input-wrap input{
  width:100%;
  min-height:60px;
  border:1px solid #d5deea;
  border-radius:18px;
  background:#f8fafc;
  padding:0 18px 0 52px;
  color:#0f172a;
  outline:none;
  font-weight:750;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75);
  transition:border-color .18s ease,box-shadow .18s ease,background .18s ease;
}
.login-input-wrap input:focus{
  border-color:#fb923c;
  background:#fff;
  box-shadow:0 0 0 4px rgba(249,115,22,.16),inset 0 1px 0 rgba(255,255,255,.75);
}
.login-btn{
  margin-top:8px;
  min-height:60px;
  border-radius:999px;
  font-size:16px;
  letter-spacing:.01em;
  box-shadow:0 18px 36px rgba(249,115,22,.26);
}
.login-alert{
  margin-top:22px;
  margin-bottom:0;
}
.login-footnote{
  margin:20px 0 0;
  color:#64748b;
  font-size:13px;
  line-height:1.55;
  text-align:center;
}
@media(max-width:560px){
  .admin-login-body{padding:18px;align-items:center;}
  .login-card.login-card-pro{padding:32px 24px;border-radius:28px;}
  .login-card.login-card-pro .brand-login{width:74px;height:74px;margin-bottom:18px;}
  .login-form-pro{margin-top:26px;gap:20px;}
  .login-input-wrap input,.login-btn{min-height:56px;}
}


/* V23 - notificações profissionais do pedido */
.order-notification-hint{
  display:flex;
  gap:18px;
  align-items:center;
  justify-content:space-between;
  border:1px solid rgba(109,40,217,.18);
  background:linear-gradient(135deg,rgba(109,40,217,.08),rgba(34,197,94,.06));
  border-radius:22px;
  padding:18px 20px;
  box-shadow:0 18px 50px rgba(15,23,42,.06);
}
.order-notification-hint strong{display:block;font-size:1rem;color:#0f172a;margin-bottom:4px;}
.order-notification-hint p{margin:0;color:#64748b;font-weight:600;line-height:1.45;}
.order-notification-hint .btn{white-space:nowrap;}
@media(max-width:700px){
  .order-notification-hint{align-items:flex-start;flex-direction:column;}
  .order-notification-hint .btn{width:100%;}
}

/* V24 - Aparência da loja e produtos profissionais */
:root{--page-bg:#f8fafc;}
body{background:linear-gradient(135deg,rgba(249,115,22,.05),rgba(14,165,233,.04)),var(--page-bg,#f8fafc);}
.admin-page-head.pro-head{position:relative;margin:0 0 26px;display:grid;gap:10px;max-width:980px;}
.admin-page-head.pro-head h1{font-size:clamp(34px,5vw,58px);letter-spacing:-.06em;line-height:.98;margin:0;color:#071227;}
.admin-page-head.pro-head p{font-size:17px;color:#475569;margin:0;line-height:1.55;max-width:760px;font-weight:650;}
.admin-alert{border-radius:18px;padding:14px 18px;margin:0 0 18px;font-weight:800;border:1px solid #d8e2ef;background:#fff;}
.admin-alert.success{background:#ecfdf5;color:#065f46;border-color:#bbf7d0;}
.admin-alert.error{background:#fff1f2;color:#991b1b;border-color:#fecdd3;}
.panel-card{background:rgba(255,255,255,.93);border:1px solid #dbe5f1;border-radius:26px;padding:26px;box-shadow:0 24px 70px rgba(15,23,42,.08);}
.panel-card h2{font-size:clamp(24px,3vw,32px);letter-spacing:-.04em;margin:0 0 14px;color:#071227;}
.panel-card h3{font-size:20px;margin:0 0 10px;color:#071227;}
.panel-card p{color:#475569;font-weight:650;line-height:1.5;}
.appearance-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:24px;align-items:start;}
.appearance-grid .span-2{grid-column:span 1;}
.appearance-grid .span-3{grid-column:1/-1;}
.form-grid{display:grid;gap:16px;}.form-grid.two{grid-template-columns:repeat(2,minmax(0,1fr));}.form-grid .span-2{grid-column:1/-1;}
.pro-form label{display:grid;gap:8px;font-weight:850;color:#0f172a;}
.pro-form input,.pro-form select,.pro-form textarea{width:100%;border:1px solid #d7e1ee;border-radius:16px;background:#fff;padding:13px 15px;color:#0f172a;font:inherit;font-weight:650;outline:none;transition:border-color .18s,box-shadow .18s;background-clip:padding-box;}
.pro-form textarea{resize:vertical;line-height:1.45;}.pro-form input:focus,.pro-form select:focus,.pro-form textarea:focus{border-color:var(--accent);box-shadow:0 0 0 4px color-mix(in srgb,var(--accent) 18%,transparent);}
.color-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.color-grid input{height:54px;padding:4px;}
.media-manager{display:grid;gap:22px;}.media-block{border:1px solid #e0e9f5;background:#f8fafc;border-radius:24px;padding:18px;display:grid;gap:14px;}.media-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.media-title small{background:#eef2ff;border:1px solid #dfe7ff;color:#334155;border-radius:999px;padding:7px 12px;font-weight:950;}
.image-preview-square{height:190px;border:1px solid #d8e2ef;background:#fff;border-radius:20px;display:flex;align-items:center;justify-content:center;overflow:hidden}.image-preview-square img{max-width:80%;max-height:80%;object-fit:contain;}
.upload-tile{position:relative;border:1px dashed #b9c8dc;background:#fff;border-radius:18px;padding:16px;display:flex!important;align-items:center;justify-content:space-between;gap:12px;min-height:62px;color:#334155;cursor:pointer;}.upload-tile input{position:absolute;inset:0;opacity:0;cursor:pointer}.upload-tile span{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;background:#fff;color:var(--brand);border:1px solid #dbe5f1;padding:10px 16px;font-weight:950;white-space:nowrap;box-shadow:0 10px 24px rgba(15,23,42,.08)}.upload-tile-large{background:linear-gradient(135deg,rgba(249,115,22,.09),rgba(17,24,39,.05));border-color:var(--accent);font-weight:950;}
.banner-upload-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,.9fr) minmax(160px,.75fr);gap:14px;align-items:stretch}.selected-files-box{border:1px dashed #cbd5e1;background:#fff;border-radius:16px;padding:12px 14px;color:#475569;font-weight:750}.selected-file{padding:5px 0}.slide-list{display:grid;gap:14px}.slide-card{display:grid;grid-template-columns:180px 1fr;gap:16px;align-items:center;border:1px solid #dbe5f1;border-radius:18px;background:#fff;padding:12px}.slide-card img{width:100%;aspect-ratio:16/9;object-fit:cover;border-radius:14px}.slide-card small{display:block;color:#64748b;font-weight:800;margin:5px 0 10px}.check-row{display:flex!important;grid-template-columns:none!important;align-items:center;gap:10px}.check-row input{width:auto}.danger-soft{background:#fff7f7;border:1px solid #fecaca;border-radius:15px;padding:11px 13px;color:#991b1b;}
.status-choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:16px}.status-choice label{border:1px solid #dbe5f1;background:#fff;border-radius:18px;padding:16px;display:grid;gap:8px}.status-choice input{width:auto}.status-choice small{display:block;color:#64748b;line-height:1.4}.check-card{border:1px solid #dbe5f1;background:#f8fafc;border-radius:16px;padding:14px;display:flex!important;align-items:center;gap:10px}.check-card input{width:auto}.schedule-grid{display:grid;gap:12px;margin-top:18px}.schedule-row{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:12px;align-items:end;border:1px solid #e2e8f0;background:#fff;border-radius:16px;padding:12px}.schedule-row input[type=time]{min-height:44px}.day-check{display:flex!important;align-items:center;gap:10px}.day-check input{width:auto}.status-pill{display:inline-flex;align-items:center;justify-content:center;width:max-content;border-radius:999px;padding:9px 14px;font-weight:950}.status-pill.open{background:#dcfce7;color:#166534}.status-pill.closed{background:#fee2e2;color:#991b1b}.preview-card{align-self:start}.preview-hero{height:120px;border-radius:24px;margin:14px 0;display:flex;align-items:center;justify-content:center}.preview-hero img{width:76px;height:76px;object-fit:contain;background:#fff;border-radius:20px;padding:10px}.form-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:8px}
.catalog-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0 0 24px}.metric-card{background:#fff;border:1px solid #dbe5f1;border-radius:20px;padding:20px;box-shadow:0 18px 50px rgba(15,23,42,.06)}.metric-card span{display:block;color:#64748b;font-weight:750;margin-bottom:10px}.metric-card strong{font-size:28px;color:#071227;}
.catalog-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(360px,.75fr);gap:24px;align-items:start}.product-editor{overflow:hidden}.product-form{display:grid;gap:20px}.image-product-card{display:grid;grid-template-columns:minmax(0,.95fr) minmax(240px,.75fr);gap:18px;align-items:center;border:1px solid #dbe5f1;border-radius:22px;background:#f8fafc;padding:18px}.image-product-info p{margin:0 0 16px}.upload-product-btn{position:relative;display:inline-flex!important;align-items:center;justify-content:center;min-height:56px;border-radius:999px;background:linear-gradient(135deg,var(--brand),var(--accent));color:#fff!important;padding:0 24px;font-weight:950;box-shadow:0 18px 36px color-mix(in srgb,var(--accent) 30%,transparent);cursor:pointer;width:max-content;max-width:100%;}.upload-product-btn input{position:absolute;inset:0;opacity:0;cursor:pointer}.product-preview-box{position:relative;aspect-ratio:4/3;border:1px solid #d7e1ee;background:#fff;border-radius:20px;overflow:hidden;display:flex;align-items:center;justify-content:center}.product-preview-box img{width:100%;height:100%;object-fit:cover}.product-preview-box span{position:absolute;left:12px;bottom:12px;background:rgba(15,23,42,.82);color:#fff;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:900}.builder-lite-card{border:1px solid #dbe5f1;border-radius:22px;background:#fff;padding:18px}.product-switches{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.catalog-side{display:grid;gap:24px}.category-add-form{display:grid;grid-template-columns:1fr auto;gap:10px;margin:15px 0}.category-list-pro,.product-list-pro{display:grid;gap:12px;max-height:620px;overflow:auto;padding-right:4px}.category-list-pro article,.product-list-pro article{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #dbe5f1;background:#f8fafc;border-radius:18px;padding:14px}.category-list-pro small,.product-list-pro small{display:block;color:#64748b;font-weight:800;margin-top:4px}.product-list-pro article{align-items:center}.product-list-pro img{width:64px;height:54px;object-fit:cover;border-radius:14px;border:1px solid #e2e8f0;background:#fff}.product-list-pro article>div:nth-child(2){flex:1}.product-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.btn.small{min-height:38px;padding:0 14px;font-size:13px}.btn.danger{background:#ef4444;color:#fff;border-color:#ef4444}.badge{display:inline-flex;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:950;margin-top:8px}.badge.ok{background:#dcfce7;color:#166534}.badge.off{background:#fee2e2;color:#991b1b}.prep-time{display:block;margin:8px 0;color:#64748b;font-weight:800}.store-status-chip{font-weight:950}.store-status-chip.open{background:#dcfce7!important;color:#166534!important}.store-status-chip.closed{background:#fee2e2!important;color:#991b1b!important}.closed-store-box{margin-top:16px;background:#fff1f2;color:#991b1b;border:1px solid #fecdd3;border-radius:18px;padding:14px 16px;font-weight:850}.hero-banner-slider{position:relative;min-height:360px;border-radius:28px;overflow:hidden;box-shadow:0 30px 90px rgba(15,23,42,.12);background:#fff}.hero-banner-slide{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .6s ease}.hero-banner-slide.active{opacity:1}.hero .hero-banner-slider{width:100%;}.hero{align-items:center;}
@media(max-width:1100px){.appearance-grid,.catalog-layout{grid-template-columns:1fr}.catalog-metrics{grid-template-columns:repeat(2,1fr)}.banner-upload-row{grid-template-columns:1fr}.appearance-grid .span-2{grid-column:auto}.hero-banner-slider{min-height:280px}}
@media(max-width:760px){.form-grid.two,.status-choice,.schedule-row,.image-product-card,.product-switches,.catalog-metrics{grid-template-columns:1fr}.panel-card{padding:20px;border-radius:22px}.catalog-layout{gap:18px}.category-add-form{grid-template-columns:1fr}.slide-card{grid-template-columns:1fr}.hero-banner-slider{min-height:220px}.upload-product-btn{width:100%;}.color-grid{grid-template-columns:1fr}}


/* V25 - textos da home editáveis e atualização automática do painel */
.hero-text-editor{
  border:1px solid #dbe5f1;
  background:linear-gradient(135deg,rgba(249,115,22,.08),rgba(14,165,233,.06));
  border-radius:18px;
  padding:16px 18px;
  display:grid;
  gap:6px;
}
.hero-text-editor strong{font-size:18px;color:#071227;}
.hero-text-editor small{color:#64748b;font-weight:750;line-height:1.45;}
.admin-live-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid #bbf7d0;
  background:#ecfdf5;
  color:#166534;
  border-radius:999px;
  min-height:42px;
  padding:0 14px;
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
}
.admin-auto-update-alert{
  position:fixed;
  right:22px;
  bottom:22px;
  z-index:9999;
  width:min(430px,calc(100vw - 32px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border:1px solid #bfdbfe;
  border-radius:22px;
  background:rgba(255,255,255,.96);
  box-shadow:0 24px 70px rgba(15,23,42,.2);
  backdrop-filter:blur(14px);
}
.admin-auto-update-alert[hidden]{display:none!important;}
.admin-auto-update-alert strong{display:block;color:#0f172a;font-size:16px;margin-bottom:4px;}
.admin-auto-update-alert small{display:block;color:#475569;font-weight:700;line-height:1.35;}
@media(max-width:700px){
  .admin-auto-update-alert{left:16px;right:16px;bottom:16px;width:auto;align-items:flex-start;flex-direction:column;}
  .admin-auto-update-alert .btn{width:100%;}
  .admin-live-badge{width:100%;}
}


/* V26 - comprovante do pedido por WhatsApp */
.receipt-config-box code{
  display:inline-block;
  padding:2px 7px;
  border-radius:999px;
  background:#f1f5f9;
  color:#334155;
  font-size:12px;
  font-weight:900;
}
.receipt-template-textarea{
  min-height:260px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  line-height:1.55;
}
.receipt-actions{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin:10px 0;
}
.receipt-actions .btn{
  width:100%;
  justify-content:center;
  text-align:center;
}
.receipt-copy-source{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  opacity:0!important;
}
@media(max-width:800px){
  .receipt-actions{gap:10px;}
  .receipt-actions .btn{min-height:44px;}
}


/* V27 - alarme sonoro de novos pedidos no painel */
.admin-sound-toggle{
  border:1px solid #fde68a;
  background:#fffbeb;
  color:#92400e;
  border-radius:999px;
  min-height:42px;
  padding:0 14px;
  font-size:13px;
  font-weight:950;
  white-space:nowrap;
  cursor:pointer;
  box-shadow:0 8px 22px rgba(245,158,11,.12);
}
.admin-sound-toggle.is-on{
  border-color:#fed7aa;
  background:#fff7ed;
  color:#9a3412;
}
.admin-sound-toggle.is-off{
  border-color:#e5e7eb;
  background:#f8fafc;
  color:#475569;
}
.admin-sound-alert{
  position:fixed;
  right:22px;
  bottom:104px;
  z-index:10000;
  width:min(430px,calc(100vw - 32px));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:18px;
  border:1px solid #fed7aa;
  border-radius:22px;
  background:linear-gradient(135deg,rgba(255,251,235,.98),rgba(255,237,213,.98));
  box-shadow:0 24px 70px rgba(154,52,18,.22);
  backdrop-filter:blur(14px);
}
.admin-sound-alert[hidden]{display:none!important;}
.admin-sound-alert strong{display:block;color:#7c2d12;font-size:16px;margin-bottom:4px;}
.admin-sound-alert small{display:block;color:#9a3412;font-weight:800;line-height:1.35;}
@media(max-width:700px){
  .admin-sound-toggle{width:100%;}
  .admin-sound-alert{left:16px;right:16px;bottom:140px;width:auto;align-items:flex-start;flex-direction:column;}
  .admin-sound-alert .btn{width:100%;}
}
