:root {
  --catalog-yellow: #f5c800;
  --catalog-ink: #171717;
  --catalog-muted: #68645d;
  --catalog-paper: #f7f4ed;
  --catalog-white: #fff;
  --catalog-line: #dcd6ca;
}

body {
  margin: 0;
  background: var(--catalog-paper);
  color: var(--catalog-ink);
  font-family: Arial, Helvetica, sans-serif;
}

body .prototype-shell {
  width: min(1240px, calc(100% - 48px));
}

body .prototype-topbar {
  padding: 8px 0;
  background: var(--catalog-ink);
  font-size: 11px;
  letter-spacing: .02em;
}

body .prototype-header {
  top: 0;
  border-color: var(--catalog-line);
  background: rgba(247, 244, 237, .96);
  backdrop-filter: blur(14px);
}

body .prototype-header-row {
  min-height: 78px;
  gap: 25px;
}

body .prototype-logo-mark {
  width: 42px;
  height: 42px;
  background: var(--catalog-yellow);
  font-size: 14px;
  font-weight: 900;
}

body .prototype-logo b {
  font-size: 15px;
}

body .prototype-logo small {
  margin-top: 4px;
  color: var(--catalog-muted);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body .prototype-nav {
  gap: 23px;
}

body .prototype-nav a {
  font-size: 13px;
}

body .prototype-nav a:first-child {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

body .prototype-question-button {
  min-height: 44px;
  padding: 0 19px;
  background: var(--catalog-yellow);
}

body #vstroy-garderobnye-catalog {
  --vg-yellow: var(--catalog-yellow);
  --vg-ink: var(--catalog-ink);
  --vg-paper: var(--catalog-white);
  --vg-warm: var(--catalog-paper);
  --vg-line: var(--catalog-line);
  --vg-muted: var(--catalog-muted);
  background: var(--catalog-paper);
  overflow: visible;
  font-size: 16px;
  line-height: 1.55;
}

body #vstroy-garderobnye-catalog .vg-shell {
  max-width: 1240px;
  padding-inline: 24px;
}

body #vstroy-garderobnye-catalog h1,
body #vstroy-garderobnye-catalog h2,
body #vstroy-garderobnye-catalog h3 {
  font-weight: 700;
  letter-spacing: -.035em;
}

body #vstroy-garderobnye-catalog .vg-eyebrow {
  margin-bottom: 12px;
  color: var(--catalog-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
}

body #vstroy-garderobnye-catalog .vg-crumbs {
  padding-block: 20px;
  color: var(--catalog-muted);
  font-size: 12px;
}

body #vstroy-garderobnye-catalog .vg-crumbs a:hover {
  color: var(--catalog-ink);
}

body #vstroy-garderobnye-catalog .vg-hero {
  border-top: 1px solid var(--catalog-line);
  background: var(--catalog-paper);
}

body #vstroy-garderobnye-catalog .vg-hero-grid {
  grid-template-columns: .82fr 1.18fr;
  gap: 52px;
  padding-top: 34px;
  padding-bottom: 64px;
}

body #vstroy-garderobnye-catalog .vg-hero h1 {
  max-width: 620px;
  margin: 17px 0 24px;
  font-size: clamp(40px, 4.4vw, 62px);
  line-height: .98;
  letter-spacing: -.05em;
}

body #vstroy-garderobnye-catalog .vg-hero-grid > div:first-child > p:not(.vg-eyebrow) {
  max-width: 590px;
  margin-bottom: 30px;
  color: #47443f;
  font-size: 18px;
  line-height: 1.6;
}

body #vstroy-garderobnye-catalog .vg-action {
  min-height: 48px;
  padding-inline: 22px;
  border: 1px solid var(--catalog-ink);
  background: var(--catalog-yellow);
  font-size: 14px;
  font-weight: 800;
  transition: background .2s ease, color .2s ease;
}

body #vstroy-garderobnye-catalog .vg-action:hover {
  background: var(--catalog-ink);
  color: var(--catalog-white);
}

