/* ============================================
   MUNCHGO v3 — Design System Premium
   Mobile-first, dark/light, sem bagunça
============================================ */

/* Garante que [hidden] sempre esconde, mesmo com display: flex/grid setado depois */
[hidden] { display: none !important; }

/* ========== TOKENS ========== */
:root {
  /* Brand */
  --brand: #ff6a00;
  --brand-2: #ff8a1d;
  --brand-soft: rgba(255, 106, 0, 0.12);
  --brand-grad: linear-gradient(135deg, #ff6a00, #ff8a1d);

  /* Dark (default) */
  --bg: #07080c;
  --bg-1: #0f1117;
  --bg-2: #161820;
  --bg-3: #1d2030;
  --bg-input: #161820;

  --fg: #f0f1f5;
  --fg-2: #9ca3b0;
  --fg-3: #5a6070;
  --fg-on-brand: #ffffff;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
  --shadow-brand: 0 6px 24px rgba(255, 106, 0, 0.35);

  /* Status */
  --success: #22c55e;
  --warning: #f59e0b;
  --info: #3b82f6;
  --danger: #ef4444;
  --purple: #a855f7;

  /* Layout */
  --container: 1240px;
  --header-h: 64px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 999px;

  --duration: 200ms;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  /* Type */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

[data-theme="light"] {
  --bg: #fafafb;
  --bg-1: #ffffff;
  --bg-2: #f4f5f7;
  --bg-3: #e9ebf0;
  --bg-input: #ffffff;
  --fg: #0c0d11;
  --fg-2: #4b5563;
  --fg-3: #8a8f99;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.16);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html, body {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--brand-soft); color: var(--brand); }

/* ========== UTILS ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 768px) { .container { padding: 0 24px; } }

.text-success { color: var(--success); }
.text-danger { color: var(--danger); }
.text-muted { color: var(--fg-2); }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* ========== BRAND ========== */
.brand {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; color: var(--fg);
}
.brand__mark {
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--brand-grad);
  border-radius: var(--radius-sm);
  color: #fff; font-weight: 800; font-size: 18px;
  box-shadow: var(--shadow-brand);
}
.brand__mark--sm { width: 26px; height: 26px; font-size: 15px; }
.brand__name { font-size: 18px; letter-spacing: -0.01em; }
.brand__name-accent { color: var(--brand); }

/* ========== TOPBAR (público) ========== */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(7, 8, 12, 0.85);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
[data-theme="light"] .topbar { background: rgba(255, 255, 255, 0.85); }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
}
.topbar__nav { display: flex; align-items: center; gap: 8px; }

/* ========== BUTTONS ========== */
.btn {
  --btn-bg: var(--bg-3);
  --btn-fg: var(--fg);
  --btn-border: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 18px;
  font-size: 14px; font-weight: 600;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid var(--btn-border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover:not(:disabled):not(.is-disabled) { transform: translateY(-1px); }
.btn:active:not(:disabled):not(.is-disabled) { transform: translateY(0); }
.btn:disabled, .btn.is-disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

.btn--primary {
  --btn-bg: var(--brand-grad);
  --btn-fg: #fff;
  box-shadow: var(--shadow-brand);
}
.btn--primary:hover:not(:disabled):not(.is-disabled) {
  box-shadow: 0 8px 30px rgba(255, 106, 0, 0.5);
}
.btn--outline { --btn-bg: transparent; --btn-border: var(--border-strong); }
.btn--outline:hover:not(:disabled) { --btn-bg: var(--bg-2); }
.btn--ghost { --btn-bg: transparent; }
.btn--ghost:hover:not(:disabled) { --btn-bg: var(--bg-2); }
.btn--danger { --btn-bg: var(--danger); --btn-fg: #fff; }
.btn--whatsapp { --btn-bg: #25d366; --btn-fg: #fff; }
.btn--sm { padding: 6px 12px; font-size: 13px; }
.btn--lg { padding: 14px 22px; font-size: 15px; }
.btn--xl { padding: 16px 28px; font-size: 16px; }
.btn--full, .btn--block { width: 100%; }

.icon-btn {
  width: 38px; height: 38px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  background: transparent;
  color: var(--fg);
  font-size: 20px;
  transition: background var(--duration) var(--ease);
}
.icon-btn:hover { background: var(--bg-2); }

/* ========== FORMS ========== */
.form-group { margin-bottom: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }
.form-label {
  display: block; margin-bottom: 6px;
  font-size: 13px; font-weight: 600; color: var(--fg-2);
}
.required { color: var(--danger); }
.form-control {
  display: block; width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  background: var(--bg-input);
  color: var(--fg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.form-control:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
textarea.form-control { resize: vertical; min-height: 80px; font-family: inherit; }

.input-icon-wrap { position: relative; }
.input-icon-wrap .form-control { padding-left: 40px; }
.input-icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--fg-3); }
.input-toggle-pass {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; padding: 4px; color: var(--fg-3);
}

.form-check { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; padding: 6px 0; }
.form-check input { width: 16px; height: 16px; accent-color: var(--brand); }

/* ========== ALERTS ========== */
.alert {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px;
  border-radius: var(--radius);
  font-size: 14px; font-weight: 500;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.alert--success { background: rgba(34, 197, 94, 0.1); color: var(--success); border-color: rgba(34, 197, 94, 0.3); }
.alert--danger { background: rgba(239, 68, 68, 0.1); color: var(--danger); border-color: rgba(239, 68, 68, 0.3); }
.alert--warning { background: rgba(245, 158, 11, 0.1); color: var(--warning); border-color: rgba(245, 158, 11, 0.3); }
.alert--info { background: rgba(59, 130, 246, 0.1); color: var(--info); border-color: rgba(59, 130, 246, 0.3); }

/* ========== BADGES ========== */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: var(--radius-full);
  background: var(--bg-3);
  color: var(--fg);
}
.badge--promo { background: var(--danger); color: #fff; }
.badge--featured { background: var(--brand-grad); color: #fff; }
.badge--bestseller { background: rgba(245, 158, 11, 0.18); color: var(--warning); }

/* ========== HOME (público) ========== */
.hero {
  padding: 64px 0 48px;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, var(--brand-soft), transparent);
}
.hero__inner { display: grid; gap: 32px; }
.hero__title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hero__title span { color: var(--brand); }
.hero__subtitle { font-size: 16px; color: var(--fg-2); margin-top: 12px; max-width: 520px; }
.hero__search { margin-top: 20px; max-width: 600px; }

.search-bar {
  display: flex; align-items: center; gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 18px;
  transition: border-color var(--duration) var(--ease);
}
.search-bar:focus-within { border-color: var(--brand); }
.search-bar__icon { color: var(--fg-3); font-size: 18px; flex-shrink: 0; }
.search-bar__input {
  flex: 1; min-width: 0;
  border: 0; background: transparent;
  padding: 12px 6px;
  font-size: 15px; color: var(--fg);
}
.search-bar__input::placeholder { color: var(--fg-3); }
.search-bar__btn {
  padding: 10px 22px;
  font-size: 14px;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}

.section { padding: 32px 0; }
.section__title {
  display: flex; align-items: center; gap: 10px;
  font-size: 22px; font-weight: 800;
  margin-bottom: 20px;
}
.section__count {
  font-size: 13px; font-weight: 600;
  padding: 2px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-3);
  color: var(--fg-2);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.store-card {
  display: flex; flex-direction: column;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease), border-color var(--duration) var(--ease);
  text-decoration: none;
  color: inherit;
}
.store-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.store-card__banner {
  position: relative;
  aspect-ratio: 16/7;
  background: var(--bg-2);
  overflow: hidden;
}
.store-card__banner img { width: 100%; height: 100%; object-fit: cover; }
.store-card__banner-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: var(--brand-grad);
  color: #fff; font-size: 48px;
}
.store-card__closed {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: rgba(0, 0, 0, 0.7);
  color: #fff; font-size: 12px; font-weight: 700;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.store-card__body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.store-card__header { display: flex; gap: 12px; align-items: center; }
.store-card__logo, .store-card__logo-placeholder {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: cover;
}
.store-card__logo-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-grad);
  color: #fff; font-weight: 800; font-size: 20px;
}
.store-card__info { flex: 1; min-width: 0; }
.store-card__name { font-size: 15px; font-weight: 700; }
.store-card__category { font-size: 12px; color: var(--fg-2); }
.store-card__description {
  font-size: 13px; color: var(--fg-2);
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.meta-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--bg-2);
  border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
  color: var(--fg-2);
}
.meta-badge--star { color: var(--warning); background: rgba(245, 158, 11, 0.1); }

/* ========== EMPTY STATE ========== */
.empty-state {
  text-align: center; padding: 64px 16px;
}
.empty-state__icon {
  font-size: 56px; color: var(--fg-3); margin-bottom: 12px;
}
.empty-state__title { font-size: 20px; font-weight: 800; margin-bottom: 6px; }
.empty-state__text { color: var(--fg-2); margin-bottom: 18px; font-size: 14px; }
.empty-state--sm { padding: 24px 16px; }

/* ========== STORE PAGE (cardápio) ========== */
/* ============================================
   BANNER DA LOJA — premium mesh gradient
============================================ */
.store-banner {
  position: relative;
  aspect-ratio: 16/5;
  max-height: 240px;
  overflow: hidden;
  background: var(--bg-2);
}
.store-banner--no-image {
  aspect-ratio: auto;
  height: 180px;
  max-height: 180px;
}

/* Banner PADRÃO MunchGo — sempre exibido (não há banner customizado por loja).
   Gradiente laranja com textura sutil pra branding consistente. */
.store-banner--default {
  aspect-ratio: auto;
  height: 160px;
  max-height: 160px;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 140, 50, 0.45) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 70, 0, 0.55) 0%, transparent 55%),
    linear-gradient(135deg, #ff6a00 0%, #ff8533 50%, #ff4400 100%);
}
.store-banner--default::before {
  /* Padrão sutil de pontos pra textura */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1.5px, transparent 1.5px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}
@media (max-width: 640px) {
  .store-banner--default {
    height: 130px;
    max-height: 130px;
  }
}

.store-banner__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Levemente escurecida pra contraste do conteúdo abaixo */
  filter: brightness(0.92) saturate(1.05);
}

/* Vinheta + transição suave pro fundo */
.store-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0%, transparent 60%, rgba(7, 8, 12, 0.5) 100%),
    radial-gradient(ellipse at 50% 100%, transparent 40%, rgba(7, 8, 12, 0.35) 100%);
  pointer-events: none;
}
[data-theme="light"] .store-banner::after {
  background:
    linear-gradient(180deg, transparent 0%, transparent 70%, rgba(255, 255, 255, 0.4) 100%);
}

/* Placeholder mesh gradient: 3 camadas de gradiente pra criar profundidade */
.store-banner__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 158, 70, 0.45), transparent 60%),
    radial-gradient(ellipse 70% 80% at 80% 70%, rgba(196, 50, 0, 0.55), transparent 60%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(255, 106, 0, 0.4), transparent 70%),
    linear-gradient(135deg, #1a0d04 0%, #c44d00 60%, #ff6a00 100%);
  background-blend-mode: screen, screen, normal, normal;
}
[data-theme="light"] .store-banner__placeholder {
  background:
    radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255, 158, 70, 0.55), transparent 60%),
    radial-gradient(ellipse 70% 80% at 80% 70%, rgba(255, 106, 0, 0.5), transparent 60%),
    linear-gradient(135deg, #ffd9b8 0%, #ff9d4a 60%, #ff6a00 100%);
}

/* Grid sutil sobre o gradient */
.store-banner__placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, black, transparent 80%);
}

/* Glow blob girando lentamente (decoração premium) */
.store-banner__placeholder::after {
  content: '';
  position: absolute;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255, 200, 130, 0.4), transparent 60%);
  filter: blur(40px);
  top: -20%;
  left: -10%;
  animation: bannerGlow 12s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bannerGlow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40%, 20%) scale(1.2); }
  66% { transform: translate(20%, -20%) scale(0.9); }
}

.store-banner__placeholder i {
  position: relative;
  z-index: 1;
  font-size: 72px;
  color: rgba(255, 255, 255, 0.85);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

/* ============================================
   PROFILE — dados da loja (nome, status, meta)
============================================ */
.store-profile {
  position: relative;
  margin-top: -52px;
  padding-bottom: 20px;
  z-index: 2;
}
.store-profile__inner {
  display: flex;
  gap: 18px;
  align-items: flex-end;
}
@media (max-width: 640px) {
  .store-profile {
    margin-top: -40px;
    padding-bottom: 12px;
  }
  .store-profile__inner {
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }
}

.store-profile__logo,
.store-profile__logo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 18px;
  border: 4px solid var(--bg);
  background: var(--bg-2);
  flex-shrink: 0;
  object-fit: cover;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.05);
  transition: transform 0.2s ease;
}
.store-profile__logo:hover {
  transform: translateY(-2px);
}
.store-profile__logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  color: #fff;
  font-weight: 800;
  font-size: 40px;
  letter-spacing: -0.02em;
}

.store-profile__info {
  flex: 1;
  padding-bottom: 6px;
  min-width: 0;
}
@media (max-width: 640px) {
  .store-profile__info { padding-bottom: 0; width: 100%; }
}

.store-profile__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-bottom: 8px;
}
.store-profile__name {
  font-size: clamp(22px, 4.5vw, 30px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}

/* Status pill (Aberto/Fechado/Pausado) */
.store-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.store-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.store-status--open {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}
.store-status--open .store-status__dot {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: statusPulse 1.8s infinite;
}
@keyframes statusPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}
.store-status--closed { background: rgba(239, 68, 68, 0.12); color: var(--danger); }
.store-status--closed .store-status__dot { background: var(--danger); }

.store-profile__description {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 12px;
  max-width: 640px;
}

/* Meta items (avaliação, tempo entrega, frete, etc) */
.store-profile__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.store-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  transition: all 0.15s;
}
.store-meta-item > i {
  font-size: 14px;
  color: var(--fg-3);
}
.store-meta-item__icon--star { color: var(--warning) !important; }
.store-meta-item--clickable {
  cursor: pointer;
  background: var(--bg-1);
  border: 1px solid var(--border);
  font-family: inherit;
}
.store-meta-item--clickable:hover {
  border-color: var(--brand);
  background: rgba(255, 106, 0, 0.06);
  color: var(--fg);
}
.store-meta-item--clickable:hover > i:first-child { color: var(--brand); }
.store-meta-item strong { color: var(--fg); font-weight: 700; }

/* Categorias horizontal */
.categories-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 30;
  background: rgba(7, 8, 12, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
[data-theme="light"] .categories-nav { background: rgba(255, 255, 255, 0.92); }
.categories-nav__scroll {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  padding: 4px 0;
}
.categories-nav__scroll::-webkit-scrollbar { display: none; }
.category-pill {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 13px; font-weight: 600;
  color: var(--fg-2);
  background: var(--bg-2);
  white-space: nowrap;
  border: 1px solid transparent;
  transition: all var(--duration) var(--ease);
  cursor: pointer;
  text-decoration: none;
}
.category-pill:hover {
  color: var(--fg);
  background: var(--bg-3);
}
.category-pill.is-active {
  color: white;
  background: var(--brand);
  border-color: var(--brand);
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}
.category-pill.is-active:hover {
  background: var(--brand);
  color: white;
}

/* Layout cardápio + sidebar */
.store-layout { padding: 24px 0 120px; }
@media (max-width: 991px) {
  .store-layout { padding-bottom: 110px; } /* cart-float ~76px + 16px de baixo + folga */
}
.store-layout__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 992px) {
  .store-layout__inner { grid-template-columns: 1fr 360px; }
}

.menu-section {
  margin-bottom: 40px;
  scroll-margin-top: calc(var(--header-h) + 80px);
}
.menu-section__title {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  color: var(--fg);
  display: flex;
  align-items: center;
  gap: 10px;
}
.menu-section__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background: linear-gradient(180deg, #ff6a00, #c44d00);
  border-radius: 4px;
}

.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

.product-card {
  display: grid;
  grid-template-columns: 1fr 116px;
  gap: 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, transparent 50%, rgba(255, 106, 0, 0.04));
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.product-card:hover {
  border-color: rgba(255, 106, 0, 0.3);
  transform: translateY(-2px);
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(255, 106, 0, 0.08);
}
.product-card:hover::before { opacity: 1; }
.product-card:active { transform: translateY(0); }
.product-card--unavailable { opacity: 0.55; cursor: not-allowed; }
.product-card--unavailable:hover { transform: none; box-shadow: none; }

.product-card__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; position: relative; z-index: 1; }
.product-card__name {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1.3;
}
.product-card__description {
  font-size: 13px;
  color: var(--fg-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.45;
}
.product-card__serves {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.product-card__footer {
  margin-top: auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
}
.product-card__price { display: flex; flex-direction: column; line-height: 1.1; }
.price-original {
  font-size: 12px; color: var(--fg-3); text-decoration: line-through;
}
.price-promo, .price-main {
  font-size: 17px; font-weight: 800; color: var(--brand);
}
.btn-add-product {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff6a00, #ff8530);
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  box-shadow:
    0 4px 12px rgba(255, 106, 0, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  transition: all 0.15s ease;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.btn-add-product:hover {
  transform: translateY(-1px) scale(1.05);
  box-shadow:
    0 6px 16px rgba(255, 106, 0, 0.5),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}
.btn-add-product:active { transform: scale(0.98); }

.product-card__img-wrap {
  position: relative;
  width: 116px;
  height: 116px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.product-card__img { width: 100%; height: 100%; object-fit: cover; }
.product-card__img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: inherit;
  font-weight: 800;
  font-size: 38px;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.03em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.25), transparent 60%),
    linear-gradient(135deg, #ff6a00 0%, #c44d00 100%);
}
/* Variantes determinísticas baseadas em data-color (o EJS define 1 de 6) */
.product-card__img-placeholder[data-color="1"] {
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #ff6a00 0%, #c44d00 100%);
}
.product-card__img-placeholder[data-color="2"] {
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #f43f5e 0%, #be123c 100%);
}
.product-card__img-placeholder[data-color="3"] {
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
}
.product-card__img-placeholder[data-color="4"] {
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #06b6d4 0%, #0e7490 100%);
}
.product-card__img-placeholder[data-color="5"] {
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #10b981 0%, #047857 100%);
}
.product-card__img-placeholder[data-color="6"] {
  background:
    radial-gradient(ellipse 80% 80% at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%),
    linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}
/* Padrão decorativo sutil */
.product-card__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.12), transparent 30%);
  pointer-events: none;
}
/* Texto centralizado */
.product-card__img-placeholder span {
  position: relative;
  z-index: 1;
  display: block;
}
.product-card__badges {
  position: absolute; top: 6px; left: 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.product-card__unavailable-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff; font-weight: 700; font-size: 12px;
}

/* ========== CART SIDEBAR (desktop) ========== */
.cart-sidebar {
  display: none;
}
@media (min-width: 992px) {
  .cart-sidebar {
    display: flex; flex-direction: column;
    position: sticky;
    top: calc(var(--header-h) + 60px);
    align-self: flex-start;
    max-height: calc(100vh - var(--header-h) - 80px);
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
}
.cart-sidebar__header { padding: 16px; border-bottom: 1px solid var(--border); }
.cart-sidebar__title { font-size: 16px; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.cart-sidebar__body { flex: 1; overflow-y: auto; padding: 12px; }
.cart-sidebar__footer { padding: 16px; border-top: 1px solid var(--border); background: var(--bg-2); }

.cart-empty { text-align: center; padding: 32px 16px; color: var(--fg-2); }
.cart-empty__icon { font-size: 40px; color: var(--fg-3); margin-bottom: 8px; }
.cart-empty p { font-size: 13px; }

.cart-items { display: flex; flex-direction: column; gap: 10px; }

.cart-item {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 10px;
  padding: 10px;
  background: var(--bg-2);
  border-radius: var(--radius);
  align-items: center;
}
.cart-item__img, .cart-item__img-placeholder {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--bg-3);
}
.cart-item__img-placeholder {
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; color: var(--fg-3);
}
.cart-item__info { min-width: 0; }
.cart-item__name { font-size: 13px; font-weight: 600; line-height: 1.2; }
.cart-item__notes { font-size: 11px; color: var(--fg-2); margin-top: 2px; line-height: 1.3; }
.cart-item__price { font-size: 13px; font-weight: 700; color: var(--brand); margin-top: 4px; }
.cart-item__controls {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-3);
  border-radius: var(--radius-full);
  padding: 2px;
}
.cart-qty-btn {
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 12px; color: var(--fg);
  transition: background var(--duration) var(--ease);
}
.cart-qty-btn:hover { background: var(--bg-1); }
.cart-qty-value { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; }

.cart-summary { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.cart-summary__row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--fg-2);
}
.cart-summary__row--total {
  font-size: 16px; color: var(--fg);
  font-weight: 800;
  margin-top: 4px; padding-top: 8px;
  border-top: 1px solid var(--border);
}
.cart-summary__row--total span:last-child { color: var(--brand); }
.cart-min-order {
  text-align: center;
  font-size: 12px; color: var(--warning);
  margin-bottom: 8px;
}

/* ========== CART FLOAT (mobile) ========== */
.cart-float {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  z-index: 40;
  pointer-events: none;
}
@media (min-width: 992px) { .cart-float { display: none !important; } }
.cart-float__btn {
  pointer-events: all;
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, #ff6a00, #ff8530);
  color: #fff;
  border-radius: 14px;
  box-shadow:
    0 12px 30px rgba(255, 106, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.18),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  font-size: 15px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.cart-float__btn:hover { transform: translateY(-1px); }
.cart-float__btn:active { transform: translateY(0) scale(0.99); }
.cart-float__left { display: flex; align-items: center; gap: 12px; }
.cart-float__count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 8px;
  background: rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
}

/* ========== MODAL ========== */
.modal-overlay {
  position: fixed; inset: 0;
  z-index: 100;
  display: none;
  align-items: flex-end; justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  animation: fadeIn 200ms ease;
}
.modal-overlay.is-open { display: flex; }
@media (min-width: 768px) {
  .modal-overlay { align-items: center; }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-close {
  position: absolute; top: 12px; right: 12px;
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  border-radius: 50%;
  color: var(--fg);
  font-size: 18px;
  z-index: 5;
}

/* Product modal */
.product-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  background: var(--bg-1);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: hidden;
  display: flex; flex-direction: column;
  animation: slideUp 250ms var(--ease);
}
@media (min-width: 768px) {
  .product-modal { border-radius: var(--radius-lg); }
}
@keyframes slideUp { from { transform: translateY(40px); } to { transform: translateY(0); } }

.product-modal__img-wrap {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--bg-2);
  flex-shrink: 0;
}
.product-modal__img { width: 100%; height: 100%; object-fit: cover; }
.product-modal__img-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: var(--fg-3); font-size: 64px;
}

.product-modal__body {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}
.product-modal__name { font-size: 22px; font-weight: 800; margin-bottom: 4px; line-height: 1.2; }
.product-modal__description { color: var(--fg-2); font-size: 14px; margin-bottom: 12px; }
.product-modal__price { font-size: 20px; font-weight: 800; color: var(--brand); margin-bottom: 16px; }

.extra-group {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--duration) var(--ease);
}
.extra-group--invalid { border-color: var(--danger); animation: shake 250ms ease; }
@keyframes shake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

.extra-group__header {
  padding: 10px 14px;
  background: var(--bg-2);
  display: flex; justify-content: space-between; align-items: center;
}
.extra-group__title { font-size: 14px; font-weight: 700; }
.extra-group__hint { font-size: 11px; color: var(--fg-2); }
.extra-group__required { display: inline-block; font-size: 10px; padding: 2px 8px; background: var(--brand-soft); color: var(--brand); border-radius: var(--radius-full); margin-left: 6px; font-weight: 700; }

.extra-option {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.extra-option:hover { background: var(--bg-2); }
.extra-option input { width: 18px; height: 18px; accent-color: var(--brand); flex-shrink: 0; }
.extra-option__name { flex: 1; font-size: 14px; }
.extra-option__price { font-size: 13px; font-weight: 700; color: var(--brand); }

.product-modal__notes { margin-bottom: 14px; }
.product-modal__qty {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-2);
  padding: 4px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}
.qty-btn {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 16px; color: var(--fg);
  transition: background var(--duration) var(--ease);
}
.qty-btn:hover:not(:disabled) { background: var(--bg-3); }
.qty-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.qty-value { min-width: 36px; text-align: center; font-weight: 800; font-size: 16px; }

/* Cart modal mobile */
.cart-modal {
  width: 100%; max-width: 520px;
  max-height: 85vh;
  background: var(--bg-1);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: flex; flex-direction: column;
  animation: slideUp 250ms var(--ease);
}
.cart-modal__header {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.cart-modal__header h2 { font-size: 18px; font-weight: 800; }
.cart-modal__body { flex: 1; overflow-y: auto; padding: 12px; }
.cart-modal__footer { padding: 16px; border-top: 1px solid var(--border); background: var(--bg-2); }

/* ========== CHECKOUT ========== */
.checkout-page { padding: 24px 0 80px; }
.back-link {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 14px; color: var(--fg-2);
  margin-bottom: 12px;
  font-weight: 600;
}
.back-link:hover { color: var(--brand); }
.page-title { font-size: 24px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.01em; }

.checkout-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 992px) {
  .checkout-layout { grid-template-columns: 1fr 380px; }
}

