/* -----------------------------------------------------------------
   Cardápio digital — mobile first, paleta quente (madeira, açaí, creme)
   ----------------------------------------------------------------- */

:root {
  --wood-dark: #3d2314;
  --wood-mid: #6b4423;
  --wood-light: #8b5a2b;
  --cream: #faf6ef;
  --cream-card: #fffdf8;
  --acai: #4a235a;
  --acai-soft: #7b4a8f;
  --accent-fruit: #c94c4c;
  --accent-leaf: #2d6a4f;
  --text: #2c2416;
  --text-muted: #6b5c4a;
  --border: rgba(61, 35, 20, 0.12);
  --shadow: 0 8px 24px rgba(61, 35, 20, 0.08);
  --shadow-lg: 0 14px 40px rgba(61, 35, 20, 0.1);
  --shadow-panel: 0 10px 36px rgba(61, 35, 20, 0.1);
  --radius: 14px;
  --radius-sm: 10px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  /* Altura aproximada da barra fixa (total, botão, dica ou “pronto”) */
  --bar-height: 124px;
  /* Ritmo entre blocos (fluxo guiado) */
  --section-gap: 1.65rem;
  --panel-pad-x: 1.35rem;
  --panel-pad-y: 1.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
  background: linear-gradient(165deg, var(--cream) 0%, #f0e6d8 45%, #e8ddd0 100%);
  min-height: 100dvh;
  padding-bottom: calc(var(--bar-height) + var(--safe-bottom) + 12px);
}

/* Cabeçalho */
.site-header {
  position: relative;
  background: linear-gradient(135deg, var(--wood-dark) 0%, var(--wood-mid) 50%, var(--acai) 100%);
  color: var(--cream);
  padding: 1.3rem 1rem 1.45rem;
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.site-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 80% at 100% 0%, rgba(255, 255, 255, 0.12), transparent 55%);
  pointer-events: none;
}

.site-header__inner {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
}

.site-header__whatsapp-hint {
  margin: 1rem 0 0;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255, 253, 248, 0.96);
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.site-header__whatsapp-icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.9;
}

.brand-logo {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid rgba(255, 253, 248, 0.25);
}

.brand-icon {
  font-size: 1.75rem;
}

.brand-text h1 {
  margin: 0;
  font-size: 1.42rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.18);
}

.tagline {
  margin: 0.25rem 0 0;
  font-size: 0.85rem;
  opacity: 0.92;
}

/* Conteúdo */
.main-content {
  max-width: 560px;
  margin: 0 auto;
  padding: 1.35rem 1rem 0;
}

.flow-preamble {
  margin: 0;
  padding: 0.55rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 12px;
  border: 1px solid rgba(61, 35, 20, 0.1);
  box-shadow: 0 2px 12px rgba(61, 35, 20, 0.05);
}

.page-stack {
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.page-stack .panel {
  margin-bottom: 0;
}

.panel {
  background: #fff;
  border-radius: calc(var(--radius) + 4px);
  padding: var(--panel-pad-y) var(--panel-pad-x);
  margin-bottom: 0.85rem;
  box-shadow: var(--shadow-panel);
  border: 1px solid rgba(61, 35, 20, 0.09);
  transition:
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

/* Fluxo guiado por etapas — barra lateral + cabeçalho */
.panel--step {
  border-left: 4px solid var(--step-accent);
  padding-left: calc(var(--panel-pad-x) + 0.2rem);
}

.panel--tone-1 {
  --step-accent: #7b4a8f;
  --step-accent-mid: #5f386f;
  --step-accent-soft: rgba(123, 74, 143, 0.22);
}

.panel--tone-2 {
  --step-accent: #2d6a4f;
  --step-accent-mid: #1f4d37;
  --step-accent-soft: rgba(45, 106, 79, 0.22);
}

.panel--tone-3 {
  --step-accent: #d97706;
  --step-accent-mid: #b45309;
  --step-accent-soft: rgba(217, 119, 6, 0.24);
}

.panel--tone-4 {
  --step-accent: #2563eb;
  --step-accent-mid: #1d4ed8;
  --step-accent-soft: rgba(37, 99, 235, 0.22);
}

.panel-head {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  margin: 0 0 1.15rem;
  padding-bottom: 1.05rem;
  border-bottom: 1px solid rgba(61, 35, 20, 0.08);
}

.panel-head-text {
  flex: 1;
  min-width: 0;
}

.panel-step {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.98rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  background: linear-gradient(145deg, var(--step-accent) 0%, var(--step-accent-mid) 100%);
  box-shadow:
    0 3px 12px var(--step-accent-soft),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.panel--step .panel-title {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--wood-dark);
  letter-spacing: -0.03em;
  line-height: 1.22;
  display: block;
}

.panel--step .panel-title::before {
  content: none;
  display: none;
}

.panel-subtitle {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.52;
  color: var(--text-muted);
  letter-spacing: -0.015em;
}

.panel-subtitle strong {
  color: var(--wood-mid);
  font-weight: 700;
}

#sec-acompanhamentos .panel-subtitle.panel-subtitle--dynamic {
  padding: 0.52rem 0.68rem;
  border-radius: 10px;
  background: rgba(45, 106, 79, 0.06);
  border: 1px solid rgba(45, 106, 79, 0.14);
}

#sec-acompanhamentos .panel-subtitle.dynamic-hint {
  font-weight: 600;
  color: var(--wood-mid);
}

