/*
Theme Name: Astra Child - Химчистка Мебели
Theme URI: https://himchistkadivana.ru/
Description: Дочерняя тема Astra для сайта химчистки мебели с поддержкой мультигородов, чистым кодом, высокой конверсией и мгновенной загрузкой.
Author: Web Team
Author URI: https://himchistkadivana.ru/
Template: astra
Version: 1.0.0
Text Domain: astra-child-himchistka
*/

/* Custom additions */
.him-info-main { background: #f6f9f7; padding: 38px 24px 64px; }
.him-info-main__inner { max-width: 1100px; margin: auto; }
.him-info-breadcrumb { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 26px; color: #607267; font-size: 14px; }
.him-info-breadcrumb a { color: #176344; }
.him-info-article { padding: 36px; border: 1px solid #e0e9e3; border-radius: 14px; background: #fff; }
.him-info-article h1 { margin: 0 0 28px; color: #183a2a; font-size: clamp(30px,3vw,40px); line-height: 1.15; }
.him-info-article__content { color: #35453c; font-size: 17px; line-height: 1.65; }
.him-info-article__content h2 { margin: 36px 0 18px; color: #183a2a; font-size: clamp(23px,2vw,28px); line-height: 1.25; }
.him-info-article__content h3 { color: #183a2a; font-size: 21px; line-height: 1.3; }
.him-info-article__content a { color: #176344; text-decoration: underline; text-underline-offset: 3px; }
.him-info-article__content .wp-block-columns { gap: 22px; align-items: stretch; }
.him-info-article__content .wp-block-column { min-width: 0; }
.him-info-card { height: 100%; padding: 22px; border: 1px solid #dce8df; border-radius: 10px; background: #f5f9f6; }
.him-info-card h2, .him-info-card h3 { margin-top: 0; }
.him-info-card p:last-child { margin-bottom: 0; }
.him-info-article__content blockquote { margin: 20px 0; padding: 22px 24px; border-left: 3px solid #2c8860; border-radius: 0 10px 10px 0; background: #f0f7f3; color: #31483b; }
.him-info-article__content blockquote p:last-child { margin-bottom: 0; }
.him-info-article__content iframe { width: 100%; max-width: 100%; border: 0; aspect-ratio: 16 / 9; height: auto; border-radius: 10px; }
@media(max-width:767px) {
  .him-info-main { padding: 24px 15px 40px; }
  .him-info-article { padding: 24px 18px; }
  .him-info-article__content { font-size: 16px; }
  .him-info-card { padding: 18px; }
  .him-info-article__content blockquote { padding: 18px; }
}
*, *::before, *::after,
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6, p, span, a, label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}

.him-city-highlight {
    font-weight: inherit;
    color: inherit;
}

/* ==========================================================
   SEO Post Content Section (Текстовый блок страницы the_content)
   ========================================================== */
.him-post-content-section {
    background-color: #ffffff;
    color: #333333;
    padding: 20px 0;
}
.him-post-content-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 40px;
}
.him-post-content-body {
    flex: 1 1 60%;
    min-width: 300px;
}
.him-post-content-title {
    font-size: 28px;
    font-weight: 700;
    color: #222222;
    margin-top: 0;
    margin-bottom: 22px;
    line-height: 1.3;
}
.him-post-content-text {
    font-size: 16px;
    line-height: 1.75;
    color: #444444;
}
.him-post-content-text p {
    margin-bottom: 18px;
    margin-top: 0;
}
.him-post-content-text h2,
.him-post-content-text h3,
.him-post-content-text h4 {
    color: #222222;
    margin-top: 25px;
    margin-bottom: 15px;
}
.him-post-content-text ul,
.him-post-content-text ol {
    margin-bottom: 20px;
    padding-left: 24px;
}
.him-post-content-text li {
    margin-bottom: 8px;
}
.him-post-content-media {
    flex: 0 0 35%;
    max-width: 440px;
    min-width: 280px;
}
.him-post-content-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    display: block;
    object-fit: cover;
}
@media (max-width: 768px) {
    .him-post-content-grid {
        flex-direction: column;
        gap: 25px;
    }
    .him-post-content-media {
        flex: 1 1 100%;
        max-width: 100%;
    }
    .him-post-content-title {
        font-size: 22px;
    }
}

/* ==========================================================
   Векторные стрелки и центрирование элементов навигации
   ========================================================== */
.him-gal-arrow svg,
.him-tech-arrow svg {
    display: block;
    margin: auto;
    pointer-events: none;
}

.gallery1-previous,
.gallery1-next {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.gallery1-previous svg,
.gallery1-next svg {
    display: block;
    margin: auto;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.5));
}

.spoiler2-toggle svg {
    display: block;
    margin: auto;
    transition: transform 0.25s ease;
}

.spoiler2-header.is-expanded .spoiler2-toggle svg {
    transform: rotate(180deg);
}

/* ==========================================================
   КОМПАКТНЫЙ ВЕРХНИЙ ГЛАВНЫЙ БАННЕР (HERO BANNER)
   ========================================================== */
/* Верхний отступ над заголовком */
.node.css43.css44,
.node.css44 .padding {
    height: 6px !important;
}

/* Заголовок H1 и контейнер */
.node.css45 {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}
.textable.css46 {
    font-size: 15px !important;
    line-height: 1.25 !important;
}
.textable.css46 span {
    font-size: 1.75em !important;
    line-height: 1.25 !important;
}

/* Подзаголовок с гарантией и сроком */
.node.css47 {
    padding-top: 4px !important;
    padding-bottom: 6px !important;
}
.textable.css48 {
    font-size: 14px !important;
    line-height: 1.25 !important;
}
.textable.css48 span {
    font-size: 1.35em !important;
    line-height: 1.25 !important;
}

/* Сетка контента первого экрана */
.node.css49 {
    padding-top: 4px !important;
    padding-bottom: 8px !important;
}
.node.css50 {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

/* 5 буллетов: компактные отступы */
.node.css51 {
    padding-top: 3px !important;
    padding-bottom: 3px !important;
}

/* Иконки первого экрана: сжаты до 32px */
.node.css51 .td.icon {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    text-align: center;
    vertical-align: middle;
}
.node.css51 .td.icon svg {
    width: 32px !important;
    height: 32px !important;
    display: block;
    margin: 0 auto;
}
.node.css51 .td.text > div {
    padding-left: 10px !important;
}

/* Текст преимуществ */
.textable.css54,
.textable.css55,
.textable.css57 {
    font-size: 16px !important;
    line-height: 1.3 !important;
}
.textable.css54 span,
.textable.css55 span,
.textable.css57 span {
    font-size: 16px !important;
    line-height: 1.3 !important;
}

/* Правая колонка с формой */
.node.css58 {
    padding-top: 10px !important;
    padding-bottom: 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
}
.node.css59 {
    padding-top: 4px !important;
    padding-bottom: 8px !important;
}
.textable.css60 {
    font-size: 17px !important;
    line-height: 1.25 !important;
}
.css64 [cr-field] {
    padding-bottom: 8px !important;
}
.css64 [cr-field] .name {
    margin-bottom: 3px !important;
    font-size: 13px !important;
}
.node.css61 input.form-control {
    padding: 8px 10px !important;
    font-size: 14px !important;
    height: 38px !important;
}
.node.css61 .btn.css65 {
    padding-top: 9px !important;
    padding-bottom: 9px !important;
    font-size: 15px !important;
}

/* Адаптивность для мобильных экранов */
@media (max-width: 767px) {
    .textable.css46 span {
        font-size: 1.4em !important;
    }
    .textable.css48 span {
        font-size: 1.1em !important;
    }
    .textable.css54,
    .textable.css55,
    .textable.css57 {
        font-size: 14px !important;
    }
    .textable.css54 span,
    .textable.css55 span,
    .textable.css57 span {
        font-size: 14px !important;
    }
    .node.css51 .td.icon {
        width: 30px !important;
        min-width: 30px !important;
    }
    .node.css51 .td.icon svg {
        width: 26px !important;
        height: 26px !important;
    }
}



/* ==========================================================
   Кнопка "Наверх" и фикс карты
   ========================================================== */
.node.widget-map {
  position: relative;
  height: 275px;
  width: 100%;
}
.macros-map,
.macros-map .map,
.macros-map iframe {
  width: 100% !important;
  height: 275px !important;
  border: none;
  display: block;
}
.fullheight {
  min-height: auto !important;
}


/* ==========================================================
   СТИЛИ МОБИЛЬНОЙ ШАПКИ И МЕНЮ
   ========================================================== */
.him-mobile-header {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99990;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
  .him-mobile-header {
    display: block !important;
  }
}

.him-mobile-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  height: 56px;
  box-sizing: border-box;
}

.him-mobile-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  color: #333333;
}

.him-mobile-logo img {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  object-fit: cover;
}

.him-mobile-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.him-mobile-logo-text strong {
  font-size: 15px;
  color: #062863;
  font-weight: 700;
}

.him-mobile-logo-text span {
  font-size: 11px;
  color: #666666;
}

.him-mobile-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.him-mobile-phone-btn {
  width: 38px;
  height: 38px;
  background-color: #8fc63d;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(143, 198, 61, 0.4);
}

.him-mobile-hamburger-btn {
  width: 40px;
  height: 38px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 4px;
}

.him-mobile-hamburger-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: #062863;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.him-mobile-hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.him-mobile-hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.him-mobile-hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.him-mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background-color: #ffffff;
  border-top: 1px solid #eeeeee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: himSlideDown 0.25s ease forwards;
}

.him-mobile-menu-drawer.is-open {
  display: block !important;
}

@keyframes himSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.him-mobile-menu-content {
  padding: 16px 18px 24px;
}

.him-mobile-nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
  margin-top: 14px;
  margin-bottom: 6px;
}

.him-mobile-nav-title:first-child {
  margin-top: 0;
}

.him-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.him-mobile-nav-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #f2f2f2;
}

.him-mobile-nav-list a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.him-mobile-nav-list a:hover,
.him-mobile-nav-list a:active {
  color: #8fc63d;
}

.him-mobile-contact-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed #e5e5e5;
  text-align: center;
}

.him-mobile-call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background-color: #8fc63d;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(143, 198, 61, 0.3);
}

.him-mobile-worktime {
  font-size: 12px;
  color: #777777;
  margin-top: 8px;
}




/* ==========================================================
   СТИЛИ МОБИЛЬНОЙ ШАПКИ
   ========================================================== */
.him-mobile-header {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99990;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
  .him-mobile-header {
    display: block !important;
  }
}

.him-mobile-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  height: 56px;
  box-sizing: border-box;
}

