/* ============ Tokens ============ */
:root {
  --brand: #f0442b;
  --brand-600: #d9361f;
  --brand-700: #b02b18;
  --brand-soft: #fff1ed;
  --brand-tint: #ffe3db;
  --ink: #1a1718;
  --ink-2: #433d40;
  --muted: #7c747a;
  --line: #ede8e4;
  --line-strong: #ded6d0;
  --bg: #f8f5f2;
  --surface: #fbf9f7;
  --card: #ffffff;
  --green: #0c7a52;
  --green-soft: #e7f6ee;
  --amber: #a85d00;
  --shadow-xs: 0 1px 2px rgba(26, 23, 24, 0.05);
  --shadow-sm: 0 2px 8px rgba(26, 23, 24, 0.06), 0 1px 2px rgba(26, 23, 24, 0.04);
  --shadow-md: 0 16px 40px rgba(26, 23, 24, 0.1);
  --shadow-lg: 0 30px 60px rgba(26, 23, 24, 0.18);
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font: 'Plus Jakarta Sans', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --header-h: 76px;
  --tabbar-h: 64px;
}

/* ============ Base ============ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  background:
    radial-gradient(1100px 420px at 50% -180px, #ffe7df 0%, rgba(255, 231, 223, 0) 70%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

:focus-visible {
  outline: 3px solid rgba(240, 68, 43, 0.35);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: min(1160px, 100% - 40px);
  margin-inline: auto;
}

.app-shell {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.view-host {
  flex: 1;
}

.page {
  padding: 22px 0 72px;
}

.page--center {
  min-height: 58vh;
  display: grid;
  place-items: center;
}

.view {
  animation: fade-in 0.3s ease both;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 3px rgba(12, 122, 82, 0.16);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(12, 122, 82, 0.07);
  }
}

.is-free {
  color: var(--green) !important;
}

.dot {
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--line-strong);
}

.live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

.muted-text {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ============ Typography helpers ============ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand-700);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.page-head {
  padding: 10px 0 4px;
}

.page-head h1 {
  margin: 8px 0 6px;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.page-head p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.page-head--compact {
  padding-top: 4px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  transition: color 0.18s ease;
}

.back-link:hover {
  color: var(--brand);
}

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:active {
  transform: scale(0.985);
}

.btn--brand {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 20px rgba(240, 68, 43, 0.22);
}

.btn--brand:hover {
  background: var(--brand-600);
  transform: translateY(-1px);
}

.btn--soft {
  background: var(--brand-soft);
  color: var(--brand-700);
}

.btn--soft:hover {
  background: var(--brand-tint);
}

.btn--ghost {
  border-color: var(--line-strong);
  color: var(--ink-2);
  background: #fff;
}

.btn--ghost:hover {
  border-color: var(--ink);
}

.btn--sm {
  padding: 8px 13px;
  border-radius: 10px;
  font-size: 12.5px;
}

.btn--full {
  width: 100%;
}

.btn--grow {
  flex: 1;
}

.btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
  box-shadow: none;
}

.icon-btn {
  display: inline-grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--ink-2);
  transition: background 0.16s ease, color 0.16s ease;
}

.icon-btn:hover {
  background: var(--surface);
  color: var(--ink);
}

.icon-btn--sm {
  width: 28px;
  height: 28px;
}

.link-btn {
  padding: 4px;
  border-radius: 6px;
  color: var(--brand-700);
  font-size: 12.5px;
  font-weight: 700;
}

.link-btn:hover {
  background: var(--brand-soft);
}

/* ============ Cards, badges ============ */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1;
}

.badge--green {
  background: var(--green-soft);
  color: var(--green);
}

.badge--dark {
  background: rgba(20, 18, 19, 0.74);
  color: #fff;
  backdrop-filter: blur(6px);
}

.badge--brand {
  background: var(--brand-soft);
  color: var(--brand-700);
}

.tag {
  align-self: flex-start;
  padding: 3px 7px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand-700);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #b26a00;
  font-size: 12.5px;
  font-weight: 700;
}

.rating--sm {
  font-size: 11px;
}

.avatar {
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6b4f, #c9301a);
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.avatar--sm {
  width: 46px;
  height: 46px;
  font-size: 14px;
}

.avatar--lg {
  width: 68px;
  height: 68px;
  font-size: 22px;
}

/* ============ Header ============ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(237, 232, 228, 0.85);
  background: rgba(248, 245, 242, 0.86);
  backdrop-filter: blur(16px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(150deg, var(--brand) 0%, #c32d16 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(240, 68, 43, 0.28);
}

.brand-text {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.brand-text span {
  color: var(--brand);
}

.location-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px 6px 7px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.location-btn:hover {
  background: #fff;
  border-color: var(--line);
}

.location-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  flex-shrink: 0;
}

.location-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.location-text small {
  color: var(--muted);
  font-size: 9.5px;
  letter-spacing: 0.02em;
}

.location-text strong {
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12.5px;
}

.loc-city {
  font-weight: 700;
}

.location-chevron {
  color: var(--muted);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.topnav a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
  transition: background 0.16s ease, color 0.16s ease;
}

.topnav a:hover {
  background: #fff;
}

.topnav a.is-active {
  background: var(--ink);
  color: #fff;
}

.cart-button {
  position: relative;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.18s ease, color 0.18s ease;
}

.cart-button:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.cart-count {
  position: absolute;
  top: -3px;
  right: -3px;
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 10.5px;
  font-weight: 800;
}

/* ============ Tabbar / cart dock ============ */
.tabbar,
.cart-dock {
  display: none;
}

.footer-note {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-top: 20px;
  padding: 26px 20px 32px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
}

/* ============ Home ============ */
.discovery {
  margin: 6px 0 14px;
}

.discovery-search {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--muted);
}

.discovery-icon {
  display: flex;
  flex-shrink: 0;
}

.discovery-search input {
  flex: 1;
  min-width: 0;
  padding: 11px 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--ink);
  font-size: 15.5px;
}

.discovery-search .btn {
  padding: 12px 24px;
  border-radius: 13px;
}

.categories-bar {
  margin-bottom: 4px;
}

.categories-bar .chips {
  padding-top: 0;
}

.stores .section-head {
  margin-top: 26px;
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.store-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.store-link {
  display: block;
}

.store-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f3e7e0, #e8d8ce);
}

.store-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.store-card:hover .store-media img {
  transform: scale(1.05);
}

.store-media img.is-broken {
  opacity: 0;
}

.store-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 7px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 9px;
  font-weight: 800;
}

.store-card .fav-btn {
  top: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
}

.store-body {
  padding: 10px 12px 11px;
}

.store-body h3 {
  margin: 0 0 3px;
  overflow: hidden;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  color: var(--muted);
  font-size: 10px;
}

.store-meta .rating {
  flex-shrink: 0;
  font-size: 10.5px;
}

