@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

a[href*="wa.me"],
a[href*="whatsapp.com"] {
  display: none !important;
}

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("/assets/fonts/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #080d0b;
  --bg-2: #0d1411;
  --panel: rgba(19, 27, 23, .88);
  --panel-solid: #121a16;
  --panel-soft: #18231e;
  --line: rgba(220, 205, 174, .2);
  --line-strong: rgba(220, 205, 174, .36);
  --text: #f4f1e9;
  --muted: #bcb5a8;
  --subtle: #8f938b;
  --green: #0f3a2b;
  --green-2: #1c5842;
  --accent: #d9be8f;
  --accent-2: #efe2c8;
  --white: #fffdf6;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --radius: 8px;
  --wrap: min(1240px, calc(100% - 48px));
  font-family: Inter, Montserrat, Arial, sans-serif;
}

/* Light market preview refresh, 2026-07-08 */
body.wzp-market-home {
  --bg: #fbf7ef;
  --bg-2: #f3eadc;
  --panel: #fffdf8;
  --panel-solid: #ffffff;
  --panel-soft: #f7efe4;
  --line: rgba(137, 104, 55, .18);
  --line-strong: rgba(137, 104, 55, .34);
  --text: #282118;
  --muted: #746958;
  --subtle: #9a8e7b;
  --green: #245642;
  --green-2: #2f7359;
  --accent: #b98a43;
  --accent-2: #ead3a2;
  --white: #fff;
  --shadow: 0 20px 60px rgba(79, 58, 27, .12);
  color: var(--text);
  background:
    radial-gradient(circle at 8% 0%, rgba(232, 204, 151, .28), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, #fbf7ef 48%, #f5eee2 100%);
}

.wzp-market-home .site-header {
  border-bottom-color: rgba(137, 104, 55, .16);
  background: rgba(255, 252, 246, .9);
  box-shadow: 0 12px 34px rgba(78, 58, 26, .08);
}

.wzp-market-home .brand__name,
.wzp-market-home .header-phone strong {
  color: #2a2116;
}

.wzp-market-home .brand__tag,
.wzp-market-home .header-phone span,
.wzp-market-home .muted {
  color: var(--muted);
}

.wzp-market-home .main-nav a {
  color: #352a1d;
}

.wzp-market-home .main-nav a:hover {
  background: rgba(185, 138, 67, .12);
}

.wzp-market-home .burger {
  color: #352a1d;
  border-color: var(--line);
  background: #fffaf2;
}

.wzp-market-home .mobile-nav {
  background: #fffaf2;
  border-color: var(--line);
}

.wzp-market-home .mobile-nav a {
  color: #2a2116;
  border-color: var(--line);
}

.wzp-market-home .btn,
.wzp-market-home .ghost-btn {
  border-radius: 999px;
}

.wzp-market-home .btn--gold {
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  border-color: rgba(149, 105, 39, .34);
  box-shadow: 0 12px 28px rgba(176, 128, 55, .22);
}

.wzp-market-home .ghost-btn {
  color: #352a1d;
  background: #fffdf8;
  border-color: rgba(137, 104, 55, .24);
}

.wzp-market-home .eyebrow {
  color: #9c6e2e;
}

.wzp-market-home h1,
.wzp-market-home h2,
.wzp-market-home h3 {
  color: #251d14;
}

.wzp-market-home .lead {
  color: #695d4d;
}

.market-hero {
  width: min(1320px, calc(100% - 40px));
  margin: 22px auto 0;
  padding: 0;
}

.market-hero__inner {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(360px, 1.08fr);
  gap: 34px;
  align-items: stretch;
  padding: 38px;
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(255, 253, 248, .98) 0%, rgba(255, 249, 237, .94) 48%, rgba(242, 225, 194, .68) 100%),
    radial-gradient(circle at 20% 20%, rgba(229, 193, 125, .24), transparent 28rem);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.market-hero__copy {
  align-self: center;
  max-width: 620px;
}

.market-hero h1 {
  max-width: 650px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: .98;
  margin-bottom: 18px;
}

.market-hero .lead {
  max-width: 590px;
  font-size: 18px;
  line-height: 1.6;
}

.market-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.market-hero__badges span {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 999px;
  color: #655642;
  background: rgba(255, 255, 255, .7);
  font-weight: 800;
  font-size: 12px;
}

.market-hero__visual {
  position: relative;
  min-height: 470px;
  border-radius: 8px;
  overflow: hidden;
  background: #efe3cf;
  box-shadow: inset 0 0 0 1px rgba(137, 104, 55, .14);
}

.market-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  display: block;
  filter: brightness(1.18) contrast(.95) saturate(1.04);
}

.market-hero__note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  max-width: 260px;
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 8px;
  background: rgba(255, 252, 246, .92);
  box-shadow: 0 14px 32px rgba(72, 52, 22, .16);
}

.market-hero__note b {
  color: #2a2116;
}

.market-hero__note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.market-section {
  padding: 28px 0;
}

.market-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.market-category-card {
  position: relative;
  min-height: 260px;
  display: grid;
  align-content: end;
  gap: 8px;
  padding: 24px;
  overflow: hidden;
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  background: #d8c7ad;
  box-shadow: var(--shadow);
}

.market-category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--image) center / cover no-repeat;
  transform: scale(1.01);
  transition: transform .24s ease;
}

.market-category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(40, 30, 18, .08), rgba(43, 31, 17, .76));
}

.market-category-card:hover::before {
  transform: scale(1.05);
}

.market-category-card > * {
  position: relative;
  z-index: 1;
}

.market-category-card span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .45);
  border-radius: 999px;
  font-weight: 900;
}

.market-category-card h3 {
  color: #fff;
  font-size: clamp(26px, 3vw, 40px);
  margin-bottom: 2px;
}

.market-category-card p {
  max-width: 470px;
  color: rgba(255, 255, 255, .86);
  line-height: 1.45;
}

.market-calc {
  grid-template-columns: 260px 1fr 170px;
  border-color: rgba(137, 104, 55, .2);
  background:
    linear-gradient(135deg, #fffdf8, #f4e7d4);
  box-shadow: var(--shadow);
}

.wzp-market-home .field label,
.wzp-market-home .checkline {
  color: #70614e;
}

.wzp-market-home .field input,
.wzp-market-home .field select,
.wzp-market-home .field textarea,
.wzp-market-home .compact-form input,
.wzp-market-home .compact-form textarea {
  color: #2a2116;
  background: #fff;
  border-color: rgba(137, 104, 55, .22);
}

.wzp-market-home .field input::placeholder,
.wzp-market-home .field textarea::placeholder {
  color: #a79a87;
}

.wzp-market-home .checkline input {
  accent-color: #b98a43;
}

.market-products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.market-product-card {
  min-height: 100%;
  display: grid;
  grid-template-rows: 190px 1fr auto;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.market-product-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: #efe5d4;
}

.market-product-card div {
  padding: 16px 16px 10px;
}

.market-product-card small {
  display: block;
  margin-bottom: 8px;
  color: #9c6e2e;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 11px;
}

.market-product-card h3 {
  margin-bottom: 8px;
  font-size: 22px;
}

.market-product-card p {
  color: var(--muted);
  line-height: 1.45;
  margin-bottom: 0;
}

.product-link {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 16px 16px;
  border: 1px solid rgba(137, 104, 55, .28);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  text-decoration: none;
  font-weight: 900;
}

.decor-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.decor-card {
  min-height: 154px;
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 8px;
  color: #2a2116;
  background: #fffdf8;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(79, 58, 27, .08);
}

.decor-card span {
  width: 100%;
  height: 58px;
  border: 1px solid rgba(137, 104, 55, .16);
  border-radius: 7px;
  background: var(--swatch);
}

.decor-card b {
  font-size: 15px;
}

.decor-card small {
  color: var(--muted);
  line-height: 1.35;
}

.market-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-benefits article,
.service-split {
  border: 1px solid rgba(137, 104, 55, .18);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.market-benefits article {
  padding: 20px;
}

.benefit-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #2b2012;
  background: #efd8aa;
  font-weight: 900;
}

.market-benefits h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.market-benefits p {
  color: var(--muted);
  line-height: 1.48;
  margin-bottom: 0;
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, .98), rgba(244, 229, 204, .86));
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.wzp-market-home .site-footer {
  border-top-color: rgba(137, 104, 55, .18);
  background: #fff8ec;
}

.wzp-market-home .footer-links a {
  color: #4b3e2c;
}

@media (max-width: 1100px) {
  .market-hero__inner {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .market-hero__visual,
  .market-hero__visual img {
    min-height: 360px;
  }

  .market-products-grid,
  .market-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .decor-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .market-calc {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .market-hero {
    width: min(100% - 24px, 1320px);
    margin-top: 12px;
  }

  .market-hero__inner {
    min-height: 0;
    padding: 18px;
    gap: 18px;
  }

  .market-hero h1 {
    font-size: 38px;
  }

  .market-hero .lead {
    font-size: 16px;
  }

  .market-hero__visual,
  .market-hero__visual img {
    min-height: 260px;
  }

  .market-hero__note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    max-width: none;
  }

  .market-category-grid,
  .market-products-grid,
  .market-benefits,
  .service-split {
    grid-template-columns: 1fr;
  }

  .market-category-card {
    min-height: 210px;
    padding: 18px;
  }

  .decor-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-calc {
    padding: 18px;
  }

  .service-actions {
    justify-content: stretch;
  }

  .service-actions .ghost-btn {
    width: 100%;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.wzp-redesign {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(31, 79, 56, .26), transparent 34rem),
    linear-gradient(180deg, #050806 0%, #101713 48%, #080d0b 100%);
  font-family: Inter, Montserrat, Arial, sans-serif;
  letter-spacing: 0;
}

.wzp-redesign a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 10, 8, .82);
  backdrop-filter: blur(16px);
}

.site-header__inner {
  width: var(--wrap);
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 22px;
  align-items: center;
}

.brand {
  text-decoration: none;
  display: grid;
  gap: 3px;
}

.brand__name {
  font-weight: 800;
  font-size: 21px;
  line-height: 1;
}

.brand__tag {
  color: var(--muted);
  font-size: 12px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  align-items: center;
}

.main-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 9px 8px;
  color: #ebe5d7;
  text-decoration: none;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.main-nav a:hover {
  background: rgba(255, 255, 255, .07);
}

.header-phone {
  display: grid;
  gap: 2px;
  text-align: right;
  white-space: nowrap;
}

.header-phone strong {
  font-size: 18px;
}

.header-phone span {
  color: var(--muted);
  font-size: 12px;
}

.btn,
.ghost-btn,
.dark-btn {
  min-height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.btn {
  color: #07100c;
  background: var(--accent-2);
}

.btn--green {
  color: #fff;
  background: linear-gradient(135deg, #113b2c, #1e654a);
  border-color: rgba(226, 210, 174, .24);
}

.ghost-btn {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  border-color: rgba(220, 205, 174, .24);
}

.dark-btn {
  color: var(--accent-2);
  background: rgba(6, 9, 7, .72);
  border-color: rgba(226, 210, 174, .28);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .04);
  color: var(--text);
}

.burger span,
.burger::before,
.burger::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.mobile-nav {
  display: none;
}

.section {
  width: var(--wrap);
  margin: 0 auto;
  padding: 18px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 16px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 900;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
.serif {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: clamp(42px, 5.2vw, 60px);
  line-height: 1.02;
  font-weight: 700;
}

h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.lead {
  max-width: 620px;
  color: #dfd7c8;
  font-size: 19px;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

.hero {
  position: relative;
  min-height: 320px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 6, 5, .96) 0%, rgba(3, 6, 5, .76) 35%, rgba(3, 6, 5, .18) 64%, rgba(3, 6, 5, .62) 100%),
    linear-gradient(180deg, rgba(3, 6, 5, .04), rgba(3, 6, 5, .7)),
    var(--hero-image, url("/assets/redesign/hero-main-desktop.webp")) center 50% / cover no-repeat;
}

.hero__inner {
  position: relative;
  width: var(--wrap);
  margin: 0 auto;
  padding: 42px 0 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 42px;
  align-items: end;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.hero-card {
  align-self: end;
  padding: 18px;
  border: 1px solid rgba(224, 200, 154, .42);
  border-radius: 8px;
  background: rgba(26, 25, 21, .88);
  box-shadow: var(--shadow);
}

.hero-card__icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(224, 200, 154, .42);
  border-radius: 7px;
  color: var(--accent);
  font-size: 24px;
}

.hero-card h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-card p {
  color: var(--muted);
  line-height: 1.45;
}

.feature-strip {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: rgba(6, 10, 8, .8);
}

.feature-strip__inner {
  width: var(--wrap);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature {
  min-height: 92px;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px 20px;
  border-right: 1px solid rgba(255, 255, 255, .08);
}

.feature:first-child {
  border-left: 1px solid rgba(255, 255, 255, .08);
}

.feature__icon {
  color: var(--accent);
  font-size: 28px;
}

.feature__icon img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
}

.feature b {
  display: block;
  margin-bottom: 4px;
}

.feature span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.grid-6,
.grid-4,
.products-row,
.works-grid {
  display: grid;
  gap: 10px;
}

.grid-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.direction-card,
.product-tile,
.work-card,
.panel,
.calc-panel,
.windows-panel,
.cta-panel,
.catalog-clean-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
  box-shadow: 0 16px 50px rgba(0, 0, 0, .18);
}

.category-card,
.direction-card {
  position: relative;
  min-height: 188px;
  display: grid;
  align-content: end;
  padding: 16px;
  overflow: hidden;
  text-decoration: none;
}

.category-card::before,
.direction-card::before,
.work-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--image) center / cover no-repeat;
  opacity: .78;
  transform: scale(1.01);
  transition: transform .25s ease;
}

.category-card::after,
.direction-card::after,
.work-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, .78));
}

.category-card:hover::before,
.direction-card:hover::before {
  transform: scale(1.05);
}

.category-card > *,
.direction-card > * {
  position: relative;
  z-index: 1;
}

.category-card h3,
.direction-card h3,
.product-tile h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.category-card p,
.direction-card p,
.product-tile p {
  margin-bottom: 0;
  color: #d4cdbc;
  font-size: 13px;
  line-height: 1.4;
}

.card-arrow {
  position: absolute;
  right: 14px;
  bottom: 15px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 50%;
}

.calc-panel {
  padding: 16px 20px;
  display: grid;
  grid-template-columns: 210px 1fr 170px;
  gap: 16px;
  align-items: end;
}

.calc-panel h2 {
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1.06;
}

.calc-panel p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.35;
}

.calc-fields {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.field,
.checkline {
  display: grid;
  gap: 7px;
}

.field label,
.checkline {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea,
.compact-form input,
.compact-form textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 6px;
  padding: 12px;
  color: var(--text);
  background: rgba(0, 0, 0, .24);
  font: inherit;
}

.field textarea,
.compact-form textarea {
  min-height: 96px;
  resize: vertical;
}

.checks {
  display: grid;
  gap: 10px;
  align-content: center;
}

.checkline {
  grid-template-columns: 20px 1fr;
  align-items: center;
}

.checkline input {
  width: 18px;
  height: 18px;
  accent-color: var(--green-2);
}

.products-row {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.product-tile {
  min-height: 178px;
  display: grid;
  grid-template-rows: 88px 1fr auto;
  overflow: hidden;
  background: #f1eee6;
  color: #101713;
}

.product-tile__image {
  background: #ded9cf;
}

.product-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-tile__body {
  padding: 12px;
}

.product-tile small {
  display: block;
  margin-bottom: 6px;
  color: #6d6a61;
}

.product-tile__foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 0 12px 12px;
  font-weight: 900;
}

.cart-dot {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--green);
}

.windows-panel {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.35fr);
  min-height: 180px;
  overflow: hidden;
}

.windows-panel__copy {
  padding: 26px;
  background:
    linear-gradient(120deg, rgba(10, 39, 28, .92), rgba(10, 14, 12, .96)),
    radial-gradient(circle at 0 0, rgba(217, 190, 143, .18), transparent 24rem);
}

.windows-panel__image {
  position: relative;
  min-height: 180px;
  background: url("/assets/tilda-pages/images/ec22e278b7dd-20210219_133033_1.jpg") center / cover no-repeat;
  padding: 20px;
}

.windows-panel__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 9, 7, .74), rgba(4, 9, 7, .06));
}

.windows-panel__image > * {
  position: relative;
  z-index: 1;
}

.window-price {
  position: absolute;
  left: 22px;
  top: 20px;
  display: grid;
  gap: 4px;
}

.window-price span {
  color: var(--muted);
}

.window-price b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 42px;
}

.spec-grid {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 0;
}

.spec {
  color: #d8d0c0;
  font-size: 13px;
}

.spec b {
  display: block;
  color: var(--text);
  margin-bottom: 4px;
}

.works-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.work-card {
  position: relative;
  min-height: 92px;
  overflow: hidden;
}

.portfolio-gallery {
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}

.portfolio-gallery .work-card {
  min-height: 210px;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, 240px));
  gap: 18px;
  align-items: center;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(13, 57, 40, .9), rgba(8, 13, 11, .92));
}

.contact-tile {
  display: grid;
  gap: 5px;
  min-height: 74px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
}

.contact-tile span {
  color: var(--muted);
  font-size: 13px;
}

.site-footer {
  margin-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #060907;
}

.site-footer__inner {
  width: var(--wrap);
  margin: 0 auto;
  padding: 34px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a {
  text-decoration: none;
}

.page-hero {
  width: var(--wrap);
  margin: 0 auto;
  padding: 70px 0 34px;
}

.page-hero__panel {
  min-height: 360px;
  display: grid;
  align-content: end;
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(5, 8, 7, .94), rgba(5, 8, 7, .42)),
    var(--page-image, url("/assets/tilda-pages/images/7056e4a2bc2d-AdobeStock_300283865.png")) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.catalog-clean-card {
  padding: 22px;
}

.catalog-clean-card h3 {
  margin-bottom: 8px;
}

.catalog-clean-card ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.compact-form {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
}

.inner-layout {
  width: var(--wrap);
  margin: 0 auto;
  padding: 34px 0 56px;
}

.inner-hero {
  min-height: 390px;
  display: grid;
  align-content: end;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(4, 8, 6, .95), rgba(4, 8, 6, .56), rgba(4, 8, 6, .22)),
    var(--inner-image, url("/assets/tilda-pages/images/ec22e278b7dd-20210219_133033_1.jpg")) center / cover no-repeat;
  box-shadow: var(--shadow);
}

