/*
 * Кастомные стили темы Falcor
 * Tailwind подключается через CDN в functions.php
 */

/* Логотип — ограничение размера */
.custom-logo {
	height: 52px;
	width: auto;
}

.falcor-header-surface,
.falcor-header-surface.is-scrolled {
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.44) 0%, rgba(244, 247, 252, 0.28) 100%);
	backdrop-filter: blur(10px) saturate(135%);
	-webkit-backdrop-filter: blur(10px) saturate(135%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.28);
	box-shadow: 0 6px 18px rgba(55, 52, 53, 0.04);
	transition: background 0.25s ease, backdrop-filter 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#search-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 0;
	border: 1px solid transparent;
	border-radius: 0;
	background: transparent;
	color: #373435;
	box-shadow: none;
	transition: opacity 0.22s ease, color 0.22s ease;
}

#search-toggle:hover,
#search-toggle.is-active {
	background: transparent;
	color: #373435;
	box-shadow: none;
	opacity: 0.72;
}

#search-toggle svg {
	flex-shrink: 0;
	color: currentColor;
}

#search-panel {
	top: calc(100% + 12px);
	left: auto;
	right: max(24px, calc((100vw - 1550px) / 2 + 24px));
	width: min(460px, calc(100vw - 48px));
	border: 1px solid rgba(151, 152, 154, 0.2);
	border-radius: 20px;
	background: #f6f6f6;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	box-shadow: 0 18px 34px rgba(55, 52, 53, 0.12);
	overflow: hidden;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-12px) scale(0.98);
	transform-origin: top right;
	transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

#search-panel.is-open {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0) scale(1);
}

#search-panel .max-w-\[1550px\] {
	max-width: none;
	margin: 0;
	padding: 18px 20px;
}

#search-panel .search-form {
	max-width: none;
	gap: 0;
}

#search-panel .search-form input {
	min-width: 0;
	height: 48px;
	padding-left: 16px;
	padding-right: 16px;
	border-color: rgba(151, 152, 154, 0.5);
	border-radius: 12px 0 0 12px;
	background: #ffffff;
	font-size: 16px;
	color: #373435;
	box-shadow: none;
}

#search-panel .search-form button {
	height: 48px;
	padding-left: 20px;
	padding-right: 20px;
	border-radius: 0 12px 12px 0;
	white-space: nowrap;
	background: #373435;
	box-shadow: none;
}

#wpadminbar {
	display: none !important;
}

html {
	margin-top: 0 !important;
	overflow-x: clip;
}

