body.modal-open,
body.filter-modal-open {
  overflow: hidden;
}

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

.hero-banner {
  position: relative;
  min-height: clamp(370px, 56vw, 580px);
  overflow: hidden;
  background: #111418;
  touch-action: pan-y;
}

.hero-track {
  display: flex;
  width: 100%;
  min-height: inherit;
  transition: transform 520ms ease;
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: inherit;
  overflow: hidden;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.98) contrast(1.02);
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 12, 16, 0.78), rgba(9, 12, 16, 0.46) 39%, rgba(9, 12, 16, 0.1) 76%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.28), rgba(0, 0, 0, 0));
}

.hero-copy {
  position: absolute;
  left: clamp(20px, 7vw, 78px);
  top: 23%;
  z-index: 1;
  max-width: 440px;
}

.hero-copy span {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-size: clamp(14px, 2vw, 17px);
  font-weight: 900;
}

.hero-copy h1,
.hero-copy h2 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(30px, 6vw, 56px);
  line-height: 1.16;
  letter-spacing: 0;
}

.hero-copy p {
  margin: 12px 0 0;
  max-width: 420px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.hero-copy strong {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  margin-top: 18px;
  padding: 6px 13px;
  font-size: 13px;
  backdrop-filter: blur(8px);
}

.hero-controls {
  position: absolute;
  z-index: 2;
  left: clamp(20px, 7vw, 78px);
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-controls button {
  display: grid;
  place-items: center;
  width: 28px;
  height: 18px;
  padding: 0;
}

.hero-controls span {
  content: "";
  display: block;
  width: 18px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
  transition: width 220ms ease, background 220ms ease;
}

.hero-controls button.active span {
  width: 28px;
  background: #ffffff;
}

.quick-categories {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 76px;
  grid-template-rows: repeat(2, auto);
  gap: 18px 16px;
  overflow-x: auto;
  overflow-y: hidden;
  max-width: min(760px, 100%);
  margin: 0 auto;
  padding: 26px 18px 22px;
  scroll-padding-inline: 18px;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.quick-categories a,
.quick-categories button {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 9px;
  min-width: 0;
  min-height: 88px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111111;
  padding: 0;
  scroll-snap-align: start;
  text-align: center;
}

.quick-categories a:last-child,
.quick-categories button:last-child {
  scroll-snap-align: end;
}

.quick-categories .category-illustration {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  min-height: 0;
  border-radius: 999px;
  background: #f7f7f7;
}

.filter-count {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #111827;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.24);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.filter-count[hidden] {
  display: none !important;
}

.quick-categories .category-count {
  top: -5px;
  right: -5px;
}

.quick-categories strong {
  display: block;
  width: 100%;
  color: #000000;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.category-vehicle {
  width: 48px;
  height: auto;
  color: #303030;
}

.category-grid-icon {
  width: 31px;
  margin: auto;
}

.truck-category-grid {
  position: relative;
}

.truck-category-grid::after {
  content: "";
  position: sticky;
  right: -18px;
  z-index: 1;
  grid-row: 1 / 3;
  width: 30px;
  margin-left: -30px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), #ffffff 78%);
  pointer-events: none;
}

.truck-category-card:hover .category-illustration,
.truck-category-card.active .category-illustration {
  background: #f7f7f7;
}

.truck-category-card.active .category-illustration {
  border: 2px solid rgba(8, 145, 93, 0.35);
}

.truck-category-card.active strong {
  color: #000000;
}

.truck-category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: inherit;
  text-decoration: none;
}

.status-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 4px clamp(18px, 5vw, 52px) 12px;
}

.status-filter-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 92px;
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--muted);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.status-filter-button .status-count {
  top: -8px;
  right: -7px;
}

.status-filter-button.active .status-count {
  border-color: var(--ink);
  background: #ffffff;
  color: var(--ink);
}

.status-filter-button.active {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.inventory-filter-panel {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 52px) 14px;
}

.inventory-filter-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 48px;
  margin-top: 10px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 12px 0 10px;
}

.inventory-filter-summary p {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.inventory-filter-summary strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.inventory-filter-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin-left: auto;
}

.inventory-sort-form {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin: 0;
}

.inventory-sort-label {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
}

.inventory-sort-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.inventory-sort-control select {
  min-height: 38px;
  min-width: 132px;
  appearance: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 8px 34px 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.inventory-sort-control select:focus {
  border-color: var(--ink);
  outline: 2px solid rgba(17, 24, 39, 0.14);
  outline-offset: 2px;
}

.inventory-sort-control .lucide {
  position: absolute;
  right: 12px;
  width: 16px;
  height: 16px;
  pointer-events: none;
  color: var(--muted);
  stroke-width: 2.5;
}

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

.inventory-sort-form[aria-busy="true"] .inventory-sort-control select {
  opacity: 0.65;
}

.inventory-filter-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: #ffffff;
  padding: 8px 13px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
}

