/* Фон сторінок магазину та категорій */
body.suntime-catalog-archive,
body.woocommerce-shop,
body.tax-product_cat,
body.tax-product_tag {
	background-color: rgba(243, 246, 251, 1);
}

body.suntime-catalog-archive .page_content_wrap,
body.woocommerce-shop .page_content_wrap,
body.tax-product_cat .page_content_wrap,
body.tax-product_tag .page_content_wrap {
	background-color: rgba(243, 246, 251, 1);
}

body.suntime-catalog-archive .page_content_wrap > .content_wrap,
body.woocommerce-shop .page_content_wrap > .content_wrap,
body.tax-product_cat .page_content_wrap > .content_wrap,
body.tax-product_tag .page_content_wrap > .content_wrap {
	background-color: transparent;
}

/* Промо-блок Elementor над каталогом */
.suntime-catalog-promo {
	display: block;
	margin: 0 0 28px;
	width: 100%;
	max-width: 100%;
	clear: both;
	overflow: visible;
}

.suntime-catalog-promo .elementor,
.suntime-catalog-promo .e-con,
.suntime-catalog-promo .e-con-inner {
	max-width: 100%;
}

/* Elementor / TRX: анімації на архівах не запускаються — показуємо одразу */
.suntime-catalog-promo .elementor-invisible,
.suntime-catalog-promo .elementor-widget.elementor-invisible,
.suntime-catalog-promo .animation_type_block,
.suntime-catalog-promo [data-animation-type="block"],
.suntime-catalog-promo .elementor-element {
	visibility: visible !important;
	opacity: 1 !important;
	animation: none !important;
	transform: none !important;
}

.suntime-catalog-promo .elementor-widget-heading .elementor-heading-title {
	color: rgba(3, 16, 54, 1);
}

.suntime-catalog-promo .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 100%;
}

/* Рядок: кількість / сортування / фільтри */
.list_products .suntime-catalog-shop-tools,
.woocommerce .suntime-catalog-shop-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 20px;
	margin: 0 0 24px;
	width: 100%;
	clear: both;
}

.list_products .suntime-catalog-shop-tools .woocommerce-result-count,
.woocommerce .suntime-catalog-shop-tools .woocommerce-result-count {
	margin: 0;
	flex: 1 1 auto;
}

.list_products .suntime-catalog-shop-tools .woocommerce-ordering,
.woocommerce .suntime-catalog-shop-tools .woocommerce-ordering {
	margin: 0;
	flex: 0 1 auto;
}

.suntime-catalog-filter-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 0 0 auto;
	min-height: 44px;
	margin: 0;
	padding: 0 22px;
	border: 2px solid #ef533f;
	border-radius: 8px;
	background: #fff;
	color: #ef533f;
	font-family: inherit;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	cursor: pointer;
	box-shadow: 0 4px 14px rgba(239, 83, 63, 0.12);
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease,
		box-shadow 0.2s ease,
		transform 0.15s ease;
}

.suntime-catalog-filter-toggle:hover,
.suntime-catalog-filter-toggle:focus {
	color: #fff;
	background: #ef533f;
	border-color: #ef533f;
	box-shadow: 0 6px 20px rgba(239, 83, 63, 0.28);
	outline: none;
	transform: translateY(-1px);
}

.suntime-catalog-filter-toggle:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(239, 83, 63, 0.2);
}

.suntime-catalog-filter-toggle[aria-expanded="true"] {
	color: #fff;
	background: #ef533f;
	border-color: #ef533f;
}

.suntime-catalog-filter-toggle__icon {
	display: block;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	background: currentColor;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M4 7h16M7 12h10M10 17h4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.suntime-catalog-filter-toggle__text {
	white-space: nowrap;
}

/* Off-canvas панель фільтрів (стилі як у панелі кошика) */
.suntime-catalog-filters {
	position: fixed;
	inset: 0;
	z-index: 100001;
	pointer-events: none;
	visibility: hidden;
}

.suntime-catalog-filters.is-open {
	pointer-events: auto;
	visibility: visible;
}

.suntime-catalog-filters__overlay {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(3, 16, 54, 0.45);
	opacity: 0;
	cursor: pointer;
	transition: opacity 0.25s ease;
}

.suntime-catalog-filters.is-open .suntime-catalog-filters__overlay {
	opacity: 1;
}

.suntime-catalog-filters__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(410px, 92vw);
	max-width: 100%;
	height: 100%;
	background: #fff;
	box-shadow: -8px 0 40px rgba(3, 16, 54, 0.12);
	transform: translateX(100%);
	transition: transform 0.3s ease;
}