.checkout-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
}
.checkout-card__title {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700;
  margin-bottom: 14px;
}
.checkout-card--sticky {
  position: sticky;
  top: calc(var(--header-h) + 16px);
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
  align-items: stretch; /* todos os cards têm a mesma altura na linha */
}
@media (max-width: 480px) {
  .payment-options {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
}
.payment-option {
  cursor: pointer;
  display: flex; /* faz o label esticar pra altura do grid */
}
.payment-option input { position: absolute; opacity: 0; pointer-events: none; }
.payment-option__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  padding: 14px 8px;
  /* Altura fixa pra TODOS os cards ficarem iguais, com ou sem <small> */
  min-height: 108px;
  height: 100%;
  width: 100%;
  background: var(--bg-2);
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  transition: all var(--duration) var(--ease);
  box-sizing: border-box;
}
.payment-option__card > span {
  /* O nome do método */
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.2;
}
.payment-option__card > small {
  /* Descrição secundária (Maquininha, Chave aparece..., etc) */
  display: block;
  font-size: 11px !important;
  color: var(--fg-3) !important;
  font-weight: 500;
  margin-top: 2px !important;
  line-height: 1.3;
}
.payment-option:hover .payment-option__card {
  border-color: var(--bg-3);
  background: var(--bg-3);
}
.payment-option__icon {
  font-size: 24px;
  color: var(--fg-2);
  flex-shrink: 0;
}
.payment-option input:checked + .payment-option__card {
  border-color: var(--brand);
  background: var(--brand-soft);
}
.payment-option input:checked + .payment-option__card .payment-option__icon { color: var(--brand); }

/* Seções de pagamento */
.payment-section {
  margin-bottom: 14px;
}
.payment-section:last-child { margin-bottom: 0; }
.payment-section__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.payment-section__head > i {
  font-size: 16px;
  color: var(--brand);
}
.payment-section__soon-badge {
  font-size: 9px;
  background: rgba(148,163,184,0.2);
  color: #94a3b8;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: auto;
}
.payment-section__online-badge {
  font-size: 9px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  color: white;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-left: auto;
  box-shadow: 0 2px 6px rgba(255, 106, 0, 0.25);
}
.payment-option--featured .payment-option__card {
  border: 1.5px solid rgba(255, 106, 0, 0.5);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.05), rgba(255, 106, 0, 0.02));
}
.payment-option--featured input:checked + .payment-option__card {
  border-color: var(--brand);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.1), rgba(255, 106, 0, 0.05));
}
.payment-section--soon { opacity: 0.7; }

.payment-soon-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}
.payment-soon-card > i {
  width: 40px; height: 40px;
  background: var(--bg-3);
  color: var(--fg-3);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.payment-soon-card strong {
  display: block;
  font-size: 13px;
  color: var(--fg);
  margin-bottom: 2px;
  font-weight: 600;
}
.payment-soon-card small {
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.4;
}

.coupon-input { display: flex; gap: 8px; }
.coupon-input .form-control { flex: 1; text-transform: uppercase; }
.coupon-message { padding: 8px 12px; border-radius: var(--radius); font-size: 13px; margin-top: 8px; }
.coupon-message--success { background: rgba(34, 197, 94, 0.12); color: var(--success); }
.coupon-message--error { background: rgba(239, 68, 68, 0.12); color: var(--danger); }

.checkout-restaurant {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 14px;
}
.checkout-restaurant__logo { width: 36px; height: 36px; border-radius: var(--radius-sm); object-fit: cover; }
.checkout-restaurant__name { font-weight: 700; }

.checkout-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.checkout-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  font-size: 13px;
  padding: 6px 0;
  align-items: baseline;
}
.checkout-item__qty { font-weight: 700; color: var(--brand); }
.checkout-item__name { color: var(--fg-2); }
.checkout-item__price { font-weight: 700; }

.checkout-totals {
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.checkout-total-row {
  display: flex; justify-content: space-between;
  font-size: 13px; color: var(--fg-2);
  padding: 4px 0;
}
.checkout-total-row--total {
  font-size: 16px; color: var(--fg); font-weight: 800;
  padding-top: 8px; margin-top: 4px;
  border-top: 1px solid var(--border);
}
.checkout-total-row--total span:last-child { color: var(--brand); }

/* ========== ORDER SUCCESS ========== */
.success-page { padding: 32px 0 100px; }
.success-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Glow celebratório no topo */
.success-card::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(255, 106, 0, 0.18), transparent 70%);
  filter: blur(40px);
  pointer-events: none;
}
.success-card > * { position: relative; z-index: 1; }

.success-icon {
  width: 84px;
  height: 84px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.18), rgba(255, 106, 0, 0.06));
  border-radius: 50%;
  color: var(--brand);
  font-size: 44px;
  position: relative;
  animation: successPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.success-icon::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 106, 0, 0.2);
  animation: successRing 2s ease-out infinite;
}
@keyframes successPop {
  0% { transform: scale(0.5); opacity: 0; }
  60% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); }
}
@keyframes successRing {
  0% { transform: scale(0.95); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.success-title {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  color: var(--fg);
}
.success-subtitle {
  color: var(--fg-2);
  margin-bottom: 22px;
  font-size: 14px;
  line-height: 1.5;
}
.order-number {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
}

/* Stepper com flexbox pra quebrar em 2 linhas no mobile */
.order-progress {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 4px;
  margin: 28px 0;
  padding: 22px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  position: relative;
}
.order-step {
  flex: 1 1 80px;
  min-width: 80px;
  text-align: center;
  position: relative;
  padding-top: 36px;
  font-size: 11px;
  color: var(--fg-3);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.3;
}
.order-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-3);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
.order-step.is-active {
  color: var(--brand);
  font-weight: 700;
}
.order-step.is-active::before {
  background: var(--brand);
  box-shadow:
    0 0 0 4px rgba(255, 106, 0, 0.15),
    0 4px 12px rgba(255, 106, 0, 0.4);
  animation: stepPulse 1.6s infinite;
}
@keyframes stepPulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15), 0 4px 12px rgba(255, 106, 0, 0.4); }
  50% { box-shadow: 0 0 0 10px rgba(255, 106, 0, 0), 0 4px 12px rgba(255, 106, 0, 0.4); }
}
.order-step.is-done {
  color: var(--success);
  font-weight: 700;
}
.order-step.is-done::before {
  background: var(--success);
  content: '\2713';
  color: white;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* ========== AUTH ========== */
.page-auth {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  background: radial-gradient(ellipse 60% 40% at 50% 0%, var(--brand-soft), transparent),
              var(--bg);
}
.auth-card {
  width: 100%; max-width: 420px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-lg);
}
.auth-card__header { text-align: center; margin-bottom: 24px; }
.auth-brand { display: inline-flex; margin-bottom: 16px; }
.auth-title { font-size: 22px; font-weight: 800; }
.auth-subtitle { color: var(--fg-2); margin-top: 4px; font-size: 14px; }
.auth-footer { margin-top: 18px; text-align: center; }
.auth-footer a {
  color: var(--fg-2); font-size: 13px;
  display: inline-flex; align-items: center; gap: 4px;
}
.auth-footer a:hover { color: var(--brand); }

/* ========== TOAST ========== */
.toast {
  position: fixed; bottom: 90px; left: 50%; transform: translateX(-50%);
  background: var(--bg-1);
  color: var(--fg);
  padding: 12px 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  border-left: 3px solid var(--info);
  box-shadow: var(--shadow-lg);
  font-size: 14px; font-weight: 600;
  z-index: 9999;
  animation: toastIn 200ms var(--ease);
}
.toast--success { border-left-color: var(--success); }
.toast--error { border-left-color: var(--danger); }
.toast--warning { border-left-color: var(--warning); }
@keyframes toastIn {
  from { opacity: 0; transform: translate(-50%, 16px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* ========== FOOTER ========== */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0 24px;
  background: var(--bg-1);
  margin-top: 40px;
}
.footer__inner {
  display: flex; flex-direction: column; gap: 16px;
  font-size: 13px; color: var(--fg-2);
}
.footer__top {
  display: flex; flex-direction: column; gap: 4px;
  align-items: center; text-align: center;
}
.footer__brand { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.footer__tagline { font-size: 12px; color: var(--fg-3); }
.footer__links {
  display: flex; gap: 16px; flex-wrap: wrap; justify-content: center;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.footer__links a {
  color: var(--fg-2); text-decoration: none; font-size: 13px;
  transition: color var(--duration) var(--ease);
}
.footer__links a:hover { color: var(--brand); }

/* Banner de cookies */
.cookie-banner {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: var(--bg-1); border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 12px 16px;
  max-width: 540px; width: calc(100% - 32px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.32);
  z-index: 999;
  font-size: 13px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__content {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner__content > span { flex: 1; min-width: 200px; color: var(--fg-2); }
.cookie-banner__content a { color: var(--brand); }
.cookie-banner__content button { flex-shrink: 0; }

/* Páginas legais */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 24px;
  color: var(--fg);
}
.legal-page h1 { font-size: 32px; margin-bottom: 8px; font-weight: 800; }
.legal-page .legal-page__updated { color: var(--fg-3); font-size: 13px; margin-bottom: 32px; }
.legal-page h2 { font-size: 20px; margin: 32px 0 12px; color: var(--brand); }
.legal-page h3 { font-size: 16px; margin: 20px 0 8px; }
.legal-page p { color: var(--fg-2); line-height: 1.7; margin-bottom: 12px; }
.legal-page ul { color: var(--fg-2); line-height: 1.7; margin-bottom: 12px; padding-left: 20px; }
.legal-page li { margin-bottom: 6px; }
.legal-page strong { color: var(--fg); }

/* ========== ERRORS ========== */
.error-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 24px 16px;
  text-align: center;
}
.error-page__code {
  font-size: clamp(80px, 20vw, 140px);
  font-weight: 900;
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}
.error-page__title { font-size: 24px; font-weight: 800; margin-top: 8px; }
.error-page__text { color: var(--fg-2); margin: 12px 0 24px; }

/* ========== BODY MODIFIERS ========== */
body.is-modal-open { overflow: hidden; }

/* ============================================
   HOME v3.1 — institucional
============================================ */
.hero__content { max-width: 920px; margin: 0 auto; padding: 80px 0 40px; }
.hero__title { font-size: clamp(34px, 5vw, 52px); font-weight: 800; line-height: 1.1; }
.hero__title-accent {
  background: linear-gradient(120deg, var(--brand) 0%, #ff9d4a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__subtitle {
  font-size: 17px; color: var(--fg-2);
  margin-top: 16px; max-width: 580px;
}
.hero-search {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 32px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 8px 8px 8px 20px;
  align-items: center;
  max-width: 800px;
}
.hero-search:focus-within { border-color: var(--brand); }
.hero-search__icon { color: var(--fg-3); font-size: 20px; flex-shrink: 0; }
.hero-search__input {
  flex: 1; min-width: 200px;
  border: 0; background: transparent;
  padding: 12px 4px; font-size: 15px; color: var(--fg);
}
.hero-search__filter {
  border: 1px solid var(--border);
  background: var(--bg-2);
  color: var(--fg);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 14px;
  cursor: pointer;
}
.hero-search__filter:focus { outline: 0; border-color: var(--brand); }

/* Como funciona */
.how-it-works {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.how-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  position: relative;
  transition: transform var(--duration) var(--ease), border-color var(--duration);
}
.how-card:hover { transform: translateY(-4px); border-color: var(--brand); }
.how-card__number {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px;
  background: var(--brand-grad); color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 16px;
}
.how-card__icon {
  font-size: 38px;
  color: var(--brand);
  margin: 12px 0;
}
.how-card h3 { font-size: 17px; margin-bottom: 6px; }
.how-card p { color: var(--fg-2); font-size: 14px; }

/* Planos */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}
.plan-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
  transition: all var(--duration) var(--ease);
}
.plan-card:hover { transform: translateY(-4px); }
.plan-card--featured {
  border: 2px solid var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
  transform: scale(1.02);
}
.plan-card__badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--brand-grad); color: #fff;
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 700;
}
.plan-card__header { padding-bottom: 20px; border-bottom: 1px solid var(--border); margin-bottom: 20px; }
.plan-card__name { font-size: 18px; font-weight: 700; color: var(--brand); margin-bottom: 8px; }
.plan-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.plan-card__amount { font-size: 32px; font-weight: 800; color: var(--fg); }
.plan-card__period { color: var(--fg-2); font-size: 14px; }
.plan-card__limit { color: var(--fg-2); font-size: 13px; }
.plan-card__features {
  list-style: none; padding: 0; margin: 0 0 24px;
  flex: 1;
}
.plan-card__features li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0;
  font-size: 14px;
  color: var(--fg);
}
.plan-card__features li i { color: var(--success); font-size: 18px; flex-shrink: 0; }

/* Benefícios */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}
.benefit-card {
  text-align: center;
  padding: 20px;
}
.benefit-card__icon {
  font-size: 40px;
  color: var(--brand);
  margin-bottom: 12px;
}
.benefit-card h3 { font-size: 16px; margin-bottom: 8px; }
.benefit-card p { color: var(--fg-2); font-size: 14px; }

/* Cards de loja na home */
.store-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.store-card {
  display: block;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration) var(--ease), border-color var(--duration);
}
.store-card:hover { transform: translateY(-3px); border-color: var(--brand); }
.store-card--closed { opacity: 0.7; }
.store-card__banner {
  height: 110px;
  background-size: cover; background-position: center;
  position: relative;
}
.store-card__closed-badge {
  position: absolute; top: 10px; right: 10px;
  background: rgba(0,0,0,0.7); color: #fff;
  padding: 4px 10px; border-radius: var(--radius-full);
  font-size: 12px; font-weight: 600;
}
.store-card__body { padding: 16px; }
.store-card__header { display: flex; gap: 12px; margin-bottom: 10px; align-items: center; }
.store-card__logo, .store-card__logo-placeholder {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  flex-shrink: 0;
  object-fit: cover;
}
.store-card__logo-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px; font-weight: 700;
}
.store-card__name { font-size: 16px; font-weight: 700; margin-bottom: 2px; }
.store-card__category { color: var(--fg-2); font-size: 13px; }
.store-card__description {
  color: var(--fg-2); font-size: 13px;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.store-card__meta { display: flex; gap: 6px; flex-wrap: wrap; }
.store-card__meta .badge { font-size: 11px; }

/* Empty state grande */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--fg-2);
}
.empty-state__icon { font-size: 48px; color: var(--fg-3); margin-bottom: 12px; }
.empty-state p { font-size: 15px; margin-bottom: 16px; }

@media (max-width: 640px) {
  .hero__content { padding: 40px 0 20px; }
  .hero-search { padding: 6px 6px 6px 16px; }
  .hero-search__filter { width: 100%; }
  .plan-card--featured { transform: none; }
}

/* ========== SIGNUP PAGE ========== */
.signup-page { padding: 40px 16px 80px; }
.signup-container {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.signup-header { text-align: center; margin-bottom: 28px; }
.signup-header h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.signup-header p { color: var(--fg-2); font-size: 14px; }
.signup-form { display: flex; flex-direction: column; gap: 20px; }
.signup-section {
  display: flex; flex-direction: column; gap: 12px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.signup-section:last-of-type { border-bottom: 0; }
.signup-section__title {
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
  color: var(--brand);
  margin-bottom: 8px;
}
.signup-section--terms { gap: 10px; }
.signup-section--terms .form-check {
  display: flex; align-items: flex-start; gap: 10px;
  cursor: pointer; font-size: 14px; color: var(--fg-2);
  line-height: 1.5;
}
.signup-section--terms input[type="checkbox"] {
  margin-top: 3px; flex-shrink: 0;
  width: 16px; height: 16px;
  accent-color: var(--brand);
}

@media (max-width: 600px) {
  .signup-container { padding: 20px; }
}

.form-control--sm {
  padding: 6px 10px;
  font-size: 13px;
  height: 32px;
}

@media (max-width: 480px) {
  .topbar__cta-signup { display: none; }
}

/* ========== SITE FOOTER (v3.2 — profissional) ========== */
.site-footer {
  background: var(--bg-1);
  border-top: 1px solid var(--border);
  margin-top: 60px;
  padding: 48px 0 0;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 32px;
}
@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
  .site-footer__col--brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .site-footer__grid { grid-template-columns: 1fr; }
}
.site-footer__col--brand .brand__mark {
  width: 32px; height: 32px; font-size: 16px;
}
.site-footer__logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 800;
  margin-bottom: 12px;
}
.site-footer__tagline {
  font-size: 13px; color: var(--fg-2);
  line-height: 1.6;
  max-width: 360px;
  margin-bottom: 16px;
}
.site-footer__social {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.site-footer__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg-2);
  font-size: 18px;
  text-decoration: none;
  transition: all var(--duration) var(--ease);
}
.site-footer__social a:hover {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: var(--brand);
  transform: translateY(-2px);
}
.site-footer__heading {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 14px;
}
.site-footer__list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.site-footer__list a {
  color: var(--fg-2);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--duration) var(--ease);
}
.site-footer__list a:hover { color: var(--brand); }
.site-footer__list--contact li {
  display: flex; align-items: flex-start; gap: 8px;
  font-size: 13px; color: var(--fg-2);
  line-height: 1.5;
}
.site-footer__list--contact li i {
  color: var(--brand); flex-shrink: 0;
  font-size: 16px; margin-top: 1px;
}
.site-footer__bottom {
  display: flex; justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  font-size: 13px; color: var(--fg-3);
  flex-wrap: wrap; gap: 8px;
}
.site-footer__credits { display: flex; align-items: center; gap: 4px; }

@media (max-width: 480px) {
  .site-footer { padding-top: 36px; }
  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Payment toggle (lista de pedidos) */
.payment-cell {
  display: flex; flex-direction: column; gap: 4px;
}
.payment-method {
  font-size: 12px; color: var(--fg-2);
}
.payment-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  cursor: pointer;
  font-size: 12px; font-weight: 600;
  transition: all var(--duration) var(--ease);
}
.payment-toggle:hover {
  transform: scale(1.04);
}
.payment-toggle:disabled { opacity: 0.5; cursor: wait; }
.payment-toggle--paid {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
  border-color: rgba(34, 197, 94, 0.4);
}
.payment-toggle--pending {
  background: rgba(245, 158, 11, 0.12);
  color: var(--warning);
  border-color: rgba(245, 158, 11, 0.4);
}
.payment-toggle i { font-size: 14px; }

/* Home v3.2 — section badges + cta group + search section */
.section-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.section-badge--brand {
  background: var(--brand);
  color: #fff;
}
.hero__cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-top: 28px;
}
@media (max-width: 540px) {
  .hero__cta-group { flex-direction: column; }
  .hero__cta-group .btn { width: 100%; }
}
.search-section {
  background: linear-gradient(180deg, transparent, rgba(255,106,0,0.05));
  padding: 60px 0;
  scroll-margin-top: 80px;
}
.search-hint {
  text-align: center;
  padding: 32px 16px;
  color: var(--fg-2);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
}
.search-hint__icon {
  font-size: 36px;
  color: var(--brand);
  margin-bottom: 12px;
  display: inline-block;
  animation: bounce 2s ease infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ============================================
   HOME v3.3 — visual profissional
============================================ */

/* HERO */
.v3-hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 100px;
  background: var(--bg);
}
.v3-hero__bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
}
.v3-hero__blob {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.5;
  animation: blob-drift 20s ease-in-out infinite;
}
.v3-hero__blob--1 {
  background: radial-gradient(circle, var(--brand) 0%, transparent 70%);
  top: -100px; left: -100px;
}
.v3-hero__blob--2 {
  background: radial-gradient(circle, #ff9d4a 0%, transparent 70%);
  bottom: -150px; right: -150px;
  animation-delay: -7s;
}
@keyframes blob-drift {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -30px); }
  66% { transform: translate(-20px, 20px); }
}
.v3-hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 70%);
}
.v3-hero__container {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 960px) {
  .v3-hero__container { grid-template-columns: 1fr; gap: 40px; }
  .v3-hero__visual { max-width: 480px; margin: 0 auto; }
}

.v3-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px;
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(255,106,0,0.25);
  border-radius: 999px;
  font-size: 13px; font-weight: 600;
  margin-bottom: 20px;
}
.v3-hero__eyebrow-dot {
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,106,0,0.2);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,106,0,0.2); }
  50% { box-shadow: 0 0 0 8px rgba(255,106,0,0); }
}
.v3-hero__title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.v3-hero__highlight {
  background: linear-gradient(120deg, var(--brand) 0%, #ff9d4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}
.v3-hero__subtitle {
  font-size: 18px;
  color: var(--fg-2);
  line-height: 1.6;
  max-width: 560px;
  margin-bottom: 32px;
}
.v3-hero__cta-group {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.v3-hero__cta-primary {
  box-shadow: 0 8px 32px rgba(255, 106, 0, 0.4);
}
.v3-hero__trust {
  display: flex; gap: 20px; flex-wrap: wrap;
}
.v3-hero__trust-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: var(--fg-2);
}
.v3-hero__trust-item i {
  color: var(--success); font-size: 16px;
}

/* STATS */
.v3-stats {
  background: var(--bg-1);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.v3-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 720px) {
  .v3-stats__grid { grid-template-columns: repeat(2, 1fr); }
}
.v3-stat {
  text-align: center;
}
.v3-stat__value {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand) 0%, #ff9d4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 6px;
}
.v3-stat__label {
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 500;
}

/* SECTIONS */
.v3-section {
  padding: 80px 0;
}
.v3-section--alt {
  background: var(--bg-1);
}
.v3-section__head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.v3-section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 12px 0 12px;
}
.v3-section__lede {
  color: var(--fg-2);
  font-size: 17px;
  line-height: 1.6;
}

/* STEPS */
.v3-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .v3-steps { grid-template-columns: 1fr; }
}
.v3-step {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all var(--duration) var(--ease);
}
.v3-step:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(0,0,0,0.2);
}
.v3-step--featured {
  background: linear-gradient(135deg, var(--brand-soft) 0%, var(--bg-1) 100%);
  border-color: rgba(255,106,0,0.3);
}
.v3-step__num {
  position: absolute; top: 16px; right: 20px;
  font-size: 38px; font-weight: 800;
  color: var(--bg-3);
  line-height: 1;
}
.v3-step__icon {
  width: 56px; height: 56px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
}
.v3-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.v3-step p {
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
}

/* FEATURES */
.v3-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
  .v3-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .v3-features { grid-template-columns: 1fr; }
}
.v3-feature {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all var(--duration) var(--ease);
}
.v3-feature:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.v3-feature__icon-wrap {
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.v3-feature__icon {
  font-size: 24px;
  color: var(--brand);
}
.v3-feature h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.v3-feature p {
  color: var(--fg-2);
  font-size: 13px;
  line-height: 1.55;
}

/* TRIAL NOTE */
.v3-trial-note {
  display: flex; align-items: center; gap: 14px;
  max-width: 600px;
  margin: 32px auto 0;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(34,197,94,0.1), rgba(255,106,0,0.05));
  border: 1px solid rgba(34,197,94,0.3);
  border-radius: 12px;
}
.v3-trial-note > i {
  font-size: 28px;
  color: var(--success);
  flex-shrink: 0;
}
.v3-trial-note strong { display: block; font-size: 14px; margin-bottom: 2px; }
.v3-trial-note span { font-size: 13px; color: var(--fg-2); }

/* COMPARE */
.v3-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 880px;
  margin: 0 auto;
}
@media (max-width: 720px) {
  .v3-compare { grid-template-columns: 1fr; }
}
.v3-compare__col {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}
.v3-compare__col--us {
  border-color: var(--brand);
  box-shadow: 0 8px 24px rgba(255,106,0,0.15);
  position: relative;
}
.v3-compare__col--us::before {
  content: 'A nossa proposta';
  position: absolute; top: -10px; left: 20px;
  background: var(--brand);
  color: white;
  font-size: 11px; font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.v3-compare__head {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px; font-weight: 700;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.v3-compare__head .brand__mark {
  width: 32px; height: 32px;
  font-size: 14px;
}
.v3-compare__head--them {
  color: var(--fg-2);
}
.v3-compare ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 12px;
}
.v3-compare li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 14px;
  color: var(--fg);
}
.v3-compare li i {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: -1px;
}
.v3-compare__col--us li i { color: var(--success); }
.v3-compare__col--them li {
  color: var(--fg-2);
  text-decoration: line-through;
  text-decoration-color: rgba(239, 68, 68, 0.3);
}
.v3-compare__col--them li i { color: var(--danger); }

/* FAQ */
.v3-faq {
  max-width: 720px;
  margin: 0 auto;
  display: flex; flex-direction: column;
  gap: 12px;
}
.v3-faq__item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 22px;
  transition: border-color var(--duration);
}
.v3-faq__item:hover { border-color: var(--brand); }
.v3-faq__item[open] {
  border-color: var(--brand);
  background: linear-gradient(180deg, var(--brand-soft), var(--bg-1));
}
.v3-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
}
.v3-faq__item summary::-webkit-details-marker { display: none; }
.v3-faq__item summary::after {
  content: '+';
  font-size: 22px; font-weight: 400;
  color: var(--brand);
  transition: transform var(--duration);
  flex-shrink: 0;
}
.v3-faq__item[open] summary::after {
  content: '−';
}
.v3-faq__item p {
  margin-top: 12px;
  color: var(--fg-2);
  font-size: 14px;
  line-height: 1.6;
}

/* SEARCH SECTION (cards de loja) */
.v3-search-section {
  padding: 80px 0;
  background: var(--bg-1);
  scroll-margin-top: 80px;
}

