/* =========================================================================
   Mesa de Casa · Design System
   Tipografia, cor, sombra, raios, easings — herança visual iFood
   ========================================================================= */

:root {
  /* Brand */
  --brand: #ea1d2c;
  --brand-strong: #c9001f;
  --brand-soft: #fff0f2;
  --brand-shadow: rgba(234, 29, 44, 0.22);

  /* Ink scale */
  --ink: #1c1c20;
  --ink-2: #3d3d45;
  --muted: #717280;
  --muted-2: #9b9ca6;

  /* Surface */
  --bg: #f6f6f8;
  --surface: #ffffff;
  --surface-2: #fafafb;
  --surface-3: #f1f1f3;
  --line: #ececef;
  --line-2: #e2e2e6;

  /* Status */
  --green: #13884f;
  --green-soft: #e6f5ec;
  --amber: #f0a23a;
  --purple: #8a3ffc;

  /* Radius */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Shadow — blurs reduzidos para baixar custo de paint em Android low-end */
  --sh-xs: 0 1px 2px rgba(15, 15, 20, 0.04);
  --sh-sm: 0 3px 8px rgba(15, 15, 20, 0.06);
  --sh-md: 0 6px 16px rgba(15, 15, 20, 0.08);
  --sh-lg: 0 12px 28px rgba(15, 15, 20, 0.14);
  --sh-brand: 0 8px 18px var(--brand-shadow);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --d-fast: 160ms;
  --d-base: 240ms;
  --d-slow: 360ms;

  /* Layout */
  --shell-w: 430px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

* { box-sizing: border-box; }
*::-webkit-tap-highlight { -webkit-tap-highlight-color: transparent; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #131316;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (min-width: 700px) {
  body {
    background: linear-gradient(
      to right,
      var(--bg) 0%,
      var(--bg) calc(50% - 215px),
      #131316 calc(50% - 215px),
      #131316 calc(50% + 215px),
      var(--bg) calc(50% + 215px),
      var(--bg) 100%
    );
  }
}

body.no-scroll { overflow: hidden; }

button, input, textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  transition: transform var(--d-fast) var(--ease-out), opacity var(--d-fast) var(--ease-out), background-color var(--d-fast) var(--ease-out), border-color var(--d-fast) var(--ease-out), color var(--d-fast) var(--ease-out);
}

button:not(:disabled):active {
  transform: scale(0.97);
}

button:disabled { cursor: not-allowed; }

img {
  display: block;
  max-width: 100%;
}

svg {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
}

em { font-style: normal; }

/* =========================================================================
   App shell
   ========================================================================= */

.app-shell {
  width: 100%;
  max-width: var(--shell-w);
  min-height: 100vh;
  margin: 0 auto;
  background: var(--surface);
  overflow: hidden;
  position: relative;
}

.screen-pad { padding: 0 18px; }

@media (min-width: 700px) {
  .app-shell {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04), 0 30px 80px rgba(15, 15, 20, 0.16);
    margin: 0 auto;
    min-height: 100vh;
  }
}

/* =========================================================================
   Hero / Restaurant card
   ========================================================================= */

.top-hero {
  position: relative;
  min-height: 340px;
  padding: 22px 18px 0;
  background: #1b2f34 center / cover no-repeat;
  overflow: visible;
}

.top-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.28) 38%, rgba(0,0,0,0.55) 100%);
}

.hero-actions {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.round-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 20, 24, 0.72);
  color: #ffffff;
  font-size: 22px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.round-icon:hover { background: rgba(20, 20, 24, 0.7); }
.round-icon svg { width: 22px; height: 22px; }

.restaurant-card {
  position: relative;
  z-index: 3;
  margin: 64px 0 -94px;
  padding: 46px 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  box-shadow: var(--sh-md);
  animation: fadeRise 520ms var(--ease-out) both;
}

.restaurant-logo {
  position: absolute;
  top: -42px;
  left: 50%;
  width: 84px;
  height: 84px;
  transform: translateX(-50%);
  border: 4px solid var(--surface);
  border-radius: 50%;
  background: var(--surface);
  object-fit: cover;
  box-shadow: var(--sh-sm);
}

.restaurant-card h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 7vw, 30px);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  text-align: left;
}

.info-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.3;
}

.info-row:first-of-type { border-top: 0; padding-top: 4px; }

.info-row strong { color: var(--ink); font-weight: 700; }
.info-row em { color: var(--muted-2); font-size: 13px; }

.info-row__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.info-row__rating .star-icon { color: var(--amber); display: inline-flex; }
.info-row__rating .star-icon svg { width: 16px; height: 16px; }

.info-row__chev {
  display: inline-flex;
  color: var(--muted-2);
}
.info-row__chev svg { width: 16px; height: 16px; }

.green {
  color: var(--green);
  font-weight: 700;
}

/* =========================================================================
   Promo banner (br01)
   ========================================================================= */

.br-banner {
  padding: 30px 22px 26px;
  text-align: center;
  background: linear-gradient(180deg, #fff8e0 0%, #fff3c4 100%);
  border-bottom: 4px solid #ffc934;
  position: relative;
}

.br-banner::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -10px;
  height: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(0,0,0,0.06) 0%, transparent 70%);
}

.br-banner__art {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 140px;
  height: 140px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
}

.br-banner__art::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 2px solid rgba(231, 33, 53, 0.4);
  animation: pulseRing 2.4s var(--ease-in-out) infinite;
  will-change: transform, opacity;
}

.br-banner__art img {
  position: relative;
  width: 118px;
  height: 118px;
  object-fit: contain;
}

@keyframes pulseRing {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(1.16); opacity: 0; }
}

.br-banner h1 {
  margin: 0;
  color: #b71426;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.br-banner h1 em {
  display: inline-block;
  margin-top: 4px;
  color: #c9001f;
}


/* =========================================================================
   Layout containers
   ========================================================================= */

.home-main {
  padding-top: 118px;
  padding-bottom: 24px;
}

.home-main.is-br {
  padding-top: 26px;
}

/* =========================================================================
   Section headings
   ========================================================================= */

.section-title {
  margin: 0 0 18px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  max-width: calc(100% - 24px);
  margin: 0 auto 16px;
  padding: 9px 18px;
  border-radius: var(--r-pill);
  background: linear-gradient(135deg, #d6f1e1 0%, #c2e9d0 100%);
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.005em;
  box-shadow: 0 4px 14px rgba(19, 136, 79, 0.18);
  text-align: center;
}

.kicker-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.kicker-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--green);
  transform-origin: center;
  animation: kickerPulse 1.6s var(--ease-in-out) infinite;
  will-change: transform, opacity;
}

