/* ==========================================================================
   PetVieira — Design System (compartilhado por todos os apps)
   Verde Pet #02372d · Amarelo Aconchego #f47e02 · Cinza Equilibrado #2f2f2e
   ========================================================================== */

:root {
  --verde: #02372d;
  --verde-2: #0a4a3d;
  --verde-3: #16604f;
  --verde-50: #ecf3f0;
  --verde-100: #d5e6df;
  --laranja: #f47e02;
  --laranja-2: #d96e00;
  --laranja-50: #fff5ea;
  --laranja-100: #ffe4c6;
  --cinza: #2f2f2e;
  --cinza-2: #5b5b59;
  --cinza-3: #8b8b87;
  --bg: #f7f5f0;
  --surface: #ffffff;
  --surface-2: #fbfaf7;
  --border: #ebe6dd;
  --border-2: #dcd6cb;

  --red: #d23c3c;   --red-50: #fdeeee;
  --blue: #2a67d1;  --blue-50: #eaf1fc;
  --purple: #7a4ed3; --purple-50: #f2edfc;
  --green: #17925a; --green-50: #e7f6ee;
  --teal: #0d8585;  --teal-50: #e4f4f4;
  --gray-50: #f1efea;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 1px 2px rgba(2, 55, 45, .06), 0 1px 3px rgba(2, 55, 45, .04);
  --shadow: 0 6px 24px rgba(2, 55, 45, .08);
  --shadow-lg: 0 24px 60px rgba(2, 55, 45, .16);
  --font: 'Nunito', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-head: 'Fredoka', 'Nunito', system-ui, sans-serif;
  --sidebar-w: 264px;
  --topbar-h: 64px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 15px; line-height: 1.55;
  color: var(--cinza); background: var(--bg);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img, svg, video { max-width: 100%; display: block; }
a { color: var(--verde-3); text-decoration: none; }
a:hover { color: var(--laranja-2); }
h1, h2, h3, h4, h5 { font-family: var(--font-head); color: var(--verde); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); }
h3 { font-size: 1.15rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }
small, .small { font-size: .85rem; }
.muted { color: var(--cinza-3); }
.text-verde { color: var(--verde); }
.text-laranja { color: var(--laranja); }
.text-red { color: var(--red); }
.text-green { color: var(--green); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.nowrap { white-space: nowrap; }
.fw-bold { font-weight: 800; }
.mt-0 { margin-top: 0 !important; } .mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 36px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 36px; }
.hide { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[data-lucide] { width: 1.15em; height: 1.15em; stroke-width: 2; flex-shrink: 0; }
svg.lucide { display: inline-block; vertical-align: -0.2em; }
::selection { background: var(--laranja-100); }

/* ---------------------------------------------------------------- layout */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: 760px; }
.row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.row-between { display: flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.stack-sm { display: flex; flex-direction: column; gap: 8px; }
.grow { flex: 1; min-width: 0; }
.grid { display: grid; gap: 20px; }
.grid-2 { display: grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { display: grid; gap: 20px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); }
.grid-auto { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr)); }
.span-2 { grid-column: span 2; }
@media (max-width: 991px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } .span-2 { grid-column: auto; } .stat { padding: 14px; gap: 10px; } .stat-ico { width: 40px; height: 40px; } }