.store-cat {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.store-foot {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.mini-store-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mini-store {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mini-store:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.mini-store-media {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(135deg, #f3e7e0, #e8d8ce);
}

.mini-store-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.mini-store:hover .mini-store-media img {
  transform: scale(1.04);
}

.mini-store-media img.is-broken {
  opacity: 0;
}

.mini-store.is-closed .mini-store-media img {
  filter: grayscale(0.8);
  opacity: 0.72;
}

.mini-store-tag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 8px);
  padding: 2px 5px;
  border-radius: 7px;
  background: rgba(12, 9, 10, 0.78);
  color: #fff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-store-body {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  padding: 0;
}

.mini-store-body strong {
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-meta {
  overflow: hidden;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mini-info {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
  margin-top: 3px;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 600;
  white-space: nowrap;
}

.mini-info > span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-info .dot {
  flex-shrink: 0;
}

.mini-info .is-free {
  color: var(--green);
}

.mini-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
  color: var(--green);
  font-size: 9.5px;
  font-weight: 700;
}

.mini-status.is-closed {
  color: #96604f;
}

.status-dot {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ============ Store cover art ============ */
.store-canvas {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(120% 115% at 84% -8%, rgba(240, 68, 43, 0.62), transparent 55%),
    radial-gradient(80% 80% at -10% 112%, rgba(255, 176, 102, 0.2), transparent 60%),
    linear-gradient(155deg, #241512 0%, #0b0908 58%, #1a0e0c 100%);
}

.store-canvas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.55;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 18%, transparent 76%);
  mask-image: radial-gradient(circle at 50% 45%, #000 18%, transparent 76%);
}

.store-canvas::after {
  content: '';
  position: absolute;
  inset: -40%;
  background: linear-gradient(112deg, transparent 44%, rgba(255, 255, 255, 0.13) 50%, transparent 56%);
  transform: rotate(6deg);
  pointer-events: none;
}

.store-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--mark-size, 100%);
  aspect-ratio: 1;
  border: 1px solid rgba(240, 68, 43, 0.34);
  border-radius: 22%;
  background: linear-gradient(150deg, #fffaf7 0%, #f8e6dd 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 10px 24px rgba(12, 9, 10, 0.18);
}

.store-mark::before {
  content: '';
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(240, 68, 43, 0.18);
  border-radius: 17%;
}

.store-mark::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 8px rgba(240, 68, 43, 0.65);
  transform: translateX(-50%);
}

.store-mark-letters {
  font-size: var(--mark-letter, 20px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  background: linear-gradient(135deg, #17100e 10%, #b33020 70%, #f0442b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.rest-media--art {
  --mark-size: 76px;
  --mark-letter: 32px;
  display: grid;
  place-items: center;
}

.rest-cover--art {
  --mark-size: 104px;
  --mark-letter: 44px;
  display: grid;
  place-items: center;
  padding-bottom: 14px;
}

@media (min-width: 640px) {
  .mini-store-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 16px;
  }

  .mini-store-media {
    width: 64px;
    height: 64px;
    border-radius: 12px;
  }
}

.mini-store--art {
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 6px 4px 7px;
  text-align: center;
}

.mini-store-media--art {
  --mark-letter: 20px;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 52px;
  height: auto;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  overflow: visible;
}

.mini-store--art .store-mark {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.9),
    0 6px 14px rgba(12, 9, 10, 0.12);
}

.mini-store--art .store-mark::before {
  inset: 4px;
}

.mini-store--art .store-mark::after {
  top: 5px;
  width: 3px;
  height: 3px;
}

.mini-store.is-closed .store-mark {
  filter: grayscale(0.6);
  opacity: 0.7;
}

.mini-store--art .mini-store-body {
  align-items: center;
  gap: 2px;
  width: 100%;
  padding: 0;
}

.mini-store--art .mini-store-body strong {
  display: -webkit-box;
  min-height: 0;
  font-size: 10px;
  line-height: 1.15;
  text-align: center;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-store--art .mini-status {
  gap: 3px;
  margin-top: 0;
  font-size: 8px;
}

.mini-store-blank {
  min-height: 104px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 640px) {
  .mini-store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 600px;
    gap: 14px;
  }

  .mini-store-media--art {
    --mark-letter: 20px;
    max-width: 56px;
  }

  .mini-store--art .mini-store-body strong {
    font-size: 11px;
  }

  .mini-store--art .mini-status {
    font-size: 8.5px;
  }
}

.offers {
  margin-top: 8px;
}

.offers .section-head {
  margin-top: 30px;
}

.offers .promos {
  margin: 0 0 8px;
}

@media (max-width: 1180px) {
  .store-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .discovery {
    margin: 2px 0 10px;
  }

  .discovery-search {
    width: 100%;
    gap: 9px;
    padding: 5px 5px 5px 14px;
    border-radius: 15px;
  }

  .discovery-search input {
    padding: 10px 0;
    font-size: 14px;
  }

  .discovery-search .btn {
    padding: 11px 17px;
    font-size: 13px;
  }

  .store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .stores .section-head {
    margin-top: 22px;
  }
}

@media (max-width: 640px) {
  .store-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-body {
    padding: 9px 10px 10px;
  }

  .store-body h3 {
    font-size: 13px;
  }

  .store-meta,
  .store-foot {
    font-size: 9.5px;
  }

  .store-meta .rating {
    font-size: 10px;
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 56px;
  align-items: center;
  padding: 40px 0 24px;
}

.hero-copy h1 {
  margin: 18px 0 16px;
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.01;
  letter-spacing: -0.05em;
}

.hero-copy h1 span {
  color: var(--brand);
}

.hero-sub {
  max-width: 46ch;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 560px;
  margin-top: 26px;
  padding: 7px 7px 7px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
  color: var(--muted);
}

.hero-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 14.5px;
}

.hero-search .btn {
  padding: 12px 22px;
}

.hero-facts {
  display: flex;
  gap: 34px;
  margin-top: 30px;
}

.hero-facts strong {
  display: block;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-facts span {
  color: var(--muted);
  font-size: 11.5px;
}

.hero-media {
  position: relative;
}

.hero-img {
  position: relative;
  aspect-ratio: 5 / 4.35;
  overflow: hidden;
  border-radius: 32px;
  background: linear-gradient(135deg, #f3e7e0, #e8d8ce);
  box-shadow: var(--shadow-lg);
}

.hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img img.is-broken {
  opacity: 0;
}

.hero-img-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #b26a00;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.hero-float {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 15px;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow-md);
}

.hero-float strong {
  display: block;
  font-size: 12.5px;
}

.hero-float small {
  color: var(--muted);
  font-size: 11px;
}

.hero-float--top {
  top: 26px;
  left: -26px;
}

.hero-float--bottom {
  right: -22px;
  bottom: 34px;
}

.float-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.float-icon--green {
  background: var(--green-soft);
  color: var(--green);
}

.promos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0 38px;
}

.promo {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 172px;
  padding: 20px;
  overflow: hidden;
  border-radius: 20px;
  color: #fff;
}

.promo::after {
  content: '';
  position: absolute;
  top: -56px;
  right: -44px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.09);
  pointer-events: none;
}

.promo--brand {
  background: linear-gradient(135deg, #ff5a3e, #db2e16);
}

.promo--green {
  background: linear-gradient(135deg, #0e8a5e, #076a47);
}

.promo--dark {
  background: linear-gradient(135deg, #2b2628, #171415);
}

.promo-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.16);
}

.promo-copy small {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.82;
}

.promo-copy strong {
  display: block;
  margin: 3px 0 4px;
  font-size: 19px;
  letter-spacing: -0.025em;
}

.promo-copy p {
  margin: 0;
  font-size: 12px;
  line-height: 1.5;
  opacity: 0.82;
}

.promo-coupon {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;
  margin-top: auto;
  padding: 6px 10px;
  border: 1px dashed rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  transition: background 0.16s ease;
}

.promo-coupon:hover {
  background: rgba(255, 255, 255, 0.26);
}

.category-picker .section-head {
  margin-top: 0;
}

.chips {
  display: flex;
  gap: 10px;
  padding: 4px 2px 12px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 15px 9px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.chip:hover {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.chip-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
}

.chip.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.chip.is-active .chip-icon {
  background: var(--brand);
  color: #fff;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin: 38px 0 18px;
}

.section-head h2 {
  margin: 7px 0 0;
  font-size: clamp(21px, 2.3vw, 27px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-head--sm {
  margin: 16px 0 12px;
}

.section-head--sm h2 {
  margin: 0;
  font-size: 17px;
}

.section-head--sm span {
  color: var(--muted);
  font-size: 11.5px;
}

.section-count {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.rest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.rest-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rest-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.rest-link {
  display: block;
}

.rest-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #f3e7e0, #e8d8ce);
}

.rest-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.rest-card:hover .rest-media img {
  transform: scale(1.04);
}

.rest-media img.is-broken {
  opacity: 0;
}

.rest-media--art {
  background:
    radial-gradient(120% 115% at 84% -8%, rgba(240, 68, 43, 0.62), transparent 55%),
    radial-gradient(80% 80% at -10% 112%, rgba(255, 176, 102, 0.2), transparent 60%),
    linear-gradient(155deg, #241512 0%, #0b0908 58%, #1a0e0c 100%);
}

.rest-badges {
  position: absolute;
  left: 12px;
  bottom: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fav-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(6px);
  transition: transform 0.18s ease, color 0.18s ease;
}

.fav-btn:hover {
  transform: scale(1.07);
}

.fav-btn.is-active {
  color: var(--brand);
}

.rest-body {
  padding: 15px 18px 17px;
}

.rest-title {
  display: flex;
  align-items: center;
  gap: 7px;
}

.rest-title h3 {
  margin: 0;
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.rest-fav-mark {
  display: flex;
  color: var(--brand);
}

.rest-tagline {
  margin: 4px 0 9px;
  overflow: hidden;
  color: var(--muted);
  font-size: 12.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rest-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
}

.rest-foot {
  display: flex;
  gap: 15px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
  color: var(--ink-2);
  font-size: 12px;
  font-weight: 600;
}

.rest-foot span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.rest-free-note {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 9px 0 0;
  color: var(--green);
  font-size: 10.5px;
  font-weight: 600;
}

.steps {
  position: relative;
  margin-top: 56px;
  padding: 40px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(160deg, #241f21, #151213);
  color: #fff;
}

.steps::after {
  content: '';
  position: absolute;
  top: -180px;
  right: -140px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240, 68, 43, 0.28), transparent 68%);
  pointer-events: none;
}

.steps-head {
  position: relative;
  z-index: 1;
}

.steps-head .eyebrow {
  background: rgba(255, 255, 255, 0.1);
  color: #ffb9ab;
}

.steps-head h2 {
  margin: 12px 0 6px;
  font-size: clamp(25px, 3vw, 33px);
  letter-spacing: -0.04em;
}

.steps-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
}

.steps-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 28px;
}

.step-card {
  position: relative;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
}

.step-num {
  position: absolute;
  top: 16px;
  right: 18px;
  color: rgba(255, 255, 255, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--brand);
}

.step-card h3 {
  margin: 0 0 5px;
  font-size: 15.5px;
}

.step-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12.5px;
  line-height: 1.6;
}

/* ============ Search ============ */
.search-hero {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 760px;
  margin: 20px 0 14px;
  padding: 7px 7px 7px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  color: var(--muted);
}

.search-hero input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  font-size: 14.5px;
}

.search-chips {
  margin-bottom: 6px;
}

.search-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 22px 0 18px;
}

.search-meta h2 {
  margin: 0;
  font-size: 21px;
  letter-spacing: -0.03em;
}

.search-meta span {
  color: var(--muted);
  font-size: 12px;
}

/* ============ Restaurant page ============ */
.rest-cover {
  position: relative;
  height: 330px;
  overflow: hidden;
  background: linear-gradient(135deg, #eaddd5, #d9c8bd);
}

.rest-cover > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rest-cover > img.is-broken {
  opacity: 0;
}

.rest-cover--art {
  background:
    radial-gradient(120% 115% at 84% -8%, rgba(240, 68, 43, 0.62), transparent 55%),
    radial-gradient(80% 80% at -10% 112%, rgba(255, 176, 102, 0.2), transparent 60%),
    linear-gradient(155deg, #241512 0%, #0b0908 58%, #1a0e0c 100%);
}

.rest-cover-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(12, 9, 10, 0.38), rgba(12, 9, 10, 0) 42%, rgba(12, 9, 10, 0.22));
}

.rest-cover-actions {
  position: absolute;
  top: 20px;
  left: 50%;
  display: flex;
  justify-content: space-between;
  width: min(1160px, 100% - 40px);
  transform: translateX(-50%);
}

.round-btn {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.93);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  transition: transform 0.18s ease, color 0.18s ease;
}

