:root {
  --bg: #f6f1ea;
  --bg-2: #efe6da;
  --ink: #1c1712;
  --muted: #6d6258;
  --accent: #c45c26;
  --accent-2: #8f3d14;
  --card: rgba(255, 252, 247, 0.92);
  --line: rgba(28, 23, 18, 0.1);
  --ok: #1f6b45;
  --err: #9b2c2c;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(60, 30, 10, 0.12);
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Fraunces", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.store-body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #f3d3b4 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #d9e6dc 0%, transparent 50%),
    linear-gradient(180deg, #f8f3ec 0%, #efe4d6 100%);
  min-height: 100vh;
}
.bg-glow { display: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.store-header {
  position: sticky; top: 0; z-index: 40;
  backdrop-filter: blur(14px);
  background: rgba(246, 241, 234, 0.82);
  border-bottom: 1px solid var(--line);
}
.store-header-inner {
  max-width: min(1520px, 100%); margin: 0 auto; padding: 0.85rem 1.25rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--display); font-size: 1.15rem; }
.brand-text small { color: var(--muted); font-size: 0.78rem; }
.store-nav { display: flex; gap: 1rem; align-items: center; font-weight: 600; }
.cart-link { position: relative; }
.cart-badge {
  position: absolute; top: -8px; right: -12px;
  background: var(--accent); color: #fff; border-radius: 999px;
  font-size: 0.7rem; min-width: 1.2rem; height: 1.2rem;
  display: grid; place-items: center; padding: 0 4px;
}

.store-main { max-width: min(1520px, 100%); margin: 0 auto; padding: 1.25rem 1.25rem 3rem; }
.store-footer {
  max-width: min(1520px, 100%); margin: 0 auto; padding: 1.5rem 1.25rem 2.5rem;
  color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line);
}
.muted { color: var(--muted); }

