/* ==========================================================================
   Página pública da loja (/site/:slug) — prefixo sp-
   Cores da marca vêm de --brand-primary / --brand-secondary (layout storefront).
   ========================================================================== */
/* Base (a página pública não carrega o application.css do app interno). */
* { box-sizing: border-box; }
body { margin: 0; }
button { cursor: pointer; font: inherit; }
.icn { display: inline-block; vertical-align: middle; }

body.storefront {
  --sp-accent: var(--brand-primary, #e8641c);
  --sp-dark: var(--brand-secondary, #150e08);
  --sp-paper: #f7f1e8;
  --sp-card: #fffdf9;
  --sp-line: #eadfce;
  --sp-ink: #221912;
  --sp-muted: #857869;
  --sp-good: #1f9d62;
  --sp-bad: #d2452f;
  --sp-radius: 20px;
  --sp-shadow: 0 1px 2px rgba(34,25,18,.05), 0 12px 32px -12px rgba(34,25,18,.18);
  --sp-display: "Bricolage Grotesque", Inter, ui-sans-serif, system-ui, sans-serif;
  background: var(--sp-paper);
  color: var(--sp-ink);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.sp-locked { overflow: hidden; }
.sp-shell { margin: 0 auto; max-width: 1160px; padding: 0 20px; }
.sp-muted { color: var(--sp-muted); font-size: .88rem; }
.sp-link { background: none; border: 0; color: var(--sp-accent); font-weight: 700; padding: 0; text-decoration: underline; }
.storefront [hidden] { display: none !important; }

/* botões */
.sp-btn { align-items: center; border: 0; border-radius: 14px; display: inline-flex; font-size: .95rem; font-weight: 700; gap: 8px; justify-content: center; padding: 13px 20px; text-decoration: none; transition: transform .15s, box-shadow .15s, background .15s; }
.sp-btn:active { transform: scale(.97); }
.sp-btn-primary { background: var(--sp-accent); box-shadow: 0 10px 24px -8px color-mix(in srgb, var(--sp-accent) 70%, transparent); color: #fff; }
.sp-btn-primary:hover { box-shadow: 0 14px 30px -8px color-mix(in srgb, var(--sp-accent) 80%, transparent); transform: translateY(-1px); }
.sp-btn-primary:disabled { box-shadow: none; filter: grayscale(.6); opacity: .55; transform: none; }
.sp-btn-ghost { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); color: #fff; }
.sp-btn-ghost:hover { background: rgba(255,255,255,.18); }
.sp-btn-line { background: var(--sp-card); border: 1px solid var(--sp-line); color: var(--sp-ink); }
.sp-btn-line:hover { border-color: var(--sp-accent); }
.sp-btn-sm { border-radius: 12px; font-size: .88rem; padding: 10px 16px; }
.sp-btn-block { width: 100%; }
.sp-btn.is-loading { color: transparent !important; pointer-events: none; position: relative; }
.sp-btn.is-loading::after { animation: sp-spin .7s linear infinite; border: 2.5px solid rgba(255,255,255,.4); border-radius: 50%; border-top-color: #fff; content: ""; height: 18px; left: calc(50% - 9px); position: absolute; top: calc(50% - 9px); width: 18px; }
@keyframes sp-spin { to { transform: rotate(360deg); } }

/* nav */
.sp-nav { backdrop-filter: blur(14px); background: color-mix(in srgb, var(--sp-dark) 88%, transparent); border-bottom: 1px solid rgba(255,255,255,.08); position: sticky; top: 0; z-index: 40; }
.sp-nav-in { align-items: center; display: flex; gap: 20px; margin: 0 auto; max-width: 1160px; padding: 11px 20px; }
.sp-brand { align-items: center; color: #fff; display: flex; font-family: var(--sp-display); font-size: 1.08rem; font-weight: 700; gap: 10px; min-width: 0; text-decoration: none; }
.sp-brand > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-brand-logo { border-radius: 10px; height: 34px; object-fit: cover; width: 34px; }
.sp-brand-mono { align-items: center; background: var(--sp-accent); border-radius: 10px; color: #fff; display: flex; flex: none; font-size: .85rem; height: 34px; justify-content: center; letter-spacing: .02em; width: 34px; }
.sp-nav-links { display: flex; gap: 22px; margin-left: auto; }
.sp-nav-links a { color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500; text-decoration: none; }
.sp-nav-links a:hover { color: #fff; }
.sp-nav-bag { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; display: flex; height: 40px; justify-content: center; position: relative; width: 44px; }
.sp-bag-count { align-items: center; background: var(--sp-accent); border: 2px solid var(--sp-dark); border-radius: 999px; color: #fff; display: flex; font-size: .7rem; font-weight: 800; height: 20px; justify-content: center; min-width: 20px; padding: 0 5px; position: absolute; right: -7px; top: -7px; }
.bump { animation: sp-bump .4s ease; }
@keyframes sp-bump { 40% { transform: scale(1.14); } }
@media (max-width: 760px) { .sp-nav-links { display: none; } .sp-nav-bag { margin-left: auto; } }

/* hero */
.sp-hero { background: var(--sp-dark); color: #fff; isolation: isolate; overflow: hidden; position: relative; }
.sp-hero-cover { height: 100%; inset: 0; object-fit: cover; opacity: .42; position: absolute; width: 100%; z-index: -2; }
.sp-hero.has-cover::before { background: linear-gradient(100deg, var(--sp-dark) 25%, color-mix(in srgb, var(--sp-dark) 55%, transparent) 70%, transparent); content: ""; inset: 0; position: absolute; z-index: -1; }
.sp-hero-glow { background: radial-gradient(closest-side, color-mix(in srgb, var(--sp-accent) 55%, transparent), transparent); filter: blur(10px); height: 720px; left: 45%; opacity: .55; position: absolute; top: -320px; width: 720px; z-index: -1; }
.sp-hero-in { align-items: center; display: grid; gap: 48px; grid-template-columns: 1.1fr .9fr; margin: 0 auto; max-width: 1160px; padding: 80px 20px 88px; }
.sp-hero h1 { font-family: var(--sp-display); font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; margin: 18px 0 0; text-wrap: balance; }
.sp-lede { color: rgba(255,255,255,.78); font-size: 1.12rem; line-height: 1.55; margin: 18px 0 0; max-width: 34em; }
.sp-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sp-facts { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 30px 0 0; padding: 0; }
.sp-facts li { align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; color: rgba(255,255,255,.72); display: flex; font-size: .84rem; gap: 8px; padding: 8px 12px; }
.sp-facts b { color: #fff; font-weight: 700; margin-right: 3px; }
.sp-facts .icn { color: var(--sp-accent); }
.sp-status { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; display: inline-flex; font-size: .82rem; font-weight: 600; gap: 8px; padding: 6px 13px 6px 11px; }
.sp-status i { border-radius: 50%; height: 8px; width: 8px; }
.sp-status.is-open i { background: #3ee08f; box-shadow: 0 0 0 0 rgba(62,224,143,.6); animation: sp-ping 2s infinite; }
.sp-status.is-closed i { background: #ff7a66; }
@keyframes sp-ping { 70% { box-shadow: 0 0 0 8px rgba(62,224,143,0); } 100% { box-shadow: 0 0 0 0 rgba(62,224,143,0); } }
.sp-status-inline { background: var(--sp-paper); border-color: var(--sp-line); color: var(--sp-ink); margin: 4px 0 14px; }
@media (max-width: 900px) { .sp-hero-in { gap: 34px; grid-template-columns: 1fr; padding: 52px 20px 56px; } }

/* cartão do atendente no hero */
.sp-ai-card { backdrop-filter: blur(18px); background: linear-gradient(160deg, rgba(255,255,255,.14), rgba(255,255,255,.05)); border: 1px solid rgba(255,255,255,.16); border-radius: 26px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.6); padding: 22px; }
.sp-ai-head { align-items: center; display: flex; gap: 12px; }
.sp-ai-head b { display: block; font-size: 1rem; }
.sp-ai-head small { align-items: center; color: rgba(255,255,255,.62); display: flex; font-size: .78rem; gap: 6px; }
.sp-ai-head small i, .sp-chat-head small i { background: #3ee08f; border-radius: 50%; height: 7px; width: 7px; }
.sp-ai-av { align-items: center; background: linear-gradient(140deg, var(--sp-accent), color-mix(in srgb, var(--sp-accent) 55%, #7c3aed)); border-radius: 14px; color: #fff; display: flex; flex: none; height: 42px; justify-content: center; width: 42px; }
.sp-ai-bubble { background: #fff; border-radius: 18px 18px 18px 6px; color: var(--sp-ink); font-size: .95rem; line-height: 1.5; margin: 18px 0 14px; padding: 14px 16px; }
.sp-ai-prompts { display: grid; gap: 8px; }
.sp-ai-prompts button, .sp-hl { align-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 13px; color: #fff; display: flex; font-size: .9rem; justify-content: space-between; padding: 11px 14px; text-align: left; transition: background .15s, border-color .15s; }
.sp-ai-prompts button:hover, .sp-hl:hover { background: rgba(255,255,255,.14); border-color: color-mix(in srgb, var(--sp-accent) 70%, white); }
.sp-hl { margin-top: 8px; width: 100%; }
.sp-hl:first-of-type { margin-top: 18px; }
.sp-hl b { color: #ffd2b0; }
.sp-ai-input { align-items: center; background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; color: rgba(255,255,255,.55); display: flex; font-size: .92rem; gap: 10px; margin-top: 14px; padding: 13px 14px; text-align: left; width: 100%; }

/* seções */
.sp-section { padding: 76px 0; }
.sp-head { margin-bottom: 30px; }
.sp-head h2, .sp-about-copy h2, .sp-visit-card h2 { font-family: var(--sp-display); font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; margin: 10px 0 0; }
.sp-kicker { align-items: center; color: var(--sp-accent); display: inline-flex; font-size: .78rem; font-weight: 800; gap: 7px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 700px) { .sp-section { padding: 52px 0; } }

/* promoções */
.sp-promos { background: linear-gradient(180deg, color-mix(in srgb, var(--sp-accent) 9%, var(--sp-paper)), var(--sp-paper)); }
.sp-promo-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.sp-promo { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 26px; box-shadow: var(--sp-shadow); display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); overflow: hidden; }
.sp-promo-grid.is-single { grid-template-columns: minmax(0, 920px); }
.sp-promo-grid.is-single .sp-promo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.sp-promo-grid.is-single .sp-promo-body { justify-content: center; padding: 34px; }
.sp-promo-grid.is-single .sp-promo h3 { font-size: 2rem; }
.sp-promo-media { background: var(--sp-dark); min-height: 220px; position: relative; }
.sp-promo-media img { height: 100%; inset: 0; object-fit: cover; position: absolute; width: 100%; }
.sp-promo-media.is-art { align-items: center; background: linear-gradient(140deg, var(--sp-accent), var(--sp-dark)); color: rgba(255,255,255,.85); display: flex; justify-content: center; }
.sp-promo-body { display: flex; flex-direction: column; padding: 22px; }
.sp-promo-badge { align-self: flex-start; background: var(--sp-dark); border-radius: 999px; color: #fff; font-size: .72rem; font-weight: 800; letter-spacing: .04em; padding: 5px 11px; text-transform: uppercase; }
.sp-promo h3 { font-family: var(--sp-display); font-size: 1.45rem; letter-spacing: -.02em; line-height: 1.1; margin: 12px 0 0; }
.sp-promo p { color: var(--sp-muted); font-size: .92rem; line-height: 1.5; margin: 8px 0 0; }
.sp-promo-foot { align-items: center; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; margin-top: auto; padding-top: 18px; }
.sp-promo-price { display: flex; flex-direction: column; line-height: 1.1; }
.sp-promo-price s { color: var(--sp-muted); font-size: .85rem; }
.sp-promo-price b { color: var(--sp-accent); font-family: var(--sp-display); font-size: 1.7rem; letter-spacing: -.02em; }
.sp-promo-list { display: grid; gap: 2px; list-style: none; margin: 14px 0 0; padding: 0; }
.sp-promo-list li { align-items: center; border-top: 1px solid var(--sp-line); display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr) auto auto; padding: 8px 0; }
.sp-promo-name { font-size: .95rem; font-weight: 600; }
.sp-promo-price.is-row { align-items: flex-end; }
.sp-promo-price.is-row b { font-size: 1.15rem; }
.sp-promo-price.is-row s { font-size: .75rem; }
.sp-btn-icon { border-radius: 12px; height: 38px; justify-content: center; padding: 0; width: 38px; }
@media (max-width: 620px) { .sp-promo, .sp-promo-grid.is-single .sp-promo { grid-template-columns: 1fr; } .sp-promo-media { aspect-ratio: 16/10; min-height: 0; } .sp-promo-grid.is-single .sp-promo-body { padding: 22px; } }
.sp-week { display: grid; gap: 8px; grid-template-columns: repeat(7, 1fr); margin-top: 26px; }
.sp-week-day { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 16px; display: flex; flex-direction: column; gap: 6px; min-height: 92px; padding: 12px; }
.sp-week-day.is-today { background: var(--sp-dark); border-color: var(--sp-dark); color: #fff; }
.sp-week-day.is-empty { opacity: .6; }
.sp-week-lbl { font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sp-week-day.is-today .sp-week-lbl { color: color-mix(in srgb, var(--sp-accent) 60%, white); }
.sp-week-promo { font-size: .84rem; font-weight: 600; line-height: 1.3; }
.sp-week-none { color: var(--sp-muted); }
@media (max-width: 820px) { .sp-week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; } .sp-week-day { flex: 0 0 132px; scroll-snap-align: start; } }

/* cardápio */
.sp-menubar { background: color-mix(in srgb, var(--sp-paper) 92%, transparent); backdrop-filter: blur(12px); display: flex; flex-direction: column; gap: 12px; margin: 0 -20px 8px; padding: 12px 20px; position: sticky; top: 62px; z-index: 20; }
.sp-search { align-items: center; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; color: var(--sp-muted); display: flex; gap: 10px; max-width: 420px; padding: 0 14px; }
.sp-search input { background: none; border: 0; color: var(--sp-ink); flex: 1; font: inherit; outline: 0; padding: 12px 0; }
.sp-search:focus-within { border-color: var(--sp-accent); }
.sp-cats { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.sp-cats::-webkit-scrollbar { display: none; }
.sp-cat { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 999px; color: var(--sp-ink); flex: none; font-size: .88rem; font-weight: 600; padding: 8px 16px; text-decoration: none; transition: background .15s, color .15s; }
.sp-cat.is-on { background: var(--sp-dark); border-color: var(--sp-dark); color: #fff; }
.sp-catblock { padding-top: 26px; scroll-margin-top: 170px; }
.sp-cattitle { align-items: baseline; display: flex; font-family: var(--sp-display); font-size: 1.4rem; gap: 10px; letter-spacing: -.02em; margin: 0 0 16px; }
.sp-cattitle small { color: var(--sp-muted); font-family: Inter, sans-serif; font-size: .8rem; font-weight: 600; }
.sp-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.sp-card { align-items: stretch; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: var(--sp-radius); color: inherit; display: flex; gap: 14px; padding: 12px; text-align: left; transition: transform .15s, box-shadow .15s, border-color .15s; }
.sp-card:hover { border-color: color-mix(in srgb, var(--sp-accent) 45%, var(--sp-line)); box-shadow: var(--sp-shadow); transform: translateY(-2px); }
.sp-card-media { border-radius: 15px; flex: none; height: 108px; overflow: hidden; position: relative; width: 108px; }
.sp-card-media img { height: 100%; object-fit: cover; width: 100%; }
.sp-card-icon { align-items: center; background: linear-gradient(150deg, color-mix(in srgb, var(--sp-accent) 70%, #000), var(--sp-dark)); color: #ffe0c9; display: flex; font-family: var(--sp-display); font-size: 1.6rem; font-weight: 800; height: 100%; justify-content: center; width: 100%; }
.sp-card-icon.is-empty { background: linear-gradient(150deg, #efe4d4, #e2d3bd); color: #a38f76; }
.sp-card-flag { background: var(--sp-accent); border-radius: 8px; color: #fff; font-size: .66rem; font-weight: 800; left: 6px; letter-spacing: .05em; padding: 3px 7px; position: absolute; text-transform: uppercase; top: 6px; }
.sp-card-body { display: flex; flex: 1; flex-direction: column; min-width: 0; padding: 2px 0; }
.sp-card-name { font-size: 1.02rem; font-weight: 700; line-height: 1.25; }
.sp-card-desc { -webkit-box-orient: vertical; -webkit-line-clamp: 2; color: var(--sp-muted); display: -webkit-box; font-size: .84rem; line-height: 1.4; margin-top: 4px; overflow: hidden; }
.sp-card-foot { align-items: center; display: flex; justify-content: space-between; margin-top: auto; padding-top: 8px; }
.sp-price { align-items: baseline; display: flex; flex-wrap: wrap; gap: 6px; }
.sp-price-now { font-weight: 800; }
.sp-price-was { color: var(--sp-muted); font-size: .8rem; }
.sp-card-add { align-items: center; background: var(--sp-dark); border-radius: 11px; color: #fff; display: flex; height: 34px; justify-content: center; transition: background .15s; width: 34px; }
.sp-card:hover .sp-card-add { background: var(--sp-accent); }
.sp-empty { color: var(--sp-muted); padding: 30px 0; text-align: center; }
@media (max-width: 520px) { .sp-grid { grid-template-columns: 1fr; } .sp-card-media { height: 96px; width: 96px; } .sp-menubar { top: 58px; } }

/* avaliações */
.sp-reviews { background: linear-gradient(180deg, var(--sp-paper), color-mix(in srgb, var(--sp-accent) 7%, var(--sp-paper))); }
.sp-stars { color: transparent; display: inline-block; font-size: 1rem; letter-spacing: 2px; line-height: 1; }
.sp-stars::before { -webkit-background-clip: text; background: linear-gradient(90deg, #f2a516 calc(var(--r) * 20%), #dcd2c4 0); background-clip: text; content: "★★★★★"; }
.sp-rev-scores { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.sp-rev-score { align-items: center; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 18px; box-shadow: var(--sp-shadow); color: var(--sp-ink); display: flex; gap: 12px; padding: 12px 18px; text-decoration: none; }
a.sp-rev-score:hover { border-color: var(--sp-accent); }
.sp-rev-score > b { font-family: var(--sp-display); font-size: 2rem; letter-spacing: -.03em; line-height: 1; }
.sp-rev-score > span { display: grid; gap: 4px; }
.sp-rev-score small { color: var(--sp-muted); font-size: .82rem; }
.sp-rev-list { column-gap: 16px; columns: 3 280px; }
.sp-rev { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 22px; box-shadow: var(--sp-shadow); break-inside: avoid; display: grid; gap: 12px; margin: 0 0 16px; padding: 20px; }
.sp-rev blockquote { font-size: 1rem; line-height: 1.55; margin: 0; overflow-wrap: anywhere; }
.sp-rev blockquote::before { color: var(--sp-accent); content: "“"; font-family: var(--sp-display); font-size: 1.6rem; font-weight: 800; line-height: 0; margin-right: 2px; vertical-align: -.35em; }
.sp-rev figcaption { align-items: center; display: flex; gap: 10px; }
.sp-rev figcaption small { color: var(--sp-muted); font-size: .8rem; margin-left: auto; }
.sp-rev-av { align-items: center; background: color-mix(in srgb, var(--sp-accent) 16%, var(--sp-card)); border-radius: 999px; color: var(--sp-accent); display: flex; flex: none; font-weight: 800; height: 32px; justify-content: center; width: 32px; }
@media (max-width: 640px) {
  .sp-rev-list { columns: auto; display: flex; gap: 12px; margin: 0 -20px; overflow-x: auto; padding: 4px 20px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .sp-rev { align-content: start; flex: 0 0 82%; margin: 0; scroll-snap-align: center; }
}

/* sobre + vídeo */
.sp-about { background: var(--sp-dark); color: #fff; }
.sp-about-grid { align-items: center; display: grid; gap: 48px; grid-template-columns: 1.25fr 1fr; }
.sp-about-grid.no-video { grid-template-columns: minmax(0, 720px); }
.sp-video { aspect-ratio: 16/9; background: #000; border-radius: 26px; box-shadow: 0 40px 90px -30px rgba(0,0,0,.7); overflow: hidden; }
.sp-video iframe, .sp-video video { border: 0; display: block; height: 100%; object-fit: cover; width: 100%; }
.sp-video.is-portrait { aspect-ratio: 9/16; justify-self: center; max-height: 78vh; max-width: 100%; width: min(420px, 100%); }
.sp-about-text { color: rgba(255,255,255,.76); font-size: 1.02rem; line-height: 1.7; margin: 16px 0 0; }
.sp-about-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sp-about .sp-btn-line { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
@media (max-width: 900px) { .sp-about-grid { gap: 30px; grid-template-columns: 1fr; } }

/* horário e local */
.sp-visit-grid { display: grid; gap: 18px; grid-template-columns: 1fr 1.2fr; }
.sp-visit-card { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 26px; box-shadow: var(--sp-shadow); padding: 28px; }
.sp-visit-card h2 { font-size: 1.7rem; margin-bottom: 16px; }
.sp-visit-map h2 { font-size: 1.3rem; }
.sp-hours { list-style: none; margin: 0; padding: 0; }
.sp-hours li { border-top: 1px dashed var(--sp-line); display: flex; font-size: .95rem; justify-content: space-between; padding: 11px 4px; }
.sp-hours li:first-child { border-top: 0; }
.sp-hours li.is-today { background: color-mix(in srgb, var(--sp-accent) 10%, transparent); border-radius: 12px; font-weight: 700; margin: 0 -8px; padding: 11px 12px; }
.sp-hours li.is-closed b { color: var(--sp-muted); font-weight: 500; }
.sp-map { border: 0; border-radius: 18px; display: block; filter: saturate(.85); height: 260px; width: 100%; }
@media (max-width: 860px) { .sp-visit-grid { grid-template-columns: 1fr; } }

.sp-foot { background: var(--sp-dark); color: rgba(255,255,255,.6); padding: 56px 20px 120px; text-align: center; }
.sp-foot-name { color: #fff; font-family: var(--sp-display); font-size: clamp(1.8rem, 5vw, 3rem); font-weight: 800; letter-spacing: -.03em; }
.sp-foot small { color: rgba(255,255,255,.35); display: block; font-size: .72rem; margin-top: 18px; }

/* barra flutuante: sacola + IA */
.sp-dock { align-items: center; bottom: 18px; display: flex; gap: 10px; justify-content: flex-end; left: 16px; pointer-events: none; position: fixed; right: 16px; z-index: 45; }
.sp-dock > * { pointer-events: auto; }
.sp-cartbar { align-items: center; background: var(--sp-dark); border: 0; border-radius: 16px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.5); color: #fff; display: flex; flex: 0 1 340px; gap: 12px; padding: 13px 16px; }
.sp-cartbar span:nth-child(2) { flex: 1; font-weight: 700; text-align: left; }
.sp-cartbar-n { align-items: center; background: var(--sp-accent); border-radius: 9px; display: flex; font-size: .8rem; font-weight: 800; height: 26px; justify-content: center; min-width: 26px; padding: 0 6px; }
.sp-fab { align-items: center; background: linear-gradient(110deg, var(--sp-accent), color-mix(in srgb, var(--sp-accent) 60%, #7c3aed)); border: 0; border-radius: 999px; box-shadow: 0 18px 40px -10px color-mix(in srgb, var(--sp-accent) 80%, transparent); color: #fff; display: flex; font-size: 1.15rem; font-weight: 800; gap: 12px; padding: 19px 30px; position: relative; }
.sp-fab-pulse { animation: sp-halo 2.4s infinite; border-radius: inherit; inset: 0; position: absolute; }
@keyframes sp-halo { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sp-accent) 55%, transparent); } 70%, 100% { box-shadow: 0 0 0 14px transparent; } }
@media (max-width: 560px) { .sp-cartbar { flex: 1; } .sp-fab-txt { display: none; } .sp-fab { justify-content: center; padding: 0; height: 64px; width: 64px; } }

/* camadas */
.sp-scrim { background: rgba(18,12,8,.55); backdrop-filter: blur(3px); inset: 0; opacity: 0; position: fixed; transition: opacity .25s; z-index: 70; }
.sp-scrim.on { opacity: 1; }
.sp-drawer { background: var(--sp-paper); box-shadow: -30px 0 80px rgba(0,0,0,.3); display: flex; flex-direction: column; height: 100%; max-width: 100%; position: fixed; right: 0; top: 0; transform: translateX(100%); transition: transform .28s cubic-bezier(.2,.8,.2,1); width: 440px; z-index: 80; }
.sp-drawer.on { transform: none; }
.sp-drawer-head { align-items: center; border-bottom: 1px solid var(--sp-line); display: flex; gap: 12px; padding: 16px 18px; }
.sp-drawer-head h3 { font-family: var(--sp-display); font-size: 1.35rem; margin: 0; }
.sp-drawer-body { flex: 1; overflow-y: auto; padding: 18px; }
.sp-x { align-items: center; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 12px; color: var(--sp-ink); display: flex; height: 38px; justify-content: center; margin-left: auto; width: 38px; }
.sp-sheet { background: var(--sp-paper); border-radius: 28px 28px 0 0; bottom: 0; display: flex; flex-direction: column; left: 50%; max-height: 92vh; max-width: 560px; position: fixed; transform: translate(-50%, 100%); transition: transform .3s cubic-bezier(.2,.8,.2,1); width: 100%; z-index: 80; }
.sp-sheet.on { transform: translate(-50%, 0); }
@media (min-width: 700px) { .sp-sheet { border-radius: 28px; bottom: auto; top: 50%; transform: translate(-50%, -40%); opacity: 0; transition: transform .25s, opacity .25s; } .sp-sheet.on { opacity: 1; transform: translate(-50%, -50%); } }
.sp-sheet-x { position: absolute; right: 14px; top: 14px; z-index: 2; }
.sp-sheet-media { aspect-ratio: 16/9; background: var(--sp-dark); border-radius: 28px 28px 0 0; flex: none; max-height: 38vh; overflow: hidden; position: relative; width: 100%; }
.sp-sheet-media img { height: 100%; inset: 0; position: absolute; width: 100%; }
.sp-sheet-media .sp-sheet-bg { filter: blur(22px) saturate(1.1); object-fit: cover; opacity: .75; transform: scale(1.15); }
.sp-sheet-media .sp-sheet-img { object-fit: contain; }
.sp-sheet-media .sp-sheet-video { background: transparent; height: 100%; inset: 0; object-fit: contain; position: absolute; width: 100%; }
.sp-card-play { align-items: center; background: rgba(0,0,0,.55); border-radius: 999px; bottom: 6px; color: #fff; display: flex; height: 22px; justify-content: center; position: absolute; right: 6px; width: 22px; }
.sp-card-play .icn { fill: currentColor; margin-left: 1px; }
.sp-sheet-noimg { align-items: center; background: linear-gradient(140deg, var(--sp-accent), var(--sp-dark)); color: rgba(255,255,255,.85); display: flex; font-family: var(--sp-display); font-size: 3rem; font-weight: 800; height: 100%; justify-content: center; }
.sp-sheet-body { flex: 1; overflow-y: auto; padding: 20px 22px; }
.sp-sheet-cat { color: var(--sp-accent); font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.sp-sheet-body h3 { font-family: var(--sp-display); font-size: 1.6rem; letter-spacing: -.02em; margin: 4px 0 0; }
.sp-sheet-desc { color: var(--sp-muted); line-height: 1.55; margin: 8px 0 0; }
.sp-opt { border: 0; margin: 20px 0 0; padding: 0; }
.sp-opt legend { align-items: center; display: flex; font-weight: 800; gap: 8px; margin-bottom: 8px; padding: 0; width: 100%; }
.sp-opt legend em { color: var(--sp-muted); font-size: .78rem; font-style: normal; font-weight: 600; margin-left: auto; }
.sp-choice { align-items: center; background: var(--sp-card); border: 1.5px solid var(--sp-line); border-radius: 14px; cursor: pointer; display: flex; gap: 12px; margin-top: 7px; padding: 12px 14px; transition: border-color .12s, background .12s; }
.sp-choice:has(input:checked) { background: color-mix(in srgb, var(--sp-accent) 7%, var(--sp-card)); border-color: var(--sp-accent); }
.sp-choice:has(input:disabled) { opacity: .45; }
.sp-choice input { accent-color: var(--sp-accent); height: 18px; margin: 0; width: 18px; }
.sp-choice span { flex: 1; }
.sp-choice b { font-size: .9rem; }
.sp-choice s { color: var(--sp-muted); font-weight: 500; margin-left: 4px; }
/* Adicional pago com − n + (2x bacon). */
.sp-choice-qty { padding: 8px 8px 8px 14px; }
.sp-choice-qty.is-on { background: color-mix(in srgb, var(--sp-accent) 7%, var(--sp-card)); border-color: var(--sp-accent); }
.sp-mini-step { align-items: center; display: flex; gap: 2px; }
.sp-mini-step button { align-items: center; background: var(--sp-paper); border: 1px solid var(--sp-line); border-radius: 999px; color: var(--sp-ink); cursor: pointer; display: flex; height: 32px; justify-content: center; padding: 0; width: 32px; }
.sp-mini-step button[data-mod-d="1"] { background: var(--sp-accent); border-color: var(--sp-accent); color: #fff; }
.sp-mini-step button:disabled { cursor: default; opacity: .35; }
.sp-mini-step .icn { height: 15px; width: 15px; }
.sp-mini-step i { font-style: normal; font-weight: 800; min-width: 22px; text-align: center; }
.sp-choice-qty:not(.is-on) [data-mod-d="-1"], .sp-choice-qty:not(.is-on) [data-mod-n] { visibility: hidden; }
.sp-shake { animation: sp-shake .5s; }
@keyframes sp-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.sp-note { display: block; margin-top: 20px; }
.sp-note span, .sp-f span, .sp-lbl { color: var(--sp-muted); display: block; font-size: .78rem; font-weight: 700; margin-bottom: 6px; }
.sp-note input, .sp-f input { background: var(--sp-card); border: 1.5px solid var(--sp-line); border-radius: 12px; color: var(--sp-ink); font: inherit; outline: 0; padding: 12px 13px; width: 100%; }
.sp-note input:focus, .sp-f input:focus { border-color: var(--sp-accent); }
.sp-sheet-foot { align-items: center; border-top: 1px solid var(--sp-line); display: flex; gap: 12px; padding: 14px 18px calc(14px + env(safe-area-inset-bottom)); }
.sp-add { flex: 1; justify-content: space-between; }
.sp-stepper { align-items: center; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; display: flex; }
.sp-stepper button { align-items: center; background: none; border: 0; color: var(--sp-ink); display: flex; height: 46px; justify-content: center; width: 42px; }
.sp-stepper span { font-weight: 800; min-width: 22px; text-align: center; }
.sp-stepper-sm button { height: 34px; width: 32px; }

/* sacola */
.sp-lines { list-style: none; margin: 0; padding: 0; }
.sp-lines li { align-items: center; border-bottom: 1px solid var(--sp-line); display: flex; gap: 12px; padding: 13px 0; }
.sp-line-main { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; }
.sp-line-main small { color: var(--sp-muted); font-size: .8rem; }
.sp-line-main > span { font-size: .9rem; font-weight: 700; margin-top: 3px; }
/* "Combina com seu pedido": sugestão de venda na sacola */
.sp-upsell { border-bottom: 1px solid var(--sp-line); padding: 14px 0 12px; }
.sp-upsell-ttl { align-items: baseline; display: flex; flex-wrap: wrap; font-family: var(--sp-display); font-size: .98rem; font-weight: 700; gap: 8px; margin: 0 0 10px; }
.sp-upsell-ttl span { background: color-mix(in srgb, var(--sp-good) 12%, transparent); border-radius: 999px; color: var(--sp-good); font-family: Inter, system-ui, sans-serif; font-size: .78rem; padding: 2px 9px; }
.sp-upsell-row { display: flex; gap: 10px; margin: 0 -2px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x mandatory; }
.sp-upsell-card { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; color: var(--sp-ink); cursor: pointer; display: grid; flex: 0 0 132px; font: inherit; gap: 2px; padding: 8px; position: relative; scroll-snap-align: start; text-align: left; }
.sp-upsell-card:hover { border-color: var(--sp-accent); }
.sp-upsell-card img, .sp-upsell-noimg { aspect-ratio: 1; border-radius: 10px; margin-bottom: 4px; object-fit: cover; width: 100%; }
.sp-upsell-noimg { align-items: center; background: var(--sp-paper); color: var(--sp-muted); display: flex; font-size: 1.6rem; font-weight: 700; justify-content: center; }
.sp-upsell-card small { color: var(--sp-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .03em; }
.sp-upsell-card b { font-size: .86rem; line-height: 1.2; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.sp-upsell-price { color: var(--sp-good); font-size: .86rem; font-weight: 700; }
.sp-upsell-plus { align-items: center; background: var(--sp-accent); border-radius: 999px; color: #fff; display: flex; height: 28px; justify-content: center; position: absolute; right: 12px; top: 12px; width: 28px; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
/* "Peça junto" na ficha: cartões que se marcam (+ vira ✓). */
.sp-sheet-upsell { border-bottom: 0; margin-top: 20px; padding: 0; }
.sp-upsell-plus .icn + .icn, .sp-upsell-card.is-on .sp-upsell-plus .icn:first-child { display: none; }
.sp-upsell-card.is-on .sp-upsell-plus .icn + .icn { display: block; }
.sp-upsell-card.is-on { background: color-mix(in srgb, var(--sp-accent) 7%, var(--sp-card)); border-color: var(--sp-accent); }
.sp-upsell-card.is-on .sp-upsell-plus { background: var(--sp-good); }
.sp-upsell-ttl small { color: var(--sp-muted); font-family: Inter, system-ui, sans-serif; font-size: .82rem; font-weight: 500; }
.sp-upsell-row + .sp-upsell-ttl, .sp-upsell-chips + .sp-upsell-ttl { margin-top: 12px; }
.sp-upsell-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sp-upsell-chip { align-items: center; background: var(--sp-card); border: 1px dashed var(--sp-accent); border-radius: 999px; color: var(--sp-ink); cursor: pointer; display: inline-flex; font: inherit; font-size: .85rem; gap: 6px; padding: 7px 12px; white-space: nowrap; }
.sp-upsell-chip .icn { color: var(--sp-accent); height: 15px; width: 15px; }
.sp-upsell-chip b { color: var(--sp-good); }
.sp-totals { display: grid; gap: 6px; margin: 16px 0; }
.sp-totals div { color: var(--sp-muted); display: flex; font-size: .92rem; justify-content: space-between; }
.sp-totals .sp-total { border-top: 1px solid var(--sp-line); color: var(--sp-ink); font-size: 1.1rem; margin-top: 4px; padding-top: 10px; }
.sp-checkout { margin-top: 18px; }
.sp-seg { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 14px; display: grid; gap: 4px; grid-template-columns: 1fr 1fr; padding: 4px; }
.sp-seg label { cursor: pointer; }
.sp-seg input { position: absolute; opacity: 0; pointer-events: none; }
.sp-seg span { border-radius: 10px; display: block; font-size: .85rem; font-weight: 700; padding: 10px 6px; text-align: center; }
.sp-seg input:checked + span { background: var(--sp-dark); color: #fff; }
.sp-fields, .sp-addr { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; margin-top: 14px; }
.sp-addr { grid-column: 1 / -1; margin-top: 0; }
.sp-f-wide { grid-column: 1 / -1; }
.sp-f-sm { grid-column: auto; }
.sp-addr .sp-f-wide:first-child { grid-column: 1; }
.sp-pay { margin-top: 16px; }
.sp-paychips { display: flex; flex-wrap: wrap; gap: 6px; }
.sp-paychips input { position: absolute; opacity: 0; pointer-events: none; }
.sp-paychips span { background: var(--sp-card); border: 1.5px solid var(--sp-line); border-radius: 999px; cursor: pointer; display: block; font-size: .85rem; font-weight: 600; padding: 8px 14px; }
.sp-paychips input:checked + span { background: var(--sp-dark); border-color: var(--sp-dark); color: #fff; }
.sp-change { margin-top: 10px; }
.sp-checkout > .sp-f { margin-top: 14px; }
.sp-alert { background: color-mix(in srgb, var(--sp-accent) 10%, var(--sp-card)); border-radius: 12px; font-size: .88rem; margin: 10px 0; padding: 11px 13px; }
.sp-error { background: #fdecea; border-radius: 12px; color: var(--sp-bad); font-size: .88rem; font-weight: 600; margin: 10px 0; padding: 10px 13px; }
.sp-cart-empty, .sp-success { padding: 40px 10px; text-align: center; }
.sp-cart-empty-ic, .sp-success-ic { align-items: center; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 22px; display: inline-flex; height: 64px; justify-content: center; width: 64px; }
.sp-success-ic { background: var(--sp-good); border: 0; color: #fff; }
.sp-success-ic .icn { height: 30px; width: 30px; }
.sp-cart-empty h4, .sp-success h4 { font-family: var(--sp-display); font-size: 1.4rem; margin: 16px 0 6px; }
.sp-cart-empty p, .sp-success p { color: var(--sp-muted); margin: 0 0 16px; }
.sp-success p b { color: var(--sp-ink); }

/* chat */
.sp-chat { width: 460px; }
.sp-chat-head { background: var(--sp-dark); border: 0; color: #fff; }
.sp-chat-head b { display: block; }
.sp-chat-head small { align-items: center; color: rgba(255,255,255,.6); display: flex; font-size: .76rem; gap: 6px; }
.sp-chat-head .sp-x { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.15); color: #fff; margin-left: 0; }
.sp-chat-bag { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15); border-radius: 12px; color: #fff; display: flex; height: 38px; justify-content: center; margin-left: auto; position: relative; width: 38px; }
.sp-chat-log { display: flex; flex: 1; flex-direction: column; gap: 10px; overflow-y: auto; padding: 18px 16px; }
.sp-msg { border-radius: 18px; font-size: .94rem; line-height: 1.5; max-width: 86%; padding: 11px 14px; white-space: normal; word-wrap: break-word; }
.sp-msg.bot { align-self: flex-start; background: var(--sp-card); border: 1px solid var(--sp-line); border-bottom-left-radius: 6px; }
.sp-msg.me { align-self: flex-end; background: var(--sp-dark); border-bottom-right-radius: 6px; color: #fff; }
.sp-typing { align-items: center; display: flex; gap: 5px; padding: 15px 16px; }
.sp-typing i { animation: sp-dot 1.2s infinite; background: var(--sp-muted); border-radius: 50%; height: 7px; width: 7px; }
.sp-typing i:nth-child(2) { animation-delay: .15s; }
.sp-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes sp-dot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-4px); } }
.sp-msg-cards { display: flex; gap: 8px; margin: 0 -16px; overflow-x: auto; padding: 2px 16px 6px; scrollbar-width: none; }
.sp-mini { align-items: center; background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 16px; display: flex; flex: 0 0 236px; gap: 10px; padding: 8px; text-align: left; }
.sp-mini img, .sp-mini-noimg { border-radius: 11px; flex: none; height: 56px; object-fit: cover; width: 56px; }
.sp-mini-noimg { align-items: center; background: linear-gradient(140deg, var(--sp-accent), var(--sp-dark)); color: #fff; display: flex; font-weight: 800; justify-content: center; }
.sp-mini > span { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.sp-mini b { font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-mini small { color: var(--sp-muted); font-size: .8rem; }
.sp-mini i { align-items: center; background: var(--sp-accent); border-radius: 10px; color: #fff; display: flex; flex: none; height: 32px; justify-content: center; width: 32px; }
.sp-msg-checkout { align-self: stretch; background: var(--sp-card); border: 1.5px solid var(--sp-accent); border-radius: 20px; box-shadow: var(--sp-shadow); padding: 16px; }
.sp-msg-checkout h5 { font-family: var(--sp-display); font-size: 1.1rem; margin: 0 0 8px; }
.sp-msg-checkout ul { list-style: none; margin: 0; padding: 0; }
.sp-msg-checkout li { display: flex; font-size: .9rem; gap: 10px; justify-content: space-between; padding: 5px 0; }
.sp-msg-checkout li small { color: var(--sp-muted); display: block; font-size: .78rem; }
.sp-msg-checkout .sp-totals { margin: 10px 0; }
.sp-msg-checkout dl { display: grid; font-size: .86rem; gap: 4px 12px; grid-template-columns: auto 1fr; margin: 0 0 12px; }
.sp-msg-checkout dt { color: var(--sp-muted); }
.sp-msg-checkout dd { margin: 0; }
.sp-msg-actions .sp-btn { width: 100%; }
.sp-msg-checkout .sp-success { padding: 12px 0; }
.sp-chat-chips { display: flex; gap: 6px; overflow-x: auto; padding: 0 16px 8px; scrollbar-width: none; }
.sp-chat-chips button { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 999px; color: var(--sp-ink); flex: none; font-size: .84rem; font-weight: 600; padding: 8px 13px; }
.sp-chat-chips button:hover { border-color: var(--sp-accent); }
.sp-chat-bar { border-top: 1px solid var(--sp-line); display: flex; gap: 8px; padding: 12px 14px 6px; }
.sp-chat-bar input { background: var(--sp-card); border: 1.5px solid var(--sp-line); border-radius: 14px; color: var(--sp-ink); flex: 1; font: inherit; outline: 0; padding: 12px 14px; }
.sp-chat-bar input:focus { border-color: var(--sp-accent); }
.sp-chat-bar button { align-items: center; background: var(--sp-accent); border: 0; border-radius: 14px; color: #fff; display: flex; justify-content: center; width: 48px; }
.sp-chat-note { color: var(--sp-muted); font-size: .7rem; margin: 0; padding: 0 16px calc(10px + env(safe-area-inset-bottom)); text-align: center; }

.sp-toast { background: var(--sp-dark); border-radius: 12px; bottom: 90px; box-shadow: 0 14px 30px rgba(0,0,0,.3); color: #fff; font-size: .9rem; font-weight: 600; left: 50%; opacity: 0; padding: 11px 18px; position: fixed; transform: translate(-50%, 10px); transition: opacity .2s, transform .2s; z-index: 90; }
.sp-toast.on { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  .storefront *, .storefront *::before, .storefront *::after { animation: none !important; transition: none !important; }
}

/* ---- Gestão da página pública (painel escuro do app) ---- */
.msf { display: grid; gap: 18px; }
.msf-card { margin: 0 !important; }
.msf-title { align-items: center; display: flex; font-size: 1.25rem !important; gap: 8px; margin: 0 0 4px !important; }
.msf-sub { font-size: 1rem; margin: 22px 0 0; }
.msf-hint { color: var(--app-muted, #6b6b6b); font-size: .85rem; margin: 6px 0 0; }
.msf-media { align-items: center; display: flex; gap: 14px; margin-top: 10px; }
.msf-media img, .msf-media video { border-radius: 10px; max-height: 120px; max-width: 220px; object-fit: cover; }
.msf-hours { align-items: center; display: grid; gap: 8px 14px; grid-template-columns: 110px 1fr; }
.msf-hours label { margin: 0 !important; }
.msf-2col { display: grid; gap: 0 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { .msf-2col { grid-template-columns: 1fr; } }
.msf-chips, .msf-days { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.msf-day { cursor: pointer; display: inline-block !important; margin: 0 !important; position: relative; width: auto !important; }
.msf-day input { height: 1px !important; margin: 0 !important; opacity: 0; position: absolute; width: 1px !important; }
.msf-day span { border: 1px solid #5d3a26; border-radius: 999px; color: var(--app-dim); display: inline-block; font-size: .85rem; letter-spacing: 0; padding: 7px 14px; text-transform: none; }
.msf-day input:checked + span { background: var(--app-accent); border-color: var(--app-accent); color: #fff; }
.msf-day input:focus-visible + span { outline: 2px solid var(--app-accent-2); outline-offset: 2px; }
.msf-actions { align-items: center; display: flex; gap: 16px; }
.msf-promos { list-style: none; margin: 14px 0 0; padding: 0; }
.msf-promos li { align-items: center; border-top: 1px solid var(--app-line); display: flex; gap: 14px; justify-content: space-between; padding: 14px 0; }
.msf-promos li.is-off { opacity: .6; }
.msf-tag { background: var(--app-surface-2); border: 1px solid var(--app-line); border-radius: 999px; font-size: .7rem; font-weight: 700; margin-left: 6px; padding: 2px 8px; }
.msf-tag.is-today { background: rgba(62,207,142,.15); border-color: rgba(62,207,142,.4); color: var(--app-good); }
.msf-row-actions { align-items: center; display: flex; gap: 12px; }
.msf-row-actions form { margin: 0; }
.msf-danger { background: none; border: 0; color: var(--app-bad) !important; padding: 0; }
.msf-plain { background: none; border: 0; cursor: pointer; font: inherit; padding: 0; text-decoration: underline; }
.msf-promo-items { color: var(--app-dim); font-size: .85rem; list-style: none; margin: 6px 0 0; padding: 0; }
.msf-promo-items li { border: 0; display: block; padding: 2px 0; }

/* aviso de acompanhamento pelo WhatsApp (integração Whats360) */
.sp-wa-hint { align-items: flex-start; background: #e9f8ef; border-radius: 12px; color: #17613d; display: flex; font-size: .82rem; gap: 8px; line-height: 1.4; margin: 4px 0 0; padding: 9px 12px; text-align: left; }
.sp-wa-hint .icn { flex: none; margin-top: 1px; }
.sp-success .sp-wa-hint { margin: 0 auto 16px; max-width: 320px; }
.sp-msg-checkout .sp-wa-hint { margin-bottom: 10px; }

/* formulário de dados do cliente (tudo de uma vez, validado) */
.sp-details-drawer { z-index: 85; }
.sp-details { display: flex; flex-direction: column; gap: 16px; }
.sp-details .sp-fields { margin-top: 0; }
.sp-details .sp-drawer-head small { display: block; margin-top: 2px; }
.sp-seg-top { margin: 0; }
.sp-f.is-bad input { background: #fff6f4; border-color: var(--sp-bad); }
.sp-ferr { color: var(--sp-bad); display: block; font-size: .78rem; font-weight: 600; margin-top: 5px; }
.sp-f.is-loading { position: relative; }
.sp-f.is-loading::after { animation: sp-spin .7s linear infinite; border: 2px solid var(--sp-line); border-radius: 50%; border-top-color: var(--sp-accent); content: ""; height: 16px; position: absolute; right: 12px; top: 36px; width: 16px; }
.sp-addr [data-city]:empty { display: none; }
.sp-addr [data-city] { font-weight: 600; margin: -2px 0 0; }
.sp-details-save { margin-top: 4px; }
.sp-details-cta { align-items: center; background: var(--sp-card); border: 1.5px dashed color-mix(in srgb, var(--sp-accent) 60%, var(--sp-line)); border-radius: 16px; color: var(--sp-ink); display: grid; gap: 2px 12px; grid-template-columns: auto 1fr; margin-top: 6px; padding: 14px 16px; text-align: left; width: 100%; }
.sp-details-cta > span { align-items: center; background: var(--sp-accent); border-radius: 11px; color: #fff; display: flex; grid-row: span 2; height: 38px; justify-content: center; width: 38px; }
.sp-details-cta small { color: var(--sp-muted); font-size: .8rem; }
.sp-details-cta:hover { border-style: solid; }
.sp-details-card { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 16px; display: grid; font-size: .9rem; gap: 4px; margin-top: 6px; padding: 14px 16px; position: relative; }
.sp-details-card.is-missing { border-color: var(--sp-bad); }
.sp-details-card .sp-link { justify-self: start; margin-top: 4px; }
.sp-checkout > .sp-lbl { margin-bottom: 0; }
.sp-pay .sp-lbl-or { margin-top: 14px; }
.sp-msg-details { align-self: stretch; }

/* conta do cliente (login com Google) */
.sp-nav-acct { align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16); border-radius: 12px; color: #fff; display: flex; font-size: .88rem; font-weight: 600; gap: 8px; height: 40px; padding: 0 12px 0 8px; }
.sp-nav-acct img { border-radius: 50%; height: 26px; width: 26px; }
@media (max-width: 760px) { .sp-nav-acct { margin-left: auto; } .sp-nav-acct + .sp-nav-bag { margin-left: 0; } }
@media (max-width: 420px) { .sp-nav-acct span { display: none; } .sp-nav-acct { padding: 0 8px; } }
.sp-account { width: 440px; }
.sp-acct-head img, .sp-acct-head .sp-brand-mono { border-radius: 50%; flex: none; height: 42px; width: 42px; }
.sp-acct-head b { display: block; }
.sp-acct-head small { color: var(--sp-muted); font-size: .8rem; }
.sp-acct-login { align-items: center; display: flex; flex-direction: column; gap: 12px; padding-top: 34px; text-align: center; }
.sp-acct-login h4 { font-family: var(--sp-display); font-size: 1.45rem; margin: 6px 0 0; }
.sp-acct-hero { align-items: center; background: color-mix(in srgb, var(--sp-accent) 14%, var(--sp-card)); border-radius: 22px; color: var(--sp-accent); display: flex; height: 64px; justify-content: center; width: 64px; }
.sp-acct-hero .icn { height: 30px; width: 30px; }
.sp-acct-perks { display: grid; gap: 8px; list-style: none; margin: 4px 0 8px; padding: 0; text-align: left; }
.sp-acct-perks li { align-items: center; display: flex; font-size: .92rem; gap: 8px; }
.sp-acct-perks .icn { color: var(--sp-good); }
.sp-gbtn { display: flex; justify-content: center; min-height: 44px; }
.sp-acct-fine { font-size: .76rem; max-width: 300px; }
.sp-acct-h { color: var(--sp-muted); font-size: .74rem; font-weight: 800; letter-spacing: .06em; margin: 20px 0 8px; text-transform: uppercase; }
.sp-acct-h:first-child { margin-top: 0; }
.sp-order { background: var(--sp-card); border: 1px solid var(--sp-line); border-radius: 16px; margin-bottom: 10px; padding: 13px 14px; }
.sp-order-top { align-items: center; display: flex; justify-content: space-between; }
.sp-order-items { color: var(--sp-ink); font-size: .88rem; line-height: 1.4; margin: 6px 0; }
.sp-order-foot { align-items: center; display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; }
.sp-order-foot small { color: var(--sp-muted); font-size: .8rem; }
.sp-badge { border-radius: 999px; font-size: .74rem; font-weight: 700; padding: 4px 10px; }
.sp-badge.is-info { background: #e8f0fe; color: #1f4fbf; }
.sp-badge.is-warn { background: #fff3dc; color: #9a5b00; }
.sp-badge.is-good { background: #e3f6ec; color: #17613d; }
.sp-badge.is-done { background: #efe9df; color: #6a5f52; }
.sp-badge.is-bad { background: #fdecea; color: var(--sp-bad); }
.sp-acct-out { color: var(--sp-muted); display: block; margin: 24px auto 0; }
.sp-acct-inline { align-items: center; background: none; border: 0; color: var(--sp-accent); display: flex; font-size: .85rem; font-weight: 700; gap: 6px; margin: 8px 0 0; padding: 0; text-align: left; }
.sp-foot small a { color: inherit; }
.sp-acct-fine a { color: var(--sp-accent); }

/* Banner "Peça pelo app" (só no celular, com a loja de aplicativo configurada). */
.sp-app-banner { background: var(--brand-primary, #E8641C); color: #fff; }
.sp-app-banner-in { align-items: center; display: flex; gap: 12px; margin: 0 auto; max-width: 1160px; padding: 10px 16px; }
.sp-app-banner-txt { display: flex; flex-direction: column; flex: 1; line-height: 1.25; min-width: 0; }
.sp-app-banner-txt b { font-size: .95rem; }
.sp-app-banner-txt small { font-size: .78rem; opacity: .9; }
.sp-app-banner-btn { background: #fff; border-radius: 999px; color: #1b1310; flex-shrink: 0; font-size: .85rem; font-weight: 700; min-height: 40px; display: inline-flex; align-items: center; padding: 0 16px; text-decoration: none; }
.sp-app-banner-x { background: transparent; border: 0; color: #fff; cursor: pointer; font-size: 1.4rem; line-height: 1; min-height: 40px; min-width: 40px; opacity: .85; }