body #vstroy-garderobnye-catalog .vg-hero-facts {
  display: block;
  min-height: 510px;
  padding: 0;
  background-color: #d6d0c5;
  background-image: var(--catalog-hero);
  background-position: center;
  background-size: cover;
}

body #vstroy-garderobnye-catalog .vg-hero-fact {
  display: none;
}

body #vstroy-garderobnye-catalog .vg-hero-fact strong {
  margin-bottom: 7px;
  font-size: 16px;
  line-height: 1.2;
}

body #vstroy-garderobnye-catalog .vg-hero-fact span {
  color: var(--catalog-muted);
  font-size: 12px;
}

body #vstroy-garderobnye-catalog .vg-subcats {
  background: var(--catalog-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08) inset;
}

body #vstroy-garderobnye-catalog .vg-subcat-row {
  gap: 9px;
  padding-block: 15px;
}

body #vstroy-garderobnye-catalog .vg-filter-button {
  min-height: 42px;
  padding-inline: 16px;
  border-color: #575653;
  font-size: 13px;
  font-weight: 700;
}

body #vstroy-garderobnye-catalog .vg-filter-button:hover {
  border-color: var(--catalog-yellow);
}

body #vstroy-garderobnye-catalog .vg-section {
  padding-block: 84px;
}

body #vstroy-garderobnye-catalog .vg-catalog-layout {
  display: block;
}

body #vstroy-garderobnye-catalog .vg-sidebar {
  position: sticky;
  top: 104px;
  padding: 0;
  border-top: 3px solid var(--catalog-ink);
  background: transparent;
}

body #vstroy-garderobnye-catalog .vg-sidebar h3 {
  margin: 0;
  padding: 18px 0 13px;
  font-size: 14px;
  letter-spacing: 0;
}

body #vstroy-garderobnye-catalog .vg-sidebar a {
  padding: 11px 0;
  border-color: var(--catalog-line);
  color: var(--catalog-muted);
  font-size: 13px;
}

body #vstroy-garderobnye-catalog .vg-sidebar a:hover {
  color: var(--catalog-ink);
}

body #vstroy-garderobnye-catalog .vg-list-head {
  margin-bottom: 32px;
  padding-bottom: 23px;
  border-bottom: 1px solid var(--catalog-line);
}

body #vstroy-garderobnye-catalog .vg-list-head h2 {
  margin-bottom: 12px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
}

body #vstroy-garderobnye-catalog .vg-list-head p {
  font-size: 15px;
}

body #vstroy-garderobnye-catalog .vg-count {
  color: var(--catalog-muted);
  font-size: 12px;
  font-weight: 700;
}

body #vstroy-garderobnye-catalog .vg-product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 42px;
}

body #vstroy-garderobnye-catalog .vg-product {
  border: 0;
  background: transparent;
}

body #vstroy-garderobnye-catalog .vg-product-image {
  min-height: 0;
  aspect-ratio: 4 / 3;
  background-color: #ddd7cc;
  transition: transform .25s ease, filter .25s ease;
}

body #vstroy-garderobnye-catalog .vg-product-image::before {
  display: none;
}

body #vstroy-garderobnye-catalog .vg-product:hover .vg-product-image {
  transform: translateY(-4px);
  filter: brightness(.97);
}

body #vstroy-garderobnye-catalog .vg-product-body {
  padding: 17px 0 0;
}

body #vstroy-garderobnye-catalog .vg-product-body h3 {
  min-height: 2.4em;
  margin-bottom: 9px;
  font-size: 19px;
  line-height: 1.2;
  letter-spacing: -.025em;
}

body #vstroy-garderobnye-catalog .vg-product-catalogs {
  min-height: 32px;
  margin-bottom: 14px;
  color: var(--catalog-muted);
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: .035em;
  text-transform: uppercase;
}

body #vstroy-garderobnye-catalog .vg-price {
  margin-bottom: 16px;
  padding-top: 13px;
  border-top: 1px solid var(--catalog-line);
}

body #vstroy-garderobnye-catalog .vg-price strong {
  font-size: 18px;
  line-height: 1.2;
}

