/*
Theme Name: Hello Child
Template: hello-elementor
Version: 1.0
Text Domain: hello-child
*/

/* ===== UZ FEYA — фильтры каталога ===== */

.uz-filter-box {
  background: #d4d4d4 !important;
  border-radius: 18px !important;
  padding: 18px 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
  overflow: visible !important;
}

/* контейнеры */
.uz-filter-box *,
.uz-filter-box *::before,
.uz-filter-box *::after {
  box-sizing: border-box;
}

.uz-filter-box .elementor-widget,
.uz-filter-box .elementor-widget-container,
.uz-filter-box .jet-smart-filter-content-position-column,
.uz-filter-box .jet-smart-filter-group-position-column,
.uz-filter-box .jet-smart-filters-select,
.uz-filter-box .jet-filter,
.uz-filter-box .jet-select,
.uz-filter-box .jet-select__control {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

/* заголовок */
.uz-filter-box .jet-filter-label,
.uz-filter-box .jet-smart-filters-select__label,
.uz-filter-box .elementor-heading-title {
  color: #E40E6F !important;
  font-weight: 700 !important;
  font-size: 18px !important;
  text-align: center !important;
  margin: 0 0 6px !important;
  display: block !important;
  line-height: 1.2;
}

/* сам select */
.uz-filter-box select,
.uz-filter-box .jet-select__control select,
.uz-filter-box select.jet-select__control {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 18px 0 18px !important;

  background-color: #fff !important;
  border: 2px solid #E40E6F !important;
  border-radius: 999px !important;

  color: #333 !important;
  font-size: 16px !important;
  font-weight: 400;
  text-align: center !important;
  text-align-last: center !important;

  cursor: pointer;
  outline: none !important;

  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23E40E6F' d='M6 8 0 0h12z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 10px 7px !important;

  box-shadow: none !important;
}

.uz-filter-box select:hover,
.uz-filter-box select:focus {
  border-color: #E40E6F !important;
  box-shadow: 0 0 0 3px rgba(228,14,111,.16) !important;
}

/* ВАЖНО:
   нативное выпадающее меню select браузер рисует сам.
   Его позицию CSS почти не контролирует.
   Этот блок фиксит внешний вид закрытого select.
*/

/* кнопки */
.uz-filter-box .jet-smart-filters-apply-button,
.uz-filter-box .jet-smart-filters-apply-filters,
.uz-filter-box .apply-filters,
.uz-filter-box .elementor-button,
.uz-filter-box button[type="submit"] {
  width: 100% !important;
  height: 44px !important;
  background: #E40E6F !important;
  color: #fff !important;
  border: none !important;
  border-radius: 999px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  margin-top: 4px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.uz-filter-box .jet-smart-filters-apply-button:hover,
.uz-filter-box .jet-smart-filters-apply-filters:hover,
.uz-filter-box .apply-filters:hover,
.uz-filter-box .elementor-button:hover,
.uz-filter-box button[type="submit"]:hover {
  background: #c40c5f !important;
}

/* dark mode */
body.dark-mode .uz-filter-box,
[data-theme="dark"] .uz-filter-box {
  background: #2a2a30 !important;
}

body.dark-mode .uz-filter-box select,
[data-theme="dark"] .uz-filter-box select {
  background-color: #1a1a1f !important;
  border-color: #E40E6F !important;
  color: #e0e0e0 !important;
}

/* mobile */
@media (max-width: 768px) {
  .uz-filter-box {
    max-width: 100% !important;
    border-radius: 14px !important;
    padding: 14px 12px !important;
  }
}







.uz-filter-box select.jet-select__control {
  text-align: center !important;
  text-align-last: center !important;

  /* компенсируем стрелку */
  padding-left: 0 !important;
  padding-right: 0 !important;
}









/* ===== UZ FEYA — RIGHT MODEL FILTERS ===== */

.uz-model-filters {
  background: linear-gradient(180deg, #ffffff 0%, #f3f4f6 100%) !important;
  border: 1px solid #d8dde5 !important;
  border-radius: 18px !important;
  padding: 18px 16px !important;
  box-shadow: 0 12px 34px rgba(0,0,0,.10) !important;
  color: #111 !important;
}

.uz-model-filters *,
.uz-model-filters *::before,
.uz-model-filters *::after {
  box-sizing: border-box !important;
}

/* отступы виджетов */
.uz-model-filters .elementor-widget {
  margin-bottom: 12px !important;
}

/* labels */
.uz-model-filters .jet-filter-label,
.uz-model-filters label,
.uz-model-filters .elementor-heading-title {
  display: block !important;
  margin: 0 0 6px !important;
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

/* inputs / search / number */
.uz-model-filters input[type="text"],
.uz-model-filters input[type="search"],
.uz-model-filters input[type="number"] {
  width: 100% !important;
  height: 40px !important;
  min-height: 40px !important;
  border: 1px solid #d4dbe5 !important;
  border-radius: 9px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 14px !important;
  padding: 0 13px !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
}

.uz-model-filters input::placeholder {
  color: #8c95a3 !important;
}

.uz-model-filters input:focus,
.uz-model-filters select:focus {
  outline: none !important;
  border-color: #e40e6f !important;
  box-shadow: 0 0 0 3px rgba(228,14,111,.14) !important;
}

/* select fields */
.uz-model-filters .jet-select,
.uz-model-filters .jet-select__control,
.uz-model-filters select {
  width: 100% !important;
  max-width: 100% !important;
}

.uz-model-filters select {
  height: 40px !important;
  min-height: 40px !important;
  border: 1px solid #d4dbe5 !important;
  border-radius: 9px !important;
  background-color: #fff !important;
  color: #111 !important;
  font-size: 14px !important;

  appearance: none !important;
  -webkit-appearance: none !important;

  text-align: center !important;
  text-align-last: center !important;

  padding-left: 0 !important;
  padding-right: 0 !important;

  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23111' d='M6 8 0 0h12z'/></svg>") !important;
  background-repeat: no-repeat !important;
  background-position: right 13px center !important;
  background-size: 10px 7px !important;

  box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
}

/* range wrapper */
.uz-model-filters .jet-range {
  width: 100% !important;
  margin-top: 2px !important;
}

/* slider */
.uz-model-filters .jet-range__slider {
  width: 100% !important;
  margin: 4px 0 10px !important;
}

.uz-model-filters .jet-range__slider .ui-slider,
.uz-model-filters .jet-range__slider .jet-range__slider__track {
  height: 4px !important;
  background: #d0d0d0 !important;
  border: 0 !important;
  border-radius: 999px !important;
}

.uz-model-filters .jet-range__slider .ui-slider-handle,
.uz-model-filters .jet-range__slider .jet-range__slider__handle {
  width: 15px !important;
  height: 15px !important;
  top: -6px !important;
  background: #888 !important;
  border: 0 !important;
  border-radius: 50% !important;
}

/* range inputs — фикс квадратных обёрток */
.uz-model-filters .jet-range__inputs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  width: 100% !important;
}

.uz-model-filters .jet-range__inputs > *,
.uz-model-filters .jet-range__inputs .jet-range__input {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.uz-model-filters .jet-range__inputs input {
  width: 100% !important;
  height: 38px !important;
  min-height: 38px !important;
  border: 1px solid #d4dbe5 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #222 !important;
  font-size: 14px !important;
  padding: 0 12px !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.04) !important;
}

/* advanced toggle */
.uz-advanced-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
 /*  margin: 8px 0 14px !important; */
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #e40e6f !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-align: left !important;
}

.uz-advanced-toggle span {
  display: inline-block !important;
  font-size: 13px !important;
  transition: transform .2s ease !important;
}

.uz-advanced-filters {
  display: none !important;
}

.uz-model-filters.is-advanced-open .uz-advanced-filters {
  display: block !important;
}

.uz-model-filters.is-advanced-open .uz-advanced-toggle span {
  transform: rotate(180deg) !important;
   top: 0px;
}

/* checkbox lists */
.uz-model-filters .jet-checkboxes-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
}

.uz-model-filters .jet-checkboxes-list__row {
  margin: 0 !important;
}

.uz-model-filters .jet-checkboxes-list__label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 7px !important;
  color: #111 !important;
  font-size: 15px !important;
  line-height: 1.25 !important;
  cursor: pointer !important;
}

