@media (max-width: 1800px) {
	.homepage__top-v3 {
		height: 599px;
		background-size: 125%;
		background-position: top center;
	}
	.homepage__top-v3-panel {
		margin: 55px auto;
		max-width: 80%;
		height: 86px;
	}
	.glass-color__wrap-inner img {
		width: auto;
		max-width: 81%;
		height: 100%;
		margin: 0 41px;
	}
	.glass-color__delivery {
		border: 1px solid silver;
		border-radius: 5px;
		width: 81%;
		margin: 0 34px;
	}
	.homepage__top-v3-panel-1, .homepage__top-v3-panel-3 {
		font-size: 18px;
	}
	.call-btn-zam {
		font-size: 18px;
	}
	.homepage__top-v3-wrap h1 {
		font-size: 40px;
	}
	.homepage__top-v3-text-4 {
		font-size: 20px;
	}
	.homepage__top-v3-text-2 {
		font-size: 20px;
	}
	.container-catalog,
	.container {
		max-width: 1700px;
		padding: 0 130px;
	}
}
@media screen and (max-width: 1700px) {
	.container-catalog,
	.container {
		max-width: 1540px;
		padding: 0 130px;
	}
}
@media screen and (max-width: 1600px) {
	.section-help-white button[type="submit"] {
		width: 100% !important;
	}
	.swiper-review {
		margin: 0 60px;
	}
	.form_calc label {
		font-size: 13px;
		line-height: 17px;
	}
}

@media screen and (min-width: 870px) and (max-width: 1100px) {
	.call-btn-zam {
		display: none;
	}
	.form__clear {
		display: none;
	}
	.form__clear-mobile {
		display: none;
	}
	.homepage__top-v3-text-1,
	.homepage__top-v3-text-2,
	.homepage__top-v3-text-3,
	.homepage__top-v3-panel-1, .homepage__top-v3-panel-3 {
		font-size: 16px;
	}
	.homepage__top-v3-wrap h1 {
		font-size: 36px;
	}
	.homepage__top-v3-panel-2 a {
		font-size: 13px;
	}
	.homepage__top-v3-wrap {
		top: 130px !important;
		transform: translate(-50%, 0);
	}
}
@media screen and (max-width: 1440px) {
	.container-catalog,
	.container {
		max-width: 1170px;
		padding: 0 20px;
	}
	.homepage__catalog-text {
		font-size: 24px;
	}
	.homepage__top-v3-wrap {
		top: 40%;
	}
	.section-help-white__title {
		font-size: 30px;
		line-height: 40px;
	}
	.calc__container-parametr label {
		width: 100%;
	}
	.color_price__img {
		height: 60px;
	}
	.color_price__img {
		margin: 0 7px 0 0;
	}
	

}
@media screen and (max-width: 1300px) {
	.homepage__top h1, .homepage__top-subtitle {
		font-size: 54px;
	}
	.homepage__top > div:nth-child(1) {
		padding: 0 80px 0 0;
	}
	.tinkoff-close {
		right: 6%;
		top: 60px;
	}
	.tinkoff_block__uslovia > div {
		flex: 0 calc(25% - 10px);
		margin: 0 5px;
	}
	.footer__section-3 > div:nth-child(1) {
		flex: 0 calc(50% - 70px);
		padding: 0 120px 0 0;
	}
	.footer__section-3 > div:nth-child(3) {
		flex: 0 calc(50% - 70px);
		padding: 0 0 0 120px;
	}
	.color_price__img {
		margin: 0 10px 0 0;
	}
	
			.hero-measure {

    background-size: 105% auto;
  
}
}
@media (max-width: 1575px) {
	.homepage__top-v2-wrap {
		top: 43%;
	}
}
@media screen and (max-width: 1200px) {
	.homepage__top-v3-wrap {
		top: 45%;
	}
	.homepage__top h1, .homepage__top-subtitle {
		font-size: 50px;
		line-height: 58px;
	}
	.header__top {
		margin: -24px 0;
	}
	.homepage__top-bullits > div p {
		font-size: 16px;
	}
	.homepage__top-bullits > div img {
		height: 66px;
		width: auto;
	}
	.homepage__top > div:nth-child(1) {
		padding: 0 60px 0 0;
	}
	.homepage__example-list > div:nth-child(1), .homepage__example-list > div:nth-child(3) {
		flex: 0 330px;
	}
	.homepage__example-list > div:nth-child(2) {
		flex: 0 calc(100% - 660px);
	}
	.homepage__example-video {
		width: 330px;
	}
	.pickup_barrier__form .form_subtitle {
		padding: 20px 60px !important;
	}
	.constr-type > div img {
		width: 100%;
		height: auto;
	}
	.footer__section-3 > div:nth-child(1) {
		padding: 0 80px 0 0;
	}
	.footer__section-3 > div:nth-child(3) {
		padding: 0 0 0 80px;
	}
	.swiper-video iframe {
		width: 250px !important;
	}
	.glass-color__delivery-title {
		font-size: 18px;
		line-height: 100%;
	}
	.form_calc label {
		font-size: 12px;
		padding: 8px 10px;
	}
	.color_price__img {
		height: 55px;
	}
}
@media screen and (max-width: 1100px) {
	.homepage__top > div:nth-child(1) {
		flex: 0 calc(100% - 350px);
		padding: 0 50px 0 0;
	}
	.homepage__top > div:nth-child(2) {
		flex: 0 350px;
	}
	.homepage__catalog-list > div img {
		height: 280px;
	}
	.homepage__catalog-list h3 {
		font-size: 17px;
	}
	.homepage__example-list > div:nth-child(1), .homepage__example-list > div:nth-child(3) {
		flex: 0 300px;
	}
	.homepage__example-list > div:nth-child(2) {
		flex: 0 calc(100% - 600px);
	}
	.homepage__example-video {
		width: 300px;
		height: 100%;
	}
	.homepage__example-list > div:nth-child(2) video {
		height: 100%;
	}
	.homepage__example-list > div:nth-child(1) img {
		height: 100%;
	}
	.homepage__example-photo {
		height: 100%;
		width: auto;
	}
	.popup__tinkoff-uslovia-list-title {
		padding: 0 20px;
	}
	.tinkoff-close path {
		fill: #000;
	}
	.section-help-white button[type="submit"] {
		font-size: 15px !important;
	}
	.calc__container > div:nth-child(3) {
		flex: 0 40%;
	}
	.info-mobile {
		display: block;
	}
	.glass-color__benefits-title {
		text-align: center;
	}
	.glass-color__benefits.glass-color__benefits-mobile {
		display: block;
	}
	.glass-color__srok {
		margin: 20px 0;
	}
	.glass-color-choice > div,
	.calc__container-parametr-furn-repeater > div,
	.calc__container-parametr-wrap > div,
	.calc__container-parametr-storona > div,
	.calc__container-parametr-class > div {
		flex: 0 calc(45% - 10px);
	}
	.form__calc-services {
		width: calc(45% - 10px);
	}
	.calc__container > div:nth-child(1) {
		flex: 0 400px;
	}
	.calc__container > div:nth-child(2) {
		flex: 0 calc(100% - 400px);
	}
}
@media screen and (max-width: 1024px) {
	header {
		padding: 0;
	}
	.swiper-video {
		width: 900px;
		margin: 0 auto;
	}
	.swiper-video .swiper-button-next {
		right: 6% !important;
	}
	.swiper-video .swiper-button-prev {
		left: 6% !important;
	}
	.calc__container > div:nth-child(2),
	.calc__container > div:nth-child(3) {
		flex: 0 50%;
	}
	.glass-color__delivery {
		padding: 0 40px 0 0;
	}
	.calc-page__wrap {
		margin: 80px 0 0 0;
	}
	.calc__container-title {
		padding: 50px 0;
	}
	.header__top {
		margin: 0;
	}
	.calc__list {
		padding: 30px 0 60px 0;
	}
	.header__work {
		text-align: center;
		position: relative;
		top: 5px;
		display: none;
	}
	.header__desktop {
		padding: 0;
	}
	.header__top > div:nth-child(2) {
		flex: 0 auto;
	}
	.header__top-contacts > div:nth-child(2) {
		padding: 0;
	}
	.homepage__top > div:nth-child(1) {
		padding: 0 50px 0 0;
	}
	.homepage__top > div:nth-child(1) {
		flex: 0 calc(100% - 300px);
		padding: 0 50px 0 0;
	}
	.homepage__top > div:nth-child(2) {
		flex: 0 300px;
	}
	.homepage__top-bullits > div p {
		font-size: 15px;
		line-height: 20px;
	}
	.homepage__top-btn {
		margin: 40px auto 0 auto;
	}
	.homepage__top-bullits {
		padding: 40px 0 0 0;
	}
	.homepage__top h1, .homepage__top-subtitle {
		font-size: 44px;
		line-height: 50px;
	}
	.homepage__catalog-list > div img {
		height: 230px;
	}
	.homepage__catalog-list h3 {
		font-size: 14px;
		line-height: 18px;
		min-height: 94px;
	}
	.homepage__catalog-price {
		font-size: 16px;
		padding: 15px 0 0 0;
	}
	.homepage__catalog-text {
		font-size: 2.4vw;
		line-height: 3.2vw;
	}
	.homepage__vantage-list > div p {
		font-size: 16px;
		line-height: 20px;
	}
	.homepage__vantage-title {
		font-size: 36px;
		line-height: 40px;
	}
	nav {
		display: none;
	}
	.catalog__calc {
		width: 900px;
	}
	.catalog__calc-form > div:nth-child(1) {
		flex: 0 calc(100% - 300px);
	}
	.catalog__calc-form > div:nth-child(2) {
		flex: 0 300px;
	}
	.homepage__example-list > div:nth-child(1), .homepage__example-list > div:nth-child(3) {
		flex: 0 260px;
	}
	.homepage__example-list > div:nth-child(2) {
		flex: 0 calc(100% - 520px);
	}
	.homepage__example-video {
		width: 260px;
	}
	.homepage__vantage-desktop {
		display: none;
	}
	.homepage__vantage-desktop-v2 {
		display: none;
	}
	.homepage__vantage-mobile {
		display: block;
	}
	.page_thanks__title {
		margin: 0;
	}
	.homepage__vantage {
		padding: 80px 0 0 0;
		display: none;
	}
	.tinkoff_block__rass > div:nth-child(1) {
		order: 2;
		flex: 0 100%;
		padding: 0;
	}
	.tinkoff_block__rass > div:nth-child(2) {
		order: 1;
		flex: 0 100%;
		padding: 0 0 20px 0;
	}
	.tinkoff_block__rass > div:nth-child(2) img {
		margin: 0 auto;
		display: block;
		width: 40%;
	}
	.popup__tinkoff {
		width: 90%;
		left: 5%;
		transform: translate(0%,-50%);
	}
	.tinkoff-img {
		width: 300px;
	}
	.header__top-mobile > div:nth-child(1) {
		flex: 0;
	}
	.choice-mobile {
		display: block;
	}
	.choice-desktop {
		display: none;
	}
	.calc__container-title-home {
		bottom: 52px;
	}
	.homepage__etaps-list > div {
		flex: 0 calc(108% - 30px);
		margin: 0 15px 50px 15px;
	}
	.swiper-video iframe {
		width: 230px !important;
	}
	.calc-page__text {
		max-width: 80%;
		font-size: 15px;
		margin: 0px auto 0px;
	}
	.section-help-white-block > div:nth-child(1) {
		flex: 0 275px;
	}
	.section-help-white-block > div:nth-child(2) {
		flex: 0 calc(100% - 275px);
		padding: 0 0 0 50px;
	}
	.section-help-white-block > div:nth-child(1) img {
		width: 100%;
	}
	.container-catalog, .container {
		padding: 0 20px;
	}
	.calc__container > div:nth-child(1) {
		flex: 0 320px;
	}
	.calc__container > div:nth-child(2) {
		flex: 0 calc(100% - 320px);
	}
	
		.calc-page__advantages {
		display: grid !important;
		grid-template-columns: repeat(4, 1fr) !important;
		gap: 25px !important;
		margin: 35px 0 45px 0 !important;
		padding: 0 !important;
		border: none !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.calc-page__adv {
		display: block !important;
		padding: 0 !important;
		margin: 0 !important;
		border: none !important;
		text-align: left !important;
	}

	.calc-page__adv-icon {
		width: 46px !important;
		height: 46px !important;
		min-width: 46px !important;
		margin: 0 0 12px 0 !important;
		background-size: contain !important;
		background-repeat: no-repeat !important;
		background-position: left center !important;
		font-size: 0 !important;
	}

	.calc-page__adv:nth-child(1) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-1.png') !important;
	}

	.calc-page__adv:nth-child(2) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-2.png') !important;
	}

	.calc-page__adv:nth-child(3) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-3.png') !important;
	}

	.calc-page__adv:nth-child(4) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-4.png') !important;
	}

	.calc-page__adv strong {
		display: block !important;
		font-size: 15px !important;
		line-height: 19px !important;
		margin: 0 0 7px 0 !important;
	}

	.calc-page__adv p {
		font-size: 13px !important;
		line-height: 18px !important;
		margin: 0 !important;
	}
	
		.calc-page__wrap .category-btn {
		gap: 18px;
		margin: 45px 0 40px 0;
	}

	.calc-page__wrap .category-btn-item-wrap {
		gap: 16px;
	}

	.calc-page__wrap .category-btn-item p {
		min-width: 145px;
		height: 54px;
		font-size: 15px;
	}
	