.him-mobile-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #333333;
}

.him-mobile-logo img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}

.him-mobile-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.him-mobile-logo-text strong {
  font-size: 14px;
  color: #062863;
  font-weight: 700;
}

.him-mobile-logo-text span {
  font-size: 10px;
  color: #666666;
}

.him-mobile-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.him-mobile-phone-btn {
  width: 36px;
  height: 36px;
  background-color: #8fc63d;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(143, 198, 61, 0.4);
}

.him-mobile-hamburger-btn {
  width: 38px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px;
}

.him-mobile-hamburger-btn span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: #062863;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.him-mobile-hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.him-mobile-hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.him-mobile-hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.him-mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background-color: #ffffff;
  border-top: 1px solid #eeeeee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: himSlideDown 0.25s ease forwards;
}

.him-mobile-menu-drawer.is-open {
  display: block !important;
}

@keyframes himSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.him-mobile-menu-content {
  padding: 16px 18px 24px;
}

.him-mobile-nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
  margin-top: 14px;
  margin-bottom: 6px;
}

.him-mobile-nav-title:first-child { margin-top: 0; }

.him-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.him-mobile-nav-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #f2f2f2;
}

.him-mobile-nav-list a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.him-mobile-nav-list a:hover,
.him-mobile-nav-list a:active {
  color: #8fc63d;
}