/* Título legado (se algum painel não usar .panel--step) */
.panel-title {
  margin: 0 0 0.4rem;
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--wood-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.02em;
}

.panel:not(.panel--step) .panel-title::before {
  content: "";
  width: 4px;
  height: 1.15em;
  background: linear-gradient(180deg, var(--acai-soft), var(--accent-fruit));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ETAPA 4 — seção coerente com o preenchimento (sutil) */
.panel.panel--step.panel--ux-complete:not(.panel--error) {
  border-color: rgba(45, 106, 79, 0.22);
  border-left-color: var(--step-accent);
  box-shadow:
    0 8px 28px rgba(45, 106, 79, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  background: linear-gradient(165deg, #fff 0%, rgba(45, 106, 79, 0.04) 100%);
}

.panel.panel--summary.panel--step.panel--ux-complete:not(.panel--error) {
  border: 2px dashed rgba(74, 35, 90, 0.28);
  border-left: 4px solid var(--step-accent);
  background: linear-gradient(180deg, #fff 0%, rgba(45, 106, 79, 0.05) 100%);
}

.panel.panel--ux-complete:not(.panel--step):not(.panel--error) {
  border-color: rgba(45, 106, 79, 0.2);
  box-shadow:
    0 6px 22px rgba(45, 106, 79, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  background: linear-gradient(165deg, #fffcfa 0%, rgba(45, 106, 79, 0.045) 100%);
}

.panel--summary {
  border: 2px dashed rgba(74, 35, 90, 0.2);
  background: linear-gradient(180deg, #fff 0%, #faf6ef 100%);
}

.panel--summary.panel--step {
  border-left: 4px solid var(--step-accent);
}

.panel-hint {
  margin: 0 0 0.95rem;
  padding: 0.52rem 0.68rem;
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.5;
  letter-spacing: -0.01em;
  font-weight: 400;
  background: rgba(61, 35, 20, 0.04);
  border-radius: 10px;
  border: 1px solid rgba(61, 35, 20, 0.07);
}

.dynamic-hint {
  font-weight: 500;
  color: var(--wood-mid);
}

/* Barca — lembrete fixo + destaque quando aplicável */
.barca-promo-note {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  background: rgba(74, 35, 90, 0.06);
  border: 1px solid rgba(74, 35, 90, 0.12);
  border-radius: 10px;
}

.barca-promo-note strong {
  color: var(--acai);
  font-weight: 800;
}

.barca-promo-active {
  margin: 0 0 0.85rem;
  padding: 0.45rem 0.6rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.4;
  color: #14523d;
  background: linear-gradient(90deg, rgba(45, 106, 79, 0.12), rgba(45, 106, 79, 0.05));
  border: 1px solid rgba(45, 106, 79, 0.22);
  border-radius: 10px;
}

.barca-promo-active[hidden] {
  display: none !important;
}

.subsection {
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(61, 35, 20, 0.14);
}

.subsection:first-of-type {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: none;
}

.subsection-title {
  margin: 0 0 0.65rem;
  padding: 0.38rem 0.58rem;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wood-mid);
  font-weight: 800;
  background: rgba(61, 35, 20, 0.055);
  border-radius: 9px;
  border: 1px solid rgba(61, 35, 20, 0.08);
}

/* Outros produtos — grupos mais legíveis (só visual) */
#sec-outros .subsection {
  margin-top: 1.2rem;
  padding-top: 1.15rem;
}

#sec-outros .subsection:first-of-type {
  margin-top: 0.35rem;
  padding-top: 0;
}

#sec-outros .subsection-title {
  margin-bottom: 0.75rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  color: var(--wood-dark);
  background: linear-gradient(90deg, rgba(61, 35, 20, 0.07) 0%, rgba(61, 35, 20, 0.02) 100%);
  border: 1px solid rgba(61, 35, 20, 0.08);
  border-left: 3px solid rgba(107, 139, 174, 0.85);
  border-radius: 0 10px 10px 0;
}

#sec-outros .product-grid {
  gap: 1.05rem;
}

/* Grid de produtos */
.product-grid {
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.product-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.9rem 1rem;
  background: linear-gradient(90deg, #fff 0%, var(--cream) 100%);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(61, 35, 20, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
}

.product-card--active {
  border-color: rgba(45, 106, 79, 0.35);
  background: linear-gradient(95deg, #fff 0%, rgba(45, 106, 79, 0.07) 100%);
  box-shadow:
    0 4px 14px rgba(45, 106, 79, 0.1),
    inset 0 0 0 1px rgba(45, 106, 79, 0.08);
}

.product-card--active .product-name {
  color: var(--wood-dark);
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover {
    border-color: rgba(61, 35, 20, 0.18);
  }
}

/* Açaí — escolha única (radio visual) */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-grid--acai-radio {
  gap: 0.85rem;
}

.product-card--acai-radio {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  width: 100%;
  text-align: left;
}

.product-card--acai-radio:focus-within {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(123, 74, 143, 0.35),
    0 4px 16px rgba(61, 35, 20, 0.08);
}

.product-card--acai-radio.product-card--selected {
  border-color: rgba(123, 74, 143, 0.65);
  background: linear-gradient(95deg, #fff 0%, rgba(123, 74, 143, 0.12) 100%);
  box-shadow:
    0 6px 18px rgba(123, 74, 143, 0.18),
    inset 0 0 0 2px rgba(123, 74, 143, 0.22);
}

.product-card--acai-radio.product-card--selected .product-name {
  color: var(--wood-dark);
  font-weight: 700;
}

.acai-radio-indicator {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(61, 35, 20, 0.22);
  background: #fff;
  box-shadow: inset 0 1px 2px rgba(61, 35, 20, 0.08);
  position: relative;
}

.product-card--acai-radio.product-card--selected .acai-radio-indicator {
  border-color: var(--acai-soft);
  background: radial-gradient(circle at 35% 30%, #fff 0%, rgba(123, 74, 143, 0.15) 100%);
  box-shadow: 0 0 0 4px rgba(123, 74, 143, 0.18);
}

.product-card--acai-radio.product-card--selected .acai-radio-indicator::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--acai-soft), var(--acai));
}

/* AÇAÍ PURO — montagem só com tamanho (dentro do bloco de tamanhos) */
#sec-produtos-acai .acai-puro-option {
  margin-top: 1.1rem;
}

.acai-puro-option {
  margin: 0;
  padding: 1rem 1.15rem;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(145deg, #fff 0%, rgba(74, 35, 90, 0.06) 100%);
  border: 2px solid rgba(74, 35, 90, 0.22);
  box-shadow: var(--shadow-panel);
}

.acai-puro-option--waiting-size {
  opacity: 0.72;
  border-style: dashed;
}

.acai-puro-option--waiting-size .acai-puro-option__text {
  color: var(--text-muted);
}

.acai-puro-option__toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  user-select: none;
}

.acai-puro-option__toggle input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  accent-color: var(--acai);
  flex-shrink: 0;
}

.acai-puro-option__text {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--acai);
}