.calc-about-block {
		display: block !important;
		margin: 40px 0 35px 0 !important;
		padding: 34px 28px !important;
		background: #fbfbfb7d!important;
		border-radius: 18px !important;
		overflow: hidden !important;
	}

	.calc-about-text {
		max-width: 100% !important;
		margin: 0 0 28px 0 !important;
	}

	.calc-about-items {
		display: grid !important;
		grid-template-columns: repeat(3, 1fr) !important;
		gap: 22px 18px !important;
	}

	.calc-about-item {
		background: transparent !important;
		box-shadow: none !important;
		padding: 0 !important;
		min-height: auto !important;
		text-align: center !important;
	}

	.calc-about-item span {
		width: 56px !important;
		height: 56px !important;
		margin: 0 auto 10px auto !important;
	}

	.calc-about-item strong {
		font-size: 14px !important;
		line-height: 18px !important;
		margin: 0 0 6px 0 !important;
	}

	.calc-about-item p {
		display: block !important;
		font-size: 12px !important;
		line-height: 16px !important;
		color: #666 !important;
		margin: 0 !important;
	}
	
	


}

@media screen and (max-width: 900px) {
	.swiper-video {
		width: 768px;
	}
	

	.swiper-video .swiper-button-prev {
		left: 4% !important;
	}
	.swiper-video .swiper-button-next {
		right: 4% !important;
	}
	.calc__container-title-home {
		display: none;
	}
	.homepage__top h1, .homepage__top-subtitle {
		font-size: 4.6vw;
		line-height: 5vw;
	}
	.homepage__top > div:nth-child(1) {
		flex: 0 calc(100% - 270px);
		padding: 0 50px 0 0;
	}
	.homepage__top > div:nth-child(2) {
		flex: 0 270px;
	}
	.homepage__top-bullits > div p {
		font-size: 1.7vw;
		line-height: 2.5vw;
	}
	.homepage__catalog-list > div {
		flex: 0 33.33%;
		margin: 0 0 40px 0;
	}
	.homepage__catalog-list h3 {
		font-size: 15px;
		line-height: 19px;
	}
	.homepage__vantage-list > div p {
		font-size: 13px;
		line-height: 17px;
	}
	.catalog__calc {
		width: 90%;
		left: 5%;
		transform: translateX(0%);
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-inline ul.wpforms-image-choices-modern li {
		width: calc(33.33% - 10px) !important;
	}
	.wpforms-field-radio .wpforms-image-choices-label,
	.wpforms-field-radio:nth-child(1) .wpforms-image-choices-label,
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-selected .wpforms-image-choices-label {
		font-size: 13px !important;
	}
	.catalog__calc-text, .catalog__calc-text strong {
		font-size: 14px;
		line-height: 18px;
	}
	.wpforms-field-radio:nth-child(1) .wpforms-image-choices-label {
		width: auto !important;
	}
	.homepage__example-list > div:nth-child(1) {
		order: 2;
		padding: 0 0 40px 0;
		flex: 0 100%;
	}
	.homepage__example-list > div:nth-child(2) {
		order: 3;
		flex: 0 100%;
	}
	.homepage__example-list > div:nth-child(3) {
		order: 1;
		padding: 0 0 40px 0;
		flex: 0 100%;
	}
	.homepage__example .homepage__title:before {
		display: none;
	}
	.homepage__example .homepage__title {
		padding: 0 0 40px 0;
	}
	.homepage__example {
		padding: 50px 0 75px 0;
	}
	.homepage__example-video {
		width: 100%;
	}
	.footer > div:nth-child(1) {
		flex: 0 30%;
	}
	.footer > div:nth-child(2) {
		flex: 0 30%;
	}
	.footer > div:nth-child(3) {
		flex: 0 40%;
	}
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern label:not(.wpforms-error) {
		width: fit-content;
	}
	.tinkoff-img-desktop {
		display: none;
	}
	.popup__tinkoff-wrap {
		width: 100%;
	}
	.tinkoff-img-mobile {
		display: block;
		margin: 20px auto 0 auto;
		max-width: 250px;
		height: auto;
	}
	.homepage__top-v3-wrap {
		width: calc(100% - 8%);
	}
	.footer__section-3 > div:nth-child(1), .footer__section-3 > div:nth-child(2), .footer__section-3 > div:nth-child(3) {
		flex: 0 100%;
		padding: 0;
	}
	.footer__section-3-bg .footer__section-3 > div:nth-child(3) {
		order: 1;
	}
	.footer__section-3-bg .footer__section-3 > div:nth-child(1) {
		order: 2;
	}
	.footer__section-3, .footer__section-2 {
		text-align: center;
	}
	.footer__section-3-menu ul {
		justify-content: center;
		padding: 20px 0;
	}
	.footer__section-2-bg .footer__section-3 > div:nth-child(2) {
		order: 1;
	}
	.footer__section-2-bg .footer__section-3 > div:nth-child(1) {
		order: 2;
		text-align: center;
		padding: 10px 0 15px 0;
	}
	.footer__section-2-bg .footer__section-3 > div:nth-child(3) {
		order: 3;
		text-align: center;
	}
	.footer__section-2-text {
		line-height: 20px;
	}
	.header__social, .header__social > div:nth-child(1) {
		margin: 0 30px 0 0;
	}
	.header__top-desktop {
		margin: 0 0 0 30px;
	}
	.header__top > div:nth-child(1) {
		flex: 0 100px;
	}
	.category-btn-item-wrap {
		margin: 20px 0 0 0;
	}
	.homepage__etaps-list > div {
		flex: 0 calc(33.33% - 30px);
	}
	.section-help-white__subtitle {
		margin: 0 0 25px 0;
	}
	.section-help-white_bg {
		padding: 60px 60px;
	}
	.calc__order-form-inline > div:nth-child(1) {
		flex: 0 calc(100% - 250px);
	}
	.calc__order-form-inline input[type="submit"] {
		width: 230px;
		border-radius: 18px;
	}
	.calc__order-form-inline > div:nth-child(1) input {
		border-radius: 18px;
	}
	.form-order__popup-btn {
		width: 200px;
		font-size: 12px;
		height: 60px;
		border-radius: 18px;
	}
	
		.calc-page__adv-icon {
		background-size: contain !important;
		background-repeat: no-repeat !important;
		background-position: center !important;
		font-size: 0 !important;
	}

	.calc-page__adv:nth-child(1) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-1.png') !important;
	}

	.calc-page__adv:nth-child(2) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-2.png') !important;
	}

	.calc-page__adv:nth-child(3) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-3.png') !important;
	}

	.calc-page__adv:nth-child(4) .calc-page__adv-icon {
		background-image: url('/wp-content/themes/glassshower/images/calc-icon-4.png') !important;
	}
	
	.hero-measure {

    background-size: 86% auto;
  
}
	}
	
/* ===== HERO MEASURE: ПЛАНШЕТ 768–1024 ===== */
@media screen and (min-width: 768px) and (max-width: 1024px) {

	.hero-measure {
		width: calc(100% - 40px) !important;
		max-width: 900px !important;
		min-height: 650px !important;
		margin: 45px auto !important;
		padding: 0 !important;
		position: relative !important;
		overflow: hidden !important;
		background: #fff !important;
		border-radius: 18px !important;
	}

	/* ===== ФОТО ===== */
	.hero-measure::before {
		content: "" !important;
		display: block !important;
		position: absolute !important;
		right: 0 !important;
		top: 170px !important; /* чуть выше */
		width: 58% !important;
		height: 430px !important;

		border-radius: 16px !important;
		clip-path: inset(0 round 16px) !important;
		overflow: hidden !important;

		background:
			linear-gradient(
				to right,
				#fff 0%,
				rgba(255,255,255,0.85) 18%,
				rgba(255,255,255,0.25) 45%,
				rgba(255,255,255,0) 100%
			),
			url('/wp-content/themes/glassshower/images/hero-measure-bg-mob.jpg') no-repeat right top !important;

		background-size: 107% auto !important;
		z-index: 1 !important;
		pointer-events: none !important;
	}

	.hero-measure::after {
		display: none !important;
		content: none !important;
	}

	.hero-measure__container {
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 45px !important;
		position: relative !important;
		z-index: 3 !important;
	}

	.hero-measure__content {
		width: 100% !important;
		max-width: 100% !important;
		padding: 55px 0 45px 0 !important;
		position: relative !important;
		z-index: 3 !important;
	}

	/* ===== ЗАГОЛОВОК ===== */
	.hero-measure__title {
		text-align: center !important;
		font-size: 36px !important;
		line-height: 42px !important;
		margin: 0 0 18px 0 !important;
		max-width: 100% !important;
	}

	.hero-measure__title-accent {
		display: inline !important;
		color: #ef3337 !important;
	}

	.hero-measure__title-free {
		display: inline !important;
		color: #15182b !important;
	}

	/* ===== ОПИСАНИЕ (подняли выше) ===== */
	.hero-measure__subtitle {
		text-align: center !important;
		max-width: 560px !important;
		margin: 0 auto 110px auto !important; /* БЫЛО 170 → СТАЛО 110 */
		font-size: 15px !important;
		line-height: 24px !important;
		color: #333 !important;
	}

	.hero-measure__subtitle br {
		display: none !important;
	}

	/* ===== ПУНКТЫ ===== */
	.hero-measure__features {
		width: 42% !important;
		max-width: 42% !important;
		margin: -20px 0 0 0 !important; /* немного вверх */
		padding: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
		border-radius: 0 !important;

		display: flex !important;
		flex-direction: column !important;
		gap: 24px !important;

		position: relative !important;
		z-index: 4 !important;
	}

	.hero-measure__feature {
		display: grid !important;
		grid-template-columns: 46px 1fr !important;
		gap: 14px !important;
		align-items: start !important;
	}

	.hero-measure__feature-icon {
		width: 42px !important;
		height: 42px !important;
		min-width: 42px !important;
		border-radius: 12px !important;
		background: #fff !important;
		box-shadow: 0 8px 18px rgba(0,0,0,0.08) !important;
	}

	.hero-measure__feature-icon img {
		width: 42px !important;
		height: 42px !important;
	}

	.hero-measure__feature-text h3 {
		font-size: 15px !important;
		line-height: 19px !important;
		margin: 0 0 5px 0 !important;
	}

	.hero-measure__feature-text p {
		font-size: 12px !important;
		line-height: 17px !important;
		margin: 0 !important;
		max-width: 260px !important;
	}
}

