/* =========================================================
   TOYA — Car Rental Mobile App UI Kit
   Design System global stylesheet
   Fonts: Montserrat (headers / "Mont") + Poppins (body)
   ========================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Primary colors */
  --blue-500: #06a5ff;
  --blue-400: #3b85fd;
  --blue-300: #5ac1fc;
  --blue-200: #7dccfa;
  --blue-100: #a1d9fb;
  --blue-050: #e9f5ff;
  --blue-025: #f4faff;
  --blue-600: #0089d6;

  /* Secondary colors */
  --ink: #263238;
  --navy: #00186a;
  --navy-2: #002987;
  --peach: #eb996e;
  --peach-2: #ffb99f;
  --sand: #ffe99d;

  /* Neutrals */
  --ink-2: #4b5a63;
  --muted: #90a0ab;
  --muted-2: #b6c2cb;
  --line: #e9eef3;
  --line-2: #f2f6f9;
  --surface: #ffffff;
  --bg: #f4f8fc;

  /* Status */
  --green: #17c07f;
  --red: #ff4d4f;
  --amber: #ffb02e;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 10px;
  --r: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* Elevation */
  --sh-xs: 0 2px 8px rgba(38, 50, 56, 0.05);
  --sh-sm: 0 4px 16px rgba(38, 50, 56, 0.07);
  --sh: 0 10px 30px rgba(38, 50, 56, 0.09);
  --sh-lg: 0 18px 44px rgba(38, 50, 56, 0.13);
  --sh-blue: 0 10px 24px rgba(6, 165, 255, 0.32);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --fast: 160ms;
  --base: 280ms;
  --slow: 520ms;

  /* Layout */
  --app-w: 420px;
  --gutter: 20px;

  /* Navegação flutuante */
  --nav-bg: #1b2229;
  --nav-ink: rgba(255, 255, 255, 0.62);
  --nav-dot: #c7f24a;
  --frame-bg: #dbe9f6;
  --scrim: rgba(20, 30, 38, 0.44);
}

/* Tema escuro — só remapeia tokens, os componentes seguem iguais */
[data-theme="dark"] {
  --ink: #eaf1f7;
  --ink-2: #c3ced8;
  --muted: #8b99a6;
  --muted-2: #667584;
  --line: #24313c;
  --line-2: #1b262f;
  --surface: #151e26;
  --bg: #0e161c;

  --blue-050: #11242f;
  --blue-025: #0f1d26;
  --blue-100: #2a5a78;

  --sh-xs: 0 2px 8px rgba(0, 0, 0, 0.4);
  --sh-sm: 0 4px 16px rgba(0, 0, 0, 0.45);
  --sh: 0 10px 30px rgba(0, 0, 0, 0.5);
  --sh-lg: 0 18px 44px rgba(0, 0, 0, 0.6);
  --sh-blue: 0 10px 24px rgba(6, 165, 255, 0.28);

  --nav-bg: #06121b;
  --frame-bg: #070d12;
  --scrim: rgba(0, 0, 0, 0.6);

  color-scheme: dark;
}

/* ---------- 2. Reset ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--blue-500);
  outline-offset: 2px;
  border-radius: 6px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- 3. Typography ---------- */
.h1,
.h2 {
  font-family: "Montserrat", "Poppins", sans-serif;
  letter-spacing: -0.02em;
}

.h1 {
  font-size: 35px;
  font-weight: 700;
  line-height: 1.18;
}

.h2 {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.22;
}

.h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
}

.h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.body-lg {
  font-size: 15px;
}

.body {
  font-size: 14px;
}

.body-sm {
  font-size: 13px;
}

.caption {
  font-size: 12px;
}

.tiny {
  font-size: 11px;
}

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

.ink-2 {
  color: var(--ink-2);
}

.blue {
  color: var(--blue-500);
}

.bold {
  font-weight: 600;
}

.semibold {
  font-weight: 500;
}

.center {
  text-align: center;
}

.balance {
  text-wrap: balance;
}

.pretty {
  text-wrap: pretty;
}

