.gallery-block {
	display: flex;
	align-items: center;
	background-repeat: repeat-x;
	background-size: auto 100%;
	background-position: top center;
	display: flex;
	width: 100vw;
	margin-left: calc(-50vw + 50%);
	padding-bottom: 100px;
}

.gallery-block__container {
	display: flex;
	gap: 80px;
}

.gallery-slider {
	flex: 1 0 50%;
	position: relative;
	align-self: flex-start;
	overflow: hidden;
}

.gallery-swiper {
	border-radius: var(--site-border-radius);
	border: 5px solid var(--site-dark-accent-color);
	overflow: hidden;
}

.gallery-slider .swiper-slide {
	width: 100%;
	aspect-ratio: 3/2;
}

.gallery-slider .swiper-slide img,
.gallery-slider .swiper-slide video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gallery-slider .video-wrap {
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.gallery-info {
	display: flex;
	flex-direction: column;
	gap: 30px;
	background: var(--site-bg-color);
}

.gallery-info__price {
	display: flex;
	align-items: center;
	border: 5px solid var(--site-dark-accent-color);
	border-radius: 50px;
	font-weight: 600;
	position: relative;
	width: 100%;
	height: 76px;
	padding: 20px 30px;
	margin-top: auto;
}

.gallery-info__price-mob {
	display: none;
}

.gallery-info__price .g-button-rounded {
	position: absolute;
	right: -5px;
	top: -5px;
}

.gallery-slider .swiper-button-wrapper {
	position: absolute;
	bottom: 20px;
	right: 20px;
	z-index: 1;
}

.gallery-slider .swiper-button-wrapper .swiper-button {
	padding: 20px 15px;
	display: flex;
}

.gallery-slider .swiper-button-wrapper .swiper-button svg {
	width: 42px;
}

.index-first-screen__border {
	margin-top: 0px;
}

@media (max-width: 1440px) {
	.gallery-info__price {
		border: 3px solid var(--site-dark-accent-color);
		height: 63px;
		padding: 20px 30px;
	}

	.gallery-info__price .g-button-rounded {
		right: -3px;
		top: -3px;
	}
}

@media (max-width: 1200px) {
	.gallery-block__container {
		gap: 40px;
		flex-direction: column-reverse;
	}

	.gallery-info__price {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 25px;
		border: none;
		height: auto;
		padding: 0;
	}

	.gallery-info__price-price {
		border: 3px solid var(--site-dark-accent-color);
		border-radius: 50px;
		width: 100%;
		padding: 17px;
		height: 63px;
		text-align: center;
	}

	.gallery-info__price .g-button-rounded {
		position: relative;
		right: 0;
		width: 100%;
		top: -3px;
	}

	.gallery-slider {
		margin: 0 auto;
		max-width: 75%;
	}

	.gallery-swiper {
		border-width: 3px;
	}

	.gallery-block {
		padding-bottom: 50px;
	}
}

@media (max-width: 767px) {
	.gallery-block {
		min-height: auto;
		padding-bottom: 20px;
	}

	.gallery-block__container {
		flex-direction: column-reverse;
		gap: 30px;
		height: 100%;
	}

	.gallery-slider {
		flex: 0 1 100%;
		width: 100%;
		max-width: 100%;
	}

	.gallery-info {
		text-align: center;
	}

	.gallery-info__price {
		display: none;
	}

	.index-first-screen__border {
		margin-top: 30px;
	}

	.gallery-info__price-mob {
		display: flex;
		flex-direction: column;
		align-items: center;
		margin-top: 25px;
	}

	.gallery-info__price-mob .gallery-info__price-price {
		width: 100%;
		border: 3px solid var(--site-dark-accent-color);
		font-weight: 600;
		font-size: 30px;
		line-height: 90%;
		letter-spacing: -5%;
		padding: 15px;
		border-radius: 40px;
		width: 280px;
		text-align: center;
	}

	.gallery-info__price-mob .g-button-rounded {
		width: 280px;
		margin-top: -3px;
	}
}

/* PACKAGE */

.package-slider__track .package-slider__slide:last-child::after {
	content: "";
	background-image: url("../../img/content/decor-5.png");
	display: block;
	position: absolute;
	top: -30px;
	right: -25px;
	width: 89px;
	height: 82px;
	z-index: 1;
}

.package-slider__slide {
	height: auto;
}

.package-card {
	border-radius: var(--site-border-radius);
	background-color: var(--site-dark-accent-color);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.package-card__title {
	background-color: var(--site-accent-color);
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 20px;
	border-radius: var(--site-border-radius);
	margin-bottom: 15px;
	text-align: center;
	position: relative;
	top: -1px;
}

.package-card__program-wrapper {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 20px 25px;
	color: var(--site-accent-color);
}

.package-program__item {
	display: flex;
	align-items: center;
	gap: 15px;
}

.package-program__item svg {
	min-width: 16px;
}

.package-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 10px 25px 20px;
	margin-top: auto;
}

.package-actions__price {
	background-color: var(--site-white-accent-color);
	color: var(--site-dark-accent-color);
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	padding: 15px 0;
	border-radius: 10px;
	font-size: 30px;
}

.package-actions .g-button {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.package-actions .g-button:hover {
	background-color: var(--site-dark-accent-color);
	color: var(--site-white-accent-color);
}

.custom-nav-swiper.package-slider .swiper-button-wrapper,
.custom-nav-swiper.popups-slider .swiper-button-wrapper {
	justify-content: end;
}

@media (max-width: 767px) {
	.package-slider__track .package-slider__slide:last-child::after {
		content: "";
		background-image: url("../../img/content/decor-5.png");
		background-size: contain;
		display: block;
		position: absolute;
		top: -15px;
		right: -12px;
		width: 45px;
		height: 41px;
		z-index: 1;
	}

	.package-card {
		border-width: 3px;
	}

	.package-card__title {
		border-width: 3px;
		padding: 25px 10px;
	}

	.package-card__program-wrapper {
		padding: 15px;
	}

	.package-program__item {
		gap: 10px;
	}

	.package-program__item svg {
		min-width: 11px;
		width: 11px;
	}

	.package-actions__price {
		border-width: 3px;
		padding: 7px;
	}
}