@keyframes kickerPulse {
  from { transform: scale(1); opacity: 0.55; }
  to { transform: scale(2.4); opacity: 0; }
}

/* =========================================================================
   Highlights grid
   ========================================================================= */

.highlights-section {
  margin-top: 8px;
}

.highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
  margin-bottom: 32px;
}

.highlight-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  padding: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  animation: fadeRise 460ms var(--ease-out) both;
  animation-delay: var(--stagger, 0ms);
  transition: transform var(--d-base) var(--ease-out);
}

.highlight-card:active { transform: scale(0.97); }

.highlight-card__image {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, #f0f0f3 0%, #e6e6ea 100%);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--d-base) var(--ease-out);
}

.highlight-card:hover .highlight-card__image { box-shadow: var(--sh-sm); }

.highlight-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}

.highlight-card:hover .highlight-card__image img { transform: scale(1.04); }

.highlight-card__plus {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface);
  color: var(--brand);
  box-shadow: var(--sh-sm);
}

.highlight-card__plus svg { width: 16px; height: 16px; }

.highlight-card__price {
  display: block;
  margin-top: 12px;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.highlight-card__name {
  display: block;
  margin-top: 4px;
  font-size: 15px;
  line-height: 1.18;
  color: var(--ink-2);
  font-weight: 500;
}

.badge {
  display: inline-flex;
  align-items: center;
  max-width: calc(100% - 16px);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(20, 20, 24, 0.86);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge--floating {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--brand);
  box-shadow: 0 4px 14px rgba(234, 29, 44, 0.32);
}

.badge--row {
  margin-bottom: 8px;
  background: var(--brand);
  box-shadow: 0 4px 14px rgba(234, 29, 44, 0.22);
}

/* =========================================================================
   Hero deals — landing page conversion cards
   ========================================================================= */

.hero-deals {
  margin: 0 0 28px;
}

.hero-deals .section-title {
  margin-bottom: 14px;
}

.hero-deals__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}

.deal-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--sh-sm);
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), border-color var(--d-base) var(--ease-out);
  animation: fadeRise 520ms var(--ease-out) both;
  animation-delay: var(--stagger, 0ms);
}

.deal-card > * { min-width: 0; }

.deal-card:hover {
  box-shadow: var(--sh-md);
  border-color: var(--line-2);
}

.deal-card.is-bestseller {
  border-color: var(--brand);
  box-shadow: 0 0 0 1px var(--brand-soft) inset, 0 14px 38px rgba(234, 29, 44, 0.14);
  background: linear-gradient(180deg, var(--surface) 0%, #fff8f9 100%);
}

.deal-card.is-bestseller:hover {
  box-shadow: 0 0 0 1px var(--brand-soft) inset, 0 22px 50px rgba(234, 29, 44, 0.22);
}

.deal-card.is-bestseller::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, 0.55) 50%, transparent 70%);
  pointer-events: none;
  transform: translate3d(-220%, 0, 0);
  animation: dealShimmer 2.4s var(--ease-out) 800ms 1 forwards;
  will-change: transform;
}

@keyframes dealShimmer {
  to { transform: translate3d(220%, 0, 0); }
}

/* Featured card */

.deal-card--featured {
  grid-template-rows: auto auto;
}

.deal-card--featured .deal-card__media {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f3 0%, #e2e2e6 100%);
}

.deal-card--featured .deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}

.deal-card:hover .deal-card__media img { transform: scale(1.04); }

.deal-card--featured .deal-card__body {
  display: grid;
  gap: 12px;
  padding: 18px 18px 18px;
}

.deal-card--featured .deal-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* Compact cards */

.deal-card--compact {
  grid-template-rows: auto 1fr;
}

.deal-card--compact .deal-card__media {
  position: relative;
  width: 100%;
  height: 132px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f3 0%, #e2e2e6 100%);
}

.deal-card--compact .deal-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}

.deal-card--compact .deal-card__body {
  display: grid;
  gap: 8px;
  padding: 12px 12px 14px;
}

.deal-card--compact .deal-card__title {
  margin: 0;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.deal-card--compact .deal-card__free i { font-size: 11.5px; }
.deal-card--compact .deal-card__price {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}
.deal-card--compact .deal-card__price strong { font-size: 18px; }
.deal-card--compact .deal-card__old { font-size: 11px; line-height: 1.3; }
.deal-card--compact .deal-card__cta {
  min-height: 40px;
  padding: 0 12px;
  font-size: 13px;
  justify-content: center;
}
.deal-card--compact .deal-card__cta-icon { width: 22px; height: 22px; }
.deal-card--compact .deal-card__cta-icon svg { width: 12px; height: 12px; }
.deal-card--compact .deal-card__cta-label { flex: 0 1 auto; text-align: center; }
.deal-card--compact .deal-card__cta-price { display: none; }
.deal-card--compact .deal-badge { display: none; }
.deal-card--compact .signal { font-size: 11px; padding: 3px 8px; }
.deal-card--compact .signal i { font-size: 11px; }

.deal-card__title {
  word-break: break-word;
  overflow-wrap: break-word;
}

.deal-card__cta-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Badges, discounts and signals */

.deal-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px 5px 8px;
  border-radius: var(--r-pill);
  background: #1c1c20;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
}

.deal-badge svg { width: 11px; height: 11px; }
.deal-badge i { font-style: normal; }

.deal-badge--best {
  background: linear-gradient(135deg, var(--purple) 0%, #6b1ad4 100%);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(138, 63, 252, 0.36);
}

.deal-discount {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 9px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 16px rgba(234, 29, 44, 0.36);
  font-variant-numeric: tabular-nums;
}

/* Body parts */

.deal-card__free {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--green-soft);
  color: var(--green);
  font-size: 12.5px;
  font-weight: 700;
}

.deal-card__free svg { width: 13px; height: 13px; }
.deal-card__free i { font-style: normal; }

.deal-card__quote {
  position: relative;
  padding: 10px 12px 10px 32px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--brand-soft) 0%, #fff8e9 100%);
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.36;
}

.deal-card__quote::before {
  content: "\201C";
  position: absolute;
  top: 0;
  left: 10px;
  font-family: Georgia, serif;
  font-size: 32px;
  line-height: 1;
  color: var(--brand);
  opacity: 0.6;
}

.deal-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}

.deal-card__price strong {
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.deal-card__old {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.005em;
}

.deal-card__signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.005em;
  background: var(--surface-3);
  color: var(--ink-2);
}

.signal i { font-style: normal; }
.signal em { font-style: normal; opacity: 0.65; font-weight: 600; }
.signal svg { width: 12px; height: 12px; }

