* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: lightgray;
  color: #1f2937;
  min-height: 100vh;
}

.top-header {
  background-color: #4b4b4b;
  color: #f4f4f4;
  padding: 8px 0;
}

.top-header-content {
  width: min(92%, 1100px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.top-header-content p {
  margin: 0;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon {
  font-size: 0.8rem;
}

.main-header {
  background-color: lightgray;
  border-bottom: 1px solid #c9c9c9;
}

.main-header-content {
  width: min(92%, 1100px);
  margin: 0 auto;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
}

.tab-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  grid-column: 2;
}

.header-left {
  grid-column: 1;
  justify-self: start;
  display: flex;
  align-items: center;
  width: 240px;
  height: 80px;
  overflow: hidden;
}

.tab-btn {
  text-decoration: none;
  color: #1f2937;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.tab-btn:hover {
  color: #000000;
}

.search-form {
  grid-column: auto;
}

.header-right {
  grid-column: 3;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-logo2 {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transform: scale(2.85);
  transform-origin: center;
}

.search-input {
  width: 220px;
  max-width: 100%;
  padding: 7px 10px;
  font-size: 0.86rem;
  border: 1px solid #b7b7b7;
  border-radius: 4px;
  background-color: #ffffff;
  color: #1f2937;
}

.search-input:focus {
  outline: none;
  border-color: #8d8d8d;
}

.banner-wrap {
  width: min(92%, 1100px);
  margin: 14px auto 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: stretch;
}

.rect-banner {
  width: calc(50% - 8px);
  height: clamp(200px, 27vw, 250px);
  background-color: #d6d6d6;
  border: 1px solid #b9b9b9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: #3f3f3f;
  overflow: hidden;
}

.right-banner-split {
  width: calc(50% - 8px);
  height: clamp(200px, 27vw, 250px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.split-banner {
  border: 1px solid #b9b9b9;
  overflow: hidden;
  min-height: 0;
}

.rect-banner img,
.split-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.9) brightness(1.04);
  display: block;
}

.filter-wrap {
  width: min(92%, 1100px);
  margin: 12px auto 0;
  position: relative;
  overflow: visible;
  z-index: 3500;
}

.filter-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: center;
  background-color: #bfbfbf;
  border: 1px solid #c7ced8;
  border-radius: 10px;
  padding: 10px;
  position: relative;
  z-index: 3600;
}

.custom-select {
  position: relative;
  z-index: 3650;
}

.custom-select.open {
  z-index: 3700;
}

.select-trigger {
  width: 100%;
  height: 42px;
  padding: 0 34px 0 12px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid #bcc5d1;
  border-radius: 8px;
  background-color: #ffffff;
  color: #1f2937;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.selected-value {
  color: #1f2937;
}

.select-trigger i {
  color: #6b7280;
  font-size: 0.72rem;
  transition: transform 0.2s ease;
}

.custom-select.open .select-trigger i {
  transform: rotate(180deg);
}

.select-trigger:focus {
  outline: none;
  border-color: #7c8ca1;
  box-shadow: 0 0 0 2px rgba(124, 140, 161, 0.18);
}

.select-options {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 6px;
  background-color: #f5f6f8;
  border: 1px solid #bcc5d1;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
  max-height: 190px;
  overflow-y: auto;
  z-index: 99999;
  display: none;
}

.custom-select.open .select-options {
  display: block;
}

.select-option {
  padding: 8px 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #1f2937;
  border-radius: 6px;
  cursor: pointer;
}

.select-option:hover {
  background-color: #dfe4ea;
}

.select-option.active {
  background-color: #1f2937;
  color: #ffffff;
}

.filter-btn {
  height: 42px;
  padding: 0 18px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 8px;
  background-color: #1f2937;
  color: #ffffff;
  box-shadow: none;
}

.filter-btn:hover {
  background-color: #111827;
}

.home-page {
  width: min(92%, 1100px);
  margin: 14px auto 26px;
  min-height: auto;
  padding: 0;
}

.inventory-page .home-page.inventory-layout {
  width: min(95%, 1280px);
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 18px;
  align-items: start;
}

.inventory-results {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.inventory-topbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

.inventory-sort-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #3d434a;
}

.inventory-sort-select {
  height: 34px;
  min-width: 170px;
  border: 1px solid #a8adb3;
  border-radius: 6px;
  background-color: #f2f3f4;
  color: #2b323a;
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0 10px;
}

.inventory-sort-select:focus {
  outline: none;
  border-color: #737d89;
}

.inventory-pagination {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 6px;
}

.inventory-page-btn,
.inventory-page-next {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 4px;
  background-color: #cccccc;
  color: #7d7d7d;
  font-size: 1.55rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.inventory-page-btn {
  font-size: 1rem;
  font-weight: 500;
}

.inventory-page-btn.is-active {
  background-color: #4d4d4d;
  color: #ffffff;
}

.inventory-page-next {
  margin-left: auto;
}

.inventory-sidebar {
  background-color: #d0d2d5;
  border: 1px solid #a7aaae;
  padding: 12px;
  position: relative;
  z-index: 5000;
}

.inventory-sidebar-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.inventory-filter-actions {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.filter-clear-btn,
.filter-apply-btn {
  flex: 1;
  height: 38px;
  border: none;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.filter-clear-btn {
  background-color: #e4e6e9;
  color: #252b32;
  border: 1px solid #8f949c;
}

.filter-apply-btn {
  background-color: #1f2937;
  color: #ffffff;
}

.mobile-filter-toggle {
  display: none;
}

.inventory-sidebar .custom-select {
  z-index: 5100;
}

.inventory-sidebar .custom-select.open {
  z-index: 5200;
}

.inventory-page .inventory-section {
  position: relative;
  z-index: 1;
}

.inventory-sidebar .select-trigger {
  height: 40px;
  border: 1px solid #70747b;
  border-radius: 0;
  background-color: #aeb2b7;
  color: #242a31;
  font-size: 0.82rem;
  padding: 0 12px;
}

.inventory-sidebar .selected-value {
  color: #242a31;
}

.inventory-sidebar .select-trigger i {
  color: #1f252c;
}

.inventory-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.car-listing-card {
  background-color: #dcdcdc;
  border: 1px solid #b8b8b8;
  display: grid;
  grid-template-columns: minmax(160px, 210px) 1fr;
  align-items: stretch;
  min-height: 150px;
  cursor: pointer;
}

.listing-image {
  width: 100%;
  height: 100%;
  min-height: 150px;
  object-fit: cover;
  display: block;
}

.listing-media {
  position: relative;
  overflow: hidden;
}

.listing-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  background-color: rgba(23, 29, 38, 0.62);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
}

.listing-image-nav.prev {
  left: 8px;
}

.listing-image-nav.next {
  right: 8px;
}

.listing-image-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 7px;
  display: flex;
  justify-content: center;
  gap: 5px;
  z-index: 5;
}

.listing-image-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.listing-image-dot.is-active {
  background-color: #ffffff;
}

.car-details-main {
  width: min(94%, 1160px);
  margin: 16px auto 30px;
}

.details-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #1f2937;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.car-details-content {
  display: grid;
  grid-template-columns: minmax(320px, 46%) 1fr;
  gap: 12px;
  background-color: #d3d3d3;
  border: 1px solid #b9b9b9;
  padding: 10px;
}

.details-gallery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.details-main-image-wrap {
  position: relative;
  border: 1px solid #b9b9b9;
  overflow: hidden;
}

.details-main-image {
  width: 100%;
  height: clamp(200px, 31vw, 320px);
  object-fit: cover;
  display: block;
}

.details-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background-color: rgba(23, 29, 38, 0.62);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.details-image-nav.prev {
  left: 8px;
}

.details-image-nav.next {
  right: 8px;
}

.details-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.details-extra-block {
  background-color: #d2d3d5;
  border: 1px solid #b8bcc0;
  padding: 9px;
}

.details-extra-block h2 {
  margin: 0 0 8px;
  font-size: 0.84rem;
  color: #42474d;
  text-transform: uppercase;
  letter-spacing: 0.35px;
}

.details-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.details-extra-item {
  display: grid;
  gap: 2px;
  background-color: #d8dadd;
  border: 1px solid #bcc1c6;
  padding: 7px 8px;
}

.details-extra-label {
  font-size: 0.62rem;
  font-weight: 600;
  color: #6e7379;
  text-transform: uppercase;
}

.details-extra-value {
  font-size: 0.78rem;
  font-weight: 700;
  color: #3f444a;
}

.details-thumb {
  border: 1px solid #aeb3b9;
  padding: 0;
  background: none;
  cursor: pointer;
}

.details-thumb img {
  width: 100%;
  height: 64px;
  object-fit: cover;
  display: block;
}

.details-thumb.is-active {
  border-color: #1f2937;
}

.details-meta {
  font-size: 0.7rem;
  font-weight: 600;
  color: #5b5b5b;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.details-title {
  margin: 0 0 8px;
  font-size: 1.02rem;
  line-height: 1.25;
  color: #2a2f36;
}

.details-negotiate-btn {
  height: 34px;
  border: none;
  border-radius: 6px;
  background-color: #4f5054;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  padding: 0 12px;
  margin-bottom: 6px;
  cursor: pointer;
}

.details-whatsapp-btn {
  height: 34px;
  width: fit-content;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
  background-color: #26d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.74rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.details-whatsapp-btn i {
  font-size: 0.92rem;
}

.details-spec-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background-color: #d2d3d5;
  border: 1px solid #b8bcc0;
}

.details-spec-item {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 8px;
  align-items: center;
  padding: 8px 9px;
  border-bottom: 1px solid #b8bcc0;
}

.details-spec-item:last-child {
  border-bottom: none;
}

.details-spec-label {
  font-size: 0.68rem;
  font-weight: 500;
  color: #7a7d82;
  text-transform: uppercase;
}

.details-spec-value {
  font-size: 0.9rem;
  font-weight: 700;
  color: #43474c;
}

.details-similar-block {
  margin-top: 10px;
}

.details-similar-block h2 {
  font-size: 1.15rem;
  color: #44484d;
  font-weight: 500;
  margin: 0 0 7px;
}

.details-similar-list {
  border-top: 2px solid #54575b;
}

.similar-item {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 9px;
  padding: 10px 0;
  border-bottom: 1px solid #c7c9cc;
  cursor: pointer;
}

.similar-item-image {
  width: 72px;
  height: 52px;
  object-fit: cover;
}

.similar-item-title {
  margin: 0 0 4px;
  font-size: 0.86rem;
  line-height: 1.1;
  color: #2e3338;
  font-weight: 700;
}

.similar-item-make {
  margin: 0;
  font-size: 0.74rem;
  color: #4b4f54;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.details-suggested-block {
  margin-top: 12px;
  background-color: #d2d3d5;
  border: 1px solid #babec2;
  padding: 10px;
}

.details-suggested-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.details-suggested-head h2 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3f444a;
}