.acai-puro-option__hint {
  margin: 0.55rem 0 0 2rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.acai-puro-option.panel--ux-complete {
  border-color: rgba(45, 106, 79, 0.45);
  background: linear-gradient(145deg, #fff 0%, rgba(45, 106, 79, 0.08) 100%);
}

/* Salvar montagem — entre extras e outros produtos */
.montagem-actions {
  margin: 0;
  padding: 1rem 1.1rem;
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
  border: 1px solid rgba(61, 35, 20, 0.1);
  box-shadow: var(--shadow-panel);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: stretch;
}

.montagem-actions__hint {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.btn-add-acai {
  display: block;
  width: 100%;
  min-height: 3.35rem;
  border: 2px solid var(--acai);
  border-radius: 16px;
  padding: 1rem 1.35rem;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(145deg, var(--acai-soft) 0%, var(--acai) 52%, #3a1a47 100%);
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    filter 0.22s ease;
  box-shadow:
    0 6px 22px rgba(74, 35, 90, 0.32),
    0 2px 8px rgba(61, 35, 20, 0.12);
}

@media (hover: hover) and (pointer: fine) {
  .btn-add-acai:hover {
    transform: scale(1.03);
    border-color: #5c2d6e;
    filter: brightness(1.06);
    box-shadow:
      0 10px 30px rgba(74, 35, 90, 0.42),
      0 4px 14px rgba(61, 35, 20, 0.16);
  }
}

.btn-add-acai:active {
  transform: scale(0.98);
  filter: brightness(0.97);
}

.product-info {
  flex: 1;
  min-width: 0;
}

.product-name {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--wood-dark);
}

.product-price {
  font-size: 0.92rem;
  color: var(--accent-leaf);
  font-weight: 800;
  margin-top: 0.2rem;
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 5.25rem;
}

/* Stepper quantidade */
.stepper {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
}

.stepper button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 13px;
  background: linear-gradient(180deg, #7a4f30 0%, var(--wood-mid) 100%);
  color: #fff;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 8px rgba(61, 35, 20, 0.2);
  transition:
    transform 0.12s ease,
    background 0.15s ease,
    box-shadow 0.15s ease,
    opacity 0.15s ease;
}

@media (hover: hover) and (pointer: fine) {
  .stepper button:not(:disabled):hover {
    background: linear-gradient(180deg, #8a5a3a 0%, #754a28 100%);
    box-shadow: 0 4px 12px rgba(61, 35, 20, 0.28);
  }
}

.stepper button:active {
  transform: scale(0.96);
  background: var(--wood-dark);
}

.stepper button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
}

.stepper output {
  min-width: 30px;
  text-align: center;
  font-weight: 800;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

/* Opções (cobertura / acompanhamento) */
.option-list {
  display: flex;
  flex-direction: column;
  gap: 0.78rem;
}

.option-list--wrap {
  flex-direction: row;
  flex-wrap: wrap;
}

.option-chip {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.82rem 0.95rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.12s ease;
  -webkit-tap-highlight-color: transparent;
  box-shadow: 0 2px 10px rgba(61, 35, 20, 0.05);
}

@media (hover: hover) and (pointer: fine) {
  .option-chip:hover:not(:has(input:checked)):not(:has(input:disabled)) {
    border-color: rgba(61, 35, 20, 0.22);
    box-shadow: 0 3px 12px rgba(61, 35, 20, 0.07);
  }

  .option-chip:active:not(:has(input:disabled)) {
    transform: scale(0.99);
  }
}

.option-list--wrap .option-chip {
  flex: 1 1 calc(50% - 0.25rem);
  min-width: 140px;
}

.option-chip input {
  width: 1.1rem;
  height: 1.1rem;
  accent-color: var(--acai);
}

.option-chip:has(input:checked) {
  border-color: var(--acai-soft);
  background: linear-gradient(135deg, rgba(123, 74, 143, 0.11), rgba(201, 76, 76, 0.07));
  box-shadow:
    0 4px 14px rgba(123, 74, 143, 0.12),
    inset 0 0 0 1px rgba(123, 74, 143, 0.12);
}

.option-chip:has(input:disabled) {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.12);
  pointer-events: none;
}

.option-chip span {
  font-size: 0.92rem;
  font-weight: 500;
}

/* Adicionais */
.extras-grid {
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
}

#sec-adicionais .extras-grid {
  gap: 1.1rem;
}

.extra-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  padding: 0.85rem 0.9rem;
  background: #fff;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(61, 35, 20, 0.05);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    transform 0.2s ease;
}

#sec-adicionais .extra-row {
  padding: 0.95rem 1rem;
  border-radius: calc(var(--radius-sm) + 2px);
}