.inner-hero h1 {
  max-width: 760px;
  margin-bottom: 14px;
}

.inner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.info-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0 0;
}

.info-pill {
  min-height: 76px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .045);
}

.info-pill b {
  display: block;
  margin-bottom: 5px;
}

.info-pill span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.series-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.series-card {
  position: relative;
  min-height: 230px;
  display: grid;
  align-content: end;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  background: rgba(255, 255, 255, .045);
}

.series-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--image, url("/assets/catalog/placeholders/sill.svg")) center / cover no-repeat;
  opacity: .82;
  transition: transform .25s ease;
}

.series-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 6, 5, .08), rgba(3, 6, 5, .82));
}

.series-card:hover::before {
  transform: scale(1.04);
}

.series-card > * {
  position: relative;
  z-index: 1;
}

.series-card h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.series-card p {
  margin-bottom: 0;
  color: #d7d0c1;
  line-height: 1.45;
}

.content-panel {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .025));
}

.content-panel ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.form-status {
  min-height: 20px;
  color: var(--accent-2);
  font-size: 13px;
}

.visually-hidden-field {
  position: absolute !important;
  left: -9999px !important;
}

@media (max-width: 1120px) {
  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .main-nav,
  .header-phone {
    display: none;
  }

  .burger {
    display: block;
  }

  .mobile-nav {
    display: none;
    width: var(--wrap);
    margin: 0 auto;
    padding: 0 0 18px;
  }

  .site-header.is-open .mobile-nav {
    display: grid;
    gap: 6px;
  }

  .mobile-nav a {
    padding: 13px 0;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .grid-6,
  .products-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .calc-panel,
  .windows-panel,
  .cta-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  :root {
    --wrap: min(100% - 28px, 1240px);
  }

  .site-header__inner {
    min-height: 60px;
  }

  .brand__name {
    font-size: 18px;
  }

  .brand__tag {
    font-size: 11px;
  }

  .burger {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 6, 5, .96) 0%, rgba(3, 6, 5, .82) 42%, rgba(3, 6, 5, .28) 100%),
      linear-gradient(180deg, rgba(3, 6, 5, .06), rgba(3, 6, 5, .72)),
      #07110d url("/assets/redesign/hero-main-mobile.webp") right top / contain no-repeat;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 46px 0 20px;
  }

  .hero-card {
    max-width: 360px;
  }

  h1 {
    font-size: 39px;
  }

  .lead {
    font-size: 16px;
  }

  .feature-strip__inner,
  .grid-6,
  .grid-4,
  .products-row,
  .works-grid,
  .spec-grid,
  .two-col,
  .info-strip,
  .series-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .feature,
  .feature:first-child {
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .section {
    padding: 26px 0;
  }

  .section-head {
    display: grid;
  }

  .category-card,
  .direction-card {
    min-height: 138px;
    padding: 14px;
  }

  .category-card h3,
  .direction-card h3 {
    font-size: 18px;
  }

  .category-card p,
  .direction-card p {
    max-width: 230px;
  }

  .calc-panel {
    padding: 18px;
  }

  .calc-fields {
    grid-template-columns: 1fr;
  }

  .page-hero__panel {
    padding: 24px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .products-row {
    gap: 10px;
  }

  .product-tile {
    min-height: 0;
    grid-template-columns: 110px minmax(0, 1fr);
    grid-template-rows: auto auto;
  }

  .product-tile__image {
    grid-row: 1 / 3;
    min-height: 122px;
  }

  .product-tile__body {
    padding: 12px 12px 4px;
  }

  .product-tile__body h3 {
    margin-bottom: 4px;
    font-size: 17px;
  }

  .product-tile__body p,
  .product-tile small {
    font-size: 12px;
  }

  .product-tile__foot {
    align-items: center;
    padding: 0 12px 12px;
    font-size: 14px;
  }

  .cart-dot {
    width: 32px;
    height: 32px;
  }

  .windows-panel {
    display: grid;
    grid-template-columns: 1fr;
  }

  .windows-panel__copy {
    padding: 22px;
  }

  .windows-panel__copy .lead {
    font-size: 15px;
  }

  .windows-panel__image {
    min-height: auto;
    display: grid;
    gap: 12px;
    padding: 18px;
    background:
      linear-gradient(180deg, rgba(6, 11, 9, .7), rgba(6, 11, 9, .45)),
      url("/assets/tilda-pages/images/ec22e278b7dd-20210219_133033_1.jpg") center / cover no-repeat;
  }

  .windows-panel__image::after {
    display: none;
  }

  .window-price,
  .spec-grid {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .window-price {
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(6, 10, 8, .72);
  }

  .window-price b {
    font-size: 34px;
  }

  .spec-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .spec {
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 8px;
    background: rgba(6, 10, 8, .62);
  }

  .work-card {
    min-height: 118px;
  }

  .works-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-gallery .work-card {
    min-height: 145px;
  }

  .cta-panel {
    padding: 18px;
    gap: 10px;
  }

  .cta-panel h2 {
    margin-bottom: 4px;
  }

  .contact-tile {
    min-height: 58px;
    padding: 11px 12px;
  }

  .inner-layout {
    padding: 24px 0 38px;
  }

  .inner-hero {
    min-height: 310px;
    padding: 24px;
  }

  .inner-actions {
    display: grid;
  }

  .info-pill {
    min-height: 0;
  }

  .series-card {
    min-height: 170px;
  }

  .content-panel {
    padding: 18px;
  }

  .site-footer {
    margin-top: 22px;
  }

  .site-footer__inner {
    padding: 24px 0;
    gap: 14px;
  }
}

/* Final cascade guard for the light market homepage. */
body.wzp-redesign.wzp-market-home {
  color: #282118;
  background:
    radial-gradient(circle at 8% 0%, rgba(232, 204, 151, .28), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, #fbf7ef 48%, #f5eee2 100%);
}

body.wzp-redesign.wzp-market-home .site-header {
  border-bottom-color: rgba(137, 104, 55, .16);
  background: rgba(255, 252, 246, .92);
  box-shadow: 0 12px 34px rgba(78, 58, 26, .08);
}

body.wzp-redesign.wzp-market-home .main-nav a,
body.wzp-redesign.wzp-market-home .brand__name,
body.wzp-redesign.wzp-market-home .header-phone strong {
  color: #2a2116;
}

body.wzp-redesign.wzp-market-home .brand__tag,
body.wzp-redesign.wzp-market-home .header-phone span,
body.wzp-redesign.wzp-market-home .muted,
body.wzp-redesign.wzp-market-home .lead {
  color: #695d4d;
}

body.wzp-redesign.wzp-market-home .ghost-btn {
  color: #352a1d;
  background: #fffdf8;
  border-color: rgba(137, 104, 55, .24);
}

body.wzp-redesign.wzp-market-home .btn--gold {
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  border-color: rgba(149, 105, 39, .34);
}

body.wzp-redesign.wzp-market-home .field input,
body.wzp-redesign.wzp-market-home .field select,
body.wzp-redesign.wzp-market-home .field textarea {
  color: #2a2116;
  background: #fff;
  border-color: rgba(137, 104, 55, .22);
}

body.wzp-redesign.wzp-market-home .site-footer {
  border-top-color: rgba(137, 104, 55, .18);
  background: #fff8ec;
}

/* Light base for redesigned inner preview pages. */
body.wzp-redesign:not(.wzp-market-home) {
  color: #282118;
  background:
    radial-gradient(circle at 8% 0%, rgba(232, 204, 151, .22), transparent 28rem),
    linear-gradient(180deg, #fffaf1 0%, #fbf7ef 58%, #f5eee2 100%);
}

body.wzp-redesign:not(.wzp-market-home) .site-header {
  border-bottom-color: rgba(137, 104, 55, .16);
  background: rgba(255, 252, 246, .92);
  box-shadow: 0 12px 34px rgba(78, 58, 26, .08);
}

body.wzp-redesign:not(.wzp-market-home) .brand__name,
body.wzp-redesign:not(.wzp-market-home) .header-phone strong,
body.wzp-redesign:not(.wzp-market-home) h1,
body.wzp-redesign:not(.wzp-market-home) h2,
body.wzp-redesign:not(.wzp-market-home) h3,
body.wzp-redesign:not(.wzp-market-home) .main-nav a {
  color: #2a2116;
}

body.wzp-redesign:not(.wzp-market-home) .brand__tag,
body.wzp-redesign:not(.wzp-market-home) .header-phone span,
body.wzp-redesign:not(.wzp-market-home) .muted,
body.wzp-redesign:not(.wzp-market-home) .lead,
body.wzp-redesign:not(.wzp-market-home) .content-panel ul,
body.wzp-redesign:not(.wzp-market-home) .contact-tile span {
  color: #695d4d;
}

body.wzp-redesign:not(.wzp-market-home) .main-nav a:hover {
  background: rgba(185, 138, 67, .12);
}

body.wzp-redesign:not(.wzp-market-home) .burger {
  color: #352a1d;
  border-color: rgba(137, 104, 55, .22);
  background: #fffaf2;
}

body.wzp-redesign:not(.wzp-market-home) .mobile-nav {
  background: #fffaf2;
  border-color: rgba(137, 104, 55, .18);
}

body.wzp-redesign:not(.wzp-market-home) .mobile-nav a {
  color: #2a2116;
  border-color: rgba(137, 104, 55, .16);
}

body.wzp-redesign:not(.wzp-market-home) .inner-hero {
  border: 1px solid rgba(137, 104, 55, .18);
  background:
    linear-gradient(90deg, rgba(39, 29, 17, .72), rgba(39, 29, 17, .18)),
    var(--inner-image) center / cover no-repeat;
  box-shadow: 0 20px 60px rgba(79, 58, 27, .12);
}

body.wzp-redesign:not(.wzp-market-home) .inner-hero h1,
body.wzp-redesign:not(.wzp-market-home) .inner-hero .lead {
  color: #fffaf1;
}

body.wzp-redesign:not(.wzp-market-home) .content-panel,
body.wzp-redesign:not(.wzp-market-home) .contact-tile,
body.wzp-redesign:not(.wzp-market-home) .catalog-clean-card,
body.wzp-redesign:not(.wzp-market-home) .panel {
  border-color: rgba(137, 104, 55, .18);
  background: #fffdf8;
  box-shadow: 0 18px 48px rgba(79, 58, 27, .1);
}

body.wzp-redesign:not(.wzp-market-home) .field input,
body.wzp-redesign:not(.wzp-market-home) .field select,
body.wzp-redesign:not(.wzp-market-home) .field textarea,
body.wzp-redesign:not(.wzp-market-home) .compact-form input,
body.wzp-redesign:not(.wzp-market-home) .compact-form textarea {
  color: #2a2116;
  background: #fff;
  border-color: rgba(137, 104, 55, .22);
}

body.wzp-redesign:not(.wzp-market-home) .ghost-btn {
  color: #352a1d;
  background: rgba(255, 253, 248, .92);
  border-color: rgba(137, 104, 55, .24);
}

body.wzp-redesign:not(.wzp-market-home) .btn--green {
  color: #fff;
  background: linear-gradient(135deg, #246044, #2f7359);
}

body.wzp-redesign:not(.wzp-market-home) .site-footer {
  border-top-color: rgba(137, 104, 55, .18);
  background: #fff8ec;
}

body.wzp-redesign:not(.wzp-market-home) .footer-links a {
  color: #4b3e2c;
}

/* Market v2 homepage structure. */
body.wzp-market-v2 {
  --market-wrap: min(1180px, calc(100% - 32px));
  background: #f8f2e8;
}

.market-topline {
  min-height: 38px;
  display: flex;
  justify-content: center;
  gap: 14px;
  align-items: center;
  padding: 7px 16px;
  color: #3b2a15;
  background: #ead4aa;
  font-weight: 800;
  font-size: 13px;
}

.market-topline a {
  color: #3b2a15;
}

.market-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(137, 104, 55, .16);
  background: rgba(255, 252, 246, .94);
  backdrop-filter: blur(14px);
}

.market-header__inner {
  width: var(--market-wrap);
  min-height: 70px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(260px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
}

.market-logo {
  display: grid;
  gap: 2px;
  color: #2a2116;
  text-decoration: none;
}

.market-logo--image {
  width: 154px;
  min-width: 154px;
}

.market-logo--image picture,
.market-logo--image img {
  display: block;
  width: 100%;
  height: auto;
}

.market-logo strong {
  font-size: 20px;
  line-height: 1;
}

.market-logo span {
  color: #766956;
  font-size: 12px;
}

.market-search {
  min-height: 44px;
  display: grid;
  grid-template-columns: 1fr 44px;
  border: 1px solid rgba(137, 104, 55, .2);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.market-search input {
  min-width: 0;
  border: 0;
  padding: 0 14px;
  color: #2a2116;
  background: transparent;
  font: inherit;
}

.market-search button {
  border: 0;
  color: #2a2116;
  background: #f0ddba;
  font-size: 22px;
  cursor: pointer;
}

.market-header__nav {
  display: flex;
  gap: 8px;
}

.market-header__nav a {
  color: #3f3324;
  text-decoration: none;
  font-weight: 800;
  font-size: 13px;
}

.market-request {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(137, 104, 55, .24);
  border-radius: 8px;
  color: #2a2116;
  background: #fff8ea;
  text-decoration: none;
}

.market-request span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: #ead4aa;
}

.wzp-market-v2 .burger {
  display: none;
}

.market-v2-hero,
.market-v2-section {
  width: var(--market-wrap);
  margin: 0 auto;
}

.market-v2-hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr);
  gap: 28px;
  align-items: center;
  margin-top: 22px;
  padding: 26px;
  border: 1px solid rgba(137, 104, 55, .16);
  border-radius: 8px;
  background: linear-gradient(135deg, #fffdf8, #f2e3c7);
  box-shadow: 0 18px 50px rgba(79, 58, 27, .1);
}

.market-v2-hero__copy h1 {
  max-width: 620px;
  margin-bottom: 14px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: clamp(32px, 3.4vw, 48px);
  line-height: 1.08;
  font-weight: 800;
}

.market-v2-hero__copy p {
  max-width: 560px;
  color: #695d4d;
  font-size: 17px;
  line-height: 1.55;
}

.market-chip {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: #9c6e2e;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-v2-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.market-v2-hero__media {
  overflow: hidden;
  border-radius: 8px;
  background: #f1e5d2;
}

.market-v2-hero__media img {
  width: 100%;
  height: min(48vw, 430px);
  min-height: 280px;
  object-fit: cover;
  display: block;
  filter: none;
}

.market-v2-section {
  padding: 28px 0 0;
}

.market-v2-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 14px;
}

.market-v2-head h2,
.market-v2-calc h2 {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: clamp(23px, 2.5vw, 30px);
  line-height: 1.1;
  font-weight: 800;
}

.market-v2-head a {
  color: #6f4f20;
  font-weight: 900;
}

.market-v2-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.market-v2-category,
.market-v2-product,
.market-v2-decors a,
.market-v2-calc,
.market-v2-benefits article {
  border: 1px solid rgba(137, 104, 55, .16);
  border-radius: 8px;
  background: #fffdf8;
  box-shadow: 0 14px 38px rgba(79, 58, 27, .08);
}

.market-v2-category {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  min-height: 154px;
  padding: 14px;
  color: #2a2116;
  text-decoration: none;
}

.market-v2-category img {
  width: 150px;
  height: 126px;
  object-fit: contain;
  border-radius: 8px;
  background: #f3eadc;
}

.market-v2-category h3 {
  margin-bottom: 8px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.market-v2-category p {
  color: #695d4d;
  line-height: 1.45;
}

.market-v2-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.market-v2-product {
  display: grid;
  grid-template-rows: 170px 1fr;
  overflow: hidden;
}

.market-v2-product img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  display: block;
  padding: 14px;
  background: #f4eadc;
}

.market-v2-product__body {
  display: grid;
  gap: 7px;
  padding: 14px;
}

.market-v2-product__body span {
  color: #9c6e2e;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.market-v2-product__body h3 {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.market-v2-product__body p {
  margin: 0;
  color: #695d4d;
  font-size: 13px;
  line-height: 1.38;
}

.market-v2-product__body b {
  color: #2a2116;
  font-size: 15px;
}

.market-v2-product__body a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  text-decoration: none;
  font-weight: 900;
}

.market-v2-decors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.market-v2-decors a {
  display: grid;
  gap: 10px;
  padding: 12px;
  color: #2a2116;
  text-decoration: none;
}

.market-v2-decors span {
  height: 58px;
  border: 1px solid rgba(137, 104, 55, .16);
  border-radius: 7px;
  background: var(--swatch);
}

.market-v2-calc {
  display: grid;
  grid-template-columns: minmax(230px, .7fr) minmax(0, 1.3fr);
  gap: 18px;
  padding: 22px;
  background: linear-gradient(135deg, #fffdf8, #f3e4ca);
}

.market-v2-calc p {
  color: #695d4d;
  line-height: 1.5;
}

.market-v2-calc__fields {
  display: grid;
  grid-template-columns: 180px 1fr 210px auto;
  gap: 10px;
  align-items: end;
}

.market-v2-calc label {
  display: grid;
  gap: 6px;
  color: #70614e;
  font-size: 12px;
  font-weight: 800;
}

.market-v2-calc input,
.market-v2-calc select {
  min-height: 44px;
  border: 1px solid rgba(137, 104, 55, .22);
  border-radius: 8px;
  padding: 10px 12px;
  color: #2a2116;
  background: #fff;
  font: inherit;
}

.market-v2-calc .form-status {
  grid-column: 1 / -1;
  color: #695d4d;
  font-size: 13px;
}

.market-v2-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding-bottom: 28px;
}

.market-v2-benefits article {
  display: grid;
  gap: 6px;
  padding: 16px;
}

.market-v2-benefits b {
  color: #2a2116;
  font-size: 18px;
}

.market-v2-benefits span {
  color: #695d4d;
  line-height: 1.4;
}

.market-v2-seo {
  padding: 28px 0 56px;
  color: #3d3328;
}

.market-v2-seo h2 {
  max-width: 820px;
  margin: 0 0 12px;
  color: #241c13;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
}

.market-v2-seo p {
  max-width: 920px;
  margin: 0 0 12px;
  color: #655848;
  font-size: 16px;
  line-height: 1.65;
}

.wzp-market-v2 .site-footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .market-header__inner {
    grid-template-columns: minmax(120px, 1fr) auto auto;
  }

  .market-logo--image {
    width: 136px;
    min-width: 120px;
  }

  .market-header__nav,
  .market-request {
    display: none;
  }

  .wzp-market-v2 .burger {
    display: block;
  }

  .market-v2-hero,
  .market-v2-calc {
    grid-template-columns: 1fr;
  }

  .market-v2-products,
  .market-v2-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-v2-calc__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .market-topline {
    justify-content: space-between;
    font-size: 12px;
  }

  .market-header__inner,
  .market-v2-hero,
  .market-v2-section {
    width: min(100% - 24px, 1180px);
  }

  .market-header__inner {
    min-height: 64px;
    grid-template-columns: minmax(112px, 1fr) auto;
  }

  .market-logo--image {
    width: 128px;
    min-width: 112px;
  }

  .market-search {
    grid-column: 1 / -1;
    order: 3;
    width: 100%;
    margin-bottom: 10px;
  }

  .market-v2-hero {
    gap: 16px;
    margin-top: 14px;
    padding: 16px;
  }

  .market-v2-hero__copy h1 {
    font-size: 30px;
  }

  .market-v2-hero__copy p {
    font-size: 15px;
  }

  .market-v2-hero__media img {
    height: 250px;
    min-height: 250px;
  }

  .market-v2-categories,
  .market-v2-products,
  .market-v2-benefits,
  .market-v2-calc__fields {
    grid-template-columns: 1fr;
  }

  .market-v2-category {
    grid-template-columns: 112px 1fr;
    min-height: 128px;
  }

  .market-v2-category img {
    width: 112px;
    height: 104px;
  }

  .market-v2-category h3 {
    font-size: 20px;
  }

  .market-v2-decors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-v2-product {
    grid-template-rows: 150px 1fr;
  }

  .market-v2-product img {
    height: 150px;
  }
}

/* Private reference homepage, 2026-07-08 */
.wzp-private-ref {
  --ref-ink: #161922;
  --ref-muted: #6e7079;
  --ref-line: #e6e1d8;
  --ref-soft: #f8f6f1;
  --ref-gold: #c8a06b;
  --ref-gold-dark: #805421;
  --ref-shadow: 0 16px 44px rgba(35, 28, 18, .09);
  min-height: 100vh;
  color: var(--ref-ink);
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 190, 143, .16), transparent 34%),
    linear-gradient(180deg, #fffaf1 0%, #fbf7ef 48%, #f5eee2 100%);
  font-family: Inter, Montserrat, Arial, sans-serif;
}

