/**
 * Swiper 4.5.0
 * Modern mobile touch slider with hardware accelerated transitions
 * http://www.idangero.us/swiper/
 */

/* General Swiper container */
.swiper-container {
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;
    z-index: 1;
    height: auto; /* Ensure container adjusts to content height */
}

/* Swiper wrapper and slide layout */
.swiper-wrapper {
    position: relative;
    width: 100%;
    height: auto; /* Adjust wrapper height dynamically */
    z-index: 1;
    display: flex;
    transition: transform 0.3s ease-out;
    box-sizing: content-box;
}

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: auto; /* Adjust slide height dynamically */
    position: relative;
    transition: transform 0.3s ease-out;
}

/* Handling vertical orientation */
.swiper-container-vertical>.swiper-wrapper {
    flex-direction: column;
}

/* Multi-row layout */
.swiper-container-multirow>.swiper-wrapper {
    flex-wrap: wrap;
}

/* Free mode transition */
.swiper-container-free-mode>.swiper-wrapper {
    transition-timing-function: ease-out;
    margin: 0 auto;
}

/* Auto height configuration */
.swiper-container-autoheight, .swiper-container-autoheight .swiper-slide {
    height: auto;
}

.swiper-container-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition: height 0.3s ease-out, transform 0.3s ease-out;
}

/* 3D perspective */
.swiper-container-3d {
    perspective: 1200px;
}

/* 3D shadow effects */
.swiper-container-3d .swiper-slide-shadow-left,
.swiper-container-3d .swiper-slide-shadow-right,
.swiper-container-3d .swiper-slide-shadow-top,
.swiper-container-3d .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Swiper buttons */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 27px;
    height: 44px;
    margin-top: -22px;
    z-index: 10;
    cursor: pointer;
    background-size: 27px 44px;
    background-position: center;
    background-repeat: no-repeat;
}

.swiper-button-next {
    right: 10px;
    background-image: url('data:image/svg+xml;charset=utf-8,...'); /* Update URL */
}

.swiper-button-prev {
    left: 10px;
    background-image: url('data:image/svg+xml;charset=utf-8,...'); /* Update URL */
}

.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
}

/* Pagination */
.swiper-pagination {
    position: absolute;
    text-align: center;
    transition: opacity 0.3s;
    transform: translate3d(0, 0, 0);
    z-index: 10;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: inline-block;
    border-radius: 100%;
    background: #000;
    opacity: 0.2;
}

.swiper-pagination-bullet-active {
    opacity: 1;
    background: #007aff;
}

/* Progress bar */
.swiper-pagination-progressbar {
    background: rgba(0, 0, 0, 0.25);
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
}

.swiper-pagination-progressbar .swiper-pagination-progressbar-fill {
    background: #007aff;
    width: 100%;
    height: 100%;
    transform-origin: left top;
}

/* Lazy loading spinner */
.swiper-lazy-preloader {
    width: 42px;
    height: 42px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -21px;
    margin-top: -21px;
    z-index: 10;
    animation: swiper-preloader-spin 1s steps(12, end) infinite;
}

/* Animations */
@keyframes swiper-preloader-spin {
    100% {
        transform: rotate(360deg);
    }
}