.round-btn:hover {
  transform: translateY(-1px);
}

.round-btn.is-active {
  color: var(--brand);
}

.restaurant-page {
  padding-top: 0;
}

.rest-info {
  position: relative;
  z-index: 2;
  margin-top: -84px;
  padding: 24px 28px;
  border-radius: 24px;
}

.rest-info-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.rest-info-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-bottom: 9px;
}

.rest-info h1 {
  margin: 0;
  font-size: clamp(27px, 3.4vw, 37px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.rest-info-copy > p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 13.5px;
}

.open-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 10.5px;
  font-weight: 700;
}

.open-pill--closed {
  background: #f4efed;
  color: #8f5c4c;
}

.rest-rating-card {
  flex-shrink: 0;
  padding: 11px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  text-align: center;
}

.rating-big {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #b26a00;
  font-size: 18px;
  font-weight: 800;
}

.rest-rating-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 10px;
}

.rest-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}

.stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
}

.stat strong {
  color: var(--ink-2);
  font-weight: 700;
}

.free-ship-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 15px;
  padding: 10px 13px;
  border-radius: 11px;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12.5px;
}

.rest-address {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}

.closed-banner {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin-top: 14px;
  padding: 13px 15px;
  border: 1px solid #f0d9d1;
  border-radius: 14px;
  background: #fff6f2;
  color: #8f4a36;
  font-size: 12.5px;
  line-height: 1.55;
}

.closed-banner strong {
  font-weight: 800;
}

.rest-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 28px;
  align-items: start;
  margin-top: 26px;
}

.rest-layout > * {
  min-width: 0;
}

.rest-menu {
  min-width: 0;
}

.menu-tabs {
  position: sticky;
  top: calc(var(--header-h) + 10px);
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
  padding: 10px 2px;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 242, 0.9);
  backdrop-filter: blur(12px);
  scrollbar-width: none;
}