.suntime-catalog-filters.is-open .suntime-catalog-filters__panel {
	transform: translateX(0);
}

.suntime-catalog-filters__head {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-shrink: 0;
	padding: 15px 22px 18px;
	border-bottom: 1px solid rgba(3, 16, 54, 0.08);
}

.suntime-catalog-filters__title {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.25;
	color: rgba(3, 16, 54, 1);
}

.suntime-catalog-filters__title-text {
	display: inline-block;
}

#suntime-catalog-filters-panel .suntime-catalog-filters__close {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 30px;
	height: 30px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgb(238, 246, 253);
	color: rgba(3, 16, 54, 1);
	cursor: pointer;
}

#suntime-catalog-filters-panel .suntime-catalog-filters__close:hover,
#suntime-catalog-filters-panel .suntime-catalog-filters__close:focus {
	background: rgb(228, 238, 248);
	outline: none;
}

.suntime-catalog-filters__close-icon {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
}

.suntime-catalog-filters__close-icon::before,
.suntime-catalog-filters__close-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
}

.suntime-catalog-filters__close-icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.suntime-catalog-filters__close-icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.suntime-catalog-filters__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-x: hidden;
	overflow-y: auto;
	padding: 18px 22px 24px;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain;
}

.suntime-catalog-filters__footer {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	flex-shrink: 0;
	padding: 14px 22px calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid rgba(3, 16, 54, 0.08);
	background: #fff;
	box-shadow: 0 -8px 24px rgba(3, 16, 54, 0.06);
}

.suntime-catalog-filters__apply,
.suntime-catalog-filters__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin: 0;
	padding: 10px 16px;
	border-radius: 999px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	cursor: pointer;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease,
		opacity 0.18s ease;
}

.suntime-catalog-filters__apply {
	border: 2px solid #ef533f;
	background: #ef533f;
	color: #fff;
}

.suntime-catalog-filters__apply:hover:not(:disabled),
.suntime-catalog-filters__apply:focus:not(:disabled) {
	background: #ff6a57;
	border-color: #ff6a57;
	color: #fff;
	outline: none;
}

.suntime-catalog-filters__reset {
	border: 2px solid rgba(3, 16, 54, 0.16);
	background: #fff;
	color: rgba(3, 16, 54, 0.88);
}

.suntime-catalog-filters__reset:hover:not(:disabled),
.suntime-catalog-filters__reset:focus:not(:disabled) {
	border-color: rgba(3, 16, 54, 0.28);
	color: rgba(3, 16, 54, 1);
	outline: none;
}

.suntime-catalog-filters__apply:disabled,
.suntime-catalog-filters__reset:disabled {
	opacity: 0.42;
	cursor: not-allowed;
}

.suntime-catalog-filters__body .widget {
	margin: 0 0 22px;
	padding: 0;
}

.suntime-catalog-filters__body .widget:last-child {
	margin-bottom: 0;
}

.suntime-catalog-filters__body .widget_title {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: rgba(3, 16, 54, 1);
}

.suntime-catalog-filters__empty {
	margin: 0;
	font-size: 14px;
	line-height: 1.5;
	color: rgba(99, 105, 123, 0.9);
}

/* Лічильники товарів — не показуємо */
.suntime-catalog-filters__body .count {
	display: none !important;
}

/* ——— Ціна: range slider ——— */
.suntime-catalog-filters__body .widget_price_filter form {
	margin: 0;
}

.suntime-catalog-filters__body .price_slider_wrapper {
	overflow: visible;
	padding: 8px 10px 0;
}

.suntime-catalog-filters__body .price_slider {
	display: block !important;
	margin: 12px 0 16px;
	height: 4px !important;
	min-height: 4px;
	border: 0;
	border-radius: 999px;
	background: rgba(3, 16, 54, 0.12);
}