.extra-row--active {
  border-color: rgba(45, 106, 79, 0.32);
  background: linear-gradient(95deg, #fff 0%, rgba(45, 106, 79, 0.06) 100%);
  box-shadow:
    0 4px 14px rgba(45, 106, 79, 0.09),
    inset 0 0 0 1px rgba(45, 106, 79, 0.06);
}

#sec-adicionais .extra-row--active {
  border-color: rgba(45, 106, 79, 0.45);
  background: linear-gradient(100deg, #fff 0%, rgba(45, 106, 79, 0.09) 55%, rgba(255, 253, 248, 0.98) 100%);
  box-shadow:
    0 6px 20px rgba(45, 106, 79, 0.12),
    inset 0 0 0 1px rgba(45, 106, 79, 0.1);
  border-left: 3px solid var(--accent-leaf);
}

#sec-adicionais .extra-row--active .extra-name {
  font-weight: 700;
  color: var(--wood-dark);
}

@media (prefers-reduced-motion: no-preference) {
  #sec-adicionais .extra-row--active {
    animation: row-active-pop 0.38s ease;
  }
}

@keyframes row-active-pop {
  0% {
    box-shadow: 0 2px 10px rgba(61, 35, 20, 0.05);
  }
  45% {
    box-shadow:
      0 8px 26px rgba(45, 106, 79, 0.18),
      inset 0 0 0 1px rgba(45, 106, 79, 0.12);
  }
  100% {
    box-shadow:
      0 6px 20px rgba(45, 106, 79, 0.12),
      inset 0 0 0 1px rgba(45, 106, 79, 0.1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .extra-row:hover {
    border-color: rgba(61, 35, 20, 0.16);
  }
}

.extra-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.extra-name {
  font-size: 0.9rem;
  font-weight: 500;
  flex: 1;
  min-width: 0;
}

.extra-price {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-right: 0.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: right;
  min-width: 4.5rem;
}

.extra-row .stepper button {
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  border-radius: 11px;
}

/* Adicionais — stepper: + destaque, − neutro, área de toque maior */
#sec-adicionais .extra-row .stepper {
  gap: 0.5rem;
}

#sec-adicionais .extra-row .stepper button {
  width: 44px;
  height: 44px;
  font-size: 1.28rem;
  border-radius: 14px;
  border: 1px solid transparent;
}

