/* Блог: размеры текста статей (переопределяет 34/36px, заданные в блоках) */
.t004 .t-text [data-customstyle="yes"][style*="font-size: 34px"] {
  font-size: 19px !important;
  line-height: 1.6 !important;
}
.t004 .t-text [data-customstyle="yes"][style*="font-size: 34px"] p {
  margin-bottom: 0.6em;
}
.t120__title [data-customstyle="yes"][style*="font-size: 36px"] {
  font-size: 28px !important;
  line-height: 1.25 !important;
}
@media screen and (max-width: 640px) {
  .t004 .t-text [data-customstyle="yes"][style*="font-size: 34px"] {
    font-size: 17px !important;
    line-height: 1.55 !important;
  }
  .t120__title [data-customstyle="yes"][style*="font-size: 36px"] {
    font-size: 22px !important;
  }
}

/* Главная: первый экран — заголовок крупнее подзаголовка */
#rec1145753751 .t734__title {
  font-size: 48px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
}
#rec1145753751 .t734__descr {
  margin-top: 24px !important;
  line-height: 1.45 !important;
}
#rec1145753751 .t734__button {
  margin-top: 36px !important;
}
@media screen and (max-width: 960px) {
  #rec1145753751 .t734__title { font-size: 36px !important; }
}
@media screen and (max-width: 640px) {
  #rec1145753751 .t734__title { font-size: 28px !important; }
  #rec1145753751 .t734__descr span { font-size: 16px !important; }
}

/* ============================================================
   ДИЗАЙН-СИСТЕМА: ШРИФТ
   FuturaPT на сайте не подключён (файл шрифта не загружается),
   из-за этого часть текстов показывалась Arial или шрифтом с засечками.
   Единый шрифт сайта — Montserrat.
   ============================================================ */
#allrecords .t-title,
#allrecords .t-heading,
#allrecords .t-name,
#allrecords .t-descr,
#allrecords .t-text,
#allrecords .t-uptitle,
#allrecords .t-menu__link-item,
#allrecords .t-input,
#allrecords .t-store,
#allrecords [field],
#allrecords [style*="FuturaPT"],
#allrecords [style*="Futura"] {
  font-family: 'Montserrat', Arial, sans-serif !important;
}

/* ============================================================
   ДИЗАЙН-СИСТЕМА: КНОПКИ (весь сайт)
   Основная (золотая)  — заявки, формы, всплывающие окна.
   Второстепенная (контур) — переходы на страницы, «Заказ звонка»
   в шапке, «Назад» в квизе.
   Золото #bba57d, наведение #a38d66, текст #1a1a1a.
   ============================================================ */

/* Основная — по умолчанию для всех кнопок */
#allrecords#allrecords .t-btnflex {
  background-color: #bba57d !important;
  color: #ffffff !important;
  border-style: solid !important;
  border-color: #bba57d !important;
  --border-width: 1px !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: 'Montserrat', Arial, sans-serif !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  height: auto !important;
  min-height: 52px !important;
  padding: 0 32px !important;
  transition: background-color .2s ease-in-out, color .2s ease-in-out, border-color .2s ease-in-out !important;
}
#allrecords#allrecords .t-btnflex .t-btnflex__text { color: inherit !important; }
#allrecords#allrecords .t-btnflex:hover,
#allrecords#allrecords .t-btnflex:focus-visible {
  background-color: #a38d66 !important;
  border-color: #a38d66 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Второстепенная — переходы на страницы и внешние ссылки */
#allrecords#allrecords a.t-btnflex[href^="/"],
#allrecords#allrecords a.t-btnflex[href^="http"],
#allrecords#allrecords .t-card__btn.t-btnflex,
#allrecords#allrecords .t-btnflex.t-btnflex_type_button2,
#allrecords#allrecords #rec1145766601 .t-btnflex,
#allrecords#allrecords #rec186410626 .t-btnflex,
#allrecords#allrecords #rec189092778 .t-btnflex {
  background-color: transparent !important;
  color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}
