:root {
  --primary-bg: #121212;
  --card-bg: #1e1e1e;
  --accent: #ff5722;
  --accent-hover: #f4511e;
  --text-main: #ffffff;
  --text-secondary: #b0b0b0;
  --border-color: #333333;
  --max-width: 1440px;
  --header-height: 72px;
  --site-header-offset: var(--header-height);
}

* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  background-color: var(--primary-bg);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Фиксированная шапка: верхняя полоса + навигация */
.pd-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Top navigation */
.pd-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
  background: rgba(18, 18, 18, 0.95);
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pd-nav__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  gap: 12px;
}

.pd-nav__burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  border-radius: 8px;
}

.pd-nav__burger:hover {
  color: var(--accent);
}

.pd-header-search {
  flex: 1;
  max-width: 360px;
  min-width: 120px;
  position: relative;
  z-index: 30;
  overflow: visible;
}

.pd-header-search #search {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: visible;
}

/* Живой поиск (Aridius): выпадающий список поверх вёрстки */
.pd-header-search #search ul.dropdown-menu {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 100% !important;
  width: 100%;
  min-width: 280px;
  max-width: min(520px, 92vw);
  max-height: min(70vh, 420px);
  overflow-y: auto;
  margin: 6px 0 0;
  padding: 8px 0;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  z-index: 4000;
}

.pd-header-search #search ul.dropdown-menu .search-container2,
.pd-header-search #search ul.dropdown-menu li {
  list-style: none;
  color: var(--text-main);
}

.pd-header-search #search ul.dropdown-menu .search-name {
  color: var(--text-main);
}

.pd-header-search #search ul.dropdown-menu .search-price,
.pd-header-search #search ul.dropdown-menu .search-price2,
.pd-header-search #search ul.dropdown-menu .search-special {
  color: var(--text-secondary);
}

.pd-header-search #search ul.dropdown-menu a.search-all {
  display: block;
  padding: 12px 16px;
  text-align: center;
  color: var(--accent);
  font-weight: 600;
  border-top: 1px solid var(--border-color);
}

.pd-header-search #search .form-control {
  background: var(--primary-bg);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  height: 42px;
  font-size: 14px;
  border-radius: 8px 0 0 8px;
}

.pd-header-search #search .form-control::placeholder {
  color: #777;
}

.pd-header-search #search .btn {
  height: 42px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-left: none;
  color: var(--accent);
  border-radius: 0 8px 8px 0;
}

.pd-header-search #search .btn:hover {
  background: rgba(255, 87, 34, 0.12);
}

.pd-drawer-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.55);
}

.pd-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 88vw);
  height: 100%;
  z-index: 1110;
  background: #0f0f0f;
  border-right: 1px solid var(--border-color);
  transform: translateX(-100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
  padding: 0 0 32px;
}

.pd-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 18px;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
}

.pd-drawer__close {
  border: none;
  background: transparent;
  color: var(--text-main);
  cursor: pointer;
  padding: 4px;
  line-height: 0;
}

.pd-drawer__meta {
  padding: 16px 18px 12px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.35);
}

.pd-drawer__meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-bottom: 10px;
  font-size: 14px;
}

.pd-drawer__meta-row a {
  color: var(--text-secondary);
}

.pd-drawer__meta-row a:hover {
  color: var(--accent);
}

.pd-drawer__meta-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 12px;
}

.pd-drawer__meta-links a {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  background: var(--primary-bg);
}

.pd-drawer__meta-links a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pd-drawer__links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
}

.pd-drawer__links a {
  padding: 14px 20px;
  color: var(--text-secondary);
  font-size: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.pd-drawer__links a:hover {
  color: var(--accent);
  background: rgba(255, 87, 34, 0.06);
}

body.pd-menu-open {
  overflow: hidden;
}

body.pd-menu-open .pd-drawer-backdrop {
  display: block;
}

body.pd-menu-open .pd-drawer {
  transform: translateX(0);
}

.pd-logo {
  display: flex;
  align-items: center;
  font-family: "Playfair Display", serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 1px;
  gap: 10px;
}

.pd-logo img {
  height: 40px;
}

.pd-logo span {
  color: var(--accent);
}

.pd-nav__links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.pd-nav__link {
  color: var(--text-main);
  font-size: 15px;
  font-weight: 500;
  transition: color 0.3s;
}

.pd-nav__link:hover,
.pd-nav__link.is-active {
  color: var(--accent);
}

.pd-nav__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-nav__actions .material-icons {
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
  transition: color 0.3s;
}

.pd-nav__actions .material-icons:hover {
  color: var(--accent);
}

/* Page spacing */
.pd-page {
  padding-top: var(--site-header-offset);
}

.pd-page__section {
  padding: 40px 0;
}

/* Home: hero */
.pd-hero {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
}

.pd-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.pd-hero__content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 80px 0;
}

