@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: dark;
  --bg: #07170f;
  --panel: #0d2419;
  --panel-2: #091c13;
  --card: #102b1e;
  --card-hover: #173a29;
  --text: #f8f3e8;
  --muted: #95aa9b;
  --muted-strong: #c4d2c6;
  --accent: #f2bd3d;
  --accent-strong: #d99b1a;
  --accent-2: #73c49b;
  --danger: #fb7c8c;
  --warning: #f7bd61;
  --violet: #aa8cff;
  --border: #284838;
  --border-soft: rgba(151, 169, 194, 0.12);
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  --shadow-soft: 0 8px 24px rgba(0, 0, 0, 0.14);
  --topbar-height: 72px;
  --sidebar-width: 252px;
}

.theme-light {
  color-scheme: light;
  --bg: #f4efe5;
  --panel: #ffffff;
  --panel-2: #faf7f0;
  --card: #ffffff;
  --card-hover: #f7f2e8;
  --text: #173f2a;
  --muted: #6c796f;
  --muted-strong: #405648;
  --accent: #b7790d;
  --accent-strong: #8f5c08;
  --accent-2: #19734f;
  --danger: #df5363;
  --warning: #b87512;
  --violet: #7957d6;
  --border: #ded7c9;
  --border-soft: rgba(51, 65, 85, 0.08);
  --shadow: 0 18px 48px rgba(38, 51, 77, 0.08);
  --shadow-soft: 0 8px 22px rgba(38, 51, 77, 0.06);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 75% 0%, rgba(114, 167, 255, 0.055), transparent 30rem), var(--bg);
  color: var(--text);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body:not(.is-authenticated) #topbar { display: none; }
::selection { background: rgba(101, 223, 173, 0.25); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }

button {
  border: 0;
  cursor: pointer;
  transition: transform 150ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

button:hover { transform: translateY(-1px); opacity: 1; }
button:active { transform: translateY(0); }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(114, 167, 255, 0.28);
  outline-offset: 2px;
}

button.primary {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 1px solid rgba(101, 223, 173, 0.38);
  border-radius: 11px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  box-shadow: 0 10px 24px rgba(55, 201, 142, 0.15);
  color: #06261c;
  font-weight: 800;
  letter-spacing: -0.01em;
}

button.primary:hover {
  box-shadow: 0 13px 30px rgba(55, 201, 142, 0.22);
  filter: saturate(1.06);
}

button.ghost {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted-strong);
  font-weight: 700;
}

button.ghost:hover {
  border-color: rgba(114, 167, 255, 0.45);
  background: var(--card-hover);
  color: var(--text);
}

#topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  height: var(--topbar-height);
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  padding: 0 24px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(12, 20, 33, 0.88);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.015);
  backdrop-filter: blur(18px) saturate(1.2);
}

.theme-light #topbar { background: rgba(255, 255, 255, 0.9); }

.brand {
  display: flex;
  width: calc(var(--sidebar-width) - 24px);
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
}

.brand-copy { min-width: 0; }

.logo-mark {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px;
  background: linear-gradient(145deg, #79edbc, #3dba86);
  box-shadow: 0 10px 22px rgba(55, 201, 142, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  color: #08251c;
  font-size: 17px;
  font-weight: 800;
}

.logo-mark.large {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  font-size: 19px;
}

.brand-name, .brand-sub {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-name {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-sub {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#menu-toggle { display: none !important; }

.menu-lines, .menu-lines::before, .menu-lines::after {
  width: 15px;
  height: 1.5px;
  border-radius: 2px;
  background: currentColor;
}

.menu-lines { position: relative; }

.menu-lines::before, .menu-lines::after {
  position: absolute;
  left: 0;
  content: '';
}

.menu-lines::before { top: -5px; }
.menu-lines::after { top: 5px; }

.top-actions {
  display: flex;
  min-width: 0;
  flex: 1;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.quick-search {
  position: relative;
  width: min(420px, 38vw);
  margin-right: auto;
}

.quick-search input {
  width: 100%;
  height: 42px;
  padding: 10px 60px 10px 40px;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: rgba(18, 29, 45, 0.72);
  color: var(--text);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.theme-light .quick-search input { background: #f8fafc; }

.quick-search input:focus {
  border-color: rgba(114, 167, 255, 0.55);
  background: var(--panel);
  box-shadow: 0 0 0 4px rgba(114, 167, 255, 0.08);
  outline: none;
}

.quick-search input::placeholder, input::placeholder, textarea::placeholder {
  color: color-mix(in srgb, var(--muted) 76%, transparent);
}

.search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 1.7px solid var(--muted);
  border-radius: 50%;
  pointer-events: none;
  transform: translateY(-57%);
}

.search-icon::after {
  position: absolute;
  right: -4px;
  bottom: -3px;
  width: 6px;
  height: 1.7px;
  border-radius: 2px;
  background: var(--muted);
  content: '';
  transform: rotate(45deg);
}

.quick-search kbd {
  position: absolute;
  top: 50%;
  right: 10px;
  padding: 2px 6px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: var(--panel-2);
  color: var(--muted);
  font-family: inherit;
  font-size: 10px;
  transform: translateY(-50%);
}

.server-status {
  display: flex;
  min-height: 42px;
  align-items: center;
  gap: 9px;
  padding: 6px 9px;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: rgba(18, 29, 45, 0.52);
}

.theme-light .server-status { background: #f8fafc; }

.status-dot, .date-dot, .micro-dot {
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(101, 223, 173, 0.1);
}

.status-dot { width: 7px; height: 7px; }

.server-copy {
  display: flex;
  min-width: 92px;
  flex-direction: column;
  line-height: 1.3;
}

.server-copy span { color: var(--muted); font-size: 10px; }

.server-copy #server-label {
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.pill.online {
  border-color: rgba(101, 223, 173, 0.2);
  background: rgba(101, 223, 173, 0.08);
  color: var(--accent);
}

.pill.offline {
  border-color: rgba(251, 124, 140, 0.25);
  background: rgba(251, 124, 140, 0.08);
  color: var(--danger);
}

#user-chip {
  max-width: 150px;
  overflow: hidden;
  border-color: rgba(114, 167, 255, 0.2);
  background: rgba(114, 167, 255, 0.08);
  color: var(--accent-2);
  text-overflow: ellipsis;
  white-space: nowrap;
}

#layout {
  display: grid;
  min-height: calc(100vh - var(--topbar-height));
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
}

#sidebar {
  position: sticky;
  top: var(--topbar-height);
  left: auto;
  z-index: 20;
  display: flex;
  height: calc(100vh - var(--topbar-height));
  width: auto;
  min-height: 520px;
  max-height: none;
  flex-direction: column;
  padding: 22px 14px 16px;
  border-right: 1px solid var(--border-soft);
  border-radius: 0;
  background: rgba(12, 20, 33, 0.58);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.theme-light #sidebar { background: rgba(248, 250, 252, 0.9); }

#sidebar nav {
  display: flex;
  min-height: 0;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  overflow-y: auto;
  scrollbar-width: thin;
}

.nav-heading {
  padding: 0 12px 10px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-link {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: center;
  gap: 11px;
  padding: 8px 11px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.nav-link::before {
  display: grid;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--panel);
  color: var(--muted);
  content: '•';
  font-size: 9px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-link[data-view="dashboard"]::before { content: 'IN'; }
.nav-link[data-view="vendas"]::before { content: 'PDV'; }
.nav-link[data-view="estoque"]::before { content: 'ES'; }
.nav-link[data-view="compras"]::before { content: 'CP'; }
.nav-link[data-view="clientes"]::before { content: 'CL'; }
.nav-link[data-view="relatorios"]::before { content: 'RL'; }
.nav-link[data-view="organizador"]::before { content: 'OR'; }
.nav-link[data-view="staff"]::before { content: 'FN'; }
.nav-link[data-view="produtos"]::before { content: 'PR'; }
.nav-link[data-view="admin"]::before { content: 'AD'; }
.nav-link[data-view="mensagens"]::before { content: 'MS'; }
.nav-link[data-view="ia"]::before { content: 'IA'; }
.nav-link[data-view="config"]::before { content: 'CF'; }

.nav-link:hover {
  background: var(--card-hover);
  color: var(--text);
  transform: translateX(2px);
}

.nav-link.active {
  border-color: rgba(101, 223, 173, 0.2);
  background: linear-gradient(90deg, rgba(101, 223, 173, 0.12), rgba(101, 223, 173, 0.035));
  color: var(--text);
}

.nav-link.active::before {
  border-color: rgba(101, 223, 173, 0.3);
  background: rgba(101, 223, 173, 0.12);
  color: var(--accent);
}

.nav-link.active::after {
  position: absolute;
  top: 11px;
  right: 7px;
  bottom: 11px;
  width: 2px;
  border-radius: 4px;
  background: var(--accent);
  content: '';
}

.sidebar-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: rgba(114, 167, 255, 0.045);
}

.sidebar-footer-icon {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: rgba(114, 167, 255, 0.12);
  color: var(--accent-2);
  font-weight: 800;
}

.sidebar-footer strong, .sidebar-footer span { display: block; }
.sidebar-footer strong { color: var(--muted-strong); font-size: 10px; }
.sidebar-footer div > span { color: var(--muted); font-size: 8px; line-height: 1.35; }

main#app {
  min-width: 0;
  padding: 30px clamp(22px, 3vw, 44px) 48px;
  overflow: visible;
}

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 25px;
}

.page-intro h1, .login-intro h1 {
  margin: 4px 0 4px;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.page-intro p, .login-intro p { margin: 0; color: var(--muted); }

.eyebrow {
  color: var(--accent);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.date-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
  text-transform: capitalize;
}

.date-dot { width: 6px; height: 6px; }
.grid { display: grid; gap: 16px; }
.kpi-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.panel-grid { grid-template-columns: minmax(0, 1.65fr) minmax(300px, 1fr); }
.dashboard-grid > .card:first-child { grid-row: span 2; }

.card {
  min-width: 0;
  padding: 18px;
  overflow-x: auto;
  border: 1px solid var(--border-soft);
  border-radius: 16px;
  background: linear-gradient(145deg, color-mix(in srgb, var(--card) 97%, white 3%), var(--card));
  box-shadow: var(--shadow-soft);
  scrollbar-width: thin;
}

.theme-light .card { background: var(--card); }

.card h3 {
  margin: 0 0 10px;
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.card .value {
  margin: 5px 0 7px;
  color: var(--text);
  font-size: clamp(25px, 2.5vw, 31px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.card small { color: var(--muted); }

.kpi-card {
  position: relative;
  min-height: 145px;
  padding: 19px;
  overflow: hidden;
  isolation: isolate;
}

.kpi-card::after {
  position: absolute;
  right: -40px;
  bottom: -60px;
  z-index: -1;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--kpi-color);
  content: '';
  filter: blur(48px);
  opacity: 0.12;
}

.kpi-card[data-tone="blue"] { --kpi-color: var(--accent-2); }
.kpi-card[data-tone="green"] { --kpi-color: var(--accent); }
.kpi-card[data-tone="orange"] { --kpi-color: var(--warning); }
.kpi-card[data-tone="violet"] { --kpi-color: var(--violet); }

.kpi-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-topline h3 { margin: 0; }

.kpi-icon {
  position: relative;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--kpi-color) 24%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--kpi-color) 11%, transparent);
}

.kpi-icon::before, .kpi-icon::after {
  position: absolute;
  right: 8px;
  left: 8px;
  border-radius: 2px;
  background: var(--kpi-color);
  content: '';
}

.kpi-icon::before { top: 9px; height: 2px; transform: rotate(-12deg); }
.kpi-icon::after { top: 15px; height: 7px; clip-path: polygon(0 70%, 28% 32%, 54% 58%, 100% 0, 100% 35%, 55% 90%, 30% 64%, 0 100%); }

.kpi-card small {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 10px;
  font-weight: 600;
}

.micro-dot {
  width: 4px;
  height: 4px;
  background: var(--kpi-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--kpi-color) 10%, transparent);
}

.cart-emphasis {
  position: relative;
  border-color: rgba(101, 223, 173, 0.28);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(101, 223, 173, 0.08);
}

.cart-emphasis::after {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 8px;
  border: 1px solid rgba(101, 223, 173, 0.2);
  border-radius: 999px;
  background: rgba(101, 223, 173, 0.08);
  color: var(--accent);
  content: 'Carrinho ativo';
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 0 17px;
}

.section-title h2 {
  color: var(--text);
  font-size: clamp(23px, 2.4vw, 30px) !important;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.2;
}

.section-title h3 { margin: 0; }
.muted { color: var(--muted); }

.filters {
  display: flex;
  align-items: center;
  gap: 9px;
  flex-wrap: wrap;
}

.inventory-filter-card {
  margin-bottom: 14px;
  overflow: visible;
}

.inventory-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.inventory-summary > div {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: color-mix(in srgb, var(--panel) 90%, var(--accent) 10%);
}

.inventory-summary span { color: var(--muted); font-size: 10px; font-weight: 700; }
.inventory-summary strong { color: var(--text); font-size: 20px; }
.inventory-summary .has-stock { background: rgba(27, 145, 99, .07); }
.inventory-summary .has-stock strong { color: #16835a; }
.inventory-summary .no-stock { background: rgba(221, 67, 77, .07); }
.inventory-summary .no-stock strong { color: var(--danger); }

.inventory-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) minmax(135px, 1fr) minmax(150px, 1.15fr) minmax(105px, .7fr) minmax(105px, .7fr) auto;
  align-items: end;
  gap: 10px;
}

.inventory-field { display: grid; min-width: 0; gap: 6px; }
.inventory-field > span { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.inventory-field input, .inventory-field select { width: 100%; min-width: 0; }
.inventory-search-field input { padding-left: 13px; }
.inventory-clear-button { min-height: 40px; white-space: nowrap; }

.inventory-filter-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 13px;
  padding-top: 12px;
  border-top: 1px solid var(--border-soft);
}

.inventory-filter-footer strong { color: var(--text); font-size: 11px; }
.inventory-filter-footer span { color: var(--muted); font-size: 9px; }
.inventory-table-card { padding-top: 8px; }
.inventory-empty-row td { height: 180px; text-align: center; }
.inventory-empty-row strong, .inventory-empty-row span { display: block; }
.inventory-empty-row strong { margin-bottom: 6px; color: var(--text); font-size: 14px; }
.inventory-empty-row span { color: var(--muted); font-size: 10px; }

@media (max-width: 1180px) {
  .inventory-toolbar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .inventory-search-field { grid-column: span 2; }
}

input, select, textarea, .filters input, .filters select {
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--panel);
  color: var(--text);
  font-size: 12px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: color-mix(in srgb, var(--border) 65%, var(--muted)); }

input:focus, select:focus, textarea:focus {
  border-color: rgba(114, 167, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(114, 167, 255, 0.07);
  outline: 0;
}

select option { background: var(--panel); color: var(--text); }

.table {
  width: 100%;
  min-width: 720px;
  border-collapse: separate;
  border-spacing: 0;
}

.table th, .table td {
  padding: 13px 11px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
  vertical-align: middle;
}

.table th {
  color: var(--muted);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td { color: var(--muted-strong); font-size: 11px; }
.table td:first-child { color: var(--text); font-weight: 700; }
.table tbody tr { transition: background 150ms ease; }
.table tbody tr:hover { background: rgba(114, 167, 255, 0.035); }
.table tbody tr:last-child td { border-bottom: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px;
  border: 1px solid rgba(114, 167, 255, 0.2);
  border-radius: 999px;
  background: rgba(114, 167, 255, 0.08);
  color: var(--accent-2);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.tag::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  content: '';
}

.tag.warn { border-color: rgba(251, 124, 140, 0.23); background: rgba(251, 124, 140, 0.08); color: var(--danger); }
.tag.ok { border-color: rgba(101, 223, 173, 0.2); background: rgba(101, 223, 173, 0.08); color: var(--accent); }

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

.list-item {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 13px;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: rgba(15, 24, 39, 0.52);
  transition: border-color 150ms ease, background 150ms ease;
}

.theme-light .list-item { background: #fbfcfd; }
.list-item:hover { border-color: rgba(114, 167, 255, 0.2); background: var(--card-hover); }
.list-item strong { color: var(--text); font-size: 11px; }
.list-item .muted { font-size: 9px; }

.scan-panel { display: flex; flex-direction: column; gap: 10px; }
.scan-input { width: 100%; min-height: 50px; padding: 13px; font-size: 16px; letter-spacing: 0.02em; }
.hint { font-size: 11px; }

.scan-log {
  display: flex;
  min-height: 120px;
  max-height: 220px;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  overflow: auto;
  border: 1px solid var(--border-soft);
  border-radius: 11px;
  background: var(--panel);
}

.log-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border: 1px solid rgba(114, 167, 255, 0.15);
  border-radius: 9px;
  background: rgba(114, 167, 255, 0.06);
}

.log-item.erro { border-color: rgba(251, 124, 140, 0.2); background: rgba(251, 124, 140, 0.06); }
.divider { width: 100%; height: 1px; margin: 6px 0; background: var(--border-soft); }
.scan-results .list-item { align-items: flex-start; }

.login-screen {
  display: grid;
  min-height: 100vh;
  padding: 0;
  grid-template-columns: minmax(360px, 0.82fr) minmax(460px, 1.18fr);
  place-items: stretch;
  background: radial-gradient(circle at 18% 12%, rgba(101, 223, 173, 0.09), transparent 25rem), var(--bg);
}

.login-card {
  width: min(440px, calc(100vw - 40px));
  align-self: center;
  justify-self: center;
  padding: 34px;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.login-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 42px;
  font-size: 13px;
  font-weight: 800;
}

.login-intro { margin-bottom: 27px; }
.login-intro h1 { font-size: 30px; }
.login-intro p { max-width: 320px; font-size: 12px; }
.form-field { margin-bottom: 15px; }

.form-field label {
  display: block;
  margin-bottom: 6px;
  color: var(--muted-strong);
  font-size: 10px;
  font-weight: 700;
}

.form-field input { width: 100%; min-height: 46px; padding: 11px 13px; }
.login-submit { width: 100%; min-height: 47px !important; margin-top: 5px; }
.login-submit span { font-size: 16px; }

.login-footnote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 19px;
  color: var(--muted);
  font-size: 9px;
}

.login-aside {
  position: relative;
  display: grid;
  min-width: 0;
  margin: 18px 18px 18px 0;
  place-items: end start;
  overflow: hidden;
  border: 1px solid rgba(101, 223, 173, 0.11);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(5, 14, 24, 0.12), rgba(5, 14, 24, 0.68)), radial-gradient(circle at 72% 26%, rgba(101, 223, 173, 0.2), transparent 13rem), radial-gradient(circle at 20% 70%, rgba(114, 167, 255, 0.18), transparent 22rem), #101d2d;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.login-aside::before, .login-aside::after {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 50%;
  content: '';
}

.login-aside::before { top: -15vw; right: -10vw; width: 42vw; height: 42vw; }
.login-aside::after { top: -4vw; right: 2vw; width: 26vw; height: 26vw; }

.login-showcase {
  position: relative;
  z-index: 1;
  width: min(560px, 82%);
  padding: 48px;
}

.login-showcase h2 {
  max-width: 470px;
  margin: 9px 0 30px;
  color: #f5f8fb;
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.07;
}

.showcase-metrics {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.07);
  grid-template-columns: repeat(3, 1fr);
  backdrop-filter: blur(12px);
}

