/* ===========================================================
   Шатры — блоки поверх каркаса лендингов мебели.
   Общий каркас — base.css и blocks.css. Мобильные правила —
   только в @media в конце файла.
   =========================================================== */

/* ─────────────── 01 · ХИРО С КАЛЬКУЛЯТОРОМ ─────────────── */
.sht-hero__grid{
  position:relative;display:grid;grid-template-columns:minmax(0,1fr) 400px;
  gap:56px;align-items:center;padding:64px 0 72px;
}
.sht-hero__grid .sht-hero__inner{padding:0;max-width:680px}

.sht-qc{
  background:rgba(58,54,52,.55);color:#fff;
  -webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);
  border:1px solid rgba(255,255,255,.14);
  border-radius:var(--sht-radius-lg);padding:22px 22px 20px;
}
.sht-qc__t{
  font-family:var(--sht-font-head);font-size:20px;line-height:28px;
  font-weight:var(--sht-fw-medium);letter-spacing:-.01em;
}
.sht-qc__sub{font-size:13px;line-height:18px;color:rgba(255,255,255,.6);margin-top:2px}
.sht-qc__row{margin-top:14px}
.sht-qc__label{display:block;font-size:13px;line-height:18px;font-weight:var(--sht-fw-medium);color:rgba(255,255,255,.6);margin-bottom:8px}
.sht-qc .sht-chips{gap:6px}
.sht-root .sht-qc .sht-chip{
  height:36px;padding:0 13px;font-size:14px;
  background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.24);color:#fff;
}
.sht-root .sht-qc .sht-chip:hover{border-color:#fff}
.sht-root .sht-qc .sht-chip.sht-on{background:#fff;border-color:#fff;color:var(--sht-ink)}
.sht-root .sht-qc .sht-chip--input{width:70px;padding:0 8px}
.sht-root .sht-qc .sht-chip--input::placeholder{color:rgba(255,255,255,.45)}

.sht-qc__out{
  margin-top:16px;padding:14px 16px;border-radius:var(--sht-radius-md);
  background:rgba(255,255,255,.08);
}
.sht-qc__list li{
  display:flex;justify-content:space-between;gap:12px;
  font-size:13px;line-height:18px;padding:3px 0;
}
.sht-qc__list li span:last-child{white-space:nowrap;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.6)}
.sht-qc__total{
  display:flex;align-items:baseline;justify-content:space-between;gap:8px;
  margin-top:10px;padding-top:10px;border-top:1px solid rgba(255,255,255,.14);
}
.sht-qc__sum{
  font-family:var(--sht-font-head);font-size:28px;line-height:34px;
  font-weight:var(--sht-fw-medium);font-variant-numeric:tabular-nums;white-space:nowrap;
}
.sht-qc__per{font-size:12px;line-height:16px;color:rgba(255,255,255,.6);text-align:right}
.sht-qc__acts{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.sht-qc__phone{font-size:14px;line-height:20px;text-align:center;color:rgba(255,255,255,.6)}
.sht-root .sht-qc__phone a{color:#fff;font-weight:var(--sht-fw-medium)}
.sht-qc__note{margin-top:10px;font-size:11px;line-height:15px;color:rgba(255,255,255,.45)}

/* кадр в плитке формата сдвинут вниз: сюжет у этих снимков в нижней половине */
.sht-root .sht-live__item--low img{object-position:50% 85%}
.sht-root .sht-live__item--bottom img{object-position:50% 100%}

/* телефон прямо в карточке калькулятора: без него кнопка уводила к форме внизу страницы */
.sht-qc__acts .sht-field__control{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.2)}
.sht-qc__acts .sht-field__control::placeholder{color:rgba(255,255,255,.45)}
.sht-qc__acts .sht-field__control:focus{background:rgba(255,255,255,.12);border-color:var(--sht-accent)}
.sht-qc__acts .sht-form__err{color:#FF9B84;text-align:center}
.sht-qc__done{
  display:flex;gap:var(--sht-space-3);align-items:flex-start;margin-top:14px;padding:14px 16px;
  border-radius:var(--sht-radius-md);background:rgba(22,163,74,.16);border:1px solid rgba(22,163,74,.5);
  font-size:14px;line-height:20px;color:rgba(255,255,255,.8);
}
.sht-qc__done b{display:block;font-size:16px;line-height:24px;color:#fff;font-weight:var(--sht-fw-medium);margin-bottom:2px}

/* подзаголовок на тёмной секции: базовый серый на чернилах не читается */
.sht-section--dark .sht-intro{color:rgba(255,255,255,.6)}

/* ─────────────── 02 · КАТЕГОРИИ С ФОТО ─────────────── */
.sht-cats{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}
.sht-root .sht-cats__item{
  display:flex;flex-direction:column;border-radius:var(--sht-radius-md);overflow:hidden;
  background:#E6E6E6;color:var(--sht-ink);
  transition:transform var(--sht-transition);
}
.sht-root .sht-cats__item img{
  width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
}
.sht-cats__name{
  padding:2px 12px 12px;
  font-size:15px;line-height:20px;font-weight:var(--sht-fw-medium);
}
.sht-cats__name small{display:block;font-size:12px;line-height:16px;font-weight:400;color:var(--sht-text-secondary)}
/* только там, где есть мышь: на телефоне тап оставлял карточку приподнятой,
   а лента с overflow-x срезала её верх */
@media (hover:hover){
  .sht-root .sht-cats__item:hover{color:var(--sht-accent-hover);transform:translateY(-6px)}
}
.sht-cats__all{margin-top:16px}

/* ─────────────── 03 · ХИТЫ ПРОКАТА ─────────────── */
.sht-hits{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--sht-grid-gap)}
.sht-root .sht-hits .sht-tile__img{aspect-ratio:1/1;object-fit:cover;padding:0;margin:12px 12px 0;width:calc(100% - 24px);border-radius:16px}

/* ─────────────── 04 · СКЛАД И МОНТАЖ, ВИДЕО ─────────────── */
.sht-vid{display:grid;grid-template-columns:1fr 1fr;gap:var(--sht-grid-gap)}
.sht-vid__item{margin:0;border-radius:var(--sht-radius-lg);overflow:hidden;background:var(--sht-surface-card);border:var(--sht-border)}
.sht-root .sht-vid__item video{width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;background:var(--sht-ink)}
.sht-vid__item figcaption{padding:16px 20px 20px}
.sht-vid__item figcaption b{
  display:block;font-family:var(--sht-font-head);font-size:18px;line-height:26px;
  font-weight:var(--sht-fw-medium);color:var(--sht-ink);margin-bottom:6px;
}
.sht-vid__item figcaption span{font-size:14px;line-height:21px;color:var(--sht-text-secondary)}

/* .sht-tocalc в blocks.css стоит ниже --left и перебивал его центровкой */
.sht-root .sht-tocalc--left{justify-content:flex-start}

/* одно видео слева, текст справа */
.sht-vid--one{grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:var(--sht-space-10);align-items:center}
.sht-vid--one .sht-intro{max-width:none}
.sht-qc .sht-check input{accent-color:#fff;width:16px;height:16px}

/* ─────────────── ТЕКСТ О ПРОКАТЕ ─────────────── */
.sht-seo{columns:2;column-gap:48px}
.sht-seo p{font-size:15px;line-height:24px;color:var(--sht-text);break-inside:avoid}
.sht-seo p + p{margin-top:12px}
.sht-seo h3{
  font-family:var(--sht-font-head);font-size:18px;line-height:26px;font-weight:var(--sht-fw-medium);
  margin:0 0 8px;break-after:avoid;
}
.sht-seo p + h3{margin-top:20px}

/* ─────────────── ТЕКСТИЛЬ ─────────────── */
.sht-cloth{display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sht-grid-gap)}
.sht-root .sht-cloth__item{
  display:flex;flex-direction:column;border:var(--sht-border);border-radius:var(--sht-radius-lg);
  overflow:hidden;background:var(--sht-surface-card);color:var(--sht-ink);
  transition:transform var(--sht-transition);
}
.sht-root .sht-cloth__item img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.sht-cloth__body{padding:16px 18px 18px;display:flex;flex-direction:column;gap:6px;flex:1}
.sht-cloth__name{font-family:var(--sht-font-head);font-size:17px;line-height:24px;font-weight:var(--sht-fw-medium)}
.sht-cloth__text{font-size:14px;line-height:20px;color:var(--sht-text-secondary)}
.sht-cloth__price{margin-top:auto;padding-top:6px;font-size:15px;line-height:22px;font-weight:var(--sht-fw-semibold);color:var(--sht-accent-hover)}
.sht-cloth__price small{font-weight:400;color:var(--sht-text-muted);font-size:13px}
.sht-cloth__name small{display:block;font-family:var(--sht-font);font-size:13px;line-height:18px;font-weight:400;color:var(--sht-text-muted)}
.sht-menu__list{margin:6px 0 0;padding:0;list-style:none;font-size:14px;line-height:20px}
.sht-menu__list li{position:relative;padding:3px 0 3px 16px}
.sht-menu__list li::before{content:"";position:absolute;left:2px;top:11px;width:6px;height:6px;border-radius:50%;background:var(--sht-accent)}
.sht-cloth__body .sht-btn{margin-top:12px;align-self:flex-start}
.sht-kits__prices{display:flex;flex-direction:column;gap:2px;margin-top:auto;padding-top:10px;font-size:14px;line-height:20px;color:var(--sht-text-secondary)}
.sht-kits__prices b{font-size:16px;font-weight:var(--sht-fw-semibold);color:var(--sht-accent-hover)}
.sht-cloth__lead{margin-top:6px;font-size:13px;line-height:18px;font-weight:var(--sht-fw-medium);color:var(--sht-text-secondary)}
.sht-cloth__price b{font-size:24px;line-height:28px}
.sht-qc__list small,.sht-qc__sum small{font-size:12px;font-weight:400;opacity:.7}
.sht-root .sht-faq__a a{text-decoration:underline;text-underline-offset:2px}
@media (hover:hover){
  .sht-root .sht-cloth__item:hover{transform:translateY(-6px)}
}

/* ─────────────── СЕРВИРОВКА ─────────────── */
.sht-serve{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.25fr);gap:var(--sht-space-10);align-items:center}
.sht-serve__shots{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.sht-root .sht-serve__shots img{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:var(--sht-radius-md);cursor:zoom-in}
.sht-serve__text .sht-intro{max-width:none}
.sht-serve__text .sht-list{margin-top:20px}
.sht-serve__price{margin-top:20px;font-size:15px;line-height:23px;color:var(--sht-text-secondary)}
.sht-serve__price b{font-size:20px;color:var(--sht-accent-hover);font-weight:var(--sht-fw-semibold)}
.sht-serve__tags{margin-top:16px}
.sht-root .sht-serve__tags a{height:36px;padding:0 14px;font-size:14px}

/* ─────────────── БРЕНДИРОВАНИЕ ─────────────── */
.sht-brand{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--sht-space-10);align-items:center}
.sht-brand__shots{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.sht-root .sht-brand__shots img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;border-radius:var(--sht-radius-md)}
.sht-brand__ways{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.sht-brand__way{padding:14px 16px;border-radius:var(--sht-radius-md);background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12)}
.sht-brand__way b{display:block;font-size:15px;line-height:22px;color:#fff;margin-bottom:4px}
.sht-brand__way span{font-size:13px;line-height:19px;color:rgba(255,255,255,.6)}
.sht-brand .sht-tocalc{justify-content:flex-start}

/* ─────────────── ТЕНДЕРЫ ─────────────── */
.sht-gos{display:grid;grid-template-columns:minmax(0,1.2fr) 380px;gap:var(--sht-space-10);align-items:start}
.sht-gos .sht-docs__grid{grid-template-columns:repeat(2,1fr)}
.sht-gos__form,
.sht-gos__done{
  padding:var(--sht-space-6);border-radius:var(--sht-radius-lg);
  background:var(--sht-ink);color:#fff;
}
.sht-gos__form{display:flex;flex-direction:column;gap:var(--sht-space-2)}
.sht-gos__form .sht-field__control{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.2)}
.sht-gos__form .sht-field__control::placeholder{color:rgba(255,255,255,.45)}
.sht-gos__form .sht-field__control:focus{background:rgba(255,255,255,.12);border-color:var(--sht-accent)}
.sht-gos__form .sht-form__err{color:#FF9B84}
.sht-gos__done{display:flex;gap:var(--sht-space-3);align-items:flex-start;font-size:14px;line-height:20px;color:rgba(255,255,255,.75)}
.sht-gos__done b{display:block;font-size:16px;line-height:24px;color:#fff;font-weight:var(--sht-fw-medium);margin-bottom:2px}


/* ─────────────── ТИПЫ ШАТРОВ И МЕБЕЛЬ: по пять в ряд ─────────────── */
.sht-cats--types,.sht-cats--mebel{grid-template-columns:repeat(5,1fr)}
.sht-mebel__more{margin-top:var(--sht-grid-gap)}
.sht-promo{
  display:inline-flex;align-items:center;height:32px;padding:0 14px;margin-bottom:14px;
  border-radius:var(--sht-radius-pill);background:var(--sht-accent);color:#fff;
  font-size:14px;font-weight:var(--sht-fw-semibold);
}

/* ─────────────── ЗИМА ─────────────── */
.sht-zima{background:#1F2A37}
.sht-zima__badge{
  display:inline-flex;align-items:center;gap:8px;height:30px;padding:0 12px;margin-bottom:14px;
  border-radius:var(--sht-radius-pill);background:rgba(147,197,253,.16);color:#BFDBFE;
  font-size:13px;font-weight:var(--sht-fw-medium);
}
.sht-zima__badge::before{content:"❄";font-size:14px}
.sht-zima .sht-serve{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start}
.sht-zima .sht-serve__shots{grid-template-columns:repeat(2,1fr);gap:12px}
.sht-zima .sht-serve__price{color:rgba(255,255,255,.7)}
.sht-zima .sht-serve__price b{color:#fff}
.sht-zima .sht-list li{color:rgba(255,255,255,.85)}
.sht-root .sht-zima .sht-serve__tags a{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.2);color:#fff}
.sht-serve--flip{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)}
.sht-root .sht-zima .sht-btn--ghost,.sht-root #sht-brand .sht-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.4)}

/* ─────────────── РОЛИКИ ─────────────── */
.sht-reel{position:relative}
.sht-root .sht-vid__item.sht-reel video{display:block;aspect-ratio:700/390}
.sht-root .sht-reel__snd{
  position:absolute;top:12px;right:12px;width:44px;height:44px;border-radius:50%;border:0;cursor:pointer;
  background:rgba(0,0,0,.5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5v5h3.5L13 19V5L7.5 9.5H4z'/%3E%3Cpath d='m16 9.5 5 5M21 9.5l-5 5'/%3E%3C/svg%3E") center/22px no-repeat;
  -webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
}
.sht-root .sht-reel__snd.sht-on{
  background-color:var(--sht-accent);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 9.5v5h3.5L13 19V5L7.5 9.5H4z'/%3E%3Cpath d='M16.5 8.5a5 5 0 0 1 0 7M19 6a8.5 8.5 0 0 1 0 12'/%3E%3C/svg%3E");
}

/* ══════════════════════════════════════════════════════════
   МОБИЛЬНЫЕ
   ══════════════════════════════════════════════════════════ */
/* ─────────────── ПРОЕКТЫ СЕРИЯМИ ─────────────── */
.sht-proj{display:grid;grid-template-columns:repeat(2,1fr);gap:var(--sht-grid-gap)}
.sht-proj__item{display:flex;flex-direction:column;border:var(--sht-border);border-radius:var(--sht-radius-lg);background:var(--sht-surface-card);overflow:hidden}
.sht-proj__shots{display:flex;flex-direction:column;gap:6px;padding:6px 6px 0}
.sht-root .sht-proj__main{width:100%;height:auto;aspect-ratio:3/2;object-fit:cover;border-radius:18px 18px 6px 6px;cursor:zoom-in}
.sht-proj__thumbs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
.sht-root .sht-proj__thumb{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:6px;cursor:zoom-in}
.sht-root .sht-proj__thumb[hidden]{display:none}
.sht-proj__thumbs{position:relative}
.sht-proj__more{position:absolute;right:0;bottom:0;width:calc((100% - 12px) / 3);aspect-ratio:4/3;display:flex;align-items:center;justify-content:center;border-radius:6px;background:rgba(49,45,43,.55);color:#fff;font-size:20px;font-weight:var(--sht-fw-medium);pointer-events:none}
.sht-proj__body{display:flex;flex-direction:column;gap:6px;padding:16px 20px 20px;flex:1}
.sht-proj__fmt{align-self:flex-start;padding:3px 10px;border-radius:var(--sht-radius-pill);background:var(--sht-accent-tint);color:var(--sht-accent-hover);font-size:12px;line-height:16px;font-weight:var(--sht-fw-medium)}
.sht-proj__name{font-family:var(--sht-font-head);font-size:20px;line-height:26px;font-weight:var(--sht-fw-medium)}
.sht-proj__body .sht-proj__open{margin-top:auto;align-self:flex-start}
.sht-proj__body .sht-menu__list{margin-bottom:12px}

@media (max-width:1260px){
  .sht-cats{grid-template-columns:repeat(4,1fr)}
}

@media (max-width:991px){
  .sht-hero__grid{grid-template-columns:1fr;gap:28px;padding:48px 0}
  .sht-qc{max-width:520px}
  .sht-cats{grid-template-columns:repeat(3,1fr)}
  .sht-hits{grid-template-columns:repeat(3,1fr)}
  .sht-gos{grid-template-columns:1fr}
  .sht-cloth{grid-template-columns:repeat(2,1fr)}
  /* minmax(0,1fr): с голым 1fr колонку раздувала лента пилюль, и вся страница на телефоне становилась шире экрана */
  .sht-serve,.sht-brand{grid-template-columns:minmax(0,1fr);gap:var(--sht-space-6)}
}

@media (max-width:768px){
  .sht-hero__grid{padding:28px 0 20px;gap:20px}
  .sht-qc{padding:18px 16px 16px;max-width:none}
  .sht-cats{
    display:grid;grid-auto-flow:column;grid-auto-columns:42%;grid-template-columns:none;
    grid-template-rows:repeat(2,auto);overflow-x:auto;scrollbar-width:none;
    margin-inline:calc(var(--sht-container-pad) * -1);
    padding:0 var(--sht-container-pad) 4px;scroll-padding-inline:var(--sht-container-pad);
    scroll-snap-type:x proximity;
  }
  .sht-cats::-webkit-scrollbar{display:none}
  .sht-cats > *{scroll-snap-align:start}
  .sht-cats__name{font-size:14px;line-height:18px;padding:0 10px 10px}
  .sht-cats__name small{display:none}
  .sht-hits{
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    margin-inline:calc(var(--sht-container-pad) * -1);
    padding:0 var(--sht-container-pad) 4px;scroll-padding-inline:var(--sht-container-pad);
  }
  .sht-hits::-webkit-scrollbar{display:none}
  .sht-hits > *{flex:0 0 62%;scroll-snap-align:start}
  /* столы на карточках широкие: в квадрате под ними оставалась белая дыра до названия */
  .sht-root .sht-hits .sht-tile__img{aspect-ratio:4/3;padding:0;object-fit:cover;margin:8px 8px 0;width:calc(100% - 16px);border-radius:14px}
  .sht-hits{align-items:flex-start}
  .sht-vid,.sht-vid--one{grid-template-columns:1fr;gap:var(--sht-space-5)}
  .sht-seo{columns:1}
  .sht-cloth{
    display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;
    margin-inline:calc(var(--sht-container-pad) * -1);
    padding:0 var(--sht-container-pad) 4px;scroll-padding-inline:var(--sht-container-pad);
  }
  .sht-cloth::-webkit-scrollbar{display:none}
  .sht-cloth > *{flex:0 0 78%;scroll-snap-align:start}
  .sht-brand__ways{grid-template-columns:1fr}
  .sht-serve__tags{display:flex;flex-wrap:wrap;overflow:visible;margin-inline:0;padding:0}
  .sht-gos .sht-docs__grid{display:grid;grid-template-columns:1fr;margin:0;padding:0}
  .sht-gos__form{padding:var(--sht-space-5)}
}
.sht-qc .sht-check[hidden]{display:none}

/* две галки в калькуляторе — отдельными пунктами, а не одной строкой */
.sht-qc__row[data-calc="extras"]{display:flex;flex-wrap:wrap;gap:8px 28px}
.sht-qc__row[data-calc="extras"][hidden]{display:none}

@media (max-width:767px){
  .sht-proj{grid-template-columns:minmax(0,1fr)}
  .sht-proj__name{font-size:18px;line-height:24px}
}

@media (max-width:1260px){
  .sht-cats--types,.sht-cats--mebel{grid-template-columns:repeat(4,1fr)}
}
@media (max-width:991px){
  .sht-cats--types,.sht-cats--mebel{grid-template-columns:repeat(3,1fr)}
  .sht-serve--flip{grid-template-columns:minmax(0,1fr)}
  .sht-serve--flip .sht-serve__shots{order:2}
}
@media (max-width:768px){
  .sht-cats--types,.sht-cats--mebel{grid-template-columns:none}
}
@media (max-width:991px){
  .sht-zima .sht-serve{grid-template-columns:minmax(0,1fr)}
}