/* CTA FINAL */
.v3-cta-final {
  background: linear-gradient(135deg, var(--brand) 0%, #ff9d4a 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.v3-cta-final::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1), transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0,0,0,0.1), transparent 50%);
}
.v3-cta-final__inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.v3-cta-final h2 {
  color: white;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 8px;
}
.v3-cta-final p {
  color: rgba(255,255,255,0.92);
  font-size: 16px;
}
.v3-cta-final__btn {
  background: white !important;
  color: var(--brand) !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  flex-shrink: 0;
}
.v3-cta-final__btn:hover {
  transform: translateY(-2px);
}

/* ============================================
   MOCKUP — Dashboard SaaS profissional
============================================ */
.v3-hero__visual {
  position: relative;
  perspective: 2000px;
}

.v3-mockup {
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,106,0,0.06),
    0 24px 60px -12px rgba(0,0,0,0.5),
    0 12px 24px -12px rgba(255,106,0,0.15),
    0 0 80px -20px rgba(255,106,0,0.25);
  transform: perspective(2000px) rotateY(-6deg) rotateX(3deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.v3-mockup:hover {
  transform: perspective(2000px) rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

/* Browser chrome */
.v3-mockup__chrome {
  background: #16161a;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.v3-mockup__dots {
  display: flex; gap: 6px;
}
.v3-mockup__dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.v3-mockup__dots span:nth-child(1) { background: #ff5f57; }
.v3-mockup__dots span:nth-child(2) { background: #ffbd2e; }
.v3-mockup__dots span:nth-child(3) { background: #28c93f; }
.v3-mockup__url {
  flex: 1;
  font-size: 11px;
  font-family: ui-monospace, monospace;
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 5px 12px;
  border-radius: 6px;
  color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 6px;
}
.v3-mockup__url i {
  font-size: 12px;
  color: rgba(34,197,94,0.7);
}

/* App layout */
.v3-mockup__app {
  display: flex;
  min-height: 380px;
}

/* Sidebar do mockup */
.v3-mockup__sidebar {
  width: 52px;
  background: #16161a;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 14px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.v3-mockup__brand {
  margin-bottom: 8px;
}
.v3-mockup__brand-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  border-radius: 7px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 13px;
  box-shadow: 0 4px 12px rgba(255,106,0,0.4);
}
.v3-mockup__nav {
  display: flex; flex-direction: column; gap: 4px; align-items: center;
}
.v3-mockup__nav-item {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 16px;
  position: relative;
}
.v3-mockup__nav-item--active {
  background: rgba(255,106,0,0.15);
  color: #ff6a00;
}
.v3-mockup__nav-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: #ff6a00;
  color: white;
  font-size: 9px;
  font-weight: 700;
  min-width: 14px; height: 14px;
  border-radius: 7px;
  padding: 0 3px;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #16161a;
}

/* Conteúdo principal */
.v3-mockup__content {
  flex: 1;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #0a0a0c;
}

/* Topbar */
.v3-mockup__topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.v3-mockup__greeting {
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
}
.v3-mockup__subgreeting {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.v3-mockup__store-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34,197,94,0.25);
  font-weight: 600;
}
.v3-mockup__open-dot {
  width: 6px; height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}

/* KPIs */
.v3-mockup__kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.v3-mockup__kpi {
  background: #16161a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 10px 12px;
  position: relative;
}
.v3-mockup__kpi--featured {
  background: linear-gradient(135deg, rgba(255,106,0,0.12) 0%, rgba(255,106,0,0.04) 100%);
  border-color: rgba(255,106,0,0.25);
}
.v3-mockup__kpi-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
  font-weight: 600;
}
.v3-mockup__kpi-value {
  font-size: 18px;
  font-weight: 800;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.01em;
}
.v3-mockup__kpi--featured .v3-mockup__kpi-value {
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.v3-mockup__kpi-trend {
  font-size: 10px;
  margin-top: 4px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 600;
}
.v3-mockup__kpi-trend--up { color: #22c55e; }

/* Mini chart */
.v3-mockup__chart {
  background: #16161a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  padding: 12px;
}
.v3-mockup__chart-head {
  display: flex; justify-content: space-between;
  font-size: 11px;
  margin-bottom: 8px;
}
.v3-mockup__chart-head > span:first-child {
  color: rgba(255,255,255,0.5);
}
.v3-mockup__chart-total {
  font-weight: 700;
  color: #ff6a00;
}
.v3-mockup__chart-svg {
  width: 100%;
  height: 60px;
  display: block;
}

/* Lista de pedidos */
.v3-mockup__orders {
  background: #16161a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}
.v3-mockup__orders-head {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-weight: 600;
}
.v3-mockup__order {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 8px 12px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 11px;
}
.v3-mockup__order:last-child { border-bottom: 0; }
.v3-mockup__order-id {
  font-family: ui-monospace, monospace;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
}
.v3-mockup__order-name {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.v3-mockup__order-price {
  color: rgba(255,255,255,0.95);
  font-weight: 700;
}
.v3-mockup__chip {
  font-size: 9px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.v3-mockup__chip--preparing {
  background: rgba(168,85,247,0.15);
  color: #a855f7;
  border: 1px solid rgba(168,85,247,0.3);
}
.v3-mockup__chip--delivering {
  background: rgba(255,106,0,0.15);
  color: #ff6a00;
  border: 1px solid rgba(255,106,0,0.3);
}
.v3-mockup__chip--delivered {
  background: rgba(34,197,94,0.12);
  color: #22c55e;
  border: 1px solid rgba(34,197,94,0.25);
}

/* Pílulas flutuantes */
.v3-mockup-pill {
  position: absolute;
  background: rgba(22,22,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 12px 32px rgba(0,0,0,0.5),
    0 0 60px rgba(255,106,0,0.1);
  animation: float 3s ease-in-out infinite;
  color: rgba(255,255,255,0.95);
}
.v3-mockup-pill--1 {
  top: 40px; right: -28px;
  animation-delay: 0s;
}
.v3-mockup-pill--1 .v3-mockup-pill__dot {
  width: 8px; height: 8px;
  background: #ff6a00;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,106,0,0.25);
  animation: pulse-dot 2s ease infinite;
  flex-shrink: 0;
}
.v3-mockup-pill--2 {
  bottom: 40px; left: -32px;
  animation-delay: -1.5s;
}
.v3-mockup-pill--2 i {
  font-size: 24px;
  color: #ff6a00;
  flex-shrink: 0;
}
.v3-mockup-pill--2 strong {
  display: block;
  font-size: 14px;
  color: rgba(255,255,255,0.95);
  line-height: 1.1;
}
.v3-mockup-pill--2 small {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
  font-weight: 500;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (max-width: 540px) {
  .v3-mockup-pill { display: none; }
}


/* ============================================
   HOME v3.4 — Locate card + categorias + nearby
============================================ */

/* Card "Onde você está?" */
.v3-locate-card {
  background: linear-gradient(135deg, var(--bg-1) 0%, rgba(255,106,0,0.04) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  max-width: 880px;
  margin: 0 auto 48px;
  position: relative;
  overflow: hidden;
}
.v3-locate-card::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(255,106,0,0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.v3-locate-card__content {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 24px;
  position: relative;
}
.v3-locate-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, var(--brand) 0%, #ff9d4a 100%);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  color: white;
  box-shadow: 0 12px 24px rgba(255,106,0,0.3);
  flex-shrink: 0;
}
.v3-locate-card__text h3 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 4px;
}
.v3-locate-card__text p {
  font-size: 14px; color: var(--fg-2);
  line-height: 1.5;
}
.v3-locate-card__actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  position: relative;
}
.v3-locate-card__actions .btn--primary {
  flex-shrink: 0;
}
.v3-locate-card__cep {
  display: flex; gap: 8px; flex: 1;
  min-width: 280px;
}
.v3-locate-card__input {
  flex: 1;
  padding: 10px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--fg);
  font-size: 14px;
}
.v3-locate-card__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
@media (max-width: 600px) {
  .v3-locate-card { padding: 24px 18px; }
  .v3-locate-card__content { flex-direction: column; text-align: center; }
  .v3-locate-card__actions { flex-direction: column; }
  .v3-locate-card__actions .btn--primary { width: 100%; }
  .v3-locate-card__cep { width: 100%; min-width: 0; }
}

/* Resultado da geolocalização */
.v3-locate-result {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  font-size: 14px;
  position: relative;
  animation: fadeSlideIn 0.3s ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.v3-locate-result--error {
  background: rgba(239,68,68,0.1);
  border: 1px solid rgba(239,68,68,0.3);
  color: var(--danger);
}
.v3-locate-result--loading {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg-2);
}
.v3-locate-result--loading i {
  animation: spin 1s linear infinite;
  display: inline-block;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.v3-locate-result--empty {
  background: var(--bg-2);
  border: 1px solid var(--border);
  color: var(--fg-2);
  text-align: center;
  padding: 24px;
}
.v3-locate-result--success {
  background: var(--bg);
  border: 1px solid var(--border);
}
.v3-locate-result__head {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

/* Lista de lojas próximas */
.v3-near-list {
  display: flex; flex-direction: column;
  gap: 4px;
}
.v3-near__item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: background var(--duration);
}
.v3-near__item:hover {
  background: var(--bg-2);
}
.v3-near__logo, .v3-near__logo-placeholder {
  width: 44px; height: 44px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}
.v3-near__logo-placeholder {
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 18px;
}
.v3-near__info { flex: 1; min-width: 0; }
.v3-near__name {
  font-weight: 600;
  font-size: 14px;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v3-near__meta {
  font-size: 12px;
  color: var(--fg-3);
  margin-top: 2px;
}
.v3-near__meta i { font-size: 13px; vertical-align: -1px; }
.v3-near__arrow {
  color: var(--fg-3);
  font-size: 18px;
  flex-shrink: 0;
}
.v3-near__item:hover .v3-near__arrow {
  color: var(--brand);
  transform: translateX(2px);
  transition: all var(--duration);
}

/* Grade de categorias */
.v3-categories {
  margin-bottom: 56px;
}
.v3-categories__title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
}
.v3-categories__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 900px) {
  .v3-categories__grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 600px) {
  .v3-categories__grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
}
@media (max-width: 380px) {
  .v3-categories__grid { grid-template-columns: repeat(2, 1fr); }
}

.v3-cat-card {
  display: flex; flex-direction: column; align-items: center;
  gap: 8px;
  padding: 20px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  text-align: center;
  transition: all var(--duration) var(--ease);
}
.v3-cat-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255,106,0,0.1);
}
.v3-cat-card__icon {
  width: 44px; height: 44px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  transition: all var(--duration);
}
.v3-cat-card:hover .v3-cat-card__icon {
  background: var(--brand);
  color: white;
}
.v3-cat-card__name {
  font-size: 13px; font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
}
.v3-cat-card__count {
  font-size: 11px;
  color: var(--fg-3);
}

/* Lojas em destaque */
.v3-featured__title {
  font-size: 18px; font-weight: 700;
  margin-bottom: 20px;
  text-align: center;
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
}

/* Header de resultados de busca */
.v3-results-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}
.v3-results-head h3 {
  font-size: 22px; font-weight: 700;
  margin-bottom: 2px;
}
.v3-results-head p {
  color: var(--fg-2);
  font-size: 14px;
}

/* ============================================
   AUTO-FILL BANNER (checkout)
============================================ */
.autofill-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255,106,0,0.12), rgba(255,106,0,0.04));
  border: 1px solid rgba(255,106,0,0.3);
  border-radius: 12px;
  font-size: 13px;
  color: var(--fg);
  margin-bottom: 16px;
  animation: fadeSlideIn 0.3s ease;
}
.autofill-banner > i:first-child {
  font-size: 20px;
  color: var(--brand);
  flex-shrink: 0;
}
.autofill-banner > span {
  flex: 1;
  line-height: 1.4;
}
.autofill-banner__close {
  background: transparent;
  border: 0;
  color: var(--fg-3);
  cursor: pointer;
  padding: 4px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.autofill-banner__close:hover {
  background: var(--bg-2);
  color: var(--fg);
}

/* ============================================
   SUCCESS WHATSAPP CARD
============================================ */
.success-wa-card {
  margin-top: 28px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(37,211,102,0.12), rgba(37,211,102,0.04));
  border: 1px solid rgba(37,211,102,0.35);
  border-radius: 16px;
  text-align: left;
}
.success-wa-card__head {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 14px;
}
.success-wa-card__head > i {
  font-size: 36px;
  color: #25d366;
  flex-shrink: 0;
}
.success-wa-card__head strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}
.success-wa-card__head p {
  font-size: 13px;
  color: var(--fg-2);
}
.btn--whatsapp {
  background: #25d366;
  color: white;
  border: 0;
}
.btn--whatsapp:hover {
  background: #1fa855;
  color: white;
}

/* ============================================
   PDV — Ponto de Venda
============================================ */
.panel-content--pdv {
  max-width: none !important;
  padding: 16px 20px 100px !important;
}

.pdv-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1200px) {
  .pdv-layout { grid-template-columns: 1fr; }
  .pdv-cart { position: static !important; max-height: none !important; }
}

/* Sidebar destacado */
.sidebar__link--featured {
  background: linear-gradient(135deg, rgba(255,106,0,0.08), transparent);
  border-left: 2px solid var(--brand);
}
.sidebar__link--featured:not(.is-active) {
  color: var(--brand);
}

/* === MENU (esquerda) === */
.pdv-menu {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.pdv-menu__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.pdv-menu__title {
  font-size: 22px; font-weight: 700;
  margin-bottom: 2px;
}
.pdv-menu__subtitle {
  font-size: 13px; color: var(--fg-2);
}
.pdv-menu__search {
  position: relative;
  min-width: 280px;
}
.pdv-menu__search i {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--fg-3);
  pointer-events: none;
}
.pdv-menu__search input {
  padding-left: 36px;
}

.pdv-category { margin-bottom: 28px; }
.pdv-category:last-child { margin-bottom: 0; }
.pdv-category__title {
  font-size: 15px; font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-2);
  margin-bottom: 12px;
}

.pdv-products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.pdv-product {
  position: relative;
  display: flex; flex-direction: column;
  align-items: stretch;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
  text-align: left;
  transition: all var(--duration) var(--ease);
  overflow: hidden;
  font: inherit;
  color: inherit;
}
.pdv-product:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 106, 0, 0.15);
}
.pdv-product.is-just-added {
  animation: pulseAdd 0.3s ease;
}
@keyframes pulseAdd {
  0%, 100% { transform: translateY(-2px) scale(1); }
  50% { transform: translateY(-2px) scale(1.04); border-color: var(--success); }
}
.pdv-product__image {
  width: 100%; height: 100px;
  background-size: cover; background-position: center;
  background-color: var(--bg-2);
}
.pdv-product__image--placeholder {
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-3); font-size: 32px;
}
.pdv-product__info {
  padding: 10px 12px;
  flex: 1;
}
.pdv-product__name {
  font-size: 13px; font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdv-product__price {
  font-size: 14px;
  color: var(--brand);
  font-weight: 700;
}
.pdv-product__price-old {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
  text-decoration: line-through;
  font-weight: 400;
}
.pdv-product__add {
  position: absolute;
  bottom: 8px; right: 8px;
  width: 28px; height: 28px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
  transition: transform var(--duration);
}
.pdv-product:hover .pdv-product__add {
  transform: scale(1.1) rotate(90deg);
}

/* === CARRINHO (direita) === */
.pdv-cart {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  position: sticky;
  /* top: 16px é mais responsivo que 80px - encosta no topo da viewport */
  top: 16px;
  /* Usa min/max pra adaptar: nunca menor que 480px, máximo viewport - 32px */
  max-height: calc(100vh - 32px);
  min-height: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
/* Telas curtas (notebook 768p ou laptops 13"): cabeçalho compacto pra dar
   mais espaço pros items + footer (que tem o botão "Finalizar"). */
@media (max-height: 800px) {
  .pdv-cart {
    padding: 12px;
  }
  .pdv-cart__head {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
}
.pdv-cart__head {
  display: flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 12px;
}
.pdv-cart__head > i:first-child {
  color: var(--brand); font-size: 18px;
}
.pdv-cart__head > span:first-of-type { flex: 1; }
.pdv-cart__clear {
  background: transparent; border: 0;
  padding: 4px 8px; border-radius: 6px;
  color: var(--fg-3); cursor: pointer;
}
.pdv-cart__clear:hover { background: var(--bg-2); color: var(--danger); }

.pdv-section {
  margin-bottom: 14px;
}
.pdv-section__label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--fg-2); font-weight: 600;
  display: block;
  margin-bottom: 6px;
}

.pdv-cart__items {
  flex: 1;
  overflow-y: auto;
  padding-right: 4px;
  margin: 8px 0;
  /* Sem min-height/max-height fixos - o flex: 1 do container faz o espaço
     se adaptar à viewport. Em telas curtas, scroll interno. Em telas altas,
     espaço amplo. */
}
.pdv-cart__empty {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 40px 16px;
  color: var(--fg-3);
  text-align: center;
}
.pdv-cart__empty i {
  font-size: 36px;
  margin-bottom: 8px;
  opacity: 0.5;
}
.pdv-cart__empty p { font-size: 13px; }

.pdv-cart-item {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  border-radius: 8px;
  background: var(--bg-2);
  margin-bottom: 6px;
}
.pdv-cart-item__info { min-width: 0; }
.pdv-cart-item__name {
  font-size: 13px; font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pdv-cart-item__price {
  font-size: 11px; color: var(--fg-3);
}
.pdv-cart-item__notes {
  font-size: 11px; color: var(--fg-2);
  font-style: italic;
}
.pdv-cart-item__qty {
  display: flex; align-items: center; gap: 2px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2px;
}
.pdv-cart-item__qty span {
  min-width: 22px; text-align: center;
  font-size: 13px; font-weight: 600;
}
.pdv-qty-btn {
  background: transparent; border: 0;
  width: 22px; height: 22px;
  border-radius: 4px;
  color: var(--fg-2);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.pdv-qty-btn:hover { background: var(--bg-2); color: var(--brand); }

.pdv-cart-item__total {
  font-size: 13px; font-weight: 700;
  color: var(--brand);
}
.pdv-cart-item__remove {
  background: transparent; border: 0;
  color: var(--fg-3);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.pdv-cart-item__remove:hover {
  color: var(--danger);
  background: rgba(239,68,68,0.1);
}

/* Pagamento grid */
.pdv-pay-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
}
.pdv-pay-option {
  cursor: pointer;
}
.pdv-pay-option input { display: none; }
.pdv-pay-option > span {
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  padding: 10px 6px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-2);
  font-size: 12px;
  font-weight: 600;
  transition: all var(--duration);
}
.pdv-pay-option > span > i {
  font-size: 18px;
  color: var(--fg-2);
}
.pdv-pay-option input:checked + span {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
}
.pdv-pay-option input:checked + span > i { color: var(--brand); }

.pdv-paid-toggle {
  display: flex; align-items: center; gap: 8px;
  margin-top: 10px;
  font-size: 13px;
  cursor: pointer;
  user-select: none;
}
.pdv-paid-toggle input {
  width: 16px; height: 16px;
  accent-color: var(--brand);
}

/* Total */
.pdv-cart__total {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px;
  background: var(--bg-2);
  border-radius: 10px;
  margin-bottom: 12px;
}
.pdv-cart__total small {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pdv-cart__total strong {
  font-size: 22px;
  color: var(--brand);
  display: block;
}

/* PDV — Tabs de categoria */
.pdv-tabs {
  display: flex; gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 0 16px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--border);
}
.pdv-tabs::-webkit-scrollbar { display: none; }
.pdv-tab {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-2);
  border: 1px solid transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration);
}
.pdv-tab:hover { background: var(--bg-3); color: var(--fg); }
.pdv-tab.is-active {
  background: var(--brand);
  color: white;
  border-color: var(--brand);
  box-shadow: 0 2px 8px rgba(255,106,0,0.25);
}

/* Badge "tem extras" no card */
.pdv-product__badge {
  position: absolute;
  top: 6px; left: 6px;
  background: rgba(255,106,0,0.95);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 3px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.pdv-product__badge i { font-size: 11px; }

/* Item do carrinho — extras */
.pdv-cart-item__extras {
  font-size: 11px;
  color: var(--brand);
  font-weight: 500;
}

/* === Modal de produto === */
.pdv-modal[hidden] { display: none !important; }
.pdv-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.pdv-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.pdv-modal__panel {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: min(560px, calc(100vw - 32px));
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  animation: fadeSlideIn 0.2s ease;
}
.pdv-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  z-index: 1;
}
.pdv-modal__close:hover { background: var(--bg-3); color: var(--fg); }
.pdv-modal__header {
  padding: 20px 60px 16px 24px;
  border-bottom: 1px solid var(--border);
}
.pdv-modal__title {
  font-size: 20px; font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}
.pdv-modal__price {
  font-size: 14px;
  color: var(--fg-2);
}
.pdv-modal__body {
  padding: 16px 24px;
  overflow-y: auto;
  flex: 1;
}
.pdv-modal__group {
  margin-bottom: 20px;
}
.pdv-modal__group:last-child { margin-bottom: 0; }
.pdv-modal__group-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px;
  margin-bottom: 10px;
}
.pdv-modal__group-head h3 {
  font-size: 15px; font-weight: 700;
  margin-bottom: 2px;
}
.pdv-modal__group-head p {
  font-size: 12px;
  color: var(--fg-3);
}
.pdv-modal__required {
  font-size: 10px;
  background: rgba(239,68,68,0.12);
  color: var(--danger);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.pdv-modal__optional {
  font-size: 10px;
  background: var(--bg-2);
  color: var(--fg-3);
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-shrink: 0;
}
.pdv-modal__options {
  display: flex; flex-direction: column;
  gap: 6px;
}
.pdv-modal__option {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--duration);
}
.pdv-modal__option:hover {
  border-color: var(--brand);
  background: var(--bg-3);
}
.pdv-modal__option input { display: none; }
.pdv-modal__option-info {
  flex: 1;
}
.pdv-modal__option-info strong {
  display: block;
  font-size: 14px;
}
.pdv-modal__option-info small {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
}
.pdv-modal__check {
  width: 24px; height: 24px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--duration);
}
.pdv-modal__check i { opacity: 0; }
.pdv-modal__option.is-checked {
  border-color: var(--brand);
  background: rgba(255,106,0,0.06);
}
.pdv-modal__option.is-checked .pdv-modal__check {
  background: var(--brand);
  border-color: var(--brand);
}
.pdv-modal__option.is-checked .pdv-modal__check i { opacity: 1; }
.pdv-modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 12px; align-items: center;
}
.pdv-modal__qty {
  display: flex; align-items: center; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px;
  flex-shrink: 0;
}
.pdv-modal__qty span {
  min-width: 36px; text-align: center;
  font-size: 16px; font-weight: 700;
}
.pdv-qty-btn--big {
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 16px;
}
.pdv-modal__footer .btn {
  flex: 1;
  justify-content: space-between;
}
@media (max-width: 480px) {
  .pdv-modal__panel { max-height: 100vh; height: 100vh; border-radius: 0; }
}