.signal--green { background: var(--green-soft); color: var(--green); }
.signal--brand { background: var(--brand-soft); color: var(--brand); }
.signal--amber { background: #fff7e3; color: #b07012; }
.signal--amber svg { color: var(--amber); }

.deal-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  margin-top: 4px;
  border-radius: var(--r-md);
  background: var(--brand);
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.005em;
  box-shadow: var(--sh-brand);
  transition: background-color var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
}

.deal-card:hover .deal-card__cta {
  background: var(--brand-strong);
  box-shadow: 0 18px 36px var(--brand-shadow);
}

.deal-card__cta-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.deal-card__cta-icon svg { width: 14px; height: 14px; }

.deal-card__cta-label { flex: 1; text-align: left; }

.deal-card__cta-price {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

/* =========================================================================
   Sticky menu (search + tabs)
   ========================================================================= */

.sticky-menu {
  position: sticky;
  top: 0;
  z-index: 8;
  padding: 14px 0 0;
  margin: 0 -18px 22px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.search-line {
  display: flex;
  gap: 10px;
  padding: 0 18px 14px;
}

.back-soft,
.menu-soft {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink);
}

.back-soft svg { width: 22px; height: 22px; }
.menu-soft svg { width: 22px; height: 22px; }

.menu-soft {
  background: transparent;
  color: var(--ink-2);
  width: 38px;
}

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  transition: background-color var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}

.search-box:focus-within {
  background: var(--surface);
  box-shadow: 0 0 0 2px var(--brand-soft), 0 0 0 3px var(--brand);
}

.search-box__icon { color: var(--muted); display: inline-flex; }
.search-box__icon svg { width: 18px; height: 18px; }

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  outline: 0;
  font-size: 15px;
}

.search-box input::placeholder { color: var(--muted); }

.tab-row {
  display: flex;
  align-items: center;
  gap: 26px;
  overflow-x: auto;
  padding: 0 18px;
  scrollbar-width: none;
}

.tab-row::-webkit-scrollbar { display: none; }

.tab-button {
  position: relative;
  flex: 0 0 auto;
  padding: 0 0 14px;
  background: transparent;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -0.005em;
}

.tab-button.is-active { color: var(--ink); }

.tab-button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
  border-radius: 3px 3px 0 0;
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform var(--d-base) var(--ease-out);
}

.tab-button.is-active::after { transform: scaleX(1); }

/* =========================================================================
   Product list
   ========================================================================= */

.product-section {
  margin-top: 8px;
}

.product-section h2 {
  margin: 0;
  padding: 22px 0 18px;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.01em;
  border-top: 1px solid var(--line);
}

.product-row {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background-color var(--d-base) var(--ease-out);
}

.product-row:hover { background: var(--surface-2); }
.product-row:active { background: var(--surface-3); }

.product-row__main { min-width: 0; }

.product-row h3 {
  margin: 0 0 6px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.product-row p {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.32;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.price-line__current { color: var(--ink); }

.old-price {
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 500;
  text-decoration: line-through;
}

.discount-chip {
  padding: 3px 8px;
  border-radius: var(--r-pill);
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.product-thumb {
  position: relative;
  width: 116px;
  height: 116px;
  overflow: hidden;
  border-radius: var(--r-md);
  background: var(--surface-3);
  box-shadow: var(--sh-xs);
  transition: box-shadow var(--d-base) var(--ease-out);
}

.product-row:hover .product-thumb { box-shadow: var(--sh-sm); }

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease-out);
}

.product-row:hover .product-thumb img { transform: scale(1.05); }

.product-thumb__plus {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--sh-brand);
}

.product-thumb__plus svg { width: 16px; height: 16px; }

.product-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  padding: 8px 12px;
  border-radius: var(--r-sm);
  background: var(--green-soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.product-note svg { width: 14px; height: 14px; flex: 0 0 auto; }

.stock-note {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  padding: 4px 10px 4px 8px;
  border-radius: var(--r-pill);
  background: rgba(234, 29, 44, 0.08);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
}

.stock-note svg { width: 12px; height: 12px; }

/* =========================================================================
   Reviews
   ========================================================================= */

.reviews-card {
  padding: 24px 0 4px;
  border-top: 1px solid var(--line);
  margin-top: 16px;
}

.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-bottom: 18px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--surface) 0%, #fffbf3 100%);
  box-shadow: var(--sh-xs);
}

.rating-summary__main {
  display: grid;
  justify-items: center;
  gap: 6px;
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.rating-summary__main strong {
  display: block;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.rating-summary__main .stars-line {
  display: inline-flex;
  gap: 2px;
  color: var(--amber);
}

.rating-summary__main .stars-line svg { width: 15px; height: 15px; }

.rating-summary__meta {
  display: grid;
  gap: 2px;
}

.rating-summary__count {
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.rating-summary__count b {
  font-weight: 800;
  color: var(--ink);
}

.rating-summary__period {
  color: var(--muted);
  font-size: 12.5px;
}

.stars-line {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  color: var(--amber);
}

.stars-line svg { width: 14px; height: 14px; }

.review-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  animation: fadeRise 360ms var(--ease-out) both;
  animation-delay: var(--stagger, 0ms);
}

.review-row:first-of-type { border-top: 0; }

.review-row h3 {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.review-row__rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-2);
  font-weight: 700;
}

.review-row p {
  margin: 8px 0 0;
  color: var(--ink-2);
  font-size: 14px;
  line-height: 1.42;
}

.review-row img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  object-fit: cover;
}

/* =========================================================================
   Floating bottom bars
   ========================================================================= */

.bottom-gift,
.bottom-cart {
  position: fixed;
  left: 50%;
  bottom: max(14px, var(--safe-bottom));
  z-index: 9;
  width: min(394px, calc(100% - 36px));
  transform: translate(-50%, 0);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-lg);
  animation: floatIn 480ms var(--ease-spring) both;
}

