/* =====================================================================
   RÉGIS PIZZARIA — estilos
   Paleta extraída da logo oficial: vermelho tomate, dourado mostarda,
   verde da faixa "PIZZARIA", creme de fundo. Mobile-first.
   ===================================================================== */

:root {
  --primary: #c22a2a;
  --primary-dark: #8c1c1c;
  --secondary: #1c5c38;
  --secondary-dark: #124026;
  --gold: #eeb111;
  --gold-dark: #c98f06;
  --cream: #fff8e8;
  --background: #fffdf8;
  --surface: #ffffff;
  --text: #2a2420;
  --muted: #7a6f63;
  --border: #ece2d0;
  --success: #1c5c38;
  --danger: #c22a2a;
  --shadow: 0 8px 24px rgba(42, 36, 32, 0.12);
  --shadow-sm: 0 2px 8px rgba(42, 36, 32, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 64px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--background);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 148px;
}

img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font-family: inherit; font-size: 16px; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 16px; }

h1, h2, h3, .display { font-family: var(--font-display); }

.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;
}

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  transition: background-color .25s ease, border-color .25s ease;
}
.header.scrolled { background: var(--secondary-dark); border-bottom-color: var(--secondary-dark); }
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
}
.header__logo { display: flex; align-items: center; gap: 10px; }
.header__logo img { height: 44px; width: auto; }
.header__brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--primary-dark); transition: color .25s ease; }
.header.scrolled .header__brand { color: var(--gold); }
.header__nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream); color: var(--primary-dark);
}

.header__whats {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 42px; height: 42px; border-radius: 50%;
  flex-shrink: 0;
}
.header__whats-icon { display: flex; }
.header__whats-label { display: none; }
@media (min-width: 560px) {
  .header__whats { width: auto; height: auto; padding: 11px 20px; border-radius: 999px; }
  .header__whats-label { display: inline; font-weight: 700; font-size: .88rem; white-space: nowrap; }
}

.header__google {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 42px; height: 42px; border-radius: 50%;
  background: #fff; border: 2px solid var(--secondary); color: var(--text);
  flex-shrink: 0;
}
.header__google-icon { display: flex; }
.header__google-label { display: none; }
@media (min-width: 560px) {
  .header__google { width: auto; height: auto; padding: 9px 18px; border-radius: 999px; }
  .header__google-label { display: inline; font-weight: 700; font-size: .88rem; white-space: nowrap; }
}

/* ===================== HERO ===================== */
.hero {
  background:
    radial-gradient(circle at 18% -12%, rgba(238,177,17,.22), transparent 45%),
    linear-gradient(160deg, var(--secondary) 0%, var(--secondary-dark) 100%);
  padding: 32px 0 28px;
  text-align: center;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold), var(--secondary));
}
.hero__logo {
  filter: drop-shadow(0 10px 22px rgba(0,0,0,.35));
}

.hero__sociais {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 14px;
}
.social-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 16px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  background: var(--surface); border: 2px solid var(--gold); color: var(--text);
  box-shadow: var(--shadow-sm);
}

/* ===================== BARRA FIXA (navegação rápida) ===================== */
.bottom-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: flex; background: var(--surface); border-top: 1px solid var(--border);
  box-shadow: 0 -4px 14px rgba(42,36,32,.1);
}
.bottom-bar__item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  padding: 8px 4px 7px; font-size: .66rem; font-weight: 700; color: var(--text);
  background: none; border: none; font-family: inherit;
}
.bottom-bar__icon { font-size: 1.2rem; line-height: 1; }

@media (min-width: 900px) {
  .bottom-bar { display: none; }
  body { padding-bottom: 0; }
}

.hero__logo { width: 120px; height: auto; margin: 0 auto 14px; }
.hero__status {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: 999px; font-size: .8rem; font-weight: 700;
  margin-bottom: 14px; letter-spacing: .02em; background: var(--cream);
}
.hero__status.aberto { color: var(--secondary-dark); }
.hero__status.fechado { color: var(--primary); }
.hero__status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }

.hero__horario {
  display: inline-block; font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.9); margin-bottom: 10px;
}
.hero__tradicao {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .04em;
  color: var(--gold); text-transform: uppercase; margin-bottom: 10px;
}
.hero h1 {
  font-size: 2rem; line-height: 1.15; color: var(--gold);
  margin-bottom: 10px; font-weight: 700; text-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.hero p.sub { color: rgba(255,255,255,.86); font-size: 1rem; max-width: 480px; margin: 0 auto 22px; }
.hero__ctas { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: var(--surface); color: var(--primary-dark); border: 2px solid var(--primary); }
.btn-gold { background: var(--gold); color: var(--primary-dark); }
.btn-outline { background: transparent; border: 2px solid var(--border); color: var(--text); }
.btn-google { background: #fff; border: 2px solid var(--secondary); color: var(--text); }
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: .82rem; }

/* =============================================
   Shiny CTA — botão da capa com borda animada, shimmer e glow no hover
   Cores adaptadas à paleta da Régi's (vermelho/dourado/branco).
   ============================================= */
@property --gradient-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-angle-offset {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
@property --gradient-percent {
  syntax: "<percentage>";
  initial-value: 5%;
  inherits: false;
}
@property --gradient-shine {
  syntax: "<color>";
  initial-value: white;
  inherits: false;
}

.shiny-cta {
  --shiny-cta-highlight: var(--gold);
  --shiny-cta-highlight-subtle: #f6dd8c;
  --animation: gradient-angle linear infinite;
  --duration: 3s;
  --shadow-size: 2px;
  --transition: 800ms cubic-bezier(0.25, 1, 0.5, 1);

  isolation: isolate;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  outline-offset: 4px;
  border: 1px solid transparent;
  color: var(--shiny-cta-fg);

  background:
    linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
    conic-gradient(
        from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
        transparent,
        var(--shiny-cta-highlight) var(--gradient-percent),
        var(--shiny-cta-highlight-subtle) calc(var(--gradient-percent) * 2),
        var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
        transparent calc(var(--gradient-percent) * 4)
      )
      border-box;

  box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle), var(--shadow-sm);
  transition: var(--transition);
  transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine;
}

.shiny-cta.btn-primary {
  --shiny-cta-bg: var(--primary);
  --shiny-cta-bg-subtle: var(--primary-dark);
  --shiny-cta-fg: #ffffff;
}
.shiny-cta.btn-secondary {
  --shiny-cta-bg: var(--primary);
  --shiny-cta-bg-subtle: var(--primary-dark);
  --shiny-cta-fg: #ffffff;
}

.shiny-cta.header__whats {
  --shiny-cta-bg: var(--gold);
  --shiny-cta-bg-subtle: var(--gold-dark);
  --shiny-cta-fg: var(--primary-dark);
  --shiny-cta-highlight: var(--primary);
  --shiny-cta-highlight-subtle: #e88888;
}

.shiny-cta::before,
.shiny-cta::after,
.shiny-cta span::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  translate: -50% -50%;
  z-index: -1;
}
.shiny-cta:active { translate: 0 1px; }

.shiny-cta::before {
  --size: calc(100% - var(--shadow-size) * 3);
  --position: 2px;
  --space: calc(var(--position) * 2);
  width: var(--size);
  height: var(--size);
  background:
    radial-gradient(
        circle at var(--position) var(--position),
        white calc(var(--position) / 4),
        transparent 0
      )
      padding-box;
  background-size: var(--space) var(--space);
  background-repeat: space;
  mask-image: conic-gradient(
    from calc(var(--gradient-angle) + 45deg),
    black,
    transparent 10% 90%,
    black
  );
  border-radius: inherit;
  opacity: 0.4;
  z-index: -1;
}

.shiny-cta::after {
  --animation: shimmer linear infinite;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, var(--shiny-cta-highlight), transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
}

.shiny-cta span { position: relative; z-index: 1; }

.shiny-cta span::before {
  --size: calc(100% + 1rem);
  width: var(--size);
  height: var(--size);
  box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
  opacity: 0;
  transition: opacity var(--transition);
  animation: calc(var(--duration) * 1.5) breathe linear infinite;
}

.shiny-cta,
.shiny-cta::before,
.shiny-cta::after {
  animation: var(--animation) var(--duration),
    var(--animation) calc(var(--duration) / 0.4) reverse paused;
  animation-composition: add;
}

.shiny-cta:is(:hover, :focus-visible) {
  --gradient-percent: 20%;
  --gradient-angle-offset: 95deg;
  --gradient-shine: var(--shiny-cta-highlight-subtle);
}
.shiny-cta:is(:hover, :focus-visible),
.shiny-cta:is(:hover, :focus-visible)::before,
.shiny-cta:is(:hover, :focus-visible)::after {
  animation-play-state: running;
}
.shiny-cta:is(:hover, :focus-visible) span::before { opacity: 1; }