.uz-model-filters input[type="checkbox"] {
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  margin: 2px 0 0 !important;
  accent-color: #e40e6f !important;
}

/* service titles */
.uz-model-filters .uz-service-title,
.uz-model-filters h4 {
  margin: 14px 0 8px !important;
  color: #111 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* buttons */
.uz-model-filters .jet-smart-filters-apply-button,
.uz-model-filters button[type="submit"],
.uz-model-filters .elementor-button {
  width: 100% !important;
  min-height: 46px !important;
  border-radius: 9px !important;
  background: #e40e6f !important;
  border: 1px solid #e40e6f !important;
  color: #fff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  padding: 0 24px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.uz-model-filters .jet-smart-filters-apply-button:hover,
.uz-model-filters button[type="submit"]:hover,
.uz-model-filters .elementor-button:hover {
  background: #c90c62 !important;
  border-color: #c90c62 !important;
}

/* reset button */
.uz-model-filters .jet-remove-all-filters__button {
  width: 100% !important;
  min-height: 42px !important;
  border-radius: 9px !important;
  background: transparent !important;
  border: 1px solid #e40e6f !important;
  color: #e40e6f !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 0 18px !important;
}

.uz-model-filters .jet-remove-all-filters__button:hover {
  background: rgba(228,14,111,.08) !important;
}

/* mobile */
@media (max-width: 767px) {
  .uz-model-filters {
    border-radius: 14px !important;
    padding: 14px 12px !important;
  }

  .uz-model-filters .jet-checkboxes-list__label {
    font-size: 14px !important;
  }
}



/* ===== FIX Range filters visual ===== */

.uz-model-filters .jet-range {
  width: 100% !important;
  margin: 0 0 14px !important;
}

/* линия ползунка */
.uz-model-filters .jet-range__slider {
  width: 100% !important;
  height: 18px !important;
  margin: 0 0 8px !important;
  padding: 7px 0 !important;
}

.uz-model-filters .jet-range__slider .jet-range__slider__track,
.uz-model-filters .jet-range__slider .ui-slider {
  height: 5px !important;
  border-radius: 999px !important;
  background: #d9d9d9 !important;
  border: none !important;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.08) !important;
}

/* активная часть линии */
.uz-model-filters .jet-range__slider .ui-slider-range {
  background: #e40e6f !important;
  border-radius: 999px !important;
}

/* круглые ручки */
.uz-model-filters .jet-range__slider .ui-slider-handle,
.uz-model-filters .jet-range__slider .jet-range__slider__handle {
  width: 16px !important;
  height: 16px !important;
  top: -6px !important;
  border-radius: 50% !important;
  background: #e40e6f !important;
  border: 3px solid #fff !important;
  box-shadow: 0 2px 7px rgba(0,0,0,.22) !important;
  cursor: pointer !important;
}

/* контейнер двух полей */
.uz-model-filters .jet-range__inputs {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  width: 100% !important;
  margin-top: 4px !important;
}

/* обёртки input */
.uz-model-filters .jet-range__inputs_container,
.uz-model-filters .jet-range__inputs_group,
.uz-model-filters .jet-range__inputs > div,
.uz-model-filters .jet-range__inputs fieldset {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

/* сами поля */
.uz-model-filters input.jet-range__inputs_min,
.uz-model-filters input.jet-range__inputs_max,
.uz-model-filters .jet-range__inputs input[type="number"] {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  height: 36px !important;
  min-height: 36px !important;

  padding: 0 10px !important;
  margin: 0 !important;

  border: 1px solid #d5dbe5 !important;
  border-radius: 9px !important;
  background: #fff !important;

  color: #222 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 36px !important;
  text-align: center !important;

  box-shadow:
    inset 0 1px 2px rgba(0,0,0,.04),
    0 1px 0 rgba(255,255,255,.7) !important;
}

/* убираем стрелки number */
.uz-model-filters input.jet-range__inputs_min::-webkit-outer-spin-button,
.uz-model-filters input.jet-range__inputs_min::-webkit-inner-spin-button,
.uz-model-filters input.jet-range__inputs_max::-webkit-outer-spin-button,
.uz-model-filters input.jet-range__inputs_max::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.uz-model-filters input.jet-range__inputs_min,
.uz-model-filters input.jet-range__inputs_max {
  -moz-appearance: textfield !important;
}

/* hover/focus */
.uz-model-filters .jet-range__inputs input[type="number"]:focus {
  border-color: #e40e6f !important;
  box-shadow: 0 0 0 3px rgba(228,14,111,.13) !important;
}


/* убрать внешний бордер у group */
.uz-model-filters .jet-range__inputs__group {
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
}




.uz-model-filters .jet-smart-filters-checkboxes .jet-filter-label {
    margin: 15px 0px 8px 0px !important;
    font-weight: 400 !important;
}


.uz-advanced-toggle span {
    position: relative;
    top: 2px;
}




/* ===== HEADER SEARCH ===== */

.uz-header-search-form{
  display:flex;
  align-items:center;
  width:190px;
  height:42px;
  background:#f4f4f4;
  border:1px solid rgba(255,255,255,.45);
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 8px 18px rgba(0,0,0,.08);
  transition:.2s ease;
}

.uz-header-search-form:hover,
.uz-header-search-form:focus-within{
  background:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}

.uz-header-search-icon{
  width:48px;
  height:42px;
  border:0;
  padding:0;
  background:transparent;
  color:#222;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  flex:0 0 48px;
}

.uz-header-search-icon svg{
  width:22px;
  height:22px;
  fill:none;
  stroke:currentColor;
  stroke-width:3;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.uz-header-search-input{
  width:100%;
  height:42px;
  border:0 !important;
  outline:0 !important;
  background:transparent !important;
  color:#222 !important;
  padding:0 14px 0 0 !important;
  font-size:16px;
  font-weight:500;
  box-shadow:none !important;
  padding: 0px 0px 0px 5px !important;
}

.uz-header-search-input::placeholder{
  color:#222;
  opacity:.85;
}

.uz-header-search-input::-webkit-search-cancel-button{
  display:none;
}

/* mobile */
@media (max-width: 767px){
  .uz-header-search-form{
    width:46px;
    min-width:46px;
  }

  .uz-header-search-form:focus-within{
    width:180px;
  }

  .uz-header-search-input{
    min-width:120px;
  }
}

/* dark mode */
body.dark-mode .uz-header-search-form{
  background:#f4f4f4;
}

body.dark-mode .uz-header-search-input,
body.dark-mode .uz-header-search-icon{
  color:#222 !important;
}




/* ===== HEADER SEARCH — DARK MODE FIX ===== */

body.dark-mode .uz-header-search-form{
  background:#f1f1f1 !important;
  border:1px solid rgba(255,255,255,.08) !important;
  box-shadow:none !important;
}

body.dark-mode .uz-header-search-form:hover,
body.dark-mode .uz-header-search-form:focus-within{
  background:#ffffff !important;
}

body.dark-mode .uz-header-search-input{
  background:transparent !important;
  color:#1e1e1e !important;
  border:none !important;
  box-shadow:none !important;
}

body.dark-mode .uz-header-search-input::placeholder{
  color:#666 !important;
  opacity:1;
}

body.dark-mode .uz-header-search-icon{
  color:#222 !important;
  background:transparent !important;
}

/* убираем фиолетовый autofill */
body.dark-mode .uz-header-search-input:-webkit-autofill,
body.dark-mode .uz-header-search-input:-webkit-autofill:hover,
body.dark-mode .uz-header-search-input:-webkit-autofill:focus{
  -webkit-text-fill-color:#1e1e1e !important;
  transition:background-color 9999s ease-in-out 0s;
  box-shadow:0 0 0px 1000px #f1f1f1 inset !important;
}





/* =============================================
   UZ custom geo dropdowns: country + city
============================================= */

.uz-geo-original-select {
  display: none !important;
}

.uz-geo-dropdown {
  position: relative;
  width: 100%;
  z-index: 20;
}

.uz-geo-dropdown.is-open {
  z-index: 9999;
}

.uz-geo-dropdown__button {
  width: 100%;
  min-height: 44px;
  height: 44px;
  border: 2px solid #E40E6F;
  border-radius: 999px;
  background: #fff;
  color: #333;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  position: relative;
  text-align: center;
  box-shadow: none;
}

.uz-geo-dropdown__button:hover,
.uz-geo-dropdown.is-open .uz-geo-dropdown__button {
  border-color: #E40E6F;
  box-shadow: 0 0 0 3px rgba(228,14,111,.16);
}

.uz-geo-dropdown__arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #E40E6F;
  font-size: 24px !important;
  font-weight: 800;
  line-height: 1;
  opacity: 1;
  pointer-events: none;
}

.uz-geo-dropdown__list {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 4px);
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.14);
  max-height: 260px;
  overflow-y: auto;
  z-index: 9999;
}