.wzp-private-ref *,
.wzp-private-ref *::before,
.wzp-private-ref *::after {
  box-sizing: border-box;
}

.wzp-private-ref a {
  color: inherit;
}

.wzp-private-ref .ref-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border: 0;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  box-shadow: none;
}

.ref-header__inner,
.ref-page {
  width: min(100% - 44px, 1260px);
  margin: 0 auto;
}

.ref-header__inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: 54px 1fr auto;
  align-items: center;
  gap: 24px;
}

.ref-logo {
  width: fit-content;
  height: 82px;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.ref-logo picture,
.ref-logo img {
  display: block;
}

.ref-logo img {
  width: auto;
  height: 78px;
  object-fit: contain;
}

.ref-header__actions {
  display: flex;
  align-items: center;
  gap: 22px;
}

.ref-icon-btn,
.ref-search button,
.ref-cart {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ref-ink);
  background: transparent;
  cursor: pointer;
}

.ref-icon-btn.burger {
  position: relative;
  display: grid;
}

.ref-icon-btn.burger span,
.ref-icon-btn.burger::before,
.ref-icon-btn.burger::after {
  content: "";
  width: 31px;
  height: 3px;
  display: block;
  border-radius: 999px;
  background: var(--ref-ink);
}

.ref-icon-btn.burger {
  gap: 6px;
}

.ref-search {
  display: flex;
  align-items: center;
}

.ref-search input {
  width: 0;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.ref-search svg,
.ref-cart svg {
  width: 43px;
  height: 43px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ref-cart {
  position: relative;
  text-decoration: none;
}

.ref-cart span {
  position: absolute;
  top: 3px;
  right: 0;
  min-width: 25px;
  height: 25px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--ref-gold);
  font-size: 14px;
  font-weight: 700;
}

.ref-mobile-nav {
  width: min(100% - 44px, 1260px);
  margin: 0 auto 14px;
  padding: 14px;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: #fff;
  display: none;
}

.ref-mobile-nav a {
  padding: 10px 0;
  color: var(--ref-ink);
  text-decoration: none;
  font-weight: 600;
}

.ref-page {
  display: grid;
  gap: 22px;
  padding-bottom: 42px;
}

.ref-hero {
  position: relative;
  min-height: 585px;
  overflow: hidden;
  display: flex;
  align-items: center;
  border-radius: 24px;
  background: #f7f4ee;
  box-shadow: var(--ref-shadow);
}

.ref-hero:not(.ref-hero--slider) {
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.22) 64%, rgba(255,255,255,0) 100%),
    url("/assets/redesign/private-ref/hero-right.webp") right center / auto 100% no-repeat,
    #f7f4ee;
}

.ref-hero__slides {
  position: absolute;
  inset: 0;
}

.ref-hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.22) 64%, rgba(255,255,255,0) 100%),
    var(--hero-image) var(--hero-position, right center) / var(--hero-size, auto 100%) no-repeat,
    #f7f4ee;
  transition: opacity .24s ease;
}

.ref-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.ref-hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.ref-hero__media img {
  position: absolute;
  top: 0;
  right: 0;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
}

.ref-hero__slide--sills {
  --hero-image: url("/assets/redesign/private-ref/hero-right.webp");
  background: #f7f4ee;
}

.ref-hero__slide--sills::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 38%, rgba(255,255,255,.22) 64%, rgba(255,255,255,0) 100%);
  pointer-events: none;
}

.ref-hero__slide--slopes {
  --hero-image: url("/assets/redesign/private-ref/cat-slopes.webp");
}

.ref-hero__slide--vsn {
  --hero-image: url("/assets/vsn/home-vsn-window-screen.webp");
  background:
    linear-gradient(90deg, rgba(255,255,255,.97) 0%, rgba(255,255,255,.91) 40%, rgba(255,255,255,.28) 68%, rgba(255,255,255,0) 100%),
    var(--hero-image) var(--hero-position, right center) / var(--hero-size, auto 100%) no-repeat,
    #f7f4ee;
}

.ref-hero__copy {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding-left: 66px;
}

.ref-hero--slider .ref-hero__copy {
  max-width: 720px;
}

.ref-hero h1,
.ref-hero h2 {
  margin: 0 0 22px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 4.2vw, 64px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}

.ref-hero--slider h2 {
  font-size: clamp(40px, 3.7vw, 58px);
}

.ref-hero p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 22px;
  line-height: 1.45;
}

.ref-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 52px;
}

.ref-btn {
  min-height: 66px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 34px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}

.ref-btn--gold {
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  box-shadow: 0 12px 26px rgba(176, 130, 72, .25);
}

.wzp-private-ref .ref-btn--gold {
  color: #fff;
}

.ref-btn--light {
  border-color: rgba(31, 34, 41, .28);
  color: #22242a;
  background: rgba(255, 255, 255, .72);
}

.ref-dots {
  position: absolute;
  left: 50%;
  bottom: 40px;
  display: flex;
  gap: 32px;
  transform: translateX(-50%);
}

.ref-dots span,
.ref-dots button {
  width: 44px;
  height: 44px;
  display: block;
  border: 0;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 9px, transparent 10px);
  cursor: pointer;
  padding: 0;
}

.ref-dots span:first-child,
.ref-dots button.is-active {
  background: radial-gradient(circle, var(--ref-gold) 0 9px, transparent 10px);
}

.ref-categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ref-category {
  position: relative;
  min-height: 256px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  padding: 40px 38px 28px;
  color: var(--ref-ink);
  background: #f8f7f4;
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(26, 25, 22, .06);
}

.ref-category::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

.ref-category--sills::after {
  background-image: url("/assets/redesign/private-ref/cat-sills.webp");
  background-position: right 20px bottom 18px;
  background-size: 56% auto;
}

.ref-category--slopes::after {
  background-image: url("/assets/redesign/private-ref/cat-slopes.webp");
  background-position: right bottom;
  background-size: 48% auto;
}

.ref-category--vsn::after {
  background-image:
    linear-gradient(90deg, #f8f7f4 0%, rgba(248,247,244,.94) 42%, rgba(248,247,244,.12) 68%, rgba(248,247,244,0) 100%),
    url("/assets/vsn/home-vsn-window-screen.webp");
  background-position: center, right center;
  background-size: 100% 100%, auto 100%;
}

.ref-category--trims::after {
  background-image: url("/assets/redesign/private-ref/cat-trims.webp");
  background-position: right 24px bottom 16px;
  background-size: 57% auto;
}

.ref-category--parts::after {
  background-image: url("/assets/redesign/private-ref/cat-accessories.webp");
  background-position: right 18px bottom 18px;
  background-size: 56% auto;
}

.ref-category h2,
.ref-category p,
.ref-category span {
  position: relative;
  z-index: 1;
}

.ref-category h2 {
  margin: 0 0 18px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.05;
}

.ref-category p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 20px;
  line-height: 1.35;
}

.ref-category span {
  margin-top: auto;
  font-size: 42px;
  line-height: 1;
}

.ref-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  padding: 28px 36px;
  background: #fff;
  box-shadow: var(--ref-shadow);
}

.ref-benefits article {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

.ref-benefits svg {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  stroke: var(--ref-gold);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ref-benefits b,
.ref-benefits span {
  display: block;
}

.ref-benefits b {
  margin-bottom: 6px;
  font-size: 21px;
  font-weight: 600;
}

.ref-benefits span {
  color: var(--ref-muted);
  font-size: 18px;
}

.ref-section {
  display: grid;
  gap: 18px;
}

.ref-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.ref-section__head h2 {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 0;
}

.ref-section__head a {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ref-gold-dark);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
}

.ref-section__head span {
  font-size: 32px;
  line-height: 1;
}

.ref-products,
.ref-articles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.ref-product,
.ref-article,
.ref-calc__form {
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(26, 25, 22, .055);
}

.ref-product {
  position: relative;
}

.ref-product__media {
  position: relative;
  height: 210px;
  padding: 18px 18px 0;
}

.ref-heart {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 0;
  color: var(--ref-ink);
  background: rgba(255, 255, 255, .82);
  border-radius: 50%;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.ref-product__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.home-popular .ref-product__media > a {
  width: 100%;
  height: 100%;
  display: block;
}

.home-popular .ref-product h3 a {
  color: inherit;
  text-decoration: none;
}

.home-popular .ref-product__bottom button.ref-product__cart {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  cursor: pointer;
}

.home-popular .ref-product__bottom button.ref-product__cart svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ref-product__body {
  display: grid;
  gap: 10px;
  padding: 0 20px 22px;
}

.ref-brand {
  width: fit-content;
  border: 1px solid rgba(200, 160, 107, .75);
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--ref-gold-dark);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ref-product h3 {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.32;
}

.ref-product__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ref-product__bottom b {
  font-size: 25px;
  font-weight: 700;
  white-space: nowrap;
}

.ref-product__bottom b span {
  color: var(--ref-ink);
  font-size: 17px;
  font-weight: 500;
}

.ref-product__bottom a {
  width: 68px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  text-decoration: none;
}

.ref-product__bottom a svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ref-article {
  position: relative;
  min-height: 255px;
  display: grid;
  align-content: start;
  padding: 22px;
  color: var(--ref-ink);
  text-decoration: none;
}

.ref-article img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.ref-article::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.83) 47%, rgba(255,255,255,.16) 100%);
}

.ref-article span,
.ref-article h3,
.ref-article p {
  position: relative;
  z-index: 2;
}

.ref-article span {
  width: fit-content;
  margin-bottom: 18px;
  border: 1px solid rgba(200, 160, 107, .55);
  border-radius: 9px;
  padding: 4px 11px;
  color: #9f7443;
  background: rgba(255,255,255,.7);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ref-article h3 {
  margin: 0 0 14px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.22;
}

.ref-article p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 16px;
  line-height: 1.45;
}

.ref-calc {
  padding-top: 4px;
}

.ref-calc__form {
  display: grid;
  grid-template-columns: 1.2fr minmax(190px, .55fr) minmax(190px, .55fr) auto;
  gap: 16px;
  align-items: end;
  padding: 24px;
}

.ref-calc__form h2 {
  margin: 4px 0 8px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 28px;
  font-weight: 600;
}

.ref-calc__form p {
  margin: 0;
  color: var(--ref-muted);
  line-height: 1.45;
}

.ref-calc__form > div > span {
  color: var(--ref-gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.ref-calc__form label {
  display: grid;
  gap: 7px;
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 700;
}

.ref-calc__form input {
  min-height: 54px;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  padding: 0 16px;
  color: var(--ref-ink);
  background: #fff;
  font: inherit;
}

.ref-calc__form .form-status {
  grid-column: 1 / -1;
  color: var(--ref-muted);
  font-size: 14px;
}

.ref-seo {
  padding: 8px 0 34px;
}

.ref-seo h2 {
  margin: 0 0 10px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 24px;
  font-weight: 600;
}

.ref-seo p {
  max-width: 920px;
  margin: 0;
  color: var(--ref-muted);
  font-size: 16px;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .ref-header__inner,
  .ref-page,
  .ref-mobile-nav {
    width: min(100% - 18px, 720px);
  }

  .ref-header__inner {
    min-height: 74px;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
  }

  .ref-logo {
    height: 68px;
    justify-self: start;
  }

  .ref-logo img {
    height: 62px;
  }

  .ref-header__actions {
    gap: 9px;
  }

  .ref-icon-btn,
  .ref-search button,
  .ref-cart {
    width: 38px;
    height: 38px;
  }

  .ref-icon-btn.burger span,
  .ref-icon-btn.burger::before,
  .ref-icon-btn.burger::after {
    width: 25px;
    height: 2px;
  }

  .ref-icon-btn.burger {
    gap: 5px;
  }

  .ref-search svg,
  .ref-cart svg {
    width: 34px;
    height: 34px;
  }

  .ref-cart span {
    top: -2px;
    right: -2px;
    min-width: 21px;
    height: 21px;
    font-size: 12px;
  }

  .ref-page {
    gap: 9px;
    padding-bottom: 24px;
  }

  .ref-hero {
    min-height: 179px;
    border-radius: 10px;
  }

  .ref-hero.ref-hero--slider {
    min-height: 315px;
  }

  .ref-hero:not(.ref-hero--slider) {
    background:
      linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 41%, rgba(255,255,255,.15) 69%, rgba(255,255,255,0) 100%),
      url("/assets/redesign/private-ref/hero-right.webp") right center / auto 100% no-repeat,
      #f7f4ee;
  }

  .ref-hero__slide {
    --hero-position: right center;
    --hero-size: auto 100%;
    background:
      linear-gradient(90deg, rgba(255,255,255,.95) 0%, rgba(255,255,255,.88) 41%, rgba(255,255,255,.15) 69%, rgba(255,255,255,0) 100%),
      var(--hero-image) var(--hero-position) / var(--hero-size) no-repeat,
      #f7f4ee;
  }

  .ref-hero__slide--sills {
    background: #f7f4ee;
  }

  .ref-hero__slide--slopes {
    --hero-position: right -8px center;
  }

  .ref-hero__slide--vsn {
    --hero-position: right -32px center;
  }

  .ref-hero__copy {
    max-width: 225px;
    padding-left: 20px;
  }

  .ref-hero--slider .ref-hero__copy {
    max-width: 235px;
  }

  .ref-hero h1,
  .ref-hero h2 {
    margin-bottom: 8px;
    font-size: 28px;
    line-height: 1.02;
  }

  .ref-hero--slider h2 {
    font-size: 26px;
  }

  .ref-hero p {
    font-size: 12px;
    line-height: 1.42;
  }

  .ref-hero__actions {
    gap: 7px;
    margin-top: 18px;
  }

  .ref-btn {
    min-height: 32px;
    border-radius: 999px;
    padding: 0 11px;
    font-size: 11px;
  }

  .ref-dots {
    bottom: 14px;
    gap: 14px;
  }

  .ref-dots span,
  .ref-dots button {
    width: 44px;
    height: 44px;
    background: radial-gradient(circle, #fff 0 4px, transparent 5px);
  }

  .ref-dots span:first-child,
  .ref-dots button.is-active {
    background: radial-gradient(circle, var(--ref-gold) 0 4px, transparent 5px);
  }

  .ref-categories {
    gap: 6px;
  }

  .ref-category {
    min-height: 80px;
    border-radius: 8px;
    padding: 14px 10px 10px;
  }

  .ref-category h2 {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.1;
  }

  .ref-category p {
    font-size: 10px;
    line-height: 1.35;
  }

  .ref-category span {
    font-size: 20px;
  }

  .ref-category--sills::after {
    background-position: right 5px bottom 11px;
    background-size: 58% auto;
  }

  .ref-category--slopes::after {
    background-position: right bottom;
    background-size: 48% auto;
  }

  .ref-category--trims::after {
    background-position: right 4px bottom 10px;
    background-size: 58% auto;
  }

  .ref-category--parts::after {
    background-position: right 4px bottom 12px;
    background-size: 60% auto;
  }

  .ref-benefits {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    border-radius: 8px;
    padding: 12px 11px;
  }

  .ref-benefits article {
    gap: 5px;
  }

  .ref-benefits svg {
    width: 24px;
    height: 24px;
  }

  .ref-benefits b {
    margin-bottom: 2px;
    font-size: 8.7px;
    line-height: 1.15;
  }

  .ref-benefits span {
    font-size: 8px;
    line-height: 1.25;
  }

  .ref-section {
    gap: 8px;
    padding-top: 12px;
  }

  .ref-section__head h2 {
    font-size: 19px;
  }

  .ref-section__head a {
    gap: 7px;
    font-size: 11px;
  }

  .ref-section__head span {
    font-size: 22px;
  }

  .ref-products,
  .ref-articles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .ref-product,
  .ref-article {
    border-radius: 8px;
  }

  .ref-heart {
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    font-size: 17px;
  }

  .ref-product__media {
    height: 72px;
    padding: 7px 7px 0;
  }

  .ref-product__media img {
    border-radius: 5px;
  }

  .ref-product__body {
    gap: 5px;
    padding: 0 7px 9px;
  }

  .ref-brand {
    border-radius: 999px;
    padding: 2px 5px;
    font-size: 6.8px;
    letter-spacing: .06em;
  }

  .ref-product h3 {
    font-size: 10.5px;
    line-height: 1.28;
  }

  .ref-product__bottom {
    gap: 4px;
  }

  .ref-product__bottom b {
    font-size: 14px;
  }

  .ref-product__bottom b span {
    font-size: 9px;
  }

  .ref-product__bottom a {
    width: 31px;
    height: 28px;
    border-radius: 8px;
  }

  .ref-product__bottom a svg {
    width: 15px;
    height: 15px;
  }

  .ref-article {
    min-height: 122px;
    padding: 10px 7px;
  }

  .ref-article span {
    margin-bottom: 8px;
    border-radius: 5px;
    padding: 2px 5px;
    font-size: 6.8px;
  }

  .ref-article h3 {
    margin-bottom: 8px;
    font-size: 11px;
    line-height: 1.25;
  }

  .ref-article p {
    font-size: 8px;
    line-height: 1.35;
  }

  .ref-calc__form {
    grid-template-columns: 1fr;
    gap: 10px;
    border-radius: 10px;
    padding: 16px;
  }

  .ref-calc__form h2 {
    font-size: 20px;
  }

  .ref-seo {
    padding: 8px 0 22px;
  }

  .ref-seo h2 {
    font-size: 18px;
  }

  .ref-seo p {
    font-size: 12px;
  }
}

@media (min-width: 921px) {
  .ref-mobile-nav {
    display: none;
  }
}

@media (max-width: 920px) {
  .ref-header.is-open .ref-mobile-nav {
    display: grid;
  }
}

/* Inner pages shell (wzp-inner), 2026-07-08 */
.wzp-inner .ref-header__inner {
  grid-template-columns: 54px auto 1fr auto;
}

.ref-inline-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  padding-left: 8px;
}

.ref-inline-nav a {
  color: var(--ref-ink);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

.ref-inline-nav a:hover {
  color: var(--ref-gold-dark);
}

.ref-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
  color: var(--ref-muted);
  font-size: 14px;
}

.ref-breadcrumb a {
  color: var(--ref-muted);
  text-decoration: none;
}

.ref-breadcrumb a:hover {
  color: var(--ref-gold-dark);
}

.ref-breadcrumb span[aria-hidden] {
  color: var(--ref-line);
}

.wzp-inner .ref-hero--inner {
  min-height: 300px;
  align-items: center;
}

.wzp-inner .ref-hero--inner .ref-hero__copy {
  max-width: 700px;
  padding-left: 56px;
}

.wzp-inner .ref-hero--inner h1 {
  font-size: clamp(34px, 3.4vw, 50px);
  margin-bottom: 14px;
}

.wzp-inner .ref-hero--inner p {
  font-size: 19px;
}

.wzp-inner .ref-hero--inner .ref-hero__actions {
  margin-top: 30px;
}

.ref-swatch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px;
}

