/* ================= LOCAL INTER ================= */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
}
/* ================= VARIABLES ================= */
:root {
  --primary: #14532d;
  --secondary: #002b16;
  --accent: #b7e500;
  --text: #101310;
  --muted: #656a6b;
  --background: #fff;
  --admin-background: #f8f6f6;
  --surface: #fff;
  --border: #dce0e5;
  --soft: #edf5e6;
  --selected: #f1f8e9;
  --success: #248515;
  --warning: #8a6500;
  --danger: #b42318;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-heading: var(--font-body);
  --radius: 8px;
  --radius-panel: 11px;
  --shadow: 0 12px 24px #00000020;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --transition: 140ms ease;
  --container: 1380px;
}
/* ================= RESET ================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 14px/1.45 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p,
ul,
dl,
dd {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  vertical-align: middle;
}
ul {
  padding: 0;
  list-style: none;
}
button {
  background: none;
}
button,
select,
input,
textarea {
  min-width: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #75a953;
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
dialog {
  color: inherit;
}
input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--primary);
}
/* ================= TYPOGRAPHY ================= */
h1,
h2 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -1.3px;
}
h1 {
  font-size: 40px;
}
h2 {
  font-size: 34px;
}
h3 {
  font-size: 17px;
  line-height: 1.2;
}
small,
.help {
  font-size: 12px;
}
.help {
  color: var(--muted);
  display: block;
  margin-top: 7px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
}
.green-line {
  display: inline-block;
  height: 3px;
  width: 42px;
  background: #499921;
  vertical-align: middle;
}
.eyebrow .green-line {
  margin-left: 10px;
}
.line-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.line-heading::after {
  content: "";
  height: 2px;
  width: 38px;
  background: #49a21a;
  flex: none;
}
.price {
  font-size: 25px;
  font-weight: 700;
  color: #12580f;
  line-height: 1.2;
}
.price small {
  font-size: 12px;
  font-weight: 400;
  color: #444;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--primary);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  font-weight: 500;
}
.text-link .icon {
  width: 16px;
  height: 16px;
}
.text-link:hover {
  color: #2d7a27;
}
.vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #3c403e;
}
.muted {
  color: var(--muted);
}
/* ================= LAYOUT ================= */
.container {
  width: calc(100% - 76px);
  max-width: var(--container);
  margin-inline: auto;
}
.full {
  width: 100%;
}
.icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) saturate(100%);
}
.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  z-index: 100;
  background: #fff;
  padding: 12px;
  color: var(--primary);
}
.empty-state {
  text-align: center;
  padding: 30px;
  color: var(--muted);
}
.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: min(90vw, 680px);
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid var(--primary);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.toast--error {
  border-color: var(--danger);
  color: var(--danger);
}
.toast button {
  border: 0;
  font-size: 22px;
}
.honeypot {
  position: absolute;
  left: -10000px;
}
.form-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 12px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}
.form-note .icon {
  width: 18px;
  height: 18px;
}
.info-box {
  background: var(--soft);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  font-size: 13px;
}
.info-box strong {
  display: block;
  font-size: 15px;
  margin-bottom: 5px;
}
.info-box p {
  margin-top: 4px;
}
.info-box .icon {
  filter: invert(23%) sepia(33%) saturate(1120%) hue-rotate(95deg);
  width: 23px;
  height: 23px;
}
/* ================= HEADER ================= */
.site-header {
  height: 58px;
  border-bottom: 1px solid #ececec;
  background: #fff;
}
.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 34px;
}
.brand {
  display: inline-flex;
  flex-shrink: 0;
}
.header-inner > .brand {
  padding-right: 36px;
  border-right: 1px solid #d4d6d5;
}
.brand img {
  width: 216px;
  height: auto;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.site-nav a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}
.site-nav .icon {
  width: 13px;
  height: 13px;
}
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 26px;
}
.header-actions .button {
}
.mobile-menu {
  display: none !important;
}
/* ================= HERO ================= */
.home-hero {
  position: relative;
  isolation: isolate;
  height: 416px;
  background: #ece9e4;
  overflow: hidden;
}
.home-hero__photo {
  position: absolute;
  z-index: -2;
  right: 0;
  top: 0;
  height: 100%;
  width: 66%;
  object-fit: cover;
  object-position: center;
}
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(81deg, #eeebe7 0%, #eeebe7 34%, #eeebe700 43%);
}
.home-hero__copy {
  padding-top: 60px;
  max-width: 530px;
}
.home-hero__copy > .green-line {
  display: block;
  margin: 12px 0 15px;
}
.home-hero h1 {
  font-size: 49px;
  line-height: 1.03;
  letter-spacing: -2px;
  white-space: nowrap;
}
.home-hero h1 em {
  font-style: normal;
  color: #165719;
}
.home-hero__copy > p:not(.eyebrow) {
  font-size: 16px;
  line-height: 1.3;
  margin: 16px 0 24px;
}
.home-hero .text-link {
  font-size: 14px;
}
.search-wrapper {
  position: relative;
  margin-top: -60px;
  z-index: 2;
  padding: 0 14px;
}
.search-box {
  background: white;
  padding: 16px 24px 22px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.category-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  max-width: 1120px;
  padding-bottom: 11px;
}
.category-tabs [data-category] {
  height: 44px;
  border: 0;
  border-radius: 8px;
  display: flex;
  gap: 17px;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.category-tabs [data-category] .icon {
  width: 42px;
  height: 32px;
}
.category-tabs [data-category].is-active {
  background: #e9efe2;
  color: var(--primary);
  font-weight: 700;
}
.search-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.08fr;
  gap: 16px;
  align-items: end;
  border-top: 1px solid #ddd;
  padding-top: 12px;
}
.search-fields .field {
  margin: 0;
}
.search-fields .field > span {
  font-weight: 400;
  font-size: 12px;
}
.search-fields .button {
}
.trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 28px;
  margin-bottom: 42px;
}
.trust-row span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font-size: 15px;
}
.trust-row span + span {
  border-left: 1px solid #c9cdc7;
}
.trust-row .icon {
  width: 34px;
  height: 34px;
  filter: invert(23%) sepia(33%) saturate(1120%) hue-rotate(95deg);
}
/* ================= BUTTONS ================= */
.button {
  min-height: 42px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  border-radius: 8px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: 1px solid transparent;
  transition:
    background-color var(--transition),
    border-color var(--transition);
  text-align: center;
  white-space: normal;
}
.button .icon {
  max-width: 20px;
  max-height: 20px;
  flex-shrink: 0;
}
.button--accent {
  background: var(--accent);
  color: #071900;
}
.button--accent:hover {
  background: #a8d400;
}
.button--outline {
  color: var(--primary);
  background: #fff;
  border-color: var(--primary);
}
.button--outline:hover {
  background: var(--soft);
}
.button--green {
  background: var(--primary);
  color: #fff;
}
.button--green:hover {
  background: #0c421d;
}
.button--green .icon {
  filter: invert(1);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border: 0;
  padding: 6px;
  background: transparent;
  border-radius: 6px;
}
.icon-button:hover {
  background: #f0f4ec;
}
.icon-button[aria-pressed="true"] {
  color: var(--primary);
  background: var(--soft);
}
.icon-button[aria-pressed="true"] .icon {
  filter: invert(25%) sepia(30%) saturate(1600%) hue-rotate(85deg);
}
.cancel-link {
  font-size: 12px;
  text-align: center;
  text-decoration: underline;
}
.back-link {
  color: var(--primary);
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-weight: 500;
}
.back-link .icon {
  width: 16px;
  height: 16px;
}
/* ================= CARDS ================= */
.inventory {
  margin-bottom: 20px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 23px;
}
.section-heading .eyebrow {
  margin-bottom: 11px;
}
.section-heading h2 {
  font-size: 46px;
}
.section-heading > .text-link {
  margin-bottom: 5px;
}
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vehicle-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.vehicle-card__image {
  position: relative;
  display: block;
  aspect-ratio: 1.77;
  overflow: hidden;
}
.vehicle-card__image > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.badge {
  font-size: 11px;
  border-radius: 5px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  color: #142214;
  line-height: 1.3;
}
.vehicle-card__image > .badge {
  position: absolute;
  left: 16px;
  top: 12px;
}
.favorite {
  position: absolute;
  top: 8px;
  right: 10px;
  color: #fff;
}
.favorite .icon {
  filter: invert(1);
}
.photo-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: #fff;
  background: #292c2bb3;
  border-radius: 4px;
  padding: 4px 8px;
  position: absolute;
  right: 12px;
  bottom: 10px;
}
.photo-counter .icon {
  width: 17px;
  height: 17px;
  filter: invert(1);
}
.vehicle-card__body {
  padding: 14px 17px 12px;
}
.vehicle-card h3 {
  font-size: 20px;
  margin-bottom: 6px;
}
.vehicle-card .price {
  margin-top: 9px;
}
.vehicle-card__link {
  margin-top: 14px;
  width: 100%;
}
.vehicle-card__link .icon {
  width: 16px;
  height: 16px;
}
.contact-banner {
  margin-top: 20px;
  background: #e8efe2;
  position: relative;
  overflow: hidden;
  min-height: 216px;
}
.contact-banner > img {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 51%;
  object-fit: cover;
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}
.contact-banner__copy {
  position: relative;
  z-index: 1;
  padding: 20px 0 16px;
  max-width: 50%;
}
.contact-banner h2 {
  font-size: 41px;
  margin: 10px 0 5px;
}
.contact-banner p {
  font-size: 15px;
  margin-bottom: 12px;
}
.contact-banner .button {
}
/* ================= FORMS ================= */
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 9px;
  min-width: 0;
}
.field > span,
.field-label {
  font-size: 12px;
  font-weight: 700;
  display: block;
  line-height: 1.25;
}
.field input,
.field select,
.field textarea,
.list-toolbar > select,
.list-toolbar .input-icon input {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid #bac4ce;
  border-radius: 6px;
  padding: 6px 10px;
  min-height: 31px;
  line-height: 1.25;
  transition: border-color var(--transition);
}
.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #719366;
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.field input[type="color"] {
  padding: 3px 5px;
  height: 33px;
}
.field input[readonly],
.field select:disabled {
  background: #fbfcfc;
}
.form-grid {
  display: grid;
  gap: 0 16px;
}
.form-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.form-grid--address {
  grid-template-columns: 1.7fr 1fr;
}
.checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  line-height: 1.3;
}
.checkbox input {
  width: 17px;
  height: 17px;
  margin: 0;
  flex-shrink: 0;
}
.input-icon {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.input-icon > .icon {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 20px;
  pointer-events: none;
}
.input-icon > input {
  padding-left: 40px !important;
}
.input-icon > .icon-button {
  position: absolute;
  right: 5px;
}
.switches {
  margin-top: 16px;
  border-top: 1px solid var(--border);
}
.switch-row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
}
.switch-row strong {
  display: block;
  font-size: 14px;
  line-height: 1.15;
}
.switch-row small {
  display: block;
  color: #3b4142;
  font-size: 12px;
  margin-top: 3px;
}
.switch-row input {
  position: absolute;
  right: 0;
  width: 48px;
  height: 28px;
  opacity: 0;
}
.switch-track {
  display: block;
  width: 48px;
  height: 27px;
  background: #b2b8b2;
  border-radius: 20px;
  flex-shrink: 0;
  pointer-events: none;
  position: relative;
}
.switch-track::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 1px 3px #0002;
  transition: transform var(--transition);
}
.switch-row input:checked + .switch-track {
  background: #258000;
}
.switch-row input:checked + .switch-track::before {
  transform: translateX(19px);
}
.switch-row input:focus-visible + .switch-track {
  outline: 3px solid #75a953;
  outline-offset: 3px;
}
.form-actions {
  display: flex;
  gap: 12px;
  padding-top: 15px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}