@keyframes floatIn {
  from { transform: translate(-50%, 24px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

.bottom-gift {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 18px;
  background: linear-gradient(135deg, #1ea35e 0%, #15823c 100%);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.bottom-gift__icon { display: inline-flex; }
.bottom-gift__icon svg { width: 18px; height: 18px; }

.bottom-cart {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 8px 8px 8px 20px;
  background: var(--surface);
}

.bottom-cart__info { min-width: 0; }

.bottom-cart__info strong {
  display: block;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.bottom-cart__info span {
  color: var(--muted);
  font-size: 12.5px;
}

.bottom-cart > button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 18px 0 14px;
  border-radius: var(--r-pill);
  background: var(--brand);
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 700;
  box-shadow: var(--sh-brand);
}

.bottom-cart > button:hover { background: var(--brand-strong); }

.bottom-cart__icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.bottom-cart__bag {
  width: 18px;
  height: 18px;
  background-color: #ffffff;
  -webkit-mask: url(../assets/images/icon-bag.png) center / contain no-repeat;
  mask: url(../assets/images/icon-bag.png) center / contain no-repeat;
}

.bottom-cart__count {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand);
  font-size: 10.5px;
  font-weight: 800;
  display: inline-grid;
  place-items: center;
}

/* =========================================================================
   Overlays / Modals — slide-up motion
   ========================================================================= */

.overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: rgba(15, 15, 20, 0);
  animation: backdropIn var(--d-base) var(--ease-out) forwards;
}

@keyframes backdropIn {
  from { background: rgba(15, 15, 20, 0); }
  to { background: rgba(15, 15, 20, 0.62); }
}

.overlay--sheet .full-panel {
  animation: sheetIn 380ms var(--ease-spring) both;
}

@keyframes sheetIn {
  from { transform: translate3d(0, 100%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.overlay.is-closing {
  animation: backdropOut 240ms var(--ease-in-out) forwards;
}

@keyframes backdropOut {
  from { background: rgba(15, 15, 20, 0.62); }
  to { background: rgba(15, 15, 20, 0); }
}

.overlay.is-closing .full-panel {
  animation: sheetOut 260ms var(--ease-in-out) both;
}

@keyframes sheetOut {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, 100%, 0); }
}

.full-panel {
  position: relative;
  width: min(var(--shell-w), 100%);
  height: min(100vh, 100%);
  background: var(--surface);
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

@media (min-width: 700px) {
  .overlay { align-items: center; }
  .full-panel { max-height: calc(100vh - 48px); border-radius: 22px; box-shadow: var(--sh-lg); }
}

/* =========================================================================
   Product modal
   ========================================================================= */

.product-modal {
  overflow-y: auto;
  padding-bottom: 116px;
  -webkit-overflow-scrolling: touch;
}

.modal-hero {
  position: relative;
  height: 318px;
  background: linear-gradient(135deg, #e7e7ea 0%, #d8d8dc 100%);
  overflow: hidden;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: zoomIn 720ms var(--ease-out) both;
}

@keyframes zoomIn {
  from { transform: scale(1.08); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.18) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.32) 100%);
  pointer-events: none;
}

.close-float {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(20, 20, 24, 0.78);
  color: #ffffff;
}

.close-float svg { width: 22px; height: 22px; }

.restaurant-pill {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  max-width: calc(100% - 32px);
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--sh-md);
}

.restaurant-pill img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.restaurant-pill strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.restaurant-pill span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  font-size: 11.5px;
  white-space: nowrap;
}

.restaurant-pill span i { color: var(--muted-2); font-style: normal; }
.restaurant-pill .star-icon { color: var(--amber); display: inline-flex; }
.restaurant-pill .star-icon svg { width: 12px; height: 12px; }

.modal-info {
  padding: 24px 22px 22px;
  background: var(--surface);
}

.modal-info h2 {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.modal-info p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.42;
}

.modal-info__meta {
  margin-top: 12px !important;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 12.5px;
  font-weight: 600;
}

.meta-pill svg { width: 14px; height: 14px; color: var(--green); }

.modal-info .modal-price {
  margin-top: 16px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
}

/* Option groups */

.option-group { background: var(--surface); }

.option-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  background: var(--surface-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.option-heading__text { min-width: 0; }

.option-heading h3 {
  margin: 0 0 2px;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.option-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
}

.option-heading__pill {
  flex: 0 0 auto;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--muted);
  font-size: 11.5px;
  font-weight: 700;
  border: 1px solid var(--line);
}

.option-heading__pill.is-full {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand-soft);
}

.option-item {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
  text-align: left;
  transition: background-color var(--d-fast) var(--ease-out);
}

.option-item:hover { background: var(--surface-2); }
.option-item:active { background: var(--surface-3); }

.option-item__text { min-width: 0; }

.option-item strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
}

.option-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.plus-mark {
  position: relative;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1.5px solid var(--line-2);
  border-radius: 50%;
  color: var(--brand);
  background: var(--surface);
  transition: all var(--d-base) var(--ease-spring);
}

.plus-mark > span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  margin: 0;
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-spring);
}

.plus-mark__plus svg,
.plus-mark__check svg { width: 14px; height: 14px; }
.plus-mark__plus { opacity: 1; transform: rotate(0deg) scale(1); }
.plus-mark__check { opacity: 0; transform: rotate(-90deg) scale(0.7); color: #ffffff; }

.option-item.is-selected .plus-mark {
  border-color: var(--brand);
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 4px 12px var(--brand-shadow);
}

.option-item.is-selected .plus-mark__plus { opacity: 0; transform: rotate(90deg) scale(0.7); }
.option-item.is-selected .plus-mark__check { opacity: 1; transform: rotate(0deg) scale(1); }

/* Note box */

.note-box { padding: 22px; }

.note-box label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
}

.note-box textarea {
  width: 100%;
  min-height: 86px;
  padding: 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-md);
  resize: vertical;
  outline: none;
  background: var(--surface);
  font-size: 14px;
  line-height: 1.4;
  transition: border-color var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}

.char-count {
  display: block;
  margin-top: 6px;
  color: var(--muted-2);
  font-size: 12px;
  text-align: right;
}

/* Buy bar */

.modal-buybar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 24;
  width: min(var(--shell-w), 100%);
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 12px;
  padding: 12px 18px calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.qty-stepper {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  height: 52px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface);
}

.qty-stepper button {
  height: 100%;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--brand);
}

.qty-stepper button svg { width: 18px; height: 18px; }
.qty-stepper button:disabled { color: var(--line-2); }

.qty-stepper span {
  text-align: center;
  font-size: 17px;
  font-weight: 800;
  color: var(--ink);
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: var(--r-md);
  background: var(--brand);
  color: #ffffff;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: -0.005em;
  box-shadow: var(--sh-brand);
  transition: background-color var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
}

.primary-btn:hover:not(:disabled) {
  background: var(--brand-strong);
  box-shadow: 0 18px 36px var(--brand-shadow);
}

.primary-btn:disabled {
  background: #d6d6dc;
  color: #fafafb;
  box-shadow: none;
}

.primary-btn svg { width: 18px; height: 18px; }
.primary-btn .pix-icon { display: inline-flex; align-items: center; justify-content: center; color: #ffffff; }
.primary-btn .pix-icon svg { width: 18px; height: 18px; display: block; }

.add-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
}