.suntime-catalog-filters__body .price_slider.ui-slider {
	position: relative;
}

#suntime-catalog-filters-panel .price_slider .ui-slider-range,
#suntime-catalog-filters-panel .price_slider .ui-slider-range.ui-widget-header,
.suntime-catalog-filters__body .price_slider .ui-slider-range,
.suntime-catalog-filters__body .price_slider .ui-slider-range.ui-widget-header {
	border: 0 !important;
	border-radius: 999px !important;
	background: #ef533f !important;
	background-color: #ef533f !important;
	background-image: none !important;
}

#suntime-catalog-filters-panel .price_slider .ui-slider-handle,
.suntime-catalog-filters__body .price_slider .ui-slider-handle {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	top: 50% !important;
	width: 18px !important;
	height: 18px !important;
	margin-top: -9px !important;
	margin-left: -9px !important;
	border: 2px solid #fff !important;
	border-radius: 50% !important;
	background: #ef533f !important;
	background-image: none !important;
	box-shadow:
		0 0 0 1px rgba(239, 83, 63, 0.35),
		0 2px 8px rgba(3, 16, 54, 0.18) !important;
	cursor: grab !important;
	z-index: 2;
	transition:
		transform 0.15s ease,
		box-shadow 0.15s ease;
}

#suntime-catalog-filters-panel .price_slider .ui-slider-handle::before,
#suntime-catalog-filters-panel .price_slider .ui-slider-handle::after,
.suntime-catalog-filters__body .price_slider .ui-slider-handle::before,
.suntime-catalog-filters__body .price_slider .ui-slider-handle::after {
	content: none !important;
	display: none !important;
}

#suntime-catalog-filters-panel .price_slider .ui-slider-handle:hover,
#suntime-catalog-filters-panel .price_slider .ui-slider-handle.ui-state-hover,
#suntime-catalog-filters-panel .price_slider .ui-slider-handle.ui-state-focus,
#suntime-catalog-filters-panel .price_slider .ui-slider-handle.ui-state-active,
.suntime-catalog-filters__body .price_slider .ui-slider-handle:hover,
.suntime-catalog-filters__body .price_slider .ui-slider-handle.ui-state-hover,
.suntime-catalog-filters__body .price_slider .ui-slider-handle.ui-state-focus,
.suntime-catalog-filters__body .price_slider .ui-slider-handle.ui-state-active {
	opacity: 1 !important;
	background: #ef533f !important;
	border-color: #fff !important;
	transform: scale(1.08);
	box-shadow:
		0 0 0 2px rgba(239, 83, 63, 0.28),
		0 3px 10px rgba(3, 16, 54, 0.22) !important;
}

#suntime-catalog-filters-panel .price_slider .ui-slider-handle:active,
.suntime-catalog-filters__body .price_slider .ui-slider-handle:active {
	cursor: grabbing !important;
	transform: scale(1.02);
}

.suntime-catalog-filters__body .price_slider_amount {
	display: block;
	margin: 0 0 8px;
}

.suntime-catalog-filters__body .price_slider_amount label {
	display: none;
}

.suntime-catalog-filters__body .price_slider_amount input[type="text"] {
	display: none !important;
}

.suntime-catalog-filters__body .price_slider_amount .button,
.suntime-catalog-filters__body .price_slider_amount button[type="submit"],
.suntime-catalog-filters__body .widget_price_filter button[type="submit"],
.suntime-catalog-filters__body .woocommerce-widget-price-filter button[type="submit"] {
	display: none !important;
	visibility: hidden !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

.suntime-catalog-filters__body .price_label {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.4;
	color: rgba(3, 16, 54, 0.72);
}

/* ——— Списки без маркерів теми ——— */
#suntime-catalog-filters-panel .widget ul,
#suntime-catalog-filters-panel .widget ol,
#suntime-catalog-filters-panel .widget li {
	list-style: none !important;
	list-style-type: none !important;
	margin-left: 0;
	padding-left: 0;
}

#suntime-catalog-filters-panel .widget li::marker {
	content: none !important;
}

