/* Layout Utilitários */
.app-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--space-md);
}

.store-mobile-container {
  max-width: 600px;
  margin: 0 auto;
  background-color: var(--color-bg-surface);
  min-height: 100vh;
  box-shadow: var(--shadow-sm);
  padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* Botões Oficiais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  padding: 10px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
}

.btn-secondary {
  background-color: var(--color-secondary);
  color: #FFFFFF;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text-main);
}

.btn-danger {
  background-color: var(--color-status-danger);
  color: #FFFFFF;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* Campos de Formulário */
.form-group {
  margin-bottom: var(--space-md);
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-text-main);
}

.input-field {
  width: 100%;
  padding: 10px 14px;
  font-size: 0.95rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  outline: none;
  transition: border-color 0.15s;
}

.input-field:focus {
  border-color: var(--color-primary);
}

/* Cards e Painéis */
.card-panel {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  box-shadow: var(--shadow-sm);
}

/* Badges de Status */
.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.badge-pending { background: var(--color-status-pending-bg); color: var(--color-status-pending); }
.badge-preparing { background: var(--color-status-preparing-bg); color: var(--color-status-preparing); }
.badge-delivery { background: var(--color-status-delivery-bg); color: var(--color-status-delivery); }
.badge-success { background: var(--color-status-success-bg); color: var(--color-status-success); }
.badge-danger { background: var(--color-status-danger-bg); color: var(--color-status-danger); }

/* Estrutura do Kanban de Pedidos */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  overflow-x: auto;
  padding-bottom: var(--space-md);
  align-items: start;
}

.kanban-board[data-cols="1"] {
  grid-template-columns: minmax(290px, 1fr);
}

.kanban-board.is-list-view {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.kanban-board.is-list-view .kanban-column {
  min-height: auto;
}

.kanban-board.is-list-view .kanban-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: var(--space-sm);
}

.kanban-board.is-compact .kanban-card {
  padding: 10px 12px;
  gap: 6px;
  font-size: 0.86rem;
}

.kanban-board.is-compact .kanban-items-box {
  padding: 6px 8px;
}

.kanban-board.is-compact .kanban-actions {
  margin-top: 4px;
  padding-top: 6px;
}

.kanban-column {
  background-color: #EAECEF;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 10px;
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.kanban-column-header {
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-sm);
}

.kanban-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.05);
  border-left: 4px solid var(--color-primary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.16s ease, transform 0.16s ease;
}

.kanban-card:hover {
  box-shadow: 0 6px 16px -4px rgba(17, 24, 39, 0.10);
}

/* Modal Padrão */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(17, 24, 39, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  z-index: 1000;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background-color: var(--color-bg-surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: var(--space-lg);
  box-shadow: var(--shadow-lg);
}

.modal-box.modal-box-lg {
  max-width: 720px;
}

/* ==========================================================
   EXTENSÕES DO DESIGN SYSTEM (Fase 1 - Painel Master)
   Tudo baseado exclusivamente em variáveis de tokens.css
   ========================================================== */

/* Utilitários */
.text-muted { color: var(--color-text-muted); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.hidden { display: none !important; }
.divider { margin: var(--space-md) 0; border: 0; border-top: 1px solid var(--color-border); }
.row-wrap { display: flex; gap: var(--space-sm); flex-wrap: wrap; align-items: center; }
.row-wrap-spaced { display: flex; gap: var(--space-sm); flex-wrap: wrap; margin: 12px 0; }
.form-inline { display: inline; }
.max-w-card { max-width: 320px; margin-top: 12px; }
.mt-sm-flex { margin-top: var(--space-sm); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 var(--space-md); }

/* Select e Textarea */
.select-field { appearance: auto; }
.textarea-field {
  width: 100%;
  min-height: 160px;
  padding: 10px 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  outline: none;
  resize: vertical;
}
.textarea-field:focus { border-color: var(--color-primary); }
.textarea-compact {
  min-height: 76px;
  font-family: var(--font-family-base);
  font-size: 0.92rem;
}
.printer-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 720px) {
  .printer-choice-grid {
    grid-template-columns: 1fr;
  }
}
.form-hint { font-size: 0.8rem; color: var(--color-text-muted); margin-top: var(--space-xs); }

/* Barra superior */
.topbar { background-color: var(--color-secondary); color: #FFFFFF; }
.topbar-inner {
  max-width: 1280px; margin: 0 auto; padding: 12px var(--space-md);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap;
}
.topbar-brand { font-weight: 700; font-size: 1.1rem; color: #FFFFFF; text-decoration: none; }
.topbar-nav { display: flex; gap: var(--space-md); align-items: center; flex-wrap: wrap; }
.topbar-link { color: #FFFFFF; text-decoration: none; font-size: 0.9rem; opacity: 0.85; }
.topbar-link:hover { opacity: 1; }

/* Sidebar Lateral Colapsável do Painel Lojista (Culinary Operations System) */
.admin-shell {
  display: flex;
  min-height: 100vh;
  background-color: var(--color-bg-app);
  font-family: 'Inter', var(--font-family-base);
}

.admin-shell h1,
.admin-shell h2,
.admin-shell h3,
.admin-shell .page-title,
.admin-shell .stat-value,
.admin-shell .admin-kpi-val,
.admin-shell .sidebar-brand-title {
  font-family: 'Plus Jakarta Sans', var(--font-family-base);
}

.admin-sidebar {
  width: 248px;
  flex-shrink: 0;
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  border-right: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  transition: width 0.2s ease, transform 0.2s ease;
  z-index: 60;
}

.admin-shell.is-collapsed .admin-sidebar {
  width: 72px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  padding: 14px 12px;
  border-bottom: 1px solid var(--color-border);
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  text-decoration: none;
  min-width: 0;
  flex: 1;
}

.sidebar-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.sidebar-brand-title {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 700;
  font-size: 0.94rem;
  line-height: 1.2;
  color: var(--color-text-main);
}

.sidebar-brand-sub {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-brand-avatar {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--color-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
  flex-shrink: 0;
  overflow: hidden;
}

.sidebar-brand-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar-brand .sidebar-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sidebar-brand-icon,
.sidebar-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: currentColor;
}

.sidebar-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sidebar-collapse-btn {
  background: var(--color-bg-alt);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.sidebar-collapse-btn:hover {
  background: var(--color-bg-main);
  color: var(--color-text-main);
  border-color: var(--color-primary);
}

.sidebar-storefront-cta {
  padding: 10px 12px 4px;
}

.sidebar-storefront-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 9px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  color: var(--color-text-main);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.sidebar-storefront-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 10px;
  flex: 1;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 9px;
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.89rem;
  font-weight: 500;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.sidebar-link:hover {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
}

.sidebar-link.is-active {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 700;
}

.sidebar-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  flex: 1;
}

.sidebar-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.sidebar-badge.is-zero {
  display: none;
}

.sidebar-footer {
  padding: 10px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-action-btn {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.sidebar-logout-btn:hover {
  color: var(--color-status-danger);
  background-color: var(--color-status-danger-bg);
}

.admin-shell.is-collapsed .sidebar-label,
.admin-shell.is-collapsed .sidebar-brand-copy,
.admin-shell.is-collapsed .sidebar-badge,
.admin-shell.is-collapsed .sidebar-storefront-ext {
  display: none;
}

.admin-shell.is-collapsed .sidebar-header {
  flex-direction: column;
  gap: 8px;
  padding: 12px 8px;
}

.admin-shell.is-collapsed .sidebar-brand,
.admin-shell.is-collapsed .sidebar-link,
.admin-shell.is-collapsed .sidebar-storefront-link {
  justify-content: center;
  padding: 10px 8px;
}

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-main .app-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px 36px;
}

.admin-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 10px 24px;
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 35;
}

.admin-topbar-left,
.admin-topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.admin-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.admin-status-pill.is-open {
  background-color: var(--color-status-success-bg);
  color: var(--color-status-success);
}

.admin-status-pill.is-closed {
  background-color: var(--color-status-danger-bg);
  color: var(--color-status-danger);
}

.admin-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: currentColor;
}

.admin-user-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.admin-user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 800;
}

.admin-mobile-bar {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 10px 14px;
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.admin-mobile-brand-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.admin-mobile-brand {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-sidebar-backdrop {
  display: none;
}

.admin-mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .admin-topbar {
    display: none;
  }

  .admin-mobile-bar {
    display: flex;
  }

  .admin-main .app-container {
    padding: 14px 14px calc(82px + env(safe-area-inset-bottom, 0px));
  }

  .admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    transform: translateX(-100%);
    box-shadow: var(--shadow-lg);
  }

  .admin-shell.is-collapsed .admin-sidebar {
    width: 260px;
  }

  .admin-shell.is-collapsed .sidebar-label,
  .admin-shell.is-collapsed .sidebar-brand-copy,
  .admin-shell.is-collapsed .sidebar-badge,
  .admin-shell.is-collapsed .sidebar-storefront-ext {
    display: inline-flex;
  }

  .admin-shell.is-collapsed .sidebar-brand-copy {
    display: flex;
  }

  .admin-shell.is-collapsed .sidebar-header {
    flex-direction: row;
    padding: 14px 12px;
  }

  .admin-shell.is-collapsed .sidebar-brand,
  .admin-shell.is-collapsed .sidebar-link,
  .admin-shell.is-collapsed .sidebar-storefront-link {
    justify-content: flex-start;
    padding: 10px 12px;
  }

  .sidebar-collapse-btn {
    display: none;
  }

  .admin-shell.is-mobile-open .admin-sidebar {
    transform: translateX(0);
  }

  .admin-shell.is-mobile-open .admin-sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 55;
  }

  .admin-mobile-bottom-nav {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
    padding: 6px 6px calc(6px + env(safe-area-inset-bottom, 0px));
    z-index: 45;
    box-shadow: 0 -4px 16px rgba(17, 24, 39, 0.06);
  }

  .admin-bottom-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 4px 2px;
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 600;
  }

  .admin-bottom-link svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .admin-bottom-link.is-active {
    color: var(--color-primary);
  }
}

/* Cabeçalho de página */
.page-header { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap; margin-bottom: var(--space-lg); }
.page-title { font-size: 1.5rem; font-weight: 700; }

/* Alertas */
.alert { padding: 12px 16px; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 500; margin-bottom: var(--space-md); }
.alert-success { background: var(--color-status-success-bg); color: var(--color-status-success); }
.alert-danger { background: var(--color-status-danger-bg); color: var(--color-status-danger); }
.alert-warning { background: var(--color-status-pending-bg); color: var(--color-status-pending); }

/* Tabela */
.table-wrapper { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.data-table th { text-align: left; padding: 10px 12px; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.03em; color: var(--color-text-muted); border-bottom: 2px solid var(--color-border); white-space: nowrap; }
.data-table td { padding: 12px; border-bottom: 1px solid var(--color-border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.cell-actions { display: flex; gap: var(--space-xs); flex-wrap: wrap; }
.badge-muted { background: var(--color-border); color: var(--color-text-muted); }

/* Autenticação */
.auth-wrapper { min-height: calc(100vh - 96px); display: flex; align-items: center; justify-content: center; padding: var(--space-md); }
.auth-card { width: 100%; max-width: 400px; }
.auth-title { font-size: 1.4rem; font-weight: 700; margin-bottom: var(--space-xs); }

/* Modal: cabeçalho */
.modal-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--space-md); }
.modal-title { font-size: 1.15rem; font-weight: 700; }
.modal-actions { display: flex; justify-content: flex-end; gap: var(--space-sm); margin-top: var(--space-md); }

/* Toasts */
.toast-container { position: fixed; top: var(--space-md); right: var(--space-md); display: flex; flex-direction: column; gap: var(--space-sm); z-index: 200000 !important; max-width: calc(100vw - 32px); }
.toast { padding: 12px 18px; border-radius: var(--radius-md); font-size: 0.9rem; font-weight: 600; box-shadow: var(--shadow-md); background: var(--color-status-success); color: #FFFFFF; }
.toast-danger { background: var(--color-status-danger); }
.toast-warning { background: var(--color-status-pending); }

/* Theme Studio */
.split-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--space-lg); align-items: start; }
@media (max-width: 900px) { .split-layout { grid-template-columns: 1fr; } }
.color-row { display: flex; align-items: center; gap: var(--space-sm); margin-bottom: var(--space-sm); }
.color-row .form-label { flex: 1; margin-bottom: 0; font-weight: 500; }
.color-input { width: 48px; height: 36px; padding: 2px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); background: var(--color-bg-surface); cursor: pointer; }
.color-code { width: 92px; text-align: center; font-family: ui-monospace, Consolas, monospace; font-size: 0.85rem; }
.theme-preview { background-color: var(--color-bg-main); color: var(--color-text-main); border: 1px solid var(--color-border); border-radius: var(--radius-lg); padding: var(--space-md); font-family: var(--font-family-base); }
.theme-preview-card { background-color: var(--color-bg-surface); border: 1px solid var(--color-border); border-radius: var(--radius-md); padding: var(--space-md); box-shadow: var(--shadow-sm); margin-top: var(--space-md); }
.theme-preview-banner { background-color: var(--color-primary); color: #FFFFFF; border-radius: var(--radius-md); padding: var(--space-md); font-weight: 700; }
.theme-preview-price { color: var(--color-primary); font-weight: 700; }

/* ==========================================================
   ESTRUTURA BASE DO CARDÁPIO PÚBLICO (/{slug})
   ========================================================== */
.store-header {
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.store-banner-wrap {
  width: 100%;
  height: 140px;
  overflow: hidden;
  position: relative;
  background: var(--color-border);
}

.store-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-header-content {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.store-header-top {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.store-logo-wrap {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: var(--radius-md);
  border: 2px solid var(--color-border);
  background: var(--color-bg-main);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.store-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-logo-placeholder {
  font-size: 2rem;
  line-height: 1;
}

.store-header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.store-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.store-status-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-xs);
  font-size: 0.85rem;
}

.store-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
}

.store-status-badge.is-open {
  background: rgba(46, 204, 113, 0.15);
  color: #2ECC71;
}

.store-status-badge.is-closed {
  background: rgba(149, 165, 166, 0.15);
  color: #95A5A6;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.store-prep-time {
  color: var(--color-text-muted);
}

.store-address {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 4px;
}

/* Navegação horizontal sticky de categorias */
.category-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
  padding: var(--space-xs) var(--space-md);
}

.category-nav-scroll {
  display: flex;
  gap: var(--space-xs);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-nav-scroll::-webkit-scrollbar {
  display: none;
}

.category-pill {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
}

.category-pill:hover {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
}

/* Corpo e Seções do Cardápio */
.store-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.category-section {
  scroll-margin-top: 60px;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  content-visibility: auto;
  contain-intrinsic-size: 1px 420px;
}

.category-header {
  border-bottom: 2px solid var(--color-border);
  padding-bottom: var(--space-xs);
}

.category-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.category-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.product-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.product-card {
  display: flex;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card.is-paused {
  opacity: 0.6;
}

.product-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-xs);
}

.product-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.product-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-xs);
}

.product-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  white-space: nowrap;
}

.product-btn {
  padding: 5px 12px;
  border-radius: var(--radius-sm);
  background: var(--color-primary);
  color: #FFFFFF;
  border: none;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.product-btn:hover {
  background: var(--color-primary-hover);
}

.product-thumb-wrap {
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-border);
}

.product-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rodapé da Loja */
.store-footer {
  margin-top: var(--space-lg);
  padding-bottom: var(--space-xl);
}

.store-footer-card {
  padding: var(--space-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.store-footer-title {
  font-weight: 800;
  color: var(--color-text-main);
  font-size: 1rem;
}

.store-footer-badge {
  margin-top: var(--space-xs);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 700;
}
/* ==========================================================
   EXTENSÕES DO DESIGN SYSTEM (Fase 2 - Painel do Lojista)
   ========================================================== */

.topbar-link.is-active {
  opacity: 1;
  font-weight: 700;
  border-bottom: 2px solid var(--color-primary);
  padding-bottom: 2px;
}

/* Kanban Extensões */
.kanban-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  flex: 1;
  overflow-y: auto;
}

.kanban-header-pending {
  background-color: var(--color-status-pending-bg);
  color: var(--color-status-pending);
}

.kanban-header-preparing {
  background-color: var(--color-status-preparing-bg);
  color: var(--color-status-preparing);
}

.kanban-header-delivery {
  background-color: var(--color-status-delivery-bg);
  color: var(--color-status-delivery);
}

.kanban-header-success {
  background-color: var(--color-status-success-bg);
  color: var(--color-status-success);
}

.kanban-card-canceled {
  border-left-color: var(--color-status-danger);
  opacity: 0.7;
}

.kanban-change-alert {
  display: inline-block;
  margin-top: 2px;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--color-status-pending-bg);
  color: var(--color-status-pending);
  font-weight: 700;
}

.kanban-item-canceled {
  text-decoration: line-through;
  color: var(--color-text-muted);
  opacity: 0.72;
}

.refund-items-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 220px;
  overflow-y: auto;
  padding: 4px 0;
}

.refund-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  cursor: pointer;
}

.refund-item-row-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.kanban-actions {
  display: flex;
  gap: var(--space-xs);
  flex-wrap: wrap;
  margin-top: var(--space-sm);
  padding-top: var(--space-xs);
  border-top: 1px dashed var(--color-border);
}

/* Repetidores (Variações e Complementos) */
.repeater {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.repeater-row {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
  flex-wrap: nowrap;
  width: 100%;
}

.repeater-row .input-field {
  flex: 1;
  min-width: 0;
}

.repeater-row .repeater-price {
  flex: 0 0 104px;
  max-width: 104px;
  text-align: right;
}

.repeater-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
  flex-wrap: wrap;
  padding-left: 34px;
}

.repeater-item-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-left: auto;
}

@media (max-width: 560px) {
  .repeater-row {
    flex-wrap: wrap;
  }
  .repeater-row .repeater-price {
    flex: 1 1 90px;
    max-width: none;
  }
  .repeater-meta-row {
    padding-left: 0;
  }
  .repeater-item-actions {
    margin-left: 0;
  }
}

/* Switch Sliders (Configurações e Toggles) */
.switch-list {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  overflow: hidden;
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 12px 14px;
  border-bottom: 1px solid var(--color-border);
  cursor: pointer;
  user-select: none;
  transition: background-color 0.15s ease;
}

.switch-row:last-child {
  border-bottom: none;
}

.switch-row:hover {
  background-color: var(--color-bg-app);
}

.switch-text {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.35;
}

.switch-control {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch-control input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-slider {
  position: relative;
  width: 44px;
  height: 24px;
  background-color: #CBD5E1;
  border-radius: var(--radius-pill);
  transition: background-color 0.2s ease;
}

.switch-slider::before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}

.switch-control input:checked + .switch-slider {
  background-color: var(--color-primary);
}

.switch-control input:checked + .switch-slider::before {
  transform: translateX(20px);
}

.switch-control input:focus-visible + .switch-slider {
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.25);
}

/* Checkbox e Listas */
.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: 0.9rem;
  cursor: pointer;
  user-select: none;
}

.checkbox-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  max-height: 180px;
  overflow-y: auto;
  padding: var(--space-xs);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
}

/* Miniaturas e Textarea Compacto */
.table-thumb {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.textarea-short {
  min-height: 80px;
}
/* ==========================================================
   EXTENSÕES DO DESIGN SYSTEM (Fase 2 - Métricas, Horários e Perfil)
   ========================================================== */

/* Cores de texto semânticas */
.text-primary { color: var(--color-primary); }
.text-success { color: var(--color-status-success); }
.border-danger { border: 2px solid var(--color-status-danger); }

/* Números de métricas */
.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.2;
}