/* ============================================
   PDV — Destaque na home
============================================ */
.v3-feature--highlight {
  position: relative;
  background: linear-gradient(135deg, rgba(255,106,0,0.08) 0%, transparent 100%);
  border-color: rgba(255,106,0,0.3);
}
.v3-feature__new {
  position: absolute;
  top: 12px; right: 12px;
  background: var(--brand);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.v3-pdv-spotlight {
  padding: 80px 0;
  background: var(--bg-1);
  position: relative;
  overflow: hidden;
}
.v3-pdv-spotlight::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,106,0,0.08), transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}
.v3-pdv-spotlight__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
  position: relative;
}
@media (max-width: 960px) {
  .v3-pdv-spotlight__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.v3-pdv-bullets {
  list-style: none; padding: 0; margin: 24px 0 0;
  display: flex; flex-direction: column; gap: 14px;
}
.v3-pdv-bullets li {
  display: flex; gap: 14px;
  align-items: flex-start;
}
.v3-pdv-bullets li > i {
  width: 36px; height: 36px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.v3-pdv-bullets li strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.v3-pdv-bullets li span {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* Mockup PDV */
.v3-pdv-mockup {
  background: #0a0a0c;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,106,0,0.06),
    0 24px 60px -12px rgba(0,0,0,0.5),
    0 12px 24px -12px rgba(255,106,0,0.15),
    0 0 80px -20px rgba(255,106,0,0.25);
  transform: perspective(2000px) rotateY(4deg) rotateX(2deg);
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.v3-pdv-mockup:hover {
  transform: perspective(2000px) rotateY(1deg) rotateX(1deg) translateY(-4px);
}
.v3-pdv-mockup__chrome {
  background: #16161a;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.v3-pdv-mockup__body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 360px;
}

/* Esquerda — produtos */
.v3-pdv-mockup__left {
  padding: 14px;
  border-right: 1px solid rgba(255,255,255,0.06);
}
.v3-pdv-mockup__tabs {
  display: flex; gap: 4px;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.v3-pdv-mockup__tab {
  padding: 5px 10px;
  background: rgba(255,255,255,0.05);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
}
.v3-pdv-mockup__tab--active {
  background: #ff6a00;
  color: white;
}
.v3-pdv-mockup__products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.v3-pdv-mockup__prod {
  position: relative;
  background: #16161a;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease;
}
.v3-pdv-mockup__prod--clicked {
  border-color: #ff6a00;
  transform: scale(1.03);
  box-shadow: 0 0 0 2px rgba(255,106,0,0.3);
}
.v3-pdv-mockup__prod-img {
  width: 100%; height: 56px;
}
.v3-pdv-mockup__prod-badge {
  position: absolute;
  top: 4px; left: 4px;
  background: rgba(255,106,0,0.95);
  color: white;
  font-size: 8px;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: 999px;
  text-transform: uppercase;
}
.v3-pdv-mockup__prod-info {
  padding: 6px 8px;
}
.v3-pdv-mockup__prod-info small {
  display: block;
  font-size: 11px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 1px;
  font-weight: 600;
}
.v3-pdv-mockup__prod-info strong {
  font-size: 11px;
  color: #ff6a00;
  font-weight: 700;
}

/* Direita — carrinho */
.v3-pdv-mockup__right {
  padding: 14px;
  background: rgba(255,255,255,0.02);
  display: flex; flex-direction: column;
  gap: 10px;
}
.v3-pdv-mockup__cart-head {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.95);
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.v3-pdv-mockup__cart-head i { color: #ff6a00; }
.v3-pdv-mockup__customer {
  background: rgba(255,255,255,0.03);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 10px;
}
.v3-pdv-mockup__customer small {
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 9px;
}
.v3-pdv-mockup__customer strong {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.95);
  margin: 2px 0;
}
.v3-pdv-mockup__customer span {
  color: rgba(255,255,255,0.4);
  font-size: 10px;
}
.v3-pdv-mockup__items {
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.v3-pdv-mockup__item {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 8px 10px;
  background: rgba(255,255,255,0.03);
  border-radius: 8px;
  gap: 8px;
}
.v3-pdv-mockup__item strong {
  font-size: 11px;
  color: rgba(255,255,255,0.9);
  display: block;
}
.v3-pdv-mockup__item small {
  font-size: 9px;
  color: #ff6a00;
}
.v3-pdv-mockup__item > span {
  font-size: 11px;
  color: #ff6a00;
  font-weight: 700;
  white-space: nowrap;
}
.v3-pdv-mockup__total {
  background: rgba(255,106,0,0.12);
  border: 1px solid rgba(255,106,0,0.3);
  border-radius: 8px;
  padding: 8px 10px;
}
.v3-pdv-mockup__total small {
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}
.v3-pdv-mockup__total strong {
  display: block;
  font-size: 18px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.v3-pdv-mockup__btn {
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  color: white;
  text-align: center;
  padding: 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ============================================
   SORTABLE — drag & drop pra reordenar
============================================ */
[draggable="true"] {
  cursor: grab;
  user-select: none;
}
[draggable="true"]:active { cursor: grabbing; }
.is-dragging {
  opacity: 0.4;
  transform: scale(0.98);
}
.sortable-placeholder {
  background: var(--brand-soft);
  border: 2px dashed var(--brand);
  border-radius: 12px;
}

.drag-handle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  border-radius: 6px;
  color: var(--fg-3);
  cursor: grab;
  flex-shrink: 0;
  transition: color var(--duration), background var(--duration);
}
.drag-handle:hover {
  color: var(--brand);
  background: var(--brand-soft);
}
.drag-handle:active { cursor: grabbing; }

/* ============================================
   REORDER LISTS — categorias / produtos / extras
============================================ */
.reorder-list {
  display: flex; flex-direction: column;
  gap: 8px;
}
.reorder-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all var(--duration);
}
.reorder-item:hover {
  border-color: rgba(255,106,0,0.25);
}
.reorder-item.is-inactive {
  opacity: 0.55;
  background: var(--bg);
}
.reorder-item.is-inactive .reorder-item__info strong {
  text-decoration: line-through;
  text-decoration-color: var(--fg-3);
}
.reorder-item__info {
  flex: 1; min-width: 0;
  display: flex; flex-direction: column; gap: 2px;
}
.reorder-item__info strong {
  font-size: 14px;
  color: var(--fg);
}
.reorder-item__info small {
  font-size: 12px;
  color: var(--fg-3);
}
.reorder-item__count {
  color: var(--fg-2);
  font-size: 11px;
}
.reorder-item__actions {
  display: flex; align-items: center; gap: 8px;
}

/* Toggle pill (Ativa/Inativa) */
.toggle-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--fg-3);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--duration);
}
.toggle-pill:hover { border-color: var(--brand); }
.toggle-pill__dot {
  width: 8px; height: 8px;
  background: var(--fg-3);
  border-radius: 50%;
}
.toggle-pill.is-on {
  background: rgba(34,197,94,0.12);
  color: var(--success);
  border-color: rgba(34,197,94,0.35);
}
.toggle-pill.is-on .toggle-pill__dot {
  background: var(--success);
  box-shadow: 0 0 0 3px rgba(34,197,94,0.2);
}
.toggle-pill:disabled { opacity: 0.5; cursor: wait; }

/* Extra group header */
.extra-group__head {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
}

/* ============================================
   PRODUCT ROW — layout em grid balanceado
============================================ */
.reorder-item.product-row {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
}

.product-row__img,
.product-row__placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.product-row__placeholder {
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  font-size: 22px;
}

.product-row__info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.product-row__name {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.product-row__meta {
  font-size: 13px;
  color: var(--fg-2);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.product-row__meta strong {
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
}

/* Coluna de ações sempre alinhada à direita */
.product-row__actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--bg);
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.product-row__actions .icon-btn {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg-2);
  transition: all var(--duration);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.product-row__actions .icon-btn:hover {
  background: var(--bg-2);
  color: var(--brand);
}
.product-row__actions form { display: inline-flex; }

/* Toggle switch dentro de actions */
.product-row__actions .toggle-switch {
  display: inline-flex;
  position: relative;
  width: 36px;
  height: 20px;
  cursor: pointer;
  margin: 0 4px;
}
.product-row__actions .toggle-switch input { display: none; }
.product-row__actions .toggle-switch__slider {
  position: absolute;
  inset: 0;
  background: var(--bg-3);
  border-radius: 999px;
  transition: background var(--duration);
}
.product-row__actions .toggle-switch__slider::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transition: transform var(--duration);
}
.product-row__actions .toggle-switch input:checked + .toggle-switch__slider {
  background: var(--brand);
}
.product-row__actions .toggle-switch input:checked + .toggle-switch__slider::before {
  transform: translateX(16px);
}

@media (max-width: 600px) {
  .reorder-item.product-row {
    grid-template-columns: auto auto 1fr;
    grid-template-rows: auto auto;
    gap: 10px;
  }
  .product-row__actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

/* Edição inline categoria */
.cat-edit-form {
  display: flex; flex-direction: column;
  gap: 6px;
}
.cat-edit-form input { font-size: 13px; }

/* ============================================
   EXTRA GROUP — card limpo na lista
============================================ */
.extra-group-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all var(--duration);
}
.extra-group-row:hover {
  border-color: rgba(255,106,0,0.3);
}
.extra-group-row__info {
  min-width: 0;
  display: flex; flex-direction: column;
  gap: 4px;
}
.extra-group-row__name {
  display: flex; align-items: center; gap: 8px;
  font-size: 15px;
}
.extra-group-row__name > i {
  color: var(--brand);
  font-size: 16px;
}
.extra-group-row__name strong {
  font-weight: 600;
  color: var(--fg);
}
.extra-group-row__meta {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  color: var(--fg-3);
  flex-wrap: wrap;
}
.extra-group-row__actions {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg);
  padding: 4px 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
}
.extra-group-row__actions .icon-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  color: var(--fg-2);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all var(--duration);
}
.extra-group-row__actions .icon-btn:hover {
  background: var(--bg-2);
  color: var(--brand);
}
.extra-group-row__actions form { display: inline-flex; }

/* ============================================
   EXTRA MODAL — edição de grupo + opções
============================================ */
.extra-modal[hidden] { display: none !important; }
.extra-modal {
  position: fixed; inset: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
}
.extra-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.extra-modal__panel {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: min(680px, calc(100vw - 32px));
  max-height: 90vh;
  display: flex; flex-direction: column;
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  animation: fadeSlideIn 0.2s ease;
  overflow: hidden;
}
.extra-modal__close {
  position: absolute;
  top: 14px; right: 14px;
  width: 32px; height: 32px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 50%;
  cursor: pointer;
  color: var(--fg-2);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  z-index: 1;
}
.extra-modal__close:hover { background: var(--bg-3); color: var(--fg); }
.extra-modal__header {
  padding: 22px 60px 16px 24px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.extra-modal__header h2 {
  font-size: 20px; font-weight: 700;
  margin-bottom: 4px;
}
.extra-modal__header p {
  font-size: 13px;
  color: var(--fg-2);
}
.extra-modal__body {
  padding: 20px 24px 24px;
  overflow-y: auto;
  flex: 1;
}

/* Opção dentro do modal */
.modal-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 6px;
}
.modal-option__info {
  min-width: 0;
}
.modal-option__display {
  display: flex; flex-direction: column;
  gap: 2px;
}
.modal-option__display strong {
  font-size: 14px;
  color: var(--fg);
}
.modal-option__display span {
  font-size: 12px;
  color: var(--brand);
  font-weight: 600;
}
.modal-option__edit {
  display: flex; gap: 6px; align-items: center;
}
.modal-option__edit input { font-size: 13px; }
.modal-option__actions {
  display: inline-flex; align-items: center; gap: 4px;
}
.modal-option__actions .icon-btn {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  color: var(--fg-3);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-option__actions .icon-btn:hover {
  background: var(--bg);
  color: var(--brand);
}

@media (max-width: 480px) {
  .extra-modal__panel { max-height: 100vh; height: 100vh; border-radius: 0; }
}


/* ============================================
   HOURS — Horários por dia (estilo iFood)
============================================ */
.hours-summary-card {
  margin-bottom: 16px;
}
.hours-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 16px;
}
@media (max-width: 600px) {
  .hours-summary { grid-template-columns: 1fr; }
}
.hours-summary__item {
  display: flex; flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.hours-summary__label {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  display: flex; align-items: center; gap: 6px;
}
.hours-summary__label i {
  color: var(--brand);
  font-size: 14px;
}
.hours-summary__value {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg);
}

.hours-card {
  padding: 0;
}
.hours-day {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
}
.hours-day:last-child { border-bottom: 0; }

.hours-day__head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  gap: 12px;
}
.hours-day__name {
  display: flex; align-items: center; gap: 12px;
  flex: 1;
}
.hours-day__name strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--fg);
}
.hours-day__weekend {
  font-size: 10px;
  background: var(--bg-2);
  color: var(--fg-3);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.hours-day__totals {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px;
}
.hours-day__total {
  color: var(--fg-2);
  font-weight: 600;
}
.hours-day__closed {
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

/* Toggle visual checkbox */
.hours-day__toggle {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  flex-shrink: 0;
}
.hours-day__check { display: none; }
.hours-day__check-visual {
  width: 38px;
  height: 22px;
  background: var(--bg-3);
  border-radius: 999px;
  position: relative;
  transition: background var(--duration);
}
.hours-day__check-visual::after {
  content: '';
  position: absolute;
  top: 2px; left: 2px;
  width: 18px; height: 18px;
  background: white;
  border-radius: 50%;
  transition: transform var(--duration);
}
.hours-day__check:checked + .hours-day__check-visual {
  background: var(--brand);
}
.hours-day__check:checked + .hours-day__check-visual::after {
  transform: translateX(16px);
}

/* Intervalos */
.hours-day__intervals {
  display: flex; flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}
.hours-day__intervals:empty { margin: 0; }

.hours-interval {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.hours-interval__times {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
  flex-wrap: wrap;
}

/* Input de horário — alta especificidade pra não ser sobrescrito */
input.hours-time-input,
input[type="time"].hours-time-input {
  display: inline-block !important;
  width: 130px !important;
  min-width: 130px !important;
  height: 40px !important;
  padding: 8px 12px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  font-weight: 600 !important;
  background: var(--bg) !important;
  color: var(--fg) !important;
  border: 1px solid var(--border) !important;
  border-radius: 8px !important;
  outline: none;
  cursor: text;
  color-scheme: dark;
  -webkit-appearance: none;
  appearance: none;
}
[data-theme="light"] input.hours-time-input {
  color-scheme: light;
}
input.hours-time-input:focus {
  border-color: var(--brand) !important;
  box-shadow: 0 0 0 3px rgba(255,106,0,0.15);
}
input.hours-time-input::-webkit-calendar-picker-indicator {
  filter: invert(0.6);
  cursor: pointer;
  opacity: 0.7;
  margin-left: 4px;
}
input.hours-time-input::-webkit-calendar-picker-indicator:hover { opacity: 1; }
[data-theme="light"] input.hours-time-input::-webkit-calendar-picker-indicator {
  filter: none;
}
/* Texto interno do time input */
input.hours-time-input::-webkit-datetime-edit {
  color: var(--fg);
  font-weight: 600;
}
input.hours-time-input::-webkit-datetime-edit-fields-wrapper { padding: 0; }
input.hours-time-input::-webkit-datetime-edit-hour-field,
input.hours-time-input::-webkit-datetime-edit-minute-field,
input.hours-time-input::-webkit-datetime-edit-text {
  color: var(--fg);
}
input.hours-time-input::-webkit-datetime-edit-hour-field:focus,
input.hours-time-input::-webkit-datetime-edit-minute-field:focus {
  background: var(--brand);
  color: white;
  border-radius: 3px;
}

.hours-interval__sep {
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 500;
}
.hours-interval__remove {
  width: 30px; height: 30px;
  background: transparent;
  border: 0;
  color: var(--fg-3);
  cursor: pointer;
  border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
}
.hours-interval__remove:hover {
  color: var(--danger);
  background: rgba(239,68,68,0.1);
}

.hours-day__add {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--fg-2);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  transition: all var(--duration);
}
.hours-day__add:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

.hours-shortcuts {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}

/* ============================================
   HOURS CALENDAR — visual estilo iFood
============================================ */
.hours-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}
@media (max-width: 1100px) {
  .hours-layout { grid-template-columns: 1fr; }
}

/* Sidebar — lista de dias */
.hours-sidebar {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
}
.hours-day-card {
  display: block;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  text-align: left;
  cursor: pointer;
  transition: all var(--duration);
}
.hours-day-card:last-of-type { margin-bottom: 0; }
.hours-day-card:hover {
  border-color: var(--brand);
  background: var(--bg-3);
}
.hours-day-card__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.hours-day-card__head strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.hours-day-card__badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hours-day-card__badge.is-open {
  background: rgba(34,197,94,0.12);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.3);
}
.hours-day-card__badge.is-closed {
  background: rgba(239,68,68,0.1);
  color: var(--danger);
  border: 1px solid rgba(239,68,68,0.25);
}
.hours-day-card small {
  font-size: 12px;
  color: var(--fg-3);
}

/* Calendário */
.hours-calendar {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.hours-calendar__head {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.hours-calendar__corner {}
.hours-calendar__day-head {
  text-align: center;
  padding: 12px 6px;
  border-left: 1px solid var(--border);
  display: flex; flex-direction: column;
  gap: 2px;
}
.hours-calendar__day-head strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}
.hours-calendar__day-head small {
  font-size: 10px;
  color: var(--success);
  font-weight: 600;
}

/* Grade — 24 horas x 7 dias */
.hours-calendar__grid {
  display: grid;
  grid-template-columns: 56px repeat(7, 1fr);
  position: relative;
}
.hours-calendar__hours-col {
  display: grid;
  grid-template-rows: repeat(96, 8px); /* 24h * 4 slots de 15min */
  position: relative;
  background: var(--bg-2);
}
.hours-calendar__hour-label {
  font-size: 11px;
  color: var(--fg-3);
  text-align: right;
  padding: 0 8px;
  position: relative;
  border-top: 1px solid var(--border);
  font-weight: 500;
}
.hours-calendar__day-col {
  display: grid;
  grid-template-rows: repeat(96, 8px);
  border-left: 1px solid var(--border);
  position: relative;
}
.hours-calendar__hour-cell {
  border-top: 1px solid var(--border);
  background: transparent;
}
.hours-calendar__block {
  margin: 1px 4px;
  background: linear-gradient(180deg, rgba(34,197,94,0.18), rgba(34,197,94,0.10));
  border: 1px solid rgba(34,197,94,0.4);
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 10px;
  color: var(--success);
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  position: relative;
  z-index: 2;
  transition: all var(--duration);
}
.hours-calendar__block:hover {
  background: linear-gradient(180deg, rgba(34,197,94,0.3), rgba(34,197,94,0.18));
  border-color: var(--success);
  transform: scale(1.02);
  box-shadow: 0 2px 8px rgba(34,197,94,0.2);
}

/* Desempenho */
.hours-perf__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 600px) {
  .hours-perf__grid { grid-template-columns: 1fr; }
}
.hours-perf__item {
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.hours-perf__item small {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.hours-perf__item strong {
  font-size: 22px;
  color: var(--fg);
  font-weight: 700;
}

/* Modal — dias */
.hours-modal-day {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.hours-modal-day:last-of-type { border-bottom: 0; }
.hours-modal-day__head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 10px;
}
.hours-modal-day__head strong {
  flex: 1;
  font-size: 14px;
  font-weight: 700;
}
.hours-modal-day__total {
  font-size: 12px;
  color: var(--fg-2);
  font-weight: 600;
}
.hours-modal-day__intervals {
  display: flex; flex-direction: column;
  gap: 6px;
  margin-bottom: 8px;
  margin-left: 50px;
}
.hours-modal-day__intervals:empty { margin: 0; }
.hours-modal-interval {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: var(--bg-2);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.hours-modal-interval > span {
  font-size: 12px;
  color: var(--fg-3);
}
.hours-modal-add {
  margin-left: 50px;
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--fg-2);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.hours-modal-add:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: var(--brand-soft);
}

/* ============================================
   REFERRALS — programa de indicações
============================================ */
.sidebar__badge--brand {
  background: var(--brand) !important;
  color: white !important;
  font-size: 10px !important;
  font-weight: 800 !important;
}

/* Hero */
.referral-hero {
  position: relative;
  background: linear-gradient(135deg, #ff6a00 0%, #ff9d4a 100%);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 20px;
  overflow: hidden;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
}
.referral-hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.15), transparent 70%);
  border-radius: 50%;
}
.referral-hero__content {
  position: relative;
  z-index: 1;
  max-width: 560px;
}
.referral-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
  backdrop-filter: blur(10px);
}
.referral-hero h2 {
  font-size: 28px;
  color: white;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 8px;
}
.referral-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.5;
}
.referral-hero__visual {
  position: relative;
  width: 140px; height: 140px;
  flex-shrink: 0;
}
.referral-hero__circle {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  backdrop-filter: blur(10px);
}
.referral-hero__icon {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 56px;
  color: white;
}
@media (max-width: 720px) {
  .referral-hero { padding: 24px; flex-direction: column; align-items: flex-start; }
  .referral-hero h2 { font-size: 22px; }
  .referral-hero__visual { display: none; }
}

/* Link card */
.referral-link-row {
  display: flex; gap: 8px;
  margin-bottom: 14px;
}
.referral-link-row input {
  flex: 1;
  font-family: monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
}
#copyLinkBtn.is-success {
  background: var(--success) !important;
}
.referral-share-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
@media (max-width: 480px) {
  .referral-share-grid { grid-template-columns: 1fr; }
}

/* Stats */
.referral-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}
@media (max-width: 720px) {
  .referral-stats { grid-template-columns: 1fr; }
}
.referral-stat-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex; align-items: center; gap: 14px;
}
.referral-stat-card__icon {
  width: 48px; height: 48px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.referral-stat-card--success .referral-stat-card__icon {
  background: rgba(34,197,94,0.12);
  color: var(--success);
}
.referral-stat-card--warning .referral-stat-card__icon {
  background: rgba(245,158,11,0.12);
  color: #f59e0b;
}
.referral-stat-card__info { flex: 1; }
.referral-stat-card__info small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 2px;
}
.referral-stat-card__info strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--fg);
}

/* Como funciona */
.referral-howto {
  display: flex; flex-direction: column;
  gap: 18px;
}
.referral-howto__step {
  display: flex; align-items: flex-start; gap: 14px;
}
.referral-howto__num {
  width: 36px; height: 36px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  font-weight: 800;
  flex-shrink: 0;
}
.referral-howto__step strong {
  display: block;
  font-size: 15px;
  margin-bottom: 4px;
}
.referral-howto__step p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}

/* ============================================
   CARDÁPIO — tabs estilo iFood
============================================ */
.cardapio-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.cardapio-tabs::-webkit-scrollbar { display: none; }
.cardapio-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--duration);
  cursor: pointer;
  text-decoration: none;
}
.cardapio-tab:hover {
  color: var(--fg);
}
.cardapio-tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.cardapio-tab__count {
  font-size: 11px;
  background: var(--bg-2);
  color: var(--fg-3);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.cardapio-tab.is-active .cardapio-tab__count {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Search row */
.cardapio-search-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.cardapio-search {
  position: relative;
  flex: 1;
  max-width: 400px;
}
.cardapio-search > i {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%);
  color: var(--fg-3);
  pointer-events: none;
}
.cardapio-search input { padding-left: 36px; }

.cardapio-cat-block {
  margin-bottom: 14px;
}

/* ============================================
   PDV TABS — múltiplos pedidos simultâneos
============================================ */
.pdv-tabs-bar {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  background: var(--bg-2);
  border-radius: 10px 10px 0 0;
  border-bottom: 1px solid var(--border);
  margin: -16px -16px 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.pdv-tabs-bar::-webkit-scrollbar { height: 4px; }
.pdv-tabs-bar::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 2px; }

.pdv-tabs-list {
  display: flex;
  gap: 4px;
  flex: 1;
  min-width: 0;
}

.pdv-tabs-bar .pdv-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--duration);
  flex-shrink: 0;
  max-width: 160px;
}
.pdv-tabs-bar .pdv-tab:hover {
  border-color: var(--brand);
  color: var(--fg);
}
.pdv-tabs-bar .pdv-tab.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: white;
  box-shadow: 0 2px 6px rgba(255,106,0,0.25);
}
.pdv-tab__name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
}
.pdv-tab__badge {
  background: rgba(255,255,255,0.25);
  color: white;
  padding: 1px 6px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  min-width: 18px;
  text-align: center;
}
.pdv-tabs-bar .pdv-tab:not(.is-active) .pdv-tab__badge {
  background: var(--brand);
  color: white;
}
.pdv-tab__close {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 2px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  opacity: 0.6;
  transition: opacity var(--duration);
}
.pdv-tab__close:hover {
  opacity: 1;
  background: rgba(255,255,255,0.2);
}
.pdv-tabs-bar .pdv-tab:not(.is-active) .pdv-tab__close:hover {
  background: rgba(255,255,255,0.05);
  color: var(--danger);
}
.pdv-tab__rename-input {
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  color: white;
  padding: 1px 6px;
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  outline: none;
  width: 100px;
}
.pdv-tab-add {
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--fg-2);
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  transition: all var(--duration);
}
.pdv-tab-add:hover {
  background: var(--brand-soft);
  border-color: var(--brand);
  color: var(--brand);
  transform: scale(1.05);
}

/* ============================================
   ORDERS — Tela de pedidos profissional
============================================ */
.orders-mini-stats {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 18px;
}
.orders-mini-stat {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--fg-2);
}
.orders-mini-stat strong {
  color: var(--fg);
  font-weight: 700;
}
.orders-mini-stat > i {
  color: var(--warning);
  font-size: 16px;
}
.orders-mini-stat.is-alert {
  background: rgba(245,158,11,0.12);
  border-color: rgba(245,158,11,0.4);
  color: #f59e0b;
  animation: pulseAlert 2s infinite;
}
.orders-mini-stat.is-alert strong { color: #f59e0b; }
@keyframes pulseAlert {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,158,11,0.4); }
  50% { box-shadow: 0 0 0 8px rgba(245,158,11,0); }
}

/* Tabs */
.orders-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.orders-tabs::-webkit-scrollbar { display: none; }
.orders-tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg-2);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: all var(--duration);
  text-decoration: none;
}
.orders-tab:hover { color: var(--fg); }
.orders-tab.is-active {
  color: var(--brand);
  border-bottom-color: var(--brand);
}
.orders-tab__count {
  background: var(--bg-2);
  color: var(--fg-3);
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.orders-tab.is-active .orders-tab__count {
  background: var(--brand-soft);
  color: var(--brand);
}

/* Lista de cards */
.orders-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(420px, 1fr));
  gap: 14px;
}

.order-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--duration);
}
.order-card:hover { border-color: var(--bg-3); }

.order-card.is-new {
  border-color: rgba(245,158,11,0.5);
  box-shadow: 0 0 0 1px rgba(245,158,11,0.3), 0 4px 12px rgba(245,158,11,0.1);
  animation: pulseNew 2s infinite;
}
@keyframes pulseNew {
  0%, 100% { box-shadow: 0 0 0 1px rgba(245,158,11,0.3), 0 4px 12px rgba(245,158,11,0.1); }
  50% { box-shadow: 0 0 0 2px rgba(245,158,11,0.5), 0 8px 20px rgba(245,158,11,0.2); }
}

.order-card.is-late {
  border-color: rgba(239,68,68,0.5);
  background: linear-gradient(180deg, rgba(239,68,68,0.04), var(--bg-1));
}
.order-card.is-urgent {
  border-color: rgba(245,158,11,0.4);
}