/* ---------- 3b. Ícones ---------- */
.ic {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ic-12 {
  width: 12px;
  height: 12px;
  stroke-width: 2.2;
}
.ic-14 {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.ic-16 {
  width: 16px;
  height: 16px;
  stroke-width: 1.9;
}
.ic-18 {
  width: 18px;
  height: 18px;
}
.ic-20 {
  width: 20px;
  height: 20px;
}
.ic-22 {
  width: 22px;
  height: 22px;
}
.ic-24 {
  width: 24px;
  height: 24px;
  stroke-width: 1.7;
}
.ic-28 {
  width: 28px;
  height: 28px;
  stroke-width: 1.6;
}
.ic-40 {
  width: 40px;
  height: 40px;
  stroke-width: 1.4;
}

/* ---------- 4. App shell ---------- */
.app {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--app-w);
  height: 100vh;
  height: 100dvh;
  margin-inline: auto;
  background: var(--surface);
  overflow: hidden;
}

.app--bg {
  background: var(--bg);
}

.app--blue {
  background: var(--blue-500);
  color: #fff;
}

@media (min-width: 480px) {
  body.framed {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--frame-bg);
  }

  body.framed .app {
    min-height: 0;
    height: 860px;
    max-height: calc(100vh - 48px);
    border-radius: 34px;
    box-shadow: var(--sh-lg);
  }
}

.screen {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
}

/* A tab bar flutua sobre o conteúdo, então o scroll precisa de respiro no fim */
.screen:has(> .tabbar) .screen__body {
  padding-bottom: 104px;
}

.screen:has(> .tabbar) .screen__footer {
  padding-bottom: 92px;
}

.screen__body {
  flex: 1;
  min-height: 0;
  padding: 4px var(--gutter) 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.screen__body::-webkit-scrollbar {
  display: none;
}

.screen__footer {
  flex-shrink: 0;
  padding: 12px var(--gutter) 20px;
  background: inherit;
}

.screen__footer--sticky {
  position: sticky;
  bottom: 0;
  border-top: 1px solid var(--line-2);
  background: var(--surface);
}

.stack {
  display: flex;
  flex-direction: column;
}

.row {
  display: flex;
  align-items: center;
}

.between {
  justify-content: space-between;
}

.grow {
  flex: 1;
  min-width: 0;
}

.g4 {
  gap: 4px;
}
.g6 {
  gap: 6px;
}
.g8 {
  gap: 8px;
}
.g10 {
  gap: 10px;
}
.g12 {
  gap: 12px;
}
.g14 {
  gap: 14px;
}
.g16 {
  gap: 16px;
}
.g20 {
  gap: 20px;
}
.g24 {
  gap: 24px;
}

.mt4 {
  margin-top: 4px;
}
.mt8 {
  margin-top: 8px;
}
.mt12 {
  margin-top: 12px;
}
.mt16 {
  margin-top: 16px;
}
.mt20 {
  margin-top: 20px;
}
.mt24 {
  margin-top: 24px;
}
.mt32 {
  margin-top: 32px;
}

/* ---------- 5. App bar ---------- */
.appbar {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
  padding: 18px var(--gutter) 10px;
}

.appbar__title {
  flex: 1;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
}

.appbar__title--left {
  text-align: left;
}

.icon-btn {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: var(--sh-xs);
  transition: transform var(--fast) var(--ease), background var(--fast);
}

.icon-btn:active {
  transform: scale(0.92);
}

.icon-btn--plain {
  background: none;
  box-shadow: none;
}

.icon-btn--soft {
  background: var(--blue-050);
  color: var(--blue-500);
  box-shadow: none;
}

.icon-btn--blue {
  background: var(--blue-500);
  color: #fff;
  box-shadow: var(--sh-blue);
}

.icon-btn--ghost-white {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: none;
}

.icon-btn__dot {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 7px;
  height: 7px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--red);
}

/* ---------- 6. Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  overflow: hidden;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--r-sm);
  transition: transform var(--fast) var(--ease), box-shadow var(--base),
    background var(--fast), opacity var(--fast);
}

.btn:active {
  transform: scale(0.975);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--sm {
  min-height: 34px;
  padding: 0 16px;
  font-size: 12px;
  border-radius: var(--r-xs);
}

.btn--lg {
  min-height: 56px;
}

.btn--primary {
  color: #fff;
  background: var(--blue-500);
  box-shadow: var(--sh-blue);
}

.btn--primary:hover {
  background: var(--blue-600);
}

.btn--soft {
  color: var(--blue-500);
  background: var(--blue-050);
}

.btn--ghost {
  color: var(--blue-500);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--blue-500);
}

.btn--outline {
  color: var(--ink-2);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn--white {
  color: var(--blue-500);
  background: #fff;
}

.btn--social {
  gap: 12px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn--social-blue {
  color: #fff;
  background: var(--blue-500);
  box-shadow: var(--sh-blue);
}

.btn[disabled] {
  pointer-events: none;
  opacity: 0.5;
}

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.28;
  transform: scale(0);
  animation: ripple var(--slow) var(--ease-out) forwards;
  pointer-events: none;
}

@keyframes ripple {
  to {
    opacity: 0;
    transform: scale(2.6);
  }
}

/* small round social buttons row */
.social-row {
  display: flex;
  gap: 12px;
}