.inventory-filter-open .lucide {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.inventory-filter-open em {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  padding: 0 6px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
}

.applied-filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 10px;
}

.applied-filter-chip,
.applied-filter-reset {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 32px;
  border: 1px solid rgba(8, 145, 93, 0.20);
  border-radius: 999px;
  background: #f7fffb;
  color: var(--brand-dark);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.applied-filter-chip .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 2.5;
}

.applied-filter-reset {
  border-color: var(--line);
  background: #ffffff;
  color: var(--muted);
}

.truck-filter-backdrop {
  position: fixed;
  inset: 0;
  z-index: 64;
  background: rgba(0, 0, 0, 0.42);
  opacity: 0;
  transition: opacity 180ms ease;
}

.truck-filter-backdrop.open {
  opacity: 1;
}

.truck-filter-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 65;
  width: min(920px, calc(100vw - 48px));
  max-height: min(760px, calc(100svh - 48px));
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translate(-50%, -48%) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease;
}

.truck-filter-modal.open {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.truck-filter-form {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: inherit;
}

.truck-filter-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  padding: 0;
}

.truck-filter-header-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px 14px;
}

.truck-filter-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 23px;
  font-weight: 900;
  line-height: 1.18;
}

.truck-filter-tabs {
  display: flex;
  gap: 26px;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0 22px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.truck-filter-tabs::-webkit-scrollbar {
  display: none;
}

.truck-filter-tab {
  position: relative;
  flex: 0 0 auto;
  min-height: 50px;
  color: #7b828a;
  padding: 0;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.truck-filter-tab::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  opacity: 0;
  transform: scaleX(0.62);
  transition: opacity 160ms ease, transform 160ms ease;
}

.truck-filter-tab.active {
  color: var(--ink);
}

.truck-filter-tab.active::after {
  opacity: 1;
  transform: scaleX(1);
}

.truck-filter-close {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
}

.truck-filter-close .lucide {
  width: 19px;
  height: 19px;
  stroke-width: 2.4;
}

.truck-filter-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.truck-filter-section {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.truck-filter-option-section {
  grid-column: 1 / -1;
}

.truck-filter-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}

.truck-filter-section-title h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.truck-filter-section-title span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 5px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.filter-range-card,
.truck-filter-facet,
.truck-filter-option-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 14px;
}

.filter-range-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.filter-range-head h4,
.truck-filter-facet h4 {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.filter-range-head output {
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: right;
}

.filter-range-slider {
  --range-left: 0%;
  --range-right: 0%;
  position: relative;
  height: 42px;
  margin: 12px 0 6px;
}

.filter-range-slider::before,
.filter-range-slider::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 19px;
  height: 4px;
  border-radius: 999px;
}

.filter-range-slider::before {
  background: #e7e7e7;
}

.filter-range-slider::after {
  left: var(--range-left);
  right: var(--range-right);
  background: var(--brand);
}

.filter-range-slider input[type="range"] {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 42px;
  margin: 0;
  appearance: none;
  background: transparent;
  pointer-events: none;
}

.filter-range-slider input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  border: 4px solid var(--brand);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(6, 107, 71, 0.18);
  appearance: none;
  cursor: grab;
  pointer-events: auto;
}

.filter-range-slider input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 4px solid var(--brand);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(6, 107, 71, 0.18);
  cursor: grab;
  pointer-events: auto;
}

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

.filter-range-fields label {
  display: grid;
  gap: 5px;
}

.filter-range-fields span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.filter-range-fields input {
  width: 100%;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 9px;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.truck-filter-facet {
  display: grid;
  gap: 10px;
}

.filter-check-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-check-pill {
  position: relative;
  display: inline-flex;
  min-width: 0;
}

.filter-check-pill input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.filter-check-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 7px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.filter-check-pill input:checked + span {
  border-color: rgba(8, 145, 93, 0.38);
  background: #edf7f2;
  color: var(--brand-dark);
}

.filter-check-pill input:focus-visible + span,
.inventory-filter-open:focus-visible,
.truck-filter-close:focus-visible,
.truck-filter-tab:focus-visible,
.truck-filter-submit:focus-visible,
.truck-filter-reset:focus-visible,
.applied-filter-chip:focus-visible,
.applied-filter-reset:focus-visible {
  outline: 3px solid rgba(8, 145, 93, 0.36);
  outline-offset: 2px;
}

.truck-filter-option-group {
  padding: 0;
  overflow: hidden;
}

.truck-filter-option-group summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  cursor: pointer;
  list-style: none;
}

.truck-filter-option-group summary::-webkit-details-marker {
  display: none;
}

.truck-filter-option-group summary span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.truck-filter-option-group summary em {
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 4px 8px;
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  line-height: 1;
}

.truck-filter-option-group[open] summary {
  border-bottom: 1px solid var(--line);
  background: #f7fffb;
}

