.showcases {

    .container {
        @media (max-width: 480px) {
            padding: 0 27px;
        }
    }

    .content {
        position: relative;
        margin-top: -32px;
        background-color: #fff;
        border-top-left-radius: 32px;
        border-top-right-radius: 32px;
        z-index: 1;
    }
    /* Hero Section */

    .hero {
        position: relative;
        background: rgba(4, 4, 4, 0.9);
        padding: 27px 0;
    }

    .hero__background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: -1;
    }

    .hero__wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
    }

    .hero__content {
        flex: 0 1 50%;
        max-width: 524px;
    }

    @media (max-width: 840px) {
        .hero__content {
            flex: 1 1 100%;
            max-width: none;
            text-align: center;
        }
    }

    .hero__image {
        flex: 0 1 50%;
    }

    @media (max-width: 840px) {
        .hero__image {
            display: none;
        }
    }

    .hero__image-wrapper {
        position: relative;
        width: 100%;
        height: 650px;
        border-radius: 16px;
        overflow: hidden;
    }

    .hero__image-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    .hero__image-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 16px;
        background: rgba(5, 7, 42, 0.3);
        pointer-events: none;
    }

    .hero__title {
        font-size: 36px;
        line-height: 50px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 30px;
    }

    @media (max-width: 768px) {
        .hero__title {
            font-size: 28px;
            line-height: 40px;
            margin-bottom: 20px;
        }
    }

    .hero__title span {
        color: var(--color-red-text);
    }

    .hero__description {
        font-size: 16px;
        line-height: 24px;
        color: #fff;
        margin-bottom: 30px;
    }

    .hero__btn {
        max-width: 199px;
        width: 100%;
    }

    /* End of Hero Section */
    /* Showcase Section */
    .showcases-section__heading {
        padding: 25px 0 10px;
    }
    .showcases-section__title {
        font-size: 36px;
        line-height: 50px;
        font-weight: 700;
        color: #140101;
        text-align: center;
    }

    @media (max-width: 768px) {
        .showcases-section__title {
            font-size: 28px;
            line-height: 40px;
        }
    }

    .showcases-section__list-showcases {
        padding: 50px 0;
        @media (max-width: 480px) {
            padding: 27px 0;
        }
    }

    .showcases-section__showcase-item-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    .showcases-section__showcase-item {
        display: flex;
    }

    @media (max-width: 1024px) {
        .showcases-section__showcase-item {
            flex-direction: column;
            background-color: #E6F0FF;
            border-radius: 12px;
        }
    }

    .showcases-section__showcase-item-slider {
        position: relative;
        flex: 0 1 55%;
        min-width: 0;
    }

    .showcases-section__showcase-item-content {
        flex: 0 1 45%;
        min-width: 0;
        padding: 50px;
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        height: 500px;
        box-sizing: border-box;
    }

    @media (max-width: 1434px) {
        .showcases-section__showcase-item-content {
            padding: 30px;
        }
    }
    @media (max-width: 480px) {
        .showcases-section__showcase-item-content {
            padding: 20px;
        }
    }

    .showcases-section__showcase-item-content:before {
        content: "";
        position: absolute;
        inset: 0;
        left: -40px;
        right: 0;
        background-color: #E6F0FF;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        z-index: -1;
    }

    @media (max-width: 1024px) {
        .showcases-section__showcase-item-content:before {
            left: 0;
            border-radius: 12px;
        }
    }

    .showcases-section__showcase-item-title {
        font-size: 36px;
        line-height: 50px;
        font-weight: 500;
        color: #140101;
        margin-bottom: 30px;
    }

    @media (max-width: 1434px) {
        .showcases-section__showcase-item-title {
            font-size: 32px;
            line-height: 44px;
            margin-bottom: 20px;
        }
    }
    @media (max-width: 768px) {
        .showcases-section__showcase-item-title {
            font-size: 28px;
            line-height: 40px;
            margin-bottom: 15px;
        }
    }
    @media (max-width: 480px) {
        .showcases-section__showcase-item-title {
            font-size: 24px;
            line-height: 32px;
            margin-bottom: 15px;
            text-align: center;
        }
    }

    .showcases-section__showcase-item-description {
        font-size: 16px;
        line-height: 24px;
        color: #140101;
        margin-bottom: 30px;
        @media (max-width: 480px) {
            text-align: justify;
        }
    }

    .showcases-section__showcase-item-button {
        max-width: 199px;
        width: 100%;
        border-radius: 8px;
        @media (max-width: 480px) {
            margin: auto;
            height: 40px;
            padding: 0 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            line-height: 24px;
        }
    }

    .showcases-section__showcase-item-slide-wrapper {
        position: relative;
        width: 100%;
        height: 500px;
        border-radius: 16px;
        overflow: hidden;
        cursor: pointer;
    }
    @media (max-width: 768px) {
        .showcases-section__showcase-item-slide-wrapper {
            height: 400px;
        }
    }
    @media (max-width: 480px) {
        .showcases-section__showcase-item-slide-wrapper {
            height: 236px;
        }
    }

    .showcases-section__showcase-item-slide-wrapper::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border-radius: 16px;
        background: rgba(5, 7, 42, 0.3);
        pointer-events: none;
    }

    .showcases-slider-prev,
    .showcases-slider-next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: #ED1C24;
        border: none;
        border-radius: 50%;
        width: 68px;
        height: 68px;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .showcases-slider-prev:hover,
    .showcases-slider-next:hover {
        background-color: rgba(200, 20, 30, 1);
    }
    @media (max-width: 480px) {
        .showcases-slider-prev,
        .showcases-slider-next {
            width: 40px;
            height: 40px;
        }
    }

    .showcases-slider-prev {
        left: -34px;
    }

    @media (max-width: 1434px) {
        .showcases-slider-prev {
            left: 4px;
        }
    }

    .showcases-slider-next {
        right: -34px;
    }

    @media (max-width: 1434px) {
        .showcases-slider-next {
            right: 4px;
        }
    }
    @media (max-width: 480px) {
        .showcases-slider-prev {
            left: -20px;
        }
        .showcases-slider-next {
            right: -20px;
        }
    }

    .showcases-section__showcase-item + .showcases-section__showcase-item {
        margin-top: 100px;
    }
    @media (max-width: 1024px) {
        .showcases-section__showcase-item + .showcases-section__showcase-item {
            margin-top: 27px;
        }
    }

    .showcases-section__slider-navigation {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

    .showcases-section__showcase-item {
        user-select: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
    }

        /*popup*/

    .showcase-popup {
        position: fixed;
        inset: 0;
        display: flex;
        z-index: 9999;
        align-items: center;
        justify-content: center;
        padding: 20px;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
    }

    .showcase-popup.active {
        opacity: 1;
        visibility: visible;
    }

    .showcase-popup__overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(5, 7, 42, 0);
        transition: background-color 0.3s ease;
    }

    .showcase-popup.active .showcase-popup__overlay {
        background-color: rgba(5, 7, 42, 0.5);
    }

    .showcase-popup__content {
        position: relative;
        max-width: 1385px;
        height: auto;
        max-height: 80vh;
        background-color: rgba(5, 7, 42, 1);
        padding: 80px 30px 30px 30px;
        box-sizing: border-box;
        z-index: 1;
        border-radius: 16px;
        overflow-y: auto;
        overflow-x: hidden;
        transform: scale(0.9) translateY(20px);
        transition: transform 0.3s ease;
    }

    .showcase-popup.active .showcase-popup__content {
        transform: scale(1) translateY(0);
    }
    @media (max-width: 480px) {
        .showcase-popup__content {
            padding: 50px 15px 15px 15px;
        }
    }

    .showcase-popup__wrapper {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        align-items: flex-start;
        height: 100%;
        overflow: hidden;
        opacity: 0;
        transform: translateY(10px);
        transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
    }

    .showcase-popup.active .showcase-popup__wrapper {
        opacity: 1;
        transform: translateY(0);
    }
    @media (max-width: 1024px) {
        .showcase-popup__wrapper  {
            flex-direction: column;
        }
    }

    .showcase-popup__left {
        flex: 0 0 200px;
        position: relative;
        height: 100%;
        overflow: hidden;
    }

    .showcase-popup__thumbs-container {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .showcase-popup__thumbs-nav {
        width: 100%;
        height: 30px;
        background: #f5f5f5;
        border: 1px solid #ddd;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #666;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .showcase-popup__thumbs-nav:hover {
        background: #ED1C24;
        color: white;
        border-color: #ED1C24;
    }

    .showcase-popup__thumbs-nav:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        background: #f5f5f5;
        color: #ccc;
    }

    .showcase-popup__thumbs-prev {
        border-radius: 8px 8px 0 0;
        margin-bottom: 5px;
    }

    .showcase-popup__thumbs-next {
        border-radius: 0 0 8px 8px;
        margin-top: 5px;
    }

    .showcase-popup__right {
        flex: 0 0 auto;
        width: 100%;
        margin-top: 20px;
    }

    .showcase-popup__thumbs {
        width: 100%;
        height: calc(100% - 70px);
        max-height: 470px;
        overflow: hidden;
        padding: 0 3px;
        position: relative;
        flex: 1;
    }

    .showcase-popup__thumbs .swiper-wrapper {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
    }

    .showcase-popup__thumbs .swiper-slide {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
        cursor: pointer;
        padding: 3px;
        box-sizing: border-box;
        flex-shrink: 0;
    }

    .showcase-popup__thumbs .swiper-slide:first-child {
        margin-top: 0;
    }

    .showcase-popup__thumbs .swiper-slide img {
        width: 100%;
        height: 120px;
        object-fit: cover;
        border-radius: 8px;
        transition: all 0.3s ease;
        border: 3px solid transparent;
        box-sizing: border-box;
    }

    .showcase-popup__thumbs .swiper-slide:hover img {
        opacity: 0.8;
    }

    .showcase-popup__thumbs .swiper-slide-thumb-active img {
        border: 3px solid #ED1C24;
        opacity: 1;
    }

    @media (max-width: 1024px) {

        .showcase-popup__wrapper {
            flex-direction: column;
            gap: 20px;
        }

        .showcase-popup__left {
            flex: none;
            width: 100%;
            height: auto;
            order: 1;
        }

        .showcase-popup__thumbs-container {
            align-items: center;
            flex-direction: row;
            height: auto;
            width: 100%;
        }

        .showcase-popup__thumbs-nav {
            width: 60px;
            height: 60px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .showcase-popup__thumbs-nav:not(:disabled) {
            background: #f5f5f5;
            border-color: #ddd;
            cursor: pointer;
        }

        .showcase-popup__thumbs-nav:not(:disabled):hover {
            background: #ED1C24;
            color: white;
            border-color: #ED1C24;
        }

        .showcase-popup__thumbs-prev {
            border-radius: 8px 0 0 8px;
            margin-bottom: 0;
            margin-right: 10px;
        }

        .showcase-popup__thumbs-prev svg {
            transform: rotate(-90deg);
        }

        .showcase-popup__thumbs-next {
            border-radius: 0 8px 8px 0;
            margin-top: 0;
            margin-left: 10px;
        }

        .showcase-popup__thumbs-next svg {
            transform: rotate(-90deg);
        }

        .showcase-popup__center {
            order: 2;
        }

        .showcase-popup__thumbs {
            height: 100px;
            width: 100%;
            max-height: none;
        }

        .showcase-popup__thumbs .swiper-wrapper {
            flex-direction: row;
            align-items: center;
        }

        .showcase-popup__thumbs .swiper-slide {
            width: auto;
            height: 100px;
            margin-bottom: 0;
            margin-right: 15px;
            flex-shrink: 0;
        }

        .showcase-popup__thumbs .swiper-slide img {
            height: 100px;
            width: 100px;
        }

        .showcase-popup__thumbs .swiper-slide-thumb-active img {
            height: 94px;
            width: 94px;
        }

        .showcase-popup__right {
            order: 3;
            width: 100%;
        }
    }

    @media (max-width: 480px) {
        .showcase-popup__thumbs-nav {
            width: 40px;
            height: 40px;
        }
        .showcase-popup__thumbs .swiper-slide img {
            height: 60px;
            width: 60px;
        }
        .showcase-popup__thumbs .swiper-slide-thumb-active img {
            height: 54px;
            width: 54px;
        }
        .showcase-popup__thumbs .swiper-slide {
            height: 60px;
        }
        .showcase-popup__thumbs {
            height: 60px;
        }
    }

    .showcase-popup__main {
        width: 100%;
        max-width: 1000px;
        margin-bottom: 30px;
    }
    @media (max-width: 1024px) {
        .showcase-popup__main {
            max-width: 600px;
            margin: 0 auto 20px;
        }
    }
    @media (max-width: 768px) {
        .showcase-popup__main {
            max-width: 400px;
        }
    }
    @media (max-width: 560px) {
        .showcase-popup__main {
            max-width: 300px;
        }
    }
    @media (max-width: 410px) {
        .showcase-popup__main {
            max-width: 250px;
        }
    }
    @media (max-width: 375px) {
        .showcase-popup__main {
            max-width: 200px;
        }
    }

    .showcase-popup__main img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
        object-fit: cover;
        border-radius: 16px;
    }

    .showcase-popup__text {
        text-align: center;
        max-width: 890px;
        flex-shrink: 1;
    }

    .showcase-popup__text h3 {
        font-size: 36px;
        line-height: 50px;
        font-weight: 700;
        color: #fff;
        margin-bottom: 15px;
    }
    @media (max-width: 1024px) {
        .showcase-popup__text h3 {
            font-size: 32px;
            line-height: 44px;
            margin-bottom: 10px;
        }
    }
    @media (max-width: 768px) {
        .showcase-popup__text h3 {
            font-size: 28px;
            line-height: 40px;
            margin-bottom: 10px;
        }
    }
    @media (max-width: 480px) {
        .showcase-popup__text h3 {
            font-size: 18px;
            line-height: 26px;
            margin-bottom: 10px;
        }
    }

    .showcase-popup__text p {
        font-size: 16px;
        line-height: 24px;
        color: #fff;
        margin-bottom: 30px;
    }
    @media (max-width: 480px) {
        .showcase-popup__text p {
            font-size: 14px;
            line-height: 22px;
            margin-bottom: 20px;
        }
    }

    .showcase-popup__text a {
        max-width: 199px;
        width: 100%;
    }

    .showcase-popup__close {
        position: absolute;
        top: 15px;
        right: 15px;
        background: #ED1C24;
        width: 50px;
        height: 50px;
        border-radius: 12px;
        cursor: pointer;
        z-index: 10;

        display: flex;
        justify-content: center;
        align-items: center;

        transition: all 0.3s ease;
    }

    .showcase-popup__close:hover {
        background: rgba(200, 20, 30, 1);
    }
    @media (max-width: 480px) {
        .showcase-popup__close {
            top: 5px;
            right: 5px;
            width: 35px;
            height: 35px;
        }
    }

    .showcase-popup__content::-webkit-scrollbar,
    .showcase-popup__center::-webkit-scrollbar {
        width: 5px;
        height: 5px;
    }

    .showcase-popup__content::-webkit-scrollbar-track,
    .showcase-popup__center::-webkit-scrollbar-track {
        background: #fff;
        border-radius: 16px;
    }

    .showcase-popup__content::-webkit-scrollbar-thumb,
    .showcase-popup__center::-webkit-scrollbar-thumb {
        background: #FF0000;
        border-radius: 16px;
    }

    .showcase-popup__content::-webkit-scrollbar-thumb:hover,
    .showcase-popup__center::-webkit-scrollbar-thumb:hover {
        background: rgba(200, 20, 30, 1);
    }

    .pagination {
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-top: 50px;
    }

    @media (max-width: 480px) {
        .pagination {
            margin-top: 30px;
            gap: 20px;
        }
    }

    .page-numbers.current {
        background-color: #ED1C24;
        font-size: 15px;
        line-height: 35px;
        color: #fff;
        border-radius: 5px;
        min-width: 35px;
        height: 35px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .page-numbers {
        display: flex;
        align-items: center;
        position: relative;
        padding: 4px;
        background-color: #F8F8F8;
        border-radius: 5px;
    }

    .page-numbers a {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 35px;
        height: 35px;
        font-size: 15px;
        color: #140101;
        text-decoration: none;
    }

    .page-number {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 35px;
        height: 35px;
    }

    .page-number a {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 35px;
        height: 35px;
        font-size: 15px;
        color: #140101;
        text-decoration: none;
        background-color: #F8F8F8;
        border-radius: 5px;
    }

    .page-number .current {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 35px;
        height: 35px;
        font-size: 15px;
        color: #fff;
        background-color: #ED1C24;
        border-radius: 5px;
    }

    .next-page-btn {
        position: relative;
        font-size: 14px;
        line-height: 43px;
        color: #ED1C24;
    }

    .next-page-btn:before {
        content: "";
        position: absolute;
        top: calc(50% + 1px);
        right: -12px;
        width: 8px;
        height: 8px;
        border-top: 2px solid #ED1C24;
        border-right: 2px solid #ED1C24;
        transform: translateY(-50%) rotate(45deg);
    }

    /* End of Showcase Section */
}
/* Стиль подсказки при наведении */
.marker-tooltip {
    background: #ED1C24;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    font-family: sans-serif;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.marker-tooltip:before {
    border-top-color: #ED1C24 !important; /* Стрелочка тултипа */
}

/* Фикс для кастомного маркера (чтобы клик работал точно) */
.custom-marker {
    background: none !important;
    border: none !important;
    cursor: pointer !important;
}
.hero-leaflet-map .leaflet-container {
	max-height: 50vh;
	z-index: 0;
}