.ref-swatch {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  background: #fff;
  text-decoration: none;
  color: var(--ref-ink);
  box-shadow: 0 8px 22px rgba(26, 25, 22, .05);
  transition: box-shadow .15s ease, transform .15s ease;
}

.ref-swatch:hover {
  box-shadow: 0 14px 30px rgba(26, 25, 22, .1);
  transform: translateY(-2px);
}

.ref-swatch__media {
  height: 108px;
  padding: 10px 10px 0;
}

.ref-swatch__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.ref-swatch span {
  display: block;
  padding: 10px 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
}

.ref-services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.ref-services article {
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  padding: 24px 26px;
  background: #fff;
}

.ref-services h3 {
  margin: 0 0 8px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 19px;
  font-weight: 600;
}

.ref-services p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 15px;
  line-height: 1.5;
}

.ref-strip {
  display: grid;
  gap: 12px;
}

.ref-strip__head {
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ref-strip__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ref-strip__list a {
  border: 1px solid var(--ref-line);
  border-radius: 10px;
  padding: 9px 14px;
  color: var(--ref-muted);
  text-decoration: none;
  font-size: 13.5px;
  background: #fff;
}

.ref-strip__list a:hover {
  color: var(--ref-gold-dark);
  border-color: var(--ref-gold);
}

.ref-footer {
  margin-top: 12px;
  border-top: 1px solid var(--ref-line);
  background: var(--ref-soft);
}

.ref-footer__inner {
  width: min(100% - 44px, 1260px);
  margin: 0 auto;
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 28px;
}

.ref-footer__brand .ref-logo {
  height: 60px;
  margin-bottom: 12px;
}

.ref-footer__brand .ref-logo img {
  height: 56px;
}

.ref-footer__brand p {
  max-width: 280px;
  margin: 0;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.5;
}

.ref-footer h4,
.ref-footer__title {
  margin: 0 0 14px;
  color: var(--ref-gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.ref-footer__title {
  margin: 0 0 14px;
}

.ref-footer nav {
  display: grid;
  gap: 10px;
}

.ref-footer a {
  color: var(--ref-ink);
  text-decoration: none;
  font-size: 14.5px;
}

.ref-footer a:hover {
  color: var(--ref-gold-dark);
}

.ref-footer__bottom {
  width: min(100% - 44px, 1260px);
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid var(--ref-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ref-muted);
  font-size: 13px;
}

.ref-footer__bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.ref-footer__bottom a {
  color: var(--ref-muted);
  text-decoration: none;
  font-size: 13px;
}

.ref-footer__bottom a:hover {
  color: var(--ref-gold-dark);
}

@media (max-width: 920px) {
  .wzp-inner .ref-header__inner {
    grid-template-columns: 42px 1fr auto;
  }

  .ref-inline-nav {
    display: none;
  }

  .ref-breadcrumb {
    font-size: 11px;
    margin-top: 8px;
  }

  .wzp-inner .ref-hero--inner {
    min-height: 179px;
  }

  .wzp-inner .ref-hero--inner .ref-hero__copy {
    padding-left: 20px;
    max-width: 225px;
  }

  .wzp-inner .ref-hero--inner h1 {
    font-size: 26px;
  }

  .wzp-inner .ref-hero--inner p {
    font-size: 12px;
  }

  .ref-swatch-grid {
    grid-template-columns: repeat(auto-fill, minmax(108px, 1fr));
    gap: 8px;
  }

  .ref-swatch__media {
    height: 64px;
    padding: 6px 6px 0;
  }

  .ref-swatch span {
    padding: 6px 8px 10px;
    font-size: 10.5px;
  }

  .ref-services {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .ref-services article {
    padding: 16px 18px;
  }

  .ref-strip__list a {
    padding: 7px 11px;
    font-size: 12px;
  }

  .ref-footer__inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 32px 0 20px;
  }

  .ref-footer__brand {
    grid-column: 1 / -1;
  }

  .ref-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Setki VSN market page (wzp-inner), 2026-07-09 v3 — one-to-one with design ref 4CE85904 */
body.vsn-page .ref-page {
  width: min(100% - 32px, 900px);
}

body.vsn-page .ref-header__inner,
body.vsn-page .ref-mobile-nav {
  width: min(100% - 32px, 900px);
}

.wzp-inner .ref-header--simple .ref-header__inner {
  grid-template-columns: 54px 1fr auto;
}

.vsn-header__brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ref-ink);
}

.vsn-header__brand svg {
  width: 32px;
  height: 32px;
  stroke: var(--ref-gold-dark);
  stroke-width: 1.6;
  fill: none;
}

.vsn-header__brand b {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
}

.vsn-header__brand span {
  color: var(--ref-gold-dark);
  font-weight: 500;
  font-size: 17px;
}

.vsn-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 0;
  min-height: 0;
  padding: 34px 36px;
  overflow: hidden;
}

.vsn-hero__copy p {
  margin: 14px 0 22px;
}

.vsn-hero__media {
  height: 100%;
  min-height: 260px;
  border-radius: 16px;
  overflow: hidden;
}

.vsn-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vsn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}

.vsn-badges span {
  border: 1px solid var(--ref-line);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--ref-ink);
  background: #fff;
  font-size: 13.5px;
  font-weight: 600;
}

.vsn-grid2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.vsn-tile {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: stretch;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  background: #f8f7f4;
  color: var(--ref-ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(26, 25, 22, .06);
}

.vsn-tile__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 18px 0 16px 20px;
}

.vsn-tile h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.vsn-tile p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 13px;
  line-height: 1.35;
}

.vsn-tile span.arrow {
  margin-top: auto;
  font-size: 22px;
  line-height: 1;
}

.vsn-tile__media {
  position: relative;
}

.vsn-tile__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vsn-tile__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #f8f7f4 0%, rgba(248, 247, 244, 0) 22%);
}

.ref-benefits.vsn-benefits {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 20px 18px;
}

.ref-benefits.vsn-benefits article {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.ref-benefits.vsn-benefits svg {
  width: 40px;
  height: 40px;
}

.ref-benefits.vsn-benefits b {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

#calculator .vsn-calc__card {
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ref-shadow);
}

#calculator .vsn-calc__card > h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 600;
}

#calculator .vsn-calc__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 20px;
  align-items: start;
}

#calculator .vsn-calc__fields {
  display: grid;
  gap: 16px;
}

#calculator .vsn-calc__fields-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1.3fr;
  gap: 12px;
  align-items: end;
}

#calculator .vsn-calc__fields-row--2 {
  grid-template-columns: 1fr 1.6fr;
}

#calculator .vsn-calc__label {
  display: block;
  margin-bottom: 8px;
  color: var(--ref-muted);
  font-size: 12.5px;
  font-weight: 700;
}

#calculator .vsn-calc__fields input[type="number"] {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ref-ink);
  background: #fff;
  font: inherit;
  font-size: 16px;
}

#calculator .vsn-calc__x {
  padding-bottom: 13px;
  color: var(--ref-muted);
  font-size: 16px;
}

#calculator .pill-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#calculator .pill-switch input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}

#calculator .pill-switch label {
  cursor: pointer;
}

#calculator .pill-switch span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 14px;
  color: var(--ref-ink);
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
}

#calculator .pill-switch input:checked + span {
  color: #7b5a30;
  background: #f1dfc4;
  border-color: transparent;
}

#calculator .qty-control {
  display: grid;
  grid-template-columns: 40px 1fr 40px;
  align-items: center;
  max-width: 150px;
  min-height: 46px;
  border: 1px solid var(--ref-line);
  border-radius: 999px;
  overflow: hidden;
}

#calculator .qty-control button {
  height: 44px;
  border: 0;
  background: #fff;
  color: var(--ref-ink);
  font-size: 20px;
  cursor: pointer;
}

#calculator .qty-control output {
  text-align: center;
  font-size: 16px;
  font-weight: 700;
}

#calculator .add-row {
  width: fit-content;
  min-height: 42px;
  padding: 0 16px;
  color: var(--ref-gold-dark);
  background: #fff;
  border: 1px dashed var(--ref-gold);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

#calculator .vsn-calc__total {
  display: grid;
  gap: 4px;
  padding: 18px;
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  background: var(--ref-soft);
  text-align: right;
  align-self: stretch;
}

#calculator .vsn-calc__total > span:first-child {
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 600;
}

#calculator .vsn-calc__total strong {
  color: var(--ref-ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.15;
}

#calculator .vsn-calc__total small {
  color: var(--ref-muted);
  font-size: 13px;
}

#calculator .min-warning {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--ref-muted);
  font-size: 13px;
}

#calculator .min-warning.show {
  display: flex;
}

#calculator .min-warning svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  stroke: var(--ref-gold-dark);
  stroke-width: 1.8;
  fill: none;
}

#calculator .positions-list {
  display: grid;
  gap: 12px;
}

#calculator .empty-positions {
  display: none;
}

#calculator .position-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  align-items: start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
}

#calculator .position-card.is-active {
  border-color: var(--ref-gold);
  box-shadow: inset 0 0 0 1px var(--ref-gold);
}

#calculator .position-card b {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

#calculator .position-card span {
  display: block;
  color: var(--ref-muted);
  font-size: 13px;
}

#calculator .position-card em {
  display: inline-flex;
  margin-top: 8px;
  padding: 5px 8px;
  color: #7b5a30;
  background: #fbf1de;
  border-radius: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
}

#calculator .position-card > strong {
  color: var(--ref-gold-dark);
  font-size: 17px;
  white-space: nowrap;
}

#calculator .position-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

#calculator .position-actions button {
  min-height: 34px;
  padding: 7px 10px;
  color: var(--ref-gold-dark);
  background: var(--ref-soft);
  border: 1px solid var(--ref-line);
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

#calculator .position-actions button[data-action="remove"] {
  color: #9c3b2f;
  background: #fdf1ee;
  border-color: #f2d6cf;
}

.anticat-card {
  display: grid;
  gap: 14px;
  padding: 26px;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: var(--ref-soft);
}

.anticat-card h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.anticat-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ref-muted);
  font-size: 14.5px;
  line-height: 1.6;
}

.vsn-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.vsn-steps__item {
  position: relative;
}

.vsn-steps__item:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  color: var(--ref-gold);
  font-size: 18px;
}

.vsn-steps__card {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 10px;
  text-align: center;
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  padding: 26px 12px 18px;
  background: #fff;
  height: 100%;
}

.vsn-steps__num {
  position: absolute;
  top: -14px;
  left: 14px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #d4b07b, #bd8e55);
  font-size: 13px;
  font-weight: 700;
}

.vsn-steps__card svg {
  width: 30px;
  height: 30px;
  stroke: var(--ref-gold-dark);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.vsn-steps__card span {
  color: var(--ref-ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.vsn-help {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--ref-shadow);
}

.vsn-help__media {
  position: relative;
  align-self: stretch;
  min-height: 140px;
  border-radius: 14px;
  overflow: hidden;
}

.vsn-help__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.vsn-help__copy h2 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.vsn-help__copy p {
  margin: 0 0 16px;
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.5;
}

.vsn-help__form {
  display: grid;
  gap: 10px;
}

.vsn-help__form input {
  min-height: 48px;
  border: 1px solid var(--ref-line);
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ref-ink);
  background: #fff;
  font: inherit;
}

.vsn-help__form .hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.vsn-help__telegram {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3a7bd5;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}

.vsn-help__telegram svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
}

.vsn-help .form-status {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--ref-muted);
  font-size: 13px;
  font-weight: 600;
}

.vsn-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 6px 0 20px;
}

.vsn-trust div {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ref-muted);
  font-size: 13.5px;
  font-weight: 600;
}

.vsn-trust svg {
  width: 20px;
  height: 20px;
  stroke: var(--ref-gold-dark);
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 920px) {
  .vsn-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  .vsn-hero__media {
    min-height: 200px;
    order: -1;
  }

  .vsn-grid2 {
    gap: 10px;
  }

  .vsn-tile {
    min-height: 120px;
  }

  .vsn-tile__copy {
    gap: 14px;
    padding: 14px 0 12px 14px;
  }

  .vsn-tile h2 {
    font-size: 17px;
  }

  .vsn-tile p {
    font-size: 11.5px;
  }

  .ref-benefits.vsn-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    padding: 16px;
  }

  #calculator .vsn-calc__card {
    padding: 16px;
  }

  #calculator .vsn-calc__body {
    grid-template-columns: 1fr;
  }

  #calculator .vsn-calc__fields-row {
    grid-template-columns: 1fr auto 1fr;
  }

  #calculator .vsn-calc__fields-row > .vsn-calc__type {
    grid-column: 1 / -1;
  }

  #calculator .vsn-calc__total {
    text-align: left;
  }

  .vsn-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 10px;
  }

  .vsn-steps__item:not(:last-child)::after {
    display: none;
  }

  .vsn-help {
    grid-template-columns: 1fr;
  }

  .vsn-help__media {
    min-height: 160px;
  }
}

.vsn-help__submit {
  margin-top: 4px;
  width: fit-content;
}

/* Shared header alignment: logo left, controls and burger right. */
.wzp-private-ref .ref-header__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.wzp-private-ref .ref-logo,
.wzp-private-ref .vsn-header__brand {
  grid-column: 1;
  justify-self: start;
}

.wzp-private-ref .ref-header > .ref-header__inner > .ref-logo {
  width: 124px;
  background: url("/assets/brand/wz-market-logo.webp") left center / contain no-repeat;
}

.wzp-private-ref .ref-header > .ref-header__inner > .ref-logo picture {
  opacity: 0;
}

.wzp-private-ref .ref-inline-nav {
  grid-column: 2;
}

.wzp-private-ref .ref-header__actions {
  grid-column: 3;
  gap: 8px;
}

.wzp-private-ref .ref-icon-btn.burger {
  width: 42px;
  height: 42px;
  gap: 5px;
  transform: translateY(2px);
}

.wzp-private-ref .ref-icon-btn.burger span,
.wzp-private-ref .ref-icon-btn.burger::before,
.wzp-private-ref .ref-icon-btn.burger::after {
  width: 24px;
  height: 2px;
}

.wzp-private-ref .ref-icon-btn.burger::before,
.wzp-private-ref .ref-icon-btn.burger::after {
  transform-origin: center;
}

.wzp-private-ref .ref-header.is-open .ref-icon-btn.burger span {
  opacity: 0;
}

.wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::before {
  transform: translateY(7px) rotate(45deg);
}

.wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::after {
  transform: translateY(-7px) rotate(-45deg);
}

.home-sills .ref-product__bottom a.ref-product__more {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ref-line);
  border-radius: 999px;
  color: var(--ref-ink);
  background: #fffaf2;
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.home-sills .ref-product__bottom a.ref-product__more span {
  transform: translateY(-1px);
}

.home-sills .ref-product__bottom {
  gap: 8px;
}

.home-sills .ref-product__media img {
  object-fit: cover;
  object-position: center;
  background: #f7f3ed;
}

.home-sills .ref-product h3 {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(200, 160, 107, .75);
  border-radius: 999px;
  padding: 8px 13px;
  color: var(--ref-gold-dark);
  background: #fff;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.12;
  box-shadow: 0 8px 18px rgba(176, 128, 55, .08);
}