.form-actions > * {
  flex: 1;
}
.stack-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}
.form-section {
  border-top: 1px solid var(--border);
  padding-top: 10px;
  margin-top: 14px;
}
.form-section h3 {
  color: var(--primary);
  font-size: 15px;
  margin-bottom: 8px;
}
.form-dialog {
  width: min(540px, calc(100% - 32px));
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 25px;
}
.form-dialog::backdrop,
.gallery-dialog::backdrop {
  background: #0009;
}
.form-dialog .button {
  margin-top: 20px;
}
/* ================= OFFER DETAIL ================= */
.detail-page {
  font-size: 13px;
}
.detail-page .site-header {
  height: 54px;
}
.detail-page .header-inner {
  gap: 31px;
}
.detail-page .header-inner > .brand {
  padding-right: 33px;
}
.detail-page .brand img {
  width: 206px;
}
.breadcrumb-bar {
  height: 57px;
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
}
.breadcrumb-bar .back-link {
  padding-right: 24px;
  border-right: 1px solid #cdd1cd;
}
.breadcrumb-bar nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.listing-number {
  margin-left: auto;
}
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.86fr) minmax(0, 1fr);
  gap: 19px;
}
.gallery-stage {
  position: relative;
  aspect-ratio: 1.65;
  overflow: hidden;
  border-radius: 8px;
  background: #eef1ec;
}
.gallery-stage > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  image-orientation: from-image;
}
.gallery-stage .badge {
  position: absolute;
  left: 17px;
  top: 13px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
}
.gallery-stage .badge::first-letter {
  color: #50a81b;
}
.gallery-stage .icon-button {
  position: absolute;
  background: #fff;
  width: 36px;
  height: 36px;
}
.gallery-expand {
  right: 15px;
  top: 11px;
}
.gallery-prev {
  left: 16px;
  top: 46%;
  border-radius: 50%;
}
.gallery-next {
  right: 16px;
  top: 46%;
  border-radius: 50%;
}
.gallery-thumbs {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  overflow-x: auto;
}
.gallery-thumbs button {
  height: 85px;
  flex: 0 0 calc((100% - 35px) / 6);
  min-width: 80px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 7px;
  overflow: hidden;
}
.gallery-thumbs button.is-selected {
  border-color: #217400;
}
.gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--soft);
}
.vehicle-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
  margin-top: 18px;
}
.fact {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 8px 17px;
  min-height: 56px;
  background: #fcfcfc;
}
.fact > .icon {
  width: 29px;
  height: 29px;
  filter: invert(26%) sepia(56%) saturate(750%) hue-rotate(85deg);
}
.fact small {
  font-size: 12px;
}
.fact strong {
  display: block;
  font-size: 16px;
  line-height: 1.2;
}
.detail-tabs {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border);
  margin-top: 13px;
  padding-bottom: 5px;
  gap: 0;
}
.detail-tabs a {
  position: relative;
  padding: 9px 14px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.detail-tabs a + a {
  border-left: 1px solid #cbd0cc;
}
.detail-tabs a.is-active {
  color: var(--primary);
  font-weight: 700;
}
.detail-tabs a.is-active::after {
  content: "";
  height: 4px;
  border-radius: 3px;
  background: #286c1c;
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 5px;
}
.detail-section {
  padding-top: 19px;
  scroll-margin-top: 20px;
}
.detail-section h2 {
  font-size: 31px;
  letter-spacing: -1px;
}
.detail-section p {
  font-size: 13px;
  line-height: 1.35;
}
.detail-section p + p {
  margin-top: 8px;
}
.spec-tables {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.spec-tables dl > div {
  display: grid;
  grid-template-columns: 1.13fr 1fr;
  padding: 3px 14px;
  font-size: 11px;
  line-height: 1.3;
  min-height: 22px;
  border-radius: 4px;
}
.spec-tables dl > div:nth-child(odd) {
  background: #f3f3f3;
}
.spec-tables dt {
  padding-right: 8px;
}
.spec-tables dd {
  overflow-wrap: anywhere;
}
.equipment-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  gap: 4px 25px;
  font-size: 13px;
}
.equipment-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}
.equipment-list .icon {
  width: 21px;
  height: 18px;
  filter: invert(35%) sepia(93%) saturate(657%) hue-rotate(69deg);
}
.seller-card {
  padding: 13px 17px 17px;
  border: 1px solid #e3e5e3;
  border-radius: 12px;
  box-shadow: 0 1px 5px #00000007;
  background: #fff;
}
.seller-card > .eyebrow {
  font-size: 9px;
  letter-spacing: 3px;
  white-space: nowrap;
  margin-bottom: 17px;
}
.seller-card .eyebrow .green-line {
  height: 2px;
  width: 35px;
  margin-left: 5px;
}
.seller-card h1 {
  font-size: 35px;
  letter-spacing: -1.3px;
  line-height: 0.96;
  margin: 0 0 8px;
}
.seller-card .variant {
  font-size: 16px;
  line-height: 1.3;
}
.seller-card > .vehicle-meta {
  margin: 11px 0 8px;
  font-size: 12px;
  gap: 5px;
}
.seller-card > .price {
  font-size: 38px;
  letter-spacing: -1px;
}
.tax-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 1px 0 12px;
}
.tax-row small {
  font-size: 11px;
}
.seller-company {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 12px 8px;
  border-block: 1px solid #d9dcd7;
}
.seller-company > .icon {
  width: 37px;
  height: 37px;
  filter: invert(27%) sepia(40%) saturate(1030%) hue-rotate(80deg);
}
.seller-company strong {
  display: block;
  font-size: 16px;
}
.seller-company span {
  font-size: 12px;
  display: block;
}
.seller-benefits {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 12px 7px 16px;
}
.seller-benefits li {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
}
.seller-benefits .icon {
  width: 23px;
  height: 23px;
  filter: invert(27%) sepia(40%) saturate(1030%) hue-rotate(80deg);
}
.seller-card > .button {
  margin-bottom: 8px;
}
.seller-card > .button .icon {
  width: 23px;
  height: 23px;
}
.seller-links {
  display: flex;
  gap: 8px;
  padding: 9px 0 12px;
  border-bottom: 1px solid var(--border);
}
.seller-links > button {
  flex: 1;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0;
  font-size: 11px;
  white-space: nowrap;
}
.seller-links > button + button {
  border-left: 1px solid #cbd0cc;
}
.seller-links .icon {
  width: 22px;
  height: 22px;
}
.seller-agent {
  padding-top: 9px;
}
.seller-agent > strong {
  font-size: 13px;
}
.seller-agent > div {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 4px;
}
.avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #eaf3e2;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  font-weight: 700;
  flex-shrink: 0;
}
.seller-agent p {
  font-size: 14px;
  line-height: 1.25;
}
.seller-agent p small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.appointment-card {
  background: var(--soft);
  border-radius: 10px;
  margin-top: 46px;
  padding: 18px 24px 20px;
}
.appointment-card .green-line {
  width: 39px;
  height: 3px;
}
.appointment-card h2 {
  font-size: 25px;
  margin: 10px 0;
  letter-spacing: -0.7px;
}
.appointment-card p {
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 14px;
}
.appointment-card .button {
}
.related-listings {
  padding-top: 25px;
  padding-bottom: 10px;
}
.related-listings > h2 {
  font-size: 30px;
}
.related-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.vehicle-card--compact {
  display: grid;
  grid-template-columns: 48% 52%;
  min-height: 102px;
}
.vehicle-card--compact .vehicle-card__image {
  aspect-ratio: auto;
  height: 100%;
  min-height: 102px;
}
.vehicle-card--compact .vehicle-card__image > .badge,
.vehicle-card--compact .photo-counter {
  display: none;
}
.vehicle-card--compact .vehicle-card__body {
  padding: 8px 16px;
}
.vehicle-card--compact h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.vehicle-card--compact .vehicle-meta {
  font-size: 10px;
  gap: 5px;
}
.vehicle-card--compact .price {
  font-size: 20px;
  margin-top: 3px;
}
.vehicle-card--compact .price small {
  font-size: 10px;
}
.vehicle-card--compact .vehicle-card__link {
  padding: 8px 10px;
  margin-top: 10px;
  min-height: 36px;
  font-size: 11px;
}
.vehicle-card--compact .favorite {
  right: 6px;
  top: 3px;
  width: 25px;
  height: 25px;
}
.vehicle-card--compact .favorite .icon {
  filter: opacity(0.5);
  width: 19px;
  height: 19px;
}
/* Explicit viewport bounds keep portrait and landscape photos fully visible. */
.gallery-dialog {
  position: fixed;
  inset: 0;
  width: min(1280px, 96vw);
  height: 94vh;
  height: 94dvh;
  max-width: 96vw;
  max-height: 94vh;
  max-height: 94dvh;
  box-sizing: border-box;
  margin: auto;
  border: 0;
  padding: 48px 12px 12px;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}
