.autolina-carlist-price {
    position: absolute;
    bottom: 20px;
    right: 50px;
}
.autolina-carlist-bagdes .badge {
    background-color: #ffd641 !important;
    border-radius: 15px;
    margin-right: 20px;
    margin-bottom: 5px;
    font-size: 18px;
    font-weight: normal;
    color: #000 !important;

}
.autolina-carlist .price-badge{
    background-color: #ffd641 !important;
    border-radius: 15px;
    margin-right: 20px;
    margin-bottom: 5px;
    color: #000 !important;
}
.autolina-cardetails .price-badge{
    background-color: #ffd641 !important;
    border-radius: 15px;
    margin-right: 20px;
    margin-bottom: 5px;
    color: #000 !important;
    font-size: 1.5em;
}
.autolina-carlist-bagdes {
    margin-top: 20px;
}
.autolina-cardetails h1, .autolina-carlist h1 {
    font-size: 1.5em;
    line-height: 140%;
    margin: 0;
    color: #000;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: 700;
    margin-top:0 !important;
    margin-bottom: 0 !important;
}
.autolina-cardetails h2{
    font-size: 1.3em;
    line-height: 140%;
    margin: 0;
    color: #000;
    overflow-wrap: break-word;
    word-wrap: break-word;
    font-weight: 700;
    margin-top:0 !important;
    margin-bottom: 0 !important;
}
.autolina-carlist .carousel {
    min-height: auto !important;
}
.autolina-cardetails .carousel-indicators {
    display: flex !important;
    justify-content: center !important;
}
/* Full thumbnail container with scroll buttons */
.thumbnail-scroll-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
}

.autolina-cardetails .scroll-btn {
    background-color: #d0d0d0;
    color: #000;
    border: none;
    padding: 0;
    font-size: 18px;
    cursor: pointer;
    border-radius: 0;
    width: 30px;
    height: 58px;
    border: 1px solid white;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
 
}
.autolina-cardetails .scroll-btn.scroll-left::after {
    content: "";
    position: absolute;
    background-image: url(../Icons/left-chevron.svg);
    background-repeat: no-repeat;
    background-position: center center !important;
    background-size: 20px;
    width: 20px;
    height: 20px;
}
.autolina-cardetails .scroll-btn.scroll-right::after {
    content: "";
    position: absolute;
    background-image: url(../Icons/right-chevron.svg);
    background-repeat: no-repeat;
    background-position: center center !important;
    background-size: 20px;
    width: 20px;
    height: 20px;
}
.carousel .carousel-control-prev-icon::after {
    background-image: url(../Icons/left-chevron.svg) !important;
    background-position: center !important;
    background-size: 80% !important;
}
.autolina-cardetails .carousel .carousel-control-next-icon::after , .autolina-carlist .carousel .carousel-control-next-icon::after{
    background-image: url(../Icons/right-chevron.svg) !important;
    background-position: center center !important;
    background-size: 80% !important;
}
.scroll-btn:hover {
    background-color: #ffd641;
}

.scroll-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.autolina-cardetails .carousel-control-prev , .autolina-cardetails .carousel-control-next {
    bottom: 60px !important;
}
.carousel-indicators-thumbnails {
    display: flex;
    overflow-x: auto; 
    scrollbar-width: none;
    gap: 1px;
    padding: 0 0;
    scroll-behavior: smooth;
    flex: 1;
}
.carousel-indicators-thumbnails::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.carousel-indicators-thumbnails img.thumbnail {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.2s ease;
    border: 2px solid transparent;
    flex-shrink: 0; 
}

.carousel-indicators-thumbnails img.thumbnail.active {
    border-color: #ffd641; 
    box-shadow: 0 25px 50px -12px rgba(0,0,0,.5) !important;
}

.carousel-indicators-thumbnails img.thumbnail:hover {
    transform: scale(1.1);
}

