
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tabs button {
    padding: 10px 18px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: background 0.2s, color 0.2s;
}

.tabs button:hover:not(:disabled) {
    border-color: #999;
}

.tabs button.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.tabs button:disabled {
    /* opacity: 0.5; */
    cursor: not-allowed;
}
#slider {
    min-height: 80vh;
}
.splide__slide {
    padding-top: 50px;
    padding-bottom: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.splide__track {
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1) !important;
}

/* .splide__slide {
    transition: opacity 0.4s;
} */

/* .splide__slide:not(.is-active) {
    opacity: 0.6;
} */

.splide__slide figure {
    margin: 0;
    width: 90%;
    margin: auto;
}

/* .splide__slide img {
    object-fit: cover;
    border-radius: 12px;
    display: block;
} */

.splide__slide figcaption {
    margin-top: 8px;
    font-size: 14px;
    color: #444;
    text-align: center;
}

.gallery-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.gallery-pagination button {
    padding: 0;
    border: 2px solid transparent;
    background: none;
    border-radius: 6px;
    cursor: pointer;
    /* opacity: 0.55; */
    transition: opacity 0.2s, border-color 0.2s, transform 0.2s;
}

.gallery-pagination button:hover:not(.active):not(:disabled) {
    opacity: 0.85;
    transform: scale(1.05);
}
/* 
.gallery-pagination button.active {
    opacity: 1;
    border-color: #e53935;
} */

.gallery-pagination button:disabled {
    pointer-events: none;
    opacity: 0.35;
}

.gallery-pagination button img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}
.gallery-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 15px;
    flex-wrap: wrap;
    margin-top: 50px;
}
.slide-image-wrapper {
        position: relative;
    height: auto;
    z-index: 5;
    /* box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px; */
    overflow: hidden;
    transform: translateX(0);
    transition: transform 1.8s cubic-bezier(0.25, 1.5, 0.8, 1);
    filter: drop-shadow(0px 60px 40px rgba(0, 0, 0, 0.2));
}
.gallery-first-page .gallery-detail-box {
    position: relative;
}
.gallery-first-page.slide-item {
    display: flex;
    gap: 20px;
}

.gallery-first-page .description {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px;
    width: 90%;
    margin: auto;
}

.gallery-first-page .description p {
    font-weight: 400;
    font-size: 16px;
    line-height: 200%;
    letter-spacing: 0%;
    color: #666;
}
.gallery-first-page .description h2{
    display: none;
}