/* Gráfico de Barras Responsivo */
.chart-container {
  display: flex;
  align-items: flex-end;
  gap: var(--space-xs);
  height: 180px;
  padding-top: var(--space-md);
  border-bottom: 2px solid var(--color-border);
  overflow-x: auto;
}

.chart-col {
  flex: 1;
  min-width: 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-xs);
}

.chart-bar-wrap {
  width: 100%;
  max-width: 38px;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.chart-bar {
  width: 100%;
  background: var(--color-primary);
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  transition: height 0.4s ease-out;
}

.chart-bar:hover {
  background: var(--color-primary-hover);
}

.chart-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

/* Barras de Progresso e Métricas de Pagamento */
.payment-metrics-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: var(--color-border);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: var(--radius-full);
  transition: width 0.4s ease-out;
}

/* Horários */
.time-field {
  max-width: 120px;
  text-align: center;
  font-family: ui-monospace, Consolas, monospace;
}

/* Prévias de Imagens */
.preview-thumb {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.preview-banner {
  width: 100%;
  max-height: 110px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* Destaque de Novo Pedido no Kanban */
.kanban-card-highlight {
  animation: pulseHighlight 2s infinite alternate;
  border-left-width: 6px;
}

@keyframes pulseHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(234, 29, 44, 0.4);
  }
  100% {
    box-shadow: 0 0 12px 3px rgba(234, 29, 44, 0.3);
  }
}

/* ==========================================================
   FASE 3: CARDÁPIO CLIENTE, MONTADOR, SACOLA, CHECKOUT E RASTREIO
   ========================================================== */

/* Utilitários complementares */
.w-full { width: 100%; }
.font-mono { font-family: ui-monospace, Consolas, monospace; }
.font-bold { font-weight: 700; }
.px-sm { padding-left: var(--space-sm); padding-right: var(--space-sm); }
.p-md { padding: var(--space-md); }
.border-t { border-top: 1px solid var(--color-border); }
.pt-sm { padding-top: var(--space-sm); }
.text-base { font-size: 1rem; }
.text-sm { font-size: 0.85rem; }
.text-xs { font-size: 0.75rem; }

/* 1. Busca instantânea no cardápio */
.store-search-wrap {
  padding: var(--space-xs) var(--space-md);
  background: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
}

.store-search-input {
  width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-main);
  color: var(--color-text-main);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.store-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

/* 2. Modal de Montagem Guiada de Produto */
.modal-builder {
  max-width: 540px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.builder-header {
  padding: var(--space-md);
  border-bottom: 1px solid var(--color-border);
}

.builder-thumb {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.builder-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.builder-desc {
  font-size: 0.88rem;
  line-height: 1.4;
}

.builder-body {
  padding: var(--space-md);
  overflow-y: auto;
  flex: 1;
}

.builder-step {
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-border);
}

.builder-step:last-child {
  border-bottom: none;
}

.builder-step-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xs);
}

.builder-options-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-top: var(--space-xs);
}

.builder-option-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}

.builder-option-card:hover {
  border-color: var(--color-primary);
}

.builder-option-card input:checked ~ div {
  font-weight: 700;
}

.builder-option-card.is-selected,
.builder-option-card:has(input:checked) {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
}

.builder-price-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.builder-price-included {
  color: var(--color-status-success);
  font-weight: 600;
  font-size: 0.8rem;
}

.builder-price-extra {
  color: var(--color-primary);
  font-weight: 700;
}

.builder-missing-hint {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-status-pending);
  background-color: var(--color-status-pending-bg);
  border-top: 1px solid var(--color-border);
  text-align: center;
}

.builder-step-highlight {
  animation: pulseHighlight 0.9s ease;
  border-radius: var(--radius-md);
  background-color: var(--color-status-pending-bg);
  padding-left: var(--space-xs);
  padding-right: var(--space-xs);
}

.btn-pending-validation {
  opacity: 0.72;
}

.admin-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.admin-checkbox-scroll {
  max-height: 180px;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  background-color: var(--color-bg-main);
}

.builder-footer {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.builder-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.builder-qty-btn {
  width: 38px;
  height: 38px;
  background: var(--color-bg-main);
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-main);
}

.builder-qty-btn:hover {
  background: var(--color-border);
}

.builder-qty-val {
  min-width: 32px;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
}

/* 3. Barra Flutuante da Sacola (Mobile-First) */
.cart-floating-bar {
  position: fixed;
  bottom: 12px;
  left: 12px;
  right: 12px;
  max-width: 596px;
  margin: 0 auto;
  z-index: 100;
  transform: translateY(140%);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cart-floating-demo {
  position: static;
  transform: none;
  margin-top: 1rem;
}

.cart-floating-bar.is-active {
  transform: translateY(0);
}

.cart-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--color-primary);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: filter 0.2s;
}

.cart-bar-inner:hover {
  filter: brightness(1.08);
}

.cart-bar-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.cart-bar-badge {
  background: rgba(0, 0, 0, 0.25);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
}

.cart-bar-total {
  font-size: 1.05rem;
  font-weight: 900;
}

.cart-bar-action {
  font-weight: 700;
  font-size: 0.95rem;
}

/* 4. Drawer / Modal da Sacola de Compras */
.cart-drawer-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 50vh;
  overflow-y: auto;
  margin-bottom: var(--space-md);
}

.cart-item-card {
  padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
}

.cart-min-alert {
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background: rgba(245, 158, 11, 0.15);
  color: #D97706;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

/* 5. Checkout Transparente */
.checkout-method-card {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  cursor: pointer;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}

.checkout-method-card:hover {
  border-color: var(--color-primary);
}

.checkout-summary-box {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
}

/* 6. Tela de Rastreio ao Vivo do Pedido */
.tracking-hero-card {
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  border-radius: var(--radius-lg);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.tracking-number {
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1.1;
  margin: var(--space-xs) 0;
}

.tracking-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* Linha do tempo visual */
.timeline-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  position: relative;
  margin: var(--space-lg) 0;
  padding: 0 var(--space-xs);
}

.timeline-container::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 4px;
  background: var(--color-border);
  z-index: 1;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
  width: 70px;
}

.timeline-bullet {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-bg-surface);
  border: 2px solid var(--color-border);
  color: var(--color-text-muted);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: all 0.3s ease;
}

.timeline-label {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  font-weight: 600;
  line-height: 1.2;
}

.timeline-step.is-active .timeline-bullet {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.timeline-step.is-active .timeline-label {
  color: var(--color-text-main);
  font-weight: 700;
}

.timeline-step.is-current .timeline-bullet {
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

/* Box do Pix */
.border-pix {
  border: 2px dashed #009EE3;
  background: rgba(0, 158, 227, 0.05);
}

.pix-qr-wrap {
  display: flex;
  justify-content: center;
}

.pix-qr-img {
  width: 200px;
  height: 200px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  padding: 8px;
}

.tracking-items-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tracking-item-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  font-size: 0.9rem;
}

/* 7. Central de Pagamentos e Seletor de Modo (OAuth e Checkout Pro) */
.payment-mode-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.payment-mode-card {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  cursor: pointer;
  transition: all 0.2s ease;
}

.payment-mode-card:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-alt);
}

.payment-mode-card.is-selected {
  border-color: var(--color-primary);
  background: rgba(234, 29, 44, 0.04);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.payment-mode-content {
  flex: 1;
}

.payment-mode-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--color-text-main);
  margin-bottom: var(--space-xs);
}

.payment-mode-desc {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: var(--space-xs);
}

/* Acordeão para Configuração Manual e Recursos Avançados */
.accordion-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  overflow: hidden;
}

.accordion-header {
  padding: var(--space-md);
  font-weight: 600;
  cursor: pointer;
  user-select: none;
  background: var(--color-bg-alt);
  color: var(--color-text-main);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.accordion-header::-webkit-details-marker {
  display: none;
}

.accordion-header::after {
  content: "▾";
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.accordion-item[open] .accordion-header::after {
  transform: rotate(180deg);
}

.accordion-body {
  padding: var(--space-md);
  border-top: 1px solid var(--color-border);
}

/* ==========================================================
   8. Identificação do Cliente & Minha Conta (Mobile-First)
   ========================================================== */
.store-user-bar {
  display: flex;
  align-items: stretch;
  gap: var(--space-xs);
  padding: 0 var(--space-md) var(--space-sm);
}

.btn-customer-account {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
}

.btn-store-theme {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 0 12px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  font-size: 1.05rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.15s ease;
}

.btn-store-theme:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-surface);
}

.btn-customer-account:hover {
  border-color: var(--color-primary);
  background: var(--color-bg-surface);
}

.btn-customer-account.is-logged {
  border-color: var(--color-border);
  background: var(--color-bg-surface);
  box-shadow: var(--shadow-sm);
}

.user-greeting {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.user-sub {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.user-arrow {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-weight: 700;
}

.checkout-profile-card {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--color-bg-alt);
  border: 1.5px solid var(--color-primary);
}

.customer-orders-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  max-height: 45vh;
  overflow-y: auto;
}

.customer-order-item {
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.customer-order-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xs);
}

.customer-order-num {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.customer-order-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ==========================================================
   9. Identificação de Bandeira de Cartão (Amex, Visa, Master, Elo)
   ========================================================== */
.card-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.card-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  line-height: 1;
  transition: transform 0.2s ease;
}

.card-brand-pill svg,
.card-brand-pill .card-brand-img {
  height: 22px;
  width: auto;
  max-width: 38px;
  object-fit: contain;
  border-radius: var(--radius-xs);
  display: block;
}

/* ==========================================================
   RODAPÉ COMPLETO & ATRAENTE DO CARDÁPIO (MOBILE-FIRST)
   ========================================================== */

.store-footer-rich {
  margin-top: var(--space-xl);
  padding: var(--space-lg) var(--space-md) calc(var(--space-2xl) + 60px);
  background: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.88rem;
}

.footer-content-wrap {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.footer-brand-header {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: var(--space-md);
}

.footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.footer-brand-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  width: fit-content;
}

.footer-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.footer-status-dot.is-open {
  background: var(--color-success);
  box-shadow: 0 0 6px var(--color-success);
}

.footer-status-dot.is-closed {
  background: var(--color-danger);
}

.footer-grid-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 640px) {
  .footer-grid-info {
    grid-template-columns: repeat(2, 1fr);
  }
}

.footer-card-box {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-box-title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-address-text {
  color: var(--color-text-main);
  font-size: 0.9rem;
  line-height: 1.45;
}

.footer-route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.footer-route-btn:hover {
  background: var(--color-primary);
  color: #FFFFFF;
}

.footer-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.footer-contact-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.footer-contact-whatsapp:hover {
  border-color: #25D366;
  color: #25D366;
}

.footer-contact-icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-payments-block {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer-payments-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.footer-payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 2px 4px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.15s ease, border-color 0.15s ease;
  cursor: default;
}

.footer-payment-badge:hover {
  transform: translateY(-2px);
  border-color: var(--color-primary);
}

.footer-payment-badge svg,
.footer-payment-badge .payment-brand-img {
  height: 24px;
  width: 38px;
  max-width: 42px;
  object-fit: contain;
  display: block;
  border-radius: var(--radius-xs);
}

.checkout-method-badge {
  height: 20px;
  max-width: 34px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

.footer-security-seal {
  background: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.footer-seal-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(46, 204, 113, 0.12);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 50%;
  color: var(--color-success);
}

.footer-seal-icon svg {
  width: 24px;
  height: 24px;
}

.footer-seal-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-seal-title {
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--color-text-main);
  letter-spacing: -0.01em;
}

.footer-seal-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.footer-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  padding-top: var(--space-sm);
}

.footer-nav-link {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.15s ease;
}

.footer-nav-link:hover {
  color: var(--color-primary);
}

.footer-bottom-bar {
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-md);
  text-align: center;
  font-size: 0.76rem;
  color: var(--color-text-muted);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-brand-visa {
  background: #1A1F71;
  color: #FFFFFF;
}

.card-brand-master {
  background: #EB001B;
  color: #FFFFFF;
}

.card-brand-amex {
  background: #0077A6;
  color: #FFFFFF;
}

.card-brand-elo {
  background: #00A4E8;
  color: #FFFFFF;
}

.card-brand-hipercard {
  background: #8B0000;
  color: #FFFFFF;
}

.card-brand-diners {
  background: #004B87;
  color: #FFFFFF;
}

.card-brand-generic {
  background: var(--color-border);
  color: var(--color-text-main);
}

/* ==========================================================
   HUD INFERIOR FIXO DO CARDÁPIO (DOCK HUD)
   Permanece sempre visível em toda a tela inicial do cardápio
   ========================================================== */
.store-bottom-hud {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
  padding: 8px 12px calc(10px + env(safe-area-inset-bottom, 0px));
}

body.store-modal-open .store-bottom-hud {
  display: none !important;
}

.hud-container {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

/* Botão de Meus Pedidos */
.hud-account-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
  flex-shrink: 0;
}

.hud-account-btn:hover,
.hud-account-btn:active {
  transform: translateY(-2px);
  border-color: var(--color-primary);
  background-color: var(--color-bg-main);
}

.hud-account-btn .hud-icon {
  font-size: 1.25rem;
  line-height: 1;
}

.hud-account-btn .hud-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hud-account-btn .hud-label-primary {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--color-text-main);
}

.hud-account-btn .hud-label-sub {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  line-height: 1.1;
}

/* Botão de Finalizar Compra / Sacola */
.hud-cart-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  color: var(--color-text-main);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.hud-cart-btn:hover,
.hud-cart-btn:active {
  transform: translateY(-2px);
}

.hud-cart-btn .hud-cart-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-cart-btn .hud-icon {
  font-size: 1.3rem;
  line-height: 1;
}

.hud-cart-btn .hud-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.hud-cart-btn .hud-label-primary {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.15;
}

.hud-cart-btn .hud-label-sub {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  line-height: 1.1;
}

.hud-cart-btn .hud-cart-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hud-cart-btn .hud-total {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--color-text-main);
}

.hud-cart-btn .hud-arrow {
  font-size: 0.9rem;
  font-weight: bold;
}

/* Quando houver itens na Sacola: estilo chamativo de Finalizar Compra */
.hud-cart-btn.has-items {
  background: var(--color-primary);
  border-color: var(--color-primary-hover);
  color: #FFFFFF;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.55), 0 0 20px rgba(255, 59, 48, 0.4);
}

.hud-cart-btn.has-items .hud-label-primary,
.hud-cart-btn.has-items .hud-total,
.hud-cart-btn.has-items .hud-arrow {
  color: #FFFFFF;
}

.hud-cart-btn.has-items .hud-label-sub {
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================
   Modais em Tela Cheia do Cardápio (Store Fullscreen Screens)
   Cobrem 100% da viewport parecendo telas nativas de aplicativo
   ========================================================== */
body.store-modal-open {
  overflow: hidden !important;
  touch-action: none;
}

.store-screen-overlay,
.store-mobile-container .modal-overlay {
  position: fixed !important;
  inset: 0 !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  width: 100vw !important;
  height: 100% !important;
  height: 100vh !important;
  height: 100dvh !important;
  background-color: rgba(10, 6, 8, 0.9);
  display: none;
  align-items: stretch;
  justify-content: center;
  padding: 0;
  z-index: 99999 !important;
  overflow: hidden;
}

.store-screen-overlay.active,
.store-mobile-container .modal-overlay.active {
  display: flex !important;
}

.store-screen-box,
.store-mobile-container .modal-box {
  width: 100%;
  max-width: 600px;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0 auto;
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg-surface);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  animation: storeScreenSlideUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes storeScreenSlideUp {
  from {
    opacity: 0.85;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cabeçalho Fixo de Tela do Cardápio */
.modal-screen-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  min-height: 56px;
  flex-shrink: 0;
}

.btn-screen-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: var(--radius-md);
  transition: background-color 0.15s, transform 0.1s;
}

.btn-screen-back:hover,
.btn-screen-back:active {
  background-color: var(--color-bg-main);
  transform: translateX(-2px);
}

.modal-screen-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  text-align: center;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0 8px;
}

.modal-screen-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-screen-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  width: 36px;
  height: 36px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.1s;
}

.btn-screen-action:hover,
.btn-screen-action:active {
  border-color: var(--color-primary);
  background-color: var(--color-bg-surface);
  transform: scale(1.05);
}

/* Áreas de Rolagem Interna dos Modais */
.store-screen-overlay .builder-body,
.store-screen-overlay .cart-screen-body,
.store-screen-overlay .account-screen-body,
.store-screen-overlay .checkout-screen-body,
.store-mobile-container .modal-box .builder-body,
.store-mobile-container .modal-box .cart-screen-body,
.store-mobile-container .modal-box .account-screen-body,
.store-mobile-container .modal-box .checkout-screen-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-md);
}

.store-screen-overlay .checkout-screen-form,
.store-mobile-container .modal-box .checkout-screen-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  overflow: hidden;
  height: 100%;
}

.store-screen-overlay .cart-drawer-list,
.store-mobile-container .modal-box .cart-drawer-list {
  max-height: none;
  flex: 1;
}

/* Rodapés Fixos */
.store-screen-overlay .builder-footer,
.store-screen-overlay .cart-drawer-footer,
.store-screen-overlay .checkout-footer,
.store-mobile-container .modal-box .builder-footer,
.store-mobile-container .modal-box .cart-drawer-footer,
.store-mobile-container .modal-box .checkout-footer {
  position: sticky;
  bottom: 0;
  z-index: 20;
  background-color: var(--color-bg-surface);
  border-top: 1px solid var(--color-border);
  padding: 12px 16px;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
}

/* Erro e Destaque nos Inputs do Checkout */
.input-field.input-error {
  border-color: var(--color-danger, #ef4444) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
  animation: inputShake 0.35s ease-in-out;
}

.field-error-msg {
  color: var(--color-danger, #dc2626);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 4px;
}

@keyframes inputShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-4px); }
  40%, 80% { transform: translateX(4px); }
}