@media screen and (min-width: 601px) and (max-width: 767px) {

 .hero-measure {
  width: calc(100% - 40px) !important;
  margin: 40px auto !important;
  background: #fff !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  position: relative !important;
  min-height: 760px !important;
 }

 /* ===== ФОТО ===== */
 .hero-measure::before {
  content: "" !important;
  position: absolute !important;
  right: 0 !important;
  top: 140px !important;
  width: 62% !important;
  height: 380px !important;

  border-radius: 16px !important;
  clip-path: inset(0 round 16px);

  background:
   linear-gradient(to right,
    #fff 0%,
    rgba(255,255,255,0.85) 25%,
    rgba(255,255,255,0.2) 55%,
    rgba(255,255,255,0) 100%
   ),
   url('/wp-content/themes/glassshower/images/hero-measure-bg-mob.jpg') no-repeat right top;

  background-size: cover !important;
  z-index: 1 !important;
 }

 .hero-measure__container {
  padding: 0 24px !important;
  position: relative !important;
  z-index: 5 !important;
 }

.hero-measure__content {
  width: 100% !important;
  max-width: 100% !important;
  padding: 160px 0 0 0 !important;
  position: relative !important;
  z-index: 5 !important;
}

 /* ===== ТЕКСТ ===== */
 .hero-measure__title {
  width: 60% !important;
  font-size: 28px !important;
  line-height: 34px !important;
  margin: 0 0 14px 0 !important;
  text-align: left !important;
 }

 .hero-measure__subtitle {
  width: 60% !important;
  max-width: 60% !important;
  font-size: 13px !important;
  line-height: 20px !important;
  margin: 0 0 210px 0 !important;
  text-align: left !important;
 }

 .hero-measure__features {
  width: calc(100% + 48px) !important;
  max-width: none !important;
  margin: -140px -24px 0 -24px !important;
  padding: 26px 24px 30px 24px !important;
  background: #fff !important;
  border-radius: 26px 26px 0 0 !important;
  box-shadow: 0 -10px 25px rgba(0,0,0,0.06) !important;
  position: relative !important;
  z-index: 10 !important;
}

 .hero-measure__feature {
  display: grid !important;
  grid-template-columns: 48px 1fr !important;
  gap: 12px !important;
  align-items: start !important;
 }

 .hero-measure__feature-icon {
  width: 44px !important;
  height: 44px !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 6px 14px rgba(0,0,0,.08) !important;
 }

 .hero-measure__feature-text h3 {
  font-size: 14px !important;
  margin: 0 0 4px 0 !important;
 }

 .hero-measure__feature-text p {
  font-size: 13px !important;
  line-height: 18px !important;
  margin: 0 !important;
  max-width: 100% !important;
 }
}
/* ===== МОБИЛЬНАЯ ВЕРСИЯ (до 768px) — ЦЕНТРИРОВАНИЕ ===== */
@media screen and (max-width: 768px) {
	.swiper-video {
		width: 600px;
	}
	    .homepage__hero-content {
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0 20px;
        flex-direction: column;
        max-width: 100%;
        width: auto;
    }

    .homepage__top-v3-wrap {
        width: 100%;
        margin: 0 auto;
    }



	.section-help-white-block > div:nth-child(2) img {
		display: none;
	}
	.section-help-white__title {
		margin: 35px 0 24px 0;
	}
	.form__calc-maintitle {
		margin: 35px 0 30px;
	}
	.summ {
		align-items: center;
		margin: 40px 0 0;
		background: #fdff68;
		padding: 20px;
		width: 55%;
		border-top-left-radius: 30px;
		border-bottom-right-radius: 30px;
	}
	.form__calc-title {
		margin: 23px 0 10px;
	}
	.homepage__top-v3-panel-1, .homepage__top-v3-panel-3 {
		font-size: 15px;
	}
	.swiper-video .swiper-button-prev {
		left: 9% !important;
	}
	.swiper-video .swiper-button-next {
		right: 9% !important;
	}
	.homepage__top-v3-panel-2 a {
		font-size: 13px;
	}
	.homepage__top-v3 {
		
		background-size: cover;
	
	
    height: auto; /* Убираем фиксированную высоту */
    margin: 0;    /* Убираем отрицательные отступы */

	}
	.tinkoff_block__uslovia > div p {
		box-shadow: 2px 3px 12px #ffffff;
	}
	ol, ul {
		margin: 0px 0px;
	}
	.header_summ {
		display: none;
	}
	.color-left.active {
		margin: 0 0;
	}
	.tinkoff_block__rass .glass-color__tinkoff-btn {
		max-width: 349px;
		margin: 2px auto 0 auto;
		height: 36px;
	}
	.calc__container-title h3 {
		font-size: 4.5vw;
	}
	.glass-color__tinkoff-btn {
		border: 1px #fdf70b solid;
		padding: 5px 4px;
		font-size: 16px;
		text-align: center;
		border-radius: 6px;
		cursor: pointer;
		box-shadow: 0px 0px 2px #5d402e;
	}
	.glass-color__text {
		padding: 0px 0 0 0;
		font-size: 15px;
		line-height: 18px;
	}
	.form__calc-full {
		padding: 0px 0 0px 0;
		margin: -10px 0;
	}
	.calc__order-btn-popup {
		margin: 8px 0 0 auto;
	}
	#summ2 {
		margin: 0 0 0 4px;
	}
	.glass-color__tinkoff-img {
		margin: 54px auto;
	}
	.glass-color__tinkoff-title {
		font-size: 23px;
		line-height: 34px;
		text-align: center;
		font-family: ArialNarrow;
		padding: 0 0 55px 0;
		text-transform: uppercase;
		margin: -45px 0;
	}
	.calc__list > a {
		flex: 0 calc(50% - 20px);
		margin: 0 10px 30px 10px;
	}
	.glass-color__tinkoff-mobile-hidden {
		display: none;
	}
	.glass-color__tinkoff-desktop-hidden {
		display: none;
	}
	.homepage__top h1, .homepage__top-subtitle {
		font-size: 7vw;
		line-height: 8vw;
	}
	.homepage__top-bullits > div img {
		height: 60px;
		width: auto;
	}
	.homepage__top > div:nth-child(1) {
		padding: 0 30px 0 0;
	}
	.homepage__top-v2 {
		display: none;
	}
	.homepage__top-bullits > div p {
		font-size: 2.4vw;
		line-height: 2.8vw;
	}
	.homepage__top > div:nth-child(1) {
		flex: 0 calc(100% - 240px);
		padding: 0 50px 0 0;
	}
	.homepage__top > div:nth-child(2) {
		flex: 0 240px;
	}
	.homepage__catalog-list > div {
		flex: 0 50%;
		margin: 0 0 30px 0;
	}
	.homepage__catalog-text {
		font-size: 17px;
		line-height: 4.2vw;
		padding: 10px 0;
		margin: 34px 0px 0 0px;
	}
	.homepage__vantage-list > div {
		flex: 0 calc(33.33% - 20px);
		margin: 0 10px 30px 10px;
	}
	.homepage__vantage {
		padding: 70px 0 0 0;
		display: none;
	}
	.homepage__vantage-title {
		font-size: 32px;
		line-height: 38px;
	}
	.form__consult {
		width: 90%;
		left: 5%;
	}
	.catalog__calc-form > div:nth-child(1) {
		flex: 0 100%;
	}
	.catalog__calc-form > div:nth-child(2) {
		display: none;
	}
	.wpforms-field-radio:nth-child(1) .wpforms-image-choices-label {
		width: 103px !important;
	}
	.pickup_barrier__form-flex > div:nth-child(1), .pickup_barrier__form-flex > div:nth-child(2) {
		flex: 0 100%;
	}
	.pickup_barrier__form-wrap {
		position: relative;
		top: 0;
		transform: translateY(0%);
		padding: 0;
	}
	.pickup_barrier__form-bg {
		background: transparent;
	}
	.pickup_barrier__form {
		padding: 50px 10px 0;
	}
	.pickup_barrier__form .form_subtitle {
		padding: 20px 0px !important;
	}
	.tinkoff_block__uslovia > div {
		flex: 0 100%;
		margin: 0 0 10px 0;
	}
	.calc__list-price {
		font-size: 18px;
	}
	.calc__container > div:nth-child(2) {
		flex: 0 100%;
		margin: 0 0 30px 0;
		padding: 0;
	}
	.calc__container > div:nth-child(3) {
		flex: 0 100%;
		margin: 0 0 30px 0;
		padding: 0;
	}
	.calc__order-form-inline {
		margin: 50px 0px 0px 0px;
		width: 100%;
	}
	.calc__container-title {
		margin: 45px 0 -22px 0;
	}
	.calc__container {
		padding: 0;
	}
	.footer > div:nth-child(1), .footer > div:nth-child(2), .footer > div:nth-child(3) {
		flex: 0 100%;
	}
	footer {
		padding: 70px 0 0 0;
		margin: 0px 0px;
	}
	.footer > div:nth-child(1), .footer > div:nth-child(2) {
		text-align: center;
	}
	.footer__write-text {
		justify-content: center;
	}
	.footer__order {
		margin: 40px auto;
	}
	.calc__container-parametr-glass-repeater-wrap > div:nth-child(1) {
		margin: 0;
		flex: 0 100%;
	}
	.calc__container-parametr-glass-repeater-wrap > div:nth-child(2) {
		flex: 0 100%;
	}
	.homepage__question-answer-title {
		font-size: 20px;
	}
	.homepage__etaps-list > div {
		flex: 0 calc(50% - 30px);
		margin: 0 15px 50px 15px;
	}
	.section-help__form {
		margin: 80px auto;
	}
	.section-help__title {
		font-size: 44px;
		line-height: 54px;
	}
	.section-help__subtitle {
		font-size: 20px;
		line-height: 30px;
	}
	.header__social {
		display: none;
	}
	.header__top > div:nth-child(3) {
		flex: 0 470px;
	}
	.homepage__top-v3-panel {
		max-width: 90%;
	}
	.section-help-white-block > div:nth-child(1) {
		flex: 0 100%;
		padding: 10px 50px 40px 50px;
	}
	.section-help-white-block > div:nth-child(2) {
		flex: 0 100%;
		padding: 0;
	}
	.section-help-white-block > div:nth-child(1) img {
		width: 100%;
		max-width: 200px;
	}
	.glass-color__delivery {
		padding: 0;
		margin: 0 auto 20px auto;
	}
	.form__clear {
		display: none;
	}
	.form__clear-mobile {
		display: block;
		top: 34px;
		display: none;
	}
	.glass-color__wrap > div:nth-child(1) .color {
		padding: 0;
	}
	.glass-color__wrap-inner.active {
		margin: 0;
	}
	.header__desktop {
		display: none;
	}
	.header__mobile-open {
		padding: 0 20px;
		justify-content: space-between;
		align-items: center;
		top: 0;
		position: fixed;
		width: 100%;
		z-index: 100;
		margin: 0 0 -168px 0;
		display: flex;
		border-bottom: none;
		background-image: linear-gradient(to bottom, rgba(0,0,0,.5), rgba(0,0,0,.5));
	}
	.glass-color__wrap-inner img {
		height: auto;
	}
	.homepage__etaps-list > div {
		flex: 0 calc(50% - 30px);
	}
	.photo-min-mobile {
		display: flex;
	}
	.calc__container > div:nth-child(3) {
		text-align: center;
	}
	.glass-color-choice {
		text-align: center;
	}
	.form__calc-services label {
		width: auto;
	}
	.summ {
		text-align: center;
		justify-content: center;
	}
	.form-order__popup-btn {
		margin: 0 auto;
	}
	.calc__container-parametr-1, .calc__container-parametr-2, .calc__container-parametr-3 {
		text-align: left;
		justify-content: center;
		display: flex;
		flex-direction: column;
	}
	.calc__container > div:nth-child(3) p {
		margin: 0 auto;
	}
	.calc__container > div:nth-child(3) p {
		margin: 0 auto 10px auto;
	}
	.section-help-white_bg .wpforms-field-name,
	.section-help-white_bg .wpforms-field-phone {
		width: 100% !important;
		margin: 0 !important;
	}
	.section-help-white_bg .wpforms-submit-container {
		width: 100% !important;
		right: 0%;
		bottom: 0;
		position: relative !important;
	}
	.delivery__bottom {
		margin: 30px 0 0 0;
	}
	.glass-color__delivery-title {
		padding: 0 20px 15px 20px;
	}
	.glass-color__delivery-text {
		padding: 0 30px 0 20px;
	}
	.glass-color__benefits-title {
		text-align: left;
	}
	.mobile_whatsapp {
		height: 45px;
		width: auto;
		position: fixed;
		bottom: 30px;
		left: 30px;
		z-index: 40;
	}
	.distance_mobile {
		margin: 0;
		display: block;
	}
	.distance_mobile .glass-color__delivery-title {
		margin: 0;
		padding: 0 15px 15px 15px;
		text-align: left;
	}
	.form_calc .calc_distance input {
		width: calc(100% - 20px);
		margin: 0 0 10px 0;
		padding: 0 !important;
	}
	.calc_distance .summ_wrap {
		justify-content: center;
	}
	#summ3 {
		margin: 0;
	}
	.delivery__bottom.delivery__mobile > div:nth-child(3) .glass-color__delivery-title {
		text-align: center;
	}
	.calc_distance {
		padding: 0 0 0 15px;
	}
	.calc_distance .glass-color__delivery-title {
		padding: 0;
	}
	.calc__order-form-inline > div:nth-child(2) input {
		padding: 0;
		text-align: center;
	}

.new-footer {
		padding: 34px 0 30px !important;
		background: #111 !important;
	}

	.new-footer__wrapper {
		display: flex !important;
		flex-direction: column !important;
		gap: 0 !important;
	}

	.new-footer__logo {
		order: 1 !important;
		text-align: left !important;
		margin: 0 0 22px 0 !important;
	}

	.new-footer__logo img {
		width: 105px !important;
		margin: 0 0 12px 0 !important;
	}

	.new-footer__copyright {
		font-size: 12px !important;
		line-height: 18px !important;
		color: rgba(255,255,255,0.6) !important;
	}

	.new-footer__catalog,
	.new-footer__company,
	.new-footer__contacts {
		width: 100% !important;
		border-top: 1px solid rgba(255,255,255,0.18) !important;
	}

	.new-footer__contacts {
		border-bottom: 1px solid rgba(255,255,255,0.18) !important;
	}

	.new-footer__mobile-header {
		display: flex !important;
		align-items: center !important;
		justify-content: space-between !important;
		padding: 16px 0 !important;
		cursor: pointer !important;
	}

	.new-footer__title {
		margin: 0 !important;
		font-size: 16px !important;
		line-height: 20px !important;
		color: #fff !important;
	}

	.new-footer__arrow {
		display: block !important;
		width: 10px !important;
		height: 10px !important;
		border-right: 2px solid #fff !important;
		border-bottom: 2px solid #fff !important;
		transform: rotate(45deg) !important;
		transition: .25s ease !important;
	}

	.new-footer__mobile-header.active .new-footer__arrow {
		transform: rotate(-135deg) !important;
	}

	.new-footer__mobile-content {
		display: none !important;
		padding: 0 0 16px 0 !important;
	}

	.new-footer__mobile-content.active {
		display: block !important;
	}

	.new-footer__list {
		margin: 0 !important;
		padding: 0 !important;
	}

	.new-footer__list li {
		margin: 0 0 10px 0 !important;
		font-size: 14px !important;
		line-height: 20px !important;
	}

	.new-footer__phone {
		font-size: 20px !important;
		line-height: 24px !important;
		margin: 4px 0 !important;
	}

	.new-footer__address,
	.new-footer__work-time,
	.new-footer__email {
		font-size: 13px !important;
		line-height: 19px !important;
	}
	

	
		.calc-page__hero {
		padding: 40px 0 20px;
	}

	.calc-page__hero h1 {
		font-size: 28px;
		line-height: 34px;
	}

	.calc-page__hero p {
		font-size: 16px;
	}
     .measure-call {
        margin: 30px auto;
        width: calc(100% - 30px);
        border-radius: 16px;
    }

    .measure-call__row {
        flex-direction: column;
        text-align: center;
        padding: 28px 20px;
        gap: 16px;
    }

    .measure-call__icon svg {
        width: 48px;
        height: 48px;
        margin: 0 auto;
    }

    .measure-call__title {
        font-size: 22px;
    }

    .measure-call__text {
        font-size: 15px;
    }

    .measure-call__btn {
        white-space: normal;
        text-align: center;
        padding: 12px 24px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .measure-call__btn span {
        font-size: 13px;
    }
	
		.to_top,
	#scroll-to-top {
		position: fixed !important;
		right: 14px !important;
		bottom: 95px !important;
		width: 42px !important;
		height: 42px !important;
		z-index: 99999 !important;
		display: block;
		opacity: 1;
		pointer-events: auto !important;
	}
	
		}
	
