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

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

.vst-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(--vst-radius-lg);padding:22px 22px 20px;
}
.vst-qc__t{
  font-family:var(--vst-font-head);font-size:20px;line-height:28px;
  font-weight:var(--vst-fw-medium);letter-spacing:-.01em;
}
.vst-qc__sub{font-size:13px;line-height:18px;color:rgba(255,255,255,.6);margin-top:2px}
.vst-qc__row{margin-top:14px}
.vst-qc__label{display:block;font-size:13px;line-height:18px;font-weight:var(--vst-fw-medium);color:rgba(255,255,255,.6);margin-bottom:8px}
.vst-qc .vst-chips{gap:6px}
.vst-root .vst-qc .vst-chip{
  height:36px;padding:0 13px;font-size:14px;
  background:rgba(255,255,255,.06);border-color:rgba(255,255,255,.24);color:#fff;
}
.vst-root .vst-qc .vst-chip:hover{border-color:#fff}
.vst-root .vst-qc .vst-chip.vst-on{background:#fff;border-color:#fff;color:var(--vst-ink)}
.vst-root .vst-qc .vst-chip--input{width:70px;padding:0 8px}
.vst-root .vst-qc .vst-chip--input::placeholder{color:rgba(255,255,255,.45)}

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

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

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

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

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

/* ─────────────── 03 · ХИТЫ ПРОКАТА ─────────────── */
.vst-hits{display:grid;grid-template-columns:repeat(4,1fr);gap:var(--vst-grid-gap)}
.vst-root .vst-hits .vst-tile__img{aspect-ratio:1/1;object-fit:contain;background:#fff;padding:12px}
.vst-hits .vst-tile__meta{display:flex;align-items:center;gap:6px}
.vst-hits__n{
  display:inline-flex;align-items:center;height:22px;padding:0 8px;
  border-radius:var(--vst-radius-pill);background:var(--vst-accent-tint);
  color:var(--vst-accent-hover);font-size:12px;font-weight:var(--vst-fw-medium);white-space:nowrap;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* в кадре хиро лица у верхнего края — центр по вертикали их срезал */
.vst-root .vst-hero__bg{object-position:50% 0}

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

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