.filter-option-grid {
  padding: 12px;
}

.truck-filter-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  padding: 14px 18px;
}

.truck-filter-reset,
.truck-filter-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.truck-filter-reset {
  flex: 0 0 122px;
  inline-size: 122px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
}

.truck-filter-submit {
  flex: 0 0 204px;
  inline-size: 204px;
  gap: 7px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #ffffff;
}

.truck-filter-submit:disabled,
.truck-filter-submit.is-no-result {
  border-color: #d8e3dd;
  background: #f4f8f6;
  color: #7b8983;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

.truck-filter-submit[aria-busy="true"] {
  cursor: progress;
}

.truck-filter-submit .lucide {
  width: 17px;
  height: 17px;
  stroke-width: 2.4;
}

.truck-filter-submit [data-filter-count-label] {
  flex: 1 1 auto;
  min-inline-size: 0;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .inventory-filter-panel {
    padding-bottom: 12px;
  }

  .applied-filter-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

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

  .truck-filter-modal {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    max-height: min(88svh, 780px);
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 18px 18px 0 0;
    transform: translateY(24px);
  }

  .truck-filter-modal.open {
    transform: translateY(0);
  }

  .truck-filter-body {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .truck-filter-option-section {
    grid-column: auto;
  }

  .truck-filter-header {
    padding: 0;
  }

  .truck-filter-header-top {
    padding: 18px 18px 13px;
  }

  .truck-filter-tabs {
    gap: 22px;
    padding: 0 18px;
  }

  .truck-filter-footer {
    position: sticky;
    bottom: 0;
    padding: 12px 15px calc(12px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 560px) {
  .inventory-filter-summary {
    align-items: flex-start;
    gap: 10px;
  }

  .inventory-filter-summary strong {
    font-size: 16px;
  }

  .inventory-filter-actions {
    flex-wrap: wrap;
    gap: 7px;
  }

  .inventory-filter-open {
    min-height: 36px;
    padding-inline: 11px;
    font-size: 13px;
  }

  .inventory-sort-control select {
    min-height: 36px;
    min-width: 118px;
    padding: 8px 30px 8px 12px;
    font-size: 12px;
  }

  .truck-filter-header h2 {
    font-size: 21px;
  }

  .truck-filter-header p {
    max-width: 260px;
  }

  .filter-range-card,
  .truck-filter-facet {
    padding: 12px;
  }

  .filter-check-grid {
    gap: 6px;
  }

  .filter-check-pill span {
    min-height: 31px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .truck-filter-reset,
  .truck-filter-submit {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 13px;
  }

  .truck-filter-reset {
    flex-basis: 112px;
    inline-size: 112px;
  }

  .truck-filter-submit {
    flex-basis: 186px;
    inline-size: 186px;
  }
}

.content-section {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 22px clamp(18px, 5vw, 52px) 34px;
}

.inventory-shell[aria-busy="true"] {
  opacity: 0.72;
  transition: opacity 0.16s ease;
}

.list-breadcrumb {
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 18px clamp(18px, 5vw, 52px) 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.list-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: var(--muted);
}

.list-breadcrumb a {
  color: inherit;
  text-decoration: none;
}

.inventory-description {
  max-width: 760px;
  margin: -6px 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

#inventory-title:not(.sr-only) {
  margin: 0 0 12px;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.18;
}

.pagination-more {
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
}

.pagination-more-bottom {
  margin: 22px 0 0;
}

.load-more-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.load-more-link[aria-busy="true"] {
  opacity: 0.55;
  pointer-events: none;
}

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

.section-title span {
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-title h2 {
  margin: 4px 0 0;
  font-size: clamp(24px, 4vw, 36px);
  line-height: 1.15;
}

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

.truck-card {
  min-width: 0;
}

.truck-card-button {
  display: grid;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: inherit;
  cursor: pointer;
  text-align: left;
}

.truck-card.is-filter-hidden {
  display: none !important;
}

.truck-card-button:hover,
.truck-card-button:focus-visible {
  border-color: #cfcfcf;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
  outline: 0;
  transform: translateY(-1px);
}

.image-wrap {
  position: relative;
  display: block;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--soft);
}

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

.truck-card.sold .image-wrap img {
  filter: saturate(0.82) brightness(0.92) sepia(0.12);
}

.image-wrap em {
  position: absolute;
  z-index: 2;
  left: 10px;
  top: 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--paper);
  padding: 5px 8px;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.image-count-badge {
  position: absolute;
  z-index: 3;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #ffffff;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.image-count-badge .lucide {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

.status-badge {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
}

.sold-badge {
  background: rgba(113, 77, 15, 0.52);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.truck-info {
  display: grid;
  gap: 6px;
  padding: 14px;
}

.truck-info h2,
.truck-info strong {
  margin: 0;
  font-size: 18px;
  line-height: 1.28;
}

.truck-card-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 10px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.truck-card-specs div {
  min-width: 0;
}

.truck-card-specs dt {
  display: inline;
  margin-right: 4px;
  font-weight: 900;
}

.truck-card-specs dd {
  display: inline;
  margin: 0;
  overflow-wrap: anywhere;
}

.truck-price {
  margin-top: 3px;
  color: var(--brand-dark);
  font-size: 20px;
  font-weight: 900;
}

.truck-status {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: 900;
}

.truck-status.available,
.modal-tags .available {
  background: #edf7f2;
  color: var(--brand-dark);
}

.truck-status.done,
.modal-tags .done {
  background: #fff3d6;
  color: #5c3d08;
}

.empty-inventory {
  grid-column: 1 / -1;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--muted);
  padding: 28px;
  text-align: center;
  font-weight: 800;
}

.guide-section {
  padding-bottom: 70px;
}

.notes-entry-section {
  padding-top: 10px;
  padding-bottom: 18px;
}

.notes-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.notes-entry-copy {
  min-width: 0;
}

.notes-entry-copy span {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.notes-entry-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.22;
}

.notes-entry-copy p {
  margin: 0;
  max-width: 780px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  font-weight: 700;
}

.notes-entry-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 42px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: #111111;
  color: #ffffff;
  padding: 9px 15px;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.notes-entry-link .lucide {
  width: 18px;
  height: 18px;
  stroke-width: 2.4;
}

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

.guide-grid article {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 18px;
}

.guide-grid .lucide {
  width: 28px;
  height: 28px;
  color: var(--brand);
}

.guide-grid article > span {
  position: absolute;
  top: 18px;
  right: 18px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.guide-grid h3 {
  margin: 13px 0 6px;
  font-size: 18px;
}

.guide-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.guide-contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  padding: 16px 18px;
}

.guide-contact strong {
  font-size: clamp(17px, 2.6vw, 22px);
  line-height: 1.25;
}

.guide-contact div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.guide-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 900;
}

.guide-contact .lucide {
  width: 18px;
  height: 18px;
}

.truck-modal {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 60;
  display: none;
  width: min(1000px, calc(100vw - 80px));
  max-width: 1000px;
  max-height: calc(100svh - 80px);
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translate(-50%, -50%);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
  background: rgba(0, 0, 0, 0.42);
}

.modal-backdrop.open {
  display: block;
}

.truck-modal.open {
  display: block;
}

.modal-close-mobile {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #111;
  display: grid;
  place-items: center;
}

.truck-modal.intro-open .modal-close-mobile {
  display: none;
}

.truck-modal.intro-open {
  width: auto;
  max-width: min(680px, calc(100vw - 40px));
  padding: 0;
  border-radius: 12px;
}

#modalContent {
  display: grid;
  grid-template-rows: auto 1fr;
  max-height: calc(100svh - 80px);
  overflow: hidden;
  background: var(--paper);
}

.modal-header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: clamp(14px, 3vw, 26px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.modal-header .modal-code {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.2px;
}

.modal-header h1,
.modal-header h2 {
  margin: 0;
  font-size: clamp(22px, 3.6vw, 30px);
  line-height: 1.12;
}

.truck-detail-article {
  display: grid;
  grid-template-rows: auto 1fr;
  max-height: inherit;
  overflow: hidden;
}

.truck-breadcrumb {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.truck-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.truck-breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 6px;
  color: var(--muted);
}

.truck-breadcrumb a {
  color: var(--brand-dark);
}

.modal-summary {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 100%;
}

.sold-reference-notice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid rgba(133, 91, 19, 0.20);
  background: #fff7e6;
  padding: 16px clamp(18px, 3vw, 26px);
}

.sold-reference-notice h2 {
  margin: 0 0 6px;
  color: #5c3d08;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.sold-reference-notice p {
  margin: 0;
  color: #4f3a15;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.55;
}

.sold-reference-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  min-width: min(360px, 100%);
}

.sold-reference-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(92, 61, 8, 0.24);
  border-radius: 999px;
  background: #ffffff;
  color: #5c3d08;
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
}

.sold-reference-actions a:first-child {
  background: #6f4c12;
  color: #ffffff;
  border-color: #6f4c12;
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: 22px;
  padding: clamp(18px, 4vw, 34px);
  min-width: 0;
  overflow-x: hidden;
}

#modalContent.intro-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: clamp(20px, 3.5vw, 36px);
}

#modalContent.intro-layout .modal-detail {
  padding-right: 0;
}

.intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 640px;
}

.intro-avatar-wrap {
  width: min(320px, 46vw);
  max-width: 340px;
  aspect-ratio: 1537 / 1023;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(4, 8, 12, 0.18);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.intro-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
}

.intro-text {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(8, 145, 93, 0.03), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  border: 1px solid rgba(6,107,71,0.06);
  position: relative;
}

.intro-text::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 12px;
  bottom: 12px;
  width: 4px;
  border-radius: 4px;
  background: var(--brand);
}

.intro-message {
  margin: 0;
  padding-left: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

@media (min-width: 901px) {
  #modalContent.intro-layout .intro-card {
    max-width: 520px;
  }

  #modalContent.intro-layout .intro-avatar-wrap {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 420px) {
  .intro-avatar-wrap {
    width: 88vw;
  }

  .intro-message {
    font-size: 14px;
  }
}

.modal-gallery {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
}

.truck-detail-figure {
  display: grid;
  gap: 8px;
  margin: 0;
}

.truck-detail-figure figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .sold-reference-notice {
    grid-template-columns: 1fr;
    align-items: stretch;
    padding: 14px 18px;
  }

  .sold-reference-actions {
    display: grid;
    grid-template-columns: 1fr;
    justify-content: stretch;
    min-width: 0;
  }

  .sold-reference-actions a {
    width: 100%;
  }

  .modal-gallery {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding-bottom: 12px;
    margin-bottom: 12px;
  }
}