/* Lista de Cartões Salvos do Cofre Multi-Gateway */
.saved-cards-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.saved-card-row {
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.saved-card-radio-label {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  cursor: pointer;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.saved-card-radio-label:hover {
  border-color: var(--color-primary);
}

.saved-card-radio-label.is-selected {
  border-color: var(--color-primary);
  background-color: rgba(227, 24, 55, 0.06);
}

.btn-delete-saved-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  color: var(--color-status-danger);
  cursor: pointer;
  font-size: 1rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.btn-delete-saved-card:hover {
  background-color: var(--color-status-danger-bg);
  border-color: var(--color-status-danger);
}

.card-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
}

.card-brand-badge.card-brand-visa { background-color: #eef2ff; color: #1434cb; }
.card-brand-badge.card-brand-master { background-color: #fff7ed; color: #c2410c; }
.card-brand-badge.card-brand-amex { background-color: #e0f2fe; color: #0369a1; }
.card-brand-badge.card-brand-elo { background-color: #f3f4f6; color: #111827; }
.card-brand-badge.card-brand-hipercard { background-color: #fef2f2; color: #b91c1c; }
.card-brand-badge.card-brand-diners { background-color: #eff6ff; color: #1d4ed8; }
.card-brand-badge.card-brand-generic { background-color: #f1f5f9; color: #334155; }

.cash-change-preview {
  margin-top: 6px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
  background-color: var(--color-status-pending-bg);
  color: var(--color-status-pending);
  font-size: 0.85rem;
  font-weight: 600;
}

.cash-change-preview.is-error {
  background-color: var(--color-status-danger-bg);
  color: var(--color-status-danger);
}

.card-svg,
.saved-card-brand-icon {
  width: 34px;
  height: 22px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.saved-card-radio-label .card-svg {
  width: 34px;
  height: 22px;
  flex-shrink: 0;
}

.card-brand-pill-name {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

.checkout-method-icon {
  width: 28px;
  height: 20px;
  object-fit: contain;
  vertical-align: middle;
}

/* ================= CATÁLOGO COLAPSÁVEL E PROGRAMAÇÃO POR DIA ================= */
.collapsible-panel {
  padding: var(--space-md);
}

.collapsible-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.collapsible-summary::-webkit-details-marker {
  display: none;
}

.collapsible-summary-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

.collapsible-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-bg-main);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

details[open] > .collapsible-summary .collapsible-chevron {
  transform: rotate(180deg);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.collapsible-body {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-border);
}

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
}

.catalog-day-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.day-filter-pill {
  padding: 5px 11px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-main);
  color: var(--color-text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.day-filter-pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.day-filter-pill.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.catalog-search-box {
  min-width: 210px;
  max-width: 300px;
  flex: 1;
}

.weekday-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.weekday-pill-check {
  display: inline-flex;
  cursor: pointer;
}

.weekday-pill-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.weekday-pill-check span {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  transition: all 0.15s ease;
}

.weekday-pill-check input:checked + span {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.repeater-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-main);
  margin-bottom: var(--space-sm);
}

.repeater-days-toggle {
  white-space: nowrap;
  font-size: 0.78rem;
}

.repeater-days-toggle.is-custom {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.repeater-days-panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-bg-surface);
}

.days-mode-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.days-mode-tab {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-main);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.days-mode-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-text-main);
}

.days-mode-tab.is-active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.days-presets-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.days-occasional-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.prod-group-sort-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 4px 6px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.15s ease;
}

.prod-group-sort-row:hover {
  background: var(--color-bg-main);
}

.prod-group-sort-row .checkbox-label {
  flex: 1;
  min-width: 0;
}

.prod-group-sort-row.is-dragging {
  opacity: 0.55;
  background: var(--color-primary-light);
  border-color: var(--color-primary);
}

.schedule-grid-cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

.schedule-group-box {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-sm);
  background: var(--color-bg-main);
}

.schedule-group-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--color-text-main);
}

.schedule-sub-details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 10px;
  background: var(--color-bg-surface);
  margin-bottom: var(--space-xs);
}

.schedule-sub-details summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
}

.schedule-checklist {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 8px;
}

.modal-subsection {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  background: var(--color-bg-main);
  margin-bottom: var(--space-sm);
}

.modal-subsection summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--color-text-main);
}

.modal-subsection-body {
  margin-top: var(--space-xs);
  padding-top: var(--space-xs);
  border-top: 1px solid var(--color-border);
}

/* ================= DRAG & DROP REORDENAÇÃO E UPLOAD RESPONSIVO ================= */
.drag-handle-col {
  width: 42px;
  text-align: center;
}

.drag-handle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-main);
  color: var(--color-text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.drag-handle:hover,
.drag-handle:focus-visible {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: var(--color-primary-light);
}

.drag-handle:active {
  cursor: grabbing;
}

tr.is-dragging,
.repeater-row-wrap.is-dragging {
  opacity: 0.78;
  background: var(--color-primary-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.repeater-row-wrap.is-dragging {
  border-radius: var(--radius-md);
  outline: 2px dashed var(--color-primary);
}

.upload-dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: var(--space-md);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-bg-main);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.15s ease;
}

.upload-dropzone:hover,
.upload-dropzone.is-dragover {
  border-color: var(--color-primary);
  background: var(--color-primary-light);
}

.upload-dropzone.is-dragover {
  transform: scale(1.01);
}

.upload-dropzone-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
}

.upload-dropzone-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  pointer-events: none;
}

.upload-dropzone-icon {
  font-size: 1.7rem;
  line-height: 1;
}

.upload-dropzone-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.upload-dropzone-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.upload-dropzone-preview {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
  text-align: left;
}

.upload-preview-img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  flex-shrink: 0;
}

.upload-preview-banner {
  width: 160px;
  height: 76px;
}

.upload-preview-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  flex: 1;
}

.upload-file-name {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-main);
  word-break: break-word;
}

.upload-dropzone-clear {
  position: relative;
  z-index: 3;
}

@media (max-width: 640px) {
  .upload-dropzone {
    min-height: 112px;
    padding: var(--space-sm);
  }
  .upload-dropzone-preview {
    flex-direction: column;
    text-align: center;
  }
  .upload-preview-meta {
    align-items: center;
  }
  .upload-preview-img {
    width: 100%;
    max-width: 180px;
    height: 110px;
  }
  .upload-preview-banner {
    max-width: 100%;
    height: 96px;
  }
}

/* Regras combinadas entre grupos de complementos (ex.: Feijoada cobre Carne) */
.covers-rule-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.covers-rule-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface);
}

.covers-rule-name {
  min-width: 130px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-main);
}

.covers-rule-select {
  flex: 1;
  min-width: 180px;
}

.builder-cover-note {
  padding: 6px 10px;
  margin-bottom: 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-primary);
  background: var(--color-surface-soft);
  color: var(--color-text-main);
  font-size: 0.82rem;
  font-weight: 600;
}

.builder-option-card.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ==========================================================
   ALTERNÂNCIA DE TEMA E MODO ESCURO GLOBAL
   ========================================================== */
.theme-toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background: var(--color-bg-surface);
  color: var(--color-text-main);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.theme-toggle-chip:hover {
  border-color: var(--color-primary);
}

.theme-toggle-chip.is-topbar {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

.theme-toggle-chip.is-topbar:hover {
  background: rgba(255, 255, 255, 0.22);
}

.auth-theme-bar {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 50;
}

html[data-theme="dark"] body {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
}

html[data-theme="dark"] .admin-sidebar,
html[data-theme="dark"] .topbar {
  background-color: #090E1A;
  border-color: var(--color-border);
}

html[data-theme="dark"] .admin-sidebar {
  border-right: 1px solid var(--color-border);
}

html[data-theme="dark"] .kanban-column {
  background-color: #161F30;
  border: 1px solid var(--color-border);
}

html[data-theme="dark"] .input-field,
html[data-theme="dark"] .select-field,
html[data-theme="dark"] .textarea-field,
html[data-theme="dark"] .store-search-input {
  background-color: #0B1220;
  color: var(--color-text-main);
  border-color: var(--color-border);
}

html[data-theme="dark"] .card-panel,
html[data-theme="dark"] .card,
html[data-theme="dark"] .kanban-card,
html[data-theme="dark"] .product-card,
html[data-theme="dark"] .tracking-hero-card,
html[data-theme="dark"] .category-nav,
html[data-theme="dark"] .cart-floating-bar,
html[data-theme="dark"] .builder-option-card,
html[data-theme="dark"] .modal-box,
html[data-theme="dark"] .auth-card {
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  border-color: var(--color-border);
}

html[data-theme="dark"] .btn-outline {
  background: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border);
}

html[data-theme="dark"] .btn-outline:hover {
  background: var(--color-surface-soft);
}

html[data-theme="dark"] .switch-slider {
  background-color: #334155;
}

html[data-theme="dark"] .badge-muted {
  background: #1E293B;
  color: var(--color-text-muted);
}

html[data-theme="dark"] .data-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.03);
}