#suntime-catalog-filters-panel .widget ul li::before,
#suntime-catalog-filters-panel .widget ol li::before {
	content: none !important;
	display: none !important;
}

#suntime-catalog-filters-panel .widget ul li::after,
#suntime-catalog-filters-panel .widget ol li::after {
	content: none !important;
	display: none !important;
}

/* ——— Категорії: ієрархія без крапок/псевдоелементів ——— */
#suntime-catalog-filters-panel .widget_product_categories .product-categories,
.suntime-catalog-filters__body .product-categories {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories ul.children,
.suntime-catalog-filters__body .product-categories ul.children {
	display: block !important;
	margin: 0 0 4px 20px !important;
	padding: 0 !important;
	list-style: none !important;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories li,
.suntime-catalog-filters__body .product-categories li {
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories li::before,
#suntime-catalog-filters-panel .widget_product_categories .product-categories li::after,
.suntime-catalog-filters__body .product-categories li::before,
.suntime-catalog-filters__body .product-categories li::after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories li > a,
.suntime-catalog-filters__body .product-categories li > a {
	display: block !important;
	padding: 6px 0;
	color: rgba(3, 16, 54, 0.88);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories li > a::before,
#suntime-catalog-filters-panel .widget_product_categories .product-categories li > a::after,
.suntime-catalog-filters__body .product-categories li > a::before,
.suntime-catalog-filters__body .product-categories li > a::after {
	content: none !important;
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories ul.children li > a,
.suntime-catalog-filters__body .product-categories ul.children li > a {
	padding-left: 0;
	font-weight: 400;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories li.cat-parent > a,
.suntime-catalog-filters__body .product-categories li.cat-parent > a {
	font-weight: 600;
}

#suntime-catalog-filters-panel .widget_product_categories .product-categories li.is-selected > a,
.suntime-catalog-filters__body .product-categories li.is-selected > a {
	color: #ef533f;
	font-weight: 600;
}

/* ——— Бренди / атрибути: чекбокси ——— */
.suntime-catalog-filters__body .woocommerce-widget-layered-nav-list {
	display: flex;
	flex-direction: column;
	gap: 2px;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.suntime-catalog-filters__body .woocommerce-widget-layered-nav-list li {
	margin: 0;
}

.suntime-catalog-filters__body .suntime-filter-option > a,
.suntime-catalog-filters__body .woocommerce-widget-layered-nav-list li > a {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 8px 0;
	color: rgba(3, 16, 54, 0.88);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	cursor: pointer;
}

.suntime-catalog-filters__body .suntime-filter-checkbox {
	flex-shrink: 0;
	width: 18px;
	height: 18px;
	border: 2px solid rgba(3, 16, 54, 0.22);
	border-radius: 4px;
	background: #fff;
	box-sizing: border-box;
	transition:
		background-color 0.15s ease,
		border-color 0.15s ease;
}

.suntime-catalog-filters__body .suntime-filter-option.is-selected > a,
.suntime-catalog-filters__body .woocommerce-widget-layered-nav-list li.is-selected > a {
	color: rgba(3, 16, 54, 1);
	font-weight: 600;
}

.suntime-catalog-filters__body .suntime-filter-option.is-selected .suntime-filter-checkbox,
.suntime-catalog-filters__body .woocommerce-widget-layered-nav-list li.is-selected .suntime-filter-checkbox {
	border-color: #ef533f;
	background-color: #ef533f;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M1.5 5.2 4.6 8.3 10.5 1.8'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 11px 9px;
}

.suntime-catalog-filters__body .suntime-filter-option.is-selected > a::before,
.suntime-catalog-filters__body .woocommerce-widget-layered-nav-list li > a::before {
	content: none !important;
	display: none !important;
}

body.suntime-catalog-filters-open {
	overflow: hidden;
}

/* Порожній результат каталогу після фільтрації */
.woocommerce-no-products-found.suntime-catalog-empty-state {
	margin: 8px 0 40px;
	padding: 0;
	border: 0;
	background: transparent;
}

.suntime-catalog-empty-state__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	max-width: 620px;
	margin: 0 auto;
	padding: 40px 32px 36px;
	text-align: center;
	border-radius: 18px;
	background: #fff;
	border: 1px solid rgba(3, 16, 54, 0.08);
	box-shadow: 0 16px 48px rgba(3, 16, 54, 0.08);
}

.suntime-catalog-empty-state__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 4px;
}

.woocommerce-no-products-found.suntime-catalog-empty-state .woocommerce-info,
.woocommerce-no-products-found.suntime-catalog-empty-state .suntime-catalog-empty-state__message {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: rgba(3, 16, 54, 1);
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 700;
	line-height: 1.35;
}

.woocommerce-no-products-found.suntime-catalog-empty-state .woocommerce-info::before,
.woocommerce-no-products-found.suntime-catalog-empty-state .suntime-catalog-empty-state__message::before {
	display: none !important;
	content: none !important;
}

.suntime-catalog-empty-state__hint {
	margin: 0;
	max-width: 460px;
	color: rgba(3, 16, 54, 0.62);
	font-size: 15px;
	line-height: 1.55;
}

.suntime-catalog-empty-state__actions {
	margin-top: 8px;
}

.suntime-catalog-empty-state__reset {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 28px;
	border: 2px solid #ef533f;
	border-radius: 999px;
	background: #ef533f;
	color: #fff;
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color 0.18s ease,
		border-color 0.18s ease,
		color 0.18s ease,
		transform 0.18s ease;
}

.suntime-catalog-empty-state__reset:hover,
.suntime-catalog-empty-state__reset:focus {
	background: #ff6a57;
	border-color: #ff6a57;
	color: #fff;
	outline: none;
	transform: translateY(-1px);
}

@media (max-width: 767px) {
	.list_products .suntime-catalog-shop-tools,
	.woocommerce .suntime-catalog-shop-tools {
		flex-direction: column;
		align-items: stretch;
	}

	.list_products .suntime-catalog-shop-tools .woocommerce-ordering,
	.woocommerce .suntime-catalog-shop-tools .woocommerce-ordering,
	.suntime-catalog-filter-toggle {
		width: 100%;
	}

	.suntime-catalog-filter-toggle {
		order: 3;
	}
}

/* Модалка консультації каталогу (#formcategory) */
.suntime-catalog-consultation {
	position: fixed;
	inset: 0;
	z-index: 100002;
	pointer-events: none;
	visibility: hidden;
}

.suntime-catalog-consultation.is-open {
	pointer-events: auto;
	visibility: visible;
}

.suntime-catalog-consultation__overlay {
	position: absolute;
	inset: 0;
	margin: 0;
	padding: 0;
	border: 0;
	background: rgba(3, 16, 54, 0.52);
	opacity: 0;
	transition: opacity 0.24s ease;
	cursor: pointer;
}

.suntime-catalog-consultation.is-open .suntime-catalog-consultation__overlay {
	opacity: 1;
}

.suntime-catalog-consultation__panel {
	position: absolute;
	top: 50%;
	left: 50%;
	width: min(640px, calc(100vw - 32px));
	max-height: min(90vh, 860px);
	display: flex;
	flex-direction: column;
	margin: 0;
	padding: 0;
	background: #fff;
	border-radius: 18px;
	box-shadow: 0 24px 64px rgba(3, 16, 54, 0.22);
	transform: translate(-50%, calc(-50% + 16px));
	opacity: 0;
	transition: transform 0.28s ease, opacity 0.28s ease;
	overflow: hidden;
}

.suntime-catalog-consultation.is-open .suntime-catalog-consultation__panel {
	transform: translate(-50%, -50%);
	opacity: 1;
}

.suntime-catalog-consultation__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 22px 24px 0;
}

.suntime-catalog-consultation__title {
	margin: 0;
	font-size: clamp(22px, 2.4vw, 28px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.03em;
	color: rgba(3, 16, 54, 1);
}

.suntime-catalog-consultation__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(243, 246, 251, 1);
	cursor: pointer;
	flex-shrink: 0;
}

.suntime-catalog-consultation__close:hover,
.suntime-catalog-consultation__close:focus {
	background: rgb(228, 238, 248);
	outline: none;
}

.suntime-catalog-consultation__close-icon {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
}

.suntime-catalog-consultation__close-icon::before,
.suntime-catalog-consultation__close-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	border-radius: 999px;
	background: rgba(3, 16, 54, 0.72);
}

.suntime-catalog-consultation__close-icon::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.suntime-catalog-consultation__close-icon::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.suntime-catalog-consultation__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: 14px 24px 24px;
	overscroll-behavior: none;
}

.suntime-catalog-consultation__form,
.suntime-catalog-consultation__form .suntime-contacts__panel,
.suntime-catalog-consultation__form .sc_contact_form,
.suntime-catalog-consultation__form .elementor-widget-container,
.suntime-catalog-consultation__form .wpcf7,
.suntime-catalog-consultation__form .wpcf7 form {
	max-width: 100%;
	overflow: hidden;
}

.suntime-catalog-consultation .form-style-1--catalog .columns_wrap {
	display: block;
	margin: 0 0 12px;
	gap: 0;
}

.suntime-catalog-consultation .form-style-1--catalog .columns_wrap > [class*="column-"] {
	width: 100%;
	max-width: 100%;
	padding: 0;
	float: none;
}

.suntime-catalog-consultation .form-style-1--catalog .columns_wrap.margin-bottom {
	margin-bottom: 16px;
}

.suntime-catalog-consultation .form-style-1--catalog .style-line[class*="icon-"] input {
	width: 100%;
}

.suntime-catalog-consultation .suntime-contacts__panel--form[data-suntime-form] .form-style-1 .columns_wrap {
	margin-right: 0;
	gap: 0 12px;
}

.suntime-catalog-consultation .suntime-contacts__panel--form[data-suntime-form] .form-style-1 .columns_wrap > [class*="column-"] {
	padding-right: 0;
}

.suntime-catalog-consultation .suntime-contacts__panel--form[data-suntime-form] .form-style-1 .style-line[class*="icon-"] input,
.suntime-catalog-consultation .suntime-contacts__panel--form[data-suntime-form] .form-style-1 textarea {
	max-width: 100%;
}

.suntime-catalog-consultation__lead {
	margin: 0 0 18px;
	font-size: 15px;
	line-height: 1.55;
	color: rgba(3, 16, 54, 0.72);
}

.suntime-catalog-consultation .suntime-contacts__panel {
	box-shadow: none;
	border: 0;
	padding: 0;
	background: transparent;
}

.suntime-catalog-consultation .suntime-contacts__panel--form .wpcf7-response-output {
	display: none !important;
}

.suntime-catalog-consultation__success {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
	padding: 28px 8px 12px;
}

.suntime-catalog-consultation__success[hidden] {
	display: none !important;
}

.suntime-catalog-consultation__success-icon {
	width: 64px;
	height: 64px;
	border-radius: 999px;
	background: rgba(239, 83, 63, 0.12);
	position: relative;
}

.suntime-catalog-consultation__success-icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 30px;
	border-right: 3px solid #ef533f;
	border-bottom: 3px solid #ef533f;
	transform: translate(-58%, -62%) rotate(45deg);
}

.suntime-catalog-consultation__success-text {
	margin: 0;
	max-width: 420px;
	font-size: 16px;
	line-height: 1.55;
	color: rgba(3, 16, 54, 0.88);
}

.suntime-catalog-consultation__success-close {
	min-width: 160px;
}

.suntime-catalog-consultation__anchor {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

body.suntime-catalog-consultation-open {
	overflow: hidden;
}

body.suntime-catalog-consultation-open .suntime-catalog-consultation,
body.suntime-catalog-consultation-open .suntime-catalog-consultation__panel,
body.suntime-catalog-consultation-open .suntime-catalog-consultation__body {
	overflow: hidden;
	overscroll-behavior: none;
}

@media (max-width: 767px) {
	.suntime-catalog-consultation__panel {
		top: auto;
		bottom: 0;
		left: 0;
		width: 100%;
		max-height: min(92vh, 860px);
		border-radius: 18px 18px 0 0;
		transform: translateY(100%);
	}

	.suntime-catalog-consultation.is-open .suntime-catalog-consultation__panel {
		transform: translateY(0);
	}

	.suntime-catalog-consultation__head,
	.suntime-catalog-consultation__body {
		padding-left: 18px;
		padding-right: 18px;
	}
}