.details-suggested-controls {
  display: flex;
  gap: 8px;
}

.details-suggest-nav {
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  background-color: #ececed;
  color: #6b6f73;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.details-suggested-track {
  display: flex;
  gap: 10px;
  overflow: hidden;
  width: 100%;
  will-change: transform;
}

.suggest-card {
  min-width: 0;
  flex: 0 0 calc((100% - 30px) / 4);
  cursor: pointer;
}

.suggest-image-wrap {
  position: relative;
}

.suggest-card img {
  width: 100%;
  height: 136px;
  object-fit: cover;
  display: block;
  border: 1px solid #bfc2c6;
}

.suggest-image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 50%;
  background-color: rgba(23, 29, 38, 0.62);
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.suggest-image-nav.prev {
  left: 6px;
}

.suggest-image-nav.next {
  right: 6px;
}

.suggest-card h3 {
  margin: 5px 0 0;
  font-size: 0.72rem;
  line-height: 1.2;
  color: #3e4349;
  font-weight: 700;
}

.negotiate-modal {
  position: fixed;
  inset: 0;
  background-color: rgba(11, 14, 20, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 12000;
  padding: 16px;
}

.negotiate-modal.is-open {
  display: flex;
}

.negotiate-modal-card {
  width: min(96%, 900px);
  background-color: #d8d8d9;
  border-radius: 2px;
  overflow: hidden;
}

.negotiate-modal-head {
  background-color: #515256;
  color: #ffffff;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.negotiate-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #a7aaae;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #b7babd;
  font-size: 1.25rem;
}

.negotiate-head-copy h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1;
}