/* ---------------------------------------------------------------- botões */
.btn {
  --b: var(--verde); --c: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px; border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: var(--c); font: 700 .95rem/1 var(--font); cursor: pointer;
  text-decoration: none; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s, color .15s;
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { color: var(--c); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(2, 55, 45, .18); }
.btn:active { transform: translateY(0); }
.btn:disabled, .btn.disabled { opacity: .55; pointer-events: none; }
.btn-primary { --b: var(--laranja); }
.btn-primary:hover { --b: var(--laranja-2); box-shadow: 0 8px 22px rgba(244, 126, 2, .35); }
.btn-green { --b: var(--verde); }
.btn-green:hover { --b: var(--verde-2); }
.btn-outline { background: transparent; color: var(--verde); --b: var(--border-2); }
.btn-outline:hover { color: var(--verde); border-color: var(--verde); box-shadow: none; }
.btn-ghost { background: transparent; border-color: transparent; color: var(--verde); }
.btn-ghost:hover { background: var(--verde-50); color: var(--verde); box-shadow: none; }
.btn-light { --b: #fff; --c: var(--verde); }
.btn-light:hover { --c: var(--verde); }
.btn-danger { --b: var(--red); }
.btn-danger-ghost { background: transparent; border-color: transparent; color: var(--red); }
.btn-danger-ghost:hover { background: var(--red-50); color: var(--red); box-shadow: none; }
.btn-whats { --b: #1fa855; }
.btn-sm { height: 36px; padding: 0 14px; font-size: .86rem; }
.btn-xs { height: 30px; padding: 0 11px; font-size: .8rem; gap: 5px; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn-icon.btn-sm { width: 36px; }

/* ---------------------------------------------------------------- cards */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: 22px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.card-head h2, .card-head h3 { margin: 0; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.card-body { padding: 22px; }
.card-foot { padding: 14px 22px; border-top: 1px solid var(--border); background: var(--surface-2); border-radius: 0 0 var(--radius) var(--radius); }
.card-link { display: block; color: inherit; transition: transform .15s, box-shadow .15s, border-color .15s; }
.card-link:hover { color: inherit; transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--border-2); }
@media (max-width: 640px) { .card-pad, .card-body { padding: 18px; } .card-head { padding: 16px 18px; } }

.stat { padding: 20px; display: flex; gap: 14px; align-items: center; }
.stat-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--verde-50); color: var(--verde); flex-shrink: 0; }
.stat-ico [data-lucide] { width: 22px; height: 22px; }
.stat-ico.orange { background: var(--laranja-50); color: var(--laranja); }
.stat-ico.blue { background: var(--blue-50); color: var(--blue); }
.stat-ico.purple { background: var(--purple-50); color: var(--purple); }
.stat-ico.red { background: var(--red-50); color: var(--red); }
.stat-num { font: 700 1.5rem/1.1 var(--font-head); color: var(--verde); }
.stat-label { color: var(--cinza-3); font-size: .86rem; }

/* ---------------------------------------------------------------- formulários */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; min-width: 0; }
.field:last-child { margin-bottom: 0; }
label, .label { font-weight: 700; font-size: .88rem; color: var(--cinza); }
.label-hint { font-weight: 500; color: var(--cinza-3); font-size: .8rem; }
.input, input:not([type]), input[type=text], input[type=email], input[type=password], input[type=tel], input[type=number],
input[type=date], input[type=datetime-local], input[type=time], input[type=search], input[type=url], select, textarea {
  width: 100%; height: 46px; padding: 0 14px; border: 1.5px solid var(--border-2); border-radius: 12px;
  background: #fff; color: var(--cinza); font: 500 .95rem var(--font); transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
textarea { height: auto; min-height: 96px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
select { padding-right: 38px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2302372d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--laranja); box-shadow: 0 0 0 4px rgba(244, 126, 2, .14); }
input::placeholder, textarea::placeholder { color: #aaa69e; }
input[type=file] { font: 500 .9rem var(--font); }
.help { font-size: .82rem; color: var(--cinza-3); }
.form-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 16px; }
.form-grid > .field { grid-column: span 12; }
.col-2 { grid-column: span 2 !important; } .col-3 { grid-column: span 3 !important; } .col-4 { grid-column: span 4 !important; }
.col-5 { grid-column: span 5 !important; } .col-6 { grid-column: span 6 !important; } .col-8 { grid-column: span 8 !important; }
.col-9 { grid-column: span 9 !important; }
@media (max-width: 640px) {
  .col-4, .col-5, .col-6, .col-8, .col-9 { grid-column: span 12 !important; }
  .col-2, .col-3 { grid-column: span 6 !important; }
}
.input-icon { position: relative; }
.input-icon > [data-lucide] { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--cinza-3); pointer-events: none; }
.input-icon > input { padding-left: 42px; }
.pass-toggle { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--cinza-3); cursor: pointer; padding: 8px; }

.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--laranja); flex-shrink: 0; }