.showcase-metrics div { min-width: 0; padding: 15px; background: rgba(8, 18, 29, 0.48); }
.showcase-metrics strong, .showcase-metrics span { display: block; }
.showcase-metrics strong { margin-bottom: 4px; color: #edf4fa; font-size: 10px; }
.showcase-metrics span { color: #91a0b5; font-size: 8px; line-height: 1.4; }

.modal-overlay {
  position: fixed;
  z-index: 60;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(4, 9, 16, 0.72);
  backdrop-filter: blur(7px);
}

.modal {
  width: min(480px, 100%);
  max-height: calc(100vh - 40px);
  padding: 20px;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--card);
  box-shadow: var(--shadow);
  animation: modal-in 180ms ease;
}

.modal-header, .modal-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.modal-header { margin-bottom: 15px; }
.product-edit-modal { width: min(640px, 100%); }
.stock-photo-editor { display: flex; align-items: center; gap: 18px; margin: 16px 0; padding: 12px; border: 1px solid var(--border); border-radius: 13px; background: var(--panel, rgba(255,255,255,.04)); }
.stock-photo-current { flex: 0 0 128px; width: 128px; height: 128px; overflow: hidden; border-radius: 11px; background: #fff; }
.stock-photo-preview { display: block; width: 100%; height: 100%; object-fit: contain; }
.stock-photo-actions { display: grid; min-width: 0; gap: 7px; }
.stock-photo-actions label { display: grid; gap: 6px; color: #29483d; font-size: 10px; font-weight: 800; }
.stock-photo-actions input { min-height: 40px; padding: 8px; background: #fff; }
.stock-photo-actions small { color: var(--muted); line-height: 1.4; }
.stock-photo-actions button { justify-self: start; }
.stock-edit-form { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 15px; }
.stock-edit-form label { display: grid; gap: 6px; }
.stock-edit-form label > span { color: #29483d; font-size: 10px; font-weight: 800; letter-spacing: .01em; }
.stock-edit-form input, .stock-edit-form textarea { width: 100%; min-height: 42px; }
.stock-edit-form label:nth-child(-n+4) { grid-column: 1 / -1; }
.product-admin-list-item { gap: 12px; }
.product-admin-list-item > div { flex: 1; min-width: 0; }
.product-admin-thumb { flex: 0 0 54px; width: 54px; height: 54px; overflow: hidden; border-radius: 8px; background: #fff; }
.product-admin-thumb img { display: block; width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 560px) {
  .stock-edit-form { grid-template-columns: 1fr; }
  .stock-edit-form label:nth-child(-n+4) { grid-column: auto; }
  .stock-photo-editor { align-items: flex-start; }
  .stock-photo-current { flex-basis: 92px; width: 92px; height: 92px; }
}
.modal-footer { margin-top: 17px; }
.modal input { width: 100%; }

.pay-types {
  display: grid;
  gap: 8px;
  margin: 13px 0;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
}

.pay-btn.active { border-color: rgba(101, 223, 173, 0.4); background: rgba(101, 223, 173, 0.08); color: var(--accent); }

.qr-mock {
  display: grid;
  width: min(240px, 100%);
  aspect-ratio: 1;
  margin: 10px auto;
  place-items: center;
  border: 1px dashed var(--border);
  border-radius: 13px;
  background: repeating-linear-gradient(45deg, rgba(114, 167, 255, 0.04), rgba(114, 167, 255, 0.04) 10px, rgba(101, 223, 173, 0.04) 10px, rgba(101, 223, 173, 0.04) 20px);
  color: var(--muted);
  font-weight: 800;
}

.toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  max-width: min(380px, calc(100vw - 40px));
  padding: 13px 15px;
  border: 1px solid rgba(101, 223, 173, 0.22);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  color: var(--muted-strong);
  font-size: 11px;
  font-weight: 700;
  animation: slide-up 220ms ease;
}

.menu-overlay {
  position: fixed;
  z-index: 15;
  inset: 0;
  display: none;
  background: rgba(4, 9, 16, 0.58);
  backdrop-filter: blur(3px);
}

.menu-overlay.show { display: block; }

@keyframes slide-up {
  from { transform: translateY(8px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes modal-in {
  from { transform: translateY(8px) scale(0.985); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

@keyframes menu-pop {
  from { transform: translateX(-10px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@media (max-width: 1180px) {
  .kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .server-copy #server-ip, .server-status .pill { display: none; }
  .server-copy { min-width: 75px; }
  .quick-search { width: min(350px, 34vw); }
}

@media (max-width: 960px) {
  :root { --sidebar-width: 248px; }
  #topbar { padding: 0 16px; }
  .brand { width: auto; }

  #menu-toggle {
    display: inline-flex !important;
    min-height: 38px;
    padding: 8px 10px;
  }

  .brand .logo-mark, .brand-copy { display: none; }
  #layout { grid-template-columns: minmax(0, 1fr); }

  #sidebar {
    position: fixed;
    top: calc(var(--topbar-height) + 10px);
    left: 10px;
    right: auto;
    display: none;
    width: var(--sidebar-width);
    height: calc(100vh - var(--topbar-height) - 20px);
    min-height: 0;
    max-height: none;
    padding-top: 18px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--panel-2);
    box-shadow: var(--shadow);
  }

  #sidebar.open { display: flex; animation: menu-pop 180ms ease; }
  .panel-grid { grid-template-columns: minmax(0, 1fr) !important; }
  .dashboard-grid > .card:first-child { grid-row: auto; }
  .login-screen { grid-template-columns: 1fr; }
  .login-card { width: min(440px, calc(100% - 32px)); margin: 24px auto; padding: 30px; }
  .login-aside { display: none; }
}

@media (max-width: 720px) {
  .top-actions { gap: 7px; }
  .server-status, #sync-button, .quick-search kbd { display: none; }

  .quick-search {
    width: auto;
    min-width: 140px;
    flex: 1;
    margin-left: 4px;
  }

  .quick-search input { padding-right: 12px; }
  main#app { padding: 22px 16px 38px; }
  .page-intro, .section-title { align-items: flex-start; flex-direction: column; }
  .page-intro { gap: 13px; margin-bottom: 20px; }
  .filters { width: 100%; align-items: stretch; }

  .filters > input, .filters > select, .filters > button {
    min-width: min(100%, 180px);
    flex: 1 1 160px;
  }

  .inventory-summary { grid-template-columns: 1fr; }
  .inventory-summary > div { min-height: 52px; }
  .inventory-toolbar { grid-template-columns: 1fr 1fr; }
  .inventory-search-field, .inventory-clear-button { grid-column: 1 / -1; }
  .inventory-filter-footer { align-items: flex-start; flex-direction: column; }

  .list-item { align-items: flex-start; flex-direction: column; }
  .list-item > div:last-child { max-width: 100%; flex-wrap: wrap; }

  .login-screen {
    display: grid;
    min-height: 100dvh;
    grid-template-columns: 1fr;
  }

  .login-card { margin: 22px auto; padding: 27px 23px; }
  .login-aside { display: none; }
}

@media (max-width: 520px) {
  .menu-button > span:last-child, #user-chip { display: none !important; }
  #menu-toggle { width: 39px; padding: 8px; }
  .quick-search { min-width: 0; }
  .kpi-grid { grid-template-columns: 1fr; }
  .kpi-card { min-height: 128px; }
  .card { padding: 15px; border-radius: 14px; }
  .inventory-toolbar { grid-template-columns: 1fr; }
  .inventory-search-field, .inventory-clear-button { grid-column: auto; }
  .cart-emphasis { padding-top: 48px; }
  .modal-footer { align-items: stretch; flex-direction: column-reverse; }
  .modal-footer button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Página de apresentação */
.landing-page {
  --landing-bg: #f4f6f0;
  --landing-surface: #ffffff;
  --landing-ink: #10241d;
  --landing-muted: #5e6c66;
  --landing-line: #dfe5dd;
  --landing-green: #137a55;
  --landing-green-dark: #0b4f39;
  --landing-mint: #dff3e8;
  min-height: 100vh;
  overflow: hidden;
  background: var(--landing-bg);
  color: var(--landing-ink);
}

.landing-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.landing-header {
  position: fixed;
  z-index: 20;
  top: 14px;
  right: 0;
  left: 0;
  background: transparent;
  transition: top 180ms ease;
}

.landing-nav {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 15px;
  border: 1px solid rgba(16, 36, 29, 0.09);
  border-radius: 17px;
  background: rgba(252, 253, 250, 0.88);
  box-shadow: 0 12px 35px rgba(31, 60, 49, 0.06);
  backdrop-filter: blur(18px) saturate(1.2);
  transition: min-height 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.landing-header.is-scrolled { top: 9px; }
.landing-header.is-scrolled .landing-nav {
  min-height: 58px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 15px 40px rgba(31, 60, 49, 0.12);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.landing-brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: var(--landing-green-dark);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 9px 22px rgba(11, 79, 57, 0.17);
}

.landing-brand strong,
.landing-brand small { display: block; }
.landing-brand strong { color: var(--landing-ink); font-size: 14px; line-height: 1.2; }
.landing-brand small { margin-top: 3px; color: var(--landing-muted); font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

.landing-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.landing-links a {
  color: #405049;
  font-size: 12px;
  font-weight: 700;
}

.landing-links a:hover { color: var(--landing-green); }

.landing-login-button,
.landing-primary,
.landing-secondary {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 17px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 800;
}

.landing-login-button > span,
.landing-primary > span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 10px;
}

.landing-login-button > span { background: #edf3ef; }

.landing-login-button {
  border: 1px solid #cdd7d1;
  background: rgba(255, 255, 255, 0.64);
  color: var(--landing-ink);
}

.landing-login-button:hover,
.landing-secondary:hover { border-color: var(--landing-green); color: var(--landing-green); }

.landing-hero {
  position: relative;
  min-height: 760px;
  padding: 166px 0 112px;
  background:
    linear-gradient(rgba(19, 122, 85, 0.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(19, 122, 85, 0.026) 1px, transparent 1px),
    radial-gradient(circle at 12% 28%, rgba(19, 122, 85, 0.1), transparent 24rem),
    linear-gradient(180deg, #f4f6f0 0%, #eef3eb 100%);
  background-size: 46px 46px, 46px 46px, auto, auto;
}

.landing-hero::after {
  position: absolute;
  right: -170px;
  bottom: -250px;
  width: 540px;
  height: 540px;
  border: 1px solid rgba(19, 122, 85, 0.1);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(19, 122, 85, 0.025), 0 0 0 140px rgba(19, 122, 85, 0.018);
  content: '';
  pointer-events: none;
}

.landing-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  align-items: center;
  gap: 68px;
  grid-template-columns: minmax(0, 0.86fr) minmax(540px, 1.14fr);
}

.landing-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 25px;
  padding: 8px 11px;
  border: 1px solid rgba(19, 122, 85, 0.13);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--landing-green);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-kicker span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--landing-green);
  box-shadow: 0 0 0 4px rgba(19, 122, 85, 0.09);
}

.landing-hero-copy h1 {
  max-width: 600px;
  margin: 0;
  color: var(--landing-ink);
  font-size: clamp(42px, 5.1vw, 67px);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.99;
}

.landing-hero-copy h1 > span {
  position: relative;
  display: inline;
  color: var(--landing-green-dark);
}

.landing-hero-copy h1 > span::after {
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: 0.05em;
  left: 0;
  height: 0.18em;
  border-radius: 99px;
  background: #a9dfc5;
  content: '';
  transform: rotate(-1deg);
}

.landing-hero-copy > p {
  max-width: 565px;
  margin: 28px 0 0;
  color: var(--landing-muted);
  font-size: 16px;
  line-height: 1.75;
}

.landing-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 34px;
}

.landing-primary {
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid var(--landing-green-dark);
  background: var(--landing-green-dark);
  box-shadow: 0 13px 28px rgba(11, 79, 57, 0.19);
  color: #fff;
}

.landing-primary:hover { background: #083e2d; box-shadow: 0 16px 34px rgba(11, 79, 57, 0.24); }

.landing-secondary {
  min-height: 48px;
  border: 1px solid #cdd7d1;
  background: transparent;
  color: var(--landing-ink);
}

.landing-assurances {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 31px 0 0;
  padding: 0;
  color: #5a6962;
  font-size: 10px;
  font-weight: 700;
  list-style: none;
}

.landing-assurances li { display: flex; align-items: center; gap: 7px; }
.landing-assurances li span { color: var(--landing-green); font-size: 11px; }

.product-preview {
  position: relative;
  min-width: 0;
  overflow: visible;
  border: 1px solid rgba(16, 36, 29, 0.11);
  border-radius: 20px;
  background: #0c1714;
  box-shadow: 0 42px 95px rgba(24, 51, 41, 0.26), 0 8px 22px rgba(24, 51, 41, 0.1);
  color: #edf7f2;
  transform: perspective(1300px) rotateY(-2deg) rotateX(1deg);
}

.product-preview::before {
  position: absolute;
  z-index: -1;
  inset: -18px;
  border: 1px solid rgba(19, 122, 85, 0.09);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.25);
  content: '';
}

.preview-window-label {
  position: absolute;
  top: -37px;
  right: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #4f655b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.preview-window-label span { width: 18px; height: 1px; background: #8aa99a; }

.preview-topbar {
  display: flex;
  height: 54px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: #0b1512;
  border-radius: 20px 20px 0 0;
}

.preview-brand { display: flex; align-items: center; gap: 9px; font-size: 9px; font-weight: 800; }
.preview-brand span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 7px; background: #57d49f; color: #08251b; font-size: 10px; }
.preview-status { display: flex; align-items: center; gap: 6px; color: #9eb0a8; font-size: 8px; }
.preview-status i { width: 6px; height: 6px; border-radius: 50%; background: #57d49f; box-shadow: 0 0 0 4px rgba(87, 212, 159, 0.1); }
.preview-body { padding: 24px; }
.preview-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.preview-heading div small, .preview-heading div strong { display: block; }
.preview-heading div small { margin-bottom: 4px; color: #72d6ac; font-size: 7px; font-weight: 800; letter-spacing: 0.13em; }
.preview-heading div strong { font-size: 19px; letter-spacing: -0.04em; }
.preview-heading > span { color: #7f9289; font-size: 8px; }

.preview-kpis {
  display: grid;
  gap: 9px;
  margin-top: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.preview-kpis > div,
.preview-card {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 11px;
  background: #101e1a;
}

.preview-kpis > div { padding: 13px; }
.preview-kpis small, .preview-kpis strong, .preview-kpis em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-kpis small { color: #80938b; font-size: 7px; }
.preview-kpis strong { margin: 8px 0 4px; font-size: 18px; letter-spacing: -0.04em; }
.preview-kpis em { color: #72d6ac; font-size: 6px; font-style: normal; }
.preview-kpis > div:last-child em { color: #efb96c; }

.preview-columns {
  display: grid;
  gap: 9px;
  margin-top: 9px;
  grid-template-columns: minmax(0, 1.48fr) minmax(145px, 0.72fr);
}

.preview-card { padding: 13px; }
.preview-card-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.preview-card-title strong { font-size: 8px; }
.preview-card-title span { color: #72d6ac; font-size: 6px; }
.preview-row { display: grid; align-items: center; gap: 8px; padding: 8px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); grid-template-columns: auto 1fr auto; }
.preview-row > span { min-width: 0; }
.preview-row strong, .preview-row small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.preview-row strong { font-size: 7px; }
.preview-row small { margin-top: 2px; color: #778b82; font-size: 6px; }
.preview-row b { color: #c7d7d0; font-size: 7px; font-weight: 700; }
.preview-icon { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; font-size: 7px; font-style: normal; font-weight: 800; }
.preview-icon.green { background: rgba(87, 212, 159, 0.11); color: #72d6ac; }
.preview-icon.blue { background: rgba(114, 167, 255, 0.11); color: #91b8f9; }
.preview-icon.orange { background: rgba(239, 185, 108, 0.11); color: #efb96c; }
.preview-side-card { display: flex; flex-direction: column; }
.preview-chart { display: flex; height: 82px; align-items: end; gap: 5px; padding-top: 10px; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.preview-chart span { width: 100%; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, #62d7a5, #2b775a); }
.preview-chart-label { margin-top: 8px; color: #80938b; font-size: 6px; }

.preview-float-card {
  position: absolute;
  right: -32px;
  bottom: -25px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 225px;
  padding: 13px;
  border: 1px solid rgba(19, 122, 85, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 20px 46px rgba(27, 58, 46, 0.17);
  color: var(--landing-ink);
  transform: rotateY(2deg) rotateX(-1deg);
}

.preview-float-card > span { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 8px; background: var(--landing-mint); color: var(--landing-green); font-weight: 800; }
.preview-float-card strong, .preview-float-card small { display: block; }
.preview-float-card strong { font-size: 9px; }
.preview-float-card small { margin-top: 2px; color: var(--landing-muted); font-size: 7px; }

.landing-proof { border-top: 1px solid var(--landing-line); border-bottom: 1px solid var(--landing-line); background: #fff; }
.landing-proof-grid { display: grid; min-height: 132px; align-items: center; grid-template-columns: 0.55fr 0.55fr 0.55fr 1.35fr; }
.landing-proof-grid > div { padding-right: 30px; border-right: 1px solid var(--landing-line); }
.landing-proof-grid strong, .landing-proof-grid span { display: block; }
.landing-proof-grid strong { color: var(--landing-green-dark); font-size: 27px; letter-spacing: -0.05em; }
.landing-proof-grid span { color: var(--landing-muted); font-size: 9px; font-weight: 700; text-transform: uppercase; }
.landing-proof-grid p { margin: 0; padding-left: 42px; color: var(--landing-muted); font-size: 12px; line-height: 1.7; }

.landing-section { padding: 116px 0; background: #f8faf6; }
.landing-section-heading { display: grid; align-items: end; gap: 70px; margin-bottom: 50px; grid-template-columns: 1.1fr 0.9fr; }
.landing-overline { display: block; margin-bottom: 13px; color: var(--landing-green); font-size: 9px; font-weight: 800; letter-spacing: 0.15em; }
.landing-section-heading h2,
.project-copy h2,
.final-cta-card h2 { margin: 0; font-size: clamp(32px, 4vw, 51px); letter-spacing: -0.055em; line-height: 1.06; }
.landing-section-heading p { max-width: 475px; margin: 0; color: var(--landing-muted); font-size: 13px; line-height: 1.75; }

.feature-grid { display: grid; gap: 13px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.feature-card { position: relative; min-height: 270px; padding: 27px; overflow: hidden; border: 1px solid var(--landing-line); border-radius: 16px; background: linear-gradient(145deg, #fff, #fbfdfb); transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.feature-card::after { position: absolute; right: -48px; bottom: -56px; width: 130px; height: 130px; border: 1px solid rgba(19, 122, 85, 0.07); border-radius: 50%; box-shadow: 0 0 0 22px rgba(19, 122, 85, 0.018); content: ''; pointer-events: none; transition: transform 220ms ease; }
.feature-card:hover { transform: translateY(-5px); border-color: #b4ccbd; box-shadow: 0 22px 50px rgba(31, 63, 51, 0.09); }
.feature-card:hover::after { transform: scale(1.1); }
.feature-card-highlight { background: var(--landing-green-dark); color: #fff; }
.feature-card-highlight::after { border-color: rgba(255, 255, 255, 0.08); box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.018); }
.feature-number { position: absolute; top: 22px; right: 23px; color: #9daaa4; font-size: 9px; font-weight: 800; }
.feature-card-highlight .feature-number { color: rgba(255, 255, 255, 0.45); }
.feature-icon { display: grid; width: 43px; height: 43px; margin-bottom: 30px; place-items: center; border: 1px solid #d7e0da; border-radius: 12px; background: #f0f7f3; color: var(--landing-green); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75); }
.feature-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.feature-card-highlight .feature-icon { border-color: rgba(255, 255, 255, 0.13); background: rgba(255, 255, 255, 0.08); color: #8ee1bb; }
.feature-card:nth-child(3) .feature-icon { background: #fff5e7; color: #b56c19; }
.feature-card:nth-child(4) .feature-icon { background: #eef4ff; color: #386fc6; }
.feature-card:nth-child(5) .feature-icon { background: #f2edff; color: #7250b4; }
.feature-card:nth-child(6) .feature-icon { background: #edf7f5; color: #1a8269; }
.feature-card h3 { margin: 0 0 10px; font-size: 17px; letter-spacing: -0.03em; }
.feature-card p { max-width: 310px; margin: 0; color: var(--landing-muted); font-size: 11px; line-height: 1.75; }
.feature-card-highlight p { color: #afc7bd; }
.feature-tag { position: absolute; bottom: 25px; left: 27px; color: var(--landing-green); font-size: 8px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
.feature-card-highlight .feature-tag { color: #8ee1bb; }

.landing-project { padding: 120px 0; background: #e9f0e9; }
.project-grid { display: grid; gap: 78px; grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr); }
.project-copy > p { max-width: 560px; margin: 25px 0 0; color: var(--landing-muted); font-size: 13px; line-height: 1.8; }
.project-principles { display: grid; gap: 18px; margin-top: 38px; }
.project-principles > div { display: grid; align-items: start; gap: 11px; padding-top: 18px; border-top: 1px solid #cedbd1; grid-template-columns: auto 0.7fr 1.3fr; }
.project-principles span { color: var(--landing-green); font-size: 9px; font-weight: 800; }
.project-principles strong { font-size: 11px; }
.project-principles p { margin: 0; color: var(--landing-muted); font-size: 9px; line-height: 1.6; }

.project-roadmap { padding: 30px; border-radius: 20px; background: #10241d; box-shadow: 0 30px 60px rgba(25, 60, 46, 0.15); color: #fff; }
.roadmap-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 27px; }
.roadmap-header small { display: block; margin-bottom: 5px; color: #79cda8; font-size: 7px; font-weight: 800; letter-spacing: 0.13em; }
.roadmap-header h3 { margin: 0; font-size: 19px; letter-spacing: -0.04em; }
.roadmap-status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 99px; color: #9fbbb0; font-size: 7px; }
.roadmap-status i { width: 5px; height: 5px; border-radius: 50%; background: #65dfad; box-shadow: 0 0 0 4px rgba(101, 223, 173, 0.09); }
.project-roadmap ol { margin: 0; padding: 0; list-style: none; }
.project-roadmap li { position: relative; display: grid; align-items: center; gap: 12px; padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); grid-template-columns: auto 1fr auto; }
.project-roadmap li > span { display: grid; width: 28px; height: 28px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 50%; color: #829b91; font-size: 8px; font-weight: 800; }
.project-roadmap li.done > span { border-color: #65dfad; background: #65dfad; color: #0a2c20; }
.project-roadmap li.current > span { border-color: #65dfad; color: #65dfad; box-shadow: 0 0 0 5px rgba(101, 223, 173, 0.07); }
.project-roadmap li strong, .project-roadmap li small { display: block; }
.project-roadmap li strong { font-size: 10px; }
.project-roadmap li small { margin-top: 3px; color: #829b91; font-size: 7px; }
.project-roadmap li b { color: #829b91; font-size: 7px; font-weight: 700; }
.project-roadmap li.done b, .project-roadmap li.current b { color: #79cda8; }
.roadmap-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 20px; }
.roadmap-tech span { padding: 6px 9px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 6px; color: #91aa9f; font-size: 7px; }

.landing-final-cta { padding: 90px 0; background: #f8faf6; }
.final-cta-card { display: flex; min-height: 260px; align-items: center; justify-content: space-between; gap: 60px; padding: 52px 58px; overflow: hidden; border-radius: 22px; background: var(--landing-green-dark); color: #fff; }
.final-cta-card > div { max-width: 660px; }
.final-cta-card .landing-overline { color: #86d9b4; }
.final-cta-card p { margin: 17px 0 0; color: #afc7bd; font-size: 12px; }
.landing-primary-light { flex: 0 0 auto; border-color: #fff; background: #fff; box-shadow: none; color: var(--landing-green-dark); }
.landing-primary-light:hover { background: #e9f5ef; color: var(--landing-green-dark); }

.landing-footer { padding: 34px 0; border-top: 1px solid var(--landing-line); background: #fff; }
.landing-footer .landing-shell { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.landing-footer .landing-brand-mark { width: 34px; height: 34px; }
.landing-footer p { margin: 0; color: var(--landing-muted); font-size: 9px; }

.has-js .landing-page [data-reveal] {
  transform: translateY(22px);
  transition: transform 620ms cubic-bezier(.2, .75, .25, 1) var(--reveal-delay, 0ms);
}

.has-js .landing-page [data-reveal].is-visible {
  transform: translateY(0);
}

.login-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: -20px 0 26px;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.login-back:hover { color: var(--accent); }

@media (max-width: 1060px) {
  .landing-hero { padding-top: 132px; }
  .landing-hero-grid { gap: 45px; grid-template-columns: minmax(0, 0.83fr) minmax(470px, 1.17fr); }
  .landing-hero-copy h1 { font-size: clamp(39px, 5.6vw, 56px); }
  .preview-float-card { right: -15px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { gap: 50px; grid-template-columns: minmax(0, 0.9fr) minmax(390px, 1.1fr); }
}

@media (max-width: 860px) {
  .landing-links { display: none; }
  .landing-hero { padding: 130px 0 80px; }
  .landing-hero-grid { grid-template-columns: 1fr; }
  .landing-hero-copy { max-width: 680px; }
  .product-preview { width: min(650px, 94%); margin: 0 auto; transform: none; }
  .preview-float-card { transform: none; }
  .landing-proof-grid { padding: 28px 0; gap: 22px; grid-template-columns: repeat(3, 1fr); }
  .landing-proof-grid p { grid-column: 1 / -1; padding: 20px 0 0; border-top: 1px solid var(--landing-line); }
  .landing-section { padding: 88px 0; }
  .landing-section-heading { gap: 30px; grid-template-columns: 1fr; }
  .landing-project { padding: 88px 0; }
  .project-grid { grid-template-columns: 1fr; }
  .project-copy { max-width: 680px; }
}

@media (max-width: 620px) {
  .landing-shell { width: min(100% - 32px, 1180px); }
  .landing-header { top: 9px; }
  .landing-header.is-scrolled { top: 6px; }
  .landing-nav { min-height: 58px; padding: 0 10px; border-radius: 14px; }
  .landing-login-button { min-height: 38px; padding: 8px 11px; font-size: 10px; }
  .landing-login-button span { display: none; }
  .landing-brand-mark { width: 34px; height: 34px; }
  .landing-hero { min-height: auto; padding: 112px 0 66px; }
  .landing-hero-copy h1 { font-size: clamp(39px, 12vw, 52px); }
  .landing-hero-copy > p { font-size: 14px; }
  .landing-hero-actions { align-items: stretch; flex-direction: column; }
  .landing-primary, .landing-secondary { width: 100%; }
  .landing-assurances { align-items: flex-start; flex-direction: column; gap: 9px; }
  .product-preview { width: 100%; border-radius: 15px; }
  .product-preview::before { inset: -8px; border-radius: 20px; }
  .preview-window-label { display: none; }
  .preview-body { padding: 16px; }
  .preview-topbar { border-radius: 15px 15px 0 0; }
  .preview-kpis { grid-template-columns: 1fr 1fr; }
  .preview-kpis > div:last-child { display: none; }
  .preview-columns { grid-template-columns: 1fr; }
  .preview-side-card { display: none; }
  .preview-float-card { right: 10px; bottom: -35px; width: 205px; }
  .landing-proof { padding-top: 22px; }
  .landing-proof-grid { grid-template-columns: repeat(2, 1fr); }
  .landing-proof-grid > div { padding: 0 16px 0 0; }
  .landing-proof-grid > div:nth-child(3) { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--landing-line); border-right: 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .project-principles > div { grid-template-columns: auto 1fr; }
  .project-principles p { grid-column: 2; }
  .project-roadmap { padding: 22px 18px; }
  .roadmap-status { display: none; }
  .project-roadmap li { align-items: start; grid-template-columns: auto 1fr; }
  .project-roadmap li b { grid-column: 2; }
  .landing-final-cta { padding: 64px 0; }
  .final-cta-card { align-items: flex-start; flex-direction: column; padding: 38px 27px; }
  .landing-primary-light { width: 100%; }
  .landing-footer .landing-shell { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .has-js .landing-page [data-reveal] {
    transform: none;
    transition: none;
  }
}

/* Apresentação comercial — direção visual azul-marinho e verde */
.landing-page {
  --landing-bg: #03111b;
  --landing-surface: #071c2b;
  --landing-ink: #f4f8fb;
  --landing-muted: #9bb0c0;
  --landing-line: rgba(69, 160, 211, 0.22);
  --landing-green: #24e7a2;
  --landing-green-dark: #0bca87;
  --landing-mint: rgba(36, 231, 162, 0.12);
  background:
    radial-gradient(circle at 50% -20%, rgba(25, 135, 193, 0.16), transparent 38rem),
    var(--landing-bg);
  color: var(--landing-ink);
}

.landing-shell { width: min(1260px, calc(100% - 56px)); }

.landing-header {
  top: 0;
  border-bottom: 1px solid rgba(89, 177, 224, 0.17);
  background: rgba(3, 17, 27, 0.84);
  backdrop-filter: blur(18px) saturate(1.15);
}

.landing-header.is-scrolled { top: 0; }

.landing-nav,
.landing-header.is-scrolled .landing-nav {
  min-height: 78px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.landing-brand { gap: 12px; }

.landing-brand-mark,
.landing-footer .landing-brand-mark {
  width: 47px;
  height: 47px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--landing-green);
}

.landing-brand-mark svg {
  width: 39px;
  height: 39px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-brand strong {
  color: #f8fbfd;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.045em;
}

.landing-brand strong b { color: var(--landing-green); font-weight: inherit; }

.landing-brand small {
  margin-top: 2px;
  color: #a9bbc7;
  font-size: 8px;
  letter-spacing: 0.035em;
  text-transform: none;
}

.landing-links { align-self: stretch; gap: 31px; }

.landing-links a {
  position: relative;
  display: flex;
  align-items: center;
  color: #cfdae2;
  font-size: 11px;
}

.landing-links a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--landing-green);
  content: '';
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.landing-links a:hover,
.landing-links a.active { color: var(--landing-green); }
.landing-links a:hover::after,
.landing-links a.active::after { opacity: 1; transform: scaleX(1); }

.landing-login-button {
  min-width: 104px;
  min-height: 42px;
  border-color: #159ce5;
  border-radius: 7px;
  background: rgba(5, 25, 39, 0.74);
  color: #f6fbff;
}

.landing-login-button > span { background: rgba(36, 231, 162, 0.11); color: var(--landing-green); }
.landing-login-button:hover { border-color: var(--landing-green); background: rgba(36, 231, 162, 0.08); color: var(--landing-green); }

.landing-hero {
  min-height: 790px;
  padding: 148px 0 82px;
  background:
    linear-gradient(90deg, rgba(2, 14, 24, 0.98) 0%, rgba(3, 17, 28, 0.93) 36%, rgba(3, 17, 28, 0.5) 67%, rgba(3, 17, 28, 0.73) 100%),
    linear-gradient(180deg, rgba(3, 17, 27, 0.04) 62%, #03111b 100%),
    url('img/mercado-hero-v2.png') center / cover no-repeat;
}

.landing-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(65, 176, 227, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(65, 176, 227, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  content: '';
  pointer-events: none;
}

.landing-hero::after {
  right: 7%;
  bottom: 5%;
  width: 360px;
  height: 360px;
  border-color: rgba(36, 231, 162, 0.12);
  box-shadow: 0 0 0 65px rgba(36, 231, 162, 0.018), 0 0 100px rgba(36, 231, 162, 0.07);
}

.landing-hero-grid {
  gap: 48px;
  grid-template-columns: minmax(430px, 0.88fr) minmax(560px, 1.12fr);
}

.landing-kicker {
  margin-bottom: 19px;
  padding: 7px 12px;
  border-color: rgba(36, 231, 162, 0.48);
  background: rgba(3, 23, 34, 0.68);
  box-shadow: inset 0 0 20px rgba(36, 231, 162, 0.025);
  color: var(--landing-green);
  font-size: 9px;
}

.landing-kicker span { background: var(--landing-green); box-shadow: 0 0 12px rgba(36, 231, 162, 0.8); }

.landing-hero-copy h1 {
  max-width: 640px;
  color: #f7fafc;
  font-size: clamp(46px, 4.5vw, 64px);
  letter-spacing: -0.055em;
  line-height: 1.03;
  text-wrap: balance;
}

.landing-hero-copy h1 > span { color: var(--landing-green); }
.landing-hero-copy h1 > span::after { display: none; }

.landing-hero-copy > p {
  max-width: 570px;
  margin-top: 23px;
  color: #c0ced8;
  font-size: 15px;
  line-height: 1.7;
}

.landing-hero-actions { margin-top: 29px; }

.landing-primary,
.landing-secondary {
  min-height: 50px;
  border-radius: 7px;
  font-size: 12px;
}

.landing-primary {
  min-width: 178px;
  border-color: #24e7a2;
  background: linear-gradient(115deg, #21dea0, #27f0ae);
  box-shadow: 0 14px 34px rgba(23, 221, 151, 0.19), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #021b14;
}

.landing-primary:hover { background: linear-gradient(115deg, #2cf2ae, #1dd897); box-shadow: 0 16px 38px rgba(23, 221, 151, 0.28); color: #021b14; }

.landing-primary > span { background: rgba(3, 31, 22, 0.13); }

.landing-secondary {
  border-color: #238ac2;
  background: rgba(2, 17, 28, 0.68);
  color: #e7f5fb;
}

.landing-secondary > span {
  display: grid;
  width: 23px;
  height: 23px;
  place-items: center;
  border: 1px solid var(--landing-green);
  border-radius: 50%;
  color: var(--landing-green);
  font-size: 8px;
}

.landing-secondary:hover { border-color: var(--landing-green); background: rgba(36, 231, 162, 0.07); color: #fff; }

.landing-assurances {
  gap: 32px;
  margin-top: 32px;
  color: #d5e0e7;
  font-size: 9px;
}

.landing-assurances li {
  display: grid;
  min-width: 112px;
  align-items: center;
  gap: 0 8px;
  grid-template-columns: auto 1fr;
}

.landing-assurances li > span {
  display: grid;
  width: 30px;
  height: 30px;
  grid-row: 1 / 3;
  place-items: center;
  border: 1px solid rgba(36, 231, 162, 0.43);
  border-radius: 50%;
  color: var(--landing-green);
  font-size: 13px;
  box-shadow: 0 0 18px rgba(36, 231, 162, 0.08);
}

.landing-assurances strong { color: #f2f8fb; font-size: 9px; line-height: 1.25; }
.landing-assurances small { color: #8298a8; font-size: 8px; font-weight: 500; line-height: 1.25; }

.product-preview {
  border-color: rgba(69, 174, 226, 0.32);
  border-radius: 17px;
  background: #05131e;
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.5), 0 0 70px rgba(19, 139, 192, 0.1);
  transform: perspective(1400px) rotateY(-4deg) rotateX(1.5deg) translateY(9px);
}

.product-preview::before {
  inset: -11px;
  border-color: rgba(63, 180, 232, 0.17);
  border-radius: 24px;
  background: rgba(2, 14, 23, 0.43);
  box-shadow: 0 0 55px rgba(20, 173, 228, 0.06);
}

.preview-window-label { top: -32px; color: #90aec0; }
.preview-window-label span { background: var(--landing-green); }
.preview-topbar { background: #04111a; border-radius: 17px 17px 0 0; }
.preview-brand span { background: var(--landing-green); color: #032018; }
.preview-status i { background: var(--landing-green); }
.preview-body { background: linear-gradient(155deg, #071a27, #06131f); border-radius: 0 0 17px 17px; }
.preview-kpis > div,
.preview-card { border-color: rgba(72, 169, 217, 0.16); background: rgba(9, 35, 51, 0.92); }
.preview-kpis > div:first-child { background: linear-gradient(145deg, rgba(8, 93, 68, 0.87), rgba(7, 46, 48, 0.9)); }
.preview-chart span { background: linear-gradient(180deg, #27dd9e, #1699da); }
.preview-float-card { border-color: rgba(36, 231, 162, 0.34); background: #071d2b; color: #eff9fd; }
.preview-float-card small { color: #87a0b0; }
.preview-float-card > span { background: rgba(36, 231, 162, 0.14); color: var(--landing-green); }

.landing-proof {
  position: relative;
  z-index: 3;
  border-color: var(--landing-line);
  background: linear-gradient(180deg, #061b2a, #041722);
}

.landing-proof-grid { min-height: 118px; }
.landing-proof-grid > div { border-color: var(--landing-line); }
.landing-proof-grid strong { color: #55bffc; font-size: 26px; }
.landing-proof-grid span { color: #aec0cc; }
.landing-proof-grid p { color: #9db1bf; }
.landing-proof-grid p strong { display: block; color: #eff7fb; font-size: 12px; letter-spacing: 0; }
.landing-proof-grid p span { margin-top: 4px; font-size: 9px; font-weight: 500; letter-spacing: 0; text-transform: none; }

.landing-section {
  padding: 96px 0 104px;
  background:
    radial-gradient(circle at 50% 0%, rgba(18, 127, 184, 0.12), transparent 36rem),
    #03111b;
}

.landing-section-heading {
  display: block;
  max-width: 780px;
  margin: 0 auto 42px;
  text-align: center;
}

.landing-overline { color: var(--landing-green); font-size: 8px; }

.landing-section-heading h2,
.project-copy h2,
.final-cta-card h2 { color: #f5f9fc; font-size: clamp(31px, 3.7vw, 49px); }

.landing-section-heading h2 span,
.project-copy h2 span { color: var(--landing-green); }

.landing-section-heading > p {
  max-width: 650px;
  margin: 15px auto 0;
  color: var(--landing-muted);
}

.feature-grid { gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }

.feature-card,
.feature-card-highlight {
  min-height: 205px;
  padding: 22px;
  border-color: rgba(67, 161, 211, 0.28);
  border-radius: 10px;
  background: linear-gradient(145deg, rgba(8, 31, 47, 0.96), rgba(5, 24, 37, 0.96));
  color: #f1f7fa;
}

.feature-card::after { border-color: rgba(36, 231, 162, 0.08); box-shadow: 0 0 0 22px rgba(36, 231, 162, 0.018); }
.feature-card:hover { border-color: rgba(36, 231, 162, 0.55); box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28), 0 0 30px rgba(36, 231, 162, 0.04); }
.feature-number { color: #446376; }

.feature-icon,
.feature-card-highlight .feature-icon,
.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon,
.feature-card:nth-child(5) .feature-icon,
.feature-card:nth-child(6) .feature-icon {
  width: 39px;
  height: 39px;
  margin-bottom: 18px;
  border-color: rgba(36, 231, 162, 0.26);
  border-radius: 9px;
  background: rgba(36, 231, 162, 0.08);
  box-shadow: 0 0 20px rgba(36, 231, 162, 0.04);
  color: var(--landing-green);
}

.feature-card:nth-child(2) .feature-icon { border-color: rgba(158, 112, 255, 0.28); background: rgba(158, 112, 255, 0.1); color: #b58cff; }
.feature-card:nth-child(3) .feature-icon { border-color: rgba(255, 199, 52, 0.28); background: rgba(255, 199, 52, 0.09); color: #ffd04d; }
.feature-card:nth-child(4) .feature-icon { border-color: rgba(255, 150, 47, 0.3); background: rgba(255, 150, 47, 0.09); color: #ff9f45; }
.feature-card:nth-child(5) .feature-icon { border-color: rgba(55, 173, 255, 0.3); background: rgba(55, 173, 255, 0.09); color: #4ab8ff; }
.feature-card:nth-child(6) .feature-icon { border-color: rgba(255, 70, 101, 0.28); background: rgba(255, 70, 101, 0.09); color: #ff5e78; }
.feature-card:nth-child(7) .feature-icon { border-color: rgba(38, 215, 209, 0.3); background: rgba(38, 215, 209, 0.09); color: #2be5de; }
.feature-card:nth-child(8) .feature-icon { border-color: rgba(67, 154, 255, 0.3); background: rgba(67, 154, 255, 0.09); color: #58a7ff; }

.feature-card h3 { margin-bottom: 7px; font-size: 14px; }
.feature-card p,
.feature-card-highlight p { color: #a7bac7; font-size: 9px; line-height: 1.65; }
.feature-tag,
.feature-card-highlight .feature-tag { bottom: 18px; left: 22px; color: #4f7588; font-size: 7px; }

.landing-project {
  padding: 105px 0;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
  background:
    radial-gradient(circle at 16% 50%, rgba(36, 231, 162, 0.08), transparent 29rem),
    linear-gradient(125deg, #051a28, #03111b 68%);
}

.project-copy > p { color: #a5bac7; }
.project-principles > div { border-color: rgba(76, 157, 199, 0.2); }
.project-principles span { color: var(--landing-green); }
.project-principles strong { color: #eef7fb; }
.project-principles p { color: #849eae; }

.project-roadmap {
  border: 1px solid rgba(64, 169, 220, 0.27);
  border-radius: 13px;
  background: linear-gradient(145deg, #092235, #061825);
  box-shadow: 0 32px 70px rgba(0, 0, 0, 0.3);
}

.roadmap-header small,
.project-roadmap li.done b,
.project-roadmap li.current b { color: var(--landing-green); }
.roadmap-status i,
.project-roadmap li.done > span { background: var(--landing-green); }
.project-roadmap li.done > span,
.project-roadmap li.current > span { border-color: var(--landing-green); }
.project-roadmap li { border-color: rgba(67, 153, 198, 0.16); }
.roadmap-tech span { border-color: rgba(67, 153, 198, 0.2); }

.landing-final-cta {
  padding: 78px 0;
  background: #03111b;
}

.final-cta-card {
  min-height: 220px;
  border: 1px solid rgba(36, 231, 162, 0.34);
  border-radius: 13px;
  background:
    radial-gradient(circle at 80% 50%, rgba(36, 231, 162, 0.11), transparent 25rem),
    linear-gradient(120deg, #082536, #051925);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.25);
}

.final-cta-card p { color: #9cb2bf; }
.landing-primary-light { border-color: var(--landing-green); background: var(--landing-green); color: #022018; }
.landing-primary-light:hover { background: #55f1b8; color: #022018; }

.landing-footer {
  padding: 29px 0;
  border-color: var(--landing-line);
  background: #020d15;
}
.landing-footer p { color: #8299a8; }

@media (max-width: 1120px) {
  .landing-hero-grid { gap: 32px; grid-template-columns: minmax(390px, 0.82fr) minmax(490px, 1.18fr); }
  .landing-hero-copy h1 { font-size: clamp(43px, 5vw, 57px); }
  .feature-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .landing-links { display: none; }
  .landing-hero { min-height: auto; padding: 132px 0 90px; background-position: 62% center; }
  .landing-hero-grid { grid-template-columns: 1fr; }
  .landing-hero-copy { max-width: 690px; }
  .product-preview { width: min(700px, 94%); margin: 30px auto 0; transform: none; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .landing-shell { width: min(100% - 30px, 1260px); }
  .landing-nav,
  .landing-header.is-scrolled .landing-nav { min-height: 66px; }
  .landing-header { top: 0; }
  .landing-header.is-scrolled { top: 0; }
  .landing-brand-mark,
  .landing-footer .landing-brand-mark { width: 37px; height: 37px; }
  .landing-brand-mark svg { width: 32px; height: 32px; }
  .landing-brand strong { font-size: 16px; }
  .landing-brand small { font-size: 6.5px; }
  .landing-login-button { min-width: 78px; min-height: 37px; padding: 7px 10px; }
  .landing-login-button > span { display: none; }
  .landing-hero { padding: 111px 0 75px; background-position: 66% center; }
  .landing-hero::before { background-size: 40px 40px; }
  .landing-kicker { max-width: 100%; font-size: 7px; line-height: 1.4; }
  .landing-hero-copy h1 { font-size: clamp(39px, 11vw, 50px); }
  .landing-hero-copy > p { font-size: 13px; }
  .landing-hero-actions { align-items: stretch; flex-direction: column; }
  .landing-primary,
  .landing-secondary { width: 100%; }
  .landing-assurances { display: grid; gap: 13px; grid-template-columns: 1fr 1fr; }
  .landing-assurances li:last-child { grid-column: 1 / -1; }
  .product-preview { width: 100%; }
  .preview-float-card { right: 9px; }
  .landing-proof-grid { grid-template-columns: 1fr 1fr; }
  .landing-proof-grid > div:nth-child(3) { grid-column: 1 / -1; }
  .landing-proof-grid p { border-color: var(--landing-line); }
  .landing-section { padding: 75px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card,
  .feature-card-highlight { min-height: 190px; }
  .landing-project { padding: 76px 0; }
  .final-cta-card { padding: 36px 25px; }
  .landing-footer .landing-shell { align-items: flex-start; flex-direction: column; }
}

/* Refinamento comercial */
.landing-nav-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.landing-header-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 16px;
  border: 1px solid var(--landing-green);
  border-radius: 7px;
  background: linear-gradient(115deg, #21dea0, #27f0ae);
  box-shadow: 0 10px 24px rgba(23, 221, 151, 0.14);
  color: #032018;
  font-size: 11px;
  font-weight: 800;
}

.landing-header-cta:hover {
  box-shadow: 0 13px 30px rgba(23, 221, 151, 0.24);
}

.landing-header-cta span {
  display: grid;
  width: 19px;
  height: 19px;
  place-items: center;
  border-radius: 50%;
  background: rgba(3, 32, 24, 0.12);
}

.landing-nav-actions .landing-login-button {
  min-width: 78px;
  border-color: rgba(89, 177, 224, 0.5);
}

.landing-hero-copy .landing-primary { min-width: 205px; }

.commercial-value {
  position: relative;
  padding: 104px 0;
  overflow: hidden;
  border-top: 1px solid var(--landing-line);
  border-bottom: 1px solid var(--landing-line);
  background:
    radial-gradient(circle at 16% 24%, rgba(36, 231, 162, 0.11), transparent 25rem),
    radial-gradient(circle at 86% 70%, rgba(25, 144, 211, 0.1), transparent 28rem),
    #061722;
}

.commercial-value::before {
  position: absolute;
  top: -150px;
  right: -100px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(36, 231, 162, 0.09);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(36, 231, 162, 0.018), 0 0 0 120px rgba(36, 231, 162, 0.012);
  content: '';
  pointer-events: none;
}

.commercial-value-grid {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 80px;
  grid-template-columns: minmax(0, 0.78fr) minmax(520px, 1.22fr);
}

.commercial-value-copy h2 {
  max-width: 570px;
  margin: 0;
  color: #f4f9fc;
  font-size: clamp(35px, 3.9vw, 53px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.commercial-value-copy > p {
  max-width: 545px;
  margin: 23px 0 29px;
  color: #9eb4c1;
  font-size: 12px;
  line-height: 1.8;
}

.commercial-value-copy .landing-primary { min-width: 175px; }

.commercial-value-list {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.commercial-value-list article {
  display: grid;
  min-height: 176px;
  align-content: start;
  gap: 17px;
  padding: 24px;
  border: 1px solid rgba(69, 160, 211, 0.23);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(9, 36, 52, 0.94), rgba(5, 25, 38, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.025);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.commercial-value-list article:hover {
  border-color: rgba(36, 231, 162, 0.48);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  transform: translateY(-4px);
}

.commercial-value-list article > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border: 1px solid rgba(36, 231, 162, 0.32);
  border-radius: 8px;
  background: rgba(36, 231, 162, 0.08);
  color: var(--landing-green);
  font-size: 8px;
  font-weight: 800;
}

.commercial-value-list strong {
  display: block;
  color: #f2f8fb;
  font-size: 13px;
  letter-spacing: -0.02em;
}

.commercial-value-list p {
  margin: 7px 0 0;
  color: #92a9b7;
  font-size: 9px;
  line-height: 1.7;
}

.commercial-audience {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

.commercial-audience span {
  padding: 7px 10px;
  border: 1px solid rgba(36, 231, 162, 0.22);
  border-radius: 99px;
  background: rgba(36, 231, 162, 0.055);
  color: #a9c4b9;
  font-size: 8px;
  font-weight: 700;
}

.final-cta-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 20px;
}

.final-cta-points span {
  color: #a8c2cd;
  font-size: 8px;
  font-weight: 700;
}

.final-cta-points span::first-letter { color: var(--landing-green); }

.landing-footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.landing-footer-links a {
  color: #8fa5b3;
  font-size: 9px;
  font-weight: 700;
}

.landing-footer-links a:hover { color: var(--landing-green); }

@media (max-width: 1120px) {
  .landing-links { gap: 22px; }
  .commercial-value-grid { gap: 48px; grid-template-columns: minmax(0, 0.82fr) minmax(470px, 1.18fr); }
}

@media (max-width: 900px) {
  .landing-nav-actions .landing-login-button { display: none; }
  .commercial-value-grid { grid-template-columns: 1fr; }
  .commercial-value-copy { max-width: 680px; }
}

@media (max-width: 640px) {
  .landing-header-cta { min-height: 38px; padding: 8px 11px; font-size: 9px; }
  .landing-header-cta span { display: none; }
  .commercial-value { padding: 74px 0; }
  .commercial-value-grid { gap: 39px; }
  .commercial-value-list { grid-template-columns: 1fr; }
  .commercial-value-list article { min-height: 145px; }
  .final-cta-points { align-items: flex-start; flex-direction: column; gap: 7px; }
  .landing-footer-links { flex-wrap: wrap; gap: 13px; }
}

/* Imagens reais do sistema */
.product-preview > :not(.preview-real-image):not(.preview-float-card) { display: none; }

.preview-real-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 17px;
}

.product-preview::after {
  position: absolute;
  top: -31px;
  right: 2px;
  color: #94adbc;
  content: 'PAINEL REAL DO SISTEMA';
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.system-gallery-section {
  padding: 105px 0 112px;
  border-top: 1px solid var(--landing-line);
  background:
    radial-gradient(circle at 72% 16%, rgba(35, 155, 218, 0.1), transparent 30rem),
    linear-gradient(180deg, #04141f, #03111b);
}

.system-gallery-heading {
  display: grid;
  align-items: end;
  gap: 70px;
  margin-bottom: 42px;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.system-gallery-heading h2 {
  max-width: 720px;
  margin: 0;
  color: #f4f9fc;
  font-size: clamp(35px, 4vw, 52px);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.system-gallery-heading h2 span { color: var(--landing-green); }

.system-gallery-intro p {
  max-width: 480px;
  margin: 0 0 18px;
  color: #9db2bf;
  font-size: 11px;
  line-height: 1.7;
}

.gallery-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 0;
  background: transparent;
  color: var(--landing-green);
  font-size: 10px;
  font-weight: 800;
}

.gallery-cta span {
  display: grid;
  width: 21px;
  height: 21px;
  place-items: center;
  border: 1px solid rgba(36, 231, 162, 0.35);
  border-radius: 50%;
}

.system-gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.system-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(67, 165, 215, 0.27);
  border-radius: 13px;
  background: linear-gradient(145deg, #082133, #051722);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.22);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.system-shot:hover {
  border-color: rgba(36, 231, 162, 0.48);
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.3), 0 0 36px rgba(36, 231, 162, 0.035);
  transform: translateY(-5px);
}

.system-shot-wide { grid-column: 1 / -1; }

.system-shot-toolbar {
  display: flex;
  min-height: 45px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(67, 165, 215, 0.18);
  background: #061a28;
}

.system-shot-toolbar span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #eef7fb;
  font-size: 10px;
  font-weight: 800;
}

.system-shot-toolbar span::before {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--landing-green);
  box-shadow: 0 0 0 4px rgba(36, 231, 162, 0.08);
  content: '';
}

.system-shot-toolbar small { color: #6f8b9c; font-size: 7px; }

.system-shot-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef3f8;
}

.system-shot-wide .system-shot-image { aspect-ratio: 16 / 7.4; }

.system-shot-image::after {
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(4, 20, 31, 0.08);
  content: '';
  pointer-events: none;
}

.system-shot-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 500ms cubic-bezier(.2, .75, .25, 1);
}

.system-shot:hover .system-shot-image img { transform: scale(1.015); }

.system-shot figcaption {
  min-height: 86px;
  padding: 17px 18px;
}

.system-shot figcaption strong,
.system-shot figcaption span { display: block; }
.system-shot figcaption strong { color: #eff7fb; font-size: 11px; }
.system-shot figcaption span { margin-top: 5px; color: #819ba9; font-size: 8px; line-height: 1.6; }
.system-shot-wide figcaption { display: flex; min-height: 74px; align-items: center; justify-content: space-between; gap: 28px; }
.system-shot-wide figcaption span { max-width: 540px; margin-top: 0; text-align: right; }

@media (max-width: 1000px) {
  .system-gallery-heading { gap: 35px; grid-template-columns: 1fr; }
  .system-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .system-shot-wide { grid-column: 1 / -1; }
  .system-shot:last-child { grid-column: 1 / -1; }
  .system-shot:last-child .system-shot-image { aspect-ratio: 16 / 7.6; }
}

@media (max-width: 640px) {
  .product-preview::after { display: none; }
  .system-gallery-section { padding: 76px 0 82px; }
  .system-gallery-heading { margin-bottom: 30px; }
  .system-gallery-grid { grid-template-columns: 1fr; }
  .system-shot-wide,
  .system-shot:last-child { grid-column: auto; }
  .system-shot-wide .system-shot-image,
  .system-shot:last-child .system-shot-image { aspect-ratio: 16 / 10; }
  .system-shot-image { aspect-ratio: 16 / 10; }
  .system-shot-wide figcaption { display: block; min-height: 94px; }
  .system-shot-wide figcaption span { margin-top: 5px; text-align: left; }
}

/* Vitrine comercial — Mercado Souza */
.landing-page.shop-landing {
  --shop-green: #173f2a;
  --shop-green-2: #235d3e;
  --shop-cream: #f8f1e3;
  --shop-paper: #fffaf0;
  --shop-yellow: #f4bd39;
  --shop-coral: #e96043;
  --shop-ink: #17221b;
  --shop-muted: #68736b;
  --shop-line: rgba(23, 63, 42, 0.14);
  background: var(--shop-paper);
  color: var(--shop-ink);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
}

.shop-landing .landing-shell { width: min(1180px, calc(100% - 48px)); }

.shop-header.landing-header {
  position: fixed;
  z-index: 50;
  top: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(18, 43, 29, 0.7);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.shop-header.landing-header.is-scrolled {
  top: 0;
  background: rgba(23, 63, 42, 0.96);
  box-shadow: 0 12px 30px rgba(9, 31, 19, 0.15);
}

.shop-nav,
.shop-header.landing-header.is-scrolled .shop-nav {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.shop-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.shop-brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: var(--shop-yellow);
  box-shadow: 0 7px 20px rgba(7, 30, 17, 0.2);
  color: var(--shop-green);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.shop-brand strong,
.shop-brand small { display: block; }
.shop-brand strong { font-size: 15px; font-weight: 900; letter-spacing: -0.035em; }
.shop-brand small { margin-top: 2px; color: rgba(255, 255, 255, 0.65); font-size: 7px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase; }

.shop-links { display: flex; align-self: stretch; align-items: center; gap: 30px; }
.shop-links a { position: relative; color: rgba(255, 255, 255, 0.76); font-size: 10px; font-weight: 800; }
.shop-links a::after { position: absolute; right: 0; bottom: -9px; left: 0; height: 2px; border-radius: 2px; background: var(--shop-yellow); content: ''; opacity: 0; transform: scaleX(0.3); transition: 180ms ease; }
.shop-links a:hover { color: #fff; }
.shop-links a:hover::after { opacity: 1; transform: scaleX(1); }

.shop-admin-button,
.shop-footer-admin {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 9px;
  font-weight: 800;
}
.shop-admin-button:hover { border-color: var(--shop-yellow); background: var(--shop-yellow); color: var(--shop-green); }

.shop-hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: var(--shop-green);
}

.shop-hero-image,
.shop-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.shop-hero-image { object-fit: cover; object-position: 52% center; }
.shop-hero-shade { background: linear-gradient(90deg, rgba(13, 45, 27, 0.98) 0%, rgba(14, 48, 29, 0.89) 29%, rgba(14, 48, 29, 0.4) 55%, rgba(14, 48, 29, 0.08) 100%); }
.shop-hero::after { position: absolute; right: 0; bottom: 0; left: 0; height: 145px; background: linear-gradient(180deg, transparent, rgba(11, 38, 23, 0.35)); content: ''; pointer-events: none; }

.shop-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 720px;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-top: 76px;
}

.shop-eyebrow,
.shop-overline { color: var(--shop-yellow); font-size: 8px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
.shop-eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 24px; }
.shop-eyebrow span { width: 24px; height: 2px; border-radius: 2px; background: var(--shop-yellow); }
.shop-hero h1 { max-width: 690px; margin: 0; color: #fff; font-size: clamp(49px, 6vw, 78px); font-weight: 900; letter-spacing: -0.075em; line-height: 0.98; }
.shop-hero h1 em { color: var(--shop-yellow); font-style: normal; }
.shop-hero-text { max-width: 575px; margin: 26px 0 0; color: rgba(255, 255, 255, 0.79); font-size: 14px; line-height: 1.8; }
.shop-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 31px; }

.shop-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 10px;
  font-weight: 900;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.shop-button:hover { transform: translateY(-2px); }
.shop-button-primary { background: var(--shop-yellow); box-shadow: 0 16px 30px rgba(14, 34, 21, 0.22); color: var(--shop-green); }
.shop-button-primary:hover { background: #ffd05f; box-shadow: 0 18px 38px rgba(14, 34, 21, 0.3); }
.shop-button-ghost { border-color: rgba(255, 255, 255, 0.36); background: rgba(255, 255, 255, 0.07); color: #fff; }
.shop-button-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, 0.13); }
.shop-button-light { background: #fff; color: var(--shop-green); }
.shop-hero-note { display: flex; align-items: center; gap: 9px; margin-top: 28px; color: rgba(255, 255, 255, 0.61); font-size: 8px; font-weight: 700; }
.shop-hero-note span { display: grid; width: 20px; height: 20px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 50%; color: var(--shop-yellow); }

.shop-strip { background: var(--shop-green); }
.shop-strip-grid { display: grid; min-height: 94px; align-items: center; grid-template-columns: repeat(4, 1fr); }
.shop-strip-grid span { display: flex; min-height: 38px; align-items: center; gap: 12px; padding: 0 24px; border-right: 1px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.9); font-size: 9px; font-weight: 800; }
.shop-strip-grid span:first-child { padding-left: 0; }
.shop-strip-grid span:last-child { border-right: 0; }
.shop-strip-grid b { color: var(--shop-yellow); font-size: 8px; }

.shop-products { padding: 112px 0; background: var(--shop-paper); }
.shop-section-heading { display: grid; align-items: end; gap: 80px; margin-bottom: 48px; grid-template-columns: 1.15fr 0.85fr; }
.shop-section-heading h2 { max-width: 720px; margin: 13px 0 0; color: var(--shop-green); font-size: clamp(38px, 4.7vw, 60px); font-weight: 900; letter-spacing: -0.065em; line-height: 1.02; }
.shop-section-heading p { max-width: 470px; margin: 0; color: var(--shop-muted); font-size: 12px; line-height: 1.8; }
.shop-overline { color: var(--shop-coral); }

.shop-product-grid { display: grid; gap: 14px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.shop-product-card { position: relative; min-height: 275px; padding: 28px; overflow: hidden; border: 1px solid var(--shop-line); border-radius: 18px; background: #fff; box-shadow: 0 18px 44px rgba(34, 54, 40, 0.06); transition: transform 180ms ease, box-shadow 180ms ease; }
.shop-product-card::after { position: absolute; right: -30px; bottom: -45px; width: 150px; height: 150px; border-radius: 50%; background: rgba(23, 63, 42, 0.035); content: ''; }
.shop-product-card:hover { box-shadow: 0 23px 54px rgba(34, 54, 40, 0.11); transform: translateY(-5px); }
.shop-product-icon { display: grid; width: 53px; height: 53px; margin-bottom: 27px; place-items: center; border-radius: 15px; background: var(--shop-cream); font-size: 27px; }
.shop-product-card small { color: var(--shop-coral); font-size: 7px; font-weight: 900; letter-spacing: 0.14em; }
.shop-product-card h3 { margin: 7px 0 8px; color: var(--shop-green); font-size: 23px; letter-spacing: -0.045em; }
.shop-product-card p { max-width: 290px; margin: 0; color: var(--shop-muted); font-size: 10px; line-height: 1.7; }
.shop-product-card a { position: absolute; z-index: 1; bottom: 25px; left: 28px; color: var(--shop-green-2); font-size: 9px; font-weight: 900; }
.shop-product-card a span { margin-left: 5px; color: var(--shop-coral); }
.shop-product-snacks .shop-product-icon { background: #fff0ce; }
.shop-product-frutiba .shop-product-icon { background: #fde8e0; }
.shop-product-sweets .shop-product-icon { background: #f8e7f0; }
.shop-product-drinks .shop-product-icon { background: #e4eff7; }
.shop-product-peanut .shop-product-icon { background: #f5e3bd; }
.shop-product-mix { background: var(--shop-green); }
.shop-product-mix::after { background: rgba(255, 255, 255, 0.05); }
.shop-product-mix .shop-product-icon { background: rgba(255, 255, 255, 0.1); }
.shop-product-mix small { color: var(--shop-yellow); }
.shop-product-mix h3 { color: #fff; }
.shop-product-mix p { color: rgba(255, 255, 255, 0.68); }
.shop-product-mix a { color: #fff; }
.shop-product-mix a span { color: var(--shop-yellow); }

.shop-showcase { padding: 110px 0; background: #efe4d2; }
.shop-showcase-grid { display: grid; gap: 15px; grid-template-columns: 0.72fr 1.56fr 0.72fr; }
.shop-photo-tile,
.shop-ad-card { position: relative; min-height: 530px; overflow: hidden; border-radius: 22px; box-shadow: 0 25px 60px rgba(45, 52, 40, 0.14); }
.shop-photo-tile { display: flex; justify-content: flex-end; flex-direction: column; padding: 29px; background-image: linear-gradient(180deg, rgba(15, 37, 24, 0.06), rgba(12, 36, 22, 0.94)), url('img/campanha-produtos-selecionados.png'); background-repeat: no-repeat; background-size: auto 100%, auto 100%; color: #fff; }
.shop-photo-eggs { background-position: center, 58% center; }
.shop-photo-party { background-position: center, 93% center; }
.shop-photo-tile > span { color: var(--shop-yellow); font-size: 7px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.shop-photo-tile h3 { margin: 10px 0 17px; font-size: 22px; line-height: 1.15; letter-spacing: -0.04em; }
.shop-photo-tile a { color: #fff; font-size: 9px; font-weight: 900; }
.shop-photo-tile small { margin-top: 17px; color: rgba(255, 255, 255, 0.6); font-size: 6px; line-height: 1.5; }

.shop-ad-card { background: var(--shop-green); }
.shop-ad-card > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; }
.shop-ad-card::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 28%, rgba(15, 48, 29, 0.94) 100%); content: ''; }
.shop-ad-copy { position: absolute; z-index: 2; right: 0; bottom: 0; left: 0; padding: 36px; color: #fff; }
.shop-ad-copy > span { color: var(--shop-yellow); font-size: 7px; font-weight: 900; letter-spacing: 0.14em; }
.shop-ad-copy h2 { margin: 8px 0 10px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.06em; line-height: 1; }
.shop-ad-copy p { max-width: 470px; margin: 0 0 22px; color: rgba(255, 255, 255, 0.74); font-size: 10px; line-height: 1.6; }

.shop-owner { padding: 112px 0; background: var(--shop-green); color: #fff; }
.shop-owner-grid { display: grid; align-items: center; gap: 90px; grid-template-columns: 0.72fr 1.28fr; }
.shop-owner-photo { position: relative; width: min(100%, 380px); min-height: 500px; overflow: hidden; border-radius: 180px 180px 22px 22px; background: #d8e2d6; box-shadow: 26px 26px 0 rgba(244, 189, 57, 0.13); }
.shop-owner-photo img { display: block; width: 100%; height: 500px; object-fit: cover; object-position: 50% 38%; }
.shop-owner-photo::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(15, 48, 29, 0.65)); content: ''; }
.shop-owner-photo span { position: absolute; z-index: 2; right: 25px; bottom: 22px; left: 25px; padding: 12px; border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 99px; background: rgba(12, 40, 24, 0.45); backdrop-filter: blur(10px); color: #fff; font-size: 8px; font-weight: 800; text-align: center; }
.shop-owner-copy { max-width: 650px; }
.shop-owner-copy .shop-overline { color: var(--shop-yellow); }
.shop-owner-copy h2 { margin: 16px 0 23px; font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.07em; line-height: 0.99; }
.shop-owner-copy > p { max-width: 610px; margin: 0; color: rgba(255, 255, 255, 0.68); font-size: 12px; line-height: 1.85; }
.shop-owner-copy blockquote { max-width: 600px; margin: 30px 0; padding: 22px 0 22px 23px; border-left: 3px solid var(--shop-yellow); color: #fff; font-size: 18px; font-weight: 800; line-height: 1.4; }
.shop-text-link { color: var(--shop-yellow); font-size: 9px; font-weight: 900; }
.shop-text-link span { margin-left: 7px; }

.shop-order { padding: 88px 0; background: var(--shop-paper); }
.shop-order-card { display: grid; align-items: center; gap: 75px; padding: 58px; border-radius: 24px; background: var(--shop-yellow); box-shadow: 0 25px 55px rgba(66, 64, 36, 0.11); grid-template-columns: 0.95fr 1.05fr; }
.shop-order-card .shop-overline { color: var(--shop-green-2); }
.shop-order-card h2 { margin: 12px 0 14px; color: var(--shop-green); font-size: clamp(35px, 4vw, 51px); letter-spacing: -0.065em; line-height: 1.02; }
.shop-order-card p { max-width: 520px; margin: 0; color: rgba(23, 63, 42, 0.72); font-size: 10px; line-height: 1.8; }
.shop-order-card ol { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.shop-order-card li { display: flex; min-height: 78px; align-items: center; gap: 15px; padding: 13px 16px; border: 1px solid rgba(23, 63, 42, 0.15); border-radius: 12px; background: rgba(255, 255, 255, 0.34); }
.shop-order-card li > b { display: grid; width: 37px; height: 37px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--shop-green); color: var(--shop-yellow); font-size: 10px; }
.shop-order-card li span,
.shop-order-card li strong,
.shop-order-card li small { display: block; }
.shop-order-card li strong { color: var(--shop-green); font-size: 11px; }
.shop-order-card li small { margin-top: 3px; color: rgba(23, 63, 42, 0.64); font-size: 8px; }

.shop-footer { padding: 46px 0 24px; background: #102f1f; color: #fff; }
.shop-footer-grid { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.shop-brand-footer .shop-brand-mark { width: 38px; height: 38px; }
.shop-footer nav { display: flex; gap: 24px; }
.shop-footer nav a { color: rgba(255, 255, 255, 0.66); font-size: 9px; font-weight: 800; }
.shop-footer nav a:hover { color: var(--shop-yellow); }
.shop-footer-admin { min-height: 38px; }
.shop-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.shop-footer-bottom p { margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 7px; }

@media (max-width: 1000px) {
  .shop-links { display: none; }
  .shop-hero-image { object-position: 61% center; }
  .shop-section-heading { gap: 40px; }
  .shop-showcase-grid { grid-template-columns: 1fr 1fr; }
  .shop-ad-card { grid-column: 1 / -1; grid-row: 1; min-height: 530px; }
  .shop-photo-tile { min-height: 400px; }
  .shop-owner-grid { gap: 55px; }
  .shop-order-card { gap: 45px; padding: 46px; }
}

@media (max-width: 760px) {
  .shop-landing .landing-shell { width: min(100% - 30px, 1180px); }
  .shop-header.landing-header,
  .shop-header.landing-header.is-scrolled { top: 0; }
  .shop-nav,
  .shop-header.landing-header.is-scrolled .shop-nav { min-height: 66px; }
  .shop-brand-mark { width: 38px; height: 38px; }
  .shop-brand strong { font-size: 13px; }
  .shop-admin-button { min-height: 37px; padding: 8px 11px; font-size: 8px; }
  .shop-admin-button span { display: none; }
  .shop-hero,
  .shop-hero-content { min-height: 680px; }
  .shop-hero-content { padding-top: 66px; }
  .shop-hero-image { object-position: 64% center; }
  .shop-hero-shade { background: linear-gradient(90deg, rgba(13, 45, 27, 0.98) 0%, rgba(14, 48, 29, 0.87) 55%, rgba(14, 48, 29, 0.37) 100%); }
  .shop-hero h1 { max-width: 550px; font-size: clamp(43px, 11.7vw, 64px); }
  .shop-hero-text { max-width: 480px; font-size: 12px; }
  .shop-strip-grid { padding: 20px 0; gap: 14px; grid-template-columns: 1fr 1fr; }
  .shop-strip-grid span { min-height: 30px; padding: 0; border: 0; }
  .shop-products,
  .shop-showcase,
  .shop-owner { padding: 78px 0; }
  .shop-section-heading { gap: 18px; grid-template-columns: 1fr; }
  .shop-product-grid { grid-template-columns: 1fr 1fr; }
  .shop-product-card { min-height: 270px; }
  .shop-owner-grid { grid-template-columns: 1fr; }
  .shop-owner-photo { width: min(100%, 430px); margin: 0 auto; }
  .shop-owner-copy { max-width: 620px; }
  .shop-order-card { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .shop-brand small { display: none; }
  .shop-admin-button { max-width: 98px; text-align: center; }
  .shop-hero,
  .shop-hero-content { min-height: 670px; }
  .shop-hero-image { object-position: 69% center; }
  .shop-hero-shade { background: linear-gradient(90deg, rgba(13, 45, 27, 0.98) 0%, rgba(14, 48, 29, 0.9) 66%, rgba(14, 48, 29, 0.45) 100%); }
  .shop-eyebrow { max-width: 270px; line-height: 1.5; }
  .shop-hero h1 { font-size: clamp(40px, 12.3vw, 53px); }
  .shop-hero-actions { align-items: stretch; flex-direction: column; width: 100%; }
  .shop-button { width: 100%; }
  .shop-hero-note { align-items: flex-start; line-height: 1.5; }
  .shop-strip-grid { grid-template-columns: 1fr; }
  .shop-product-grid { grid-template-columns: 1fr; }
  .shop-product-card { min-height: 250px; }
  .shop-showcase-grid { grid-template-columns: 1fr; }
  .shop-ad-card { grid-column: auto; min-height: 520px; }
  .shop-photo-tile { min-height: 360px; }
  .shop-ad-copy { padding: 28px; }
  .shop-ad-copy h2 { font-size: 37px; }
  .shop-owner-photo,
  .shop-owner-photo img { min-height: 440px; height: 440px; }
  .shop-owner-copy h2 { font-size: 42px; }
  .shop-order { padding: 62px 0; }
  .shop-order-card { gap: 32px; padding: 34px 24px; }
  .shop-footer-grid { align-items: flex-start; flex-direction: column; }
  .shop-footer nav { flex-wrap: wrap; }
  .shop-footer-bottom { align-items: flex-start; flex-direction: column; }
}

/* Venda em rota, documentos e integração de impressão */
.route-dashboard-callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 16px;
  padding: 18px 21px;
  border: 1px solid color-mix(in srgb, var(--accent) 24%, var(--border));
  border-radius: 14px;
  background: linear-gradient(110deg, color-mix(in srgb, var(--accent) 8%, var(--panel)), var(--panel));
}
.route-dashboard-callout div,
.route-dashboard-callout strong,
.route-dashboard-callout small { display: block; }
.route-dashboard-callout strong { margin-top: 3px; color: var(--text); font-size: 14px; }
.route-dashboard-callout small { margin-top: 4px; color: var(--muted); font-size: 9px; }

.route-page { display: grid; gap: 16px; }
.route-page-header { margin-bottom: 2px; }
.route-header-actions { display: flex; align-items: center; gap: 10px; }
.route-live { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(56, 201, 143, 0.28); border-radius: 99px; background: rgba(56, 201, 143, 0.08); color: var(--accent); font-size: 8px; font-weight: 800; }
.route-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(56, 201, 143, 0.09); }
.danger-button { min-height: 38px; padding: 9px 13px; border: 1px solid rgba(251, 124, 140, 0.32); border-radius: 8px; background: rgba(251, 124, 140, 0.08); color: var(--danger); font-size: 9px; font-weight: 800; }
.danger-button:hover { background: rgba(251, 124, 140, 0.14); }

.route-setup-grid { display: grid; align-items: start; gap: 16px; grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr); }
.route-load-card { padding: 22px; }
.route-name-field,
.sumup-config-card > label { display: grid; gap: 7px; }
.route-name-field > span,
.sumup-config-card > label > span { color: var(--muted-strong); font-size: 8px; font-weight: 800; text-transform: uppercase; }
.route-load-list { display: grid; gap: 7px; max-height: 440px; margin-top: 16px; overflow: auto; }
.route-load-row { display: flex; min-height: 63px; align-items: center; justify-content: space-between; gap: 18px; padding: 11px 13px; border: 1px solid var(--border-soft); border-radius: 10px; background: color-mix(in srgb, var(--panel-2) 72%, transparent); }
.route-load-row span,
.route-load-row strong,
.route-load-row small { display: block; }
.route-load-row strong { color: var(--text); font-size: 10px; }
.route-load-row small { margin-top: 4px; color: var(--muted); font-size: 8px; }
.route-load-row input { width: 82px; text-align: center; }
.route-start-button { width: 100%; min-height: 44px; margin-top: 16px; }
.route-explainer { padding: 25px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, var(--panel)), var(--panel)); }
.route-explainer h3 { margin: 8px 0 22px; color: var(--text); font-size: 21px; letter-spacing: -0.045em; line-height: 1.14; }
.route-explainer ol { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.route-explainer li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--border-soft); border-radius: 10px; background: color-mix(in srgb, var(--panel-2) 80%, transparent); }
.route-explainer li > b { display: grid; width: 30px; height: 30px; flex: 0 0 auto; place-items: center; border-radius: 50%; background: var(--accent); color: #052018; font-size: 9px; }
.route-explainer li span,
.route-explainer li strong,
.route-explainer li small { display: block; }
.route-explainer li strong { color: var(--text); font-size: 9px; }
.route-explainer li small { margin-top: 2px; color: var(--muted); font-size: 7px; }
.route-history-card { padding: 20px; }
.route-history-row { display: grid; align-items: center; gap: 15px; padding: 13px 4px; border-top: 1px solid var(--border-soft); grid-template-columns: minmax(210px, 1.5fr) repeat(4, minmax(80px, 0.55fr)); }
.route-history-row > div,
.route-history-row strong,
.route-history-row span,
.route-history-row small,
.route-history-row b { display: block; }
.route-history-row strong { color: var(--text); font-size: 10px; }
.route-history-row span { margin-top: 3px; color: var(--muted); font-size: 7px; }
.route-history-row small { color: var(--muted); font-size: 7px; }
.route-history-row b { margin-top: 3px; color: var(--muted-strong); font-size: 10px; }

.route-kpis,
.invoice-kpis { display: grid; gap: 10px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route-kpis > div,
.invoice-kpis > div { padding: 17px 18px; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel); box-shadow: var(--shadow-soft); }
.route-kpis span,
.route-kpis strong,
.invoice-kpis span,
.invoice-kpis strong,
.invoice-kpis small { display: block; }
.route-kpis span,
.invoice-kpis span { color: var(--muted); font-size: 8px; }
.route-kpis strong,
.invoice-kpis strong { margin-top: 7px; color: var(--text); font-size: 19px; letter-spacing: -0.04em; }
.invoice-kpis small { margin-top: 4px; color: var(--muted); font-size: 7px; }
.invoice-kpis { margin: 16px 0; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.route-add-stock { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 17px; }
.route-add-stock > div:first-child,
.route-add-stock strong,
.route-add-stock span { display: block; }
.route-add-stock strong { color: var(--text); font-size: 11px; }
.route-add-stock span { margin-top: 3px; color: var(--muted); font-size: 7px; }
.route-add-stock .filters { margin: 0; }
.route-add-stock input { width: 74px; }
.route-workspace { margin-top: 0; }
.route-product-grid { display: grid; gap: 8px; }
.route-product-card { display: grid; min-height: 72px; align-items: center; gap: 13px; padding: 10px 12px; border: 1px solid var(--border-soft); border-radius: 11px; background: var(--panel-2); grid-template-columns: 52px 1fr auto; }
.route-product-card.is-unavailable { opacity: 0.5; }
.route-product-stock { display: grid; height: 49px; place-content: center; border-radius: 10px; background: rgba(56, 201, 143, 0.09); text-align: center; }
.route-product-stock strong,
.route-product-stock small { display: block; }
.route-product-stock strong { color: var(--accent); font-size: 16px; }
.route-product-stock small { color: var(--muted); font-size: 6px; }
.route-product-card > div:nth-child(2) strong,
.route-product-card > div:nth-child(2) span { display: block; }
.route-product-card > div:nth-child(2) strong { color: var(--text); font-size: 10px; }
.route-product-card > div:nth-child(2) span { margin-top: 4px; color: var(--muted); font-size: 7px; }
.route-product-card > button { min-height: 34px; padding: 7px 10px; border: 1px solid rgba(56, 201, 143, 0.25); border-radius: 8px; background: rgba(56, 201, 143, 0.08); color: var(--accent); font-size: 8px; font-weight: 800; }
.route-product-card > button:hover:not(:disabled) { background: var(--accent); color: #052018; }
.route-cart-line { grid-template-columns: minmax(100px, 1fr) auto auto auto; }
.route-sales-card { padding: 20px; }
.route-sale-row { display: grid; align-items: center; gap: 14px; padding: 10px 3px; border-top: 1px solid var(--border-soft); grid-template-columns: 0.8fr 1fr 1fr 1fr auto; }
.route-sale-row span,
.route-sale-row b { color: var(--muted); font-size: 8px; }
.route-sale-row strong { color: var(--text); font-size: 9px; }
.route-sale-row em { color: var(--accent); font-size: 10px; font-style: normal; font-weight: 800; }

.invoice-list-card { padding: 20px; }
.invoice-legal-warning { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; padding: 13px 15px; border: 1px solid rgba(247, 189, 97, 0.25); border-radius: 10px; background: rgba(247, 189, 97, 0.07); }
.invoice-legal-warning strong { flex: 0 0 auto; color: var(--warning); font-size: 9px; }
.invoice-legal-warning span { color: var(--muted); font-size: 8px; line-height: 1.55; }
.invoice-list { display: grid; }
.invoice-row { display: grid; align-items: center; gap: 16px; padding: 14px 3px; border-top: 1px solid var(--border-soft); grid-template-columns: minmax(230px, 1.5fr) 0.6fr 0.6fr auto; }
.invoice-row:first-child { border-top: 0; }
.invoice-row > div:first-child,
.invoice-row > div:first-child strong,
.invoice-row > div:first-child small,
.invoice-row > div:not(:first-child) small,
.invoice-row > div:not(:first-child) b { display: block; }
.invoice-row > div:first-child strong { margin-top: 6px; color: var(--text); font-size: 10px; }
.invoice-row > div:first-child small,
.invoice-row > div:not(:first-child) small { margin-top: 3px; color: var(--muted); font-size: 7px; }
.invoice-row > div:not(:first-child) b { margin-top: 4px; color: var(--muted-strong); font-size: 9px; }
.invoice-type { display: inline-flex; padding: 4px 7px; border-radius: 99px; background: rgba(114, 167, 255, 0.1); color: var(--accent-2); font-size: 6px; font-weight: 800; text-transform: uppercase; }
.invoice-type.route { background: rgba(56, 201, 143, 0.1); color: var(--accent); }
.invoice-actions { display: flex; gap: 7px; }
.invoice-modal { width: min(680px, calc(100% - 28px)); max-height: min(90vh, 820px); }
.receipt-preview { display: flex; justify-content: center; overflow: auto; padding: 20px; border: 1px solid var(--border-soft); border-radius: 12px; background: var(--panel-2); }
.thermal-receipt { box-sizing: border-box; width: 58mm; max-width: 100%; padding: 3mm 4mm; background: #fff; color: #111; box-shadow: 0 8px 30px rgba(0,0,0,.12); font: 11px/1.35 Arial, Helvetica, sans-serif; overflow-wrap: anywhere; }
.thermal-header { padding-bottom: 8px; border-bottom: 1px dashed #111; text-align: center; }
.thermal-header strong, .thermal-header span, .thermal-footer small { display: block; }
.thermal-header strong { font-size: 14px; letter-spacing: .03em; }
.thermal-header span { margin-top: 3px; font-size: 9px; }
.thermal-details { padding: 8px 0; border-bottom: 1px dashed #111; }
.thermal-details div, .thermal-item div, .thermal-totals div { display: flex; justify-content: space-between; gap: 5px; }
.thermal-details div + div { margin-top: 3px; }
.thermal-section-title { padding: 8px 0 3px; font-size: 10px; font-weight: 700; }
.thermal-item { padding: 5px 0; border-bottom: 1px dotted #888; break-inside: avoid; }
.thermal-item > strong { display: block; font-size: 11px; font-weight: 600; }
.thermal-item div { margin-top: 2px; }
.thermal-item b, .thermal-totals strong { text-align: right; white-space: nowrap; }
.thermal-totals { padding-top: 8px; }
.thermal-totals div + div { margin-top: 5px; }
.thermal-grand-total { padding-top: 7px; border-top: 1px dashed #111; font-size: 14px; font-weight: 700; }
.thermal-footer { margin-top: 12px; padding-top: 8px; border-top: 1px dashed #111; text-align: center; }
.thermal-footer small { margin-top: 4px; font-size: 9px; }
.invoice-modal-actions { justify-content: flex-end; }
.thermal-printer-guide { margin-top: 16px; padding: 20px 23px; }
.thermal-printer-guide h3 { margin: 0 0 7px; color: var(--text); font-size: 15px; }
.thermal-printer-guide p { margin: 0; color: var(--muted-strong); font-size: 10px; line-height: 1.65; }
.thermal-printer-guide a { display: inline-flex; align-items: center; min-height: 36px; margin-top: 12px; padding: 0 15px; border-radius: 8px; background: var(--accent); color: #082d21; font-size: 10px; font-weight: 800; text-decoration: none; }

.sumup-layout { display: grid; align-items: start; gap: 16px; margin-top: 16px; grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr); }
.sumup-config-card { display: grid; gap: 15px; padding: 23px; }
.sumup-config-card h3 { margin: 0 0 3px; }
.sumup-model-note { display: grid; gap: 5px; padding: 13px; border: 1px solid rgba(114, 167, 255, 0.22); border-radius: 10px; background: rgba(114, 167, 255, 0.07); }
.sumup-model-note.android { border-color: rgba(56, 201, 143, 0.22); background: rgba(56, 201, 143, 0.07); }
.sumup-model-note strong { color: var(--text); font-size: 9px; }
.sumup-model-note span { color: var(--muted); font-size: 8px; line-height: 1.55; }
.sumup-check { display: flex !important; align-items: center; grid-template-columns: auto 1fr; }
.sumup-check input { width: 17px; height: 17px; }
.sumup-download-card { padding: 26px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 7%, var(--panel)), var(--panel)); }
.sumup-app-icon { display: grid; width: 64px; height: 64px; margin-bottom: 23px; place-items: center; border-radius: 17px; background: var(--accent); box-shadow: 0 17px 35px rgba(0, 0, 0, 0.14); color: #052018; font-size: 17px; font-weight: 900; }
.sumup-download-card h3 { margin: 8px 0 11px; color: var(--text); font-size: 21px; letter-spacing: -0.04em; }
.sumup-download-card p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.7; }
.sumup-download-button { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; min-height: 43px; margin: 21px 0 10px; border: 1px dashed var(--border); border-radius: 9px; background: var(--panel-2); color: var(--muted); font-size: 9px; font-weight: 800; text-decoration: none; }
.sumup-download-card > small { display: block; color: var(--muted); font-size: 7px; line-height: 1.55; }
.sumup-flow-card { display: grid; align-items: center; gap: 18px; margin-top: 16px; padding: 18px 21px; grid-template-columns: 1fr auto 1fr auto 1fr; }
.sumup-flow-card div,
.sumup-flow-card span,
.sumup-flow-card strong { display: block; }
.sumup-flow-card span { color: var(--accent); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.sumup-flow-card strong { margin-top: 4px; color: var(--muted-strong); font-size: 9px; line-height: 1.4; }
.sumup-flow-card i { color: var(--muted); font-size: 13px; font-style: normal; }
.sumup-security { margin-top: 16px; }

@media (max-width: 1000px) {
  .route-setup-grid,
  .sumup-layout { grid-template-columns: 1fr; }
  .route-kpis { grid-template-columns: 1fr 1fr; }
  .route-add-stock { align-items: flex-start; flex-direction: column; }
  .route-add-stock .filters { width: 100%; }
  .route-history-row { grid-template-columns: minmax(180px, 1.5fr) repeat(2, 1fr); }
  .route-history-row > div:nth-child(4),
  .route-history-row > div:nth-child(5) { margin-top: 7px; }
}

@media (max-width: 680px) {
  .route-dashboard-callout,
  .route-page-header,
  .route-header-actions { align-items: flex-start; flex-direction: column; }
  .route-kpis,
  .invoice-kpis { grid-template-columns: 1fr 1fr; }
  .invoice-kpis > div:last-child { grid-column: 1 / -1; }
  .route-history-row { grid-template-columns: 1fr 1fr; }
  .route-history-row > div:first-child { grid-column: 1 / -1; }
  .route-add-stock .filters { align-items: stretch; flex-direction: column; }
  .route-add-stock input { width: 100%; }
  .route-product-card { grid-template-columns: 48px 1fr; }
  .route-product-card > button { grid-column: 1 / -1; }
  .route-cart-line { grid-template-columns: 1fr auto; }
  .route-cart-line .pdv-line-total { text-align: left; }
  .route-sale-row { grid-template-columns: 1fr 1fr; }
  .invoice-row { grid-template-columns: 1fr 1fr; }
  .invoice-row > div:first-child,
  .invoice-actions { grid-column: 1 / -1; }
  .invoice-actions button { flex: 1; }
  .receipt-meta { grid-template-columns: 1fr; }
  .invoice-modal-actions { align-items: stretch; flex-direction: column; }
  .sumup-flow-card { grid-template-columns: 1fr; }
  .sumup-flow-card i { transform: rotate(90deg); }
}

/* Identidade interna — Mercado Souza */
body {
  background:
    radial-gradient(circle at 82% 0%, rgba(242, 189, 61, 0.08), transparent 32rem),
    radial-gradient(circle at 0% 76%, rgba(25, 115, 79, 0.07), transparent 28rem),
    var(--bg);
}

.logo-mark {
  border-color: rgba(242, 189, 61, 0.42);
  background: linear-gradient(145deg, #18583d, #0d3f2b);
  box-shadow: 0 10px 24px rgba(8, 48, 31, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  color: #f4c451;
  font-size: 11px;
  letter-spacing: -0.06em;
}

.logo-mark.large { font-size: 13px; }

button.primary {
  border-color: rgba(183, 121, 13, 0.35);
  background: linear-gradient(135deg, #f4c34e, #dca327);
  box-shadow: 0 10px 25px rgba(183, 121, 13, 0.2);
  color: #173f2a;
}

button.primary:hover { box-shadow: 0 14px 32px rgba(183, 121, 13, 0.28); }

.theme-light #topbar {
  border-bottom-color: rgba(255, 255, 255, 0.1);
  background: rgba(18, 67, 44, 0.97);
  box-shadow: 0 8px 28px rgba(18, 67, 44, 0.14);
}

.theme-light #topbar .brand-name { color: #fffaf0; }
.theme-light #topbar .brand-sub { color: rgba(255, 255, 255, 0.58); }
.theme-light #topbar .quick-search input {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.09);
  color: #fff;
}
.theme-light #topbar .quick-search input::placeholder { color: rgba(255, 255, 255, 0.58); }
.theme-light #topbar .search-icon { border-color: rgba(255, 255, 255, 0.65); }
.theme-light #topbar .search-icon::after { background: rgba(255, 255, 255, 0.65); }
.theme-light #topbar .quick-search kbd,
.theme-light #topbar .server-status,
.theme-light #topbar button.ghost {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
}
.theme-light #topbar .server-copy span,
.theme-light #topbar .server-copy #server-label { color: rgba(255, 255, 255, 0.66); }
.theme-light #topbar #user-chip {
  border-color: rgba(244, 195, 78, 0.35);
  background: rgba(244, 195, 78, 0.12);
  color: #f8d678;
}

.theme-light #sidebar {
  border-right-color: #ded5c3;
  background: rgba(250, 247, 240, 0.97);
}

.theme-light .nav-link.active {
  border-color: rgba(183, 121, 13, 0.18);
  background: linear-gradient(90deg, rgba(242, 189, 61, 0.18), rgba(25, 115, 79, 0.035));
  color: #173f2a;
}

.theme-light .nav-link.active::before {
  border-color: rgba(183, 121, 13, 0.28);
  background: rgba(242, 189, 61, 0.16);
  color: #8f5c08;
}

.theme-light .nav-link.active::after { background: #c38b1e; }
.theme-light .sidebar-footer { border-color: #ded5c3; background: rgba(25, 115, 79, 0.05); }
.theme-light .sidebar-footer-icon { background: #173f2a; color: #f4c34e; }
.theme-light main#app { background: linear-gradient(145deg, rgba(255, 255, 255, 0.2), transparent 34rem); }
.theme-light .card { border-color: #e4dccd; box-shadow: 0 12px 34px rgba(69, 57, 35, 0.06); }
.theme-light .list-item { border-color: #ebe3d5; background: #fcfaf6; }

.login-screen {
  background:
    radial-gradient(circle at 8% 10%, rgba(242, 189, 61, 0.14), transparent 25rem),
    linear-gradient(135deg, #f7f2e8, #eee5d5);
}

.login-card {
  border-color: rgba(23, 63, 42, 0.12);
  background: rgba(255, 253, 248, 0.97);
  box-shadow: 0 30px 80px rgba(51, 43, 27, 0.13);
}

.login-brand { margin-bottom: 30px; color: #173f2a; }
.login-brand > span strong,
.login-brand > span small { display: block; }
.login-brand > span strong { font-size: 13px; }
.login-brand > span small { margin-top: 2px; color: #7b8078; font-size: 8px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.login-back { color: #6c796f; }
.login-intro h1 { color: #173f2a; font-size: 34px; }
.login-intro p { color: #6c796f; }
.login-card .eyebrow { color: #a36b0a; }
.login-card .form-field label { color: #405648; }
.login-card .form-field input {
  border-color: #ded7c9;
  background: #fff;
  color: #173f2a;
}
.login-card .form-field input:focus { border-color: rgba(25, 115, 79, 0.55); box-shadow: 0 0 0 4px rgba(25, 115, 79, 0.08); }

.login-owner-card {
  display: grid;
  align-items: center;
  gap: 11px;
  margin: -8px 0 22px;
  padding: 10px;
  border: 1px solid #e1d8c7;
  border-radius: 13px;
  background: #f8f3e9;
  grid-template-columns: 42px 1fr auto;
}

.login-owner-card img { width: 42px; height: 42px; border-radius: 11px; object-fit: cover; object-position: 50% 22%; }
.login-owner-card span strong,
.login-owner-card span small { display: block; }
.login-owner-card span strong { color: #173f2a; font-size: 11px; }
.login-owner-card span small { margin-top: 2px; color: #758077; font-size: 8px; }
.login-owner-card > b { padding: 5px 7px; border-radius: 999px; background: #173f2a; color: #f4c34e; font-size: 7px; letter-spacing: 0.1em; }
.login-footnote { color: #758077; }

.login-aside {
  border-color: rgba(244, 195, 78, 0.3);
  background-image:
    linear-gradient(180deg, rgba(8, 35, 22, 0.05) 10%, rgba(8, 35, 22, 0.9) 88%),
    url('img/comerciante-lucas-profissional.png');
  background-position: center, 50% 25%;
  background-size: cover, cover;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 30px 80px rgba(27, 48, 34, 0.18);
}

.login-aside::before,
.login-aside::after { border-color: rgba(244, 195, 78, 0.13); }
.login-showcase { width: min(650px, 88%); }
.login-showcase .eyebrow { color: #f4c34e; }
.login-showcase h2 { max-width: 560px; margin-bottom: 12px; font-size: clamp(34px, 4vw, 56px); }
.login-showcase > p { max-width: 520px; margin: 0 0 27px; color: rgba(255, 255, 255, 0.7); font-size: 11px; line-height: 1.7; }
.showcase-metrics { border-color: rgba(244, 195, 78, 0.2); background: rgba(244, 195, 78, 0.09); }
.showcase-metrics div { background: rgba(8, 40, 25, 0.7); }
.showcase-metrics strong { color: #fff7e4; }
.showcase-metrics span { color: rgba(255, 255, 255, 0.57); }

@media (max-width: 720px) {
  .login-brand { margin-bottom: 24px; }
  .login-intro h1 { font-size: 30px; }
}

/* Loja online, botões desenhados e carrinho */
.shop-header-order {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 8px 14px;
  border: 1px solid rgba(244, 189, 57, 0.55);
  border-radius: 12px;
  background: rgba(244, 189, 57, 0.12);
  color: #fff4d7;
  font-size: 9px;
  font-weight: 900;
}
.shop-header-order:hover { background: var(--shop-yellow); color: var(--shop-green); }
.shop-drawn-icon,
.shop-button-drawn,
.shop-product-add-icon {
  display: grid;
  place-items: center;
}
.shop-drawn-icon { width: 20px; height: 20px; }
.shop-drawn-icon svg,
.shop-button-drawn svg,
.shop-product-add-icon svg,
.store-cart-fab-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.shop-button {
  position: relative;
  min-height: 49px;
  overflow: hidden;
  border-radius: 14px;
  isolation: isolate;
}
.shop-button::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 42%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  content: '';
  opacity: 0;
  transform: skewX(-18deg);
  transition: left 450ms ease, opacity 160ms ease;
}
.shop-button:hover::before { left: 125%; opacity: 1; }
.shop-button-drawn { width: 25px; height: 25px; margin-left: 5px; border: 1px solid currentColor; border-radius: 8px; }
.shop-button-drawn svg { width: 14px; height: 14px; }
.shop-order-cta { width: fit-content; margin-top: 23px; background: var(--shop-green); color: #fff; box-shadow: 0 14px 28px rgba(18, 61, 39, 0.22); }
.shop-order-cta:hover { background: var(--shop-green-2); }
.shop-text-link { padding: 0; background: transparent; color: var(--shop-yellow); font-size: 9px; font-weight: 900; }

.site-order-dashboard-callout {
  margin-top: 10px;
  border-color: rgba(18, 61, 39, 0.18);
  background: linear-gradient(110deg, rgba(18, 61, 39, 0.08), rgba(244, 189, 57, 0.13));
}

.shop-catalog-loading,
.shop-catalog-error {
  display: grid;
  min-height: 220px;
  place-items: center;
  grid-column: 1 / -1;
  border: 1px dashed var(--shop-line);
  border-radius: 20px;
  background: rgba(255,255,255,.56);
  color: var(--shop-green);
  text-align: center;
}
.shop-catalog-loading span,
.admin-orders-loading span {
  width: 29px;
  height: 29px;
  border: 3px solid rgba(23,63,42,.14);
  border-top-color: var(--shop-coral);
  border-radius: 50%;
  animation: store-spin 800ms linear infinite;
}
.shop-catalog-loading strong { margin-top: -60px; font-size: 10px; }
.shop-catalog-error { align-content: center; gap: 8px; }
.shop-catalog-error strong { font-size: 16px; }
.shop-catalog-error span { color: var(--shop-muted); font-size: 10px; }
.shop-catalog-error button { margin-top: 8px; padding: 9px 13px; border-radius: 9px; background: var(--shop-green); color: #fff; font-size: 9px; font-weight: 800; }
@keyframes store-spin { to { transform: rotate(360deg); } }

.store-product-card.shop-product-card {
  display: flex;
  min-height: 390px;
  flex-direction: column;
  padding: 25px;
}
.store-product-card.shop-product-card::before {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--shop-green), var(--shop-yellow), var(--shop-coral));
  content: '';
  opacity: .88;
}
.store-product-card.is-sold-out { border-color: #ddd8cf; background: #f8f7f3; }
.store-product-icon.shop-product-icon {
  width: 62px;
  height: 62px;
  border: 1px solid rgba(23,63,42,.1);
  background: linear-gradient(145deg, #fff9e9, #f2e6c9);
  color: var(--shop-green);
}
.store-product-icon svg { width: 39px; height: 39px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 2; }
.store-product-card.shop-product-card p { min-height: 50px; }
.store-product-meta {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding: 18px 0 15px;
  border-top: 1px solid var(--shop-line);
}
.store-product-meta strong { color: var(--shop-green); font-size: 19px; letter-spacing: -.04em; }
.store-product-meta span { color: var(--shop-muted); font-size: 7px; font-weight: 800; text-align: right; text-transform: uppercase; }
.shop-product-add {
  display: flex;
  position: relative;
  z-index: 2;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 9px 12px;
  border: 1px solid var(--shop-green);
  border-radius: 11px;
  background: var(--shop-green);
  box-shadow: 0 11px 22px rgba(23,63,42,.14);
  color: #fff;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.shop-product-add:hover { background: var(--shop-yellow); color: var(--shop-green); transform: translateY(-2px); }
.shop-product-add:disabled { cursor: not-allowed; opacity: .55; transform: none; }
.shop-product-add-icon { width: 22px; height: 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 7px; }
.shop-product-add-icon svg { width: 12px; height: 12px; }

.store-cart-fab {
  display: flex;
  position: fixed;
  z-index: 49;
  right: 23px;
  bottom: 22px;
  min-width: 230px;
  min-height: 64px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(244,189,57,.55);
  border-radius: 18px;
  background: #123d28;
  box-shadow: 0 20px 50px rgba(7,35,21,.3);
  color: #fff;
}
.store-cart-fab:hover { box-shadow: 0 24px 60px rgba(7,35,21,.4); transform: translateY(-3px); }
.store-cart-fab.is-pulsing { animation: store-cart-pulse 420ms ease; }
@keyframes store-cart-pulse { 50% { transform: scale(1.04); } }
.store-cart-fab-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: var(--shop-yellow); color: var(--shop-green); }
.store-cart-fab-icon svg { width: 24px; height: 24px; }
.store-cart-fab span { flex: 1; text-align: left; }
.store-cart-fab span strong,
.store-cart-fab span small { display: block; }
.store-cart-fab span strong { font-size: 10px; }
.store-cart-fab span small { margin-top: 3px; color: rgba(255,255,255,.63); font-size: 7px; }
.store-cart-fab > b { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; background: #fff; color: var(--shop-green); font-size: 9px; }

body.store-cart-open { overflow: hidden; }
.store-cart-overlay { visibility: hidden; position: fixed; z-index: 100; inset: 0; opacity: 0; transition: opacity 180ms ease, visibility 180ms ease; }
.store-cart-overlay.is-open { visibility: visible; opacity: 1; }
.store-cart-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; background: rgba(7,29,18,.65); backdrop-filter: blur(5px); }
.store-cart-drawer {
  display: flex;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(100%, 510px);
  flex-direction: column;
  background: #fbf7ee;
  box-shadow: -30px 0 80px rgba(6,31,19,.25);
  color: var(--shop-ink);
  transform: translateX(100%);
  transition: transform 250ms cubic-bezier(.2,.75,.25,1);
}
.store-cart-overlay.is-open .store-cart-drawer { transform: translateX(0); }
.store-cart-header { display: flex; min-height: 94px; align-items: center; justify-content: space-between; padding: 22px 25px; border-bottom: 1px solid #e3dac9; background: #123d28; color: #fff; }
.store-cart-header span { color: var(--shop-yellow); font-size: 7px; font-weight: 900; letter-spacing: .16em; }
.store-cart-header h2 { margin: 5px 0 0; font-size: 27px; letter-spacing: -.05em; }
.store-cart-close { display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 12px; background: rgba(255,255,255,.08); color: #fff; font-size: 23px; }
.store-cart-content { flex: 1; padding: 22px 25px 34px; overflow-y: auto; }
.store-cart-lines { display: grid; gap: 8px; }
.store-cart-line { display: grid; align-items: center; gap: 10px; padding: 12px; border: 1px solid #e4dbc9; border-radius: 13px; background: #fff; grid-template-columns: 42px minmax(0,1fr) auto auto; }
.store-cart-line-image { display: block; width: 42px; height: 42px; overflow: hidden; border: 1px solid #e3dac9; border-radius: 11px; background: #f4eedf; }
.store-cart-line-image img { width: 100%; height: 100%; object-fit: cover; }
.store-cart-line div > strong,
.store-cart-line div > small { display: block; }
.store-cart-line div > strong { color: var(--shop-green); font-size: 10px; }
.store-cart-line div > small { margin-top: 2px; color: var(--shop-muted); font-size: 7px; }
.store-cart-line > strong { color: var(--shop-green); font-size: 10px; }
.store-qty-control { display: flex; align-items: center; gap: 7px; }
.store-qty-control button { display: grid; width: 25px; height: 25px; place-items: center; border: 1px solid #ded4c2; border-radius: 8px; background: #fbf8f1; color: var(--shop-green); font-weight: 900; }
.store-qty-control b { min-width: 16px; color: var(--shop-green); font-size: 9px; text-align: center; }
.store-cart-total { display: flex; align-items: center; justify-content: space-between; margin: 15px 0; padding: 17px 3px; border-top: 1px solid #e1d7c5; border-bottom: 1px solid #e1d7c5; color: var(--shop-green); }
.store-cart-total span { font-size: 9px; font-weight: 800; text-transform: uppercase; }
.store-cart-total strong { font-size: 24px; letter-spacing: -.05em; }
.store-order-form { display: grid; gap: 12px; }
.store-form-heading { margin: 7px 0 2px; }
.store-form-heading span,
.store-form-heading strong { display: block; }
.store-form-heading span { color: var(--shop-coral); font-size: 7px; font-weight: 900; letter-spacing: .15em; }
.store-form-heading strong { margin-top: 4px; color: var(--shop-green); font-size: 15px; }
.store-order-form label { display: grid; gap: 5px; }
.store-order-form label > span { color: #52665a; font-size: 8px; font-weight: 800; }
.store-order-form input,
.store-order-form select,
.store-order-form textarea { width: 100%; min-height: 45px; border: 1px solid #ddd3c1; border-radius: 11px; background: #fff; color: var(--shop-green); font-size: 10px; }
.store-order-form textarea { padding: 11px; resize: vertical; }
.store-age-check { display: flex !important; align-items: flex-start; gap: 9px !important; padding: 11px; border: 1px solid rgba(191,116,79,.24); border-radius: 11px; background: #fff4ed; }
.store-age-check input { width: 17px; min-height: 17px; margin: 1px 0 0; }
.store-age-check span { line-height: 1.5; }
.store-order-submit { display: grid; min-height: 58px; align-items: center; gap: 6px; margin-top: 5px; padding: 10px 13px 10px 17px; border-radius: 13px; background: linear-gradient(120deg, #173f2a, #0e5135); box-shadow: 0 15px 30px rgba(23,63,42,.2); color: #fff; grid-template-columns: 1fr auto 31px; text-align: left; }
.store-order-submit span { font-size: 9px; font-weight: 900; }
.store-order-submit strong { color: var(--shop-yellow); font-size: 12px; }
.store-order-submit i { display: grid; width: 31px; height: 31px; place-items: center; border-radius: 9px; background: var(--shop-yellow); color: var(--shop-green); font-style: normal; }
.store-order-submit:disabled { cursor: wait; opacity: .65; }
.store-order-feedback { min-height: 17px; margin: 0; color: #a54d2f; font-size: 8px; line-height: 1.5; text-align: center; }
.store-cart-empty,
.store-order-success { display: grid; min-height: calc(100vh - 165px); align-content: center; justify-items: center; text-align: center; }
.store-cart-empty > span { display: grid; width: 76px; height: 76px; place-items: center; border-radius: 23px; background: #f1e7d4; color: var(--shop-green); }
.store-cart-empty > span svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 2; }
.store-cart-empty h3,
.store-order-success h3 { margin: 20px 0 8px; color: var(--shop-green); font-size: 25px; letter-spacing: -.05em; }
.store-cart-empty p,
.store-order-success p { max-width: 330px; margin: 0 0 23px; color: var(--shop-muted); font-size: 10px; line-height: 1.7; }
.store-success-icon { display: grid; width: 76px; height: 76px; margin-bottom: 22px; place-items: center; border-radius: 50%; background: var(--shop-green); color: var(--shop-yellow); }
.store-success-icon svg { width: 44px; height: 44px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 4; }
.store-order-success > strong { padding: 12px 16px; border: 1px dashed #c89c35; border-radius: 11px; background: #fff8e8; color: var(--shop-green); font-size: 15px; letter-spacing: .05em; }
.store-order-success > div { display: flex; width: 100%; align-items: center; justify-content: space-between; margin: 22px 0; padding: 15px 0; border-top: 1px solid #e2d8c5; border-bottom: 1px solid #e2d8c5; color: var(--shop-green); }
.store-order-success > .store-order-success-items { display: grid; max-height: 285px; gap: 8px; margin-bottom: 0; padding: 12px 0; overflow-y: auto; border-bottom: 0; }
.store-order-success-items article { display: grid; align-items: center; gap: 10px; padding: 8px; border: 1px solid #e7dece; border-radius: 12px; background: #fff; grid-template-columns: 48px minmax(0,1fr); text-align: left; }
.store-order-success-image { width: 48px; height: 48px; border-radius: 9px; object-fit: cover; }
.store-order-success-items span,
.store-order-success-items b,
.store-order-success-items small { display: block; }
.store-order-success-items b { color: var(--shop-green); font-size: 10px; }
.store-order-success-items small { margin-top: 3px; color: var(--shop-muted); font-size: 8px; }

/* Pedidos recebidos no painel administrativo */
.nav-link[data-view="pedidos-site"]::before { content: 'ON'; }
.nav-order-count { display: grid; min-width: 20px; height: 20px; margin-left: auto; place-items: center; border-radius: 99px; background: var(--warning); color: #342100; font-size: 8px; }
.site-orders-view { display: grid; gap: 16px; }
.admin-orders-loading,
.admin-orders-error,
.site-orders-empty { display: grid; min-height: 230px; place-items: center; align-content: center; gap: 11px; border: 1px dashed var(--border); border-radius: 16px; background: var(--card); color: var(--muted); }
.admin-orders-error strong,
.site-orders-empty strong { color: var(--text); }
.admin-orders-error span,
.site-orders-empty span { font-size: 10px; }
.site-order-kpis { display: grid; gap: 14px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.site-order-kpis > div { padding: 18px; border: 1px solid #e3dacb; border-radius: 15px; background: #fff; box-shadow: var(--shadow-soft); }
.site-order-kpis span,
.site-order-kpis strong { display: block; }
.site-order-kpis span { color: var(--muted); font-size: 9px; font-weight: 700; }
.site-order-kpis strong { margin-top: 7px; color: var(--text); font-size: 24px; letter-spacing: -.04em; }
.site-order-toolbar { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; color: var(--muted); }
.site-order-toolbar strong { color: var(--text); font-size: 11px; }
.site-order-toolbar span { font-size: 9px; }
.site-order-list { display: grid; gap: 12px; }
.site-order-card { overflow: hidden; border: 1px solid #e2d9ca; border-left: 4px solid var(--warning); border-radius: 16px; background: #fff; box-shadow: 0 12px 30px rgba(60,47,27,.055); }
.site-order-card.status-concluido { border-left-color: var(--accent-2); }
.site-order-card.status-cancelado { border-left-color: var(--danger); opacity: .72; }
.site-order-card > header { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 17px 19px; border-bottom: 1px solid #eee7db; background: #fcfaf5; }
.site-order-card > header div span,
.site-order-card > header div strong,
.site-order-card > header div small { display: block; }
.site-order-card > header div span { color: var(--accent); font-size: 8px; font-weight: 900; letter-spacing: .06em; }
.site-order-card > header div strong { margin-top: 3px; color: var(--text); font-size: 14px; }
.site-order-card > header div small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.site-order-card > header > b { color: var(--text); font-size: 20px; letter-spacing: -.04em; }
.site-order-contact { display: grid; gap: 8px; padding: 14px 19px 6px; grid-template-columns: 1fr 1fr; }
.site-order-contact > * { padding: 10px; border: 1px solid #eee6d9; border-radius: 10px; background: #fdfbf7; }
.site-order-contact .wide { grid-column: 1 / -1; }
.site-order-contact span,
.site-order-contact strong { display: block; }
.site-order-contact span { color: var(--muted); font-size: 7px; text-transform: uppercase; }
.site-order-contact strong { margin-top: 3px; color: var(--text); font-size: 9px; }
.site-order-items { display: grid; gap: 6px; padding: 10px 19px; }
.site-order-items div { display: grid; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 9px; background: #f7f2e9; color: var(--muted-strong); font-size: 9px; grid-template-columns: 42px minmax(0,1fr) auto; }
.site-order-item-image { width: 42px; height: 42px; border: 1px solid #e2d7c5; border-radius: 9px; object-fit: cover; }
.site-order-notes { margin: 4px 19px 12px; padding: 10px; border-left: 3px solid var(--warning); background: #fff8e8; color: var(--muted-strong); font-size: 9px; }
.site-order-notes span { display: block; margin-bottom: 3px; color: var(--accent); font-size: 7px; font-weight: 900; text-transform: uppercase; }
.site-order-card > footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 13px 19px 17px; }
.site-order-card > footer label { display: grid; gap: 5px; }
.site-order-card > footer label span { color: var(--muted); font-size: 7px; font-weight: 800; text-transform: uppercase; }
.site-whatsapp-button { min-height: 40px; }

@media (max-width: 1050px) {
  .shop-header-order { display: none; }
  .store-product-card.shop-product-card { min-height: 365px; }
}
@media (max-width: 760px) {
  .store-cart-fab { right: 14px; bottom: 14px; min-width: 0; }
  .store-cart-fab > span { display: none; }
  .store-cart-drawer { width: 100%; }
  .site-order-kpis { grid-template-columns: 1fr; }
  .site-order-toolbar,
  .site-order-card > footer { align-items: stretch; flex-direction: column; }
  .site-order-contact { grid-template-columns: 1fr; }
  .site-order-contact .wide { grid-column: auto; }
  .store-product-card.shop-product-card { min-height: 350px; }
}
@media (max-width: 480px) {
  .store-cart-content { padding: 18px 15px 28px; }
  .store-cart-line { grid-template-columns: 38px minmax(0,1fr) auto; }
  .store-cart-line > strong { grid-column: 2 / -1; text-align: right; }
  .store-cart-line-image { width: 38px; height: 38px; }
}

/* Página comercial 2026 — direção visual da nova referência */
.landing-page.shop-landing {
  --shop-green: #063f2e;
  --shop-green-deep: #043326;
  --shop-green-soft: #0d5841;
  --shop-gold: #d99a23;
  --shop-yellow: #ffc94f;
  --shop-paper: #fbf8f0;
  --shop-cream: #f5eddf;
  --shop-ink: #0a2d24;
  --shop-muted: #5c6a64;
  --shop-line: rgba(15, 65, 49, .14);
  overflow: hidden;
  background: var(--shop-paper);
  font-size: 16px;
}

.shop-landing .landing-shell { width: min(1450px, calc(100% - 80px)); }

/* Página pública dedicada ao pedido */
.order-page { min-height: 100vh; background: #f8f4eb; }
.order-page .shop-header { position: sticky; top: 0; z-index: 40; }
.order-page-main { padding: 54px 0 90px; }
.order-page-heading { display: grid; align-items: end; gap: 28px; margin-bottom: 28px; grid-template-columns: minmax(0, 1fr) auto; }
.order-page-heading h1 { max-width: 850px; margin: 8px 0 12px; color: var(--shop-green); font-size: clamp(38px, 5vw, 66px); letter-spacing: -.065em; line-height: .98; }
.order-page-heading p { max-width: 690px; margin: 0; color: var(--shop-muted); font-size: 14px; line-height: 1.7; }
.order-page-steps { display: grid; min-width: 360px; gap: 8px; grid-template-columns: repeat(3, 1fr); }
.order-page-steps span { display: grid; min-height: 72px; align-content: center; gap: 3px; padding: 12px; border: 1px solid #e3d8c5; border-radius: 13px; background: #fff; color: var(--shop-muted); font-size: 9px; }
.order-page-steps b { color: var(--shop-green); font-size: 18px; }
.order-page-toolbar { display: flex; position: sticky; z-index: 15; top: 76px; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding: 14px 18px; border: 1px solid #dfd5c2; border-radius: 15px; background: rgba(255,255,255,.94); box-shadow: 0 12px 32px rgba(36,53,41,.09); backdrop-filter: blur(12px); }
.order-page-toolbar p { margin: 0; color: var(--shop-muted); font-size: 11px; }
.order-page-toolbar strong { color: var(--shop-green); }
.order-page-toolbar button { min-height: 44px; }
.order-page .shop-product-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
.order-page .store-product-card.shop-product-card { min-height: 250px; }
.order-page-footnote { margin: 24px 0 0; color: var(--shop-muted); font-size: 10px; text-align: center; }
.store-catalog-controls { display: grid; align-items: end; gap: 12px; margin: 0 0 20px; scroll-margin-top: 110px; grid-template-columns: minmax(240px, 1fr) minmax(190px, 280px) auto; }
.store-catalog-controls label { display: grid; position: relative; gap: 5px; }
.store-catalog-search > span { position: absolute; z-index: 2; top: 50%; left: 15px; color: var(--shop-green); font-size: 22px; transform: translateY(-50%); }
.store-catalog-controls input,
.store-catalog-controls select { width: 100%; min-height: 50px; border: 1px solid #ddd2bf; border-radius: 13px; background: #fff; color: var(--shop-green); font-size: 12px; outline: 0; }
.store-catalog-controls input { padding-left: 44px; }
.store-catalog-controls input:focus,
.store-catalog-controls select:focus { border-color: #b98628; box-shadow: 0 0 0 3px rgba(217,154,35,.14); }
.store-catalog-category > span { color: var(--shop-muted); font-size: 8px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.store-catalog-controls > strong { padding: 0 0 15px; color: var(--shop-muted); font-size: 10px; white-space: nowrap; }
.store-pagination { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 30px 0 6px; }
.store-pagination[hidden] { display: none; }
.store-page-numbers { display: flex; align-items: center; justify-content: center; gap: 8px; }
.store-pagination button { display: grid; min-width: 42px; height: 42px; place-items: center; border: 1px solid #ddd3c1; border-radius: 11px; background: #fff; color: var(--shop-green); font-size: 11px; font-weight: 900; cursor: pointer; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.store-pagination button:hover:not(:disabled),
.store-pagination button.is-current { border-color: var(--shop-green); background: var(--shop-green); color: #fff; }
.store-pagination button:disabled { cursor: not-allowed; opacity: .38; }
.store-pagination button:focus-visible { outline: 3px solid #e4ae35; outline-offset: 3px; }
.store-pagination .store-page-nav { display: flex; align-items: center; gap: 7px; padding: 0 14px; }
.store-pagination small { margin-left: 8px; color: var(--shop-muted); font-size: 9px; }
@media (max-width: 980px) {
  .order-page-heading { align-items: start; grid-template-columns: 1fr; }
  .order-page-steps { min-width: 0; }
  .order-page .shop-product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .store-catalog-controls { grid-template-columns: 1fr 1fr; }
  .store-catalog-controls > strong { grid-column: 1 / -1; padding: 0; }
}
@media (max-width: 640px) {
  .order-page-main { padding-top: 32px; }
  .order-page-heading { gap: 20px; }
  .order-page-heading h1 { font-size: 40px; }
  .order-page-steps { grid-template-columns: 1fr; }
  .order-page-steps span { min-height: 54px; grid-template-columns: 30px 1fr; align-items: center; }
  .order-page-toolbar { top: 66px; align-items: stretch; flex-direction: column; }
  .order-page-toolbar button { width: 100%; }
  .order-page .shop-product-grid { grid-template-columns: 1fr; }
  .store-catalog-controls { grid-template-columns: 1fr; }
  .store-catalog-controls > strong { grid-column: auto; }
  .store-pagination { display: grid; width: min(100%, 360px); grid-template-columns: 44px minmax(0, 1fr) 44px; column-gap: 5px; row-gap: 8px; margin-right: auto; margin-left: auto; }
  .store-pagination .store-page-nav { width: 44px; min-width: 44px; justify-content: center; padding: 0; }
  .store-page-numbers { min-width: 0; gap: 4px; }
  .store-page-numbers button { width: 34px; min-width: 34px; height: 40px; }
  .store-pagination .store-page-nav span { display: none; }
  .store-pagination small { grid-column: 1 / -1; width: 100%; margin: 3px 0 0; text-align: center; }
}

.shop-header.landing-header,
.shop-header.landing-header.is-scrolled {
  position: fixed;
  top: 0;
  padding: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  background: rgba(4, 56, 41, .98);
  box-shadow: 0 8px 28px rgba(0, 28, 19, .12);
  backdrop-filter: blur(14px);
}

.shop-nav,
.shop-header.landing-header.is-scrolled .shop-nav {
  min-height: 70px;
  gap: 28px;
}

.shop-brand { flex: 0 0 auto; gap: 13px; }
.shop-brand-mark { width: 46px; height: 46px; border: 0; box-shadow: 0 7px 18px rgba(0,0,0,.16); font-size: 15px; }
.shop-brand strong { font-size: 18px; letter-spacing: -.04em; }
.shop-brand small { margin-top: 3px; font-size: 10px; letter-spacing: .16em; }

.shop-links { gap: clamp(18px, 2vw, 38px); }
.shop-links a,
.shop-links button { position: relative; padding: 24px 0 21px; border: 0; background: transparent; color: rgba(255,255,255,.82); font-size: 13px; font-weight: 700; }
.shop-links a::after,
.shop-links button::after { position: absolute; right: 0; bottom: 14px; left: 0; height: 2px; border-radius: 2px; background: var(--shop-yellow); content: ''; opacity: 0; transform: scaleX(.3); transition: 180ms ease; }
.shop-links a:hover,
.shop-links button:hover { color: #fff; }
.shop-links a:hover::after,
.shop-links button:hover::after,
.shop-links a.is-current::after { opacity: 1; transform: scaleX(1); }

.shop-nav-message { margin-left: auto; color: #d8d6a7; font-size: 11px; line-height: 1.4; text-align: right; }
.shop-nav-message strong { color: #f0de86; font-weight: 700; }
.shop-header-order { min-height: 46px; padding: 10px 22px; border: 0; border-radius: 99px; background: var(--shop-yellow); box-shadow: 0 7px 18px rgba(0,0,0,.14); color: var(--shop-ink); font-size: 13px; }
.shop-header-order:hover { background: #ffd56e; transform: translateY(-1px); }
.shop-mobile-account { display: none; }
.shop-header-order > span:last-child { margin-left: 5px; font-size: 18px; }

.shop-hero {
  min-height: 565px;
  margin-top: 70px;
  overflow: hidden;
  background: linear-gradient(90deg, #fbf8f0 0%, #f9f4e9 47%, #e8ddc7 100%);
}
.shop-landing .shop-hero::after { display: none; }
.shop-hero-visual { position: absolute; inset: 0 0 0 47%; overflow: hidden; }
.shop-hero-visual::before { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, #f9f5eb 0%, rgba(249,245,235,.72) 11%, transparent 31%), linear-gradient(180deg, rgba(3,39,27,.08), transparent 45%); content: ''; pointer-events: none; }
.shop-hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 68% center; }
.shop-hero-layout { position: relative; z-index: 4; min-height: 565px; }
.shop-hero-content { min-height: 565px; width: 49%; align-items: flex-start; padding: 42px 0 35px; color: var(--shop-ink); }
.shop-eyebrow { margin: 0 0 14px; color: #ad602f; font-size: 12px; font-weight: 900; letter-spacing: .28em; }
.shop-hero h1 { max-width: 750px; color: var(--shop-ink); font-size: clamp(44px, 4.15vw, 66px); font-weight: 900; letter-spacing: -.065em; line-height: .98; }
.shop-hero h1 em { color: #b67c1d; }
.shop-hero-text { max-width: 690px; margin-top: 18px; color: #42564e; font-size: 16px; line-height: 1.55; }
.shop-hero-actions { margin-top: 20px; gap: 14px; }
.shop-button { min-height: 48px; padding: 11px 18px; font-size: 14px; }
.shop-button-primary { background: var(--shop-green); box-shadow: 0 12px 22px rgba(6,63,46,.18); color: #fff; }
.shop-button-primary:hover { background: var(--shop-green-soft); }
.shop-button-outline { border: 1px solid var(--shop-green); background: rgba(255,255,255,.42); color: var(--shop-green); }
.shop-button-outline:hover { background: #fff; }
.shop-button-drawn { width: 24px; height: 24px; margin: 0; border: 0; }
.shop-hero-points { display: grid; width: 100%; max-width: 680px; gap: 18px; margin-top: 22px; grid-template-columns: repeat(3, 1fr); }
.shop-hero-points > div { display: flex; align-items: center; gap: 10px; color: #3f5048; }
.shop-hero-points > div > span { color: var(--shop-gold); font-size: 29px; line-height: 1; }
.shop-hero-points strong { font-size: 11px; letter-spacing: .035em; line-height: 1.25; }

.shop-hero-script { position: absolute; z-index: 3; top: 54px; left: 18%; color: #fff; font-family: 'Segoe Script', cursive; font-size: clamp(28px, 2.5vw, 43px); font-weight: 600; line-height: 1.1; text-align: center; text-shadow: 0 4px 15px rgba(0,0,0,.25); transform: rotate(-6deg); }
.shop-hero-script::after { display: block; width: 95px; height: 6px; margin: 11px auto 0; border-radius: 50%; background: var(--shop-yellow); content: ''; transform: rotate(-7deg); }
.shop-hero-trust { position: absolute; z-index: 3; top: 64px; right: 5%; display: grid; width: 178px; gap: 24px; padding: 27px 22px; border: 1px solid rgba(255,255,255,.25); border-radius: 13px; background: rgba(3,55,40,.92); box-shadow: 0 18px 40px rgba(3,30,21,.25); color: #fff; }
.shop-hero-trust > div { display: flex; align-items: center; gap: 13px; }
.shop-hero-trust span { color: var(--shop-yellow); font-size: 24px; }
.shop-hero-trust strong { font-size: 10px; letter-spacing: .035em; line-height: 1.25; }

.shop-benefits { position: relative; z-index: 5; padding: 15px 0; border-bottom: 1px solid #e9e0d2; background: #fff; }
.shop-benefits-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, 1fr); }
.shop-benefits article { display: flex; min-height: 94px; align-items: center; gap: 15px; padding: 16px 19px; border: 1px solid #e5ddd0; border-radius: 14px; background: linear-gradient(135deg, #fff, #fbf8f2); box-shadow: 0 8px 20px rgba(48,43,31,.055); }
.shop-benefit-icon { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; border-radius: 14px; background: #fbefd8; color: #b37612; font-size: 21px; font-weight: 900; }
.shop-benefits strong { display: block; color: var(--shop-ink); font-size: 15px; }
.shop-benefits p { margin: 4px 0 0; color: var(--shop-muted); font-size: 13px; line-height: 1.4; }

.shop-products { padding: 34px 0 48px; background: #fbfaf6; }
#produtos,
#vantagens,
#sobre { scroll-margin-top: 70px; }
.shop-section-heading { display: grid; align-items: end; gap: 25px; margin-bottom: 16px; grid-template-columns: minmax(360px, 1fr) minmax(300px, .7fr) auto; }
.shop-section-heading .shop-overline { color: #b25834; font-size: 11px; letter-spacing: .25em; }
.shop-section-heading h2 { margin: 5px 0 0; color: var(--shop-ink); font-size: clamp(31px, 2.6vw, 43px); letter-spacing: -.055em; }
.shop-section-heading > p { max-width: 530px; margin: 0; font-size: 14px; line-height: 1.5; }
.shop-section-heading > button { padding: 10px 0; background: transparent; color: var(--shop-green); font-size: 13px; font-weight: 900; }
.shop-section-heading > button span { margin-left: 9px; color: #c67b24; }
.shop-product-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.store-product-card.shop-product-card { display: grid; min-height: 224px; padding: 0; overflow: hidden; border: 1px solid #e5ddd0; border-radius: 15px; background: #fff; box-shadow: 0 9px 24px rgba(45,55,45,.06); grid-template-columns: 42% 1fr; }
.store-product-card.shop-product-card::after { display: none; }
.store-product-card.shop-product-card:hover { box-shadow: 0 16px 34px rgba(30,54,40,.11); transform: translateY(-3px); }
.shop-product-media { position: relative; min-height: 224px; overflow: hidden; background: #f2e6d4; }
.shop-product-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 62%, rgba(255,255,255,.78)); content: ''; }
.shop-product-media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.product-card-1 .shop-product-media img { object-position: 59% center; }
.product-card-2 .shop-product-media img { object-position: 92% center; }
.product-card-3 .shop-product-media img { object-position: 51% bottom; }
.product-card-4 .shop-product-media img { object-position: 86% bottom; }
.shop-product-body { display: flex; min-width: 0; padding: 22px 17px 18px 5px; flex-direction: column; }
.shop-product-card small { color: #a45e30; font-size: 10px; letter-spacing: .09em; }
.shop-product-card h3 { margin: 5px 0 6px; font-size: 21px; }
.shop-product-card p { display: -webkit-box; margin: 0; overflow: hidden; color: var(--shop-muted); font-size: 13px; line-height: 1.45; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.store-product-meta { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 10px; }
.store-product-meta strong { font-size: 17px; }
.store-product-meta span { font-size: 10px; }
.shop-product-add { display: flex; min-height: 34px; align-items: center; justify-content: space-between; margin-top: 8px; padding: 0; border: 0; background: transparent; color: var(--shop-green); font-size: 12px; font-weight: 900; text-align: left; }
.shop-product-add > span { color: #cf7135; font-size: 18px; }
.store-product-card .shop-product-icon { position: absolute; z-index: 3; right: 13px; top: 13px; width: 40px; height: 40px; border: 1px solid #f1e4ce; border-radius: 12px; background: rgba(255,248,235,.92); color: #a96f22; }
.store-product-card .shop-product-icon svg { width: 24px; height: 24px; }
.store-product-card .shop-product-media img { object-position: center; }
.store-sold-out-badge { position: absolute; z-index: 4; top: 12px; left: 12px; padding: 7px 9px; border: 1px solid rgba(143, 49, 42, .18); border-radius: 999px; background: rgba(255, 244, 241, .94); color: #a43d35; font-size: 9px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; box-shadow: 0 4px 12px rgba(92, 41, 33, .1); }
.store-product-card.is-sold-out .shop-product-media img { filter: grayscale(.72); opacity: .52; }
.store-product-card.is-sold-out .shop-product-media::after { background: linear-gradient(90deg, rgba(248,247,243,.1) 35%, rgba(248,247,243,.94)); }
.store-product-meta span.is-sold-out { color: #a43d35; font-weight: 900; }
.store-product-card.is-sold-out .shop-product-add { cursor: not-allowed; color: #777d78; opacity: 1; }
.store-product-card.is-sold-out .shop-product-add > span { color: #a3a6a3; }

.shop-owner { padding: 0; border: 0; background: #f8f4eb; }
.shop-owner-grid { position: relative; display: grid; min-height: 350px; gap: 0; grid-template-columns: 25% 39% 23% 13%; }
.shop-owner-photo { height: 350px; border-radius: 0; box-shadow: none; }
.shop-owner-photo::after { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, #f8f4eb); content: ''; }
.shop-owner-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 24%; }
.shop-owner-copy { align-self: center; padding: 35px 42px; }
.shop-owner-copy .shop-overline { color: #b85a32; font-size: 10px; letter-spacing: .15em; }
.shop-owner-copy h2 { margin: 8px 0 12px; font-size: clamp(29px, 2.4vw, 41px); }
.shop-owner-copy h2 { color: var(--shop-ink); }
.shop-owner-copy p { margin: 0; color: var(--shop-muted); font-size: 14px; line-height: 1.65; }
.shop-text-link { margin-top: 17px; color: var(--shop-green); font-size: 13px; }
.shop-owner-values { display: grid; align-content: center; gap: 19px; padding: 32px 15px 32px 28px; border-left: 1px solid #ddcfb8; }
.shop-owner-values > div { display: flex; align-items: flex-start; gap: 13px; }
.shop-owner-values > div > span { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; border-radius: 50%; background: #f8e9ca; color: #a66d16; font-size: 21px; }
.shop-owner-values p,
.shop-owner-values strong,
.shop-owner-values small { display: block; margin: 0; }
.shop-owner-values strong { color: var(--shop-ink); font-size: 13px; }
.shop-owner-values small { margin-top: 4px; color: var(--shop-muted); font-size: 11px; line-height: 1.35; }
.shop-owner-script { align-self: center; color: var(--shop-green); font-family: 'Segoe Script', cursive; font-size: 26px; line-height: 1.15; text-align: center; transform: rotate(-7deg); }
.shop-owner-script strong { color: #a76d15; font-weight: 700; }

.shop-order { position: relative; z-index: 4; padding: 0; background: var(--shop-green-deep); }
.shop-order-card { display: grid; min-height: 98px; align-items: center; gap: 28px; padding: 18px 24px; border: 1px solid rgba(255,255,255,.58); border-radius: 16px; background: linear-gradient(100deg, #0a523c, #06392c); box-shadow: 0 17px 35px rgba(0,31,21,.2); color: #fff; grid-template-columns: minmax(370px, 1.1fr) minmax(400px, 1fr) auto; transform: translateY(-18px); }
.shop-order-lead { display: flex; align-items: center; gap: 17px; }
.shop-order-symbol { display: grid; flex: 0 0 54px; width: 54px; height: 54px; place-items: center; border-radius: 50%; background: #1fc879; box-shadow: inset 0 0 0 6px rgba(255,255,255,.16); font-size: 25px; }
.shop-order-lead h2 { margin: 0; color: #fff; font-size: 21px; letter-spacing: -.03em; }
.shop-order-lead p { margin: 4px 0 0; color: rgba(255,255,255,.72); font-size: 12px; line-height: 1.45; }
.shop-order-assurances { display: flex; align-items: center; justify-content: space-around; gap: 24px; color: rgba(255,255,255,.75); font-size: 11px; }
.shop-order-assurances span { white-space: nowrap; }
.shop-order-cta { width: auto; margin: 0; background: var(--shop-yellow); color: var(--shop-ink); box-shadow: none; }
.shop-order-cta:hover { background: #ffd56e; }

.shop-footer { padding: 24px 0 10px; background: var(--shop-green-deep); color: #fff; }
.shop-footer-grid { display: grid; align-items: center; gap: 30px; padding: 0 0 22px; grid-template-columns: 1.2fr .7fr .9fr 1fr auto; }
.shop-brand-footer { color: #fff; }
.shop-brand-footer .shop-brand-mark { border: 0; background: var(--shop-yellow); }
.shop-footer-motto { margin: 0; padding-left: 25px; border-left: 1px solid rgba(255,255,255,.15); color: #d9d5a6; font-size: 12px; line-height: 1.4; }
.shop-footer-service { display: flex; align-items: center; gap: 11px; color: var(--shop-yellow); }
.shop-footer-service p,
.shop-footer-service small,
.shop-footer-service strong { display: block; margin: 0; }
.shop-footer-service p { color: #fff; }
.shop-footer-service small { color: rgba(255,255,255,.55); font-size: 10px; }
.shop-footer-service strong { margin-top: 2px; font-size: 12px; }
.shop-footer nav { display: flex; flex-wrap: wrap; gap: 14px; }
.shop-footer nav a { color: rgba(255,255,255,.72); font-size: 11px; }
.shop-footer-admin { min-height: 38px; padding: 8px 13px; font-size: 11px; }
.shop-footer-bottom { padding: 12px 0 0; border-top: 1px solid rgba(255,255,255,.1); }
.shop-footer-bottom p { color: rgba(255,255,255,.5); font-size: 10px; }

.store-cart-fab { border-color: rgba(255,201,79,.7); background: var(--shop-green-deep); }
.store-cart-fab-icon { background: var(--shop-yellow); }
.store-cart-header { background: linear-gradient(120deg, var(--shop-green-deep), var(--shop-green-soft)); }
.store-cart-line div > strong,
.store-cart-line > strong,
.store-cart-total span,
.store-form-heading strong { font-size: 14px; }
.store-cart-line div > small,
.store-order-form label > span,
.store-order-feedback { font-size: 12px; }
.store-order-form input,
.store-order-form select,
.store-order-form textarea { font-size: 14px; }
.store-order-submit span { font-size: 13px; }

@media (max-width: 1280px) {
  .shop-landing .landing-shell { width: min(1180px, calc(100% - 52px)); }
  .shop-nav-message { display: none; }
  .shop-hero-trust { right: 3%; width: 155px; padding: 22px 16px; }
  .shop-hero-script { left: 12%; }
  .shop-product-grid { grid-template-columns: repeat(2, 1fr); }
  .store-product-card.shop-product-card { min-height: 205px; }
  .shop-product-media { min-height: 205px; }
  .shop-owner-grid { grid-template-columns: 28% 44% 28%; }
  .shop-owner-script { display: none; }
  .shop-order-card { grid-template-columns: 1.2fr 1fr auto; }
  .shop-order-assurances span:last-child { display: none; }
}

@media (max-width: 980px) {
  .shop-links { display: none; }
  .shop-header-order { display: inline-flex; margin-left: auto; }
  .shop-mobile-account { display: inline-flex; color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; }
  .shop-hero { min-height: 830px; }
  .shop-hero-visual { inset: auto 0 0; height: 350px; }
  .shop-hero-visual::before { background: linear-gradient(180deg, #f8f4ea 0%, transparent 22%); }
  .shop-hero-layout { min-height: 480px; }
  .shop-hero-content { min-height: 480px; width: 100%; max-width: 760px; padding: 48px 0 38px; }
  .shop-hero h1 { max-width: 760px; }
  .shop-hero-script { top: 52px; left: 8%; }
  .shop-hero-trust { top: 50px; }
  .shop-benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-section-heading { grid-template-columns: 1fr auto; }
  .shop-section-heading > p { grid-column: 1 / -1; grid-row: 2; }
  .shop-owner-grid { grid-template-columns: 38% 62%; }
  .shop-owner-values { display: none; }
  .shop-order-card { grid-template-columns: 1fr auto; }
  .shop-order-assurances { display: none; }
  .shop-footer-grid { grid-template-columns: 1.3fr 1fr auto; }
  .shop-footer-motto,
  .shop-footer nav { display: none; }
}

@media (max-width: 680px) {
  .shop-landing .landing-shell { width: calc(100% - 28px); }
  .shop-nav,
  .shop-header.landing-header.is-scrolled .shop-nav { min-height: 66px; gap: 10px; }
  .shop-brand-mark { width: 39px; height: 39px; font-size: 12px; }
  .shop-brand strong { font-size: 15px; }
  .shop-brand small { display: none; }
  .shop-header-order { min-height: 40px; padding: 8px 13px; font-size: 11px; }
  .shop-header-order .shop-drawn-icon { display: none; }
  .shop-hero { min-height: 860px; margin-top: 66px; }
  .shop-hero-layout { min-height: 550px; }
  .shop-hero-content { min-height: 550px; padding: 41px 0 33px; }
  .shop-eyebrow { margin-bottom: 13px; font-size: 10px; letter-spacing: .21em; }
  .shop-hero h1 { font-size: clamp(39px, 12vw, 53px); }
  .shop-hero-text { font-size: 15px; }
  .shop-hero-actions { display: grid; width: 100%; grid-template-columns: 1fr; }
  .shop-button { width: 100%; }
  .shop-hero-points { gap: 8px; }
  .shop-hero-points > div { align-items: flex-start; gap: 5px; flex-direction: column; }
  .shop-hero-points > div > span { font-size: 22px; }
  .shop-hero-points strong { font-size: 9px; }
  .shop-hero-visual { height: 310px; }
  .shop-hero-image { object-position: 64% center; }
  .shop-hero-trust { display: none; }
  .shop-hero-script { top: 34px; left: 22px; font-size: 27px; text-align: left; }
  .shop-benefits-grid { grid-template-columns: 1fr; }
  .shop-benefits article { min-height: 82px; }
  .shop-products { padding: 34px 0 42px; }
  .shop-section-heading { display: block; }
  .shop-section-heading > p { margin-top: 12px; }
  .shop-section-heading > button { margin-top: 8px; }
  .shop-product-grid { grid-template-columns: 1fr; }
  .store-product-card.shop-product-card { min-height: 205px; grid-template-columns: 40% 1fr; }
  .shop-owner-grid { display: block; }
  .shop-owner-photo { height: 360px; }
  .shop-owner-photo::after { background: linear-gradient(180deg, transparent 72%, #f8f4eb); }
  .shop-owner-copy { padding: 22px 6px 42px; }
  .shop-order-card { min-height: 0; padding: 20px; grid-template-columns: 1fr; transform: translateY(-12px); }
  .shop-order-cta { width: 100%; }
  .shop-footer { padding-top: 25px; }
  .shop-footer-grid { grid-template-columns: 1fr auto; }
  .shop-footer-service { display: none; }
  .shop-footer-bottom { display: block; }
  .shop-footer-bottom p { margin: 5px 0; }
}

/* Desconto flexível e catálogo ampliado */
.pdv-discount-flex {
  display: grid;
  align-items: center;
  gap: 7px;
  grid-template-columns: 68px minmax(90px, 1fr);
}
.pdv-discount-flex select,
.pdv-discount-flex input { width: 100%; min-height: 40px; }
.route-discount-fields { margin-top: 14px; grid-template-columns: 1fr; }
.product-category-ovos .shop-product-media img { object-position: 59% center; }
.product-category-doces-e-balas .shop-product-media img { object-position: 72% bottom; }
.product-category-bebidas-alcoolicas .shop-product-media img,
.product-category-bebidas .shop-product-media img,
.product-category-energeticos .shop-product-media img { object-position: 93% center; }

/* Painel do proprietário — direção visual comercial verde e dourada */
body.is-authenticated {
  --topbar-height: 64px;
  --sidebar-width: 246px;
  background: #f8f6ef;
  color: #17362a;
}

body.is-authenticated #topbar {
  height: var(--topbar-height);
  padding: 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .11);
  background: linear-gradient(96deg, #0c4d38, #07513a 62%, #073d2d);
  box-shadow: 0 7px 22px rgba(8, 55, 40, .14);
}

body.is-authenticated #topbar .brand { width: calc(var(--sidebar-width) - 8px); gap: 11px; }
body.is-authenticated #topbar .logo-mark { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #f4c64f; box-shadow: none; color: #123f2d; font-size: 14px; }
body.is-authenticated #topbar .brand-name { color: #fff; font-size: 17px; }
body.is-authenticated #topbar .brand-sub { color: rgba(255, 255, 255, .63); font-size: 9px; letter-spacing: .13em; }
body.is-authenticated #topbar .top-actions { justify-content: flex-start; gap: 11px; }
body.is-authenticated #topbar .quick-search { width: min(520px, 42vw); margin-right: auto; }
body.is-authenticated #topbar .quick-search input { height: 42px; padding-left: 45px; border-color: rgba(255, 255, 255, .18); border-radius: 11px; background: rgba(255, 255, 255, .1); color: #fff; font-size: 13px; }
body.is-authenticated #topbar .quick-search input::placeholder { color: rgba(255, 255, 255, .72); }
body.is-authenticated #topbar .quick-search kbd { right: 9px; border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.08); color: rgba(255,255,255,.8); }
body.is-authenticated #topbar .server-status { min-width: 218px; height: 42px; padding: 5px 9px; border-color: rgba(255,255,255,.16); border-radius: 11px; background: rgba(3, 44, 31, .24); }
body.is-authenticated #topbar .server-copy { min-width: 105px; }
body.is-authenticated #topbar .server-copy span:first-child { color: #fff; font-size: 10px; font-weight: 800; }
body.is-authenticated #topbar .server-copy span:last-child { color: rgba(255,255,255,.63); font-size: 8px; }
body.is-authenticated #topbar .status-dot { background: #36d68c; box-shadow: 0 0 0 5px rgba(54,214,140,.12); }
body.is-authenticated #topbar .pill.online { border-color: rgba(244,198,79,.26); background: rgba(244,198,79,.09); color: #f8c84d; }
body.is-authenticated #sync-button { height: 42px; padding: 0 14px; border-color: rgba(255,255,255,.16); border-radius: 11px; background: rgba(255,255,255,.07); color: #fff; font-size: 11px; }
body.is-authenticated #sync-button span { font-size: 17px; }

.owner-notification { position: relative; display: grid; width: 39px; height: 39px; place-items: center; padding: 0; border: 0; border-left: 1px solid rgba(255,255,255,.15); border-radius: 0; background: transparent; color: #fff; }
.owner-notification svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.owner-notification i { position: absolute; top: 4px; right: 3px; width: 8px; height: 8px; border: 2px solid #07513a; border-radius: 50%; background: #f5b82f; }

body.is-authenticated #user-chip { min-width: 140px; height: 48px; gap: 9px; padding: 4px 8px 4px 4px; border: 0; background: transparent; color: #fff; }
.owner-user-avatar { display: grid; width: 37px; height: 37px; flex: 0 0 37px; place-items: center; overflow: hidden; border: 2px solid rgba(255,255,255,.72); border-radius: 50%; background: #f4c64f; color: #173f2a; font-size: 11px; font-weight: 900; }
.owner-user-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.owner-user-copy { min-width: 0; flex: 1; }
.owner-user-copy strong, .owner-user-copy small { display: block; overflow: hidden; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.owner-user-copy strong { color: #fff; font-size: 12px; }
.owner-user-copy small { margin-top: 1px; color: rgba(255,255,255,.67); font-size: 8px; text-transform: capitalize; }
body.is-authenticated #user-chip > b { color: rgba(255,255,255,.75); font-size: 13px; }
body.is-authenticated #logout-btn { min-width: 0; height: 34px; padding: 0 9px; border-color: rgba(255,255,255,.13); background: transparent; color: rgba(255,255,255,.72); font-size: 9px; }

body.is-authenticated #layout { background: #f8f6ef; grid-template-columns: var(--sidebar-width) minmax(0, 1fr); }
body.is-authenticated #sidebar { padding: 20px 14px 14px; border-right: 1px solid #e4dfd2; background: rgba(255,255,255,.74); backdrop-filter: none; }
body.is-authenticated #sidebar nav { gap: 2px; padding-right: 2px; }
body.is-authenticated .nav-heading { margin-top: 13px; padding: 0 9px 7px; color: #7c887f; font-size: 8px; letter-spacing: .14em; }
body.is-authenticated .nav-heading:first-child { margin-top: 0; }
body.is-authenticated .nav-link { min-height: 39px; gap: 10px; padding: 7px 10px; border-radius: 9px; color: #52635c; font-size: 11px; font-weight: 700; }
body.is-authenticated .nav-link::before { display: none; }
body.is-authenticated .nav-link::after { display: none; }
body.is-authenticated .owner-nav-icon { display: grid; width: 22px; height: 22px; flex: 0 0 22px; place-items: center; color: #445d52; }
body.is-authenticated .owner-nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.65; }
body.is-authenticated .nav-link:hover { background: rgba(244,198,79,.09); color: #174a36; transform: none; }
body.is-authenticated .nav-link.active { border-color: #ecd99e; background: linear-gradient(100deg, #fff9e9, #fbf0cd); color: #173f2a; box-shadow: 0 5px 15px rgba(119,93,26,.05); }
body.is-authenticated .nav-link.active .owner-nav-icon { color: #cf8b08; }
body.is-authenticated .nav-link.active::after { display: block; top: 13px; right: 9px; bottom: auto; width: 7px; height: 7px; border-top: 1.5px solid #c7830a; border-right: 1.5px solid #c7830a; border-radius: 0; background: transparent; transform: rotate(45deg); }
body.is-authenticated .nav-order-count { margin-left: auto; padding: 2px 7px; border-radius: 7px; background: #f4c64f; color: #694504; font-size: 9px; }

body.is-authenticated .sidebar-footer { position: relative; display: block; min-height: 136px; margin: 13px 0 0; padding: 13px; overflow: hidden; border: 1px solid #e6dfcf; border-radius: 12px; background: linear-gradient(150deg, rgba(243,239,224,.98), rgba(238,232,211,.9)); }
body.is-authenticated .sidebar-footer::after { position: absolute; right: -34px; bottom: -20px; width: 150px; height: 92px; background: url('img/campanha-produtos-selecionados.png') 73% center/cover; content: ''; opacity: .38; filter: saturate(.75); }
.sidebar-footer-brand { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; }
body.is-authenticated .sidebar-footer-icon { width: 31px; height: 31px; border-radius: 9px; background: #0b4a36; color: #f4c64f; font-size: 9px; }
body.is-authenticated .sidebar-footer strong { color: #183c2e; font-size: 9px; }
body.is-authenticated .sidebar-footer div > span { color: #6f7b75; font-size: 7px; text-transform: uppercase; }
body.is-authenticated .sidebar-footer p { position: relative; z-index: 1; width: 105px; margin: 20px 0 0; color: #174a36; font-family: Georgia, serif; font-size: 15px; font-style: italic; line-height: 1.1; transform: rotate(-4deg); }

body.is-authenticated main#app { padding: 23px clamp(20px, 2.2vw, 34px) 42px; background: radial-gradient(circle at 72% 0, rgba(244,198,79,.1), transparent 25rem), #f8f6ef; }
.owner-dashboard { max-width: 1510px; margin: 0 auto; color: #183a2e; }
.owner-dashboard button { font: inherit; }
.owner-dashboard-hero { position: relative; display: grid; min-height: 91px; align-items: start; grid-template-columns: minmax(320px, 1fr) minmax(310px, 340px) 320px; gap: 20px; overflow: hidden; }
.owner-welcome { position: relative; z-index: 2; padding-top: 2px; }
.owner-welcome .eyebrow { color: #ba7709; font-size: 9px; }
.owner-welcome h1 { margin: 5px 0 1px; color: #0d2c23; font-size: clamp(29px, 3vw, 39px); letter-spacing: -.055em; line-height: 1; }
.owner-welcome p { margin: 6px 0 0; color: #68776f; font-size: 13px; }
.owner-date-card { position: relative; z-index: 2; display: flex; min-height: 58px; align-items: center; gap: 11px; padding: 10px 13px; border: 1px solid #e5dfd4; border-radius: 12px; background: rgba(255,255,255,.9); box-shadow: 0 7px 22px rgba(63,55,37,.05); text-transform: capitalize; }
.owner-date-card > span { display: grid; width: 35px; height: 35px; flex: 0 0 35px; place-items: center; border-radius: 9px; background: #fff6da; color: #d78f10; }
.owner-date-card svg { width: 20px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.owner-date-card div { flex: 1; min-width: 0; }
.owner-date-card strong, .owner-date-card small { display: block; }
.owner-date-card strong { color: #243f34; font-size: 11px; }
.owner-date-card small { margin-top: 2px; color: #7c877f; font-size: 8px; text-transform: none; }
.owner-date-card > b { color: #27473a; font-size: 20px; font-weight: 400; }
.owner-hero-art { position: absolute; top: -23px; right: 0; width: 390px; height: 125px; overflow: hidden; opacity: .96; pointer-events: none; }
.owner-hero-art::before { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, #f8f6ef 0, transparent 31%, transparent 83%, #f8f6ef 100%); content: ''; }
.owner-hero-art img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 63%; mix-blend-mode: multiply; }

.owner-metrics { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.owner-metrics-primary { margin-top: 9px; }
.owner-metrics-secondary { margin-top: 12px; }
.owner-metric-card { position: relative; display: grid; min-width: 0; min-height: 105px; grid-template-columns: 47px minmax(0,1fr) 14px; align-items: start; gap: 11px; padding: 13px; border: 1px solid #e3ded2; border-radius: 13px; background: #fff; box-shadow: 0 7px 20px rgba(54,47,33,.045); color: #193c2e; text-align: left; transition: transform .16s ease, box-shadow .16s ease; }
.owner-metrics-secondary .owner-metric-card { min-height: 90px; }
.owner-metric-card:hover { transform: translateY(-2px); box-shadow: 0 13px 27px rgba(54,47,33,.08); }
.owner-metric-icon { display: grid; width: 43px; height: 43px; place-items: center; border-radius: 11px; background: #e1f5eb; color: #169766; }
.owner-metric-icon svg, .owner-panel-title-icon svg, .owner-action-list svg, .owner-restock-list button svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.tone-gold .owner-metric-icon { background: #fff3d4; color: #c98409; }
.tone-red .owner-metric-icon { background: #ffe7e7; color: #e1474a; }
.tone-purple .owner-metric-icon { background: #eee8ff; color: #7b4bd7; }
.owner-metric-copy { min-width: 0; }
.owner-metric-copy small, .owner-metric-copy strong, .owner-metric-copy em { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-metric-copy small { color: #51645b; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.owner-metric-copy strong { margin-top: 7px; color: #0e3427; font-size: clamp(20px, 2vw, 25px); letter-spacing: -.045em; line-height: 1; }
.owner-metric-copy em { margin-top: 7px; color: #748078; font-size: 9px; font-style: normal; }
.owner-metric-arrow { color: #24483a; font-size: 23px; line-height: 1; }
.owner-goal-card .owner-metric-copy i { display: block; height: 6px; margin-top: 7px; overflow: hidden; border-radius: 999px; background: #f7e9bb; }
.owner-goal-card .owner-metric-copy u { display: block; height: 100%; border-radius: inherit; background: #e4a817; text-decoration: none; }

.owner-dashboard-main { display: grid; margin-top: 13px; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .93fr) minmax(275px, .78fr); gap: 12px; }
.owner-dashboard-bottom { display: grid; margin-top: 12px; grid-template-columns: minmax(0, 1.24fr) minmax(0, 1.08fr) minmax(250px, .76fr); gap: 12px; }
.owner-panel { min-width: 0; padding: 13px; overflow: hidden; border: 1px solid #e3ded2; border-radius: 13px; background: #fff; box-shadow: 0 7px 20px rgba(54,47,33,.045); }
.owner-panel > header { display: flex; min-height: 36px; align-items: flex-start; justify-content: space-between; gap: 12px; }
.owner-panel > header > div { display: flex; min-width: 0; align-items: center; gap: 9px; }
.owner-panel h2, .owner-panel p { margin: 0; }
.owner-panel h2 { color: #142f26; font-size: 14px; letter-spacing: -.025em; }
.owner-panel header p { margin-top: 2px; color: #7a857f; font-size: 9px; }
.owner-panel-title-icon { display: grid; width: 27px; height: 27px; flex: 0 0 27px; place-items: center; color: #08714e; }
.owner-panel-title-icon svg { width: 21px; height: 21px; }
.owner-panel-title-icon.danger { color: #e44747; }
.owner-panel > header > button, .owner-select-chip { padding: 7px 10px; border: 1px solid #e4ded2; border-radius: 8px; background: #fff; color: #27483a; font-size: 9px; font-weight: 700; }
.owner-panel > header > button b { margin-left: 5px; }

.owner-bar-chart { position: relative; display: grid; height: 166px; align-items: end; grid-template-columns: repeat(7, 1fr); gap: 12px; margin-top: 13px; padding: 17px 4px 30px; border-bottom: 1px solid #e9e5dd; background: repeating-linear-gradient(to bottom, transparent 0, transparent 32px, #ece8df 33px); }
.owner-bar-column { display: flex; height: 118px; min-width: 0; align-items: center; flex-direction: column; justify-content: flex-end; }
.owner-bar-column > strong { margin-bottom: 4px; color: #27473a; font-size: 8px; white-space: nowrap; }
.owner-bar-column > span { width: min(42px, 72%); min-height: 7px; border-radius: 5px 5px 1px 1px; background: linear-gradient(#c5e8d1, #acd9bb); }
.owner-bar-column > span.today { background: linear-gradient(#0b714f, #07553d); }
.owner-bar-column > small { display: block; margin-top: 5px; color: #5c6d64; font-size: 8px; text-align: center; }
.owner-bar-column > small b { display: block; margin-top: 1px; color: #929a95; font-size: 7px; font-weight: 500; }

.owner-channel-content { display: grid; min-height: 174px; align-items: center; grid-template-columns: 128px 1fr; gap: 15px; }
.owner-donut { position: relative; display: grid; width: 122px; height: 122px; place-items: center; border-radius: 50%; background: conic-gradient(#07553d 0 var(--site), #e9ac24 var(--site) var(--route), #ecdfbd var(--route) 360deg); }
.owner-donut::before { width: 78px; height: 78px; border-radius: 50%; background: #fff; content: ''; }
.owner-donut > span { position: absolute; color: #18382c; font-size: 9px; text-align: center; }
.owner-donut > span strong { display: block; font-size: 22px; line-height: 1; }
.owner-channel-legend p { display: grid; margin: 11px 0; grid-template-columns: 9px 1fr auto; align-items: center; gap: 7px; color: #607067; font-size: 9px; }
.owner-channel-legend i { width: 9px; height: 9px; border-radius: 50%; background: #07553d; }
.owner-channel-legend i.route { background: #e9ac24; }
.owner-channel-legend i.pdv { background: #ecdfbd; }
.owner-channel-legend b { color: #18382c; }

.owner-action-list { display: grid; gap: 7px; margin-top: 10px; }
.owner-action-list button { display: grid; min-height: 38px; grid-template-columns: 24px 1fr 14px; align-items: center; gap: 7px; padding: 7px 11px; border: 1px solid #e4ded2; border-radius: 9px; background: #fff; color: #223f34; text-align: left; }
.owner-action-list button svg { width: 18px; height: 18px; }
.owner-action-list button span { font-size: 10px; font-weight: 800; }
.owner-action-list button b { font-size: 18px; font-weight: 400; }
.owner-action-list button.gold { border-color: #e5a90e; background: linear-gradient(120deg, #f7c948, #edb82d); color: #1e3b30; }
.owner-action-list button.green { border-color: #0c5b42; background: linear-gradient(120deg, #0e6649, #064c37); color: #fff; }

.owner-alert-panel, .owner-restock-panel, .owner-brand-card { min-height: 236px; }
.owner-product-list { margin-top: 6px; }
.owner-product-list > button { display: grid; width: 100%; min-height: 39px; grid-template-columns: 35px minmax(0, 1fr) 48px 74px 10px; align-items: center; gap: 7px; padding: 3px 1px; border: 0; border-top: 1px solid #efebe4; background: transparent; color: #18382c; text-align: left; }
.owner-product-list > button:first-child { border-top: 0; }
.owner-product-thumb { display: grid; width: 33px; height: 33px; place-items: center; overflow: hidden; border-radius: 8px; background: #fff8e6; color: #cb8509; }
.owner-product-thumb svg { width: 27px; height: 27px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.7; }
.owner-product-list span strong, .owner-product-list span small, .owner-restock-list span strong, .owner-restock-list span small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.owner-product-list span strong, .owner-restock-list span strong { color: #203e33; font-size: 9px; }
.owner-product-list span small, .owner-restock-list span small { margin-top: 2px; color: #829087; font-size: 7px; }
.owner-product-list em { padding: 4px 6px; border-radius: 999px; background: #ffe4e4; color: #db4548; font-size: 8px; font-style: normal; font-weight: 800; text-align: center; }
.owner-product-list u { color: #db4548; font-size: 8px; text-decoration: none; }
.owner-product-list > button > b { color: #315044; font-size: 16px; font-weight: 400; }

.owner-restock-list { margin-top: 7px; }
.owner-restock-list > div { display: grid; min-height: 44px; grid-template-columns: 35px minmax(0,1fr) 72px 30px; align-items: center; gap: 7px; padding: 4px 0; border-top: 1px solid #efebe4; }
.owner-restock-list > div:first-child { border-top: 0; }
.owner-restock-list em { padding: 5px 7px; border-radius: 8px; background: #e5f4e9; color: #14724e; font-size: 9px; font-style: normal; font-weight: 800; }
.owner-restock-list em small { display: block; color: #70887b; font-size: 6px; font-weight: 600; }
.owner-restock-list button { display: grid; width: 28px; height: 28px; place-items: center; padding: 0; border: 0; border-radius: 7px; background: #e5f4e9; color: #14724e; }
.owner-restock-list button svg { width: 15px; height: 15px; }
.owner-generated-suggestions { margin-top: 4px; }
.owner-empty-state { padding: 30px 12px; color: #7a857f; font-size: 10px; text-align: center; }

.owner-brand-card { position: relative; padding: 14px; overflow: hidden; border-radius: 13px; background: #153f2f; color: #fff; box-shadow: 0 8px 22px rgba(14,54,39,.16); }
.owner-brand-card::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,52,37,.98) 0, rgba(11,52,37,.85) 42%, rgba(11,52,37,.16) 100%); content: ''; }
.owner-brand-card > img { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center; }
.owner-brand-card > div, .owner-brand-card > p, .owner-brand-card > footer { position: relative; z-index: 1; }
.owner-brand-card > div { display: grid; grid-template-columns: 31px 1fr; gap: 8px; align-items: center; }
.owner-brand-card .logo-mark { grid-row: span 2; width: 31px; height: 31px; border: 0; border-radius: 50%; background: #f4c64f; color: #163e2f; font-size: 9px; }
.owner-brand-card > div strong, .owner-brand-card > div small { display: block; }
.owner-brand-card > div strong { font-size: 10px; }
.owner-brand-card > div small { color: rgba(255,255,255,.67); font-size: 6px; letter-spacing: .1em; text-transform: uppercase; }
.owner-brand-card > p { width: 130px; margin: 24px 0 0; font-family: Georgia, serif; font-size: 24px; font-style: italic; line-height: .95; transform: rotate(-5deg); }
.owner-brand-card > footer { position: absolute; right: 12px; bottom: 11px; left: 12px; display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; }
.owner-brand-card > footer span { color: rgba(255,255,255,.78); font-size: 6px; font-weight: 700; text-align: center; text-transform: uppercase; }

@media (max-width: 1320px) {
  body.is-authenticated #topbar .server-status { min-width: 175px; }
  body.is-authenticated #topbar .quick-search { width: min(440px, 35vw); }
  .owner-dashboard-hero { grid-template-columns: minmax(300px, 1fr) 310px; }
  .owner-hero-art { display: none; }
  .owner-dashboard-main { grid-template-columns: minmax(0, 1.5fr) minmax(290px, 1fr); }
  .owner-actions-panel { grid-column: 1 / -1; }
  .owner-action-list { grid-template-columns: repeat(4, 1fr); }
  .owner-dashboard-bottom { grid-template-columns: 1fr 1fr; }
  .owner-brand-card { grid-column: 1 / -1; min-height: 190px; }
}

@media (max-width: 1080px) {
  body.is-authenticated #topbar .server-status, body.is-authenticated #sync-button, .owner-notification { display: none; }
  .owner-metrics { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .owner-dashboard-main { grid-template-columns: 1fr; }
  .owner-actions-panel { grid-column: auto; }
  .owner-action-list { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  body.is-authenticated #layout { grid-template-columns: minmax(0,1fr); }
  body.is-authenticated #sidebar { background: #fffdf8; }
  body.is-authenticated #topbar .brand { width: auto; }
  body.is-authenticated #topbar .quick-search { width: auto; }
  .owner-dashboard-hero { grid-template-columns: 1fr 300px; }
}

@media (max-width: 720px) {
  body.is-authenticated #topbar { height: 58px; padding: 0 10px; }
  body.is-authenticated { --topbar-height: 58px; }
  body.is-authenticated #topbar .quick-search { min-width: 0; }
  body.is-authenticated #topbar #logout-btn { display: inline-flex !important; }
  body.is-authenticated main#app { padding: 18px 12px 32px; }
  .owner-dashboard-hero { display: block; min-height: 140px; }
  .owner-date-card { margin-top: 16px; }
  .owner-welcome h1 { font-size: 31px; }
  .owner-welcome p { font-size: 11px; }
  .owner-metric-card { min-height: 96px; padding: 11px; grid-template-columns: 39px minmax(0,1fr) 10px; gap: 9px; }
  .owner-metric-icon { width: 38px; height: 38px; }
  .owner-metric-icon svg { width: 20px; }
  .owner-metric-copy strong { font-size: 19px; }
  .owner-metric-copy em { font-size: 8px; }
  .owner-dashboard-bottom { grid-template-columns: 1fr; }
  .owner-brand-card { grid-column: auto; }
  .owner-action-list { grid-template-columns: 1fr; }
  .owner-channel-content { grid-template-columns: 128px 1fr; }
}

@media (max-width: 520px) {
  body.is-authenticated #topbar .quick-search { display: none; }
  body.is-authenticated #topbar .top-actions { justify-content: flex-end; }
  .owner-metrics { grid-template-columns: 1fr; }
  .owner-metric-card { min-height: 88px; }
  .owner-bar-chart { gap: 4px; }
  .owner-bar-column > strong { display: none; }
  .owner-bar-column > span { width: 72%; }
  .owner-channel-content { grid-template-columns: 1fr; justify-items: center; }
  .owner-channel-legend { width: min(100%, 220px); }
  .owner-product-list > button { grid-template-columns: 35px minmax(0,1fr) 43px 9px; }
  .owner-product-list u { display: none; }
}

/* Pagamento online e assinaturas */
.store-payment-options { display: grid; margin: 5px 0 0; padding: 0; border: 0; gap: 9px; }
.store-payment-options legend { margin-bottom: 4px; color: #234437; font-size: 12px; font-weight: 800; }
.store-payment-options > label { position: relative; display: grid; min-height: 62px; grid-template-columns: 20px 1fr; align-items: center; gap: 9px; padding: 10px 12px; border: 1px solid #ddd8cd; border-radius: 11px; background: #fff; cursor: pointer; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.store-payment-options > label:hover { border-color: #c79d34; box-shadow: 0 6px 16px rgba(38,61,49,.08); transform: translateY(-1px); }
.store-payment-options > label:has(input:checked) { border-color: #0b694b; background: #f2faf6; box-shadow: 0 0 0 2px rgba(11,105,75,.09); }
.store-payment-options input { width: 16px; height: 16px; accent-color: #0b694b; }
.store-payment-options strong, .store-payment-options small { display: block; }
.store-payment-options strong { color: #183d30; font-size: 12px; }
.store-payment-options small { margin-top: 2px; color: #6d7972; font-size: 10px; line-height: 1.35; }
.store-payment-options > label.is-disabled { opacity: .55; cursor: not-allowed; filter: grayscale(.25); }
.store-payment-options > label.is-disabled:hover { border-color: #ddd8cd; box-shadow: none; transform: none; }
.store-payment-hint { margin: 0; color: #5f6e66; font-size: 10px; line-height: 1.45; }
.store-payment-security, .store-payment-pending { display: grid; grid-template-columns: 27px 1fr; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; }
.store-payment-security { border: 1px solid #cfe8d9; background: #f1faf5; color: #0e694b; }
.store-payment-security > span { display: grid; width: 25px; height: 25px; place-items: center; border-radius: 50%; background: #d8f0e2; font-weight: 900; }
.store-payment-security p { margin: 0; }
.store-payment-security strong, .store-payment-security small, .store-payment-pending strong, .store-payment-pending span { display: block; }
.store-payment-security strong, .store-payment-pending strong { font-size: 10px; }
.store-payment-security small, .store-payment-pending span { margin-top: 2px; font-size: 9px; line-height: 1.35; }
.store-payment-pending { grid-template-columns: 1fr; border: 1px solid #ead8a7; background: #fff8e6; color: #77591c; }
#store-email-field small { color: #89928d; font-size: 8px; font-weight: 500; }
#store-email-field.is-required > span::after { color: #b2513f; content: ' *'; }
.store-payment-return.status-failure .store-success-icon { background: #ffe3df; color: #b33c2e; }
.store-payment-return.status-pending .store-success-icon { background: #fff0c5; color: #a96c00; }

.site-order-contact em.payment-status { margin-top: 4px; }
.payment-status { display: inline-flex; width: max-content; align-items: center; padding: 4px 8px; border-radius: 999px; font-size: 9px; font-style: normal; font-weight: 800; white-space: nowrap; }
.payment-status.tone-success { background: #dbf2e4; color: #087149; }
.payment-status.tone-warning { background: #fff0c8; color: #946000; }
.payment-status.tone-danger { background: #ffe3e0; color: #bd3f36; }
.payment-status.tone-muted { background: #e9eeeb; color: #607068; }

.online-payments-view { display: grid; gap: 16px; }
.payment-connection { display: grid; grid-template-columns: 12px 1fr; align-items: center; gap: 11px; padding: 13px 16px; border: 1px solid #e0ded7; border-radius: 13px; background: #fff; }
.payment-connection > span { width: 10px; height: 10px; border-radius: 50%; background: #d69b18; box-shadow: 0 0 0 5px rgba(214,155,24,.12); }
.payment-connection.is-connected > span { background: #12a36d; box-shadow: 0 0 0 5px rgba(18,163,109,.12); }
.payment-connection strong, .payment-connection small { display: block; }
.payment-connection strong { color: #193e31; font-size: 12px; }
.payment-connection small { margin-top: 2px; color: #758079; font-size: 10px; }
.payment-connect-card { display: grid; grid-template-columns: minmax(220px,.8fr) minmax(330px,1.25fr) minmax(210px,.7fr); gap: 18px; padding: 20px; border: 1px solid #e4d7b6; border-radius: 14px; background: linear-gradient(135deg,#fffdf7,#fff8e8); box-shadow: 0 8px 25px rgba(50,62,43,.06); }
.payment-connect-copy h2 { margin: 4px 0 7px; color: #173d30; font-size: 20px; }
.payment-connect-copy p { margin: 0; color: #65746b; font-size: 10px; line-height: 1.55; }
.payment-connect-card form { display: grid; gap: 10px; }
.payment-connect-card form label span { display: block; margin-bottom: 4px; color: #294a3e; font-size: 9px; font-weight: 800; }
.payment-connect-card form input { width: 100%; min-height: 42px; border: 1px solid #d8d8d1; border-radius: 9px; background: #fff; }
.payment-connect-card form button { min-height: 42px; }
#payment-connect-feedback { min-height: 15px; margin: 0; color: #9b4b39; font-size: 9px; }
.payment-connect-help { display: flex; align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding: 13px; border-radius: 11px; background: rgba(16,82,59,.06); color: #52665b; }
.payment-connect-help strong { color: #173d30; font-size: 10px; }
.payment-connect-help span { font-size: 9px; line-height: 1.45; }
.payment-connect-help code { padding: 2px 4px; border-radius: 4px; background: #fff; color: #0a6446; font-size: 8px; }
.payment-connect-help a { color: #0b694b; font-size: 9px; font-weight: 800; text-decoration: none; }
.online-payment-kpis { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.online-payment-kpis article { padding: 16px; border: 1px solid #e5e1d8; border-radius: 13px; background: linear-gradient(145deg,#fff,#fbfaf6); box-shadow: 0 5px 17px rgba(35,59,46,.05); }
.online-payment-kpis span, .online-payment-kpis small { display: block; color: #748178; font-size: 9px; }
.online-payment-kpis span { font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.online-payment-kpis strong { display: block; margin: 6px 0 3px; color: #113e2e; font-size: 25px; }
.payment-admin-section { padding: 16px; border: 1px solid #e5e1d8; border-radius: 14px; background: #fff; }
.payment-admin-heading { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.payment-admin-heading h2 { margin: 2px 0 0; color: #173d30; font-size: 19px; }
.payment-admin-heading > small { color: #7c877f; font-size: 10px; }
.payment-admin-list { display: grid; }
.payment-admin-list > article { display: grid; min-height: 64px; grid-template-columns: minmax(170px,1.3fr) minmax(145px,1fr) 100px 95px; align-items: center; gap: 13px; border-top: 1px solid #eeeae2; }
.payment-admin-list > article:first-child { border-top: 0; }
.payment-admin-list strong, .payment-admin-list span, .payment-admin-list small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.payment-admin-list strong { color: #193e31; font-size: 11px; }
.payment-admin-list span { color: #53665c; font-size: 10px; }
.payment-admin-list small { margin-top: 2px; color: #929a95; font-size: 8px; }
.payment-admin-list > article > b { color: #123e2e; font-size: 13px; }
.payment-admin-empty { padding: 30px 12px; color: #7c8780; text-align: center; }
.subscription-admin-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.subscription-admin-card { display: grid; gap: 10px; padding: 14px; border: 1px solid #e6e1d7; border-radius: 12px; background: #fdfcf9; }
.subscription-admin-card header { display: flex; align-items: start; justify-content: space-between; gap: 10px; }
.subscription-admin-card header strong, .subscription-admin-card header span { display: block; }
.subscription-admin-card header strong { color: #173d30; font-size: 12px; }
.subscription-admin-card header span, .subscription-admin-card > small { color: #78837c; font-size: 9px; }
.subscription-value { display: flex; align-items: baseline; justify-content: space-between; padding: 10px; border-radius: 9px; background: #f0f7f3; color: #315247; }
.subscription-value span { font-size: 9px; font-weight: 700; }
.subscription-value strong { color: #096344; font-size: 18px; }
.subscription-admin-card > p { margin: 0; color: #55675d; font-size: 10px; line-height: 1.5; }
.subscription-stock-alert { padding: 8px 9px; border: 1px solid #efc8c4; border-radius: 8px; background: #fff1ef; color: #a43b33; font-size: 9px; font-weight: 700; line-height: 1.4; }
.subscription-admin-card footer { display: flex; justify-content: flex-end; gap: 7px; padding-top: 3px; }
.subscription-admin-card .ghost.danger { border-color: #efcac6; color: #af3c34; }

@media (max-width: 850px) {
  .online-payment-kpis, .subscription-admin-grid { grid-template-columns: 1fr; }
  .payment-connect-card { grid-template-columns: 1fr; }
  .payment-admin-list > article { grid-template-columns: 1fr auto; padding: 10px 0; }
  .payment-admin-list > article > div:nth-child(2) { display: none; }
}

@media (max-width: 520px) {
  .payment-admin-list > article { grid-template-columns: 1fr; }
  .subscription-admin-card header { align-items: start; flex-direction: column; }
}

/* Relatórios gerenciais */
.report-export-actions { display: flex; gap: 8px; }
.report-filter-bar { display: grid; grid-template-columns: 150px 150px 170px minmax(210px,1fr) auto; align-items: end; gap: 10px; margin-bottom: 15px; padding: 13px; border: 1px solid #e5e1d7; border-radius: 13px; background: #fff; }
.report-filter-bar label > span { display: block; margin: 0 0 4px 2px; color: #6d7a73; font-size: 8px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.report-filter-bar select, .report-filter-bar input { width: 100%; min-height: 38px; border: 1px solid #dedbd3; border-radius: 8px; background: #fbfaf7; color: #254438; font-size: 10px; }
.report-filter-bar > button { min-height: 38px; }
.report-kpis { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; margin-bottom: 14px; }
.report-kpis article { position: relative; min-height: 108px; padding: 16px; overflow: hidden; border: 1px solid #e4e0d7; border-radius: 13px; background: #fff; box-shadow: 0 6px 18px rgba(32,59,45,.05); }
.report-kpis article::after { position: absolute; width: 66px; height: 66px; right: -17px; top: -18px; border-radius: 50%; background: currentColor; opacity: .08; content: ''; }
.report-kpis article > span, .report-kpis article > small { display: block; color: #77847c; font-size: 9px; }
.report-kpis article > span { font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.report-kpis article > strong { display: block; margin: 8px 0 4px; color: #173d30; font-size: 24px; }
.report-kpis .tone-green { color: #0a8158; }.report-kpis .tone-purple { color: #764cc4; }.report-kpis .tone-gold { color: #d39111; }.report-kpis .tone-red { color: #cf534c; }
.report-main-grid { display: grid; grid-template-columns: minmax(0,1.6fr) minmax(270px,.7fr); gap: 13px; margin-bottom: 13px; }
.report-secondary-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 13px; margin-bottom: 13px; }
.report-chart-card, .report-channel-card, .report-products-card, .report-payments-card, .report-sales-card { border-color: #e5e1d7; border-radius: 14px; box-shadow: 0 5px 17px rgba(35,59,46,.04); }
.report-card-heading { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.report-card-heading h2 { margin: 2px 0 0; color: #173d30; font-size: 17px; }
.report-card-heading > strong { color: #0b694b; font-size: 15px; }
.report-card-heading > small { color: #879189; font-size: 9px; }
.report-bar-chart { display: flex; height: 190px; align-items: end; gap: 8px; padding: 24px 4px 0; border-bottom: 1px solid #dedbd4; background: repeating-linear-gradient(to bottom,transparent 0,transparent 42px,#f0eee9 43px); }
.report-bar-column { display: flex; height: 100%; min-width: 18px; flex: 1; align-items: center; flex-direction: column; justify-content: flex-end; }
.report-bar-column > b { margin-bottom: 4px; color: #3a5b4e; font-size: 7px; white-space: nowrap; }
.report-bar-column > span { width: min(38px,70%); min-height: 5px; border-radius: 5px 5px 0 0; background: linear-gradient(#44a77e,#0b694b); }
.report-bar-column > small { margin: 5px 0 -18px; color: #7c8881; font-size: 7px; }
.report-channel-list { display: grid; gap: 11px; }
.report-channel-list > div { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px; border-radius: 9px; background: #faf9f5; }
.report-channel-list span { display: flex; align-items: center; gap: 7px; color: #3f574d; font-size: 10px; }
.report-channel-list i { width: 9px; height: 9px; border-radius: 50%; background: #0b694b; }.report-channel-list i.channel-route { background: #dfa51b; }.report-channel-list i.channel-site { background: #7550c6; }
.report-channel-list strong { color: #173d30; font-size: 11px; }.report-channel-list small { grid-column: 1/-1; color: #859087; font-size: 8px; }
.report-ranking, .report-payment-list { display: grid; }
.report-ranking > div { display: grid; grid-template-columns: 25px 1fr auto; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid #efebe4; }
.report-ranking > div:first-child { border-top: 0; }.report-ranking > div > b { display: grid; width: 23px; height: 23px; place-items: center; border-radius: 7px; background: #fff3d5; color: #ae7410; font-size: 9px; }
.report-ranking span strong, .report-ranking span small { display: block; }.report-ranking span strong { color: #24463a; font-size: 10px; }.report-ranking span small { color: #89928d; font-size: 8px; }.report-ranking em { color: #24463a; font-size: 10px; font-style: normal; font-weight: 800; }
.report-payment-list > div { display: grid; grid-template-columns: 1fr auto; gap: 5px 10px; padding: 8px 0; }.report-payment-list span { color: #52665b; font-size: 10px; }.report-payment-list b { color: #173d30; font-size: 10px; }.report-payment-list i { grid-column: 1/-1; height: 5px; overflow: hidden; border-radius: 999px; background: #eeeae2; }.report-payment-list u { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#0b694b,#3da078); }
.report-table-wrap { overflow-x: auto; }.report-table { min-width: 850px; }.report-table td { font-size: 9px; }.report-channel-tag { display: inline-flex; padding: 4px 7px; border-radius: 999px; background: #e6f3ec; color: #0b694b; font-size: 8px; font-weight: 800; }.report-channel-tag.channel-route { background: #fff0cc; color: #996400; }.report-channel-tag.channel-site { background: #eee8fb; color: #6742b2; }
.report-empty { width: 100%; padding: 25px 10px; color: #89928d; font-size: 10px; text-align: center; }

@media (max-width: 1050px) {
  .report-filter-bar { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-search { grid-column: 1/-1; }
  .report-main-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .report-kpis, .report-secondary-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .report-export-actions { align-items: stretch; flex-direction: column; }
}

@media (max-width: 520px) {
  .report-filter-bar, .report-kpis, .report-secondary-grid { grid-template-columns: 1fr; }
  .report-search { grid-column: auto; }
  .report-bar-column > b { display: none; }
}

/* Logo Mercado Souza */
.brand-logo-full,
.brand-logo-compact { display: block; object-fit: contain; }

.brand-logo-compact { display: none; }

.shop-brand.brand-logo-link {
  width: 206px;
  height: 52px;
  justify-content: center;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .17);
  border-radius: 11px;
  background: rgba(255, 253, 246, .96);
  box-shadow: 0 7px 20px rgba(0, 0, 0, .12);
}

.shop-brand.brand-logo-link .brand-logo-full { width: 184px; height: 44px; }

.shop-brand-footer.brand-logo-link {
  width: 220px;
  height: 64px;
  padding: 5px 12px;
  border-color: rgba(244, 198, 79, .25);
  background: #fffaf0;
}

.shop-brand-footer.brand-logo-link .brand-logo-full { width: 196px; height: 54px; }

body.is-authenticated #topbar .brand { min-width: 210px; }
.panel-brand-logo {
  width: 184px;
  height: 52px;
  padding: 4px 9px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  background: #fffaf0;
}

.panel-brand-mark { display: none; }

.sidebar-footer-icon img {
  width: 25px;
  height: 22px;
  object-fit: contain;
}

.login-brand { min-height: 74px; align-items: center; }
.login-brand-logo { display: block; width: min(290px, 100%); max-height: 92px; object-fit: contain; object-position: left center; }

.owner-brand-logo {
  display: grid;
  width: 34px;
  height: 34px;
  grid-row: span 2;
  place-items: center;
  padding: 4px;
  border-radius: 9px;
  background: #fff8e8;
}

.owner-brand-logo img { width: 100%; height: 100%; object-fit: contain; }

.receipt-brand > span img,
.sumup-app-icon img { width: 82%; height: 82%; object-fit: contain; }

.receipt-brand > span { background: #fff8e8; }
.sumup-app-icon { background: #fff8e8; }

@media (max-width: 1180px) {
  .shop-brand.brand-logo-link { width: 180px; }
  .shop-brand.brand-logo-link .brand-logo-full { width: 160px; }
  .panel-brand-logo { width: 164px; }
}

@media (max-width: 960px) {
  body.is-authenticated #topbar .brand { min-width: 0; }
  .panel-brand-logo { display: none; }
  .panel-brand-mark { display: block; width: 51px; height: 39px; padding: 4px; border-radius: 9px; background: #fff8e8; object-fit: contain; }
}

@media (max-width: 720px) {
  .shop-header .shop-brand.brand-logo-link { width: 54px; height: 44px; padding: 5px; }
  .shop-header .brand-logo-full { display: none; }
  .shop-header .brand-logo-compact { display: block; width: 43px; height: 31px; }
  .shop-brand-footer.brand-logo-link { width: min(220px, 100%); }
  .shop-brand-footer .brand-logo-full { display: block; }
}

@media (max-width: 520px) {
  .panel-brand-mark { display: block; width: 45px; height: 35px; }
  .login-brand-logo { width: 240px; }
}

/* PDV com controles legíveis e carrinho acessível no celular */
.pdv-page { max-width: 1500px; margin: 0 auto; }
.pdv-page-header .muted { max-width: 590px; }
.pdv-shift-status { display: flex; align-items: center; gap: 6px; color: #426154; font-size: 11px; }
.pdv-shift-status span { display: flex; align-items: center; gap: 6px; }
.pdv-shift-status i { width: 7px; height: 7px; border-radius: 50%; background: #24a76d; }
.pdv-command-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 10px; margin-bottom: 14px; }
.pdv-scan-field { position: relative; display: flex; min-width: 0; align-items: center; }
.pdv-scan-field input { width: 100%; min-height: 44px; padding: 9px 54px 9px 36px; border: 1px solid #dcd6ca; border-radius: 10px; background: #fff; color: #163f2f; }
.pdv-scan-field .search-icon { position: absolute; left: 13px; }
.pdv-scan-field kbd { position: absolute; right: 12px; color: #7a887e; font-size: 10px; }
.pdv-command-button { min-height: 44px !important; white-space: nowrap; }
.pdv-workspace { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .85fr); align-items: start; gap: 14px; }
.pdv-catalog, .pdv-cart { min-width: 0; overflow: visible; background: #fff; }
.pdv-panel-heading, .pdv-cart-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.pdv-panel-heading h3, .pdv-cart-heading h3 { margin: 0; color: #173d2e; font-size: 15px; }
.pdv-panel-heading span, .pdv-cart-count { color: #76877b; font-size: 10px; }
.pdv-filter-field { position: relative; min-width: 210px; }
.pdv-filter-field > span { position: absolute; top: 50%; left: 12px; color: #536b5c; transform: translateY(-50%); }
.pdv-filter-field input { width: 100%; min-height: 40px; padding-left: 32px; border: 1px solid #dcd6ca; border-radius: 9px; background: #fff; }
.pdv-product-grid { display: grid; max-height: 670px; gap: 8px; overflow-y: auto; padding-right: 4px; }
.pdv-product-card { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid #e4dfd4; border-radius: 11px; background: #fcfbf8; }
.pdv-product-card.is-unavailable { opacity: .62; }
.pdv-product-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 10px; background: #e9f2ec; color: #116847; font-size: 11px; font-weight: 900; }
.pdv-product-copy { min-width: 0; }
.pdv-product-copy strong, .pdv-product-copy span, .pdv-product-price strong, .pdv-product-price small { display: block; }
.pdv-product-copy strong { color: #173d2e; font-size: 11px; line-height: 1.35; }
.pdv-product-copy span { margin-top: 3px; color: #78867e; font-size: 9px; overflow-wrap: anywhere; }
.pdv-product-price { min-width: 72px; text-align: right; }
.pdv-product-price strong { color: #0c553b; font-size: 11px; }
.pdv-product-price small { color: #849087; font-size: 8px; }
.pdv-add-product { min-height: 40px; padding: 0 12px; border-radius: 9px; background: #0c583d; color: #fff; font-size: 10px; font-weight: 800; white-space: nowrap; }
.pdv-add-product:disabled { background: #ecece8; color: #8b938d; cursor: not-allowed; }
.pdv-cart { position: sticky; top: calc(var(--topbar-height) + 14px); scroll-margin-top: calc(var(--topbar-height) + 14px); }
.pdv-clear-sale { margin: -3px 0 12px; padding: 4px 0; background: transparent; color: #95600c; font-size: 10px; font-weight: 800; }
.pdv-clear-sale:disabled { opacity: .4; cursor: not-allowed; }
.pdv-empty-cart { display: grid; place-items: center; padding: 28px 14px; border: 1px dashed #d9d5c9; border-radius: 10px; color: #697d70; text-align: center; }
.pdv-empty-cart > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: #edf5ee; color: #15714d; font-size: 21px; }
.pdv-empty-cart strong { margin-top: 8px; color: #234838; }
.pdv-empty-cart p { margin: 3px 0 0; font-size: 10px; }
.pdv-cart-lines { display: grid; gap: 7px; }
.pdv-cart-line { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto auto 26px; align-items: center; gap: 7px; padding: 8px 0; border-bottom: 1px solid #eee9e0; }
.pdv-cart-line-index { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 7px; background: #f8e8bc; color: #684809; font-weight: 800; }
.pdv-cart-line-copy { min-width: 0; }
.pdv-cart-line-copy strong, .pdv-cart-line-copy span { display: block; }
.pdv-cart-line-copy strong { color: #244537; font-size: 10px; }
.pdv-cart-line-copy span { color: #7d8b80; font-size: 8px; }
.pdv-qty-control { display: flex; align-items: center; gap: 4px; }
.pdv-qty-control button, .pdv-remove-item { display: grid; width: 26px; height: 28px; place-items: center; border: 1px solid #e4dfd4; border-radius: 7px; background: #fff; color: #194a35; }
.pdv-qty-control b { min-width: 16px; color: #274b39; text-align: center; }
.pdv-line-total { color: #104d36; font-size: 10px; white-space: nowrap; }
.pdv-sale-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 15px 0; }
.pdv-sale-fields label > span { display: block; margin-bottom: 4px; color: #67776b; font-size: 9px; font-weight: 800; }
.pdv-sale-fields select, .pdv-sale-fields input { width: 100%; min-width: 0; }
.pdv-discount-flex { grid-template-columns: 70px minmax(0, 1fr); }
.pdv-totals { display: grid; gap: 6px; padding: 12px 0; border-top: 1px solid #e8e2d6; }
.pdv-totals > div { display: flex; justify-content: space-between; gap: 10px; color: #52665b; font-size: 11px; }
.pdv-totals .total { padding-top: 7px; border-top: 1px solid #e8e2d6; color: #0b5138; font-size: 15px; }
.pdv-checkout-button { display: flex !important; width: 100%; justify-content: space-between !important; }
.pdv-checkout-button:disabled { opacity: .55; cursor: not-allowed; }
.pdv-shortcut-hint { margin: 12px 0 0; color: #829087; font-size: 9px; }
.pdv-last-sale { display: flex; gap: 8px; margin-top: 12px; padding: 9px; border-radius: 9px; background: #edf6ef; color: #17563d; font-size: 9px; }
.pdv-last-sale small { display: block; }
.pdv-settings { margin-top: 12px; color: #557060; font-size: 10px; }
.pdv-settings > div { display: flex; gap: 7px; margin-top: 8px; }
.pdv-settings input { min-width: 0; flex: 1; }
.pdv-no-results { display: grid; gap: 3px; padding: 24px; color: #687d6f; text-align: center; }

/* Página exclusiva para o aplicativo de impressão */
.apk-page { max-width: 1100px; margin: 0 auto; }
.apk-page-heading p { margin: 5px 0 0; }
.apk-hero { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 26px; border-color: #cadccf; background: linear-gradient(110deg, #eaf6ed, #fffdf7); }
.apk-hero-mark { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 18px; background: #fff; box-shadow: 0 8px 20px rgba(19,68,45,.1); }
.apk-hero-mark img { width: 82%; height: 82%; object-fit: contain; }
.apk-hero-copy { min-width: 0; }
.apk-hero-copy h3 { margin: 4px 0 7px; color: #123f2d; font-size: 22px; }
.apk-hero-copy p { margin: 0; color: #4e6959; font-size: 12px; }
.apk-hero-copy small { display: block; margin-top: 9px; color: #975f12; font-size: 10px; font-weight: 700; }
.apk-download-button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 15px; padding: 0 19px; border-radius: 10px; background: #0a573b; color: #fff; font-size: 12px; font-weight: 900; text-align: center; }
.apk-download-button:hover { background: #073f2c; }
.apk-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.apk-steps article { overflow: visible; background: #fff; }
.apk-steps b { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 9px; background: #fff0c7; color: #986811; }
.apk-steps h3 { margin: 10px 0 6px; color: #173d2e; font-size: 13px; }
.apk-steps p { margin: 0; color: #617269; font-size: 11px; line-height: 1.6; }
.apk-caution { margin: 15px 0; padding: 12px 14px; border: 1px solid #ead6ad; border-radius: 10px; background: #fff9e9; color: #74501c; font-size: 11px; }

@media (max-width: 1050px) {
  .pdv-workspace { grid-template-columns: minmax(0, 1fr); }
  .pdv-cart { position: static; }
  .apk-hero { grid-template-columns: 72px minmax(0, 1fr); }
  .apk-download-button { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body.menu-open { overflow: hidden; }
  .menu-overlay { top: var(--topbar-height); background: rgba(5, 25, 17, .55); }
  #sidebar { width: min(320px, calc(100vw - 20px)); height: calc(100dvh - var(--topbar-height) - 20px); }
  .pdv-page-header { gap: 10px; }
  .pdv-command-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pdv-scan-field { grid-column: 1 / -1; }
  .pdv-command-button { width: 100%; padding: 8px !important; font-size: 11px; }
  .pdv-panel-heading { align-items: stretch; flex-direction: column; }
  .pdv-filter-field { min-width: 0; }
  .pdv-product-grid { max-height: min(55dvh, 540px); }
  .pdv-product-card { grid-template-columns: 42px minmax(0, 1fr) auto; gap: 8px; padding: 9px; }
  .pdv-product-price { min-width: 70px; }
  .pdv-add-product { grid-column: 2 / -1; width: 100%; }
  .pdv-cart { scroll-margin-top: calc(var(--topbar-height) + 10px); }
  .pdv-cart.cart-emphasis { padding-top: 20px; }
  .pdv-cart.cart-emphasis::after { display: none; }
  .report-export-actions { width: 100%; }
  .report-export-actions button { width: 100%; min-height: 44px; }
  .apk-steps { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .inventory-table-card { padding: 0; overflow: visible; border: 0; background: transparent; box-shadow: none; }
  .inventory-table-card .table { display: block; min-width: 0; }
  .inventory-table-card thead { display: none; }
  .inventory-table-card tbody { display: grid; gap: 10px; }
  .inventory-table-card tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 10px; padding: 12px; border: 1px solid #e4ded3; border-radius: 12px; background: #fff; }
  .inventory-table-card td { display: block; min-width: 0; padding: 5px 2px; border: 0; color: #244537; font-size: 11px; overflow-wrap: anywhere; }
  .inventory-table-card td::before { display: block; margin-bottom: 2px; color: #7a897e; content: attr(data-label); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
  .inventory-table-card td:first-child, .inventory-table-card .inventory-row-action, .inventory-table-card .inventory-empty-row td { grid-column: 1 / -1; }
  .inventory-table-card td:first-child { padding-bottom: 8px; border-bottom: 1px solid #eee9e0; color: #153d2c; font-size: 13px; }
  .inventory-table-card td:first-child::before, .inventory-table-card .inventory-row-action::before { display: none; }
  .inventory-table-card .inventory-row-action { padding-top: 8px; }
  .inventory-table-card .inventory-row-action button { width: 100%; min-height: 42px; }
  .inventory-table-card .inventory-empty-row td { height: auto; padding: 25px 8px; }
  .pdv-sale-fields { grid-template-columns: 1fr; }
  .pdv-cart-line { grid-template-columns: 28px minmax(0, 1fr) auto; }
  .pdv-cart-line .pdv-qty-control { grid-column: 2; }
  .pdv-cart-line .pdv-line-total { grid-column: 3; grid-row: 2; }
  .pdv-cart-line .pdv-remove-item { grid-column: 3; grid-row: 1; }
  .apk-hero { grid-template-columns: 56px minmax(0, 1fr); gap: 12px; padding: 18px; }
  .apk-hero-mark { width: 56px; height: 56px; }
  .apk-hero-copy { grid-column: 1 / -1; }
  .apk-hero-copy h3 { font-size: 19px; }
  .apk-download-button { width: 100%; }
}

@media (min-width: 360px) and (max-width: 520px) {
  .owner-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
  .owner-metric-card, .owner-metrics-secondary .owner-metric-card { min-height: 112px; grid-template-columns: 31px minmax(0, 1fr) 10px; grid-template-rows: 31px auto; gap: 5px; padding: 10px; }
  .owner-metric-icon { width: 31px; height: 31px; border-radius: 8px; }
  .owner-metric-icon svg { width: 18px; height: 18px; }
  .owner-metric-copy { grid-column: 1 / -1; }
  .owner-metric-copy small { min-height: 21px; font-size: 8px; line-height: 1.2; white-space: normal; }
  .owner-metric-copy strong { margin-top: 3px; font-size: clamp(16px, 4.5vw, 19px); }
  .owner-metric-copy em { margin-top: 4px; font-size: 8px; }
  .owner-metric-arrow { grid-column: 3; grid-row: 1; font-size: 18px; }
}