body.admin-bar {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body {
	overflow-x: clip;
}

.falcor-whatsapp-icon {
	filter: brightness(0) invert(1);
}

.falcor-cf7 {
	width: 100%;
}

.falcor-cf7 form,
form:has(.falcor-cf7) {
	position: relative;
}

.falcor-form-toast-root {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 9999;
	pointer-events: none;
}

.falcor-form-toast {
	min-width: 280px;
	max-width: 420px;
	padding: 14px 16px;
	border: 1px solid rgba(151, 152, 154, 0.45);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	box-shadow: 0 12px 36px rgba(55, 52, 53, 0.12);
	font-size: 14px;
	line-height: 1.35;
	color: #373435;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.22s ease, transform 0.22s ease;
}

.falcor-form-toast.is-visible {
	opacity: 1;
	transform: translateY(0);
}

.falcor-form-toast--success {
	border-color: rgba(67, 143, 42, 0.8);
	box-shadow: 0 12px 36px rgba(67, 143, 42, 0.12);
}

.falcor-form-toast--error {
	border-color: rgba(183, 76, 76, 0.7);
	box-shadow: 0 12px 36px rgba(183, 76, 76, 0.12);
}

.falcor-cf7 p {
	margin: 0 0 10px;
	padding: 0;
}

.falcor-cf7 p:last-child {
	margin-bottom: 0;
}

.falcor-cf7 br {
	display: none !important;
}

.falcor-cf7 .falcor-cf7-field {
	position: relative;
	display: block;
	margin-bottom: 10px;
}

.falcor-cf7 .wpcf7-form-control-wrap {
	display: block;
	width: 100%;
}

.falcor-cf7 .falcor-cf7-icon {
	position: absolute;
	top: 23px;
	left: 18px;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	transform: translateY(-50%);
	margin-top: 0;
	pointer-events: none;
}

.falcor-cf7 .falcor-cf7-icon img {
	width: 100%;
	height: 100%;
	object-fit: contain;
	opacity: 1;
}

.falcor-cf7 .falcor-cf7-input {
	width: 100%;
	height: 46px;
	padding: 0 16px 0 50px;
	border: 1px solid #bdbfc1;
	border-radius: 8px;
	background: transparent;
	box-shadow: none;
	outline: none;
	font-size: 16px;
	line-height: 1;
	color: #373435;
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.falcor-cf7 .falcor-cf7-input::placeholder {
	color: #bdbfc1;
	opacity: 1;
}

.falcor-cf7 .falcor-cf7-input:focus {
	border-color: #96989a;
}

.falcor-cf7 .falcor-cf7-input.is-invalid {
	border-color: #b74c4c;
}

.falcor-cf7 .falcor-cf7-field.has-error {
	margin-bottom: 10px;
}

.falcor-cf7 .falcor-cf7-inline-error {
	display: none !important;
}

.falcor-cf7 .falcor-cf7-submit {
	width: 100%;
	min-height: 46px;
	border: 1.5px solid #373435;
	border-radius: 8px;
	background: transparent;
	color: #373435;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	font-family: "Century Gothic", CenturyGothic, AppleGothic, sans-serif;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}

.falcor-cf7 .falcor-cf7-submit:hover {
	background: #373435;
	color: #ffffff;
}

.falcor-cf7--request p {
	margin: 0 0 10px;
	text-align: center;
}

.falcor-cf7--request .falcor-cf7-field {
	width: 100%;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 10px;
}

.falcor-cf7--request .falcor-cf7-icon {
	left: 16px;
	top: 23px;
	width: 18px;
	height: 18px;
}

.custom-abzac p {
    margin-bottom: 25px !important;
}

.falcor-cf7--request .falcor-cf7-input {
	width: 100%;
	max-width: 300px;
	height: 46px;
	min-height: 46px;
	padding: 0 14px 0 42px;
	border: 1.5px solid #373435;
	border-radius: 8px;
	font-size: 16px;
	line-height: 1;
	color: #373435;
	background: transparent;
}

.falcor-cf7--request textarea.falcor-cf7-input {
	height: 46px;
	min-height: 46px;
	padding-top: 13px;
	padding-bottom: 13px;
	resize: none;
	overflow: hidden;
	line-height: 1;
}

.falcor-cf7--request .falcor-cf7-input::placeholder {
	color: #bdbfc1;
	opacity: 1;
}

.falcor-cf7--request .falcor-cf7-submit {
	width: 100%;
	max-width: 290px;
	display: block;
	margin-left: auto;
	margin-right: auto;
	min-height: 46px;
	border: 1.5px solid #373435;
	border-radius: 8px;
	background: #373435;
	color: #ffffff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
}

.falcor-cf7--request .falcor-cf7-submit:hover {
	background: #2f2b2d;
	border-color: #2f2b2d;
	color: #ffffff;
}

.order-model-copy p {
	margin-bottom: 30px;
}

.order-model-copy p:last-child {
	margin-bottom: 0;
}

.falcor-floating-socials {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 80;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.falcor-floating-socials__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	/* width: 44px;
	height: 44px;
	border: 1.5px solid #373435; */
	border-radius: 999px;
	/* background: rgba(255, 255, 255, 0.92); */
	backdrop-filter: blur(4px);
	box-shadow: 0 6px 18px rgba(55, 52, 53, 0.12);
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.falcor-floating-socials__link:hover {
	opacity: 0.78;
	transform: translateY(-2px);
}

.falcor-floating-socials__icon {
	width: 24px;
	height: 24px;
	object-fit: contain;
}

.custom-line-height p {
	line-height: 25px;
}

@media (min-width: 1024px) {
	.falcor-floating-socials__link {
		/* width: 88px;
		height: 88px; */
	}

	.falcor-floating-socials__icon {
		width: 48px;
		height: 48px;
	}
}

@media (max-width: 767px) {
	.falcor-cf7--request p {
		margin-bottom: 10px;
	}

	.falcor-cf7--request .falcor-cf7-field {
		max-width: 300px;
		margin-bottom: 10px;
	}

	.falcor-cf7--request .falcor-cf7-icon {
		left: 16px;
		top: 23px;
		width: 18px;
		height: 18px;
	}

	.falcor-cf7--request .falcor-cf7-input {
		max-width: 300px;
		min-height: 46px;
		height: 46px;
		padding: 0 14px 0 42px;
		border-radius: 8px;
		font-size: 18px;
	}

	.falcor-cf7--request textarea.falcor-cf7-input {
		height: 46px;
		min-height: 46px;
		padding-top: 13px;
		padding-bottom: 13px;
	}

	.falcor-cf7--request .falcor-cf7-submit {
		max-width: 290px;
		min-height: 46px;
		border-radius: 8px;
		font-size: 18px;
	}

	.falcor-floating-socials {
		right: 16px;
		bottom: 16px;
		gap: 10px;
	}

	.falcor-floating-socials__link {
		/* width: 44px;
		height: 44px; */
	}

	.falcor-floating-socials__icon {
		width: 48px;
		height: 48px;
	}
}

.wpcf7-form .wpcf7-response-output,
.wpcf7 form .wpcf7-response-output {
	display: none !important;
}

.wpcf7-form .wpcf7-spinner,
.wpcf7 form .wpcf7-spinner,
.falcor-cf7 .wpcf7-spinner,
.wpcf7-not-valid-tip {
	display: none !important;
}

/* Пагинация WordPress */
.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 2rem;
}

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	border: 1px solid #d1d5db;
	color: #374151;
	transition: all 0.2s;
}

.nav-links .page-numbers:hover {
	background-color: #eef2ff;
	border-color: #a5b4fc;
	color: #4f46e5;
}

.nav-links .page-numbers.current {
	background-color: #4f46e5;
	border-color: #4f46e5;
	color: #fff;
}

/* Контент из редактора WordPress */
.prose h2 {
	font-size: 1.5rem;
	font-weight: 700;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.prose h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin-top: 1.5rem;
	margin-bottom: 0.75rem;
}

.prose p {
	margin-bottom: 1rem;
	line-height: 1.75;
}

.prose ul {
	list-style-type: disc;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.prose ol {
	list-style-type: decimal;
	padding-left: 1.5rem;
	margin-bottom: 1rem;
}

.prose blockquote {
	border-left: 4px solid #6366f1;
	padding-left: 1rem;
	font-style: italic;
	color: #4b5563;
	margin: 1.5rem 0;
}

.prose img {
	border-radius: 0.5rem;
	max-width: 100%;
	height: auto;
}

.prose a {
	color: #4f46e5;
	text-decoration: underline;
}

.prose a:hover {
	color: #3730a3;
}

.prose pre {
	background-color: #111827;
	color: #f3f4f6;
	border-radius: 0.5rem;
	padding: 1rem;
	overflow-x: auto;
	margin: 1.5rem 0;
}

.prose code {
	background-color: #f3f4f6;
	font-size: 0.875rem;
	padding: 0.125rem 0.375rem;
	border-radius: 0.25rem;
}

/* ==============================
   Контент из wp_editor — wysiwyg-content
   Сбрасывает Tailwind-reset для любого HTML
   ============================== */
.wysiwyg-content p {
	margin-bottom: 0.75em;
}
.wysiwyg-content p:last-child {
	margin-bottom: 0;
}
.wysiwyg-content ul {
	list-style-type: disc;
	padding-left: 1.5em;
	margin-bottom: 0.75em;
}
.wysiwyg-content ol {
	list-style-type: decimal;
	padding-left: 1.5em;
	margin-bottom: 0.75em;
}
.wysiwyg-content li {
	margin-bottom: 0.25em;
}
.wysiwyg-content h1 {
	font-size: 2em;
	font-weight: 700;
	margin-bottom: 0.5em;
}
.wysiwyg-content h2 {
	font-size: 1.5em;
	font-weight: 700;
	margin-bottom: 0.5em;
}
.wysiwyg-content h3 {
	font-size: 1.25em;
	font-weight: 600;
	margin-bottom: 0.5em;
}
.wysiwyg-content h4 {
	font-size: 1.1em;
	font-weight: 600;
	margin-bottom: 0.5em;
}
.wysiwyg-content strong,
.wysiwyg-content b {
	font-weight: 700;
}
.wysiwyg-content em,
.wysiwyg-content i {
	font-style: italic;
}
.wysiwyg-content a {
	color: #373435;
	text-decoration: underline;
}
.wysiwyg-content a:hover {
	opacity: 0.7;
}
.wysiwyg-content blockquote {
	border-left: 3px solid #96989a;
	padding-left: 1em;
	margin: 0.75em 0;
	color: #555;
}
.wysiwyg-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 0.75em;
}
.wysiwyg-content th,
.wysiwyg-content td {
	border: 1px solid #d1d5db;
	padding: 0.5em 0.75em;
	text-align: left;
}
.wysiwyg-content th {
	background-color: #f3f4f6;
	font-weight: 600;
}
.wysiwyg-content img {
	max-width: 100%;
	height: auto;
}
.wysiwyg-content hr {
	border: none;
	border-top: 1px solid #d1d5db;
	margin: 1em 0;
}
.wysiwyg-content br {
	display: block;
}
.wysiwyg-content sub {
	vertical-align: sub;
	font-size: 0.8em;
}
.wysiwyg-content sup {
	vertical-align: super;
	font-size: 0.8em;
}

.why-choose-two-content p {
	margin-bottom: 25px;
}

.why-choose-two-content p:last-child {
	margin-bottom: 0;
}

/* Мобильное меню: скрыто на десктопе */
#mobile-menu-panel {
	display: none;
}

/* ==============================
	Адаптив шапки и главной страницы
	============================== */
@media (max-width: 1199px) {
	#masthead > .max-w-\[1550px\] {
		gap: 20px;
	}

	#masthead .flex.items-center.gap-6 {
		gap: 18px;
	}

	body.page-template-template-home-php #content > section,
	body.page-template-template-home #content > section {
		padding-left: 24px;
		padding-right: 24px;
	}

	body.page-template-template-home-php #content > section:first-of-type,
	body.page-template-template-home #content > section:first-of-type {
		padding-top: 76px;
	}

	body.page-template-template-home-php #content .mb-\[100px\],
	body.page-template-template-home #content .mb-\[100px\] {
		margin-bottom: 64px;
	}

	body.page-template-template-home-php #content .mb-\[74px\],
	body.page-template-template-home #content .mb-\[74px\] {
		margin-bottom: 52px;
	}

	body.page-template-template-home-php #content .mb-\[60px\],
	body.page-template-template-home #content .mb-\[60px\] {
		margin-bottom: 44px;
	}

	body.page-template-template-home-php #content .mb-\[55px\],
	body.page-template-template-home #content .mb-\[55px\],
	body.page-template-template-home-php #content .mb-\[50px\],
	body.page-template-template-home #content .mb-\[50px\] {
		margin-bottom: 36px;
	}

	body.page-template-template-home-php #content .mt-\[80px\],
	body.page-template-template-home #content .mt-\[80px\] {
		margin-top: 56px;
	}

	body.page-template-template-home-php #content .mt-\[50px\],
	body.page-template-template-home #content .mt-\[50px\] {
		margin-top: 36px;
	}
}