.negotiate-head-copy p {
  margin: 4px 0 0;
  font-size: 0.8rem;
  color: #d4d6d8;
}

.negotiate-close {
  border: none;
  background: none;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.negotiate-form {
  padding: 12px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
}

.negotiate-form label {
  font-size: 0.72rem;
  color: #76787b;
  display: grid;
  gap: 5px;
}

.negotiate-form label span {
  color: #ff3f3f;
}

.negotiate-form input {
  height: 40px;
  border: none;
  background-color: #cfcfd1;
  padding: 0 10px;
  font-size: 0.82rem;
}

.currency-set {
  border: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 4px;
}

.currency-set legend {
  font-size: 0.72rem;
  color: #76787b;
  margin-bottom: 3px;
}

.currency-set label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: #62666b;
}

.negotiate-submit {
  height: 40px;
  border: none;
  background-color: #54565a;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  grid-column: 2;
}

.details-empty {
  background-color: #d3d3d3;
  border: 1px solid #b9b9b9;
  padding: 24px;
  text-align: center;
}

.details-empty h2 {
  margin: 0 0 8px;
  color: #2a2f36;
}

.details-empty p {
  margin: 0 0 10px;
  color: #4a4a4a;
}

.details-empty-link {
  text-decoration: none;
  color: #1f2937;
  font-weight: 600;
}