.social-row .btn {
  flex: 1;
  min-height: 46px;
  padding: 0;
}

/* ---------- 7. Form fields ---------- */
.label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
}

.field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 14px;
  background: var(--surface);
  border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1.5px var(--line);
  transition: box-shadow var(--base) var(--ease), background var(--base);
}

.field:focus-within {
  box-shadow: inset 0 0 0 1.5px var(--blue-500), 0 0 0 4px var(--blue-050);
}

.field--filled {
  background: var(--line-2);
  box-shadow: inset 0 0 0 1.5px transparent;
}

.field--active {
  box-shadow: inset 0 0 0 1.5px var(--blue-500);
}

.field__icon {
  flex-shrink: 0;
  color: var(--blue-500);
}

.field__icon--muted {
  color: var(--muted-2);
}

.field input,
.field select {
  flex: 1;
  min-width: 0;
  padding: 0;
  font-size: 14px;
  background: none;
  border: 0;
  outline: none;
  appearance: none;
}

.field input::placeholder {
  color: var(--muted-2);
}

.field__action {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  color: var(--muted);
  transition: color var(--fast);
}

.field__action:hover {
  color: var(--blue-500);
}

/* search bar */
.searchbar {
  display: flex;
  align-items: center;
  gap: 12px;
}

.searchbar .field {
  flex: 1;
}

/* ---------- 8. OTP ---------- */
.otp {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.otp input {
  width: 46px;
  height: 46px;
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: var(--r-xs);
  outline: none;
  transition: border-color var(--base) var(--ease),
    box-shadow var(--base) var(--ease), transform var(--fast) var(--ease);
}

.otp input:focus {
  border-color: var(--blue-500);
  box-shadow: 0 0 0 4px var(--blue-050);
  transform: translateY(-2px);
}

.otp input.is-filled {
  border-color: var(--blue-500);
  animation: pop var(--base) var(--ease);
}

@keyframes pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.14);
  }
  100% {
    transform: scale(1);
  }
}

/* ---------- 9. Chips / segments ---------- */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.chips::-webkit-scrollbar {
  display: none;
}

.chips--wrap {
  flex-wrap: wrap;
  overflow: visible;
}

.chip {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  white-space: nowrap;
  background: var(--surface);
  border-radius: var(--r-pill);
  box-shadow: inset 0 0 0 1.2px var(--line);
  transition: color var(--base) var(--ease), background var(--base) var(--ease),
    box-shadow var(--base) var(--ease), transform var(--fast) var(--ease);
}

.chip:active {
  transform: scale(0.94);
}

.chip.is-active {
  color: #fff;
  background: var(--blue-500);
  box-shadow: var(--sh-blue);
}

.chip--ghost.is-active {
  color: var(--blue-500);
  background: var(--blue-050);
  box-shadow: inset 0 0 0 1.2px var(--blue-500);
}

.chip__close {
  display: grid;
  place-items: center;
  opacity: 0.7;
}

/* brand strip */
.brands {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
}

.brands::-webkit-scrollbar {
  display: none;
}

.brand {
  display: flex;
  flex: 1;
  flex-shrink: 0;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  min-width: 62px;
}

.brand__badge {
  display: grid;
  place-items: center;
  width: 54px;
  height: 46px;
  color: var(--ink);
  background: var(--surface);
  border-radius: var(--r-sm);
  box-shadow: var(--sh-xs);
  transition: transform var(--base) var(--ease), color var(--base),
    box-shadow var(--base);
}