.flash {
  max-width: min(1520px, 100%); margin: 0.75rem auto 0; padding: 0.75rem 1rem;
  border-radius: 12px; font-weight: 600;
}
.flash-ok { background: #dff3e8; color: var(--ok); }
.flash-err { background: #f8e0e0; color: var(--err); }

.hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.5rem;
  min-height: min(52vh, 420px); align-items: stretch; margin-bottom: 1.5rem;
}
.hero-copy {
  display: flex; flex-direction: column; justify-content: center;
  padding: 1.5rem 0;
  animation: rise 0.7s ease both;
}
.hero-visual {
  border-radius: calc(var(--radius) + 8px);
  background:
    linear-gradient(145deg, rgba(196, 92, 38, 0.18), rgba(28, 23, 18, 0.08)),
    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='none' stroke='%23c45c26' stroke-opacity='0.18' stroke-width='2'%3E%3Ccircle cx='80' cy='80' r='48'/%3E%3Cpath d='M40 110c20-30 60-30 80 0'/%3E%3C/g%3E%3C/svg%3E") center/cover,
    linear-gradient(160deg, #2b2118, #6a3a22);
  box-shadow: var(--shadow);
  animation: fadein 1s ease both;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.72rem;
  font-weight: 700; color: var(--accent); margin: 0 0 0.5rem;
}
.hero h1, .product-detail h1, .cart-page h1, .checkout-page h1, .confirm-page h1 {
  font-family: var(--display); font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.05; margin: 0 0 0.75rem; font-weight: 700;
}
.lede { font-size: 1.1rem; color: var(--muted); max-width: 36ch; margin: 0 0 1rem; }
.hero-meta { display: flex; gap: 0.75rem; flex-wrap: wrap; align-items: center; color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.35rem 0.7rem; border-radius: 999px; font-weight: 700; font-size: 0.85rem;
}
.status.on { background: #dff3e8; color: var(--ok); }
.status.off { background: #f8e0e0; color: var(--err); }
.closed-banner {
  background: #fff2e8; border: 1px solid #efc7a8; color: #7a3b12;
  padding: 0.85rem 1rem; border-radius: 12px; margin-bottom: 1rem; font-weight: 600;
}

.cat-scroll, .filters {
  display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.75rem; margin-bottom: 1rem;
  scrollbar-width: thin;
}
.chip {
  white-space: nowrap; padding: 0.55rem 0.95rem; border-radius: 999px;
  background: rgba(255,255,255,0.55); border: 1px solid var(--line); font-weight: 600; font-size: 0.9rem;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

.menu-section { margin-bottom: 2.5rem; animation: rise 0.5s ease both; }
.section-head h2 { font-family: var(--display); font-size: 1.8rem; margin: 0 0 0.25rem; }
.section-head p { margin: 0 0 1rem; color: var(--muted); }

.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem;
}
.product-tile {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-media { position: relative; aspect-ratio: 4/3; background: #e8ddd0; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; }
.img-placeholder {
  width: 100%; height: 100%; display: grid; place-items: center;
  font-family: var(--display); font-size: 2.5rem; color: #a8896e; background: #e7d8c7;
}
.img-placeholder.large { min-height: 320px; font-size: 5rem; }
.tag-destaque {
  position: absolute; left: 10px; top: 10px; background: var(--accent); color: #fff;
  font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.55rem; border-radius: 999px;
}
.product-body { padding: 1rem; display: flex; flex-direction: column; gap: 0.35rem; flex: 1; }
.product-body h3 { margin: 0; font-size: 1.05rem; }
.product-body p {
  margin: 0; color: var(--muted); font-size: 0.9rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.product-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 0.5rem; }
.extras-hint { color: var(--accent-2); font-weight: 600; }

.btn-primary, .btn-sm, .btn-ghost, .btn, .btn-warn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  border: 0; cursor: pointer; font-weight: 700; font-family: inherit;
  border-radius: 999px; padding: 0.75rem 1.2rem; text-align: center;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); }
.btn-sm { background: var(--ink); color: #fff; padding: 0.45rem 0.85rem; font-size: 0.85rem; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-warn { background: #8a2f1a; color: #fff; }

.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: start;
}
.detail-media { border-radius: calc(var(--radius) + 6px); overflow: hidden; box-shadow: var(--shadow); background: #e8ddd0; }
.detail-media img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.back { color: var(--muted); font-weight: 600; display: inline-block; margin-bottom: 0.75rem; }
.price { font-family: var(--display); font-size: 2rem; margin: 0.5rem 0 0.15rem; }
.price-hint {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.price-hint[hidden] { display: none; }
.extras-box, .pay-box {
  border: 1px solid var(--line); border-radius: 14px; padding: 1rem; margin: 1rem 0;
  background: rgba(255,255,255,0.5);
}
.extras-box legend, .pay-box legend { font-weight: 700; padding: 0 0.35rem; }
.extra-row, .pay-option {
  display: grid; grid-template-columns: auto 1fr auto; gap: 0.75rem; align-items: center;
  padding: 0.65rem 0; border-bottom: 1px solid var(--line);
}
.extra-row:last-child, .pay-option:last-of-type { border-bottom: 0; }
.extra-info { display: flex; flex-direction: column; }
.extra-info small, .pay-option small { color: var(--muted); }
.extra-price { font-weight: 700; color: var(--accent-2); }

/* Combo extras em cards com imagem */
.combo-section {
  margin: 1.25rem 0 1.5rem;
}
.combo-head h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  margin: 0 0 0.2rem;
}
.combo-head p {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.combo-grid {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.combo-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.75rem;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: 14px;
  padding: 0.55rem 0.7rem 0.55rem 0.55rem;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  min-width: 0;
}
.combo-card:hover {
  box-shadow: 0 6px 18px rgba(60, 30, 10, 0.08);
}
.combo-card.selected {
  border-color: var(--accent);
  background: rgba(196, 92, 38, 0.06);
  box-shadow: 0 8px 22px rgba(196, 92, 38, 0.14);
}
.combo-check {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.combo-media {
  position: relative;
  width: 72px;
  height: 72px;
  border-radius: 12px;
  background: #e8ddd0;
  overflow: hidden;
  flex-shrink: 0;
}
.combo-media img,
.combo-media .img-placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.combo-media .img-placeholder {
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-2);
}
.combo-check-mark {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
  color: transparent;
  display: grid;
  place-items: center;
  font-size: 0.75rem;
  font-weight: 800;
  border: 1.5px solid rgba(28,23,18,0.12);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.combo-card.selected .combo-check-mark {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.combo-body {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
  padding: 0;
}
.combo-body strong {
  font-size: 0.95rem;
  line-height: 1.25;
}
.combo-body small {
  color: var(--muted);
  font-size: 0.78rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.combo-price {
  font-style: normal;
  font-weight: 800;
  color: var(--accent-2);
  font-size: 0.92rem;
  white-space: nowrap;
  justify-self: end;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.9rem; }
.field span { font-weight: 600; font-size: 0.9rem; }
.field input, .field textarea, .field select,
.qty-row input, .cart-item-actions input, .status-form select {
  border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 0.85rem;
  font: inherit; background: #fff;
}
.qty-row { display: flex; gap: 0.75rem; align-items: end; flex-wrap: wrap; }
.val, .val-summary { color: var(--err); font-size: 0.85rem; }

.cart-page, .checkout-page { display: grid; gap: 1.25rem; }
.cart-grid { display: grid; gap: 1.25rem; }
.cart-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.cart-item {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem;
}
.cart-item-main { display: flex; gap: 0.85rem; }
.cart-item-main img { width: 72px; height: 72px; object-fit: cover; border-radius: 12px; }
.mini-extras { margin: 0.35rem 0 0; padding-left: 1rem; color: var(--muted); font-size: 0.85rem; }
.cart-item-actions { display: flex; align-items: center; gap: 0.75rem; }
.cart-summary, .checkout-summary, .confirm-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem; box-shadow: var(--shadow);
}
.cart-summary > div, .checkout-summary .line, .panel .line {
  display: flex; justify-content: space-between; margin-bottom: 0.5rem;
}
.total { font-weight: 800; font-size: 1.1rem; border-top: 1px solid var(--line); padding-top: 0.65rem; margin-top: 0.65rem; }
.cart-summary .btn-primary, .cart-summary .btn-ghost { width: 100%; margin-top: 0.5rem; }
.link-danger { background: none; border: 0; color: var(--err); cursor: pointer; font: inherit; font-weight: 600; }
.empty-state { text-align: center; padding: 3rem 1rem; }

.checkout-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 1.25rem; align-items: start; }
.checkout-form, .checkout-summary { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; }
.checkout-summary ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.checkout-summary li { display: flex; justify-content: space-between; gap: 0.5rem; padding: 0.35rem 0; border-bottom: 1px dashed var(--line); font-size: 0.92rem; }
.pix-hint, .pix-box { background: #eef7f1; border-radius: 12px; padding: 0.85rem; margin-top: 0.75rem; }
.troco-panel {
  margin-top: 0.75rem;
  padding: 0.9rem;
  border-radius: 12px;
  background: #fff7ef;
  border: 1px solid rgba(196, 92, 38, 0.18);
}
.troco-panel[hidden], .troco-extras[hidden], .troco-resumo[hidden] { display: none !important; }
.troco-title { margin: 0 0 0.2rem; font-weight: 800; }
.troco-choice { display: grid; gap: 0.45rem; margin: 0.75rem 0; }
.troco-opt {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}
.troco-opt:has(input:checked) {
  border-color: var(--accent);
  background: rgba(196, 92, 38, 0.06);
}
.troco-label { margin: 0 0 0.45rem; font-weight: 700; font-size: 0.9rem; }
.troco-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}
.troco-chip {
  border: 1.5px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.troco-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.troco-resumo {
  margin-top: 0.35rem;
  padding: 0.75rem;
  border-radius: 10px;
  background: #fff;
  border: 1px dashed rgba(196, 92, 38, 0.35);
  display: grid;
  gap: 0.25rem;
}
.troco-resumo p { margin: 0; font-size: 0.92rem; }
.troco-note {
  margin: 0.5rem 0 0;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  background: #fff7ef;
  font-size: 0.92rem;
}
.pix-box { text-align: center; }
.pix-title { font-weight: 800; font-size: 1.05rem; margin: 0 0 0.25rem; }
.pix-qr {
  display: block;
  width: min(220px, 70vw);
  height: auto;
  margin: 0.85rem auto;
  border-radius: 12px;
  background: #fff;
  padding: 0.5rem;
  box-shadow: 0 8px 24px rgba(20, 60, 40, 0.12);
}
.pix-key {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.78rem;
  word-break: break-all;
  line-height: 1.4;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.75rem;
  margin: 0.75rem 0;
  text-align: left;
}

.confirm-page { display: grid; place-items: center; padding: 2rem 0; }
.confirm-card { max-width: 520px; width: 100%; text-align: center; }
.confirm-card .code { font-size: 1.1rem; }
.confirm-items { list-style: none; padding: 0; text-align: left; margin: 1rem 0; }
.confirm-items li { padding: 0.4rem 0; border-bottom: 1px solid var(--line); }
.confirm-actions { display: grid; gap: 0.55rem; margin-top: 0.5rem; }

.orders-page { display: grid; gap: 1rem; padding-bottom: 1rem; }
.page-head-store h1 {
  font-family: var(--display);
  font-size: 1.65rem;
  margin: 0 0 0.2rem;
}
.page-head-store .muted { margin: 0; }
.orders-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}
.identify-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: var(--shadow);
}
.identify-card .btn-primary { width: 100%; }
.tiny { font-size: 0.82rem; margin: 0.75rem 0 0; }
.btn-sm { padding: 0.45rem 0.75rem; font-size: 0.85rem; }

.order-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.65rem; }
.order-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.order-card:hover { border-color: var(--accent); box-shadow: 0 8px 22px rgba(196, 92, 38, 0.12); }
.order-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}
.order-meta { margin: 0; color: var(--muted); font-size: 0.88rem; }
.order-items-preview {
  margin: 0.35rem 0 0;
  font-size: 0.9rem;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.order-go { display: inline-block; margin-top: 0.45rem; font-weight: 700; color: var(--accent-2); font-size: 0.88rem; }

.status-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  background: #efe6da;
  color: #5c4030;
}
.status-pill.status-Novo { background: #fff3d6; color: #8a5a00; }
.status-pill.status-Confirmado,
.status-pill.status-Preparando { background: #e4f5ea; color: #1f6b45; }
.status-pill.status-SaiuEntrega { background: #e3eefc; color: #1a4f8a; }
.status-pill.status-Entregue { background: #d8f3e4; color: #146b3a; }
.status-pill.status-Cancelado { background: #fde8e8; color: #9b2c2c; }

.status-hero {
  display: grid;
  gap: 0.15rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: #fff3e8;
  border: 1px solid rgba(196, 92, 38, 0.2);
}
.status-hero strong { font-size: 1.15rem; }
.status-hero span { color: var(--muted); font-size: 0.92rem; }
.status-hero.status-Cancelado { background: #fde8e8; border-color: rgba(155, 44, 44, 0.2); }
.status-hero.status-Entregue { background: #e4f5ea; border-color: rgba(31, 107, 69, 0.2); }
.status-hero.status-SaiuEntrega { background: #e8f1fc; border-color: rgba(26, 79, 138, 0.2); }

.status-track {
  list-style: none;
  margin: 0;
  padding: 0.25rem 0 0.5rem;
  display: grid;
  gap: 0;
}
.status-track li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.55rem 0;
  position: relative;
  color: var(--muted);
}
.status-track li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 1.55rem;
  bottom: -0.1rem;
  width: 2px;
  background: var(--line);
}
.status-track li i {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: #fff;
  display: block;
  z-index: 1;
}
.status-track li.done { color: var(--ink); }
.status-track li.done i {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: inset 0 0 0 3px #fff;
}
.status-track li.current strong { color: var(--accent-2); }
.status-track li.current i {
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(196, 92, 38, 0.18);
}
.status-track small { display: block; color: var(--accent); font-weight: 600; }

.order-detail-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.35rem;
}
.order-detail-card p { margin: 0; font-size: 0.92rem; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}
@keyframes fadein {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 899px) {
  .hero, .product-detail, .checkout-grid, .cart-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero-visual { min-height: 220px; }
  .store-header-inner { padding-inline: 1rem; }
  .order-list { grid-template-columns: 1fr; }
}

@media (min-width: 900px) {
  .store-desk-nav {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-left: auto;
    margin-right: 0.75rem;
  }
  .store-desk-nav a {
    padding: 0.5rem 0.85rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.92rem;
    color: var(--muted);
  }
  .store-desk-nav a:hover { color: var(--ink); background: rgba(28, 23, 18, 0.05); }
  .store-desk-nav a.active {
    color: var(--ink);
    background: rgba(28, 23, 18, 0.08);
  }
  .desk-cart-count {
    display: inline-grid;
    place-items: center;
    min-width: 1.15rem;
    height: 1.15rem;
    margin-left: 0.25rem;
    padding: 0 0.28rem;
    border-radius: 999px;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
  }
  body[data-app="store"].app-shell {
    padding-bottom: 0 !important;
  }
  body[data-app="store"] .app-topbar {
    position: sticky;
    top: 0;
    width: 100%;
    max-width: 100%;
    border-bottom: 1px solid var(--line);
    background: rgba(246, 241, 234, 0.92);
  }
  body[data-app="store"] .app-topbar-inner {
    max-width: min(1520px, 96vw);
    width: 100%;
    margin: 0 auto;
    gap: 1rem;
    padding-inline: 1.75rem;
  }
  .store-main.app-content,
  .store-main {
    max-width: min(1520px, 96vw);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 1.75rem 1.75rem 3.5rem;
  }

  /* Home */
  .hero {
    max-width: none;
    width: 100%;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2rem;
    min-height: 280px;
    margin-bottom: 2rem;
  }
  .hero-copy { padding: 1rem 0; }
  .hero h1 { font-size: clamp(2.6rem, 4vw, 3.8rem); }
  .hero-visual { min-height: 280px; border-radius: 24px; }
  .cat-scroll, .filters {
    overflow: visible;
    flex-wrap: wrap;
    padding-bottom: 1rem;
  }
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
  }
  .menu-section { margin-bottom: 3rem; }
  .section-head h2 { font-size: 2rem; }

  /* Produto */
  .product-detail {
    width: 100%;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 2.5rem;
  }
  .product-detail .detail-media img,
  .product-detail .img-placeholder.large {
    min-height: 420px;
    border-radius: 24px;
  }

  /* Carrinho */
  .cart-page h1,
  .checkout-page h1 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    margin-bottom: 0.25rem;
  }
  .cart-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.7fr);
    gap: 1.5rem;
    align-items: start;
    width: 100%;
  }
  .cart-summary {
    position: sticky;
    top: 5.5rem;
  }

  /* Checkout — largura cheia do main */
  .checkout-page { width: 100%; }
  .checkout-grid {
    width: 100%;
    max-width: none;
    margin: 0;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.7fr);
    gap: 1.5rem;
  }
  .checkout-form,
  .checkout-summary {
    padding: 1.5rem 1.6rem;
  }
  .checkout-summary {
    position: sticky;
    top: 5.5rem;
  }

  /* Meus pedidos */
  .orders-page { width: 100%; }
  .page-head-store h1 {
    font-size: clamp(2rem, 3vw, 2.6rem);
  }
  .order-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }
  .identify-card {
    max-width: 480px;
  }

  /* Confirmação */
  .confirm-card {
    max-width: 640px;
  }

  body[data-app="store"] .install-top,
  body[data-app="store"] .install-banner {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
  .hero {
    min-height: 320px;
  }
  .order-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
