.routesBlock {
    overflow: hidden;
}

.routesBlock .container {
    padding-bottom: 180px;
    position: relative;
}

.routesBlock-map-background {
    position: absolute;
    top: 0;
    left: -70px;
    z-index: -1;
}

.routesBlock-subtitle {
    margin-top: 32px;
}

.routesBlock-wrapper {
    margin-top: 48px;
    display: flex;
    justify-content: center;
    gap: 48px;
}

.routesBlock-item {
    width: 600px;
}

.routesBlock-item-top {
    padding: 32px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #DCF7D0;
}

.routesBlock-item-top span {
    font-size: 24px;
    font-weight: 400;
    line-height: 150%;
}

.routesBlock-item-top img {
    margin-right: 18px;
}

.routes-slider {
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    background: #F6F6F6;
    padding: 32px 40px;
}

.routes-slider-item {
    padding-bottom: 24px;
    margin-bottom: 100px;
    border-bottom: 1px solid #BDEFA7;
}

.routes-slider-item a {
    text-decoration: none;
    display: block;
    color: var(--black);
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    cursor: pointer;
    transition: var(--trans);
    margin-bottom: 16px;
}

.routes-slider-item a:hover {
    color: var(--green);
}

.slick-dots {
    display: flex;
    justify-content: center;
}

.slick-dots li {
    font-size: 0;
    width: 8px;
    height: 8px;
    background: #ADADAD;
    border-radius: 50%;
    border: none;
    margin: 0 12px;
}

.slick-dots li button {
    border: none;
}

.slick-dots li.slick-active {
    background-color: var(--green);
}

.routes-slider .slick-dots {
    position: absolute;
    bottom: 62px;
    left: 0;
    right: 0;
}

.routes-slider .slick-arrow {
    position: absolute;
    bottom: 40px;
    left: 100px;
}

.routes-slider .slick-next {
    left: auto;
    right: 100px;
}

/* Map */
.map {
    background-color: #F6F6F6;
    overflow: hidden;
}

.map-top {
    max-width: 788px;
    position: relative;
    z-index: 2;
}

.map-top__text {
    max-width: 553px;
    margin-top: 32px;
}

.map-wrapper {
    display: flex;
    justify-content: space-between;
}

.map-content {
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.map-content__item {
    margin-bottom: 48px;
}

.map-content__item:last-child {
    margin-bottom: 0;
}

.map-content__item-title {
    font-size: 24px;
    font-weight: 400;
    line-height: 140%;
    margin-bottom: 24px;
}

.map-content__item-text {
    font-size: 16px;
    font-weight: 400;
    line-height: 150%;
    position: relative;
    padding-left: 40px;
}

.map-content__item-text::before {
    content: '';
    width: 23px;
    height: 24px;
    background-image: url(../../images/shipping/snowflake.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.map .states-info {
    display: none;
}

.map .statesBlock-box {
    padding-left: 0;
}

.map .shipping-states-map {
    position: relative;
    z-index: 2;
    max-width: 780px;
    overflow: visible;
}

.map .states-background-bottom,
.map .states-background-top,
.map .states-background-top-small {
    z-index: 1;
}

.map .state-item:not(.is-active):hover .state-item__area {
    fill: #fff;
}

.map #state_full_name {
    display: none !important;
}

.map .state-item {
    cursor: default;
}

.map .ellipse-big,
.map .ellipse-small {
    display: none;
}

.map .states-background-top {
    max-width: 1170px;
    top: -328px;
    left: -259px;
}

.map .states-background-bottom {
    max-width: 430px;
    bottom: -191px;
    left: 89px;
}

.state-item.is-active .state-item__area {
    fill: #93E373;
}

.state-item path {
    /* cursor: pointer; */
    transition: var(--trans);
}

.state-item:hover .state-item__area {
    fill: #93E373;
}

/* Стили для линии маршрута со стрелкой */
.route-arrow-line {
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(63, 164, 32, 0.2));
}


@media screen and (max-width: 1640px) {
    .map-content {
        width: 570px;
    }
}

@media screen and (max-width: 1439px) {
    .map-content {
        width: 450px;
    }

    .map .shipping-states-map {
        max-width: 700px;
    }

    .map .states-background-top-small {
        max-width: 1050px;
        top: -626px;
        left: -219px;
    }

    .map .states-background-bottom {
        max-width: 385px;
        bottom: -104px;
        left: 80px;
    }

    .routesBlock-item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width: 1199px) {
    .map-wrapper {
        flex-direction: column;
    }

    .map-content {
        width: 100%;
    }

    .routes-slider .slick-arrow {
        left: 40px;
    }

    .routes-slider .slick-next {
        right: 40px;
        left: auto;
    }
}

@media screen and (max-width: 1023px) {
    .routesBlock-wrapper {
        gap: 20px;
    }

    .routesBlock-item {
        width: calc(50% - 10px);
    }

    .routesBlock-wrapper {
        margin-top: 24px;
    }

    .routesBlock-item-top,
    .routes-slider {
        padding: 24px 20px;
    }

    .routes-slider .slick-arrow {
        left: 20px;
    }

    .routes-slider .slick-next {
        right: 20px;
        left: auto;
    }

    .slick-dots li {
        margin: 0 10px;
    }

    .routesBlock .container {
        padding-bottom: 80px;
    }

    .routesBlock-map-background {
        left: -220px;
        max-width: 980px;
    }
}

@media screen and (max-width: 767px) {
    .map .states-background-top-small {
        max-width: 810px;
        top: -476px;
        left: -162px;
    }

    .map .states-background-bottom {
        max-width: 300px;
        bottom: -80px;
        left: 62px;
    }

    .map .states-map {
        margin-top: 30px;
    }

    .routesBlock-wrapper {
        flex-direction: column;
        gap: 32px;
    }

    .routesBlock-item {
        width: 100%;
    }
}

@media screen and (max-width: 574px) {
    .map .states-slider-mobile {
        display: none;
    }

    .map .states-map {
        position: relative;
    }

    .map .shipping-states-map {
        display: block;
    }

    .map .states-background-top-small {
        max-width: 570px;
        top: -340px;
        left: -119px;
    }

    .map .states-background-bottom {
        max-width: 210px;
        bottom: -57px;
        left: 43px;
    }

    .map-content__item-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .map-content__item {
        margin-bottom: 24px;
    }

    .routesBlock-item-top span {
        font-size: 20px;
    }

    .routesBlock-item-top img {
        max-width: 36px;
        margin-right: 12px;
    }
}

@media screen and (max-width: 410px) {
    .map .states-background-top-small {
        display: none !important;
    }

    .map .states-background-bottom {
        display: none !important;
    }

}

@media screen and (max-width: 359px) {
    .map .states-map {
        margin-top: 16px;
    }

    .map-content__item-text {
        padding-left: 0px;
    }

    .map-content__item-text::before {
        display: none;
    }

    .slick-dots li {
        margin: 0 6px;
    }

    .routesBlock-map-background {
        max-width: 700px;
    }
}