/*!
Theme Name: Mosvodostoy
Theme URI: https://yaco.digital
Author: Vladimir Yakovlev
Author URI: https://yaco.digital
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mosvodostoy
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

.wpcf7-spinner {
	position: absolute;
	z-index: 5;
}

.hero-cta select {
	width: 100%;
}

.hero-cta,
.cta-block,
.modal-form {
	max-width: 100%;
	box-sizing: border-box;
}

.hero-cta *,
.cta-block *,
.modal-form * {
	box-sizing: border-box;
}

.hero-cta input,
.hero-cta select,
.hero-cta textarea,
.cta-block input,
.cta-block select,
.cta-block textarea,
.modal-form input,
.modal-form select,
.modal-form textarea {
	max-width: 100%;
	min-width: 0;
}

.hero-cta .btn,
.hero-cta__submit,
.cta-block .btn,
.cta-block__submit,
.modal-form .btn,
.modal-form__submit {
	max-width: 100%;
}

.hero-cta .cta-privacy,
.cta-block .cta-privacy,
.modal-form .cta-privacy {
	max-width: 100%;
	min-width: 0;
}

.hero-cta .cta-privacy span:last-child,
.cta-block .cta-privacy span:last-child,
.modal-form .cta-privacy span:last-child {
	min-width: 0;
	overflow-wrap: anywhere;
}

.hero-services {
	display: grid;
	gap: 10px;
	padding: 16px 20px;
	border-radius: 20px;
	background: #f4f6fb;
}

.hero-services__item {
	display: flex;
	align-items: center;
	gap: 10px;
	position: relative;
	font-size: 16px;
	line-height: 1.3;
	color: #0a0a0a;
	cursor: pointer;
}

.hero-services__item--nested {
	margin-left: 30px;
}

.hero-services__item input {
	position: absolute;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.hero-services__checkbox {
	position: relative;
	width: 20px;
	height: 20px;
	border: 1px solid #bad0ea;
	border-radius: 4px;
	background: #fff;
	flex: 0 0 auto;
}

.hero-services__checkbox:before {
	content: '';
	position: absolute;
	top: 3px;
	left: 6px;
	width: 6px;
	height: 10px;
	border: solid #005ca8;
	border-width: 0 2px 2px 0;
	opacity: 0;
	visibility: hidden;
	transform: rotate(45deg);
}

.hero-services__item input:checked + .hero-services__checkbox:before {
	opacity: 1;
	visibility: visible;
}

.hero-services__item input:focus + .hero-services__checkbox {
	box-shadow: 0 0 0 2px rgba(0, 92, 168, 0.18);
}

.social-buttons__item img {
	width: 22px;
	height: 22px;
	object-fit: contain;
}

input.form-field-error,
select.form-field-error,
textarea.form-field-error {
	border-color: #e72c44 !important;
	box-shadow: 0 0 0 1px #e72c44 !important;
}

.cta-privacy.form-field-error .fake-checkbox {
	border-color: #e72c44;
	opacity: 1;
}

.cta-privacy.form-field-error span:last-child {
	color: #e72c44;
}

.cta-block input.form-field-error,
.cta-block select.form-field-error,
.cta-block textarea.form-field-error {
	border-color: #ffd84d !important;
	box-shadow: 0 0 0 2px #ffd84d !important;
	background: #fff !important;
}

.cta-block .cta-privacy.form-field-error .fake-checkbox {
	border-color: #ffd84d;
	box-shadow: 0 0 0 2px rgba(255, 216, 77, 0.35);
	opacity: 1;
}

.cta-block .cta-privacy.form-field-error span:last-child,
.cta-block .cta-privacy.form-field-error a {
	color: #fff;
}

.cta-block .cta-privacy.form-field-error a {
	text-decoration-thickness: 2px;
}

.wpcf7-not-valid-tip,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output {
	display: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
	white-space: pre-line;
}

.cta-privacy .wpcf7-form-control-wrap {
	display: none;
}

.hero-cta .cta-privacy label,
.cta-block .cta-privacy label,
.modal-form .cta-privacy label {
	position: relative;
}

.hero-cta .cta-privacy .wpcf7-form-control-wrap[data-name^="acceptance"],
.cta-block .cta-privacy .wpcf7-form-control-wrap[data-name^="acceptance"],
.modal-form .cta-privacy .wpcf7-form-control-wrap[data-name^="acceptance"] {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 20px;
	height: 20px;
	z-index: 2;
}

.hero-cta .cta-privacy .wpcf7-form-control-wrap[data-name^="acceptance"] input,
.cta-block .cta-privacy .wpcf7-form-control-wrap[data-name^="acceptance"] input,
.modal-form .cta-privacy .wpcf7-form-control-wrap[data-name^="acceptance"] input {
	display: block;
	visibility: visible;
	width: 20px;
	height: 20px;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.hero-cta .cta-privacy label:has(.wpcf7-acceptance input:checked) .fake-checkbox,
.cta-block .cta-privacy label:has(.wpcf7-acceptance input:checked) .fake-checkbox,
.modal-form .cta-privacy label:has(.wpcf7-acceptance input:checked) .fake-checkbox {
	opacity: 1;
}

.hero-cta .cta-privacy label:has(.wpcf7-acceptance input:checked) .fake-checkbox:before,
.cta-block .cta-privacy label:has(.wpcf7-acceptance input:checked) .fake-checkbox:before,
.modal-form .cta-privacy label:has(.wpcf7-acceptance input:checked) .fake-checkbox:before {
	opacity: 1;
	visibility: visible;
}

.cta-block .wpcf7-not-valid-tip {
	color: #ffdb1d;
	position: absolute;
	top: 100%;
}

.cta-block .wpcf7 form .wpcf7-response-output {
	color: #fff;
}

.cta-block__item .wpcf7-form-control-wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}
.cta-block__item input {
	max-height: 68px;
}

@media (max-width: 767px) {
	.hero-cta,
	.cta-block,
	.modal-form {
		overflow: hidden;
	}

	.hero-cta__form,
	.hero-cta__item,
	.hero-cta__submit,
	.cta-block__row,
	.cta-block__item,
	.cta-block__submit,
	.modal-form__item,
	.modal-form__submit {
		width: 100%;
		max-width: 100%;
		min-width: 0;
	}

	.hero-cta input,
	.hero-cta select,
	.hero-cta textarea,
	.cta-block input,
	.cta-block select,
	.cta-block textarea,
	.modal-form input,
	.modal-form select,
	.modal-form textarea {
		width: 100%;
	}

	.hero-cta .btn,
	.cta-block .btn,
	.modal-form .btn {
		width: 100%;
	}

	.cta-block__row {
		flex-wrap: wrap;
	}

	.hero-services {
		padding: 14px 16px;
	}

	.hero-services__item--nested {
		margin-left: 24px;
	}
}

.cta-block .amo-form em.error{
	color: #ffdb1d;
}

.logos-cards .slick-list {
	-webkit-box-flex: 1;
	-ms-flex: 1 1 auto;
	flex: 1 1 auto;
}
.logos-cards .slick-track {
	margin-left: 0;
}

.calculate-body .slides .element-img .image {
	background-repeat: no-repeat;
	background-position: center;
}


body.woocommerce-shop .page-products .content, body.woocommerce-shop .page-products .woocommerce-pagination, body.term-29 .page-products .content, body.term-29 .page-products .woocommerce-pagination, body.term-30 .page-products .content, body.term-30 .page-products .woocommerce-pagination, body.term-31 .page-products .content, body.term-31 .page-products .woocommerce-pagination, body.term-282 .page-products .content, body.term-282 .page-products .woocommerce-pagination, body.term-283 .page-products .content, body.term-283 .page-products .woocommerce-pagination, body.term-284 .page-products .content, body.term-284 .page-products .woocommerce-pagination, body.term-291 .page-products .content, body.term-291 .page-products .woocommerce-pagination, body.term-304 .page-products .content, body.term-304 .page-products .woocommerce-pagination, body.term-305 .page-products .content, body.term-305 .page-products .woocommerce-pagination, body.term-333 .page-products .content, body.term-333 .page-products .woocommerce-pagination, body.term-405 .page-products .content, body.term-405 .page-products .woocommerce-pagination, body.term-410 .page-products .content, body.term-410 .page-products .woocommerce-pagination, body.term-452 .page-products .content, body.term-452 .page-products .woocommerce-pagination, body.term-624 .page-products .content, body.term-624 .page-products .woocommerce-pagination, body.term-1107 .page-products .content, body.term-1107 .page-products .woocommerce-pagination, body.term-1139 .page-products .content, body.term-1139 .page-products .woocommerce-pagination {
	display: none!important;
}

body.term-29 .page-products .catalog-cards:not(.model-list),
body.term-30 .page-products .catalog-cards:not(.model-list),
body.term-624 .page-products .catalog-cards:not(.model-list),
body.term-1107 .page-products .catalog-cards:not(.model-list),
body.term-1139 .page-products .catalog-cards:not(.model-list) {
	display: none !important;
}

.product-category {
	display: none!important;
}

.product-atributes__item p {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: justify;
	-ms-flex-pack: justify;
	justify-content: space-between;
}

.product-atributes__item p span {
	font-weight: 600;
	opacity: .8;
	text-align: right;
}

.montazh-all-price {
	transition: all .3s ease;
	margin-top: 10px;
}
.montazh-all-price:not(.active) {
	opacity: 0;
	visibility: hidden;
	height: 0;
	margin-top: 0;
}

.accordion .content {
	z-index: 2;
}

.catalog-cards__title {
	white-space: wrap;
}

.product-block__image {
	position: relative;
}


.bonus{
	position: absolute;
	top: 0;
	right: 5px;
	width: 50px;
	height: 98px;
	background-image: url(../images/sprite-retina.png);
	background-size: 620px;
	z-index: 10;
}

.bonus.discount {
	background: url(../images/bonus_discount.png);
	color: #fff;
}

.bonus.discount::before {
	width: 50px;
	position: absolute;
	white-space: pre;
	display: inline;
	top: 55px;
	left: 50%;
	transform: translate(-50%, -25px);
	text-align: center;
	font-weight: bold;
	font-size: 20px;
}

.bonus.discount.discount_12::before {
	content: '12%';
}
.bonus.discount.discount_15::before {
	content: '15%';
}
.bonus.discount.discount_5::before {
	content: '5%';
}
.bonus.discount.discount_10::before {
	content: '10%';
}
.bonus.discount.discount_20::before {
	content: '20%';
}
.bonus.discount::after {
	width: 50px;
	position: absolute;
	white-space: pre;
	display: inline;
	top: 75px;
	left: 50%;
	transform: translate(-50%, -25px);
	content: 'СКИДКА';
	text-align: center;
	font-weight: bold;
	font-size:10px;
}

.bonus.bestseller{
	background-position: -52px -210px;
}
.bonus.years_warranty_5{
	background-position: -1px -210px;
}
.bonus.years_warranty_10{
	background-position: -104px -210px;
}
.bonus.best_choice{
	background-position: -155px -210px;
}
.bonus.otzyv{
	background-position: -206px -210px;
}

.page-products .bonus.best_choice {
	background-size:413px;
	background-position: -103px -140px;
	width: 33.3px;
	height: 65.3px;
}


.page-product .options .selectbox{
    cursor: pointer;
    width: 190px;
    padding: 0 20px 0 10px;
    background: #fff;
    border: 1px solid #4b85d2;
}

.page-product .options .selectbox:after {
    position: absolute;
    content: '';
    top: 11px;
    right: 8px;
    width: 15px;
    height: 11px;
    background-image: url(../images/sprite-retina.png);
    background-size: 400px;
    background-position: -352px -145px;
}

.page-product .options .selectbox.active:after {
    background-position: -352px -134px;
}

.page-product .options .selectbox_dropdown{
    position: absolute;
    top: 37px;
    right: 0;
    display: none;
    max-height: 165px;
    width:220px;
    overflow:scroll;
    background: #fff;
    border: 1px solid #4b85d2;
    border-top: 0;
    z-index: 999;
}

.page-product .options .selectbox_dropdown.active{
    display: block;
}

.page-product .options .selectbox_dropdown .link,
.page-product .options .selectbox_dropdown .element{
    padding: 0 10px;
    line-height: 30px;
}

.page-product .options .selectbox_dropdown .link{
    display: block;
    color: #717070;
    text-decoration: none;
}

.page-product .options .selectbox_dropdown .element.active,
.page-product .options .selectbox_dropdown .element:hover,
.page-product .options .selectbox_dropdown .link.active,
.page-product .options .selectbox_dropdown .link:hover{
    cursor: pointer;
    color: #fff;
    background: #4b85d2;
}

.benefits-cards__icon img {
	max-width: 100%;
	object-fit: contain;
}

.amo-form em.error {
	display: block;
	padding: 5px 0;
	font-size: 0.8em;
	color: #F3415E;
}/* deploy test 2026-06-03 19:03:55 */