body #vstroy-garderobnye-catalog .vg-price span {
  color: var(--catalog-muted);
  font-size: 11px;
}

body #vstroy-garderobnye-catalog .vg-product-actions {
  gap: 7px;
}

body #vstroy-garderobnye-catalog .vg-product-link,
body #vstroy-garderobnye-catalog .vg-product-request {
  min-height: 44px;
  font-size: 12px;
  font-weight: 800;
}

body #vstroy-garderobnye-catalog .vg-product-link {
  border-color: var(--catalog-yellow);
  background: var(--catalog-yellow);
}

body #vstroy-garderobnye-catalog .vg-product-link:hover {
  border-color: var(--catalog-ink);
  background: var(--catalog-ink);
  color: var(--catalog-white);
}

body #vstroy-garderobnye-catalog .vg-product-request {
  background: transparent;
  color: var(--catalog-ink);
}

body #vstroy-garderobnye-catalog .vg-product-request:hover {
  background: var(--catalog-white);
}

body #vstroy-garderobnye-catalog .vg-request {
  padding-block: 72px;
  background: var(--catalog-yellow);
}

body #vstroy-garderobnye-catalog .vg-request-grid {
  gap: 70px;
}

body #vstroy-garderobnye-catalog .vg-request h2 {
  margin: 8px 0 13px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1;
}

body #vstroy-garderobnye-catalog .vg-form input[type="tel"] {
  min-height: 54px;
  padding-inline: 18px;
  border-color: #9d8200;
}

body #vstroy-garderobnye-catalog .vg-form .vg-action {
  min-height: 54px;
  background: var(--catalog-ink);
  color: var(--catalog-white);
}

body #vstroy-garderobnye-catalog .vg-consent {
  margin-top: 3px;
  font-size: 11px;
  line-height: 1.4;
}

body #vstroy-garderobnye-catalog .vg-seo {
  background: var(--catalog-white);
}

body #vstroy-garderobnye-catalog .vg-seo-grid {
  gap: 80px;
}

body #vstroy-garderobnye-catalog .vg-seo h2,
body #vstroy-garderobnye-catalog .vg-section > .vg-shell > h2,
body #vstroy-garderobnye-catalog .vg-articles h2,
body #vstroy-garderobnye-catalog .vg-faq h2 {
  margin-bottom: 28px;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
}

body #vstroy-garderobnye-catalog .vg-seo p,
body #vstroy-garderobnye-catalog .vg-seo li {
  font-size: 16px;
  line-height: 1.7;
}

body #vstroy-garderobnye-catalog .vg-related {
  gap: 16px;
}

body #vstroy-garderobnye-catalog .vg-related a {
  min-height: 150px;
  padding: 24px;
  border-top: 5px solid var(--catalog-yellow);
  background: var(--catalog-ink);
  font-size: 18px;
  font-weight: 700;
  transition: transform .2s ease;
}

body #vstroy-garderobnye-catalog .vg-related a:hover,
body #vstroy-garderobnye-catalog .vg-article:hover {
  transform: translateY(-4px);
}

body #vstroy-garderobnye-catalog .vg-articles {
  background: var(--catalog-white);
}

body #vstroy-garderobnye-catalog .vg-article-grid {
  gap: 16px;
}

body #vstroy-garderobnye-catalog .vg-article {
  min-height: 225px;
  padding: 25px;
  border-top: 5px solid var(--catalog-yellow);
  background: var(--catalog-paper);
  transition: transform .2s ease;
}

body #vstroy-garderobnye-catalog .vg-article h3 {
  margin-block: 24px;
  font-size: 22px;
  line-height: 1.15;
}

body #vstroy-garderobnye-catalog .vg-faq {
  gap: 72px;
}

body #vstroy-garderobnye-catalog details {
  padding-block: 20px;
  border-color: var(--catalog-line);
}

body #vstroy-garderobnye-catalog summary {
  font-size: 17px;
  font-weight: 700;
}

body #vstroy-garderobnye-catalog details p {
  max-width: 650px;
  font-size: 15px;
  line-height: 1.7;
}