#sec-adicionais .extra-row .stepper .btn-minus {
  background: linear-gradient(180deg, #f3f0ea 0%, #e8e2d8 100%);
  color: var(--wood-mid);
  box-shadow: 0 1px 4px rgba(61, 35, 20, 0.1);
}

#sec-adicionais .extra-row .stepper .btn-minus:not(:disabled):active {
  background: #ddd8cf;
}

#sec-adicionais .extra-row .stepper .btn-plus {
  background: linear-gradient(155deg, #3d9e6a 0%, var(--accent-leaf) 45%, #1e4d38 100%);
  color: #fff;
  box-shadow:
    0 4px 14px rgba(45, 106, 79, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  #sec-adicionais .extra-row .stepper .btn-plus:not(:disabled):hover {
    filter: brightness(1.06);
    box-shadow:
      0 6px 18px rgba(45, 106, 79, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  #sec-adicionais .extra-row .stepper .btn-minus:not(:disabled):hover {
    background: linear-gradient(180deg, #faf8f4 0%, #ece6dc 100%);
    border-color: rgba(61, 35, 20, 0.12);
  }
}

#sec-adicionais .extra-row .stepper .btn-plus:active {
  transform: scale(0.96);
  background: linear-gradient(155deg, #2f8f5e 0%, #256747 100%);
}

#sec-adicionais .extra-row .stepper .btn-minus:active {
  transform: scale(0.96);
  background: #d4cec3;
}

#sec-adicionais .extra-row .stepper output {
  min-width: 34px;
  font-size: 1.08rem;
  color: var(--wood-dark);
}

#sec-adicionais .extra-row--active .stepper output {
  color: var(--accent-leaf);
}

/* Outros produtos — cards e stepper (não afeta açaí em rádio) */
#sec-outros .product-card:not(.product-card--acai-radio) {
  padding: 1rem 1.05rem;
  border-radius: calc(var(--radius-sm) + 2px);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    transform 0.2s ease;
}

#sec-outros .product-card--active:not(.product-card--acai-radio) {
  border-color: rgba(107, 139, 174, 0.42);
  background: linear-gradient(100deg, #fff 0%, rgba(107, 139, 174, 0.08) 100%);
  box-shadow:
    0 6px 22px rgba(61, 90, 128, 0.12),
    inset 0 0 0 1px rgba(107, 139, 174, 0.14);
  border-left: 3px solid rgba(107, 139, 174, 0.9);
}

#sec-outros .product-card--active:not(.product-card--acai-radio) .product-name {
  font-weight: 700;
}

@media (prefers-reduced-motion: no-preference) {
  #sec-outros .product-card--active:not(.product-card--acai-radio) {
    animation: row-active-pop-outros 0.38s ease;
  }
}