/* .splide__slide.showing {
    flex: 0 0 50vw;
} */
.splide__slide.showing .gallery-detail-box {
    transform: translateX(-50%);
    transition: transform 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.splide__slide.showing .image-wrapper {
    transform: translateX(210px);
    transition: transform 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.splide__slide .center-anchor{
    height: auto;
}
.splide__slide .image-wrapper {
    filter: drop-shadow(0px 9px 10px #00000080);
    box-shadow: rgb(0 0 0 / 5%) -5px 56px 40px -9px;
}
.fancybox__backdrop {
    background: rgba(24, 24, 27, 0.1);
    backdrop-filter: blur(20px);
    background: #00000066 !important;
}
/* .splide__slide .gallery-first-page .gallery-detail-box {
    height: auto;
} */
.gallery-pagination button img {
  
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid transparent;
}
.gallery-pagination button.active img {
    border-color: #565656;
}
.custom-arrows button {
    cursor: pointer;
    transition: opacity 0.3s;
}
.custom-arrows button {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: white;
    border: 1px solid rgba(206, 206, 206, 1);
    cursor: pointer;
    line-height: 46px;
    text-align: center;
    justify-content: center;
    padding-right: 0;
    color: rgba(47, 47, 47, 1);
    padding: 0;
}

.gallery-thumbnail {
    text-align: center;
    max-width: 100%;
    margin: auto;
}
.gallery-thumbnail img {
    width: 100%;
}

/* .splide__track {
    overflow: visible;
} */
.gallery-detail-box {
    background-size: auto;
    background-position: center;
}
.gallery-detail-box {
    display: flex;
    flex-flow: column;
    justify-content: end;
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 385px;
    height: 545px;
    margin: auto;
    padding: 40px;
    box-sizing: border-box;
    z-index: 1;
    background-image: url(/img/test-group.png);
    background-repeat: no-repeat;
    background-size: contain;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
    vertical-align: middle;
}
.image-wrapper {
    position: relative;
    /* height: 560px; */
    z-index: 5;
    box-shadow: rgba(0, 0, 0, 0.2) 0px 60px 40px -7px;
    overflow: hidden;
    transform: translateX(0);
    transition: transform 1.8s cubic-bezier(0.15, 1.5, 0.8, 1);
    position: relative;
    z-index: 5;
    filter: drop-shadow(0px 54px 55px #00000040);
    box-shadow: none;
    overflow: hidden;
    transform: translateX(0);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}
.inner-con {
    display: flex;
    align-items: center;
}
.gallery-detail-box .detail-wrap {
    left: 150%;
}
.mainlang-hb .description {
    text-align: right;
}
.language-he {
    text-align: right;
    font-family: Arial, sans-serif !important;
    white-space: pre-line;
}
.image-html ul li {
    color: #666;
    /* line-height: 0; */
}
.image-html p {
    margin: 0;
    /* line-height: 0; */
}
/* @media(max-width:1600px){
.splide__slide .gallery-first-page .gallery-detail-box {
    height: auto;
    display: none;
}
.gallery-first-page .description h2 {
    display: block;
}
    .gallery-detail-box {
        position: absolute;
        width: 380px;
        height: 85%;
        padding: 40px 60px;
    }
       .splide__slide.showing .gallery-detail-box {
        transform: translateX(-45%);
    }
        .inner-con {
        width: 90%;
        margin: auto;
        display: flex;
        align-items: center;
    }
   
.splide__slide.showing .image-wrapper {
    transform: translateX(160px);
}
.gallery-first-page.slide-item {
    width: 80%;
    margin: auto;
    display: flex;
    align-items: center;
}
} */
.gallery-detail-box .detail-wrap {
    left: -150%;
}
 .gallery-detail-box:hover .detail-wrap {
    left: 150%;
}
@media(max-width:1600px){
.gallery-topbar {
    margin-top: 20px;
}
      .inner-con {
        width: 80%;
        position: relative;
    }
         .splide__slide.showing .gallery-detail-box {
        transform: translateX(-40%);
        left: 0;
    }
    .splide__slide {
    padding-top: 20px;
}

        .splide__slide.showing .image-wrapper {
        /* transform: translateX(20%); */
        right: 0;
    }
        .gallery-detail-box {
        position: absolute;
        width: 360px;
        height: 400px;
        padding: 40px 80px;
    }
    .gallery-thumbnail img {
    width: 100%;
    aspect-ratio: 16 / 9;
    /* height: 65vh; */
    }
        .gallery-thumbnail img.horizontal {
        aspect-ratio: 385 / 582;
        /* width: 385px; */
    }
    
}
@media(max-width:1200px){
    .gallery-first-page .description {
    width: 100%;
    margin: auto;
    height: 100%;
    overflow-y: scroll;
}
    .gallery-detail-box {
        position: absolute;
        width: 360px;
        height: 85%;
        padding: 40px 90px;
    }
    .splide__slide.showing .gallery-detail-box {
        transform: translateX(-50%);
        left: 0;
    }
        .splide__slide.showing .image-wrapper {
        transform: translateX(130px);
    }
    .splide__slide {
    padding-bottom: 100px;
    }
    .inner-con {
        width: 80%;
        position: relative;
    }
        .gallery-first-page.slide-item {
        width: 80%;
        }
}

@media (max-width:991px){
     
    .inner-con {
        width: 95%;
    }
    .gallery-first-page.slide-item {
        width: 95%;
    }
/* 1. Base State (Hidden on the left side) */
    .gallery-detail-box {
        position: absolute;
        top: 0;
        left: unset;
        right: 0;
        width: 0%;
        height: 100%;
        z-index: 9;
        opacity: 1;
        overflow: hidden;
        transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
        transform: unset;
        background-image: unset;
        padding: 0;
        background: rgba(255, 255, 255, 0.9);
    }

    .splide__slide.showing .gallery-detail-box {
        opacity: 1;
        z-index: 9;
        background: rgba(255, 255, 255, 0.9);
        width: 100%;
        transform: unset;
        left: unset;
        padding: 10px;        
        transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.4s ease;
    }
        .splide__slide.showing .image-wrapper {
        transform: translateX(0px);
    }
    .image-html {
    opacity: 0;
}
 .splide__slide.showing  .image-html{
    opacity: 1;
        transition: opacity 2.8s;

 }
       
}

@media (max-width: 767px) {
    .gallery-thumbnail img.horizontal {
        aspect-ratio: 385 / 582;
        height: 385px;
    }

    .inner-con {
        width: 100%;
    }
       .md .center-anchor {
        height: auto;
        width: auto;
    }
  #slider {
        min-height: auto;
        /* height: 50vh; */
    }
        .splide__list {
        height: 60vh;
    }
        .splide__slide {
            padding-top: 0px;
        padding-bottom: 0px;
    }
.image-html ul {
    list-style-type: none;
    padding-left: 0;
    line-height: 1;
}
.image-html h3, .image-html p {
    font-weight: 400;
    font-size: 16px;
    line-height: normal;
    letter-spacing: 0%;
    margin: 0;
}
.image-html ul li {
    color: #666;
    line-height: unset;
}
.gallery-pagination {
    display: flex;
    gap: 0px;
    justify-content: center;
    flex-wrap: wrap;
}
}