.uz-geo-dropdown.is-open .uz-geo-dropdown__list {
  display: block;
}

.uz-geo-dropdown__item {
  width: 100%;
  min-height: 38px;
  padding: 8px 14px;
  border: 0;
  background: #fff;
  color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 400;
  text-align: center;
}

.uz-geo-dropdown__item:hover,
.uz-geo-dropdown__item.is-active {
  background: #f4f4f4;
}

.uz-geo-dropdown__flag {
  width: 24px;
  height: 16px;
  display: inline-block;
  flex: 0 0 24px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08);
}

.uz-geo-dropdown__text,
.uz-geo-dropdown__item-text {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* чтобы текст без флага тоже был визуально по центру */
.uz-geo-dropdown--city .uz-geo-dropdown__item,
.uz-geo-dropdown--city .uz-geo-dropdown__button {
  justify-content: center;
}

/* dark mode */
body.dark-mode .uz-geo-dropdown__button,
html.dark-mode .uz-geo-dropdown__button {
  background: #1a1a1f;
  color: #e0e0e0;
  border-color: #E40E6F;
}

body.dark-mode .uz-geo-dropdown__list,
html.dark-mode .uz-geo-dropdown__list {
  background: #1f1f1f;
  border-color: #444;
}

body.dark-mode .uz-geo-dropdown__item,
html.dark-mode .uz-geo-dropdown__item {
  background: #1f1f1f;
  color: #fff;
}

body.dark-mode .uz-geo-dropdown__item:hover,
body.dark-mode .uz-geo-dropdown__item.is-active,
html.dark-mode .uz-geo-dropdown__item:hover,
html.dark-mode .uz-geo-dropdown__item.is-active {
  background: #333;
}


.uz-geo-dropdown__text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  text-align: center;
  padding: 0 18px;
}

.uz-geo-dropdown__button .uz-geo-dropdown__flag + .uz-geo-dropdown__text {
  width: auto;
  padding: 0;
}



/* FIX: клики по центру custom dropdown */
.uz-geo-dropdown__button {
  position: relative !important;
  z-index: 2 !important;
  pointer-events: auto !important;
}

.uz-geo-dropdown__button * {
  pointer-events: none !important;
}

.uz-geo-dropdown__text,
.uz-geo-dropdown__flag,
.uz-geo-dropdown__arrow {
  pointer-events: none !important;
}

.uz-geo-dropdown__list {
  z-index: 99999 !important;
}

.uz-geo-original-select {
  display: none !important;
  pointer-events: none !important;
}