.menu-tabs::-webkit-scrollbar {
  display: none;
}

.menu-tab {
  padding: 8px 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.menu-tab:hover {
  background: #fff;
  color: var(--ink);
}

.menu-tab.is-active {
  background: var(--ink);
  color: #fff;
}

.menu-count {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

.menu-section {
  padding: 24px 0 6px;
  scroll-margin-top: 138px;
}

.menu-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
}

.menu-section-head h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.menu-section-head span {
  color: var(--muted);
  font-size: 11.5px;
}

.menu-item {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-bottom: 10px;
  padding: 15px 15px 15px 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-align: left;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.menu-item:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.menu-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.menu-item-copy > strong {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.menu-item-desc {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.menu-item-price {
  margin-top: 1px;
  font-size: 13.5px;
  font-weight: 800;
}

.menu-item-side {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  width: 104px;
  min-height: 40px;
  flex-shrink: 0;
}

.menu-item-side:not(:has(.menu-item-media)) {
  width: 40px;
  align-items: center;
}

.menu-item-media {
  width: 104px;
  height: 104px;
  overflow: hidden;
  border-radius: 14px;
  background: var(--surface);
}

.menu-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.menu-item-media img.is-broken {
  opacity: 0;
}

.add-circle {
  position: absolute;
  right: -4px;
  bottom: -4px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.menu-item-side:not(:has(.menu-item-media)) .add-circle {
  position: static;
}

.menu-footer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  padding: 16px;
  border: 1px dashed var(--line-strong);
  border-radius: 14px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.menu-footer p {
  margin: 0;
}

.rest-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.mini-cart {
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.mini-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
}

.mini-head strong {
  font-size: 15px;
}

.mini-head span {
  color: var(--muted);
  font-size: 11.5px;
}

.mini-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 210px;
  overflow: auto;
}

.mini-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 12.5px;
}

.mini-line span {
  flex: 1;
  color: var(--ink-2);
}

.mini-line strong {
  font-size: 12.5px;
}

.mini-progress {
  height: 6px;
  margin: 13px 0 6px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--green-soft);
}

.mini-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--green);
  transition: width 0.3s ease;
}

.mini-hint {
  display: block;
  margin-bottom: 8px;
  color: var(--green);
  font-size: 11px;
}

.mini-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
  font-size: 13px;
}

.mini-total strong {
  font-size: 18px;
  letter-spacing: -0.03em;
}

.mini-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 16px 4px;
  text-align: center;
}

.mini-empty-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.mini-empty strong {
  font-size: 14px;
}

.mini-empty p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

/* ============ Sheets ============ */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(20, 17, 18, 0.48);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.sheet-backdrop.is-open {
  opacity: 1;
}

.sheet {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 680px;
  max-height: 93vh;
  border-radius: 24px 24px 0 0;
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(24px);
  transition: transform 0.24s ease;
}

.sheet--sm {
  max-width: 440px;
}

.sheet--lg {
  max-width: 580px;
}

.sheet-backdrop.is-open .sheet {
  transform: translateY(0);
}

.sheet-grab {
  width: 40px;
  height: 4px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: var(--line-strong);
}

.sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 22px 12px;
  border-bottom: 1px solid var(--line);
}

.sheet-head h2 {
  margin: 0;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.sheet-head p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.5;
}

.sheet-body {
  padding: 18px 22px;
  overflow-y: auto;
}

.sheet-foot {
  display: flex;
  gap: 10px;
  padding: 13px 22px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #fff;
}

.sheet-foot .btn {
  flex: 1;
}

.sheet-item-image {
  height: 190px;
  margin: -18px -22px 16px;
  overflow: hidden;
  background: var(--surface);
}

.sheet-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sheet-item-image img.is-broken {
  opacity: 0;
}

.sheet-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
}

.sheet-price {
  font-size: 18px;
  font-weight: 800;
}

.sheet-message {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.sheet-add {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.option-group {
  margin: 0 0 20px;
  padding: 0;
  border: 0;
}

.option-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 9px;
}

.option-group legend {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0;
  font-size: 14.5px;
  font-weight: 800;
}

.option-group-head small {
  color: var(--muted);
  font-size: 10.5px;
}

.req {
  padding: 3px 6px;
  border-radius: 5px;
  background: var(--brand-soft);
  color: var(--brand-700);
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.option-cards {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.option-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-card:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.option-card.is-checked {
  border-color: var(--brand);
  background: #fff9f7;
  box-shadow: 0 0 0 1px var(--brand);
}

.option-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-copy {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.option-copy small {
  color: var(--muted);
  font-size: 11.5px;
}

.option-indicator {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  color: #fff;
}

.option-card.is-checked .option-indicator {
  border-color: var(--brand);
  background: var(--brand);
}

.option-qty {
  display: none;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
  padding: 2px 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.option-card.is-checked .option-qty {
  display: inline-flex;
}

.option-qty button {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--brand);
}

.option-qty button:hover {
  background: var(--brand-soft);
}

.option-qty-value {
  min-width: 14px;
  text-align: center;
  font-size: 11.5px;
  font-weight: 700;
}

/* ============ Forms ============ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field--span2 {
  grid-column: span 2;
}

.field label {
  color: var(--ink-2);
  font-size: 11.5px;
  font-weight: 700;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 13.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(240, 68, 43, 0.11);
}

.field textarea {
  min-height: 62px;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-size: 10.5px;
}

.field--error input {
  border-color: var(--brand);
  background: #fff8f6;
}

.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 14px;
  color: var(--ink-2);
  font-size: 12.5px;
  cursor: pointer;
}

.check-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--brand);
}

.form-stack {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.form-alert {
  padding: 13px 15px;
  border: 1px solid #ffd6ca;
  border-radius: 12px;
  background: #fff4f0;
  color: var(--brand-700);
  font-size: 12.5px;
}

.form-alert strong {
  display: block;
  margin-bottom: 5px;
}

.form-alert ul {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 17px;
}

/* ============ Toast ============ */
.toast-root {
  position: fixed;
  bottom: calc(var(--tabbar-h) + 86px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: min(430px, calc(100% - 32px));
  transform: translateX(-50%);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 16px;
  border-radius: 12px;
  background: #211d1f;
  color: #fff;
  font-size: 12.5px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.toast--success .icon {
  color: #6de3ae;
}

.toast--error .icon {
  color: #ffb4a4;
}

.toast--default .icon {
  color: #ffc9a8;
}

/* ============ Empty state ============ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 430px;
  padding: 36px 20px;
  text-align: center;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  border-radius: 24px;
  background: var(--brand-soft);
  color: var(--brand);
}

.empty-state h1,
.empty-state h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.empty-state p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.empty-state--inline {
  grid-column: 1 / -1;
  margin: 0 auto;
  padding: 28px 20px;
}

/* ============ Cart ============ */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.cart-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cart-summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  padding: 21px;
}

.cart-summary h2 {
  margin: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.summary-sub {
  margin: 4px 0 13px;
  color: var(--muted);
  font-size: 11.5px;
}

.cart-rest {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 13px 17px;
}

.cart-rest > img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--surface);
  object-fit: cover;
}

.cart-rest > img.is-broken {
  opacity: 0;
}

.cart-rest-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.cart-rest-copy small {
  color: var(--muted);
  font-size: 10.5px;
}

.cart-rest-copy strong {
  font-size: 14px;
}

.cart-rest-copy span {
  color: var(--muted);
  font-size: 11px;
}

.cart-items-card {
  padding: 19px 21px 6px;
}

.cart-line {
  display: flex;
  gap: 13px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.cart-line:first-child {
  border-top: 0;
}

.cart-line-media {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--surface);
}

.cart-line-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-line-media img.is-broken {
  opacity: 0;
}

.cart-line-placeholder {
  color: var(--muted);
}

.cart-line-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.cart-line-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.cart-line-top strong {
  font-size: 13.5px;
}

.cart-line-options {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.cart-line-notes {
  margin: 0;
  color: var(--brand-700);
  font-size: 11px;
}

.cart-line-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 5px;
}

.cart-line-foot > strong {
  font-size: 13.5px;
}

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: var(--brand);
  transition: background 0.15s ease;
}

.stepper button:hover {
  background: var(--brand-soft);
}

.stepper span {
  min-width: 17px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 700;
}

.stepper--lg {
  padding: 5px;
}

.stepper--lg button {
  width: 33px;
  height: 33px;
}

.coupon-card {
  padding: 19px 21px;
}

.coupon-form {
  display: flex;
  gap: 8px;
}

.coupon-form input {
  flex: 1;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  outline: none;
  background: #fff;
  font-size: 12.5px;
  text-transform: uppercase;
}

.coupon-form input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(240, 68, 43, 0.1);
}

.coupon-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 11px;
}

.coupon-chip {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 100%;
  padding: 9px 11px;
  border: 1px dashed var(--line-strong);
  border-radius: 10px;
  background: #fff;
  text-align: left;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.coupon-chip:hover {
  border-color: var(--brand);
  background: #fff9f7;
}

.coupon-chip strong {
  font-size: 11px;
  letter-spacing: 0.04em;
}

.coupon-chip small {
  color: var(--muted);
  font-size: 10.5px;
}

.coupon-chip em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  line-height: 1.3;
}

.coupon-applied {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--green-soft);
}