.add-btn__price {
  font-variant-numeric: tabular-nums;
  font-weight: 800;
}

/* =========================================================================
   Sheet headers (cart / checkout / payment)
   ========================================================================= */

.cart-panel,
.checkout-panel,
.payment-panel {
  overflow-y: auto;
  padding-bottom: 126px;
  -webkit-overflow-scrolling: touch;
}

.payment-panel { padding-bottom: 178px; }

.sheet-header {
  position: sticky;
  top: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) 56px;
  align-items: center;
  min-height: 60px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.sheet-header h2 {
  margin: 0;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.sheet-link {
  background: transparent;
  color: var(--brand);
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  padding: 8px;
}

.sheet-link svg { width: 18px; height: 18px; }

.sheet-back {
  background: transparent;
  color: var(--ink);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.sheet-back svg { width: 22px; height: 22px; }
.sheet-back:hover { background: var(--surface-3); }

/* Step indicator (Contato → Endereço → Entrega) */

.step-indicator {
  display: grid;
  gap: 6px;
  padding: 16px 22px 14px;
}

.step-indicator__track {
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-indicator__labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-indicator__labels em {
  flex: 1;
  text-align: center;
  font-style: normal;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted-2);
  letter-spacing: 0.005em;
  transition: color var(--d-base) var(--ease-out);
}

.step-indicator__labels em:first-child { text-align: left; }
.step-indicator__labels em:last-child { text-align: right; }
.step-indicator__labels em.is-active { color: var(--brand); }
.step-indicator__labels em.is-done { color: var(--ink-2); }

.step-indicator__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--line-2);
  flex: 0 0 auto;
  transition: background-color var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), transform var(--d-base) var(--ease-spring);
}

.step-indicator__dot.is-active {
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  transform: scale(1.1);
}

.step-indicator__dot.is-done {
  background: var(--brand);
}

.step-indicator__line {
  flex: 1;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}

/* Single-mode banner (replaces Entrega/Retirada tabs) */

.mode-banner {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  margin: 16px 22px 8px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  border: 1px solid rgba(234, 29, 44, 0.14);
}

.mode-banner__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--brand);
  color: #ffffff;
  box-shadow: 0 3px 10px var(--brand-shadow);
  flex: none;
}

.mode-banner__icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  display: block;
}

.mode-banner__bag {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  background-color: #ffffff;
  -webkit-mask: url(../assets/images/icon-bag.png) center / contain no-repeat;
  mask: url(../assets/images/icon-bag.png) center / contain no-repeat;
}

.mode-banner div { min-width: 0; }

.mode-banner strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.mode-banner span {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.32;
}

/* WhatsApp notice (payment) */

.whatsapp-notice {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0 22px 16px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--green-soft);
  border: 1px solid rgba(19, 136, 79, 0.14);
}

.whatsapp-notice__icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.36);
}

.whatsapp-notice__icon svg { width: 22px; height: 22px; }

.whatsapp-notice__text { min-width: 0; }

.whatsapp-notice__text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.005em;
}

.whatsapp-notice__text span {
  display: block;
  margin-top: 2px;
  color: var(--ink-2);
  font-size: 12px;
  line-height: 1.32;
}

/* Field label helper text (em inside label) */

.field label em {
  font-style: normal;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0;
}

.cart-content { padding: 22px; }

.cart-content > h3 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 60px 20px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--muted-2);
  margin-bottom: 4px;
}

.cart-empty__icon svg { width: 32px; height: 32px; }

.cart-empty strong {
  font-size: 16px;
  color: var(--ink);
  font-weight: 700;
}

.cart-empty span { color: var(--muted); font-size: 14px; }

.cart-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  animation: fadeRise 320ms var(--ease-out) both;
  animation-delay: var(--stagger, 0ms);
}

.cart-item:first-of-type { border-top: 0; padding-top: 0; }

.cart-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--r-md);
  object-fit: cover;
}

.cart-item__body { min-width: 0; }

.cart-item h3 {
  margin: 0 0 4px;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.22;
}

.cart-item p {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.36;
}

.cart-item p em {
  color: var(--ink-2);
  font-weight: 600;
}

.cart-item__bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.cart-item__bottom strong {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mini-stepper {
  display: grid;
  grid-template-columns: 30px 30px 30px;
  align-items: center;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-sm);
  overflow: hidden;
}

.mini-stepper button {
  height: 30px;
  display: grid;
  place-items: center;
  background: var(--surface);
  color: var(--brand);
}

.mini-stepper button svg { width: 14px; height: 14px; }
.mini-stepper span { text-align: center; font-weight: 800; font-size: 13px; }

/* Cart / checkout total bar */

.cart-totalbar,
.checkout-totalbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 25;
  width: min(var(--shell-w), 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 44%);
  gap: 12px;
  align-items: center;
  padding: 12px 18px calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.cart-totalbar__text,
.checkout-totalbar__text { min-width: 0; }

.cart-totalbar__text span,
.checkout-totalbar__text span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.cart-totalbar__text strong,
.checkout-totalbar__text strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}

.cart-totalbar__text small {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--muted-2);
  letter-spacing: 0;
}

/* =========================================================================
   Checkout form
   ========================================================================= */

.checkout-body { padding: 20px 22px 32px; }

.checkout-body h3 {
  margin: 20px 0 16px;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.012em;
  color: var(--ink);
}

.checkout-body h3:first-child { margin-top: 0; }

.field-stack { display: grid; gap: 14px; }

.field { display: grid; gap: 8px; }

.field label {
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.002em;
}

.field input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  outline: none;
  font-size: 16px;
  transition: border-color var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out), background-color var(--d-fast) var(--ease-out);
}

.field input:focus,
.note-box textarea:focus {
  border-color: var(--brand);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(234, 29, 44, 0.12);
}

.field input::placeholder { color: var(--muted-2); }

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.inline-link {
  justify-self: start;
  padding: 8px 0;
  background: transparent;
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover { text-decoration: underline; }

.error-box {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  background: var(--brand-soft);
  color: var(--brand-strong);
  font-size: 13.5px;
  font-weight: 600;
  animation: shake 380ms var(--ease-spring);
}

.error-box svg { width: 18px; height: 18px; flex: 0 0 auto; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-2px); }
  80% { transform: translateX(2px); }
}

.address-preview {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-bottom: 22px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.address-preview__icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.address-preview__icon svg { width: 18px; height: 18px; }

.address-preview__body { min-width: 0; }

.address-preview strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.address-preview span {
  color: var(--muted);
  font-size: 13px;
}

.delivery-card {
  width: 100%;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto 24px;
  gap: 14px;
  align-items: center;
  margin-bottom: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  text-align: left;
  transition: border-color var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out), background-color var(--d-base) var(--ease-out);
}

