/* DoorHan mini-catalog v1.6 */
.catalog-top{border-bottom:0}
.catalog-top h1 a{color:inherit;text-decoration:none}
.catalog-top h1 a:hover{color:inherit}
.catalog-stage{padding-top:10px}

/* Хлебные крошки: без кнопки назад, счётчика и любых линий */
.catalog-toolbar{
  display:block;
  min-height:0;
  margin:0 0 20px;
  padding:0;
  border:0;
}
.breadcrumbs a{color:inherit;text-decoration:none}
.breadcrumbs a:hover{color:var(--blue)}
.back-button,.view-count{display:none!important}

/* Заголовок: без номера над ним, справа всегда общее число продуктов */
.view-header{align-items:end}
.view-header__number{display:none!important}
.view-header__counter{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-end;border-left:1px solid var(--line)}
.view-header__mark{height:auto;min-height:54px;border:0;padding:0 0 3px;text-align:center}
.view-header__counter>span{padding:0 10px 4px;color:#7a858f;font-size:12px;line-height:1.25;text-align:center}

/* Все временные изображения — одинаковые светло-серые плейсхолдеры */
.section-carousel,.section-slide,.catalog-card__visual,
.market-gallery__thumb,.market-gallery__thumb img,.market-gallery__main,.market-gallery__main>img,
.design-option__visual,.design-option__visual img,.benefit-showcase__card,.benefit-showcase__image{
  background:#eef2f5!important;
  background-image:none!important;
}
.section-slide::before,.section-slide::after,.section-slide__grid,.section-slide__content,
.catalog-card__visual::before,.catalog-card__visual::after,.catalog-card__type,.catalog-card__icon{display:none!important}

/* Имиджевый слайдер выше, без текста */
.section-carousel .carousel-inner,.section-carousel .carousel-item{height:clamp(350px,32vw,540px)}
.section-slide{padding:0}

/* Карточки разделов и продуктов: без иконок и служебных подписей */
.catalog-card__visual,.catalog-card--product .catalog-card__visual{min-height:245px}
.catalog-card__index{position:absolute;left:22px;bottom:22px;color:#687783}
.catalog-card__arrow{background:rgba(255,255,255,.88)}

/* Простые текстовые заглушки вместо пустых серых блоков */
.page-placeholder{max-width:760px;margin-top:20px;padding:0}
.page-placeholder h2{margin:0;font-size:clamp(24px,1.8vw,34px);font-weight:650;line-height:1.12;letter-spacing:-.025em}
.page-placeholder p{margin:10px 0 0;color:var(--muted);font-size:16px;line-height:1.5}
.empty-product-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin:0}
.empty-product-header h2{max-width:1100px;margin:0;font-size:clamp(34px,3.1vw,58px);font-weight:690;line-height:1.03;letter-spacing:-.04em}
.empty-product-header>span{flex:0 0 auto;margin-top:8px;color:var(--blue);font-size:16px;font-weight:800}
.empty-product-placeholder{display:none!important}

/* Древовидная карта каталога */
.catalog-tree-header{margin-bottom:24px}
.catalog-tree-tools{display:grid;grid-template-columns:minmax(320px,720px) minmax(180px,1fr);gap:20px;align-items:center;margin:0 0 26px}
.catalog-tree-search{position:relative}
.catalog-tree-search svg{position:absolute;left:18px;top:50%;width:21px;height:21px;transform:translateY(-50%);fill:none;stroke:var(--blue-dark);stroke-width:1.8;stroke-linecap:round}
.catalog-tree-search input{width:100%;height:56px;padding:0 56px 0 53px;border:1px solid transparent;border-radius:var(--radius);background:#f3f5f6;color:var(--ink);font-size:16px;outline:0}
.catalog-tree-search input:focus{border-color:rgba(0,87,184,.5);background:#fff;box-shadow:0 0 0 3px rgba(0,87,184,.08)}
.catalog-tree-search input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;display:none}
.catalog-tree-search input::-ms-clear,.catalog-tree-search input::-ms-reveal{display:none;width:0;height:0}
.catalog-tree-search button{position:absolute;right:10px;top:50%;width:36px;height:36px;padding:0 0 2px;border:0;border-radius:var(--radius);background:#e5e9ec;color:#66727c;font-size:24px;line-height:1;transform:translateY(-50%);cursor:pointer}
.catalog-tree-tools__status{margin:0;color:#818b94;font-size:13px;line-height:1.4;text-align:right}
.catalog-tree{max-width:1320px;padding:0 0 35px}
.catalog-tree__branch{position:relative;margin:0}
.catalog-tree__branch[hidden],.catalog-tree__product[hidden]{display:none!important}
.catalog-tree__branch--level-0{margin-bottom:8px}
.catalog-tree__summary{position:relative;display:flex;align-items:center;gap:8px;min-height:42px;padding:6px 0;list-style:none;cursor:pointer}
.catalog-tree__summary::-webkit-details-marker{display:none}
.catalog-tree__summary::marker{display:none;content:""}
.catalog-tree__chevron{display:grid;place-items:center;flex:0 0 16px;width:16px;height:16px}
.catalog-tree__chevron::before{content:"";display:block;width:8px;height:8px;border-right:2px solid #77818a;border-bottom:2px solid #77818a;transform:rotate(-45deg);transition:transform .15s ease}
.catalog-tree__branch[open]>.catalog-tree__summary .catalog-tree__chevron::before{transform:rotate(45deg) translate(-1px,-1px)}
.catalog-tree__branch.is-empty>.catalog-tree__summary{cursor:default}
.catalog-tree__branch.is-empty>.catalog-tree__summary .catalog-tree__chevron{visibility:hidden}
.catalog-tree__node-link{min-width:0;color:var(--ink);font-size:16px;font-weight:680;line-height:1.3;text-decoration:none}
.catalog-tree__node-link:hover{color:var(--blue)}
.catalog-tree__count{flex:0 0 auto;color:#8a949d;font-size:14px;font-weight:400}
.catalog-tree__branch--level-0>.catalog-tree__summary .catalog-tree__node-link{font-size:18px;font-weight:760}
.catalog-tree__branch--level-0>.catalog-tree__summary .catalog-tree__count{font-size:15px}
.catalog-tree__children{position:relative;margin-left:7px;padding-left:30px;border-left:1px solid #d2d8dd}
.catalog-tree__children>.catalog-tree__branch>.catalog-tree__summary::before,
.catalog-tree__children>.catalog-tree__product::before{content:"";position:absolute;left:-29px;top:21px;width:17px;border-top:1px solid #d2d8dd}
.catalog-tree__product{position:relative;min-height:38px;padding:7px 0}
.catalog-tree__product a{display:flex;align-items:baseline;gap:7px;width:fit-content;max-width:100%;font-size:14px;line-height:1.45;text-decoration:none}
.catalog-tree__product-code{flex:0 0 auto;color:var(--blue);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.catalog-tree__product-title{min-width:0;color:#2f3942}
.catalog-tree__product a:hover .catalog-tree__product-code,
.catalog-tree__product a:hover .catalog-tree__product-title{color:var(--blue)}
.catalog-tree__branch.is-search-match>.catalog-tree__summary{margin-left:-7px;padding-left:7px;padding-right:8px;border-radius:var(--radius);background:#edf5fd}
.catalog-tree__product.is-search-match{margin-left:-7px;padding-left:7px;padding-right:8px;border-radius:var(--radius);background:#edf5fd}
.catalog-tree__branch.is-search-context>.catalog-tree__summary .catalog-tree__node-link{color:#505c66}
.catalog-tree-empty{max-width:720px;padding:28px 0;color:var(--muted)}
.catalog-tree-empty strong{display:block;color:var(--ink);font-size:22px}
.catalog-tree-empty span{display:block;margin-top:7px;font-size:15px}

/* Карточка RSD01 должна занимать всю доступную ширину сцены */
.market-product-card{margin-top:0}
.icon-sprite{position:absolute;width:0;height:0;overflow:hidden}
.market-gallery__thumb img,.market-gallery__main>img,.benefit-showcase__image{object-fit:cover}
.benefit-showcase__shade{
  display:block!important;
  background:linear-gradient(
    180deg,
    rgba(255,255,255,.48) 0%,
    rgba(255,255,255,.20) 18%,
    rgba(255,255,255,.03) 40%,
    rgba(255,255,255,.03) 60%,
    rgba(255,255,255,.30) 82%,
    rgba(255,255,255,.72) 100%
  )!important;
  pointer-events:none;
}

@media(max-width:1100px){
  .catalog-tree-tools{grid-template-columns:minmax(280px,620px) 1fr}
  .view-header{grid-template-columns:minmax(0,1fr) 105px}
  .section-carousel .carousel-inner,.section-carousel .carousel-item{height:390px}
}
@media(max-width:700px){
  .catalog-tree-tools{grid-template-columns:1fr;gap:10px}
  .catalog-tree-tools__status{text-align:left}
  .catalog-tree-search input{height:52px;font-size:15px}
  .catalog-tree__children{padding-left:23px}
  .catalog-tree__children>.catalog-tree__branch>.catalog-tree__summary::before,.catalog-tree__children>.catalog-tree__product::before{left:-22px;width:13px}
  .catalog-tree__branch--level-0>.catalog-tree__summary .catalog-tree__node-link{font-size:17px}
  .catalog-tree__node-link{font-size:15px}
  .catalog-tree__product a{display:block}
  .catalog-tree__product-code{display:inline-block;margin-right:4px}
  .catalog-stage{padding-top:12px}
  .view-header{grid-template-columns:1fr}
  .view-header__counter{width:110px;border-left:0;border-top:1px solid var(--line);padding-top:12px;align-items:flex-start}
  .view-header__mark,.view-header__counter>span{text-align:left;padding-left:0}
  .section-carousel .carousel-inner,.section-carousel .carousel-item{height:310px}
  .catalog-card__visual,.catalog-card--product .catalog-card__visual{min-height:195px}
  .empty-product-header{display:block}
  .empty-product-header>span{display:block;margin-top:10px}
}

/* v1.7: сквозная шапка и новый информационный блок */
.catalog-hero{
  padding:36px 32px 38px;
  background:#fff;
}
.catalog-hero h1{
  max-width:1540px;
  margin:0;
  color:var(--blue-dark);
  font-size:clamp(31px,3vw,55px);
  font-weight:760;
  line-height:1.02;
  letter-spacing:-.045em;
  text-transform:uppercase;
}
.catalog-hero__line{display:block}
.catalog-hero h1 strong{
  color:#f28c00;
  font:inherit;
}
.catalog-hero p{
  max-width:1040px;
  margin:20px 0 0;
  color:var(--muted);
  font-size:17px;
  line-height:1.55;
}
.site-header .search-panel input::-webkit-search-cancel-button{
  -webkit-appearance:none;
  appearance:none;
  display:none;
}
.site-header .search-panel input::-ms-clear,
.site-header .search-panel input::-ms-reveal{
  display:none;
  width:0;
  height:0;
}

@media(max-width:930px){
  .catalog-hero{padding:30px 22px 32px}
  .catalog-hero h1{font-size:clamp(28px,5.4vw,42px);line-height:1.05}
  .catalog-hero p{margin-top:16px;font-size:16px}
}
@media(max-width:620px){
  .catalog-hero{padding:26px 16px 28px}
  .catalog-hero h1{font-size:clamp(25px,7.5vw,34px);letter-spacing:-.035em}
  .catalog-hero__line{display:inline}
  .catalog-hero__line::after{content:" ";}
  .catalog-hero p{font-size:15px;line-height:1.5}
}

/* v1.8: более компактный сквозной заголовок без дублирования логотипа */
.catalog-hero{
  padding:30px 32px 34px;
}
.catalog-hero h1{
  max-width:1280px;
  font-size:clamp(29px,2.25vw,44px);
  font-weight:760;
  line-height:1.06;
  letter-spacing:-.036em;
}
.catalog-hero__line{
  display:block;
}
.catalog-hero__line--lead{
  margin-bottom:2px;
}
.catalog-hero__prefix{
  margin-right:.18em;
  color:var(--blue-dark);
}
.catalog-hero p{
  max-width:1000px;
  margin-top:17px;
  font-size:16px;
  line-height:1.5;
}
@media(max-width:930px){
  .catalog-hero{padding:27px 22px 29px}
  .catalog-hero h1{font-size:clamp(26px,4.6vw,36px);line-height:1.07}
  .catalog-hero p{margin-top:14px;font-size:15.5px}
}
@media(max-width:620px){
  .catalog-hero{padding:23px 16px 25px}
  .catalog-hero h1{font-size:clamp(23px,6.6vw,30px);line-height:1.08;letter-spacing:-.03em}
  .catalog-hero__line{display:block}
  .catalog-hero__line::after{content:none}
  .catalog-hero p{font-size:14.5px;line-height:1.48}
}

/* v1.9: компактный двухстрочный сквозной заголовок */
.catalog-hero{
  padding:25px 32px 28px;
  overflow:hidden;
}
.catalog-hero h1{
  max-width:none;
  font-size:clamp(24px,1.75vw,34px);
  font-weight:760;
  line-height:1.08;
  letter-spacing:-.028em;
}
.catalog-hero__line--lead{
  margin-bottom:3px;
}
.catalog-hero__line--details{
  white-space:nowrap;
}
.catalog-hero p{
  max-width:none;
  margin-top:14px;
  font-size:16px;
  line-height:1.45;
  white-space:nowrap;
}
@media(max-width:1250px){
  .catalog-hero h1{font-size:clamp(24px,2.35vw,30px)}
  .catalog-hero__line--details{white-space:normal}
  .catalog-hero p{white-space:normal}
}
@media(max-width:930px){
  .catalog-hero{padding:23px 22px 25px}
  .catalog-hero h1{font-size:clamp(24px,4vw,30px);line-height:1.09}
  .catalog-hero p{margin-top:13px;font-size:15px}
}
@media(max-width:620px){
  .catalog-hero{padding:21px 16px 23px}
  .catalog-hero h1{font-size:clamp(22px,6vw,28px);line-height:1.1;letter-spacing:-.024em}
  .catalog-hero p{font-size:14.5px;line-height:1.46}
}

/* v1.10: однострочный компактный слоган и заголовок бокового меню без счетчика */
.catalog-hero{
  padding:22px 32px 24px;
}
.catalog-hero h1{
  max-width:none;
  margin:0;
  font-size:clamp(15px,1.16vw,22px);
  font-weight:760;
  line-height:1.2;
  letter-spacing:-.012em;
  white-space:nowrap;
}
.catalog-hero__prefix,
.catalog-hero__highlight,
.catalog-hero__details{
  display:inline;
}
.catalog-hero__prefix,
.catalog-hero__highlight{
  margin-right:.22em;
}
.catalog-hero p{
  max-width:none;
  margin-top:10px;
  font-size:15px;
  line-height:1.45;
  white-space:nowrap;
}
.catalog-menu__caption{
  justify-content:flex-start;
}
@media(max-width:930px){
  .catalog-hero{padding:22px 22px 24px}
  .catalog-hero h1{
    font-size:clamp(20px,3.3vw,26px);
    line-height:1.12;
    letter-spacing:-.02em;
    white-space:normal;
  }
  .catalog-hero p{
    margin-top:12px;
    font-size:15px;
    white-space:normal;
  }
}
@media(max-width:620px){
  .catalog-hero{padding:20px 16px 22px}
  .catalog-hero h1{
    font-size:clamp(20px,5.6vw,25px);
    line-height:1.13;
  }
  .catalog-hero p{
    font-size:14.5px;
    line-height:1.46;
  }
}


/* v1.29: преимущества — мягкое осветление и glass-кнопки */
.benefit-showcase__image{
  filter:brightness(1.06) saturate(.96);
}
.benefit-showcase__option{
  border-color:rgba(7,49,93,.16)!important;
  background:rgba(255,255,255,.84)!important;
  color:var(--blue-dark)!important;
  -webkit-backdrop-filter:blur(7px);
  backdrop-filter:blur(7px);
  box-shadow:0 1px 4px rgba(7,49,93,.04);
}
.benefit-showcase__option:hover{
  border-color:rgba(0,87,184,.28)!important;
  background:rgba(255,255,255,.94)!important;
}
.benefit-showcase__option.is-active{
  border-color:var(--blue)!important;
  background:rgba(255,255,255,.96)!important;
  color:var(--blue-dark)!important;
}
@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .benefit-showcase__option{background:rgba(255,255,255,.94)!important;}
}

/* v1.30: преимущества — не осветляем и не выбеливаем фотографию */
.benefit-showcase__shade{
  background:transparent!important;
}
.benefit-showcase__image{
  filter:none!important;
}
.benefit-showcase__content h3,
.benefit-showcase__description{
  text-shadow:0 1px 2px rgba(255,255,255,.72);
}

/* v1.34: отдельный анонс продукта для карточек списка */
.catalog-card__visual--announcement{
  background:#eef2f5!important;
}
.catalog-card__announcement-image{
  position:absolute;
  inset:0;
  z-index:0;
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
}
.catalog-card__visual--announcement .catalog-card__index,
.catalog-card__visual--announcement .catalog-card__arrow{
  z-index:2;
}
.catalog-card__visual--announcement .catalog-card__index{
  padding:3px 6px;
  background:rgba(255,255,255,.82);
}