/* Header */
.order-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 14px 16px;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  gap: 8px;
}
.order-card__id {
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.order-card__id strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  font-family: monospace;
  letter-spacing: 0.02em;
}
.order-card__time {
  font-size: 12px;
  color: var(--fg-3);
  display: inline-flex; align-items: center; gap: 4px;
}
.badge--pdv {
  background: var(--brand);
  color: white;
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.order-card__elapsed {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  background: var(--bg-3);
  color: var(--fg-2);
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.order-card__elapsed > i { font-size: 13px; }
.order-card__elapsed strong { font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }
.order-card__elapsed span { font-size: 10px; opacity: 0.85; }

.order-card__elapsed.is-late {
  background: rgba(239,68,68,0.15);
  color: var(--danger);
  border: 1px solid rgba(239,68,68,0.3);
  flex-direction: row;
  text-align: left;
}
.order-card__elapsed.is-urgent {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.3);
  flex-direction: row;
}
.order-card__elapsed.is-success {
  background: rgba(34,197,94,0.12);
  color: var(--success);
  flex-direction: row;
}
.order-card__elapsed.is-cancelled {
  background: rgba(239,68,68,0.08);
  color: var(--fg-3);
  flex-direction: row;
}

/* Body */
.order-card__body {
  padding: 14px 16px;
  display: flex; flex-direction: column;
  gap: 12px;
  flex: 1;
}

.order-card__customer {
  display: flex; flex-direction: column; gap: 4px;
}
.order-card__customer-name {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px;
}
.order-card__customer-name > i { color: var(--fg-3); }
.order-card__customer-name strong { color: var(--fg); }
.order-card__customer-meta {
  display: flex; align-items: flex-start; gap: 6px;
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.4;
}
.order-card__customer-meta > i {
  color: var(--fg-3);
  margin-top: 1px;
  flex-shrink: 0;
}
.order-card__address {
  /* limita a 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.order-card__items {
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: 8px;
}
.order-card__item {
  display: flex; align-items: baseline; gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
}
.order-card__item-qty {
  font-weight: 700;
  color: var(--brand);
  flex-shrink: 0;
  min-width: 24px;
}
.order-card__item-name {
  color: var(--fg);
}
.order-card__more {
  font-size: 11px;
  color: var(--fg-3);
  font-style: italic;
}

.order-card__total {
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
}
.order-card__total small {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.order-card__total strong {
  font-size: 22px;
  color: var(--brand);
  font-weight: 800;
}
.order-card__pay {
  font-size: 11px;
  background: var(--bg-3);
  color: var(--fg-2);
  padding: 3px 10px;
  border-radius: 999px;
  font-weight: 600;
  margin-left: auto;
}

/* Footer */
.order-card__foot {
  display: flex; align-items: center; gap: 6px;
  flex-wrap: wrap;
  padding: 12px 14px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
.order-card__advance {
  flex: 1;
  min-width: 130px;
}
.order-card__actions-right {
  display: inline-flex;
  margin-left: auto;
  gap: 2px;
}
/* Cards finalizados: status + ícones compactados, sem espaço fantasma no meio */
.order-card[data-status="delivered"] .order-card__foot,
.order-card[data-status="cancelled"] .order-card__foot {
  gap: 8px;
}
.order-card[data-status="delivered"] .order-card__foot > .status-select,
.order-card[data-status="cancelled"] .order-card__foot > .status-select {
  /* status select não puxa pro centro, fica colado à esquerda */
  margin-right: 0;
}
.order-card__actions-right .icon-btn {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: transparent;
  border: 0;
  color: var(--fg-2);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all var(--duration);
}
.order-card__actions-right .icon-btn:hover {
  background: var(--bg);
  color: var(--brand);
}

@media (max-width: 720px) {
  .orders-list { grid-template-columns: 1fr; }
  .order-card__advance { width: 100%; }
}

/* ============================================
   ONBOARDING CHECKLIST — dashboard
============================================ */
.onboarding-card {
  background: linear-gradient(135deg, rgba(255,106,0,0.06), rgba(255,106,0,0.02));
  border: 1px solid rgba(255,106,0,0.2);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 20px;
}
.onboarding-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.onboarding-card__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 4px;
}
.onboarding-card__title > i {
  color: var(--brand);
  font-size: 22px;
}
.onboarding-card__subtitle {
  font-size: 14px;
  color: var(--fg-2);
}

/* Círculo de progresso */
.onboarding-card__progress-circle {
  position: relative;
  width: 60px; height: 60px;
  flex-shrink: 0;
}
.onboarding-card__progress-circle svg {
  width: 60px; height: 60px;
}
.onboarding-circle__fg {
  transition: stroke-dashoffset 0.6s ease;
}
.onboarding-card__progress-circle span {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--brand);
}

/* Lista */
.onboarding-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
}
.onboarding-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  transition: all var(--duration);
}
.onboarding-item:not(.is-done):hover {
  border-color: var(--brand);
  background: var(--bg-2);
  transform: translateY(-1px);
}
.onboarding-item.is-done {
  opacity: 0.65;
  background: rgba(34,197,94,0.04);
  border-color: rgba(34,197,94,0.2);
}
.onboarding-item__icon,
.onboarding-item__check {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}
.onboarding-item__icon {
  background: var(--brand-soft);
  color: var(--brand);
}
.onboarding-item__check {
  background: rgba(34,197,94,0.15);
  color: var(--success);
}
.onboarding-item__info {
  flex: 1;
  min-width: 0;
}
.onboarding-item__info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 2px;
}
.onboarding-item.is-done .onboarding-item__info strong {
  text-decoration: line-through;
  color: var(--fg-3);
  font-weight: 500;
}
.onboarding-item__info small {
  font-size: 11px;
  color: var(--fg-3);
  line-height: 1.4;
}
.onboarding-item__cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--brand);
  white-space: nowrap;
}

/* ============================================
   PAUSAR LOJA — botão na topbar
============================================ */
.store-pause-wrap {
  position: relative;
}
.store-pause-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 180px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
  z-index: 100;
  display: flex; flex-direction: column;
  gap: 2px;
}
.store-pause-menu[hidden] {
  display: none !important;
}
.store-pause-menu strong {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px 4px;
}
.store-pause-menu button {
  background: transparent;
  border: 0;
  padding: 8px 10px;
  text-align: left;
  font-size: 13px;
  color: var(--fg);
  cursor: pointer;
  border-radius: 6px;
  font-family: inherit;
  transition: background var(--duration);
}
.store-pause-menu button:hover {
  background: var(--bg-2);
  color: var(--brand);
}

.store-pause-bar {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(245,158,11,0.12);
  border: 1px solid rgba(245,158,11,0.3);
  color: #f59e0b;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}
.store-pause-bar > i {
  font-size: 16px;
}
.store-pause-bar strong {
  font-weight: 800;
}
.store-pause-bar .btn {
  padding: 4px 10px;
  font-size: 11px;
  margin-left: 4px;
}

.store-status--paused {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.3);
}
.store-status--paused .store-status__dot {
  background: #f59e0b;
  animation: pulseDot 1.5s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.8); }
}

/* ============================================
   AUTO-PRINT TOGGLE
============================================ */
.autoprint-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-1);
  user-select: none;
  font-size: 12px;
  color: var(--fg-2);
  transition: all var(--duration);
}
.autoprint-toggle:hover {
  border-color: var(--brand);
  color: var(--fg);
}
.autoprint-toggle input { display: none; }
.autoprint-toggle__slider {
  width: 32px; height: 18px;
  background: var(--bg-3);
  border-radius: 999px;
  position: relative;
  flex-shrink: 0;
  transition: background var(--duration);
}
.autoprint-toggle__slider::before {
  content: '';
  position: absolute;
  width: 14px; height: 14px;
  background: white;
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: transform var(--duration);
}
.autoprint-toggle input:checked + .autoprint-toggle__slider {
  background: var(--brand);
}
.autoprint-toggle input:checked + .autoprint-toggle__slider::before {
  transform: translateX(14px);
}
.autoprint-toggle__label {
  display: inline-flex; align-items: center; gap: 4px;
  font-weight: 600;
  white-space: nowrap;
}

/* Variante link (aponta pra página do Print Agent) */
.autoprint-toggle--link {
  padding: 6px 14px;
  color: var(--fg-2);
}
.autoprint-toggle--link:hover {
  background: var(--bg-2);
  border-color: var(--brand);
  color: var(--brand);
}

/* Dashboard - grid 2 charts lado a lado */
.dashboard-charts-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
@media (max-width: 900px) {
  .dashboard-charts-row {
    grid-template-columns: 1fr;
  }
}

/* Push notification button states */
#pushNotifBtn.is-active {
  color: var(--brand);
}
#pushNotifBtn.is-active i {
  animation: bellRing 2.5s ease-in-out infinite;
}
@keyframes bellRing {
  0%, 90%, 100% { transform: rotate(0); }
  92%, 96% { transform: rotate(-12deg); }
  94%, 98% { transform: rotate(12deg); }
}
#pushNotifBtn.is-denied {
  color: var(--fg-3);
  opacity: 0.5;
  cursor: not-allowed;
}

/* ============================================
   AVALIAÇÕES — público
============================================ */
.review-stars-input {
  display: flex; gap: 8px; justify-content: center;
  margin: 8px 0 4px;
}
.review-star {
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--bg-3);
  transition: all 0.15s;
  padding: 4px;
  font-size: 36px;
  line-height: 1;
}
.review-star.is-on {
  color: #fbbf24;
  transform: scale(1.1);
}
.review-star:hover { transform: scale(1.15); }

.review-rating-label {
  text-align: center;
  font-size: 14px;
  color: var(--fg-3);
  margin-top: 4px;
  min-height: 18px;
  transition: color 0.2s;
}
.review-rating-label.is-active {
  color: var(--fg);
  font-weight: 600;
}

.review-stars-display {
  display: flex; gap: 4px; justify-content: center;
}
.review-stars-display i {
  font-size: 28px;
  color: var(--bg-3);
}
.review-stars-display i.is-on {
  color: #fbbf24;
}

.review-success {
  text-align: center;
  padding: 16px 0;
}
.review-success__icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
  color: white;
  font-size: 36px;
}

/* ============================================
   AVALIAÇÕES NO PAINEL E NA VITRINE
============================================ */
/* Stats no painel */
.reviews-stats {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .reviews-stats { grid-template-columns: 1fr; gap: 14px; }
}
.reviews-stats__big { text-align: center; padding: 6px 12px; border-right: 1px solid var(--border); }
@media (max-width: 600px) { .reviews-stats__big { border-right: 0; border-bottom: 1px solid var(--border); padding-bottom: 16px; } }
.reviews-stats__avg { font-size: 56px; font-weight: 800; line-height: 1; color: var(--brand); margin-bottom: 6px; }
.reviews-stats__stars { display: flex; gap: 3px; justify-content: center; font-size: 18px; color: var(--bg-3); }
.reviews-stats__stars .is-on { color: #fbbf24; }
.reviews-stats__big small { display: block; margin-top: 8px; color: var(--fg-3); font-size: 13px; }

.reviews-stats__bars { display: flex; flex-direction: column; gap: 6px; }
.reviews-stats__bar-row { display: flex; align-items: center; gap: 10px; }
.reviews-stats__bar-label { font-size: 12px; color: var(--fg-2); width: 32px; flex-shrink: 0; }
.reviews-stats__bar { flex: 1; height: 8px; background: var(--bg-2); border-radius: 4px; overflow: hidden; }
.reviews-stats__bar-fill { height: 100%; background: linear-gradient(90deg, var(--brand), #ff9d4a); transition: width 0.5s; }
.reviews-stats__bar-count { font-size: 12px; color: var(--fg-3); width: 32px; text-align: right; flex-shrink: 0; }

/* Cards de review no painel */
.reviews-list { display: flex; flex-direction: column; gap: 12px; }
.review-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.review-card.is-hidden { opacity: 0.5; }
.review-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 6px;
}
.review-card__customer strong { display: block; }
.review-card__customer small { font-size: 12px; color: var(--fg-3); }
.review-card__stars { display: flex; gap: 2px; font-size: 16px; color: var(--bg-3); flex-shrink: 0; }
.review-card__stars .is-on { color: #fbbf24; }
.review-card__comment {
  margin-top: 6px;
  font-size: 14px; color: var(--fg);
  line-height: 1.5;
}
.review-card__reply {
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  border-radius: 6px;
}
.review-card__reply strong { font-size: 12px; color: var(--brand); }
.review-card__reply small { color: var(--fg-3); font-size: 11px; margin-left: 8px; }
.review-card__reply p { margin-top: 4px; font-size: 13px; color: var(--fg-2); line-height: 1.5; }
.review-card__actions { margin-top: 10px; display: flex; gap: 6px; flex-wrap: wrap; }
.review-card__reply-form { margin-top: 10px; }

/* Vitrine */
.store-reviews-section { padding: 30px 0; border-top: 1px solid var(--border); margin-top: 20px; }
.store-reviews-section__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.store-reviews-section__avg {
  display: flex; align-items: center; gap: 10px;
}
.store-reviews-section__avg strong {
  font-size: 28px; font-weight: 800; color: var(--brand);
}
.store-reviews-section__avg small { font-size: 12px; color: var(--fg-3); }

.store-reviews-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}
.store-review {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 14px;
}
.store-review__head {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-bottom: 4px;
}
.store-review__head strong { font-size: 13px; }
.store-review p { margin-top: 6px; font-size: 13px; line-height: 1.5; color: var(--fg-2); }
.store-review__reply {
  margin-top: 8px;
  padding: 8px 10px;
  background: var(--bg-2);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  font-size: 12px;
}
.store-review__reply strong { color: var(--brand); font-size: 11px; }
.store-review__reply p { margin-top: 2px; color: var(--fg-2); }

/* ============================================
   FIDELIDADE — painel
============================================ */
.loyalty-hero {
  position: relative;
  background: linear-gradient(135deg, #ff6a00 0%, #ff9d4a 100%);
  border-radius: 18px;
  padding: 28px;
  margin-bottom: 18px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  overflow: hidden;
}
.loyalty-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 70%);
  border-radius: 50%;
}
.loyalty-hero__content { position: relative; z-index: 1; max-width: 540px; }
.loyalty-hero__badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,0.2);
  color: white;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.loyalty-hero h2 {
  font-size: 24px; font-weight: 800; color: white;
  line-height: 1.15; margin-bottom: 6px;
}
.loyalty-hero p { font-size: 14px; color: rgba(255,255,255,0.92); line-height: 1.5; }
.loyalty-hero__visual {
  font-size: 100px; color: rgba(255,255,255,0.55);
  flex-shrink: 0;
}
@media (max-width: 700px) {
  .loyalty-hero { padding: 22px; flex-direction: column; align-items: flex-start; }
  .loyalty-hero h2 { font-size: 20px; }
  .loyalty-hero__visual { display: none; }
}

.loyalty-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.loyalty-stat-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.loyalty-stat-card__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.loyalty-stat-card--success .loyalty-stat-card__icon { background: rgba(34,197,94,0.12); color: var(--success); }
.loyalty-stat-card--warning .loyalty-stat-card__icon { background: rgba(245,158,11,0.12); color: #f59e0b; }
.loyalty-stat-card__info small {
  display: block; font-size: 11px; color: var(--fg-3);
  text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600;
}
.loyalty-stat-card__info strong { font-size: 20px; font-weight: 800; color: var(--fg); }

.loyalty-how { display: flex; flex-direction: column; gap: 14px; }
.loyalty-how__step { display: flex; align-items: flex-start; gap: 12px; }
.loyalty-how__num {
  width: 32px; height: 32px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  flex-shrink: 0;
}
.loyalty-how__step strong { display: block; font-size: 14px; margin-bottom: 2px; }
.loyalty-how__step p { font-size: 13px; color: var(--fg-2); line-height: 1.5; }

/* ============================================
   PRODUTO — prova social
============================================ */
.product-modal__social-proof {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,106,0,0.1);
  color: var(--brand);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid rgba(255,106,0,0.2);
}
.product-modal__social-proof i {
  font-size: 14px;
}

.badge--hot {
  background: linear-gradient(135deg, #ff6a00, #ff3300);
  color: white;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 800;
  font-size: 10px;
  padding: 3px 8px;
}
.badge--hot i { font-size: 12px; animation: flicker 1.5s ease-in-out infinite; }
@keyframes flicker {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* ============================================
   REVIEW REPORTS — denúncias de avaliação
============================================ */
.badge--report-pending {
  background: rgba(245,158,11,0.15);
  color: #f59e0b;
  border: 1px solid rgba(245,158,11,0.3);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge--report-rejected {
  background: rgba(148,163,184,0.15);
  color: #94a3b8;
  border: 1px solid rgba(148,163,184,0.3);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}
.badge--report-approved {
  background: rgba(34,197,94,0.12);
  color: var(--success);
  border: 1px solid rgba(34,197,94,0.3);
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.report-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 12px;
}
.report-card--pending { border-left: 4px solid #f59e0b; }
.report-card--approved { border-left: 4px solid var(--success); opacity: 0.85; }
.report-card--rejected { border-left: 4px solid #94a3b8; opacity: 0.85; }

.report-card__head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 12px; margin-bottom: 14px;
}
.report-card__head strong { font-size: 15px; }

.report-card__motivo {
  background: var(--bg-2);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 13px;
}
.report-card__motivo > strong { color: var(--brand); }
.report-card__motivo span { margin-left: 6px; }

.report-card__details {
  background: var(--bg-2);
  padding: 10px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 13px;
}
.report-card__details strong { display: block; margin-bottom: 4px; color: var(--fg-2); font-size: 12px; }
.report-card__details p { color: var(--fg); line-height: 1.5; }

.report-card__review {
  background: rgba(255,255,255,0.02);
  border: 1px dashed var(--border);
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 12px;
}
.report-card__review-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
  flex-wrap: wrap;
}
.report-card__review-comment {
  font-style: italic;
  color: var(--fg);
  font-size: 13px;
  line-height: 1.5;
}

.report-card__decision {
  border-top: 1px solid var(--border);
  padding-top: 12px;
  margin-top: 8px;
}

.report-card__admin-notes {
  background: var(--bg-2);
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
}
.report-card__admin-notes strong { color: var(--brand); display: block; margin-bottom: 4px; }
.report-card__admin-notes p { color: var(--fg-2); margin-bottom: 4px; }
.report-card__admin-notes small { color: var(--fg-3); font-size: 11px; }

/* ============================================
   REVIEWS MODAL — vitrine
============================================ */
.store-meta-item--clickable {
  background: transparent;
  border: 1px solid transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 4px 10px;
  border-radius: 999px;
  transition: all var(--duration);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.store-meta-item--clickable:hover {
  background: var(--bg-2);
  border-color: var(--border);
}
.store-meta-item--clickable:hover .ph-caret-right {
  transform: translateX(2px);
}
.store-meta-item--clickable .ph-caret-right {
  transition: transform var(--duration);
}

.reviews-modal {
  background: var(--bg-1);
  border-radius: 16px;
  width: min(640px, 100%);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  margin: auto;
}
.reviews-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}
.reviews-modal__header h2 {
  font-size: 18px;
  font-weight: 800;
}
.reviews-modal__body {
  overflow-y: auto;
  padding: 20px 24px;
  flex: 1;
}

.reviews-modal__stats {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
@media (max-width: 600px) {
  .reviews-modal__stats { grid-template-columns: 1fr; gap: 16px; }
}
.reviews-modal__big {
  text-align: center;
  padding: 6px 0;
}
.reviews-modal__avg {
  font-size: 56px;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  margin-bottom: 8px;
}
.reviews-modal__big .review-stars-display {
  justify-content: center;
  font-size: 18px;
}
.reviews-modal__big small {
  display: block;
  margin-top: 8px;
  color: var(--fg-3);
  font-size: 13px;
}

.reviews-modal__bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.reviews-modal__bar-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.reviews-modal__bar-label {
  font-size: 12px;
  color: var(--fg-2);
  width: 38px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}
.reviews-modal__bar-label .ph-star { color: #fbbf24; font-size: 11px; }
.reviews-modal__bar {
  flex: 1;
  height: 8px;
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
}
.reviews-modal__bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand), #ff9d4a);
  transition: width 0.5s;
}
.reviews-modal__bar-count {
  font-size: 12px;
  color: var(--fg-3);
  width: 32px;
  text-align: right;
  flex-shrink: 0;
}

.reviews-modal__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-review {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 14px;
}
.modal-review__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.modal-review__head strong { display: block; font-size: 13px; }
.modal-review__head small { font-size: 11px; color: var(--fg-3); }
.modal-review__head .review-stars-display { font-size: 14px; flex-shrink: 0; }
.modal-review__comment {
  font-size: 13px;
  line-height: 1.5;
  color: var(--fg);
  margin-top: 4px;
}
.modal-review__reply {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(255,106,0,0.06);
  border-left: 3px solid var(--brand);
  border-radius: 4px;
  font-size: 12px;
}
.modal-review__reply strong { color: var(--brand); font-size: 11px; }
.modal-review__reply p { margin-top: 2px; color: var(--fg-2); line-height: 1.45; }

/* ============================================
   MODAL HORÁRIOS — vitrine pública
============================================ */
.hours-list-public {
  display: flex; flex-direction: column;
  gap: 2px;
}
.hours-row {
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  transition: background var(--duration);
}
.hours-row:hover { background: var(--bg-2); }
.hours-row.is-today {
  background: rgba(255,106,0,0.08);
  border: 1px solid rgba(255,106,0,0.25);
}
.hours-row__day {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
}
.hours-row.is-today .hours-row__day { color: var(--brand); }
.hours-row__today {
  background: var(--brand);
  color: white;
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hours-row__times {
  display: flex; flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.hours-row__interval {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
  font-family: monospace;
}
.hours-row__closed {
  font-size: 13px;
  color: var(--fg-3);
  font-style: italic;
}

/* ============================================
   MODAL SOBRE — vitrine
============================================ */
.about-section__description {
  background: var(--bg-2);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 16px;
  font-style: italic;
}
.about-row {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.about-row:last-of-type { border-bottom: 0; }
.about-row > i {
  width: 36px; height: 36px;
  background: var(--brand-soft);
  color: var(--brand);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.about-row > div {
  flex: 1;
  min-width: 0;
}
.about-row small {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 3px;
}
.about-row strong {
  display: block;
  font-size: 14px;
  color: var(--fg);
  font-weight: 600;
  line-height: 1.45;
}
.about-row__link {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 600;
}
.about-row__link:hover { text-decoration: underline; }

.about-payments {
  display: flex; flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}
.about-payment-tag {
  display: inline-flex; align-items: center; gap: 4px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
}

.about-footer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  text-align: center;
}
.about-footer small { color: var(--fg-3); font-size: 12px; }

/* ============================================
   COMPARTILHAR LOJA
============================================ */
.store-share-btn {
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--fg-2);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin-left: auto;
  box-shadow: var(--shadow-sm);
}
.store-share-btn:hover {
  background: rgba(255, 106, 0, 0.08);
  border-color: var(--brand);
  color: var(--brand);
  transform: translateY(-1px);
}

.share-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
@media (max-width: 480px) {
  .share-options { grid-template-columns: 1fr; }
}
.share-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  padding: 18px 12px;
  background: var(--bg-2);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  text-decoration: none;
  color: var(--fg);
  transition: all var(--duration);
  font-family: inherit;
}
.share-option:hover {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-2px);
}
.share-option > i {
  font-size: 28px;
  color: var(--brand);
  margin-bottom: 4px;
}
.share-option--whatsapp > i { color: #25d366; }
.share-option--telegram > i { color: #0088cc; }
.share-option strong { font-size: 14px; font-weight: 700; }
.share-option small { font-size: 11px; color: var(--fg-3); line-height: 1.3; }
.share-option--copied {
  border-color: var(--success);
  background: rgba(34,197,94,0.1);
}
.share-option--copied small { color: var(--success); font-weight: 700; }

.share-link-preview {
  background: var(--bg-2);
  padding: 12px 14px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.share-link-preview small {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.share-link-preview code {
  font-size: 12px;
  color: var(--brand);
  word-break: break-all;
  font-family: monospace;
}

/* ============================================
   PWA — Install banner
============================================ */
.pwa-install-banner {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  max-width: 460px;
  margin: 0 auto;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  z-index: 1000;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}
.pwa-install-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.pwa-install-banner__icon {
  width: 44px; height: 44px;
  background: var(--brand-grad);
  color: white;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.pwa-install-banner__text { flex: 1; min-width: 0; }
.pwa-install-banner__text strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.pwa-install-banner__text small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.35;
}
.pwa-install-banner__btn {
  background: var(--brand);
  color: white;
  border: 0;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
}
.pwa-install-banner__btn:hover { background: var(--brand-2); }
.pwa-install-banner__close {
  background: transparent;
  border: 0;
  color: var(--fg-3);
  cursor: pointer;
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 6px;
  flex-shrink: 0;
}
.pwa-install-banner__close:hover { background: var(--bg-2); color: var(--fg); }

.pwa-install-banner--ios .pwa-install-banner__text small {
  font-size: 11px;
}
.pwa-install-banner--ios .pwa-install-banner__text small i {
  vertical-align: middle;
  font-size: 13px;
  color: var(--brand);
}

/* ============================================
   QR CODE DESIGNS — painel
============================================ */
.qr-design-tabs {
  display: flex;
  gap: 6px;
  background: var(--bg-1);
  padding: 6px;
  border-radius: 12px;
  margin-bottom: 18px;
  overflow-x: auto;
}
.qr-design-tab {
  flex: 1;
  min-width: max-content;
  background: transparent;
  border: 0;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all var(--duration);
}
.qr-design-tab:hover { background: var(--bg-2); color: var(--fg); }
.qr-design-tab.is-active {
  background: var(--brand);
  color: white;
}

.qr-design-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}
.qr-design-area {
  display: flex;
  align-items: center;
  justify-content: center;
}
.qr-design-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Canvas — sempre fundo claro pra facilitar leitura */
.qr-canvas {
  width: 380px;
  max-width: 100%;
  background: white;
  color: #1a1a1a;
  font-family: 'Inter', system-ui, sans-serif;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  overflow: hidden;
}
.qr-canvas canvas {
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}
.qr-canvas__brand {
  font-size: 10px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  padding-bottom: 12px;
}
.qr-canvas__brand--light {
  color: rgba(255,255,255,0.7);
}

/* Design 1: Simples */
.qr-canvas--simple {
  padding: 28px 20px 12px;
}
.qr-canvas--simple .qr-canvas__title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 18px;
}
.qr-canvas--simple .qr-canvas__qr {
  background: white;
  display: inline-block;
  padding: 12px;
  border: 2px solid #f0f0f0;
  border-radius: 8px;
  margin-bottom: 16px;
}
.qr-canvas--simple .qr-canvas__cta {
  font-size: 15px;
  font-weight: 600;
  color: #ff6a00;
  margin-bottom: 14px;
}

/* Design 2: Mesa */
.qr-canvas--table {
  padding: 28px 20px 12px;
  background: linear-gradient(180deg, #fff7f0 0%, #ffffff 50%);
  border: 3px solid #ff6a00;
}
.qr-canvas--table .qr-canvas__icon {
  width: 60px; height: 60px;
  background: #ff6a00;
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 12px;
  font-size: 30px;
}
.qr-canvas--table .qr-canvas__title {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.qr-canvas--table .qr-canvas__subtitle {
  font-size: 13px;
  color: #ff6a00;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  margin-bottom: 18px;
}
.qr-canvas--table .qr-canvas__qr {
  background: white;
  display: inline-block;
  padding: 14px;
  border: 2px solid #ff6a00;
  border-radius: 12px;
  margin-bottom: 18px;
}
.qr-canvas--table .qr-canvas__cta {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
  line-height: 1.3;
}
.qr-canvas--table .qr-canvas__steps {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #555;
  margin-bottom: 18px;
  text-align: left;
  padding: 12px 16px;
  background: rgba(255,106,0,0.05);
  border-radius: 8px;
}

/* Design 4: Embalagem */
.qr-canvas--package {
  padding: 24px 20px 12px;
  background: linear-gradient(135deg, #fff5e8 0%, #ffe4cc 100%);
  border: 2px dashed #ff6a00;
}
.qr-canvas--package .qr-canvas__pkg-icon {
  font-size: 36px;
  color: #e63946;
  margin-bottom: 6px;
  animation: pulse-heart 1.5s ease-in-out infinite;
}
@keyframes pulse-heart {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}
.qr-canvas--package .qr-canvas__pkg-title {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 14px;
}
.qr-canvas--package .qr-canvas__qr {
  background: white;
  display: inline-block;
  padding: 12px;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.qr-canvas--package .qr-canvas__pkg-cta {
  font-size: 16px;
  font-weight: 700;
  color: #ff6a00;
  margin-bottom: 14px;
}

/* QR — garante que o SVG fica dentro do container */
.qr-canvas svg, .qr-canvas__qr svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================
   SUPORTE — v2 redesign
============================================ */
.support-hero-v2 {
  position: relative;
  background: linear-gradient(135deg, #2a1505 0%, #1a0d04 100%);
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 18px;
  padding: 36px 24px 24px;
  margin-bottom: 24px;
  text-align: center;
  overflow: hidden;
}
.support-hero-v2::before {
  content: '';
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse at center, rgba(255, 106, 0, 0.35), transparent 60%);
  pointer-events: none;
}
[data-theme="light"] .support-hero-v2 {
  background: linear-gradient(135deg, #fff5e8 0%, #ffe4cc 100%);
  border-color: rgba(255, 106, 0, 0.3);
}

.support-hero-v2__icon {
  position: relative;
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  border-radius: 16px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
}
.support-hero-v2 h1 {
  position: relative;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--fg);
  letter-spacing: -0.02em;
}
.support-hero-v2 > p {
  position: relative;
  font-size: 14px;
  color: var(--fg-2);
  margin: 0 auto 18px;
  max-width: 480px;
}

.support-hero-v2__search {
  position: relative;
  max-width: 520px;
  margin: 0 auto;
}
.support-hero-v2__search > i {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--fg-3);
  z-index: 2;
}
.support-hero-v2__search input {
  width: 100%;
  height: 50px;
  padding: 0 60px 0 50px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--bg-1);
  color: var(--fg);
  font-size: 15px;
  font-family: inherit;
  transition: all 0.15s;
}
.support-hero-v2__search input:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.15);
}
.support-hero-v2__kbd {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--fg-3);
}

.support-hero-v2__chips {
  position: relative;
  display: flex !important;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
  font-size: 12px;
  color: var(--fg-3);
  align-items: center;
}
.support-hero-v2__chips > span {
  margin-right: 4px;
}
.support-chip {
  background: var(--bg-1);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.support-chip:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.support-search-results-v2 {
  position: relative;
  max-width: 520px;
  margin: 12px auto 0;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: left;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.support-search-result-v2 {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  text-decoration: none !important;
  color: var(--fg) !important;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.support-search-result-v2:last-child { border-bottom: 0; }
.support-search-result-v2:hover { background: var(--bg-2); }
.support-search-result-v2 > i:first-child {
  color: var(--brand);
  font-size: 18px;
  flex-shrink: 0;
}
.support-search-result-v2 > div { flex: 1; min-width: 0; }
.support-search-result-v2 strong {
  display: block;
  font-size: 13px;
  margin-bottom: 2px;
  color: var(--fg);
}
.support-search-result-v2 small {
  color: var(--fg-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.support-search-result-v2 > i:last-child {
  color: var(--fg-3);
  font-size: 14px;
}
.support-search-empty {
  padding: 18px;
  color: var(--fg-2);
  text-align: center;
  font-size: 13px;
}

/* Layout 2 colunas */
.support-layout {
  display: grid !important;
  grid-template-columns: 1fr 320px;
  gap: 22px;
  align-items: flex-start;
}
@media (max-width: 1100px) {
  .support-layout { grid-template-columns: 1fr; }
}

.support-section-title {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--fg);
}
.support-section-title > span {
  display: flex !important;
  align-items: center;
  gap: 6px;
}
.support-section-title > span > i { color: var(--brand); }
.support-section-title > small {
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 500;
}

/* Cards de categoria — usando <details> nativo */
.support-cats-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 10px;
  margin-bottom: 24px;
}
.support-cat-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.15s;
}
.support-cat-card:hover { border-color: rgba(255, 106, 0, 0.3); }
.support-cat-card[open] {
  border-color: var(--brand);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.04), var(--bg-1) 50%);
}

.support-cat-card__summary {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}
.support-cat-card__summary::-webkit-details-marker { display: none; }
.support-cat-card__summary::marker { content: ''; }

.support-cat-card__icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 106, 0, 0.12);
  color: var(--brand);
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.support-cat-card[open] .support-cat-card__icon {
  background: var(--brand);
  color: #fff;
}
.support-cat-card__info {
  flex: 1;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  gap: 1px;
}
.support-cat-card__info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.support-cat-card__info small {
  font-size: 11px;
  color: var(--fg-3);
}
.support-cat-card__chevron {
  color: var(--fg-3);
  font-size: 14px;
  transition: transform 0.2s;
}
.support-cat-card[open] .support-cat-card__chevron {
  transform: rotate(180deg);
  color: var(--brand);
}

.support-cat-card__body {
  padding: 0 8px 8px;
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 6px;
}

.support-article-link {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  text-decoration: none !important;
  color: var(--fg-2) !important;
  font-size: 13px;
  transition: all 0.15s;
}
.support-article-link:hover {
  background: var(--bg-2);
  color: var(--fg) !important;
}
.support-article-link > i:first-child {
  color: var(--fg-3);
  font-size: 14px;
  flex-shrink: 0;
}
.support-article-link:hover > i:first-child { color: var(--brand); }
.support-article-link > span { flex: 1; min-width: 0; }
.support-article-link__pop {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ff4444;
  background: rgba(255, 68, 68, 0.12);
  padding: 2px 7px;
  border-radius: 999px;
}
.support-article-link__rating {
  font-size: 11px;
  color: var(--success);
  font-weight: 600;
}
.support-article-link__arrow {
  color: var(--fg-3);
  font-size: 12px;
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.15s;
}
.support-article-link:hover .support-article-link__arrow {
  opacity: 1;
  transform: translateX(0);
  color: var(--brand);
}

/* CTA de abrir ticket */
.support-cta-ticket {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}
.support-cta-ticket__head {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), transparent);
}
.support-cta-ticket__head h2 {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--fg);
}
.support-cta-ticket__head h2 > i { color: var(--brand); }
.support-cta-ticket__head p {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0;
}
.support-ticket-form {
  padding: 18px 20px 20px;
}

