/* Gallery Styles */
.gallery_container {
    max-width: 1200px;
    margin: 0 auto;
  }
  
  @media (min-width: 1300px) and (max-width: 2560px) {
    .popup-gallery {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
  }
  
  @media (min-width: 700px) and (max-width: 1299px) {
    .popup-gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
    }
  }
  
  @media (min-width: 300px) and (max-width: 699px) {
    .popup-gallery {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 5px;
    }
  }
  
  .gallery_item {
    margin-bottom: 5px;
    overflow: hidden;
  }
  
  .popup-gallery a {
    display: block;
    width: 100%;
    border: 1px solid #fff;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }
  
  .popup-gallery a:hover {
    transform: scale(1.05);
    border-color: #fff;
  }
  
  .popup-gallery img {
    display: block;
    width: 100%;
    object-fit: cover;
    min-height: 250px;
    max-height: 250px;
  }
  
  @media only screen and (max-width: 1000px) {
    .popup-gallery img {
      min-height: 150px;
      max-height: 150px;
    }
  }
  
  /* END  */
  
  .singicon_btn_nlf {
    position: absolute;
    top: 44%;
    bottom: 56%;
    left: 44%;
    right: 56%;
    opacity: 0;
  }
  
  .singicon_btn_nlf svg {
    color: #fff;
  }
  
  .popup-gallery a:hover .singicon_btn_nlf {
    opacity: 1;
  }
  
  .hover_affect_nlf:hover img {
    opacity: 0.5;
  }
  .detail-car-page{
    margin-top: 150px;
    margin-bottom: 80px;
  }
  @media(min-width:1300px){
    .detail-car-page{
      margin-top: 25vw;
      margin-bottom: 50px;
    }

  }
  @media(max-width:668px){
    .detail-car-page{
      margin-top: 50px;
      margin-bottom: 50px;
    }

  }
  @media(max-width:550px){
    .detail-car-page{
      margin-top: 36px;
      margin-bottom: 40px;
    }

  }
  .detail-car-page  h1 {
    margin-top: 45px !important; 
    font-size: 2.5rem;
    font-weight: bold;
    color: #333;
}
.detail-car-page  h1 span {
    color: #c00;
}
.detail-car-page  .details {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
}
.detail-car-page   .price {
    font-size: 2rem;
    font-weight: bold;
    color: #c00;
    margin-top: 10px;
}
.detail-car-page  .options {
    margin-top: 30px;
}
.detail-car-page .options h3 {
    color: #c00;
    font-weight: bold;
    font-size: 1.7rem;
}
.detail-car-page .option-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}
.detail-car-page .option-list div {
    flex: 1 1 calc(50% - 10px);
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: #333;
}
.detail-car-page   .option-list div::before {
    content: '\2713';
    color: #c00;
    font-size: 1.3rem;
    font-weight: bold;
    margin-right: 10px;
}