@media screen and (max-width: 600px) {
	.swiper-video {
		width: 425px;
	}
	.swiper-video .swiper-button-prev {
		left: 3% !important;
	}
	.swiper-video .swiper-button-next {
		right: 3% !important;
	}
	.footer__new {
		margin: 212px 0 0 0;
	}
	.page-politic h1 {
		margin: 0 0 34px 0;
	}
	.homepage__etaps-text {
		padding: 20px 0 0;
	}
	.homepage__etaps-list > div:hover {
		transform: none;
	}
	.page_thanks__title {
		margin: 398px 0px;
	}
	.constr-type > div {
		flex: 0 calc(50% - 40px);
		margin: 0 20px 30px 20px;
	}
	.homepage__top-bullits > div {
		flex: 1 33.33%;
		padding: 5px 4px;
	}
	.homepage-title-two {
		color: #2c2929;
		text-align: center;
		font-size: 26px;
	}
	.homepage__top > div:nth-child(1) {
		flex: 0 55%;
		padding: 0;
	}
	.homepage__top > div:nth-child(2) {
		flex: 0 45%;
	}
	.homepage__top > div:nth-child(2) img {
		width: 100%;
		height: auto;
		display: block;
	}
	.homepage__top-btn {
		margin: 10px auto 0 auto;
		font-size: 12px;
		width: 184px;
		height: 42px;
		padding: 12px 0 0 0;
	}
	.homepage__vantage-title {
		font-size: 18px;
		line-height: 22px;
		padding: 0 0 30px 0;
	}
	.homepage__vantage-list > div {
		flex: 0 calc(50% - 20px);
		margin: 0 10px 15px 10px;
	}
	.homepage__vantage-list > div p {
		font-size: 10px;
		line-height: 14px;
	}
	.homepage__vantage-icon {
		height: 47px;
		width: auto;
		display: block;
		margin: 0 auto;
	}
	.homepage__vantage {
		padding: 0px 0 0 0;
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-3-columns ul li {
		width: 33.33% !important;
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-inline ul.wpforms-image-choices-modern li {
		margin: 0 !important;
	}
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-selected .wpforms-image-choices-label,
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-image-choices-label {
		font-size: 10px !important;
	}
	.catalog__calc {
		padding: 20px;
	}
	.wpforms-image-choices-label {
		padding-right: 0 !important;
	}
	div.wpforms-container-full .wpforms-form .wpforms-title {
		padding: 0 30px;
	}
	div.wpforms-container-full .wpforms-form .wpforms-field:not(.wpforms-field-phone):not(.wpforms-field-select-style-modern) {
		overflow-x: inherit !important;
	}
	.wpforms-field-radio:nth-child(1) .wpforms-image-choices-label {
		width: auto !important;
	}
	.catalog__calc-choice div.wpforms-container-full .wpforms-form .wpforms-field-radio .wpforms-field-label {
		font-size: 14px !important;
	}
	.wpforms-image-choices-image img {
		border-radius: 6px !important;
	}
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern .wpforms-image-choices-image:after {
		margin: -11px 0 0 -11px !important;
		width: 22px !important;
		height: 22px !important;
		background: #02416d url(images/checked.jpg) no-repeat 6px 7px !important;
		background-size: 50% !important;
		top: 10px !important;
		left: 2px !important;
	}
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern label:not(.wpforms-error) {
		padding: 0 !important;
	}
	.form__consult-close {
		right: 10px;
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-3-columns ul.wpforms-image-choices-modern .wpforms-selected label {
		margin-bottom: 20px !important;
	}
	#wpforms-124-field_7-container {
		width: 304px !important;
		display: block !important;
		margin: 0 auto 30px auto !important;
	}
	#wpforms-124-field_8-container {
		top: 0;
		width: 100% !important;
		display: block !important;
		margin: 0 auto;
		text-align: center;
	}
	.pickup_barrier__form .wpforms-field-file-upload {
		margin: 10px 0 0 15px !important;
	}
	.pickup_barrier__form .wpforms-submit-container {
		position: relative;
		top: 0px;
		left: 0;
		margin: 0 auto !important;
	}
	.pickup_barrier__form button[type="submit"] {
		margin: 0 !important;
	}
	.pickup_barrier__form .wpforms-field-file-upload {
		margin: 0 auto -70px auto !important;
	}
	.homepage__portfolio-list > div {
		flex: 0 calc(50% - 24px);
		margin: 0 12px 24px 12px;
	}
	.homepage__furnitura-list > div {
		flex: 0 calc(33.33% - 20px);
		margin: 0 10px 20px 10px;
	}
	.homepage__furnitura-list > div {
		flex: 0 calc(50% - 40px);
		margin: 0 20px 20px 20px;
	}
	.homepage__title {
		font-size: 27px;
		line-height: 22px;
		padding: 49px 0 69px 0;
	}
	.homepage__title:before, .homepage__vantage-title:before {
		content: "";
		width: 200px;
		height: 2px;
		display: block;
		margin: 40px auto 15px auto;
	}
	.homepage__etaps {
		padding: 40px 0;
		margin: 30px 0 0 0;
		border-radius: 0%;
	}
	.homepage__etaps-list > div {
		flex: 0 calc(50% - 20px);
		margin: 0 10px 40px 10px;
	}
	.homepage__portfolio, .homepage__furnitura {
		padding: 0 0 0px 0;
	}
	.footer > div:nth-child(1) {
		flex: 0 100%;
	}
	.footer > div:nth-child(2) {
		flex: 0 90%;
		margin: 0 21px;
	}
	.footer > div:nth-child(3) {
		flex: 0 100%;
	}
	.footer > div:nth-child(4) {
		flex: 0 100%;
	}
	footer {
		padding: 30px 0;
	}
	.footer__desktop {
		display: none;
	}
	.footer__mobile {
		display: block;
	}
	.footer__right {
		width: 36px;
		position: fixed;
		right: 20px;
		bottom: 20px;
		z-index: 50;
	}
	.whatsapp {
		position: fixed;
		left: 20px;
		bottom: 50px;
		display: none;
	}
	.to_top {
		right: 20px;
		bottom: 45px;
		margin: 0 0 5px 0;
	}
	.footer__yandex iframe {
		height: 230px !important;
	}
	.footer__bottom > div:nth-child(1) {
		flex: 0 105px;
		display: none;
	}
	.footer__bottom > div:nth-child(2) {
		flex: 0 calc(100% - 0px);
		padding: 0 0px 0 133px;
	}
	.footer__bottom > div:nth-child(1) img {
		width: 100%;
		height: auto;
	}
	.footer__copywrite {
		font-size: 12px;
	}
	.footer__menu ul {
		justify-content: flex-start;
	}
	.footer__phone-title {
		padding: 25px 0 15px 0;
	}
	.footer__phone {
		padding: 5px 0 0 20px;
	}
	.footer__write {
		padding: 0 0 20px 20px;
	}
	.footer__write-text img {
		display: block;
	}
	.footer__write-text {
		padding: 0 0 15px 20px;
	}
	.footer__write-text > div:nth-child(2) {
		padding: 0 0 0 12px;
	}
	.footer__bottom {
		align-items: center;
		padding: 30px 0 0 0;
	}
	.wpforms-title {
		padding: 0 25px 45px 25px;
	}
	.wpforms-image-choices-image {
		width: max-content !important;
	}
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices label input {
		bottom: -40px !important;
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-inline ul li {
		padding-bottom: 35px !important;
	}
	div.wpforms-container-full .wpforms-form ul.wpforms-image-choices-modern label:not(.wpforms-error) {
		width: fit-content;
	}
	.wpforms-list-inline .wpforms-image-choices-image {
		width: fit-content !important;
	}
	.tinkoff-close {
		right: 7%;
	}
	.calc__list > div {
		flex: 0 calc(50% - 20px);
		margin: 0 10px 30px 10px;
	}
	.calc__container-parametr-glass-repeater > div > img {
		width: 100%;
		height: auto;
		display: block;
	}
	.calc__order-popup, .calc__order-popup-2 {
		width: calc(100% - 40px);
		left: 20px;
	}
	.glass-color__delivery > div:nth-child(1),
	.glass-color__delivery > div:nth-child(2),
	.glass-color__delivery > div:nth-child(3),
	.glass-color__delivery > div:nth-child(4),
	.glass-color__delivery > div:nth-child(5),
	.glass-color__delivery > div:nth-child(6) {
		flex: 0 100%;
		text-align: center;
		padding: 0 10px;
	}
	.glass-color__delivery > div:nth-child(1), .glass-color__delivery > div:nth-child(3) {
		text-align: center;
	}
	.glass-color__delivery > div:nth-child(2) hr,
	.glass-color__delivery > div:nth-child(4) hr {
		width: 100%;
		height: 1px;
		margin: 10px 0;
		background: #c0c0c0;
	}
	.section-help {
		background: url(images/bg-help.png) no-repeat top -49px center;
		height: auto;
		margin: 104px 0 60px 0;
		padding: 0 0 50px 0;
		background-size: cover;
	}
	.header__top-desktop {
		display: none;
	}
	.header__top-mobile {
		display: block;
		text-align: center;
	}
	.header__phone {
		margin: 0;
	}
	.header__top > div:nth-child(1) {
		flex: 0 90px;
	}
	.header__top > div:nth-child(2) {
		flex: 0 calc(100% - 155px);
	}
	.header__top > div:nth-child(3) {
		flex: 0 65px;
	}
	.container-catalog, .container {
		padding: 0 20px;
	}
	.swiper-review .swiper-slide img {
		max-width: 100%;
	}
	.swiper-review .swiper-pagination .swiper-pagination-bullet {
		width: 8px;
	}
	.swiper-review .swiper-button-prev {
		left: 0px !important;
	}
	.swiper-review .swiper-button-next {
		right: 0px !important;
	}
	.swiper-review {
		margin: 0;
	}
	.swiper-button-prev,
	.swiper-button-next {
		display: none !important;
	}
	.form__calc-title {
		text-align: left;
		margin: 20px 0 0 0;
	}
	.form__calc-title-text {
		margin: 20px 0 0 0;
	}
	.calc__container-parametr, .calc__container-parametr-tol, .calc__container-parametr-storona, .calc__container-parametr-glass, .calc__container-parametr-furn, .calc__container-parametr-furn-services {
		margin: 0;
	}
	.calc__container-parametr-class {
		padding: 0;
	}
	.form__calc-maintitle {
		text-align: center;
	}
	.summ {
		justify-content: flex-start;
	}
	.calc__container-parametr-tol > div, .calc__container-parametr-storona > div {
		text-align: center;
	}
	.calc__container-parametr-1 label {
		text-align: left;
	}
	.form_calc .form-order__popup label {
		justify-content: center;
	}
	.glass-color__delivery {
		justify-content: center;
		text-align: center;
	}
	.calc__container > div:nth-child(1),
	.calc__container > div:nth-child(2) {
		flex: 0 100%;
	}
	.calc__container-parametr, .calc__container-parametr-tol, .calc__container-parametr-storona, .calc__container-parametr-glass, .calc__container-parametr-furn, .calc__container-parametr-furn-services {
		padding: 0;
	}
	.calc__order-form-inline > div:nth-child(1) {
		flex: 0 100%;
		margin: 0 0 20px 0;
	}
	.calc__order-form-inline > div:nth-child(2) {
		flex: 0 100%;
	}
	.calc__order-form-inline > div:nth-child(1) input {
		height: 44px;
		text-align: center;
	}
	.calc__order-form-inline input[type="submit"] {
		height: 65px !important;
		margin: 0 auto;
	}
	.form-order__popup-btn {
		width: 185px;
		font-size: 11px;
	}
	.calc__container-title h3 {
		padding: 0 20px;
		margin: 60px 0 0 0;
	}
	.form__calc-title-text,
	.form__calc-title {
		font-size: 12px;
		margin: 0 0 10px 0;
	}
	.calc__order-form-inline input[type="submit"] {
		font-size: 13px;
		margin: 0 auto;
	}
	.glass-color__delivery-title {
		font-size: 15px;
		padding: 0 15px 15px 15px;
	}
	.glass-color__delivery-text {
		padding: 0 20px 0 15px;
	}
	.delivery__bottom > div:nth-child(even) {
		padding: 0 0 0 10px;
	}
	.glass-color__delivery-text, .glass-color__delivery-text li {
		font-size: 13px;
	}
	.delivery__bottom {
		text-align: left;
	}
	.glass-color__benefits-title {
		text-align: center;
	}
	.delivery__desktop,
	.glass-color__benefits {
		display: none;
	}
	.delivery__mobile {
		display: flex;
	}
	.delivery__bottom > div {
		flex: 0 50%;
		border-bottom: none;
		padding: 0;
		margin: 0 0 40px 0;
	}
	.delivery__bottom > div:nth-child(odd) {
		border-right: 1px #545454 solid;
	}
	.calc__order-form-inline > div:last-of-type {
		width: 100%;
	}
	#summ2 {
		font-size: 25px;
	}
	
	/* Центрирование для экранов до 600px */
	.homepage__top-modern .homepage__top-v3-wrap h1 {
		font-size: 28px !important;
	}
	
	.homepage__top-modern .homepage__top-v3-panel-2,
	.homepage__top-modern .homepage__top-v3-panel-1 {
		width: 260px !important;
		min-width: 260px !important;
	}
	
	.calc-page__advantages {
		display: flex !important;
		flex-direction: column !important;
		flex-wrap: nowrap !important;
		max-width: 320px !important;
		width: 100% !important;
		margin: 35px auto !important;
		padding: 0 !important;
		gap: 24px !important;
		border: none !important;
		background: transparent !important;
		box-shadow: none !important;
	}

	.calc-page__adv {
		display: grid !important;
		grid-template-columns: 52px 1fr !important;
		gap: 18px !important;
		width: 100% !important;
		max-width: 100% !important;
		flex: none !important;
		margin: 0 !important;
		padding: 0 !important;
		border: none !important;
		text-align: left !important;
		align-items: start !important;
	}

	.calc-page__adv-icon {
		width: 46px !important;
		height: 46px !important;
		min-width: 46px !important;
		margin: 0 !important;
		background-position: center !important;
	}

	.calc-page__adv strong {
		font-size: 16px !important;
		line-height: 20px !important;
		margin: 0 0 5px 0 !important;
	}

	.calc-page__adv p {
		font-size: 14px !important;
		line-height: 19px !important;
		margin: 0 !important;
	}
	
		.calc-page__wrap .category-btn {
		display: block !important;
		text-align: center;
		margin: 40px auto 35px auto !important;
	}

	.calc-page__wrap .category-btn-title {
		font-size: 20px;
		line-height: 24px;
		margin: 0 0 18px 0;
		text-align: left;
	}

	.calc-page__wrap .category-btn-item-wrap {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 14px;
		margin: 0 auto;
	}

	.calc-page__wrap .category-btn-item p {
		width: 100%;
		min-width: 0;
		height: 58px;
		padding: 0 10px;
		font-size: 16px;
	}
	

	
	.calc__list > a {
		display: none !important;
		grid-template-columns: 135px 1fr !important;
		gap: 18px !important;
		padding: 18px !important;
		align-items: start !important;
	}
	
	.calc__list > a.active {
	display: grid !important;
}

	.calc__list-img-wrap {
		grid-column: 1 !important;
		grid-row: 1 / 5 !important;
	}

	.calc__list-title {
		grid-column: 2 !important;
		font-size: 15px !important;
		line-height: 21px !important;
		height: auto !important;
		min-height: auto !important;
		overflow: visible !important;
		margin: 0 0 18px 0 !important;
		padding: 0 !important;
	}

	.calc__list-features {
		grid-column: 2 !important;
		margin: 0 0 18px 0 !important;
		padding: 0 !important;
	}

	.calc__list-features li {
		font-size: 12px !important;
		line-height: 17px !important;
		padding: 0 0 8px 20px !important;
	}

	.calc__list-link {
		grid-column: 2 !important;
		min-width: 160px !important;
		height: 42px !important;
		font-size: 12px !important;
		padding: 0 12px !important;
		transform: none !important;
	}
	
	.calc-about-block {
    margin: 35px 0 30px 0 !important;
    padding: 28px 24px !important;
}

/* Заголовок */
.calc-about-text h2 {
    font-size: 28px !important;
    line-height: 35px !important;
    margin: 0 0 24px 0 !important;
}

/* Текст с описанием */
.calc-about-text p {
    display: block !important;
    font-size: 17px !important;
    line-height: 27px !important;
    color: #333 !important;
    margin: 0 0 18px 0 !important;
}

/* Стили для контейнера с иконками */
.calc-about-items {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* 3 колонки */
    gap: 30px 12px !important;
    margin-top: 30px !important;
	        justify-content: center;
}

/* Иконки */
.calc-about-item span {
    width: 58px !important;
    height: 58px !important;
}

/* Подпись под иконками */
.calc-about-item strong {
    font-size: 13px !important;
    line-height: 16px !important;
}

/* Текст под иконками */
.calc-about-item p {
    display: block !important;
    font-size: 11px !important;
    line-height: 15px !important;
}

	.hero-measure {
		width: calc(100% - 40px) !important;
		max-width: 900px !important;
		min-height: 620px !important;
		margin: 40px auto !important;
		position: relative !important;
		overflow: hidden !important;
		background: #fff !important;
		border-radius: 16px !important;
		box-shadow: 0 10px 30px rgba(0,0,0,0.06) !important;
		  --photo-top: 335px;      /* двигай фото вниз/вверх */
  --photo-height: 430px;   /* высота зоны фото */
  --features-up: -95px;    /* насколько блок пунктов заходит на фото */
	}

.hero-measure__container {
 width: 100% !important;
 max-width: 100% !important;
 padding: 0 20px !important;
 position: relative !important;
 z-index: 3 !important;
 box-sizing: border-box !important;
}

.hero-measure__content {
 width: 100% !important;
 max-width: 100% !important;
 padding: 34px 0 0 0 !important;
 position: relative !important;
 z-index: 4 !important;
 
}

.hero-measure__title {
 text-align: left !important;
 font-size: 34px !important;
 line-height: 42px !important;
 margin: 0 0 16px 0 !important;
 color: #15182b !important;
}

.hero-measure__title-accent {
 display: block !important;
 color: #ef3337 !important;
}

.hero-measure__title-free {
 display: block !important;
 color: #15182b !important;
}

.hero-measure__subtitle {
 text-align: left !important;
 max-width: 100% !important;
 margin: 0 0 360px 0 !important;
 font-size: 18px !important;
 line-height: 30px !important;
 font-weight: 600 !important;
 color: #333 !important;
 position: relative !important;
 z-index: 4 !important;
}

.hero-measure__subtitle br {
 display: none !important;
}

/* фото на всю ширину */
.hero-measure::before {
 content: "" !important;
 display: block !important;
 position: absolute !important;
 left: 0 !important;
 right: 0 !important;
 top: 300px !important;
 width: 100% !important;
 height: 430px !important;
 background:
  linear-gradient(
   to bottom,
   #fff 0%,
   rgba(255,255,255,0.65) 10%,
   rgba(255,255,255,0) 24%
  ),
  url('/wp-content/themes/glassshower/images/hero-measure-bg-mob.jpg') no-repeat center top !important;
 background-size: 100% auto !important;
 background-position: center top !important;
 z-index: 2 !important;
 pointer-events: none !important;
}

.hero-measure::after {
 display: none !important;
 content: none !important;
}

/* белый блок с пунктами на всю ширину */
.hero-measure__features {
 width: calc(100% + 40px) !important;
 max-width: none !important;
 margin: -90px -20px 0 -20px !important;
 padding: 28px 22px 34px 22px !important;
 background: #fff !important;
 border-radius: 24px 24px 0 0 !important;
 box-shadow: 0 -10px 25px rgba(0,0,0,0.06) !important;
 position: relative !important;
 z-index: 4 !important;
 display: flex !important;
 flex-direction: column !important;
 gap: 26px !important;
 box-sizing: border-box !important;
}

.hero-measure__feature {
 display: grid !important;
 grid-template-columns: 62px 1fr !important;
 gap: 16px !important;
 align-items: start !important;
}

.hero-measure__feature-icon {
 width: 56px !important;
 height: 56px !important;
 min-width: 56px !important;
 border-radius: 16px !important;
 background: #fff !important;
 box-shadow: 0 8px 18px rgba(0,0,0,0.08) !important;
 display: flex !important;
 align-items: center !important;
 justify-content: center !important;
}

.hero-measure__feature-icon img {
 width: 42px !important;
 height: 42px !important;
 object-fit: contain !important;
}

.hero-measure__feature-text h3 {
 font-size: 18px !important;
 line-height: 23px !important;
 margin: 0 0 6px 0 !important;
}

.hero-measure__feature-text p {
 font-size: 16px !important;
 line-height: 24px !important;
 margin: 0 !important;
 max-width: 100% !important;
}

	.homepage__top-v3.homepage__top-modern {
		min-height: 100vh !important;
		height: auto !important;
		padding: 120px 24px 45px !important;
		background:
			linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.62) 48%, rgba(0,0,0,.18) 100%),
			url('/wp-content/themes/glassshower/images/mobile-background.jpg') center center / cover no-repeat !important;
			margin: 0 auto !important;
text-align: center !important;
	}

	.homepage__top-v3 .container {
		width: 100% !important;
		padding: 0 !important;
		margin: 0 auto !important;
	}

	.homepage__top-v3-wrap {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		transform: none !important;

		width: 100% !important;
		max-width: 390px !important;
		margin: 0 auto !important;
		padding: 0 !important;

		text-align: center !important;
	}

	.homepage__top-v3-text-1 {
		text-align: center !important;
		font-size: 18px !important;
		line-height: 24px !important;
		margin: 0 0 20px !important;
		color: #ef3337 !important;
	}

	.homepage__top-v3-wrap h1 {
		text-align: center !important;
		font-size: 48px !important;
		line-height: 1.12 !important;
		margin: 0 0 22px !important;
		color: #fff !important;
	}

	.homepage__top-v3-text-4 {
		text-align: center !important;
		font-size: 24px !important;
		line-height: 32px !important;
		margin: 0 0 34px !important;
		color: #fff !important;
	}

	

	.homepage__top-v3-panel {
		width: 100% !important;
		max-width: 340px !important;
		margin: 28px auto 18px !important;
		display: flex !important;
		flex-direction: column !important;
		gap: 18px !important;
		height: auto !important;
	}