@media (max-width: 1023px) {
	#page {
		overflow-x: clip;
	}

	#mobile-menu-toggle {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 1px solid rgba(151, 152, 154, 0.35);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.72);
	}

	#masthead a.hidden.md\:inline-flex,
	#site-navigation {
		display: none !important;
	}

	#search-toggle span {
		display: none !important;
	}

	#search-toggle {
		width: 42px;
		height: 42px;
		min-width: 42px;
		min-height: 42px;
		padding: 0;
		border-radius: 999px;
		background: #373435;
		color: #ffffff;
		box-shadow: 0 10px 24px rgba(55, 52, 53, 0.14);
	}

	#search-toggle:hover,
	#search-toggle.is-active {
		background: #4a4849;
		color: #ffffff;
		box-shadow: 0 14px 30px rgba(55, 52, 53, 0.18);
		opacity: 1;
	}

	#search-panel {
		top: 100%;
		left: 0;
		right: 0;
		width: auto;
		border: 0;
		border-top: 1px solid rgba(151, 152, 154, 0.22);
		border-radius: 0;
		background: rgba(255, 255, 255, 0.96);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
		border-top: 1px solid rgba(151, 152, 154, 0.22);
		box-shadow: 0 18px 34px rgba(55, 52, 53, 0.12);
		transform: translateY(-10px) scale(1);
		transform-origin: top center;
	}

	#mobile-menu-panel {
		display: block;
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: 0;
		width: 100%;
		height: 100dvh;
		height: 100vh;
		background: rgba(55, 52, 53, 0.16);
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		transition: opacity 0.22s ease, visibility 0.22s ease;
		z-index: 10002;
		overflow: hidden;
		-webkit-overflow-scrolling: touch;
	}

	#mobile-menu-panel.is-open {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
	}

	#search-panel .max-w-\[1550px\] {
		padding-top: 16px;
		padding-bottom: 18px;
	}

	.falcor-mobile-menu-drawer {
		width: min(360px, calc(100vw - 24px));
		max-width: none;
		height: 100%;
		margin-right: 0;
		margin-left: auto;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		padding: 88px 18px 24px;
		position: relative;
		background: rgba(255, 255, 255, 0.96);
		box-shadow: -12px 0 34px rgba(55, 52, 53, 0.14);
		transform: translateX(100%);
		transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
	}

	#mobile-menu-panel.is-open .falcor-mobile-menu-drawer {
		transform: translateX(0);
	}

	.falcor-mobile-menu-drawer .menu,
	.falcor-mobile-menu-drawer ul {
		display: flex;
		flex-direction: column;
		gap: 0;
	}

	.falcor-mobile-menu-close {
		position: absolute;
		top: 24px;
		right: 18px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 42px;
		height: 42px;
		padding: 0;
		border: 1px solid rgba(151, 152, 154, 0.35);
		border-radius: 999px;
		background: rgba(255, 255, 255, 0.82);
		color: #373435;
	}

	.falcor-mobile-menu-content {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}

	.falcor-mobile-menu-catalog {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		align-self: flex-start;
		background: #373435;
		color: #ffffff;
		font-size: 14px;
		font-weight: 500;
		padding: 8px 20px;
		border-radius: 0.25rem;
		box-shadow: 0 10px 24px rgba(55, 52, 53, 0.14);
	}

	.falcor-mobile-menu-list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	.falcor-mobile-menu-list > li > a,
	.falcor-mobile-menu-list .menu-item > a {
		display: block;
		padding: 12px 0;
		border: 0;
		border-radius: 0;
		background: transparent;
		color: #373435;
		text-align: left;
		font-size: 16px;
		line-height: 1.4;
	}

	.falcor-mobile-menu-list > li + li {
		border-top: 1px solid rgba(189, 191, 193, 0.35);
	}

	.falcor-mobile-menu-list a:hover,
	.falcor-mobile-menu-catalog:hover,
	.falcor-mobile-menu-close:hover {
		opacity: 0.8;
	}

	body.page-template-template-home-php #content > section,
	body.page-template-template-home #content > section {
		padding-top: 48px;
		padding-bottom: 48px;
	}

	body.page-template-template-home-php #content > section:first-of-type,
	body.page-template-template-home #content > section:first-of-type {
		padding-top: 64px;
	}

	body.page-template-template-home-php #content .text-\[40px\],
	body.page-template-template-home #content .text-\[40px\] {
		font-size: 34px;
		line-height: 1.12;
	}

	body.page-template-template-home-php #content .text-\[24px\],
	body.page-template-template-home #content .text-\[24px\] {
		font-size: 22px;
		line-height: 1.3;
	}

	body.page-template-template-home-php #content .text-\[18px\],
	body.page-template-template-home #content .text-\[18px\] {
		font-size: 17px;
		line-height: 1.6;
	}

	body.page-template-template-home-php #content .text-\[28px\],
	body.page-template-template-home #content .text-\[28px\] {
		font-size: 24px;
	}

	body.page-template-template-home-php #content .gap-\[55px\],
	body.page-template-template-home #content .gap-\[55px\] {
		gap: 28px;
	}

	body.page-template-template-home-php #content .gap-\[40px\],
	body.page-template-template-home #content .gap-\[40px\] {
		gap: 24px;
	}

	body.page-template-template-home-php #content .p-\[40px\],
	body.page-template-template-home #content .p-\[40px\] {
		padding: 28px;
	}

	body.page-template-template-home-php #content .p-\[34px\],
	body.page-template-template-home #content .p-\[34px\],
	body.page-template-template-home-php #content .p-\[30px\],
	body.page-template-template-home #content .p-\[30px\] {
		padding: 24px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(5) .flex.justify-end,
	body.page-template-template-home #content > section:nth-of-type(5) .flex.justify-end {
		justify-content: center;
	}

	/* Маркировка на 768 */
	body.page-template-template-home-php #content > section:nth-of-type(7) > .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(7) > .wysiwyg-content,
	body.page-template-template-home-php #content > section:nth-of-type(7) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(7) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div {
		min-height: 182px;
		padding-top: 20px;
		padding-bottom: 20px;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div > .absolute,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div > .absolute {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 76px;
		height: 76px;
		margin: 0 auto 14px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap,
	body.page-template-template-home #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap > div,
	body.page-template-template-home #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap > div {
		width: auto;
		min-width: 0;
	}

	/* Почему выбирают на 768 */
	body.page-template-template-home-php #content > section:nth-of-type(8) > .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(8) > .wysiwyg-content,
	body.page-template-template-home-php #content > section:nth-of-type(8) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(8) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(8) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-6,
	body.page-template-template-home #content > section:nth-of-type(8) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 50px;
		align-items: start;
	}
}

