/*@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Hebrew:wght@400;500;600;700&display=swap');*/

.center-gallery {
    direction: rtl;
    background-color: #ededed;
    /*font-family: 'Noto Sans Hebrew', sans-serif;*/
    padding: 36px 20px 44px;
    box-sizing: border-box;
}

.center-gallery__side-panel {
    display: none;
}

.center-gallery__content {
    width: 100%;
}

.center-gallery__inner {
    width: 100%;
}

.center-gallery__badge {
    margin-bottom: 24px;
}

.center-gallery__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}



.center-gallery__tour-btn {
    min-width: 120px;
    min-height: 90px;
    padding: 10px 20px 8px;
    margin: 0;
    border: 2px solid transparent;
    border-radius: 7px;
    background:
        linear-gradient(#f5f5f5, #f5f5f5) padding-box,
        linear-gradient(180deg, #fdfdfd 0%, #8a8a8a 100%) border-box;
    color: #a1a1a1;
    font-family: inherit;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    cursor: pointer;
}

.center-gallery__tour-btn--desktop {
    display: none;
}
.center-gallery__tour-btn:hover {
  background:
        linear-gradient(#f5f5f5, #f5f5f5) padding-box,
        linear-gradient(180deg, #fdfdfd 0%, #8a8a8a 100%) border-box;
}

.center-gallery__tour-btn img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.center-gallery__slider-wrap {
    width: calc(100% + 40px);
    margin-inline-start: -20px;
    margin-top: 32px;
}

.center-gallery__gallery-panel[hidden],
.center-gallery__iframe-wrap[hidden] {
    display: none !important;
}

.center-gallery__swiper {
    width: 100%;
    aspect-ratio: 1100 / 1000;
    position: relative;
    overflow: hidden;
}

.center-gallery__iframe-wrap {
    width: 100%;
    aspect-ratio: 1100 / 1000;
    background-color: #3b3b3b;
}

.center-gallery__iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.center-gallery__slide {
    width: 100%;
    height: 100%;
    line-height: 0;
}

.center-gallery__slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.center-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #3d3c3c;
    color: #ffffff;
    z-index: 3;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    line-height: 0;
    padding: 0;
    border:none;
}

.center-gallery__nav::before {
    display: block;
    font-size: 40px;
    line-height: 1;
    color: #ffffff;
    transform: translateY(-2px);
}

.center-gallery__nav--prev::before {
    content: '\2039';
}

.center-gallery__nav--next::before {
    content: '\203A';
}

.center-gallery__nav--prev {
    right: 14px;
}

.center-gallery__nav--next {
    left: 14px;
}

.center-gallery__nav.swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
}

.center-gallery__pagination-panel {
    position: static;
    z-index: 3;
}

.center-gallery__pagination-panel .center-gallery__nav {
    position: absolute;
}
.swiper-pagination-horizontal.center-gallery__pagination,
.center-gallery__pagination {
    position: absolute;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 15px;
    width: auto;
    margin: 0;
    padding: 25px 50px;
    background: #ffffff;
    border-radius: 999px;
    z-index: 3;
}

.center-gallery__dot {
    width: 20px;
    height: 20px;
    border: 0;
    border-radius: 50%;
    background: #c8c8c8;
    margin: 0;
    padding: 0;
    cursor: pointer;
}

.center-gallery__dot.is-active {
    background: #272727;
}

.center-gallery--3d-active .center-gallery__tour-btn {
    background:
        linear-gradient(#272727, #272727) padding-box,
        linear-gradient(180deg, #fdfdfd 0%, #8a8a8a 100%) border-box;
    color: #ffffff;
}

@media (min-width: 1025px) {
    .center-gallery {
        display: flex;
        flex-direction: row;
        align-items: stretch;
        padding: 0;
    }

    .center-gallery__side-panel {
        display: block;
        flex: 0 0 191px;
        width: 191px;
        border-left: 1px solid #8d8d8d;
        background-color: #ededed;
        position: relative;
    }

    .center-gallery__section-num {
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        font-size: 22px;
        font-weight: 500;
        color: #949494;
        letter-spacing: 0.04em;
        text-align: center;
        white-space: nowrap;
    }

    .center-gallery__section-num::after {
        content: '';
        position: absolute;
        top: 0;
        left: -2px;
        width: 3px;
        height: 160px;
        background-color: #282828;
        border-radius: 2px;
    }

    .center-gallery__tour-desktop-wrap {
        position: absolute;
        left: 50%;
        bottom: 46px;
        transform: translateX(-50%);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .center-gallery__tour-desktop-label {
        font-size: 18px;
        font-weight: 500;
        line-height: 1;
        color: #a1a1a1;
    }

    .center-gallery__tour-btn--desktop {
        display: inline-flex;
        min-width: 90px;
        width: 90px;
        min-height: 90px;
        height: 90px;
        padding: 0;
        justify-content: center;
    }

    .center-gallery__tour-btn--desktop img {
        width: 34px;
        height: 34px;
    }

    .center-gallery__tour-btn--mobile {
        display: none;
    }

    .center-gallery__content {
        flex: 1 1 auto;
        min-width: 0;
    }

    .center-gallery__inner {
        padding: 88px 66px 30px;
        min-height: 330px;
        box-sizing: border-box;
    }

    .center-gallery__badge {
        margin-bottom: 22px;
        font-size: 16px;
        padding: 6px 40px;
    }

    .center-gallery__title-row {
        display: block;
    }

    .center-gallery__title {
        margin: 0;
        max-width: 560px;
        font-size: 44px;
        line-height: 1.1;
    }

    .center-gallery__slider-wrap {
        margin: 0;
        width: 100%;
        background-color: #3b3b3b;
    }

    .center-gallery__swiper {
        width: 100%;
        aspect-ratio: 1720 / 780;
        min-height: 780px;
    }

    .center-gallery__iframe-wrap {
        aspect-ratio: 1720 / 780;
        min-height: 780px;
    }

    .center-gallery__pagination-panel {
        position: absolute;
        left: auto;
        right: 34px;
        bottom: 24px;
        transform: none;
        padding: 10px 18px;
        display: inline-flex;
        align-items: center;
        gap: 16px;
        direction: ltr;
        background: #ffffff;
        border-radius: 999px;
    }

    .center-gallery__pagination-panel .center-gallery__nav {
        position: static;
        transform: none;
        width: 30px;
        height: 30px;
        background: transparent;
        border-radius: 0;
    }

    .center-gallery__nav::before {
        content: '';
        width: 14px;
        height: 22px;
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;
        transform: none;
    }

    .center-gallery__nav--next::before {
        background-image: url('../img/gallery-next.png');
    }

    .center-gallery__nav--prev::before {
        background-image: url('../img/gallery-prev.png');
    }

    .center-gallery__nav--prev,
    .center-gallery__nav--next {
        right: auto;
        left: auto;
    }
    .swiper-pagination-horizontal.center-gallery__pagination,
    .center-gallery__pagination {
        position: static;
        transform: none;
        gap: 10px;
        width: auto;
        flex-direction: row-reverse;
        margin: 0;
        padding: 0;
        background: transparent;
    }

    .center-gallery__dot {
        width: 10px;
        height: 10px;
    }
}

@media (min-width: 1921px) {
    .center-gallery__swiper,
    .center-gallery__iframe-wrap {
        height: max(780px, calc((100vw - 191px) * 780 / 1720));
        aspect-ratio: auto;
    }
}