.him-mobile-contact-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed #e5e5e5;
  text-align: center;
}

.him-mobile-call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background-color: #8fc63d;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(143, 198, 61, 0.3);
}

.him-mobile-worktime {
  font-size: 12px;
  color: #777777;
  margin-top: 8px;
}


/* ==========================================================
   СТИЛИ МОБИЛЬНОЙ ШАПКИ
   ========================================================== */
.him-mobile-header {
  display: none;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99990;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767px) {
  .him-mobile-header {
    display: block !important;
  }
}

.him-mobile-header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  height: 56px;
  box-sizing: border-box;
}

.him-mobile-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none !important;
  color: #333333;
}

.him-mobile-logo img {
  width: 36px;
  height: 36px;
  border-radius: 4px;
  object-fit: cover;
}

.him-mobile-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.him-mobile-logo-text strong {
  font-size: 14px;
  color: #062863;
  font-weight: 700;
}

.him-mobile-logo-text span {
  font-size: 10px;
  color: #666666;
}

.him-mobile-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.him-mobile-phone-btn {
  width: 36px;
  height: 36px;
  background-color: #8fc63d;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(143, 198, 61, 0.4);
}

.him-mobile-hamburger-btn {
  width: 38px;
  height: 36px;
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  padding: 4px;
}