html[data-theme="dark"] .card-brand-badge.card-brand-visa { background-color: rgba(59, 130, 246, 0.2); color: #93C5FD; }
html[data-theme="dark"] .card-brand-badge.card-brand-master { background-color: rgba(249, 115, 22, 0.2); color: #FDBA74; }
html[data-theme="dark"] .card-brand-badge.card-brand-amex { background-color: rgba(14, 165, 233, 0.2); color: #7DD3FC; }
html[data-theme="dark"] .card-brand-badge.card-brand-elo { background-color: rgba(148, 163, 184, 0.2); color: #E2E8F0; }
html[data-theme="dark"] .card-brand-badge.card-brand-hipercard { background-color: rgba(239, 68, 68, 0.2); color: #FCA5A5; }
html[data-theme="dark"] .card-brand-badge.card-brand-diners { background-color: rgba(99, 102, 241, 0.2); color: #A5B4FC; }
html[data-theme="dark"] .card-brand-badge.card-brand-generic { background-color: rgba(100, 116, 139, 0.2); color: #CBD5E1; }

/* ==========================================================================
   PROMOÇÕES, CUPONS DE DESCONTO & AVISOS NA HOME
   ========================================================================== */
.home-promo-banners {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin: var(--space-sm) var(--space-md);
}

.home-promo-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary-light);
  border: 1px dashed var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.home-promo-main {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
  flex: 1;
}

.home-promo-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}

.home-promo-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.home-promo-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.home-promo-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.home-promo-code-btn {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-primary);
  background-color: var(--color-bg-surface);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.home-promo-code-btn:hover {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.promo-coupon-box {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.promo-coupon-row {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.promo-coupon-row .input-field {
  flex: 1;
  min-width: 0;
}

.input-uppercase {
  text-transform: uppercase;
}

.input-xs-w {
  max-width: 115px;
}

.promo-tier-row {
  align-items: center;
}

.card-subpanel {
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
}

.promo-coupon-feedback {
  margin-top: var(--space-xs);
  font-size: 0.8rem;
  font-weight: 600;
}

.promo-coupon-feedback.is-valid {
  color: var(--color-status-success);
}

.promo-coupon-feedback.is-error {
  color: var(--color-status-danger);
}

.promo-applied-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: var(--space-xs);
}

.promo-applied-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background-color: var(--color-status-success-bg);
  color: var(--color-status-success);
  font-size: 0.76rem;
  font-weight: 700;
}

.promo-discount-line {
  color: var(--color-status-success);
  font-weight: 700;
}

.mb-0 {
  margin-bottom: 0;
}

.py-lg {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

html[data-theme="dark"] .home-promo-card {
  background-color: rgba(234, 29, 44, 0.14);
}

html[data-theme="dark"] .home-promo-code-btn {
  background-color: var(--color-bg-surface);
}

/* ==========================================================
   VITRINE EDITORIAL RESPONSIVA (STITCH PC + MOBILE REDESIGN)
   ========================================================== */
.store-shell.store-mobile-container {
  max-width: 100%;
  margin: 0;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  box-shadow: none;
  font-family: var(--font-family-base);
  padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}

.store-shell h1,
.store-shell h2,
.store-shell h3,
.store-hero-title,
.store-hero-title-alt,
.category-title,
.store-story-title,
.footer-brand-title,
.studio-prev-title {
  font-family: var(--font-family-heading, var(--font-family-base));
}

.store-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.store-top-ticker {
  display: none;
  background-color: var(--color-secondary);
  color: #FBF9F6;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  padding: 8px 0;
}

.store-topbar {
  position: sticky;
  top: 0;
  z-index: 45;
  background-color: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
}

.store-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 60px;
}

.store-mobile-top-left {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  flex: 1;
}

.store-pin-chip {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.store-mobile-loc {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.store-mobile-loc-label {
  font-size: 0.66rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  line-height: 1.1;
}

.store-mobile-loc-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-status-pill,
.store-desktop-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

.store-status-pill.is-open,
.store-desktop-status-pill.is-open,
.store-hero-state-pill.is-open,
.hero-metric-pill.is-open {
  background-color: rgba(22, 163, 74, 0.14);
  color: #15803D;
}

.store-status-pill.is-closed,
.store-desktop-status-pill.is-closed,
.store-hero-state-pill.is-closed,
.hero-metric-pill.is-closed {
  background-color: rgba(220, 38, 38, 0.12);
  color: #B91C1C;
}

.store-desktop-brand,
.store-desktop-status-pill,
.btn-topbar-cart {
  display: none;
}

.store-desktop-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-main);
}

.store-desktop-crest {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.store-desktop-crest img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-desktop-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.store-desktop-brand-text strong {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.store-desktop-brand-text small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-desktop-nav {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
}

.store-desktop-nav-link {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.store-desktop-nav-link:hover,
.store-desktop-nav-link.is-active {
  background-color: var(--color-surface-soft);
  color: var(--color-text-main);
}

.store-topbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.store-shell .btn-store-theme,
.btn-topbar-cart {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.topbar-icon-svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
}

.store-shell .btn-store-theme:hover,
.btn-topbar-cart:hover {
  border-color: var(--color-primary);
}

.topbar-cart-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-shell .btn-customer-account {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  padding: 0;
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.store-shell .btn-customer-account:hover {
  border-color: var(--color-primary);
}

.account-pill-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  line-height: 1;
}

.store-shell .btn-customer-info {
  display: none;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.store-shell .btn-customer-info .user-greeting {
  font-size: 0.78rem;
  font-weight: 700;
}

.store-shell .btn-customer-info .user-sub {
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

/* HERO EDITORIAL */
.store-hero-section {
  padding-top: 14px;
  padding-bottom: 10px;
}

.store-hero-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.store-hero-cover {
  position: relative;
  height: 178px;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #44403C 52%, color-mix(in srgb, var(--color-primary) 55%, #1C1917) 100%);
  overflow: hidden;
}

.store-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.store-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 25, 23, 0.22) 0%, rgba(28, 25, 23, 0.55) 45%, rgba(28, 25, 23, 0.9) 100%);
}

.store-hero-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  background-color: rgba(28, 25, 23, 0.86);
  color: #FBF9F6;
  font-size: 0.72rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.28);
}

.store-hero-overlay-meta {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.store-hero-logo-wrap,
.store-split-logo-wrap {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: var(--radius-md);
  border: 2px solid rgba(255, 255, 255, 0.85);
  background-color: var(--color-bg-surface);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
}

.store-shell[data-logo-shape="circle"] .store-hero-logo-wrap,
.store-shell[data-logo-shape="circle"] .store-split-logo-wrap {
  border-radius: 9999px;
}

.store-shell[data-logo-shape="square"] .store-hero-logo-wrap,
.store-shell[data-logo-shape="square"] .store-split-logo-wrap {
  border-radius: 4px;
}

.store-hero-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-hero-monogram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.05rem;
}

.store-hero-titles {
  flex: 1;
  min-width: 0;
}

.store-hero-title {
  margin: 0;
  color: #FFFFFF;
  font-size: 1.32rem;
  font-weight: 800;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.45);
}

.store-hero-tagline {
  margin: 3px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-hero-state-pill {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  background-color: #FFFFFF;
}

.store-hero-infobar {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.store-hero-identity-row {
  display: none;
  align-items: center;
  gap: 12px;
}

.store-shell[data-hero-style="editorial-split"] .store-hero-overlay-meta {
  display: none;
}

.store-shell[data-hero-style="editorial-split"] .store-hero-identity-row,
.store-shell[data-hero-style="minimal"] .store-hero-identity-row,
.store-shell[data-hero-style="compact"] .store-hero-identity-row {
  display: flex;
}

.store-shell[data-hero-style="compact"] .store-hero-infobar {
  padding: 10px 14px;
  gap: 8px;
}

.store-hero-title-alt {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.15;
}

.store-hero-tagline-alt {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.store-hero-metrics {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.store-hero-metrics::-webkit-scrollbar {
  display: none;
}

.hero-metric-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-text-main);
  white-space: nowrap;
}

.hero-info-action {
  display: none;
  border: 1px solid var(--color-border);
  background-color: var(--color-surface-soft);
  color: var(--color-text-main);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: var(--radius-btn, var(--radius-md));
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease, color 0.15s ease;
}

.hero-info-action:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* FAIXA DE PROMOÇÕES */
.store-promos-section {
  padding: 6px 0 10px;
}

.store-shell .home-promo-banners {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.store-shell .home-promo-banners::-webkit-scrollbar {
  display: none;
}

.store-shell .home-promo-card {
  flex: 0 0 auto;
  min-width: 268px;
  max-width: 315px;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--color-primary) 26%, var(--color-border));
  background: color-mix(in srgb, var(--color-primary) 7%, var(--color-bg-surface));
}

.store-shell .home-promo-card.is-auto {
  border-color: color-mix(in srgb, var(--color-accent) 32%, var(--color-border));
  background: color-mix(in srgb, var(--color-accent) 9%, var(--color-bg-surface));
}

.store-shell .home-promo-main {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.store-shell .home-promo-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.store-shell .home-promo-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.store-shell .home-promo-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.store-shell .home-promo-desc {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-shell .home-promo-code-btn {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: var(--radius-btn, var(--radius-sm));
  border: 1px dashed var(--color-primary);
  background-color: var(--color-bg-surface);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
}

.home-promo-auto-pill {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  background-color: color-mix(in srgb, var(--color-accent) 18%, var(--color-bg-surface));
  color: var(--color-accent);
  font-size: 0.7rem;
  font-weight: 800;
}

/* BUSCA & NAVEGAÇÃO DE CATEGORIAS STICKY */
.store-controls-sticky {
  position: sticky;
  top: 61px;
  z-index: 35;
  background-color: var(--color-bg-main);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}

.store-controls-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.store-shell .store-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0;
  background: transparent;
  border: none;
  border-bottom: none;
}

.store-shell .store-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 0.72;
}

.store-shell .store-search-input {
  width: 100%;
  height: 40px;
  padding: 9px 14px 9px 38px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  font-size: 0.88rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.store-shell .store-search-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary) 16%, transparent);
}

.store-shell .category-nav {
  position: static;
  background: transparent;
  border: none;
  padding: 0;
}

.store-shell .category-pill {
  padding: 7px 14px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-size: 0.8rem;
  font-weight: 700;
}

.store-shell .category-pill.is-active,
.store-shell .category-pill:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
}

/* WORKSPACE DE CARDÁPIO E CARRINHO LATERAL */
.store-workspace {
  padding-top: 18px;
  padding-bottom: 24px;
}

.store-shell .store-body {
  padding: 0;
  gap: 28px;
}

.section-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.section-count-badge {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.store-shell .category-header {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 8px;
  margin-bottom: 4px;
}

.store-shell .category-title {
  font-size: 1.28rem;
  font-weight: 800;
  margin: 0;
}

.store-shell .category-section {
  scroll-margin-top: 150px;
}

/* DESTAQUES / MAIS PEDIDOS (BENTO CAROUSEL MOBILE -> GRID PC) */
.featured-grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.featured-grid::-webkit-scrollbar {
  display: none;
}

.featured-card {
  flex: 0 0 auto;
  width: 248px;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.featured-card:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--color-primary) 45%, var(--color-border));
}

.featured-card-media {
  position: relative;
  height: 152px;
  background-color: var(--color-surface-soft);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.featured-fallback-emoji {
  font-size: 2.5rem;
}

.featured-cat-pill {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(28, 25, 23, 0.86);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
}

.featured-card-body {
  flex: 1;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.featured-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.25;
}

.featured-card-desc {
  margin: 4px 0 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.38;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.featured-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.featured-price-wrap,
.product-price-block {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.price-prefix-label {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.store-shell[data-featured-layout="grid-bento"] .featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  overflow-x: visible;
}

.store-shell[data-featured-layout="grid-bento"] .featured-card {
  width: auto;
}

.store-shell[data-featured-layout="list"] .featured-grid {
  display: flex;
  flex-direction: column;
  overflow-x: visible;
}

.store-shell[data-featured-layout="list"] .featured-card {
  width: 100%;
  flex-direction: row;
}

.store-shell[data-featured-layout="list"] .featured-card-media {
  width: 112px;
  min-width: 112px;
  height: auto;
  min-height: 104px;
}

/* GRADE DE PRODUTOS E VARIANTES DE CARTÃO */
.store-shell .product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.store-shell .product-card {
  padding: 14px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  cursor: pointer;
}

.store-shell .product-card:hover {
  border-color: color-mix(in srgb, var(--color-primary) 42%, var(--color-border));
}

.store-shell .product-btn {
  padding: 7px 14px;
  border-radius: var(--radius-btn, var(--radius-sm));
  font-size: 0.8rem;
  font-weight: 700;
}

.store-shell .product-thumb-wrap {
  width: 96px;
  height: 96px;
  min-width: 96px;
  border-radius: var(--radius-sm);
}

.product-tag-soldout {
  display: inline-block;
  margin-bottom: 4px;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background-color: rgba(220, 38, 38, 0.12);
  color: #B91C1C;
  font-size: 0.68rem;
  font-weight: 800;
}

.store-shell[data-card-style="bordered"] .product-card,
.store-shell[data-card-style="bordered"] .featured-card {
  border-width: 1.5px;
  box-shadow: none;
}

.store-shell[data-card-style="elevated"] .product-card,
.store-shell[data-card-style="elevated"] .featured-card {
  border-color: transparent;
  box-shadow: 0 12px 28px -8px rgba(28, 25, 23, 0.12);
}

.store-shell[data-card-style="compact"] .product-card {
  padding: 10px 12px;
  gap: 10px;
}

.store-shell[data-card-style="compact"] .product-thumb-wrap {
  width: 68px;
  height: 68px;
  min-width: 68px;
}

/* BLOCO EDITORIAL DE HISTÓRIA */
.store-story-section {
  margin-top: 6px;
}

.store-story-card {
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--color-bg-surface) 0%, var(--color-surface-soft) 100%);
  color: var(--color-text-main);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
}

.store-story-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-story-title {
  margin: 10px 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.2;
}

.store-story-text {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.store-story-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.store-story-stat {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.store-story-stat strong {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
}

.store-story-stat span {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

/* SACOLA LATERAL STICKY (PC) */
.store-desktop-cart {
  display: none;
}

.desktop-cart-card {
  position: relative;
  max-height: calc(100vh - 160px);
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.desktop-cart-header {
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.desktop-cart-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.desktop-cart-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.desktop-cart-count-pill {
  padding: 2px 9px;
  border-radius: var(--radius-full);
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.desktop-cart-clear-btn {
  border: none;
  background: transparent;
  color: var(--color-danger, #DC2626);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}

.desktop-cart-items {
  padding: 14px 18px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 360px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-empty-cart {
  text-align: center;
  padding: 22px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.sidebar-empty-icon {
  font-size: 2rem;
  opacity: 0.65;
}

.cart-item-card {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background-color: var(--color-surface-soft);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-btn, var(--radius-sm));
  background-color: var(--color-bg-surface);
  overflow: hidden;
}

.cart-qty-stepper button {
  border: none;
  background: transparent;
  color: var(--color-text-main);
  width: 26px;
  height: 26px;
  font-weight: 800;
  cursor: pointer;
}

.cart-qty-val {
  min-width: 24px;
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-cart-remove {
  border: none;
  background: transparent;
  color: var(--color-danger, #DC2626);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.desktop-cart-coupon {
  padding: 12px 18px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-surface-soft);
}

.desktop-cart-totals {
  padding: 14px 18px 18px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.desktop-cart-eta {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.desktop-cart-cta {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-radius: var(--radius-btn, var(--radius-md));
  font-weight: 800;
}

.desktop-cart-trust {
  text-align: center;
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* RODAPÉ RICO + HORÁRIOS */
.store-shell .store-footer-rich {
  margin-top: 20px;
}

.store-shell .footer-content-wrap {
  max-width: 1280px;
}

.footer-hours-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 6px;
}

.footer-hour-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 8px;
  border-radius: 6px;
  background-color: var(--color-bg-main);
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

.store-shell[data-footer-style="dark-editorial"] .store-footer-rich {
  background: linear-gradient(180deg, #1F1C1A 0%, #141211 100%);
  color: #E7E5E4;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.store-shell[data-footer-style="dark-editorial"] .footer-brand-header {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}

.store-shell[data-footer-style="dark-editorial"] .footer-brand-title,
.store-shell[data-footer-style="dark-editorial"] .footer-box-title,
.store-shell[data-footer-style="dark-editorial"] .footer-seal-title {
  color: #FFFFFF;
}

.store-shell[data-footer-style="dark-editorial"] .footer-brand-status,
.store-shell[data-footer-style="dark-editorial"] .footer-address-text {
  color: #F5F3F0;
}

.store-shell[data-footer-style="dark-editorial"] .store-footer-rich .text-muted,
.store-shell[data-footer-style="dark-editorial"] .footer-seal-desc,
.store-shell[data-footer-style="dark-editorial"] .footer-bottom-bar,
.store-shell[data-footer-style="dark-editorial"] .footer-nav-link {
  color: rgba(245, 243, 240, 0.76);
}

.store-shell[data-footer-style="dark-editorial"] .footer-nav-link:hover {
  color: #FFFFFF;
}

.store-shell[data-footer-style="dark-editorial"] .footer-card-box,
.store-shell[data-footer-style="dark-editorial"] .footer-payments-block,
.store-shell[data-footer-style="dark-editorial"] .footer-security-seal {
  background-color: rgba(255, 255, 255, 0.045);
  border-color: rgba(255, 255, 255, 0.11);
}

.store-shell[data-footer-style="dark-editorial"] .footer-hour-row {
  background-color: rgba(255, 255, 255, 0.06);
  color: #E7E5E4;
}

.store-shell[data-footer-style="dark-editorial"] .footer-contact-link,
.store-shell[data-footer-style="dark-editorial"] .footer-route-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
}

.store-shell[data-footer-style="dark-editorial"] .footer-route-btn:hover {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.store-shell[data-footer-style="dark-editorial"] .footer-contact-link:hover {
  border-color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.12);
}

.store-shell[data-footer-style="dark-editorial"] .footer-contact-whatsapp:hover {
  border-color: #25D366;
  color: #4ADE80;
}

.store-shell[data-footer-style="dark-editorial"] .footer-payment-badge {
  background-color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.22);
}

.store-shell[data-footer-style="dark-editorial"] .footer-bottom-bar {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.store-shell[data-footer-style="minimal"] .footer-payments-block,
.store-shell[data-footer-style="minimal"] .footer-security-seal,
.store-shell[data-footer-style="minimal"] .footer-hours-grid {
  display: none;
}

/* HUD FLUTUANTE INFERIOR (ESTILO STITCH MOBILE REDESIGN) */
.hud-bag-badge-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hud-bag-count-badge {
  position: absolute;
  top: -6px;
  right: -7px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9999px;
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hud-price-promo-row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hud-promo-pill {
  padding: 2px 6px;
  border-radius: var(--radius-full);
  background-color: rgba(22, 163, 74, 0.22);
  color: #4ADE80;
  font-size: 0.68rem;
  font-weight: 800;
}

.hud-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-btn, 12px);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}

.store-shell[data-mobile-dock="floating-dark"] .hud-container {
  background-color: #1C1917;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  padding: 7px 9px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.34);
  gap: 8px;
}

.store-shell[data-mobile-dock="floating-dark"] .hud-account-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.1);
  color: #FBF9F6;
  box-shadow: none;
  padding: 9px 11px;
  border-radius: 14px;
}

.store-shell[data-mobile-dock="floating-dark"] .hud-account-btn .hud-text {
  display: none;
}

.store-shell[data-mobile-dock="floating-dark"] .hud-cart-btn {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #FBF9F6;
  padding: 4px 4px 4px 6px;
}

.store-shell[data-mobile-dock="floating-dark"] .hud-cart-btn .hud-total {
  color: #FFFFFF;
}

.store-shell[data-mobile-dock="floating-dark"] .hud-cart-btn .hud-label-sub {
  color: rgba(251, 249, 246, 0.7);
}

.store-shell[data-mobile-dock="primary-bar"] .hud-container {
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 7px 9px;
  box-shadow: 0 16px 36px color-mix(in srgb, var(--color-primary) 42%, transparent);
}

.store-shell[data-mobile-dock="primary-bar"] .hud-account-btn {
  background-color: rgba(0, 0, 0, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
  color: #FFFFFF;
  box-shadow: none;
}

.store-shell[data-mobile-dock="primary-bar"] .hud-account-btn .hud-text {
  display: none;
}

.store-shell[data-mobile-dock="primary-bar"] .hud-cart-btn {
  background-color: transparent;
  border-color: transparent;
  box-shadow: none;
  color: #FFFFFF;
  padding: 4px 6px;
}

.store-shell[data-mobile-dock="primary-bar"] .hud-cart-btn .hud-total,
.store-shell[data-mobile-dock="primary-bar"] .hud-cart-btn .hud-label-sub {
  color: #FFFFFF;
}

.store-shell[data-mobile-dock="primary-bar"] .hud-cta-pill {
  background-color: #FFFFFF;
  color: var(--color-primary);
}

/* BREAKPOINTS RESPONSIVOS TABLET E DESKTOP */
@media (min-width: 768px) {
  .store-shell .home-promo-banners {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    overflow-x: visible;
  }

  .store-shell .home-promo-card {
    max-width: none;
    min-width: 0;
  }

  .featured-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow-x: visible;
  }

  .featured-card {
    width: auto;
  }

  .store-shell .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .store-story-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 28px;
  }

  .store-story-content {
    max-width: 60%;
  }

  .store-story-stats {
    min-width: 260px;
  }
}

@media (min-width: 1024px) {
  .store-shell.store-mobile-container {
    padding-bottom: 0;
  }

  .store-shell[data-desktop-layout="single"] .store-container {
    max-width: 820px;
  }

  .store-top-ticker {
    display: block;
  }

  .store-topbar-inner {
    min-height: 70px;
  }

  .store-mobile-top-left {
    display: none;
  }

  .store-desktop-brand {
    display: flex;
    align-items: center;
  }

  .store-desktop-status-pill,
  .btn-topbar-cart {
    display: inline-flex;
  }

  .store-shell .btn-customer-account {
    width: auto;
    flex: 0 0 auto;
    height: 38px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
  }

  .store-shell .btn-customer-info {
    display: flex;
  }

  .store-hero-cover {
    height: 256px;
  }

  .store-hero-title {
    font-size: 1.85rem;
  }

  .store-hero-state-pill {
    display: inline-flex;
  }

  .store-hero-infobar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
  }

  .hero-info-action {
    display: inline-flex;
  }

  .store-controls-sticky {
    top: 71px;
  }

  .store-controls-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .store-search-wrap {
    width: 310px;
    flex-shrink: 0;
  }

  .store-shell .category-nav {
    flex: 1;
    min-width: 0;
  }

  .store-shell[data-desktop-layout="split"] .store-workspace {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
  }

  .store-shell[data-desktop-layout="split"] .store-desktop-cart {
    display: block;
    position: sticky;
    top: 144px;
    align-self: start;
  }

  .store-shell[data-desktop-layout="split"] .store-bottom-hud {
    display: none;
  }

  .store-shell[data-desktop-layout="wide-grid"] .featured-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-shell[data-desktop-layout="single"] .store-product-grid,
  .store-shell[data-desktop-layout="single"] .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .store-shell[data-desktop-layout="wide-grid"].store-mobile-container,
  .store-shell[data-desktop-layout="single"].store-mobile-container {
    padding-bottom: 92px;
  }
}

html[data-theme="dark"] .store-status-pill.is-open,
html[data-theme="dark"] .store-desktop-status-pill.is-open,
html[data-theme="dark"] .hero-metric-pill.is-open {
  background-color: rgba(34, 197, 94, 0.18);
  color: #4ADE80;
}

html[data-theme="dark"] .store-status-pill.is-closed,
html[data-theme="dark"] .store-desktop-status-pill.is-closed,
html[data-theme="dark"] .hero-metric-pill.is-closed {
  background-color: rgba(248, 113, 113, 0.18);
  color: #FCA5A5;
}

/* ==========================================================
   ESTÚDIO DE APARÊNCIA & PERSONALIZAÇÃO COMPLETA (ADMIN/MASTER)
   ========================================================== */
.preset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
  gap: 10px;
}

.preset-card {
  text-align: left;
  padding: 12px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.preset-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-1px);
}

.preset-card.is-selected {
  border-color: var(--color-primary);
  background-color: color-mix(in srgb, var(--color-primary) 7%, var(--color-bg-surface));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--color-primary) 20%, transparent);
}

.preset-title {
  font-size: 0.88rem;
  font-weight: 800;
}

.preset-desc {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.appearance-color-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 10px;
}

.appearance-product-picker {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
  padding: 6px 2px;
}

.picker-check-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-main);
  font-size: 0.82rem;
  cursor: pointer;
}

details.details-panel {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-main);
  padding: 10px 12px;
}

.details-summary {
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.details-body {
  padding-top: 12px;
}

.appearance-preview-sticky {
  position: sticky;
  top: 20px;
}

.btn-xs.is-active {
  background-color: var(--color-secondary);
  color: #FFFFFF;
  border-color: var(--color-secondary);
}

/* CANVAS DE PRÉ-VISUALIZAÇÃO AO VIVO NO ESTÚDIO */
.studio-live-canvas {
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  font-family: var(--font-family-base);
  overflow: hidden;
  padding: 0;
  transition: max-width 0.25s ease, margin 0.25s ease;
}

.studio-live-canvas.is-mobile-preview {
  max-width: 340px;
  margin: 0 auto;
  border-width: 3px;
  border-color: var(--color-secondary);
}

.studio-live-canvas.is-dark-preview {
  background-color: var(--color-dark-bg-main, #12100E);
  color: var(--color-dark-text-main, #F5F2ED);
}

.studio-live-canvas.is-dark-preview .studio-prev-card,
.studio-live-canvas.is-dark-preview .studio-prev-sidebar,
.studio-live-canvas.is-dark-preview .studio-prev-search,
.studio-live-canvas.is-dark-preview .studio-prev-pill {
  background-color: var(--color-dark-bg-surface, #1C1917);
  color: var(--color-dark-text-main, #F5F2ED);
  border-color: var(--color-dark-border, #2E2925);
}

.studio-prev-ticker {
  background-color: var(--color-secondary);
  color: #FBF9F6;
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  padding: 5px 10px;
}

.studio-live-canvas.is-mobile-preview .studio-prev-ticker {
  display: none;
}

.studio-prev-cover {
  height: 76px;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
  position: relative;
  padding: 8px 10px;
}

.studio-live-canvas[data-hero-style="minimal"] .studio-prev-cover,
.studio-live-canvas[data-hero-style="compact"] .studio-prev-cover {
  display: none;
}

.studio-prev-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background-color: rgba(28, 25, 23, 0.72);
  color: #FFFFFF;
  font-size: 0.64rem;
  font-weight: 700;
}

.studio-prev-identity {
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.studio-prev-logo {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-md);
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.studio-live-canvas[data-logo-shape="circle"] .studio-prev-logo {
  border-radius: 9999px;
}

.studio-live-canvas[data-logo-shape="square"] .studio-prev-logo {
  border-radius: 4px;
}

.studio-live-canvas[data-logo-shape="hidden"] .studio-prev-logo {
  display: none;
}

.studio-prev-title {
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.15;
}

.studio-prev-sub {
  font-size: 0.7rem;
  color: var(--color-text-muted);
}

.studio-prev-promos {
  padding: 0 12px 8px;
  display: flex;
  gap: 6px;
}

.studio-prev-voucher {
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  border: 1px dashed var(--color-primary);
  color: var(--color-primary);
  font-size: 0.66rem;
  font-weight: 800;
}

.studio-prev-voucher.is-auto {
  border-style: solid;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.studio-prev-search {
  margin: 0 12px 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.studio-prev-pills {
  padding: 0 12px 10px;
  display: flex;
  gap: 6px;
  overflow: hidden;
}

.studio-prev-pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  font-size: 0.68rem;
  font-weight: 700;
  white-space: nowrap;
}

.studio-prev-pill.is-active {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  color: #FFFFFF;
}

.studio-prev-grid {
  padding: 0 12px 12px;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 10px;
  align-items: start;
}

.studio-live-canvas[data-desktop-layout="wide-grid"] .studio-prev-grid,
.studio-live-canvas[data-desktop-layout="single"] .studio-prev-grid,
.studio-live-canvas.is-mobile-preview .studio-prev-grid {
  grid-template-columns: 1fr;
}

.studio-live-canvas[data-desktop-layout="wide-grid"] .studio-prev-sidebar,
.studio-live-canvas[data-desktop-layout="single"] .studio-prev-sidebar,
.studio-live-canvas.is-mobile-preview .studio-prev-sidebar {
  display: none;
}

.studio-prev-section-title {
  font-size: 0.84rem;
  font-weight: 800;
  margin-bottom: 6px;
}

.studio-prev-card {
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  box-shadow: var(--shadow-card);
  margin-bottom: 8px;
}

.studio-live-canvas[data-card-style="bordered"] .studio-prev-card {
  border-width: 1.5px;
  box-shadow: none;
}

.studio-live-canvas[data-card-style="elevated"] .studio-prev-card {
  border-color: transparent;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.studio-prev-card-title {
  font-size: 0.78rem;
}

.studio-prev-btn {
  border: none;
  padding: 4px 8px;
  border-radius: var(--radius-btn, var(--radius-sm));
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
}

.studio-prev-story {
  padding: 9px 10px;
  border-radius: var(--radius-md);
  background-color: var(--color-secondary);
  color: #FBF9F6;
  font-size: 0.72rem;
}

.studio-prev-sidebar {
  padding: 10px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.studio-prev-sidebar-title {
  font-size: 0.76rem;
  font-weight: 800;
}

.studio-prev-sidebar-btn {
  text-align: center;
  padding: 6px 8px;
  border-radius: var(--radius-btn, var(--radius-sm));
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 800;
}

.studio-prev-dock {
  display: none;
  margin: 0 10px 10px;
  padding: 8px 12px;
  border-radius: 14px;
  background-color: #1C1917;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.studio-live-canvas.is-mobile-preview .studio-prev-dock,
.studio-live-canvas[data-desktop-layout="wide-grid"] .studio-prev-dock,
.studio-live-canvas[data-desktop-layout="single"] .studio-prev-dock {
  display: block;
}

.studio-live-canvas[data-mobile-dock="primary-bar"] .studio-prev-dock {
  background-color: var(--color-primary);
}

[data-preview-section].is-hidden-section {
  display: none !important;
}

/* ============================================================
   CONTROLE DE ESTOQUE & CHIPS RÁPIDOS DE COMPLEMENTOS
   ============================================================ */
.complement-quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.stock-qty-inline,
.repeater-stock-box {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.input-stock-qty {
  width: 82px;
  min-width: 72px;
  padding: 5px 8px;
  text-align: center;
}

/* ============================================================
   GESTOR DE PEDIDOS PERSONALIZÁVEL & MODAL DE CONCLUÍDOS
   ============================================================ */
.step-tone-amber {
  background-color: #FEF3C7;
  color: #92400E;
}

.step-tone-blue {
  background-color: #E0F2FE;
  color: #075985;
}

.step-tone-violet {
  background-color: #EDE9FE;
  color: #5B21B6;
}

.step-tone-teal {
  background-color: #CCFBF1;
  color: #115E59;
}

.step-tone-emerald {
  background-color: #D1FAE5;
  color: #065F46;
}

.step-tone-rose {
  background-color: #FFE4E6;
  color: #9F1239;
}

.step-tone-slate {
  background-color: #E2E8F0;
  color: #1E293B;
}

.orders-step-select {
  width: auto;
  min-width: 120px;
  padding: 4px 8px;
  font-size: 0.8rem;
}

.completed-orders-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.completed-orders-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-sm);
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 4px;
}

.orders-config-steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.orders-config-step-row {
  display: grid;
  grid-template-columns: auto 1fr 1fr auto auto;
  gap: 8px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
}

.orders-config-step-row.is-required {
  background-color: var(--color-bg-subtle, #F8FAFC);
}

.orders-config-step-row.is-disabled {
  opacity: 0.65;
}

.orders-config-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 8px;
}

.color-swatch-picker {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.color-swatch-btn {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 0;
}

.color-swatch-btn.is-selected {
  border-color: #111827;
  transform: scale(1.12);
}

.color-swatch-amber { background-color: #d97706; }
.color-swatch-blue { background-color: #0284c7; }
.color-swatch-violet { background-color: #7c3aed; }
.color-swatch-teal { background-color: #0d9488; }
.color-swatch-emerald { background-color: #059669; }
.color-swatch-rose { background-color: #dc2626; }
.color-swatch-slate { background-color: #475569; }

@media (max-width: 720px) {
  .orders-config-step-row {
    grid-template-columns: 1fr;
  }
}

.mp-secure-field {
  height: 44px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-surface);
}

.mp-secure-field iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.mp-powered-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.mp-powered-badge img {
  height: 22px;
  width: auto;
  display: block;
}

.card-type-toggle {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.card-type-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.card-type-btn:hover:not(:disabled) {
  border-color: var(--color-primary);
}

.card-type-btn.is-active {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.card-type-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.modal-3ds-box {
  max-width: 540px;
}

.mp-3ds-frame-container {
  width: 100%;
  min-height: 440px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: #FFFFFF;
}

.mp-3ds-iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

@media (max-width: 520px) {
  .mp-3ds-frame-container {
    min-height: 380px;
  }
  .mp-3ds-iframe {
    height: 400px;
  }
}

/* Stepper de Checkout em 3 Etapas (Stitch Standard, dinâmico por tema da loja) */
.checkout-header-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.checkout-icon-svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkout-close-btn {
  border-radius: var(--radius-full);
}

.checkout-stepper-wrap {
  background-color: var(--color-bg-main);
  padding: 12px 14px 4px;
  flex-shrink: 0;
}

.checkout-stepper {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
}

.checkout-step-line {
  flex: 1;
  height: 2px;
  background-color: var(--color-border);
  border-radius: var(--radius-full);
}

.checkout-step-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  background-color: var(--color-bg-main);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.15s ease-in-out;
}

.checkout-step-num {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 700;
  background-color: var(--color-border);
  color: var(--color-text-main);
  flex-shrink: 0;
}

.checkout-step-pill.is-active {
  border-color: var(--color-primary);
  background-color: var(--color-primary);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.checkout-step-pill.is-active .checkout-step-num {
  background-color: #FFFFFF;
  color: var(--color-primary);
}

.checkout-step-pill.is-done {
  border-color: #A7F3D0;
  background-color: #ECFDF5;
  color: #047857;
}

.checkout-step-pill.is-done .checkout-step-num {
  background-color: #059669;
  color: #FFFFFF;
}

.checkout-section-head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.checkout-section-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.015em;
}

.checkout-section-sub {
  margin: 0;
  font-size: 0.84rem;
  color: var(--color-text-muted);
}

.checkout-identity-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

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

.checkout-identity-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

.checkout-identity-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 2px;
}

.checkout-identity-phone {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.checkout-change-btn {
  white-space: nowrap;
  flex-shrink: 0;
  border-radius: 10px;
}

.checkout-trust-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  background-color: var(--color-bg-main);
  border-radius: 12px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.checkout-trust-icon {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.checkout-address-head-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-in-use-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.7rem;
  font-weight: 700;
}

.checkout-address-main-line {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-text-main);
  margin-top: 4px;
}

.checkout-address-sub-line {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.checkout-saved-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-saved-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-saved-title {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

/* Cards de Entrega/Retirada (Etapa 2) e Pagamento (Etapa 3) estilo Stitch */
.checkout-delivery-toggle {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.checkout-fulfillment-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  padding: 14px;
  border-radius: 14px;
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-surface);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.checkout-fulfillment-card > input[type="radio"],
.checkout-pay-card > input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.checkout-fulfillment-card.is-selected {
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.checkout-fulfillment-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.checkout-fulfillment-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background-color: var(--color-bg-main);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, color 0.15s;
}

.checkout-fulfillment-icon svg {
  width: 20px;
  height: 20px;
}

.checkout-fulfillment-card.is-selected .checkout-fulfillment-icon {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.checkout-fulfillment-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-fulfillment-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.checkout-fulfillment-card.is-selected .checkout-fulfillment-title {
  color: var(--color-primary);
}

.checkout-fulfillment-meta {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.checkout-radio-dot {
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background-color: var(--color-bg-surface);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.15s;
}

.checkout-fulfillment-card.is-selected .checkout-radio-dot,
.checkout-pay-card.is-selected .checkout-radio-dot {
  border-color: var(--color-primary);
}

.checkout-fulfillment-card.is-selected .checkout-radio-dot::after,
.checkout-pay-card.is-selected .checkout-radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
}

.checkout-payment-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout-pay-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1.5px solid var(--color-border);
  background-color: var(--color-bg-surface);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.checkout-pay-card:hover {
  border-color: var(--color-text-muted);
}

.checkout-pay-card.is-selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.checkout-pay-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
}

.checkout-pay-icon svg {
  width: 20px;
  height: 20px;
}

.checkout-pay-icon.is-pix {
  background-color: #F0FDFA;
  color: #0F766E;
  border-color: #CCFBF1;
}

.checkout-pay-icon.is-card {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-color: var(--color-border);
}

.checkout-pay-icon.is-pro {
  background-color: #EFF6FF;
  color: #1D4ED8;
  border-color: #DBEAFE;
}

.checkout-pay-icon.is-cash {
  background-color: #ECFDF5;
  color: #047857;
  border-color: #D1FAE5;
}

.checkout-pay-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.checkout-pay-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background-color: #CCFBF1;
  color: #0F766E;
  font-size: 0.68rem;
  font-weight: 700;
}

.checkout-summary-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--color-border);
}

.checkout-summary-head-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.checkout-summary-count-badge {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background-color: var(--color-bg-main);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

.checkout-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-summary-dashed {
  border: 0;
  border-top: 1px dashed var(--color-border);
  margin: 12px 0;
}

.checkout-summary-grand-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.checkout-summary-qty-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  border-radius: 7px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.74rem;
  font-weight: 800;
  flex-shrink: 0;
}

.checkout-summary-item-left {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.checkout-footer-bar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.checkout-mini-total {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  background: transparent;
  border: 0;
}

.checkout-mini-cart-icon {
  display: none;
}

.checkout-mini-total-copy {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  gap: 8px;
}

.checkout-mini-total-top {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.checkout-mini-total-label {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.checkout-mini-delivery-note {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

.checkout-mini-total-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.checkout-cta-btn {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
}

@media (max-width: 420px) {
  .checkout-stepper {
    padding: 8px 10px;
    gap: 5px;
  }
  .checkout-step-pill {
    padding: 5px 9px;
    font-size: 0.74rem;
    gap: 4px;
  }
  .checkout-step-num {
    width: 18px;
    height: 18px;
    font-size: 0.68rem;
  }
}

/* Checkout Full-Screen em PC + Mobile com distribuição limpa */
#modal-checkout.store-screen-overlay {
  padding: 0;
  background-color: var(--color-bg-main);
}

#modal-checkout .store-screen-box {
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background-color: var(--color-bg-main);
}

#modal-checkout .modal-screen-header {
  padding: 12px 16px;
}

.saved-addresses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.saved-address-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background-color: var(--color-bg-surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
}

.saved-address-card:hover {
  border-color: var(--color-primary);
}

.saved-address-card.is-active {
  border-color: var(--color-primary);
  box-shadow: inset 3px 0 0 var(--color-primary), 0 4px 14px rgba(0, 0, 0, 0.05);
}

.saved-address-card-main {
  flex: 1;
  min-width: 0;
}

.saved-address-card-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-top: -2px;
  margin-right: -4px;
}

.saved-address-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.15s, color 0.15s, transform 0.1s;
}

.saved-address-icon-btn:hover {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
}

.saved-address-icon-btn:active {
  transform: scale(0.92);
}

.saved-address-icon-btn.is-fav {
  color: #E65100;
}

.saved-address-icon-btn.is-fav:hover {
  background-color: #FFFBEB;
  color: #D97706;
}

.checkout-select-link {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-primary);
}

.saved-address-label {
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--color-text-main);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.input-field.is-readonly {
  background-color: var(--color-bg-main);
  color: var(--color-text-muted);
}

#modal-checkout .checkout-screen-body {
  padding: 16px 14px 24px;
  background-color: var(--color-bg-main);
}

.checkout-step-panel {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 18px 16px;
  box-shadow: var(--shadow-sm);
}

.checkout-step-3-panel {
  max-width: 980px;
  background-color: transparent;
  border: 0;
  padding: 0;
  box-shadow: none;
}

.checkout-step3-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.checkout-step3-main,
.checkout-step3-side {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

#modal-checkout .checkout-footer {
  padding: 10px 16px;
  background-color: var(--color-bg-surface);
}

.checkout-footer-inner {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-footer-actions {
  display: flex;
  gap: 10px;
  width: 100%;
}

@media (max-width: 767px) {
  .checkout-footer-actions .btn {
    width: 100%;
    min-height: 48px;
    font-size: 1rem;
    justify-content: center;
  }
}

.cart-drawer-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.cart-drawer-btn-checkout {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  justify-content: center;
}

.cart-drawer-btn-continue {
  width: 100%;
  min-height: 38px;
  font-size: 0.85rem;
  padding: 6px 14px;
  justify-content: center;
}

#checkout-step2-address-card .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-add-address-thin {
  padding: 5px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 28px;
  white-space: nowrap;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  border-color: transparent;
}

.btn-add-address-thin:hover {
  border-color: var(--color-primary);
}

.checkout-min-footer-alert {
  padding: 7px 12px;
  font-size: 0.78rem;
  line-height: 1.3;
  margin: 0;
  width: 100%;
  text-align: center;
}

@keyframes checkoutShake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

.checkout-min-footer-alert.is-shaking {
  animation: checkoutShake 0.38s ease-in-out;
}

#btn-checkout-next.is-locked {
  opacity: 0.55;
  background-color: #9CA3AF;
  border-color: #9CA3AF;
  color: #FFFFFF;
  box-shadow: none;
}

.checkout-items-details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-main);
  overflow: hidden;
}

.checkout-items-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.checkout-items-summary::-webkit-details-marker {
  display: none;
}

.checkout-items-summary-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 2px;
}

.checkout-items-summary-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.checkout-items-summary-preview {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-items-chevron {
  width: 18px;
  height: 18px;
  color: var(--color-text-muted);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.checkout-items-details[open] .checkout-items-chevron {
  transform: rotate(180deg);
}

.checkout-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 12px 10px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
}

.checkout-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
}

.checkout-summary-item-meta {
  font-size: 0.74rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.checkout-delivery-toggle {
  margin-bottom: 18px;
}

#checkout-saved-addresses-wrap .flex-between {
  margin-bottom: 12px;
}

#checkout-step2-address-card.is-disabled,
#checkout-saved-addresses-wrap.is-disabled,
#checkout-address-fields.is-disabled {
  opacity: 0.45;
  filter: grayscale(0.75);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

@media (min-width: 768px) {
  #modal-checkout .modal-screen-header {
    padding: 12px 28px;
  }

  .checkout-stepper-wrap {
    padding: 18px 28px 4px;
  }

  #modal-checkout .checkout-screen-body {
    padding: 18px 28px 36px;
  }

  .checkout-step-panel {
    padding: 26px;
    border-radius: 18px;
  }

  .checkout-step-3-panel {
    max-width: 1080px;
    padding: 0;
    border-radius: 0;
  }

  .checkout-step3-main,
  .checkout-step3-side {
    padding: 24px;
    border-radius: 18px;
  }

  #modal-checkout .checkout-footer {
    padding: 12px 28px;
  }

  .checkout-footer-inner {
    max-width: 1080px;
    gap: 10px;
  }

  .checkout-footer-bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .checkout-mini-cart-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background-color: var(--color-primary-light);
    color: var(--color-primary);
    flex-shrink: 0;
  }

  .checkout-mini-cart-icon svg {
    width: 20px;
    height: 20px;
  }

  .checkout-mini-total-copy {
    flex-direction: column;
    align-items: flex-start;
    width: auto;
    gap: 2px;
  }

  .checkout-mini-total-top {
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
  }

  .checkout-footer-actions {
    width: auto;
    margin-left: auto;
  }

  .checkout-cta-btn {
    width: auto;
    min-width: 250px;
    padding: 12px 28px;
  }
}

@media (min-width: 860px) {
  .checkout-step3-grid {
    grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr);
    gap: 24px;
  }
}

/* ============================================================
   STITCH STANDARD: TELA DO PRODUTO & CARRINHO (MOBILE + PC)
   ============================================================ */
#modal-product-builder.store-screen-overlay,
#modal-cart-drawer.store-screen-overlay {
  padding: 0;
  background-color: var(--color-bg-main);
}

#modal-product-builder .store-screen-box,
#modal-cart-drawer .store-screen-box {
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background-color: var(--color-bg-main);
}

#modal-product-builder .builder-body,
#modal-cart-drawer .cart-screen-body {
  padding: 16px 14px 28px;
  background-color: var(--color-bg-main);
}

/* Product Builder Layout */
.builder-layout {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.builder-hero-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.builder-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-color: var(--color-bg-main);
  overflow: hidden;
}

#modal-product-builder .builder-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}

.builder-thumb-placeholder {
  width: 100%;
  height: 140px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.builder-thumb-placeholder svg {
  width: 44px;
  height: 44px;
  opacity: 0.7;
}

.builder-hero-info {
  padding: 16px;
}

.builder-cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.builder-hero-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.builder-hero-price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-primary);
}

.builder-simple-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: #ECFDF5;
  color: #047857;
  font-size: 0.74rem;
  font-weight: 700;
}

.builder-steps-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.builder-step-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
}

.builder-frac-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.builder-step-card .builder-option-card {
  position: relative;
  border-radius: 12px;
  padding: 12px 14px;
  border-width: 1.5px;
}

.builder-step-card .builder-option-card > input[type="radio"],
.builder-step-card .builder-option-card > input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.builder-check-box {
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 2px solid var(--color-border);
  background-color: var(--color-bg-surface);
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s, border-color 0.15s;
}

.builder-option-card.is-selected .builder-check-box,
.builder-option-card:has(input:checked) .builder-check-box {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.builder-option-card.is-selected .builder-check-box::after,
.builder-option-card:has(input:checked) .builder-check-box::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #FFFFFF;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

.builder-option-card.is-selected .checkout-radio-dot,
.builder-option-card:has(input:checked) .checkout-radio-dot {
  border-color: var(--color-primary);
}

.builder-option-card.is-selected .checkout-radio-dot::after,
.builder-option-card:has(input:checked) .checkout-radio-dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
}

.builder-option-card.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

.builder-price-free {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

#modal-product-builder .builder-footer {
  padding: 12px 16px;
}

.builder-footer-inner {
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.builder-footer-summary {
  display: none;
}

.builder-footer-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

#modal-product-builder .builder-qty-control {
  border-radius: 12px;
  height: 48px;
}

#modal-product-builder .builder-qty-btn {
  width: 42px;
  height: 48px;
}

