/* base.css — Базовые глобальные стили сайта (не WooCommerce): типографика, общие компоненты, layout, footer и т.п. */
.elementor-location-header {
	position: relative;
	z-index: 100;
}

.elementor-popup-modal .dialog-close-button {
	display: flex;
	width: 30px;
	height: 30px;
	align-items: center;
	justify-content: center;
	top: 0;
	right: 0;
	background-color: #fff;
	transition: all .3s linear;
}

.elementor-popup-modal .dialog-close-button:hover {
	background-color: var(--vi-accent-color);
}

.elementor-popup-modal .dialog-close-button svg {
	transition: all .3s linear;
}

.elementor-popup-modal .dialog-close-button:hover svg {
	fill: var(--vi-white-color);
}

.overflow-hidden {
	overflow: hidden !important;
}

.flex-1-0-0 {
	flex: 1 0 0 !important;
}

@media only screen and (min-width:768px) {
	.flex-1-0-0-md {
		flex: 1 0 0 !important;
	}
}

@media only screen and (min-width:1025px) {
	.flex-1-0-0-lg {
		flex: 1 0 0 !important;
	}
}

body {
	color: var(--vi-text-color);
	overflow-x: hidden;
}

.vi-middle {
	max-width: 1280px;
	margin-left: auto;
	margin-right: auto;
}

.vi-middle-style-2 {
	max-width: 768px;
	margin-left: auto;
	margin-right: auto;
}

p:not(:last-child) {
	margin-bottom: 1.25rem;
}

.vi-product-btn-line {
	margin-top: 1.25rem;
}

.vi-product-btn-line .vi-product-btn-line__link {
	display: flex;
	width: 100%;
	min-height: 60px;
	border-radius: 50px;
	border-width: 2px;
	border-style: solid;
	border-color: var(--vi-accent-color);
	color: var(--vi-accent-color);
	background-color: var(--vi-white-color);
	justify-content: center;
	align-items: center;
	font-weight: 600;
	gap: 8px;
}

.vi-product-btn-line__icon {
	width: 29px;
	height: 29px;
}

.vi-product-btn-line .vi-product-btn-line__link:hover {
	background-color: var(--vi-accent-color);
	color: var(--vi-white-color);
}

.vi-is-hidden {
	display: none;
}

.vi-page .page-header {
	text-align: center;
}

.vi-page .page-header__date {
	color: #6d4a26;
}

.vi-page .vi-page__thumb img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 12px;
}

.vi-page h2 {
	margin: 32px 0 20px;
	font-size: 30px;
	font-weight: 600;
}

.vi-page h3 {
	margin: 24px 0 18px;
	font-size: 26px;
	font-weight: 600;
}

.vi-page h4 {
	margin: 20px 0 16px;
	font-size: 24px;
	font-weight: 600;
}

.vi-page p,
.vi-page ol,
.vi-page ul {
	margin: 0 0 1.25rem 0;
}

.vi-page ol,
.vi-page ul {
	padding-left: 20px;
	margin-left: 1.5rem;
}

.vi-page li:not(:last-child) {
	margin-bottom: 1.25rem;
}

.vi-page a {
	text-decoration: underline;
	color: var(--vi-accent-color);
}

.vi-page a:hover,
.vi-page a:focus {
	text-decoration: none;
}

.vi-page .page-content>*:last-child {
	margin-bottom: 0;
}

.vi-page .page-content img {
	display: block;
	width: 100%;
	border-radius: 12px;
}

.vi-page figure {
	margin: 2rem 0;
}

/* Component: Search Modal */
.vi-search-trigger {
	display: flex;
	width: 36px;
	height: 36px;
	align-items: center;
	justify-content: center;
	padding: 9px;
	margin: 0;
	background: transparent;
	border: none;
	box-shadow: none;
	cursor: pointer;
}

.vi-search-trigger svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #3e3e3e;
	transition: all .3s linear;
}

.vi-search-trigger:hover svg {
	fill: var(--vi-accent-color);
}

.vi-search {
	position: fixed;
	inset: 0;
	z-index: 9999;
	display: none;
}

.vi-search-open .vi-search {
	display: block;
}

.vi-search__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.55);
}

.vi-search__dialog {
	position: relative;
	width: min(740px, calc(100vw - 32px));
	margin: 90px auto 0;
	background: #fff;
	border-radius: 16px;
	box-shadow: 0 18px 55px rgba(0, 0, 0, 0.25);
	overflow: hidden;
}

.vi-search__input {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0 20px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.vi-search__icon {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

.vi-search__icon svg {
	display: block;
	width: 100%;
	height: 100%;
	fill: #b4b4b4;
}

.vi-search__field {
	width: 100%;
	border: 0;
	outline: none;
	background: transparent;
	padding: 0;
	height: 50px;
}

.vi-search__field::placeholder {
	opacity: 0.55;
}

.vi-search__field[type="search"]::-webkit-search-cancel-button,
.vi-search__field[type="search"]::-webkit-search-decoration,
.vi-search__field[type="search"]::-webkit-search-results-button,
.vi-search__field[type="search"]::-webkit-search-results-decoration {
	-webkit-appearance: none;
	appearance: none;
	display: none;
}

.vi-search__field[type="search"]::-ms-clear,
.vi-search__field[type="search"]::-ms-reveal {
	display: none;
	width: 0;
	height: 0;
}

.vi-search__close {
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.05);
	cursor: pointer;
	position: relative;
}

.vi-search__close::before,
.vi-search__close::after {
	content: '';
	position: absolute;
	inset: 50% auto auto 50%;
	width: 14px;
	height: 2px;
	background: rgba(0, 0, 0, 0.55);
	transform-origin: center;
}

.vi-search__close::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.vi-search__close::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.vi-search__results {
	max-height: 330px;
	overflow: auto;
	padding: 15px;
}

.vi-search__item {
	display: block;
	padding: 14px 14px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: background 120ms ease;
}

.vi-search .vi-search__item.is-active {
	background: #faf5ed;
	color: var(--vi-accent-color);
}

.vi-search__title {
	font-size: 15px;
	line-height: 1.25;
	font-weight: 600;
}

.vi-search__title strong {
	font-weight: 700;
}

.vi-search__desc {
	margin-top: 4px;
	font-size: 13px;
	line-height: 1.3;
	opacity: 0.72;
}

.vi-search__status {
	padding: 22px 18px;
	font-size: 14px;
	opacity: 0.65;
}

.vi-search__empty {
	padding: 10px 18px 18px;
	font-size: 14px;
	opacity: 0.7;
}

@media (max-width: 768px) {
	.vi-search__dialog {
		width: calc(100vw - 24px);
		margin: 12px auto;
		height: calc(100vh - 24px);
		display: flex;
		flex-direction: column;
	}

	.vi-search__results {
		max-height: none;
		flex: 1 1 auto;
	}
}

.vi-search-open body {
	overflow: hidden;
}

@media only screen and (min-width:1025px) {
	.vi-search-trigger {
		padding: 6px;
	}
}