.pd-hero__badge {
  display: inline-block;
  background-color: rgba(255, 87, 34, 0.2);
  color: var(--accent);
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid var(--accent);
}

.pd-hero__title {
  font-family: "Playfair Display", serif;
  font-size: 64px;
  line-height: 1.1;
  margin-bottom: 24px;
  text-transform: uppercase;
}

.pd-hero__subtitle {
  font-size: 20px;
  color: #e0e0e0;
  margin-bottom: 32px;
  font-weight: 300;
  line-height: 1.5;
  border-left: 4px solid var(--accent);
  padding-left: 20px;
}

.pd-hero__buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Home: USP bar */
.pd-usp {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
  background-color: var(--card-bg);
  margin: -40px auto 40px;
  border-radius: 12px;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border-color);
}

.pd-usp__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
}

.pd-usp__icon {
  color: var(--accent);
  font-size: 32px;
  margin-bottom: 12px;
}

.pd-usp__text {
  font-size: 14px;
  color: var(--text-secondary);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Home: calculator teaser */
.pd-calc-teaser {
  margin: 60px auto;
  background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
  border-radius: 20px;
  padding: 40px;
  border: 1px solid var(--accent);
  position: relative;
  overflow: hidden;
}

.pd-calc-teaser::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255, 87, 34, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.pd-calc-teaser__title {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  color: var(--text-main);
  margin: 0 0 12px;
  position: relative;
  z-index: 1;
}

.pd-calc-teaser__desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
  max-width: 680px;
  position: relative;
  z-index: 1;
}

.pd-calc-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.pd-steps {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 24px;
  position: relative;
  z-index: 1;
}

.pd-step {
  width: 40px;
  height: 40px;
  background-color: var(--primary-bg);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pd-step.is-accent {
  border-color: var(--accent);
  color: var(--accent);
}

/* Home: section header */
.pd-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin: 0 0 32px;
}

.pd-section-head__title {
  font-size: 32px;
  font-weight: 700;
}

.pd-section-head__link {
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
}

.pd-section-head__link:hover {
  text-decoration: underline;
}

/* Home: category grid */
.pd-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}

.pd-category-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
  border: 1px solid transparent;
  color: var(--text-main);
}

.pd-category-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.pd-category-card.is-featured {
  grid-column: span 2;
  display: flex;
  height: 240px;
  align-items: center;
}

.pd-category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pd-category-card:not(.is-featured) .pd-category-card__img {
  height: 65%;
}

.pd-category-card.is-featured .pd-category-card__img {
  width: 50%;
}

.pd-category-card__info {
  padding: 15px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pd-category-card:not(.is-featured) .pd-category-card__info {
  height: 35%;
}

.pd-category-card.is-featured .pd-category-card__info {
  width: 50%;
  height: 100%;
  justify-content: center;
}

.pd-category-card__name {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
}

.pd-category-card__sub {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.pd-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background-color: var(--accent);
  color: white;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 2;
}

/* Home: expert section */
.pd-expert {
  margin: 60px auto;
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  gap: 32px;
  border: 1px solid var(--border-color);
  align-items: center;
}

.pd-expert__title {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  margin: 0 0 16px;
}

.pd-expert__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 24px;
}

.pd-expert__img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
  flex-shrink: 0;
}

.pd-home-map {
  margin: 48px auto 64px;
}

.pd-home-map__grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(0, 1.5fr);
  gap: 24px;
  align-items: stretch;
}

.pd-home-map__contacts {
  padding: 24px;
}

.pd-home-map__frame iframe {
  height: 280px;
}

/* Typography helpers */
.pd-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
}