.listing-body {
  padding: 10px 11px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.listing-year {
  display: none;
}

.listing-title {
  font-size: 1rem;
  color: #2a2f36;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 10px;
  min-height: 0;
}

.car-spec-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(95px, 1fr));
  border: 1px solid #b2b2b2;
  background-color: #e1e1e1;
}

.spec-item {
  margin: 0;
  font-size: 0.74rem;
  color: #1f2937;
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.15;
  padding: 7px 8px;
  border-right: 1px solid #b2b2b2;
  border-bottom: 1px solid #b2b2b2;
  min-height: 32px;
}

.spec-copy {
  display: inline-flex;
  flex-direction: column;
  min-width: 0;
}

.spec-label {
  font-size: 0.65rem;
  font-weight: 500;
  color: #818181;
  letter-spacing: 0.2px;
  text-transform: uppercase;
  white-space: nowrap;
}

.spec-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: #1f252d;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.spec-item i {
  width: 13px;
  text-align: center;
  color: #8a8a8a;
  font-size: 0.67rem;
  margin-top: 2px;
}

.car-spec-grid .spec-item:nth-child(4n) {
  border-right: none;
}

.car-spec-grid .spec-item:nth-last-child(-n + 4) {
  border-bottom: none;
}

.home-page .inventory-section,
body:not(.inventory-page) .inventory-section {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-page .car-listing-card,
body:not(.inventory-page) .car-listing-card {
  background-color: #d3d3d3;
  border: 1px solid #bbbbbb;
  display: block;
  min-height: 0;
}

.home-page .listing-image,
body:not(.inventory-page) .listing-image {
  height: 165px;
  min-height: 0;
}

.home-page .listing-body,
body:not(.inventory-page) .listing-body {
  padding: 10px;
  display: block;
}

.home-page .listing-year,
body:not(.inventory-page) .listing-year {
  display: block;
  font-size: 0.72rem;
  color: #545454;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.home-page .listing-title,
body:not(.inventory-page) .listing-title {
  font-size: 0.9rem;
  color: #464646;
  line-height: 1.1;
  margin-bottom: 10px;
}

.home-page .car-spec-grid,
body:not(.inventory-page) .car-spec-grid {
  border: none;
  border-top: 1px solid #9f9f9f;
  margin-top: 2px;
  padding-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 10px;
  background-color: transparent;
}

.home-page .spec-item,
body:not(.inventory-page) .spec-item {
  align-items: center;
  gap: 7px;
  line-height: 1.2;
  padding: 0;
  border: none;
  min-height: 0;
  font-size: 0.75rem;
  color: #4b4b4b;
}

.home-page .spec-item i,
body:not(.inventory-page) .spec-item i {
  width: 14px;
  color: #505050;
  font-size: 0.72rem;
  margin-top: 0;
}

.home-page .spec-copy,
body:not(.inventory-page) .spec-copy {
  display: inline;
}

.home-page .spec-label,
body:not(.inventory-page) .spec-label {
  display: none;
}

.home-page .spec-value,
body:not(.inventory-page) .spec-value {
  font-size: inherit;
  font-weight: 500;
  color: inherit;
  margin-top: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.inventory-page .inventory-section {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.inventory-page .car-listing-card {
  background-color: #d3d3d3;
  border: 1px solid #bbbbbb;
  display: block;
  min-height: 0;
}

.inventory-page .listing-image {
  height: 165px;
  min-height: 0;
}

.inventory-page .listing-body {
  padding: 10px;
  display: block;
}

.inventory-page .listing-year {
  display: block;
  font-size: 0.72rem;
  color: #545454;
  font-weight: 600;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.inventory-page .listing-title {
  font-size: 0.9rem;
  color: #464646;
  line-height: 1.1;
  margin-bottom: 10px;
}

.inventory-page .car-spec-grid {
  border: none;
  border-top: 1px solid #9f9f9f;
  margin-top: 2px;
  padding-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px 10px;
  background-color: transparent;
}

.inventory-page .spec-item {
  align-items: center;
  gap: 7px;
  line-height: 1.2;
  padding: 0;
  border: none;
  min-height: 0;
  font-size: 0.75rem;
  color: #4b4b4b;
}

.inventory-page .spec-item i {
  width: 14px;
  color: #505050;
  font-size: 0.72rem;
  margin-top: 0;
}

.inventory-page .spec-copy {
  display: inline;
}

.inventory-page .spec-label {
  display: none;
}

.inventory-page .spec-value {
  font-size: inherit;
  font-weight: 500;
  color: inherit;
  margin-top: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.hidden {
  display: none;
}

.about-main {
  width: min(94%, 1160px);
  margin: 16px auto 24px;
  display: grid;
  gap: 12px;
}

.about-hero {
  background-color: #d3d3d3;
  border: 1px solid #b9b9b9;
  padding: 14px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 12px;
  align-items: stretch;
}

.about-hero-copy {
  display: grid;
  align-content: center;
  gap: 10px;
}

.about-hero-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.about-hero-copy h1 {
  margin: 0;
  font-size: clamp(1.18rem, 2.1vw, 1.65rem);
  line-height: 1.25;
  color: #2f343a;
}

.about-hero-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: #4c5056;
}

.about-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-cta-primary,
.about-cta-secondary {
  height: 34px;
  padding: 0 14px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.74rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
}

.about-cta-primary {
  background-color: #1f2937;
  color: #ffffff;
}

.about-cta-secondary {
  background-color: #4f5054;
  color: #ffffff;
}

.about-hero-media {
  border: 1px solid #b8bcc0;
  padding: 6px;
}

.about-hero-media-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
  height: 100%;
}

.about-hero-media-main {
  grid-column: 1 / span 2;
  grid-row: 1 / span 1;
  height: 220px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-hero-media-secondary {
  grid-column: 1 / span 1;
  grid-row: 2 / span 1;
  height: 160px;
  width: 100%;
  object-fit: cover;
  display: block;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.about-stat-card {
  background-color: #d4d5d7;
  border: 1px solid #b8bcc0;
  padding: 11px 10px;
  text-align: center;
}

.about-stat-card h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
  color: #2f343a;
}

.about-stat-card p {
  margin: 0;
  font-size: 0.74rem;
  color: #565b61;
}

.about-story {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.about-story-panel {
  background-color: #d4d5d7;
  border: 1px solid #b8bcc0;
  padding: 12px;
}

.about-story-panel h2 {
  margin: 0 0 7px;
  font-size: 1rem;
  color: #3b4046;
}

.about-story-panel p {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: #4f545a;
}

.about-fleet {
  padding: 12px;
  display: grid;
  gap: 16px;
}

.about-fleet-header {
  display: grid;
  gap: 5px;
}

.about-fleet-header .about-fleet-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.about-fleet-header h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #3b4046;
}

.about-fleet-header p {
  margin: 0;
  font-size: 0.8rem;
  color: #56595f;
  line-height: 1.45;
}

.about-fleet-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.fleet-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  height: 220px;
  text-decoration: none;
  display: block;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.fleet-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fleet-card:hover img {
  transform: scale(1.08);
}

.fleet-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(15, 20, 28, 0.88) 0%,
    rgba(15, 20, 28, 0.35) 50%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 16px;
  color: #fff;
  transition: background 0.3s ease;
}

.fleet-card:hover .fleet-card-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 20, 28, 0.92) 0%,
    rgba(15, 20, 28, 0.45) 55%,
    transparent 100%
  );
}

.fleet-card-overlay i {
  font-size: 1.3rem;
  margin-bottom: 6px;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.fleet-card:hover .fleet-card-overlay i {
  opacity: 1;
  transform: translateY(-2px);
}

.fleet-card-overlay h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.fleet-card-overlay p {
  margin: 3px 0 0;
  font-size: 0.72rem;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  color: rgba(255, 255, 255, 0.85);
}

.fleet-card:hover .fleet-card-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* ── Why Choose Us (About page) ── */
.about-why {
  padding: 12px;
  display: grid;
  gap: 16px;
}

.about-why-header {
  display: grid;
  gap: 5px;
}

.about-why-header .about-why-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.about-why-header h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #3b4046;
}

.about-why-header p {
  margin: 0;
  font-size: 0.8rem;
  color: #56595f;
  line-height: 1.45;
}

.about-why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.why-card {
  background: #fff;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.why-card i {
  font-size: 1.4rem;
  color: #3b4046;
}

.why-card h3 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
}