@keyframes row-active-pop-outros {
  0% {
    box-shadow: 0 2px 10px rgba(61, 35, 20, 0.05);
  }
  45% {
    box-shadow:
      0 8px 26px rgba(61, 90, 128, 0.2),
      inset 0 0 0 1px rgba(107, 139, 174, 0.18);
  }
  100% {
    box-shadow:
      0 6px 22px rgba(61, 90, 128, 0.12),
      inset 0 0 0 1px rgba(107, 139, 174, 0.14);
  }
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper {
  gap: 0.5rem;
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper button {
  width: 44px;
  height: 44px;
  font-size: 1.28rem;
  border-radius: 14px;
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper .btn-minus {
  background: linear-gradient(180deg, #f3f0ea 0%, #e8e2d8 100%);
  color: var(--wood-mid);
  box-shadow: 0 1px 4px rgba(61, 35, 20, 0.1);
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper .btn-plus {
  background: linear-gradient(155deg, #6b8cae 0%, #3d5a80 100%);
  color: #fff;
  box-shadow:
    0 4px 14px rgba(61, 90, 128, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

@media (hover: hover) and (pointer: fine) {
  #sec-outros .product-card:not(.product-card--acai-radio) .stepper .btn-plus:not(:disabled):hover {
    filter: brightness(1.05);
    box-shadow:
      0 6px 18px rgba(61, 90, 128, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.25);
  }

  #sec-outros .product-card:not(.product-card--acai-radio) .stepper .btn-minus:not(:disabled):hover {
    background: linear-gradient(180deg, #faf8f4 0%, #ece6dc 100%);
    border: 1px solid rgba(61, 35, 20, 0.1);
  }
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper .btn-plus:active {
  transform: scale(0.96);
  background: linear-gradient(155deg, #5a7a9c 0%, #2f4a6a 100%);
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper .btn-minus:active {
  transform: scale(0.96);
  background: #d4cec3;
}

#sec-outros .product-card:not(.product-card--acai-radio) .stepper output {
  min-width: 34px;
  font-size: 1.08rem;
}

#sec-outros .product-card--active:not(.product-card--acai-radio) .stepper output {
  color: #2f4d6a;
}

/* Campos formulário */
.field {
  display: block;
  margin-bottom: 1rem;
}

.field:last-child {
  margin-bottom: 0;
}

.field-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--wood-dark);
  margin-bottom: 0.35rem;
}

.req {
  color: var(--accent-fruit);
}

input[type="text"],
textarea {
  width: 100%;
  padding: 0.75rem 0.85rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--acai-soft);
  box-shadow: 0 0 0 3px rgba(123, 74, 143, 0.2);
}

textarea {
  resize: vertical;
  min-height: 72px;
}

.fieldset-plain {
  border: none;
  padding: 0;
  margin: 0 0 1rem;
}

.fieldset-plain legend {
  padding: 0;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.radio-row--stack {
  flex-direction: column;
}

.chip-radio {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-sm);
  border: 2px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 500;
  flex: 1;
  min-width: 100px;
  transition:
    border-color 0.16s ease,
    background 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.chip-radio input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-radio:has(input:checked) {
  border-color: var(--accent-leaf);
  background: rgba(45, 106, 79, 0.08);
  color: var(--wood-dark);
}

@media (hover: hover) and (pointer: fine) {
  .chip-radio:hover:not(:has(input:checked)) {
    border-color: rgba(61, 35, 20, 0.2);
    box-shadow: 0 2px 10px rgba(61, 35, 20, 0.06);
  }

  .chip-radio:active {
    transform: scale(0.99);
  }
}

.hidden {
  display: none !important;
}

/* ETAPA 3 — destaque de erro em seções/campos */
.panel--error {
  border-color: rgba(201, 76, 76, 0.5) !important;
  box-shadow:
    0 0 0 2px rgba(201, 76, 76, 0.12),
    var(--shadow);
}

.panel.panel--step.panel--error {
  border-left-color: rgba(201, 76, 76, 0.92) !important;
}

.field--error .field-label {
  color: var(--accent-fruit);
}

.field--error input,
.field--error textarea {
  border-color: rgba(201, 76, 76, 0.55);
  box-shadow: 0 0 0 3px rgba(201, 76, 76, 0.12);
}

/* Resumo — ETAPA 2 (estrutura + hierarquia) */
#sec-resumo .summary-panel__intro {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.52;
}

.summary-box {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.45;
  word-break: break-word;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(61, 35, 20, 0.1);
  border-radius: calc(var(--radius-sm) + 2px);
  padding: 1.05rem 1.05rem 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 6px 22px rgba(61, 35, 20, 0.07);
}

.summary-box.empty {
  padding: 1.1rem 0.95rem;
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.9) 0%, #fff 100%);
}

.summary-empty {
  text-align: center;
  padding: 0.35rem 0.25rem 0.15rem;
}

.summary-empty__icon {
  display: block;
  font-size: 1.75rem;
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.summary-empty__title {
  margin: 0 0 0.4rem;
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--wood-dark);
  letter-spacing: -0.02em;
}

.summary-empty__text {
  margin: 0;
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-style: normal;
}

.summary-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.summary-item {
  border-radius: 14px;
  border: 1px solid rgba(61, 35, 20, 0.1);
  background: linear-gradient(180deg, #fff 0%, rgba(250, 246, 239, 0.55) 100%);
  overflow: hidden;
}

.summary-item--acai {
  border-color: rgba(74, 35, 90, 0.22);
  box-shadow: 0 4px 16px rgba(74, 35, 90, 0.07);
}

.summary-item--draft {
  border-style: dashed;
  border-color: rgba(74, 35, 90, 0.35);
  background: linear-gradient(180deg, #fffefb 0%, rgba(250, 246, 239, 0.85) 100%);
}

/* Cabeçalho do item: selo | produto (nome) | preço */
.summary-item__head--product {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.65rem 0.85rem;
  padding: 0.95rem 1rem;
  border-bottom: 1px solid rgba(61, 35, 20, 0.07);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 246, 239, 0.35) 100%);
}

.summary-item__badge {
  flex-shrink: 0;
  min-width: 2.5rem;
  padding: 0.35rem 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--wood-dark);
  font-variant-numeric: tabular-nums;
  text-align: center;
  line-height: 1.1;
  background: rgba(61, 35, 20, 0.06);
  border: 1px solid rgba(61, 35, 20, 0.1);
  border-radius: 10px;
}

.summary-item__badge--qty {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--wood-mid);
  background: rgba(107, 139, 174, 0.12);
  border-color: rgba(107, 139, 174, 0.22);
}

.summary-item__product {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.summary-item__name--lead {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--wood-dark);
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.summary-item__meta {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.summary-item__price {
  flex-shrink: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-leaf);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  text-align: right;
  line-height: 1.15;
}

.summary-item--simple .summary-item__price {
  color: #2f4d6a;
}

.summary-item__details {
  padding: 0.75rem 1rem 0.95rem;
  border-top: none;
  background: rgba(74, 35, 90, 0.035);
}

.summary-item__details--blocks {
  display: flex;
  flex-direction: column;
  gap: 0.72rem;
}

.summary-detail-block {
  padding: 0.6rem 0.7rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(61, 35, 20, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.summary-detail-block__label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--wood-mid);
  margin-bottom: 0.35rem;
}

.summary-detail-block__value {
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--text);
  font-weight: 500;
}

.summary-extras-list {
  margin: 0;
  padding: 0.15rem 0 0 1.1rem;
  list-style: disc;
}

.summary-extras-list li {
  margin-bottom: 0.35rem;
  padding-left: 0.1rem;
}
.summary-extras-list li:last-child {
  margin-bottom: 0;
}

.summary-rollups {
  margin-top: 1.05rem;
  padding-top: 1rem;
  border-top: 1px dashed rgba(61, 35, 20, 0.2);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.summary-rollups--stack {
  margin-top: 1.1rem;
  padding: 0.85rem 0.75rem;
  border-radius: 12px;
  background: rgba(61, 35, 20, 0.04);
  border: 1px solid rgba(61, 35, 20, 0.08);
}

.summary-rollups__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.85rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.summary-rollups__label {
  font-weight: 700;
  color: var(--wood-mid);
}

.summary-rollups__value {
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: var(--wood-dark);
}

.summary-total-wrap {
  margin-top: 1.15rem;
  padding-top: 0.25rem;
}

.total-line {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
}

.total-line--grand {
  padding: 1rem 1.05rem;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 2px solid rgba(45, 106, 79, 0.35);
  background: linear-gradient(145deg, rgba(45, 106, 79, 0.12) 0%, rgba(74, 35, 90, 0.06) 100%);
  box-shadow:
    0 10px 28px rgba(45, 106, 79, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.total-line__label {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wood-dark);
  opacity: 0.88;
}

.total-line__amount {
  display: block;
  margin: 0;
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--accent-leaf);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

#sec-resumo.panel--summary .panel-title {
  margin-bottom: 0.35rem;
}

@media (max-width: 360px) {
  .summary-item__head--product {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .summary-item__badge {
    grid-column: 1;
    grid-row: 1;
    align-self: start;
  }

  .summary-item__product {
    grid-column: 2;
    grid-row: 1;
  }

  .summary-item__price {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: end;
  }
}

.bottom-spacer {
  height: 8px;
}

/* Barra fixa inferior */
.order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 0.65rem 0.85rem calc(0.65rem + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(250, 246, 239, 0.94) 0%, var(--cream) 38%);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 28px rgba(61, 35, 20, 0.11);
  transition: box-shadow 0.25s ease;
}

.order-bar-wrap {
  max-width: 560px;
  margin: 0 auto;
  transition: filter 0.2s ease;
}

.order-bar-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.submit-ready {
  margin: 0.42rem 0 0;
  padding: 0.48rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: #14523d;
  text-align: center;
  background: linear-gradient(90deg, rgba(45, 106, 79, 0.14), rgba(45, 106, 79, 0.06));
  border: 1px solid rgba(45, 106, 79, 0.28);
  border-radius: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.submit-ready[hidden] {
  display: none !important;
}

.submit-hint {
  margin: 0.45rem 0 0;
  padding: 0.5rem 0.65rem;
  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--wood-dark);
  text-align: center;
  background: rgba(201, 76, 76, 0.1);
  border: 1px solid rgba(201, 76, 76, 0.22);
  border-radius: 10px;
}

.order-bar-summary {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 0.15rem 0;
  gap: 0.12rem;
}

.order-bar-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--text-muted);
}

.order-bar-total {
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--wood-dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.65);
}