.brand:hover .brand__badge,
.brand.is-active .brand__badge {
  color: var(--blue-500);
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.brand__name {
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 10. Cards ---------- */
.card {
  padding: 16px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.card--flat {
  box-shadow: none;
  border: 1px solid var(--line);
}

.card--tint {
  background: var(--blue-025);
  box-shadow: none;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.section-head h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.see-all {
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-500);
  transition: opacity var(--fast);
}

.see-all:hover {
  opacity: 0.7;
}

/* horizontal car row card */
.car-row {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  transition: transform var(--base) var(--ease), box-shadow var(--base);
}

.car-row:hover {
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

/* As fotos de estúdio vêm com fundo quase branco e muita área vazia:
   recortamos a faixa central e clareamos o fundo para casar com o card. */
.car-row__img,
.car-tile img,
.offer img,
img[style*="multiply"] {
  filter: brightness(1.06) contrast(1.04) saturate(1.02);
}

.car-row__img {
  flex-shrink: 0;
  width: 104px;
  height: 64px;
  object-fit: cover;
  object-position: center 48%;
  mix-blend-mode: multiply;
}

.offer img {
  width: 104px;
  height: 68px;
  object-fit: cover;
}

img[style*="multiply"] {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.car-row__name {
  font-size: 13.5px;
  font-weight: 600;
}

.car-row__price {
  font-size: 12.5px;
  color: var(--ink-2);
}

/* grid tile */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.car-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  transition: transform var(--base) var(--ease), box-shadow var(--base);
}

.car-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-sm);
}

.car-tile img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  object-position: center 48%;
  mix-blend-mode: multiply;
}

.car-tile__name {
  font-size: 13px;
  font-weight: 600;
}

/* rating */
.rating {
  display: inline-flex;
  gap: 3px;
  align-items: center;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.rating svg {
  color: var(--amber);
}

/* heart */
.heart {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--muted-2);
  background: var(--surface);
  border-radius: 50%;
  box-shadow: var(--sh-xs);
  transition: color var(--fast), transform var(--fast) var(--ease);
}

.heart--plain {
  background: none;
  box-shadow: none;
}

.heart.is-on {
  color: var(--blue-500);
  animation: pop 420ms var(--ease);
}

.heart.is-on svg {
  fill: currentColor;
}

.heart--abs {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 1;
}

/* tags */
.tag {
  display: inline-flex;
  gap: 5px;
  align-items: center;
  padding: 3px 9px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--blue-500);
  background: var(--blue-050);
  border-radius: var(--r-pill);
}

.tag--green {
  color: var(--green);
  background: rgba(23, 192, 127, 0.12);
}

.tag--sand {
  color: #a5700a;
  background: rgba(255, 233, 157, 0.55);
}

/* ---------- 11. List items ---------- */
.list {
  display: flex;
  flex-direction: column;
}

.list-item {
  display: flex;
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 13px 14px;
  text-align: left;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  transition: transform var(--base) var(--ease), box-shadow var(--base);
}

.list-item:hover {
  transform: translateX(2px);
  box-shadow: var(--sh-sm);
}

.list-item--plain {
  box-shadow: none;
  border-radius: 0;
}

.list-item--plain:hover {
  transform: none;
  box-shadow: none;
}

.bubble-icon {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--blue-500);
  border-radius: 12px;
}

.bubble-icon--soft {
  color: var(--blue-500);
  background: var(--blue-050);
}

.avatar {
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 50%;
}

.avatar--28 {
  width: 28px;
  height: 28px;
}
.avatar--36 {
  width: 36px;
  height: 36px;
}
.avatar--44 {
  width: 44px;
  height: 44px;
}
.avatar--56 {
  width: 56px;
  height: 56px;
}
.avatar--96 {
  width: 96px;
  height: 96px;
}

.avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.avatar-wrap__dot {
  position: absolute;
  right: 0;
  bottom: 1px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--green);
}

/* ---------- 12. Switch / radio / check ---------- */
.switch {
  position: relative;
  flex-shrink: 0;
  width: 42px;
  height: 24px;
  padding: 3px;
  background: var(--muted-2);
  border-radius: var(--r-pill);
  transition: background var(--base) var(--ease);
}

.switch::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.18);
  transition: transform var(--base) var(--ease);
}

.switch.is-on {
  background: var(--blue-500);
}

.switch.is-on::after {
  transform: translateX(18px);
}

.radio {
  position: relative;
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1.8px solid var(--muted-2);
  border-radius: 50%;
  transition: border-color var(--base) var(--ease);
}

.radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--blue-500);
  border-radius: 50%;
  transform: scale(0);
  transition: transform var(--base) var(--ease);
}

.radio.is-on {
  border-color: var(--blue-500);
}

.radio.is-on::after {
  transform: scale(1);
}

.checkmark {
  display: grid;
  flex-shrink: 0;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: var(--blue-500);
  border-radius: 50%;
}

/* ---------- 13. Range slider ---------- */
.range {
  position: relative;
  height: 56px;
  padding-top: 26px;
}

.range__bars {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  height: 26px;
}

.range__bar {
  flex: 1;
  background: var(--blue-100);
  border-radius: 2px;
  transition: background var(--base) var(--ease), opacity var(--base);
  opacity: 0.45;
}

.range__bar.is-in {
  background: var(--blue-500);
  opacity: 1;
}

.range__track {
  position: relative;
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}

.range__fill {
  position: absolute;
  top: 0;
  height: 100%;
  background: var(--blue-500);
  border-radius: 2px;
}