.delivery-card:hover { border-color: var(--ink-2); }

.delivery-card__icon {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink-2);
  flex: none;
  transition: background-color var(--d-base) var(--ease-out), color var(--d-base) var(--ease-out);
}

.delivery-card__icon svg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -50%);
  display: block;
}

.delivery-card__moto {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 27px;
  height: 27px;
  transform: translate(-50%, -50%);
  background-color: var(--ink-2);
  -webkit-mask: url(../assets/images/icon-moto.png) center / contain no-repeat;
  mask: url(../assets/images/icon-moto.png) center / contain no-repeat;
}

.delivery-card.is-selected .delivery-card__moto {
  background-color: #ffffff;
}

.delivery-card__text { min-width: 0; }

.delivery-card.is-selected {
  border-color: var(--brand);
  background: var(--brand-soft);
  box-shadow: 0 8px 22px var(--brand-shadow);
}

.delivery-card.is-selected .delivery-card__icon {
  background: var(--brand);
  color: #ffffff;
}

.delivery-card strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.005em;
}

.delivery-card span {
  display: block;
  color: var(--muted);
  font-size: 12.5px;
}

.delivery-price {
  color: var(--green);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.005em;
}

.radio-dot {
  width: 22px;
  height: 22px;
  border: 2px solid var(--line-2);
  border-radius: 50%;
  position: relative;
  transition: border-color var(--d-base) var(--ease-out);
}

.radio-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--brand);
  transform: scale(0);
  transition: transform var(--d-base) var(--ease-spring);
}

.delivery-card.is-selected .radio-dot {
  border-color: var(--brand);
}

.delivery-card.is-selected .radio-dot::after {
  transform: scale(1);
}

/* =========================================================================
   Payment / PIX
   ========================================================================= */

.payment-hero {
  padding: 24px 22px 14px;
  text-align: center;
}

.pix-art {
  width: 192px;
  height: 192px;
  margin: 0 auto 18px;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: #ffffff;
  color: #111114;
  border: 1px solid var(--line);
  padding: 14px;
  box-shadow: var(--sh-sm);
  animation: fadeRise 480ms var(--ease-spring) both;
  position: relative;
  overflow: hidden;
}

.pix-art svg,
.pix-art img {
  width: 100%;
  height: 100%;
  display: block;
  image-rendering: pixelated;
}

.pix-art img { image-rendering: auto; border-radius: 6px; }

.pix-art rect:not([fill="none"]) { fill: currentColor; }

.payment-hero h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.payment-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.pix-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: center;
  gap: 10px;
  margin: 18px 22px;
  padding: 12px 8px 12px 16px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.pix-code code {
  overflow: hidden;
  color: var(--ink-2);
  font-family: "SF Mono", "Roboto Mono", monospace;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-small {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-sm);
  background: var(--surface);
  color: var(--brand);
  border: 1px solid var(--line);
}

.copy-small svg { width: 18px; height: 18px; }

.timer-box { padding: 0 22px 16px; }

.timer-box__label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.timer-box__label svg { width: 14px; height: 14px; }

.timer-box__hint {
  margin: 8px 0 0;
  color: var(--muted-2);
  font-size: 12.5px;
}

.timer-value {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.timer-track {
  height: 4px;
  margin: 8px 0 0;
  border-radius: var(--r-pill);
  background: var(--surface-3);
  overflow: hidden;
}

.timer-fill {
  height: 100%;
  width: var(--timer-width, 100%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-strong) 100%);
  transition: width 1s linear;
}

.order-card {
  display: grid;
  gap: 10px;
  margin: 0 22px 22px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.order-card__head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
}

.order-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.order-card__head-text strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}

.order-card__head-text span {
  color: var(--muted);
  font-size: 12.5px;
}

.order-card__total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.order-card__total span { color: var(--muted); font-size: 13px; }
.order-card__total strong {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.order-card__hint {
  display: block;
  color: var(--muted-2);
  font-size: 11.5px;
  font-style: italic;
}

.payment-actions {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 28;
  width: min(var(--shell-w), 100%);
  display: grid;
  gap: 8px;
  padding: 12px 18px calc(12px + var(--safe-bottom));
  transform: translateX(-50%);
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.payment-panel--paid {
  display: grid;
  align-content: start;
  gap: 0;
}

.paid-hero {
  text-align: center;
  padding: 32px 22px 22px;
  display: grid;
  justify-items: center;
  gap: 12px;
}

.paid-hero__icon {
  width: 84px;
  height: 84px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  margin-bottom: 4px;
  animation: locSuccessPop 520ms var(--ease-spring) both;
}

.paid-hero__icon svg { width: 42px; height: 42px; }

.paid-hero h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.paid-hero p {
  margin: 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 320px;
}

.paid-hero p b { font-weight: 800; color: var(--ink); }

.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1.5px solid var(--brand);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--brand);
  font-size: 14.5px;
  font-weight: 800;
  transition: background-color var(--d-fast) var(--ease-out);
}

.outline-btn:hover { background: var(--brand-soft); }
.outline-btn svg { width: 16px; height: 16px; }

.payment-actions .primary-btn { min-height: 50px; }

/* =========================================================================
   Location modal — escolha de estado / cidade
   ========================================================================= */

.overlay--center {
  align-items: center;
  padding: 24px;
}

.overlay--center .full-panel {
  width: min(380px, 100%);
  height: auto;
  max-height: calc(100vh - 48px);
  border-radius: var(--r-xl);
  box-shadow: var(--sh-lg);
  animation: dialogIn 360ms var(--ease-spring) both;
}

.overlay--center.is-closing .full-panel {
  animation: dialogOut 220ms var(--ease-in-out) both;
}

@keyframes dialogIn {
  from { transform: translate3d(0, 12px, 0) scale(0.94); opacity: 0; }
  to { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
}

@keyframes dialogOut {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  to { transform: translate3d(0, 8px, 0) scale(0.96); opacity: 0; }
}

.location-panel {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 30px 24px 24px;
  background: var(--surface);
  text-align: center;
  overflow-y: auto;
}

.loc-back {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-3);
  color: var(--ink);
}

.loc-back svg { width: 20px; height: 20px; }

.loc-art {
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
}

.loc-art svg { width: 30px; height: 30px; }

.loc-art--success {
  background: var(--green-soft);
  color: var(--green);
  animation: locSuccessPop 480ms var(--ease-spring) both;
}