.home-sills .ref-product__bottom b span {
  font-size: .62em;
}

.wzp-shell-injected #t-header,
.wzp-shell-injected .t450,
.wzp-shell-injected .t450__overlay {
  display: none !important;
}

.wzp-shell-injected .t360__progress,
.wzp-shell-injected .t1002__wishlisticon,
.wzp-shell-injected .t706__carticon,
.wzp-shell-injected .t985__search-widget-button {
  display: none !important;
}

.wzp-shell-injected iframe[src*="leadback"],
.wzp-shell-injected [id*="leadback"],
.wzp-shell-injected [class*="leadback"],
.wzp-shell-injected [class*="lb-"] {
  display: none !important;
}

.wzp-shell-legacy {
  background: #fff;
  color: var(--ref-ink);
  font-family: "Inter", Arial, sans-serif;
}

.wzp-shell-legacy #allrecords {
  background: #fff;
}

.wzp-shell-legacy .wzp-legacy-hidden-title {
  display: none !important;
}

.wzp-page-portfolio #allrecords {
  display: none !important;
}

.shell-page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  width: min(100% - 44px, 1260px);
  margin: 14px auto 18px;
  padding: 28px 32px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: linear-gradient(135deg, #fff 0%, #fbf7ef 100%);
  box-shadow: 0 12px 34px rgba(26, 25, 22, .055);
}

.shell-page-head__copy {
  min-width: 0;
}

.shell-page-head__copy span {
  display: block;
  margin-bottom: 8px;
  color: var(--ref-gold-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.shell-page-head__copy h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(38px, 4vw, 68px);
  font-weight: 600;
  line-height: .95;
}

.shell-page-head__copy p {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--ref-muted);
  font-size: 16px;
  line-height: 1.55;
}

.shell-page-head__links {
  display: flex;
  gap: 10px;
}

.shell-page-head__links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--ref-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ref-ink);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.shell-page-head__links a:first-child {
  border-color: transparent;
  background: var(--ref-gold);
}

.shell-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  width: min(100% - 44px, 1260px);
  margin: 0 auto 20px;
}

.shell-portfolio-grid a {
  display: block;
  min-height: 260px;
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  background: var(--ref-soft);
}

.shell-portfolio-grid img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  object-fit: cover;
}

@media (max-width: 920px) {
  .wzp-private-ref .ref-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto 34px;
  }

  .wzp-private-ref .ref-logo,
  .wzp-private-ref .vsn-header__brand {
    grid-column: 1;
  }

  .wzp-private-ref .ref-header > .ref-header__inner > .ref-logo {
    width: 74px;
  }

  .wzp-private-ref .ref-header__actions {
    grid-column: 3;
  }

  .wzp-private-ref .ref-icon-btn.burger {
    grid-column: 4;
    width: 34px;
    height: 34px;
    gap: 4px;
    transform: translateY(2px);
  }

  .wzp-private-ref .ref-icon-btn.burger span,
  .wzp-private-ref .ref-icon-btn.burger::before,
  .wzp-private-ref .ref-icon-btn.burger::after {
    width: 21px;
    height: 2px;
  }

  .wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::before {
    transform: translateY(6px) rotate(45deg);
  }

  .wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .home-sills .ref-product__bottom a.ref-product__more {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    font-size: 15px;
    flex: 0 0 26px;
  }

  .home-sills .ref-product h3 {
    border-radius: 999px;
    padding: 4px 6px;
    font-size: 11.5px;
    line-height: 1.16;
  }

  .home-sills .ref-product__bottom b {
    min-width: 0;
    font-size: 12px;
    line-height: 1.1;
  }

  .home-sills .ref-product__bottom b span {
    font-size: 8px;
  }

  .shell-page-head {
    grid-template-columns: minmax(0, 1fr) auto;
    width: min(100% - 18px, 720px);
    gap: 8px;
    margin: 8px auto 10px;
    padding: 14px 12px;
    border-radius: 9px;
  }

  .shell-page-head__copy span {
    margin-bottom: 5px;
    font-size: 8px;
  }

  .shell-page-head__copy h1 {
    font-size: 27px;
    line-height: .98;
  }

  .shell-page-head__copy p {
    max-width: 210px;
    margin-top: 7px;
    font-size: 9px;
    line-height: 1.35;
  }

  .shell-page-head__links {
    flex-direction: column;
    gap: 6px;
  }

  .shell-page-head__links a {
    min-height: 30px;
    padding: 0 9px;
    font-size: 8px;
  }

  .wzp-shell-legacy .t-screenmin-640px {
    display: none !important;
  }

  .shell-portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(100% - 18px, 720px);
    gap: 7px;
    margin-bottom: 10px;
  }

  .shell-portfolio-grid a {
    min-height: 118px;
    border-radius: 8px;
  }
}

/* Home continuation from private refs, 2026-07-09. */
.home-services__grid,
.home-works__grid,
.home-reviews__grid,
.home-delivery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-service,
.home-work,
.home-reviews article,
.home-delivery article,
.home-why,
.home-about,
.home-promo,
.home-feature,
.home-project__form,
.home-contacts,
.home-contact-strip {
  overflow: hidden;
  border: 1px solid var(--ref-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(26, 25, 22, .055);
}

.home-service {
  position: relative;
  min-height: 178px;
  display: grid;
  align-content: end;
  padding: 28px;
  color: var(--ref-ink);
  text-decoration: none;
  background: #fbfaf8;
}

.home-service::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: 62% auto;
  opacity: .9;
}

.home-service--measure::after { background-image: url("/assets/vsn/tile-measure.jpg"); }
.home-service--install::after { background-image: url("/assets/redesign/private-ref/product-white.webp"); }
.home-service--lamination::after { background-image: url("/assets/redesign/private-ref/cat-trims.webp"); }

.home-service svg,
.home-service h3,
.home-service p {
  position: relative;
  z-index: 1;
}

.home-service svg,
.home-why svg,
.home-order svg,
.home-about svg,
.home-delivery svg,
.home-contact-strip svg,
.home-contacts svg {
  stroke: var(--ref-gold-dark);
  stroke-width: 1.7;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-service svg {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
}

.home-service h3,
.home-delivery h3,
.home-work h3 {
  margin: 0;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-weight: 600;
  line-height: 1.25;
}

.home-service h3 {
  margin-bottom: 7px;
  font-size: 19px;
}

.home-service p,
.home-work p,
.home-delivery p,
.home-feature p,
.home-about p {
  margin: 0;
  color: var(--ref-muted);
  line-height: 1.45;
}

.home-service p {
  max-width: 190px;
  font-size: 15px;
}

.home-promo,
.home-feature {
  position: relative;
  min-height: 250px;
  display: flex;
  align-items: center;
  padding: 44px 50px;
  background: #f7f3ed;
}

.home-promo {
  min-height: 148px;
  padding: 22px 32px;
}

.home-promo::after,
.home-feature::after,
.home-about__main::after,
.home-project__media {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: right center;
  background-size: auto 100%;
  pointer-events: none;
}

.home-promo::after {
  background-image:
    linear-gradient(90deg, rgba(247,243,237,.32) 0%, rgba(247,243,237,.08) 48%, rgba(247,243,237,0) 100%),
    url("/assets/redesign/private-ref/promo-free-measure.webp");
  background-position: center;
  background-size: cover;
}

.home-promo > div,
.home-feature > div,
.home-about__main > * {
  position: relative;
  z-index: 1;
}

.home-promo h2,
.home-feature h2,
.home-about h2,
.home-popular .ref-section__head h2,
.home-sills .ref-section__head h2,
.home-slopes .ref-section__head h2,
.home-reviews .ref-section__head h2,
.home-delivery .ref-section__head h2,
.home-faq .ref-section__head h2,
.home-project h2,
.home-order .ref-section__head h2,
.home-works .ref-section__head h2,
.home-why h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1.03;
  letter-spacing: 0;
}

.home-promo h2,
.home-feature h2 {
  max-width: 630px;
  margin-bottom: 34px;
  font-size: 48px;
}

.home-promo h2 {
  max-width: 690px;
  margin-bottom: 14px;
  font-family: Inter, Montserrat, Arial, sans-serif;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.12;
  text-transform: uppercase;
}

.home-promo p {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--ref-muted);
  font-size: 17px;
  line-height: 1.42;
}

.home-promo .ref-btn {
  min-height: 40px;
  border-radius: 999px;
  padding: 0 20px;
  font-size: 14px;
}

.home-promo strong {
  position: absolute;
  right: 42px;
  top: 24px;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #d8b178, #bb874c);
  font-size: 18px;
}

.home-why {
  display: grid;
  gap: 34px;
  padding: 44px 52px;
}

.home-why h2 {
  font-size: 48px;
}

.home-why__grid,
.home-about__facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-why article,
.home-about__facts article {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
  color: var(--ref-ink);
}

.home-why article:not(:last-child)::after,
.home-about__facts article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: var(--ref-line);
}

.home-why svg {
  width: 64px;
  height: 64px;
}

.home-why text {
  fill: var(--ref-gold-dark);
  font-family: Inter, Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  stroke: none;
}

.home-why span,
.home-about__facts span {
  max-width: 180px;
  font-size: 20px;
  line-height: 1.32;
}

.home-feature {
  min-height: 360px;
}

.home-feature::after {
  background-image:
    linear-gradient(90deg, rgba(247,243,237,.98) 0%, rgba(247,243,237,.76) 40%, rgba(247,243,237,0) 66%),
    url("/assets/redesign/private-ref/article-window.webp");
  background-size: cover;
}

.home-feature h2 {
  max-width: 600px;
}

.home-feature p {
  max-width: 440px;
  margin-bottom: 34px;
  font-size: 22px;
}

.home-work {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 18px 18px 22px;
  color: var(--ref-ink);
  text-decoration: none;
}

.home-work img {
  width: 100%;
  aspect-ratio: 1.38;
  display: block;
  object-fit: cover;
  border-radius: 10px;
}

.home-work h3 {
  font-size: 24px;
}

.home-work p {
  padding-left: 24px;
  font-size: 16px;
}

.home-work p::before {
  content: "⌖";
  margin-left: -24px;
  margin-right: 6px;
  color: var(--ref-ink);
}

.home-order__steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 72px;
  padding: 0 16px;
}

.home-order article {
  position: relative;
  min-height: 172px;
  display: grid;
  place-items: center;
  gap: 12px;
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  padding: 28px 16px 22px;
  text-align: center;
  background: #fff;
}

.home-order article:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -48px;
  top: 50%;
  color: var(--ref-gold-dark);
  font-size: 30px;
  transform: translateY(-50%);
}

.home-order b {
  position: absolute;
  top: -16px;
  left: 20px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ead8bc;
  color: #936331;
}

.home-order svg {
  width: 54px;
  height: 54px;
}

.home-order span {
  font-size: 22px;
  line-height: 1.2;
}

.home-about {
  display: grid;
}

.home-about__main {
  position: relative;
  min-height: 520px;
  padding: 52px 56px;
  background: #f7f3ed;
}

.home-about__main::after {
  background-image:
    linear-gradient(90deg, rgba(247,243,237,.98) 0%, rgba(247,243,237,.86) 45%, rgba(247,243,237,0) 76%),
    url("/assets/redesign/private-ref/hero-wide.webp");
  background-size: cover;
}

.home-about__main > span {
  display: block;
  margin-bottom: 18px;
  color: var(--ref-gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.home-about h2 {
  max-width: 520px;
  margin-bottom: 28px;
  font-size: 58px;
}

.home-about p {
  max-width: 560px;
  margin-bottom: 26px;
  font-size: 22px;
}

.home-about__facts {
  border-top: 1px solid var(--ref-line);
  padding: 30px;
}

.home-about__facts svg {
  width: 54px;
  height: 54px;
  padding: 16px;
  border-radius: 50%;
  background: var(--ref-soft);
  box-sizing: content-box;
}

.home-reviews__grid article {
  display: grid;
  gap: 18px;
  min-height: 300px;
  padding: 28px;
}

.home-reviews__grid div {
  color: var(--ref-gold-dark);
  letter-spacing: .18em;
}

.home-reviews__grid p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.45;
}

.home-reviews__grid b {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid var(--ref-line);
  font-size: 18px;
}

.home-reviews__grid span {
  color: var(--ref-muted);
  font-size: 16px;
}

.home-dots {
  display: flex;
  justify-content: center;
  gap: 22px;
  padding-top: 22px;
}

.home-dots span {
  width: 14px;
  height: 14px;
  border: 1px solid var(--ref-line);
  border-radius: 50%;
  background: #fff;
}

.home-dots span:first-child {
  border-color: var(--ref-gold);
  background: var(--ref-gold);
}

.home-delivery article {
  display: grid;
  min-height: 235px;
  padding: 32px;
  color: var(--ref-ink);
}

.home-delivery__grid > a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.home-delivery__grid > a article {
  height: 100%;
}

.home-delivery svg {
  width: 56px;
  height: 56px;
  margin-bottom: 12px;
}

.home-delivery h3 {
  max-width: 170px;
  margin-bottom: 12px;
  font-size: 23px;
}

.home-delivery p {
  max-width: 240px;
  font-size: 16px;
}

.home-delivery article > span {
  margin-top: auto;
  color: var(--ref-gold-dark);
  font-size: 30px;
}

.home-contact-strip,
.home-contacts {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 34px;
}

.home-contact-strip > div,
.home-contacts__phone {
  display: flex;
  align-items: center;
  gap: 22px;
}

.home-contact-strip svg,
.home-contacts svg {
  width: 52px;
  height: 52px;
  padding: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, #d8b178, #bb874c);
  stroke: #fff;
  box-sizing: content-box;
}

.home-contact-strip b,
.home-contact-strip span,
.home-contacts b,
.home-contacts span {
  display: block;
}

.home-contact-strip b,
.home-contacts b {
  font-size: 22px;
}

.home-contact-strip span,
.home-contacts span {
  margin-top: 6px;
  color: var(--ref-muted);
  font-size: 16px;
}

.home-contact-strip nav,
.home-contacts nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-contact-strip nav a,
.home-contacts nav a {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ref-line);
  border-radius: 50%;
  color: var(--ref-ink);
  background: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.home-faq__list {
  display: grid;
  gap: 18px;
}

.home-faq details {
  border: 1px solid var(--ref-line);
  border-radius: 16px;
  background: #fff;
}

.home-faq summary {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 42px;
  color: var(--ref-ink);
  font-size: 24px;
  list-style: none;
  cursor: pointer;
}

.home-faq summary::-webkit-details-marker {
  display: none;
}

.home-faq summary::after {
  content: "+";
  color: var(--ref-gold-dark);
  font-size: 36px;
}

.home-faq details[open] summary::after {
  content: "−";
}

.home-faq p {
  margin: -8px 42px 28px;
  color: var(--ref-muted);
  font-size: 17px;
  line-height: 1.5;
}

.home-project__form {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  min-height: 560px;
}

.home-project__copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 54px 60px;
}

.home-project h2 {
  font-size: 54px;
}

.home-project p {
  margin: 0 0 8px;
  color: var(--ref-muted);
  font-size: 20px;
  line-height: 1.45;
}

.home-project input {
  width: 100%;
  min-height: 64px;
  border: 1px solid var(--ref-line);
  border-radius: 14px;
  padding: 0 24px;
  color: var(--ref-ink);
  background: #fff;
  font: inherit;
  font-size: 18px;
}

.home-project .ref-btn {
  width: 100%;
}

.home-project__telegram {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(31, 34, 41, .28);
  border-radius: 999px;
  color: var(--ref-ink);
  background: rgba(255, 255, 255, .72);
  text-decoration: none;
  font-size: 20px;
  font-weight: 500;
}

.home-project__form .form-status {
  color: var(--ref-muted);
  font-size: 14px;
}

.home-project__media {
  position: relative;
  background-image: url("/assets/redesign/private-ref/hero-right.webp");
  background-size: cover;
}

.home-contacts {
  padding: 34px 44px;
}

.home-footer {
  margin-top: 16px;
  border-top: 1px solid var(--ref-line);
  background: var(--ref-soft);
}

.home-footer__inner,
.home-footer__bottom {
  width: min(100% - 44px, 1260px);
  margin: 0 auto;
}

.home-footer__inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: 44px 0;
}

.home-footer .ref-logo {
  height: 76px;
}

.home-footer .ref-logo img {
  height: 72px;
}

.home-footer__inner b,
.home-footer__inner span {
  display: block;
}

.home-footer__inner b {
  margin-bottom: 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.home-footer__inner span,
.home-footer__bottom {
  color: var(--ref-muted);
}

.home-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--ref-line);
  font-size: 14px;
}

.home-footer__bottom nav {
  display: flex;
  gap: 18px;
}

.home-footer__quick {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.home-footer__quick a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--ref-line);
  border-radius: 999px;
  background: #fff;
  color: var(--ref-ink);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.home-footer__bottom a {
  color: var(--ref-muted);
  text-decoration: none;
}