.modal-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
}

.modal-thumbs > img,
.thumb-wrap {
  width: 100%;
  aspect-ratio: 1.4 / 1;
  border-radius: 6px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.10);
  cursor: pointer;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

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

.modal-thumbs > :nth-child(1) {
  transform: rotate(-3deg);
}

.modal-thumbs > :nth-child(2) {
  transform: rotate(4deg);
}

.modal-thumbs > :nth-child(3) {
  transform: rotate(-2deg);
}
.modal-thumbs > :hover {
  transform: scale(1.04) rotate(0deg);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.16);
}

.thumb-wrap {
  position: relative;
}

.more-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.44);
  color: #fff;
  font-weight: 700;
  border-radius: 8px;
  font-size: 14px;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 120;
  padding: 24px 24px 88px;
}
.image-lightbox.open {
  display: flex;
}

.image-lightbox .backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.90);
}

.image-lightbox .inner {
  position: relative;
  max-width: min(92vw, 980px);
  max-height: calc(100svh - 120px);
  display: grid;
  place-items: center;
}

.image-lightbox img {
  max-width: 100%;
  max-height: calc(100svh - 120px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.image-lightbox .close-btn,
.image-lightbox .nav-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.image-lightbox .close-btn {
  position: fixed;
  top: auto;
  right: clamp(18px, 6vw, 72px);
  bottom: calc(68px + 12px);
  transform: none;
  z-index: 220;
}

.image-lightbox .nav-btn {
  display: none;
}

.image-lightbox .touchpad {
  display: flex;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 68px;
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  align-items: center;
  justify-content: center;
  gap: clamp(48px, 12vw, 110px);
  z-index: 130;
  padding: 10px 20px;
  box-shadow: 0 -6px 20px rgba(0, 0, 0, 0.06);
}

.image-lightbox .touchpad .touch-prev,
.image-lightbox .touchpad .touch-next {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #222222;
  font-size: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.image-lightbox .touchpad .touch-prev::before,
.image-lightbox .touchpad .touch-next::before {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 999px;
  background: transparent;
}

.image-lightbox .touchpad .counter {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 92px;
  min-width: 92px;
  background: transparent;
  color: #555555;
  padding: 6px 10px;
  font-size: 14px;
  white-space: nowrap;
}

.image-lightbox .touchpad .counter .current {
  color: var(--brand-dark);
  font-weight: 900;
}

.image-lightbox .touchpad .counter .current,
.image-lightbox .touchpad .counter .total {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Noto Mono", monospace;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .image-lightbox {
    padding-top: 14px;
    padding-bottom: 82px;
  }

  .image-lightbox .inner {
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 110px);
  }

  .image-lightbox img {
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 110px);
  }

  .image-lightbox .touchpad {
    justify-content: space-between;
    gap: 12px;
  }
}

.modal-main-image {
  width: 100%;
  aspect-ratio: 1537 / 1023;
  border-radius: var(--radius);
  object-fit: cover;
  image-rendering: auto;
}

.modal-detail {
  min-width: 0;
  padding-right: 32px;
  overflow-x: hidden;
}

.modal-code {
  color: var(--brand);
  font-size: 13px;
  font-weight: 900;
}

.modal-detail h2 {
  margin: 6px 0 8px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
}

.modal-detail p {
  color: var(--muted);
}

.modal-price {
  display: block;
  margin: 16px 0 12px;
  font-size: 30px;
  color: var(--brand-dark);
}

.modal-price-sold {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.modal-price-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--muted);
}

@media (max-width: 900px) {
  .modal-price {
    margin-top: 8px;
  }

  .image-lightbox .close-btn {
    position: fixed;
    top: auto;
    right: 18px;
    bottom: calc(68px + 12px);
    transform: none;
    z-index: 220;
  }
}