.order-bar-wrap--ready .order-bar-total {
  color: #2a1a10;
}

.order-bar-wrap--ready {
  filter: drop-shadow(0 -2px 14px rgba(45, 106, 79, 0.12));
}

.btn-whatsapp {
  flex: 1;
  border: none;
  border-radius: 14px;
  padding: 0.92rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(145deg, #2fe078 0%, #25d366 38%, #128c7e 100%);
  box-shadow:
    0 4px 16px rgba(37, 211, 102, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  transition:
    transform 0.14s ease,
    box-shadow 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .btn-whatsapp:not(:disabled):not(.btn-whatsapp--disabled):hover {
    box-shadow:
      0 6px 22px rgba(37, 211, 102, 0.48),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
    filter: brightness(1.03);
  }
}

.btn-whatsapp:active {
  transform: scale(0.98);
}

.btn-whatsapp:disabled,
.btn-whatsapp.btn-whatsapp--disabled {
  opacity: 0.52;
  cursor: not-allowed;
  filter: saturate(0.75);
  box-shadow: none;
}

.btn-whatsapp:disabled:active,
.btn-whatsapp.btn-whatsapp--disabled:active {
  transform: none;
}

/* Toast validação */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--bar-height) + var(--safe-bottom) + 20px);
  transform: translateX(-50%) translateY(0);
  max-width: min(92vw, 400px);
  padding: 0.75rem 1rem;
  background: var(--wood-dark);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 200;
  animation: toast-in 0.25s ease;
}