#allrecords#allrecords a.t-btnflex[href^="/"]:hover,
#allrecords#allrecords a.t-btnflex[href^="http"]:hover,
#allrecords#allrecords .t-card__btn.t-btnflex:hover,
#allrecords#allrecords .t-btnflex.t-btnflex_type_button2:hover,
#allrecords#allrecords #rec1145766601 .t-btnflex:hover,
#allrecords#allrecords #rec186410626 .t-btnflex:hover,
#allrecords#allrecords #rec189092778 .t-btnflex:hover {
  background-color: #bba57d !important;
  border-color: #bba57d !important;
  color: #ffffff !important;
}

/* Компактные кнопки: шапка, карточки, квиз */
#allrecords#allrecords .t-btnflex.t-btnflex_sm,
#allrecords#allrecords #rec1145766601 .t-btnflex,
#allrecords#allrecords #rec186410626 .t-btnflex,
#allrecords#allrecords #rec189092778 .t-btnflex {
  min-height: 44px !important;
  padding: 0 22px !important;
  font-size: 13px !important;
}

@media screen and (max-width: 640px) {
  #allrecords#allrecords .t-btnflex.t-btnflex {
    font-size: 13px !important;
    padding: 0 20px !important;
    min-height: 48px !important;
  }
}

/* ============================================================
   ПЛАВАЮЩАЯ КНОПКА «СОЗДАЙТЕ СВОЮ КУХНЮ» (открывает квиз)
   Компьютер — блок #rec186840053 (T393), телефон — #rec1146930896 (T943).
   Стиль нового дизайна: тёмно-зелёная, шрифт Onest, обычный регистр;
   на компьютере — в правом нижнем углу, а не под шапкой.
   ============================================================ */
#allrecords #rec186840053 .t393.t393__positionfixed {
  top: auto !important;
  bottom: 24px !important;
  right: 24px !important;
  left: auto !important;
  padding: 0 !important;
  width: auto !important;
}
#allrecords#allrecords #rec186840053 .t-btnflex.t-btnflex,
#allrecords#allrecords #rec1146930896 .t-btnflex.t-btnflex {
  background-color: #0f4a40 !important;
  border-color: #0f4a40 !important;
  color: #ffffff !important;
  font-family: 'Onest', system-ui, sans-serif !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  min-height: 52px !important;
  padding: 0 26px !important;
  box-shadow: 0 10px 30px rgba(17, 21, 19, .22) !important;
}
#allrecords#allrecords #rec186840053 .t-btnflex.t-btnflex:hover,
#allrecords#allrecords #rec1146930896 .t-btnflex.t-btnflex:hover {
  background-color: #bba57d !important;
  border-color: #bba57d !important;
  color: #111513 !important;
}
#allrecords #rec1146930896 .t-btn_wrap-effects { display: none !important; }
#allrecords #rec186840053 .t-btnflex__text::after,
#allrecords #rec1146930896 .t-btnflex__text::after {
  content: "\2192";
  margin-left: 10px;
}
/* на новой главной снизу уже есть своя панель с кнопками */
body:has(#mbar) #rec1146930896 { display: none !important; }

/* ============================================================
   КАТАЛОГ КУХОНЬ (магазин, блок ST340C / t1291)
   ============================================================ */
/* «от» перед ценой: в карточке и во всплывающем окне */
.t-catalog__card__price:not(.t-catalog__card__price_old) .t-catalog__card__price-value::before,
.t-catalog__prod-popup__price:not(.t-catalog__prod-popup__price_old) .t-catalog__prod-popup__price-value::before {
  content: "от\00a0";
  font-weight: 400;
}
/* Валюта: ₽ вместо «р.» */
.t-catalog__card__price-currency,
.t-catalog__prod-popup__price-currency {
  font-size: 0 !important;
}
.t-catalog__card__price-currency::after,
.t-catalog__prod-popup__price-currency::after {
  content: "₽";
  font-size: 18px;
  margin-left: 5px;
}
/* Название модели */
#allrecords .t-catalog__card__title {
  font-weight: 600 !important;
  font-size: 20px !important;
}
/* Кнопка «Подробнее» в карточке — второстепенная (контур) */
#allrecords#allrecords .t-catalog__card__btn.t-btnflex {
  background-color: transparent !important;
  color: #1a1a1a !important;
  border-color: #1a1a1a !important;
}
#allrecords#allrecords .t-catalog__card__btn.t-btnflex:hover {
  background-color: #bba57d !important;
  border-color: #bba57d !important;
  color: #ffffff !important;
}