@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shimmer { to { rotate: 360deg; } }
@keyframes breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

@media (prefers-reduced-motion: reduce) {
  .shiny-cta, .shiny-cta::before, .shiny-cta::after { animation: none; }
  .shiny-cta span::before { animation: none; }
}

/* ===================== NAV CATEGORIAS ===================== */
.cat-nav {
  position: sticky; top: var(--header-h); z-index: 30;
  background: var(--background);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.cat-nav__scroll {
  display: flex; gap: 8px; overflow-x: auto; padding: 0 16px;
  scrollbar-width: none;
}
.cat-nav__scroll::-webkit-scrollbar { display: none; }
.cat-chip {
  flex: 0 0 auto; padding: 9px 16px; border-radius: 999px;
  background: var(--gold); border: 2px solid var(--secondary);
  font-size: .85rem; font-weight: 700; color: var(--primary-dark);
}
.cat-chip.active { background: var(--primary); color: #fff; border-color: var(--secondary); }

/* ===================== SEÇÕES ===================== */
.section { padding: 36px 0; position: relative; }
.section::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 25%, #fff3c4 50%, var(--gold) 75%, var(--gold-dark) 100%);
  background-size: 200% 100%;
  animation: faixaBrilho 3s linear infinite;
}
@keyframes faixaBrilho {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .section::after { animation: none; }
}
.section--tinted { background: var(--cream); }
.section__head { margin-bottom: 18px; }
.section__eyebrow { color: var(--gold-dark); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.section__title { font-size: 1.5rem; color: var(--primary-dark); margin-top: 4px; }
.section__sub { color: var(--muted); font-size: .92rem; margin-top: 4px; }

.h-scroll {
  display: flex; gap: 14px; overflow-x: auto; padding: 4px 16px 12px;
  margin: 0 -16px; scroll-snap-type: x proximity;
}
.h-scroll::-webkit-scrollbar { display: none; }
.grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}

/* ===================== CARDS ===================== */
.card {
  background: var(--surface); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 2px solid var(--secondary);
  display: flex; flex-direction: column;
}
.card__img-wrap { position: relative; aspect-ratio: 4/3; background: var(--cream); overflow: hidden; }
.card__img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.card__badge {
  position: absolute; top: 10px; left: 10px;
  padding: 5px 10px; border-radius: 999px; font-size: .68rem; font-weight: 800;
  letter-spacing: .03em; text-transform: uppercase; color: #fff;
}
.card__badge.queridinha { background: var(--gold); color: var(--primary-dark); }
.card__badge.novidade { background: var(--secondary); }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 30px; height: 30px;
  border-radius: 50%; background: rgba(255,255,255,.9); color: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.fav-btn.is-fav { background: var(--primary); color: #fff; }
.card__body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__name { font-weight: 700; font-size: .95rem; color: var(--text); }
.card__desc { font-size: .78rem; color: var(--muted); line-height: 1.4; min-height: 2.2em; }
.card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; }
.card__price { font-weight: 800; color: var(--primary-dark); font-size: .95rem; }
.card__price small { font-weight: 600; color: var(--muted); font-size: .68rem; }

.card--wide { flex-direction: row; }
.card--wide .card__img-wrap { width: 110px; aspect-ratio: auto; flex-shrink: 0; }
.card--wide .card__body { padding: 10px 12px; }

/* card destaque (queridinha) maior e com moldura dourada */
.card--destaque { border: 2px solid var(--gold); flex: 0 0 240px; scroll-snap-align: start; }
.card--novidade { flex: 0 0 200px; scroll-snap-align: start; }
.kombos-grid { display: flex; flex-direction: column; gap: 12px; }
.card--kombo { flex-direction: row; align-items: stretch; }
.card--kombo .card__img-wrap { width: 130px; aspect-ratio: auto; flex-shrink: 0; }
.kombo-savings { font-size: .72rem; color: var(--secondary); font-weight: 700; }
.price-strike { text-decoration: line-through; color: var(--muted); font-size: .78rem; margin-right: 6px; font-weight: 500; }

/* ===================== HISTÓRIA / DIFERENCIAIS ===================== */
.historia { text-align: center; max-width: 620px; margin: 0 auto; }
.historia p { color: var(--muted); margin-top: 10px; }
.diferenciais { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 20px; }
.diferencial { background: var(--surface); border: 2px solid var(--secondary); border-radius: var(--radius-sm); padding: 16px; text-align: center; }
.diferencial strong { display: block; font-size: .88rem; color: var(--primary-dark); margin-bottom: 4px; }
.diferencial span { font-size: .76rem; color: var(--muted); }

/* ===================== AVALIAÇÕES ===================== */
.grid--avaliacoes { grid-template-columns: 1fr; }
.avaliacao-card {
  background: var(--secondary); color: #fff; border-radius: var(--radius);
  padding: 22px 20px; display: flex; flex-direction: column; gap: 12px;
  border: 2px solid var(--gold);
}
.avaliacao-card__topo { display: flex; align-items: center; gap: 8px; }
.avaliacao-card__estrelas { color: var(--gold); font-size: 1rem; letter-spacing: 2px; }
.avaliacao-card__texto { font-style: italic; font-size: .9rem; line-height: 1.55; color: #f0ede2; flex: 1; }
.avaliacao-card__autor { display: flex; align-items: center; gap: 10px; }
.avaliacao-card__avatar {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.15);
  display: flex; align-items: center; justify-content: center; font-weight: 800; flex-shrink: 0;
}
.avaliacao-card__autor strong { display: block; font-size: .85rem; }
.avaliacao-card__autor span { font-size: .74rem; color: #d9e4dc; }

.avaliacao-card--vazia {
  background: transparent; border: 2px dashed var(--gold); color: var(--muted);
}
.avaliacao-card--vazia .avaliacao-card__texto { color: var(--muted); font-style: normal; }
.avaliacao-card--vazia .avaliacao-card__avatar { background: var(--cream); color: var(--muted); }
.avaliacao-card--vazia .avaliacao-card__autor span { color: var(--muted); }

/* ===================== INSTAGRAM / MAPA ===================== */
.social-box, .map-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 22px; text-align: center; max-width: 620px; margin: 0 auto;
}
.map-box { border: 2px solid var(--secondary); }
.social-box strong, .map-box strong { display: block; font-size: 1.1rem; margin-bottom: 4px; color: var(--primary-dark); }

/* ===================== FOOTER ===================== */
.footer { background: var(--secondary); color: #f2ede2; padding: 36px 0 48px; margin-top: 20px; }
.footer__logo { height: 44px; margin-bottom: 12px; filter: brightness(1.1); }
.footer__grid { display: grid; gap: 28px; }
.footer__col a { display: block; padding: 6px 0; color: #d9d2c4; font-size: .88rem; }
.footer__col h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); margin-bottom: 8px; }
.footer__desc { font-size: .85rem; color: #d9d2c4; line-height: 1.5; }
.footer__social { display: flex; gap: 10px; margin-top: 14px; }
.footer__social a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.12);
  display: flex; align-items: center; justify-content: center; color: #fff;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 28px; padding-top: 16px;
  font-size: .78rem; color: #b8b0a0; display: flex; flex-direction: column; gap: 6px; text-align: center;
}
.footer__bottom a { color: var(--gold); font-weight: 700; }