.range input[type="range"] {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 24px;
  margin: 0;
  background: none;
  pointer-events: none;
  appearance: none;
}

.range input[type="range"]::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  background: var(--surface);
  border: 4px solid var(--blue-500);
  border-radius: 50%;
  box-shadow: var(--sh-sm);
  cursor: grab;
  pointer-events: auto;
  appearance: none;
  transition: transform var(--fast) var(--ease);
}

.range input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.18);
}

.range input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--surface);
  border: 4px solid var(--blue-500);
  border-radius: 50%;
  pointer-events: auto;
}

.range__bubble {
  position: absolute;
  top: -4px;
  padding: 2px 8px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: var(--blue-500);
  border-radius: var(--r-pill);
  transform: translateX(-50%);
}

/* ---------- 14. Tab bar (pílula flutuante) ---------- */
.tabbar {
  display: flex;
  flex-shrink: 0;
  gap: 6px;
  width: fit-content;
  margin-inline: auto;
  padding: 7px;
  background: var(--nav-bg);
  border-radius: var(--r-pill);
  box-shadow: 0 16px 34px rgba(10, 18, 25, 0.34);
}

.screen > .tabbar {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  animation: nav-in var(--slow) var(--ease) both;
}

@keyframes nav-in {
  from {
    opacity: 0;
    transform: translate(-50%, 28px);
  }
}

.tabbar__item {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--nav-ink);
  border-radius: 50%;
  transition: color var(--base) var(--ease), background var(--base) var(--ease),
    transform var(--fast) var(--ease);
}

.tabbar__item:active {
  transform: scale(0.88);
}

.tabbar__item.is-active {
  color: var(--ink);
  background: var(--surface);
}

.tabbar__item.is-active svg {
  animation: pop 420ms var(--ease);
}

/* Ponto de status do item ativo, como no mock */
.tabbar__item.is-active::after {
  content: "";
  position: absolute;
  top: 2px;
  right: 2px;
  width: 9px;
  height: 9px;
  background: var(--nav-dot);
  border: 2px solid var(--nav-bg);
  border-radius: 50%;
  animation: pop 420ms var(--ease) 80ms both;
}

/* ---------- 14b. Menu lateral ---------- */
.drawer {
  position: absolute;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
}

.drawer__scrim {
  position: absolute;
  inset: 0;
  background: var(--scrim);
  opacity: 0;
  backdrop-filter: blur(2px);
  transition: opacity var(--base) var(--ease);
}

.drawer.is-open .drawer__scrim {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  width: 82%;
  max-width: 310px;
  padding: 22px 18px calc(18px + env(safe-area-inset-bottom));
  background: var(--surface);
  border-radius: 0 var(--r-xl) var(--r-xl) 0;
  box-shadow: var(--sh-lg);
  overflow-y: auto;
  scrollbar-width: none;
  transform: translateX(-102%);
  transition: transform var(--slow) var(--ease);
}

.drawer__panel::-webkit-scrollbar {
  display: none;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.drawer__name {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 600;
}

.drawer__close {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--muted);
  background: var(--line-2);
  border-radius: 50%;
  transition: transform var(--fast) var(--ease);
}

.drawer__close:active {
  transform: scale(0.9) rotate(90deg);
}

.drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 22px;
}

.drawer__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 12px;
  color: var(--ink-2);
  border-radius: var(--r);
  transition: background var(--fast), color var(--fast), transform var(--fast) var(--ease);
}

.drawer__link:active {
  transform: scale(0.98);
}

.drawer__link:hover {
  background: var(--line-2);
}

.drawer__link.is-active {
  color: var(--blue-500);
  background: var(--blue-050);
  font-weight: 600;
}

.drawer__link span {
  flex: 1;
  font-size: 14px;
}

/* entrada escalonada dos itens */
.drawer.is-open .drawer__link {
  animation: drawer-item var(--base) var(--ease) both;
  animation-delay: calc(var(--i, 0) * 38ms + 90ms);
}

@keyframes drawer-item {
  from {
    opacity: 0;
    transform: translateX(-14px);
  }
}

.drawer__foot {
  margin-top: auto;
  padding-top: 20px;
}

/* Botão de troca de tema */
.theme-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  text-align: left;
  color: var(--ink);
  background: var(--line-2);
  border-radius: var(--r-lg);
  transition: background var(--fast), transform var(--fast) var(--ease);
}

.theme-toggle:active {
  transform: scale(0.98);
}

.theme-toggle__icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: #fff;
  background: var(--blue-500);
  border-radius: 50%;
  transition: background var(--base) var(--ease), transform var(--slow) var(--ease);
}