.builder-add-cta {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  justify-content: center;
}

/* Cart Screen Layout */
.cart-screen-layout {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}

.cart-screen-layout.is-empty {
  max-width: 520px;
}

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

.cart-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cart-panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

#modal-cart-drawer .cart-drawer-list {
  margin-bottom: 0;
  gap: 10px;
}

#modal-cart-drawer .cart-item-card {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.025);
}

.cart-item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.cart-item-meta {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 4px;
  line-height: 1.35;
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.cart-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background-color: var(--color-bg-main);
  padding: 2px;
}

.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  border: 0;
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-qty-btn:hover {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.cart-qty-val {
  min-width: 26px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-cart-remove {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.btn-cart-remove:hover {
  background-color: #FEE2E2;
  color: #DC2626;
}

.cart-add-more-btn {
  width: 100%;
  border-radius: 12px;
  border-style: dashed;
  font-size: 0.88rem;
  font-weight: 700;
  min-height: 44px;
  justify-content: center;
}

.cart-side-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#modal-cart-drawer .promo-coupon-box {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 14px 16px;
}

#modal-cart-drawer .cart-drawer-footer {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.05);
}

.cart-summary-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.sidebar-empty-cart {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 36px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.sidebar-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.sidebar-empty-icon svg {
  width: 30px;
  height: 30px;
}

.sidebar-empty-title {
  font-size: 1.05rem;
  color: var(--color-text-main);
}

.cart-empty-cta {
  margin-top: 8px;
  width: 100%;
  max-width: 260px;
  min-height: 46px;
  border-radius: 12px;
  justify-content: center;
}

@media (min-width: 860px) {
  #modal-product-builder .builder-body,
  #modal-cart-drawer .cart-screen-body {
    padding: 24px 28px 36px;
  }

  .builder-layout {
    max-width: 1060px;
    grid-template-columns: minmax(320px, 5fr) minmax(0, 7fr);
    gap: 24px;
  }

  .builder-layout.is-simple {
    max-width: 880px;
    grid-template-columns: minmax(300px, 5fr) minmax(0, 6fr);
  }

  .builder-hero-card {
    position: sticky;
    top: 4px;
  }

  .builder-step-card {
    padding: 20px;
  }

  .builder-footer-summary {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .builder-footer-controls {
    width: auto;
    margin-left: auto;
  }

  .builder-add-cta {
    min-width: 240px;
    padding: 12px 26px;
  }

  .cart-screen-layout {
    max-width: 1060px;
    grid-template-columns: minmax(0, 7fr) minmax(330px, 5fr);
    gap: 24px;
  }

  .cart-screen-layout.is-empty {
    grid-template-columns: 1fr;
    max-width: 520px;
  }

  .cart-items-panel {
    background-color: var(--color-bg-surface);
    border: 1px solid var(--color-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }

  .cart-screen-layout.is-empty .cart-items-panel {
    background-color: transparent;
    border: 0;
    padding: 0;
    box-shadow: none;
  }

  .cart-side-panel {
    position: sticky;
    top: 4px;
  }

  #modal-cart-drawer .cart-drawer-footer {
    position: static;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  }
}

/* ============================================================
   TEMA EXCLUSIVO: KN AÇAÍ STUDIO (STITCH MOBILE + DESKTOP)
   Escopo isolado via body[data-store-slug="kn-acai"]
   ============================================================ */
body[data-store-slug="kn-acai"] {
  background-color: #FDF8FF;
  color: #1C192C;
  font-family: var(--font-family-base, 'Plus Jakarta Sans', -apple-system, sans-serif);
}

body[data-store-slug="kn-acai"] h1,
body[data-store-slug="kn-acai"] h2,
body[data-store-slug="kn-acai"] h3,
body[data-store-slug="kn-acai"] .acai-price,
body[data-store-slug="kn-acai"] .tracking-number {
  font-family: var(--font-family-heading, 'Outfit', 'Plus Jakarta Sans', sans-serif);
}

body[data-store-slug="kn-acai"] .acai-studio-shell {
  max-width: none;
  background-color: #FDF8FF;
  min-height: 100vh;
  padding-bottom: 0;
  overflow-x: clip;
}

body[data-store-slug="kn-acai"] .acai-top-ticker {
  background: linear-gradient(90deg, #4F107D 0%, #7C1D9E 50%, #4F107D 100%);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 0;
  letter-spacing: 0.01em;
}

body[data-store-slug="kn-acai"] .acai-ticker-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-store-slug="kn-acai"] .acai-ticker-meta {
  display: none;
  font-weight: 600;
  color: #FDE68A;
}

body[data-store-slug="kn-acai"] .acai-topbar {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #EAE2F3;
  box-shadow: 0 4px 18px -4px rgba(79, 16, 125, 0.06);
}

body[data-store-slug="kn-acai"] .acai-mobile-crest img,
body[data-store-slug="kn-acai"] .acai-desktop-crest img {
  border-radius: 12px;
  display: block;
  object-fit: cover;
}

body[data-store-slug="kn-acai"] .acai-desktop-crest {
  background: transparent;
  padding: 0;
  overflow: hidden;
  border: none;
}

body[data-store-slug="kn-acai"] .acai-status-pill.is-open,
body[data-store-slug="kn-acai"] .acai-badge-open.is-open {
  background-color: #DCFCE7;
  color: #15803D;
  border-color: #BBF7D0;
}

body[data-store-slug="kn-acai"] .acai-account-pill,
body[data-store-slug="kn-acai"] .acai-topbar-cart {
  border-radius: 9999px;
  border-color: #EAE2F3;
  background-color: #FFFFFF;
}

body[data-store-slug="kn-acai"] .acai-hero-section {
  padding-top: 16px;
}

body[data-store-slug="kn-acai"] .acai-hero-card {
  background: radial-gradient(circle at top right, rgba(162, 28, 175, 0.08), transparent 55%), #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 26px;
  box-shadow: 0 8px 28px -6px rgba(79, 16, 125, 0.08);
  overflow: hidden;
}

body[data-store-slug="kn-acai"] .acai-hero-banner-strip {
  height: 150px;
  width: 100%;
  overflow: hidden;
}

body[data-store-slug="kn-acai"] .acai-hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-store-slug="kn-acai"] .acai-hero-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

body[data-store-slug="kn-acai"] .acai-hero-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

body[data-store-slug="kn-acai"] .acai-hero-logo-box {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: #F7F1FF;
  border: 1px solid #EAE2F3;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(79, 16, 125, 0.14);
}

body[data-store-slug="kn-acai"] .acai-hero-logo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

body[data-store-slug="kn-acai"] .acai-hero-live-ring {
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 14px;
  height: 14px;
  border-radius: 9999px;
  border: 2.5px solid #FFFFFF;
  background-color: #9CA3AF;
}

body[data-store-slug="kn-acai"] .acai-hero-live-ring.is-open {
  background-color: #16A34A;
}

body[data-store-slug="kn-acai"] .acai-hero-copy {
  flex: 1;
  min-width: 0;
}

body[data-store-slug="kn-acai"] .acai-hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

body[data-store-slug="kn-acai"] .acai-hero-promo-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  background-color: #F7EDFF;
  color: #4F107D;
  border: 1px solid #E9D5FF;
}