/* ============================================================
   ФОРМЫ С ОДНИМ ПОЛЕМ (заказ звонка, шкаф, столешница, блог):
   телефон с кодом страны на всю ширину, кнопка под ним
   ============================================================ */
#allrecords .t281__blockinput,
#allrecords .t281__blockbutton {
  display: block !important;
  width: 100% !important;
}
#allrecords .t281__blockbutton {
  padding-left: 0 !important;
  margin-top: 12px !important;
}
#allrecords .t281__blockbutton .t-submit {
  width: 100% !important;
}

/* ============================================================
   СТАТЬИ БЛОГА (/blog/...) — новый дизайн.
   Включается классом .as-art, который ставит скрипт в общем коде .
   ============================================================ */
.as-art{--ink:#111513;--mute:#66706c;--pale:#dde2e0;--tile:#eef1f0;--green:#0f4a40;--gold:#bba57d;--m:max(16px,calc((100vw - 1200px)/2));--head:"Prata",Georgia,serif;--sans:"Onest",system-ui,sans-serif}
.as-art .t-rec:has(.t891),.as-art .t-rec:has(.t758),.as-art .t-rec:has(.t396){display:none!important}
.as-art #allrecords .t-rec:has(.t004),.as-art #allrecords .t-rec:has(.t120){padding-top:0!important;padding-bottom:0!important}
.as-art #allrecords .t004 .t-container,.as-art #allrecords .t120 .t-container{max-width:none;width:auto!important;box-sizing:border-box;padding:0 var(--m)}
.as-art #allrecords .t004 .t-col,.as-art #allrecords .t120 .t-col{width:auto!important;max-width:760px;margin:0 auto!important;padding:0!important;float:none!important;display:block}
.as-art #allrecords .t004 .t-text,.as-art #allrecords .t004 .t-text *{font-family:var(--sans)!important;color:var(--ink)}
.as-art #allrecords .t004 .t-text [data-customstyle],.as-art #allrecords .t004 .t-text{font-size:18px!important;line-height:1.7!important;text-align:left!important}
.as-art #allrecords .t004 .t-text p{text-align:left!important;margin:0 0 1em}
.as-art #allrecords .t004 .t-text ul,.as-art #allrecords .t004 .t-text ol{margin:0 0 1em;padding-left:1.3em}
.as-art #allrecords .t004 .t-text li{margin:.35em 0}
.as-art #allrecords .t004 .t-text a{color:var(--green)!important;text-decoration:underline;text-underline-offset:3px}
.as-art #allrecords .t004 .t-text strong,.as-art #allrecords .t004 .t-text b{font-weight:600}
.as-art #allrecords .t004 img{max-width:100%;height:auto;margin:1.2em 0}
.as-art #allrecords .t120__title,.as-art #allrecords .t120__title *{font-family:var(--head)!important;font-weight:400!important;color:var(--ink);text-align:left!important}
.as-art #allrecords .t120__title [data-customstyle],.as-art #allrecords .t120__title{font-size:32px!important;line-height:1.15!important}
.as-art #allrecords .t120__title{padding:28px 0 14px!important;margin:0}
.as-art .as-ah,.as-art .as-ah *,.as-art .as-ae,.as-art .as-ae *{box-sizing:border-box}
.as-art .as-ah{padding:40px var(--m) 8px;font-family:var(--sans);color:var(--ink)}
.as-art .as-ah__in{max-width:760px;margin:0 auto}
.as-art .as-ah__cr{display:flex;flex-wrap:wrap;gap:8px;font-size:13px;color:var(--mute)}
.as-art .as-ah__cr a{color:inherit!important;text-decoration:none}
.as-art .as-ah__cr a:hover{color:var(--ink)!important;text-decoration:underline}
html.as-art #allrecords .as-ah h1.t-title{margin:18px 0 0!important;padding:0!important;font-family:var(--head)!important;font-weight:400!important;font-size:clamp(34px,4vw,52px)!important;line-height:1.08!important;color:var(--ink)!important;text-align:left!important;opacity:1!important;transform:none!important}
.as-art .as-ah__meta{margin-top:16px;display:flex;gap:18px;font-size:14px;color:var(--mute)}
.as-art .as-ah__ph{max-width:1040px;margin:28px auto 36px;aspect-ratio:16/8;overflow:hidden;background:var(--tile)}
.as-art .as-ah__ph img{display:block;width:100%;height:100%;object-fit:cover}
.as-art .as-ae{padding:24px var(--m) 72px;font-family:var(--sans);color:var(--ink)}
.as-art .as-ae__cta{max-width:1040px;margin:24px auto 0;padding:36px 40px;background:var(--green);color:#fff;display:flex;justify-content:space-between;align-items:center;gap:32px}
.as-art .as-ae__cta h2{margin:0;font-family:var(--head);font-weight:400;font-size:clamp(26px,2.6vw,36px);line-height:1.1;color:#fff}
.as-art .as-ae__cta p{margin:10px 0 0;max-width:520px;color:#c9d8d4;font-size:16px;line-height:1.45}
.as-art .as-ae__btn{display:inline-flex;align-items:center;justify-content:center;height:54px;padding:0 26px;background:#fff;color:var(--ink)!important;font-weight:500;font-size:16px;text-decoration:none;white-space:nowrap;flex:none;transition:background .25s}
.as-art .as-ae__btn:hover{background:var(--gold)}
.as-art .as-ae__rel{max-width:1040px;margin:56px auto 0}
.as-art .as-ae__rel h2{margin:0;font-family:var(--head);font-weight:400;font-size:30px;color:var(--ink)}
.as-art .as-ae__grid{margin-top:20px;display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.as-art .as-ae__card{display:flex;flex-direction:column;background:var(--tile);color:var(--ink)!important;text-decoration:none}
.as-art .as-ae__card span:first-child{aspect-ratio:4/3;overflow:hidden;background:#dfe4e2}
.as-art .as-ae__card img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .6s}
.as-art .as-ae__card:hover img{transform:scale(1.04)}
.as-art .as-ae__card b{padding:16px 18px 20px;font-family:var(--head);font-weight:400;font-size:19px;line-height:1.2}
.as-art .as-ae__all{display:inline-block;margin-top:20px;font-size:15px;color:var(--ink)!important;text-decoration:underline!important;text-underline-offset:5px}
@media (max-width:900px){.as-art .as-ae__cta{flex-direction:column;align-items:flex-start}.as-art .as-ae__grid{grid-template-columns:1fr 1fr}}
@media (max-width:640px){
.as-art .as-ah{padding:24px 16px 4px}.as-art .as-ah__ph{margin:20px -16px 24px;aspect-ratio:4/3}
.as-art #allrecords .t004 .t-text [data-customstyle],.as-art #allrecords .t004 .t-text{font-size:17px!important}
.as-art #allrecords .t120__title [data-customstyle],.as-art #allrecords .t120__title{font-size:25px!important}
.as-art .as-ae{padding:16px 16px 48px}.as-art .as-ae__cta{margin:16px -16px 0;padding:32px 16px}.as-art .as-ae__btn{width:100%}
.as-art .as-ae__grid{grid-template-columns:1fr}
}

/* ============================================================
   ШАПКА: МОБИЛЬНОЕ МЕНЮ (все страницы)
   Меню — фиксированная панель внутри шапки. Когда шапка сдвинута
   при прокрутке (transform), панель «прилипала» к самой шапке
   и показывалась узкой полоской. Пока меню открыто, шапку не двигаем.
   ============================================================ */
#as-hdr.menu-open .hdr{transform:none!important;transition:none!important}
@media (max-width:1180px){
  #as-hdr.menu-open .hdr.is-up .mm{top:calc(var(--top, 36px) + var(--bar, 76px))}
}
@media (max-width:767px){
  #as-hdr .hdr.is-up{transform:none}
  #as-hdr.menu-open .hdr .mm{top:60px!important}
}
/* плавающая кнопка «Создайте свою кухню» не перекрывает открытое меню */
html:has(#as-hdr.menu-open) .t943__buttonwrapper,
html:has(#as-hdr.menu-open) .t393{visibility:hidden!important}