.gallery-dialog > .icon-button {
  position: absolute;
  right: 8px;
  top: 4px;
}
.gallery-dialog > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
/* ================= FOOTER ================= */
.site-footer {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 53px;
  padding-block: 10px;
  font-size: 10px;
}
.site-footer > .brand img {
  width: 150px;
}
.site-footer > nav {
  border-left: 1px solid #c9ccc8;
  padding-left: 34px;
  display: flex;
  gap: 28px;
}
.footer-credit {
  display: flex;
  gap: 4px;
  margin-left: auto;
  align-items: center;
  flex-wrap: wrap;
  font-size: 10px;
}
.footer-credit > span {
  border-left: 1px solid #c9ccc8;
  padding-left: 16px;
  margin-left: 10px;
}
/* ================= LOGIN ================= */
/* ================= ADMIN LAYOUT ================= */
.admin-page {
  background: var(--admin-background);
  font-size: 14px;
}
.admin-shell {
  display: grid;
  grid-template-columns: clamp(196px, 14.45vw, 232px) minmax(0, 1fr);
  min-height: 100vh;
}
.admin-sidebar {
  background: linear-gradient(165deg, #063e29 0%, #00291d 65%, #052f23 100%);
  color: #edf8f1;
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
  width: auto;
  padding-top: 20px;
  z-index: 30;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #ffffff12;
  box-shadow: 8px 0 28px #00241912;
}
.admin-brand {
  display: block;
  text-align: center;
  margin: 0 0 30px;
}
.admin-brand > span {
  display: block;
  font-size: 19px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.9px;
  white-space: nowrap;
}
.admin-brand > span > span {
  color: #b7e500;
  margin-left: 2px;
}
.admin-brand > small {
  display: block;
  font-size: 9px;
  letter-spacing: 6px;
  line-height: 1.6;
  font-weight: 700;
}
.sidebar-label {
  margin: 30px 24px 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.7px;
  color: #abc5b6;
}
.admin-sidebar nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0 14px;
}
.admin-sidebar nav > a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 14px;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #dcece3;
  font-size: 14px;
  font-weight: 500;
  transition:
    background 0.18s,
    border-color 0.18s,
    transform 0.18s;
}
.admin-sidebar nav > a > .icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  flex-shrink: 0;
}
.admin-sidebar nav > a > .icon:last-child:not(:first-child) {
  width: 14px;
  height: 14px;
  margin-left: auto;
}
.admin-sidebar nav > a:hover {
  background: #ffffff0d;
  border-color: #ffffff16;
  transform: translateX(2px);
  color: #fff;
}
.admin-sidebar nav > a.is-active {
  background: linear-gradient(100deg, #c0ed0029, #a4ce0014);
  border-color: #c9ee0038;
  color: #efffc6;
  font-weight: 600;
  box-shadow: inset 0 1px 0 #ffffff08;
}
.admin-sidebar nav > a.is-active::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 13px;
  bottom: 13px;
  width: 3px;
  border-radius: 3px;
  background: var(--accent);
}
.admin-sidebar nav > a.is-active > .icon {
  filter: brightness(0) saturate(100%) invert(91%) sepia(70%) saturate(1417%)
    hue-rotate(16deg) brightness(102%) contrast(103%);
  opacity: 1;
}
.admin-sidebar nav > a.sub-nav {
  margin-left: 18px;
  min-height: 40px;
  padding: 9px 14px;
  font-size: 13px;
  background: #ffffff08;
  border-color: transparent;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 20px 20px 24px;
}
.sidebar-bottom > a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid #ffffff26;
  border-radius: 8px;
  background: #ffffff08;
  transition: background 0.18s;
}
.sidebar-bottom > a:hover {
  background: #ffffff16;
}
.sidebar-bottom .icon {
  filter: brightness(0) invert(1);
  width: 18px;
  height: 18px;
}
.admin-workspace {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.admin-topbar {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 26px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  font-size: 13px;
}
.admin-topbar > div > span {
  margin: 0 12px;
}
.admin-topbar__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}
.admin-topbar__actions > .preview-link {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}
.preview-link > .icon {
  width: 21px;
  height: 21px;
}
.account-menu {
  position: relative;
}
.account-menu > summary {
  display: flex;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.account-menu > summary::-webkit-details-marker {
  display: none;
}
.account-menu .avatar {
  background: var(--primary);
  color: white;
  width: 35px;
  height: 35px;
  font-size: 13px;
}
.account-menu small {
  display: block;
  font-size: 12px;
}
.account-menu > summary > .icon {
  width: 16px;
  height: 16px;
  margin-left: 20px;
}
.account-menu > div {
  position: absolute;
  right: 0;
  top: 44px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  border-radius: 8px;
  z-index: 20;
  min-width: 180px;
  padding: 8px;
}
.account-menu a,
.account-menu button {
  display: block;
  padding: 9px;
  border: 0;
  text-align: left;
  font-size: 14px;
  width: 100%;
}
.admin-main {
  padding: 15px 26px 0;
  flex: 1;
}
.admin-page-heading {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  margin-bottom: 14px;
}
.admin-page-heading h1 {
  font-size: 37px;
  letter-spacing: -1px;
  margin-bottom: 5px;
}
.admin-page-heading p {
  font-size: 14px;
  line-height: 1.35;
}
.admin-page-heading .button {
  min-width: 180px;
}
.admin-main > .back-link {
  font-size: 12px;
  margin-bottom: 10px;
}
.admin-tabs {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 16px;
  min-height: 36px;
  flex-wrap: wrap;
}
.admin-tabs > a,
.admin-tabs > button {
  border: 0;
  padding: 8px 12px 11px;
  font-size: 14px;
  position: relative;
}
.admin-tabs .is-active {
  color: var(--primary);
  font-weight: 700;
}
.admin-tabs .is-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background: var(--primary);
  height: 3px;
}
.management-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: start;
}
.management-grid--contacts {
  grid-template-columns: 1.34fr 1fr;
}
.management-grid--locations {
  grid-template-columns: 1.05fr 1fr;
}
.management-grid > div,
.management-grid > section {
  min-width: 0;
}
.panel {
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--surface);
  min-width: 0;
}
.panel h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.4px;
  line-height: 1.2;
}
.panel h2 > .icon {
  width: 25px;
  height: 25px;
  filter: invert(26%) sepia(46%) saturate(850%) hue-rotate(80deg);
}
.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.panel-heading .close-button {
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 30px;
  height: 30px;
}
.panel-heading .close-button .icon {
  width: 18px;
  height: 18px;
}
.panel-subtitle {
  font-size: 12px;
  color: #3c4146;
  margin: 2px 0 18px 36px;
}
.edit-panel > p {
  font-size: 13px;
  margin: 2px 0 12px;
}
.edit-panel .field > span {
  font-size: 12px;
}
.edit-panel .field input,
.edit-panel .field select {
  min-height: 32px;
}
.edit-panel .button {
}
.badge--soft {
  background: #eef6e8;
  color: var(--primary);
  font-weight: 700;
}
.badge--default {
  background: #d6edb5;
  color: #155800;
  font-weight: 700;
  font-size: 11px;
  padding: 2px 10px;
}
.status-dot {
  display: inline-block;
  background: #45a510;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  margin-right: 9px;
}
.status-dot.is-inactive {
  background: #a3a6ac;
}
.status-badge {
  display: inline-flex;
  background: #edf6e4;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #17370e;
  white-space: nowrap;
}
.admin-footer {
  margin: 20px 26px 0;
  padding: 13px 2px 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 12px;
}
.admin-footer > span:last-child {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: wrap;
}
.demo-label {
  display: inline-block;
  border-left: 1px solid #a5abb2;
  margin-left: 18px;
  padding-left: 30px;
}
.dirty-status {
  font-size: 12px;
  font-style: italic;
  color: #515653;
  margin-top: 10px;
}
/* ================= ADMIN TABLES ================= */
.list-panel {
  padding: 0;
  overflow: hidden;
}
.list-toolbar {
  padding: 14px 16px;
  display: flex;
  gap: 20px;
}
.list-toolbar > .input-icon {
  flex: 1;
}
.list-toolbar > .input-icon > input {
  min-height: 37px;
}
.list-toolbar > select {
  width: 36%;
  font-size: 12px;
}
.table-scroll {
  overflow-x: auto;
}
.management-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
.management-table th {
  background: #f6f5f5;
  text-align: left;
  padding: 10px 16px;
  font-weight: 700;
  white-space: nowrap;
}
.management-table td {
  padding: 14px 16px;
  border-top: 1px solid #e0e4e8;
  vertical-align: middle;
  white-space: nowrap;
}
.management-table .is-selected {
  background: #f1f8e8;
}
.management-table td:first-child {
  width: 54%;
}
.management-table td > small {
  display: block;
  font-size: 12px;
}
.management-table .table-count {
  display: block;
  font-size: 20px;
  font-weight: 700;
}
.management-table td:last-child {
  white-space: nowrap;
  padding-inline: 6px;
}
.management-table td:last-child > .icon-button {
  width: 30px;
  height: 30px;
  display: inline-flex;
}
.management-table .icon-button > .icon {
  width: 18px;
  height: 18px;
}
.person-cell {
  display: flex;
  align-items: center;
  gap: 16px;
}
.person-cell .avatar {
  width: 54px;
  height: 54px;
  background: #d9edbe;
}
.person-cell .avatar .icon {
  width: 29px;
  height: 29px;
  filter: invert(35%) sepia(56%) saturate(1200%) hue-rotate(55deg);
}
.person-cell > span:last-child {
  min-width: 0;
  white-space: normal;
}
.person-cell strong {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  flex-wrap: wrap;
}
.person-cell small {
  font-size: 12px;
  display: block;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.table-footer {
  padding: 12px 16px;
  border-top: 1px solid #e0e4e8;
  font-size: 12px;
}
.assigned-panel {
  margin-top: 16px;
}
.assigned-panel > .panel-heading {
  justify-content: flex-start;
  padding-bottom: 8px;
  flex-wrap: wrap;
}
.assigned-panel h2 {
  font-size: 18px;
}
.assigned-row {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 7px 5px;
  border-top: 1px solid var(--border);
  min-height: 70px;
}
.assigned-row > img {
  width: 136px;
  height: 60px;
  object-fit: cover;
  border-radius: 7px;
}
.assigned-row > div {
  flex: 1;
  min-width: 0;
}
.assigned-row strong {
  font-size: 14px;
  display: block;
  line-height: 1.25;
}
.assigned-row > div > span {
  font-size: 12px;
  display: block;
  margin-top: 3px;
}
.assigned-row > .icon {
  width: 20px;
  height: 20px;
  filter: invert(20%) sepia(50%) saturate(1150%) hue-rotate(85deg);
}
.assigned-panel > .text-link {
  border: 0;
  margin-top: 13px;
  font-size: 13px;
  font-weight: 700;
}
.assigned-panel > .info-box {
  margin-top: 16px;
  padding: 12px;
}
.table-vehicle-photo {
  width: 100px;
  height: 62px;
  object-fit: cover;
  border-radius: 6px;
}
.contact-preview {
  background: #f2f8e9;
  border-radius: 8px;
  padding: 12px 10px;
  margin-top: 12px;
}
.contact-preview h3 {
  font-size: 14px;
  color: var(--primary);
  margin-bottom: 12px;
}
.contact-preview > div {
  display: flex;
  gap: 18px;
  align-items: center;
}
.contact-preview > div > .icon {
  width: 39px;
  height: 39px;
  border-right: 1px solid #c2cdbc;
  padding-right: 12px;
  box-sizing: content-box;
  filter: invert(25%) sepia(34%) saturate(1400%) hue-rotate(80deg);
}
.contact-preview p {
  font-size: 12px;
  line-height: 1.3;
  display: flex;
  gap: 5px;
  align-items: center;
  flex-wrap: wrap;
}
.contact-preview .icon {
  width: 17px;
  height: 17px;
}
.contact-preview strong {
  font-size: 14px;
}
.map-placeholder {
  border: 1px solid #e2e8dc;
  border-radius: 8px;
  min-height: 145px;
  background-color: #f0f3e9;
  background-image:
    linear-gradient(#e0e7d880 1px, transparent 1px),
    linear-gradient(90deg, #e0e7d880 1px, transparent 1px);
  background-size: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
  gap: 8px;
  position: relative;
}
.map-placeholder > .icon {
  width: 40px;
  height: 40px;
  filter: invert(34%) sepia(76%) saturate(810%) hue-rotate(54deg);
}
.map-placeholder strong {
  color: var(--primary);
  font-size: 13px;
}
.map-placeholder small {
  font-size: 11px;
}
.map-placeholder > .button {
  position: static;
  margin-top: 10px;
  align-self: center;
}
.map-placeholder > .button .icon {
  width: 16px;
  height: 16px;
}
/* ================= LISTING EDITOR ================= */
.listing-editor {
  display: grid;
  grid-template-columns: minmax(0, 1.82fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.listing-form-column,
.listing-editor-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}
.listing-editor .panel {
  padding: 10px 16px;
  border-radius: 9px;
}
.listing-editor .panel h2 {
  font-size: 16px;
  gap: 9px;
  min-height: 24px;
}
.numbered-panel > h2,
.numbered-panel > .panel-heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 9px;
}
.numbered-panel h2 > span {
  background: #d3e7bc;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.numbered-panel .field-label {
  font-size: 11px;
  margin-bottom: 4px;
}
.listing-editor .field {
  margin-top: 9px;
  gap: 3px;
}
.listing-editor .field > span {
  font-size: 11px;
}
.listing-editor .field input,
.listing-editor .field select {
  min-height: 29px;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 5px;
}
.listing-editor .form-grid {
  gap: 0 16px;
}
.listing-editor .checkbox {
  font-size: 11px;
  gap: 6px;
}
.listing-editor .checkbox input {
  width: 14px;
  height: 14px;
}
.category-choices {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}
.category-choice {
  position: relative;
  border: 1px solid #cdd4d8;
  border-radius: 6px;
  min-height: 62px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  font-size: 12px;
}
.category-choice input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
}
.category-choice .icon {
  width: 40px;
  height: 28px;
}
.category-choice:has(input:checked) {
  border-color: #428000;
  background: #eff7e6;
}
.category-choice:has(input:focus-visible) {
  outline: 3px solid #75a953;
  outline-offset: 2px;
}
.choice-check {
  position: absolute;
  right: 8px;
  top: 6px;
  border-radius: 50%;
  width: 17px;
  height: 17px;
  line-height: 17px;
  text-align: center;
  background: var(--primary);
  color: #fff;
  display: none;
  font-size: 11px;
}
.category-choice:has(input:checked) .choice-check {
  display: block;
}
.vin-checkbox {
  display: flex;
  justify-content: flex-end;
  margin-top: 5px;
  margin-bottom: 4px;
}
.category-hint {
  font-size: 10px;
  color: #555;
  text-align: right;
  max-width: 48%;
}
.category-hint b {
  color: var(--primary);
}
.price-calculation {
  display: flex;
  justify-content: space-around;
  gap: 12px;
  background: #edf6df;
  padding: 8px 6px;
  margin-top: 10px;
  border-radius: 6px;
  font-size: 11px;
}
.price-calculation span + span {
  border-left: 1px solid #d4d9c8;
  padding-left: 20px;
}
.price-calculation b {
  color: #123e00;
}
.editor-box {
  border: 1px solid #cdd4d8;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}
.editor-toolbar {
  display: flex;
  gap: 5px;
  background: #fafcfd;
  padding: 3px 8px;
}
.editor-toolbar > button {
  border: 0;
  padding: 2px 5px;
  font-size: 12px;
  min-height: 20px;
}
.editor-box > textarea {
  border: 0;
  padding: 6px 10px;
  width: 100%;
  resize: vertical;
  font-size: 12px;
  min-height: 65px;
  display: block;
}
.numbered-panel .help {
  font-size: 10px;
  margin-top: 5px;
}
.numbered-panel h3.field-label {
  margin-top: 7px;
}
.equipment-checkboxes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 3px 10px;
}
.upload-zone {
  padding: 9px;
  border: 1px dashed #4d8a37;
  background: #fcfdf9;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 11px;
}
.upload-zone > .icon {
  width: 25px;
  height: 25px;
  filter: invert(26%) sepia(60%) saturate(1100%) hue-rotate(70deg);
}
.upload-zone strong {
  font-size: 12px;
}
.upload-zone .button {
  margin-top: 3px;
}
.upload-zone small {
  font-size: 10px;
  margin-top: 3px;
}
.upload-zone.is-dragging {
  background: #eef9d8;
  border-width: 2px;
}
.upload-thumbnails {
  display: flex;
  gap: 7px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.upload-thumbnail {
  position: relative;
  width: calc(25% - 6px);
  border: 1px solid #ddd;
  border-radius: 6px;
  overflow: hidden;
  background: #f4f5f1;
  aspect-ratio: 1.55;
  cursor: grab;
}
.upload-thumbnail > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.remove-photo,
.move-photo {
  position: absolute;
  right: 3px;
  top: 3px;
  background: #fff;
  border: 1px solid #bdc6b5;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  padding: 0;
  font-size: 15px;
  line-height: 15px;
}
.move-photo {
  left: 3px;
  right: auto;
  font-size: 12px;
  border-radius: 4px;
}
.cover-tag {
  position: absolute;
  left: 3px;
  bottom: 3px;
  background: #386911;
  color: #fff;
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 9px;
}
.listing-editor-aside .panel {
  padding: 13px 14px;
}
.listing-editor-aside > .panel h2 {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.listing-editor-aside .panel-heading h2 {
  border: 0;
  padding: 0;
}
.listing-editor-aside .panel-heading {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--border);
}
.listing-editor-aside .badge {
  font-size: 10px;
  padding: 3px 7px;
}
.listing-editor-aside .panel h2 > .icon {
  width: 21px;
  height: 21px;
}
.listing-editor-aside .button {
}
.listing-editor-aside .button .icon {
  width: 15px;
  height: 15px;
}
.listing-editor-aside .stack-actions {
  gap: 9px;
  margin-top: 16px;
}
.publish-checklist {
  padding-top: 10px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
}
.publish-checklist > strong {
  font-size: 11px;
}
.publish-checklist > span {
  display: flex;
  gap: 7px;
  align-items: center;
}
.publish-checklist .icon {
  width: 18px;
  height: 18px;
  filter: invert(30%) sepia(80%) saturate(600%) hue-rotate(65deg);
  padding: 2px;
}
.listing-preview > img {
  display: block;
  margin: 13px 0 10px;
  width: 100%;
  aspect-ratio: 1.7;
  object-fit: cover;
  border-radius: 6px;
}
.listing-preview h3 {
  font-size: 16px;
  margin-bottom: 6px;
}
.listing-preview > p:not(.price) {
  font-size: 11px;
}
.listing-preview .price {
  font-size: 22px;
  margin-top: 5px;
}
.listing-preview .price small {
  font-size: 11px;
}
.listing-editor-aside .help {
  font-size: 10px;
  margin-top: 12px;
}
.listing-editor-aside > .info-box {
  padding: 12px 14px;
  font-size: 12px;
}
.listing-editor-aside > .info-box strong {
  font-size: 14px;
}
/* ================= SETTINGS ================= */
.settings-grid {
  display: grid;
  grid-template-columns: 1.18fr 1fr;
  gap: 18px;
  align-items: start;
}
.settings-grid > div,
.settings-grid > aside {
  display: flex;
  flex-direction: column;
  gap: 13px;
  min-width: 0;
}
.settings-grid .panel {
  padding: 13px 16px;
}
.settings-grid .panel h2 {
  font-size: 18px;
}
.settings-grid .panel h2 > .icon {
  width: 26px;
  height: 26px;
}
.settings-grid .field > span {
  font-size: 12px;
}
.settings-grid .field input,
.settings-grid .field select {
  min-height: 29px;
  font-size: 12px;
  padding: 4px 10px;
}
.settings-grid .form-grid {
  gap: 0 18px;
}
.settings-grid .field textarea {
  min-height: 75px;
  font-size: 12px;
}
.settings-grid .form-note {
  font-size: 10px;
  line-height: 1.3;
  border: 0;
}
.logo-settings {
  display: flex;
  gap: 24px;
  align-items: center;
  margin: 18px 0 12px;
}
.logo-settings > div:first-child {
  border: 1px solid var(--border);
  border-radius: 8px;
  width: 50%;
  padding: 14px 12px;
  text-align: center;
  background: #fff;
}
.logo-settings > div > img {
  width: 216px;
  height: auto;
}
.logo-settings small {
  display: block;
  font-size: 11px;
  margin-top: 8px;
}
.logo-settings .button {
}
.settings-grid .switch-row {
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
}
.settings-grid .switch-row:last-child {
  border: 0;
}
.settings-grid .switch-row strong {
  font-size: 13px;
}
.settings-grid .switch-row small {
  font-size: 11px;
}
.settings-grid .info-box {
  font-size: 12px;
}
.settings-savebar {
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding: 9px 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.settings-savebar > span {
  font-size: 12px;
  color: #4c5051;
}
.settings-savebar > div {
  display: flex;
  gap: 14px;
}
.settings-savebar .button {
  min-width: 170px;
}
.identity-preview h2 {
  margin-bottom: 14px;
}
.mini-site {
  border: 1px solid var(--border);
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  background: #fff;
}
.mini-site > div:first-child {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 18px;
}
.mini-site > div > img {
  width: 175px;
  height: auto;
}
.mini-site > div > span {
  font-size: 22px;
}
.mini-site__photo {
  width: 100%;
  aspect-ratio: 2.1;
  object-fit: cover;
}
.mini-site__copy {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, #000b);
  color: #fff;
  padding: 20px 15px 12px;
}
.mini-site__copy strong {
  font-size: 18px;
  display: block;
  font-style: italic;
  letter-spacing: -0.3px;
}
.mini-site__copy .button {
  margin-top: 6px;
}
.identity-preview > small {
  font-size: 10px;
  display: block;
  margin-top: 5px;
}
.settings-subpanel {
  max-width: 850px;
  min-height: 240px;
}
.settings-subpanel > h2 {
  margin-bottom: 20px;
}
.settings-subpanel > p {
  margin-top: 12px;
}
.settings-subpanel > .field {
  max-width: 500px;
}
.contact-page {
  padding-block: 45px;
  min-height: 65vh;
}
.contact-page > h1 {
  margin-bottom: 15px;
}
.contact-page > p {
  margin-bottom: 30px;
  max-width: 700px;
}
.contact-page .panel p {
  margin: 14px 0;
}
.contact-page .management-grid {
  margin-top: 25px;
}
.contact-location {
  padding-block: 16px;
  border-top: 1px solid var(--border);
}
/* ================= RESPONSIVE ================= */
@media (min-width: 1450px) {
  .home-hero {
    height: 510px;
  }
  .home-hero__copy {
    padding-top: 80px;
  }
  .home-hero h1 {
    font-size: 60px;
  }
  .home-hero__copy > p:not(.eyebrow) {
    font-size: 18px;
  }
  .search-wrapper {
    margin-top: -65px;
  }
  .inventory {
    margin-top: 15px;
  }
  .vehicles-grid {
    gap: 24px;
  }
  .vehicle-card__body {
    padding: 20px;
  }
  .section-heading h2 {
    font-size: 52px;
  }
  .contact-banner {
    min-height: 270px;
  }
  .contact-banner h2 {
    font-size: 50px;
  }
  .contact-banner__copy {
    padding-block: 30px;
  }
  .detail-page .container {
    max-width: 1380px;
  }
  .detail-page .gallery-thumbs button {
    height: 100px;
  }
  .detail-page .seller-card {
    padding: 22px;
  }
  .detail-page .seller-card h1 {
    font-size: 44px;
  }
  .detail-page .seller-card > .price {
    font-size: 44px;
  }
  .detail-page .seller-card > .button {
  }
  .detail-page .detail-section p {
    font-size: 15px;
  }
  .detail-page .spec-tables dl > div {
    font-size: 13px;
    min-height: 26px;
  }
  .detail-page .fact {
    min-height: 65px;
  }
  .detail-page .appointment-card {
    margin-top: 45px;
  }
  .admin-main {
    padding-top: 15px;
  }
  .management-table td {
    padding-block: 15px;
  }
  .edit-panel {
    padding: 16px;
  }
  .settings-grid {
    grid-template-columns: 1.18fr 1fr;
  }
}
@media (max-width: 1250px) {
  .admin-sidebar nav > a {
    font-size: 14px;
  }
  .admin-brand > span {
    font-size: 17px;
  }
  .admin-main {
    padding-inline: 23px;
  }
  .admin-footer {
    margin-inline: 23px;
  }
  .management-table th,
  .management-table td {
    padding-inline: 12px;
  }
  .person-cell {
    gap: 12px;
  }
  .person-cell .avatar {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }
  .person-cell strong {
    font-size: 13px;
  }
  .person-cell small {
    font-size: 11px;
  }
  .management-table td {
    font-size: 11px;
  }
  .management-table td:last-child > .icon-button {
    width: 24px;
  }
  .assigned-row {
    gap: 12px;
  }
  .assigned-row > img {
    width: 105px;
    height: 56px;
  }
  .contact-preview p {
    font-size: 11px;
  }
  .admin-page-heading h1 {
    font-size: 35px;
  }
  .listing-editor .form-grid {
    gap: 0 14px;
  }
  .settings-grid {
    grid-template-columns: 1.1fr 1fr;
  }
  .settings-grid .form-grid {
    gap: 0 12px;
  }
  .logo-settings {
    gap: 15px;
  }
}
@media (max-width: 1050px) {
  .container {
    width: calc(100% - 48px);
  }
  .header-inner {
    gap: 20px;
  }
  .header-inner > .brand {
    padding-right: 20px;
  }
  .brand img {
    width: 195px;
  }
  .site-nav {
    gap: 22px;
  }
  .header-actions {
    gap: 12px;
  }
  .home-hero h1 {
    font-size: 44px;
  }
  .home-hero__copy {
    padding-top: 50px;
  }
  .home-hero {
    height: 390px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .trust-row span {
    gap: 12px;
    font-size: 13px;
  }
  .search-fields {
    gap: 10px;
  }
  .search-box {
    padding-inline: 18px;
  }
  .vehicle-card h3 {
    font-size: 18px;
  }
  .vehicle-meta {
    font-size: 12px;
    gap: 6px;
  }
  .contact-banner h2 {
    font-size: 36px;
  }
  .site-footer {
    gap: 20px;
  }
  .site-footer > nav {
    gap: 18px;
    padding-left: 20px;
  }
  .footer-credit > span {
    display: none;
  }
  .detail-page .header-inner {
    gap: 20px;
  }
  .detail-page .header-inner > .brand {
    padding-right: 20px;
  }
  .detail-page .brand img {
    width: 190px;
  }
  .detail-grid {
    grid-template-columns: 1.8fr 1fr;
    gap: 16px;
  }
  .seller-card h1 {
    font-size: 31px;
  }
  .seller-card > .eyebrow {
    letter-spacing: 2px;
    font-size: 8px;
  }
  .seller-card .eyebrow .green-line {
    width: 25px;
  }
  .seller-card .variant {
    font-size: 14px;
  }
  .seller-card > .price {
    font-size: 35px;
  }
  .seller-card > .button {
  }
  .fact {
    gap: 8px;
    padding-inline: 9px;
  }
  .fact strong {
    font-size: 14px;
  }
  .fact small {
    font-size: 10px;
  }
  .detail-section h2 {
    font-size: 29px;
  }
  .seller-links > button {
    font-size: 10px;
  }
  .seller-company {
    gap: 10px;
    padding-inline: 0;
  }
  .seller-company strong {
    font-size: 14px;
  }
  .seller-agent p {
    font-size: 12px;
  }
  .seller-agent > div {
    gap: 11px;
  }
  .appointment-card {
    padding: 18px;
  }
  .appointment-card h2 {
    font-size: 23px;
  }
  .vehicle-card--compact h3 {
    font-size: 14px;
  }
  .vehicle-card--compact .vehicle-card__body {
    padding: 8px;
  }
  .breadcrumb-bar {
    font-size: 11px;
    gap: 14px;
  }
  .breadcrumb-bar .back-link {
    padding-right: 14px;
  }
  .management-grid--contacts,
  .management-grid--locations {
    grid-template-columns: 1fr;
  }
  .admin-shell {
    grid-template-columns: 185px minmax(0, 1fr);
  }
  .admin-brand > span {
    font-size: 16px;
  }
  .admin-topbar {
    padding-inline: 20px;
    font-size: 11px;
  }
  .admin-topbar__actions {
    gap: 10px;
  }
  .admin-topbar__actions > .preview-link {
    font-size: 11px;
  }
  .admin-topbar > div > span {
    margin-inline: 6px;
  }
  .admin-page-heading .button {
    min-width: auto;
  }
  .listing-editor {
    grid-template-columns: minmax(0, 1fr) 265px;
  }
  .listing-editor .form-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .equipment-checkboxes {
    grid-template-columns: 1fr 1fr;
  }
  .category-hint {
    display: none;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .settings-grid > aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  .identity-preview {
    grid-row: span 2;
  }
  .settings-grid > aside > .info-box {
    grid-column: 1/-1;
  }
}
@media (max-width: 800px) {
  .container {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 64px;
  }
  .header-inner > .brand {
    padding-right: 0;
    border: 0;
  }
  .brand img,
  .detail-page .brand img {
    width: 180px;
  }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    top: 64px;
    right: 0;
    z-index: 30;
    background: white;
    padding: 20px;
    border-bottom: 1px solid var(--border);
  }
  .site-nav.is-open {
    display: flex;
  }
  .mobile-menu {
    display: inline-flex !important;
    margin-left: auto;
  }
  .header-actions {
    margin: 0;
    gap: 4px;
  }
  .header-actions > .button {
  }
  .header-actions > .icon-button {
    width: 28px;
  }
  .header-inner {
    gap: 10px;
  }
  .home-hero__copy {
    padding-top: 40px;
    max-width: 430px;
  }
  .home-hero h1 {
    font-size: 39px;
    white-space: normal;
  }
  .home-hero__copy > p:not(.eyebrow) {
    font-size: 14px;
    max-width: 330px;
  }
  .home-hero::after {
    background: linear-gradient(
      90deg,
      #eeebe7 4%,
      #eeebe7ed 34%,
      #eeebe733 72%
    );
  }
  .home-hero__photo {
    width: 76%;
    object-position: 65% center;
  }
  .search-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .search-fields > .button {
    grid-column: 1/-1;
  }
  .search-wrapper {
    padding: 0 5px;
    margin-top: -45px;
  }
  .category-tabs {
    gap: 4px;
  }
  .category-tabs [data-category] {
    font-size: 12px;
    gap: 7px;
  }
  .category-tabs [data-category] .icon {
    width: 30px;
    height: 25px;
  }
  .trust-row {
    margin-bottom: 30px;
    gap: 10px;
  }
  .trust-row span {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    font-size: 12px;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .section-heading > .text-link {
    font-size: 12px;
    white-space: nowrap;
  }
  .vehicles-grid {
    gap: 12px;
  }
  .vehicle-card__body {
    padding: 12px;
  }
  .vehicle-card h3 {
    font-size: 16px;
  }
  .vehicle-card .price {
    font-size: 22px;
  }
  .vehicle-card__image > .badge {
    font-size: 10px;
    left: 8px;
    top: 8px;
  }
  .vehicle-card .photo-counter {
    font-size: 10px;
    right: 5px;
    bottom: 5px;
    padding: 2px 5px;
  }
  .vehicle-card__link {
    font-size: 11px;
  }
  .favorite {
    right: 2px;
  }
  .contact-banner p {
    font-size: 12px;
  }
  .contact-banner h2 {
    font-size: 31px;
  }
  .site-footer {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
  }
  .site-footer > .brand img {
    width: 135px;
  }
  .footer-credit {
    width: 100%;
    justify-content: center;
    margin: 0;
  }
  .detail-page .site-header {
    height: 64px;
  }
  .breadcrumb-bar {
    height: auto;
    min-height: 65px;
    gap: 10px;
    flex-wrap: wrap;
    padding-block: 12px;
  }
  .listing-number {
    display: none;
  }
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-column {
    display: contents;
  }
  .gallery {
    order: 1;
  }
  .detail-aside {
    display: contents;
  }
  .seller-card {
    order: 2;
    margin-top: 5px;
    padding: 18px 20px;
  }
  .seller-card h1 {
    font-size: 34px;
  }
  .seller-card > .eyebrow {
    font-size: 10px;
  }
  .seller-card .variant {
    font-size: 16px;
  }
  .seller-card > .vehicle-meta {
    font-size: 13px;
  }
  .seller-card > .price {
    font-size: 38px;
  }
  .seller-company {
    padding-block: 14px;
  }
  .seller-card > .button {
  }
  .seller-links > button {
    font-size: 12px;
  }
  .seller-agent p {
    font-size: 14px;
  }
  .vehicle-facts {
    order: 3;
    margin-top: 0;
  }
  .detail-tabs {
    order: 4;
    margin-top: 0;
  }
  .detail-section {
    order: 5;
    padding-top: 5px;
  }
  .appointment-card {
    order: 6;
    margin-top: 0;
  }
  .related-grid {
    gap: 12px;
  }
  .related-grid .vehicle-card--compact {
    grid-template-columns: 1fr;
  }
  .vehicle-card--compact .vehicle-card__image {
    height: 120px;
  }
  .vehicle-card--compact .vehicle-card__body {
    padding: 10px;
  }
  .vehicle-card--compact .favorite .icon {
    filter: invert(1);
  }
  .detail-section p {
    font-size: 14px;
  }
  .spec-tables dl > div {
    font-size: 12px;
    padding-inline: 10px;
  }
  .admin-shell {
    grid-template-columns: 1fr;
  }
  .admin-sidebar {
    min-height: 0;
    padding: 12px 16px;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .admin-brand {
    margin: 0 auto 0 0;
  }
  .admin-brand > span {
    font-size: 18px;
  }
  .admin-sidebar nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
  }
  .admin-sidebar nav > a {
    padding: 8px;
    font-size: 12px;
    gap: 6px;
    min-height: 36px;
  }
  .admin-sidebar nav > a > .icon {
    width: 17px;
    height: 17px;
  }
  .admin-sidebar nav > a.sub-nav {
    display: none;
  }
  .sidebar-bottom {
    display: none;
  }
  .admin-topbar {
    height: auto;
    min-height: 48px;
    padding: 8px 16px;
    gap: 10px;
  }
  .admin-topbar__actions > .preview-link {
    display: inline-flex;
  }
  .admin-main {
    padding: 20px 16px 0;
  }
  .admin-footer {
    margin-inline: 16px;
    font-size: 10px;
  }
  .admin-page-heading h1 {
    font-size: 32px;
  }
  .admin-page-heading p {
    font-size: 12px;
    max-width: 500px;
  }
  .listing-editor {
    grid-template-columns: 1fr 260px;
    gap: 12px;
  }
  .listing-editor .panel {
    padding-inline: 12px;
  }
  .settings-grid > aside {
    grid-template-columns: 1fr 1fr;
  }
  .management-grid {
    grid-template-columns: 1fr;
  }
  .equipment-list {
    font-size: 14px;
  }
}
@media (max-width: 580px) {
  .site-nav.is-open {
    flex-direction: column;
    align-items: flex-start;
  }
  .header-actions > .button {
    display: none;
  }
  .home-hero {
    height: 350px;
  }
  .home-hero h1 {
    font-size: 36px;
  }
  .home-hero .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
  }
  .home-hero__photo {
    width: 100%;
    opacity: 0.55;
  }
  .home-hero::after {
    background: linear-gradient(90deg, #eeebe7 2%, #eeebe7c9 45%, #eeebe722);
  }
  .home-hero__copy {
    padding-top: 36px;
  }
  .home-hero__copy > p:not(.eyebrow) {
    font-size: 13px;
  }
  .search-box {
    padding: 10px 12px 16px;
  }
  .category-tabs {
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding-bottom: 10px;
  }
  .category-tabs [data-category] {
    justify-content: flex-start;
    padding-left: 15px;
    height: 38px;
  }
  .search-fields {
    gap: 8px;
  }
  .search-fields .field > span {
    font-size: 11px;
  }
  .search-fields select {
    font-size: 12px;
    min-height: 37px;
  }
  .trust-row {
    margin-top: 24px;
    gap: 6px;
    margin-bottom: 26px;
  }
  .trust-row span {
    font-size: 11px;
    padding: 0 6px;
  }
  .trust-row .icon {
    width: 28px;
    height: 28px;
  }
  .section-heading {
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
  }
  .section-heading h2 {
    font-size: 31px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  .section-heading > .text-link {
    font-size: 12px;
  }
  .vehicles-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .vehicle-card h3 {
    font-size: 21px;
  }
  .vehicle-card .vehicle-meta {
    font-size: 13px;
  }
  .vehicle-card .price {
    font-size: 25px;
  }
  .vehicle-card__body {
    padding: 16px;
  }
  .vehicle-card__link {
    font-size: 13px;
  }
  .vehicle-card .photo-counter {
    font-size: 12px;
    right: 10px;
    bottom: 10px;
  }
  .vehicle-card__image > .badge {
    font-size: 11px;
    left: 12px;
    top: 12px;
  }
  .contact-banner {
    min-height: 225px;
  }
  .contact-banner__copy {
    max-width: 73%;
    padding-top: 26px;
  }
  .contact-banner > img {
    width: 55%;
    opacity: 0.28;
  }
  .contact-banner h2 {
    font-size: 34px;
  }
  .contact-banner p {
    font-size: 13px;
    max-width: 260px;
  }
  .contact-banner .button {
  }
  .site-footer > nav {
    gap: 14px;
    padding-left: 0;
    border: 0;
    font-size: 10px;
  }
  .site-footer > .brand img {
    width: 125px;
  }
  .site-footer {
    justify-content: center;
    padding-block: 15px;
    gap: 14px;
  }
  .footer-credit {
    font-size: 9px;
  }
  .breadcrumb-bar .back-link {
    border: 0;
    padding-right: 0;
  }
  .breadcrumb-bar nav {
    font-size: 10px;
    width: 100%;
  }
  .gallery-thumbs {
    gap: 5px;
  }
  .gallery-thumbs button {
    height: 61px;
  }
  .gallery-stage {
    aspect-ratio: 1.5;
  }
  .gallery-stage .icon-button {
    width: 31px;
    height: 31px;
  }
  .gallery-prev {
    left: 9px;
  }
  .gallery-next {
    right: 9px;
  }
  .gallery-expand {
    right: 9px;
    top: 9px;
  }
  .gallery-stage .badge {
    left: 9px;
    top: 9px;
    font-size: 11px;
  }
  .vehicle-facts {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .fact {
    padding: 10px 12px;
  }
  .fact small {
    font-size: 11px;
  }
  .fact strong {
    font-size: 15px;
  }
  .detail-tabs {
    overflow-x: auto;
  }
  .detail-tabs a {
    padding-inline: 10px;
    font-size: 12px;
  }
  .spec-tables {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .spec-tables dl > div {
    font-size: 12px;
    min-height: 28px;
    padding: 5px 10px;
  }
  .detail-section h2 {
    font-size: 29px;
  }
  .equipment-list {
    gap: 7px 10px;
    font-size: 12px;
  }
  .equipment-list li {
    gap: 8px;
  }
  .related-grid {
    grid-template-columns: 1fr;
  }
  .related-grid .vehicle-card--compact {
    grid-template-columns: 45% 55%;
  }
  .related-grid .vehicle-card--compact .vehicle-card__image {
    height: 100%;
    min-height: 115px;
  }
  .vehicle-card--compact .vehicle-card__body {
    padding: 10px;
  }
  .vehicle-card--compact h3 {
    font-size: 16px;
  }
  .vehicle-card--compact .vehicle-meta {
    font-size: 10px;
    gap: 4px;
  }
  .vehicle-card--compact .price {
    font-size: 21px;
  }
  .vehicle-card--compact .favorite .icon {
    filter: opacity(0.5);
  }
  .admin-sidebar {
    padding: 12px;
    gap: 8px;
  }
  .admin-sidebar nav {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-sidebar nav > a {
    font-size: 11px;
    padding: 8px 6px;
    gap: 6px;
  }
  .admin-sidebar nav > a > .icon:last-child:not(:first-child) {
    display: none;
  }
  .admin-topbar {
    font-size: 10px;
    padding-inline: 13px;
  }
  .admin-topbar__actions > .icon-button {
    display: none;
  }
  .account-menu > summary > span:not(.avatar) {
    display: none;
  }
  .account-menu > summary > .icon {
    margin-left: 0;
  }
  .admin-main {
    padding: 15px 12px 0;
  }
  .admin-page-heading {
    gap: 10px;
    align-items: flex-start;
  }
  .admin-page-heading h1 {
    font-size: 29px;
  }
  .admin-page-heading .button {
  }
  .admin-page-heading .button .icon {
    width: 17px;
    height: 17px;
  }
  .admin-tabs {
    gap: 3px;
  }
  .admin-tabs > a,
  .admin-tabs > button {
    font-size: 12px;
    padding-inline: 8px;
  }
  .management-grid {
    gap: 15px;
  }
  .panel {
    padding: 14px 12px;
  }
  .panel h2 {
    font-size: 17px;
  }
  .list-toolbar {
    padding: 12px;
    gap: 8px;
    flex-wrap: wrap;
  }
  .list-toolbar > select {
    width: 100%;
    height: 34px;
  }
  .list-toolbar .input-icon {
    flex-basis: 100%;
  }
  .management-table {
    font-size: 11px;
  }
  .management-table th,
  .management-table td {
    padding: 10px 9px;
  }
  .management-table td:first-child {
    min-width: 180px;
  }
  .person-cell {
    gap: 8px;
  }
  .person-cell .avatar {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  .person-cell .avatar > .icon {
    width: 23px;
    height: 23px;
  }
  .person-cell strong {
    font-size: 12px;
    gap: 5px;
  }
  .person-cell small {
    font-size: 10px;
  }
  .management-table .table-count {
    font-size: 16px;
  }
  .management-table th {
    font-size: 11px;
  }
  .assigned-row {
    gap: 9px;
    padding-inline: 0;
  }
  .assigned-row > img {
    width: 85px;
    height: 50px;
  }
  .assigned-row strong {
    font-size: 12px;
  }
  .assigned-row > div > span {
    font-size: 10px;
  }
  .assigned-row .status-badge {
    font-size: 10px;
    padding: 3px 5px;
  }
  .assigned-row > .icon {
    width: 16px;
    height: 16px;
  }
  .assigned-panel h2 {
    font-size: 16px;
  }
  .badge--soft {
    font-size: 10px;
  }
  .form-grid {
    gap: 0 10px;
  }
  .form-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field input,
  .field select,
  .field textarea {
    font-size: 16px;
    min-height: 39px;
  }
  .field > span {
    font-size: 12px;
  }
  .edit-panel .field input,
  .edit-panel .field select {
    min-height: 39px;
  }
  .contact-preview > div {
    gap: 10px;
  }
  .contact-preview p {
    font-size: 11px;
    overflow-wrap: anywhere;
  }
  .contact-preview > div > .icon {
    width: 28px;
    height: 28px;
    padding-right: 8px;
  }
  .listing-editor {
    grid-template-columns: 1fr;
  }
  .listing-editor-aside {
    display: contents;
  }
  .listing-form-column {
    display: contents;
  }
  .listing-form-column > .panel {
    order: 1;
  }
  .listing-editor-aside > .panel:first-child {
    order: 0;
  }
  .listing-editor-aside > .listing-preview {
    order: 2;
  }
  .listing-editor-aside > .panel:not(:first-child):not(.listing-preview) {
    order: 1;
  }
  .listing-editor-aside > .info-box {
    order: 3;
  }
  .listing-editor .field input,
  .listing-editor .field select {
    font-size: 16px;
    min-height: 38px;
  }
  .listing-editor .field > span {
    font-size: 12px;
  }
  .listing-editor .checkbox {
    font-size: 12px;
  }
  .listing-editor .checkbox input {
    width: 17px;
    height: 17px;
  }
  .listing-editor .panel h2 {
    font-size: 17px;
  }
  .listing-editor .field-label {
    font-size: 12px;
  }
  .editor-box > textarea {
    font-size: 16px;
    min-height: 120px;
  }
  .numbered-panel .help {
    font-size: 11px;
  }
  .listing-editor-aside .button {
  }
  .upload-zone {
    min-height: 150px;
    justify-content: center;
  }
  .upload-zone strong {
    font-size: 14px;
  }
  .upload-zone small {
    font-size: 11px;
  }
  .upload-zone .button {
  }
  .upload-thumbnail {
    width: calc(50% - 4px);
  }
  .remove-photo,
  .move-photo {
    width: 27px;
    height: 27px;
    font-size: 19px;
  }
  .cover-tag {
    font-size: 11px;
  }
  .settings-grid > aside {
    display: flex;
    flex-direction: column;
  }
  .settings-grid > aside > * {
    width: 100%;
  }
  .settings-grid .field input,
  .settings-grid .field select {
    font-size: 16px;
    min-height: 38px;
  }
  .settings-grid .field textarea {
    font-size: 16px;
  }
  .settings-grid .form-grid--3 {
    grid-template-columns: 1fr;
  }
  .settings-savebar {
    align-items: flex-start;
    flex-direction: column;
  }
  .settings-savebar > div {
    width: 100%;
    gap: 10px;
  }
  .settings-savebar .button {
    min-width: 0;
    flex: 1;
  }
  .logo-settings {
    gap: 14px;
  }
  .logo-settings > div:first-child {
    padding: 16px 8px;
  }
  .logo-settings .button {
    padding-inline: 7px;
  }
  .admin-footer {
    flex-direction: column;
    gap: 8px;
    margin: 18px 12px 0;
  }
  .demo-label {
    margin-left: 8px;
    padding-left: 10px;
  }
  .settings-grid .panel {
    padding: 14px 12px;
  }
  .contact-page h1 {
    font-size: 36px;
  }
  .form-dialog {
    padding: 20px;
  }
  .form-dialog h2 {
    font-size: 28px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* Logo input preview uses the existing component, without an extra stylesheet. */
.settings-grid .logo-settings input[type="file"] {
  max-width: 100%;
}

/* Responsive intrinsic sizing corrections verified at 320px. */
@media (max-width: 800px) {
  .admin-shell,
  .management-grid,
  .management-grid--contacts,
  .management-grid--locations,
  .detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .admin-sidebar,
  .admin-workspace,
  .gallery,
  .detail-section,
  .seller-card {
    min-width: 0;
  }
  .detail-page .header-inner > .brand {
    padding-right: 0;
    border: 0;
  }
  .admin-topbar > div:first-child {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 580px) {
  .admin-sidebar nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }
  .admin-sidebar nav > a {
    min-width: 0;
  }
  .listing-editor {
    grid-template-columns: minmax(0, 1fr);
  }
  .detail-tabs {
    max-width: 100%;
  }
  .seller-links > button {
    white-space: normal;
  }
  .contact-preview > div > div {
    min-width: 0;
  }
  .settings-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .form-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.management-grid.management-grid--closed {
  grid-template-columns: minmax(0, 1fr);
}

/* ================= INSTALATOR WWW ================= */
.setup-page {
  background: var(--admin-background);
}
.setup-shell {
  width: min(640px, calc(100% - 32px));
  margin: 42px auto;
}
.setup-shell > .brand {
  margin-bottom: 28px;
}
.setup-panel {
  padding: 30px;
}
.setup-panel h1 {
  font-size: 35px;
  margin: 14px 0;
}
.setup-panel > p {
  margin-bottom: 18px;
}
.setup-panel .field {
  margin-top: 18px;
}
.setup-panel .field input {
  min-height: 44px;
  font-size: 16px;
}
.setup-panel .button {
  margin-top: 20px;
}
.setup-advanced {
  margin: 18px 0;
  color: var(--muted);
}
.setup-advanced summary {
  cursor: pointer;
}
.setup-error {
  padding: 14px;
  margin: 16px 0;
  border: 1px solid var(--danger);
  border-radius: 7px;
  color: var(--danger);
  background: #fff;
}
.setup-error li {
  margin-top: 5px;
}
.setup-credentials {
  padding: 16px;
  margin-bottom: 15px;
  background: var(--soft);
  border-radius: 8px;
}
.setup-credentials div + div {
  margin-top: 14px;
}
.setup-credentials dt {
  font-size: 12px;
  color: var(--muted);
}
.setup-credentials dd {
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.setup-credentials code {
  font-size: 19px;
}
.setup-footer {
  margin-top: 22px;
  font-size: 12px;
  color: var(--muted);
}
@media (max-width: 580px) {
  .setup-shell {
    margin-top: 24px;
  }
  .setup-panel {
    padding: 20px 16px;
  }
  .setup-panel h1 {
    font-size: 29px;
  }
}

/* ================= COMPANY PAGES ================= */
.company-hero {
  background: linear-gradient(115deg, #f2f5ee, #faf9f6);
  padding: 60px 0 74px;
  border-bottom: 1px solid var(--border);
}
.company-hero h1 {
  font-size: clamp(38px, 4.3vw, 64px);
  line-height: 1.04;
  max-width: 800px;
  margin: 18px 0 22px;
  letter-spacing: -2px;
}
.company-hero p:not(.eyebrow) {
  max-width: 660px;
  color: #475347;
  font-size: 17px;
  line-height: 1.65;
}
.company-content {
  padding-top: 36px;
  padding-bottom: 64px;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}
.contact-details,
.contact-form-panel {
  min-width: 0;
}
.company-page .panel {
  padding: 28px;
}
.company-page .panel h2 {
  font-size: 28px;
  margin: 12px 0 16px;
}
.contact-symbol {
  display: inline-flex;
  padding: 12px;
  background: var(--soft);
  border-radius: 12px;
  margin-bottom: 16px;
}
.contact-symbol .icon {
  width: 32px;
  height: 32px;
}
.headquarters .eyebrow {
  color: var(--primary);
}
.headquarters address {
  font-style: normal;
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 12px;
}
.contact-channels {
  margin: 22px 0;
  border-top: 1px solid var(--border);
}
.contact-channel {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.contact-channel > span {
  min-width: 0;
}
.contact-channel small {
  display: block;
  color: var(--muted);
  margin-bottom: 3px;
}
.contact-channel strong {
  font-size: 16px;
}
.contact-details .info-box {
  margin-top: 18px;
}
.contact-form-panel h2 {
  font-family: var(--font-heading);
  font-size: 36px !important;
}
.contact-form-panel form {
  margin-top: 26px;
}
.contact-form-panel .field input {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}
.contact-form-panel .field > span {
  font-size: 13px;
  margin-bottom: 7px;
}
.contact-form-panel textarea {
  min-height: 160px;
  resize: vertical;
}
.privacy-checkbox {
  margin: 18px 0 24px;
  align-items: flex-start;
  font-size: 12px;
}
.privacy-checkbox a {
  color: var(--primary);
  text-decoration: underline;
}
.privacy-checkbox input {
  flex-shrink: 0;
}
.contact-form-bottom {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}
.contact-form-bottom small {
  color: var(--muted);
}
.locations-section {
  margin-top: 48px;
}
.locations-section h2,
.about-story h2,
.about-categories h2,
.about-contact h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  margin: 12px 0 20px;
}
.location-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 22px;
}
.location-cards .panel p {
  margin: 10px 0;
}
.location-cards .button {
  margin-top: 12px;
}
.about-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-grid > div {
  min-width: 0;
}
.about-hero-grid > img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  object-position: 70%;
  border-radius: 16px;
}
.about-hero-grid .button {
  margin-top: 26px;
}
.about-story {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 60px;
  padding: 28px 0 52px;
}
.about-copy {
  font-size: 16px;
  line-height: 1.85;
  color: #414b43;
}
.about-copy p + p {
  margin-top: 18px;
}
.category-feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.category-feature {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.category-feature > .icon {
  width: 50px;
  height: 42px;
}
.category-feature h3 {
  font-size: 19px;
}
.category-feature .button {
  margin-top: auto;
}
.about-contact {
  margin-top: 44px;
  padding: 32px;
  background: var(--soft);
  border-radius: var(--radius-panel);
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
}
/* ================= OFFER CONTENT ================= */
.detail-panel {
  margin-top: 20px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-panel);
  background: var(--surface);
}
.detail-panel h2 {
  margin-bottom: 20px;
}
.detail-panel .listing-description p {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
  overflow-wrap: anywhere;
}
.description-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  margin: 16px 0 20px;
  background: var(--border);
}
.description-specs > div {
  background: #f7f9f5;
  padding: 14px 16px;
  min-width: 0;
}
.description-specs > div:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.capacity-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 22px;
  font-size: 14px;
}
.capacity-table th {
  text-align: left;
  color: var(--primary);
  background: var(--soft);
}
.capacity-table td,
.capacity-table th {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border);
}
.capacity-table td + td {
  font-weight: 600;
}
.description-specs dt {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.35px;
  overflow-wrap: anywhere;
}
.description-specs dd {
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.description-subheading {
  font: 700 20px/1.3 var(--font-body);
  color: var(--primary);
  margin: 26px 0 14px;
}
.description-bullet {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.offer-price {
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
}
.offer-price .price {
  font-size: 40px;
}
.secondary-price {
  color: var(--muted);
  font-size: 14px;
  margin-top: 8px;
}
.detail-panel .spec-tables dl > div {
  padding: 11px 12px;
  font-size: 13px;
}
.detail-panel .equipment-list {
  grid-auto-flow: row;
  grid-template-rows: none;
  gap: 14px 20px;
}
.detail-panel .equipment-list li {
  line-height: 1.4;
}
.viewing-location {
  margin-top: 24px;
}
.viewing-location h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font: 700 20px/1.3 var(--font-body);
}
.viewing-location p {
  margin: 10px 0;
}
.viewing-location .button {
  margin-top: 10px;
}
/* ================= PROVIDER BRAND ================= */
.company-home-logo {
  display: inline-flex;
  vertical-align: middle;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 5px 8px;
  border-radius: 5px;
  background: transparent;
}
.company-home-logo img {
  width: 82px;
  height: 25px;
  object-fit: contain;
}
.footer-credit,
.admin-footer > span:last-child {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sidebar-bottom .company-home-logo {
  align-self: flex-start;
}
.button {
  text-decoration: none;
}
.forklift-fields {
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}
/* ================= RESPONSIVE EXTENSIONS ================= */
@media (max-width: 1050px) {
  .contact-layout {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 20px;
  }
  .company-page .panel {
    padding: 22px;
  }
  .contact-form-bottom {
    align-items: stretch;
    flex-direction: column;
  }
  .category-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-tabs {
    gap: 6px;
  }
  .category-tabs [data-category] {
    gap: 8px;
    font-size: 12px;
  }
  .about-hero-grid {
    gap: 24px;
  }
}
@media (max-width: 800px) {
  .company-hero {
    padding: 36px 0 44px;
  }
  .contact-layout,
  .about-hero-grid,
  .about-story {
    grid-template-columns: 1fr;
  }
  .contact-details {
    order: 2;
  }
  .company-content {
    padding-top: 24px;
  }
  .about-story {
    gap: 20px;
    padding-bottom: 36px;
  }
  .about-hero-grid > img {
    height: 280px;
  }
  .about-contact {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px;
  }
  .detail-panel {
    padding: 22px;
  }
  .category-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
  }
}
@media (max-width: 580px) {
  .company-hero h1 {
    letter-spacing: -1.3px;
  }
  .company-hero p:not(.eyebrow) {
    font-size: 15px;
  }
  .company-page .panel {
    padding: 20px;
  }
  .company-content {
    padding-bottom: 36px;
  }
  .contact-layout {
    gap: 18px;
  }
  .contact-form-panel .form-grid {
    grid-template-columns: 1fr;
  }
  .contact-channel strong {
    font-size: 14px;
  }
  .contact-form-panel h2 {
    font-size: 30px !important;
  }
  .category-feature-grid {
    gap: 10px;
  }
  .category-feature {
    padding: 15px !important;
  }
  .category-feature h3 {
    font-size: 16px;
  }
  .category-feature .button {
  }
  .description-specs {
    grid-template-columns: 1fr;
  }
  .detail-panel {
    padding: 18px;
  }
  .detail-panel .spec-tables {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .detail-panel .equipment-list {
    grid-template-columns: 1fr;
  }
  .offer-price .price {
    font-size: 34px;
  }
  .category-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .category-tabs [data-category] {
    min-width: 0;
  }
  .section-heading {
    flex-wrap: wrap;
    gap: 16px;
  }
  .footer-credit {
    justify-content: center;
  }
  .vehicle-card__link.button {
  }
}

/* ================= CONSISTENT TYPE AND MICROINTERACTIONS ================= */
h1,
h2 {
  font-style: normal;
  letter-spacing: -0.04em;
}
.admin-page-heading h1 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 700;
}
.admin-brand > span {
  font-family: var(--font-body);
  letter-spacing: -0.8px;
}
.button--small {
  font-size: 14px;
}
.button:focus-visible,
.admin-sidebar a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
.footer-contact {
  display: inline-flex;
  gap: 5px;
  flex-wrap: wrap;
}
.footer-contact > span {
  font-weight: 600;
}
.view-count {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: var(--primary);
}
.view-count .icon {
  width: 18px;
  height: 18px;
}
.mail-subheading {
  margin: 24px 0 16px;
  font-size: 17px;
}
.mail-checks {
  padding-left: 20px;
  line-height: 1.8;
}
.mail-test-panel,
.mail-history {
  margin-top: 24px;
}
.mail-test-form {
  display: flex;
  align-items: end;
  gap: 18px;
  margin: 20px 0;
}
.mail-test-form .field {
  flex: 1;
  max-width: 480px;
  margin: 0;
}
.mail-test-form .button {
  flex-shrink: 0;
}
.vehicle-card .vehicle-meta {
  line-height: 1.65;
}
@media (max-width: 800px) {
  .admin-sidebar {
    position: static;
    height: auto;
  }
  .admin-sidebar .sidebar-label {
    display: none;
  }
  .admin-page-heading h1 {
    font-size: 28px;
  }
  .mail-test-form {
    align-items: stretch;
    flex-direction: column;
  }
  .admin-sidebar nav > a {
    padding: 10px;
  }
}
@media (max-width: 580px) {
  .button {
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .home-hero h1 {
    font-size: 36px;
    line-height: 1.08;
  }
  .home-hero__copy {
    max-width: 100%;
  }
  .admin-sidebar .sidebar-label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .company-home-logo img,
  .company-home-logo::after {
    animation: none;
  }
  .admin-sidebar a,
  .company-home-logo img {
    transition: none;
  }
}

@media (max-width: 580px) {
  .admin-page-heading {
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .admin-page-heading > div {
    min-width: 0;
    flex: 1 1 100%;
  }
}

/* ================= SEARCH AND COMPACT LOCATIONS ================= */
.search-footer {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}
.search-footer .help {
  margin: 0;
  max-width: 650px;
}
.search-footer .button {
  flex-shrink: 0;
}
.location-cards.location-rows {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.company-page .location-row {
  display: grid;
  grid-template-columns: 48px minmax(180px, 1.1fr) minmax(180px, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px 24px;
}
.location-row .contact-symbol {
  margin: 0;
  padding: 10px;
}
.location-row .contact-symbol .icon {
  width: 28px;
  height: 28px;
}
.location-row .location-row__address,
.location-row .location-row__details {
  min-width: 0;
  overflow-wrap: anywhere;
}
.location-cards .location-row p {
  margin: 4px 0;
}
.location-cards .location-row .button {
  margin: 0;
}
.map-coordinates {
  margin-top: 16px;
  row-gap: 12px;
}
.map-coordinates > a {
  grid-column: 1/-1;
  justify-self: start;
  max-width: 100%;
}
/* ================= LOGIN ================= */
.login-page {
  background: #faf9f7;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  font-size: 15px;
}
.login-header {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-shrink: 0;
}
.login-header > a > img {
  width: 224px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}
.login-header .back-link {
  font-size: 14px;
}
.login-layout {
  width: min(1240px, calc(100% - 64px));
  margin: 20px auto 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  flex: 1;
  min-height: 0;
}
.login-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 16px;
  background: #153b1a;
  height: clamp(450px, calc(100svh - 176px), 640px);
  min-width: 0;
}
.login-visual > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left center;
  z-index: -2;
}
.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, #082c0af0, #11341ca0 28%, transparent 68%);
}
.login-visual > div {
  position: absolute;
  bottom: 32px;
  left: 32px;
  right: 24px;
  color: #fff;
}
.login-visual h2 {
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.08;
}
.login-visual .green-line {
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 18px 0 12px;
}
.login-visual p {
  font-size: 16px;
  line-height: 1.55;
}
.login-form-wrapper {
  min-width: 0;
  width: 100%;
  padding: 8px 0;
  align-self: center;
}
.login-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: #e6eed8;
  border-radius: 12px;
}
.login-lock .icon {
  width: 28px;
  height: 28px;
}
.login-form-wrapper h1 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin: 16px 0 10px;
  line-height: 1.1;
}
.login-form-wrapper > p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 22px;
}
.login-form {
  display: grid;
  gap: 18px;
}
.login-form .field {
  margin: 0;
  gap: 8px;
}
.login-form .field > span {
  font-size: 14px;
  font-weight: 600;
}
.login-form .input-icon > input,
.login-form .field > input {
  height: 46px;
  min-height: 46px;
  width: 100%;
  font-size: 15px;
  padding: 11px 14px;
  border: 1px solid #b9c1b7;
  border-radius: 8px;
  background: #fff;
}
.login-form .input-icon > input {
  padding-left: 46px !important;
  padding-right: 46px !important;
}
.login-form .input-icon > .icon {
  left: 14px;
  width: 21px;
  height: 21px;
}
.login-form .input-icon > .icon-button {
  right: 7px;
  width: 32px;
  height: 32px;
}
.login-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  flex-wrap: wrap;
  margin: 0;
}
.login-options .checkbox {
  font-size: 13px;
  gap: 8px;
}
.login-options input {
  width: 18px;
  height: 18px;
}
.login-options > a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.login-form > .button {
  margin: 0;
}
.login-help {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  margin-top: 24px;
}
.login-help p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.6;
}
.login-help .icon {
  width: 21px;
  height: 21px;
  flex-shrink: 0;
}
.login-help p + p {
  margin: 8px 0 0 31px;
  color: var(--muted);
}
.login-footer {
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  padding: 14px 0;
  min-height: 54px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 12px;
  flex-shrink: 0;
}
/* ================= INQUIRY DIALOG ================= */
.form-dialog {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100svh - 40px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  box-shadow: 0 24px 80px #0003;
}
.inquiry-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--border);
}
.inquiry-header h2 {
  font-family: var(--font-body);
  font-size: 25px;
  line-height: 1.25;
  letter-spacing: -0.6px;
  margin: 0 0 8px;
}
.inquiry-header p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}
.inquiry-header > .icon-button {
  background: var(--soft);
  border-radius: 50%;
  width: 34px;
  height: 34px;
}
.inquiry-context {
  margin: 20px 24px 0;
  padding: 14px 16px;
  background: var(--soft);
  border: 1px solid #dfead8;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  overflow-wrap: anywhere;
}
.inquiry-context strong {
  font-size: 15px;
  line-height: 1.5;
}
.inquiry-context span {
  font-size: 12px;
  color: var(--muted);
}
.inquiry-form {
  padding: 22px 24px 24px;
  display: grid;
  gap: 18px;
}
.inquiry-form .field {
  margin: 0;
  display: grid;
  gap: 8px;
}
.inquiry-form .field > span {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
}
.inquiry-form input,
.inquiry-form textarea {
  font-size: 15px;
  line-height: 1.6;
  padding: 11px 12px;
  width: 100%;
}
.inquiry-form input {
  min-height: 44px;
}
.inquiry-form textarea {
  min-height: 144px;
  resize: vertical;
}
.inquiry-form .inquiry-privacy {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--muted);
}
.inquiry-privacy a {
  color: var(--primary);
  text-decoration: underline;
}
.form-dialog .inquiry-form .button {
  margin: 0;
}
/* ================= PHOTO TOOLS ================= */
.upload-thumbnail img {
  object-fit: contain;
  background: #eef1ec;
  transition: transform 0.15s;
}
.rotate-photo {
  position: absolute;
  right: 6px;
  bottom: 6px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 7px;
  background: #fff;
  color: var(--primary);
  font-size: 23px;
  line-height: 1;
  display: grid;
  place-items: center;
  z-index: 2;
}
.rotate-photo:hover {
  background: var(--soft);
}
.company-home-logo {
  background: transparent;
  padding: 0;
  overflow: visible;
}
.company-home-logo img {
  animation: none;
  transition: none;
  transform: none;
}
.company-home-logo::after {
  content: none;
  animation: none;
}
@media (min-width: 901px) and (max-height: 740px) {
  .login-header {
    min-height: 58px;
  }
  .login-layout {
    margin-top: 12px;
    margin-bottom: 14px;
    gap: 36px;
  }
  .login-visual {
    height: calc(100svh - 144px);
    min-height: 380px;
  }
  .login-lock {
    display: none;
  }
  .login-form-wrapper h1 {
    font-size: 36px;
    margin-top: 0;
  }
  .login-form-wrapper > p {
    margin-bottom: 16px;
    font-size: 14px;
  }
  .login-form {
    gap: 14px;
  }
  .login-help {
    margin-top: 16px;
    padding-top: 12px;
  }
  .login-footer {
    min-height: 46px;
    padding: 10px 0;
  }
}
@media (max-width: 1050px) {
  .company-page .location-row {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 16px;
  }
  .location-row__details {
    grid-column: 2;
  }
  .location-row > .button {
    grid-column: 3;
    grid-row: 1/3;
  }
}
@media (max-width: 900px) {
  .login-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(520px, calc(100% - 40px));
    margin: 24px auto 32px;
  }
  .login-visual {
    display: none;
  }
  .login-header,
  .login-footer {
    width: calc(100% - 40px);
  }
  .login-header > a > img {
    width: 190px;
    max-width: 100%;
  }
  .login-form-wrapper {
    padding: 0;
  }
  .login-footer {
    flex-wrap: wrap;
    justify-content: center;
  }
}
@media (max-width: 580px) {
  .search-footer {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .company-page .location-row {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 18px;
  }
  .location-row__details {
    grid-column: 2;
  }
  .location-row > .button {
    grid-column: 1/-1;
    grid-row: auto;
    justify-self: stretch;
  }
  .login-header {
    min-height: 68px;
    gap: 12px;
  }
  .login-header > a > img {
    width: 158px;
  }
  .login-header .back-link {
    font-size: 12px;
    gap: 6px;
  }
  .login-header .back-link .icon {
    width: 16px;
    height: 16px;
  }
  .login-layout {
    margin-top: 18px;
  }
  .login-form-wrapper h1 {
    font-size: 34px;
  }
  .login-help p {
    font-size: 12px;
  }
  .login-footer {
    font-size: 10px;
    gap: 8px;
  }
  .inquiry-header {
    padding: 20px 18px 16px;
    gap: 10px;
  }
  .inquiry-header h2 {
    font-size: 22px;
  }
  .inquiry-context {
    margin: 16px 18px 0;
    padding: 12px;
  }
  .inquiry-form {
    padding: 18px;
    gap: 16px;
  }
  .map-placeholder {
    padding: 16px;
  }
  .map-placeholder > .button {
    width: 100%;
    font-size: 13px;
  }
}
@media (max-width: 580px) and (max-height: 740px) {
  .login-header {
    min-height: 58px;
  }
  .login-lock {
    display: none;
  }
  .login-layout {
    margin-top: 8px;
    margin-bottom: 20px;
  }
  .login-form-wrapper h1 {
    font-size: 32px;
    margin: 0 0 8px;
  }
  .login-form-wrapper > p {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .login-form {
    gap: 14px;
  }
  .login-options,
  .login-options .checkbox {
    font-size: 12px;
    gap: 8px;
  }
  .login-help {
    margin-top: 16px;
    padding-top: 12px;
  }
  .login-help p {
    font-size: 11px;
    line-height: 1.5;
  }
  .login-help p + p {
    margin-top: 4px;
  }
  .login-footer {
    padding: 10px 0;
  }
}

.vehicle-card__image > img.is-portrait {
  object-fit: contain;
  background: var(--soft);
}

/* ================= LOCATION MAP / SAVE NOTIFICATIONS 1.4.2 ================= */
.location-map__preview { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--soft); }
.location-map__preview iframe { display: block; width: 100%; height: 300px; border: 0; }
.location-map__preview .map-placeholder { border: 0; border-radius: 0; margin: 0; min-height: 230px; }
.location-map [hidden] { display: none !important; }
.location-map .map-coordinates { margin-top: 18px; }
.location-map__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.location-map__status { margin: 8px 0 14px; line-height: 1.6; }
.toast { top: 72px; right: 24px; left: auto; transform: none; max-width: min(440px, calc(100vw - 32px)); gap: 12px; padding: 15px 16px; border: 1px solid #d8e9dd; border-radius: 14px; box-shadow: 0 12px 36px #123e2026; font: 500 14px/1.5 Inter, sans-serif; transition: opacity .18s ease, translate .18s ease; }
.toast__symbol { display: grid; place-items: center; flex: 0 0 30px; height: 30px; border-radius: 50%; color: #14532d; background: #eaf5e8; font-size: 18px; }
.toast__message { min-width: 0; overflow-wrap: anywhere; }
.toast [data-dismiss] { flex: 0 0 32px; width: 32px; height: 32px; display: grid; place-items: center; padding: 0; border-radius: 8px; background: transparent; color: inherit; cursor: pointer; }
.toast [data-dismiss]:hover { background: #edf2ee; }
.toast [data-dismiss]:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.toast--error { border-color: var(--danger); }
.toast--error .toast__symbol { color: var(--danger); background: #fff0f0; }
.toast.is-leaving { opacity: 0; translate: 0 -8px; pointer-events: none; }
@media (max-width: 600px) { .toast { right: 16px; top: 16px; } .location-map__preview iframe { height: 260px; } .location-map__actions .button { width: 100%; } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* ================= ADDRESS LOOKUP 1.4.3 ================= */
.geocoding-tools { padding: 14px; margin-bottom: 14px; background: #f4f8f2; border: 1px solid var(--border); border-radius: 12px; }
.geocoding-tools .help { display: block; margin: 9px 0 0; line-height: 1.6; }
.geocoding-results { display: grid; gap: 8px; margin: 12px 0; }
.geocoding-results .geocoding-result { justify-content: flex-start; text-align: left; white-space: normal; height: auto; min-height: 42px; line-height: 1.5; }
.geocoding-tools button:disabled { opacity: .65; cursor: wait; }
@media (max-width: 600px) { .geocoding-tools > .button { width: 100%; white-space: normal; } }

/* ================= CONSTRUCTION EQUIPMENT 1.5.0 ================= */
.category-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); max-width: none; }
.category-tabs [data-category] { gap: 8px; padding: 7px 10px; height: auto; min-height: 48px; line-height: 1.35; }
.category-tabs [data-category] .icon { flex: 0 0 28px; width: 28px; height: 28px; }
.category-choices { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.category-choice strong { text-align: center; padding: 0 6px; }
.machine-fields { padding-top: 16px; margin-top: 14px; border-top: 1px solid var(--border); }
@media (max-width: 1100px) { .category-tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) { .category-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); } .category-tabs [data-category] { white-space: normal; } .category-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ================= COMPANY HOME LINK 1.5.1 ================= */
.company-home-logo { display: inline-flex; align-items: center; padding: 0; background: transparent; border-radius: 4px; }
.company-home-logo img { width: 150px; height: 40px; max-width: 100%; object-fit: contain; animation: none; transform: none; transition: none; }
.company-home-logo:focus-visible { outline: 2px solid var(--primary); outline-offset: 5px; }
.login-footer > span:last-child { display: inline-flex; align-items: center; }
@media (max-width: 600px) { .company-home-logo img { width: 128px; height: 36px; } }

/* ================= PUBLIC FOOTER 1.5.2 ================= */
.site-footer > nav { margin-left: 0; padding-left: 0; border-left: 0; }
.site-footer .footer-credit { margin-left: auto; }
.site-footer .company-home-logo img { width: 110px; height: 30px; object-fit: contain; }
@media (max-width: 600px) { .site-footer .footer-credit { margin-left: auto; } .site-footer .company-home-logo img { width: 100px; height: 28px; } }

/* ================= SEARCHABLE CATEGORY PAGES 1.6.0 ================= */
.seo-category { padding-top: 26px; padding-bottom: 42px; }
.seo-breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 28px; }
.seo-category h1 { font-size: clamp(28px, 4vw, 44px); line-height: 1.15; margin: 12px 0 18px; }
.seo-intro { max-width: 850px; line-height: 1.7; }
.seo-category-links { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.seo-category-links .button { white-space: normal; text-align: center; }
.seo-category-links [aria-current="page"] { background: var(--soft); }
.seo-category section { margin-top: 34px; }
.seo-category section > h2 { margin-bottom: 20px; }
.seo-buying-advice { padding: 24px; border-radius: 14px; background: var(--soft); }
.seo-buying-advice p { max-width: 900px; line-height: 1.7; margin-bottom: 18px; }
.seo-offer-categories { padding-top: 30px; padding-bottom: 34px; }
.seo-offer-categories p { max-width: 880px; line-height: 1.7; color: var(--muted); }

/* ================= LIGHT INTERFACE / OFFICIAL PNG 1.7.0 ================= */
:root {
  --border: #e2e8e3;
  --admin-background: #f6f8f7;
  --soft: #f0f6ef;
  --selected: #f2f7ef;
  --radius-panel: 14px;
  --shadow: 0 8px 24px #173b2010;
}
html { scrollbar-gutter: stable; }
* { scrollbar-width: thin; scrollbar-color: #c9d3cc transparent; }
*::-webkit-scrollbar { width: 8px; height: 8px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: #c9d3cc; border: 2px solid transparent; border-radius: 20px; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background-color: #aab9ae; }
body .button, body.admin-page .button, body .button--small {
  min-height: 40px; border-radius: 9px; padding: 9px 15px;
  font-family: var(--font-body); font-size: 14px; font-weight: 500; line-height: 20px;
  box-shadow: none; transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
body .button--accent { background: #e8f2e5; color: #245c2d; border: 1px solid #d1e3cd; }
body .button--accent:hover { background: #dbead6; border-color: #bcd6b5; }
body .button--outline { border-color: #d6e0d7; color: #285d35; background: #fff; }
body .button--outline:hover { background: #f4f8f3; border-color: #afc6b2; }
body .button--green { background: #2e6b3b; color: #fff; border-color: #2e6b3b; }
body .button--green:hover { background: #255a31; border-color: #255a31; }
body .button:focus-visible, body .icon-button:focus-visible, body .admin-sidebar a:focus-visible { outline: 2px solid #6f9e72; outline-offset: 3px; }
body .icon-button { border-radius: 9px; color: #45624e; transition: background-color 160ms ease; }
body .icon-button:hover { background: #edf4ee; }
body .panel, body .vehicle-card, body .seller-card, body .detail-panel { border-color: #e1e8e2; border-radius: 14px; box-shadow: 0 2px 9px #1c3a2204; }
body .search-box { border: 1px solid #e4e9e4; box-shadow: 0 8px 28px #183f2012; border-radius: 16px; }
body .field input, body .field select, body .field textarea { border-color: #d7e1d8; border-radius: 7px; box-shadow: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
body .field input:hover, body .field select:hover, body .field textarea:hover { border-color: #b5c8b7; }
body .field input:focus, body .field select:focus, body .field textarea:focus { border-color: #7ea584; box-shadow: 0 0 0 3px #3f7e4310; }
body .management-table th { background: #f7f9f7; color: #526257; font-weight: 500; }
body .management-table td { border-color: #e8ede9; }
body .management-table tr.is-selected { background: #f0f6ed; }
body .status-badge, body .badge--soft { background: #edf4e9; color: #3d653d; }
body .switch-track { height: 24px; width: 44px; background: #c5cec7; }
body .switch-track::before { height: 18px; width: 18px; top: 3px; left: 3px; box-shadow: 0 1px 3px #20382522; }
body .switch-row input:checked + .switch-track { background: #5b8b54; }
body .switch-row input:checked + .switch-track::before { transform: translateX(20px); }
body .admin-page-heading h1 { font-size: 32px; font-weight: 650; letter-spacing: -.035em; }
body .panel h2, body .numbered-panel h2 { font-weight: 600; }
body .admin-tabs { border-bottom-color: #e1e8e2; }
body .admin-tabs > a, body .admin-tabs > button { font-weight: 500; }
body .admin-sidebar { background: linear-gradient(175deg, #123f2e, #0d3025); box-shadow: none; border-right-color: #ffffff0c; }
body .admin-sidebar nav > a { font-weight: 500; min-height: 44px; border-color: transparent; border-radius: 10px; color: #dce9df; transition: background-color 160ms ease, color 160ms ease; }
body .admin-sidebar nav > a:hover { background: #ffffff0b; color: #fff; }
body .admin-sidebar nav > a.is-active { background: #ffffff12; border-color: #ffffff19; color: #fff; box-shadow: none; }
body .admin-sidebar nav > a.is-active::before { background: #bdd6b7; width: 2px; }
body .admin-sidebar nav > a.is-active > .icon { filter: brightness(0) invert(1); opacity: .9; }
body .sidebar-bottom > a { border-color: #ffffff23; background: transparent; border-radius: 9px; font-weight: 500; }
body .admin-brand { display: flex; align-items: center; justify-content: center; background: #fff; margin: 0 18px 24px; padding: 12px 10px; border-radius: 10px; box-shadow: 0 2px 8px #061c1710; }
body .admin-brand img { display: block; width: 164px; height: auto; max-width: 100%; object-fit: contain; filter: none; }
body .brand img, body .logo-settings img, body .settings-preview img { object-fit: contain; filter: none; }
body .company-home-logo img { width: 110px; height: auto; object-fit: contain; filter: none; }
body .login-footer, body .admin-footer { border-color: #e1e8e2; color: #657269; }
body .category-tabs [data-category].is-active { background: #eef5e9; color: #315c36; }
@media (max-width: 900px) {
  body .admin-brand { margin: 0 auto 0 0; padding: 9px 12px; }
  body .admin-brand img { width: 140px; }
}
@media (max-width: 600px) {
  body .button, body.admin-page .button { min-height: 44px; }
  body .admin-page-heading h1 { font-size: 28px; }
  body .company-home-logo img { width: 100px; }
}
@media (prefers-reduced-motion: reduce) {
  body .button, body .icon-button, body .admin-sidebar nav > a, body .field input, body .field select, body .field textarea { transition: none; }
}
@media (forced-colors: active) {
  body .button, body .panel { border: 1px solid ButtonText; }
  body .admin-sidebar nav > a.is-active { outline: 1px solid Highlight; }
}
body .person-cell .avatar { background: #edf5e8; }
body.admin-page .field input, body.admin-page .field select, body.admin-page .field textarea { border-color: #d7e1d8; border-radius: 7px; }
body.admin-page .field input:hover, body.admin-page .field select:hover, body.admin-page .field textarea:hover { border-color: #b5c8b7; }
body.admin-page .field input:focus, body.admin-page .field select:focus, body.admin-page .field textarea:focus { border-color: #7ea584; box-shadow: 0 0 0 3px #3f7e4310; }

/* ================= CUSTOM COLORS / REGION SEARCH 1.7.1 ================= */
:root { --accent-ink: #111811; --primary-ink: #ffffff; }
body .button--accent { background: var(--accent); border-color: transparent; color: var(--accent-ink); }
body .button--accent:hover { background: color-mix(in srgb, var(--accent) 90%, #000); border-color: transparent; }
body .button--green { background: var(--primary); border-color: var(--primary); color: var(--primary-ink); }
body .button--green:hover { background: color-mix(in srgb, var(--primary) 90%, #000); border-color: var(--primary); }
body .button--green .icon { filter: brightness(0) invert(1); }
body .button--outline { color: var(--primary); border-color: color-mix(in srgb, var(--primary) 25%, white); }
body .button--outline:hover { background: color-mix(in srgb, var(--primary) 5%, white); border-color: color-mix(in srgb, var(--primary) 45%, white); }
body .price, body .text-link, body .green-line + h2 em { color: var(--primary); }
body .green-line { background: var(--primary); }
body .category-tabs [data-category].is-active { background: color-mix(in srgb, var(--accent) 17%, white); color: var(--primary); }
body .admin-tabs > .is-active { color: var(--primary); border-color: var(--primary); }
body .admin-brand { background: transparent; box-shadow: none; margin: 0 20px 22px; padding: 7px 0; }
body .admin-brand img { filter: brightness(0) invert(1); width: 164px; }
body .admin-sidebar nav { gap: 3px; }
body .admin-sidebar nav > a { min-height: 42px; padding-top: 10px; padding-bottom: 10px; font-size: 13px; border-radius: 8px; border: 0; }
body .admin-sidebar nav > a:hover { background: #ffffff07; }
body .admin-sidebar nav > a.is-active { background: #ffffff0b; border: 0; box-shadow: none; }
body .admin-sidebar nav > a.is-active::before { width: 2px; height: 16px; background: var(--accent); opacity: .8; }
body .sidebar-bottom > a { border: 0; background: #ffffff05; font-size: 12px; }
body .search-box { padding: 20px 22px; border-radius: 16px; box-shadow: 0 8px 28px #173b2010; }
body .category-tabs { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 7px; border-bottom: 1px solid var(--border); padding-bottom: 14px; margin-bottom: 16px; }
body .category-tabs [data-category] { display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 44px; padding: 7px 8px; border-radius: 9px; gap: 8px; font-size: 13px; line-height: 1.25; font-weight: 500; }
body .category-tabs [data-category] .icon { width: 25px; height: 25px; flex: 0 0 25px; }
body .search-fields { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)) minmax(175px,1.25fr) minmax(135px,.9fr); gap: 12px; align-items: end; }
body .search-fields .field { margin: 0; }
body .search-fields .field > span { font-size: 12px; font-weight: 500; margin-bottom: 7px; }
body .search-fields select { height: 40px; font-size: 13px; }
body .search-fields > .button { min-height: 40px; margin: 0; white-space: nowrap; }
body .search-footer { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 14px; }
body .search-footer > .help { margin-left: auto; font-size: 11px; }
.search-result-count { font-size: 12px; color: var(--muted); }
body .home-hero__copy { max-width: 570px; padding-top: 48px; }
body .home-hero h1 { font-size: clamp(36px,3.6vw,56px); letter-spacing: -.045em; line-height: 1.08; }
body .home-hero__copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.55; max-width: 535px; }
body .inventory .section-heading h2 { font-size: clamp(25px,2.6vw,38px); line-height: 1.2; }
body .section-heading { align-items: center; gap: 20px; }
body .section-heading > .button { flex-shrink: 0; }
body .about-hero-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); gap: 40px; }
body .about-hero-grid h1 { font-size: clamp(28px,2.5vw,42px); line-height: 1.2; letter-spacing: -.04em; max-width: none; }
body .about-hero-grid > img { height: 300px; }
body .about-story { grid-template-columns: minmax(0,.95fr) minmax(0,1.05fr); gap: 40px; }
body .about-story h2 { font-size: clamp(25px,2vw,32px); line-height: 1.25; }
body .category-feature-grid { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; }
body .category-feature { padding: 20px; }
body .category-feature h3 { font-size: 16px; line-height: 1.35; }
body .category-feature > .icon { width: 36px; height: 32px; }
body .category-feature .button { padding: 8px 11px; font-size: 13px; }
@media (max-width: 1100px) {
  body .search-fields { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body .category-tabs { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body .category-feature-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  body .about-hero-grid { gap: 26px; }
}
@media (max-width: 800px) {
  body .about-hero-grid, body .about-story { grid-template-columns: 1fr; }
  body .about-hero-grid > img { height: 280px; }
  body .category-feature-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body .home-hero h1 { white-space: normal; }
  body .home-hero__copy { max-width: 100%; }
}
@media (max-width: 600px) {
  body .search-box { padding: 15px; }
  body .search-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 10px; }
  body .category-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; }
  body .category-tabs [data-category] { font-size: 12px; }
  body .search-footer > .help { margin-left: 0; width: 100%; }
  body .home-hero h1 { font-size: 34px; }
  body .home-hero__copy { padding-top: 26px; }
  body .home-hero__copy > p:not(.eyebrow) { font-size: 14px; }
  body .inventory .section-heading { flex-wrap: wrap; gap: 12px; }
  body .category-feature { padding: 16px; }
  body .category-feature h3 { font-size: 15px; }
}
@media (max-width: 360px) { body .search-fields, body .category-feature-grid { grid-template-columns: 1fr; } }

body .button--green .icon { filter: var(--primary-icon-filter, brightness(0) invert(1)); }
body .button--accent .icon { filter: var(--accent-icon-filter, brightness(0)); }

/* ================= PRIVACY PAGE 1.7.3 ================= */
.privacy-page { max-width: 1060px; padding-top: 28px; padding-bottom: 56px; }
.privacy-heading { padding: 10px 0 28px; }
.privacy-heading h1 { font-size: clamp(30px,4vw,44px); line-height: 1.15; margin: 12px 0 16px; }
.privacy-heading p:not(.eyebrow) { color: var(--muted); line-height: 1.6; margin-bottom: 8px; }
.privacy-heading small { color: var(--muted); }
.privacy-content { padding: 30px; }
.privacy-content section + section { border-top: 1px solid var(--border); margin-top: 26px; padding-top: 26px; }
.privacy-content h2 { font-size: 22px; letter-spacing: -.025em; line-height: 1.3; margin: 0 0 16px; }
.privacy-content p, .privacy-content li { font-size: 14px; line-height: 1.85; }
.privacy-content p + p { margin-top: 12px; }
.privacy-content ul { list-style: disc; padding-left: 21px; }
.privacy-content li + li { margin-top: 12px; }
.privacy-content p a, .privacy-content li a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.privacy-content > .button { margin-top: 25px; }
.privacy-table { width: 100%; border-collapse: collapse; font-size: 13px; line-height: 1.6; min-width: 600px; }
.privacy-table th, .privacy-table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); padding: 12px; }
.privacy-table th { font-weight: 600; background: var(--soft); }
.privacy-table code { white-space: nowrap; }
@media (max-width: 600px) { .privacy-content { padding: 20px 16px; } .privacy-content h2 { font-size: 19px; } }

/* ================= MOBILE ALIGNMENT ONLY 1.7.4 ================= */
@media (max-width: 800px) {
  body.detail-page .detail-grid .viewing-location { order: 7; margin-top: 0; }
  body.detail-page .detail-tabs {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    gap: 0;
    overflow: visible;
  }
  body.detail-page .detail-tabs a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 11px 4px;
    text-align: center;
    font-size: clamp(10px, 2.8vw, 12px);
    line-height: 1.4;
    white-space: normal;
  }
}
@media (max-width: 600px) {
  body #vehicle-search {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;
    gap: 12px 10px;
  }
  body #vehicle-search .category-tabs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 2px;
  }
  body #vehicle-search .category-tabs [data-category] {
    display: grid;
    grid-template-columns: 23px minmax(0, 1fr);
    align-items: center;
    justify-content: normal;
    column-gap: 8px;
    height: 48px;
    min-height: 48px;
    padding: 8px 10px;
    text-align: left;
    font-size: 11px;
    line-height: 1.25;
  }
  body #vehicle-search .category-tabs [data-category] .icon {
    width: 23px;
    height: 23px;
    margin: 0;
    justify-self: center;
  }
  body #vehicle-search .search-fields,
  body #vehicle-search .search-footer { display: contents; }
  body #vehicle-search .search-fields > .field { min-width: 0; margin: 0; }
  body #vehicle-search .search-fields > .field[for="field-region"] { grid-column: 1 / -1; }
  body #vehicle-search .search-fields > .button,
  body #vehicle-search .search-footer > [data-clear-search] {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 9px 7px;
    font-size: 12px;
    line-height: 20px;
    gap: 5px;
    white-space: nowrap;
  }
  body #vehicle-search .search-fields > .button .icon,
  body #vehicle-search .search-footer > [data-clear-search] .icon { width: 16px; height: 16px; }
  body #vehicle-search .search-result-count,
  body #vehicle-search .search-price-note {
    grid-column: 1 / -1;
    margin: 0;
    width: auto;
    font-size: 11px;
    line-height: 1.5;
  }
}
