/* 基础样式 */
* {
 box-sizing: border-box;
}
a {
 color: inherit;
 text-decoration: none;
}
.list-container  {
  max-width: 1440px;
  margin: 150px auto 0;
  padding: 0 20px;
 }
/* 颜色定义 */
:root {
  --primary: #136eb5;
  --secondary: #ef0000;
  --dark: #181a19;
  --darker: #121413;
  --light: #f5f5f5;
  --gray-medium: #333333;
  --gray-light: #444444;
}
/* 日期组件样式自定义开始 */
.date-range-container {
  padding: 15px 10px;
  background-color: #1e1e1e;
  color: white;
}

.date-range-label {
  font-size: 14px;
  margin-bottom: 10px;
  color: #aaa;
}

.date-range-inputs {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.year-picker {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #333;
  border-radius: 4px;
  font-size: 14px;
  background-color: #1e1e1e;
  color: white;
  cursor: pointer;
  width: 80px;
}

.date-range-separator {
  margin: 0 10px;
  color: #aaa;
}

.btn-apply-date {

  padding: 8px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.btn-apply-date:hover {
  background-color: #2980b9;
}

.btn-apply-date i {
  margin-right: 5px;
}

/* 年份选择器样式 */
.year-selector {
  background-color: #1e1e1e;
  border-radius: 4px;
  color: white;
}

.year-btn {
  transition: all 0.2s ease;
  color: white !important;
  background-color: #333 !important;
}

.year-btn:hover {
  color: white !important;
}
.flatpickr-day.inRange, .flatpickr-day.prevMonthDay.inRange, .flatpickr-day.nextMonthDay.inRange, .flatpickr-day.today.inRange, .flatpickr-day.prevMonthDay.today.inRange, .flatpickr-day.nextMonthDay.today.inRange, .flatpickr-day:hover, .flatpickr-day.prevMonthDay:hover, .flatpickr-day.nextMonthDay:hover, .flatpickr-day:focus, .flatpickr-day.prevMonthDay:focus, .flatpickr-day.nextMonthDay:focus {
  background: #69b4f1 !important;
  border: none !important;
}
/* 确保输入框中的文字颜色为白色 */
.year-picker::placeholder {
  color: #aaa;
}

.year-picker {
  color: white !important;
}

/* Flatpickr 自定义样式 */
.flatpickr-calendar {
  width: 280px !important;
  background-color: #1e1e1e;
  border: 1px solid #333;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  color: white;
}

.flatpickr-monthDropdown-months {
  font-size: 14px;
  color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 0.5ch;
  cursor: pointer;
  color: white;
}

.flatpickr-months .flatpickr-month {
  background-color: #1e1e1e;
  color: white;
}

.flatpickr-months .flatpickr-prev-month, 
.flatpickr-months .flatpickr-next-month {
  fill: #fff;
  color: white;
}

.flatpickr-current-month .flatpickr-monthDropdown-months,
.flatpickr-current-month input.cur-year {
  color: #fff;
}

.flatpickr-day {
  color: #fff;
  background-color: #1e1e1e;
}

.flatpickr-weekday {
  color: #fff !important;
  background-color: #1e1e1e;
  font-weight: bold;
}

.flatpickr-time {
  background-color: #1e1e1e;
  color: white;
}

.flatpickr-time input {
  color: white;
}

.numInputWrapper span {
  border-color: #333;
}

.numInputWrapper span:hover {
  background-color: #333;
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange, 
.flatpickr-day.selected.inRange, 
.flatpickr-day.startRange.inRange, 
.flatpickr-day.endRange.inRange, 
.flatpickr-day.selected:focus, 
.flatpickr-day.startRange:focus, 
.flatpickr-day.endRange:focus, 
.flatpickr-day.selected:hover, 
.flatpickr-day.startRange:hover, 
.flatpickr-day.endRange:hover, 
.flatpickr-day.selected.prevMonthDay, 
.flatpickr-day.startRange.prevMonthDay, 
.flatpickr-day.endRange.prevMonthDay, 
.flatpickr-day.selected.nextMonthDay, 
.flatpickr-day.startRange.nextMonthDay, 
.flatpickr-day.endRange.nextMonthDay {
  background: #3498db;
  border-color: #3498db;
  color: white;
}

/* 筛选内容样式 */
.filter-content {
  display: none;
  background-color: #1e1e1e;
}

.filter-content.active {
  display: block;
}
/* 日期组件样式自定义结束 */
.md-modal input,
.md-modal textarea {
  width: 100%;
}
.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--secondary);
}

.highlight {
  color: var(--primary);
  font-weight: bold;
}

/* 页面标题 */
.page-header {
  text-align: center;
  margin-bottom: 40px;
}

.page-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 10px;
}