@media (max-width: 767px) {
	.custom-logo {
		height: 44px;
	}

	#masthead > .max-w-\[1550px\] {
		padding-top: 12px;
		padding-bottom: 12px;
		padding-left: 16px;
		padding-right: 16px;
	}

	#masthead .site-branding {
		max-width: calc(100% - 168px);
	}

	#masthead .flex.items-center.gap-6 {
		gap: 16px;
		margin-left: auto;
	}

	#masthead .flex.items-center.gap-6 > a[aria-label],
	#masthead .flex.items-center.gap-6 > button {
		flex-shrink: 0;
	}

	#masthead a[aria-label="Корзина"] {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 34px;
		height: 34px;
	}

	#search-toggle,
	#mobile-menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 38px;
		height: 38px;
		padding: 0;
	}

	#search-toggle {
		width: 38px;
		height: 38px;
		min-height: 38px;
		min-width: 38px;
		padding: 0;
		border-radius: 999px;
		gap: 0;
		aspect-ratio: 1 / 1;
	}

	#mobile-menu-toggle {
		width: 40px;
		height: 40px;
	}

	#search-toggle svg,
	#mobile-menu-toggle svg {
		width: 20px;
		height: 20px;
	}

	#search-panel .max-w-\[1550px\] {
		padding-left: 16px;
		padding-right: 16px;
		padding-top: 12px;
		padding-bottom: 14px;
	}

	#search-panel .search-form {
		max-width: none;
		gap: 0;
	}

	#search-panel .search-form input {
		min-width: 0;
		font-size: 16px;
		height: 42px;
		padding-left: 14px;
		padding-right: 14px;
		border-color: rgba(151, 152, 154, 0.5);
	}

	#search-panel .search-form button {
		height: 42px;
		padding-left: 16px;
		padding-right: 16px;
		white-space: nowrap;
		background: #373435;
		border-radius: 0 10px 10px 0;
	}

	body.page-template-template-home-php #content > section,
	body.page-template-template-home #content > section {
		padding-top: 40px;
		padding-bottom: 40px;
		padding-left: 20px;
		padding-right: 20px;
	}

	body.page-template-template-home-php #content > section:first-of-type,
	body.page-template-template-home #content > section:first-of-type {
		padding-top: 44px;
		padding-bottom: 12px;
	}

	body.page-template-template-home-php #content > section:first-of-type > div,
	body.page-template-template-home #content > section:first-of-type > div {
		gap: 28px;
	}

	body.page-template-template-home-php #content > section:first-of-type .text-\[2rem\],
	body.page-template-template-home #content > section:first-of-type .text-\[2rem\] {
		font-size: 42px;
		line-height: 1.08;
		margin-bottom: 44px;
	}

	body.page-template-template-home-php #content > section:first-of-type img,
	body.page-template-template-home #content > section:first-of-type img {
		width: min(100%, 360px);
	}

	body.page-template-template-home-php #content .text-\[40px\],
	body.page-template-template-home #content .text-\[40px\] {
		font-size: 30px;
		line-height: 1.14;
	}

	body.page-template-template-home-php #content .text-\[24px\],
	body.page-template-template-home #content .text-\[24px\] {
		font-size: 20px;
		line-height: 1.3;
	}

	body.page-template-template-home-php #content .text-\[18px\],
	body.page-template-template-home #content .text-\[18px\] {
		font-size: 16px;
		line-height: 1.58;
	}

	body.page-template-template-home-php #content .text-\[28px\],
	body.page-template-template-home #content .text-\[28px\] {
		font-size: 22px;
	}

	body.page-template-template-home-php #content .text-right,
	body.page-template-template-home #content .text-right {
		text-align: left;
	}

	body.page-template-template-home-php #content .mb-\[100px\],
	body.page-template-template-home #content .mb-\[100px\] {
		margin-bottom: 40px;
	}

	body.page-template-template-home-php #content .mb-\[74px\],
	body.page-template-template-home #content .mb-\[74px\] {
		margin-bottom: 32px;
	}

	body.page-template-template-home-php #content .mb-\[60px\],
	body.page-template-template-home #content .mb-\[60px\],
	body.page-template-template-home-php #content .mb-\[55px\],
	body.page-template-template-home #content .mb-\[55px\],
	body.page-template-template-home-php #content .mb-\[50px\],
	body.page-template-template-home #content .mb-\[50px\] {
		margin-bottom: 28px;
	}

	body.page-template-template-home-php #content .mt-\[80px\],
	body.page-template-template-home #content .mt-\[80px\] {
		margin-top: 40px;
	}

	body.page-template-template-home-php #content .mt-\[50px\],
	body.page-template-template-home #content .mt-\[50px\] {
		margin-top: 28px;
	}

	body.page-template-template-home-php #content .gap-\[55px\],
	body.page-template-template-home #content .gap-\[55px\] {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	body.page-template-template-home-php #content .gap-\[55px\] > .max-w-\[100px\],
	body.page-template-template-home #content .gap-\[55px\] > .max-w-\[100px\] {
		max-width: 80px;
		height: 80px;
	}

	body.page-template-template-home-php #content .grid.grid-cols-2,
	body.page-template-template-home #content .grid.grid-cols-2 {
		grid-template-columns: 1fr;
	}

	body.page-template-template-home-php #content .p-\[40px\],
	body.page-template-template-home #content .p-\[40px\],
	body.page-template-template-home-php #content .p-\[34px\],
	body.page-template-template-home #content .p-\[34px\],
	body.page-template-template-home-php #content .p-\[30px\],
	body.page-template-template-home #content .p-\[30px\] {
		padding: 20px;
	}

	body.page-template-template-home-php #content .rounded-\[16px\],
	body.page-template-template-home #content .rounded-\[16px\] {
		border-radius: 14px;
	}

	body.page-template-template-home-php #content .rounded-\[8px\],
	body.page-template-template-home #content .rounded-\[8px\] {
		border-radius: 10px;
	}

	.falcor-floating-socials {
		right: 14px;
		bottom: 14px;
		gap: 8px;
	}
}