.coupon-code {
  padding: 4px 7px;
  border: 1px dashed var(--line-strong);
  border-radius: 6px;
  background: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.coupon-label {
  flex: 1;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
}

.coupon-applied .link-btn {
  color: var(--green);
}

.note-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 17px 19px;
}

.note-card p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.sum-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 0;
  color: var(--ink-2);
  font-size: 12.5px;
}

.sum-row--discount {
  color: var(--green);
  font-weight: 600;
}

.sum-row s {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10.5px;
}

.sum-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 13px 0;
  border-top: 1px dashed var(--line);
  font-size: 13.5px;
}

.sum-total strong {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.sum-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 11px 0 0;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
}

.inline-warning {
  margin: 9px 0;
  padding: 9px 11px;
  border: 1px solid #ffe0b8;
  border-radius: 9px;
  background: #fff6ec;
  color: var(--amber);
  font-size: 11px;
  line-height: 1.5;
}

.cart-mobile-bar,
.checkout-mobile-bar {
  display: none;
}

.card-head {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 14px;
}

.card-head > div {
  flex: 1;
}

.card-head strong {
  display: block;
  font-size: 14.5px;
}

.card-head small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.card-head .btn {
  flex-shrink: 0;
}

.head-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

/* ============ Checkout ============ */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 355px;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.checkout-main {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.form-card {
  padding: 20px 22px;
}

.step-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 800;
}

.pay-options {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.pay-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.pay-card:hover {
  border-color: var(--line-strong);
  background: var(--surface);
}

.pay-card.is-checked {
  border-color: var(--brand);
  background: #fff9f7;
  box-shadow: 0 0 0 1px var(--brand);
}

.pay-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pay-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
}

.pay-card.is-checked .pay-icon {
  background: var(--brand-soft);
  color: var(--brand);
}

.pay-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.pay-copy strong {
  font-size: 12.5px;
}

.pay-copy small {
  color: var(--muted);
  font-size: 10.5px;
}

.pay-note {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 10.5px;
}

#change-field {
  margin-top: 12px;
}

.order-review {
  padding: 21px;
}

.order-review h2 {
  margin: 0 0 13px;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.review-rest {
  display: flex;
  align-items: center;
  gap: 11px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.review-rest img {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: var(--surface);
  object-fit: cover;
}

.review-rest img.is-broken {
  opacity: 0;
}

.review-rest strong {
  display: block;
  font-size: 13px;
}

.review-rest small {
  display: block;
  margin-top: 2px;
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.review-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: 8px;
}

.review-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--ink-2);
  font-size: 12px;
}

/* ============ Orders list ============ */
.segmented {
  display: inline-flex;
  gap: 3px;
  max-width: 100%;
  margin: 16px 0 18px;
  padding: 4px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  scrollbar-width: none;
}

.segmented::-webkit-scrollbar {
  display: none;
}

.segmented-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease;
}

.segmented-btn span {
  padding: 2px 6px;
  border-radius: 999px;
  background: var(--surface);
  font-size: 10px;
}

.segmented-btn.is-active {
  background: var(--ink);
  color: #fff;
}

.segmented-btn.is-active span {
  background: rgba(255, 255, 255, 0.18);
}

.orders-section {
  margin-bottom: 26px;
}

.orders-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.order-card {
  overflow: hidden;
}

.order-card-main {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 17px;
}

.order-card-main > img {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: var(--surface);
  object-fit: cover;
}

.order-card-main > img.is-broken {
  opacity: 0;
}

.order-card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.order-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
}

.order-card-top strong {
  font-size: 14.5px;
}

.order-card-copy > small {
  color: var(--muted);
  font-size: 10.5px;
}

.order-card-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 11.5px;
}

.order-card-meta strong {
  color: var(--ink);
}

.order-card-chevron {
  color: var(--muted);
}

.order-card-progress {
  height: 5px;
  margin-top: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--brand-soft);
}

.order-card-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--brand);
  transition: width 0.4s ease;
}

.order-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  padding: 0 17px 14px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 9.5px;
  font-weight: 700;
  white-space: nowrap;
}

.status-pill--done {
  background: var(--green-soft);
  color: var(--green);
}

.status-pill--live {
  background: var(--brand-soft);
  color: var(--brand-700);
}

/* ============ Order tracking ============ */
.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 24px;
  align-items: start;
  margin-top: 18px;
}

.order-main {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.order-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.order-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 25px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(140deg, #ff5b3d 0%, #d9331b 100%);
  color: #fff;
  box-shadow: 0 18px 40px rgba(240, 68, 43, 0.28);
}

.order-hero::after {
  content: '';
  position: absolute;
  top: -100px;
  right: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.order-hero--done {
  background: linear-gradient(140deg, #12895f, #076b49);
  box-shadow: 0 18px 40px rgba(12, 122, 82, 0.22);
}

.order-hero-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.16);
}

.order-hero-copy {
  position: relative;
  z-index: 1;
}

.order-hero-copy .eyebrow {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.order-hero-copy h2 {
  margin: 9px 0 3px;
  font-size: 25px;
  letter-spacing: -0.035em;
}

.order-hero-copy p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.5;
  opacity: 0.86;
}

.order-eta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  padding: 8px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
}

