.popup {
    position: fixed;
    right: 150px;
    width: 370px;
    height: 490px;
    font-family: 'Montserrat', Arial, Helvetica;
    background-color: transparent;
    box-sizing: border-box;
    z-index: 99999999;
    transform: translateX(600px);
    animation: 1s ease-out 2s forwards popupSlide;
    border-radius: 30px;
    padding: 0;
    background-color: #feec8d;
}

@keyframes popupSlide {
	from {
		transform: translateX(600px);
	}
	to {
		transform: translateX(0);
	}
}

.popup * {
    box-sizing: border-box;
}

.popup__slider {
    margin-left: -30px;
    margin-top: -30px;
    height: 100%;
}

.popup__slider .slick-slide {
    padding-top: 20px;
    padding-left: 20px;
}

.popup__slide {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border-radius: 30px;
    background-color: transparent;
}

.popup__content {
    position: relative;
    margin: -30px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 1;
    color: #2c2c2c;
    min-height: 210px;
}

.popup__subtitle {
    position: relative;
    align-self: center;
    max-height: 34px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 300;
    text-align: center;
    margin: 20px 0 0 0;
    color: #474747;
}

.popup__title {
    font-family: "Playfair Display",serif;
    font-size: 20px;
    line-height: 24px;
    text-align: center;
    margin: 15px 0 0 0;
}

.popup__text {
    font-size: 14px;
    line-height: 18px;
    text-align: center;
    font-weight: 300;
    margin: 10px 0 0 0;
}

.popup__subtitle:after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: -10px;
    display: block;
    width: 64px;
    height: 1px;
    background-color: #e9d981;
}

.popup__subtitle:before {
    left: 0;
}

.popup__subtitle:after {
    right: 0;
}

.popup__img-wrapper {
    position: relative;
    top: -20px;
    left: -20px;
    min-height: 250px;
    border-radius: 30px;
    overflow: hidden;
}

.popup__img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
}

.popup__btn {
    background-color: unset;
    border: none;
    text-decoration: none;
    font-family: inherit;
    padding: 0;
    margin: 0;
    cursor: pointer;
    appearance: none;
}

.popup__btn_prev {
    position: absolute;
    bottom: 85px;
    left: 140px;
    width: 42px;
    height: 42px;
	transform: rotate(180deg);
    background: url('img/arrow-norm.svg') center center no-repeat;
}

.popup__btn_next {
    position: absolute;
    bottom: 85px;
    right: 140px;
    width: 42px;
    height: 42px;
    background: url('img/arrow-norm.svg') center center no-repeat;
}

.popup__btn_link {
    margin: 30px auto;
    border: none;
    height: 50px;
    padding: 10px 35px;
    border-radius: 70px;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    color: #ffffff;
    background-color: #6cb723;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup__btn_close {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 30px;
    height: 30px;
    border-radius: 100%;
    background-color: rgb(251 238 137 / 81%);
    z-index: 1;
}

.popup__btn_close:before,
.popup__btn_close:after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	display: block;
	width: 20px;
	height: 2px;
	background-color: #a69a5c;
	transform-origin: center center;
}

.popup__btn_close:before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.popup__btn_close:after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.slick-list,
.slick-track {
	height: 100%;
}

@media screen and (max-width: 768px) {
	.popup {
		top: 120px!important;
		right: calc(50% - 185px);
        height: 450px;
	}
    .popup__img-wrapper {
        min-height: 180px;
    }
	.popup__btn_link {
		margin: 0 auto;
	}
	.popup__btn_prev,
	.popup__btn_next {
		bottom: 100px;
	}
	.popup__btn_prev {
		left: calc(50% - 45px);
	}
	.popup__btn_next {
		right: calc(50% - 45px);
	}
	.popup__subtitle {
		margin: 0;
	}

	.popup__btn_prev,
	.popup__btn_next {
		width: 40px;
		height: 40px;
	}

}

@media screen and (max-width: 400px) {
	.popup {
		right: calc(50% - 145px);
		width: 280px;
	}

	.popup__slider {
		background-size: contain;
	}

	.popup__btn_link {
		flex: 0 0 45px;
		font-size: 16px;
		line-height: 24px;
		margin: 0 45px;
	}
	.popup__img {
		height: calc(100% - 54px);
	}
    .popup__title {
        font-size: 17px;
    }
}