.pd-muted {
  color: var(--text-secondary);
}

/* Категория: сворачиваемое описание */
.pd-desc-clampwrap {
  position: relative;
  margin-bottom: 4px;
}

.pd-desc-clampwrap__inner {
  max-height: 80px;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.pd-desc-clampwrap.is-open .pd-desc-clampwrap__inner {
  max-height: 8000px;
}

.pd-desc-clampwrap__btn {
  position: absolute;
  left: 50%;
  bottom: -30px;
  transform: translate(-50%, 50%);
  width: 44px;
  height: 44px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  background: var(--card-bg);
  color: var(--accent);
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.pd-desc-clampwrap__btn:hover {
  border-color: var(--accent);
  background: rgba(255, 87, 34, 0.12);
}

.pd-desc-clampwrap--short .pd-desc-clampwrap__btn {
  display: none;
}

.pd-desc-clampwrap--short {
  padding-bottom: 0;
}

/* Buttons */
.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.pd-btn--primary {
  background-color: var(--accent);
  color: white;
}

.pd-btn--primary:hover {
  background-color: var(--accent-hover);
}

.pd-btn--secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.pd-btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pd-btn--pill {
  border-radius: 50px;
  padding: 14px 28px;
  font-size: 15px;
}

.pd-btn--lg {
  border-radius: 12px;
  padding: 16px 32px;
  font-size: 16px;
}

/* Cards / blocks */
.pd-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

/* Footer */
.pd-footer {
  background-color: #000;
  padding: 60px 0 24px;
  margin-top: 60px;
}

.pd-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.pd-footer__brand h2 {
  font-family: "Playfair Display", serif;
  font-size: 24px;
  margin-bottom: 16px;
}

.pd-footer__desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 300px;
}

.pd-footer__col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 16px;
}

.pd-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.pd-footer__links li {
  margin-bottom: 12px;
}

.pd-footer__links a {
  color: var(--text-secondary);
  font-size: 14px;
  transition: color 0.3s;
}

.pd-footer__links a:hover {
  color: var(--accent);
}

.pd-footer__copyright {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #222;
  color: #555;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
  :root {
    --max-width: 1024px;
  }

  .pd-footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-hero__title {
    font-size: 48px;
  }

  .pd-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pd-usp {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  :root {
    --site-header-offset: 118px;
  }

  .pd-nav__links {
    display: none;
  }

  .pd-header-search {
    order: 10;
    flex: 1 1 100%;
    max-width: none;
    margin-top: 4px;
  }

  .pd-nav {
    height: auto;
    min-height: var(--header-height);
  }

  .pd-nav__content {
    flex-wrap: wrap;
    padding-bottom: 10px;
  }

  .pd-footer__grid {
    grid-template-columns: 1fr;
  }

  .pd-hero__title {
    font-size: 36px;
  }

  .pd-hero__subtitle {
    font-size: 16px;
  }

  .pd-category-grid {
    grid-template-columns: 1fr;
  }

  .pd-category-card.is-featured {
    grid-column: span 1;
    flex-direction: column;
    height: auto;
  }

  .pd-category-card.is-featured .pd-category-card__img,
  .pd-category-card.is-featured .pd-category-card__info {
    width: 100%;
  }

  .pd-category-card.is-featured .pd-category-card__img {
    height: 200px;
  }

  .pd-expert {
    flex-direction: column;
    align-items: flex-start;
  }

  .pd-home-map__grid {
    grid-template-columns: 1fr;
  }

  .pd-usp {
    flex-direction: column;
  }
}

/* Калькулятор дымохода (визуал как в макете, тёмная тема) */
.chimney-calc {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.chimney-calc__main {
  padding-top: 8px;
}

.chimney-calc__article .breadcrumb {
  background: transparent;
  padding: 8px 0;
  margin-bottom: 8px;
}

.chimney-calc__article .breadcrumb a {
  color: var(--text-secondary);
}

.chimney-calc__article .breadcrumb a:hover {
  color: var(--accent);
}

.chimney-calc__title {
  font-family: "Playfair Display", serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--text-main);
}

.chimney-calc__section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 28px 24px 32px;
}

.chimney-intro {
  margin-bottom: 1.5rem;
}

