/* ===================
   Gallery Wrapper
   =================== */
   .gallery_wrap {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ===================
   Previous and Next Buttons
   =================== */
.gallery-prev, .gallery-next {
    width: 8px !important;
    height: 16px !important;
    flex-shrink: 0!important;
    font-size: 20px;
    color: #fff;
    z-index: 10;
    cursor: pointer;
}

.gallery-prev {
    left: 0px!important;
}

.gallery-next {
    right: 0px!important;
}

/* ===================
   Gallery Styles
   =================== */
.gallery {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.swiper-slide {
    display: flex!important;
    flex-direction: row!important;
    flex-wrap: wrap!important;
    justify-content: center !important;
    align-items: center !important;
    align-content: center !important;
}

.swiper-slide img {
    max-width: 100%; /* Limit width to container */
    max-height: 100%; /* Limit height to container */
    width: 680px;
    height: auto;
    object-fit: contain; /* Prevent image distortion */
    aspect-ratio: 1 / 1;
    display: block;
}

/* ===================
   Pagination Dots
   =================== */
.swiper-pagination {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    justify-content: center;
}

.swiper-pagination-bullet {
    background: transparent!important;
    width: 12px!important;
    height: 12px!important;
    border: 2px solid #FFC34D!important;
    border-radius: 50%!important;
    padding: 0px;
    margin: 0 !important;
	opacity: 1!important;
}

.swiper-pagination-bullet-active {
    background: #FFC34D!important;
}

/* ===================
   Responsive Styles
   =================== */
@media (max-width: 768px) {
    .gallery_wrap {
        height: auto; /* Adjust for mobile */
    }
	.gallery {
    gap: 20px;
}

    .swiper-slide img {
        width: auto; /* Adjust width for smaller screens */
        height: 100%; /* Maintain aspect ratio */
    }
}

/* ===================
   Disable Swiper's Default Arrow Icons
   =================== */
.swiper-button-next::after,
.swiper-button-prev::after {
    content: none !important;
}







/* Ensure Fancybox image appears correctly */
.fancybox-slide--image img {
    max-width: 100% !important; /* Prevent images from being too large */
    margin: 0 auto!important;
}

/* Custom Swiper styling if needed */
.gallery {
    /* Customize Swiper container styles */
}