.toast[hidden] {
  display: none;
}

/* Retorno pós-envio (overlay discreto, alinhado à paleta) */
.cardapio-return-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.cardapio-return-overlay[hidden] {
  display: none !important;
}

.cardapio-return-overlay__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 36, 22, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.cardapio-return-overlay__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 400px);
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--cream-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  text-align: center;
}

.cardapio-flow-overlay__panel {
  width: min(100%, 440px);
  max-height: min(88dvh, 640px);
  overflow-y: auto;
  text-align: left;
  -webkit-overflow-scrolling: touch;
}

.flow-block__lead {
  margin-top: 0.35rem;
}

.flow-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1rem 0 0.85rem;
}

.flow-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.82rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.25;
  transition: filter 0.15s ease, transform 0.12s ease;
}

.flow-btn:active {
  transform: scale(0.99);
}

.flow-btn--whatsapp {
  color: #fff;
  background: linear-gradient(145deg, #2fe078 0%, #25d366 38%, #128c7e 100%);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.flow-btn--primary {
  color: #fff;
  background: linear-gradient(145deg, var(--wood-mid) 0%, var(--wood-dark) 100%);
  box-shadow: var(--shadow);
}

.flow-btn--secondary {
  color: var(--wood-dark);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border);
  box-shadow: none;
}

.flow-btn--ghost {
  color: var(--wood-dark);
  background: transparent;
  border: 1px dashed rgba(61, 35, 20, 0.28);
  font-weight: 650;
}

.flow-btn--wide {
  margin-top: 0.25rem;
}

.flow-helper {
  margin: 0.75rem 0 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

.flow-fallback {
  margin-top: 1rem;
  padding: 0.85rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(250, 246, 239, 0.9);
  border: 1px solid var(--border);
  text-align: center;
}

.flow-fallback__line {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  color: var(--text);
}

.flow-fallback__label {
  font-weight: 600;
  color: var(--text-muted);
  margin-right: 0.25rem;
}

.flow-fallback__number {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.flow-overlay-foot {
  margin: 1.1rem 0 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--text-muted);
  text-align: center;
}

#flow-step-success {
  text-align: center;
}

#flow-step-success .cardapio-return-overlay__text {
  text-align: center;
}

.flow-reassurance {
  margin: 0.75rem 0 0;
  padding: 0.65rem 0.7rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--accent-leaf);
  font-weight: 650;
  text-align: center;
  background: rgba(45, 106, 79, 0.08);
  border: 1px solid rgba(45, 106, 79, 0.2);
  border-radius: var(--radius-sm);
}

.flow-step--return {
  text-align: center;
}

.flow-actions--row {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
}

.flow-actions--row .flow-btn {
  width: auto;
  min-width: min(46%, 160px);
  flex: 1 1 140px;
}

.flow-return-prompt__text {
  margin-bottom: 0.35rem;
}

.cardapio-return-overlay__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.cardapio-return-overlay__title {
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--wood-dark);
  line-height: 1.25;
}

.cardapio-return-overlay__text {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text);
}

.cardapio-return-overlay__btn {
  width: 100%;
  border: none;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(145deg, var(--wood-mid) 0%, var(--wood-dark) 100%);
  box-shadow: var(--shadow);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) and (pointer: fine) {
  .cardapio-return-overlay__btn:hover {
    filter: brightness(1.05);
  }
}

@keyframes toast-in {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

/* Acessibilidade foco visível */
button:focus-visible,
.option-chip:focus-within,
.chip-radio:focus-within {
  outline: 2px solid var(--acai-soft);
  outline-offset: 2px;
}

@media (max-width: 380px) {
  .main-content {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .site-header {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (min-width: 480px) {
  .brand-text h1 {
    font-size: 1.55rem;
  }

  .product-card {
    padding: 1rem 1.1rem;
  }

  .main-content {
    padding-left: 1.1rem;
    padding-right: 1.1rem;
  }
}