[data-theme="dark"] .theme-toggle__icon {
  background: var(--navy-2);
  transform: rotate(-360deg);
}

.theme-toggle__text {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
}

.theme-toggle__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}

.theme-toggle__hint {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted);
}

.theme-toggle__track {
  position: relative;
  flex-shrink: 0;
  width: 46px;
  height: 26px;
  background: var(--muted-2);
  border-radius: var(--r-pill);
  transition: background var(--base) var(--ease);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__track {
  background: var(--blue-500);
}

.theme-toggle__knob {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform var(--base) var(--ease);
}

.theme-toggle[aria-pressed="true"] .theme-toggle__knob {
  transform: translateX(20px);
}

/* ---------- 15. Bottom sheet ---------- */
.sheet {
  margin-top: auto;
  padding: 10px 20px 20px;
  background: var(--surface);
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  box-shadow: 0 -12px 40px rgba(38, 50, 56, 0.14);
  animation: sheet-up 520ms var(--ease-out) both;
}

@keyframes sheet-up {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
}

.sheet__grab {
  width: 44px;
  height: 4px;
  margin: 0 auto 14px;
  background: var(--line);
  border-radius: 2px;
}

/* ---------- 16. Credit card ---------- */
.credit-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 190px;
  padding: 18px;
  overflow: hidden;
  color: var(--ink);
  background: linear-gradient(
    115deg,
    #b8d4ff 0%,
    #d9c7f7 32%,
    #ffc8dd 62%,
    #ffd8b0 100%
  );
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  transition: transform var(--base) var(--ease);
}

.credit-card::after {
  content: "";
  position: absolute;
  top: -40%;
  left: -30%;
  width: 60%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transform: rotate(18deg);
  animation: sheen 4.5s var(--ease) infinite;
}

@keyframes sheen {
  0%,
  65% {
    left: -40%;
  }
  100% {
    left: 130%;
  }
}

.credit-card--sm {
  height: auto;
  padding: 14px 16px;
}

.credit-card--row {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
}

.illus {
  mix-blend-mode: multiply;
  filter: brightness(1.05);
}

.credit-card--amber {
  background: linear-gradient(115deg, #ffe6b8 0%, #ffd2a6 55%, #ffc6c0 100%);
}

.credit-card__brand {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 700;
}

.credit-card__num {
  font-size: 14px;
  letter-spacing: 0.08em;
}

.credit-card__amount {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
}

/* ---------- 17. Timeline ---------- */
.timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-left: 26px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 8px;
  width: 2px;
  background: repeating-linear-gradient(
    var(--line) 0 4px,
    transparent 4px 8px
  );
}

.timeline__item {
  position: relative;
}

.timeline__dot {
  position: absolute;
  top: 3px;
  left: -26px;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #fff;
  background: var(--surface);
  border: 2px solid var(--muted-2);
  border-radius: 50%;
}

.timeline__item.is-done .timeline__dot {
  background: var(--blue-500);
  border-color: var(--blue-500);
}

.timeline__item.is-done .timeline__title {
  color: var(--blue-500);
}

.timeline__title {
  font-size: 12.5px;
  font-weight: 600;
}

/* progress steps (delivery icons) */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.steps__item {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  color: var(--muted-2);
}

.steps__item.is-done {
  color: var(--blue-500);
}

.steps__line {
  flex: 1;
  height: 2px;
  margin-top: 30px;
  background: var(--line);
}

.steps__line.is-done {
  background: var(--blue-500);
}

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

/* ---------- 18. Chat ---------- */
.chat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bubble {
  max-width: 78%;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.5;
}

.bubble--in {
  color: var(--ink);
  background: var(--line-2);
  border-radius: var(--r) var(--r) var(--r) 4px;
}

.bubble--out {
  align-self: flex-end;
  color: #fff;
  background: var(--blue-500);
  border-radius: var(--r) var(--r) 4px var(--r);
}

.bubble-in-anim {
  animation: bubble-in 420ms var(--ease-out) both;
}

@keyframes bubble-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.96);
  }
}

.typing {
  display: inline-flex;
  gap: 4px;
  align-items: center;
  padding: 13px 16px;
  background: var(--blue-050);
  border-radius: var(--r-pill);
}

.typing span {
  width: 7px;
  height: 7px;
  background: var(--blue-500);
  border-radius: 50%;
  animation: typing 1.2s var(--ease) infinite;
}

.typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typing {
  0%,
  60%,
  100% {
    opacity: 0.35;
    transform: translateY(0);
  }
  30% {
    opacity: 1;
    transform: translateY(-5px);
  }
}