.homepage__top-v3-panel-2 a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    text-align: center !important;
}

	.homepage__top-v3-panel-2,
	.homepage__top-v3-panel-1 {
		width: 100% !important;
		height: 70px !important;
		margin: 0 !important;
	}

	.homepage__top-v3-panel-2 a,
	.homepage__top-v3-panel-1 p {
		height: 70px !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		text-align: center !important;
		font-size: 20px !important;
		line-height: 24px !important;
	}

	.homepage__top-v3-text-3 {
		text-align: center !important;
		font-size: 20px !important;
		line-height: 26px !important;
		margin-top: 22px !important;
		color: #fff !important;
	}

/* Стили для пунктов на мобильных */
.homepage__top-bullits {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 315px !important;
    margin: 0 auto 30px auto !important;
}

.homepage__top-bullits > div {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    text-align: left !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(255,255,255,.3) !important;
}

.homepage__top-bullits > div:last-child {
    border-bottom: none !important;
}

.homepage__top-bullits img {
    width: 45px !important;
    height: 45px !important;
    object-fit: contain !important;
}

.homepage__top-bullits p {
    font-size: 16px !important;
    line-height: 22px !important;
    color: #fff !important;
    margin: 0 !important;
    flex: 1 !important;
}

}





@media screen and (max-width: 500px) {
	.glass-color__wrap-inner {
		position: relative;
		right: 0;
	}
	.calc__title-home {
		display: none;
	}
	.calc__list-title {
		font-size: 11px;
		width: 100%;
		line-height: 13px;
		overflow: visible;
	}
	.mobile-menu__logo {
		left: -1px;
		top: 4px;
	}
	.calc-page__text {
		font-size: 15px;
		margin: 0px auto 0px;
	}
	.homepage__question-answer {
		margin: 66px 0 -141px 0;
	}
	.section-help-white-block {
		margin: 61px 0 -37px 0;
	}
	.calc__container-title h3 {
		font-size: 19px;
		line-height: 130%;
		color: #565555;
		margin: 20px 0 0 0;
		font-family: serif;
		padding: 0;
	}
	#menu-podval-menyu {
		display: none;
	}
	.footer__address-title {
		margin: 0 14px;
	}
	.footer__phone-title {
		margin: 0 16px;
	}
	.header__phone a {
		font-size: 25px;
	}
	.header__phone a:before {
		top: -2px;
		display: none;
	}
	.homepage__top h1, .homepage__top-v2 h1 {
		color: #325868;
	}
	.homepage__top > div:nth-child(1) {
		padding: 0 10px 0 0;
	}
	.header__logo {
		width: 26vw;
		height: auto;
		display: block;
	}
	.header__work {
		font-size: 3.5vw;
		line-height: 18px;
		top: 4px;
	}
	.header__phone a {
		font-size: 4.5vw;
		line-height: 6vw;
		margin: 0 0 0 -1px;
	}
	.header__top-logo {
		width: 90px;
		height: auto;
		display: block;
		margin: 0 0;
	}
	.header__top-contacts > div:nth-child(2) {
		padding: 7px 0 0 0;
	}
	.homepage__catalog-list > div img {
		height: 188px;
	}
	.homepage__catalog-title {
		font-size: 18px;
		padding: 20px 0;
	}
	.homepage__catalog-list h3 {
		font-size: 12px;
		line-height: 16px;
		padding: 20px 0 0 0;
		min-height: 68px;
	}
	.homepage__catalog-price {
		font-size: 12px;
		line-height: 16px;
		padding: 10px 0 0 0;
	}
	.homepage__catalog-btn {
		font-size: 14px;
		width: 100px;
		height: 36px;
		padding: 4px 0 0 0;
		margin: 10px auto 0 auto;
	}
	.homepage__catalog-list h3 {
		font-size: 11px;
	}
	.popup__tinkoff {
		padding: 30px;
	}
	.popup__tinkoff-uslovia-list > div {
		flex: 0 100%;
		margin: 0 0 10px 0;
		height: auto;
		padding: 15px;
	}
	.popup__tinkoff-uslovia-list-title {
		position: relative;
		top: 0;
		width: 100%;
		padding: 0;
	}
	.popup__tinkoff-uslovia-list-subtitle {
		position: relative;
		bottom: 0;
		width: 100%;
		padding: 10px 0 0 0;
	}
	.homepage__top-mobile {
		background: url(images/mob2.jpg) no-repeat;
		background-size: cover;
		padding: 0 0 5px 0;
		margin: 0 0 20px 0;
	}
	.pickup_barrier__form-bg {
		border: none;
	}
	header {
		padding: 20px 0 0 0;
	}
	.form_calc label {
		font-size: 12px;
		line-height: 13px;
	}
	.calc__container-parametr-2 {
		gap: 10px 30px;
	}
	.footer__section-3-menu ul a {
		padding: 0 10px;
		font-size: 12px;
	}
	.footer__section-1-phone {
		justify-content: center;
		padding: 0;
	}
	.footer__section-1 {
		text-align: center;
	}
	.footer__section-1 > div:nth-child(1):after {
		display: none;
	}
	.footer__section-1 > div:nth-child(1), .footer__section-1 > div:nth-child(2) {
		flex: 0 100%;
	}
	.footer__section-1 > div:nth-child(1) {
		padding: 0 0 25px 0;
	}
	.footer__section-1 {
		margin: 25px 0;
	}
	.footer__section-1 > div:nth-child(2) {
		padding: 0;
	}
	.homepage__question-answer-title {
		font-size: 16px;
		margin: 40px 0 20px 0;
	}
	.homepage__question-answer-content {
		font-size: 14px;
		line-height: 105%;
	}
	.homepage__question-answer-title:after {
		width: 20px;
		height: 20px;
		background-size: 100%;
		top: -3px;
	}
	.homepage__question-answer-title.active:after {
		width: 20px;
		height: 20px;
		background-size: 100%;
		top: 5px;
	}
	.homepage__etaps-list > div {
		flex: 0 100%;
		margin: 0 0 40px 0;
	}
	.section-help__form {
		width: 100%;
		margin: 0 auto 40px auto;
	}
	.section-help__title {
		font-size: 24px;
		line-height: 30px;
		padding: 35px 0 20px 0;
		margin: 0px 0 0 0;
		color: #f00;
	}
	.section-help__subtitle {
		font-size: 18px;
		line-height: 24px;
		margin: 0 0 0 0;
	}
	.category-btn-item-wrap {
		margin: 20px 0 0 0;
		justify-content: center;
	}
	.homepage__top-v3-wrap {
		top: 130px;
		transform: translate(-50%, 0%);
		   width: 100%; /* Обеспечиваем, что элемент займет 100% ширины */
        margin: 0 auto; /* Центрируем по горизонтали */
        padding: 0 20px; /* Добавляем немного отступов */
	}
	.review__list-title:after {
		width: 70%;
		background-size: 100%;
		margin: 10px auto 0 auto;
	}
	.form-order__popup {
		padding: 60px 20px 20px 20px;
		width: 100%;
		height: 100vh;
		border: none;
		margin: 0;
		top: 0;
		left: 0;
		transform: translate(0);
		border-radius: 0;
	}
	.form__calc-bottom, .form__calc-full {
		text-align: left;
		font-size: 15px;
		line-height: 130%;
	}
	.form-order__popup-btn {
		margin: 0 auto;
	}
	.calc__list > a {
		padding: 10px 5px 20px;
	}
	.section-help-white {
		margin: 0;
		text-align: center;
	}
	.section-help-white__title {
		font-size: 24px;
		line-height: 30px;
	}
	.section-help-white__subtitle {
		font-size: 16px;
		line-height: 22px;
		margin: 0 0 30px 0;
	}
	.section-help-white div.wpforms-container-full .wpforms-form .wpforms-field-label {
		text-align: center !important;
		font-size: 16px !important;
	}
	.section-help-white .wpforms-field-file-upload label:after {
		width: 100%;
		margin: 20px auto;
	}
	div.wpforms-container div.wpforms-uploader .dz-message {
		margin: 0 auto !important;
	}
	.call-btn-zam {
		font-size: 13px;
		width: 180px;
		right: -70px;
		height: 46px;
	}
	.glass-color__srok-mobile {
		display: block;
	}
	.glass-color__srok-desktop {
		display: none;
	}
	.glass-color__srok {
		margin: 10px 0 20px 0;
	}
	.glass-color__srok span {
		font-size: 15px;
		line-height: 135%;
		font-family: serif;
	}
	.page-politic {
		margin: 124px 0 0 0;
	}
	.form_calc label:before,
	.form_calc label.active:before,
	.no-before:after {
		display: none !important;
	}
	.calc__list-link {
		font-size: 11px;
		width: 100%;
	}
	.glass-color-choice > div:nth-child(odd), .glass-color-choice > div:nth-child(even) {
		flex: 140px;
	}
	.glass-color-choice {
		max-width: 100%;
	}
	.glass-color-choice > div {
		margin: 0;
	}
	.glass-color-choice > div:nth-child(odd), .glass-color-choice > div:nth-child(even),
	.calc__container-parametr-furn-repeater > div {
		flex: 0 calc(50% - 10px);
		margin: 0 10px 10px 0;
	}
	.form__calc-services {
		width: calc(50% - 10px);
	}
	.calc__container-parametr-1 label {
		text-align: center;
		padding: 0;
		width: auto;
	}
	.form__calc-maintitle {
		margin: 20px;
	}
	.glass-color-choice > div,
	.calc__container-parametr-furn-repeater > div, .calc__container-parametr-storona > div, .calc__container-parametr-tol > div, .calc__container-parametr-class > div {
		height: 56px;
		border-radius: 10px;
	}
	.form__calc-services {
		height: 56px;
	}
	.form_calc label,
	.form_calc input {
		border-radius: 18px;
		height: 56px;
	}
	.form__calc-services {
		border-radius: 18px;
	}
	.color_price__img {
		height: 45px;
	}
	.color_price__icon {
		height: 40px;
		left: 10px;
		top: 6px;
	}
	.form_calc .calc__container-parametr-1 input {
		padding: 0 0 0 70px;
	}
	.calc__container-parametr-furn-repeater > div, .calc__container-parametr-storona > div, .calc__container-parametr-tol > div, .calc__container-parametr-class > div {
		margin: 0 10px 10px 0;
	}
	.calc__container-parametr-furn-repeater > div, .calc__container-parametr-storona > div, .calc__container-parametr-tol > div, .calc__container-parametr-class > div, .calc__container-parametr-wrap > div {
		flex: 0 calc(50% - 10px);
	}
	::-webkit-input-placeholder {font-size: 11px !important;}
	::-moz-placeholder {font-size: 11px !important;}
	:-moz-placeholder {font-size: 11px !important;}
	:-ms-input-placeholder {font-size: 11px !important;}
	.glass-color__wrap {
		height: auto;
	}
	 
	 
}