/* chave liga/desliga */
.switch { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); cursor: pointer; }
.switch:last-child { border-bottom: 0; }
.switch-text strong { display: block; font-size: .95rem; }
.switch-text span { font-size: .84rem; color: var(--cinza-3); font-weight: 500; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch .toggle { position: relative; width: 48px; height: 28px; background: var(--border-2); border-radius: 99px; flex-shrink: 0; transition: background .2s; }
.switch .toggle::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + .toggle { background: var(--laranja); }
.switch input:checked + .toggle::after { transform: translateX(20px); }
.switch input:focus-visible + .toggle { box-shadow: 0 0 0 4px rgba(244, 126, 2, .2); }

/* seletor em chips (radio/checkbox visuais) */
.choice-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.choice { position: relative; cursor: pointer; min-width: 0; }
.choice input { position: absolute; opacity: 0; }
.choice > span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 10px; border: 1.5px solid var(--border-2); border-radius: 14px; font-weight: 700; font-size: .88rem; text-align: center; background: #fff; transition: all .15s; }
.choice > span > [data-lucide] { width: 24px; height: 24px; color: var(--verde-3); }
.choice input:checked + span { border-color: var(--laranja); background: var(--laranja-50); color: var(--verde); box-shadow: 0 0 0 3px rgba(244, 126, 2, .12); }
.choice input:checked + span [data-lucide] { color: var(--laranja); }
.choice input:focus-visible + span { box-shadow: 0 0 0 4px rgba(244, 126, 2, .2); }

/* upload de foto com pré-visualização */
.photo-picker { display: flex; align-items: center; gap: 18px; }
.photo-picker .preview { width: 96px; height: 96px; border-radius: 28px; background: var(--verde-50) center/cover no-repeat; display: grid; place-items: center; color: var(--verde-3); border: 2px dashed var(--verde-100); flex-shrink: 0; overflow: hidden; }
.photo-picker .preview.has-img { border-style: solid; border-color: #fff; box-shadow: var(--shadow); }
.photo-picker .preview.has-img [data-lucide] { display: none; }
.photo-picker input[type=file] { display: none; }

/* ---------------------------------------------------------------- badges / alerts */
.badge { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 10px; border-radius: 99px; font-size: .76rem; font-weight: 800; background: var(--gray-50); color: var(--cinza-2); white-space: nowrap; }
.badge [data-lucide] { width: 13px; height: 13px; }
.badge-green { background: var(--green-50); color: var(--green); }
.badge-orange { background: var(--laranja-50); color: var(--laranja-2); }
.badge-red { background: var(--red-50); color: var(--red); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-purple { background: var(--purple-50); color: var(--purple); }
.badge-teal { background: var(--teal-50); color: var(--teal); }
.badge-verde { background: var(--verde); color: #fff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; background: var(--verde-50); color: var(--verde); font-weight: 700; font-size: .84rem; }
.chip [data-lucide] { width: 15px; height: 15px; }

.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: .92rem; margin-bottom: 16px; border: 1px solid transparent; }
.alert [data-lucide] { width: 20px; height: 20px; margin-top: 1px; }
.alert-success { background: var(--green-50); color: #0f6b41; border-color: #c8ebd7; }
.alert-error { background: var(--red-50); color: #a82929; border-color: #f6cfcf; }
.alert-warning { background: var(--laranja-50); color: #9a4f00; border-color: var(--laranja-100); }
.alert-info { background: var(--blue-50); color: #1f4f9f; border-color: #cfdef7; }

/* ---------------------------------------------------------------- tabelas */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th { text-align: left; font-size: .76rem; text-transform: uppercase; letter-spacing: .04em; color: var(--cinza-3); font-weight: 800; padding: 12px 16px; border-bottom: 1px solid var(--border); background: var(--surface-2); white-space: nowrap; }
.table td { padding: 14px 16px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table tbody tr:hover td { background: #fcfbf8; }
.table .actions { text-align: right; white-space: nowrap; }
@media (max-width: 720px) {
  .table-cards thead { display: none; }
  .table-cards tr { display: block; padding: 14px 16px; border-bottom: 1px solid var(--border); }
  .table-cards td { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; border: 0; text-align: right; }
  .table-cards td::before { content: attr(data-label); font-weight: 800; color: var(--cinza-3); font-size: .78rem; text-transform: uppercase; text-align: left; }
  .table-cards td.actions { justify-content: flex-end; padding-top: 10px; }
  .table-cards td.actions::before { display: none; }
}

/* ---------------------------------------------------------------- avatares */
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--laranja-50) center/cover no-repeat; color: var(--laranja-2); display: grid; place-items: center; font-weight: 800; font-size: .9rem; flex-shrink: 0; overflow: hidden; }
.avatar-lg { width: 64px; height: 64px; font-size: 1.2rem; }
.pet-photo { width: 56px; height: 56px; border-radius: 18px; background: var(--verde-50) center/cover no-repeat; display: grid; place-items: center; color: var(--verde-3); flex-shrink: 0; overflow: hidden; }
.pet-photo [data-lucide] { width: 26px; height: 26px; }
.pet-photo-xl { width: 120px; height: 120px; border-radius: 36px; border: 4px solid #fff; box-shadow: var(--shadow); }
.pet-photo-xl [data-lucide] { width: 48px; height: 48px; }

/* ---------------------------------------------------------------- abas */
.tabs { display: flex; gap: 4px; overflow-x: auto; border-bottom: 1px solid var(--border); margin-bottom: 22px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a, .tabs button { display: inline-flex; align-items: center; gap: 7px; padding: 12px 16px; font-weight: 700; color: var(--cinza-3); border: 0; background: none; border-bottom: 3px solid transparent; margin-bottom: -1px; white-space: nowrap; cursor: pointer; font-family: var(--font); font-size: .93rem; }
.tabs a:hover, .tabs button:hover { color: var(--verde); }
.tabs a.active, .tabs button.active { color: var(--verde); border-bottom-color: var(--laranja); }
.tabs [data-lucide] { width: 17px; height: 17px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pills a { padding: 8px 14px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-weight: 700; font-size: .86rem; color: var(--cinza-2); }
.pills a.active { background: var(--verde); border-color: var(--verde); color: #fff; }

/* ---------------------------------------------------------------- lista */
.list { list-style: none; margin: 0; padding: 0; }
.list-item { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-bottom: 1px solid var(--border); color: inherit; }
.list-item:last-child { border-bottom: 0; }
a.list-item:hover { background: var(--surface-2); color: inherit; }
.list-item .title { font-weight: 800; color: var(--verde); }
.list-item .sub { font-size: .85rem; color: var(--cinza-3); }
@media (max-width: 640px) { .list-item { padding: 14px 18px; } }

.ico-box { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: var(--verde-50); color: var(--verde); }
.ico-box [data-lucide] { width: 20px; height: 20px; }
.ico-box.orange { background: var(--laranja-50); color: var(--laranja); }
.ico-box.blue { background: var(--blue-50); color: var(--blue); }
.ico-box.purple { background: var(--purple-50); color: var(--purple); }
.ico-box.red { background: var(--red-50); color: var(--red); }
.ico-box.green { background: var(--green-50); color: var(--green); }
.ico-box.teal { background: var(--teal-50); color: var(--teal); }
.ico-box.gray { background: var(--gray-50); color: var(--cinza-2); }

/* ---------------------------------------------------------------- linha do tempo */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ''; position: absolute; left: 20px; top: 8px; bottom: 8px; width: 2px; background: var(--border); }
.timeline li { position: relative; display: flex; gap: 16px; padding: 0 0 22px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .ico-box { position: relative; z-index: 1; border: 3px solid var(--surface); box-sizing: content-box; width: 36px; height: 36px; border-radius: 50%; }
.timeline .ico-box [data-lucide] { width: 17px; height: 17px; }
.timeline .when { font-size: .8rem; color: var(--cinza-3); font-weight: 700; }
.timeline .what { font-weight: 800; color: var(--verde); }
.timeline .desc { font-size: .9rem; color: var(--cinza-2); margin-top: 2px; white-space: pre-line; }

/* etapas (ex.: produção da Tag) */
.steps { display: flex; gap: 0; counter-reset: s; }
.steps .step { flex: 1; text-align: center; position: relative; font-size: .8rem; font-weight: 700; color: var(--cinza-3); padding-top: 38px; }
.steps .step::before { content: ''; position: absolute; top: 14px; left: -50%; width: 100%; height: 3px; background: var(--border); z-index: 0; }
.steps .step:first-child::before { display: none; }
.steps .step .dot { position: absolute; top: 2px; left: 50%; transform: translateX(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--border); color: #fff; display: grid; place-items: center; z-index: 1; }
.steps .step .dot [data-lucide] { width: 15px; height: 15px; }
.steps .step.done { color: var(--verde); }
.steps .step.done .dot, .steps .step.done::before { background: var(--laranja); }
.steps .step.current .dot { box-shadow: 0 0 0 5px var(--laranja-100); }

/* ---------------------------------------------------------------- estado vazio */
.empty { text-align: center; padding: 48px 20px; }
.empty .ico { width: 76px; height: 76px; margin: 0 auto 16px; border-radius: 24px; background: var(--laranja-50); color: var(--laranja); display: grid; place-items: center; }
.empty .ico [data-lucide] { width: 34px; height: 34px; }
.empty h3 { margin-bottom: 6px; }
.empty p { color: var(--cinza-3); max-width: 420px; margin: 0 auto 18px; }

/* ---------------------------------------------------------------- modal */
dialog.modal { border: 0; padding: 0; border-radius: var(--radius-lg); width: min(560px, calc(100vw - 24px)); max-height: calc(100vh - 40px); box-shadow: var(--shadow-lg); color: var(--cinza); background: var(--surface); }
dialog.modal::backdrop { background: rgba(2, 30, 25, .5); backdrop-filter: blur(3px); }
dialog.modal[open] { animation: pop .2s ease-out; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px 0; }
.modal-head h3 { margin: 0; font-size: 1.2rem; }
.modal-body { padding: 18px 22px; overflow-y: auto; max-height: calc(100vh - 200px); }
.modal-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 22px 20px; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  dialog.modal { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 24px 24px 0 0; max-height: 92vh; }
  dialog.modal[open] { animation: sheet .25s ease-out; }
  .modal-foot { padding-bottom: calc(20px + var(--safe-bottom)); }
}
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }

/* ---------------------------------------------------------------- toasts */
.toasts { position: fixed; top: 16px; right: 16px; z-index: 1000; display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--verde); color: #fff; font-weight: 700; font-size: .92rem; box-shadow: var(--shadow-lg); animation: toast-in .3s ease-out; }
.toast.error { background: var(--red); }
.toast.warning { background: var(--laranja-2); }
.toast [data-lucide] { width: 20px; height: 20px; }
.toast button { margin-left: auto; background: none; border: 0; color: inherit; opacity: .7; cursor: pointer; padding: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .toasts { left: 16px; right: 16px; max-width: none; } }

/* ---------------------------------------------------------------- paginação */
.pagination { display: flex; gap: 6px; justify-content: center; padding: 18px; flex-wrap: wrap; }
.pagination a, .pagination .dots { min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px; font-weight: 800; color: var(--cinza-2); background: #fff; border: 1px solid var(--border); padding: 0 8px; }
.pagination a.active { background: var(--verde); border-color: var(--verde); color: #fff; }
.pagination .dots { border: 0; background: none; }

/* ---------------------------------------------------------------- marca */
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; background: var(--laranja) url('../img/marca-branca.png') center/72% no-repeat; flex-shrink: 0; }
.brand-name { font: 700 1.4rem/1 var(--font-head); color: var(--verde); letter-spacing: -.01em; }
.brand-name b { color: var(--laranja); font-weight: 700; }
.brand-sub { display: block; font: 700 .64rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--cinza-3); margin-top: 3px; }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: rgba(255,255,255,.6); }

/* ==========================================================================
   Layout dos apps (tutor e admin): barra lateral + topo + navegação inferior
   ========================================================================== */
.app-shell { min-height: 100vh; }
.sidebar {
  position: fixed; inset: 0 auto 0 0; width: var(--sidebar-w); background: var(--verde); color: #fff;
  display: flex; flex-direction: column; z-index: 60; transition: transform .25s ease;
}
.sidebar .brand { padding: 20px 22px; }
.sidebar .brand-name { color: #fff; }
.sidebar-nav { flex: 1; overflow-y: auto; padding: 8px 14px 20px; }
.sidebar-nav .nav-label { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.45); font-weight: 800; padding: 18px 12px 8px; }
.sidebar-nav a { display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 12px; color: rgba(255,255,255,.78); font-weight: 700; font-size: .93rem; margin-bottom: 2px; }
.sidebar-nav a:hover { background: rgba(255,255,255,.07); color: #fff; }
.sidebar-nav a.active { background: rgba(244, 126, 2, .16); color: #fff; box-shadow: inset 3px 0 0 var(--laranja); }
.sidebar-nav a.active [data-lucide] { color: var(--laranja); }
.sidebar-nav a .count { margin-left: auto; background: var(--laranja); color: #fff; font-size: .72rem; padding: 2px 8px; border-radius: 99px; }
.sidebar-foot { padding: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.sidebar-promo { background: rgba(255,255,255,.06); border-radius: 16px; padding: 16px; font-size: .86rem; color: rgba(255,255,255,.8); }
.sidebar-promo strong { color: #fff; display: block; font-family: var(--font-head); font-size: 1rem; margin-bottom: 4px; }

.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }
.topbar {
  position: sticky; top: 0; z-index: 40; height: var(--topbar-h); display: flex; align-items: center; gap: 12px;
  padding: 0 28px; background: rgba(247, 245, 240, .88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border);
}
.topbar .page-title { font: 600 1.15rem var(--font-head); color: var(--verde); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.topbar .spacer { flex: 1; }
.topbar .menu-btn { display: none; }
.topbar .brand { display: none; }
.icon-btn { position: relative; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; color: var(--verde); background: transparent; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--verde-50); color: var(--verde); }
.icon-btn .dot { position: absolute; top: 7px; right: 7px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--laranja); color: #fff; font-size: .68rem; font-weight: 800; display: grid; place-items: center; border: 2px solid var(--bg); }
.user-menu { position: relative; }
.user-menu > button { display: flex; align-items: center; gap: 10px; background: none; border: 0; cursor: pointer; padding: 4px; border-radius: 99px; font: inherit; color: var(--cinza); }
.user-menu > button:hover { background: var(--verde-50); }
.user-menu .who { text-align: left; line-height: 1.2; }
.user-menu .who strong { display: block; font-size: .9rem; color: var(--verde); }
.user-menu .who span { font-size: .76rem; color: var(--cinza-3); }
.dropdown { position: absolute; right: 0; top: calc(100% + 8px); min-width: 220px; background: #fff; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 8px; display: none; z-index: 80; }
.dropdown.open { display: block; animation: pop .15s ease-out; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border-radius: 10px; color: var(--cinza); font: 700 .9rem var(--font); background: none; border: 0; cursor: pointer; text-align: left; }
.dropdown a:hover, .dropdown button:hover { background: var(--verde-50); color: var(--verde); }
.dropdown hr { margin: 6px 0; }

.page { padding: 28px; flex: 1; width: 100%; max-width: 1280px; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.page-head h1 { margin: 0; }
.page-head p { margin: 4px 0 0; color: var(--cinza-3); }
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 700; color: var(--cinza-3); margin-bottom: 8px; }
.breadcrumb a { color: var(--cinza-3); }
.breadcrumb a:hover { color: var(--laranja); }
.breadcrumb [data-lucide] { width: 14px; height: 14px; }

.bottom-nav { display: none; }
.scrim { display: none; }

@media (max-width: 991px) {
  .sidebar { transform: translateX(-100%); box-shadow: var(--shadow-lg); }
  .sidebar.open { transform: none; }
  .scrim.open { display: block; position: fixed; inset: 0; background: rgba(2, 30, 25, .45); z-index: 55; }
  .main { margin-left: 0; }
  .topbar { padding: 0 12px 0 8px; }
  .topbar .menu-btn { display: grid; }
  .topbar .user-menu .who { display: none; }
  .page { padding: 20px 16px 28px; }
  .has-bottom-nav .page { padding-bottom: calc(96px + var(--safe-bottom)); }
  .has-bottom-nav .topbar .menu-btn { display: none; }
  .has-bottom-nav .topbar { padding-left: 16px; }
  .has-bottom-nav .topbar .brand { display: inline-flex; }
  .has-bottom-nav .topbar .brand-mark { width: 34px; height: 34px; border-radius: 10px; }
  .has-bottom-nav .topbar .page-title { display: none; }
  .bottom-nav {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border); padding: 6px 6px calc(6px + var(--safe-bottom)); box-shadow: 0 -6px 24px rgba(2, 55, 45, .06);
  }
  .bottom-nav a { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px 2px; font-size: .7rem; font-weight: 800; color: var(--cinza-3); border-radius: 12px; }
  .bottom-nav a [data-lucide] { width: 23px; height: 23px; }
  .bottom-nav a.active { color: var(--verde); }
  .bottom-nav a.active [data-lucide] { color: var(--laranja); }
  .bottom-nav a.fab { margin-top: -26px; }
  .bottom-nav a.fab .fab-ico { width: 54px; height: 54px; border-radius: 18px; background: var(--laranja); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(244, 126, 2, .4); border: 4px solid #fff; }
  .bottom-nav a.fab .fab-ico [data-lucide] { color: #fff; }
}

/* botão "instalar app" */
.install-banner { display: none; align-items: center; gap: 12px; padding: 14px 16px; background: var(--verde); color: #fff; border-radius: 16px; margin-bottom: 20px; }
.install-banner.show { display: flex; }
.install-banner .brand-mark { width: 42px; height: 42px; }
.install-banner strong { display: block; font-family: var(--font-head); font-weight: 600; }
.install-banner span { font-size: .84rem; opacity: .8; }

/* ---------------------------------------------------------------- páginas de autenticação */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1.05fr 1fr; background: var(--bg); }
.auth-art { position: relative; background: var(--verde); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-art::before { content: ''; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -160px; background: url('../img/marca-branca.png') center/contain no-repeat; opacity: .06; }
.auth-art::after { content: ''; position: absolute; width: 360px; height: 360px; border-radius: 50%; left: -120px; top: -120px; background: radial-gradient(circle, rgba(244,126,2,.35), transparent 70%); }
.auth-art h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); max-width: 460px; position: relative; z-index: 1; }
.auth-art h2 em { font-style: normal; color: var(--laranja); }
.auth-art p { color: rgba(255,255,255,.75); max-width: 440px; position: relative; z-index: 1; font-size: 1.05rem; }
.auth-art .perks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.auth-art .perks li { display: flex; gap: 12px; align-items: center; font-weight: 700; }
.auth-art .perks [data-lucide] { color: var(--laranja); }
.auth-form { display: flex; align-items: center; justify-content: center; padding: 40px 24px; }
.auth-box { width: 100%; max-width: 420px; }
.auth-box h1 { margin-bottom: 6px; }
.auth-mobile-brand { display: none !important; }
@media (max-width: 900px) { .auth-mobile-brand { display: inline-flex !important; } }
.auth-box .lead { color: var(--cinza-3); margin-bottom: 28px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--cinza-3); font-size: .85rem; font-weight: 700; margin: 20px 0; }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
@media (max-width: 900px) {
  .auth { grid-template-columns: 1fr; }
  .auth-art { display: none; }
  .auth-form { align-items: flex-start; padding-top: 32px; }
}

/* ---------------------------------------------------------------- página de erro */
.error-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; }
.error-page .code { font: 700 clamp(5rem, 18vw, 9rem)/1 var(--font-head); color: var(--laranja); }
.error-page .mark { width: 120px; height: 120px; margin: 0 auto 8px; background: url('../img/marca-verde.png') center/contain no-repeat; opacity: .9; }

/* ---------------------------------------------------------------- utilidades */
.divider-v { width: 1px; align-self: stretch; background: var(--border); }
.kv { display: grid; grid-template-columns: 140px 1fr; gap: 10px 16px; font-size: .93rem; }
.kv dt { color: var(--cinza-3); font-weight: 700; }
.kv dd { margin: 0; font-weight: 600; word-break: break-word; }
@media (max-width: 480px) { .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 10px; } }
.copy-box { display: flex; align-items: center; gap: 8px; background: var(--surface-2); border: 1.5px dashed var(--border-2); border-radius: 12px; padding: 6px 6px 6px 14px; }
.copy-box code { flex: 1; font: 700 .9rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--verde); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.progress { height: 10px; border-radius: 99px; background: var(--gray-50); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--laranja), #ffa640); border-radius: 99px; }
.spin { width: 16px; height: 16px; border: 2.5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }
.skeleton { background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%); background-size: 200% 100%; animation: sk 1.2s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

@media print {
  .sidebar, .topbar, .bottom-nav, .no-print, .toasts { display: none !important; }
  .main { margin: 0; }
  .page { padding: 0; }
  body { background: #fff; }
  .card { box-shadow: none; break-inside: avoid; }
}

/* estrelas de avaliação */
.stars { color: #e2ddd3; letter-spacing: 1px; white-space: nowrap; }
.stars .on { color: #f5a524; }
.stars .half { background: linear-gradient(90deg, #f5a524 50%, #e2ddd3 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; }
.star-input label { font-size: 2.2rem; line-height: 1; color: #e2ddd3; cursor: pointer; transition: transform .1s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #f5a524; }
.star-input label:active { transform: scale(.9); }

/* ---------------------------------------------------------------- vitrine de parceiros */
.partner-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(290px, 100%), 1fr)); gap: 18px; }
.partner-card { overflow: hidden; }
.pc-cover { height: 110px; background: linear-gradient(120deg, var(--verde), var(--verde-3) 60%, var(--laranja) 150%) center/cover no-repeat; }
.pc-top { display: flex; justify-content: space-between; align-items: flex-end; margin-top: -48px; margin-bottom: 8px; }
.pc-logo { width: 68px; height: 68px; border-radius: 20px; border: 4px solid #fff; box-shadow: var(--shadow); background-color: #fff; background-size: cover; font-size: 1.2rem; }
.pc-rating { font-size: .85rem; background: #fff; padding: 4px 10px; border-radius: 99px; box-shadow: var(--shadow-sm); }
.pc-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.pc-cats span { display: inline-flex; align-items: center; gap: 5px; font-size: .76rem; font-weight: 800; padding: 4px 10px; border-radius: 99px; background: var(--laranja-50); color: var(--laranja-2); }
.pc-cats [data-lucide] { width: 14px; height: 14px; }

.partner-hero { overflow: hidden; }
.ph-cover { height: 180px; background: linear-gradient(120deg, var(--verde), var(--verde-3) 60%, var(--laranja) 150%) center/cover no-repeat; }
.ph-body { display: flex; align-items: flex-end; gap: 18px; padding: 0 24px 20px; flex-wrap: wrap; }
.ph-logo { width: 110px; height: 110px; border-radius: 30px; border: 5px solid #fff; box-shadow: var(--shadow); margin-top: -55px; background-color: #fff; background-size: cover; font-size: 1.8rem; }
.ph-body .grow { min-width: 220px; padding-top: 12px; }
.ph-actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (max-width: 640px) { .ph-cover { height: 130px; } .ph-body { padding: 0 16px 16px; } .ph-logo { width: 88px; height: 88px; margin-top: -44px; } .ph-actions { width: 100%; } .ph-actions .btn:not(.btn-icon) { flex: 1; } }

.svc-filter { display: flex; gap: 10px; flex-wrap: wrap; padding: 14px; }
.svc-filter select { width: auto; min-width: 180px; }
@media (max-width: 640px) { .svc-filter .input-icon { flex: 1 1 100%; } .svc-filter select, .svc-filter .btn { flex: 1; } }
.cat-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-scroll::-webkit-scrollbar { display: none; }
.cat-scroll a { display: inline-flex; align-items: center; gap: 7px; padding: 10px 16px; border-radius: 99px; background: #fff; border: 1px solid var(--border); font-weight: 800; font-size: .88rem; color: var(--cinza-2); white-space: nowrap; }
.cat-scroll a.active { background: var(--verde); border-color: var(--verde); color: #fff; }
.cat-scroll a.active [data-lucide] { color: var(--laranja); }

.svc-pick { display: grid; gap: 10px; }
.svc-pick .choice > span { flex-direction: row; align-items: center; text-align: left; gap: 14px; padding: 12px 16px; }
.svc-pick strong { display: block; color: var(--verde); }
.svc-pick small { display: block; font-weight: 600; color: var(--cinza-3); }
.svc-pick em { font-style: normal; font: 700 1.05rem var(--font-head); color: var(--verde); white-space: nowrap; }
.pill-radio { position: relative; cursor: pointer; }
.pill-radio input { position: absolute; opacity: 0; }
.pill-radio span { display: inline-block; padding: 8px 16px; border-radius: 99px; border: 1.5px solid var(--border-2); font-weight: 800; font-size: .88rem; background: #fff; }
.pill-radio input:checked + span { background: var(--verde); border-color: var(--verde); color: #fff; }

.day-scroll { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.day-btn { scroll-snap-align: start; flex: 0 0 auto; width: 66px; padding: 10px 4px; border-radius: 16px; border: 1.5px solid var(--border-2); background: #fff; cursor: pointer; display: flex; flex-direction: column; align-items: center; font-family: var(--font); color: var(--cinza-3); }
.day-btn span { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.day-btn strong { font: 700 1.35rem var(--font-head); color: var(--verde); }
.day-btn small { font-size: .7rem; font-weight: 700; }
.day-btn.on { background: var(--laranja); border-color: var(--laranja); color: #fff; }
.day-btn.on strong { color: #fff; }
.slots { display: flex; flex-wrap: wrap; gap: 8px; }
.slot { padding: 9px 15px; border-radius: 10px; border: 1.5px solid var(--border-2); background: #fff; font: 700 .92rem var(--font); color: var(--verde); cursor: pointer; }
.slot:hover { border-color: var(--laranja); }
.slot.on { background: var(--laranja); border-color: var(--laranja); color: #fff; }

.date-box { width: 54px; flex-shrink: 0; text-align: center; border-radius: 14px; background: var(--laranja-50); padding: 6px 0; }
.date-box strong { display: block; font: 700 1.3rem/1.1 var(--font-head); color: var(--laranja-2); }
.date-box span { font-size: .72rem; font-weight: 800; text-transform: uppercase; color: var(--laranja-2); }
.date-box-lg { width: 76px; padding: 10px 0; }
.date-box-lg strong { font-size: 1.8rem; }
.date-box em { display: block; font-style: normal; font-weight: 800; font-size: .8rem; color: var(--verde); margin-top: 2px; }
.hours-line { padding: 6px 0; border-bottom: 1px dashed var(--border); }
.hours-line.today { font-weight: 800; color: var(--verde); }

/* colunas de grid nunca estouram a largura (ex.: listas com rolagem lateral) */
.card, .stack > *, .grid-2 > *, .grid-3 > *, .checkout > *, .main, .page { min-width: 0; }

/* ---------------------------------------------------------------- loja */
.cep-bar { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 10px 10px 10px 14px; box-shadow: var(--shadow-sm); flex-wrap: wrap; }
.cep-bar .cep-ico { width: 40px; height: 40px; border-radius: 12px; background: var(--laranja-50); color: var(--laranja); display: grid; place-items: center; flex-shrink: 0; }
.cep-bar small { display: block; font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--cinza-3); }
.cep-bar strong { color: var(--verde); font-size: .95rem; }
.cep-bar input { width: 130px; height: 38px; }
@media (max-width: 560px) { .cep-bar .grow { flex: 1 1 calc(100% - 60px); } .cep-bar input { flex: 1; } }

.shop-hero { padding: 36px 0 28px; background: radial-gradient(900px 400px at 85% -60px, var(--laranja-100), transparent 70%); }
.shop-hero .container { display: grid; gap: 22px; }
.shop-hero .display { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 12px; }
.shop-hero .lead { max-width: 620px; }
.shop-search { display: flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--border-2); border-radius: 99px; padding: 6px 6px 6px 18px; max-width: 620px; box-shadow: var(--shadow); }
.shop-search input { border: 0; height: 40px; padding: 0; box-shadow: none !important; background: transparent; }
.shop-search [data-lucide] { color: var(--cinza-3); }
.shop-search.sm { box-shadow: none; padding: 2px 2px 2px 14px; max-width: 280px; }
.shop-search.sm input { height: 36px; }
.shop-section { padding-top: 18px; padding-bottom: 18px; }
.shop-section h2 { display: flex; align-items: center; gap: 8px; }
.shop-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.shop-cats a { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 8px; background: #fff; border: 1px solid var(--border); border-radius: 18px; font-weight: 800; font-size: .82rem; color: var(--verde); text-align: center; transition: transform .15s, box-shadow .15s; }
.shop-cats a:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--verde); }
.shop-filters { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.shop-filters .cat-scroll { flex: 1; min-width: 0; }
.shop-filters select { width: auto; height: 40px; }

.store-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.store-card { display: flex; align-items: center; gap: 14px; padding: 14px; }
.store-card strong { display: block; color: var(--verde); font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.store-card .grow > span { display: block; }
.store-logo { width: 58px; height: 58px; border-radius: 18px; background-size: cover; font-size: 1.1rem; }
.delivery-pill { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 99px; font-weight: 800; font-size: .82rem; }
.delivery-pill.ok { background: var(--green-50); color: var(--green); }
.delivery-pill.no { background: var(--gray-50); color: var(--cinza-2); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 46%), 1fr)); gap: 14px; }
.product-card { background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .15s, transform .15s; }
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.product-card.out { opacity: .6; }
.pc-img { position: relative; aspect-ratio: 1; background: var(--surface-2) center/contain no-repeat; display: grid; place-items: center; color: var(--border-2); border-bottom: 1px solid var(--border); }
.pc-img [data-lucide] { width: 48px; height: 48px; }
.pc-off { position: absolute; top: 10px; left: 10px; background: var(--laranja); color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 9px; border-radius: 99px; }
.pc-out { position: absolute; inset: auto 10px 10px; background: rgba(47,47,46,.85); color: #fff; font-weight: 800; font-size: .75rem; padding: 4px 9px; border-radius: 99px; text-align: center; }
.pc-info { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-store { font-size: .72rem; font-weight: 800; color: var(--laranja-2); text-transform: uppercase; letter-spacing: .04em; }
.pc-name { color: var(--cinza); font-weight: 700; font-size: .92rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.pc-price { margin: 4px 0 8px; margin-top: auto; }
.pc-price s { display: block; font-size: .78rem; color: var(--cinza-3); }
.pc-price strong { font: 700 1.2rem var(--font-head); color: var(--verde); }

.product-page { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .product-page { grid-template-columns: 1fr; gap: 20px; } }
.gallery-main { position: relative; aspect-ratio: 1; border-radius: 26px; background: #fff center/contain no-repeat; border: 1px solid var(--border); display: grid; place-items: center; color: var(--border-2); }
.gallery-main [data-lucide] { width: 80px; height: 80px; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.gallery-thumbs button { width: 70px; height: 70px; flex-shrink: 0; border-radius: 14px; border: 2px solid var(--border); background: #fff center/cover no-repeat; cursor: pointer; }
.gallery-thumbs button.on { border-color: var(--laranja); }
.product-info h1 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 4px; }
.pp-price s { display: block; color: var(--cinza-3); font-weight: 600; }
.pp-price strong { font: 700 2.2rem var(--font-head); color: var(--verde); }
.buy-box { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--border-2); border-radius: 99px; background: #fff; height: 54px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 1.3rem; font-weight: 800; color: var(--verde); cursor: pointer; }
.qty input { width: 48px; border: 0; text-align: center; padding: 0; height: 100%; box-shadow: none !important; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { display: none; }
.qty.sm { height: 38px; }
.qty.sm button { width: 32px; }
.qty.sm input { width: 36px; }
.text-uppercase { text-transform: uppercase; letter-spacing: .06em; }

/* carrinho */
.cart-store { margin-bottom: 18px; }
.cart-item { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--border); }
.cart-item:last-child { border-bottom: 0; }
.cart-thumb { width: 64px; height: 64px; border-radius: 14px; background: var(--surface-2) center/contain no-repeat; border: 1px solid var(--border); flex-shrink: 0; display: grid; place-items: center; color: var(--border-2); }
.cart-item .name { font-weight: 800; color: var(--verde); }
.cart-item.bad { background: var(--red-50); }
@media (max-width: 560px) { .cart-item { flex-wrap: wrap; padding: 14px 16px; } .cart-item .grow { flex-basis: calc(100% - 80px); } }
.ship-options { display: grid; gap: 10px; }
.ship-options .choice > span { flex-direction: row; justify-content: space-between; align-items: center; text-align: left; padding: 14px 16px; }

/* imagens de produto */
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.img-thumb { position: relative; aspect-ratio: 1; border-radius: 14px; background: var(--gray-50) center/cover no-repeat; border: 1px solid var(--border); cursor: pointer; overflow: hidden; }
.img-thumb input { position: absolute; opacity: 0; }
.img-thumb span { position: absolute; inset: auto 0 0 0; background: rgba(0,0,0,.55); color: #fff; font-size: .72rem; font-weight: 800; padding: 5px; display: flex; gap: 4px; align-items: center; justify-content: center; }
.img-thumb input:checked + span { background: var(--red); }
@media (max-width: 640px) { .shop-filters .cat-scroll { flex: 1 1 100%; } .shop-filters .shop-search.sm { max-width: none; width: 100%; } .shop-filters .row { width: 100%; } .shop-filters select { flex: 1; } }

/* convite de notificações push */
.push-card { display: flex; align-items: center; gap: 12px; padding: 14px 16px; margin-bottom: 18px; border-radius: 18px; background: linear-gradient(135deg, var(--verde), var(--verde-3)); color: #fff; box-shadow: var(--shadow); }
.push-card.hide { display: none; }
.push-card strong { display: block; font-family: var(--font-head); font-weight: 600; }
.push-card span { font-size: .84rem; opacity: .85; }
.push-card .icon-btn { color: #fff; }
.push-card .icon-btn:hover { background: rgba(255,255,255,.12); color: #fff; }
.push-ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(244,126,2,.25); color: var(--laranja); display: grid; place-items: center; flex-shrink: 0; }
@media (max-width: 480px) { .push-card { flex-wrap: wrap; } .push-card .grow { flex-basis: calc(100% - 100px); } }

/* ---------------------------------------------------------------- vaquinhas (cartão) */
.camp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 18px; }
.camp-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 22px; overflow: hidden; color: inherit; transition: transform .15s, box-shadow .15s; }
.camp-card:hover { color: inherit; transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.camp-card.closed { opacity: .8; }
.camp-cover { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(135deg, var(--verde-3), var(--verde)) center/cover no-repeat; }
.camp-cat { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 5px; background: rgba(255,255,255,.95); color: var(--verde); font: 800 .74rem var(--font); padding: 5px 10px; border-radius: 99px; }
.camp-cat [data-lucide] { width: 14px; height: 14px; color: var(--laranja); }
.camp-flag { position: absolute; bottom: 12px; left: 12px; background: var(--verde); color: #fff; font: 800 .74rem var(--font); padding: 5px 10px; border-radius: 99px; }
.camp-flag.urgent { background: var(--red); }
.camp-body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.camp-body h3 { font-size: 1.1rem; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.camp-body .progress { margin-top: auto; }
