/* --- GLOBAL RESET --- */
* {
  box-sizing: border-box;
}

body {
  font-family: Verdana, sans-serif;
  margin: 0;
  background: #f5f5f5;
}

/* --- VEHICLE IMAGE WRAPPER --- */
#vehicle_pictures {
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  background: #000;
}

/* --- SLIDESHOW CONTAINER --- */
.slideshow-container {
  width: 100%;
  max-width: 900px;
  margin: auto;
  position: relative;
}

.slideshow-container img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* --- NAV BUTTONS --- */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  padding: 14px;
  color: white;
  font-size: 22px;
  font-weight: bold;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  border-radius: 50%;
  transition: 0.3s;
}

.prev:hover, .next:hover {
  background: rgba(0,0,0,0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

/* --- DOTS --- */
.dots {
  text-align: center;
  padding: 10px 0;
  background: #fff;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: 0.3s;
}

.dot.active {
  background-color: #333;
}

/* --- ATTRIBUTES (DoneDeal style) --- */
.attribute_container {
      display: flex;
    flex-wrap: wrap;
    gap: 10px;
    background: #ffffff;
    padding: 4px;
    border-radius: 8px;
    margin-top: 7px;
}

.attribute_container div {
  flex: 1 1 calc(50% - 10px);
  border-radius: 6px;
}

/* --- DESKTOP LAYOUT --- */
@media (min-width: 900px) {
  .vehicle_page {
    display: flex;
    gap: 20px;
    padding: 20px;
  }

  #vehicle_pictures {
    flex: 1;
  }

  .vehicle_details {
    flex: 1;
  }

  .attribute_container div {
    flex: 1 1 calc(33% - 10px);
  }
}

/* --- MOBILE LAYOUT --- */
@media (max-width: 899px) {
  .prev, .next {
    font-size: 18px;
    padding: 10px;
  }

  .attribute_container div {
    flex: 1 1 100%;
  }
}

#vehicle_extras{
width:95%;
font-size: 1.1rem;
margin: 1%;
}

.search_left{
    margin: 1%;
}

#right{
  font-size: 1.1rem;
}