.him-mobile-hamburger-btn span {
  display: block;
  width: 22px;
  height: 3px;
  background-color: #062863;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.him-mobile-hamburger-btn.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.him-mobile-hamburger-btn.is-active span:nth-child(2) {
  opacity: 0;
}

.him-mobile-hamburger-btn.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.him-mobile-menu-drawer {
  display: none;
  position: absolute;
  top: 56px;
  left: 0;
  width: 100%;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background-color: #ffffff;
  border-top: 1px solid #eeeeee;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  animation: himSlideDown 0.25s ease forwards;
}

.him-mobile-menu-drawer.is-open {
  display: block !important;
}

@keyframes himSlideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.him-mobile-menu-content {
  padding: 16px 18px 24px;
}

.him-mobile-nav-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888888;
  margin-top: 14px;
  margin-bottom: 6px;
}

.him-mobile-nav-title:first-child { margin-top: 0; }

.him-mobile-nav-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
}

.him-mobile-nav-list li {
  margin-bottom: 0;
  border-bottom: 1px solid #f2f2f2;
}

.him-mobile-nav-list a {
  display: block;
  padding: 10px 0;
  font-size: 15px;
  font-weight: 600;
  color: #222222;
  text-decoration: none;
  transition: color 0.2s ease;
}

.him-mobile-nav-list a:hover,
.him-mobile-nav-list a:active {
  color: #8fc63d;
}

.him-mobile-contact-box {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px dashed #e5e5e5;
  text-align: center;
}

.him-mobile-call-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  background-color: #8fc63d;
  color: #ffffff !important;
  font-size: 16px;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 3px 10px rgba(143, 198, 61, 0.3);
}

.him-mobile-worktime {
  font-size: 12px;
  color: #777777;
  margin-top: 8px;
}


/* ==========================================================
   ГАРАНТИРОВАННАЯ ТИПОГРАФИКА INTER
   ========================================================== */
html, body, div, p, span, h1, h2, h3, h4, h5, h6, a, button, input, textarea, select, label, .textable {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
}
.textable.css46, .textable.css46 span, .textable.css46 strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 800 !important;
  letter-spacing: 0.02em !important;
}
.textable.css48, .textable.css48 span, .textable.css48 strong {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, 'Helvetica Neue', Arial, sans-serif !important;
  font-weight: 700 !important;
}
.node.css51 .td.icon {
  width: 36px !important;
  min-width: 36px !important;
  text-align: center;
}
.node.css51 .td.icon svg {
  width: 32px !important;
  height: 32px !important;
  display: inline-block;
  vertical-align: middle;
}
.node.css66 .td.icon, .node.css67 .td.icon {
  text-align: center;
}
.node.css66 svg, .node.css67 svg {
  display: block;
  margin: 0 auto;
}


@import url('assets/css/bulletproof-layout.css');
/* Editable Gutenberg article below the shared service sections. */
.him-gutenberg-content {
    padding: 56px 20px 72px;
    background: #fff;
    color: #182a39;
}
.him-gutenberg-content__inner {
    max-width: 1080px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
}
.him-gutenberg-content h2,
.him-gutenberg-content h3 {
    color: #182a39;
    margin: 1.6em 0 .55em;
}
.him-gutenberg-content p { margin: 0 0 1em; }