.order-eta strong {
  margin-left: auto;
  font-size: 16px;
}

.order-delivered-at {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 13px;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 11.5px;
}

.order-hero-progress {
  grid-column: 1 / -1;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.order-hero-progress span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #fff;
  transition: width 0.6s ease;
}

.order-live-note {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-size: 10.5px;
  opacity: 0.82;
}

.timeline-card {
  padding: 6px 21px;
}

.timeline-step {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 0;
}

.timeline-step + .timeline-step {
  border-top: 1px dashed var(--line);
}

.timeline-dot {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border: 1.5px solid var(--line-strong);
  border-radius: 50%;
  background: var(--surface);
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 700;
}

.timeline-step.is-done .timeline-dot {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

.timeline-step.is-current .timeline-dot {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(240, 68, 43, 0.15);
}

.timeline-copy {
  flex: 1;
}

.timeline-copy strong {
  display: block;
  font-size: 13px;
}

.timeline-copy small {
  color: var(--muted);
  font-size: 11px;
}

.timeline-step.is-current .timeline-copy strong {
  color: var(--brand-700);
}

.timeline-time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.courier-card {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 19px;
}

.courier-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.courier-copy small {
  color: var(--muted);
  font-size: 10.5px;
}

.courier-copy strong {
  font-size: 13.5px;
}

.courier-copy span {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11px;
}

.order-items-card {
  padding: 18px 21px;
}

.order-items {
  display: flex;
  flex-direction: column;
}

.order-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
}

.order-item:first-child {
  border-top: 0;
}

.order-item-qty {
  flex-shrink: 0;
  padding: 2px 6px;
  border-radius: 6px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
}

.order-item-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.order-item-copy strong {
  font-size: 12.5px;
}

.order-item-copy small {
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.5;
}

.order-item-note {
  color: var(--brand-700) !important;
}

.order-item-price {
  font-size: 12.5px;
}

.order-totals {
  margin-top: 5px;
  padding-top: 11px;
  border-top: 1px dashed var(--line);
}

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
  padding: 18px 21px;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 11px;
}

.info-block--wide {
  grid-column: 1 / -1;
}

.info-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink-2);
}

.info-block small {
  display: block;
  color: var(--muted);
  font-size: 10px;
}

.info-block strong {
  display: block;
  margin-top: 2px;
  font-size: 12.5px;
}

.info-block p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.order-actions-card {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 19px;
}

.order-actions-card h2 {
  margin: 0 0 5px;
  font-size: 15px;
}

.review-card {
  padding: 19px;
}

.review-card--pending {
  display: flex;
  align-items: center;
  gap: 13px;
}

.review-card--pending p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
}

.review-form {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.star-picker {
  display: flex;
  justify-content: center;
  gap: 3px;
  padding: 4px 0;
}

.star-btn {
  color: var(--line-strong);
  transition: transform 0.15s ease, color 0.15s ease;
}

.star-btn.is-on {
  color: #f5a623;
}

.star-btn:hover {
  transform: scale(1.08);
}

.review-done {
  display: flex;
  align-items: flex-start;
  gap: 13px;
}

.review-check {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-top: 5px;
  color: #f5a623;
}

.review-star .icon {
  fill: currentColor;
}

.review-star:not(.is-filled) {
  color: var(--line-strong);
}

.review-comment {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  font-style: italic;
}

.help-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.help-item strong {
  font-size: 13px;
}

.help-item p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

/* ============ Profile ============ */
.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 22px;
  align-items: start;
  margin-top: 18px;
}

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.profile-aside {
  position: sticky;
  top: calc(var(--header-h) + 18px);
}

.profile-main > .card {
  padding: 19px 21px;
}

.profile-card {
  display: flex;
  align-items: center;
  gap: 17px;
}

.profile-id {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}

.profile-id strong {
  font-size: 18px;
  letter-spacing: -0.025em;
}

.profile-id span {
  color: var(--muted);
  font-size: 12px;
}

.profile-id small {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  color: var(--brand-700);
  font-size: 10.5px;
}

.profile-card > .btn {
  align-self: flex-start;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 15px !important;
  text-align: center;
}

.profile-stats div + div {
  border-left: 1px solid var(--line);
}

.profile-stats strong {
  display: block;
  font-size: 19px;
  font-weight: 800;
}

.profile-stats span {
  color: var(--muted);
  font-size: 10.5px;
}

.address-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.address-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.address-item-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink-2);
}

.address-item-copy {
  flex: 1;
  min-width: 0;
}

.address-item-copy strong {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
}

.address-item-copy small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.address-item-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.address-item-actions .link-btn {
  padding: 9px 10px;
  font-size: 13.5px;
  font-weight: 800;
}

.address-item-actions .icon-btn--sm {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--surface);
}

.favorites-list,
.coupon-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.favorite-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 12px;
}

.favorite-main {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.favorite-main img {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--surface);
  object-fit: cover;
}

.favorite-main img.is-broken {
  opacity: 0;
}

.favorite-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.favorite-copy strong {
  font-size: 12.5px;
}

.favorite-copy small {
  overflow: hidden;
  color: var(--muted);
  font-size: 10.5px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.favorite-row .icon-btn {
  color: var(--brand);
}

.coupon-row {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 13px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
}

.coupon-row-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 1px;
}

.coupon-row-copy strong {
  font-size: 12px;
}

.coupon-row-copy small {
  color: var(--muted);
  font-size: 10.5px;
}

.install-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.install-note--hint {
  margin-top: 10px;
}

.install-note--ok {
  color: var(--green);
}

.danger-card .card-head {
  margin-bottom: 12px;
}

.profile-tip {
  padding: 21px;
  border: 0;
  background: linear-gradient(160deg, #241f21, #171415);
  color: #fff;
}

.tip-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 13px;
  border-radius: 14px;
  background: var(--brand);
}

.profile-tip h2 {
  margin: 0 0 7px;
  font-size: 18px;
}

.profile-tip p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11.5px;
  line-height: 1.65;
}

.profile-tip .tip-meta {
  margin-top: 15px !important;
  color: rgba(255, 255, 255, 0.42) !important;
  font-size: 10.5px !important;
}

/* ============ Responsive ============ */
@media (max-width: 1180px) {
  .topnav {
    display: none;
  }
}

@media (max-width: 1180px) and (min-width: 901px) {
  .cart-button {
    margin-left: auto;
  }
}