/* Sidebar direita */
.support-layout__side {
  display: flex !important;
  flex-direction: column;
  gap: 14px;
}

.support-side-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.support-side-card--tip {
  background: linear-gradient(135deg, rgba(255, 193, 7, 0.06), rgba(255, 152, 0, 0.04));
  border-color: rgba(255, 193, 7, 0.25);
}

.support-side-card__head {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
}
.support-side-card--tip .support-side-card__head {
  background: rgba(255, 193, 7, 0.08);
}
.support-side-card__head h3 {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin: 0;
  color: var(--fg);
}
.support-side-card__head h3 > i { color: var(--brand); }
.support-side-card--tip .support-side-card__head h3 > i { color: #f59e0b; }
.support-side-card__count {
  font-size: 11px;
  font-weight: 700;
  background: var(--brand);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
  min-width: 22px;
  text-align: center;
}
.support-side-card__body {
  padding: 14px 16px;
}
.support-side-card__body--flush { padding: 0; }
.support-side-card__body p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-2);
  margin: 0;
}

.support-ticket-row {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  text-decoration: none !important;
  color: var(--fg) !important;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.support-ticket-row:last-child { border-bottom: 0; }
.support-ticket-row:hover { background: var(--bg-2); }
.support-ticket-row__main {
  flex: 1;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}
.support-ticket-row__main strong {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.support-ticket-row__main small {
  font-size: 11px;
  color: var(--fg-3);
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.support-ticket-row > i {
  color: var(--fg-3);
  font-size: 14px;
  flex-shrink: 0;
}

.support-sla-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
.support-sla-list li {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--fg-2);
  list-style: none !important;
}
.support-sla-list li::marker { content: none !important; }
.support-sla-list strong { color: var(--fg); font-weight: 700; }

/* Conteúdo do artigo (página individual) */
.support-article-content {
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg);
}
.support-article-content p { margin-bottom: 14px; }
.support-article-content ul, .support-article-content ol {
  padding-left: 22px;
  margin-bottom: 14px;
}
.support-article-content li { margin-bottom: 6px; }
.support-article-content strong { color: var(--brand); font-weight: 600; }

.support-rating {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-top: 14px;
  text-align: center;
}
.support-rating > strong {
  display: block;
  margin-bottom: 12px;
  font-size: 14px;
}
.support-rating__buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
}

/* Tickets — listas e detalhes */
.ticket-list {
  display: flex !important;
  flex-direction: column;
}
.ticket-item {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  text-decoration: none !important;
  color: var(--fg) !important;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.ticket-item:last-child { border-bottom: 0; }
.ticket-item:hover { background: var(--bg-2); }
.ticket-item__main { flex: 1; min-width: 0; }
.ticket-item__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.ticket-item__head strong { font-size: 14px; font-weight: 700; }
.ticket-item__main small { font-size: 12px; color: var(--fg-3); }
.ticket-item--admin {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
}
.ticket-item--admin:hover { border-color: var(--brand); }
.ticket-item--priority-urgent { border-left: 4px solid var(--danger); }
.ticket-item--priority-high { border-left: 4px solid #f59e0b; }

.ticket-status {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ticket-status--open { background: rgba(255,106,0,0.12); color: var(--brand); }
.ticket-status--in_progress { background: rgba(59,130,246,0.12); color: #3b82f6; }
.ticket-status--waiting_user { background: rgba(245,158,11,0.12); color: #f59e0b; }
.ticket-status--resolved { background: rgba(34,197,94,0.12); color: var(--success); }
.ticket-status--closed { background: rgba(148,163,184,0.15); color: #94a3b8; }

.ticket-priority {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.ticket-priority--urgent {
  background: rgba(239,68,68,0.15);
  color: var(--danger);
  animation: pulse-urgent 1.5s infinite;
}
@keyframes pulse-urgent {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.ticket-priority--high { background: rgba(245,158,11,0.15); color: #f59e0b; }
.ticket-priority--normal, .ticket-priority--low { background: rgba(148,163,184,0.1); color: #94a3b8; }

.ticket-header {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.ticket-header__id {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  margin-bottom: 4px;
}
.ticket-header__subject {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}
.ticket-header__meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--fg-3);
}
.ticket-header__status {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  flex-shrink: 0;
}

.ticket-conversation {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}
.ticket-message {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ticket-message__avatar {
  width: 36px; height: 36px;
  background: var(--bg-2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--fg-2);
  flex-shrink: 0;
}
.ticket-message--admin .ticket-message__avatar {
  background: var(--brand);
  color: white;
}
.ticket-message__body {
  flex: 1;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  min-width: 0;
}
.ticket-message--admin .ticket-message__body {
  background: rgba(255, 106, 0, 0.08);
  border-color: rgba(255,106,0,0.2);
}
.ticket-message__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.ticket-message__head strong { font-size: 13px; }
.ticket-message__head small { font-size: 11px; color: var(--fg-3); }
.ticket-message__text {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg);
  word-wrap: break-word;
}

/* ============================================
   PDV MESA — comandas
   v2: usa position fixed pra evitar conflitos com flex/grid do panel-main
============================================ */
.panel-content--pdv-mesa {
  padding: 0 !important;
  max-width: none !important;
  margin: 0 !important;
}

/* Layout: 3 colunas absolutas, abaixo da topbar (64px) e à direita do sidebar (var --sidebar-w em desktop) */
.pdv-tables-layout {
  position: fixed;
  top: var(--header-h, 64px);
  left: 0;
  right: 0;
  bottom: 0;
  display: grid !important;
  grid-template-columns: 280px 1fr 360px;
  background: var(--bg);
  z-index: 1;
  overflow: hidden;
}
@media (min-width: 992px) {
  .pdv-tables-layout {
    left: var(--sidebar-w);
  }
}
@media (max-width: 1100px) {
  .pdv-tables-layout { grid-template-columns: 240px 1fr 320px; }
}
@media (max-width: 900px) {
  .pdv-tables-layout {
    grid-template-columns: 200px 1fr;
  }
  .pdv-tables-comanda { display: none !important; }
}

/* Sidebar de mesas */
.pdv-tables-sidebar {
  background: var(--bg-1);
  border-right: 1px solid var(--border);
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.pdv-tables-sidebar__head {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.pdv-tables-sidebar__head h2 {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
}
.pdv-tables-sidebar__head h2 i { color: var(--brand); }

.pdv-tables-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
  min-height: 0;
}
.pdv-table-card {
  display: block !important;
  width: 100%;
  text-align: left;
  background: var(--bg-2);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
  color: var(--fg);
}
.pdv-table-card:hover {
  border-color: var(--border);
  background: var(--bg-3, var(--bg-2));
}
.pdv-table-card.is-active {
  border-color: var(--brand);
  background: rgba(255, 106, 0, 0.08);
}
.pdv-table-card__num {
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 6px;
}
.pdv-table-card.is-active .pdv-table-card__num { color: var(--brand); }
.pdv-table-card__info {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--fg-2);
  margin-bottom: 4px;
}
.pdv-table-card__info strong { color: var(--brand); font-size: 14px; font-weight: 700; }
.pdv-table-card__info i { font-size: 12px; }
.pdv-table-card__time {
  font-size: 11px;
  color: var(--fg-3);
  display: block;
}

/* Menu central (cardápio) */
.pdv-tables-menu {
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  background: var(--bg);
  min-height: 0;
}
.pdv-tables-menu[hidden] { display: none !important; }

.pdv-tables-menu__head {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.pdv-tables-menu__head input {
  height: 40px;
  font-size: 14px;
}

.pdv-tables-menu__categories {
  display: flex !important;
  gap: 6px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  background: var(--bg-1);
  flex-shrink: 0;
}
.pdv-cat-btn {
  background: var(--bg-2);
  border: 0;
  padding: 6px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  color: var(--fg-2);
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  transition: all 0.15s;
  white-space: nowrap;
}
.pdv-cat-btn:hover { background: var(--bg-3, var(--bg-2)); color: var(--fg); }
.pdv-cat-btn.is-active {
  background: var(--brand);
  color: white;
}

.pdv-tables-menu__products {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  align-content: start;
  min-height: 0;
}
.pdv-product-card {
  background: var(--bg-1);
  border: 2px solid transparent;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  text-align: center;
  font-family: inherit;
  transition: all 0.15s;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
  color: var(--fg);
}
.pdv-product-card[hidden] { display: none !important; }
.pdv-product-card:hover {
  border-color: var(--brand);
  transform: translateY(-2px);
}
.pdv-product-card:active { transform: scale(0.97); }
.pdv-product-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}
.pdv-product-card__img-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--fg-3);
}
.pdv-product-card__name {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.pdv-product-card__price {
  font-size: 13px;
  font-weight: 700;
  color: var(--brand);
}

/* Comanda lateral direita */
.pdv-tables-comanda {
  background: var(--bg-1);
  border-left: 1px solid var(--border);
  display: flex !important;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}
.pdv-tables-comanda[hidden] { display: none !important; }

.pdv-tables-comanda__head {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.pdv-tables-comanda__head strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
}
.pdv-tables-comanda__head small {
  font-size: 11px;
  color: var(--fg-3);
}

.pdv-tables-comanda__items {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  min-height: 0;
}

.comanda-item {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
  background: var(--bg-2);
  border-radius: 10px;
  margin-bottom: 8px;
  border: 1px solid var(--border);
}
.comanda-item__main { min-width: 0; }
.comanda-item__head {
  display: flex !important;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 2px;
}
.comanda-item__head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  line-height: 1.3;
}
.comanda-item__head span {
  font-size: 14px;
  font-weight: 800;
  color: var(--brand);
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.comanda-item__extras small {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
}
.comanda-item__notes {
  font-size: 11px;
  color: var(--fg-3);
  font-style: italic;
}

.comanda-item__qty {
  display: flex !important;
  flex-direction: row !important;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  padding-top: 6px;
  border-top: 1px dashed rgba(255, 255, 255, 0.06);
  margin-top: 2px;
}
.comanda-item__qty .qty-btn {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 700;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.15s;
  padding: 0;
  line-height: 1;
}
.comanda-item__qty .qty-btn:hover {
  border-color: var(--brand);
  color: var(--brand);
  background: rgba(255, 106, 0, 0.06);
}
.comanda-item__qty .qty-btn:active { transform: scale(0.95); }
.comanda-item__qty .qty-btn--danger:hover {
  border-color: var(--danger);
  color: var(--danger);
  background: rgba(239, 68, 68, 0.08);
}
.comanda-item__qty .qty-btn i { font-size: 14px; }
.comanda-item__qty span {
  font-weight: 800;
  font-size: 15px;
  min-width: 28px;
  text-align: center;
  color: var(--fg);
  font-variant-numeric: tabular-nums;
}

.pdv-tables-comanda__total {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}
.pdv-tables-comanda__total span {
  font-size: 13px;
  color: var(--fg-2);
  font-weight: 600;
}
.pdv-tables-comanda__total strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
}

.pdv-tables-comanda__actions {
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}
.pdv-tables-comanda__secondary {
  display: flex !important;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: space-between;
}

#checkoutTableBtn.is-pulse {
  animation: pulse-checkout 0.4s ease-out;
}
@keyframes pulse-checkout {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); box-shadow: 0 0 20px rgba(255,106,0,0.5); }
  100% { transform: scale(1); }
}

/* Empty state — ocupa centro+direita */
.pdv-tables-empty {
  grid-column: 2 / 4;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  background: var(--bg);
  min-height: 0;
}
.pdv-tables-empty[hidden] { display: none !important; }
.pdv-tables-empty > i {
  font-size: 80px;
  color: var(--fg-3);
  opacity: 0.4;
  margin-bottom: 16px;
}
.pdv-tables-empty h2 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--fg);
}
.pdv-tables-empty p {
  color: var(--fg-2);
  font-size: 14px;
}

@media (max-width: 900px) {
  .pdv-tables-empty { grid-column: 2 / 3; }
}

/* ============================================
   EQUIPE — funcionários e cargos
============================================ */
.sidebar__store-role {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
  display: flex !important;
  align-items: center;
  gap: 4px;
}
.sidebar__store-role i { font-size: 12px; }

.team-roles-grid {
  display: grid !important;
  /* auto-fit preenche todo o espaço disponível (sem células vazias) */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.team-role-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-left: 4px solid var(--role-color, var(--brand));
  border-radius: 12px;
  padding: 16px;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.team-role-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.team-role-card__head {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.team-role-card__icon {
  width: 36px;
  height: 36px;
  background: color-mix(in srgb, var(--role-color, var(--brand)) 15%, transparent);
  color: var(--role-color, var(--brand));
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.team-role-card__head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.team-role-card p {
  font-size: 12px;
  color: var(--fg-2);
  line-height: 1.45;
  margin: 0;
}

/* Lista de membros */
.team-members-list {
  display: flex !important;
  flex-direction: column;
}
.team-member-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.team-member-item:last-child { border-bottom: 0; }
.team-member-item.is-inactive { opacity: 0.5; }

.team-member-item__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft, rgba(255, 106, 0, 0.12));
  color: var(--brand);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  overflow: hidden;
}
.team-member-item__avatar img {
  width: 100%; height: 100%; object-fit: cover;
}

.team-member-item__main { flex: 1; min-width: 0; }
.team-member-item__head {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2px;
}
.team-member-item__head strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.team-member-item__main small {
  font-size: 12px;
  color: var(--fg-3);
  display: block;
}

.team-member-item__actions {
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.team-member-item__actions select {
  height: 32px;
  padding: 0 8px;
  font-size: 12px;
  min-width: 130px;
}

.team-role-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
}
.team-role-badge i { font-size: 12px; }
.team-role-badge--owner {
  background: linear-gradient(135deg, #ff6a00, #ff9d4a) !important;
  color: #fff !important;
}

/* Convites pendentes */
.team-invitations-list {
  display: flex !important;
  flex-direction: column;
}
.team-invitation-item {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 193, 7, 0.04);
}
.team-invitation-item:last-child { border-bottom: 0; }
.team-invitation-item__main { flex: 1; min-width: 0; }
.team-invitation-item__main strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 4px;
}
.team-invitation-item__main small {
  font-size: 12px;
  color: var(--fg-3);
  display: flex !important;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.team-invitation-item__actions {
  display: flex !important;
  gap: 6px;
  flex-shrink: 0;
}

/* Modal de convite — opções de cargo */
.team-role-options {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}
.team-role-option {
  cursor: pointer;
  display: block;
}
.team-role-option input { display: none; }
.team-role-option__card {
  display: flex !important;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--bg-2);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: all 0.15s;
}
.team-role-option__card:hover { border-color: var(--border); }
.team-role-option input:checked + .team-role-option__card {
  border-color: var(--role-color, var(--brand));
  background: color-mix(in srgb, var(--role-color, var(--brand)) 8%, var(--bg-2));
}
.team-role-option__icon {
  width: 38px;
  height: 38px;
  background: color-mix(in srgb, var(--role-color, var(--brand)) 15%, transparent);
  color: var(--role-color, var(--brand));
  border-radius: 10px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.team-role-option__card strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2px;
}
.team-role-option__card small {
  font-size: 12px;
  color: var(--fg-3);
}

/* Tela escolher loja (multi-vínculo) */
.choose-restaurant-list {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}
.choose-restaurant-card {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 2px solid transparent;
  border-radius: 12px;
  text-decoration: none !important;
  color: var(--fg) !important;
  transition: all 0.15s;
}
.choose-restaurant-card:hover {
  border-color: var(--brand);
  background: rgba(255, 106, 0, 0.06);
  transform: translateY(-1px);
}
.choose-restaurant-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-1);
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--fg-3);
  flex-shrink: 0;
  overflow: hidden;
}
.choose-restaurant-card__logo img {
  width: 100%; height: 100%; object-fit: cover;
}
.choose-restaurant-card__info {
  flex: 1;
  min-width: 0;
  display: flex !important;
  flex-direction: column;
  gap: 4px;
}
.choose-restaurant-card__info strong {
  font-size: 15px;
  font-weight: 700;
}
.choose-restaurant-card__arrow {
  color: var(--fg-3);
  font-size: 18px;
  transition: transform 0.15s;
}
.choose-restaurant-card:hover .choose-restaurant-card__arrow {
  color: var(--brand);
  transform: translateX(4px);
}