.why-card p {
  margin: 0;
  font-size: 0.78rem;
  color: #56595f;
  line-height: 1.5;
}

.factors-section {
  width: 100%;
  margin: 6px auto 0;
  background-color: #cfcfd1;
  color: #4b4b4b;
}

.factors-head {
  width: min(96%, 1920px);
  margin: 0 auto;
  padding: 14px 18px 6px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}

.head-line {
  border-top: 2px solid #6b6b6b;
}

.factors-head h2 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.factors-intro {
  width: min(96%, 1920px);
  margin: 0 auto;
  padding: 0 18px 10px;
  font-size: 0.82rem;
  text-align: center;
  line-height: 1.4;
}

.factors-grid {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-left: none;
  border-right: none;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.factor-card {
  padding: 18px 12px;
  text-align: center;
  background-color: #d7d7d9;
  border-left: 1px solid #bdbdbd;
}

.factor-card:first-child {
  border-left: none;
}

.factor-icon {
  font-size: 1.85rem;
  color: #555555;
  margin-bottom: 8px;
}

.factor-card h3 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.factor-card p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.35;
}

.site-footer {
  background-color: #8a8b8f;
  color: #ffffff;
  margin-top: 0;
}

.footer-content {
  width: min(92%, 1100px);
  margin: 0 auto;
  padding: 22px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.footer-hours {
  grid-column: auto;
}

.footer-phone,
.footer-email,
.footer-location {
  width: 100%;
}

.footer-hours h4,
.footer-phone h4,
.footer-email h4,
.footer-location h4 {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.footer-hours h4 {
  margin-top: 0;
}

.hours-item {
  margin: 0 0 10px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.hours-item strong {
  font-size: 0.78rem;
}

.footer-phone p,
.footer-email p,
.footer-location p {
  margin: 0 0 8px;
  font-size: 0.72rem;
  line-height: 1.35;
}

.footer-bottom {
  width: min(92%, 1100px);
  margin: 8px auto 0;
  padding: 8px 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 360px;
  align-items: end;
  gap: 16px;
}

.footer-social {
  grid-column: 2;
  display: flex;
  gap: 12px;
  justify-content: center;
}

.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #4f5054;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.82rem;
}

.quote-form {
  grid-column: 3;
  background-color: #8a8b8f;
}

.quote-form h4 {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.quote-form input {
  width: 100%;
  border: none;
  border-radius: 6px;
  background-color: #ececec;
  color: #1f2937;
  font-size: 0.78rem;
  padding: 10px 12px;
  margin-bottom: 8px;
}

.quote-form input:focus {
  outline: none;
}

.quote-form button {
  border: none;
  border-radius: 6px;
  background-color: #4f5054;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 9px 22px;
  cursor: pointer;
}

/* ══════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════ */

.contact-main {
  width: min(92%, 1100px);
  margin: 0 auto;
  padding: 18px 0 30px;
  display: grid;
  gap: 30px;
}

/* ── Hero ── */
.contact-hero {
  text-align: center;
  padding: 28px 16px;
}

.contact-hero-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.contact-hero h1 {
  margin: 6px 0 0;
  font-size: 1.3rem;
  color: #1f2937;
}

.contact-hero > p:last-child {
  margin: 8px auto 0;
  max-width: 540px;
  font-size: 0.82rem;
  color: #56595f;
  line-height: 1.5;
}

/* ── Contact Body (form + info side by side) ── */
.contact-body {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 22px;
}

.contact-form-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
  margin: 0;
  font-size: 1.02rem;
  color: #1f2937;
}

.contact-form-wrapper > p {
  margin: 4px 0 18px;
  font-size: 0.78rem;
  color: #56595f;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-field label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #3b4046;
}

.contact-field input,
.contact-field textarea {
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  padding: 9px 12px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  background: #f9f9f9;
  color: #1f2937;
  transition: border-color 0.2s ease;
  resize: vertical;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #4b4b4b;
  background: #fff;
}

.contact-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  justify-self: start;
  padding: 10px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: #fff;
  background-color: #3b4046;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-submit-btn:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

/* ── Contact Info Sidebar ── */
.contact-info-wrapper {
  background: #fff;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.contact-info-wrapper h2 {
  margin: 0 0 16px;
  font-size: 1.02rem;
  color: #1f2937;
}

.contact-info-items {
  display: grid;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item > i {
  font-size: 1.1rem;
  color: #3b4046;
  margin-top: 2px;
}

.contact-info-item h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2937;
}

.contact-info-item p {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: #56595f;
  line-height: 1.5;
}

/* ── Team Section ── */
.contact-team {
  display: grid;
  gap: 18px;
}

.contact-team-header {
  text-align: center;
  display: grid;
  gap: 5px;
}

.contact-team-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.contact-team-header h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #3b4046;
}

.contact-team-header > p:last-child {
  margin: 0;
  font-size: 0.8rem;
  color: #56595f;
}

.contact-team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.team-card-photo {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.team-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.team-card:hover .team-card-photo img {
  transform: scale(1.06);
}

.team-card-info {
  padding: 14px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.team-card-info h3 {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1f2937;
}

.team-role {
  margin: 0;
  font-size: 0.72rem;
  color: #5f646a;
  font-weight: 500;
}

.team-contact-details {
  margin-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.team-contact-details p {
  margin: 0;
  font-size: 0.72rem;
  color: #56595f;
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-contact-details i {
  font-size: 0.68rem;
  color: #3b4046;
}

.team-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 10px;
  padding: 7px 16px;
  font-family: "Poppins", sans-serif;
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background-color: #3b4046;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.team-contact-btn:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

/* ══════════════════════════════════════
   SHOWROOM PAGE
   ══════════════════════════════════════ */

.showroom-main {
  width: min(92%, 1100px);
  margin: 0 auto;
  padding: 18px 0 30px;
  display: grid;
  gap: 30px;
}

/* ── Hero ── */
.showroom-hero {
  text-align: center;
  padding: 28px 16px;
}

.showroom-hero-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.showroom-hero h1 {
  margin: 6px 0 0;
  font-size: 1.3rem;
  color: #1f2937;
}

.showroom-hero > p:last-child {
  margin: 8px auto 0;
  max-width: 560px;
  font-size: 0.82rem;
  color: #56595f;
  line-height: 1.5;
}

/* ── Location (info + map) ── */
.showroom-location {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.showroom-location-info {
  background: #fff;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.showroom-location-info h2 {
  margin: 0;
  font-size: 1.02rem;
  color: #1f2937;
}

.showroom-address {
  display: grid;
  gap: 16px;
}

.showroom-address-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.showroom-address-item > i {
  font-size: 1.1rem;
  color: #3b4046;
  margin-top: 2px;
}

.showroom-address-item h4 {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1f2937;
}

.showroom-address-item p {
  margin: 2px 0 0;
  font-size: 0.76rem;
  color: #56595f;
  line-height: 1.5;
}

.showroom-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 24px;
  font-family: "Poppins", sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background-color: #3b4046;
  border-radius: 6px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.showroom-cta:hover {
  background-color: #1f2937;
  transform: translateY(-1px);
}

.showroom-map {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  min-height: 320px;
}

.showroom-map iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
  display: block;
}

/* ── Gallery ── */
.showroom-gallery {
  display: grid;
  gap: 18px;
}

.showroom-gallery-header {
  text-align: center;
  display: grid;
  gap: 5px;
}

.showroom-gallery-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: #5f646a;
}

.showroom-gallery-header h2 {
  margin: 0;
  font-size: 1.05rem;
  color: #3b4046;
}

.showroom-gallery-header > p:last-child {
  margin: 0;
  font-size: 0.8rem;
  color: #56595f;
}

.showroom-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.showroom-img {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showroom-img:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
}

.showroom-img-wide {
  grid-column: span 2;
}

.showroom-img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.showroom-img:hover img {
  transform: scale(1.06);
}

.showroom-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(15, 20, 28, 0.85), transparent);
}

@media (max-width: 900px) {
  .main-header-content {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .top-header-content {
    justify-content: center;
  }

  .top-header-content p {
    font-size: 0.8rem;
  }

  .tab-nav {
    grid-column: 1;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
  }

  .header-left {
    grid-column: 1;
    justify-self: center;
    width: 235px;
    height: 80px;
  }

  .tab-btn {
    font-size: 0.76rem;
    padding: 7px 10px;
  }

  .header-right {
    grid-column: 1;
    width: 100%;
    justify-self: stretch;
    flex-direction: column;
    align-items: stretch;
  }

  .header-logo2 {
    width: 100%;
    height: 100%;
    transform: scale(3.8);
  }

  .search-input {
    width: 100%;
  }

  .rect-banner {
    width: 100%;
  }

  .right-banner-split {
    width: 100%;
  }

  .filter-bar {
    grid-template-columns: 1fr;
  }

  .filter-btn {
    width: 100%;
  }

  .car-listing-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .listing-image {
    min-height: 160px;
    height: 160px;
  }

  .inventory-page .home-page.inventory-layout {
    grid-template-columns: 1fr;
  }

  .car-details-content {
    grid-template-columns: 1fr;
  }

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-media-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }

  .about-hero-media-main {
    height: 200px;
    grid-column: 1;
  }

  .about-hero-media-secondary {
    height: 180px;
    grid-column: 1;
  }

  .about-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-story {
    grid-template-columns: 1fr;
  }

  .about-fleet-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-card {
    height: 200px;
  }

  .about-why-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Contact page – tablet */
  .contact-body {
    grid-template-columns: 1fr;
  }

  .contact-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .contact-team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Showroom page – tablet */
  .showroom-location {
    grid-template-columns: 1fr;
  }

  .showroom-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .showroom-img-wide {
    grid-column: span 2;
  }

  .details-main-image {
    height: 210px;
  }

  .details-suggested-track {
    display: flex;
    gap: 10px;
    overflow: hidden;
    scroll-snap-type: none;
    padding-bottom: 0;
  }

  .suggest-card {
    flex: 0 0 calc((100% - 20px) / 3);
    scroll-snap-align: none;
  }

  .suggest-card img {
    height: 112px;
  }

  .suggest-image-nav {
    width: 22px;
    height: 22px;
    font-size: 1rem;
  }

  .negotiate-form {
    grid-template-columns: 1fr;
  }

  .negotiate-submit {
    grid-column: auto;
  }

  .listing-image-nav {
    width: 24px;
    height: 24px;
  }

  /* Contact page – mobile */
  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-team-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero h1 {
    font-size: 1.1rem;
  }

  /* Showroom page – mobile */
  .showroom-gallery-grid {
    grid-template-columns: 1fr;
  }

  .showroom-img-wide {
    grid-column: span 1;
  }

  .showroom-hero h1 {
    font-size: 1.1rem;
  }

  /* Phone: 2 cars per row on both home and inventory */
  .home-page .inventory-section,
  body:not(.inventory-page) .inventory-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .inventory-page .inventory-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