@media (max-width: 1024px) {
  .rest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rest-layout,
  .cart-layout,
  .checkout-layout,
  .order-layout,
  .profile-layout {
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 20px;
  }

  .hero {
    gap: 34px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-h: 64px;
  }

  .container {
    width: calc(100% - 32px);
  }

  .topbar-inner {
    gap: 8px;
    height: var(--header-h);
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand-text {
    font-size: 17px;
  }

  .location-btn {
    gap: 6px;
    max-width: 42%;
    margin-left: auto;
    padding: 5px 6px;
    border: 0;
    background: transparent;
  }

  .location-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }

  .location-text small,
  .location-chevron {
    display: none;
  }

  .location-text strong {
    max-width: 120px;
    font-size: 11.5px;
  }

  .loc-city {
    display: none;
  }

  .cart-button {
    width: 40px;
    height: 40px;
  }

  .page {
    padding-bottom: 150px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 26px 0 12px;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 9vw, 48px);
  }

  .hero-sub {
    font-size: 14.5px;
  }

  .hero-media {
    display: block;
  }

  .hero-img {
    aspect-ratio: 16 / 9;
    border-radius: 22px;
  }

  .hero-float {
    display: none;
  }

  .hero-img-badge {
    left: 12px;
    bottom: 12px;
    padding: 6px 10px;
    font-size: 10.5px;
  }

  .hero-facts {
    gap: 26px;
    margin-top: 22px;
  }

  .hero-facts strong {
    font-size: 19px;
  }

  .hero-search {
    padding: 6px 6px 6px 14px;
    border-radius: 14px;
  }

  .hero-search .btn {
    padding: 11px 16px;
    font-size: 13px;
  }

  .promos {
    display: flex;
    gap: 11px;
    margin: 8px 0 26px;
    padding-bottom: 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .promos::-webkit-scrollbar {
    display: none;
  }

  .promo {
    min-width: 79%;
    min-height: 166px;
    scroll-snap-align: start;
  }

  .section-head {
    margin: 28px 0 15px;
  }

  .rest-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .rest-media {
    aspect-ratio: 16 / 8.6;
  }

  .steps {
    margin-top: 38px;
    padding: 26px 22px 22px;
    border-radius: 24px;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 11px;
    margin-top: 20px;
  }

  .step-card {
    padding: 18px;
  }

  .step-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
  }

  .rest-cover {
    height: 218px;
  }

  .rest-cover-actions {
    top: 14px;
    width: calc(100% - 28px);
  }

  .round-btn {
    width: 38px;
    height: 38px;
  }

  .rest-info {
    margin-top: -62px;
    padding: 19px;
    border-radius: 20px;
  }

  .rest-info-top {
    gap: 14px;
  }

  .rest-info h1 {
    font-size: 27px;
  }

  .rest-rating-card {
    padding: 9px 12px;
  }

  .rating-big {
    font-size: 15px;
  }

  .rest-stats {
    gap: 8px 16px;
  }

  .rest-layout {
    grid-template-columns: 1fr;
    margin-top: 20px;
  }

  .rest-aside {
    display: none;
  }

  .menu-tabs {
    top: calc(var(--header-h) + 6px);
    margin-inline: -2px;
  }

  .menu-section {
    scroll-margin-top: 128px;
  }

  .menu-item {
    padding: 13px 13px 13px 15px;
    gap: 12px;
  }

  .menu-item-side {
    width: 88px;
  }

  .menu-item-media {
    width: 88px;
    height: 88px;
  }

  .add-circle {
    width: 31px;
    height: 31px;
  }

  .cart-layout,
  .checkout-layout,
  .order-layout,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cart-summary,
  .checkout-aside,
  .order-aside,
  .profile-aside {
    position: static;
  }

  .cart-summary {
    order: 2;
  }

  .cart-mobile-bar,
  .checkout-mobile-bar {
    position: fixed;
    right: 0;
    bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
    left: 0;
    z-index: 58;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 24px rgba(26, 23, 24, 0.06);
  }

  .cart-mobile-info,
  .checkout-mobile-bar > div {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .cart-mobile-info small,
  .checkout-mobile-bar small {
    color: var(--muted);
    font-size: 10px;
  }

  .cart-mobile-info strong,
  .checkout-mobile-bar strong {
    font-size: 17px;
    letter-spacing: -0.03em;
  }

  .tabbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(18px);
  }

  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 3px 0;
    border-radius: 10px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
  }

  .tabbar a.is-active {
    color: var(--brand);
  }

  .cart-dock {
    position: fixed;
    bottom: calc(var(--tabbar-h) + 10px + env(safe-area-inset-bottom));
    left: 50%;
    z-index: 57;
    display: flex;
    align-items: center;
    gap: 11px;
    width: min(520px, calc(100% - 24px));
    padding: 10px 14px;
    border-radius: 16px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 14px 34px rgba(240, 68, 43, 0.35);
    transform: translateX(-50%);
  }

  .cart-dock-badge {
    display: grid;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
    font-weight: 800;
  }

  .cart-dock-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    line-height: 1.2;
  }

  .cart-dock-text strong {
    font-size: 12.5px;
  }

  .cart-dock-text small {
    font-size: 10px;
    opacity: 0.82;
  }

  .cart-dock-total {
    font-size: 13.5px;
    font-weight: 800;
  }

  .footer-note {
    display: none;
  }

  .toast-root {
    bottom: calc(var(--tabbar-h) + 84px + env(safe-area-inset-bottom));
  }

  .order-hero {
    padding: 20px;
    gap: 13px;
  }

  .order-hero-icon {
    width: 48px;
    height: 48px;
    border-radius: 15px;
  }

  .order-hero-copy h2 {
    font-size: 22px;
  }

  .info-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .info-block--wide {
    grid-column: auto;
  }

  .timeline-card {
    padding: 4px 18px;
  }

  .profile-aside {
    display: none;
  }
}

@media (min-width: 720px) {
  .sheet-backdrop {
    align-items: center;
    padding: 24px;
  }

  .sheet {
    border-radius: 24px;
  }

  .sheet-backdrop.is-open .sheet {
    transform: translateY(0) scale(1);
  }

  .sheet {
    transform: translateY(10px) scale(0.99);
  }

  .sheet-grab {
    display: none;
  }

  .toast-root {
    bottom: 28px;
  }
}