@keyframes locSuccessPop {
  from { transform: scale(0.6); opacity: 0; }
  60% { transform: scale(1.08); }
  to { transform: scale(1); opacity: 1; }
}

.loc-loader {
  width: 64px;
  height: 64px;
  margin: 0 auto 4px;
  display: grid;
  place-items: center;
}

.loc-loader .pix-loader { width: 44px; height: 44px; border-width: 3px; }

.loc-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.18;
}

.loc-desc {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
}

.loc-desc b { color: var(--ink); font-weight: 700; }

.loc-field {
  display: grid;
  gap: 6px;
  text-align: left;
  margin-top: 10px;
}

.loc-field > span {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--ink-2);
  letter-spacing: 0.005em;
}

.loc-select {
  position: relative;
  display: block;
}

.loc-select select {
  width: 100%;
  height: 52px;
  padding: 0 44px 0 16px;
  border: 1.5px solid var(--line-2);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font-size: 15px;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out);
}

.loc-select select:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(234, 29, 44, 0.12);
}

.loc-select__chev {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
  display: inline-flex;
}

.loc-select__chev svg { width: 18px; height: 18px; }

.loc-cta {
  width: 100%;
  margin-top: 8px;
  min-height: 52px;
}

/* =========================================================================
   Site footer
   ========================================================================= */

.site-footer {
  margin-top: 28px;
  padding: 28px 22px calc(28px + 84px);
  background: #131316;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12.5px;
  line-height: 1.5;
}

.site-footer__inner {
  max-width: 540px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 8px;
}

