:root {
  color-scheme: light;
  --green-950: #043520;
  --green-900: #06452a;
  --green-700: #0a7e19;
  --green-600: #11931f;
  --gold: #c8a64a;
  --gold-soft: #ead38a;
  --ink: #151817;
  --muted: #65706a;
  --line: #d9dedb;
  --surface: #ffffff;
  --page: #f3f5f4;
  --shadow: 0 14px 34px rgba(6, 32, 20, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--page);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.45;
  margin: 0;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

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

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--green-950);
  border-bottom: 3px solid var(--gold);
  color: #fff;
}

.topbar__inner {
  align-items: stretch;
  display: flex;
  gap: 24px;
  margin: 0 auto;
  max-width: 1180px;
  min-height: 64px;
  padding: 0 20px;
}

.brand {
  align-items: center;
  display: flex;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0;
}

.brand__logo {
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 8px;
  height: 42px;
  object-fit: contain;
  padding: 3px 7px;
  width: 112px;
}

.brand__mark,
.avatar,
.bot-avatar {
  align-items: center;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.main-nav {
  align-items: stretch;
  display: flex;
  flex: 1;
  justify-content: flex-end;
}

.main-nav a {
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  justify-content: center;
  min-width: 108px;
  padding: 12px 12px;
}

.main-nav a:hover,
.main-nav a.is-active {
  background: rgba(255, 255, 255, 0.09);
}

.main-nav__account {
  border: 1px solid var(--gold-soft);
  flex-direction: column;
  line-height: 1.15;
}

.main-nav__account small {
  color: var(--gold-soft);
  font-size: 0.78rem;
  margin-top: 3px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  margin-left: auto;
  width: 44px;
}

.nav-toggle span {
  background: #fff;
  display: block;
  height: 2px;
  margin: 6px 0;
}

.container {
  margin: 0 auto;
  max-width: 1180px;
  padding: 24px 20px;
}

.page {
  display: none;
}

.page--active {
  display: block;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  margin-bottom: 18px;
}

h2 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.section-lead {
  color: var(--muted);
  max-width: 820px;
}

.featured {
  background: var(--green-950);
  border: 2px solid #052515;
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  display: grid;
  gap: 24px;
  grid-template-columns: 1.45fr 1fr;
  margin-bottom: 30px;
  overflow: hidden;
  padding: 10px;
}

.featured__media {
  cursor: pointer;
  min-height: 260px;
  position: relative;
}

.featured__media img {
  border-radius: 5px;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.featured__logo {
  background: rgba(255, 255, 255, 0.91);
  border: 0;
  border-radius: 7px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
  color: var(--green-950);
  cursor: pointer;
  font-size: clamp(1.25rem, 3vw, 2.15rem);
  font-weight: 900;
  left: 50%;
  padding: 18px 24px;
  position: absolute;
  text-align: center;
  top: 50%;
  transform: translate(-50%, -50%);
}

.featured__logo:hover,
.garage-logo:hover,
.mini-garage:hover {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.featured__copy {
  padding: 18px 10px;
}

.eyebrow {
  color: var(--gold-soft);
  font-weight: 800;
  margin-bottom: 4px;
}

.featured__stats {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.featured__stats span {
  background: #fff;
  border-radius: 6px;
  color: var(--ink);
  min-width: 118px;
  padding: 12px;
}

.dots {
  display: flex;
  gap: 9px;
  margin-top: 22px;
}

.dots span {
  background: rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  height: 9px;
  width: 9px;
}

.dots .is-active {
  background: #fff;
}

.mini-carousel {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: -12px 0 26px;
}

.mini-garage {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(6, 32, 20, 0.08);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  gap: 8px;
  min-height: 96px;
  padding: 12px;
}

.mini-garage img {
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.mini-garage span {
  color: var(--green-950);
  font-size: 1.35rem;
  font-weight: 900;
}

.mini-garage strong {
  font-size: 0.92rem;
}

.vehicle-layout {
  align-items: start;
  display: grid;
  gap: 24px;
  grid-template-columns: 260px 1fr;
}

.filters,
.panel,
.form-card,
.login-card,
.whatsapp-card,
.chat-card,
.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.filters {
  background: var(--green-950);
  color: #fff;
  padding: 18px;
}

.filters h2 {
  font-size: 1.22rem;
  margin-bottom: 0;
}

.filters__header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
}

.filters__clear {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  font-size: 0.84rem;
  min-height: 32px;
  padding: 6px 12px;
}

label,
fieldset {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
}

fieldset {
  border: 0;
  padding: 0;
}

legend {
  margin-bottom: 8px;
}

.filter-field {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
  padding: 12px;
}

.filter-field > span,
.filter-label-row span,
.filter-options legend {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.88rem;
  font-weight: 800;
}

.filter-label-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.filter-label-row strong {
  color: var(--gold-soft);
  font-size: 0.92rem;
}

input,
select,
textarea {
  background: #fff;
  border: 1px solid #bfc8c2;
  border-radius: 6px;
  min-height: 42px;
  padding: 10px 12px;
  width: 100%;
}

input[type="checkbox"],
input[type="radio"] {
  min-height: auto;
  width: auto;
}

input[type="range"] {
  accent-color: var(--green-600);
  padding: 0;
}

.range-row {
  display: flex;
  justify-content: space-between;
}

.filter-field--range {
  padding-bottom: 12px;
}

.dual-range {
  height: 26px;
  position: relative;
  --range-left: 0%;
  --range-right: 100%;
}

.dual-range::before {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: 1px;
  position: absolute;
  right: 1px;
  top: 11px;
}

.dual-range::after {
  background: linear-gradient(90deg, var(--green-600), #42c950);
  border-radius: 999px;
  content: "";
  height: 5px;
  left: var(--range-left);
  position: absolute;
  right: calc(100% - var(--range-right));
  top: 11px;
}

.dual-range input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  height: 26px;
  left: 0;
  pointer-events: none;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 2;
}

.dual-range input[type="range"]::-webkit-slider-runnable-track {
  background: transparent;
  border: 0;
  height: 5px;
}

.dual-range input[type="range"]::-moz-range-track {
  background: transparent;
  border: 0;
  height: 5px;
}

.dual-range input[type="range"]::-ms-track {
  background: transparent;
  border-color: transparent;
  color: transparent;
  height: 5px;
}

.dual-range input[type="range"]::-webkit-slider-thumb {
  background: #fff;
  border: 4px solid var(--green-600);
  border-radius: 50%;
  cursor: pointer;
  height: 18px;
  margin-top: -6px;
  pointer-events: auto;
  width: 18px;
}

.dual-range input[type="range"]::-moz-range-thumb {
  background: #fff;
  border: 4px solid var(--green-600);
  border-radius: 50%;
  cursor: pointer;
  height: 12px;
  pointer-events: auto;
  width: 12px;
}

.filter-options {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  gap: 8px;
  margin-bottom: 14px;
  padding: 12px;
}

.filter-options label {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  gap: 9px;
  margin: 0;
  min-height: 38px;
  padding: 8px 10px;
}

.filter-options input {
  accent-color: var(--gold);
}

.filter-result {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.88rem;
  margin: 12px 0 0;
  text-align: center;
}

.btn {
  align-items: center;
  background: linear-gradient(180deg, var(--green-600), var(--green-700));
  border: 0;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  text-align: center;
}

.btn:hover {
  filter: brightness(1.05);
}

.btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.65);
  width: 100%;
}

.btn--small {
  min-height: 36px;
  padding: 7px 12px;
}

.btn--secondary {
  background: var(--green-950);
}

.vehicle-grid,
.garage-grid,
.pricing {
  display: grid;
  gap: 18px;
}

.vehicle-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-card,
.garage-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(6, 32, 20, 0.1);
  overflow: hidden;
}

.vehicle-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.vehicle-card__image--button {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  text-align: left;
  width: 100%;
}

.vehicle-card__image--button:hover img {
  filter: brightness(0.92);
}

.vehicle-card__body,
.garage-card {
  padding: 14px;
}

.vehicle-card h3,
.garage-card h3 {
  font-size: 1.08rem;
  margin-bottom: 7px;
}

.vehicle-card p {
  margin-bottom: 12px;
}

.badge {
  background: var(--green-950);
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  padding: 5px 9px;
  position: absolute;
  right: 10px;
  top: 10px;
}

.badge--static {
  display: inline-flex;
  margin-bottom: 12px;
  position: static;
}

.sold-ribbon {
  background: rgba(165, 22, 22, 0.76);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  left: -36px;
  letter-spacing: 0;
  padding: 7px 44px;
  position: absolute;
  text-align: center;
  text-transform: uppercase;
  top: 20px;
  transform: rotate(-18deg);
  width: 180px;
  z-index: 2;
}

.vehicle-card__image {
  position: relative;
}

.garage-cta {
  background: var(--green-950);
  border-radius: 8px;
  color: #fff;
  align-items: center;
  display: flex;
  gap: 18px;
  justify-content: space-between;
  margin: -8px 0 22px;
  padding: 16px 18px;
  text-align: left;
}

.garage-cta p {
  color: rgba(255, 255, 255, 0.84);
  margin-bottom: 0;
}

.garage-cta h2 {
  font-size: 1.12rem;
  margin-bottom: 4px;
}

.garage-featured {
  margin-bottom: 22px;
}

.search-band {
  background: #e9ecea;
  border-radius: 8px;
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr 2fr auto;
  margin-bottom: 22px;
  padding: 14px;
}

.garage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.garage-card {
  border-top: 8px solid var(--green-950);
  display: grid;
  gap: 12px;
  min-height: 245px;
  text-align: center;
}

.garage-logo {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--green-950);
  cursor: pointer;
  display: flex;
  font-size: 1.7rem;
  font-weight: 900;
  justify-content: center;
  min-height: 90px;
}