.page-subtitle {
  color: var(--gray-light);
}

/* 筛选区域 */
.filter-section {
  background-color: var(--darker);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.filter-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
}

.filter-title i {
  margin-right: 8px;
}

.filter-groups {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filter-group {
  margin-bottom: 16px;
}

.filter-toggle {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background-color: var(--gray-medium);
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-toggle:hover {
  background-color: var(--gray-light);
}

.filter-toggle i {
  transition: transform 0.3s ease;
}

.filter-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.filter-content.active {
  max-height: 500px;
}

.filter-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
  margin-top: 8px;
  padding: 8px 4px;
}

.filter-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.filter-option:hover {
  background-color: var(--gray-light);
}

.filter-option input[type="checkbox"] {
  width: 16px;
  height: 16px;
  border: 2px solid var(--primary);
  border-radius: 4px;
  appearance: none;
  position: relative;
  cursor: pointer;
}

.filter-option input[type="checkbox"]:checked {
  background-color: var(--primary);
}

.filter-option input[type="checkbox"]:checked::after {
  content: '✓';
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 10px;
}

/* 按钮样式 */
.filter-buttons .btn-search, .btn-refresh {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
  cursor: pointer;
  background: #136eb5 !important;
}

.filter-buttons .btn-refresh {
  background: #ef0000!important;
  flex: 1;
}
.btn-message {
  background: #136eb5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  margin: 0;
  border: none;
  border-radius: 8px;
}

.btn-primary:hover {
  background-color: #0d5a9b;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #d10000;
}

.filter-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
  flex-direction: column;
}

.filter-buttons .btn-primary {
  flex: 1;
}

