@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700&display=swap');

.custom-html * {
  box-sizing: border-box;
}

.custom-html {
 
  font-family: 'Montserrat', Arial, sans-serif;

  color: #353636;

}

.preview-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px 56px;
}

.preview-divider {
  height: 1px;
  margin: 56px 0;
  background: linear-gradient(90deg, transparent, #d1d1d1 20%, #d1d1d1 80%, transparent);
}

.block-title {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  color: #353636;
}

.block-variant-label {
  margin: 0 0 20px;
  padding: 8px 14px;
  border-left: 4px solid #d1d1d1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888888;
}

.block-variant-label--pro {
  border-left-color: #fce388;
  color: #353636;
}

/* ——— Блок: виды дверей ——— */
#rec-alu-nav .alu-nav__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rec-alu-nav .alu-nav__item {
  margin: 0;
  padding: 0;
}

#rec-alu-nav .alu-nav__link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 10px 32px 10px 14px;
  border-radius: 8px;
  background: #f8f8f8;
  border: 1px solid transparent;
  color: #353636;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#rec-alu-nav .alu-nav__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #fce388;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#rec-alu-nav .alu-nav__link::after {
  content: '→';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  font-weight: 600;
  color: #b0b0b0;
  transition: color 0.2s ease, transform 0.2s ease;
}

#rec-alu-nav .alu-nav__link:hover,
#rec-alu-nav .alu-nav__link:focus-visible {
  background: #ffffff;
  border-color: #d1d1d1;
  box-shadow: 0 6px 20px rgba(53, 54, 54, 0.1);
  transform: translateY(-1px);
  outline: none;
}

#rec-alu-nav .alu-nav__link:hover::before,
#rec-alu-nav .alu-nav__link:focus-visible::before {
  opacity: 1;
}

#rec-alu-nav .alu-nav__link:hover::after,
#rec-alu-nav .alu-nav__link:focus-visible::after {
  color: #353636;
  transform: translate(2px, -50%);
}

#rec-alu-nav .alu-nav__label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  color: #353636;
}

#rec-alu-nav .alu-nav__sub {
  display: block;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.2;
  color: #777777;
}

#rec-alu-nav .alu-nav__link:hover .alu-nav__sub,
#rec-alu-nav .alu-nav__link:focus-visible .alu-nav__sub {
  color: #555555;
}

/* ——— Блок: сравнение окон ——— */
#rec-windows-compare .compare-intro {
  max-width: 720px;
  margin: 0 auto 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  color: #555555;
}

#rec-windows-compare .compare-intro strong {
  color: #353636;
  font-weight: 700;
}

#rec-windows-compare .compare-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

#rec-windows-compare .compare-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  background: #f8f8f8;
  overflow: hidden;
}

#rec-windows-compare .compare-card--alu {
  border: 2px solid #353636;
  background: #ffffff;
  box-shadow: 0 10px 32px rgba(53, 54, 54, 0.12);
}

#rec-windows-compare .compare-card--pvc {
  opacity: 0.72;
  background: #f3f3f3;
  border-style: dashed;
  border-color: #c8c8c8;
}

#rec-windows-compare .compare-card__head {
  padding: 18px 20px 14px;
  border-bottom: 1px solid #ececec;
}

#rec-windows-compare .compare-card--alu .compare-card__head {
  background: #353636;
  border-bottom-color: #353636;
}

#rec-windows-compare .compare-card__badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

#rec-windows-compare .compare-card--alu .compare-card__badge {
  background: #fce388;
  color: #353636;
}

#rec-windows-compare .compare-card--pvc .compare-card__badge {
  background: #e0e0e0;
  color: #888888;
}

#rec-windows-compare .compare-card--pvc .compare-card__head {
  background: #ececec;
}

#rec-windows-compare .compare-card--pvc .compare-card__title {
  color: #888888;
}

#rec-windows-compare .compare-card--pvc .compare-list__item {
  color: #888888;
}

#rec-windows-compare .compare-card--pvc .compare-list__item strong {
  color: #777777;
}

#rec-windows-compare .compare-card__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

#rec-windows-compare .compare-card--alu .compare-card__title {
  color: #fce388;
}

#rec-windows-compare .compare-card__body {
  flex: 1;
  padding: 18px 20px 20px;
}