/* ============================================
   PEDIDOS — barra de filtros de período
============================================ */
.orders-filter-bar {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
  flex-wrap: wrap;
}
.orders-filter-bar__chips {
  display: flex !important;
  gap: 6px;
  flex-wrap: wrap;
}
.orders-period-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  color: var(--fg-2);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.orders-period-chip:hover {
  background: var(--bg-2);
  color: var(--fg);
}
.orders-period-chip.is-active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.orders-filter-bar__total {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  gap: 1px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  padding: 6px 14px;
}
.orders-filter-bar__total small {
  font-size: 10px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.orders-filter-bar__total strong {
  font-size: 16px;
  font-weight: 800;
  color: var(--success);
}

.orders-custom-range {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.orders-custom-range form {
  display: flex !important;
  gap: 10px;
  align-items: flex-end;
  flex-wrap: wrap;
}
.orders-custom-range .form-group {
  flex: 1;
  min-width: 140px;
  margin: 0;
}

/* ============================================
   RELATÓRIOS — comparação mensal
============================================ */
.report-period-header {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), transparent);
  border: 1px solid rgba(255, 106, 0, 0.15);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.report-period-header h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--fg);
}
.report-period-header p {
  font-size: 13px;
  color: var(--fg-3);
  margin: 0;
}

.report-comparison-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.report-comparison-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
}
.report-comparison-card__head {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  color: var(--fg-2);
}
.report-comparison-card__head i { font-size: 18px; }
.report-comparison-card__head strong { color: var(--fg); font-weight: 700; }

.report-comparison-card__main { display: flex; flex-direction: column; gap: 6px; }
.report-comparison-card__current {
  font-size: 26px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.report-comparison-card__compare {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.report-comparison-card__compare small {
  font-size: 11px;
  color: var(--fg-3);
}
.report-change {
  display: inline-flex !important;
  align-items: center;
  gap: 3px;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.report-change--up {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}
.report-change--down {
  background: rgba(239, 68, 68, 0.12);
  color: var(--danger);
}

.report-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
  .report-grid { grid-template-columns: 1fr; }
}

.report-financial-list {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
.report-financial-list__row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  color: var(--fg);
}
.report-financial-list__row--sub {
  padding-left: 12px;
  font-size: 13px;
  color: var(--fg-2);
}
.report-financial-list__row--total {
  font-size: 15px;
  font-weight: 700;
}
.report-financial-list__row--total strong {
  font-size: 20px;
  color: var(--success);
}
.report-financial-list__divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.report-tax-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.5;
  display: flex !important;
  align-items: flex-start;
  gap: 6px;
  padding: 10px 12px;
  background: var(--bg-2);
  border-radius: 8px;
}
.report-tax-note > i { color: var(--brand); flex-shrink: 0; margin-top: 2px; }

/* Print */
@media print {
  .panel-sidebar, .panel-topbar, .panel-page-header > div:last-child { display: none !important; }
  .panel-main { margin-left: 0 !important; }
  .panel-content { padding: 0 !important; }
  .panel-card { border: 1px solid #ccc !important; box-shadow: none !important; break-inside: avoid; }
  body { background: #fff !important; color: #000 !important; }
}

/* ============================================
   TIME PICKER — selects de hora/minuto custom
============================================ */
.time-picker {
  display: inline-flex !important;
  align-items: center;
  gap: 2px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 4px 6px;
  transition: border-color 0.15s;
}
.time-picker:focus-within {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}
.time-picker__sel {
  background: transparent !important;
  border: 0 !important;
  padding: 4px 4px !important;
  height: auto !important;
  min-width: 36px;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--fg) !important;
  font-variant-numeric: tabular-nums;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  text-align: center;
  text-align-last: center;
  -moz-text-align-last: center;
}
.time-picker__sel:focus {
  outline: 0;
  box-shadow: none !important;
}
.time-picker__sel option {
  background: var(--bg-1);
  color: var(--fg);
  font-weight: 600;
}
.time-picker__sep {
  color: var(--fg-3);
  font-weight: 700;
  font-size: 14px;
  user-select: none;
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}

.hours-modal-interval__sep {
  color: var(--fg-3);
  font-size: 12px;
  font-weight: 600;
  padding: 0 4px;
}

/* Override pra layout do hours-modal-interval com novos selects */
.hours-modal-interval {
  display: flex !important;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

/* ============================================
   FIX MOBILE — scroll anchoring
   Previne o "trava e sobe e desce" quando o conteúdo da página muda altura
   (img carrega, item adicionado ao carrinho, etc).
============================================ */
.store-shell, .menu-section, .menu-grid {
  overflow-anchor: none;
}

/* Estabiliza imagens de produto pra não causar reflow ao carregar */
.product-card__image, .product-card__img {
  background: var(--bg-2);
}

/* Container do scroll horizontal de categorias — força contenção */
.categories-nav__scroll {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
}

/* ============================================
   CONFIRMAÇÃO DO CLIENTE — caixa de confirmar entrega
============================================ */
.customer-confirm-box {
  margin-top: 20px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(255, 106, 0, 0.02));
  border: 2px solid rgba(255, 106, 0, 0.25);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}
.customer-confirm-box__head {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 8px;
}
.customer-confirm-box__head i {
  color: var(--brand);
  font-size: 22px;
}
.customer-confirm-box__head strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--fg);
}
.customer-confirm-box p {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0 0 14px;
  line-height: 1.5;
}

/* ============================================
   PAGAMENTOS — toggles + PIX config
============================================ */
.payment-toggle-list {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
}
.payment-toggle-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.payment-toggle-row:hover {
  border-color: var(--border-strong, var(--border));
}
.payment-toggle-row__info {
  display: flex !important;
  align-items: center;
  gap: 12px;
  flex: 1;
}
.payment-toggle-row__info > i {
  font-size: 24px;
  flex-shrink: 0;
}
.payment-toggle-row__info > div {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
}
.payment-toggle-row__info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.payment-toggle-row__info small {
  font-size: 12px;
  color: var(--fg-3);
}

/* Tipo de chave PIX (radio cards) */
.pix-type-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
}
.pix-type-option {
  cursor: pointer;
  display: block;
}
.pix-type-option input { display: none; }
.pix-type-option__card {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--bg-2);
  border: 2px solid transparent;
  border-radius: 10px;
  transition: all 0.15s;
}
.pix-type-option__card:hover {
  border-color: var(--border);
}
.pix-type-option input:checked + .pix-type-option__card {
  border-color: var(--brand);
  background: rgba(255, 106, 0, 0.08);
}
.pix-type-option__card i {
  font-size: 22px;
  color: var(--fg-3);
}
.pix-type-option input:checked + .pix-type-option__card i {
  color: var(--brand);
}
.pix-type-option__card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--fg);
  text-align: center;
}

/* Display bloqueado */
.pix-info-display {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 0;
  margin-bottom: 14px;
}
.pix-info-row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  gap: 14px;
}
.pix-info-row:last-child { border-bottom: 0; }
.pix-info-row__label {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.pix-info-row__value {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  display: flex !important;
  align-items: center;
  gap: 6px;
  text-align: right;
}
.pix-info-row__value i { color: var(--brand); }
.pix-info-row__value--mono {
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 13px;
  letter-spacing: 0.01em;
}

.pix-lock-badge {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.pix-lock-badge i { font-size: 12px; }

.pix-locked-warning {
  display: flex !important;
  gap: 12px;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.06), transparent);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
}
.pix-locked-warning > i {
  font-size: 28px;
  color: var(--success);
  flex-shrink: 0;
}
.pix-locked-warning strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 4px;
}
.pix-locked-warning p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0;
}

/* PIX display pra cliente após o pedido */
.pix-payment-box {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.08), rgba(34, 197, 94, 0.02));
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  margin-top: 10px;
}
.pix-payment-box__row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(34, 197, 94, 0.18);
  gap: 12px;
}
.pix-payment-box__row > span {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.pix-payment-box__row > strong {
  display: flex !important;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  text-align: right;
}
.pix-payment-box__row > strong > i { color: var(--success); font-size: 16px; }

.pix-payment-box__key {
  padding-top: 12px;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
}
.pix-payment-box__key small {
  font-size: 12px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.pix-payment-box__key code {
  display: block;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px dashed rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-family: ui-monospace, 'SF Mono', Menlo, monospace;
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
  word-break: break-all;
  letter-spacing: 0.02em;
}
.pix-payment-box__key button {
  align-self: flex-start;
}

/* ============================================
   CONFETE CELEBRATÓRIO (success page)
============================================ */
.confetti-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.confetti-piece {
  position: absolute;
  top: -20px;
  border-radius: 2px;
  opacity: 0.9;
  animation: confettiFall ease-out forwards;
}
@keyframes confettiFall {
  0% {
    transform: translateY(-30px) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .confetti-burst { display: none; }
}

/* ============================================
   HOME — Equipe + Indicações double spotlight
============================================ */
.v3-double-spotlight {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 920px) {
  .v3-double-spotlight { grid-template-columns: 1fr; }
}

.v3-spotlight-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.v3-spotlight-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 106, 0, 0.25);
}
.v3-spotlight-card--featured {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.04), transparent);
  border-color: rgba(255, 106, 0, 0.25);
}

.v3-spotlight-card__head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.v3-spotlight-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  flex-shrink: 0;
}
.v3-spotlight-card__icon--blue {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}
.v3-spotlight-card__icon--brand {
  background: linear-gradient(135deg, #ff6a00, #c44d00);
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4);
}

.v3-spotlight-card__title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  color: var(--fg);
}
.v3-spotlight-card__text {
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.55;
  margin-bottom: 18px;
}
.v3-spotlight-card__features {
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--border);
}
.v3-spotlight-card__features > div {
  display: flex !important;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-2);
}
.v3-spotlight-card__features > div > i {
  color: var(--success);
  font-size: 16px;
  flex-shrink: 0;
}

.v3-feature__new--brand {
  background: linear-gradient(135deg, #ff6a00, #c44d00) !important;
  color: #fff !important;
  font-weight: 800 !important;
  font-size: 10px !important;
  letter-spacing: 0.05em !important;
}

/* Roles grid (cards de cargos) */
.v3-roles-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
  margin-bottom: 4px;
}
.v3-role {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 8px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-align: center;
  transition: transform 0.15s ease;
}
.v3-role:hover { transform: translateY(-2px); }
.v3-role > i {
  font-size: 22px;
  margin-bottom: 2px;
}
.v3-role > span {
  font-size: 12px;
  font-weight: 700;
  color: var(--fg);
}
.v3-role > small {
  font-size: 10px;
  color: var(--fg-3);
  line-height: 1.2;
}
.v3-role--manager > i { color: #f59e0b; }
.v3-role--attendant > i { color: #3b82f6; }
.v3-role--kitchen > i { color: #ff6a00; }
.v3-role--delivery > i { color: #22c55e; }
.v3-role--cashier > i { color: #8b5cf6; }

/* Calculadora de indicações */
.v3-referral-calc {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 4px 0;
}
.v3-referral-calc__row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed var(--border);
}
.v3-referral-calc__row:last-of-type { border-bottom: 0; }
.v3-referral-calc__row > span { color: var(--fg-2); }
.v3-referral-calc__row > strong { color: var(--fg); font-weight: 700; }
.v3-referral-calc__total {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  margin-top: 8px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.04));
  border: 1px solid rgba(255, 106, 0, 0.3);
  border-radius: 10px;
}
.v3-referral-calc__total > span {
  font-size: 13px;
  font-weight: 600;
  color: var(--fg-2);
}
.v3-referral-calc__total > strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
}
.v3-referral-calc__total > strong > small {
  font-size: 13px;
  color: var(--fg-3);
  font-weight: 600;
}

/* ============================================
   MENSALIDADE — overview, gráfico, faixas
============================================ */

/* Banner de cobrança pendente / vencida / loja bloqueada */
.payment-banner {
  display: flex !important;
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.payment-banner__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  color: #fff;
}
.payment-banner__main {
  flex: 1 1 280px;
  min-width: 0;
}
.payment-banner__main strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
}
.payment-banner__main p {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.5;
}
.payment-banner__actions {
  flex-shrink: 0;
}
/* Variante: cobrança próxima do vencimento (laranja suave) */
.payment-banner--pending {
  background: linear-gradient(135deg, rgba(255, 170, 0, 0.10), rgba(255, 170, 0, 0.02));
  border: 1px solid rgba(255, 170, 0, 0.30);
}
.payment-banner--pending .payment-banner__icon {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.35);
}
/* Variante: vencida (laranja intenso) */
.payment-banner--overdue {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.02));
  border: 1px solid rgba(255, 106, 0, 0.35);
  animation: paymentPulse 2.4s ease-in-out infinite;
}
.payment-banner--overdue .payment-banner__icon {
  background: linear-gradient(135deg, #ff6a00, #c44d00);
  box-shadow: 0 4px 14px rgba(255, 106, 0, 0.40);
}
/* Variante: bloqueada (vermelho) */
.payment-banner--blocked {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.12), rgba(220, 38, 38, 0.02));
  border: 1px solid rgba(220, 38, 38, 0.40);
}
.payment-banner--blocked .payment-banner__icon {
  background: linear-gradient(135deg, #dc2626, #991b1b);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45);
}
@keyframes paymentPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 106, 0, 0.0); }
  50%      { box-shadow: 0 0 0 4px rgba(255, 106, 0, 0.08); }
}

/* Modal PIX */
.pix-modal {
  max-width: 480px;
}
@media (max-width: 480px) {
  .payment-banner__actions {
    width: 100%;
  }
  .payment-banner__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.trial-banner {
  display: flex !important;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.10), rgba(255, 106, 0, 0.02));
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 14px;
  margin-bottom: 18px;
}
.trial-banner__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6a00, #c44d00);
  color: #fff;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(255, 106, 0, 0.3);
}
.trial-banner strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
}
.trial-banner p {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.5;
}

/* Overview cards */
.subs-overview {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}
.subs-overview-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}
.subs-overview-card__head {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--fg-3);
}
.subs-overview-card__head > i { font-size: 18px; }
.subs-overview-card__value {
  font-size: 26px;
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 4px;
}
.subs-overview-card__sub {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  font-weight: 500;
}
.subs-overview-card--free { border-color: rgba(148, 163, 184, 0.3); }
.subs-overview-card--standard { border-color: rgba(59, 130, 246, 0.3); background: linear-gradient(135deg, rgba(59, 130, 246, 0.04), transparent); }
.subs-overview-card--pro { border-color: rgba(168, 85, 247, 0.3); background: linear-gradient(135deg, rgba(168, 85, 247, 0.04), transparent); }
.subs-overview-card--free .subs-overview-card__head > i,
.subs-overview-card--standard .subs-overview-card__head > i,
.subs-overview-card--pro .subs-overview-card__head > i {
  color: var(--brand);
}

/* Card de "falta X pra próxima faixa" */
.next-tier-card {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.06), rgba(255, 106, 0, 0.02));
  border: 1px solid rgba(255, 106, 0, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 14px;
}
.next-tier-card__info {
  display: flex !important;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 10px;
}
.next-tier-card__info strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--fg);
}
.next-tier-card__info p {
  font-size: 13px;
  color: var(--fg-2);
  margin: 4px 0 0;
  line-height: 1.4;
}
.next-tier-card__percent {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: -0.02em;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}
.next-tier-card__progress {
  height: 8px;
  background: var(--bg-2);
  border-radius: 999px;
  overflow: hidden;
}
.next-tier-card__progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #ff6a00, #ff8530);
  border-radius: 999px;
  transition: width 0.6s ease;
}

/* Tabela de faixas */
.subs-tiers {
  display: flex !important;
  flex-direction: column;
}
.subs-tier {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}
.subs-tier:last-child { border-bottom: 0; }
.subs-tier.is-active {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.06), transparent);
}
.subs-tier__rank {
  width: 32px;
  height: 32px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: var(--bg-2);
  border-radius: 50%;
  font-weight: 800;
  color: var(--fg-3);
  font-size: 14px;
  flex-shrink: 0;
}
.subs-tier.is-active .subs-tier__rank {
  background: rgba(255, 106, 0, 0.12);
}
.subs-tier__info {
  flex: 1;
  display: flex !important;
  flex-direction: column;
  gap: 2px;
}
.subs-tier__info strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--fg);
}
.subs-tier__info small {
  font-size: 12px;
  color: var(--fg-3);
}
.subs-tier__price {
  text-align: right;
}
.subs-tier__price strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
}
.subs-tier__price small {
  font-size: 12px;
  color: var(--fg-3);
}
.subs-tier__free {
  font-size: 14px;
  font-weight: 700;
  color: var(--success);
  padding: 4px 10px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 999px;
}

/* Pill de plano no histórico */
.subs-plan-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.subs-plan-pill--free { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.subs-plan-pill--standard { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.subs-plan-pill--pro { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

/* Badges genéricos */
.badge--success { background: rgba(34, 197, 94, 0.15); color: var(--success); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge--warning { background: rgba(245, 158, 11, 0.15); color: var(--warning); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.badge--danger { background: rgba(239, 68, 68, 0.15); color: var(--danger); padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }

/* ============================================
   MODAL DE CANCELAMENTO
============================================ */
.cancel-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 20px;
  animation: cancelOverlayIn 0.18s ease;
}
@keyframes cancelOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.cancel-modal {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 18px;
  width: 100%;
  max-width: 540px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: cancelModalIn 0.25s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}
@keyframes cancelModalIn {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}
.cancel-modal__head {
  display: flex !important;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px 16px;
  border-bottom: 1px solid var(--border);
}
.cancel-modal__head > i {
  font-size: 28px;
  color: var(--danger);
  flex-shrink: 0;
}
.cancel-modal__head h2 {
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 4px;
  color: var(--fg);
  letter-spacing: -0.01em;
}
.cancel-modal__head p {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0;
  line-height: 1.4;
}

.cancel-modal__body { padding: 20px 24px; }
.cancel-modal__body .form-hint {
  font-size: 11px;
  color: var(--fg-3);
}

.cancel-modal__foot {
  display: flex !important;
  justify-content: flex-end;
  gap: 8px;
  padding: 16px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}
@media (max-width: 480px) {
  .cancel-modal__foot { flex-direction: column-reverse; }
  .cancel-modal__foot .btn { width: 100%; }
}

.btn--danger {
  background: var(--danger);
  color: #fff;
  border-color: var(--danger);
}
.btn--danger:hover {
  background: #dc2626;
  border-color: #dc2626;
}

/* ============================================
   ADMIN — log de cancelamentos da loja
============================================ */
.cancel-log-table {
  width: 100%;
  border-collapse: collapse;
}
.cancel-log-table th,
.cancel-log-table td {
  padding: 10px 12px;
  text-align: left;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.cancel-log-table th {
  background: var(--bg-2);
  font-weight: 700;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-3);
}
.cancel-log-category {
  display: inline-flex !important;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.08);
  color: var(--danger);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}
.cancel-log-reason {
  color: var(--fg-2);
  line-height: 1.4;
  max-width: 360px;
}
.cancel-log-stats {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}
.cancel-log-stat {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
}
.cancel-log-stat__count {
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
  line-height: 1;
}
.cancel-log-stat__label {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-top: 4px;
}

/* ============================================
   PIX QR CODE (página order-success)
============================================ */
.pix-qr-container {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  padding: 16px;
  background: #fff;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.pix-qr-container canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================================
   NOTIFICADOR GLOBAL (panel-notifier.js)
============================================ */
.munchgo-notifier {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9998;
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: calc(100vw - 40px);
}
.munchgo-notifier__toast {
  pointer-events: auto;
  width: 320px;
  max-width: 100%;
  background: var(--bg-1);
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
              0 0 0 4px rgba(255, 106, 0, 0.08);
  overflow: hidden;
  animation: munchgo-notifier-in 0.35s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.munchgo-notifier__toast.is-leaving {
  animation: munchgo-notifier-out 0.3s ease forwards;
}
@keyframes munchgo-notifier-in {
  from { transform: translateX(110%) scale(0.96); opacity: 0; }
  to   { transform: translateX(0) scale(1); opacity: 1; }
}
@keyframes munchgo-notifier-out {
  to { transform: translateX(110%); opacity: 0; }
}
.munchgo-notifier__head {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.04));
  border-bottom: 1px solid rgba(255, 106, 0, 0.18);
}
.munchgo-notifier__head strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--fg);
}
.munchgo-notifier__close {
  background: transparent;
  border: 0;
  color: var(--fg-3);
  font-size: 22px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}
.munchgo-notifier__close:hover { color: var(--fg); }
.munchgo-notifier__body {
  padding: 12px 16px;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}
.munchgo-notifier__row {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.munchgo-notifier__row > span {
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.munchgo-notifier__row > strong {
  color: var(--fg);
  font-size: 13px;
  font-weight: 700;
}
.munchgo-notifier__cta {
  display: block;
  text-align: center;
  padding: 12px 16px;
  background: var(--brand);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: filter 0.15s;
}
.munchgo-notifier__cta:hover { filter: brightness(1.1); }

@media (max-width: 480px) {
  .munchgo-notifier {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }
  .munchgo-notifier__toast { width: 100%; }
}

/* ============================================
   PDV MESA — botão cozinha + status pill
============================================ */
.kitchen-btn {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff !important;
  border: 0;
  font-weight: 800;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
  margin-bottom: 8px;
  transition: all 0.2s;
}
.kitchen-btn:hover:not(:disabled) {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.35);
}
.kitchen-btn:active:not(:disabled) { transform: translateY(0); }
.kitchen-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: var(--bg-2);
  color: var(--fg-3) !important;
  box-shadow: none;
}

.comanda-status-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
  vertical-align: middle;
}
.comanda-status-pill.is-open {
  background: rgba(148, 163, 184, 0.15);
  color: #94a3b8;
}
.comanda-status-pill.is-cooking {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  animation: kitchen-pulse 2s ease-in-out infinite;
}
.comanda-status-pill.is-ready {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}
@keyframes kitchen-pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.65; }
}

/* ============================================
   NOTIFIER ALERT (loop iFood-style)
============================================ */
.munchgo-notifier__toast--alert {
  border-color: rgba(255, 106, 0, 0.85) !important;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
              0 0 0 4px rgba(255, 106, 0, 0.18),
              0 0 24px rgba(255, 106, 0, 0.4);
  animation: munchgo-notifier-in 0.35s cubic-bezier(0.34, 1.4, 0.64, 1),
             munchgo-pulse-alert 1.4s ease-in-out infinite 0.5s;
}
@keyframes munchgo-pulse-alert {
  0%, 100% {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
                0 0 0 4px rgba(255, 106, 0, 0.18),
                0 0 24px rgba(255, 106, 0, 0.4);
  }
  50% {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5),
                0 0 0 8px rgba(255, 106, 0, 0.32),
                0 0 36px rgba(255, 106, 0, 0.7);
  }
}
.munchgo-notifier__toast--alert .munchgo-notifier__head {
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.22), rgba(255, 106, 0, 0.08));
  border-bottom-color: rgba(255, 106, 0, 0.32);
}
.munchgo-notifier__toast--alert .munchgo-notifier__head strong {
  color: var(--brand);
  font-size: 16px;
  letter-spacing: 0.02em;
}
.munchgo-notifier__cta--alert {
  background: linear-gradient(135deg, #ff6a00, #ff8530);
  font-size: 14px !important;
  padding: 14px 16px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.munchgo-notifier__cta--alert i { font-size: 18px; }

/* ============================================
   AUDIT LOG — coluna detalhes legível
============================================ */
.audit-detail-cell {
  max-width: 320px;
  vertical-align: top;
  padding: 10px 12px !important;
}
.audit-detail-row {
  display: flex !important;
  flex-direction: column;
  gap: 1px;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.04);
}
.audit-detail-row:last-child { border-bottom: 0; }
.audit-detail-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg-3);
  font-weight: 700;
}
.audit-detail-value {
  font-size: 12px;
  color: var(--fg);
  font-weight: 500;
  word-break: break-word;
  line-height: 1.4;
}

/* ============================================
   ADMIN ORDERS — busca + paginação + modal
============================================ */
.admin-orders-filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}
.admin-orders-pagination {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px;
}

/* Status pill (admin orders) */
.status-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status-pill--pending    { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.status-pill--confirmed  { background: rgba(59, 130, 246, 0.15);  color: #3b82f6; }
.status-pill--preparing  { background: rgba(168, 85, 247, 0.15);  color: #a855f7; }
.status-pill--ready      { background: rgba(20, 184, 166, 0.15);  color: #14b8a6; }
.status-pill--delivering { background: rgba(245, 158, 11, 0.15);  color: #f59e0b; }
.status-pill--delivered  { background: rgba(34, 197, 94, 0.15);   color: var(--success); }
.status-pill--cancelled  { background: rgba(239, 68, 68, 0.15);   color: var(--danger); }

/* Modal de detalhes */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 20px;
  animation: fadeIn 0.18s ease;
}
.order-modal-overlay[hidden] { display: none !important; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.order-modal {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  display: flex !important;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}
@keyframes modalIn {
  from { transform: translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: translateY(0) scale(1); opacity: 1; }
}
.order-modal__head {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}
.order-modal__head strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  font-family: ui-monospace, monospace;
  letter-spacing: -0.01em;
  display: block;
}
.order-modal__head small {
  font-size: 12px;
  color: var(--fg-3);
}
.order-modal__body {
  padding: 16px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}

.order-modal-section {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border);
}
.order-modal-section:last-child { border-bottom: 0; margin-bottom: 0; }
.order-modal-section h3 {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  margin: 0 0 8px;
}
.order-modal-section p {
  font-size: 14px;
  color: var(--fg);
  margin: 4px 0;
  line-height: 1.4;
}
.order-modal-section--alert {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 10px;
}

.order-modal-item {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 6px;
}
.order-modal-item__head {
  display: flex !important;
  justify-content: space-between;
  gap: 10px;
}
.order-modal-item__head strong {
  font-size: 14px;
  font-weight: 700;
}
.order-modal-item__head span {
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.order-modal-item__extras { margin-top: 4px; }
.order-modal-item__extras small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
}
.order-modal-item__notes {
  margin-top: 6px;
  padding: 6px 8px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  font-size: 12px;
  color: var(--fg-2);
  font-style: italic;
}

.order-modal-summary {
  background: var(--bg-2);
  border-radius: 10px;
  padding: 12px 14px;
}
.order-modal-summary > div {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  font-size: 13px;
}
.order-modal-summary > div span { color: var(--fg-3); }
.order-modal-summary__total {
  border-top: 1px solid var(--border);
  margin-top: 6px;
  padding-top: 8px !important;
  font-size: 14px;
}

.order-modal-history {
  padding: 8px 12px;
  background: var(--bg-2);
  border-radius: 8px;
  margin-bottom: 6px;
}
.order-modal-history strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--fg);
}
.order-modal-history small {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
}
.order-modal-history p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--fg-2);
}

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