.modal-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.modal-tags span {
  border-radius: 999px;
  background: #edf7f2;
  color: var(--brand-dark);
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 900;
}

.spec-table {
  display: grid;
  border-top: 1px solid var(--line);
  margin: 0;
}

.spec-table div {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding: 10px 0;
}

.spec-table dt {
  color: var(--muted);
  font-weight: 800;
}

.spec-table dd {
  margin: 0;
  font-weight: 800;
}

.plate-view-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 4px 10px;
  color: var(--brand-dark);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.plate-view-button:disabled {
  cursor: wait;
  opacity: 0.65;
}

.truck-trade-guide {
  line-height: 1.55;
}

.condition-box.truck-trade-guide {
  border: 1px solid rgba(18, 98, 64, 0.12);
  background: #f4fbf7;
}

.condition-box.truck-trade-guide h2 {
  color: var(--brand-dark);
}

.condition-box.truck-trade-guide p {
  color: var(--ink);
  font-weight: 700;
}

.condition-box {
  border-radius: var(--radius);
  background: var(--soft);
  margin-top: 16px;
  padding: 14px;
}

.condition-box p {
  margin: 6px 0;
}

.condition-box h2 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.3;
}

.detail-contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.detail-contact-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 7px 11px;
  font-size: 13px;
  font-weight: 900;
}

.hero-arrow {
  display: none;
}

.floating-tools {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 40;
  display: grid;
  overflow: hidden;
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.floating-tools.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-tools a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--paper);
}

.floating-tools a[hidden] {
  display: none;
}

.floating-tools .lucide {
  width: 23px;
  height: 23px;
  stroke-width: 1.8;
}

@media (min-width: 901px) {
  .hero-banner {
    min-height: clamp(470px, 26vw, 540px);
  }

  .hero-slide img {
    object-position: center 44%;
  }

  .hero-slide::after {
    background:
      linear-gradient(90deg, rgba(8, 10, 14, 0.78), rgba(8, 10, 14, 0.44) 38%, rgba(8, 10, 14, 0.06) 74%),
      linear-gradient(0deg, rgba(0, 0, 0, 0.26), rgba(0, 0, 0, 0));
  }

  .hero-copy {
    left: max(34px, calc((100vw - 1120px) / 2 + 70px));
    top: 31%;
    max-width: 470px;
  }

  .hero-copy span {
    margin-bottom: 18px;
    font-size: 15px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: clamp(36px, 2.1vw, 42px);
    line-height: 1.25;
  }

  .hero-copy p {
    max-width: 410px;
  }

  .hero-arrow {
    position: absolute;
    top: 50%;
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: rgba(0, 0, 0, 0.58);
    transform: translateY(-50%);
  }

  .hero-arrow .lucide {
    width: 34px;
    height: 34px;
    stroke-width: 1.2;
  }

  .hero-arrow-prev {
    left: max(24px, calc((100vw - 1120px) / 2));
  }

  .hero-arrow-next {
    right: max(24px, calc((100vw - 1120px) / 2));
  }

  .hero-controls {
    left: max(34px, calc((100vw - 1120px) / 2 + 70px));
    bottom: 30px;
  }

  .quick-categories {
    grid-auto-columns: 92px;
    grid-template-rows: repeat(2, auto);
    justify-content: start;
    gap: 22px 22px;
    max-width: 1120px;
    margin: 0 auto;
    padding: 54px 20px 58px;
  }

  .quick-categories a,
  .quick-categories button {
    min-height: 108px;
  }

  .quick-categories .category-illustration {
    width: 84px;
    height: 84px;
  }

  .quick-categories strong {
    font-size: 14px;
  }

  .category-vehicle {
    width: 62px;
  }

  .category-grid-icon {
    width: 36px;
  }

  .image-lightbox .backdrop-category-grid::after {
    right: -20px;
    width: 44px;
    margin-left: -44px;
  }

}

