/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

a {
    text-decoration: none !important;
	color: #6996ED;

}

.site-header {
    display: none;
}
.page-header {
	display: none;
}

/* Блок вариаций: белый фон */
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations,
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations tbody,
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations tr,
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations th,
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations td {
  background: #ffffff !important;
}

/* "Цвет:" */
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations th.label label {
  color: #6E6E73 !important;
  font-family: "Mulish", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

/* "RAL3005" */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .woo-selected-variation-item-name {
  color: #111111 !important;
  font-family: "Mulish", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
}

/* Подтянуть строку "Цвет: RAL3005" левее и ближе к плиткам */
.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations th.label {
  padding-left: 0 !important;
  padding-bottom: 8px !important;
  vertical-align: bottom !important;
}

.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations td.value {
  padding-left: 0 !important;
  padding-top: 0 !important;
}

.elementor-widget-woocommerce-product-add-to-cart .variations_form table.variations tr {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

/* Скрыть "Очистить" */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .reset_variations {
  display: none !important;
}

/* Плитка вариации — базовое состояние без дёргания */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item {
  border: 2px solid #d7dfee !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
  will-change: border-color, transform !important;
}

/* Hover / focus */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item:hover,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item:focus,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item:focus-visible {
  border-color: #2D954B !important;
  box-shadow: none !important;
}

/* Выбранная плитка */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item.selected,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item.radio-variable-item.selected,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item.image-variable-item.selected {
  border-color: #2D954B !important;
  box-shadow: none !important;
}

/* Скрыть галочку у выбранной вариации */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item.selected::before,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item.selected::after,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item .checkmark,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item .variable-item-span-color::before,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item .variable-item-span-button::before,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item .variable-item-contents::before,
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item .variable-item-contents::after {
  display: none !important;
  content: none !important;
}

/* Внутренний контейнер */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item .variable-item-contents {
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 8px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  border-radius: 10px !important;
}

/* Картинка внутри плитки */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item img.variable-item-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 !important;
  border-radius: 8px !important;
}

/* На случай, если плагин задаёт размеры inline */
.elementor-widget-woocommerce-product-add-to-cart .variations_form .variable-items-wrapper .variable-item.image-variable-item {
  padding: 0 !important;
}

/* ===== Хлебные крошки WooCommerce ===== */
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    line-height: 1.5 !important;
}

.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a,
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb {
    text-decoration: none !important;
}

.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    transition: opacity 0.2s ease !important;
}

.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a:hover {
    opacity: 0.75 !important;
}

/* Линия-разделитель */
.elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb a::after {
    content: "" !important;
    display: inline-block !important;
    width: 12px !important;
    height: 1px !important;
    background: #CFCFCF !important;
    margin: 0 14px !important;
}
/* Увеличиваем расстояние между строками хлебных крошек на мобильных */
@media (max-width: 767px) {
    .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb {
        row-gap: 8px !important;
    }
}
/* Расстояние между строками хлебных крошек на планшете и мобилке */
@media (max-width: 1024px) {
    .elementor-widget-woocommerce-breadcrumb .woocommerce-breadcrumb {
        row-gap: 8px !important;
    }
}
@media (max-width: 767px) {
	.elementor-widget-woocommerce-product-add-to-cart .variations_form .single_variation_wrap,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .single_variation_wrap {
		gap: 10px !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .single_variation .woocommerce-variation-price,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-simple-price-row {
		gap: 10px !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .single_variation,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-simple-price-wrap {
		margin-bottom: 12px !important;
	}

	/* Главное: держим кнопку и мессенджер в одну строку */
	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-actions-row,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-actions-row {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 25px !important;
		width: 100% !important;
	}

	/* Кнопка чуть компактнее */
	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-availability-btn,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-availability-btn {
		width: 160px !important;
		min-width: 160px !important;
		height: 48px !important;
		padding: 0 16px !important;
		font-size: 13px !important;
		font-weight: 600 !important;
		border-radius: 14px !important;
		flex: 0 0 160px !important;
	}

	/* Виджет мессенджера компактнее */
	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-messenger-box,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-messenger-box {
		margin-left: 0 !important;
		gap: 10px !important;
		min-height: 48px !important;
		padding: 0 !important;
		flex: 1 1 auto !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-messenger-text,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-messenger-text {
		font-size: 12px !important;
		line-height: 1.25 !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-messenger-icon,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-messenger-icon {
		width: 34px !important;
		height: 34px !important;
		min-width: 34px !important;
	}
}
@media (max-width: 389px) {
	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-actions-row,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-actions-row {
		display: flex !important;
		flex-wrap: nowrap !important;
		align-items: center !important;
		gap: 8px !important;
		width: 100% !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-availability-btn,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-availability-btn {
		width: 145px !important;
		min-width: 145px !important;
		height: 46px !important;
		padding: 0 14px !important;
		font-size: 12px !important;
		border-radius: 12px !important;
		flex: 0 0 145px !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-messenger-box,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-messenger-box {
		margin-left: 0 !important;
		gap: 15px !important;
		min-height: 46px !important;
		padding: 0 !important;
		flex: 1 1 auto !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-messenger-text,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-messenger-text {
		font-size: 11px !important;
		line-height: 1.2 !important;
	}

	.elementor-widget-woocommerce-product-add-to-cart .variations_form .dk-messenger-icon,
	.elementor-widget-woocommerce-product-add-to-cart form.cart .dk-messenger-icon {
		width: 30px !important;
		height: 30px !important;
		min-width: 30px !important;
	}
}
.glass-card{
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}
.yandex-map-rounded {
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.yandex-map-rounded iframe {
  display: block;
  width: 100%;
  border: 0;
}


/* =========================================
   JetEngine Listing Grid — одинаковая высота карточек
   ========================================= */

/* Растягиваем элементы сетки по высоте */
.jet-listing-grid__items {
    align-items: stretch !important;
}

/* Каждая ячейка товара становится flex */
.jet-listing-grid__item {
    display: flex !important;
    height: auto !important;
}

/* Elementor-обертка внутри JetEngine */
.jet-listing-grid__item > .elementor {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
}

/* Внешний контейнер карточки Elementor */
.jet-listing-grid__item .elementor-element-445c62f {
    width: 100% !important;
    height: 100% !important;
}

/* Внутренняя обертка Elementor Container */
.jet-listing-grid__item .elementor-element-445c62f > .e-con-inner {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
}

/* Белая карточка товара */
.jet-listing-grid__item .elementor-element-1a05d6e {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Блок с названием и ценой */
.jet-listing-grid__item .elementor-element-ee45125 {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 auto !important;
}

/* Блок цены прижимаем вниз */
.jet-listing-grid__item .elementor-element-e8a3cd9 {
    margin-top: auto !important;
}
/* Общая современная hover-тень для карточек, категорий и брендов */
.dk-product-card,
.dk-category-card {
  transition: 
    box-shadow 0.25s ease,
    transform 0.25s ease;
  will-change: transform, box-shadow;
}

.dk-product-card:hover,
.dk-category-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 18px rgba(15, 23, 42, 0.08),
    0 2px 6px rgba(15, 23, 42, 0.06);
}
.dialog-close-button {
    padding: 8px;
    border-radius: 50px;
}