.site-footer__brand {
  margin: 0 0 4px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.site-footer__copy,
.site-footer__cnpj {
  margin: 0;
  font-size: 12.5px;
}

.site-footer__legal {
  margin: 8px auto 4px;
  max-width: 460px;
  font-size: 11.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer__nav {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.site-footer__nav a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  text-decoration: none;
  font-size: 12.5px;
  transition: color var(--d-fast) var(--ease-out);
}

.site-footer__nav a:hover { color: #ffffff; }

.site-footer__sep { color: rgba(255, 255, 255, 0.25); }

/* =========================================================================
   Toast
   ========================================================================= */

.toast {
  position: fixed;
  left: 50%;
  bottom: 90px;
  z-index: 40;
  width: min(420px, calc(100% - 36px));
  padding: 12px 18px;
  transform: translateX(-50%);
  border-radius: var(--r-md);
  background: rgba(20, 20, 24, 0.96);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  box-shadow: var(--sh-lg);
  animation: toastIn 320ms var(--ease-spring) both;
}

@keyframes toastIn {
  from { transform: translate(-50%, 16px); opacity: 0; }
  to { transform: translate(-50%, 0); opacity: 1; }
}

/* =========================================================================
   Loaders
   ========================================================================= */

.loading-block {
  padding: 60px 24px;
  display: grid;
  justify-items: center;
  gap: 14px;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

.pix-loader {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--brand);
  animation: spin 800ms linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================================
   Animations — shared keyframes
   ========================================================================= */

@keyframes fadeRise {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

/* =========================================================================
   Responsive
   ========================================================================= */

/* =========================================================================
   Responsivo — Android low-end / telas pequenas
   ========================================================================= */

/* Phones médios (≤ 410px) */
@media (max-width: 410px) {
  .screen-pad,
  .top-hero,
  .br-banner,
  .search-line,
  .tab-row,
  .cart-content,
  .checkout-body,
  .modal-info,
  .note-box {
    padding-left: 16px;
    padding-right: 16px;
  }

  .restaurant-card { padding: 42px 20px 16px; }
  .restaurant-card h1 { font-size: 24px; }

  .section-title { font-size: 22px; }

  .highlight-grid { gap: 10px; }
  .highlight-card__price { font-size: 16px; }
  .highlight-card__name { font-size: 13.5px; }

  .product-row { grid-template-columns: minmax(0, 1fr) 96px; padding: 16px 0; gap: 12px; }
  .product-row h3 { font-size: 15.5px; }
  .product-row p { font-size: 13px; }
  .product-thumb { width: 96px; height: 96px; }

  .deal-card--featured .deal-card__media { height: 168px; }
  .deal-card--featured .deal-card__title { font-size: 18px; }
  .deal-card--featured .deal-card__body { padding: 14px 14px 14px; gap: 10px; }
  .deal-card--featured .deal-card__price strong { font-size: 24px; }

  .deal-card--compact .deal-card__media { height: 116px; }
  .deal-card--compact .deal-card__body { padding: 10px 10px 12px; gap: 6px; }
  .deal-card--compact .deal-card__title { font-size: 13.5px; }
  .deal-card--compact .deal-card__price strong { font-size: 16px; }
  .deal-card--compact .deal-card__cta { min-height: 36px; padding: 0 10px; gap: 6px; font-size: 12px; }

  .modal-buybar { grid-template-columns: 112px minmax(0, 1fr); padding-left: 14px; padding-right: 14px; gap: 10px; }
  .modal-info h2 { font-size: 22px; }
  .modal-hero { height: 280px; }
  .qty-stepper { height: 48px; }
  .primary-btn { font-size: 14.5px; min-height: 50px; }
  .add-btn { padding: 0 14px; }

  .cart-totalbar,
  .checkout-totalbar,
  .payment-actions { padding-left: 14px; padding-right: 14px; }
}

/* Android comum (≤ 380px — Moto G, Galaxy A baixo) */
@media (max-width: 380px) {
  .screen-pad,
  .top-hero,
  .br-banner,
  .search-line,
  .tab-row,
  .cart-content,
  .checkout-body,
  .modal-info,
  .note-box {
    padding-left: 14px;
    padding-right: 14px;
  }

  .restaurant-card h1 { font-size: 22px; }
  .info-row { font-size: 14px; }
  .info-row em { font-size: 12px; }

  .section-title { font-size: 20px; }
  .section-kicker { font-size: 12px; padding: 5px 10px; }

  .home-main { padding-top: 108px; padding-bottom: 18px; }

  .highlights-section { margin-bottom: 22px; }
  .hero-deals { margin-bottom: 22px; }
  .hero-deals__grid { gap: 10px; }

  .highlight-grid { gap: 9px; }
  .highlight-card__price { font-size: 15px; }
  .highlight-card__name { font-size: 13px; line-height: 1.16; }

  .product-row { grid-template-columns: minmax(0, 1fr) 88px; padding: 14px 0; gap: 10px; }
  .product-row h3 { font-size: 15px; }
  .product-row p { font-size: 12.5px; }
  .product-thumb { width: 88px; height: 88px; border-radius: 12px; }
  .product-thumb__plus { width: 26px; height: 26px; bottom: 6px; right: 6px; }
  .product-thumb__plus svg { width: 13px; height: 13px; }
  .price-line { font-size: 16px; gap: 6px; }
  .old-price { font-size: 12px; }
  .discount-chip { font-size: 10px; padding: 2px 7px; }

  .deal-card--featured .deal-card__media { height: 152px; }
  .deal-card--featured .deal-card__title { font-size: 17px; }
  .deal-card--featured .deal-card__body { padding: 12px 12px 14px; gap: 9px; }
  .deal-card--featured .deal-card__quote { font-size: 12.5px; padding: 9px 12px 9px 28px; }
  .deal-card--featured .deal-card__price strong { font-size: 22px; }
  .deal-card--featured .deal-card__cta { min-height: 44px; font-size: 14px; padding: 0 14px; }

  .deal-card--compact .deal-card__media { height: 108px; }
  .deal-card--compact .deal-card__body { padding: 9px 9px 11px; gap: 6px; }
  .deal-card--compact .deal-card__title { font-size: 13px; -webkit-line-clamp: 2; }
  .deal-card--compact .deal-card__free { padding: 3px 8px; font-size: 11px; gap: 4px; }
  .deal-card--compact .deal-card__free svg { width: 11px; height: 11px; }
  .deal-card--compact .deal-card__price strong { font-size: 15px; }
  .deal-card--compact .deal-card__old { font-size: 10.5px; }
  .deal-card--compact .deal-card__cta { min-height: 34px; font-size: 11.5px; padding: 0 8px; gap: 5px; }
  .deal-card--compact .deal-card__cta-icon { width: 18px; height: 18px; }
  .deal-card--compact .deal-card__cta-icon svg { width: 11px; height: 11px; }
  .deal-card--compact .signal { font-size: 10.5px; padding: 3px 7px; }

  .deal-badge { padding: 4px 8px 4px 6px; font-size: 9.5px; gap: 4px; }
  .deal-badge svg { width: 10px; height: 10px; }
  .deal-discount { font-size: 10px; padding: 4px 7px; top: 8px; right: 8px; }

  .modal-hero { height: 250px; }
  .modal-info h2 { font-size: 20px; }
  .modal-info p { font-size: 13.5px; }
  .modal-info .modal-price { font-size: 22px; }
  .option-heading { padding: 12px 16px; }
  .option-heading h3 { font-size: 14.5px; }
  .option-item { padding: 12px 16px; min-height: 60px; }
  .option-item strong { font-size: 14px; }
  .option-item span { font-size: 12.5px; }

  .modal-buybar { grid-template-columns: 104px minmax(0, 1fr); padding: 10px 14px calc(10px + var(--safe-bottom)); gap: 8px; }
  .qty-stepper { height: 46px; }
  .qty-stepper span { font-size: 16px; }
  .primary-btn { font-size: 14px; min-height: 48px; }
  .add-btn { padding: 0 12px; gap: 8px; }
  .add-btn__price { font-size: 14px; }

  .sheet-header { min-height: 56px; padding: 0 10px; grid-template-columns: 50px minmax(0, 1fr) 50px; }
  .sheet-header h2 { font-size: 15px; }
  .sheet-link { font-size: 13px; padding: 6px; }
  .sheet-back { width: 40px; height: 40px; }

  .cart-content { padding: 18px 14px; }
  .cart-item { grid-template-columns: 56px minmax(0, 1fr); gap: 10px; padding: 12px 0; }
  .cart-item img { width: 56px; height: 56px; border-radius: 12px; }
  .cart-item h3 { font-size: 13.5px; }
  .cart-item p { font-size: 11.5px; }
  .cart-item__bottom strong { font-size: 14px; }

  .cart-totalbar,
  .checkout-totalbar,
  .payment-actions { padding: 10px 14px calc(10px + var(--safe-bottom)); }
  .cart-totalbar__text strong,
  .checkout-totalbar__text strong { font-size: 17px; }

  .delivery-card { grid-template-columns: 32px minmax(0, 1fr) auto 22px; padding: 12px 14px; gap: 10px; }
  .delivery-card__icon { width: 32px; height: 32px; }
  .delivery-card strong { font-size: 14px; }
  .delivery-card span { font-size: 12px; }

  .pix-art { width: 116px; height: 116px; padding: 10px; }
  .timer-value { font-size: 26px; }
}

/* Telas muito pequenas (≤ 340px — Galaxy A baixo / Mini phones) */
@media (max-width: 340px) {
  .screen-pad,
  .top-hero,
  .br-banner,
  .search-line,
  .tab-row { padding-left: 12px; padding-right: 12px; }

  .restaurant-card { padding: 38px 16px 14px; }
  .restaurant-card h1 { font-size: 20px; line-height: 1.05; }
  .info-row { font-size: 13px; padding: 10px 0; }

  .section-title { font-size: 18px; margin-bottom: 12px; }

  .home-main { padding-top: 96px; padding-bottom: 14px; }

  .highlight-grid { gap: 8px; }
  .highlight-card__price { font-size: 13.5px; }
  .highlight-card__name { font-size: 12px; }

  .hero-deals__grid { gap: 8px; }
  .deal-card--featured .deal-card__media { height: 138px; }
  .deal-card--featured .deal-card__title { font-size: 16px; }
  .deal-card--featured .deal-card__price strong { font-size: 20px; }

  .deal-card--compact .deal-card__media { height: 92px; }
  .deal-card--compact .deal-card__title { font-size: 12.5px; }
  .deal-card--compact .deal-card__price strong { font-size: 14px; }

  .product-row { grid-template-columns: minmax(0, 1fr) 76px; gap: 8px; }
  .product-thumb { width: 76px; height: 76px; }
  .product-row h3 { font-size: 14px; }
  .product-row p { font-size: 12px; }

  .tab-button { font-size: 15.5px; gap: 18px; }
  .tab-row { gap: 18px; }

  .modal-hero { height: 220px; }
  .modal-info h2 { font-size: 18px; }
  .modal-info .modal-price { font-size: 20px; }

  .modal-buybar { grid-template-columns: 96px minmax(0, 1fr); padding-left: 12px; padding-right: 12px; }
  .qty-stepper { height: 44px; }
  .qty-stepper span { font-size: 15px; }
  .qty-stepper button svg { width: 16px; height: 16px; }
  .primary-btn { font-size: 13px; min-height: 46px; }

  .pix-art { width: 100px; height: 100px; }
  .pix-code { margin: 14px 12px; padding: 10px 6px 10px 12px; }
  .pix-code code { font-size: 11px; }
}
