:root {
  --cmzd-ink: #2d3e50;
  --cmzd-muted: #536170;
  --cmzd-line: #dde4ea;
  --cmzd-surface: #f4f6f8;
  --cmzd-radius: 16px;
  --cmzd-shadow: 0 8px 28px rgb(45 62 80 / 7%);
}

:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #2d3e50;
  outline-offset: 4px;
}

footer :where(a, button):focus-visible,
.nav-dark :where(a, button):focus-visible,
.cta-vbr-banner :where(a, button):focus-visible {
  outline-color: #fbd239;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

body :is(.services-table-block, .catalog-home, .land-section, .photo-section, .about-section, .photo_block_section, .section-calc, .similar-doors-section) .sec-title h2,
body main :is(.dub-title h2, .del-table-cont > h2),
body .cta-block2 .sec-title h2 {
  color: var(--cmzd-ink);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: none;
}

body main :is(.section-desc, .leaders__text, .design-block__text) {
  color: var(--cmzd-muted);
  font-size: 17px;
  line-height: 1.65;
}

body main .sec-title .sub-title .title {
  color: var(--cmzd-ink);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.09em;
}

body main :is(.c-button, .btn-one),
body main .calc-ms .btn-one,
body .cta-block2 .btn-one {
  border-radius: 10px;
  font-weight: 700;
}

.catalog-mega-menu__heading {
  margin-bottom: 10px;
  color: var(--cmzd-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: none;
}
body header.main-h .mob-icon { display: inline-flex; align-items: center; justify-content: center; width: 44px; min-height: 44px; color: var(--cmzd-ink); }

header.main-h .nav-wrap nav.menu > ul > li:focus-within > .dropmenu {
  opacity: 1;
  visibility: visible;
}

header.main-h .nav-wrap nav.menu > ul > li.menu-dismissed > .dropmenu {
  display: none;
}

.home-page { line-height: 1.6; }
.home-page .home-hero__content { padding-block: 56px; }
.home-page .home-hero__eyebrow { font-size: 12px; }
.home-page .home-hero__phone { min-height: 44px; display: inline-flex; align-items: center; }
.home-page .pradv-wrap { padding-block: 28px; background: #fff; border-bottom: 1px solid var(--cmzd-line); }
.home-page .pradv-wrap .icon-block { padding: 20px 16px; text-align: left; }
.home-page .pradv-wrap .icon-i { color: var(--cmzd-ink); font-size: 28px; }
.home-page .pradv-wrap .icon-title { font-size: 16px; line-height: 1.4; letter-spacing: 0; text-transform: none; }
.home-page .pradv-wrap .icon-text { color: var(--cmzd-muted); font-size: 14px; line-height: 1.6; }

body .cat-tiles-wrap { padding-block: 64px; background: var(--cmzd-surface); }
body .cat-tiles { gap: 24px; }
body .cat-tile { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); overflow: hidden; background: #fff; box-shadow: none; }
body .cat-tile__img { background: #edf1f4; }
body .cat-tile__img img { object-fit: contain; transition: transform 0.2s ease; }
body .cat-tile__count { background: #fff; color: var(--cmzd-ink); border: 1px solid var(--cmzd-line); font-size: 12px; }
body .cat-tile__content { padding: 20px; }
body .cat-tile__price { color: var(--cmzd-ink); font-size: 23px; }
body .cat-tile__name { font-size: 17px; line-height: 1.4; }
body .cat-tiles__rest { margin-top: 32px; padding: 24px; border-radius: var(--cmzd-radius); background: #fff; }
body .cat-tiles__rest a { display: inline-flex; min-height: 44px; align-items: center; color: var(--cmzd-ink); }

body .product-item {
  border: 1px solid var(--cmzd-line);
  border-radius: var(--cmzd-radius);
  background: #fff;
  box-shadow: var(--cmzd-shadow);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body .product-item:hover, body .product-item:focus-within { border-color: #b7c3cf; box-shadow: 0 12px 32px rgb(45 62 80 / 12%); }
body .product-item__img { background: linear-gradient(#f9fafb, #f0f3f5); }
body .product-item__title { color: var(--cmzd-ink); line-height: 1.45; }
body .product-item__description-item { color: var(--cmzd-muted); line-height: 1.55; }
body .product-item__price-val { color: var(--cmzd-ink); font-weight: 700; font-variant-numeric: tabular-nums; }
body .product-item__btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; border-radius: 10px; background: #fbd239; color: #000; font-weight: 700; }
body .catalog-home { background: var(--cmzd-surface); padding-block: 64px; }

body .cta-vbr-banner { border-radius: 20px; box-shadow: none; background-image: none; }
body .cta-vbr-banner__title { line-height: 1.25; }
body .cta-vbr-banner__text { line-height: 1.65; }
body .cta-vbr-banner__pds { border-radius: 8px; padding: 6px 12px; line-height: 1.4; }
body .cta-vbr-banner__btn-one { background: #fbd239; color: #111; }
body .cta-vbr-banner__btn-link { min-height: 44px; display: inline-flex; align-items: center; }
body .cta-vbr-banner__btn-link:hover { color: #fbd239; }
body .services-table-block__section { padding-block: 56px; }
body .tab-content .services-table-block__section { padding-block: 0; }
body .services-table-block__img { min-width: 0; margin-left: 0; flex: 0 0 30%; }
body .services-table-block__img img { max-height: 420px; object-fit: contain; }
body .services-table-block__table { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); box-shadow: none; overflow-x: visible; }
body .services-table-block__table table { min-width: 0; width: 100%; margin: 0; }
body :is(.services-table-block__table, .del-table) table :is(td, th) {
  padding: 14px 18px;
  color: var(--cmzd-ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  vertical-align: top;
  overflow-wrap: anywhere;
  border-bottom: 1px solid var(--cmzd-line);
}
body :is(.services-table-block__table, .del-table) table td:last-child { width: 32%; font-weight: 700; }
body :is(.services-table-block__table, .del-table) table tr:nth-child(even) { background: var(--cmzd-surface); }
body .del-table table { width: 100%; min-width: 0; }
body .del-table-cont { padding: 32px; }
body .del-table-cont > h2 { margin-bottom: 24px; }
body .truck-dl-col { border-radius: var(--cmzd-radius); }

body .leaders { padding-block: 64px; background: #fff; }
body .leaders__list { gap: 16px; }
body .leaders__item { border: 1px solid var(--cmzd-line); border-radius: 12px; padding: 20px; background: var(--cmzd-surface); }
body .leaders__label { color: var(--cmzd-ink); font-size: 17px; line-height: 1.5; }
body .leaders__check, body .design-block__check { color: var(--cmzd-ink); }
body .design-block { padding-block: 64px; background: var(--cmzd-surface); }
body .design-block__slide img { border-radius: var(--cmzd-radius); }
body .design-block__label { color: var(--cmzd-ink); line-height: 1.5; }
body .photo-section { padding-block: 64px; }
body .slider-photo-item img { border-radius: 12px; }
body .desc-photo { color: var(--cmzd-muted); font-size: 14px; line-height: 1.5; }
body .photo_block_section { padding-block: 48px; }
body .photo_block_section .sec-title { margin-bottom: 24px; }
body .photo_item { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); overflow: hidden; box-shadow: none; }
body .photo-info { padding: 14px; background: #fff; }
.photo-caption { color: var(--cmzd-muted); font-size: 13px; line-height: 1.5; }
body .about-section { padding-block: 64px; }
body .about-wrap p { color: var(--cmzd-muted); font-size: 17px; line-height: 1.65; }
body .about-img img { border-radius: var(--cmzd-radius); }

body .land-reviews { padding-block: 64px; background: var(--cmzd-surface); }
body .land-review { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); background: #fff; box-shadow: none; }
body .land-review__quote { color: var(--cmzd-ink); }
body .land-review__text { color: var(--cmzd-muted); font-size: 15px; line-height: 1.7; }
.land-review__full { margin-bottom: 20px; }
.land-review__full summary { color: var(--cmzd-ink); cursor: pointer; font-size: 14px; font-weight: 600; min-height: 44px; padding-block: 10px; }
.land-review__full p { color: var(--cmzd-muted); font-size: 15px; line-height: 1.7; white-space: normal; }
.land-review:has(.land-review__full[open]) > .land-review__text { display: none; }

body .section-calc { padding-block: 56px; background: var(--cmzd-surface); }
.calc-intro { max-width: 740px; margin-bottom: 24px; color: var(--cmzd-muted); font-size: 16px; line-height: 1.65; }
body #price-calculator-wrap { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); padding: 28px; box-shadow: none; background: #fff; }
body #price-calculator .form-control { min-height: 48px; border: 1px solid #b7c3cf; border-radius: 8px; background-color: #fff; color: var(--cmzd-ink); }
body #price-calculator .title-opt { color: var(--cmzd-ink); font-size: 14px; line-height: 1.5; }
#price-calculator [hidden] { display: none; }
.calc-advanced-toggle { display: none; border: 1px solid var(--cmzd-line); border-radius: 8px; padding: 12px 16px; color: var(--cmzd-ink); background: var(--cmzd-surface); font-weight: 600; cursor: pointer; }
.calc-enhanced .calc-advanced-toggle { display: inline-flex; min-height: 44px; }
.calc-selection { color: var(--cmzd-muted); font-size: 14px; line-height: 1.6; margin-top: 20px; }

body .catalog-filter { padding: 20px; border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); background: #fff; }
body .filter-group__title { display: flex; width: 100%; align-items: center; justify-content: space-between; border: 0; padding: 12px 0; background: transparent; color: var(--cmzd-ink); text-align: left; cursor: pointer; font: inherit; font-weight: 700; }
body .filter-value { min-height: 44px; color: var(--cmzd-muted); line-height: 1.5; }
.filter-results { margin: 20px 0 8px; color: var(--cmzd-ink); font-size: 14px; font-weight: 600; }
.filter-selected { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-selected button { min-height: 44px; border: 1px solid var(--cmzd-line); border-radius: 8px; padding: 8px 12px; background: var(--cmzd-surface); color: var(--cmzd-ink); font-size: 13px; text-align: left; cursor: pointer; }
.filter-apply { display: none; min-height: 44px; border: 0; border-radius: 8px; padding: 12px 16px; background: #fbd239; color: #111; font-weight: 700; cursor: pointer; }
body .filter-reset { min-height: 44px; }
body .filter-empty { width: 100%; padding: 32px 20px; border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); background: var(--cmzd-surface); color: var(--cmzd-ink); line-height: 1.7; }

body .product-detail .pd-img-wrap { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); background: var(--cmzd-surface); padding: 20px 12px; }
body .product-detail .ddp-txt { color: var(--cmzd-muted); }
body .product-detail .detail-product-price-wrap { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); background: #fff; box-shadow: var(--cmzd-shadow); }
body .product-detail .product-price-note { color: var(--cmzd-muted); line-height: 1.65; }
body .product-detail .pd-sm-title { color: var(--cmzd-ink); line-height: 1.4; }
body .product-detail :is(.pd-sm-table .row-txt > span, .list-desc li > span) { color: var(--cmzd-muted); }
body .product-detail .pd-zamki-wrap-block { border: 1px solid var(--cmzd-line); border-radius: 12px; padding: 12px; }
body .product-detail .pd-otdelka-link { border-radius: 8px; overflow: hidden; }
body .dd-section-tabs .nav-tabs-cust { gap: 8px; }
body .dd-section-tabs .nav-tabs-cust .nav-link { min-height: 56px; border-radius: 10px; }
body .table-har-bk { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); overflow: hidden; }
body .cta-block2 { border-top: 1px solid var(--cmzd-line); background: var(--cmzd-surface); }
body .cta-block2 .cta-style1__block-txt { color: var(--cmzd-muted); }
body .cta-block2 .sup-title { color: var(--cmzd-ink); }
body .cta-block2--portrait .cta-block2__content { align-items: center; }
body .cta-block2--portrait .cta-block2__img img {
  width: 340px;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  margin-top: 0;
}
@media (min-width: 768px) and (max-width: 991px) {
  body .cta-block2--portrait .cta-block2__img img { width: 260px; }
}
body .footer-cont { border: 1px solid var(--cmzd-line); border-radius: var(--cmzd-radius); box-shadow: var(--cmzd-shadow); }
body footer.bg-dark { background: #243444; }
body footer .footer-block h6 { color: #fff; font-size: 15px; line-height: 1.5; letter-spacing: 0; text-transform: none; }
body footer :is(.footer-block a, .f_text, .footer-dop-menu a) { color: #dbe3eb; font-size: 14px; line-height: 1.6; }
body footer .footer-block a { display: inline-flex; align-items: center; min-height: 44px; }
body footer .footer-nav-col { display: flex; }

@media (hover: hover) {
  .cat-tile:hover .cat-tile__img img { transform: scale(1.025); }
}

@media (max-width: 1199px) {
  body .catalog-mega-menu__heading { color: #fff; }
  body .filter-apply { display: inline-flex; }
  body .filter-actions { display: flex; flex-wrap: wrap; gap: 12px; }
}

@media (max-width: 991px) {
  body .services-table-block__img { flex-basis: 24%; }
  body .services-table-block { gap: 20px; }
  body .del-table-cont { padding: 28px 0; }
}

@media (max-width: 767px) {
  body .home-page .home-hero__content { padding-block: 32px; }
  body .cat-tiles-wrap, body .catalog-home, body .land-reviews, body .leaders,
  body .design-block, body .about-section, body .photo-section { padding-block: 40px; }
  body .cat-tiles { gap: 16px; }
  body .cat-tile__content { padding: 16px; }
  body .cat-tiles__rest { padding: 16px; }
  body .services-table-block__section { padding-block: 40px; }
  body .services-table-block__img { display: none; }
  body :is(.services-table-block__table, .del-table) table :is(td, th) { padding: 12px; font-size: 13px; }
  body :is(.services-table-block__table, .del-table) table td:last-child { width: 34%; }
  body .cta-vbr-banner { border-radius: var(--cmzd-radius); }
  body .cta-vbr-banner__pds { white-space: normal; }
  body #price-calculator-wrap { padding: 20px 16px; }
  body .catalog-filter { padding: 16px; }
  body .product-detail-top-section .pd-img-col { order: 0; }
  body .product-detail-top-section .pd-top-info { order: 1; }
  body .product-detail .pd-img-wrap { min-height: 350px; margin-bottom: 20px; }
  body .product-detail .pd-img-wrap img { width: auto; height: 300px; object-fit: contain; }
  body .product-detail .detail-banner-zam { display: none; }
  body footer .footer-nav-col { width: 50%; padding-inline: 12px; }
  body footer .footer-block { width: 100%; }
  body .footer-cont { padding: 24px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body *, body *::before, body *::after { animation-duration: 0.01ms; animation-iteration-count: 1; transition-duration: 0.01ms; }
}