/* ============================================
   ADMIN USUÁRIOS — role pills + modais
============================================ */
.role-pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.role-pill--admin    { background: rgba(255, 215, 0, 0.15);  color: #fbbf24; }
.role-pill--support  { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.role-pill--finance  { background: rgba(34, 197, 94, 0.15);  color: var(--success); }
.role-pill--sales    { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

/* Modais admin (reusa estilo do order-modal) */
.admin-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  padding: 20px;
  animation: fadeIn 0.18s ease;
}
.admin-modal-overlay[hidden] { display: none !important; }

.admin-modal {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex !important;
  flex-direction: column;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.22s cubic-bezier(0.34, 1.4, 0.64, 1);
  overflow: hidden;
}
.admin-modal--lg { max-width: 680px; }

.admin-modal__head {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}
.admin-modal__head strong { font-size: 16px; font-weight: 800; color: var(--fg); }

.admin-modal__body {
  padding: 18px 20px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
.admin-modal__foot {
  display: flex !important;
  gap: 8px;
  justify-content: flex-end;
  padding: 14px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  flex-shrink: 0;
}

/* Permissões — agrupamento */
.perms-group {
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--border);
}
.perms-group:last-child { border-bottom: 0; margin-bottom: 0; }
.perms-group h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fg-3);
  margin: 0 0 8px;
  font-weight: 800;
}

.perms-checkbox {
  display: grid !important;
  grid-template-columns: 22px 1fr auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s;
}
.perms-checkbox:hover { background: var(--bg-2); }
.perms-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand);
}
.perms-checkbox span {
  font-size: 13px;
  color: var(--fg);
  font-weight: 500;
}
.perms-checkbox small {
  font-size: 10px;
  opacity: 0.6;
}

/* ============================================
   MERCADO PAGO PIX — caixa do checkout
============================================ */
.mp-payment-box {
  background: linear-gradient(135deg, rgba(0, 158, 226, 0.08), rgba(0, 158, 226, 0.03));
  border: 1px solid rgba(0, 158, 226, 0.25);
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
}
.mp-payment-box__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(0, 158, 226, 0.15);
  color: #009ee2;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 999px;
  margin-bottom: 12px;
}
.mp-payment-box__title {
  font-size: 18px;
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 4px;
}
.mp-payment-box__subtitle {
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 14px;
}
.mp-payment-box__qr {
  display: flex !important;
  justify-content: center;
  margin: 0 auto 14px;
  background: #fff;
  padding: 14px;
  border-radius: 12px;
  max-width: 260px;
}
.mp-payment-box__qr img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 230px;
}
.mp-payment-box__code small {
  display: block;
  font-size: 11px;
  color: var(--fg-3);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.mp-payment-box__code code {
  display: block;
  font-family: ui-monospace, monospace;
  font-size: 10px;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 10px;
  border-radius: 8px;
  word-break: break-all;
  margin-bottom: 8px;
  max-height: 60px;
  overflow-y: auto;
}

/* Mobile: QR menor */
@media (max-width: 480px) {
  .mp-payment-box { padding: 14px; }
  .mp-payment-box__qr { max-width: 220px; padding: 10px; }
}

/* ============================================
   PÁGINA DE INTEGRAÇÕES
============================================ */
.integration-card__head {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.integration-card__logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
}
.integration-card__benefits {
  display: grid !important;
  gap: 8px;
  margin-bottom: 16px;
  padding: 14px;
  background: var(--bg-2);
  border-radius: 10px;
}
.integration-benefit {
  display: flex !important;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--fg);
}
.integration-benefit i {
  color: var(--success);
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 1px;
}
.integration-form .form-group { margin-bottom: 14px; }
.integration-form .form-help {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: var(--fg-3);
}
.integration-help {
  margin-top: 16px;
  padding: 14px;
  background: var(--bg-2);
  border-radius: 10px;
  border: 1px dashed var(--border);
}
.integration-help summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--fg-2);
  font-size: 13px;
  user-select: none;
}
.integration-help summary:hover { color: var(--fg); }
.integration-help ol {
  margin: 12px 0 0;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--fg-2);
}
.integration-help ol li { margin-bottom: 4px; }

/* ============================================
   PÁGINAS LEGAIS — extras (notice, table)
============================================ */
.legal-page__notice {
  display: flex !important;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 12px;
  margin-bottom: 32px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg);
}
.legal-page__notice i {
  color: #3b82f6;
  font-size: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.legal-page__notice strong { color: var(--fg); }

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  font-size: 13px;
  background: var(--bg-2);
  border-radius: 10px;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.legal-table th {
  background: var(--bg-3);
  color: var(--fg);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.legal-table td { color: var(--fg-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code {
  font-family: ui-monospace, monospace;
  font-size: 12px;
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--brand);
}

.container--narrow { max-width: 760px; margin: 0 auto; }

/* ============================================
   MOBILE-FIRST — checkout otimizado
============================================ */
@media (max-width: 768px) {
  /* Botão de confirmar pedido FIXO no rodapé mobile (UX iFood-style) */
  .checkout-card--sticky {
    position: static;
    top: auto;
  }
  /* Inputs com altura maior pra touch (44px é o mínimo do iOS HIG) */
  .checkout-page .form-control {
    min-height: 48px;
    font-size: 16px; /* Previne zoom no iOS */
  }
  .checkout-page .btn--lg {
    min-height: 52px;
    font-size: 16px;
    font-weight: 700;
  }
  /* Reduz padding excessivo */
  .checkout-page { padding: 14px 0 100px; }
  .checkout-card { padding: 16px; }
  .checkout-card__title { font-size: 16px; margin-bottom: 12px; }
  /* Payment options 2 colunas - cards uniformes */
  .payment-option__card {
    min-height: 100px;
    padding: 12px 6px;
    gap: 5px;
  }
  .payment-option__icon { font-size: 22px; }
  .payment-option__card > span { font-size: 12.5px; }
  .payment-option__card > small { font-size: 10.5px !important; }
  /* Resumo compacto */
  .checkout-items { gap: 6px; }
}

/* ============================================
   MOBILE-FIRST — vitrine pública
============================================ */
@media (max-width: 768px) {
  /* Cards de produto compactos */
  .product-card {
    padding: 12px;
    gap: 10px;
  }
  /* Drawer carrinho ocupa quase tela inteira */
  .cart-drawer { width: 100% !important; max-width: 420px; }
  /* Botão flutuante "Ver carrinho" maior */
  .floating-cart {
    bottom: 16px;
    left: 16px;
    right: 16px;
    border-radius: 12px;
    padding: 14px 18px;
    font-size: 15px;
    font-weight: 700;
  }
}

/* Touch targets 44px mínimo em todos os botões pequenos */
@media (max-width: 768px) {
  .btn--sm { min-height: 36px; padding-left: 10px; padding-right: 10px; }
  .icon-btn { min-width: 40px; min-height: 40px; }
  .qty-btn { min-width: 36px; min-height: 36px; }
}

/* Previne zoom indesejado no iOS ao focar inputs */
@media (max-width: 768px) {
  input, select, textarea {
    font-size: 16px !important;
  }
  /* Exceção pra inputs de senha que ficam ok com 14px */
  input[type="password"] { font-size: 16px !important; }
}

/* ============================================
   ADMIN STORES — bulk actions
============================================ */
.admin-stores-filters {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.bulk-action-bar {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.12), rgba(255, 106, 0, 0.04));
  border-bottom: 1px solid rgba(255, 106, 0, 0.2);
  flex-wrap: wrap;
}
.bulk-action-bar[hidden] { display: none !important; }
.bulk-action-bar strong {
  font-size: 13px;
  color: var(--brand);
}

/* Checkboxes maiores na tabela */
.table input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--brand);
}

/* ============================================
   MINHA CONTA
============================================ */
.account-grid {
  display: grid !important;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .account-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.password-input-wrap {
  position: relative;
}
.password-input-wrap input {
  padding-right: 40px;
}
.password-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: var(--fg-3);
  font-size: 18px;
  cursor: pointer;
  padding: 6px 8px;
  border-radius: 6px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.password-toggle:hover { color: var(--fg); background: var(--bg-2); }

/* ============================================
   MENU TEMPLATES — cards por nicho
============================================ */
.menu-templates-grid {
  display: grid !important;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .menu-templates-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .menu-templates-grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-template-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.2s;
}
.menu-template-card:hover {
  border-color: rgba(255, 106, 0, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}
.menu-template-card__head { margin-bottom: 14px; }
.menu-template-card__title {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 800;
  color: var(--fg);
}
.menu-template-card__desc {
  margin: 0;
  font-size: 13px;
  color: var(--fg-3);
  line-height: 1.4;
}
.menu-template-card__stats {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-2);
  border-radius: 10px;
  margin-bottom: 14px;
  text-align: center;
}
.menu-template-card__stats > div {
  display: flex !important;
  flex-direction: column;
  gap: 2px;
}
.menu-template-card__stats strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.menu-template-card__stats small {
  font-size: 11px;
  color: var(--fg-3);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ============================================
   LANDING PAGE — /para-lojistas
============================================ */
.page-lp { background: var(--bg); }

.lp-hero {
  padding: 60px 0 80px;
  background: radial-gradient(ellipse at top, rgba(255, 106, 0, 0.12), transparent 60%);
  text-align: center;
}
.lp-hero__inner { max-width: 760px; margin: 0 auto; }
.lp-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 106, 0, 0.15);
  color: var(--brand);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 20px;
}
.lp-hero__title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.lp-hero__highlight {
  color: var(--brand);
  position: relative;
}
.lp-hero__subtitle {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 620px;
}
.lp-hero__cta {
  display: flex !important;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.lp-hero__trust {
  display: flex !important;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--fg-3);
}
.lp-hero__trust div { display: inline-flex; align-items: center; gap: 4px; }
.lp-hero__trust i { color: var(--success); }

.lp-section-title {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 800;
  text-align: center;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.lp-section-subtitle {
  font-size: 15px;
  color: var(--fg-3);
  text-align: center;
  margin: 0 auto 40px;
  max-width: 600px;
}

.lp-comparison { padding: 60px 0; background: var(--bg-2); }
.lp-comparison-grid {
  display: grid !important;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .lp-comparison-grid { grid-template-columns: 1fr 1fr; }
}

.lp-comparison-card {
  padding: 28px;
  border-radius: 16px;
  background: var(--bg-1);
  border: 1px solid var(--border);
}
.lp-comparison-card--bad { border-color: rgba(239, 68, 68, 0.3); }
.lp-comparison-card--good {
  border-color: var(--brand);
  box-shadow: 0 8px 30px rgba(255, 106, 0, 0.15);
}

.lp-comparison-card__head {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap;
  gap: 8px;
}
.lp-comparison-card__head strong {
  font-size: 18px;
  font-weight: 800;
}
.lp-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.lp-tag--bad { background: rgba(239, 68, 68, 0.12); color: var(--danger); }
.lp-tag--good { background: rgba(34, 197, 94, 0.12); color: var(--success); }

.lp-comparison-card__price {
  text-align: center;
  padding: 20px 0;
  border-top: 1px dashed var(--border);
  border-bottom: 1px dashed var(--border);
  margin-bottom: 18px;
}
.lp-comparison-card__price small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
}
.lp-comparison-card__price strong {
  font-size: 36px;
  font-weight: 900;
  display: block;
  margin: 4px 0;
}
.lp-comparison-card__price strong small {
  font-size: 14px;
  display: inline;
  color: var(--fg-3);
  font-weight: 600;
}

.lp-comparison-card__features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lp-comparison-card__features li {
  display: flex !important;
  gap: 8px;
  align-items: flex-start;
  padding: 6px 0;
  font-size: 14px;
  color: var(--fg-2);
}
.lp-comparison-card__features i { font-size: 18px; flex-shrink: 0; }

.lp-comparison-card__savings {
  margin-top: 18px;
  padding: 14px;
  background: rgba(34, 197, 94, 0.12);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: var(--success);
  font-weight: 700;
}
.lp-comparison-card__savings strong { font-size: 18px; }
.lp-comparison-card__savings small { display: block; font-size: 11px; opacity: 0.8; margin-top: 2px; }

.lp-pricing { padding: 80px 0; }
.lp-pricing-grid {
  display: grid !important;
  gap: 16px;
  grid-template-columns: 1fr;
  max-width: 1200px;
  margin: 0 auto;
}
@media (min-width: 700px) { .lp-pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lp-pricing-grid { grid-template-columns: repeat(4, 1fr); } }

.lp-pricing-card {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.2s;
}
.lp-pricing-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15); }
.lp-pricing-card--featured {
  border: 2px solid var(--brand);
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), transparent);
}
.lp-pricing-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--bg-2);
  border-radius: 999px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lp-pricing-card h3 { font-size: 16px; margin: 0 0 8px; font-weight: 700; }
.lp-pricing-card__price {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand);
  margin: 12px 0 8px;
  letter-spacing: -0.02em;
}
.lp-pricing-card__price small { font-size: 14px; color: var(--fg-3); font-weight: 600; }
.lp-pricing-card p { color: var(--fg-2); font-size: 14px; line-height: 1.5; margin: 0; }

.lp-pricing-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  display: flex !important;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--fg-2);
  line-height: 1.5;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.lp-pricing-note i { color: #3b82f6; font-size: 20px; flex-shrink: 0; }

.lp-features { padding: 80px 0; background: var(--bg-2); }
.lp-features-grid {
  display: grid !important;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 700px) { .lp-features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-features-grid { grid-template-columns: repeat(3, 1fr); } }

.lp-feature { padding: 8px; }
.lp-feature__icon {
  width: 52px; height: 52px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 106, 0, 0.15);
  color: var(--brand);
  border-radius: 14px;
  font-size: 26px;
  margin-bottom: 14px;
}
.lp-feature h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.lp-feature p { color: var(--fg-2); font-size: 14px; line-height: 1.5; margin: 0; }

.lp-steps { padding: 80px 0; }
.lp-steps-grid {
  display: grid !important;
  gap: 28px;
  grid-template-columns: 1fr;
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 700px) { .lp-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .lp-steps-grid { grid-template-columns: repeat(4, 1fr); } }

.lp-step { text-align: center; padding: 8px; }
.lp-step__num {
  width: 48px; height: 48px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 14px;
}
.lp-step h3 { font-size: 17px; margin: 0 0 6px; font-weight: 700; }
.lp-step p { color: var(--fg-2); font-size: 14px; line-height: 1.5; margin: 0; }

.lp-faq { padding: 60px 0; background: var(--bg-2); }
.lp-faq__item {
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.lp-faq__item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 15px;
  user-select: none;
  list-style: none;
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.lp-faq__item summary::after {
  content: '+';
  font-size: 24px;
  color: var(--brand);
  transition: transform 0.2s;
}
.lp-faq__item[open] summary::after { transform: rotate(45deg); }
.lp-faq__item p { color: var(--fg-2); font-size: 14px; line-height: 1.6; margin: 12px 0 0; }

.lp-cta-final {
  padding: 80px 0;
  text-align: center;
  background: radial-gradient(ellipse at bottom, rgba(255, 106, 0, 0.15), transparent 70%);
}
.lp-cta-final h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 900;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}
.lp-cta-final p {
  font-size: 17px;
  color: var(--fg-2);
  margin: 0 0 24px;
}

/* ============================================
   MODAL DE PAGAMENTO PIX (MP)
============================================ */
.mp-pix-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8, 8, 12, 0.85);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: mpFadeIn 250ms ease;
}
@keyframes mpFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes mpSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.mp-pix-modal {
  background: var(--bg, #14141a);
  color: var(--fg, #f5f5f7);
  border-radius: 20px;
  width: 100%; max-width: 460px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  animation: mpSlideUp 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mp-pix-modal__header {
  padding: 28px 24px 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(255,106,0,0.08), transparent);
  border-bottom: 1px solid var(--border, rgba(255,255,255,0.06));
}
.mp-pix-modal__icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  margin: 0 auto 12px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: #fff;
  box-shadow: 0 8px 20px rgba(255,106,0,0.35);
}
.mp-pix-modal__title {
  font-size: 20px; font-weight: 700;
  margin: 0 0 4px;
}
.mp-pix-modal__subtitle {
  font-size: 13px;
  color: var(--fg-3, #777782);
  margin: 0;
}

.mp-pix-modal__body {
  padding: 20px 24px;
}

.mp-pix-timer {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(255,106,0,0.1);
  border: 1px solid rgba(255,106,0,0.3);
  border-radius: 12px;
  font-size: 14px;
  color: #ff9d4a;
  margin-bottom: 18px;
  transition: all 300ms;
}
.mp-pix-timer i { font-size: 18px; }
.mp-pix-timer strong {
  font-variant-numeric: tabular-nums;
  font-size: 16px;
}
.mp-pix-timer--urgent {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.4);
  color: #ef4444;
  animation: mpPulse 1s ease-in-out infinite;
}
@keyframes mpPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

.mp-pix-modal__qr {
  background: #fff;
  padding: 12px;
  border-radius: 14px;
  margin: 0 auto 16px;
  max-width: 240px;
  display: flex; justify-content: center;
}
.mp-pix-modal__qr img {
  width: 100%; height: auto; display: block;
}

.mp-pix-modal__code {
  margin-bottom: 16px;
}
.mp-pix-modal__code small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.mp-pix-modal__code code {
  display: block;
  background: var(--bg-2, #0a0a0d);
  border: 1px solid var(--border, #25252e);
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 11px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  max-height: 80px;
  overflow-y: auto;
  margin-bottom: 8px;
  color: var(--fg-2);
}

.mp-pix-modal__status {
  display: flex; align-items: center; justify-content: center;
  gap: 12px;
  padding: 14px;
  background: var(--bg-2, #0a0a0d);
  border-radius: 12px;
  font-size: 14px;
  color: var(--fg-2);
  margin-bottom: 14px;
}

.mp-pix-spinner {
  width: 20px; height: 20px;
  border: 2.5px solid rgba(255,106,0,0.2);
  border-top-color: #ff6a00;
  border-radius: 50%;
  animation: mpSpin 800ms linear infinite;
}
@keyframes mpSpin {
  to { transform: rotate(360deg); }
}

.mp-pix-modal__hint {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.5;
  padding: 12px;
  background: var(--bg-2, #0a0a0d);
  border-radius: 10px;
}
.mp-pix-modal__hint i {
  font-size: 16px;
  margin-top: 1px;
  flex-shrink: 0;
}

.mp-pix-modal__footer {
  padding: 14px 24px 20px;
  display: flex; gap: 10px;
  justify-content: center;
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .mp-pix-modal { border-radius: 16px; }
  .mp-pix-modal__header { padding: 20px 16px 12px; }
  .mp-pix-modal__title { font-size: 17px; }
  .mp-pix-modal__body { padding: 16px; }
  .mp-pix-modal__footer { padding: 12px 16px 16px; }
}

/* ============================================
   CARD PIX MANUAL — visual bonito
============================================ */
.panel-card--pix {
  border: 1px solid rgba(255, 106, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 106, 0, 0.03), transparent 60%);
}
.panel-card--pix .panel-card__title i {
  font-size: 22px;
}

.pix-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
}
.pix-status-badge i { font-size: 13px; }
.pix-status-badge--ok {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success, #22c55e);
  border: 1px solid rgba(34, 197, 94, 0.25);
}
.pix-status-badge--missing {
  background: rgba(251, 191, 36, 0.12);
  color: #f59e0b;
  border: 1px solid rgba(251, 191, 36, 0.25);
}

.pix-card__intro {
  font-size: 13px;
  color: var(--fg-2);
  margin: 0 0 16px;
  line-height: 1.5;
}
.pix-card__intro strong {
  color: var(--fg);
}

.form-control--lg {
  padding: 12px 14px;
  font-size: 15px;
}

.pix-card__tip {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 14px 16px;
  margin-top: 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
}
.pix-card__tip i {
  color: #f59e0b;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================
   PIX MANUAL — card de pagamento na tela de sucesso
============================================ */
.pix-manual-card {
  background: linear-gradient(180deg, rgba(255,106,0,0.05), transparent);
  border: 1px solid rgba(255, 106, 0, 0.2);
  border-radius: 14px;
  padding: 18px;
  margin-top: 14px;
}
.pix-manual-card__head {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 16px;
}
.pix-manual-card__icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ff6a00, #ff9d4a);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(255,106,0,0.3);
}
.pix-manual-card__title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--fg);
}
.pix-manual-card__subtitle {
  margin: 2px 0 0;
  font-size: 13px;
  color: var(--fg-3);
}

.pix-manual-card__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border, rgba(255,255,255,0.08));
  font-size: 14px;
}
.pix-manual-card__row:last-child { border-bottom: 0; }
.pix-manual-card__label {
  color: var(--fg-3);
}
.pix-manual-card__value {
  color: var(--fg);
  display: inline-flex; align-items: center; gap: 6px;
  text-align: right;
}
.pix-manual-card__value--big {
  font-size: 18px;
  color: var(--brand, #ff6a00);
  font-weight: 800;
}

.pix-manual-card__key-wrap {
  margin-top: 14px;
}
.pix-manual-card__key-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--fg-2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.pix-manual-card__key-box {
  display: flex; align-items: center; gap: 0;
  background: var(--bg-2, #0a0a0d);
  border: 1px solid var(--border, #25252e);
  border-radius: 10px;
  padding: 4px;
}
.pix-manual-card__key-box code {
  flex: 1;
  padding: 10px 12px;
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  word-break: break-all;
  color: var(--fg);
  background: transparent;
}
.pix-manual-card__copy-btn {
  width: 40px; height: 40px;
  border-radius: 8px;
  background: var(--brand, #ff6a00);
  color: #fff;
  border: 0;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform 150ms, box-shadow 150ms;
}
.pix-manual-card__copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255,106,0,0.4);
}
.pix-manual-card__copy-btn:active {
  transform: scale(0.95);
}

.pix-manual-card__steps {
  margin-top: 16px;
  padding: 14px;
  background: rgba(34, 197, 94, 0.06);
  border-left: 3px solid var(--success, #22c55e);
  border-radius: 8px;
  font-size: 13px;
  color: var(--fg-2);
}
.pix-manual-card__steps strong {
  display: block;
  color: var(--fg);
  margin-bottom: 8px;
  font-size: 13px;
}
.pix-manual-card__steps ol {
  margin: 0;
  padding-left: 18px;
  line-height: 1.6;
}
.pix-manual-card__steps li {
  margin-bottom: 4px;
}
.pix-manual-card__steps li:last-child {
  margin-bottom: 0;
}

/* ============================================
   SOUND OPTIONS — radio com cards (settings)
============================================ */
.sound-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.sound-option {
  cursor: pointer;
}
.sound-option input { display: none; }
.sound-option__card {
  display: flex; gap: 14px; align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border, #25252e);
  border-radius: 12px;
  background: var(--bg-2, #0a0a0d);
  transition: all 150ms;
}
.sound-option__card:hover {
  border-color: rgba(255, 106, 0, 0.4);
}
.sound-option input:checked + .sound-option__card {
  border-color: var(--brand, #ff6a00);
  background: rgba(255, 106, 0, 0.06);
  box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1);
}
.sound-option__card i {
  font-size: 22px;
  color: var(--fg-3);
  flex-shrink: 0;
}
.sound-option input:checked + .sound-option__card i {
  color: var(--brand, #ff6a00);
}
.sound-option__card strong {
  display: block;
  font-size: 14px;
  color: var(--fg);
  margin-bottom: 2px;
}
.sound-option__card small {
  display: block;
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.4;
}

/* ============================================
   PIX BLOQUEADO (após primeiro cadastro)
============================================ */
.pix-status-badge--locked {
  background: rgba(59, 130, 246, 0.12);
  color: #3b82f6;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.pix-locked-display {
  background: var(--bg-2, #0a0a0d);
  border: 1px solid var(--border, #25252e);
  border-radius: 12px;
  padding: 4px 16px;
  margin-bottom: 14px;
}
.pix-locked-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border, rgba(255,255,255,0.06));
  font-size: 14px;
}
.pix-locked-row:last-child { border-bottom: 0; }
.pix-locked-label {
  color: var(--fg-3);
  font-size: 13px;
}
.pix-locked-value {
  color: var(--fg);
  display: inline-flex; align-items: center; gap: 6px;
  text-align: right;
}
.pix-locked-value--mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
}

.pix-locked-info {
  display: flex; gap: 14px;
  padding: 16px;
  background: rgba(59, 130, 246, 0.06);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
}
.pix-locked-info__icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.pix-locked-info strong {
  display: block;
  color: var(--fg);
  margin-bottom: 6px;
  font-size: 14px;
}
.pix-locked-info p {
  font-size: 13px;
  color: var(--fg-2);
  line-height: 1.5;
  margin: 0;
}