#rec-windows-compare .compare-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#rec-windows-compare .compare-list__item {
  position: relative;
  padding: 10px 0 10px 22px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #353636;
  border-bottom: 1px solid #eeeeee;
}

#rec-windows-compare .compare-list__item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

#rec-windows-compare .compare-list__item:first-child {
  padding-top: 0;
}

#rec-windows-compare .compare-list__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d1d1d1;
}

#rec-windows-compare .compare-card--alu .compare-list__item::before {
  content: '✓';
  top: 9px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  box-shadow: none;
  font-size: 13px;
  font-weight: 700;
  color: #353636;
  line-height: 1;
}

#rec-windows-compare .compare-card--pvc .compare-list__item::before {
  content: '−';
  top: 8px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  font-size: 15px;
  font-weight: 700;
  color: #aaaaaa;
  line-height: 1;
}

#rec-windows-compare .compare-list__item strong {
  font-weight: 700;
  color: #353636;
}

#rec-windows-compare .compare-card__foot {
  padding: 0 20px 20px;
}

#rec-windows-compare .compare-cta {
  display: block;
  width: 100%;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

#rec-windows-compare .compare-card--alu .compare-cta {
  background: #353636;
  color: #fce388;
}

#rec-windows-compare .compare-card--alu .compare-cta:hover,
#rec-windows-compare .compare-card--alu .compare-cta:focus-visible {
  background: #4a4b4b;
  box-shadow: 0 4px 14px rgba(53, 54, 54, 0.25);
  outline: none;
}

#rec-windows-compare .compare-notice {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  background: #ececec;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  color: #777777;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* ——— Блок: виды панорамного остекления ——— */
#rec-panorama-types .panorama-intro {
  max-width: 800px;
  margin: 0 auto 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  color: #555555;
}

#rec-panorama-types .panorama-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rec-panorama-types .panorama-card:last-child {
  grid-column: 3;
}

#rec-panorama-types .panorama-card {
  margin: 0;
  padding: 0;
}

#rec-panorama-types .panorama-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 130px;
  padding: 16px 36px 16px 16px;
  border-radius: 8px;
  background: #f8f8f8;
  border: 1px solid #e8e8e8;
  color: #353636;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#rec-panorama-types .panorama-card__link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: #fce388;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#rec-panorama-types .panorama-card__link::after {
  content: '→';
  position: absolute;
  right: 14px;
  top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: #b0b0b0;
  transition: color 0.2s ease, transform 0.2s ease;
}

#rec-panorama-types .panorama-card__link:hover,
#rec-panorama-types .panorama-card__link:focus-visible {
  background: #ffffff;
  border-color: #353636;
  box-shadow: 0 6px 20px rgba(53, 54, 54, 0.1);
  transform: translateY(-1px);
  outline: none;
}

#rec-panorama-types .panorama-card__link:hover::before,
#rec-panorama-types .panorama-card__link:focus-visible::before {
  opacity: 1;
}

#rec-panorama-types .panorama-card__link:hover::after,
#rec-panorama-types .panorama-card__link:focus-visible::after {
  color: #353636;
  transform: translate(2px, 0);
}

#rec-panorama-types .panorama-card__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #353636;
}

#rec-panorama-types .panorama-card__text {
  margin: 0;
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  color: #666666;
}

#rec-panorama-types .panorama-card__link:hover .panorama-card__text,
#rec-panorama-types .panorama-card__link:focus-visible .panorama-card__text {
  color: #555555;
}

/* ——— Блок: виды панорамного остекления (улучшенный) ——— */
#rec-panorama-types-v2 {
  padding: 32px 24px 36px;
  border-radius: 12px;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
  border: 1px solid #ececec;
}

#rec-panorama-types-v2 .panorama-v2-intro {
  max-width: 800px;
  margin: 0 auto 28px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  color: #555555;
}

#rec-panorama-types-v2 .panorama-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#rec-panorama-types-v2 .panorama-v2-card {
  margin: 0;
  padding: 0;
}

#rec-panorama-types-v2 .panorama-v2-card__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #e0e0e0;
  color: #353636;
  text-decoration: none;
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

#rec-panorama-types-v2 .panorama-v2-card__link::after {
  content: '→';
  position: absolute;
  right: 16px;
  bottom: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #d8d8d8;
  transition: color 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