@media (max-width: 920px) {
  .home-services__grid,
  .home-works__grid,
  .home-reviews__grid,
  .home-delivery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .home-service,
  .home-work,
  .home-reviews article,
  .home-delivery article,
  .home-why,
  .home-about,
  .home-promo,
  .home-feature,
  .home-project__form,
  .home-contacts,
  .home-contact-strip,
  .home-faq details {
    border-radius: 8px;
  }

  .home-service {
    min-height: 82px;
    padding: 10px 8px;
  }

  .home-service svg {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
  }

  .home-service h3 {
    margin-bottom: 3px;
    font-size: 10.5px;
  }

  .home-service p {
    font-size: 8px;
    line-height: 1.25;
  }

  .home-promo,
  .home-feature {
    min-height: 120px;
    padding: 18px 18px;
  }

  .home-promo {
    min-height: 86px;
    padding: 10px 13px;
  }

  .home-promo::after {
    background-position: center;
    background-size: cover;
  }

  .home-promo h2,
  .home-feature h2 {
    max-width: 260px;
    margin-bottom: 14px;
    font-size: 22px;
  }

  .home-promo h2 {
    max-width: 218px;
    margin-bottom: 7px;
    font-size: 12px;
    line-height: 1.2;
  }

  .home-promo p {
    max-width: 235px;
    margin-bottom: 7px;
    font-size: 8.5px;
    line-height: 1.3;
  }

  .home-promo .ref-btn,
  .home-feature .ref-btn {
    min-height: 32px;
    font-size: 11px;
  }

  .home-promo .ref-btn {
    min-height: 24px;
    padding: 0 10px;
    font-size: 8.5px;
  }

  .home-promo strong {
    right: 18px;
    top: 16px;
    width: 36px;
    height: 36px;
    font-size: 12px;
  }

  .home-why {
    gap: 16px;
    padding: 18px 16px;
  }

  .home-why h2,
  .home-about h2,
  .home-popular .ref-section__head h2,
  .home-sills .ref-section__head h2,
  .home-slopes .ref-section__head h2,
  .home-reviews .ref-section__head h2,
  .home-delivery .ref-section__head h2,
  .home-faq .ref-section__head h2,
  .home-order .ref-section__head h2,
  .home-works .ref-section__head h2 {
    font-size: 24px;
  }

  .home-why svg {
    width: 34px;
    height: 34px;
  }

  .home-why text {
    font-size: 12px;
  }

  .home-why article,
  .home-about__facts article {
    gap: 8px;
  }

  .home-why span,
  .home-about__facts span {
    font-size: 9px;
    line-height: 1.2;
  }

  .home-feature p {
    max-width: 190px;
    margin-bottom: 14px;
    font-size: 11px;
  }

  .home-work {
    gap: 6px;
    padding: 7px 7px 9px;
  }

  .home-work img {
    border-radius: 5px;
  }

  .home-work h3 {
    font-size: 10.5px;
    line-height: 1.25;
  }

  .home-work p {
    padding-left: 12px;
    font-size: 8px;
  }

  .home-work p::before {
    margin-left: -12px;
    margin-right: 3px;
  }

  .home-order__steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    padding: 0 8px;
  }

  .home-order article {
    min-height: 84px;
    border-radius: 8px;
    gap: 6px;
    padding: 18px 5px 9px;
  }

  .home-order article:not(:last-child)::after {
    right: -18px;
    font-size: 16px;
  }

  .home-order b {
    top: -10px;
    left: 7px;
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  .home-order svg {
    width: 24px;
    height: 24px;
  }

  .home-order span {
    font-size: 9px;
  }

  .home-about__main {
    min-height: 230px;
    padding: 22px 20px;
  }

  .home-about__main > span {
    margin-bottom: 8px;
    font-size: 9px;
  }

  .home-about h2 {
    max-width: 220px;
    margin-bottom: 12px;
  }

  .home-about p {
    max-width: 250px;
    margin-bottom: 10px;
    font-size: 10px;
  }

  .home-about__facts {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 12px 8px;
  }

  .home-about__facts svg {
    width: 22px;
    height: 22px;
    padding: 8px;
  }

  .home-reviews__grid article {
    min-height: 148px;
    gap: 8px;
    padding: 12px 9px;
  }

  .home-reviews__grid div {
    font-size: 9px;
  }

  .home-reviews__grid p {
    font-size: 8.5px;
    line-height: 1.35;
  }

  .home-reviews__grid b {
    padding-top: 8px;
    font-size: 9px;
  }

  .home-reviews__grid span {
    font-size: 8px;
  }

  .home-dots {
    gap: 10px;
    padding-top: 10px;
  }

  .home-dots span {
    width: 7px;
    height: 7px;
  }

  .home-delivery article {
    min-height: 116px;
    padding: 13px 10px;
  }

  .home-delivery svg {
    width: 26px;
    height: 26px;
    margin-bottom: 6px;
  }

  .home-delivery h3 {
    margin-bottom: 5px;
    font-size: 11px;
  }

  .home-delivery p {
    font-size: 8px;
    line-height: 1.35;
  }

  .home-delivery article > span {
    font-size: 17px;
  }

  .home-contact-strip,
  .home-contacts {
    gap: 10px;
    padding: 12px 12px;
  }

  .home-contact-strip > div,
  .home-contacts__phone {
    gap: 9px;
  }

  .home-contact-strip svg,
  .home-contacts svg {
    width: 22px;
    height: 22px;
    padding: 8px;
  }

  .home-contact-strip b,
  .home-contacts b {
    font-size: 11px;
  }

  .home-contact-strip span,
  .home-contacts span {
    margin-top: 2px;
    font-size: 8px;
  }

  .home-contact-strip nav,
  .home-contacts nav {
    gap: 7px;
  }

  .home-contact-strip nav a,
  .home-contacts nav a {
    width: 30px;
    height: 30px;
    font-size: 8px;
  }

  .home-contacts nav a {
    width: auto;
    min-width: 30px;
    padding: 0 6px;
    border-radius: 999px;
    white-space: nowrap;
  }

  .home-faq__list {
    gap: 8px;
  }

  .home-faq summary {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .home-faq summary::after {
    font-size: 22px;
  }

  .home-faq p {
    margin: -3px 16px 14px;
    font-size: 9px;
  }

  .home-project__form {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1fr);
    min-height: 252px;
  }

  .home-project__copy {
    gap: 8px;
    padding: 22px 20px;
  }

  .home-project h2 {
    font-size: 25px;
  }

  .home-project p {
    margin-bottom: 2px;
    font-size: 10px;
  }

  .home-project input,
  .home-project__telegram {
    min-height: 34px;
    border-radius: 999px;
    padding: 0 12px;
    font-size: 10px;
  }

  .home-project .ref-btn {
    min-height: 34px;
    font-size: 11px;
  }

  .home-project__form .form-status {
    font-size: 8px;
  }

  .home-footer__inner,
  .home-footer__bottom {
    width: min(100% - 18px, 720px);
  }

  .home-footer__inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    padding: 20px 0;
  }

  .home-footer .ref-logo {
    height: 44px;
  }

  .home-footer .ref-logo img {
    height: 42px;
  }

  .home-footer__inner b {
    margin-bottom: 3px;
    font-size: 14px;
  }

  .home-footer__inner span,
  .home-footer__bottom {
    font-size: 8px;
  }

  .home-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 12px 0 16px;
  }

  .home-footer__bottom nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .home-footer__quick {
    justify-content: flex-start;
    gap: 5px;
  }

  .home-footer__quick a {
    min-height: 24px;
    padding: 0 7px;
    font-size: 8px;
  }
}

/* VSN page reference pass, scoped to /setki-vsn/. */
body.vsn-page {
  background: #fff;
}

body.vsn-page .ref-page,
body.vsn-page .ref-header__inner,
body.vsn-page .ref-mobile-nav {
  width: min(100% - 68px, 858px);
}

body.vsn-page .ref-page {
  gap: 14px;
  padding-bottom: 28px;
}

body.vsn-page .ref-header {
  background: rgba(255, 255, 255, .96);
}

body.vsn-page .ref-header__inner {
  min-height: 88px;
}

body.vsn-page .vsn-header__brand {
  gap: 12px;
}

body.vsn-page .vsn-header__brand svg {
  width: 70px;
  height: 58px;
  stroke: var(--ref-gold-dark);
  stroke-width: 1.25;
}

body.vsn-page .vsn-header__brand b,
body.vsn-page .vsn-header__brand span {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--ref-gold-dark);
  font-size: 25px;
  font-weight: 500;
}

body.vsn-page .vsn-header__brand b::after {
  content: " ";
}

body.vsn-page .ref-icon-btn,
body.vsn-page .ref-search button,
body.vsn-page .ref-cart {
  width: 54px;
  height: 54px;
}

body.vsn-page .ref-breadcrumb {
  display: none;
}

body.vsn-page .vsn-hero {
  min-height: 438px;
  display: block;
  border-radius: 22px;
  padding: 0;
  background: #f7f4ee;
  box-shadow: 0 12px 32px rgba(26, 25, 22, .08);
}

body.vsn-page .vsn-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.94) 39%, rgba(255,255,255,.35) 57%, rgba(255,255,255,0) 79%);
  pointer-events: none;
}

body.vsn-page .vsn-hero__copy {
  position: relative;
  z-index: 2;
  width: 380px;
  max-width: none;
  padding: 32px 0 0 32px;
}

body.vsn-page .wzp-inner .ref-hero--inner h1,
body.vsn-page .vsn-hero h1 {
  margin: 0 0 18px;
  font-size: 58px;
  font-weight: 500;
  line-height: .98;
}

body.vsn-page .wzp-inner .ref-hero--inner p,
body.vsn-page .vsn-hero p {
  margin: 0;
  color: var(--ref-muted);
  font-size: 18px;
  line-height: 1.42;
}

body.vsn-page .wzp-inner .ref-hero--inner .ref-hero__actions,
body.vsn-page .vsn-hero .ref-hero__actions {
  display: grid;
  gap: 14px;
  width: 236px;
  margin-top: 30px;
}

body.vsn-page .vsn-hero .ref-btn {
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 17px;
}

body.vsn-page .vsn-hero .ref-btn--gold {
  color: #fff;
}

body.vsn-page .vsn-hero__media {
  position: absolute;
  inset: 0 0 0 auto;
  width: 64%;
  min-height: 0;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
}

body.vsn-page .vsn-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body.vsn-page .vsn-hero .ref-dots {
  z-index: 3;
  bottom: 28px;
  gap: 18px;
}

body.vsn-page .vsn-hero .ref-dots span {
  width: 12px;
  height: 12px;
  box-shadow: 0 0 0 2px rgba(255,255,255,.8);
}

body.vsn-page .vsn-grid2 {
  gap: 12px;
}

body.vsn-page .vsn-tile {
  min-height: 170px;
  grid-template-columns: 1fr 1fr;
  border-radius: 16px;
}

body.vsn-page .vsn-tile__copy {
  gap: 14px;
  padding: 20px 0 18px 20px;
}

body.vsn-page .vsn-tile h2 {
  font-size: 29px;
  font-weight: 500;
  line-height: .98;
}

body.vsn-page .vsn-tile p {
  font-size: 16px;
  line-height: 1.22;
}

body.vsn-page .vsn-tile span.arrow {
  font-size: 31px;
}

body.vsn-page .ref-benefits.vsn-benefits {
  min-height: 86px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 12px 18px;
  box-shadow: 0 10px 28px rgba(26, 25, 22, .06);
}

body.vsn-page .ref-benefits.vsn-benefits article {
  position: relative;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  text-align: left;
}

body.vsn-page .ref-benefits.vsn-benefits article:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--ref-line);
}

body.vsn-page .ref-benefits.vsn-benefits svg {
  width: 38px;
  height: 38px;
}

body.vsn-page .ref-benefits.vsn-benefits b {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
}

body.vsn-page #calculator .vsn-calc__card {
  position: relative;
  min-height: 266px;
  gap: 14px;
  padding: 24px 28px;
}

body.vsn-page #calculator .vsn-calc__card > h3,
body.vsn-page .ref-section__head h2,
body.vsn-page .vsn-help__copy h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  line-height: 1;
}

body.vsn-page #calculator .vsn-calc__card > h3 {
  font-size: 33px;
}

body.vsn-page #calculator .vsn-calc__body {
  display: block;
}

body.vsn-page #calculator .vsn-calc__fields-row {
  grid-template-columns: 174px 24px 174px 260px;
  gap: 10px;
}

body.vsn-page #calculator .vsn-calc__fields-row--2 {
  grid-template-columns: 204px 326px;
}

body.vsn-page #calculator .vsn-calc__fields input[type="number"],
body.vsn-page #calculator .pill-switch span,
body.vsn-page #calculator .qty-control {
  min-height: 44px;
  border-radius: 10px;
}

body.vsn-page #calculator .pill-switch {
  flex-wrap: nowrap;
  gap: 0;
}

body.vsn-page #calculator .pill-switch label:first-child span {
  border-radius: 10px 0 0 10px;
}

body.vsn-page #calculator .pill-switch label:last-child span {
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

body.vsn-page #calculator .pill-switch span {
  min-width: 104px;
  padding: 0 13px;
  font-size: 14px;
}

body.vsn-page #calculator .vsn-calc__type .pill-switch span {
  min-width: 118px;
}

body.vsn-page #calculator .qty-control {
  max-width: 172px;
  grid-template-columns: 48px 1fr 48px;
}

body.vsn-page #calculator .add-row,
body.vsn-page #calculator .positions-list {
  display: none;
}

body.vsn-page #calculator .vsn-calc__total {
  position: absolute;
  right: 28px;
  top: 142px;
  width: 226px;
  align-self: end;
  min-height: 120px;
  padding: 22px;
  text-align: left;
  background: linear-gradient(135deg, #fffaf3, #f6f3ef);
}

body.vsn-page #calculator .vsn-calc__total strong {
  margin-top: 4px;
  font-size: 31px;
  font-weight: 500;
}

body.vsn-page #calculator .vsn-calc__total small {
  font-size: 15px;
}

body.vsn-page #calculator .min-warning {
  margin: 0;
  max-width: 560px;
  font-size: 15px;
}

body.vsn-page #payment-delivery {
  padding-top: 2px;
}

body.vsn-page .ref-section__head h2 {
  font-size: 33px;
}

body.vsn-page .vsn-steps {
  gap: 36px;
  padding: 0 20px 4px;
}

body.vsn-page .vsn-steps__item:not(:last-child)::after {
  right: -26px;
  color: #1f2229;
  font-size: 26px;
}

body.vsn-page .vsn-steps__card {
  min-height: 112px;
  padding: 26px 10px 16px;
  border-radius: 12px;
}

body.vsn-page .vsn-steps__card svg {
  width: 36px;
  height: 36px;
  stroke: #555;
}

body.vsn-page .vsn-steps__card span {
  font-size: 14px;
}

body.vsn-page .vsn-help {
  grid-template-columns: 240px minmax(0, 1fr) 300px;
  gap: 24px;
  padding: 12px 22px 12px 12px;
}

body.vsn-page .vsn-help__media {
  min-height: 132px;
}

body.vsn-page .vsn-help__copy h2 {
  font-size: 32px;
}

body.vsn-page .vsn-help__submit {
  width: 236px;
  min-height: 44px;
  border-radius: 10px;
  font-size: 16px;
}

body.vsn-page .vsn-help__form input {
  min-height: 44px;
  border-radius: 10px;
}

body.vsn-page .vsn-trust {
  padding-top: 2px;
}

@media (max-width: 940px) {
  body.vsn-page .ref-page,
  body.vsn-page .ref-header__inner,
  body.vsn-page .ref-mobile-nav {
    width: min(100% - 48px, 858px);
  }
}