@media (max-width: 900px) {
  .truck-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-entry {
    align-items: flex-start;
    flex-direction: column;
  }

  .notes-entry-link {
    width: 100%;
  }

  .guide-grid,
  #modalContent,
  .truck-detail-article {
    grid-template-columns: 1fr;
  }

  #modalContent:not(.intro-layout),
  .truck-detail-article {
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .modal-body {
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
  }

  .modal-detail {
    padding-right: 0;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  body {
    overflow-wrap: anywhere;
  }

  .hero-banner {
    min-height: 370px;
  }

  .hero-slide img {
    object-position: 58% center;
  }

  .hero-copy {
    top: 24%;
    left: 26px;
    max-width: 280px;
  }

  .hero-copy h1,
  .hero-copy h2 {
    font-size: 28px;
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-copy strong {
    margin-top: 14px;
  }

  .notes-entry-section {
    padding-top: 6px;
  }

  .notes-entry {
    padding: 15px;
  }

  .notes-entry-copy h2 {
    font-size: 20px;
  }

  .notes-entry-copy p {
    font-size: 14px;
    line-height: 1.6;
  }

  .quick-categories {
    grid-auto-columns: 72px;
    grid-template-rows: repeat(2, auto);
    gap: 18px 14px;
    padding: 22px 18px 18px;
  }

  .quick-categories .category-illustration {
    width: 62px;
    height: 62px;
  }

  .quick-categories .category-count {
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    font-size: 10px;
  }

  .category-vehicle {
    width: 46px;
  }

  .truck-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    align-items: flex-start;
  }

  .truck-modal {
    width: min(94vw, calc(100vw - 36px));
    max-height: calc(100svh - 18px);
    border-radius: var(--radius);
    inset: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  #modalContent:not(.intro-layout) {
    max-height: calc(100svh - 18px);
  }

  .spec-table div {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

.detail-contents-box {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 16px;
}

.detail-contents-box h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.3;
}

.detail-contents-box p {
  margin: 0 0 12px;
  color: #444444;
  font-size: 14px;
  line-height: 1.75;
}

.detail-contents-box p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .detail-contents-box {
    margin: 0 0 16px;
    padding: 14px;
    background: var(--soft);
  }

  .detail-contents-box h2 {
    font-size: 15px;
  }

  .detail-contents-box p {
    font-size: 14px;
    line-height: 1.7;
  }
}

.modal-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 16px 0 12px;
}

.modal-action-row .modal-price {
  margin: 0;
  min-width: 0;
}

.performance-check-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(8, 145, 93, 0.22);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand-dark);
  padding: 8px 12px 8px 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(6, 107, 71, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.performance-check-link:hover {
  border-color: rgba(6, 107, 71, 0.42);
  background: #f7fffb;
  box-shadow: 0 12px 24px rgba(6, 107, 71, 0.13);
  transform: translateY(-1px);
}

.performance-check-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: var(--ink);
}

.performance-check-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}

.performance-check-paper {
  fill: #ffffff;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linejoin: round;
}

.performance-check-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.performance-check-ribbon {
  fill: #5368d8;
  stroke: #5368d8;
  stroke-width: 1.2;
  stroke-linejoin: round;
}

@media (max-width: 900px) {
  .modal-action-row {
    margin: 8px 0 12px;
    gap: 10px;
  }

  .performance-check-link {
    min-height: 36px;
    padding: 7px 10px 7px 8px;
    font-size: 12px;
  }

  .performance-check-icon,
  .performance-check-icon svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 380px) {
  .performance-check-link {
    gap: 5px;
    padding-inline: 8px;
  }

  .performance-check-label {
    font-size: 11px;
  }
}