.garage-logo--inline {
  background: #eef5f0;
  border-radius: 6px;
  display: inline-flex;
  font-size: 0.9rem;
  margin-bottom: 10px;
  min-height: 32px;
  padding: 6px 10px;
}

.back-link,
.text-link {
  color: var(--green-700);
  display: inline-flex;
  font-weight: 800;
  margin-bottom: 16px;
}

.garage-profile {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.garage-profile__banner {
  background: var(--green-950);
  border-radius: 8px;
  color: #fff;
  display: grid;
  gap: 22px;
  grid-template-columns: 1.2fr 1fr;
  overflow: hidden;
}

.garage-profile__banner img {
  height: 220px;
  min-height: 220px;
  object-fit: cover;
  width: 100%;
}

.garage-profile__banner > div {
  align-self: center;
  padding: 18px;
}

.garage-profile__mark {
  align-items: center;
  background: #fff;
  border: 2px solid var(--gold);
  border-radius: 50%;
  color: var(--green-950);
  display: inline-flex;
  font-weight: 900;
  height: 48px;
  justify-content: center;
  margin-bottom: 10px;
  width: 48px;
}

.garage-contact-grid {
  align-items: stretch;
  display: grid;
  gap: 12px;
  grid-template-columns: 1.15fr 1fr;
}

.garage-contact-grid article,
.map-box {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.garage-contact-grid article {
  display: flex;
  flex-direction: column;
}

.garage-contact-grid h2 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.garage-contact-grid p {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.subtle-action {
  color: var(--green-700);
  display: inline-flex;
  font-size: 0.9rem;
  font-weight: 800;
  margin-top: 6px;
}

.garage-vehicle-filter {
  background: var(--green-950);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  margin: 20px 0 22px;
  padding: 14px;
}

.garage-filter__header {
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
  padding-bottom: 10px;
}

.garage-filter__header h2 {
  font-size: 1.05rem;
  margin-bottom: 0;
}

.garage-filter__grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 0.95fr 1.15fr;
}

.garage-filter__grid .filter-field,
.garage-filter__grid .filter-options {
  margin-bottom: 0;
  padding: 10px;
}

.garage-filter__grid .filter-field--range {
  grid-column: auto;
}

.garage-filter__actions {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-top: 12px;
}

.garage-filter__actions .btn {
  min-height: 40px;
  padding: 8px 16px;
}

.garage-filter__actions .filter-result {
  margin: 0;
  text-align: left;
}

.map-box {
  align-items: center;
  background:
    linear-gradient(90deg, rgba(4, 53, 32, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(4, 53, 32, 0.1) 1px, transparent 1px),
    #eef2ef;
  background-size: 28px 28px;
  color: var(--green-950);
  display: flex;
  font-weight: 900;
  flex: 1;
  justify-content: center;
  min-height: 96px;
  text-align: center;
}

.verified {
  color: var(--green-700);
  font-weight: 800;
}

.pricing-switch,
.account-type {
  background: #e7ece9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 6px;
  margin: 10px 0 22px;
  padding: 6px;
}

.pricing-switch button,
.account-type__option {
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  padding: 10px 16px;
}

.pricing-switch .is-active,
.account-type__option.is-selected {
  background: var(--green-950);
  color: #fff;
}

.pricing {
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pricing--active {
  display: grid;
}

.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.price-card--featured {
  border: 2px solid var(--gold);
}

.price {
  color: var(--green-700);
  display: grid;
  font-size: 2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.price strong {
  color: var(--green-700);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.price small,
.price__label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.price small {
  border-top: 1px solid var(--line);
  margin-top: 10px;
  padding-top: 10px;
}

.price-card ul {
  margin: 18px 0;
  padding-left: 18px;
}

.auth-wrap {
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.auth-wrap--center {
  align-items: start;
  max-width: 980px;
}

.checkout-layout {
  align-items: start;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) 380px;
}

.checkout-summary {
  background: var(--green-950);
  border-radius: 8px;
  box-shadow: var(--shadow);
  color: #fff;
  padding: 24px;
}

.checkout-summary h2 {
  color: var(--gold-soft);
}

.checkout-summary__item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}

.checkout-summary__item strong {
  text-align: right;
}

.checkout-note {
  color: rgba(255, 255, 255, 0.78);
  margin-top: 16px;
}

.contract-actions {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contract-acceptance {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.login-required-popup {
  display: grid;
  gap: 16px;
  max-width: 440px;
  padding: 22px;
}

.login-required-popup p {
  font-size: 1.05rem;
  font-weight: 400;
  margin: 0;
}

.legal-box {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.contract-rules {
  margin: 0;
  padding-left: 18px;
}

.legal-doc-list {
  display: grid;
  gap: 14px;
}

.form-card,
.login-card,
.whatsapp-card {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.is-hidden {
  display: none;
}

.form-status {
  color: var(--green-700);
  font-weight: 800;
  margin-bottom: 0;
}

.welcome {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 18px;
  margin-bottom: 22px;
  padding: 20px;
}

.welcome h1 {
  margin-bottom: 2px;
}

.dashboard {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: 2fr 1fr;
}

.panel {
  padding: 22px;
}

.panel--wide {
  grid-column: 1;
}

.ad-row {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 14px;
}

.ad-row p,
.panel p {
  margin-bottom: 8px;
}

.row-actions {
  align-items: center;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.user-panel-head {
  align-items: start;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
}

.user-panel-head p {
  color: var(--muted);
  margin: 0;
}

.user-ad-row {
  background: #fff;
}

.user-ad-editor,
.sponsor-popup {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.user-photo-manager {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px;
}

.user-photo-viewer {
  align-items: center;
  background: #eef5f1;
  border: 1px dashed rgba(0, 61, 37, 0.25);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  min-height: 220px;
  overflow: hidden;
}

.user-photo-viewer img {
  display: block;
  max-height: 320px;
  object-fit: contain;
  width: 100%;
}

.user-photo-viewer span {
  color: var(--muted);
  font-weight: 800;
}

.user-photo-thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 12px;
}

.user-photo-thumb {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  text-align: left;
}

.user-photo-thumb.is-main {
  border-color: var(--gold);
}

.user-photo-preview {
  background: transparent;
  border: 0;
  cursor: pointer;
  display: block;
  padding: 0;
  text-align: left;
  width: 100%;
}

.user-photo-thumb img {
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
  width: 100%;
}

.user-photo-thumb span {
  display: block;
  font-size: 0.78rem;
  font-weight: 900;
  padding: 6px;
}

.user-photo-remove {
  align-items: center;
  background: rgba(0, 61, 37, 0.9);
  border: 0;
  border-radius: 999px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 0.78rem;
  font-weight: 900;
  height: 22px;
  justify-content: center;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 22px;
}

.user-posters-panel {
  display: grid;
  gap: 14px;
}

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

.poster-card {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 10px;
  padding: 14px;
}

.poster-card.is-locked {
  opacity: 0.68;
}

.poster-preview {
  align-items: center;
  background: #eef5f1;
  border: 1px dashed rgba(0, 61, 37, 0.24);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 120px;
  overflow: hidden;
}

.poster-preview img {
  display: block;
  height: 100%;
  max-height: 160px;
  object-fit: cover;
  width: 100%;
}

.poster-preview span {
  color: var(--muted);
  font-weight: 800;
}

.poster-card h3,
.poster-card p {
  margin: 0;
}

.poster-card p {
  color: var(--muted);
  font-size: 0.9rem;
}

.poster-upload {
  justify-content: center;
}

.featured__logo img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.user-subnav,
.user-dashboard-wide {
  grid-column: 1 / -1;
}

.user-money-table .admin-table-row {
  grid-template-columns: 0.8fr 1.3fr 0.8fr 0.8fr;
}

.user-profile-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 230px;
}

.user-selfie-card {
  align-content: start;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 16px;
}

.user-selfie-preview {
  height: 96px;
  overflow: hidden;
  width: 96px;
}

.user-selfie-preview img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.user-selfie-card video {
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.terms-panel {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 18px;
  padding: 16px;
}

.tag {
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 800;
  padding: 2px 7px;
}

.tag--sold {
  background: #d6c27d;
}

.tag--active {
  background: #b9e3b7;
}

.tag--paused {
  background: #e8ecea;
}

.sold-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 4px 0 0;
}

.sold-popup {
  display: grid;
  gap: 14px;
  padding: 24px;
}

.credit-box,
.buy-credit,
.setting-row {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 7px;
  display: block;
  margin-bottom: 12px;
  padding: 12px;
  text-align: center;
  width: 100%;
}

.credit-box strong {
  display: block;
  font-size: 1.25rem;
}

.buy-credit,
.setting-row {
  cursor: pointer;
}

a.setting-row {
  color: var(--ink);
}

.admin-tabs {
  background: #e7ece9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  gap: 6px;
  margin: 0 0 18px;
  padding: 6px;
}

.admin-hub-nav {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 22px;
  padding: 8px;
}

.admin-hub-nav a {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-950);
  font-weight: 900;
  min-height: 44px;
  padding: 11px;
  text-align: center;
}

.admin-hub-nav a:hover {
  background: var(--green-950);
  color: #fff;
}

.admin-dashboard {
  display: grid;
  gap: 20px;
}

.admin-kpi-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.admin-kpi-grid article,
.admin-alert-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 18px;
}

.admin-kpi-grid strong,
.admin-alert-grid strong {
  color: var(--green-700);
  display: block;
  font-size: 2rem;
}

.admin-kpi-grid span,
.admin-alert-grid span {
  color: var(--muted);
  font-weight: 800;
}

.admin-analytics-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1fr;
}

.analytics-bars {
  display: grid;
  gap: 14px;
}

.analytics-bars div {
  display: grid;
  gap: 6px;
}

.analytics-bars div span {
  color: var(--muted);
  font-weight: 800;
}

.analytics-bars div i {
  background: linear-gradient(90deg, var(--green-600), var(--gold));
  border-radius: 999px;
  display: block;
  height: 8px;
}

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

.admin-table--compact .admin-table-row {
  grid-template-columns: 1fr 1fr 1fr;
}

.admin-tabs button {
  background: transparent;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 800;
  min-height: 40px;
  padding: 9px 14px;
}

.admin-tabs button.is-active {
  background: var(--green-950);
  color: #fff;
}

.admin-money-layout {
  align-items: start;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr) 310px;
}

.admin-money-main,
.admin-money-aside,
.admin-plan-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.admin-money-main,
.admin-money-aside {
  padding: 20px;
}

.admin-section-title {
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
  padding-bottom: 12px;
}

.admin-section-title h2,
.admin-money-aside h2 {
  font-size: 1.22rem;
  margin-bottom: 6px;
}

.admin-section-title p,
.admin-money-aside p,
.admin-money-aside li {
  color: var(--muted);
}

.admin-plan-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}

.admin-plan-card {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.admin-plan-card header {
  align-items: start;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.admin-plan-card h3 {
  margin-bottom: 0;
}

.admin-plan-card label,
.admin-payment-grid label {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-plan-card input,
.admin-plan-card textarea,
.admin-payment-grid input,
.admin-payment-grid select,
.discount-row input,
.discount-row select {
  margin-top: 6px;
}

.admin-form-grid,
.admin-payment-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-form-grid--wide {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.switch-row {
  align-items: center;
  display: flex;
  gap: 8px;
  white-space: nowrap;
}

.admin-methods {
  background: #f5f7f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
  padding: 14px;
}

.admin-methods legend {
  color: var(--ink);
  font-weight: 800;
}

.admin-methods label {
  align-items: center;
  display: flex;
  gap: 8px;
  margin: 0;
}

.discount-table {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.discount-row {
  align-items: center;
  background: #f5f7f6;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1.2fr 1fr 0.7fr 1fr auto;
  padding: 10px;
}

.ad-admin-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.ad-campaign-card .tag {
  align-self: start;
}

.campaign-stats {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--green-950);
  font-weight: 800;
  padding: 10px;
}

.campaign-image-preview {
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: 7px;
  object-fit: cover;
  width: 100%;
}

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

.payment-kpis article {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}

.payment-kpis strong {
  color: var(--green-700);
  display: block;
  font-size: 1.7rem;
}

.payment-kpis span {
  color: var(--muted);
  font-weight: 800;
}

.admin-table {
  display: grid;
  gap: 8px;
}

.admin-table-row {
  align-items: center;
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 1.3fr 1fr 1fr 0.8fr auto;
  padding: 10px;
}

.contact-admin-table .admin-table-row {
  grid-template-columns: 1fr 0.8fr 1.25fr 0.7fr auto;
}

.admin-table-row small {
  color: var(--muted);
  display: block;
  font-weight: 700;
  margin-top: 3px;
}

.boost-admin-table .admin-table-row {
  grid-template-columns: 1.35fr 0.75fr 0.9fr 0.9fr auto auto;
}

.boost-admin-actions {
  display: flex;
  gap: 8px;
  justify-content: flex-end;
}

.admin-editor {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
}

.admin-preview {
  display: grid;
  gap: 18px;
  grid-template-columns: 320px minmax(0, 1fr);
  padding: 24px;
}

.admin-preview > img {
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
}

.admin-table--garage-preview .admin-table-row {
  grid-template-columns: 1.2fr 0.9fr 0.8fr auto;
}

.ruta-admin {
  display: grid;
  gap: 18px;
}

.ruta-dashboard-grid,
.ruta-settings-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.ruta-main-panel {
  display: grid;
  gap: 18px;
}

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

.ruta-kpi-card,
.ruta-chart-card,
.ruta-status-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.ruta-kpi-card span,
.ruta-status-panel dt {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 800;
}

.ruta-kpi-card strong {
  color: var(--green-950);
  display: block;
  font-size: 1.8rem;
  margin: 8px 0 2px;
}

.ruta-kpi-card small {
  color: var(--green-700);
  font-weight: 900;
}

.ruta-line-chart {
  color: var(--green-700);
  height: 220px;
  width: 100%;
}

.ruta-chart-row {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.9fr 1.1fr;
}

.ruta-pie-wrap {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 170px 1fr;
}

.ruta-pie {
  aspect-ratio: 1;
  background: conic-gradient(#027a32 0 38%, #d6b95d 38% 55%, #2f7d9a 55% 70%, #8a63d2 70% 82%, #d66b4a 82% 93%, #98a2a8 93% 100%);
  border-radius: 50%;
  box-shadow: inset 0 0 0 18px #fff;
}

.ruta-legend {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.ruta-legend li {
  align-items: center;
  color: var(--muted);
  display: flex;
  font-weight: 800;
  gap: 8px;
}

.ruta-legend i,
.ruta-status i {
  border-radius: 50%;
  display: inline-block;
  height: 10px;
  width: 10px;
}

.ruta-question-table .admin-table-row {
  grid-template-columns: 1fr auto;
}

.ruta-status-panel {
  position: sticky;
  top: 88px;
}

.ruta-status-panel h2 {
  margin-bottom: 14px;
}

.ruta-status {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-weight: 900;
  gap: 8px;
  margin-bottom: 16px;
  padding: 8px 12px;
}

.ruta-status.is-online {
  background: #e6f5ec;
  color: var(--green-700);
}

.ruta-status.is-online i {
  background: var(--green-700);
}

.ruta-status.is-offline {
  background: #fff1ef;
  color: #b03a2e;
}

.ruta-status.is-offline i {
  background: #b03a2e;
}

.ruta-status-panel dl {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.ruta-status-panel dd {
  font-weight: 900;
  margin: 0;
}

.ruta-advanced {
  background: #f8faf9;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin: 16px 0;
  padding: 12px;
}

.ruta-advanced summary {
  cursor: pointer;
  font-weight: 900;
}

.ruta-log-filters,
.ruta-pagination {
  align-items: center;
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}

.ruta-log-filters button {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  padding: 8px 12px;
}

.ruta-log-filters button.is-active {
  background: var(--green-950);
  color: #fff;
}

.ruta-log-table .admin-table-row {
  grid-template-columns: 0.9fr 0.7fr 1.25fr 1.25fr 0.7fr;
}

.ruta-log-head {
  background: #eef5f0;
}

.btn:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.modal {
  align-items: center;
  background: rgba(2, 20, 12, 0.72);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 18px;
  position: fixed;
  z-index: 40;
}

.modal.is-open {
  display: flex;
}

.modal__panel {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  max-height: 92vh;
  max-width: 980px;
  overflow: auto;
  position: relative;
  width: 100%;
}

.modal__panel--admin {
  max-width: 1120px;
}

.modal__close {
  align-items: center;
  background: var(--green-950);
  border: 0;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  z-index: 2;
}

.vehicle-detail {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.05fr 1fr;
  padding: 24px;
}

.vehicle-detail h1 {
  margin-bottom: 8px;
}

.vehicle-detail__price {
  color: var(--green-700);
  font-size: 1.8rem;
  font-weight: 900;
}

.vehicle-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.vehicle-gallery {
  display: grid;
  gap: 12px;
}

.vehicle-gallery__stage {
  background: #071d13;
  border-radius: 8px;
  cursor: zoom-in;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.vehicle-gallery__stage img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.2s ease, object-fit 0.2s ease;
  width: 100%;
}

.vehicle-gallery__stage.is-zoomed {
  cursor: zoom-out;
  overflow: auto;
}

.vehicle-gallery__stage.is-zoomed img {
  min-height: 560px;
  object-fit: contain;
  transform: scale(1.35);
}

.gallery-nav {
  align-items: center;
  background: rgba(4, 53, 32, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 1.6rem;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  z-index: 2;
}

.gallery-nav--prev {
  left: 12px;
}

.gallery-nav--next {
  right: 12px;
}

.vehicle-gallery__tools {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.vehicle-gallery__thumbs {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vehicle-gallery__thumbs button {
  background: #fff;
  border: 2px solid transparent;
  border-radius: 7px;
  cursor: pointer;
  overflow: hidden;
  padding: 0;
}

.vehicle-gallery__thumbs button.is-active {
  border-color: var(--gold);
}

.vehicle-gallery__thumbs img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.metric-box {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 6px;
  margin-top: 16px;
  padding: 14px;
}

.metric-box strong {
  color: var(--green-950);
}

.contact-layout {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr 1fr;
}

.whatsapp-card {
  margin-bottom: 24px;
  text-align: center;
}

.whatsapp-icon {
  align-items: center;
  background: #28d366;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-weight: 900;
  height: 82px;
  justify-content: center;
  justify-self: center;
  width: 82px;
}

.chat-card {
  align-self: start;
  overflow: hidden;
}

.chat-card header {
  align-items: center;
  background: var(--green-950);
  color: #fff;
  display: flex;
  gap: 12px;
  padding: 16px;
}

.chat-card small {
  color: #b9e3b7;
  display: block;
}

.bot-avatar {
  background: transparent;
  border-radius: 10px;
  color: var(--green-950);
  height: 38px;
  overflow: hidden;
  width: 76px;
}

.bot-avatar img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.chat-body {
  max-height: 360px;
  min-height: 260px;
  overflow: auto;
  padding: 28px 18px;
}

.message {
  background: #eef0ef;
  border-radius: 16px 16px 16px 4px;
  margin-left: auto;
  max-width: 72%;
  padding: 14px;
}

.message--hint {
  background: #f7faf8;
  color: var(--muted);
  font-size: 0.92rem;
  margin-top: 10px;
}

.message--user {
  background: var(--green-950);
  border-radius: 16px 16px 4px 16px;
  color: #fff;
  margin-left: 28%;
  margin-top: 10px;
}

.ruta-composer {
  display: grid;
  gap: 8px;
  padding: 0 16px 16px;
}

.ruta-composer textarea {
  border-radius: 8px;
  margin: 0;
  min-height: 82px;
  width: 100%;
}

.ruta-composer__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.icon-btn {
  background: #eef5f0;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--green-950);
  cursor: pointer;
  font-weight: 900;
  min-height: 38px;
  padding: 8px 10px;
}

.ruta-attachment {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0;
}

.ruta-camera {
  background: #071f13;
  border-radius: 8px;
  display: grid;
  gap: 8px;
  overflow: hidden;
  padding: 8px;
}

.ruta-camera[hidden] {
  display: none;
}

.ruta-camera video {
  aspect-ratio: 4 / 3;
  background: #000;
  border-radius: 6px;
  object-fit: cover;
  width: 100%;
}

.ai-note {
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 1.25rem;
  font-weight: 800;
  padding: 22px;
}

.footer {
  background: var(--green-950);
  color: #fff;
  flex-shrink: 0;
  margin-top: 0;
}

.footer-strip {
  background: #eef1ef;
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 8px 0;
}

.footer-strip .container {
  padding-bottom: 12px;
  padding-top: 12px;
}

.mini-carousel--footer {
  margin: 0;
}

.footer p {
  color: rgba(255, 255, 255, 0.78);
}

.copyright {
  margin: 0 auto;
  max-width: 1140px;
  padding: 12px 20px;
  text-align: center;
}

.ai-floating {
  bottom: 22px;
  position: fixed;
  right: 22px;
  z-index: 35;
}

.ai-floating.is-hidden {
  display: none;
}

.ai-floating__button {
  align-items: center;
  background: transparent;
  border: 2px solid var(--gold);
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(4, 53, 32, 0.3);
  color: #fff;
  cursor: grab;
  display: flex;
  font-weight: 900;
  font-size: 0.82rem;
  height: 46px;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  width: 92px;
}

.ai-floating__button img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.ai-floating__button:active {
  cursor: grabbing;
}

.ai-floating__panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  bottom: 66px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  display: none;
  overflow: hidden;
  position: absolute;
  right: 0;
  width: min(340px, calc(100vw - 32px));
}

.ai-floating.is-open .ai-floating__panel {
  display: block;
}

.ai-floating__panel header {
  align-items: center;
  background: var(--green-950);
  color: #fff;
  display: flex;
  gap: 10px;
  padding: 12px;
}

.ai-floating__panel small {
  color: #b9e3b7;
  display: block;
}

.ai-floating__panel .chat-body {
  max-height: 230px;
  min-height: 150px;
  padding: 16px;
}

.ai-floating__panel .ruta-composer {
  padding: 0 12px 12px;
}

.ai-floating__panel .ruta-composer__actions {
  justify-content: space-between;
}

@media (max-width: 960px) {
  .topbar__inner {
    align-items: center;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    background: var(--green-950);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 64px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .main-nav a {
    justify-content: flex-start;
  }

  .featured,
  .vehicle-layout,
  .auth-wrap,
  .checkout-layout,
  .garage-profile__banner,
  .garage-contact-grid,
  .garage-filter__grid,
  .vehicle-detail,
  .contact-layout,
  .admin-money-layout,
  .admin-analytics-grid,
  .admin-form-grid--wide,
  .admin-preview,
  .ruta-dashboard-grid,
  .ruta-settings-layout,
  .ruta-chart-row,
  .ruta-pie-wrap,
  .user-profile-grid,
  .dashboard {
    grid-template-columns: 1fr;
  }

  .garage-filter__grid .filter-field--range {
    grid-column: auto;
  }

  .filters {
    position: static;
  }

  .vehicle-grid,
  .garage-grid,
  .mini-carousel,
  .pricing,
  .admin-plan-grid,
  .admin-hub-nav,
  .admin-kpi-grid,
  .ruta-kpi-grid,
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .panel--wide {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 18px 14px;
  }

  .featured,
  .search-band,
  .vehicle-grid,
  .garage-grid,
  .mini-carousel,
  .pricing,
  .user-photo-thumbs,
  .ruta-kpi-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .featured__media {
    min-height: 210px;
  }

  .featured__logo {
    width: min(86%, 320px);
  }

  .ad-row,
  .row-actions,
  .garage-cta,
  .featured__stats {
    align-items: stretch;
    flex-direction: column;
  }

  .pricing-switch,
  .account-type,
  .admin-tabs {
    display: grid;
    width: 100%;
  }

  .garage-filter__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-plan-grid,
  .ad-admin-grid,
  .admin-form-grid,
  .admin-payment-grid,
  .admin-methods,
  .payment-kpis,
  .admin-hub-nav,
  .admin-kpi-grid,
  .admin-alert-grid,
  .admin-table-row,
  .discount-row {
    grid-template-columns: 1fr;
  }
}