@media (max-width: 760px) {
  body.vsn-page .ref-page,
  body.vsn-page .ref-header__inner,
  body.vsn-page .ref-mobile-nav {
    width: min(100% - 18px, 858px);
  }

  body.vsn-page .ref-header__inner {
    min-height: 72px;
    gap: 12px;
  }

  body.vsn-page .vsn-header__brand svg {
    width: 48px;
    height: 40px;
  }

  body.vsn-page .vsn-header__brand b,
  body.vsn-page .vsn-header__brand span {
    font-size: 20px;
  }

  body.vsn-page .ref-header__actions {
    gap: 8px;
  }

  body.vsn-page .vsn-hero {
    min-height: 210px;
    border-radius: 10px;
  }

  body.vsn-page .vsn-hero__media {
    width: 64%;
    opacity: 1;
  }

  body.vsn-page .vsn-hero::before {
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.93) 45%, rgba(255,255,255,.34) 67%, rgba(255,255,255,0) 100%);
  }

  body.vsn-page .vsn-hero__copy {
    width: 205px;
    padding: 16px 0 0 20px;
  }

  body.vsn-page .vsn-hero .ref-dots {
    display: flex;
    left: 62%;
    bottom: 13px;
    gap: 11px;
  }

  body.vsn-page .vsn-hero .ref-dots span {
    width: 7px;
    height: 7px;
  }

  body.vsn-page .wzp-inner .ref-hero--inner h1,
  body.vsn-page .vsn-hero h1 {
    margin-bottom: 8px;
    font-size: 29px;
    line-height: 1.02;
  }

  body.vsn-page .wzp-inner .ref-hero--inner p,
  body.vsn-page .vsn-hero p {
    font-size: 10.5px;
    line-height: 1.35;
  }

  body.vsn-page .wzp-inner .ref-hero--inner .ref-hero__actions,
  body.vsn-page .vsn-hero .ref-hero__actions {
    width: 172px;
    gap: 6px;
    margin-top: 12px;
  }

  body.vsn-page .vsn-hero .ref-btn {
    min-height: 30px;
    border-radius: 999px;
    padding: 0 10px;
    font-size: 11px;
  }

  body.vsn-page .vsn-grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  body.vsn-page .vsn-tile {
    min-height: 80px;
    border-radius: 8px;
  }

  body.vsn-page .vsn-tile__copy {
    gap: 5px;
    padding: 10px 0 9px 10px;
  }

  body.vsn-page .vsn-tile h2 {
    font-size: 16px;
  }

  body.vsn-page .vsn-tile p {
    font-size: 9px;
  }

  body.vsn-page .vsn-tile span.arrow {
    font-size: 16px;
  }

  body.vsn-page .ref-benefits.vsn-benefits {
    min-height: 52px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    border-radius: 8px;
    padding: 8px 7px;
  }

  body.vsn-page .ref-benefits.vsn-benefits article {
    justify-content: center;
    gap: 4px;
  }

  body.vsn-page .ref-benefits.vsn-benefits article:not(:last-child)::after {
    display: block;
    top: 8px;
    bottom: 8px;
  }

  body.vsn-page .ref-benefits.vsn-benefits svg {
    width: 18px;
    height: 18px;
  }

  body.vsn-page .ref-benefits.vsn-benefits b {
    font-size: 8px;
    line-height: 1.15;
  }

  body.vsn-page #calculator .vsn-calc__card {
    min-height: 172px;
    border-radius: 10px;
    padding: 14px 12px;
  }

  body.vsn-page #calculator .vsn-calc__card > h3 {
    font-size: 22px;
  }

  body.vsn-page #calculator .vsn-calc__fields {
    gap: 9px;
  }

  body.vsn-page #calculator .vsn-calc__fields-row {
    grid-template-columns: 72px 8px 72px 60px;
    gap: 5px;
  }

  body.vsn-page #calculator .vsn-calc__fields-row--2 {
    grid-template-columns: 94px 112px;
  }

  body.vsn-page #calculator .vsn-calc__fields-row > .vsn-calc__type {
    grid-column: auto;
  }

  body.vsn-page #calculator .vsn-calc__label {
    margin-bottom: 5px;
    font-size: 8.5px;
  }

  body.vsn-page #calculator .vsn-calc__fields input[type="number"],
  body.vsn-page #calculator .pill-switch span,
  body.vsn-page #calculator .qty-control {
    min-height: 36px;
    border-radius: 8px;
  }

  body.vsn-page #calculator .vsn-calc__fields input[type="number"] {
    padding: 0 9px;
    font-size: 12px;
  }

  body.vsn-page #calculator .vsn-calc__x {
    padding-bottom: 9px;
    font-size: 12px;
  }

  body.vsn-page #calculator .pill-switch {
    flex-wrap: nowrap;
    gap: 0;
  }

  body.vsn-page #calculator .pill-switch span {
    min-width: 40px;
    padding: 0 5px;
    font-size: 7.5px;
    line-height: 1.1;
    white-space: normal;
  }

  body.vsn-page #calculator .vsn-calc__type .pill-switch span {
    min-width: 30px;
  }

  body.vsn-page #calculator .vsn-calc__fields-row--2 .pill-switch span {
    min-width: 36px;
    white-space: nowrap;
  }

  body.vsn-page #calculator .pill-switch label span,
  body.vsn-page #calculator .pill-switch label:first-child span {
    border-radius: 8px 0 0 8px;
  }

  body.vsn-page #calculator .pill-switch label:last-child span {
    border-left: 0;
    border-radius: 0 8px 8px 0;
  }

  body.vsn-page #calculator .qty-control {
    max-width: 100px;
    grid-template-columns: 30px 1fr 30px;
  }

  body.vsn-page #calculator .qty-control button {
    height: 34px;
    font-size: 15px;
  }

  body.vsn-page #calculator .qty-control output {
    font-size: 12px;
  }

  body.vsn-page #calculator .vsn-calc__total {
    position: absolute;
    top: 92px;
    right: 12px;
    width: 112px;
    min-height: 76px;
    margin-top: 0;
    padding: 10px;
  }

  body.vsn-page #calculator .vsn-calc__total > span:first-child {
    font-size: 9px;
  }

  body.vsn-page #calculator .vsn-calc__total strong {
    font-size: 21px;
  }

  body.vsn-page #calculator .vsn-calc__total small {
    font-size: 9px;
  }

  body.vsn-page #calculator .min-warning {
    max-width: 220px;
    font-size: 9px;
  }

  body.vsn-page .ref-section__head h2 {
    font-size: 22px;
  }

  body.vsn-page .vsn-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 0 10px 2px;
  }

  body.vsn-page .vsn-steps__item:not(:last-child)::after {
    display: block;
    right: -14px;
    font-size: 16px;
  }

  body.vsn-page .vsn-steps__card {
    min-height: 80px;
    border-radius: 8px;
    padding: 20px 5px 10px;
  }

  body.vsn-page .vsn-steps__num {
    top: -10px;
    left: 8px;
    width: 22px;
    height: 22px;
    font-size: 10px;
  }

  body.vsn-page .vsn-steps__card svg {
    width: 24px;
    height: 24px;
  }

  body.vsn-page .vsn-steps__card span {
    font-size: 9px;
  }

  body.vsn-page .vsn-help {
    grid-template-columns: 105px minmax(0, 1fr) 142px;
    gap: 10px;
    border-radius: 10px;
    padding: 8px;
  }

  body.vsn-page .vsn-help__media {
    min-height: 86px;
  }

  body.vsn-page .vsn-help__copy h2 {
    font-size: 20px;
  }

  body.vsn-page .vsn-help__copy p {
    margin-bottom: 8px;
    font-size: 9px;
  }

  body.vsn-page .vsn-help__submit {
    width: 112px;
    min-height: 32px;
    font-size: 10px;
  }

  body.vsn-page .vsn-help__form input {
    min-height: 32px;
    padding: 0 10px;
    font-size: 10px;
  }

  body.vsn-page .vsn-help__telegram {
    font-size: 9px;
  }

  body.vsn-page .vsn-trust div {
    font-size: 9px;
  }
}

/* Keep shared header order after page-specific overrides. */
.wzp-private-ref .ref-header__inner,
body.vsn-page .ref-header__inner,
.wzp-inner .ref-header__inner,
.wzp-inner .ref-header--simple .ref-header__inner {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.wzp-private-ref .ref-logo,
.wzp-private-ref .vsn-header__brand {
  grid-column: 1;
}

.wzp-private-ref .ref-inline-nav {
  grid-column: 2;
}

.wzp-private-ref .ref-header__actions {
  grid-column: 3;
  gap: 8px;
}

@media (max-width: 920px) {
  .wzp-private-ref .ref-header__inner,
  body.vsn-page .ref-header__inner,
  .wzp-inner .ref-header__inner,
  .wzp-inner .ref-header--simple .ref-header__inner {
    grid-template-columns: auto minmax(0, 1fr) auto 34px;
  }
}

/* Home cleanup: compact header and product-first landing order. */
.wzp-private-ref .ref-header__inner {
  min-height: 76px;
}

.wzp-private-ref .ref-header > .ref-header__inner > .ref-logo {
  height: 62px;
}

.wzp-private-ref .ref-header > .ref-header__inner > .ref-logo img {
  height: 58px;
}

.wzp-private-ref .ref-icon-btn,
.wzp-private-ref .ref-search button,
.wzp-private-ref .ref-cart {
  width: 42px;
  height: 42px;
}

.wzp-private-ref .ref-search svg,
.wzp-private-ref .ref-cart svg {
  width: 34px;
  height: 34px;
  stroke-width: 1.85;
}

.wzp-private-ref .ref-cart span {
  display: none !important;
}

.wzp-private-ref .ref-icon-btn.burger {
  width: 42px;
  height: 42px;
  gap: 3.5px;
}

.wzp-private-ref .ref-icon-btn.burger span,
.wzp-private-ref .ref-icon-btn.burger::before,
.wzp-private-ref .ref-icon-btn.burger::after {
  width: 20px;
  height: 1.5px;
}

.wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::before {
  transform: translateY(5px) rotate(45deg);
}

.wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::after {
  transform: translateY(-5px) rotate(-45deg);
}

.home-popular .ref-product__bottom {
  gap: 8px;
}

.home-popular .ref-product__bottom b,
.home-slopes .ref-product__bottom b {
  font-size: 25px;
}

.home-popular .ref-product__bottom b span,
.home-slopes .ref-product__bottom b span {
  font-size: .62em;
}

.home-popular .ref-product__bottom a {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
}

.home-popular .ref-product__bottom a svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 920px) {
  .wzp-private-ref .ref-header__inner {
    min-height: 58px;
    gap: 8px;
  }

  .wzp-private-ref .ref-header > .ref-header__inner > .ref-logo {
    width: 58px;
    height: 52px;
  }

  .wzp-private-ref .ref-header > .ref-header__inner > .ref-logo img {
    height: 50px;
  }

  .wzp-private-ref .ref-icon-btn,
  .wzp-private-ref .ref-search button,
  .wzp-private-ref .ref-cart {
    width: 30px;
    height: 30px;
  }

  .wzp-private-ref .ref-search svg,
  .wzp-private-ref .ref-cart svg {
    width: 27px;
    height: 27px;
    stroke-width: 1.75;
  }

  .wzp-private-ref .ref-icon-btn.burger {
    width: 30px;
    height: 30px;
    gap: 2.75px;
  }

  .wzp-private-ref .ref-icon-btn.burger span,
  .wzp-private-ref .ref-icon-btn.burger::before,
  .wzp-private-ref .ref-icon-btn.burger::after {
    width: 15px;
    height: 1.2px;
  }

  .wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::before {
    transform: translateY(3.95px) rotate(45deg);
  }

  .wzp-private-ref .ref-header.is-open .ref-icon-btn.burger::after {
    transform: translateY(-3.95px) rotate(-45deg);
  }

  .home-popular .ref-product__bottom b,
  .home-slopes .ref-product__bottom b {
    min-width: 0;
    font-size: 12px;
    line-height: 1.1;
  }

  .home-popular .ref-product__bottom b span,
  .home-slopes .ref-product__bottom b span {
    font-size: 8px;
  }

  .home-popular .ref-product__bottom a {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
  }

  .home-popular .ref-product__bottom a svg {
    width: 13px;
    height: 13px;
  }

  .home-popular .ref-product__bottom {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
    align-items: end;
    gap: 3px;
  }

  .home-popular .ref-product__bottom b {
    white-space: normal;
  }

  .home-popular .ref-product__bottom b span {
    display: block;
    margin-top: 1px;
  }
}

/* Final burger normalization: keep the icon compact inside the cart-sized button. */
.wzp-private-ref .ref-header__actions .ref-icon-btn.burger,
body.vsn-page .ref-header__actions .ref-icon-btn.burger,
.wzp-inner .ref-header__actions .ref-icon-btn.burger {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  margin: -7px !important;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5.5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.wzp-private-ref .ref-header__actions .ref-icon-btn.burger span,
.wzp-private-ref .ref-header__actions .ref-icon-btn.burger::before,
.wzp-private-ref .ref-header__actions .ref-icon-btn.burger::after,
body.vsn-page .ref-header__actions .ref-icon-btn.burger span,
body.vsn-page .ref-header__actions .ref-icon-btn.burger::before,
body.vsn-page .ref-header__actions .ref-icon-btn.burger::after,
.wzp-inner .ref-header__actions .ref-icon-btn.burger span,
.wzp-inner .ref-header__actions .ref-icon-btn.burger::before,
.wzp-inner .ref-header__actions .ref-icon-btn.burger::after {
  width: 18px !important;
  height: 1.4px !important;
  min-height: 0 !important;
  display: block !important;
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: currentColor !important;
}

.wzp-private-ref .ref-header.is-open .ref-header__actions .ref-icon-btn.burger span,
body.vsn-page .ref-header.is-open .ref-header__actions .ref-icon-btn.burger span,
.wzp-inner .ref-header.is-open .ref-header__actions .ref-icon-btn.burger span {
  opacity: 0 !important;
}

.wzp-private-ref .ref-header.is-open .ref-header__actions .ref-icon-btn.burger::before,
body.vsn-page .ref-header.is-open .ref-header__actions .ref-icon-btn.burger::before,
.wzp-inner .ref-header.is-open .ref-header__actions .ref-icon-btn.burger::before {
  transform: translateY(6.9px) rotate(45deg) !important;
}

.wzp-private-ref .ref-header.is-open .ref-header__actions .ref-icon-btn.burger::after,
body.vsn-page .ref-header.is-open .ref-header__actions .ref-icon-btn.burger::after,
.wzp-inner .ref-header.is-open .ref-header__actions .ref-icon-btn.burger::after {
  transform: translateY(-6.9px) rotate(-45deg) !important;
}

@media (max-width: 920px) {
  .wzp-private-ref .ref-header__inner {
    min-height: 60px;
  }

  .wzp-private-ref .ref-header > .ref-header__inner > .ref-logo {
    width: 66px !important;
    height: 56px !important;
  }

  .wzp-private-ref .ref-header > .ref-header__inner > .ref-logo img {
    height: 54px !important;
  }
}

/* One WZ Market shell across storefront, service and transferred legacy pages. */
.wzp-shell-pending #t-header,
.wzp-shell-pending #t-footer,
.wzp-shell-injected #t-header,
.wzp-shell-injected #t-footer {
  display: none !important;
}

body.vsn-page > .site-shell-header .ref-header__inner {
  width: min(100% - 44px, 1260px);
  min-height: 76px;
}

body.t-body.wzp-shell-injected > .site-shell-header,
body.wzp-redesign.wzp-shell-injected > .site-shell-header,
body.wzp-catalog-page.wzp-shell-injected > .site-shell-header,
body.wzp-shell-zero-margin > .site-shell-header {
  width: calc(100% - 16px);
  margin: 8px auto 9px;
}

@media (min-width: 921px) and (max-width: 1120px) {
  .wzp-private-ref > .site-shell-header {
    width: min(calc(100% - 44px), 1260px);
    margin: 0 auto 9px;
    border: 1px solid rgba(222, 216, 206, .78) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(35, 28, 18, .06);
  }

  .wzp-private-ref > .site-shell-header .ref-header__inner {
    width: 100%;
    padding: 0 9px;
  }
}

@media (max-width: 920px) {
  .wzp-private-ref > .site-shell-header {
    width: min(calc(100% - 18px), 720px);
    margin: 0 auto 9px;
    border: 1px solid rgba(222, 216, 206, .78) !important;
    border-radius: 10px;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 8px 24px rgba(35, 28, 18, .06);
  }

  body.t-body.wzp-shell-injected > .site-shell-header,
  body.wzp-redesign.wzp-shell-injected > .site-shell-header,
  body.wzp-catalog-page.wzp-shell-injected > .site-shell-header,
  body.wzp-shell-zero-margin > .site-shell-header {
    width: min(calc(100% - 34px), 720px);
    margin: 8px auto 9px;
  }

  body.vsn-page.wzp-private-ref > .site-shell-header .ref-header__inner {
    width: 100%;
    min-height: 60px;
  }

  .wzp-shell-injected .t613__content,
  .wzp-shell-injected .t613__mobile {
    width: 100% !important;
    max-width: 100% !important;
  }

  .wzp-shell-injected .t613__content {
    overflow: hidden !important;
  }

  .wzp-shell-injected .t613__mobile {
    overflow-x: auto !important;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .wzp-private-ref > .site-shell-header .ref-header__inner {
    width: 100%;
    padding: 0 9px;
  }

  .wzp-private-ref > .site-shell-header .ref-mobile-nav {
    width: 100%;
    margin: 0;
    border-width: 1px 0 0;
    border-radius: 0 0 10px 10px;
    box-shadow: none;
  }
}

/* Home calculation block: supplied private reference, live form. */
#quick-calc .home-project__form {
  position: relative;
  isolation: isolate;
  min-height: 610px;
  display: block;
  overflow: hidden;
  border-color: rgba(202, 151, 76, .42);
  border-radius: 24px;
  background: #fbf8f1;
  box-shadow: 0 12px 32px rgba(38, 30, 19, .09);
}

#quick-calc .home-project__copy {
  position: relative;
  z-index: 2;
  width: 56%;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  padding: 48px 28px 42px 60px;
  background: linear-gradient(90deg, #fbf8f1 0%, #fbf8f1 91%, rgba(251, 248, 241, 0) 100%);
}

#quick-calc .home-project__eyebrow {
  margin-bottom: 20px;
  color: #c48a2d;
  font-size: 19px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#quick-calc .home-project__copy h2 {
  margin: 0 0 18px;
  color: var(--ref-ink);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 66px;
  font-weight: 500;
  line-height: .98;
  letter-spacing: 0;
}

#quick-calc .home-project__copy > p {
  margin: 0 0 24px;
  color: #5f6064;
  font-size: 20px;
  line-height: 1.42;
}

#quick-calc .home-project__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

#quick-calc .home-project__field {
  position: relative;
  display: block;
}

#quick-calc .home-project__field svg {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 20px;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #c78d31;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateY(-50%);
  pointer-events: none;
}

#quick-calc .home-project__field input {
  min-height: 68px;
  border-color: rgba(202, 151, 76, .62);
  border-radius: 14px;
  padding: 0 18px 0 58px;
  color: var(--ref-ink);
  background: rgba(255, 255, 255, .9);
  font-size: 18px;
}

#quick-calc .home-project__field input::placeholder {
  color: #818287;
  opacity: 1;
}

#quick-calc .home-project__copy > .ref-btn {
  min-height: 70px;
  margin-top: 14px;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #d49a35, #dca748);
  box-shadow: 0 10px 24px rgba(185, 126, 37, .2);
  font-size: 24px;
  font-weight: 600;
}

#quick-calc .home-project__meta {
  min-height: 50px;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 18px;
  white-space: nowrap;
}

#quick-calc .home-project__telegram {
  min-height: 0;
  display: inline-flex;
  justify-content: flex-start;
  gap: 12px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: var(--ref-ink);
  background: transparent;
  font-size: 17px;
  font-weight: 500;
}

#quick-calc .home-project__telegram svg,
#quick-calc .home-project__reply svg {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1.5px solid #c78d31;
  border-radius: 50%;
  padding: 8px;
  fill: none;
  stroke: #c78d31;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#quick-calc .home-project__divider {
  width: 1px;
  height: 34px;
  background: rgba(31, 34, 41, .12);
}

#quick-calc .home-project__reply {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #74767b;
  font-size: 16px;
}

#quick-calc .home-project__form .form-status {
  min-height: 18px;
  margin-top: 4px;
  font-size: 13px;
}

#quick-calc .home-project__media {
  position: absolute;
  z-index: 0;
  inset: 0 0 0 52%;
  background: #f5f0e7 url("/assets/redesign/private-ref/home-project-photo.webp") center / contain no-repeat;
}

#quick-calc .home-project__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fbf8f1 0%, rgba(251, 248, 241, .76) 12%, rgba(251, 248, 241, 0) 34%);
  pointer-events: none;
}

@media (max-width: 920px) {
  #quick-calc .home-project__form {
    min-height: 252px;
    border-radius: 8px;
  }

  #quick-calc .home-project__copy {
    width: 58%;
    min-height: 252px;
    padding: 13px 7px 11px 20px;
  }

  #quick-calc .home-project__eyebrow {
    margin-bottom: 7px;
    font-size: 8px;
  }

  #quick-calc .home-project__copy h2 {
    margin-bottom: 6px;
    font-size: 25px;
    line-height: .98;
  }

  #quick-calc .home-project__copy > p {
    margin-bottom: 8px;
    font-size: 9px;
    line-height: 1.35;
  }

  #quick-calc .home-project__fields {
    gap: 5px;
  }

  #quick-calc .home-project__field svg {
    left: 8px;
    width: 13px;
    height: 13px;
  }

  #quick-calc .home-project__field input {
    min-height: 32px;
    border-radius: 7px;
    padding: 0 5px 0 25px;
    font-size: 10px;
  }

  #quick-calc .home-project__copy > .ref-btn {
    min-height: 34px;
    margin-top: 6px;
    border-radius: 7px;
    font-size: 11px;
  }

  #quick-calc .home-project__meta {
    width: min(320px, calc(100vw - 54px));
    min-height: 26px;
    gap: 7px;
    margin-top: 6px;
  }

  #quick-calc .home-project__telegram,
  #quick-calc .home-project__reply {
    gap: 4px;
    font-size: 7.5px;
  }

  #quick-calc .home-project__telegram svg,
  #quick-calc .home-project__reply svg {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    padding: 5px;
  }

  #quick-calc .home-project__divider {
    height: 20px;
  }

  #quick-calc .home-project__form .form-status {
    min-height: 8px;
    margin-top: 1px;
    font-size: 7px;
  }

  #quick-calc .home-project__media {
    inset: 0 0 0 50%;
  }

  #quick-calc .home-project__media::after {
    background: linear-gradient(90deg, #fbf8f1 0%, rgba(251, 248, 241, .55) 16%, rgba(251, 248, 241, 0) 38%);
  }
}