body .prototype-footer-cta {
  padding-block: 46px;
  background: var(--catalog-yellow);
}

body .prototype-footer-cta h2 {
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 700;
  letter-spacing: -.035em;
}

body .prototype-footer-cta button {
  min-height: 50px;
  padding-inline: 22px;
}

body .prototype-footer {
  padding: 58px 0 24px;
  background: var(--catalog-ink);
}

body .prototype-footer-grid {
  gap: 48px;
}

body .prototype-cookie {
  left: auto;
  right: 18px;
  bottom: 18px;
  border-color: var(--catalog-line);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .15);
}

@media (max-width: 1080px) {
  body #vstroy-garderobnye-catalog .vg-hero-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  body #vstroy-garderobnye-catalog .vg-hero-facts {
    min-height: 480px;
  }

  body #vstroy-garderobnye-catalog .vg-catalog-layout {
    grid-template-columns: 1fr;
  }

  body #vstroy-garderobnye-catalog .vg-sidebar {
    display: none;
  }
}

@media (max-width: 760px) {
  body .prototype-shell {
    width: calc(100% - 28px);
  }

  body .prototype-topbar {
    display: none;
  }

  body .prototype-header {
    position: relative;
  }

  body .prototype-header-row {
    min-height: 66px;
  }

  body #vstroy-garderobnye-catalog .vg-shell {
    padding-inline: 14px;
  }

  body #vstroy-garderobnye-catalog .vg-crumbs {
    overflow: hidden;
    white-space: nowrap;
  }

  body #vstroy-garderobnye-catalog .vg-hero-grid {
    padding-top: 20px;
    padding-bottom: 46px;
  }

  body #vstroy-garderobnye-catalog .vg-hero h1 {
    font-size: 36px;
    line-height: 1.02;
  }

  body #vstroy-garderobnye-catalog .vg-hero-grid > div:first-child > p:not(.vg-eyebrow) {
    font-size: 16px;
  }

  body #vstroy-garderobnye-catalog .vg-hero-facts {
    display: none;
    background-image: none;
  }

  body #vstroy-garderobnye-catalog .vg-hero-fact {
    min-height: 92px;
    padding: 14px;
  }

  body #vstroy-garderobnye-catalog .vg-hero-fact strong {
    font-size: 14px;
  }

  body #vstroy-garderobnye-catalog .vg-section {
    padding-block: 62px;
  }

  body #vstroy-garderobnye-catalog .vg-list-head {
    align-items: flex-start;
    flex-direction: column;
  }

  body #vstroy-garderobnye-catalog .vg-product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 12px;
  }

  body #vstroy-garderobnye-catalog .vg-product-body h3 {
    min-height: 0;
    font-size: 16px;
  }

  body #vstroy-garderobnye-catalog .vg-product-catalogs {
    min-height: 0;
    font-size: 9px;
  }

  body #vstroy-garderobnye-catalog .vg-price strong {
    font-size: 15px;
  }

  body #vstroy-garderobnye-catalog .vg-product-actions {
    grid-template-columns: 1fr;
  }

  body #vstroy-garderobnye-catalog .vg-request-grid,
  body #vstroy-garderobnye-catalog .vg-seo-grid,
  body #vstroy-garderobnye-catalog .vg-related,
  body #vstroy-garderobnye-catalog .vg-article-grid,
  body #vstroy-garderobnye-catalog .vg-faq {
    grid-template-columns: 1fr;
  }

  body #vstroy-garderobnye-catalog .vg-request-grid,
  body #vstroy-garderobnye-catalog .vg-seo-grid,
  body #vstroy-garderobnye-catalog .vg-faq {
    gap: 36px;
  }
}

@media (max-width: 480px) {
  body #vstroy-garderobnye-catalog .vg-product-grid {
    grid-template-columns: 1fr;
  }

  body #vstroy-garderobnye-catalog .vg-product-body h3 {
    font-size: 19px;
  }

  body #vstroy-garderobnye-catalog .vg-product-actions {
    grid-template-columns: 1fr 1fr;
  }
}