.autolina-carlist-link:hover {
    text-decoration: none;
  
}
.autolina-carlist .card {
    border-radius: 0;
}
.autolina-carlist-link:hover {
    text-decoration: none;
}
.autolina-carlist-link:hover .card{
   box-shadow: 0 25px 50px -12px rgba(0,0,0,.25) !important;
}
.fahrzeugdaten-main {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    margin-bottom: 30px;
  }
  
  .fahrzeugdaten-main .col-lg-6, 
  .fahrzeugdaten-main .col-md-6 {
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .fahrzeugdaten-main .media {
    display: flex;
    width: 100%;
    align-items: center;
    background: #f9f9f9; /* Light background */
    border-radius: 2px; /* Rounded corners */
    padding: 20px 15px; 
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Soft shadow */
    transition: all 0.3s ease;
  }
  .fahrzeugdaten-main .media-body h5 {
    font-size: 18px;
    font-weight: normal;
    color: #333; /* Dark text color */
    margin-bottom: 0;
  }
  .fahrzeugdaten-main .media-body h5 span {
    display: block;
    font-size: 14px;
    color: #666; /* Subtext color */
    font-weight: 400;
    margin-top: 5px;
  }
  
  .fahrzeugdaten-main .media-body h5 strong {
    font-size: 22px; 
    color: #000; 
  }
  
  .fahrzeugdaten-main .media::before {
    content: '';
    display: inline-block;
    width: 50px;
    height: 50px;
    background-color: #4CAF50; /* Green background for the icon */
    border-radius: 50%; /* Circle icon */
    margin-right: 15px;
    
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: center;
  }
  
  .fahrzeugdaten-main .col-lg-6:nth-child(1) .media::before {
    background-color: #FFD166; /* Red icon */
    background-image: url('../Icons/calendar.svg'); 
  }
  
  .fahrzeugdaten-main .col-lg-6:nth-child(2) .media::before {
    background-color: #FFD166; /* Blue icon */
    background-image: url('../Icons/gauge.svg'); 
  }
  
  .fahrzeugdaten-main .col-lg-6:nth-child(3) .media::before {
    background-color: #FFD166; /* Yellow icon */
    background-image: url('../Icons/car-parts.svg'); 
  }
  
  .fahrzeugdaten-main .col-lg-6:nth-child(4) .media::before {
    background-color: #FFD166; /* Gray-blue icon */
    background-image: url('../Icons/piston.svg'); 
  }
  .fahrzeugdaten-main .col-lg-6:nth-child(5) .media::before {
    background-color: #FFD166; /* Gray-blue icon */
    background-image: url('../Icons/fuel-station.svg'); 
  }
  .fahrzeugdaten-main .col-lg-6:nth-child(6) .media::before {
    background-color: #FFD166; /* Gray-blue icon */
    background-image: url('../Icons/gear-shift.svg'); 
  }
  
.car-specifications {
    list-style: none;
    padding: 0;
}
.car-specifications li {
    display: flex;
    flex-wrap: wrap; 
    margin-bottom: 5px;
}
.car-specifications li strong, .car-specifications li span{
    flex: 0 0 50%;
}
.sl-overlay {
    background: #000;
    opacity: .8;
}

.sl-wrapper .sl-counter {
    color: #fff;
    font-size: 1rem;
    bottom: 0;
    top: auto;
    right: 0;
    left: auto;
    padding: 15px;
}
.sl-wrapper .sl-caption{
    background:#000;
    color: #fff;
    z-index: 1050;
    position:fixed;
    bottom:0;
    left:0;
    width:100% !important;
    padding: 15px;
    padding-right: 160px;
    opacity: 1 !important;
}
.sl-wrapper .sl-navigation button {
    color: #fff;
}

.sl-wrapper .sl-close {
    color: #fff;
}


.autolina-cardetails .as-accordion-button {
    padding: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #000 !important;
    display:flex;
    align-items: center;
}

.autolina-cardetails .as-accordion-button:after {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: auto;
    content: "";
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212121'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: 1.25rem;
    transition: transform 0.2s ease-in-out
}

.autolina-cardetails .as-accordion-button:not(.collapsed):after{
    transform: rotate(-180deg); 
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23212121'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}


.autolina-cardetails .accordion{
    margin-top:20px;
}
.autolina-cardetails .accordion .title-secondary{
    padding: 0;
    margin:0;
    border-bottom:1px solid #000;
}
.autolina-cardetails .accordion .title-secondary a{
    padding: 15px 0;
    cursor: pointer;
}
.autolina-cardetails .accordion .collapse-body {
    padding: 30px 0;
}
.autolina-cardetails .accordion .collapse-body ul{
    list-style: none;
    padding: 0;
}
.autolina-cardetails .accordion .collapse-body ul li {
    font-weight: normal !important;
    margin-bottom: 5px;
    margin-bottom: 10px; 
    font-size: 16px; 
    line-height: 1.5; 
}

.autolina-cardetails .accordion .collapse-body ul li::before {
    content: '\2714'; 
    color: #ffd641 !important; 
    display: inline-block;
    width: 1.5em; 
}
.autolina-cardetails .sub-equipment-list {
    padding-left: 25px !important;
    margin-top: 8px;
    
}
.autolina-cardetails .accordion .collapse-body .sub-equipment-list li::before{
    content:'-' !important;
    color: #000 !important;

}
.autolina-cardetails .accordion .collapse > div, .autolina-cardetails .accordion .collapsing > div{
    padding-bottom:20px;
}
.pager-0 {
    display: none;
}
.autolina-carlist .pagination {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}
.autolina-carlist .page-item.active .page-link {
    background-color: #ffd641 !important;
    border-color: #000;
    color: #000;
}
.autolina-carlist .page-item .page-link:hover {
    border-color: #ffd641;
    color: #000;
}
.autolina-carlist .page-item .page-link {
    color: #000;
}
.autolina-carlist .ghost-select-container {
    padding-right: 10px;
    position: relative;
}
@media only screen and (min-width: 1024px) {
    .autolina-carlist .ghost-select-container {
        padding-right:20px
    }
}
.ghost-select-container .ghost-select {
    border-radius: 3px;
    -webkit-background-clip: padding-box;
    -moz-background-clip: padding-box;
    background-clip: padding-box;
    position: relative;
    border: 1px solid #000;
    background-color: #fff;
}
.ghost-select-container .ghost-select .label {
    display: block;
    margin-right: 34px;
    padding: 6px 0 6px 9px;
    line-height: 140%;
    color: #666;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-align: left;
    font-size: 1em;
    font-weight: normal;
    border-radius: 0;
    vertical-align: initial;
}
.ghost-select-container .ghost-select .button {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    position: absolute;
    top: 0;
    right: 0;
    width: 32px;
    bottom: 0;
    border: none;
    border-left: 1px solid #000;
    background-color: #000;
    padding:0;
}
.ghost-select-container .ghost-select .button .icon {
    width: 14px;
    height: 7px;
    background: url(data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJFYmVuZV8xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHg9IjBweCIgeT0iMHB4IiB3aWR0aD0iMTRweCIgaGVpZ2h0PSI3cHgiIHZpZXdCb3g9IjAgMCAxNCA3IiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCAxNCA3IiB4bWw6c3BhY2U9InByZXNlcnZlIj48cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZmlsbD0iI0UyRTJFMiIgZD0iTTcsN2w3LTdIMEw3LDd6Ii8+PC9zdmc+) no-repeat 0 0;
    top: 50%;
    margin-top: -3px;
    left: 50%;
    margin-left: -7px;
    position: absolute;
}
.ghost-select-container .ghost-select .ghost {
    opacity: 0;
    padding: 0;
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 30px;
    width: 100%;
    cursor: pointer;
    padding:0;
}

.autolina-carlist .ghost-select-container .connector {
    position: absolute;
    right: 0;
    top: 50%;
    width: 10px;
    height: 0;
    margin-top: -1px;
    border: 1px solid #000
}

@media only screen and (min-width: 1024px) {
    .autolina-carlist .ghost-select-container .connector {
        width:20px
    }
}

.extralarge .autolina-carlist .ghost-select-container .connector {
    width: 20px
}

@media (max-width: 768px) {
    .autolina-cardetails h1 {
        font-size: 1.2em;
    }
    .autolina-cardetails .price-badge{
        font-size: 1em;
    }
    .autolina-carlist-price {
        position: relative;
        display: block;
        bottom: 0;
        margin: 0 auto;
        right: unset;
        margin-top: 20px;
      }
      .autolina-carlist .card-body {
        padding: 10px !important;
      }
      
}
