/* =========================================================================
   HAPPY TASTE — ESTILOS BASE (mobile-first)
   Layouts para telas maiores ficam em responsive.css
   ========================================================================= */

/* ---------- 0. Fontes (hospedadas no próprio site — licença OFL) ---------- */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("../assets/fonts/poppins-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 900; font-display: swap; src: url("../assets/fonts/poppins-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }

/* ---------- 1. Tokens de design ---------- */
:root {
  --bg: #120a1a;
  --bg-2: #180d23;
  --surface: #20122e;
  --surface-2: #2a183b;
  --surface-3: #352049;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --primary: #8b3fd9;        /* açaí */
  --primary-600: #7a2fc6;
  --primary-300: #b983ff;
  --accent: #ffb703;         /* amarelo destaque */
  --accent-2: #fb8500;       /* laranja */
  --hot: #ef3b4f;            /* promoções */
  --gold: #f5c451;
  --success: #2ecc71;
  --whatsapp: #1fae55;
  --danger: #ff5c6c;

  --primary-rgb: 139, 63, 217;
  --primary-300-rgb: 185, 131, 255;
  --bg-rgb: 18, 10, 26;
  --hero-top: #1b0d29;
  --offer-a: #2c1540;
  --offer-b: #1c0f29;
  --footer-bg: #0c0612;
  --placeholder: #7f6f93;

  --text: #ffffff;
  --text-2: #d9cfe6;
  --muted: #a898bb;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.5);
  --glow: 0 10px 30px rgba(var(--primary-rgb), 0.35);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Poppins", "Inter", system-ui, sans-serif;

  --nav-h: 68px;
  --container: 1200px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

/* ---------- 1b. Identidade de cada loja ----------
   🍇 Manda Aí usa a paleta padrão (roxo açaí).
   🍔 Happy Taste troca para tons de hambúrguer (laranja/âmbar). */
:root[data-store="happy"] {
  --bg: #140d09;
  --bg-2: #1a110b;
  --surface: #241810;
  --surface-2: #2f2016;
  --surface-3: #3d2a1d;
  --primary: #ea580c;
  --primary-600: #c2410c;
  --primary-300: #fdba74;
  --primary-rgb: 234, 88, 12;
  --primary-300-rgb: 253, 186, 116;
  --bg-rgb: 20, 13, 9;
  --hero-top: #2a150a;
  --offer-a: #35200f;
  --offer-b: #1f140c;
  --footer-bg: #0c0705;
  --text-2: #ecdccf;
  --muted: #b8a393;
  --placeholder: #8a7564;
  --glow: 0 10px 30px rgba(234, 88, 12, 0.35);
}
body { transition: background-color 0.35s ease; }

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 12px; top: -60px; z-index: 999; padding: 10px 16px;
  background: var(--accent); color: #1b0f00; border-radius: var(--radius-sm); font-weight: 700;
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 16px; }

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 800; }
.text-gradient {
  background: linear-gradient(90deg, var(--primary-300), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- 3. Botões ---------- */
.btn {
  --btn-bg: var(--surface-3);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px;
  border-radius: 999px; border: 1px solid transparent;
  background: var(--btn-bg); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.01em;
  text-transform: uppercase;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, filter 0.2s;
  white-space: nowrap; user-select: none;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.btn--primary { --btn-bg: linear-gradient(135deg, var(--primary), var(--primary-600)); box-shadow: var(--glow); }
.btn--accent { --btn-bg: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #2a1500; box-shadow: 0 10px 30px rgba(251, 133, 0, 0.3); }
.btn--hot { --btn-bg: linear-gradient(135deg, #ff5a5f, var(--hot)); box-shadow: 0 10px 26px rgba(239, 59, 79, 0.35); }
.btn--whatsapp { --btn-bg: linear-gradient(135deg, #25d366, var(--whatsapp)); box-shadow: 0 10px 26px rgba(31, 174, 85, 0.3); }
.btn--ghost { --btn-bg: transparent; border-color: var(--border-strong); color: var(--text-2); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn--danger { --btn-bg: rgba(255, 92, 108, 0.14); color: var(--danger); border-color: rgba(255, 92, 108, 0.35); }
.btn--sm { min-height: 38px; padding: 8px 14px; font-size: 0.8rem; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1rem; }
.btn--block { width: 100%; }
.btn.is-loading { pointer-events: none; position: relative; color: transparent !important; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.8s linear infinite;
}
.btn.is-added { animation: pop 0.5s var(--ease); background: var(--success); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: rgba(255, 255, 255, 0.07); color: var(--text);
  transition: background 0.2s, transform 0.2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.14); }
.icon-btn--danger:hover { background: rgba(255, 92, 108, 0.2); }

/* ---------- 4. Badges / tags ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 5px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; text-transform: uppercase;
  background: var(--primary); color: #fff;
}
.badge--hot { background: var(--hot); }
.badge--accent { background: var(--accent); color: #2a1500; }
.badge--premium { background: linear-gradient(135deg, #f7d774, #c9962b); color: #2a1a00; }
.badge--pulse { animation: pulse 2.2s ease-in-out infinite; }
.discount {
  position: absolute; right: 10px; top: 10px;
  padding: 4px 9px; border-radius: 8px; background: var(--accent); color: #2a1500;
  font-weight: 900; font-size: 0.8rem; font-family: var(--font-display);
}
.discount--lg { font-size: 1.05rem; padding: 6px 12px; }
.tag { font-style: normal; font-size: 0.68rem; font-weight: 700; padding: 3px 8px; border-radius: 6px; background: var(--hot); color: #fff; text-transform: uppercase; }
.tag--muted { background: rgba(255, 255, 255, 0.1); color: var(--text-2); }

.eyebrow {
  display: inline-block; margin-bottom: 10px; padding: 6px 14px; border-radius: 999px;
  background: rgba(var(--primary-rgb), 0.18); border: 1px solid rgba(var(--primary-300-rgb), 0.3);
  color: var(--primary-300); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.eyebrow--hot { background: rgba(239, 59, 79, 0.14); border-color: rgba(239, 59, 79, 0.35); color: #ff8a95; }

/* ---------- 5. Navbar ---------- */
.navbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--nav-h);
  transition: background 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.navbar.is-scrolled, body.nav-open .navbar {
  background: rgba(var(--bg-rgb), 0.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.navbar__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo img { width: 38px; height: 38px; }
.logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: 0.04em; }
.logo__text strong { color: var(--accent); font-weight: 900; }

.nav {
  position: fixed; inset: var(--nav-h) 0 auto 0;
  background: rgba(var(--bg-rgb), 0.98); border-bottom: 1px solid var(--border);
  padding: 8px 16px 20px;
  transform: translateY(-8px); opacity: 0; visibility: hidden;
  transition: transform 0.25s var(--ease), opacity 0.25s, visibility 0.25s;
}
body.nav-open .nav { transform: none; opacity: 1; visibility: visible; }
.nav__link {
  display: block; padding: 14px 8px; font-weight: 600; color: var(--text-2);
  border-bottom: 1px solid var(--border); transition: color 0.2s;
}
.nav__link:hover, .nav__link.is-active { color: #fff; }
.navbar__actions { display: flex; align-items: center; gap: 8px; }
.btn--cart { padding: 8px 14px; min-height: 42px; text-transform: none; position: relative; }
.btn--cart__label { display: none; }
.cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px;
  display: inline-grid; place-items: center;
  background: var(--accent); color: #2a1500; font-size: 0.75rem; font-weight: 900;
}
.cart-count.bump { animation: bump 0.4s var(--ease); }
.shake { animation: shake 0.45s var(--ease); }

.nav-toggle { width: 44px; height: 44px; display: grid; place-content: center; gap: 5px; border-radius: 12px; background: rgba(255, 255, 255, 0.07); }
.nav-toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: #fff; transition: transform 0.25s, opacity 0.25s; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 28px) 0 56px;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(var(--primary-rgb), 0.35), transparent 60%),
    radial-gradient(700px 400px at 0% 90%, rgba(251, 133, 0, 0.14), transparent 60%),
    linear-gradient(180deg, var(--hero-top), var(--bg));
}
.hero__inner { display: grid; gap: 28px; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 11vw, 5.2rem); font-weight: 900; letter-spacing: 0.02em; line-height: 1; }
.hero__title span { color: var(--accent); }
.hero__slogan { margin-top: 14px; font-family: var(--font-display); font-size: clamp(1.2rem, 4.6vw, 1.7rem); font-weight: 700; color: #fff; }
.hero__text { margin-top: 10px; color: var(--text-2); max-width: 520px; font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__actions .btn { flex: 1 1 160px; }
.hero__stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 26px; }
.hero__stats li {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border); border-radius: 12px;
  font-size: 0.86rem; font-weight: 600; color: var(--text-2);
}
.hero__media { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero__media img { position: relative; z-index: 1; width: 100%; border-radius: 32px; box-shadow: var(--shadow-lg); animation: float 6s ease-in-out infinite; }
.hero__blob {
  position: absolute; inset: 8% -6% -6% 8%; border-radius: 40% 60% 55% 45% / 50% 40% 60% 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-2)); opacity: 0.35; filter: blur(30px);
}
.hero__float {
  position: absolute; z-index: 2; display: flex; align-items: center; gap: 6px;
  padding: 10px 14px; border-radius: 14px; font-weight: 700; font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.95); color: #2b1640; box-shadow: var(--shadow);
}
.hero__float--1 { left: -6px; bottom: 14%; animation: float 5s ease-in-out infinite reverse; }
.hero__float--2 { right: -6px; top: 10%; animation: float 5.5s ease-in-out infinite; }

/* ---------- 7. Seções ---------- */
.section { padding: 64px 0; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 28px; }
.section__title { font-size: clamp(1.7rem, 6vw, 2.6rem); }
.section__subtitle { margin-top: 10px; color: var(--muted); }

/* ---------- 8. Ofertas ---------- */
.offers { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.offers__grid { display: grid; gap: 18px; }
.offer {
  position: relative; display: grid; overflow: hidden;
  background: linear-gradient(160deg, var(--offer-a), var(--offer-b));
  border: 1px solid rgba(239, 59, 79, 0.28); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.offer::before {
  content: ""; position: absolute; inset: -2px; border-radius: inherit; pointer-events: none; z-index: 2;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
  background-size: 250% 100%; animation: shine 4.5s ease-in-out infinite;
}
.offer:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(239, 59, 79, 0.25); }
.offer__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.offer__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.offer:hover .offer__media img { transform: scale(1.06); }
.offer__media .badge { position: absolute; left: 12px; top: 12px; }
.offer__body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.offer__body h3 { font-size: 1.4rem; }
.offer__body p { color: var(--text-2); font-size: 0.95rem; }
.offer__save { color: var(--accent) !important; font-weight: 700; font-size: 0.85rem !important; }
.offer__foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.offer .price strong { font-size: 1.7rem; }

/* ---------- 9. Cardápio ---------- */
.menu__search { position: relative; max-width: 640px; margin: 0 auto 8px; }
.menu__search input {
  width: 100%; height: 54px; padding: 0 48px 0 50px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border-strong); color: #fff; font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.menu__search input::placeholder { color: var(--muted); }
.menu__search input:focus { outline: none; border-color: var(--primary-300); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.25); }
.menu__search input::-webkit-search-cancel-button { display: none; }
.menu__search-icon { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); }
.menu__search-clear { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; color: var(--muted); }
.menu__search-clear:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }

.category-bar {
  position: sticky; top: var(--nav-h); z-index: 20; padding: 10px 0;
  background: rgba(var(--bg-rgb), 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.category-bar__scroll { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: 2px; }
.category-bar__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start;
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 0.9rem;
  background: var(--surface); border: 1px solid var(--border); color: var(--text-2);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.chip:hover { color: #fff; border-color: var(--border-strong); }
.chip.is-active { background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #fff; border-color: transparent; box-shadow: var(--glow); }

.results-info { color: var(--muted); margin-bottom: 14px; }
.menu-section { margin-bottom: 44px; scroll-margin-top: calc(var(--nav-h) + 70px); }
.menu-section__head { margin-bottom: 16px; }
.menu-section__head h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }
.menu-section__head p { color: var(--muted); margin-top: 4px; }

.grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.grid--bebidas, .grid--sobremesas { grid-template-columns: repeat(2, 1fr); }

/* Card de produto (mobile: horizontal) */
.card {
  position: relative; display: grid; grid-template-columns: 114px 1fr; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }
.card__media { position: relative; overflow: hidden; display: block; width: 104px; height: 104px; margin: 10px 0 10px 10px; align-self: center; border-radius: 12px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.08); }
.card__media .badge { position: absolute; left: 4px; top: 4px; font-size: 0.56rem; padding: 3px 6px; }
.card__media .discount { right: 4px; top: auto; bottom: 4px; font-size: 0.7rem; }
.card__body { padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.card__title { font-size: 1rem; font-weight: 700; }
.card__title button { text-align: left; font: inherit; }
.card__title button:hover { color: var(--primary-300); }
.card__desc { color: var(--muted); font-size: 0.84rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__foot { margin-top: auto; padding-top: 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.card:not(.card--compact):not(.card--sobremesas) .card__foot .btn { padding-inline: 12px; }

.price { display: flex; flex-direction: column; line-height: 1.1; }
.price strong { font-family: var(--font-display); font-size: 1.2rem; color: var(--accent); font-weight: 800; }
.price__old { color: var(--muted); font-size: 0.85rem; }
.price__from { color: var(--muted); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }

/* Variações por categoria */
.card--gourmet { background: linear-gradient(160deg, #2a1a12, #1d1016); border-color: rgba(245, 196, 81, 0.22); }
.card--gourmet .price strong { color: var(--gold); }
.card--trufado, .card--promax { background: linear-gradient(160deg, #2e1640, #1f0f2b); border-color: rgba(var(--primary-300-rgb), 0.25); }
.card--gold { background: linear-gradient(160deg, #2b1c3a, #1e1227); border-color: rgba(245, 196, 81, 0.35); }
.card--gold .price strong { background: linear-gradient(90deg, #fff1a8, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card--sobremesas { background: linear-gradient(160deg, #3a1638, #22102a); }

.menu-section--gourmet .menu-section__head h3,
.menu-section--gold .menu-section__head h3 { background: linear-gradient(90deg, #fff1a8, var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.menu-section--promax .menu-section__head h3,
.menu-section--trufado .menu-section__head h3 { color: var(--primary-300); }

/* Cards compactos (bebidas / sobremesas no mobile) */
.card--compact, .card--sobremesas { grid-template-columns: 1fr; }
.card--compact .card__media, .card--sobremesas .card__media { aspect-ratio: 4 / 3; width: 100%; height: auto; margin: 0; border-radius: 0; }
.card--compact .card__body, .card--sobremesas .card__body { padding: 10px 12px 12px; }
.card--compact .card__title, .card--sobremesas .card__title { font-size: 0.9rem; }
.card--compact .card__desc, .card--sobremesas .card__desc { font-size: 0.78rem; }
.card--compact .card__foot .btn, .card--sobremesas .card__foot .btn { width: 100%; }

/* ---------- 10. Sobre ---------- */
.about { background: radial-gradient(800px 400px at 50% 0%, rgba(var(--primary-rgb), 0.18), transparent 70%), var(--bg-2); }
.about__inner { display: grid; gap: 28px; }
.about__text p { margin-top: 14px; color: var(--text-2); font-size: 1.1rem; max-width: 560px; }
.features { display: grid; gap: 14px; }
.feature {
  padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s;
}
.feature:hover { transform: translateY(-4px); border-color: rgba(var(--primary-300-rgb), 0.35); }
.feature__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; font-size: 1.7rem; background: rgba(var(--primary-rgb), 0.18); margin-bottom: 12px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: 0.95rem; }

/* ---------- 11. Avaliações ---------- */
.reviews__grid { display: grid; gap: 14px; }
.review { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 1.15rem; }
.review blockquote { margin: 10px 0 14px; font-size: 1.05rem; color: var(--text); }
.review figcaption { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 0.9rem; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--accent-2)); color: #fff; }

/* ---------- 12. Localização ---------- */
.location__inner { display: grid; gap: 24px; align-items: center; }
.location__info p { color: var(--text-2); margin-top: 10px; }
.location__list { margin: 18px 0 22px; display: grid; gap: 10px; color: var(--text-2); }
.location__list li { display: flex; gap: 10px; }
.location__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.location__actions .btn { flex: 1 1 170px; }
.location__map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 260px; background: var(--surface); }
.location__map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.map-placeholder {
  height: 100%; min-height: 260px; display: grid; place-content: center; text-align: center; gap: 8px; color: var(--muted);
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 14px, transparent 14px 28px);
}
.map-placeholder span { font-size: 2.6rem; }

/* ---------- 13. Footer ---------- */
.footer { background: var(--footer-bg); border-top: 1px solid var(--border); padding: 48px 0 calc(20px + var(--safe-bottom)); }
.footer__inner { display: grid; gap: 28px; }
.footer__brand p { margin-top: 12px; color: var(--muted); max-width: 320px; }
.footer h3 { font-size: 0.95rem; margin-bottom: 10px; color: #fff; }
.footer__nav, .footer__social { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a, .footer__social a { color: var(--muted); transition: color 0.2s; width: fit-content; }
.footer__nav a:hover, .footer__social a:hover { color: var(--accent); }
.footer__bottom { margin-top: 32px; padding-top: 18px; border-top: 1px solid var(--border); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; color: var(--muted); font-size: 0.85rem; }
body.has-cart .footer { padding-bottom: calc(96px + var(--safe-bottom)); }

/* ---------- 14. Barra do carrinho (mobile) ---------- */
.cart-bar {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + var(--safe-bottom)); z-index: 40;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  min-height: 58px; padding: 10px 18px; border-radius: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary-600)); color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45), var(--glow);
  font-weight: 700; animation: slideUp 0.35s var(--ease);
}
.cart-bar__count { background: rgba(0, 0, 0, 0.25); padding: 4px 10px; border-radius: 999px; font-size: 0.82rem; }
.cart-bar__label { text-align: center; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.03em; }
.cart-bar__total { font-family: var(--font-display); }

/* ---------- 15. Modais e gaveta ---------- */
.modal, .drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; pointer-events: none; }
.modal.is-open, .drawer.is-open { visibility: visible; pointer-events: auto; }
.modal__backdrop, .drawer__backdrop {
  position: absolute; inset: 0; background: rgba(5, 2, 8, 0.7);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  opacity: 0; transition: opacity 0.25s;
}
.is-open > .modal__backdrop, .is-open > .drawer__backdrop { opacity: 1; }

.modal__dialog {
  position: absolute; left: 0; right: 0; bottom: 0;
  max-height: 94vh; max-height: 94dvh; display: flex; flex-direction: column;
  background: var(--bg-2); border: 1px solid var(--border); border-radius: 24px 24px 0 0;
  box-shadow: var(--shadow-lg); overflow: hidden;
  transform: translateY(100%); transition: transform 0.32s var(--ease);
}
.modal.is-open .modal__dialog { transform: none; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal__head h2 { font-size: 1.25rem; }
.modal__close { position: absolute; right: 12px; top: 12px; z-index: 3; background: rgba(0, 0, 0, 0.45); }
.modal__dialog--small { padding: 28px 20px calc(20px + var(--safe-bottom)); }

.drawer__panel {
  position: absolute; right: 0; top: 0; bottom: 0; width: min(440px, 100%);
  display: flex; flex-direction: column; background: var(--bg-2); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform 0.32s var(--ease); box-shadow: var(--shadow-lg);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.drawer__head h2 { font-size: 1.25rem; }
.drawer__body { flex: 1; overflow-y: auto; padding: 14px 16px; overscroll-behavior: contain; }
.drawer__foot { padding: 14px 16px calc(16px + var(--safe-bottom)); border-top: 1px solid var(--border); display: grid; gap: 10px; background: var(--surface); }
.drawer__hint { font-size: 0.8rem; color: var(--muted); text-align: center; }

.cart-item {
  display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: start;
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: opacity 0.2s, transform 0.2s; animation: fadeIn 0.3s var(--ease);
}
.cart-item.is-removing { opacity: 0; transform: translateX(30px); }
.cart-item__img { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; }
.cart-item h3 { font-size: 0.95rem; font-family: var(--font-body); font-weight: 700; }
.cart-item__meta { font-size: 0.78rem; color: var(--muted); margin-top: 2px; word-break: break-word; }
.cart-item__price { font-size: 0.82rem; color: var(--text-2); margin-top: 4px; }
.cart-item__row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.cart-item__row strong { color: var(--accent); font-family: var(--font-display); }

.totals { display: grid; gap: 6px; }
.totals > div { display: flex; justify-content: space-between; color: var(--text-2); font-size: 0.95rem; }
.totals dd { font-weight: 600; }
.totals__total { padding-top: 8px; margin-top: 2px; border-top: 1px dashed var(--border-strong); color: #fff !important; font-size: 1.15rem !important; font-weight: 800; }
.totals__total dd { color: var(--accent); font-family: var(--font-display); font-weight: 800; }

.stepper { display: inline-flex; align-items: center; background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; }
.stepper button { width: 44px; height: 44px; font-size: 1.3rem; font-weight: 700; border-radius: 50%; color: var(--primary-300); }
.stepper button:hover { background: rgba(255, 255, 255, 0.08); }
.stepper output { min-width: 28px; text-align: center; font-weight: 800; }
.stepper--sm button { width: 34px; height: 34px; font-size: 1.1rem; }

.empty { text-align: center; padding: 40px 16px; color: var(--muted); display: grid; justify-items: center; gap: 8px; }
.empty__icon { font-size: 3rem; }
.empty h3 { color: #fff; font-size: 1.2rem; }
.empty .btn { margin-top: 8px; }

/* Modal do produto */
.modal__dialog--product { padding: 0; }
.pm__media { position: relative; flex: none; aspect-ratio: 16 / 9; max-height: 32vh; overflow: hidden; background: var(--surface); }
.pm__media img { width: 100%; height: 100%; object-fit: cover; }
.pm__body { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.pm__scroll { overflow-y: auto; padding: 18px; overscroll-behavior: contain; }
.pm__name { font-size: 1.5rem; margin: 8px 0 6px; }
.pm__desc { color: var(--text-2); }
.pm__price { margin: 12px 0 6px; }
.pm__price .price strong { font-size: 1.6rem; }
.pm__actions {
  display: flex; gap: 10px; align-items: center; padding: 12px 16px calc(12px + var(--safe-bottom));
  border-top: 1px solid var(--border); background: var(--surface);
}
.pm__add { flex: 1; justify-content: space-between; padding-inline: 18px; text-transform: none; font-size: 0.95rem; }

.options { margin-top: 18px; }
.options legend { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; width: 100%; padding: 10px 12px; margin-bottom: 6px; border-radius: 12px; background: var(--surface-2); }
.options legend span { font-weight: 800; font-family: var(--font-display); }
.options legend small { color: var(--muted); flex: 1 1 auto; }
.option { display: flex; align-items: center; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--border); cursor: pointer; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option__box { width: 22px; height: 22px; flex: none; border-radius: 7px; border: 2px solid var(--border-strong); display: grid; place-items: center; transition: 0.2s; }
.option input[type="radio"] + .option__box { border-radius: 50%; }
.option input:checked + .option__box { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.3); }
.option input:checked + .option__box::after { content: "✓"; font-size: 0.8rem; font-weight: 900; color: #fff; }
.option input:focus-visible + .option__box { outline: 3px solid var(--accent); outline-offset: 2px; }
.option__name { flex: 1; }
.option__price { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

/* ---------- 16. Formulários ---------- */
.field { display: grid; gap: 6px; margin-top: 12px; }
.field__label { font-size: 0.85rem; font-weight: 600; color: var(--text-2); }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px;
  background: var(--surface); border: 1px solid var(--border-strong); color: #fff;
  font-size: 16px; /* evita zoom no iOS */
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 70px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--primary-300); box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.22); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field .is-invalid { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(255, 92, 108, 0.18); }
.field__error, #paymentError { color: var(--danger); font-size: 0.8rem; min-height: 0; }
.form-error { color: var(--danger); font-weight: 600; text-align: center; font-size: 0.9rem; }
.form-error:empty { display: none; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.span-2 { grid-column: span 2; }
.info-box { margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(46, 204, 113, 0.1); border: 1px solid rgba(46, 204, 113, 0.3); color: #aef0c8; }

.checkout { display: flex; flex-direction: column; min-height: 0; flex: 1; }
.checkout__scroll { overflow-y: auto; padding: 4px 18px 18px; overscroll-behavior: contain; }
.checkout__group { margin-top: 18px; }
.checkout__group legend { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; margin-bottom: 4px; }
.checkout__actions { padding: 12px 16px calc(12px + var(--safe-bottom)); border-top: 1px solid var(--border); background: var(--surface); display: grid; gap: 8px; }
.checkout__summary { margin-top: 20px; padding: 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.checkout__summary h3 { font-size: 1.05rem; margin-bottom: 8px; }
.summary-list { display: grid; gap: 8px; margin-bottom: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.summary-list li { display: flex; justify-content: space-between; gap: 12px; font-size: 0.92rem; }
.summary-list small { display: block; color: var(--muted); font-size: 0.78rem; }

.segmented { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; padding: 5px; margin-top: 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.segmented label, .pay-options label { position: relative; cursor: pointer; }
.segmented input, .pay-options input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented span { display: grid; place-items: center; min-height: 44px; border-radius: 10px; font-weight: 700; color: var(--text-2); transition: 0.2s; }
.segmented input:checked + span { background: var(--primary); color: #fff; box-shadow: var(--glow); }
.segmented input:focus-visible + span, .pay-options input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.segmented--sm { max-width: 240px; }
.segmented--sm span { min-height: 38px; }
.pay-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.pay-options span { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 8px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border-strong); font-weight: 700; transition: 0.2s; text-align: center; }
.pay-options input:checked + span { border-color: var(--primary-300); background: rgba(var(--primary-rgb), 0.2); box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.25); }
.change-box { margin-top: 14px; padding: 14px; border-radius: 12px; background: var(--surface); border: 1px dashed var(--border-strong); }

.success { text-align: center; display: grid; gap: 12px; }
.success__icon { font-size: 3.4rem; animation: pop 0.6s var(--ease); }
.success h2 { font-size: 1.5rem; }
.success p { color: var(--text-2); }

/* ---------- 17. Toast ---------- */
.toast-stack { position: fixed; z-index: 200; left: 50%; top: calc(var(--nav-h) + 10px); transform: translateX(-50%); display: grid; gap: 8px; width: min(92vw, 420px); pointer-events: none; }
.toast {
  padding: 12px 16px; border-radius: 14px; background: #fff; color: #1d0f29; font-weight: 600;
  box-shadow: var(--shadow); animation: toastIn 0.3s var(--ease); text-align: center; font-size: 0.92rem;
}
.toast--error { background: #ffe3e6; color: #7a0714; }
.toast--info { background: #efe4ff; color: #3b0f6b; }
.toast.is-leaving { opacity: 0; transform: translateY(-8px); transition: 0.3s; }

/* ---------- 18. Animações ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(239, 59, 79, 0.5); } 50% { transform: scale(1.05); box-shadow: 0 0 0 8px rgba(239, 59, 79, 0); } }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }
@keyframes pop { 0% { transform: scale(0.8); } 50% { transform: scale(1.12); } 100% { transform: scale(1); } }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: rotate(-4deg) scale(1.04); } 75% { transform: rotate(4deg) scale(1.04); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes shine { 0% { background-position: 150% 0; } 60%, 100% { background-position: -100% 0; } }
@keyframes slideUp { from { transform: translateY(120%); } to { transform: none; } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(0.96); } to { opacity: 1; transform: none; } }

/* =========================================================================
   19. DUAS LOJAS: seletor, atalhos, horários, carrinho por loja, cupom
   ========================================================================= */

/* Seletor de loja (navbar) */
.store-switch {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border);
  min-width: 0;
}
.store-switch__btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; color: var(--text-2);
  white-space: nowrap; transition: background 0.25s, color 0.25s, box-shadow 0.25s;
}
.store-switch__btn img { width: 30px; height: 30px; border-radius: 9px; flex: none; }
.store-switch__btn:hover { color: #fff; }
.store-switch__btn.is-active { background: var(--primary); color: #fff; box-shadow: var(--glow); }
.store-switch__btn[data-store-btn="mandaai"].is-active { background: #7a2fc6; }
.store-switch__btn[data-store-btn="happy"].is-active { background: #d9530b; }

.hero__badges { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.hero__badges .eyebrow { margin: 0; }

/* Aberto / fechado */
.open-status {
  display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px;
  font-size: 0.78rem; font-weight: 700; font-family: var(--font-body); letter-spacing: 0;
  background: rgba(255, 255, 255, 0.06); border: 1px solid var(--border); color: var(--text-2);
  text-transform: none;
}
.open-status.is-open { background: rgba(46, 204, 113, 0.14); border-color: rgba(46, 204, 113, 0.4); color: #aef0c8; }
.open-status.is-closed { background: rgba(255, 92, 108, 0.12); border-color: rgba(255, 92, 108, 0.35); color: #ffb3bb; }

/* Atalho para a outra loja */
.other-store {
  margin-top: 36px; width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 14px 16px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-strong);
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.other-store:hover { transform: translateY(-3px); background: rgba(255, 255, 255, 0.08); border-color: rgba(var(--primary-300-rgb), 0.5); }
.other-store img { width: 56px; height: 56px; border-radius: 16px; flex: none; }
.other-store__text { flex: 1; display: grid; min-width: 0; }
.other-store__text small { color: var(--muted); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.other-store__text strong { font-family: var(--font-display); font-size: 1.2rem; }
.other-store__text span { color: var(--text-2); font-size: 0.9rem; }
.other-store__cta { flex: none; font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 0.9rem; }

/* Banner de frete grátis */
.promo-banner {
  display: flex; align-items: center; gap: 14px; margin: 0 auto 20px; max-width: 760px;
  padding: 14px 18px; border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.18), rgba(var(--primary-rgb), 0.18));
  border: 1px solid rgba(46, 204, 113, 0.4);
}
.promo-banner > span { font-size: 2rem; }
.promo-banner div { display: grid; }
.promo-banner strong { font-family: var(--font-display); font-size: 1.1rem; color: #b8f5d0; }
.promo-banner div span { color: var(--text-2); font-size: 0.92rem; }

.menu__logo { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 18px; box-shadow: var(--glow); }

.store-tag {
  display: inline-block; width: fit-content; padding: 3px 9px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.1); color: var(--text-2);
}
.store-tag--happy { background: rgba(234, 88, 12, 0.22); color: #fdba74; }
.store-tag--mandaai { background: rgba(139, 63, 217, 0.25); color: #d4b0ff; }
.pm__tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.other-results { margin-top: 28px; padding-top: 18px; border-top: 1px dashed var(--border-strong); }

/* Informações: endereço, horários, pagamento */
.info-cards { display: grid; gap: 14px; }
.info-card { padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.info-card h3 { font-size: 1.1rem; margin-bottom: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.info-card p { color: var(--text-2); }
.info-card__big { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #fff !important; }
.info-card__ref { margin: 8px 0 16px; }
.info-card__ref strong { color: #fff; }
.hours { display: grid; gap: 2px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--text-2); font-size: 0.95rem; }
.hours li:nth-child(odd) { background: rgba(255, 255, 255, 0.03); }
.hours li.is-today { background: rgba(var(--primary-rgb), 0.18); color: #fff; font-weight: 700; }
.hours em { font-style: normal; font-size: 0.7rem; padding: 2px 7px; margin-left: 6px; border-radius: 999px; background: var(--primary); color: #fff; text-transform: uppercase; }
.pay-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pay-list li { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-weight: 600; font-size: 0.92rem; }
.location__inner { align-items: stretch !important; }
.location__map { min-height: 320px; }

.footer__logos { display: flex; flex-wrap: wrap; gap: 14px; }
.footer__logos .logo { color: #fff; }
.footer__address { font-size: 0.9rem; }

/* Carrinho dividido por loja */
.cart-group { margin-bottom: 14px; padding: 12px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.cart-group--happy { border-left: 4px solid #ea580c; }
.cart-group--mandaai { border-left: 4px solid #8b3fd9; }
.cart-group__head { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.cart-group__head img { width: 32px; height: 32px; border-radius: 9px; }
.cart-group__head div { flex: 1; display: grid; }
.cart-group__head h3 { font-size: 1rem; }
.cart-group__head small { color: var(--muted); font-size: 0.75rem; }
.cart-group__head strong { font-family: var(--font-display); color: var(--accent); }
.cart-group .cart-item:last-of-type { border-bottom: 0; }
.free-hint { margin-top: 8px; padding: 10px 12px; border-radius: 12px; background: rgba(46, 204, 113, 0.08); border: 1px dashed rgba(46, 204, 113, 0.4); font-size: 0.82rem; color: var(--text-2); }
.free-hint strong { color: #b8f5d0; }
.free-hint--ok { color: #b8f5d0; font-weight: 700; text-align: center; }
.free-hint__bar { height: 6px; margin-top: 6px; border-radius: 99px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.free-hint__bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2ecc71, #8be9b0); transition: width 0.4s var(--ease); }

/* Checkout */
.summary-group { padding: 12px 0; border-bottom: 1px solid var(--border); }
.summary-group:first-child { padding-top: 0; }
.summary-group h4 { display: flex; align-items: center; gap: 8px; font-size: 0.95rem; margin-bottom: 8px; }
.summary-group h4 img { width: 22px; height: 22px; border-radius: 6px; }
.summary-group .summary-list { border: 0; padding-bottom: 6px; margin-bottom: 4px; }
.summary-group__line { display: flex; justify-content: space-between; font-size: 0.88rem; color: var(--text-2); }
.summary-group__line--discount { color: #8be9b0; }
.summary-group__line--total { color: #fff; font-weight: 700; margin-top: 2px; }
.totals--grand { margin-top: 12px; }
.pay-options span { flex-direction: column; gap: 2px; line-height: 1.2; }
.pay-options small { font-weight: 500; font-size: 0.7rem; color: var(--muted); }
.coupon { display: flex; gap: 8px; margin-top: 8px; }
.coupon input {
  flex: 1; min-width: 0; min-height: 48px; padding: 12px 14px; border-radius: 12px; font-size: 16px;
  background: var(--surface); border: 1px dashed var(--border-strong); color: #fff; text-transform: uppercase; letter-spacing: 0.05em;
}
.coupon input:focus { outline: none; border-color: var(--primary-300); }
.coupon .btn { text-transform: none; }
.coupon__msg { margin-top: 6px; font-size: 0.85rem; min-height: 0; }
.coupon__msg--ok { color: #8be9b0; }
.coupon__msg--error { color: var(--danger); }
.closed-warning { margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 92, 108, 0.12); border: 1px solid rgba(255, 92, 108, 0.35); color: #ffc9cf; font-size: 0.9rem; }

.success__orders { display: grid; gap: 8px; text-align: left; }
.success__orders li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--surface); }
.success__orders li span:nth-child(2) { flex: 1; }
.success__orders img { width: 28px; height: 28px; border-radius: 8px; }
.success__actions { display: grid; gap: 8px; }

/* Contador de opções (0/4) no modal do produto */
.options__count {
  margin-left: auto; padding: 2px 9px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); color: var(--text-2); font-size: 0.75rem; font-weight: 700;
}
.pm__add { gap: 8px; }
.pm__add > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm__add strong { flex: none; }