#rec-panorama-types-v2 .panorama-v2-card__link:hover::after,
#rec-panorama-types-v2 .panorama-v2-card__link:focus-visible::after {
  color: #353636;
  transform: translate(3px, -3px);
}

#rec-panorama-types-v2 .panorama-v2-card__link:hover,
#rec-panorama-types-v2 .panorama-v2-card__link:focus-visible {
  border-color: #353636;
  box-shadow: 0 10px 28px rgba(53, 54, 54, 0.12);
  transform: translateY(-2px);
  outline: none;
}

#rec-panorama-types-v2 .panorama-v2-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #353636;
}

#rec-panorama-types-v2 .panorama-v2-card__num {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fce388;
  font-size: 12px;
  font-weight: 700;
  color: #353636;
  line-height: 1;
}

#rec-panorama-types-v2 .panorama-v2-card__title {
  margin: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ffffff;
}

#rec-panorama-types-v2 .panorama-v2-card__tag {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(252, 227, 136, 0.2);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fce388;
}

#rec-panorama-types-v2 .panorama-v2-card__body {
  flex: 1;
  min-height: 72px;
  padding: 16px 44px 18px 16px;
}

#rec-panorama-types-v2 .panorama-v2-card__text {
  margin: 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  color: #666666;
}

#rec-panorama-types-v2 .panorama-v2-card__link:hover .panorama-v2-card__text,
#rec-panorama-types-v2 .panorama-v2-card__link:focus-visible .panorama-v2-card__text {
  color: #555555;
}

#rec-panorama-types-v2 .panorama-v2-card--featured .panorama-v2-card__head {
  background: linear-gradient(90deg, #353636 0%, #4a4b4b 100%);
}

#rec-panorama-types-v2 .panorama-v2-cta-wrap {
  margin-top: 28px;
  text-align: center;
}

#rec-panorama-types-v2 .panorama-v2-cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 8px;
  background: #353636;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  color: #fce388;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

#rec-panorama-types-v2 .panorama-v2-cta:hover,
#rec-panorama-types-v2 .panorama-v2-cta:focus-visible {
  background: #4a4b4b;
  box-shadow: 0 6px 18px rgba(53, 54, 54, 0.25);
  outline: none;
}

@media screen and (max-width: 959px) {
  .block-title {
    font-size: 20px;
  }

  #rec-alu-nav .alu-nav__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #rec-alu-nav .alu-nav__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: calc(50% - 6px);
    justify-self: center;
  }

  #rec-windows-compare .compare-intro {
    font-size: 14px;
    margin-bottom: 22px;
  }

  #rec-panorama-types .panorama-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #rec-panorama-types .panorama-card:last-child {
    grid-column: auto;
  }

  #rec-panorama-types .panorama-intro {
    font-size: 14px;
    margin-bottom: 22px;
  }

  #rec-panorama-types-v2 {
    padding: 24px 16px 28px;
  }

  #rec-panorama-types-v2 .panorama-v2-card__tag {
    display: none;
  }
}

@media screen and (max-width: 639px) {
  .preview-page {
    padding: 28px 16px 40px;
  }

  .preview-divider {
    margin: 40px 0;
  }

  #rec-alu-nav .alu-nav__list {
    grid-template-columns: 1fr;
  }

  #rec-alu-nav .alu-nav__item:last-child:nth-child(odd) {
    grid-column: auto;
    max-width: none;
    justify-self: stretch;
  }

  #rec-alu-nav .alu-nav__link {
    min-height: 48px;
  }

  #rec-windows-compare .compare-grid {
    grid-template-columns: 1fr;
  }

  #rec-windows-compare .compare-card--pvc {
    opacity: 0.85;
  }

  #rec-windows-compare .compare-card__title {
    font-size: 18px;
  }

  #rec-panorama-types .panorama-grid {
    grid-template-columns: 1fr;
  }

  #rec-panorama-types .panorama-card__link {
    min-height: 0;
  }

  #rec-panorama-types-v2 .panorama-v2-grid {
    grid-template-columns: 1fr;
  }

  #rec-panorama-types-v2 .panorama-v2-card__title {
    font-size: 15px;
  }
}





.border-bg .tn-atom {
    background-size: 100% 100% !important;
}
#t-header {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    z-index: 999;
}

