@media (max-width: 479px) {
	.custom-logo {
		height: 40px;
	}

	#masthead > .max-w-\[1550px\] {
		padding-left: 12px;
		padding-right: 12px;
	}

	#masthead .flex.items-center.gap-6 {
		gap: 10px;
	}

	#masthead .site-branding {
		max-width: calc(100% - 148px);
	}

	#search-toggle,
	#mobile-menu-toggle {
		width: 36px;
		height: 36px;
		min-width: 36px;
		min-height: 36px;
	}

	#mobile-menu-toggle {
		width: 38px;
		height: 38px;
	}

	body.page-template-template-home-php #content > section,
	body.page-template-template-home #content > section {
		padding-left: 16px;
		padding-right: 16px;
	}

	body.page-template-template-home-php #content > section:first-of-type .text-\[2rem\],
	body.page-template-template-home #content > section:first-of-type .text-\[2rem\] {
		font-size: 32px;
		line-height: 1.12;
		margin-bottom: 32px;
	}

	body.page-template-template-home-php #content .text-\[40px\],
	body.page-template-template-home #content .text-\[40px\] {
		font-size: 28px;
	}

	body.page-template-template-home-php #content .text-\[24px\],
	body.page-template-template-home #content .text-\[24px\] {
		font-size: 18px;
	}

	body.page-template-template-home-php #content .text-\[18px\],
	body.page-template-template-home #content .text-\[18px\] {
		font-size: 15px;
	}

	body.page-template-template-home-php #content .p-\[40px\],
	body.page-template-template-home #content .p-\[40px\],
	body.page-template-template-home-php #content .p-\[34px\],
	body.page-template-template-home #content .p-\[34px\],
	body.page-template-template-home-php #content .p-\[30px\],
	body.page-template-template-home #content .p-\[30px\] {
		padding: 18px;
	}

	body.page-template-template-home-php #content .px-\[12px\],
	body.page-template-template-home #content .px-\[12px\],
	body.page-template-template-home-php #content .px-\[14px\],
	body.page-template-template-home #content .px-\[14px\] {
		padding-left: 12px;
		padding-right: 12px;
	}
}