.composer {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 10px var(--gutter) 16px;
  background: var(--surface);
  box-shadow: 0 -6px 22px rgba(38, 50, 56, 0.06);
}

/* ---------- 19. Keyboard mock ---------- */
.keyboard {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 8px 4px 10px;
  background: #d1d5db;
}

.keyboard__row {
  display: flex;
  gap: 5px;
  justify-content: center;
}

.key {
  display: grid;
  flex: 1;
  place-items: center;
  height: 40px;
  font-size: 16px;
  background: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.3);
  transition: background var(--fast);
}

.key:active {
  background: #e5e7eb;
}

.key--wide {
  flex: 1.5;
  font-size: 13px;
  background: #adb3bd;
}

.key--space {
  flex: 5;
  font-size: 13px;
}

.key--return {
  flex: 2;
  font-size: 13px;
  background: #adb3bd;
}

/* ---------- 20. Carousel / dots ---------- */
.carousel {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.carousel__track {
  display: flex;
  height: 100%;
  transition: transform 520ms var(--ease-out);
}

.carousel__slide {
  display: flex;
  flex: 0 0 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 28px;
}

.dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.dots__dot {
  width: 7px;
  height: 7px;
  background: var(--blue-100);
  border-radius: var(--r-pill);
  transition: width var(--base) var(--ease), background var(--base);
}

.dots__dot.is-active {
  width: 22px;
  background: var(--blue-500);
}

/* ---------- 21. Misc ---------- */
.divider {
  height: 1px;
  background: var(--line);
}

.or-line {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}

.or-line::before,
.or-line::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.kv {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.kv dt {
  color: var(--muted);
}

.kv dd {
  margin: 0;
  font-weight: 500;
}

.price-big {
  font-family: "Montserrat", sans-serif;
  font-size: 20px;
  font-weight: 700;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: center;
}

.logo__word {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

.barcode {
  display: flex;
  gap: 2px;
  align-items: flex-end;
  height: 66px;
}

.barcode i {
  flex: 1;
  background: var(--ink);
}

.specs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}

.specs::-webkit-scrollbar {
  display: none;
}

.spec {
  display: flex;
  flex: 1;
  flex-shrink: 0;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  min-width: 74px;
  padding: 12px 8px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
}

.spec__val {
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
}

.spec__val span {
  font-size: 10px;
  font-weight: 500;
  color: var(--muted);
}

.spec__label {
  font-size: 10px;
  color: var(--muted);
}

/* hero car with orbit ring */
.car-hero {
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 0 26px;
}

.car-hero img {
  position: relative;
  z-index: 1;
  width: 94%;
  height: 210px;
  object-fit: cover;
  object-position: center 48%;
  filter: brightness(1.06) contrast(1.04);
  mix-blend-mode: multiply;
}

.car-hero__ring {
  position: absolute;
  bottom: 22px;
  left: 50%;
  width: 84%;
  height: 54px;
  border: 2px solid var(--blue-300);
  border-top-color: transparent;
  border-radius: 50%;
  transform: translateX(-50%) rotate(-8deg);
  opacity: 0.85;
}

.car-hero__360 {
  position: absolute;
  bottom: 4px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 7px 12px;
  color: #fff;
  background: var(--blue-500);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-blue);
  transform: translateX(-50%);
}

/* map */
.map {
  position: relative;
  overflow: hidden;
  background: #eef3f7;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map__pin {
  position: absolute;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--blue-500);
  border: 3px solid #fff;
  border-radius: 50% 50% 50% 4px;
  box-shadow: var(--sh);
  transform: rotate(-45deg);
}

.map__pin svg {
  transform: rotate(45deg);
}

.map__pulse {
  position: absolute;
  width: 18px;
  height: 18px;
  background: var(--blue-500);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: var(--sh);
}

.map__pulse::after {
  content: "";
  position: absolute;
  inset: -6px;
  border: 2px solid var(--blue-500);
  border-radius: 50%;
  animation: pulse 2s var(--ease) infinite;
}

@keyframes pulse {
  from {
    opacity: 0.8;
    transform: scale(0.7);
  }
  to {
    opacity: 0;
    transform: scale(2);
  }
}

/* offer row */
.offer {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  background: var(--surface);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
}

.offer__pct {
  font-family: "Montserrat", sans-serif;
  font-size: 19px;
  font-weight: 700;
}

.offer__pct span {
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
}