/* Readable responsive scale for the reference form. */
@media (max-width: 920px) {
  #quick-calc .home-project__form {
    min-height: 360px;
    border-radius: 12px;
  }

  #quick-calc .home-project__copy {
    width: 64%;
    min-height: 360px;
    padding: 26px 16px 22px 28px;
  }

  #quick-calc .home-project__eyebrow {
    margin-bottom: 11px;
    font-size: 12px;
  }

  #quick-calc .home-project__copy h2 {
    margin-bottom: 10px;
    font-size: 40px;
  }

  #quick-calc .home-project__copy > p {
    margin-bottom: 14px;
    font-size: 14px;
  }

  #quick-calc .home-project__fields {
    gap: 8px;
  }

  #quick-calc .home-project__field svg {
    left: 13px;
    width: 19px;
    height: 19px;
  }

  #quick-calc .home-project__field input {
    min-height: 48px;
    border-radius: 10px;
    padding: 0 10px 0 42px;
    font-size: 16px;
  }

  #quick-calc .home-project__copy > .ref-btn {
    min-height: 52px;
    margin-top: 9px;
    border-radius: 10px;
    font-size: 17px;
  }

  #quick-calc .home-project__meta {
    width: min(390px, calc(100vw - 70px));
    min-height: 34px;
    gap: 10px;
    margin-top: 10px;
  }

  #quick-calc .home-project__telegram,
  #quick-calc .home-project__reply {
    gap: 6px;
    font-size: 11px;
  }

  #quick-calc .home-project__telegram svg,
  #quick-calc .home-project__reply svg {
    width: 30px;
    height: 30px;
    flex-basis: 30px;
    padding: 6px;
  }

  #quick-calc .home-project__divider {
    height: 26px;
  }

  #quick-calc .home-project__form .form-status {
    min-height: 12px;
    margin-top: 2px;
    font-size: 9px;
  }
}

@media (max-width: 620px) {
  .home-popular.home-sills .ref-product__bottom a.ref-product__more {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
  }

  #quick-calc .home-project__form {
    min-height: 330px;
    border-radius: 10px;
  }

  #quick-calc .home-project__copy {
    width: 66%;
    min-height: 330px;
    padding: 16px 7px 14px 20px;
    background: linear-gradient(90deg, #fbf8f1 0%, #fbf8f1 86%, rgba(251, 248, 241, 0) 100%);
  }

  #quick-calc .home-project__eyebrow {
    margin-bottom: 7px;
    font-size: 9px;
  }

  #quick-calc .home-project__copy h2 {
    margin-bottom: 7px;
    font-size: 28px;
  }

  #quick-calc .home-project__copy > p {
    margin-bottom: 10px;
    font-size: 11px;
    line-height: 1.35;
  }

  #quick-calc .home-project__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  #quick-calc .home-project__field svg {
    left: 8px;
    width: 15px;
    height: 15px;
  }

  #quick-calc .home-project__field input {
    min-height: 38px;
    border-radius: 8px;
    padding: 0 4px 0 25px;
    font-size: 11px;
  }

  #quick-calc .home-project__copy > .ref-btn {
    min-height: 40px;
    margin-top: 7px;
    border-radius: 8px;
    font-size: 13px;
  }

  #quick-calc .home-project__meta {
    width: min(315px, calc(100vw - 54px));
    min-height: 28px;
    gap: 7px;
    margin-top: 7px;
  }

  #quick-calc .home-project__telegram,
  #quick-calc .home-project__reply {
    gap: 4px;
    font-size: 8.5px;
  }

  #quick-calc .home-project__telegram svg,
  #quick-calc .home-project__reply svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    padding: 5px;
  }

  #quick-calc .home-project__media {
    inset: 0 0 0 50%;
    background-position: center;
    background-size: contain;
  }
}

/* The reference photo is a separate, non-overlapped image: never crop or cover it. */
#quick-calc .home-project__copy {
  width: 55%;
  background: #fbf8f1;
}

#quick-calc .home-project__media {
  inset: 0 0 0 55%;
  display: grid;
  place-items: center;
  background: #f5f0e7;
}

#quick-calc .home-project__media::after {
  display: none;
}

#quick-calc .home-project__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

@media (max-width: 920px) {
  #quick-calc .home-project__copy {
    width: 58%;
    background: #fbf8f1;
  }

  #quick-calc .home-project__media {
    inset: 0 0 0 58%;
  }
}

@media (max-width: 620px) {
  #quick-calc .home-project__form {
    aspect-ratio: 1802 / 873;
    min-height: 0;
    border-radius: 8px;
  }

  #quick-calc .home-project__copy {
    width: 55%;
    height: 100%;
    min-height: 0;
    justify-content: center;
    padding: 10px 4px 8px 20px;
    background: #fbf8f1;
  }

  #quick-calc .home-project__eyebrow {
    margin-bottom: 4px;
    font-size: 6px;
  }

  #quick-calc .home-project__copy h2 {
    margin-bottom: 4px;
    font-size: 20px;
    line-height: .98;
  }

  #quick-calc .home-project__copy > p {
    margin-bottom: 5px;
    font-size: 8px;
    line-height: 1.25;
  }

  #quick-calc .home-project__fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  #quick-calc .home-project__field svg {
    left: 6px;
    width: 10px;
    height: 10px;
  }

  #quick-calc .home-project__field input {
    min-height: 20px;
    border-radius: 5px;
    padding: 0 3px 0 19px;
    font-size: 8px;
  }

  #quick-calc .home-project__copy > .ref-btn {
    min-height: 22px;
    margin-top: 4px;
    border-radius: 5px;
    font-size: 9px;
  }

  #quick-calc .home-project__meta {
    width: 100%;
    min-height: 16px;
    gap: 4px;
    margin-top: 4px;
  }

  #quick-calc .home-project__telegram,
  #quick-calc .home-project__reply {
    gap: 2px;
    font-size: 5.5px;
  }

  #quick-calc .home-project__telegram svg,
  #quick-calc .home-project__reply svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    padding: 3px;
  }

  #quick-calc .home-project__divider {
    height: 12px;
  }

  #quick-calc .home-project__form .form-status {
    position: absolute;
    z-index: 3;
    bottom: 2px;
    left: 20px;
    min-height: 0;
    margin: 0;
    font-size: 5px;
  }

  #quick-calc .home-project__media {
    inset: 0 0 0 55%;
  }

  #quick-calc .home-project__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Unified responsive footer — shared by every native storefront page. */
.site-shell-footer {
  margin-top: 24px;
  border-top: 1px solid #e2ddd4;
  color: #1e211f;
  background: #f7f5f1;
}

.site-shell-footer .ref-footer__brand p,
.site-shell-footer .ref-footer__bottom,
.site-shell-footer .ref-footer__bottom a {
  color: #696c68;
}

.site-shell-footer .ref-footer__title {
  color: #8a5d27;
}

.site-shell-footer a {
  color: #1e211f;
}

.site-shell-footer .ref-footer__bottom {
  border-top-color: #ded8cf;
}

@media (max-width: 920px) {
  .site-shell-footer {
    margin-top: 18px;
  }

  .site-shell-footer .ref-footer__inner {
    width: min(calc(100% - 32px), 1260px);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    padding: 26px 0 20px;
  }

  .site-shell-footer .ref-footer__brand {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding-bottom: 18px;
    border-bottom: 1px solid #ded8cf;
  }

  .site-shell-footer .ref-footer__brand .ref-logo {
    width: 68px;
    height: 52px;
    margin: 0;
  }

  .site-shell-footer .ref-footer__brand .ref-logo img {
    width: auto;
    height: 52px;
  }

  .site-shell-footer .ref-footer__brand p {
    max-width: 520px;
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
  }

  .site-shell-footer .ref-footer__title,
  .site-shell-footer h4 {
    margin: 0 0 8px;
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: normal;
  }

  .site-shell-footer nav {
    gap: 0;
  }

  .site-shell-footer nav a {
    min-height: 28px;
    display: flex;
    align-items: center;
    padding: 3px 0;
    font-size: 12px;
    line-height: 1.3;
    overflow-wrap: normal;
    word-break: normal;
  }

  .site-shell-footer .ref-footer__bottom {
    width: min(calc(100% - 32px), 1260px);
    align-items: flex-start;
    flex-direction: column;
    gap: 11px;
    padding: 16px 0 calc(20px + env(safe-area-inset-bottom));
    font-size: 10px;
    line-height: 1.4;
  }

  .site-shell-footer .ref-footer__bottom > span {
    flex: none;
  }

  .site-shell-footer .ref-footer__bottom nav {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
  }

  .site-shell-footer .ref-footer__bottom nav a {
    min-height: 28px;
    padding: 5px 0;
    border-top: 1px solid #e3ded6;
    font-size: 10px;
    line-height: 1.3;
  }
}

@media (max-width: 370px) {
  body.store-page {
    margin: 0;
  }

  .site-shell-footer .ref-footer__inner,
  .site-shell-footer .ref-footer__bottom {
    width: min(calc(100% - 24px), 1260px);
  }

  .site-shell-footer .ref-footer__inner {
    gap-inline: 14px;
  }

  .site-shell-footer nav a {
    font-size: 11px;
  }
}

@media (max-width: 620px) {
  .home-sills .ref-product__bottom {
    width: 100%;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 24px;
  }

  .home-sills .ref-product__bottom a.ref-product__more {
    width: 24px;
    height: 24px;
    min-width: 24px;
    flex-basis: 24px;
  }
}

/* Final mobile accessibility layer; sizing only, without changing composition. */
@media (max-width: 620px) {
  .ref-dots {
    right: 6px;
    bottom: 2px;
    left: auto;
    gap: 0;
    transform: none;
  }

  .ref-footer nav {
    gap: 0;
  }

  .ref-footer nav a {
    min-height: 24px;
    display: flex;
    align-items: center;
    font-size: 12px;
  }

  .ref-footer__brand p,
  .ref-footer__title,
  .ref-footer__bottom,
  .ref-footer__bottom a {
    font-size: 12px;
  }

  #quick-calc .home-project__eyebrow {
    color: #805421;
  }

  #quick-calc .home-project__reply {
    color: #55585e;
  }
}

/* Keep the desktop footer composition on tablet and mobile. */
@media (max-width: 920px) {
  .ref-footer__inner {
    width: min(100% - 18px, 1260px);
    grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 28px 0 18px;
  }

  .ref-footer__brand {
    grid-column: auto;
  }

  .ref-footer__brand .ref-logo {
    height: 42px;
    margin-bottom: 8px;
  }

  .ref-footer__brand .ref-logo img {
    height: 40px;
  }

  .ref-footer__brand p {
    max-width: none;
    font-size: 10px;
    line-height: 1.4;
  }

  .ref-footer h4,
  .ref-footer__title {
    margin-bottom: 9px;
    font-size: 9px;
  }

  .ref-footer nav {
    gap: 6px;
  }

  .ref-footer a {
    font-size: 10px;
    overflow-wrap: anywhere;
  }

  .ref-footer__bottom {
    width: min(100% - 18px, 1260px);
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 0 18px;
    font-size: 9px;
  }

  .ref-footer__bottom > span {
    flex: 0 1 42%;
  }

  .ref-footer__bottom nav {
    flex: 1 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-end;
    gap: 8px;
  }

  .ref-footer__bottom a {
    font-size: 8.5px;
    line-height: 1.25;
  }
}

/* Accessibility safeguards preserve the existing composition at small sizes. */
@media (max-width: 920px) {
  .home-reviews__grid p,
  .home-faq p,
  .ref-article p {
    font-size: 12px;
  }
}

body :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #805421;
  outline-offset: 3px;
}

@media (max-width: 620px) {
  .ref-footer__inner {
    gap: 5px;
    padding: 16px 0 10px;
  }

  .ref-footer__brand .ref-logo {
    height: 29px;
    margin-bottom: 4px;
  }

  .ref-footer__brand .ref-logo img {
    height: 28px;
  }

  .ref-footer__brand p {
    font-size: 6.5px;
    line-height: 1.35;
  }

  .ref-footer h4 {
    margin-bottom: 5px;
    font-size: 6px;
    line-height: 1.2;
  }

  .ref-footer nav {
    gap: 4px;
  }

  .ref-footer a {
    font-size: 7px;
    line-height: 1.25;
  }

  .ref-footer__bottom {
    gap: 5px;
    padding: 8px 0 12px;
    font-size: 6px;
    line-height: 1.25;
  }

  .ref-footer__bottom nav {
    gap: 5px;
  }

  .ref-footer__bottom a {
    font-size: 5.5px;
    line-height: 1.2;
  }

  .ref-footer__inner > *,
  .ref-footer__bottom > * {
    min-width: 0;
  }

  .ref-footer .ref-footer__title,
  .ref-footer h4 {
    margin-bottom: 5px;
    font-size: 7px;
    line-height: 1.15;
    overflow-wrap: anywhere;
  }

  .ref-footer nav a,
  .ref-footer__brand p,
  .ref-footer__bottom,
  .ref-footer__bottom a {
    overflow-wrap: anywhere;
    word-break: normal;
  }
}

@media (max-width: 920px) {
  .home-popular .ref-product__bottom button.ref-product__cart {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    border-radius: 8px;
  }

  .home-popular .ref-product__bottom button.ref-product__cart svg {
    width: 13px;
    height: 13px;
  }
}

@media (max-width: 620px) {
  #quick-calc .home-project__form {
    aspect-ratio: 802 / 873;
    min-height: 0;
  }

  #quick-calc .home-project__media {
    inset: 0;
    background: #f5f0e7;
  }

  #quick-calc .home-project__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  #quick-calc .home-project__copy {
    width: 70%;
    height: 100%;
    padding: 20px 8px 16px 20px;
    background: linear-gradient(90deg, rgba(251, 248, 241, .82) 0%, rgba(251, 248, 241, .72) 45%, rgba(251, 248, 241, .35) 72%, rgba(251, 248, 241, .08) 92%, rgba(251, 248, 241, 0) 100%);
  }

  #quick-calc .home-project__eyebrow {
    margin-bottom: 9px;
    font-size: 10px;
  }

  #quick-calc .home-project__copy h2 {
    margin-bottom: 8px;
    font-size: 30px;
  }

  #quick-calc .home-project__copy > p {
    margin-bottom: 12px;
    font-size: 12px;
    line-height: 1.35;
  }

  #quick-calc .home-project__fields {
    gap: 6px;
  }

  #quick-calc .home-project__field svg {
    left: 8px;
    width: 15px;
    height: 15px;
  }

  #quick-calc .home-project__field input {
    min-height: 38px;
    border-radius: 8px;
    padding: 0 4px 0 25px;
    font-size: 11px;
  }

  #quick-calc .home-project__copy > .ref-btn {
    min-height: 42px;
    margin-top: 7px;
    border-radius: 8px;
    font-size: 13px;
  }

  #quick-calc .home-project__meta {
    width: min(315px, calc(100vw - 54px));
    min-height: 28px;
    gap: 7px;
    margin-top: 8px;
  }

  #quick-calc .home-project__telegram,
  #quick-calc .home-project__reply {
    gap: 4px;
    font-size: 8.5px;
  }

  #quick-calc .home-project__telegram svg,
  #quick-calc .home-project__reply svg {
    width: 24px;
    height: 24px;
    flex-basis: 24px;
    padding: 5px;
  }

  #quick-calc .home-project__divider {
    height: 20px;
  }

  #quick-calc .home-project__form .form-status {
    position: static;
    min-height: 8px;
    margin-top: 2px;
    font-size: 7px;
  }
}

@media (max-width: 620px) {
  #quick-calc .home-project__form {
    aspect-ratio: 1802 / 873;
    min-height: 0;
  }

  #quick-calc .home-project__copy {
    width: 55%;
    height: 100%;
    min-height: 0;
    padding: 10px 4px 8px 20px;
    background: #fbf8f1;
  }

  #quick-calc .home-project__eyebrow {
    margin-bottom: 4px;
    font-size: 6px;
  }

  #quick-calc .home-project__copy h2 {
    margin-bottom: 4px;
    font-size: 20px;
  }

  #quick-calc .home-project__copy > p {
    margin-bottom: 5px;
    font-size: 8px;
    line-height: 1.25;
  }

  #quick-calc .home-project__fields {
    gap: 4px;
  }

  #quick-calc .home-project__field svg {
    left: 6px;
    width: 10px;
    height: 10px;
  }

  #quick-calc .home-project__field input {
    min-height: 20px;
    border-radius: 5px;
    padding: 0 3px 0 19px;
    font-size: 8px;
  }

  #quick-calc .home-project__copy > .ref-btn {
    min-height: 22px;
    margin-top: 4px;
    border-radius: 5px;
    font-size: 9px;
  }

  #quick-calc .home-project__meta {
    width: 100%;
    min-height: 16px;
    gap: 4px;
    margin-top: 4px;
  }

  #quick-calc .home-project__telegram,
  #quick-calc .home-project__reply {
    gap: 2px;
    font-size: 5.5px;
  }

  #quick-calc .home-project__telegram svg,
  #quick-calc .home-project__reply svg {
    width: 13px;
    height: 13px;
    flex-basis: 13px;
    padding: 3px;
  }

  #quick-calc .home-project__divider {
    height: 12px;
  }

  #quick-calc .home-project__form .form-status {
    position: absolute;
    bottom: 2px;
    left: 20px;
    min-height: 0;
    margin: 0;
    font-size: 5px;
  }

  #quick-calc .home-project__media {
    inset: 0 0 0 55%;
  }

  #quick-calc .home-project__media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}