@media (max-width: 767px) {
	/* О продукте */
	body.page-template-template-home-php #content > section:nth-of-type(4) .lg\:w-\[62\%\],
	body.page-template-template-home #content > section:nth-of-type(4) .lg\:w-\[62\%\],
	body.page-template-template-home-php #content > section:nth-of-type(4) .w-full,
	body.page-template-template-home #content > section:nth-of-type(4) .w-full {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(4) .text-right,
	body.page-template-template-home #content > section:nth-of-type(4) .text-right,
	body.page-template-template-home-php #content > section:nth-of-type(4) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(4) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(4) .flex.justify-end,
	body.page-template-template-home #content > section:nth-of-type(4) .flex.justify-end {
		justify-content: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(4) img,
	body.page-template-template-home #content > section:nth-of-type(4) img {
		margin-left: auto;
		margin-right: auto;
	}

	/* Как сделать заказ */
	body.page-template-template-home-php #content > section:nth-of-type(5) .lg\:w-\[60\%\],
	body.page-template-template-home #content > section:nth-of-type(5) .lg\:w-\[60\%\],
	body.page-template-template-home-php #content > section:nth-of-type(5) .order-model-copy,
	body.page-template-template-home #content > section:nth-of-type(5) .order-model-copy,
	body.page-template-template-home-php #content > section:nth-of-type(5) .order-model-copy p,
	body.page-template-template-home #content > section:nth-of-type(5) .order-model-copy p,
	body.page-template-template-home-php #content > section:nth-of-type(5) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(5) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(5) .flex.justify-end,
	body.page-template-template-home #content > section:nth-of-type(5) .flex.justify-end {
		justify-content: center;
	}

	/* О бренде */
	body.page-template-template-home-php #content > section:nth-of-type(6) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(6) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(6) .gap-\[55px\],
	body.page-template-template-home #content > section:nth-of-type(6) .gap-\[55px\] {
		align-items: center;
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(6) .gap-\[55px\] > .max-w-\[100px\],
	body.page-template-template-home #content > section:nth-of-type(6) .gap-\[55px\] > .max-w-\[100px\] {
		margin-left: auto;
		margin-right: auto;
	}

	body.page-template-template-home-php #content > section:nth-of-type(6) .flex-1,
	body.page-template-template-home #content > section:nth-of-type(6) .flex-1 {
		width: 100%;
	}

	/* Маркировка */
	body.page-template-template-home-php #content > section:nth-of-type(7) > .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(7) > .wysiwyg-content,
	body.page-template-template-home-php #content > section:nth-of-type(7) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(7) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div {
		min-height: 176px;
		padding-top: 18px;
		padding-bottom: 18px;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div > .absolute,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div > .absolute {
		position: relative;
		left: auto;
		top: auto;
		transform: none;
		width: 72px;
		height: 72px;
		margin: 0 auto 14px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap,
	body.page-template-template-home #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap > div,
	body.page-template-template-home #content > section:nth-of-type(7) .mt-\[80px\].flex.flex-wrap > div {
		width: auto;
		min-width: 0;
	}

	/* Почему выбирают */
	body.page-template-template-home-php #content > section:nth-of-type(8) > .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(8) > .wysiwyg-content,
	body.page-template-template-home-php #content > section:nth-of-type(8) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(8) .wysiwyg-content {
		text-align: center;
	}

	body.page-template-template-home-php #content > section:nth-of-type(8) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-6,
	body.page-template-template-home #content > section:nth-of-type(8) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 12px;
		row-gap: 50px;
		align-items: start;
	}

	/* Почему выбирают 2 */
	body.page-template-template-home-php #content > section:nth-of-type(9) > .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(9) > .wysiwyg-content,
	body.page-template-template-home-php #content > section:nth-of-type(9) .wysiwyg-content,
	body.page-template-template-home #content > section:nth-of-type(9) .wysiwyg-content {
		text-align: center;
	}
}

@media (max-width: 479px) {
	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div,
	body.page-template-template-home-php #content > section:nth-of-type(8) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-6 > div,
	body.page-template-template-home #content > section:nth-of-type(8) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-6 > div {
		min-height: 158px;
	}

	body.page-template-template-home-php #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div > .absolute,
	body.page-template-template-home #content > section:nth-of-type(7) .grid.grid-cols-2.md\:grid-cols-3.xl\:grid-cols-7 > div > .absolute {
		width: 64px;
		height: 64px;
	}
}

.falcor-cf7.falcor-cf7--request .falcor-cf7-submit:hover {
    border: 2px solid #373435;
    background: transparent;
    color: #373435;
}