@media screen and (max-width: 425px) {
	.swiper-video {
		width: 277px;
	}
	.swiper-video iframe {
		width: 277px !important;
		height: 400px !important;
	}
	.header__phone a:before {
		margin: 0 10px 0 0;
		top: -1px;
	}
	header {
		padding: 12px 0;
	}
	.header__logo {
		width: 34vw;
		height: auto;
	}
	.homepage__top > div:nth-child(1) {
		padding: 0;
	}
	.homepage__top h1, .homepage__top-subtitle {
		font-size: 7.5vw;
		line-height: 9vw;
		margin: 10px 0;
	}
	.homepage__top-btn {
		width: 67vw;
		font-size: 15px;
		display: flex;
		align-items: center;
		justify-content: center;
		padding: 0;
		margin: 41px auto 30px auto;
		background-image: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,.5));
	}
	.homepage__top-bullits > div img {
		height: 34px;
	}
	.homepage__top-bullits > div p {
		font-size: 2.8vw;
		line-height: 4vw;
		padding: 13px 0;
	}
	.homepage__top {
		background-image: linear-gradient(to bottom, rgba(255,255,255,.7), rgba(255,255,255,.5));
	}
	.homepage__top-bullits {
		padding: 27px 0 0 0;
		background-image: linear-gradient(to bottom, rgba(253,253,253,62%), rgba(255,255,255,.5));
		margin: -10px 0;
	}
	.mobile-menu {
		padding: 250px 30px;
	}
	.header__menu-close {
		right: 36px;
		top: 19px;
	}
	.tinkoff_block {
		padding: 0px 0 0 0;
	}
	.wpforms-datepicker-wrap {
		width: 100% !important;
	}
	.homepage__etaps-list img {
		height: 47px;
		width: auto;
	}
	.homepage__etaps-text, .homepage__glass-text {
		font-size: 12px;
		line-height: 16px;
	}
	.homepage__glass-text {
		padding: 10px 10px 0 10px;
	}
	.footer__menu ul a {
		font-size: 10px;
	}
	.footer__menu ul li:nth-child(1) a:before {
		top: 0.3em;
	}
	.tinkoff_block__rass > div:nth-child(2) img {
		width: 50%;
	}
	.tinkoff_block__title {
		font-size: 22px;
		line-height: 28px;
	}
	.header__menu-btn {
		padding: 4px 0 0 0;
	}
	.header__menu-btn-calc {
		font-size: 13px;
	}
	.homepage__top-v3-wrap h1 span {
		font-size: 30px;
		line-height: 36px;
		display: block;
		margin: 20px 0 0 0;
	}
	.homepage__top-v3-text-4 {
		font-size: 20px;
	}
	.homepage__top-v3-wrap h1 {
		margin: 30px 0 20px 0;
	}
	.homepage__top-v3-text-2, .homepage__top-v3-text-3 {
		font-size: 13px;
	}
	.homepage__top-v3-text-3 {
		margin: 0;
	}
	.homepage__top-v3-panel {
		background: transparent;
		border-left: none;
	}
	.homepage__top-v3-panel > div {
		flex: 0 100%;
	}
	.homepage__top-v3-panel-2 a {
		font-size: 14px;
		width: 246px;
		margin: 20px auto;
	}
	.homepage__top-v3-panel-1, .homepage__top-v3-panel-3 {
		font-size: 17px;
		color: #ffffff;
	}
	.homepage__top-bullits {
		background-image: none;
	}
	.homepage__top-v3 {
		height: 657px;
		background-size: cover;
		margin: 0 -328px 0px -582px;
	}
	.homepage__top-v3-text-2 span {
		color: #ec0a0b;
		text-transform: uppercase;
		font-size: 13px;
	}
	.homepage__top-v3-panel-2 a {
		padding: 12px 30px;
		font-size: 13px;
		width: 200px;
		margin: 20px auto;
	}
	.wpforms-smart-phone-field {
		text-align: center !important;
		padding: 0 !important;
	}
	.homepage__etaps-list > div {
		flex: 0 100%;
		margin: 0 0 20px 0;
	}
	.section-help-white-block > div:nth-child(1) {
		padding: 10px 30px 40px 30px;
	}
	.form_calc label {
		font-size: 10px;
		padding: 8px 2px;
	}
	.color_price__img {
		margin: 0 5px;
	}
	.color_price__icon {
		height: 25px;
		top: 15px;
	}
	.form_calc .calc__container-parametr-1 input {
		padding: 0 0 0 45px;
	}
	.color_price__storona_img {
		height: 25px;
		margin: 0 10px 0 5px;
		width: auto;
	}
	


 .hero-measure {
  min-height: 980px !important; /* увеличиваем высоту всего блока */
 }

 .hero-measure::before {
  top: 357px !important;       /* фото ниже */
  height: 390px !important;
  background-size: 112% auto !important;
  background-position: center top !important;
 }

 .hero-measure__features {
  margin: -15px -20px 0 -20px !important; /* блок пунктов ниже */
  border-radius: 24px 24px 0 0 !important;
 }
}