.him-coverage {
    padding: 52px 20px 58px;
    background: #f4f8f8;
    color: #182a39;
}
.him-coverage__inner { max-width: 1140px; margin: 0 auto; }
.him-coverage h2 { margin: 0 0 28px; color: #182a39; font-size: clamp(24px, 3vw, 32px); line-height: 1.25; }
.him-coverage__groups { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.him-coverage h3 { margin: 0 0 14px; color: #182a39; font-size: 18px; line-height: 1.4; }
.him-coverage__links { display: flex; flex-wrap: wrap; gap: 9px 16px; }
.him-coverage__links a { color: #185a70; font-size: 15px; line-height: 1.45; text-decoration: underline; text-underline-offset: 3px; }
.him-coverage__links a:hover, .him-coverage__links a:focus-visible { color: #0b8096; }
@media (max-width: 767px) {
    .him-gutenberg-content { padding: 36px 16px 48px; }
    .him-gutenberg-content__inner { font-size: 16px; }
    .him-coverage { padding: 38px 16px 44px; }
    .him-coverage__groups { grid-template-columns: 1fr; gap: 30px; }
}
.him-workshop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px max(20px, calc((100vw - 1140px) / 2));
    background: #fff;
    font-family: Inter, sans-serif;
}
.him-workshop-header > a { color: #182a39; font-size: 22px; font-weight: 800; text-decoration: none; }
.him-workshop-header nav { display: flex; gap: 18px; }
.him-workshop-header nav a { color: #182a39; text-decoration: none; }
.him-workshop-hero {
    display: flex;
    align-items: center;
    min-height: 480px;
    padding: 64px 20px;
    color: #fff;
    background: linear-gradient(90deg, rgba(10, 30, 27, .82), rgba(10, 30, 27, .38)), url('assets/images/kover.jpg') center / cover;
}
.him-workshop-hero__inner { width: min(100%, 1140px); margin: auto; }
.him-workshop-hero h1 { max-width: 760px; color: #fff; font: 800 clamp(30px, 4vw, 52px)/1.12 Inter, sans-serif; }
.him-workshop-hero p { max-width: 680px; margin: 24px 0; font: 500 18px/1.6 Inter, sans-serif; }
.him-workshop-hero__button { display: inline-block; padding: 16px 25px; background: #febd17; color: #182a39; font-weight: 800; text-decoration: none; border-radius: 6px; }
.him-page-header { background: #fff; box-shadow: 0 3px 18px rgba(24, 42, 57, .08); }
.him-page-header__inner { max-width: 1180px; margin: auto; padding: 19px 20px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.him-page-header__brand { color: #182a39; font-size: 23px; font-weight: 800; text-decoration: none; }
.him-page-header nav { display: flex; flex-wrap: wrap; gap: 20px; }
.him-page-header nav a { color: #182a39; font-weight: 600; text-decoration: none; }
.him-page-header nav a:hover { color: #5c9828; }
.him-page-main { background: #f7f9f5; min-height: 60vh; padding: 56px 20px 80px; }
.him-page-article { max-width: 1120px; margin: auto; padding: 46px 54px; background: #fff; box-shadow: 0 16px 42px rgba(24, 42, 57, .07); border-radius: 10px; }
.him-page-article h1 { margin: 0 0 30px; color: #182a39; font-size: clamp(29px, 3vw, 43px); line-height: 1.2; }
.him-page-article__content { color: #253745; font-size: 17px; line-height: 1.7; }
.him-page-article__content p { margin: 0 0 1em; }
.him-page-article__content h2, .him-page-article__content h3 { color: #182a39; margin: 1.6em 0 .55em; }
.him-page-article__content a { color: #26754a; text-decoration: underline; }
.him-page-article__content a:hover { color: #17472d; }
@media (max-width: 767px) {
    .him-page-header__inner { align-items: flex-start; flex-direction: column; }
    .him-page-header nav { gap: 9px 16px; font-size: 14px; }
    .him-page-main { padding: 28px 12px 48px; }
    .him-page-article { padding: 26px 20px; }
    .him-page-article__content { font-size: 16px; }
    .him-workshop-header { align-items: flex-start; flex-direction: column; }
    .him-workshop-header nav { flex-wrap: wrap; }
    .him-workshop-hero { min-height: 420px; }
}
/* Upholstery fabric section shared by furniture templates. */
.him-upholstery {
  padding: 74px 20px 80px;
  background: #f5f8f6;
  color: #203443;
}
.him-upholstery__inner { max-width: 1200px; margin: 0 auto; }
.him-upholstery__heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.him-upholstery__eyebrow { display: block; margin-bottom: 12px; color: #258157; font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; }
.him-upholstery h2 { margin: 0 0 15px; color: #203443; font-size: clamp(29px, 3vw, 42px); line-height: 1.18; font-weight: 750; }
.him-upholstery__heading p { margin: 0; font-size: 17px; line-height: 1.6; }
.him-upholstery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.him-upholstery__card { overflow: hidden; border: 1px solid #e1e9e4; border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(26, 57, 46, .06); }
.him-upholstery__card img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.him-upholstery__card-body { padding: 18px; }
.him-upholstery__card h3 { margin: 0 0 7px; color: #203443; font-size: 21px; font-weight: 700; }
.him-upholstery__card p { margin: 0; color: #52636c; font-size: 15px; line-height: 1.5; }
.him-upholstery__note { margin: 26px 0 0; color: #61717b; font-size: 14px; line-height: 1.5; text-align: center; }
/* Restored sections from the original Master Klin service layout. */
.node.css189, .node.css224, .node.css244 { position: relative; background: #111923 url('assets/images/divan.png') center/cover no-repeat; color: #fff; }
.node.css224 { background-image: url('assets/images/maxresdefault.jpg'); }
.node.css189::before, .node.css224::before, .node.css244::before { content: ''; position: absolute; inset: 0; background: rgba(0, 0, 0, .8); pointer-events: none; }
.node.css189 > .container, .node.css224 > .container, .node.css244 > .container { position: relative; z-index: 1; }
.node.css189 .textable, .node.css224 .textable, .node.css244 .textable { color: #fff !important; }
.node.css189 .widget-image img, .node.css182 .widget-image img, .node.css234 .widget-image img { display: block; max-width: 100%; height: auto; }
.node.css182 .widget-image img { width: 100%; max-width: 230px; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.node.css189 .widget-image img { border-radius: 10px; }
.node.css235 .s-elements-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
.node.css235 .s-elements-cell { flex: 0 0 33.333%; max-width: 33.333%; }
.node.css235 .widget-image img { display: block; width: 100% !important; max-width: 100%; height: auto; }
.node.css271 .s-elements-grid { display: flex; flex-wrap: wrap; align-items: stretch; }
.node.css271 .s-elements-cell { flex: 0 0 33.333%; max-width: 33.333%; }
.node.css271 .video-placeholder { width: 100%; max-width: 100%; }
.him-price-request { position: relative; padding: 56px 24px; background: #101217 url('assets/images/maxresdefault.jpg') center/cover no-repeat; color: #fff; text-align: center; }
.him-price-request::before { content: ''; position: absolute; inset: 0; background: rgba(8,16,18,.82); }
.him-price-request__inner { position: relative; max-width: 1000px; margin: auto; padding: 0; }
.him-price-request h2 { max-width: 940px; margin: 0 auto 28px; color: #fff; font-size: clamp(24px,2.5vw,36px); font-weight: 750; line-height: 1.25; }
.him-price-request__form { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: stretch; gap: 12px; max-width: 640px; margin: auto; }
.him-price-request__form input[type="tel"] { box-sizing: border-box; width: 100%; min-width: 0; height: 54px; margin: 0; padding: 0 18px; border: 1px solid #d5ded9; border-radius: 7px; background: #fff; color: #182a25; font-size: 16px; line-height: 1.3; }
.him-price-request__form button { box-sizing: border-box; min-width: 230px; min-height: 54px; margin: 0; padding: 14px 26px; border: 0; border-radius: 7px; background: #139647; color: #fff; font-size: 16px; font-weight: 700; line-height: 1.3; cursor: pointer; }
.him-price-request__form button:hover { background: #078d17; }
.him-price-request__form button:disabled { opacity: .65; cursor: wait; }
.him-price-request__message { margin: 14px 0 0; color: #fff; font-size: 14px; }
.him-price-request__message:empty { display: none; }
.him-price-request__agreement { max-width: 640px; margin: 18px auto 0; color: #dce5e0; font-size: 13px; line-height: 1.6; }
.him-price-request__agreement a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) { .node.css235 .s-elements-cell, .node.css271 .s-elements-cell { flex-basis: 50%; max-width: 50%; } }
@media (max-width: 600px) {
  .node.css235 .s-elements-cell, .node.css271 .s-elements-cell { flex-basis: 100%; max-width: 100%; }
  .him-price-request { padding: 36px 20px; }
  .him-price-request h2 br { display: none; }
}
@media (max-width: 700px) {
  .him-price-request__form { grid-template-columns: minmax(0,1fr); max-width: 420px; }
  .him-price-request__form button { width: 100%; min-width: 0; }
}
@media (max-width: 767px) {
  .node.css189 .gridwrap, .node.css182 .gridwrap, .node.css224 .gridwrap { display: flex !important; flex-wrap: wrap; }
  .node.css189 .gridwrap > .col { display: block !important; flex: 0 0 100%; width: 100% !important; }
  .node.css189 .gridwrap > .col + .col { margin-top: 24px; }
  .node.css182 .gridwrap > .col { display: block !important; flex: 0 0 50%; width: 50% !important; }
  .node.css224 .gridwrap > .col { display: block !important; flex: 0 0 50%; width: 50% !important; padding: 12px 8px; }
}
@media (max-width: 480px) {
  .node.css182 .gridwrap > .col { flex-basis: 100%; width: 100% !important; }
  .node.css224 .gridwrap > .col { flex-basis: 100%; width: 100% !important; }
}
@media (max-width: 900px) { .him-upholstery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .him-upholstery { padding: 52px 16px 58px; }
  .him-upholstery__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .him-upholstery__card { border-radius: 10px; }
  .him-upholstery__card-body { padding: 13px 11px 15px; }
  .him-upholstery__card h3 { font-size: 17px; line-height: 1.25; }
  .him-upholstery__card p { font-size: 13px; line-height: 1.45; }
}

@media (max-width: 360px) {
  .him-upholstery__card h3 { font-size: 16px; }
}

/* The imported Creatium screen class can be screen-undefined in WordPress.
   Hide only the two legacy desktop header rows when our mobile header is shown. */
@media (max-width: 767px) {
  .area-wrapper > #главная,
  .area-wrapper > #главная + .node.section {
    display: none !important;
  }
}

/* First-screen actions: callback or a jump to the photo estimate messengers. */
.node.css42 .node.css58 > .wrapper1 {
  border: 1px solid rgba(143, 198, 61, .55);
  background: rgba(0, 0, 0, .28);
}
.him-hero-actions {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
  padding: 13px 13px 4px;
  text-align: center;
}
.him-hero-actions__title {
  margin: 0 0 5px;
  color: #fff;
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  line-height: 1.3;
}
.him-hero-actions__button,
.node.css42 .him-hero-actions__button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 11px 16px;
  border-radius: 7px;
  font: 700 15px/1.35 Inter, sans-serif;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.him-hero-actions__button--primary {
  border: 1px solid #159e30;
  background: #159e30;
  color: #fff;
}
.him-hero-actions__button--photo,
.node.css42 .him-hero-actions__button--photo {
  border: 1px solid rgba(255, 255, 255, .75);
  background: rgba(12, 23, 25, .65);
  color: #fff;
}
.him-hero-actions__button:hover,
.him-hero-actions__button:focus-visible {
  filter: brightness(1.12);
  color: #fff;
}
@media (max-width: 900px) {
  .node.css42 .widget-grid.css49 > .grid > .gridwrap {
    display: flex;
    flex-wrap: wrap;
  }
  .node.css42 .widget-grid.css49 > .grid > .gridwrap > .col {
    flex: 0 0 100%;
    width: 100% !important;
    max-width: 100%;
  }
  .node.css42 .node.css58 { max-width: 560px; margin: 20px auto 0; }
}

/* First screen: concise benefits followed by both price actions. */
.node.css42 .node.css45,
.node.css42 .node.css47 {
  text-align: left;
}
.node.css42 .textable.css46,
.node.css42 .textable.css48 {
  text-align: left !important;
}
.him-hero-content {
  max-width: 900px;
  margin: 16px 0 0;
  color: #fff;
}
.him-hero-benefits {
  display: grid;
  gap: 9px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}
.him-hero-benefits li {
  position: relative;
  padding-left: 22px;
  color: #fff;
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 500;
  line-height: 1.45;
}
.him-hero-benefits li::before {
  position: absolute;
  top: .62em;
  left: 1px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #8fc63d;
  content: '';
}
.node.css42 .him-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0;
  text-align: left;
}
.node.css42 .him-hero-actions__button {
  flex: 0 1 310px;
  width: auto;
  min-height: 60px;
  padding: 12px 24px;
  font-size: 17px;
}
.node.css42 .him-hero-actions__button--primary {
  background: #159e30;
  color: #fff;
}
@media (max-width: 650px) {
  .him-hero-content { margin-top: 15px; }
  .him-hero-benefits { gap: 8px; margin-bottom: 24px; }
  .him-hero-benefits li { font-size: 15px; }
  .node.css42 .him-hero-actions { gap: 10px; }
  .node.css42 .him-hero-actions__button { flex-basis: 100%; min-height: 52px; font-size: 15px; }
}
/* Compact service benefits, without decorative pictograms. */
.him-service-benefits { padding: 28px 24px; background: #f3f6f4; border-bottom: 1px solid #e1e8e3; }
.him-service-benefits__grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 26px; max-width: 1170px; margin: auto; }
.him-service-benefits__item { padding: 3px 0 3px 17px; border-left: 2px solid #2a7650; min-width: 0; }
.him-service-benefits__item strong { display: block; color: #203b2c; font-size: 17px; font-weight: 700; line-height: 1.35; }
.him-service-benefits__item p { margin: 7px 0 0; color: #617168; font-size: 14px; line-height: 1.45; }
@media(max-width:767px) {
  .him-service-benefits { padding: 24px 20px; }
  .him-service-benefits__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 18px; }
  .him-service-benefits__item { padding-left: 12px; }
  .him-service-benefits__item strong { font-size: 15px; }
  .him-service-benefits__item p { font-size: 13px; }
}
/* Direction-specific services, pricing, process and FAQ. */
.him-direction-section { padding: 56px 24px; background: #fff; }
.him-direction-section--stages, .him-direction-section--materials { background: #f5f8f6; }
.him-direction-section__inner { max-width: 1170px; margin: auto; }
.him-direction-section h2 { margin: 0 0 30px; color: #203b2c; font-size: clamp(26px,3vw,38px); line-height: 1.2; text-align: center; font-weight: 750; }
.him-direction-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.him-direction-cards article { min-width: 0; padding: 24px; border: 1px solid #dfe8e2; border-radius: 10px; background: #fff; }
.him-direction-cards h3 { margin: 0 0 10px; color: #203b2c; font-size: 20px; line-height: 1.3; }
.him-direction-cards p { margin: 0; color: #596d60; font-size: 16px; line-height: 1.6; }
.him-direction-step { display: block; margin-bottom: 16px; color: #267a50; font-size: 23px; font-weight: 700; }
.him-direction-prices { max-width: 900px; margin: auto; border: 1px solid #dfe8e2; border-radius: 10px; overflow: hidden; }
.him-direction-prices table { width: 100%; border-collapse: collapse; border: 0; margin: 0; table-layout: fixed; }
.him-direction-prices th, .him-direction-prices td { padding: 18px 22px; border: 0; border-bottom: 1px solid #e7eee9; text-align: left; font-size: 16px; line-height: 1.4; overflow-wrap: anywhere; }
.him-direction-prices thead th { background: #edf5f0; color: #203b2c; font-weight: 700; }
.him-direction-prices tbody th { font-weight: 500; }
.him-direction-prices th:first-child { width: 58%; }
.him-direction-prices td { color: #176344; font-weight: 700; }
.him-direction-prices tr:last-child th, .him-direction-prices tr:last-child td { border-bottom: 0; }
.him-direction-note { max-width: 900px; margin: 18px auto 0; color: #65766a; font-size: 14px; line-height: 1.6; }
.him-direction-link { display: table; margin: 24px auto 0; color: #176344; font-weight: 700; text-underline-offset: 4px; }
.him-direction-faq { max-width: 900px; margin: auto; }
.him-direction-faq details { border: 1px solid #e0e9e3; border-radius: 8px; background: #fff; margin-bottom: 12px; }
.him-direction-faq summary { padding: 20px 24px; color: #203b2c; font-size: 18px; line-height: 1.4; font-weight: 650; cursor: pointer; }
.him-direction-faq details p { padding: 0 24px 22px; margin: 0; color: #53675b; font-size: 16px; line-height: 1.6; }
@media(max-width:767px) {
 .him-direction-section { padding: 38px 18px; }
 .him-direction-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
 .him-direction-cards article { padding: 17px 14px; }
 .him-direction-cards h3 { font-size: 17px; }
 .him-direction-cards p { font-size: 14px; line-height: 1.5; }
 .him-direction-prices th, .him-direction-prices td { padding: 15px 12px; font-size: 14px; }
 .him-direction-faq summary { padding: 18px; font-size: 16px; }
 .him-direction-faq details p { padding: 0 18px 20px; }
}
@media(max-width:360px) { .him-direction-cards { grid-template-columns: 1fr; } }