body[data-store-slug="kn-acai"] .acai-hero-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #1C192C;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

body[data-store-slug="kn-acai"] .acai-hero-subtitle {
  margin-top: 4px;
  font-size: 0.85rem;
  color: #5C5366;
}

body[data-store-slug="kn-acai"] .acai-hero-cta {
  display: none;
}

body[data-store-slug="kn-acai"] .acai-hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body[data-store-slug="kn-acai"] .acai-metric-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 9999px;
  background-color: #F7F1FF;
  color: #4C4451;
  font-size: 0.78rem;
  font-weight: 600;
}

body[data-store-slug="kn-acai"] .acai-controls-sticky {
  background: rgba(253, 248, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #EAE2F3;
}

body[data-store-slug="kn-acai"] .acai-search-input {
  border-radius: 9999px;
  border: 1.5px solid #EAE2F3;
  background-color: #FFFFFF;
}

body[data-store-slug="kn-acai"] .acai-search-input:focus {
  border-color: #A21CAF;
  box-shadow: 0 0 0 3px rgba(162, 28, 175, 0.12);
}

body[data-store-slug="kn-acai"] .acai-cat-pill {
  border-radius: 9999px;
  border: 1px solid #EAE2F3;
  background-color: #FFFFFF;
  color: #1C192C;
  font-weight: 600;
}

body[data-store-slug="kn-acai"] .acai-cat-pill.is-active {
  background-color: #4F107D;
  border-color: #4F107D;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(79, 16, 125, 0.22);
}

body[data-store-slug="kn-acai"] .acai-section-title {
  color: #1C192C;
  font-weight: 700;
  letter-spacing: -0.015em;
}

body[data-store-slug="kn-acai"] .acai-count-pill {
  background-color: #F2DAFF;
  color: #4F107D;
  border-radius: 9999px;
  font-weight: 700;
}

body[data-store-slug="kn-acai"] .acai-category-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

body[data-store-slug="kn-acai"] .acai-section-hint {
  font-size: 0.78rem;
  color: #7C43AA;
  font-weight: 600;
}

body[data-store-slug="kn-acai"] .acai-featured-card {
  border-radius: 22px;
  border: 1px solid #EAE2F3;
  background: #FFFFFF;
  box-shadow: 0 4px 16px -2px rgba(79, 16, 125, 0.05);
}

body[data-store-slug="kn-acai"] .acai-featured-media {
  background: linear-gradient(135deg, #F7F1FF 0%, #EFE2FA 100%);
  border-radius: 16px;
}

body[data-store-slug="kn-acai"] .acai-free-tag,
body[data-store-slug="kn-acai"] .acai-free-pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 700;
  background-color: #F2DAFF;
  color: #4F107D;
}

body[data-store-slug="kn-acai"] .acai-popular-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 800;
  background-color: #FEF3C7;
  color: #B45309;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

body[data-store-slug="kn-acai"] .acai-size-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 22px;
  background-color: #FFFFFF;
  border: 1px solid #EAE2F3;
  box-shadow: 0 4px 16px -2px rgba(79, 16, 125, 0.04);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

body[data-store-slug="kn-acai"] .acai-size-card:hover {
  transform: translateY(-2px);
  border-color: #D8B4FE;
  box-shadow: 0 10px 26px -6px rgba(79, 16, 125, 0.14);
}

body[data-store-slug="kn-acai"] .acai-size-thumb {
  width: 78px;
  height: 78px;
  border-radius: 18px;
  flex-shrink: 0;
  overflow: hidden;
  background: #F7F1FF;
}

body[data-store-slug="kn-acai"] .acai-size-emblem {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  background: linear-gradient(135deg, #F7F1FF 0%, #F2DAFF 100%);
  border: 1px solid #E9D5FF;
}

body[data-store-slug="kn-acai"] .acai-size-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

body[data-store-slug="kn-acai"] .acai-size-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

body[data-store-slug="kn-acai"] .acai-size-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 2px;
}

body[data-store-slug="kn-acai"] .acai-price {
  color: #330057;
  font-weight: 800;
}

body[data-store-slug="kn-acai"] .acai-btn-montar {
  background-color: #4F107D;
  color: #FFFFFF;
  border: none;
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

body[data-store-slug="kn-acai"] .acai-btn-montar:hover {
  background-color: #330057;
}

body[data-store-slug="kn-acai"] .acai-story-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F7F1FF 100%);
  border: 1px solid #EAE2F3;
  border-radius: 24px;
}

body[data-store-slug="kn-acai"] .acai-story-badge {
  background-color: #F2DAFF;
  color: #4F107D;
}

body[data-store-slug="kn-acai"] .acai-story-stat {
  background-color: #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 18px;
}

body[data-store-slug="kn-acai"] .acai-story-stat strong {
  color: #4F107D;
}

body[data-store-slug="kn-acai"] .acai-cart-card {
  border-radius: 24px;
  border: 1px solid #EAE2F3;
  background-color: #FFFFFF;
  box-shadow: 0 12px 30px -8px rgba(79, 16, 125, 0.10);
}

body[data-store-slug="kn-acai"] .acai-checkout-cta,
body[data-store-slug="kn-acai"] .btn-primary {
  background-color: #4F107D;
  border-color: #4F107D;
  border-radius: 9999px;
  font-weight: 700;
}

body[data-store-slug="kn-acai"] .acai-checkout-cta:hover,
body[data-store-slug="kn-acai"] .btn-primary:hover {
  background-color: #330057;
  border-color: #330057;
}

body[data-store-slug="kn-acai"] .acai-footer {
  margin-top: 36px;
  padding: 32px 0 calc(112px + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(180deg, #330057 0%, #240040 100%);
  color: #F4EEFF;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

body[data-store-slug="kn-acai"] .acai-footer .footer-content-wrap {
  gap: 20px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-brand-header {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  padding-bottom: 18px;
}

body[data-store-slug="kn-acai"] .acai-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-store-slug="kn-acai"] .acai-footer-brand img {
  border-radius: 10px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-brand-title,
body[data-store-slug="kn-acai"] .acai-footer .footer-box-title,
body[data-store-slug="kn-acai"] .acai-footer .footer-seal-title {
  color: #FFFFFF;
}

body[data-store-slug="kn-acai"] .acai-footer .text-muted,
body[data-store-slug="kn-acai"] .acai-footer .footer-address-text,
body[data-store-slug="kn-acai"] .acai-footer .footer-seal-desc,
body[data-store-slug="kn-acai"] .acai-footer .footer-bottom-bar {
  color: rgba(244, 238, 255, 0.78);
}

body[data-store-slug="kn-acai"] .acai-footer .footer-card-box,
body[data-store-slug="kn-acai"] .acai-footer .footer-payments-block,
body[data-store-slug="kn-acai"] .acai-footer .footer-security-seal {
  background-color: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-hours-grid {
  grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
  gap: 8px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-hour-row {
  background-color: rgba(255, 255, 255, 0.08);
  color: #F4EEFF;
  border-radius: 10px;
  padding: 6px 10px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-contact-link,
body[data-store-slug="kn-acai"] .acai-footer .footer-route-btn {
  background-color: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: #FFFFFF;
  border-radius: 14px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-contact-link:hover,
body[data-store-slug="kn-acai"] .acai-footer .footer-route-btn:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #E9D5FF;
  color: #FFFFFF;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-payment-badge {
  background-color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 4px 8px;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-nav-links {
  color: rgba(244, 238, 255, 0.45);
}

body[data-store-slug="kn-acai"] .acai-footer .footer-nav-link {
  color: #E9D5FF;
}

body[data-store-slug="kn-acai"] .acai-footer .footer-nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.12);
}

body[data-store-slug="kn-acai"] .acai-footer .footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 18px;
}

/* Mobile Floating Bottom Dock - KN Açaí Studio */
body[data-store-slug="kn-acai"] .acai-bottom-hud .hud-container {
  background: #4F107D;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  box-shadow: 0 16px 36px -6px rgba(51, 0, 87, 0.42);
}

body[data-store-slug="kn-acai"] .acai-bottom-hud .hud-account-btn {
  background: rgba(255, 255, 255, 0.14);
  color: #FFFFFF;
  border-radius: 9999px;
}

body[data-store-slug="kn-acai"] .acai-bottom-hud .hud-total {
  color: #FDE68A;
}

body[data-store-slug="kn-acai"] .acai-bottom-hud .hud-cta-pill {
  background: #FFFFFF;
  color: #330057;
  border-radius: 9999px;
  font-weight: 800;
}

/* Modais (Montagem Builder, Sacola, Checkout, Minha Conta) - KN Açaí Studio */
body[data-store-slug="kn-acai"] .store-screen-box {
  background-color: #FDF8FF;
}

body[data-store-slug="kn-acai"] .modal-screen-header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #EAE2F3;
}

body[data-store-slug="kn-acai"] .btn-screen-back,
body[data-store-slug="kn-acai"] .btn-screen-action {
  background-color: #F7F1FF;
  color: #4F107D;
  border-radius: 9999px;
  border: 1px solid #EAE2F3;
}

body[data-store-slug="kn-acai"] .builder-header {
  background: #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 4px 16px -4px rgba(79, 16, 125, 0.06);
}

body[data-store-slug="kn-acai"] .builder-step {
  background: #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 22px;
  padding: 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 14px -4px rgba(79, 16, 125, 0.05);
}

body[data-store-slug="kn-acai"] .builder-step-title {
  color: #1C192C;
  font-family: var(--font-family-heading, 'Outfit', sans-serif);
}

body[data-store-slug="kn-acai"] .builder-option-card {
  border-radius: 16px;
  border: 1.5px solid #EAE2F3;
  background: #FFFFFF;
}

body[data-store-slug="kn-acai"] .builder-option-card.is-selected,
body[data-store-slug="kn-acai"] .builder-option-card:has(input:checked) {
  background: #F7EDFF;
  border-color: #4F107D;
  box-shadow: 0 4px 12px rgba(79, 16, 125, 0.12);
}

body[data-store-slug="kn-acai"] .builder-price-extra {
  color: #A21CAF;
  font-weight: 700;
}

body[data-store-slug="kn-acai"] .builder-price-included {
  color: #15803D;
  background: #DCFCE7;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
}

body[data-store-slug="kn-acai"] .builder-footer,
body[data-store-slug="kn-acai"] .cart-drawer-footer,
body[data-store-slug="kn-acai"] .checkout-footer {
  background: #FFFFFF;
  border-top: 1px solid #EAE2F3;
}

body[data-store-slug="kn-acai"] .builder-qty-control {
  background: #F7F1FF;
  border: 1px solid #EAE2F3;
  border-radius: 9999px;
}

body[data-store-slug="kn-acai"] .builder-qty-btn {
  color: #4F107D;
}

body[data-store-slug="kn-acai"] .cart-item-card,
body[data-store-slug="kn-acai"] .checkout-profile-card,
body[data-store-slug="kn-acai"] .checkout-summary-box,
body[data-store-slug="kn-acai"] .promo-coupon-box {
  background: #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 20px;
}

body[data-store-slug="kn-acai"] .checkout-method-card {
  background: #FFFFFF;
  border: 1.5px solid #EAE2F3;
  border-radius: 18px;
}

body[data-store-slug="kn-acai"] .checkout-method-card:has(input:checked) {
  border-color: #4F107D;
  background: #F7EDFF;
  box-shadow: 0 4px 14px rgba(79, 16, 125, 0.10);
}

body[data-store-slug="kn-acai"] .checkout-screen-body .input-field,
body[data-store-slug="kn-acai"] .account-screen-body .input-field {
  border-radius: 14px;
  border-color: #EAE2F3;
}

body[data-store-slug="kn-acai"] .checkout-screen-body .input-field:focus {
  border-color: #A21CAF;
  box-shadow: 0 0 0 3px rgba(162, 28, 175, 0.12);
}

/* Rastreio ao Vivo - KN Açaí Studio */
body.tracking-page[data-store-slug="kn-acai"] {
  background-color: #FDF8FF;
}

body.tracking-page[data-store-slug="kn-acai"] .store-mobile-container {
  background-color: #FDF8FF;
  box-shadow: none;
}

body.tracking-page[data-store-slug="kn-acai"] .store-header {
  background: #FFFFFF;
  border-bottom: 1px solid #EAE2F3;
}

body.tracking-page[data-store-slug="kn-acai"] .tracking-hero-card {
  background: radial-gradient(circle at top right, rgba(162, 28, 175, 0.08), transparent 60%), #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 24px;
  box-shadow: 0 6px 24px -4px rgba(79, 16, 125, 0.08);
}

body.tracking-page[data-store-slug="kn-acai"] .tracking-number {
  color: #4F107D;
}

body.tracking-page[data-store-slug="kn-acai"] .timeline-container {
  background: #FFFFFF;
  border: 1px solid #EAE2F3;
  border-radius: 24px;
  padding: 18px 16px;
}

body.tracking-page[data-store-slug="kn-acai"] .timeline-step.is-active .timeline-bullet {
  background-color: #4F107D;
  border-color: #4F107D;
}

body.tracking-page[data-store-slug="kn-acai"] .card-panel {
  border-radius: 22px;
  border: 1px solid #EAE2F3;
  box-shadow: 0 4px 16px -4px rgba(79, 16, 125, 0.05);
}

@media (min-width: 1024px) {
  body[data-store-slug="kn-acai"] .acai-ticker-meta {
    display: inline;
  }
  body[data-store-slug="kn-acai"] .acai-hero-cta {
    display: inline-flex;
    flex-shrink: 0;
  }
  body[data-store-slug="kn-acai"] .acai-hero-logo-box {
    width: 88px;
    height: 88px;
  }
  body[data-store-slug="kn-acai"] .acai-hero-title {
    font-size: 2rem;
  }
  body[data-store-slug="kn-acai"] .acai-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  body[data-store-slug="kn-acai"] .acai-footer {
    padding: 44px 0 36px;
  }
}

@media (min-width: 768px) {
  body[data-store-slug="kn-acai"] .store-screen-overlay {
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
  }

  body[data-store-slug="kn-acai"] .store-screen-overlay .store-screen-box {
    height: auto;
    max-height: calc(100dvh - 48px);
    max-width: 660px;
    border-radius: 28px;
    border: 1px solid #EAE2F3;
    box-shadow: 0 28px 70px -12px rgba(28, 25, 44, 0.42);
  }

  body[data-store-slug="kn-acai"] #modal-checkout.store-screen-overlay {
    padding: 0;
    align-items: stretch;
    justify-content: stretch;
    backdrop-filter: none;
  }

  body[data-store-slug="kn-acai"] #modal-checkout .store-screen-box {
    width: 100%;
    max-width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    border: 0;
    box-shadow: none;
    background-color: #FDF8FF;
  }
}









/* ==========================================================
   PÓS-COMPRA, FINALIZAÇÃO DE PAGAMENTO & RASTREIO (STITCH)
   ========================================================== */
body.tracking-page {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  min-height: 100vh;
}

.tracking-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
}

.tracking-topbar-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.tracking-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease;
}

.tracking-back-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.tracking-topbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.tracking-topbar-store {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--color-text-main);
}

.tracking-topbar-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.tracking-shell {
  max-width: 1120px;
  margin: 0 auto;
  padding: var(--space-md);
}

.tracking-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-md);
  align-items: start;
}

.tracking-main-col,
.tracking-side-col {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  min-width: 0;
}

.tracking-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.tracking-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.tracking-card-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.tracking-live-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.tracking-count-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
}

.tracking-hero-card {
  margin-bottom: 0;
}

.tracking-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-xs);
}

.tracking-hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.tracking-status-banner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-status-success);
  background-color: var(--color-status-success-bg);
}

.tracking-status-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tracking-status-icon svg {
  width: 24px;
  height: 24px;
}

.tracking-status-icon.is-success {
  background-color: var(--color-status-success);
  color: #FFFFFF;
}

.tracking-status-icon.is-danger {
  background-color: var(--color-status-danger);
  color: #FFFFFF;
}

.tracking-status-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-status-success);
  margin-bottom: 4px;
}

.tracking-status-eyebrow.is-danger {
  color: var(--color-status-danger);
}

.tracking-status-title {
  margin: 0 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.tracking-status-sub {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.tracking-refusal-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-status-danger);
  background-color: var(--color-bg-surface);
}

.tracking-refusal-head {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
}

.tracking-refusal-msg {
  margin: 0 0 var(--space-md);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--color-text-main);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background-color: var(--color-status-danger-bg);
}