@media screen and (max-width: 375px) {
	.header__logo {
		width: 34vw;
		height: auto;
	}
	.homepage__catalog-list > div img {
		height: 150px;
	}
	.homepage__catalog-list h3 {
		min-height: 60px;
		font-size: 9px;
		line-height: 13px;
	}
	.catalog__calc-choice .wpforms-field-name, .catalog__calc-choice .wpforms-field-phone {
		width: 100% !important;
		padding: 0 0 8px 0 !important;
	}
	.catalog__calc-choice button[type="submit"] {
		width: 100% !important;
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-3-columns ul li {
		padding-right: 16px !important;
	}
	.footer__bottom > div:nth-child(1) {
		flex: 0 90px;
	}
	.footer__bottom > div:nth-child(2) {
		flex: 0 calc(100% - 90px);
	}
	.footer__menu ul li {
		padding: 0 10px 0 0;
	}
	.pickup_barrier__form .form_subtitle {
		font-size: 18px !important;
		line-height: 26px !important;
	}
	.form_title {
		font-size: 20px;
	}
	.pickup_barrier__form .form_subtitle {
		padding: 20px 0px 0 0 !important;
	}
	.calc_form_btn {
		flex: 0 100%;
		margin: 20px 0 0 0;
	}
	.header__top > div:nth-child(2) {
		padding: 0;
	}
	.footer__section-1 a, .footer__section-1-phone p {
		font-size: 22px;
	}
	.glass-color__delivery-title {
		font-size: 16px;
	}
	.glass-color__delivery-text, .glass-color__delivery-text li {
		font-size: 12px;
	}
	.section-help__form-title {
		font-size: 16px;
		line-height: 22px;
	}
	.section-help__form {
		padding: 0 15px 30px 15px;
	}
	.section-help__title {
		font-size: 20px;
		line-height: 30px;
	}
	.color_price__img {
		height: 35px;
	}
	.form_calc label {
		font-size: 9px;
	}

 .hero-measure::before {
  top: 393px !important;       /* фото ниже */

 }
	}

	
	/* ===== ФИНАЛЬНОЕ ЦЕНТРИРОВАНИЕ ДЛЯ МОБИЛЬНЫХ ===== */

@media screen and (max-width: 320px) {
	.header__phone a:before {
		top: 0px;
	}
	.header__logo {
		width: 26vw;
		height: auto;
	}
	.homepage__top-bullits > div img {
		height: 40px;
	}
	.wpforms-title {
		font-size: 16px !important;
		line-height: 20px !important;
	}
	div.wpforms-container-full .wpforms-form .wpforms-list-3-columns ul li {
		padding-right: 10px !important;
	}
	.wpforms-image-choices-label {
		padding-right: 0px !important;
	}
	.constr-type > div {
		flex: 0 100%;
		margin: 0 0px 20px 0px;
	}
	.calc__list > div {
		flex: 0 100%;
		margin: 0 0 30px 0;
	}
	.footer__section-3-menu ul a {
		font-size: 10px;
	}
	.footer__section-3-text p {
		font-size: 10px;
		padding: 0 0 5px 0;
	}
	.section-help__form-title {
		font-size: 12px;
		line-height: 20px;
	}
	.header__top > div:nth-child(2) {
		flex: 0 calc(100% - 145px);
	}
	.header__top > div:nth-child(3) {
		flex: 0 55px;
	}

 .hero-measure::before {
  top: 425px !important;       /* фото ниже */

 }

 }
 
/* ===== КАК ЭТО РАБОТАЕТ + НУЖНА ПОМОЩЬ — ФИНАЛ ===== */

/* общий серый блок */
body.page-id-1581 .measure-process {
	width: 100% !important;
	max-width: 100% !important;
	margin: -5px auto 45px auto !important;
	padding: 46px 40px 42px !important;
	background: #f6f7f8 !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 35px rgba(0,0,0,0.08) !important;
	overflow: hidden !important;
}

/* блок "Как это работает" внутри общего */
body.page-id-1581 .measure-steps {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	overflow: visible !important;
}

body.page-id-1581 .measure-steps__title {
	text-align: center !important;
	font-family: ArialBold, Arial, sans-serif !important;
	font-size: 28px !important;
	line-height: 34px !important;
	margin: 0 0 38px 0 !important;
	color: #111 !important;
}

body.page-id-1581 .measure-steps__list {
	display: grid !important;
	grid-template-columns: repeat(4, 1fr) !important;
	gap: 42px !important;
	align-items: start !important;
}

body.page-id-1581 .measure-steps__item {
	position: relative !important;
	text-align: center !important;
}

body.page-id-1581 .measure-steps__item:not(:last-child)::after {
	content: "→" !important;
	position: absolute !important;
	top: 62px !important;
	right: -30px !important;
	font-size: 30px !important;
	color: #bdbdbd !important;
}

body.page-id-1581 .measure-steps__num {
	width: 28px !important;
	height: 28px !important;
	border-radius: 50% !important;
	background: #ef3337 !important;
	color: #fff !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	font-family: ArialBold, Arial, sans-serif !important;
	font-size: 14px !important;
	margin: 0 auto 14px auto !important;
}

body.page-id-1581 .measure-steps__icon,
body.page-id-1581 .measure-steps__icon svg {
	width: 54px !important;
	height: 54px !important;
	max-width: 54px !important;
	max-height: 54px !important;
	display: block !important;
	margin: 0 auto 18px auto !important;
}

body.page-id-1581 .measure-steps__item h3 {
	font-family: ArialBold, Arial, sans-serif !important;
	font-size: 17px !important;
	line-height: 22px !important;
	margin: 0 0 10px 0 !important;
	color: #111 !important;
}

body.page-id-1581 .measure-steps__item p {
	font-size: 15px !important;
	line-height: 22px !important;
	color: #333 !important;
	margin: 0 !important;
}

/* нижний блок с кнопкой внутри общего серого блока */
body.page-id-1581 .measure-call {
	width: 100% !important;
	margin: 44px 0 0 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border-radius: 0 !important;
	box-shadow: none !important;
}

body.page-id-1581 .measure-call__row {
	width: 100% !important;
	display: grid !important;
	grid-template-columns: 90px 1fr 360px !important;
	align-items: center !important;
	gap: 28px !important;
	padding: 30px 38px !important;
	background: rgba(255,255,255,0.55) !important;
	border-radius: 18px !important;
}

body.page-id-1581 .measure-call__icon svg {
	width: 58px !important;
	height: 58px !important;
	display: block !important;
}

body.page-id-1581 .measure-call__title {
	font-family: ArialBold, Arial, sans-serif !important;
	font-size: 24px !important;
	line-height: 30px !important;
	margin: 0 0 6px 0 !important;
	color: #111827 !important;
}

body.page-id-1581 .measure-call__text {
	font-size: 17px !important;
	line-height: 24px !important;
	margin: 0 !important;
	color: #333 !important;
}

body.page-id-1581 .measure-call__btn {
	width: 100% !important;
	height: 58px !important;
	border: none !important;
	border-radius: 10px !important;
	background: #ef3337 !important;
	color: #fff !important;
	font-family: ArialBold, Arial, sans-serif !important;
	font-size: 15px !important;
	cursor: pointer !important;
	box-shadow: 0 10px 22px rgba(239,51,55,0.25) !important;
}

body.page-id-1581 .measure-call__btn span {
	margin-left: 8px !important;
	padding: 5px 10px !important;
	border-radius: 8px !important;
	background: rgba(255,255,255,0.2) !important;
}

body.page-id-1581 .measure-call__btn:hover {
	animation: none !important;
	box-shadow: 0 0 20px rgba(239, 51, 55, 0.7) !important;
	transform: scale(1.02) !important;
	transition: all 0.2s ease !important;
}

body.page-id-1581 .measure-call__icon svg {
	width: 58px !important;
	height: 58px !important;
	display: block !important;
}

/* ===== МОБИЛКА 0–767 ===== */
@media screen and (max-width: 767px) {

	/* =========================
	   КАК ЭТО РАБОТАЕТ
	========================= */

	body.page-id-1581 .measure-steps {
		width: calc(100% - 24px) !important;
		padding: 28px 18px 24px !important;
		border-radius: 16px !important;
	}

	body.page-id-1581 .measure-steps__title {
		font-size: 34px !important;
		line-height: 38px !important;
		margin: 0 0 30px 0 !important;
		text-align: center !important;
	}

	body.page-id-1581 .measure-steps__list {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 34px !important;
	}

	body.page-id-1581 .measure-steps__item {
		width: 100% !important;
		text-align: center !important;
		position: relative !important;
		padding-bottom: 26px !important;
	}

	body.page-id-1581 .measure-steps__item:not(:last-child)::after {
		content: "↓" !important;
		position: absolute !important;
		left: 50% !important;
		bottom: -12px !important;
		transform: translateX(-50%) !important;
		font-size: 24px !important;
		color: #bdbdbd !important;
	}

	body.page-id-1581 .measure-steps__num {
		width: 34px !important;
		height: 34px !important;
		font-size: 16px !important;
		margin: 0 auto 14px auto !important;
	}

	body.page-id-1581 .measure-steps__icon,
	body.page-id-1581 .measure-steps__icon svg {
		width: 52px !important;
		height: 52px !important;
		margin: 0 auto 14px auto !important;
	}

	body.page-id-1581 .measure-steps__item h3 {
		font-size: 23px !important;
		line-height: 34px !important;
		margin: 0 0 10px 0 !important;
		text-align: center !important;
	}

	body.page-id-1581 .measure-steps__item p {
		display: none !important;
	}

	/* =========================
	   НУЖНА ПОМОЩЬ С ЗАМЕРОМ
	========================= */

	body.page-id-1581 .measure-call__row {
		display: flex !important;
		flex-direction: column !important;
		align-items: center !important;
		justify-content: center !important;

		text-align: center !important;

		padding: 28px 20px !important;
		gap: 18px !important;

		width: 100% !important;
	}

	/* ИКОНКА */
	body.page-id-1581 .measure-call__icon {
		order: 1 !important;
		margin: 0 auto !important;
	}

	body.page-id-1581 .measure-call__icon svg,
	body.page-id-1581 .measure-call__icon img {
		width: 56px !important;
		height: 56px !important;
		display: block !important;
		margin: 0 auto !important;
	}

	/* ТЕКСТ */
	body.page-id-1581 .measure-call__content {
		order: 2 !important;

		width: 100% !important;
		max-width: 100% !important;

		text-align: center !important;
	}

	body.page-id-1581 .measure-call__title {
		font-size: 30px !important;
		line-height: 36px !important;
		text-align: center !important;

		margin: 0 0 12px 0 !important;
	}

	body.page-id-1581 .measure-call__text {
		font-size: 18px !important;
		line-height: 30px !important;
		text-align: center !important;

		margin: 0 !important;
	}

	/* КНОПКА */
	body.page-id-1581 .measure-call__btn {
		order: 3 !important;

		width: 100% !important;
		max-width: 290px !important;
		height: 58px !important;

		display: flex !important;
		align-items: center !important;
		justify-content: center !important;

		margin: 8px auto 0 auto !important;

		padding: 0 20px !important;

		font-size: 17px !important;
		line-height: 17px !important;
		text-align: center !important;

		border-radius: 8px !important;
	}

	/* УБИРАЕМ "БЕСПЛАТНО" */
	body.page-id-1581 .measure-call__btn span {
		display: none !important;
	}
	
	 body.page-id-1581 .measure-steps__item {
  padding-bottom: 46px !important;
 }

 body.page-id-1581 .measure-steps__item:not(:last-child)::after {
  content: "↓" !important;
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: auto !important;
  bottom: 8px !important;
  transform: translateX(-50%) !important;
  font-size: 28px !important;
  line-height: 1 !important;
  color: #bdbdbd !important;
  font-weight: 400 !important;
  z-index: 5 !important;
 }

 body.page-id-1581 .measure-steps__item:last-child::after {
  display: none !important;
  content: none !important;
 }
}

@media screen and (max-width: 768px) {
    /* Принудительное центрирование всего блока на мобильных */
    .homepage__top-modern .homepage__top-v3-wrap {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .homepage__top-modern .container {
        display: flex !important;
        justify-content: center !important;
    }
	
		    .homepage__hero-features {
        display: flex !important;
        flex-direction: column !important;  /* Вертикальное расположение */
        align-items: center !important;     /* Центрирование по горизонтали */
        justify-content: center !important;
        width: 100% !important;
        margin: 0 auto 30px auto !important;
        gap: 18px !important;
    }

    .homepage__hero-features > div {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 280px !important;  /* Фиксированная ширина для ровности */
        max-width: 90% !important;
        margin: 0 auto !important;
        text-align: left !important;
    }

    .homepage__hero-features span {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        flex-shrink: 0 !important;
    }

    .homepage__hero-features p {
        text-align: left !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.3 !important;
    }
	
	    .calc-page__wrap {
        margin: 0px 0 0 0;
    }
}
/* ===== Адаптация нового блока Наши работы ===== */
@media screen and (max-width: 1200px) {
    .works-showcase {
        padding: 46px 30px 54px 30px;
    }
    .works-showcase__slider {
        padding: 0 50px 54px 50px;
    }
    .works-showcase__item {
        grid-template-columns: minmax(180px, .82fr) minmax(300px, 1.25fr) minmax(180px, .82fr);
        gap: 18px;
    }
    .works-showcase__media--side {
        height: 330px;
    }
    .works-showcase__media--video {
        height: 460px;
    }
}
@media screen and (max-width: 900px) {
    .works-showcase {
        margin: 46px 0 60px 0;
        padding: 34px 18px 42px 18px;
        border-radius: 18px;
    }
    .works-showcase__subtitle {
        font-size: 14px;
        line-height: 22px;
    }
    .works-showcase__slider {
        padding: 0 0 48px 0;
        overflow: hidden;
    }
    .works-showcase__item {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    .works-showcase__media--video {
        grid-column: 1 / -1;
        order: 1;
        height: 520px;
        border-radius: 18px;
    }
    .works-showcase__media--closed {
        order: 2;
    }
    .works-showcase__media--opened {
        order: 3;
    }
    .works-showcase__media--side {
        height: 210px;
        border-radius: 14px;
    }
    .works-showcase__name {
        font-size: 19px;
        line-height: 25px;
        bottom: 58px;
    }
    .works-showcase__label {
        left: 10px;
        bottom: 10px;
        padding: 7px 9px;
        font-size: 11px;
        line-height: 14px;
    }
    .works-showcase__nav.swiper-button-prev,
    .works-showcase__nav.swiper-button-next {
        display: none !important;
    }
    .works-showcase__btn {
        width: 100%;
        max-width: 300px;
        height: 52px;
        line-height: 52px;
        font-size: 14px;
    }
    .works-archive {
        padding: 80px 0 45px 0;
    }
    .works-archive__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}
@media screen and (max-width: 600px) {
    .works-showcase {
        width: calc(100% + 10px);
        margin-left: -5px;
        margin-right: -5px;
        padding: 30px 14px 38px 14px;
    }
    .works-showcase .homepage__title,
    .works-showcase__title {
        font-size: 30px !important;
        line-height: 36px !important;
    }
    .works-showcase__media--video {
        height: 490px;
    }
    .works-showcase__media--side {
        height: 170px;
    }
    .works-showcase__play {
        width: 64px;
        height: 64px;
    }
    .works-showcase__play span {
        border-top-width: 11px;
        border-bottom-width: 11px;
        border-left-width: 16px;
        margin-left: 25px;
    }
    .works-showcase__name {
        left: 16px;
        right: 16px;
        font-size: 17px;
        line-height: 23px;
    }
    .works-archive__title {
        font-size: 32px;
        line-height: 38px;
    }
    .works-archive__item .works-showcase__item {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .works-archive__item .works-showcase__media--video {
        grid-column: 1/-1;
        height: 460px;
    }
    .works-archive__item .works-showcase__media--side {
        height: 160px;
    }

@media screen and (max-width: 380px) {
    .works-showcase__media--video {
        height: 430px;
    }
    .works-showcase__media--side {
        height: 145px;
    }
}
/* ===== single-calc: отключаем старые responsive-правила калькулятора ===== */
@media screen and (min-width: 601px) and (max-width: 1100px) {
  body.single-calc .calc__container > div:nth-child(1),
  body.single-calc .calc__container > div:nth-child(2),
  body.single-calc .calc__container > div:nth-child(3) {
    flex: none !important;
    min-width: 0 !important;
  }

  body.single-calc .glass-color-choice > div,
  body.single-calc .calc__container-parametr-furn-repeater > div,
  body.single-calc .calc__container-parametr-wrap > div,
  body.single-calc .calc__container-parametr-storona > div,
  body.single-calc .calc__container-parametr-class > div,
  body.single-calc .form__calc-services {
    flex: none !important;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  body.single-calc .calc__container-parametr-1,
  body.single-calc .calc__container-parametr-2,
  body.single-calc .calc__container-parametr-3 {
    display: block !important;
    flex-direction: initial !important;
  }

  body.single-calc .form__calc-services label {
    width: 100% !important;
  }
}

/* ===== FIX 2026-05-16 v3 RESPONSIVE OVERRIDE: homepage hero ===== */


/* ===== FIX 2026-05-16: hero options + mobile messengers ===== */
.homepage__mobile-messengers {
    display: none !important;
}

/* Убираем старый fixed-блок WhatsApp/мессенджеров на главной, чтобы не конфликтовал с макетом */
body.home .messenger-icons,
body.front-page .messenger-icons,
body.home .whatsapp,
body.front-page .whatsapp,
body.home .whatsapp-icon,
body.front-page .whatsapp-icon,
body.home a[href*="wa.me"],
body.front-page a[href*="wa.me"],
body.home a[href*="whatsapp"],
body.front-page a[href*="whatsapp"] {
    display: none !important;
}

/* Планшет: общий сброс конфликтующих правил hero-features */
@media screen and (min-width: 769px) and (max-width: 1180px) {
    body.home .homepage__top-v3.homepage__top-modern,
    body.front-page .homepage__top-v3.homepage__top-modern {
        overflow: hidden !important;
    }

    body.home .homepage__top-modern .homepage__hero-features,
    body.front-page .homepage__top-modern .homepage__hero-features {
        display: grid !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 22px 0 !important;
        padding: 0 !important;
        align-items: start !important;
        justify-content: start !important;
        overflow: visible !important;
    }

    body.home .homepage__top-modern .homepage__hero-features > div,
    body.front-page .homepage__top-modern .homepage__hero-features > div {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        flex: none !important;
        margin: 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        text-align: left !important;
    }

    body.home .homepage__top-modern .homepage__hero-features span,
    body.front-page .homepage__top-modern .homepage__hero-features span {
        width: 24px !important;
        height: 24px !important;
        min-width: 24px !important;
        flex: 0 0 24px !important;
        border-radius: 7px !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }

    body.home .homepage__top-modern .homepage__hero-features p,
    body.front-page .homepage__top-modern .homepage__hero-features p {
        margin: 0 !important;
        text-align: left !important;
        color: #fff !important;
        font-family: ArialBold, Arial, sans-serif !important;
    }
}

/* iPad Mini / 768px: как мобильная версия — пункты ровно вертикально по центру */
@media screen and (min-width: 701px) and (max-width: 800px) {
    body.home .homepage__top-modern .homepage__top-v3-wrap,
    body.front-page .homepage__top-modern .homepage__top-v3-wrap {
        width: 100% !important;
        max-width: 560px !important;
        margin: 0 auto !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-text-1,
    body.front-page .homepage__top-modern .homepage__top-v3-text-1,
    body.home .homepage__top-modern .homepage__top-v3-wrap h1,
    body.front-page .homepage__top-modern .homepage__top-v3-wrap h1,
    body.home .homepage__top-modern .homepage__top-v3-text-4,
    body.front-page .homepage__top-modern .homepage__top-v3-text-4 {
        text-align: center !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-wrap h1,
    body.front-page .homepage__top-modern .homepage__top-v3-wrap h1 {
        font-size: 40px !important;
        line-height: 1.08 !important;
        max-width: 560px !important;
        margin-bottom: 20px !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-text-4,
    body.front-page .homepage__top-modern .homepage__top-v3-text-4 {
        font-size: 24px !important;
        margin-bottom: 32px !important;
    }

    body.home .homepage__top-modern .homepage__hero-features,
    body.front-page .homepage__top-modern .homepage__hero-features {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
        max-width: 390px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-content: center !important;
    }

    body.home .homepage__top-modern .homepage__hero-features > div,
    body.front-page .homepage__top-modern .homepage__hero-features > div {
        width: 100% !important;
    }

    body.home .homepage__top-modern .homepage__hero-features p,
    body.front-page .homepage__top-modern .homepage__hero-features p {
        font-size: 20px !important;
        line-height: 1.24 !important;
    }
}

/* iPad Air 820 и близкие: 2 ряда по 2 пункта */
@media screen and (min-width: 801px) and (max-width: 900px) {
    body.home .homepage__top-modern .homepage__hero-features,
    body.front-page .homepage__top-modern .homepage__hero-features {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 16px 22px !important;
        max-width: 620px !important;
    }

    body.home .homepage__top-modern .homepage__hero-features p,
    body.front-page .homepage__top-modern .homepage__hero-features p {
        font-size: 15px !important;
        line-height: 1.22 !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-wrap h1,
    body.front-page .homepage__top-modern .homepage__top-v3-wrap h1 {
        font-size: 44px !important;
        line-height: 1.05 !important;
        max-width: 630px !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-text-4,
    body.front-page .homepage__top-modern .homepage__top-v3-text-4 {
        font-size: 22px !important;
        margin-bottom: 24px !important;
    }
}

/* iPad Pro 1024: 4 пункта в один ряд, но меньше шрифт, чтобы не вылезало */
@media screen and (min-width: 901px) and (max-width: 1180px) {
    body.home .homepage__top-modern .homepage__hero-features,
    body.front-page .homepage__top-modern .homepage__hero-features {
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 12px !important;
        max-width: 100% !important;
    }

    body.home .homepage__top-modern .homepage__hero-features p,
    body.front-page .homepage__top-modern .homepage__hero-features p {
        font-size: 12px !important;
        line-height: 1.18 !important;
    }

    body.home .homepage__top-modern .homepage__hero-features span,
    body.front-page .homepage__top-modern .homepage__hero-features span {
        width: 21px !important;
        height: 21px !important;
        min-width: 21px !important;
        flex-basis: 21px !important;
        font-size: 12px !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-wrap h1,
    body.front-page .homepage__top-modern .homepage__top-v3-wrap h1 {
        font-size: 38px !important;
        line-height: 1.06 !important;
        max-width: 610px !important;
        margin-bottom: 16px !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-text-1,
    body.front-page .homepage__top-modern .homepage__top-v3-text-1 {
        font-size: 16px !important;
        margin-bottom: 12px !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-text-4,
    body.front-page .homepage__top-modern .homepage__top-v3-text-4 {
        font-size: 18px !important;
        margin-bottom: 18px !important;
    }
}

/* Телефон: мессенджеры статично внутри hero, не поверх кнопок */
@media screen and (max-width: 768px) {
    body.home .homepage__top-v3.homepage__top-modern,
    body.front-page .homepage__top-v3.homepage__top-modern {
        position: relative !important;
        overflow: hidden !important;
    }

    body.home .homepage__top-modern .homepage__top-v3-wrap,
    body.front-page .homepage__top-modern .homepage__top-v3-wrap {
        position: relative !important;
        z-index: 2 !important;
    }

    body.home .homepage__top-modern .homepage__hero-features,
    body.front-page .homepage__top-modern .homepage__hero-features {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 390px !important;
        margin: 0 auto 28px auto !important;
        gap: 18px !important;
    }

    body.home .homepage__top-modern .homepage__hero-features > div,
    body.front-page .homepage__top-modern .homepage__hero-features > div {
        width: 280px !important;
        max-width: 88vw !important;
        flex: none !important;
        margin: 0 auto !important;
        justify-content: flex-start !important;
        align-items: center !important;
    }

    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        position: absolute !important;
        left: -4px !important;
        bottom: 114px !important;
        z-index: 6 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        width: 58px !important;
        pointer-events: auto !important;
    }

    body.home .homepage__mobile-messenger,
    body.front-page .homepage__mobile-messenger {
        width: 58px !important;
        height: 58px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
        text-decoration: none !important;
    }

    body.home .homepage__mobile-messenger img,
    body.front-page .homepage__mobile-messenger img {
        width: 58px !important;
        height: 58px !important;
        object-fit: contain !important;
        display: block !important;
        max-width: none !important;
        max-height: none !important;
        margin: 0 !important;
        transform: none !important;
    }

    body.home .homepage__mobile-messenger--max img,
    body.front-page .homepage__mobile-messenger--max img {
        width: 62px !important;
        height: 62px !important;
    }
}

/* Не показываем эти плавающие иконки на десктопе/широкой версии: там они уже есть в header */
@media screen and (min-width: 769px) {
    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        display: none !important;
    }
}


/* ===== FINAL FIX 2026-05-16: Telegram/MAX fixed on mobile/tablet, hidden on desktop ===== */
body.home a[href*="wa.me"],
body.front-page a[href*="wa.me"],
body.home a[href*="whatsapp"],
body.front-page a[href*="whatsapp"],
body.home .mobile_whatsapp,
body.front-page .mobile_whatsapp,
body.home .whatsapp,
body.front-page .whatsapp,
body.home .whatsapp-icon,
body.front-page .whatsapp-icon {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

@media screen and (max-width: 1180px) {
    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        position: fixed !important;
        left: max(8px, env(safe-area-inset-left)) !important;
        bottom: max(92px, calc(env(safe-area-inset-bottom) + 92px)) !important;
        z-index: 999 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 16px !important;
        width: 58px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        pointer-events: auto !important;
    }

    body.home .homepage__mobile-messenger,
    body.front-page .homepage__mobile-messenger {
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        text-decoration: none !important;
        box-shadow: none !important;
    }

    body.home .homepage__mobile-messenger img,
    body.front-page .homepage__mobile-messenger img {
        display: block !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
    }

    body.home .homepage__mobile-messenger--max img,
    body.front-page .homepage__mobile-messenger--max img {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        min-height: 66px !important;
    }
}

@media screen and (min-width: 1181px) {
    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

/* ===== FIX 2026-05-17: mobile messenger shake + top layer ===== */
@keyframes gsMessengerShake {
    0%, 66%, 100% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
    70% {
        transform: translate3d(-1px, 0, 0) rotate(-7deg) scale(1.03);
    }
    74% {
        transform: translate3d(2px, 0, 0) rotate(7deg) scale(1.03);
    }
    78% {
        transform: translate3d(-2px, 0, 0) rotate(-6deg) scale(1.02);
    }
    82% {
        transform: translate3d(2px, 0, 0) rotate(6deg) scale(1.02);
    }
    86% {
        transform: translate3d(-1px, 0, 0) rotate(-4deg) scale(1.01);
    }
    90% {
        transform: translate3d(1px, 0, 0) rotate(4deg) scale(1.01);
    }
    94% {
        transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
    }
}

@keyframes gsMessengerPulse {
    0% {
        opacity: .42;
        transform: translate(-50%, -50%) scale(.82);
    }
    70%, 100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.42);
    }
}

@media screen and (max-width: 1180px) {
    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        position: fixed !important;
        left: max(10px, env(safe-area-inset-left)) !important;
        bottom: max(118px, calc(env(safe-area-inset-bottom) + 118px)) !important;
        z-index: 2147483647 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        width: 60px !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: none !important;
        isolation: isolate !important;
        overflow: visible !important;
    }

    body.home .homepage__mobile-messenger,
    body.front-page .homepage__mobile-messenger {
        position: relative !important;
        z-index: 2147483647 !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 50% !important;
        background: transparent !important;
        box-shadow: none !important;
        text-decoration: none !important;
        overflow: visible !important;
        pointer-events: auto !important;
        transform-origin: 50% 50% !important;
        animation: gsMessengerShake 2.45s ease-in-out infinite !important;
        will-change: transform !important;
        filter: drop-shadow(0 7px 12px rgba(0, 0, 0, .38)) !important;
    }

    body.home .homepage__mobile-messenger--telegram,
    body.front-page .homepage__mobile-messenger--telegram {
        animation-delay: 0s !important;
    }

    body.home .homepage__mobile-messenger--max,
    body.front-page .homepage__mobile-messenger--max {
        animation-delay: .35s !important;
    }

    body.home .homepage__mobile-messenger::before,
    body.front-page .homepage__mobile-messenger::before {
        content: "" !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        z-index: 0 !important;
        width: 52px !important;
        height: 52px !important;
        border-radius: 50% !important;
        background: rgba(255, 255, 255, .28) !important;
        transform: translate(-50%, -50%) scale(.82) !important;
        animation: gsMessengerPulse 2.45s ease-out infinite !important;
        pointer-events: none !important;
    }

    body.home .homepage__mobile-messenger--max::before,
    body.front-page .homepage__mobile-messenger--max::before {
        animation-delay: .35s !important;
    }

    body.home .homepage__mobile-messenger img,
    body.front-page .homepage__mobile-messenger img {
        position: relative !important;
        z-index: 1 !important;
        display: block !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: contain !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
        opacity: 1 !important;
    }

    body.home .homepage__mobile-messenger--max img,
    body.front-page .homepage__mobile-messenger--max img {
        width: 66px !important;
        height: 66px !important;
        min-width: 66px !important;
        min-height: 66px !important;
    }
}

@media screen and (max-width: 480px) {
    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        left: max(8px, env(safe-area-inset-left)) !important;
        bottom: max(104px, calc(env(safe-area-inset-bottom) + 104px)) !important;
        gap: 10px !important;
        width: 56px !important;
    }

    body.home .homepage__mobile-messenger,
    body.front-page .homepage__mobile-messenger,
    body.home .homepage__mobile-messenger img,
    body.front-page .homepage__mobile-messenger img {
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        max-width: 52px !important;
        max-height: 52px !important;
    }

    body.home .homepage__mobile-messenger--max img,
    body.front-page .homepage__mobile-messenger--max img {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        min-height: 62px !important;
    }
}

@media screen and (min-width: 1181px) {
    body.home .homepage__mobile-messengers,
    body.front-page .homepage__mobile-messengers {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
}

