/* Main container styling */
.property-slider-container {
    position: relative;

    width: 100%;
}

/* Main slider styling */
.property-sslider {
    position: relative;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background-color: #f5f5f5;
    max-height: 600px;
    margin: 0;
    padding: 0;
}

/* All slide items */
.property-sslider .item {
    width: 100%;
    height: 500px; /* Fixed height for consistency */
    display: flex !important;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

/* Image styling */
.property-sslider .item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video container styling - main approach */
.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.video-wrapper .video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Video thumbnail styling */
.video-thumbnail {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.video-play-button i {
    color: white;
    font-size: 30px;
}

/* Image counter styling */
.image-counter-container {
    position: absolute;
    bottom: 60px;
    left: 15px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 12px;
    z-index: 10;
    display: block !important;
}

/* Thumbnail strip styling */
.property-thumbnail-strip {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 5px;
}

.thumbnail-item {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s, border 0.3s;
}

.thumbnail-item:hover,
.thumbnail-item.active {
    opacity: 1;
    border: 2px solid #1e90ff;
}

.thumbnail-item img,
.video-thumbnail-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Video thumbnail in strip */
.video-thumbnail-small {
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-small {
    width: 30px;
    height: 30px;
    background-color: rgba(128, 128, 128, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon-small i {
    color: white;
    font-size: 12px;
}

/* More images indicator */
.more-images {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* Navigation arrows */
.slick-prev,
.slick-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.slick-prev {
    left: 10px;
}

.slick-next {
    right: 10px;
}

.slick-prev i,
.slick-next i {
    color: #333;
    font-size: 18px;
}

.slick-list,
.slick-track {
    height: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
    .property-sslider .item {
        height: 350px;
    }

    .thumbnail-item {
        width: 60px;
        height: 60px;
    }

    .video-play-button {
        width: 60px;
        height: 60px;
    }

    .video-play-button i {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .property-sslider .item {
        height: 250px;
    }

    .thumbnail-item {
        width: 50px;
        height: 50px;
    }
}