.tracking-refusal-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tracking-eta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
}

.tracking-eta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tracking-eta-right {
  text-align: right;
}

.tracking-eta-icon,
.tracking-address-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.tracking-eta-icon svg,
.tracking-address-icon svg {
  width: 20px;
  height: 20px;
}

.tracking-eta-label {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
}

.tracking-eta-value,
.tracking-eta-clock {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.tracking-pix-panel {
  border-color: var(--color-primary);
}

.tracking-pix-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-md);
}

.tracking-pix-timer {
  display: inline-flex;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background-color: var(--color-status-pending-bg);
  color: #92400E;
}

.tracking-pix-qr-frame {
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
}

.tracking-pix-copy-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.tracking-pix-copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
}

.tracking-pro-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.tracking-total-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: var(--space-sm);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
}

.tracking-total-amount {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--color-primary);
}

.tracking-notes-box {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
}

.tracking-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

@media (min-width: 900px) {
  .tracking-shell {
    padding: var(--space-lg) var(--space-md);
  }
  .tracking-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.9fr);
    gap: var(--space-lg);
  }
  .tracking-summary-card {
    position: sticky;
    top: 76px;
  }
  .tracking-pix-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
  .tracking-pix-copy-row {
    flex-direction: row;
    align-items: stretch;
  }
  .tracking-pro-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* ==========================================================
   MINHA CONTA & HISTÓRICO DE PEDIDOS (MOBILE + DESKTOP STITCH)
   ========================================================== */
.account-header-inner {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
}

.account-header-inner .btn-screen-back,
.account-header-inner .modal-screen-actions {
  flex-shrink: 0;
}

.account-header-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.account-header-title-wrap .modal-screen-title {
  flex: 0 1 auto;
  min-width: 0;
  padding: 0;
}

.account-header-user-icon {
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .account-header-inner .btn-screen-back {
    font-size: 0.85rem;
    padding: 6px 4px;
    gap: 4px;
  }
  .account-header-title-wrap .modal-screen-title {
    font-size: 0.92rem;
  }
}

.account-tabs-segmented {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  padding: 4px;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
}

.account-tab-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.account-tab-pill.is-active {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.account-tab-count {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.account-tab-pill:not(.is-active) .account-tab-count {
  background-color: var(--color-border);
  color: var(--color-text-main);
}

.account-desktop-grid {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 1120px;
  margin: 0 auto;
}

.account-profile-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  margin-bottom: var(--space-md);
}

.account-profile-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 800;
  font-size: 0.95rem;
}

.account-profile-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.account-profile-name {
  font-size: 0.95rem;
  color: var(--color-text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-profile-phone {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.account-section-block {
  margin-bottom: var(--space-md);
}

.account-section-head {
  margin-bottom: 8px;
}

.account-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

.account-saved-addresses-list,
.account-saved-cards-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.account-saved-card-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
}

.account-saved-card-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.account-card-brand-chip {
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-main);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.account-profile-form {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
}

.account-orders-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-sm);
}

.account-orders-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
}

.account-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--space-md);
}

.account-filter-pill {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
  color: var(--color-text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease;
}

.account-filter-pill.is-active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.account-empty-orders {
  padding: var(--space-lg);
  text-align: center;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  border: 1px dashed var(--color-border);
}

.customer-order-title-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.customer-order-meta {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.customer-order-items {
  font-size: 0.85rem;
  color: var(--color-text-main);
  margin: 6px 0;
  line-height: 1.4;
}

.customer-order-alert {
  font-size: 0.78rem;
  color: var(--color-status-danger);
  background-color: var(--color-status-danger-bg);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin: 6px 0;
}

.customer-order-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid var(--color-border);
}

.customer-order-total-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.customer-order-pm {
  font-size: 0.74rem;
  color: var(--color-text-muted);
}

.customer-order-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-primary);
}

#modal-customer-account.store-screen-overlay,
body[data-store-slug="kn-acai"] #modal-customer-account.store-screen-overlay {
  padding: 0;
  align-items: stretch;
  justify-content: stretch;
  background-color: var(--color-bg-main);
  backdrop-filter: none;
}

#modal-customer-account .store-screen-box,
body[data-store-slug="kn-acai"] #modal-customer-account .store-screen-box {
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  border-radius: 0;
  border: 0;
  box-shadow: none;
  background-color: var(--color-bg-main);
}

#modal-customer-account .modal-screen-header {
  padding: 12px 16px;
}

#modal-customer-account .account-screen-body {
  padding: 16px 14px 36px;
  background-color: var(--color-bg-main);
}

#modal-customer-account .customer-orders-list {
  max-height: none;
  overflow-y: visible;
}

@media (min-width: 920px) {
  #modal-customer-account .modal-screen-header {
    padding: 12px 28px;
  }

  #modal-customer-account .account-screen-body {
    padding: 22px 28px 40px;
  }

  .account-tabs-segmented {
    display: none;
  }

  .account-desktop-grid {
    display: grid;
    grid-template-columns: 380px minmax(0, 1fr);
    gap: var(--space-lg);
    align-items: start;
  }

  #modal-customer-account .account-col-profile {
    position: sticky;
    top: 8px;
    max-height: calc(100dvh - 108px);
    overflow-y: auto;
    padding-right: 4px;
  }

  .account-col-profile.hidden,
  .account-col-orders.hidden {
    display: block !important;
  }
}

/* ==========================================================================
   Balão de Alerta / Erro Acima do Botão de Ação no Checkout
   ========================================================================== */
.checkout-footer-actions {
  position: relative;
}

@keyframes checkoutBalloonPop {
  0% {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.checkout-action-balloon {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  right: 0;
  z-index: 45;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 13px 14px;
  border-radius: 14px;
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  border: 2px solid var(--color-status-danger);
  box-shadow: 0 14px 32px rgba(17, 24, 39, 0.22), 0 0 0 4px var(--color-status-danger-bg);
  text-align: left;
  animation: checkoutBalloonPop 0.22s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.checkout-action-balloon.hidden {
  display: none !important;
}

.checkout-action-balloon::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  width: 14px;
  height: 14px;
  transform: translateX(-50%) rotate(45deg);
  background-color: var(--color-bg-surface);
  border-right: 2px solid var(--color-status-danger);
  border-bottom: 2px solid var(--color-status-danger);
  border-bottom-right-radius: 3px;
}

.checkout-action-balloon-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background-color: var(--color-status-danger-bg);
  color: var(--color-status-danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.checkout-action-balloon-icon svg {
  width: 18px;
  height: 18px;
}

.checkout-action-balloon-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-action-balloon-title {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-status-danger);
  line-height: 1.25;
}

.checkout-action-balloon-msg {
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.38;
  word-break: break-word;
}

.checkout-action-balloon-close {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.checkout-action-balloon-close:hover {
  background-color: var(--color-status-danger-bg);
  color: var(--color-status-danger);
  border-color: var(--color-status-danger);
}

.checkout-action-balloon-close svg {
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .checkout-action-balloon {
    left: auto;
    right: 0;
    width: min(390px, calc(100vw - 48px));
  }

  .checkout-action-balloon::after {
    left: auto;
    right: 118px;
    transform: rotate(45deg);
  }
}

.ui-balloon-showcase {
  padding-top: 108px;
  display: flex;
  justify-content: flex-end;
}

.ui-balloon-showcase .checkout-footer-actions {
  display: inline-flex;
  justify-content: flex-end;
}

/* ==========================================================================
   Campo Honeypot Anti-Bot (invisível fora da tela, sem style inline)
   ========================================================================== */
.hp-trap-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

/* ==========================================================================
   PAINEL DO LOJISTA V2 — CULINARY OPERATIONS SYSTEM (GOOGLE STITCH)
   ========================================================================== */
.admin-tabular {
  font-variant-numeric: tabular-nums;
}

.admin-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 3px;
}

.admin-page-subtitle {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.admin-shell .card-panel {
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
}

.admin-shell .page-header {
  margin-bottom: 18px;
}

.admin-shell .page-title {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.badge-info {
  background: var(--color-status-preparing-bg);
  color: var(--color-status-preparing);
}

.badge-warning {
  background: var(--color-status-pending-bg);
  color: var(--color-status-pending);
}

/* KPI Grid Unificado */
.admin-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}

@media (max-width: 1080px) {
  .admin-kpi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .admin-kpi-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.admin-kpi-card {
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 15px 16px;
  box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-kpi-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.admin-kpi-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.admin-kpi-icon {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex-shrink: 0;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
}

.admin-kpi-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.admin-kpi-icon.is-red {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.admin-kpi-icon.is-blue {
  background-color: var(--color-status-preparing-bg);
  color: var(--color-status-preparing);
}

.admin-kpi-icon.is-green {
  background-color: var(--color-status-success-bg);
  color: var(--color-status-success);
}

.admin-kpi-icon.is-amber {
  background-color: var(--color-status-pending-bg);
  color: var(--color-status-pending);
}

.admin-kpi-val {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-text-main);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.admin-kpi-val.is-primary { color: var(--color-primary); }
.admin-kpi-val.is-success { color: var(--color-status-success); }

.admin-kpi-sub {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

/* Controles Segmentados / Filtros em Abas */
.segmented-tabs {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  padding: 4px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 12px;
}

.segmented-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.segmented-tab:hover {
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
}

.segmented-tab.is-active {
  background-color: var(--color-primary);
  color: #FFFFFF;
}

.segmented-count {
  font-size: 0.72rem;
  padding: 1px 6px;
  border-radius: var(--radius-full);
  background-color: rgba(17, 24, 39, 0.08);
  font-variant-numeric: tabular-nums;
}

.segmented-tab.is-active .segmented-count {
  background-color: rgba(255, 255, 255, 0.22);
  color: #FFFFFF;
}

/* ==========================================================================
   GESTOR DE PEDIDOS (KANBAN DESKTOP & MOBILE V2)
   ========================================================================== */
.kanban-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding: 10px 14px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
  border-radius: 14px;
}

.kanban-filter-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.kanban-toolbar-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--color-text-muted);
}

.kanban-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.kanban-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--color-status-success);
}

.kanban-active-total {
  font-size: 0.84rem;
  color: var(--color-text-main);
  font-variant-numeric: tabular-nums;
}

.kanban-mobile-tabs {
  display: none;
}

@media (max-width: 768px) {
  .kanban-mobile-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 4px 2px 10px;
    margin-bottom: 6px;
    -webkit-overflow-scrolling: touch;
  }

  .kanban-mobile-tab {
    flex: 1 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 11px;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-surface);
    color: var(--color-text-muted);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
  }

  .kanban-mobile-tab.is-active {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary);
    color: var(--color-primary);
  }

  .kanban-board:not(.is-list-view) {
    grid-template-columns: 1fr;
    overflow-x: visible;
  }

  .kanban-board:not(.is-list-view) .kanban-column {
    display: none;
    min-height: auto;
  }

  .kanban-board:not(.is-list-view) .kanban-column.is-mobile-active {
    display: flex;
  }
}

.kanban-col-header-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.kanban-col-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: currentColor;
  flex-shrink: 0;
}

.kanban-col-header-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.kanban-col-total {
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.88;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.kanban-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.kanban-card-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.25;
}

.kanban-time-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}

.kanban-time-pill.is-urgent {
  background-color: var(--color-status-danger-bg);
  border-color: transparent;
  color: var(--color-status-danger);
}

.kanban-badges-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.kanban-badge-type {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: 6px;
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  font-size: 0.73rem;
  font-weight: 600;
}

.kanban-items-box {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 9px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.kanban-item-line {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--color-text-main);
  line-height: 1.35;
}

.kanban-qty-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  padding: 1px 5px;
  border-radius: 5px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 0.72rem;
  font-weight: 800;
  flex-shrink: 0;
}

.kanban-item-extra {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  padding-left: 28px;
  line-height: 1.3;
}

.kanban-obs-box {
  padding: 7px 10px;
  border-radius: 8px;
  background-color: var(--color-status-pending-bg);
  color: var(--color-status-pending);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.35;
}

.kanban-address-line {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.kanban-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 4px;
}

.kanban-total-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.kanban-total-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.kanban-total-val {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-text-main);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.btn-whatsapp {
  background-color: var(--color-status-success-bg);
  color: var(--color-status-success);
  border: 1px solid transparent;
}

.btn-whatsapp:hover {
  background-color: var(--color-status-success);
  color: #FFFFFF;
}

/* ==========================================================================
   CATÁLOGO DE PRODUTOS V2
   ========================================================================== */
.catalog-search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 220px;
  max-width: 320px;
}

.catalog-search-icon {
  position: absolute;
  left: 11px;
  color: var(--color-text-muted);
  pointer-events: none;
  display: inline-flex;
}

.catalog-search-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.catalog-search-input {
  padding-left: 34px;
}

.catalog-thumb-box {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.catalog-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.catalog-prod-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.catalog-prod-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog-prod-desc {
  font-size: 0.79rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.catalog-var-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* ==========================================================================
   RELATÓRIOS & MÉTRICAS V2
   ========================================================================== */
.chart-header-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.chart-col-val {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-text-muted);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.chart-bar {
  opacity: 0.78;
}

.chart-bar.is-peak {
  opacity: 1;
  box-shadow: 0 4px 12px rgba(234, 29, 44, 0.25);
}

.payment-metric-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.payment-metric-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.payment-method-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.rank-badge.is-top {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.neighborhood-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
}

.neighborhood-mini-card {
  padding: 12px 14px;
  border-radius: 11px;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* ==========================================================================
   PROMOÇÕES & CUPONS V2
   ========================================================================== */
.promo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.promo-type-cell {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.promo-type-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.promo-type-icon.is-auto {
  background-color: var(--color-status-preparing-bg);
  color: var(--color-status-preparing);
}

.promo-code-ticket {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 7px;
  border: 1px dashed var(--color-primary);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.promo-usage-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 82px;
  font-variant-numeric: tabular-nums;
}

.promo-mini-track {
  width: 100%;
  height: 5px;
  border-radius: var(--radius-full);
  background-color: var(--color-border);
  overflow: hidden;
}

.promo-mini-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background-color: var(--color-primary);
}

.promo-tip-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background-color: var(--color-bg-surface);
  border: 1px solid var(--color-border);
}

/* ==========================================================================
   CONFIGURAÇÕES & HORÁRIOS V2
   ========================================================================== */
.settings-section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.settings-section-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.switch-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 820px) {
  .switch-grid-2 {
    grid-template-columns: 1fr;
  }
}

.switch-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 11px;
  background-color: var(--color-bg-alt);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.switch-card:hover {
  border-color: var(--color-primary);
}

.switch-card-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.switch-card-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-main);
  line-height: 1.3;
}

