/* Add border to container-xl */
.container-xl {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.results__head h3 {
    font-size: 16px;
    padding-top: 20px;
    padding-bottom: 20px;
}

.stratos-bg {
    background-image: url('/wp-content/uploads/2025/06/home_carrental_slider.jpg');
    height: 600px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;

}

.btn-stratos {
    background-color: #0099cc;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
}
.button-links a {
    text-decoration: none;
}
.button-links {
    white-space: nowrap;
}
#rentsyst_page {
    max-width: 1140px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
}

.display-header {
    font-family: "Roboto Serif", Sans-serif;
    font-size: 2.6em;
    font-weight: 600;
    text-shadow: 1px 0px 1px rgba(0, 0, 0, 0.63);
    color: #fff;
}

.carousel-item {
    transition: transform .6s ease-in-out;
    height: 100%; /* Fixed height */
}

.carousel-item img {
    object-fit: cover; /* Ensures images cover the area without distortion */
    height: 100%;
    width: 100%;
}

/* Prevent FOUC (Flash of Unstyled Content) */
.carousel.slide {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.carousel.slide.carousel-initialized {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 1199px) {
    .rentsyst-wrap-filters {
        display: block;
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 8px;
        padding: 15px;
        margin-bottom: 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
}
/*#rentsyst_page .rs-item {*/
/*    background-color: #a01c1c;*/
/*    flex-direction: row;*/
/*    display: flex;*/
/*    width: 100%;*/
/*    flex-grow: 1;*/
/*}*/

/*#rentsyst_page .rs-item .rs-image {*/
/*    width: 300px;*/
/*    background-color: #0A1A3D;*/
/*}*/

/*#rentsyst_page .rs-item .rs-info {*/
/*    background-color: #0A1A3D;*/
/*    height: 100%;*/
/*}*/

/* Horizontal Scroll List Styles */
.horizontal-scroll-wrapper {
    width: 100%;
    position: relative; /* Ensure proper positioning for absolute elements */
    /*padding: 20px 40px; !* Increased padding to make room for arrow buttons *!*/
    overflow: visible; /* Allow arrows to be visible outside the container */
    margin-top:20px;
}

.horizontal-scroll-items {
    display: flex;
    flex-wrap: nowrap;
    gap: 10px;
    padding-bottom: 10px; /* No space needed as scrollbar is hidden */
    padding-top: 10px;
    overflow-x: auto; /* Ensure horizontal scrolling is enabled */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    position: relative; /* Ensure position context for event handling */
    user-select: none; /* Prevent text selection during drag */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /*justify-content: center; !* Center items horizontally *!*/
}

.horizontal-scroll-item {
    flex: 0 0 auto;
    width: 150px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 5px;
}


.horizontal-scroll-item:hover {
    box-shadow: 0 5px 5px rgba(0,0,0,0.2);
}

.item-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.item-image {
    height: 100px;
    overflow: hidden;
    padding: 5px;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.item-title {
    padding: 15px;
    background-color: #fff;
    text-align: center;
    text-decoration: none;
}

.item-title h5 {
    margin: 0;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    text-decoration: none;
}

/* Custom scrollbar styling for the items container */
.horizontal-scroll-items::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.horizontal-scroll-items::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.horizontal-scroll-items::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Hide scrollbar */
.horizontal-scroll-items::-webkit-scrollbar {
    display: none;
}

.horizontal-scroll-items {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Center items when screen is larger than 800px */
@media (min-width: 1999px) {
    .horizontal-scroll-items {
        justify-content: center;
    }
}

/* Scroll arrow styles */

.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    color: #333;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100; /* Increased z-index to ensure buttons are above other elements */
    /*box-shadow: 0 2px 5px rgba(0,0,0,0.1);*/
    transition: all 0.3s ease;
    pointer-events: auto; /* Ensure pointer events are enabled */
}

@media (max-width: 600px) {
    .scroll-arrow {
        display: none;
    }
}

.scroll-arrow:hover {
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.scroll-arrow:focus {
    outline: none;
}

/* Active state for arrow buttons when touched/clicked */
.scroll-arrow.arrow-active {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.scroll-left {
    left: 0px;
}

.scroll-right {
    right: 0px;
}

/* Active state for drag scrolling */
.horizontal-scroll-items.active {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

/* Cursor styles for the scroll container */
.horizontal-scroll-items {
    cursor: grab;
    cursor: -webkit-grab;
}

.included-groups {
    display: none;
}

.rentsyst-catalog-item {
    padding: 10px;
}

.single-vehicle-specs-price {
    background-color: #ededed;
    padding: 20px;
    border-radius: 8px;
}

.single-vehicle-specs-price .rentsyst-price-per-day {
    background-color: #cad7e6;
    border-radius: 8px;
    padding: 10px;
}
.has-cyan-bluish-gray-color {
    color: #0099cc;
    font-weight: 600;
}

.results__head {
    padding: 10px;
}

@media (max-width: 768px) {
    .fleet-thumb {
        max-height: 350px;
        height: 350px;
    }
}