/* toast */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  z-index: 60;
  display: flex;
  gap: 10px;
  align-items: center;
  max-width: calc(var(--app-w) - 48px);
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  background: var(--ink);
  border-radius: var(--r-pill);
  box-shadow: var(--sh-lg);
  transform: translate(-50%, 24px);
  opacity: 0;
  transition: opacity var(--base) var(--ease), transform var(--base) var(--ease);
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* shimmer placeholder */
.shimmer {
  background: linear-gradient(
    90deg,
    var(--line-2) 25%,
    #fff 50%,
    var(--line-2) 75%
  );
  background-size: 200% 100%;
  border-radius: var(--r-xs);
  animation: shimmer 1.4s linear infinite;
}

@keyframes shimmer {
  to {
    background-position: -200% 0;
  }
}

/* ---------- 22. Entry animations ---------- */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
}

@keyframes scale-in {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
}

@keyframes slide-right {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
}

.screen__body > * {
  animation: fade-up 520ms var(--ease-out) both;
}

.screen__body > *:nth-child(1) {
  animation-delay: 40ms;
}
.screen__body > *:nth-child(2) {
  animation-delay: 90ms;
}
.screen__body > *:nth-child(3) {
  animation-delay: 140ms;
}
.screen__body > *:nth-child(4) {
  animation-delay: 190ms;
}
.screen__body > *:nth-child(5) {
  animation-delay: 240ms;
}
.screen__body > *:nth-child(6) {
  animation-delay: 290ms;
}
.screen__body > *:nth-child(7) {
  animation-delay: 340ms;
}
.screen__body > *:nth-child(8) {
  animation-delay: 390ms;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.stagger > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 480ms var(--ease-out), transform 480ms var(--ease-out);
}

.stagger.is-in > * {
  opacity: 1;
  transform: none;
}

.stagger.is-in > *:nth-child(1) {
  transition-delay: 40ms;
}
.stagger.is-in > *:nth-child(2) {
  transition-delay: 100ms;
}
.stagger.is-in > *:nth-child(3) {
  transition-delay: 160ms;
}
.stagger.is-in > *:nth-child(4) {
  transition-delay: 220ms;
}
.stagger.is-in > *:nth-child(5) {
  transition-delay: 280ms;
}
.stagger.is-in > *:nth-child(6) {
  transition-delay: 340ms;
}

/* page transition out */
.app.is-leaving {
  opacity: 0;
  transform: scale(0.99);
  transition: opacity 200ms var(--ease), transform 200ms var(--ease);
}

/* ---------- 23. Splash ---------- */
.splash {
  display: grid;
  flex: 1;
  place-items: center;
  color: #fff;
  background: var(--blue-500);
}

.splash__logo {
  animation: scale-in 700ms var(--ease-out) both, float 3.5s var(--ease) 700ms infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-9px);
  }
}

.splash__bar {
  width: 120px;
  height: 4px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
}

.splash__bar i {
  display: block;
  width: 40%;
  height: 100%;
  background: #fff;
  border-radius: 2px;
  animation: loading 1.4s var(--ease) infinite;
}

@keyframes loading {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(300%);
  }
}

/* ---------- 24. Gallery (index) ---------- */
.gallery {
  max-width: 1240px;
  padding: 48px 24px 80px;
  margin-inline: auto;
}

.gallery__hero {
  padding: 40px 28px;
  margin-bottom: 40px;
  color: #fff;
  text-align: center;
  background: var(--blue-500);
  border-radius: var(--r-xl);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, 230px);
  gap: 40px 26px;
  justify-content: center;
}

.gcard {
  display: block;
}

.gcard__frame {
  display: block;
  width: 230px;
  height: 470px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--sh-sm);
  transition: transform var(--base) var(--ease), box-shadow var(--base);
}

.gcard:hover .gcard__frame {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
}

.gcard__frame iframe {
  width: 420px;
  height: 858px;
  border: 0;
  transform: scale(0.548);
  transform-origin: top left;
  pointer-events: none;
}

.gcard__label {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}

.gcard__num {
  display: block;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 25. Design system page ---------- */
.ds {
  max-width: 900px;
  padding: 48px 24px 80px;
  margin-inline: auto;
}

.ds__section {
  padding: 28px;
  margin-bottom: 28px;
  background: var(--surface);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

.swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.swatch {
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 8px;
  font-size: 9.5px;
  line-height: 1.35;
  color: #fff;
  text-align: center;
  border-radius: 50%;
}

.type-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.type-row__meta {
  flex-shrink: 0;
  width: 200px;
  font-size: 11px;
  color: var(--muted);
}

/* ---------- 26. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .stagger > * {
    opacity: 1;
    transform: none;
  }
}