/* ===================== BOTÕES FLUTUANTES ===================== */
.fab-stack {
  position: fixed; right: 16px; bottom: 76px; z-index: 50;
  display: flex; flex-direction: column; gap: 12px; align-items: flex-end;
}
.fab {
  width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); position: relative;
}
.fab-cart { background: var(--gold); color: var(--primary-dark); }
.fab-whats { background: #25d366; color: #fff; }
.fab-cart .badge {
  position: absolute; top: -4px; right: -4px; background: var(--gold); color: var(--primary-dark);
  font-size: .68rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* ===================== MODAL BASE (produto / carrinho) ===================== */
.overlay {
  position: fixed; inset: 0; background: rgba(20, 16, 12, .5);
  z-index: 100; display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.overlay.open { opacity: 1; pointer-events: auto; }

.sheet {
  background: var(--surface); width: 100%; max-width: 560px;
  border-radius: 20px 20px 0 0; max-height: 92vh;
  display: flex; flex-direction: column;
  transform: translateY(100%); transition: transform .25s ease;
}
.overlay.open .sheet { transform: translateY(0); }

.sheet__handle { width: 40px; height: 4px; background: var(--border); border-radius: 999px; margin: 10px auto 0; flex-shrink: 0; }
.sheet__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 18px; flex-shrink: 0; border-bottom: 1px solid var(--border);
}
.sheet__head h3 { font-size: 1.1rem; color: var(--primary-dark); }
.sheet__close {
  width: 34px; height: 34px; border-radius: 50%; background: var(--cream);
  display: flex; align-items: center; justify-content: center; font-size: 1.1rem; color: var(--text);
}

/* corpo rolável do produto (obrigatório: nunca deixar botão de ação cortado no mobile) */
.sh-body {
  flex: 0 1 auto; min-height: 0; overflow-y: auto; max-height: 34vh;
  padding: 16px 18px; -webkit-overflow-scrolling: touch;
}
.sh-foot {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  padding: 14px 18px; border-top: 1px solid var(--border);
  -webkit-overflow-scrolling: touch;
}

.product-modal__img { width: 100%; aspect-ratio: 16/10; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 14px; background: var(--cream); }
.product-modal__img img { width: 100%; height: 100%; object-fit: cover; }
.product-modal__desc { color: var(--muted); font-size: .88rem; margin-bottom: 18px; }

.field-label { font-weight: 700; font-size: .82rem; color: var(--text); margin-bottom: 8px; display: block; }
.field-block { margin-bottom: 20px; }

/* opções em cards (tamanho / borda) */
.opt-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.opt-card {
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 10px 12px; text-align: left; position: relative; background: var(--surface);
  transition: border-color .15s ease, background .15s ease;
}
.opt-card .opt-name { font-weight: 700; font-size: .85rem; }
.opt-card .opt-price { font-size: .76rem; color: var(--muted); margin-top: 2px; }
.opt-card .opt-sub { font-size: .68rem; color: var(--muted); }
.opt-card.selected { border-color: var(--primary); background: #fdf1ee; }
.opt-card.selected .opt-check {
  position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: .65rem; display: flex; align-items: center; justify-content: center;
}
.opt-card.selected .opt-name { color: var(--primary-dark); }

.meio-toggle { display: flex; gap: 8px; margin-bottom: 12px; }
.meio-toggle button {
  flex: 1; padding: 10px; border-radius: var(--radius-sm); border: 2px solid var(--border);
  font-weight: 700; font-size: .82rem; color: var(--muted);
}
.meio-toggle button.active { border-color: var(--primary); color: var(--primary-dark); background: #fdf1ee; }

select.select-input, textarea.text-input {
  width: 100%; border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px; font-size: .9rem; background: var(--surface); color: var(--text);
}
textarea.text-input { resize: vertical; min-height: 64px; }

.qty-row { display: flex; align-items: center; gap: 14px; }
.qty-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--border);
  font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.qty-value { font-weight: 800; font-size: 1.05rem; min-width: 24px; text-align: center; }

.upsell-banner {
  background: var(--cream); border: 1px dashed var(--gold-dark);
  border-radius: var(--radius-sm); padding: 12px 14px; margin: 14px 0;
  font-size: .84rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
}
.upsell-banner strong { color: var(--primary-dark); display: block; margin-bottom: 2px; }

.send-order {
  position: sticky; bottom: -14px; background: var(--surface);
  margin: 16px -18px -14px; padding: 12px 18px 14px; box-shadow: 0 -6px 12px -8px rgba(0,0,0,.12);
}

/* ===================== CARRINHO ===================== */
.cart-item { display: flex; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item__img { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; flex-shrink: 0; background: var(--cream); }
.cart-item__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__info { flex: 1; min-width: 0; }
.cart-item__name { font-weight: 700; font-size: .86rem; }
.cart-item__meta { font-size: .74rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.cart-item__price { font-weight: 800; color: var(--primary-dark); font-size: .86rem; }
.cart-item__remove { font-size: .72rem; color: var(--primary); font-weight: 700; }

.progress-bar { height: 8px; border-radius: 999px; background: var(--border); overflow: hidden; margin-top: 8px; }
.progress-bar__fill { height: 100%; background: var(--secondary); transition: width .3s ease; }

.delivery-toggle { display: flex; gap: 8px; margin-bottom: 16px; }
.delivery-toggle button {
  flex: 1; padding: 12px; border-radius: var(--radius-sm); border: 2px solid var(--border);
  font-weight: 700; font-size: .84rem;
}
.delivery-toggle button.active { border-color: var(--secondary); background: #eaf5ee; color: var(--secondary); }

.form-row { margin-bottom: 12px; }
.form-row label { display: block; font-size: .78rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.form-row input {
  width: 100%; border: 2px solid var(--border); border-radius: var(--radius-sm);
  padding: 11px 12px; font-size: .9rem;
}
.form-grid-2 { display: grid; grid-template-columns: 2fr 1fr; gap: 10px; }

.pay-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.pay-grid .opt-card { text-align: center; padding: 12px 6px; }

.summary-row { display: flex; justify-content: space-between; font-size: .86rem; padding: 5px 0; color: var(--muted); }
.summary-row.total { font-size: 1.05rem; font-weight: 800; color: var(--primary-dark); border-top: 1px solid var(--border); margin-top: 6px; padding-top: 10px; }

.coupon-row { display: flex; gap: 8px; margin: 14px 0; }
.coupon-row input { flex: 1; border: 2px solid var(--border); border-radius: var(--radius-sm); padding: 11px 12px; }

.fidelidade-box {
  background: var(--cream); border: 1px dashed var(--gold-dark);
  border-radius: var(--radius-sm); padding: 12px 14px; margin: -2px 0 14px;
  font-size: .82rem; color: var(--text); line-height: 1.4;
}
.fidelidade-box:empty { display: none; margin: 0; padding: 0; border: none; }
.fidelidade-box--premio { background: #eaf5ee; border: 1px solid var(--secondary); font-weight: 700; color: var(--secondary-dark); }

.empty-state { text-align: center; padding: 40px 16px; color: var(--muted); }
.empty-state .icon { font-size: 2.4rem; margin-bottom: 10px; }

/* ===================== TOAST ===================== */
.toast {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%) translateY(-20px);
  background: var(--secondary-dark); color: #fff; padding: 12px 20px; border-radius: 999px;
  font-size: .85rem; font-weight: 600; z-index: 200; opacity: 0; pointer-events: none;
  transition: all .25s ease; box-shadow: var(--shadow); white-space: nowrap;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ===================== CONFIRMAÇÃO ===================== */
.confirm-box { text-align: center; padding: 30px 20px; }
.confirm-box .icon { font-size: 3rem; margin-bottom: 14px; }
.confirm-box h3 { font-size: 1.3rem; color: var(--primary-dark); margin-bottom: 8px; }
.confirm-box p { color: var(--muted); margin-bottom: 22px; }
.confirm-box .actions { display: flex; flex-direction: column; gap: 10px; }

/* ===================== RESPONSIVO ===================== */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, 1fr); }
  .diferenciais { grid-template-columns: repeat(3, 1fr); }
  .grid--avaliacoes { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.4rem; }
}

@media (min-width: 980px) {
  .grid { grid-template-columns: repeat(4, 1fr); }
  .diferenciais { grid-template-columns: repeat(6, 1fr); }
  .grid--avaliacoes { grid-template-columns: repeat(3, 1fr); }
  .header__nav { display: flex; gap: 26px; }
  .header__nav a { font-size: .88rem; font-weight: 700; color: var(--text); }
  .header.scrolled .header__nav a { color: #fff; }
  .kombos-grid { display: grid; grid-template-columns: repeat(2, 1fr); }
  .card--kombo .card__img-wrap { width: 170px; }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .footer__bottom { flex-direction: row; justify-content: space-between; text-align: left; }
  .fab-stack { bottom: 16px; }
  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 2.9rem; }
  .hero__logo { width: 150px; }

  .sheet { border-radius: 20px; margin: auto; max-height: 88vh; }
  .overlay { align-items: center; }
  .overlay .sheet { transform: translateY(20px) scale(.98); }
  .overlay.open .sheet { transform: translateY(0) scale(1); }

  #cartOverlay { justify-content: flex-end; align-items: stretch; }
  #cartOverlay .sheet { margin: 0; max-width: 420px; width: 420px; height: 100%; max-height: 100%; border-radius: 0; transform: translateX(100%); }
  #cartOverlay.open .sheet { transform: translateX(0); }
}

@media (min-width: 640px) and (max-width: 979px) {
  .card--destaque { flex: 0 0 260px; }
}

/* ===================== PROMOÇÃO DO DIA (banner, editável no painel admin) ===================== */
.promo-banner { background: var(--gold); border-bottom: 3px solid var(--gold-dark); }
.promo-banner__inner {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; justify-content: center; text-align: center;
}
.promo-banner__foto { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.promo-banner__texto { font-weight: 700; color: var(--primary-dark); font-size: .92rem; margin: 0; }
.promo-banner__link {
  font-weight: 700; font-size: .85rem; color: var(--primary-dark); text-decoration: underline;
  white-space: nowrap;
}