/* Truck option publishing */
.modal-action-buttons {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.truck-option-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex: 0 0 auto;
  min-height: 40px;
  border: 1px solid rgba(8, 145, 93, 0.26);
  border-radius: 999px;
  background: #f7fffb;
  color: var(--brand-dark);
  padding: 8px 13px 8px 10px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 8px 20px rgba(6, 107, 71, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.truck-option-open:hover,
.truck-option-open:focus-visible {
  border-color: rgba(6, 107, 71, 0.46);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(6, 107, 71, 0.13);
  transform: translateY(-1px);
}

.truck-option-open-icon {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.truck-detail-article {
  position: relative;
}

.truck-option-layer {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

.truck-option-layer.open {
  pointer-events: auto;
}

.truck-option-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(10, 18, 15, 0.30);
  opacity: 0;
  transition: opacity 180ms ease;
}

.truck-option-layer.open .truck-option-scrim {
  opacity: 1;
}

.truck-option-panel {
  position: absolute;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(430px, calc(100% - 28px));
  height: 100%;
  border-left: 1px solid rgba(8, 145, 93, 0.18);
  background: #ffffff;
  box-shadow: -18px 0 40px rgba(0, 0, 0, 0.16);
  opacity: 0;
  overflow: hidden;
  transform: translateX(28px);
  transition: transform 200ms ease, opacity 200ms ease;
}

.truck-option-layer.open .truck-option-panel {
  opacity: 1;
  transform: translateX(0);
}

.truck-option-panel-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fffb 0%, #ffffff 100%);
  padding: 20px 20px 16px;
}

.truck-option-kicker {
  display: inline-flex;
  width: max-content;
  margin-bottom: 7px;
  border-radius: 999px;
  background: #edf7f2;
  color: var(--brand-dark);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.truck-option-panel-header h2 {
  margin: 0;
  color: var(--ink);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.25;
}

.truck-option-panel-header p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.truck-option-panel-body {
  display: grid;
  gap: 12px;
  padding: 16px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.truck-option-group {
  border: 1px solid rgba(8, 145, 93, 0.14);
  border-radius: 14px;
  background: #ffffff;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(6, 107, 71, 0.06);
}

.truck-option-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.truck-option-group-header h3 {
  margin: 0;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.3;
}

.truck-option-group-header span {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.truck-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.truck-option-list li {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 30px;
  border: 1px solid rgba(8, 145, 93, 0.14);
  border-radius: 999px;
  background: #f7fffb;
  color: var(--brand-dark);
  padding: 5px 9px 5px 7px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}

.truck-option-check {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--brand);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

@media (min-width: 901px) {
  .truck-option-panel-body {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .modal-action-buttons {
    justify-content: flex-end;
  }

  .truck-option-open-inline {
    display: inline-flex;
  }

  .truck-option-layer {
    z-index: 9;
  }

  .truck-option-scrim {
    background: rgba(10, 18, 15, 0.36);
  }

  .truck-option-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: min(74svh, calc(100% - 22px));
    border-top: 1px solid rgba(8, 145, 93, 0.18);
    border-left: 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.18);
    transform: translateY(28px);
  }

  .truck-option-layer.open .truck-option-panel {
    transform: translateY(0);
  }

  .truck-option-panel-header {
    padding: 18px 18px 14px;
  }

  .truck-option-panel-header h2 {
    font-size: 20px;
  }

  .truck-option-panel-body {
    gap: 10px;
    padding: 14px;
  }

  .truck-option-group {
    padding: 12px;
    border-radius: 13px;
  }

  .truck-option-list li {
    min-height: 29px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .truck-option-open {
    min-height: 40px;
    padding-inline: 10px;
    font-size: 12px;
  }

  .truck-option-open-icon {
    width: 20px;
    height: 20px;
    font-size: 12px;
  }
}

/* Mobile option publishing refinement: inline disclosure, desktop drawer unchanged */
.truck-option-mobile-section,
.truck-option-mobile-card {
  display: none;
}

@media (max-width: 900px) {
  .modal-action-buttons .truck-option-open-inline {
    display: none;
  }

  .truck-option-mobile-section {
    display: block;
  }

  .truck-option-mobile-card {
    display: block;
    margin: 10px 0 16px;
    border: 1px solid rgba(8, 145, 93, 0.16);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(6, 107, 71, 0.07);
    overflow: hidden;
  }

  .truck-option-mobile-card summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding: 13px 14px;
    cursor: pointer;
    list-style: none;
  }

  .truck-option-mobile-card summary::-webkit-details-marker {
    display: none;
  }

  .truck-option-mobile-summary-text {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .truck-option-mobile-summary-text strong {
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.25;
  }

  .truck-option-mobile-summary-text span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.35;
  }

  .truck-option-mobile-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    min-width: 48px;
    min-height: 30px;
    border: 1px solid rgba(8, 145, 93, 0.18);
    border-radius: 999px;
    background: #f7fffb;
    color: var(--brand-dark);
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
  }

  .truck-option-mobile-card summary::after {
    content: "";
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    margin-left: -4px;
    border-right: 2px solid var(--brand-dark);
    border-bottom: 2px solid var(--brand-dark);
    transform: rotate(45deg) translateY(-2px);
    transition: transform 160ms ease;
  }

  .truck-option-mobile-card[open] summary {
    border-bottom: 1px solid rgba(8, 145, 93, 0.12);
    background: linear-gradient(180deg, #f7fffb 0%, #ffffff 100%);
  }

  .truck-option-mobile-card[open] summary::after {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  .truck-option-mobile-body {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #ffffff;
  }

  .truck-option-mobile-group {
    padding: 12px;
    border-radius: 13px;
    box-shadow: none;
  }

  .truck-option-mobile-group .truck-option-list {
    gap: 6px;
  }

  .truck-option-mobile-group .truck-option-list li {
    min-height: 29px;
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  .truck-option-mobile-card summary {
    padding-inline: 12px;
  }

  .truck-option-mobile-summary-text span {
    font-size: 11px;
  }

  .truck-option-mobile-count {
    min-width: 44px;
    padding-inline: 9px;
  }
}

/* Option safety guards: removing the entire option markup must not affect the base detail layout. */
.modal-action-row > .modal-action-buttons:empty {
  display: none;
}

.truck-option-layer[hidden],
.truck-option-mobile-section[hidden],
.truck-option-mobile-card[hidden] {
  display: none !important;
}


/* SEO/accessibility refinement for truck option UI */
.truck-option-panel:focus-visible,
.truck-option-mobile-card summary:focus-visible,
.truck-option-scrim:focus-visible {
  outline: 3px solid rgba(8, 145, 93, 0.42);
  outline-offset: -3px;
}

.truck-option-mobile-card summary:focus-visible {
  outline-offset: 3px;
}

.truck-option-layer[aria-hidden="true"] {
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .truck-filter-backdrop,
  .truck-filter-modal,
  .filter-check-pill span,
  .truck-option-open,
  .truck-option-scrim,
  .truck-option-panel,
  .truck-option-mobile-card summary::after {
    transition: none;
  }
}