.chimney-intro__text {
  font-size: 15px;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.55;
}

.chimney-slider {
  position: relative;
  margin: 1.5rem 0 0;
}

.chimney-progress {
  margin-bottom: 2.5rem;
}

.chimney-progress__bar {
  height: 4px;
  background: var(--border-color);
  border-radius: 4px;
  position: relative;
  margin: 0 20px 28px;
  bottom: 0;
  z-index: 1;
}

.chimney-progress__fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  border-radius: 4px;
  transition: width 0.3s ease;
}

.chimney-progress__dots {
  display: flex;
  justify-content: space-between;
  margin-top: -36px;
  z-index: 2;
  position: relative;
  padding: 0 4px;
}

.chimney-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-bg);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.chimney-dot--active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 2px rgba(255, 87, 34, 0.25);
}

.chimney-dot--completed {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.chimney-steps__container {
  position: relative;
  overflow: hidden;
}

.chimney-step {
  display: none;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.chimney-step--active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.chimney-step__header {
  margin-bottom: 1.25rem;
}

.chimney-step__number {
  font-size: 13px;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 6px;
}

.chimney-step__title {
  font-size: 17px;
  color: var(--text-main);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.chimney-step__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}

.chimney-image-step__content {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chimney-option {
  position: relative;
  display: flex;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, filter 0.2s ease;
  justify-content: center;
  align-items: center;
  background: var(--primary-bg);
}

.chimney-option select,
.chimney-option .option-select {
  width: 100%;
  min-height: 48px;
  font-size: 15px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  background: var(--card-bg);
  color: var(--text-main);
}

.chimney-option select:focus,
.chimney-option .option-select:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.option-image {
  max-height: 120px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(1) brightness(0.85);
  transition: filter 0.2s ease;
}

.chimney-image-step__content > .chimney-option {
  min-height: 120px;
  width: calc(50% - 5px);
  flex: 1 1 calc(50% - 5px);
  text-align: center;
}

.chimney-option:hover {
  border-color: var(--accent);
}

.chimney-option:hover .option-image {
  filter: grayscale(0) brightness(1);
}

.chimney-option__input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chimney-option:has(.chimney-option__input:checked) {
  border-color: var(--accent);
  background: rgba(255, 87, 34, 0.08);
}

.chimney-option:has(.chimney-option__input:checked) .option-image {
  filter: grayscale(0) brightness(1);
}

.chimney-option__input:checked + .chimney-option__label {
  color: var(--accent);
}

.chimney-option__label {
  display: block;
  text-align: center;
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 15px;
}

.chimney-option .wrapper.chimney-option__label .title {
  display: block;
  color: var(--text-main);
  margin-bottom: 6px;
}

.chimney-option .wrapper.chimney-option__label .subtitle {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.45;
}

.chimney-suboptions {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-color);
  grid-column: 1 / -1;
}

.chimney-suboptions__title {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-weight: 600;
}

.chimney-checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.chimney-checkbox {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: var(--primary-bg);
}

.chimney-checkbox:hover {
  border-color: var(--accent);
  background: rgba(255, 87, 34, 0.06);
}

.chimney-checkbox__text {
  margin-left: 8px;
  color: var(--text-secondary);
  font-size: 14px;
}

.chimney-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.chimney-nav__btn {
  padding: 12px 24px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.chimney-nav__btn--prev {
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  background: transparent;
}

.chimney-nav__btn--prev:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.chimney-nav__btn--next {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
}

.chimney-nav__btn--next:hover:not(:disabled) {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

.chimney-nav__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.chimney-result {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.chimney-result table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.chimney-result td {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.chimney-result td.center {
  text-align: center;
}

.chimney-result a {
  color: var(--accent);
}

@media (max-width: 600px) {
  .chimney-image-step__content > .chimney-option {
    width: 100%;
    flex: 1 1 100%;
  }

  .chimney-progress__dots {
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 12px;
  }

  .chimney-progress__bar {
    margin-bottom: 8px;
  }
}

/* Футер: карта */
.pd-footer__map {
  margin: 32px 0 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.pd-footer__map iframe {
  display: block;
  width: 100%;
  height: 270px;
  border: 0;
}

.pd-footer__socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.pd-footer__socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pd-footer__socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