@media (max-width: 640px) {
  .hero-copy h1 {
    font-size: 39px;
  }

  .hero-facts {
    justify-content: space-between;
    gap: 10px;
  }

  .rest-info-top {
    flex-direction: column;
  }

  .rest-rating-card {
    align-self: flex-start;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
  }

  .rest-rating-card small {
    margin: 0;
  }

  .search-hero {
    padding-left: 14px;
  }

  .search-hero .btn {
    padding: 10px 14px;
    font-size: 12.5px;
  }

  .search-meta {
    align-items: flex-start;
  }

  .search-meta h2 {
    font-size: 18px;
  }

  .cart-items-card,
  .coupon-card,
  .form-card,
  .order-review,
  .order-items-card,
  .info-grid,
  .review-card,
  .order-actions-card {
    padding: 17px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field--span2 {
    grid-column: auto;
  }

  .cart-line-media {
    width: 54px;
    height: 54px;
  }

  .order-card-main {
    gap: 12px;
    padding: 14px;
  }

  .order-card-main > img {
    width: 60px;
    height: 60px;
  }

  .order-card-actions {
    padding: 0 14px 13px;
  }

  .order-card-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .profile-card {
    flex-wrap: wrap;
  }

  .profile-id {
    flex-basis: calc(100% - 86px);
  }

  .profile-card > .btn {
    margin-left: 85px;
  }

  .profile-card {
    align-items: flex-start;
  }

  .profile-card > .btn {
    align-self: center;
  }

  .address-item {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .address-item-copy {
    flex-basis: auto;
    min-width: 0;
  }

  .address-item-actions {
    margin-left: 0;
    flex-shrink: 0;
  }

  .sheet-body {
    padding: 16px 18px;
  }

  .sheet-head {
    padding: 13px 18px 11px;
  }

  .sheet-foot {
    padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  }

  .sheet-item-image {
    margin: -16px -18px 14px;
    height: 165px;
  }

  .option-group-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .toast {
    font-size: 12px;
    padding: 10px 14px;
  }
}

@media (max-width: 400px) {
  .hero-copy h1 {
    font-size: 34px;
  }

  .hero-facts strong {
    font-size: 17px;
  }

  .hero-facts span {
    font-size: 10.5px;
  }

  .location-text strong {
    max-width: 96px;
  }

  .brand-text {
    font-size: 15.5px;
  }

  .cart-line-foot {
    flex-wrap: wrap;
  }

  .segmented-btn {
    padding: 8px 10px;
    font-size: 11.5px;
  }
}

/* ============ RotaÊ identity ============ */
.rotae-intro {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.rotae-intro p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.rotae-intro strong {
  color: var(--ink);
}

.rotae-badge {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(240, 68, 43, 0.1);
  color: var(--brand);
}

.rotae-card .muted-text {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 0;
}

#rotae-form .form-alert {
  margin: 0;
}

.rt-code-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.rt-code-row input {
  flex: 1;
  min-width: 0;
}

.rt-code-row .btn {
  flex-shrink: 0;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============ Área da loja (cupons RotaÊ) ============ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
@media (max-width: 560px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stats-grid .stat { flex-direction: column; align-items: center; gap: 2px; padding: 10px 6px; background: var(--bg-soft, transparent); border-radius: 10px; }
.stats-grid .stat strong { font-size: 22px; font-weight: 800; }
.stats-grid .stat small { color: var(--muted); font-size: 11px; font-weight: 600; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.field-row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.field-row .field { flex: 1; min-width: 170px; }
.pay-note--ok,
.pay-note--erro { font-size: 12.5px; line-height: 17px; border-radius: 10px; padding: 10px 12px; }
.pay-note--ok { color: #1c7a3d; background: #e9f8ee; border: 1px solid #bfe8cc; }
.pay-note--erro { color: #b3261e; background: #fdecea; border: 1px solid #f5c6c0; }
.empty-state--wide { max-width: 440px; }
.empty-state--wide .form-card--flat { width: 100%; margin-top: 14px; text-align: left; }

/* ============ Entrada do cliente (login/cadastro) ============ */
body.auth-mode .topbar,
body.auth-mode .tabbar,
body.auth-mode .footer-note,
body.auth-mode .cart-dock { display: none !important; }
body.auth-mode { background: #fff7f3; }
.auth-page { max-width: 460px; margin: 0 auto; padding: 28px 16px 40px; }
.auth-hero { text-align: center; margin-bottom: 20px; }
.auth-logo {
  width: 64px; height: 64px; border-radius: 20px; display: inline-grid; place-items: center;
  background: #F0442B; color: #fff; margin-bottom: 10px;
}
.auth-hero h1 { font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.auth-hero p { color: var(--muted); font-size: 13.5px; margin-top: 3px; }
.auth-tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: #f1ece9; margin-bottom: 14px; }
.auth-tab { flex: 1; padding: 10px; border-radius: 10px; font-weight: 700; font-size: 13.5px; color: var(--muted); background: transparent; }
.auth-tab.is-active { background: #fff; color: #F0442B; box-shadow: 0 2px 8px rgba(0, 0, 0, .08); }
.auth-form { display: flex; flex-direction: column; gap: 12px; }
.auth-form[hidden] { display: none; }
.auth-callout {
  display: flex; gap: 10px; align-items: flex-start; background: #fff;
  border: 1px solid #f0e2dc; border-radius: 14px; padding: 12px;
  color: var(--muted); font-size: 12.5px; line-height: 18px;
}
.auth-callout .icon { color: #F0442B; flex-shrink: 0; }
.auth-callout p { margin: 0; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 420px) { .auth-grid { grid-template-columns: 1fr; } }
.auth-hint { font-size: 12px; color: var(--muted); text-align: center; margin: 0; }
.auth-hint--left { text-align: left; }
.auth-hint .link-btn { color: #F0442B; font-weight: 700; }

/* ============ Lojas em breve ============ */
.mini-store.is-soon { opacity: .78; cursor: default; }
.mini-store.is-soon .mini-store-media img { filter: grayscale(.25); }
.mini-status.is-soon { color: #b06a00; }

/* Frete grátis com cupom: taxa riscada + selo */
.frete-gratis { color: var(--green); font-weight: 800; margin-left: 4px; font-size: 11.5px; }

/* Carrinho com fontes maiores */
.cart-page { font-size: 15px; }
.cart-line-body strong { font-size: 15.5px; }
.cart-line-options, .cart-line-notes { font-size: 13px; }
.cart-line-foot strong { font-size: 15px; }
.cart-page .stepper span { font-size: 14px; }
.summary-sub { font-size: 13px; }
.sum-row { font-size: 14px; }
.coupon-form input { font-size: 15px; }
.cart-page .btn { font-size: 14px; }
.cart-page .link-btn { font-size: 13px; }
.cart-page .inline-warning { font-size: 13px; }
.page-head--compact h1 { font-size: 24px; }



/* Selo da hospedagem escondido */
#qoder-sites-watermark { display: none !important; }

/* Botão de instalar compacto no canto superior direito */
.install-top {
  position: fixed; top: 70px; right: 12px; z-index: 96;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: var(--brand); border: 1px solid var(--brand-tint);
  border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 800;
  box-shadow: 0 8px 20px rgba(240, 68, 43, .18); cursor: pointer;
}
.install-top:hover { box-shadow: 0 10px 24px rgba(240, 68, 43, .24); }
.install-top:active { transform: scale(.97); }
.install-top .icon { width: 15px; height: 15px; }
body.auth-mode .install-top { top: 12px; }

/* logo no cabeçalho e na entrada */
.brand-mark { border-radius: 50%; background: transparent; box-shadow: 0 6px 16px rgba(0,0,0,.16); overflow: hidden; }
.brand-mark img { width: 100%; height: 100%; display: block; object-fit: cover; }
.auth-logo { width: 78px; height: 78px; border-radius: 50%; background: transparent; padding: 0; overflow: hidden; }
.auth-logo img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* Política de privacidade */
.privacy-page .privacy-card { padding: 22px 24px; }
.privacy-section { padding: 16px 0; border-bottom: 1px solid var(--line, #eceae5); }
.privacy-section:last-of-type { border-bottom: 0; padding-bottom: 4px; }
.privacy-section h2 { margin: 0 0 6px; font-size: 16px; color: var(--ink, #241d17); }
.privacy-section p { margin: 0; color: #5a5149; font-size: 14px; line-height: 1.65; }
.privacy-footer { margin: 18px 0 40px; text-align: center; color: #6b615a; font-size: 13px; }
.privacy-footer a { color: var(--brand); font-weight: 700; }