.switch-card-desc {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

/* ==========================================================================
   MODO ESCURO — PAINEL DO LOJISTA V2
   ========================================================================== */
html[data-theme="dark"] .admin-sidebar,
html[data-theme="dark"] .admin-topbar,
html[data-theme="dark"] .admin-mobile-bar,
html[data-theme="dark"] .admin-mobile-bottom-nav,
html[data-theme="dark"] .admin-kpi-card,
html[data-theme="dark"] .kanban-toolbar,
html[data-theme="dark"] .segmented-tabs,
html[data-theme="dark"] .promo-tip-banner {
  background-color: var(--color-bg-surface);
  border-color: var(--color-border);
}

html[data-theme="dark"] .sidebar-link {
  color: var(--color-text-muted);
}

html[data-theme="dark"] .sidebar-link:hover {
  background-color: var(--color-surface-soft);
  color: var(--color-text-main);
}

html[data-theme="dark"] .sidebar-link.is-active {
  background-color: var(--color-primary-light);
  color: #FCA5A5;
}

html[data-theme="dark"] .sidebar-storefront-link,
html[data-theme="dark"] .sidebar-collapse-btn,
html[data-theme="dark"] .admin-user-chip,
html[data-theme="dark"] .kanban-live-pill,
html[data-theme="dark"] .kanban-items-box,
html[data-theme="dark"] .kanban-time-pill,
html[data-theme="dark"] .switch-card,
html[data-theme="dark"] .neighborhood-mini-card,
html[data-theme="dark"] .payment-method-icon {
  background-color: var(--color-bg-alt);
  border-color: var(--color-border);
}

html[data-theme="dark"] .kanban-badge-type {
  background-color: var(--color-surface-soft);
  color: var(--color-text-main);
}

html[data-theme="dark"] .kanban-mobile-tab {
  background-color: var(--color-bg-surface);
  border-color: var(--color-border);
}

html[data-theme="dark"] .kanban-mobile-tab.is-active {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
  color: #FCA5A5;
}

/* ==========================================================================
   CONTAGEM REGRESSIVA DE PAGAMENTO E RETENTATIVA (MINHA CONTA + RASTREIO)
   ========================================================================== */
.order-countdown-pill,
.account-order-countdown {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background-color: var(--color-warning-bg, #FEF3C7);
  color: var(--color-warning-text, #92400E);
  border: 1px solid rgba(217, 119, 6, 0.25);
  font-size: 0.76rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.order-countdown-pill.is-urgent,
.account-order-countdown.is-urgent {
  background-color: var(--color-danger-bg, #FEE2E2);
  color: var(--color-danger-text, #991B1B);
  border-color: rgba(220, 38, 38, 0.28);
}

.account-order-countdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.tracking-retry-panel {
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-surface);
}

.tracking-retry-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: var(--space-md);
}

.tracking-retry-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tracking-retry-card-form {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px dashed var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tracking-retry-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.tracking-retry-error {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background-color: var(--color-danger-bg, #FEE2E2);
  color: var(--color-danger-text, #991B1B);
  font-size: 0.84rem;
  font-weight: 600;
}

@media (min-width: 640px) {
  .tracking-retry-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .tracking-retry-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .tracking-retry-actions > .btn {
    flex: 1 1 200px;
  }
}

/* Seletor de Modo do Tempo Estimado (Configurações da Loja) */
.prep-mode-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 900px) {
  .prep-mode-grid {
    grid-template-columns: 1fr;
  }
}

.prep-mode-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-bg-alt);
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.prep-mode-card:hover {
  border-color: var(--color-primary);
}

.prep-mode-card.is-selected {
  border-color: var(--color-primary);
  background-color: var(--color-primary-light);
  box-shadow: 0 0 0 1px var(--color-primary);
}

.prep-mode-card input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
  flex-shrink: 0;
}

.prep-mode-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.prep-mode-copy strong {
  font-size: 0.88rem;
  color: var(--color-text-main);
  line-height: 1.3;
}

.prep-mode-copy span {
  font-size: 0.76rem;
  color: var(--color-text-muted);
  line-height: 1.38;
}

html[data-theme="dark"] .prep-mode-card {
  background-color: var(--color-bg-alt);
  border-color: var(--color-border);
}

html[data-theme="dark"] .prep-mode-card.is-selected {
  background-color: var(--color-primary-light);
  border-color: var(--color-primary);
}

/* ==========================================================================
   ACEITE DE COOKIES, RODAPÉ LEGAL & PÁGINA DE PRIVACIDADE / LGPD
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 1120px;
  margin: 0 auto;
  z-index: 950;
  display: none;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--radius-lg);
  background-color: var(--color-bg-surface);
  color: var(--color-text-main);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.cookie-banner.is-visible {
  display: flex;
}

.cookie-banner-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1 360px;
  min-width: 0;
}

.cookie-banner-icon {
  font-size: 1.35rem;
  line-height: 1.2;
  flex-shrink: 0;
}

.cookie-banner-text {
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--color-text-main);
  margin: 0;
}

.cookie-banner-link {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 959px) {
  body.store-page .cookie-banner {
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    padding: 12px 14px;
  }
}

@media (max-width: 768px) {
  body .admin-shell ~ .cookie-banner {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
  }
  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

.cookie-modal {
  z-index: 1200;
}

.cookie-modal-box {
  max-width: 560px;
}

.cookie-categories-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-category-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background-color: var(--color-bg-alt);
}

.cookie-category-card.is-selectable {
  cursor: pointer;
}

.cookie-category-card.is-selectable:hover {
  border-color: var(--color-primary);
}

.cookie-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.cookie-category-head > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-category-title {
  font-size: 0.92rem;
  color: var(--color-text-main);
}

.cookie-always-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background-color: var(--color-status-success-bg);
  color: var(--color-status-success);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.cookie-category-desc {
  font-size: 0.81rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin: 0;
}

.cookie-modal-footer-note {
  margin-top: 12px;
  font-size: 0.82rem;
}

/* Rodapé Legal Padronizado */
.platform-legal-footer {
  margin-top: var(--space-md);
  padding: 14px 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.78rem;
  color: var(--color-text-muted);
}

.platform-legal-footer.is-store,
.platform-legal-footer.is-store-dark {
  margin-top: 8px;
  padding: 12px 0 0;
  border-top-style: dashed;
}

.platform-legal-footer.is-store-dark {
  border-top-color: rgba(255, 255, 255, 0.14);
  color: rgba(245, 243, 240, 0.76);
}

.platform-legal-footer.is-admin {
  padding: 14px 24px 20px;
}

@media (max-width: 768px) {
  .platform-legal-footer.is-admin {
    padding: 14px 14px calc(80px + env(safe-area-inset-bottom, 0px));
  }
}

.platform-legal-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.platform-legal-disclaimer {
  margin: 0;
  line-height: 1.4;
}

.platform-legal-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-footer-link,
.legal-footer-link-btn {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 2px 4px;
  cursor: pointer;
  font-family: inherit;
}

.legal-footer-link:hover,
.legal-footer-link-btn:hover {
  text-decoration: underline;
}

.platform-legal-footer.is-store-dark .legal-footer-link,
.platform-legal-footer.is-store-dark .legal-footer-link-btn {
  color: #FFFFFF;
}

/* Página de Privacidade, LGPD e Isenção */
.privacy-page {
  background-color: var(--color-bg-main);
  color: var(--color-text-main);
  min-height: 100vh;
}

.privacy-topbar {
  background-color: var(--color-bg-surface);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 40;
}

.privacy-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.privacy-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-top: 12px;
  padding-bottom: 12px;
}

.privacy-main {
  padding-top: var(--space-lg);
  padding-bottom: var(--space-lg);
}

.privacy-title {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 4px 0 8px;
  color: var(--color-text-main);
}

.privacy-merchant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

@media (max-width: 640px) {
  .privacy-merchant-grid {
    grid-template-columns: 1fr;
  }
}

.privacy-info-item {
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.privacy-info-span {
  grid-column: 1 / -1;
}

.privacy-info-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.privacy-section h2 {
  font-size: 1.12rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-text-main);
}

.privacy-section p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 10px;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-list {
  margin: 8px 0 12px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.91rem;
  line-height: 1.55;
}

html[data-theme="dark"] .cookie-banner,
html[data-theme="dark"] .privacy-topbar {
  background-color: var(--color-bg-surface);
  border-color: var(--color-border);
}

html[data-theme="dark"] .cookie-category-card,
html[data-theme="dark"] .privacy-info-item {
  background-color: var(--color-bg-alt);
  border-color: var(--color-border);
}

/* ==========================================================================
   CAMPO DE SUBDOMÍNIO (CONFIGURAÇÕES DA LOJA)
   ========================================================================== */
.subdomain-input-group {
  display: flex;
  align-items: stretch;
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-bg-surface);
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.subdomain-input-group:focus-within {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-light);
}

.subdomain-prefix,
.subdomain-suffix {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-text-muted);
  background-color: var(--color-bg-alt);
  white-space: nowrap;
  user-select: none;
}

.subdomain-prefix {
  border-right: 1px solid var(--color-border);
}

.subdomain-suffix {
  border-left: 1px solid var(--color-border);
}

.subdomain-input {
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  flex: 1 1 auto;
  min-width: 120px;
  font-weight: 600;
}

@media (max-width: 520px) {
  .subdomain-prefix {
    display: none;
  }
  .subdomain-suffix {
    font-size: 0.78rem;
    padding: 0 8px;
  }
}

html[data-theme="dark"] .subdomain-input-group {
  background-color: var(--color-bg-surface);
  border-color: var(--color-border);
}

html[data-theme="dark"] .subdomain-prefix,
html[data-theme="dark"] .subdomain-suffix {
  background-color: var(--color-bg-alt);
  border-color: var(--color-border);
}

/* ==========================================================================
   PÁGINA INICIAL DE VENDAS — DELIVORA (delivora.com.br)
   ========================================================================== */
body.landing-page {
  --delivora-orange: #FF5A1F;
  --delivora-orange-hover: #E04810;
  --delivora-orange-soft: #FFF0E9;
  --delivora-charcoal: #18181B;
  --delivora-charcoal-soft: #27272A;
  --delivora-warm-bg: #FFF8F5;
  --delivora-surface: #FFFFFF;
  --delivora-muted: #52525B;
  --delivora-border: #F2E4DC;
  --color-primary: #FF5A1F;
  --color-primary-hover: #E04810;
  --color-primary-light: #FFF0E9;
  --color-bg-main: #FFF8F5;
  --color-bg-surface: #FFFFFF;
  --color-text-main: #18181B;
  --color-text-muted: #52525B;
  --color-border: #F2E4DC;
  --font-family-base: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-heading: 'Plus Jakarta Sans', 'Inter', -apple-system, sans-serif;
  background-color: var(--delivora-warm-bg);
  color: var(--delivora-charcoal);
  font-family: var(--font-family-base);
}

body.landing-page h1,
body.landing-page h2,
body.landing-page h3,
body.landing-page h4 {
  font-family: var(--font-family-heading);
  letter-spacing: -0.02em;
}

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

.btn-delivora {
  background-color: var(--delivora-orange);
  color: #FFFFFF;
  border-color: var(--delivora-orange);
  box-shadow: 0 10px 24px -6px rgba(255, 90, 31, 0.45);
}

.btn-delivora:hover {
  background-color: var(--delivora-orange-hover);
  border-color: var(--delivora-orange-hover);
  transform: translateY(-1px);
}

.btn-delivora-outline {
  background-color: #FFFFFF;
  color: var(--delivora-charcoal);
  border: 1px solid #E4E4E7;
}

.btn-delivora-outline:hover {
  border-color: var(--delivora-orange);
  color: var(--delivora-orange);
}

.btn-delivora-dark {
  background-color: var(--delivora-charcoal);
  color: #FFFFFF;
  border-color: var(--delivora-charcoal);
}

.btn-delivora-dark:hover {
  background-color: var(--delivora-charcoal-soft);
}

.btn-lg {
  padding: 14px 24px;
  font-size: 1rem;
  border-radius: 12px;
}

/* Navbar */
.landing-navbar {
  position: sticky;
  top: 0;
  z-index: 80;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--delivora-border);
}

.landing-navbar-inner {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--delivora-charcoal);
}

.landing-brand-mark svg {
  width: 38px;
  height: 38px;
  display: block;
}

.landing-brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.landing-brand-wordmark strong {
  font-family: var(--font-family-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--delivora-charcoal);
}

.landing-brand-wordmark small {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--delivora-orange);
}

.landing-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.landing-nav-link {
  text-decoration: none;
  color: var(--delivora-muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.landing-nav-link:hover {
  color: var(--delivora-orange);
}

.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.landing-nav-cta-mobile {
  display: none;
}

.landing-mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #E4E4E7;
  background-color: #FFFFFF;
  padding: 0 9px;
  cursor: pointer;
}

.landing-mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--delivora-charcoal);
  border-radius: 2px;
}

@media (max-width: 860px) {
  .landing-mobile-menu-btn {
    display: inline-flex;
  }
  .landing-nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border-bottom: 1px solid var(--delivora-border);
    padding: 16px 18px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    box-shadow: var(--shadow-md);
  }
  .landing-nav-links.is-open {
    display: flex;
  }
  .landing-nav-actions .btn-delivora-dark {
    display: none;
  }
  .landing-nav-cta-mobile {
    display: inline-flex;
    width: 100%;
    margin-top: 4px;
  }
}

/* Hero */
.landing-hero {
  background: radial-gradient(circle at top right, #FFE8DC 0%, #FFF8F5 48%, #FFFFFF 100%);
  padding: 44px 0 56px;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 960px) {
  .landing-hero {
    padding: 72px 0 80px;
  }
  .landing-hero-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    gap: 44px;
  }
}

.landing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background-color: var(--delivora-orange-soft);
  border: 1px solid #FFD4BE;
  color: #C23B0A;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.landing-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--delivora-orange);
}

.landing-hero-title {
  font-size: clamp(1.85rem, 3.6vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  color: var(--delivora-charcoal);
  margin-bottom: 16px;
}

.landing-hero-subtitle {
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--delivora-muted);
  max-width: 610px;
  margin-bottom: 26px;
}

.landing-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.landing-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  font-size: 0.86rem;
  color: var(--delivora-muted);
}

.landing-hero-login-link {
  color: var(--delivora-charcoal);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.landing-hero-login-link:hover {
  color: var(--delivora-orange);
}

.landing-hero-trust code {
  background-color: #FFFFFF;
  border: 1px solid var(--delivora-border);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--delivora-charcoal);
}

/* Mockup Visual do Hero */
.landing-mockup-card {
  background-color: var(--delivora-charcoal);
  color: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #27272A;
  box-shadow: 0 24px 50px -12px rgba(24, 24, 27, 0.35);
}

.landing-mockup-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background-color: #111113;
  border-bottom: 1px solid #27272A;
}

.landing-mockup-dots {
  display: inline-flex;
  gap: 5px;
}

.landing-mockup-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #3F3F46;
  display: block;
}

.landing-mockup-url {
  flex: 1;
  font-size: 0.78rem;
  color: #A1A1AA;
  background-color: #18181B;
  padding: 5px 10px;
  border-radius: 7px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-mockup-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.landing-mockup-store-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.landing-mockup-pill {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  color: #34D399;
  margin-bottom: 4px;
}

.landing-mockup-store-name {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF;
}

.landing-mockup-fee-badge {
  padding: 5px 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 90, 31, 0.16);
  border: 1px solid rgba(255, 90, 31, 0.45);
  color: #FF8C61;
  font-size: 0.74rem;
  font-weight: 700;
}

.landing-mockup-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.landing-mockup-stat {
  background-color: #27272A;
  border-radius: 12px;
  padding: 12px 10px;
}

.landing-mockup-stat span {
  display: block;
  font-size: 0.7rem;
  color: #A1A1AA;
  margin-bottom: 3px;
}

.landing-mockup-stat strong {
  font-size: 1.02rem;
  font-weight: 800;
  color: #FFFFFF;
}

.landing-mockup-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background-color: #FFFFFF;
  color: var(--delivora-charcoal);
}

.landing-mockup-order-tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--delivora-orange);
  margin-bottom: 3px;
}

.landing-mockup-order strong {
  display: block;
  font-size: 0.9rem;
}

.landing-mockup-order small {
  display: block;
  font-size: 0.76rem;
  color: var(--delivora-muted);
}

.landing-mockup-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--delivora-charcoal);
  white-space: nowrap;
}

/* Seções Gerais */
.landing-section {
  padding: 60px 0;
}

@media (min-width: 900px) {
  .landing-section {
    padding: 80px 0;
  }
}

.landing-section-white {
  background-color: #FFFFFF;
}

.landing-section-warm {
  background-color: var(--delivora-warm-bg);
}

.landing-section-dark {
  background-color: var(--delivora-charcoal);
  color: #FFFFFF;
}

.landing-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.landing-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--delivora-orange);
  margin-bottom: 8px;
}

.landing-kicker.is-light {
  color: #FF8C61;
}

.landing-section-title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--delivora-charcoal);
  margin-bottom: 12px;
}

.landing-section-title.is-light {
  color: #FFFFFF;
}

.landing-section-sub {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--delivora-muted);
}

.landing-section-sub.is-light {
  color: #D4D4D8;
}

/* Tabela Comparativa */
.landing-compare-wrap {
  overflow-x: auto;
  border: 1px solid #E4E4E7;
  border-radius: 16px;
  background-color: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.landing-compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.landing-compare-table th,
.landing-compare-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid #F4F4F5;
  font-size: 0.94rem;
}

.landing-compare-table thead th {
  background-color: #FAFAFA;
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--delivora-muted);
}

.landing-compare-table .is-delivora-col {
  background-color: #FFF8F5;
  color: var(--delivora-charcoal);
}

.landing-compare-table thead th.is-delivora-col {
  background-color: var(--delivora-orange);
  color: #FFFFFF;
}

.landing-compare-table tbody tr:last-child td {
  border-bottom: 0;
}

.landing-compare-bad {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: #FEE2E2;
  color: #B91C1C;
  font-weight: 700;
  font-size: 0.84rem;
}

.landing-compare-good {
  display: inline-block;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background-color: #D1FAE5;
  color: #047857;
  font-weight: 700;
  font-size: 0.84rem;
}

.landing-savings-banner {
  margin-top: 26px;
  background-color: var(--delivora-charcoal);
  color: #FFFFFF;
  border-radius: 18px;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}

@media (min-width: 860px) {
  .landing-savings-banner {
    grid-template-columns: 1.2fr 1fr;
    padding: 32px;
  }
}

.landing-savings-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #FF8C61;
  margin-bottom: 6px;
}

.landing-savings-copy h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: #FFFFFF;
}

.landing-savings-copy p {
  font-size: 0.94rem;
  color: #D4D4D8;
  line-height: 1.55;
}

.landing-savings-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 520px) {
  .landing-savings-metrics {
    grid-template-columns: 1fr;
  }
}

.landing-savings-stat {
  background-color: #27272A;
  border-radius: 14px;
  padding: 16px;
  border: 1px solid #3F3F46;
}

.landing-savings-stat.is-highlight {
  background-color: rgba(255, 90, 31, 0.16);
  border-color: var(--delivora-orange);
}

.landing-savings-stat span {
  display: block;
  font-size: 0.76rem;
  color: #D4D4D8;
}

.landing-savings-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 4px 0 2px;
}

.landing-savings-stat small {
  font-size: 0.76rem;
  color: #A1A1AA;
}

/* Vitrine Demo */
.landing-demo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

@media (min-width: 780px) {
  .landing-demo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-demo-card {
  background-color: #FFFFFF;
  border: 1px solid var(--delivora-border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.landing-demo-cover {
  position: relative;
  height: 132px;
  background: linear-gradient(135deg, #18181B 0%, #3F3F46 55%, #FF5A1F 100%);
  padding: 14px;
  display: flex;
  align-items: flex-end;
}

.landing-demo-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.landing-demo-badges {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.landing-demo-niche {
  background-color: var(--delivora-orange);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.landing-demo-feature {
  background-color: rgba(24, 24, 27, 0.85);
  color: #FFFFFF;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.landing-demo-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
}

.landing-demo-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.landing-demo-title-row h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--delivora-charcoal);
}

.landing-demo-eta {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--delivora-muted);
  white-space: nowrap;
}

.landing-demo-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--delivora-muted);
  flex: 1;
}

.landing-demo-domain {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  color: var(--delivora-charcoal);
  background-color: var(--delivora-warm-bg);
  border: 1px solid var(--delivora-border);
  border-radius: 8px;
  padding: 6px 10px;
  text-align: center;
}

/* 3 Passos + Recursos */
.landing-steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 44px;
}

@media (min-width: 780px) {
  .landing-steps-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.landing-step-card {
  background-color: var(--delivora-warm-bg);
  border: 1px solid var(--delivora-border);
  border-radius: 16px;
  padding: 22px;
}

.landing-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: var(--delivora-orange);
  color: #FFFFFF;
  font-family: var(--font-family-heading);
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.landing-step-card h3 {
  font-size: 1.06rem;
  margin-bottom: 6px;
  color: var(--delivora-charcoal);
}

.landing-step-card p {
  font-size: 0.91rem;
  line-height: 1.55;
  color: var(--delivora-muted);
}

.landing-features-head {
  text-align: center;
  margin-bottom: 20px;
}

.landing-features-head h3 {
  font-size: 1.35rem;
  color: var(--delivora-charcoal);
}

.landing-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .landing-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1020px) {
  .landing-features-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.landing-feature-card {
  background-color: #FFFFFF;
  border: 1px solid #E4E4E7;
  border-radius: 16px;
  padding: 20px;
}

.landing-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background-color: var(--delivora-orange-soft);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.landing-feature-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--delivora-charcoal);
}

.landing-feature-card p {
  font-size: 0.88rem;
  line-height: 1.52;
  color: var(--delivora-muted);
}

/* Plano Único */
.landing-pricing-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}

@media (min-width: 880px) {
  .landing-pricing-wrap {
    grid-template-columns: 1fr 470px;
    gap: 44px;
  }
}

.landing-pricing-card {
  background-color: #FFFFFF;
  color: var(--delivora-charcoal);
  border-radius: 20px;
  padding: 28px;
  border: 2px solid var(--delivora-orange);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.45);
}

.landing-pricing-badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background-color: var(--delivora-orange-soft);
  color: #C23B0A;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.landing-pricing-price-row {
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.landing-pricing-currency {
  font-size: 1.2rem;
  font-weight: 700;
}

.landing-pricing-amount {
  font-family: var(--font-family-heading);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--delivora-charcoal);
}

.landing-pricing-period {
  font-size: 1rem;
  color: var(--delivora-muted);
  font-weight: 600;
}

.landing-pricing-desc {
  margin-top: 6px;
  font-size: 0.94rem;
  color: var(--delivora-muted);
}

.landing-pricing-list {
  list-style: none;
  margin: 20px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.93rem;
}

.landing-pricing-note {
  margin-top: 10px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--delivora-muted);
}

/* FAQ */
.landing-faq-container {
  max-width: 820px;
}

.landing-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.landing-faq-item {
  background-color: #FFFFFF;
  border: 1px solid var(--delivora-border);
  border-radius: 14px;
  padding: 16px 18px;
}

.landing-faq-q {
  font-family: var(--font-family-heading);
  font-weight: 700;
  font-size: 1rem;
  color: var(--delivora-charcoal);
  cursor: pointer;
}

.landing-faq-a {
  margin-top: 10px;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--delivora-muted);
}

/* Rodapé Landing */
.landing-footer {
  background-color: var(--delivora-charcoal);
  color: #D4D4D8;
  padding: 40px 0 24px;
  border-top: 1px solid #27272A;
}

.landing-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #27272A;
}

.landing-footer-brand {
  max-width: 480px;
}

.landing-footer-brand strong {
  display: block;
  font-family: var(--font-family-heading);
  font-size: 1.2rem;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.landing-footer-brand p {
  font-size: 0.85rem;
  line-height: 1.55;
  color: #A1A1AA;
}

.landing-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.landing-footer-link,
.landing-footer-link-btn {
  color: #FFFFFF;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.landing-footer-link:hover,
.landing-footer-link-btn:hover {
  color: #FF8C61;
  text-decoration: underline;
}

.landing-footer-login {
  color: #FFFFFF;
  border-color: #3F3F46;
}

.landing-footer-bottom {
  padding-top: 18px;
  font-size: 0.8rem;
  color: #71717A;
}