/* 结果统计和排序 */
.result-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .result-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.result-count {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .result-count {
    margin-bottom: 0;
  }
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-options label {
  color: #fff;
  font-size: 16px;
}

.sort-options select {
  background-color: var(--gray-medium);
  color: var(--light);
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.sort-options select:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

/* 汽车网格布局 */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 汽车卡片 */
.car-card {
  background-color: var(--darker);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.car-image-container {
  position: relative;
  height: 256px;
}

.car-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image-container img {
  transform: scale(1.05);
}

.car-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(51, 51, 51, 0.8);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.car-favorite:hover {
  background-color: var(--secondary);
}

.car-info {
  padding: 20px;
  /* 确保父元素有正确的盒模型 */
  box-sizing: border-box;
}

.btn-message {
  background: #136eb5;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  width: 100%;
  /* 添加以下属性确保宽度计算正确 */
  box-sizing: border-box;
  /* 防止边框或内边距导致溢出 */
  max-width: 100%;
  /* 重置可能影响宽度的其他属性 */
  margin: 0;
  border: none;
}
.btn-message span {
  margin-left: 10px;
}
.btn-primary:hover {
  background-color: #0d5a9b;
}

.btn-secondary {
  background-color: var(--secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #d10000;
}

.filter-buttons {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.filter-buttons .btn-primary {
  flex: 1;
}

/* 结果统计和排序 */
.result-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .result-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.result-count {
  margin-bottom: 16px;
}

@media (min-width: 768px) {
  .result-count {
    margin-bottom: 0;
  }
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sort-options label {
  color: #fff;
  font-size: 16px;
}

.sort-options select {
  background-color: var(--gray-medium);
  color: var(--light);
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  outline: none;
}

.sort-options select:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

/* 汽车网格布局 */
.car-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* 汽车卡片 */
.car-card {
  background-color: var(--darker);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.car-image-container {
  position: relative;
  height: 256px;
}

.car-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.car-card:hover .car-image-container img {
  transform: scale(1.05);
}

.car-favorite {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(51, 51, 51, 0.8);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.car-favorite:hover {
  background-color: var(--secondary);
}

.car-info {
  padding: 20px;
}

.car-name {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.car-price {
  font-size: 20px;
  font-weight: bold;
  color: var(--secondary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.car-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.car-detail {
  font-size: 12px;
  background-color: var(--gray-medium);
  padding: 4px 8px;
  border-radius: 4px;
}



/* 分页样式修改 */
.page-nav {
  color: #136eb5 !important; /* 使用主色调 */
  background-color: var(--gray-medium);
}

.page-nav:hover {
  background-color: var(--primary);
  color: white !important;
}

/* -------------------------------------详情页css----------------------------- */


/* 主内容区 */
/* 重置样式 */




.car-info-section {
 display: flex;
 margin-bottom: 30px;
 justify-content: space-between;
 gap: 30px
}

.car-image-section,
.car-equipment-section {
  background-color: #121413;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.car-image-section h2{
  font-size: 28px;
  margin-bottom: 30px;
}
/* 轮播图区域样式 */
.main-car-image {
  display: flex;
}

.swiper-container {
  width: 600px;
  margin-bottom: 20px;

}

.swiper {
  width: 100%;
  height: auto;
  border-radius: 8px;
  overflow: hidden;
}

.mySwiper2 {
  height: 500px;
  margin-bottom: 10px;
}

.mySwiper {
  height: 100px;
}
.mySwiper .swiper-slide img {
  border-radius: 8px;
}
.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 轮播图导航箭头样式 */
.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(0,0,0,0.5) !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px !important;
  color: #fff !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(0,0,0,0.6) !important;
}

/* 确保箭头在图片上方 */
.mySwiper2 {
  position: relative;
}

.swiper-button-next {
  right: 10px !important;
}

.swiper-button-prev {
  left: 10px !important;
}
.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
}

.mySwiper .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  transition: opacity 0.3s;
}

.mySwiper .swiper-slide-thumb-active {
  opacity: 1;
}

/* 汽车详情描述 */
.car-details-des {
  padding: 20px 30px;
  min-width: 300px;
}

.car-details-des ul {
  margin-bottom: 15px;
  width: 100%;
}

.car-details-des ul li {
  padding: 5px 15px;
  margin-bottom: 10px;
  border-radius: 14px;
  color: #ccc;
  background-color: #262726;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.info-buttons {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.info-buttons button {
  background-color: var(--primary);
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  transition: background-color 0.3s;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-buttons button:nth-child(2) {
  background-color: #64B5F6;
}
.info-buttons button:last-child {
  background-color: #90CAF9;
}

.info-buttons button:hover {
  background-color: #44A9F4;
}

/* 汽车特点 */
.car-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 20px;
}

.feature-item {
  background-color: #181a19;
  border-radius: 5px;
  padding: 15px;
  text-align: center;
}
.car-info-card {
  background-color: #121413;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  flex: 1;
}
.car-info-card h2 { 
  font-size: 22px;
  margin-bottom: 20px;
}
.car-info-card .car-info-item {
  background-color: #262726;
  padding: 5px 15px;
  border-radius: 14px;
  margin-bottom: 10px;
}
.car-info-card .car-info-item .car-info-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}
.car-info-card .car-info-item .car-info-text {
  font-size: 12px;
  color: #666;
  margin-bottom: 0;
  margin-top: 5px;
}
/* 设备列表新样式 */
.equipment-container {
  border-radius: 10px;
  padding: 25px;
}

.equipment-title {
  font-size: 22px;
  color: #136eb5;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #262726;
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.equipment-category {
  background-color: #181a19;
  border-radius: 8px;
  padding: 15px;
  transition: all 0.3s ease;
}

.equipment-category:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.equipment-category h4 {
  color: #136eb5;
  font-size: 16px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.equipment-category ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.equipment-category li {
  color: #ccc;
  padding: 8px 0;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px dashed #262726;
}

.equipment-category li:last-child {
  border-bottom: none;
}

.equipment-category i.fas.fa-check-circle {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
}

.equipment-category i.fas.fa-car-side,
.equipment-category i.fas.fa-key,
.equipment-category i.fas.fa-tachometer-alt,
.equipment-category i.fas.fa-couch,
.equipment-category i.fas.fa-plug,
.equipment-category i.fas.fa-lock {
  color: #136eb5;
  font-size: 14px;
}

/* 更多图片区域 */
.more-car-images {
  margin-top: 30px;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.image-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

.image-item:hover {
  transform: translateY(-5px);
}

.image-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.5s ease;
}

.image-item:hover img {
  transform: scale(1.05);
}

/* 汽车特点图标样式 */
.feature-item i.fas {
  font-size: 24px;
  color: #136eb5;
  margin-bottom: 8px;
  display: inline-block;
}


/* 按钮盒子样式 */
.button-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.button-box > div {
    display: flex;
    gap: 10px;
}

/* 大按钮样式 */
.button-box > div:first-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: #136eb5;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
}

/* 小按钮样式 */
.button-box > div:last-child a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 15px;
    background-color: #ef0000;
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    flex: 1;
}

/* 按钮悬停效果 */
.button-box a:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* 图标样式 */
.button-box i {
    font-size: 18px;
}

/* 图片遮罩层样式 */
.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  cursor: pointer;
}

.image-overlay .enlarged-image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 40px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close-btn:hover {
  color: #136eb5;
}

/* 修改复选框的焦点样式 */
.filter-option input[type="checkbox"]:focus {
  outline: 2px solid #136eb5; /* 蓝色外边框 */
  outline-offset: 2px; /* 边框与元素的间距 */
  box-shadow: 0 0 0 3px rgba(19, 110, 181, 0.3); /* 蓝色阴影效果 */
}

/* 或者完全移除焦点样式 */
.filter-option input[type="checkbox"]:focus {
  outline: none;
  box-shadow: none;
}

/* 修改主内容区布局 */
.main-content {
  display: flex;
  gap: 24px;
}

.filter-sidebar {
  width: 300px;
  flex-shrink: 0;
}

.content-main {
  flex: 1;
}

/* 调整筛选面板样式 */
.filter-section {
  position: sticky;
  top: 20px;
  background-color: var(--darker);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* 响应式调整 */
/* 在1440-1200屏幕之间的响应式 */
@media (max-width: 1440px) and (min-width: 1200px) {
  .list-container {
    margin: 100px auto 0;
  }
  .swiper-container {
    width: 450px;
  }
  .main-car-image {
    justify-content: space-between;
  }
}
@media (max-width: 1200px)  {
  .car-info-section {
    flex-direction: column;
  }
  .swiper-container {
    width: 70%;
  }
  .main-car-image {
    justify-content: space-between;
  }
  .list-container {
    margin: 100px auto 0;
  }
  .md-foot {
    flex-direction: column;

  }
  .md-foot .smp {
    margin-top: 10px;
  }
}
@media (max-width: 992px) {
  .main-content {
    flex-direction: column;
  }
  
  .filter-sidebar {
    width: 100%;
    margin-bottom: 20px;
  }
  .car-info-section {
    flex-direction: column;
  }
  .swiper-container {
    width: 60%;
  }
  .mySwiper2 {
    height: 400px;
    margin-bottom: 10px;
  }
  .image-grid {
    grid-template-columns: repeat(3, 1fr);
}

}
@media (max-width: 768px) {
  .main-car-image {
    flex-direction: column;
  }
  .swiper-container {
    width: 100%;
  }

  .mySwiper2 {
    height: 400px;
    margin-bottom: 10px;
  }
  .image-grid {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 500px) {
  .car-features {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 15px;
    margin-top: 20px;
}
.image-grid {
  grid-template-columns: repeat(1, 1fr);
}
}