
.visually-hidden {  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.news__panel[hidden] {
  display: none !important;
}

.news__panel.is-active {
  display: block;
}

.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}

.section__more,
.section__more-wrap {
  margin-top: 1.25rem;
}

.section__more {
  font-weight: 600;
  text-decoration: none;
}

.section__more:hover {
  text-decoration: underline;
}

.page__header {
  margin: 1.5rem 0 2rem;
}

.page__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.entry__header {
  margin-bottom: 1.25rem;
}

.entry__lead {
  margin: 0.35rem 0 0;
  max-width: 52ch;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.5;
  color: var(--text-muted, #6b7280);
}

.entry__cats {
  margin: 0.4rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
}

.entry__cats a {
  color: var(--green, #0e443c);
  text-decoration: none;
}

.entry__cats a:hover {
  color: var(--brown, #935a38);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.entry__content--service {
  margin-bottom: 1.5rem;
}

.entry__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.entry__content {
  max-width: 72ch;
  line-height: 1.65;
}

.entry--wc .entry__content,
.woocommerce-cart .entry__content,
.woocommerce-checkout .entry__content,
.woocommerce-account .entry__content {
  max-width: none;
  width: 100%;
}

.entry__content > *:first-child {
  margin-top: 0;
}

.entry__thumb {
  margin: 0 0 1.5rem;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: #e8efed;
}

.entry__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.breadcrumbs {
  display: block;
  margin: 1rem 0 1.25rem;
  padding: 0.65rem 0;
  font-size: 0.875rem;
  color: #5a6b66;
  border-bottom: 1px solid rgba(14, 68, 60, 0.1);
}

.breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs__list a {
  color: #0e443c;
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs__list a:hover {
  color: #935a38;
  text-decoration: underline;
}

.breadcrumbs__list [aria-current="page"] {
  color: #5a6b66;
}

.breadcrumbs__list li:not(:last-child)::after {
  content: "→";
  margin-left: 0.5rem;
  opacity: 0.45;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.project-specs {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.03);
}

.project-specs dt {
  font-weight: 600;
  margin: 0;
}

.project-specs dd {
  margin: 0.15rem 0 0;
}

.related {
  margin: 2.5rem 0;
}

.related__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #0e443c;
}

.related__more,
.entry-cta__actions,
.related__more.entry-cta__actions {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 0.85rem;
  margin: 1.5rem 0 0;
}

.related__more .btn,
.entry-cta__actions .btn {
  margin: 0;
  flex: 0 0 auto;
}

.site-crosslinks .news__grid,
.related .news__grid {
  margin: 0 0 0.25rem;
}

.site-crosslinks .related__more,
.related--site .related__more {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(14, 68, 60, 0.1);
}

.site-crosslinks .news-card,
.related .news-card,
.entry .news-card {
  float: none !important;
  width: auto !important;
  max-width: none;
}

.site-crosslinks .news-card__btn,
.related .news-card__btn {
  margin-top: 0.35rem;
}

.related--posts .news-card--blog {
  height: 100%;
}

.related--posts .news-card--blog .news-card__btn {
  margin-top: auto;
}

img[src=""],
img:not([src]),
img[src="#"],
img[src="null"],
img[src="undefined"] {
  display: none !important;
}

.entry__thumb:not(:has(img[src]:not([src=""]))),
.wp-block-latest-posts__featured-image:not(:has(img[src]:not([src=""]))),
.wp-block-post-featured-image:not(:has(img[src]:not([src=""]))),
.wp-block-post-featured-image:empty {
  display: none !important;
}

.wp-block-latest-posts,
ul.wp-block-latest-posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.wp-block-latest-posts > li,
.wp-block-post-template > .wp-block-post {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.wp-block-latest-posts__featured-image,
.wp-block-post-featured-image {
  margin: 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e8efed;
}

.wp-block-latest-posts__featured-image a,
.wp-block-post-featured-image a {
  display: block;
  height: 100%;
}

.wp-block-latest-posts__featured-image img,
.wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.wp-block-latest-posts__post-title,
.wp-block-post-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  color: #2a2a2a;
}

.wp-block-latest-posts__post-title a,
.wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.wp-block-latest-posts__post-title a:hover,
.wp-block-post-title a:hover {
  color: #935a38;
}

.wp-block-latest-posts__post-excerpt,
.wp-block-post-excerpt {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #4b5563;
}

.wp-block-query .wp-block-post-template {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

@media (max-width: 900px) {
  .wp-block-latest-posts,
  ul.wp-block-latest-posts,
  .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .wp-block-latest-posts,
  ul.wp-block-latest-posts,
  .wp-block-query .wp-block-post-template {
    grid-template-columns: 1fr;
  }
}

.entry-faq {
  margin: 2.5rem 0;
}

.entry-cta {
  padding: 1.5rem 0 0.5rem;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
}

.entry-cta__text {
  margin: 0 0 1rem;
  max-width: 40rem;
}

.entry-gallery {
  margin: 2rem 0 2.5rem;
}

.entry-gallery__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #0e443c;
  font-weight: 800;
}

.entry-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
}

.entry-gallery__grid--hub {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

@media (max-width: 900px) {
  .entry-gallery__grid--hub {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .entry-gallery__grid--hub {
    grid-template-columns: 1fr;
  }
}

.entry-gallery__item {
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #f0f2f1;
}

.entry-gallery__link {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: zoom-in;
}

.entry-gallery__link--page {
  cursor: pointer;
}

.entry-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.entry-gallery__grid--hub .entry-gallery__item img {
  aspect-ratio: 16 / 11;
  height: auto;
}

.entry-gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.2rem 2.75rem 0.65rem 0.75rem;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  background: linear-gradient(to top, rgba(8, 28, 22, 0.88), rgba(8, 28, 22, 0));
}

.entry-gallery__link--page .entry-gallery__zoom {
  top: 0.55rem;
  bottom: auto;
  z-index: 1;
}

.entry-gallery__zoom {
  position: absolute;
  right: 0.55rem;
  bottom: 0.55rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(10, 51, 45, 0.72);
  color: #fff;
  opacity: 0.9;
  pointer-events: none;
}

.entry-gallery__link:hover img {
  transform: scale(1.04);
}

/* Проект: ход работы — размер как у ряда из 5, без раздувания при малом числе */
.entry-gallery--project {
  margin: 1.75rem 0 2rem;
}

.entry-gallery__grid--row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.65rem;
  justify-items: stretch;
}

.entry-gallery__grid--row .entry-gallery__item {
  min-width: 0;
}

.entry-gallery__grid--row .entry-gallery__item img {
  aspect-ratio: 4 / 3;
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 900px) {
  .entry-gallery__grid--row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .entry-gallery__grid--row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* «Ход работы»: 4 фото + карточка «Показать ещё» */
.entry-gallery__grid--row.is-collapsed > .entry-gallery__item:nth-child(n + 5) {
  display: none;
}

.entry-gallery__grid--row > .popular-more.gallery-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: stretch;
  width: 100%;
  min-width: 0;
  min-height: 100%;
  margin: 0;
  padding: 16px 10px 18px;
  border: 1px solid var(--border, #d8ddd9);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.2s ease;
  aspect-ratio: 4 / 3;
}

.entry-gallery__grid--row > .popular-more.gallery-more:hover {
  background: #fafafa;
}

.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__plus {
  width: 44px;
  height: 44px;
  border: 1.5px solid #cfcfcf;
  border-radius: 50%;
  position: relative;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__plus::before,
.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #888;
  transform: translate(-50%, -50%);
}

.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__plus::before {
  width: 16px;
  height: 1.5px;
}

.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__plus::after {
  width: 1.5px;
  height: 16px;
}

.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--green, #1f4d3a);
  line-height: 1.25;
}

.entry-gallery__grid--row > .popular-more.gallery-more .popular-more__meta {
  font-size: 12px;
  color: #9a9a9a;
}

.kd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: grid;
  place-items: center;
  padding: 1rem;
  box-sizing: border-box;
}

.kd-lightbox[hidden] {
  display: none !important;
}

.kd-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  margin: 0;
  background: rgba(10, 20, 18, 0.88);
  cursor: zoom-out;
}

.kd-lightbox__dialog {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  line-height: 0;
}

.kd-lightbox__img {
  display: block;
  max-width: min(96vw, 1100px);
  max-height: 86vh;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 4px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.kd-lightbox__close,
.kd-lightbox__nav {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(12, 28, 24, 0.55);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: background 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.kd-lightbox__close:hover,
.kd-lightbox__nav:hover {
  background: rgba(12, 28, 24, 0.78);
}

.kd-lightbox__close {
  top: 0.65rem;
  right: 0.65rem;
  font-size: 1.85rem;
}

.kd-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.kd-lightbox__nav--prev {
  left: 0.65rem;
}

.kd-lightbox__nav--next {
  right: 0.65rem;
}

@media (max-width: 560px) {
  .kd-lightbox__close,
  .kd-lightbox__nav {
    width: 2.4rem;
    height: 2.4rem;
    font-size: 1.45rem;
  }

  .kd-lightbox__close {
    top: 0.45rem;
    right: 0.45rem;
  }

  .kd-lightbox__nav--prev {
    left: 0.4rem;
  }

  .kd-lightbox__nav--next {
    right: 0.4rem;
  }
}

.kd-services__children {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  border-left: none;
}

.kd-services__children .kd-service {
  border-bottom-color: rgba(14, 68, 60, 0.08);
}

.kd-services__children .kd-service__title {
  font-size: clamp(0.98rem, 1.6vw, 1.15rem);
}

.kd-service-children {
  margin: 2rem 0 0.5rem;
}

.kd-service-children__title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #0e443c;
}

.product-crosslinks__services,
.related__services,
.kd-service-children .kd-services__list {
  margin: 0;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.product-crosslinks__more {
  margin: 1rem 0 0;
}

.product-crosslinks--services .kd-service__body,
.related--services .kd-service__body,
.kd-service-children .kd-service__body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
  padding: 1rem 1.15rem;
}

.product-crosslinks--services .kd-service__index,
.related--services .kd-service__index,
.kd-service-children .kd-service__index {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(14, 68, 60, 0.4);
}

body.kd-lightbox-open {
  overflow: hidden;
}

.vacancies__list {
  display: grid;
  gap: 1.1rem;
  margin: 0 0 2rem;
}

.vacancies__empty {
  max-width: 48ch;
  color: #4b5563;
  line-height: 1.55;
}

.vacancy-card {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.15rem;
  align-items: start;
  margin: 0;
  padding: 1.35rem 1.4rem 1.3rem 1.55rem;
  overflow: hidden;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #fff 0%, #f7faf8 100%);
  box-shadow: 0 8px 24px rgba(14, 68, 60, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.vacancy-card::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #0e443c;
}

.vacancy-card--roof::before {
  background: #935a38;
}

.vacancy-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 68, 60, 0.28);
  box-shadow: 0 14px 32px rgba(14, 68, 60, 0.1);
}

.vacancy-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #0e443c;
  background: rgba(14, 68, 60, 0.08);
}

.vacancy-card--roof .vacancy-card__icon {
  color: #935a38;
  background: rgba(147, 90, 56, 0.12);
}

.vacancy-card--labor .vacancy-card__icon {
  color: #0e443c;
  background: rgba(14, 68, 60, 0.1);
}

.vacancy-card__body {
  min-width: 0;
}

.vacancy-card__top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.45rem 0.85rem;
  margin: 0 0 0.55rem;
}

.vacancy-card__title {
  margin: 0;
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.3;
}

.vacancy-card__title a {
  color: #0e443c;
  text-decoration: none;
}

.vacancy-card:hover .vacancy-card__title a {
  color: #935a38;
}

.vacancy-card__pay {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #0e443c;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.vacancy-card__meta,
.vacancy__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
  font-size: 0.86rem;
  color: #6b7280;
}

.vacancy-card__chip {
  padding: 0.22rem 0.62rem;
  border-radius: 999px;
  background: rgba(14, 68, 60, 0.06);
  color: #3d524d;
}

.vacancy-card__excerpt {
  margin: 0 0 1rem;
  max-width: 58ch;
  font-size: 0.96rem;
  line-height: 1.55;
  color: #3f4a47;
}

.vacancy-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  color: #0e443c;
  text-decoration: none;
}

.vacancy-card__btn:hover,
.vacancy-card:hover .vacancy-card__btn {
  color: #935a38;
}

@media (max-width: 640px) {
  .vacancy-card {
    grid-template-columns: 1fr;
    padding: 1.15rem 1.1rem 1.15rem;
  }

  .vacancy-card__icon {
    width: 42px;
    height: 42px;
  }
}

.vacancy__meta li {
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: rgba(14, 68, 60, 0.06);
  color: #3d524d;
}

.vacancy__meta .vacancy__pay {
  background: #0e443c;
  color: #fff;
  font-weight: 700;
}

.vacancy__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
  margin: 1.75rem 0 0;
}

.vacancy__phone {
  font-weight: 700;
  font-size: 1.05rem;
  color: #0e443c;
  text-decoration: none;
}

.vacancy__phone:hover {
  color: #935a38;
}

.topbar__nav li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.archive-faq {
  margin: 2.5rem 0 1rem;
}

.site-crosslinks {
  margin: 2.5rem 0 1rem;
}

.site-crosslinks__hub {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0.85rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.site-crosslinks__hub a {
  display: block;
  height: 100%;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
  background: #f6f7f6;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.site-crosslinks__hub a:hover {
  border-color: rgba(14, 68, 60, 0.35);
  background: #fff;
}

.site-crosslinks__hub strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #0e443c;
}

.site-crosslinks__hub span {
  display: block;
  font-size: 0.9rem;
  color: #5b6b67;
  line-height: 1.4;
}

.site-crosslinks__subtitle {
  margin: 1.5rem 0 0.85rem;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0e443c;
}

.site-crosslinks__services {
  list-style: none;
  margin: 0 0 0.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.site-crosslinks__service {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.75rem;
  align-items: center;
  height: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-crosslinks__service:hover {
  border-color: rgba(14, 68, 60, 0.35);
  background: #f7f9f8;
}

.site-crosslinks__service-index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #935a38;
}

.site-crosslinks__service-body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.site-crosslinks__service-title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0e443c;
}

.site-crosslinks__service-text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #5b6b67;
}

.site-crosslinks__service-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
  flex-shrink: 0;
}

.site-crosslinks__service-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0e443c;
  white-space: nowrap;
}

.site-crosslinks__service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(14, 68, 60, 0.18);
  color: #0e443c;
  transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.site-crosslinks__service:hover .site-crosslinks__service-arrow {
  transform: translateX(3px);
  background: #0e443c;
  border-color: #0e443c;
  color: #fff;
}

@media (max-width: 900px) {
  .site-crosslinks__services {
    grid-template-columns: 1fr;
  }

  .site-crosslinks__service {
    grid-template-columns: auto minmax(0, 1fr) auto;
  }
}

@media (min-width: 900px) {
  .entry-gallery__item img {
    aspect-ratio: 4 / 3;
    height: auto;
  }
}

.note--empty {
  opacity: 0.7;
}

.site-main {
  /* padding-top на main даёт белую полоску между шапкой и фоном секции */
  padding-top: 0;
  padding-bottom: 3rem;
  max-width: 100%;
  /* clip только внутри main — не на html/body, иначе sticky-шапка перекрывает герой */
  overflow-x: clip;
}

/*
 * Воздух сверху — внутри контейнера/панели, чтобы фон шёл вплотную к навигации
 * (услуги, блог, страницы, архивы, магазин).
 */
.site-main > .container {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

.site-main > section:first-child > .container,
.site-main > .kd-services__panel > .container {
  padding-top: clamp(1.25rem, 2.5vw, 2rem);
}

/* Главная: герой без верхнего зазора */
body.home .site-main > .container,
body.front-page .site-main > .container,
body.home .site-main > section:first-child > .container,
body.front-page .site-main > section:first-child > .container {
  padding-top: 0;
}

.site-main.kd-wc {
  padding-top: 0;
  padding-bottom: clamp(48px, 6vw, 80px);
}

.site-main.kd-wc > .container {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Карточка товара: отступ даёт breadcrumbs, без двойного воздуха */
body.single-product .site-main > .container,
body.single-product .site-main.kd-wc > .container,
body.single-product .site-main.kd-wc--product > .container {
  padding-top: 0;
}

/* Страницы услуг / городов / записей — воздух от края и между блоками */
.site-main > .container > .entry,
.entry-layout > .entry {
  max-width: 52rem;
}

.entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem 2.5rem;
  align-items: start;
  margin-bottom: 2rem;
}

@media (min-width: 1024px) {
  .entry-layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  }

  .blog-sidebar {
    position: sticky;
    top: 5.5rem;
    max-height: calc(100vh - 6.5rem);
    overflow: auto;
  }
}

.blog-sidebar {
  padding: 0.15rem 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #3a4f4a;
}

.blog-sidebar__title {
  margin: 0 0 0.85rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e443c;
}

.blog-sidebar__group + .blog-sidebar__group {
  margin-top: 1rem;
}

.blog-sidebar__cat {
  margin: 0 0 0.35rem;
  font-weight: 800;
  color: #0e443c;
}

.blog-sidebar__cat a {
  color: inherit;
  text-decoration: none;
}

.blog-sidebar__cat a:hover {
  color: #935a38;
  text-decoration: underline;
}

.blog-sidebar__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.blog-sidebar__list li {
  margin: 0;
}

.blog-sidebar__list a,
.blog-sidebar__list span {
  display: block;
  padding: 0.22rem 0;
  color: #3a4f4a;
  text-decoration: none;
}

.blog-sidebar__list a:hover {
  color: #935a38;
  text-decoration: underline;
}

.blog-sidebar__list [aria-current="page"] {
  font-weight: 800;
  color: #935a38;
}

/* Проект: заголовок и герой как были, контент ниже — на всю ширину контейнера */
.site-main > .container > .entry.entry--project {
  max-width: none;
}

.entry--project > .kd-project__header {
  max-width: 52rem;
}

.site-main > .container > .entry .entry__header {
  margin-bottom: 1.5rem;
}

.site-main > .container > .entry .entry-meta--price {
  margin: 0.35rem 0 0;
  color: #6b7280;
  font-size: 1rem;
}

.site-main > .container > .entry .entry__content {
  margin-bottom: 0.5rem;
}

.site-main > .container > .entry .entry-cta__actions,
.site-main > .container > .entry .service-shop-link {
  margin-top: 1.75rem;
  margin-bottom: 0.25rem;
}

.site-main > .container > .product-aside {
  margin: 1.75rem 0 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
  max-width: 52rem;
}

.site-main > .container > .product-aside .product-aside__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
}

.site-main > .container > .product-aside .product-aside__action {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.site-main > .container > .product-aside .product-aside__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  font-size: 0.88rem;
}

.site-main > .container > .product-aside .product-aside__nav a {
  color: #0e443c;
  font-weight: 600;
  text-decoration: none;
}

.site-main > .container > .product-aside .product-aside__nav a:hover {
  text-decoration: underline;
}

.site-main > .container > .product-aside .product-aside__sep {
  color: #c4c8ce;
}

.kd-wc .woocommerce-products-header__title,
.catalog__header .page__title {
  margin: 0;
  color: #0e443c;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  overflow: visible;
  padding-top: 0.12em;
}

.catalog__header {
  margin: 0 0 1.5rem;
}

.woocommerce-products-header .term-description,
.catalog__header .term-description,
.woocommerce-products-header .catalog__seo,
.woocommerce-products-header .catalog__seo-copy,
.woocommerce-products-header .catalog__seo-blocks {
  display: none;
}

.catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0 0 1.25rem;
  padding: 0.85rem 0 1.1rem;
  border-bottom: 1px solid rgba(14, 68, 60, 0.12);
}

.catalog__toolbar-start {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.catalog__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px 0 12px;
  border: 1px solid rgba(31, 77, 58, 0.2);
  border-radius: 10px;
  background: #fff;
  color: #1f4d3a;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.catalog__back-icon {
  width: 7px;
  height: 7px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  margin-top: -1px;
}

.catalog__back:hover {
  border-color: #1f4d3a;
  background: #1f4d3a;
  color: #fff;
}

.catalog__main:has(.catalog__empty) {
  display: flex;
  flex-direction: column;
  min-height: 0 !important;
}

.catalog__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  min-height: 0;
  width: 100%;
  max-width: 28rem;
  margin: 2.5rem auto 2rem;
  padding: 0 1rem;
}

.catalog__empty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 0 1rem;
  color: rgba(14, 68, 60, 0.38);
}

.catalog__empty-icon svg {
  width: 36px;
  height: 36px;
}

.catalog__empty-title {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #1a2e2a;
  line-height: 1.3;
}

.catalog__empty-text {
  margin: 0.45rem 0 0;
  max-width: 22rem;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(36, 53, 47, 0.52);
}

.catalog__empty-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem 1.2rem;
  margin-top: 1.25rem;
}

.catalog__empty .catalog__back {
  height: 40px;
  padding: 0 16px 0 14px;
  border-radius: 999px;
  font-weight: 600;
}

.catalog__empty-link {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(14, 68, 60, 0.72);
  text-decoration: none;
  border-bottom: 1px solid rgba(14, 68, 60, 0.22);
  padding-bottom: 1px;
}

.catalog__empty-link:hover {
  color: #0e443c;
  border-bottom-color: #0e443c;
}

.catalog__main > .woocommerce-info {
  display: none;
}

.catalog__toolbar .woocommerce-result-count,
.catalog__toolbar .woocommerce-ordering,
.catalog__main .woocommerce-result-count,
.catalog__main .woocommerce-ordering {
  float: none !important;
  margin: 0 !important;
}

.catalog__toolbar .woocommerce-result-count,
.catalog__main .woocommerce-result-count {
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.4;
}

.catalog__toolbar .woocommerce-ordering,
.catalog__main .woocommerce-ordering {
  display: inline-flex;
  align-items: center;
  position: relative;
}

.catalog__toolbar .woocommerce-ordering select,
.catalog__main .woocommerce-ordering select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  box-sizing: border-box;
  min-width: 220px;
  height: 42px;
  margin: 0;
  padding: 0.65rem 2.5rem 0.65rem 0.9rem;
  border: 1px solid rgba(31, 77, 58, 0.2);
  border-radius: 10px;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.2;
  color: #1f4d3a;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%231f4d3a' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 12px 8px;
  vertical-align: middle;
  cursor: pointer;
}

.catalog__toolbar .woocommerce-ordering select::-ms-expand,
.catalog__main .woocommerce-ordering select::-ms-expand {
  display: none;
}

.catalog__toolbar .woocommerce-ordering select:focus,
.catalog__main .woocommerce-ordering select:focus {
  outline: 2px solid rgba(31, 77, 58, 0.28);
  outline-offset: 1px;
  border-color: rgba(31, 77, 58, 0.4);
}

/* Тулбар на всю ширину над сеткой; сайдбар стартует вровень с карточками */
.catalog__toolbar + .catalog {
  margin-top: 0;
}

/* Пагинация магазина / архивов */
.woocommerce-pagination,
.kd-wc .woocommerce-pagination,
nav.navigation.pagination {
  margin: 2rem 0 0.5rem;
  text-align: center;
}

.woocommerce-pagination ul.page-numbers,
.woocommerce nav.woocommerce-pagination ul,
nav.navigation.pagination .nav-links {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

.woocommerce-pagination ul.page-numbers li,
.woocommerce nav.woocommerce-pagination ul li {
  display: block !important;
  margin: 0 !important;
  border: 0 !important;
  float: none !important;
  overflow: visible !important;
}

.woocommerce-pagination ul.page-numbers li .page-numbers,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span,
nav.navigation.pagination .page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 1px solid rgba(14, 68, 60, 0.18) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #0e443c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.woocommerce-pagination ul.page-numbers li a.page-numbers:hover,
.woocommerce nav.woocommerce-pagination ul li a:hover,
nav.navigation.pagination a.page-numbers:hover {
  background: rgba(14, 68, 60, 0.08) !important;
  border-color: #0e443c !important;
  color: #0e443c !important;
}

.woocommerce-pagination ul.page-numbers li span.page-numbers.current,
.woocommerce nav.woocommerce-pagination ul li span.current,
nav.navigation.pagination span.page-numbers.current {
  background: #0e443c !important;
  border-color: #0e443c !important;
  color: #fff !important;
  cursor: default;
}

.woocommerce-pagination ul.page-numbers li .page-numbers.dots,
.woocommerce nav.woocommerce-pagination ul li span.dots,
nav.navigation.pagination span.page-numbers.dots {
  border-color: transparent !important;
  background: transparent !important;
  color: #6b7280 !important;
  min-width: 28px;
  font-weight: 600 !important;
}

.woocommerce-pagination ul.page-numbers li a.prev,
.woocommerce-pagination ul.page-numbers li a.next,
.woocommerce nav.woocommerce-pagination ul li a.prev,
.woocommerce nav.woocommerce-pagination ul li a.next {
  min-width: 44px;
  color: #935a38 !important;
  border-color: rgba(147, 90, 56, 0.28) !important;
}

.woocommerce-pagination ul.page-numbers li a.prev:hover,
.woocommerce-pagination ul.page-numbers li a.next:hover {
  background: rgba(147, 90, 56, 0.1) !important;
  border-color: #935a38 !important;
  color: #935a38 !important;
}

.kd-blog__pager {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 2rem 0 0.25rem;
  clear: both;
}

.kd-blog__pager nav.navigation {
  width: 100%;
  margin: 0;
}

.kd-blog__pager .nav-links {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.kd-blog__pager .page-numbers {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px !important;
  margin: 0 !important;
  border: 1px solid rgba(14, 68, 60, 0.18) !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #0e443c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.kd-blog__pager a.page-numbers:hover {
  background: rgba(14, 68, 60, 0.08) !important;
  border-color: #0e443c !important;
}

.kd-blog__pager span.page-numbers.current {
  background: #0e443c !important;
  border-color: #0e443c !important;
  color: #fff !important;
}

.kd-blog__pager span.page-numbers.dots {
  border-color: transparent !important;
  background: transparent !important;
  color: #6b7280 !important;
  min-width: 28px;
}

.kd-blog__pager a.prev,
.kd-blog__pager a.next {
  min-width: 44px;
  color: #935a38 !important;
  border-color: rgba(147, 90, 56, 0.28) !important;
}

.catalog {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

@media (min-width: 901px) {
  .catalog.catalog--with-filters:not(:has(.catalog__empty)) {
    --kd-catalog-floor: calc(100vh - var(--kd-head-h, 120px) - 2.25rem);
    min-height: var(--kd-catalog-floor);
    align-items: stretch;
  }

  body.admin-bar .catalog.catalog--with-filters:not(:has(.catalog__empty)) {
    --kd-catalog-floor: calc(100vh - var(--kd-head-h, 120px) - 32px - 2.25rem);
  }

  .catalog.catalog--with-filters:not(:has(.catalog__empty)) > .catalog__filters {
    align-self: start;
  }

  .catalog.catalog--with-filters:not(:has(.catalog__empty)) > .catalog__main {
    min-height: var(--kd-catalog-floor);
  }

  .catalog.catalog--with-filters:has(.catalog__empty) {
    min-height: 0;
    align-items: start;
  }
}

.catalog__filters {
  position: sticky;
  top: 5.75rem;
  z-index: 5;
  max-height: none;
  overflow: visible;
  padding: 1rem 0.85rem 1.1rem;
  background: #f3f5f4;
  border: 1px solid rgba(14, 68, 60, 0.14);
  border-radius: 12px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

body.admin-bar .catalog__filters {
  top: 7.5rem;
}

.catalog__filter-title {
  margin: 0 0 0.65rem;
  padding: 0 0.35rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0e443c;
}

.catalog__filter-form + .catalog__filter-cats {
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
}

.catalog__filter-price {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  padding: 0 0.15rem;
}

.catalog__filter-field {
  flex: 1;
  min-width: 0;
}

.catalog__filter-field input {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border: 1px solid rgba(14, 68, 60, 0.25);
  border-radius: 7px;
  font: inherit;
  background: #fff;
}

.catalog__filter-field input:focus {
  outline: 2px solid rgba(14, 68, 60, 0.35);
  outline-offset: 1px;
}

.catalog__filter-sep {
  opacity: 0.5;
}

.catalog__filter-submit {
  width: 100%;
  margin-top: 0.15rem;
}

.catalog__filter-reset {
  display: inline-block;
  margin-top: 0.55rem;
  margin-left: 0.35rem;
  font-size: 0.875rem;
  color: #935a38;
  text-decoration: underline;
}

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

.catalog__filter-list > li + li {
  margin-top: 2px;
}

.catalog__filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: #1f2937;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease;
}

.catalog__filter-link:hover {
  background: rgba(14, 68, 60, 0.08);
  color: #0e443c;
}

.catalog__filter-link[aria-current="page"] {
  background: rgba(14, 68, 60, 0.12);
  color: #0e443c;
  font-weight: 800;
  box-shadow: inset 3px 0 0 #0e443c;
}

.catalog__filter-name {
  min-width: 0;
}

.catalog__filter-count {
  flex-shrink: 0;
  min-width: 1.35rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(14, 68, 60, 0.1);
  color: #0e443c;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.catalog__filter-chevron {
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #6b7280;
  border-bottom: 1.5px solid #6b7280;
  transform: rotate(-45deg);
  opacity: 0.7;
}

.catalog__filter-link:hover .catalog__filter-chevron {
  border-color: #0e443c;
  opacity: 1;
}

.catalog__filter-item.has-children > .catalog__filter-link {
  font-weight: 500;
}

.catalog__grid .products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)) !important;
  align-items: stretch !important;
  gap: 1.25rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.catalog__grid .products::before,
.catalog__grid .products::after {
  content: none !important;
  display: none !important;
}

.catalog__grid .product,
.catalog__grid .products > .product,
.catalog__grid .products > .product-card,
.catalog__grid li.product,
.woocommerce .catalog__grid ul.products li.product,
.woocommerce-page .catalog__grid ul.products li.product,
main.kd-wc ul.products > li.product,
main.kd-wc ul.products > li.product-card,
.kd-wc__container ul.products > li.product,
.woocommerce ul.products > li.product.product-card,
ul.products.columns-4 > li.product-card {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 16px 14px 18px !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
  min-width: 0;
  background: #fff !important;
  border: 1px solid var(--border, #e8e8e8) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  position: relative !important;
}

.catalog__seo {
  margin-top: 2.5rem;
  max-width: 72ch;
}

.catalog-faq {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.faq__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0e443c;
}

.faq__list {
  display: grid;
  gap: 0.65rem;
  max-width: 760px;
}

.faq__item,
.faq details.faq__item {
  margin: 0;
  padding: 0;
  border: 1px solid rgba(14, 68, 60, 0.14);
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
}

.faq__q,
.faq summary.faq__q,
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 1rem 1.15rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  font-weight: 700;
  line-height: 1.35;
  color: #0e443c;
}

.faq__q::-webkit-details-marker,
.faq summary::-webkit-details-marker {
  display: none;
}

.faq__q::marker,
.faq summary::marker {
  content: "";
  display: none;
}

.faq__q::after,
.faq summary::after,
.faq summary.faq__q::after {
  content: "" !important;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  margin: 0;
  border-radius: 50%;
  background-color: rgba(14, 68, 60, 0.08);
  background-image:
    linear-gradient(#0e443c, #0e443c),
    linear-gradient(#0e443c, #0e443c);
  background-repeat: no-repeat;
  background-position: center, center;
  background-size: 12px 2px, 2px 12px;
  float: none !important;
  position: static !important;
  top: auto !important;
  right: auto !important;
  font-size: 0 !important;
  line-height: 0 !important;
  opacity: 1 !important;
  color: transparent !important;
  transition: background-color 0.2s ease;
}

.faq__item[open] .faq__q::after,
.faq details[open] summary::after,
.faq details[open] .faq__q::after {
  content: "" !important;
  background-size: 12px 2px, 0 0;
  background-color: rgba(147, 90, 56, 0.12);
}

.faq__q:hover::after,
.faq summary:hover::after {
  background-color: rgba(14, 68, 60, 0.14);
}

.faq__a {
  padding: 0 1.15rem 1.05rem;
  color: #6b7280;
  font-size: 0.95rem;
  line-height: 1.55;
}

.faq__a p {
  margin: 0;
}

/* ===== Карточка товара ===== */
.kd-single-product {
  margin: 0.5rem 0 2rem;
}

.kd-single-product__top {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 2rem 3rem;
  align-items: start;
  margin-bottom: 2.5rem;
}

.kd-single-product__gallery {
  position: relative;
  min-width: 0;
}

.kd-single-product .woocommerce-product-gallery,
.kd-single-product .images {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  position: relative;
}

.kd-single-product .woocommerce-product-gallery__wrapper {
  margin: 0;
}

.kd-single-product .woocommerce-product-gallery__image,
.kd-single-product .woocommerce-product-gallery__image--placeholder {
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
  overflow: hidden;
  background: #f3f5f4;
}

.kd-single-product .woocommerce-product-gallery__image img,
.kd-single-product .woocommerce-product-gallery__image--placeholder img,
.kd-single-product .woocommerce-product-gallery__image a img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: center;
  background: #f3f5f4;
}

.kd-single-product .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
}

.kd-single-product .flex-control-thumbs li {
  margin: 0;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
}

.kd-single-product .flex-control-thumbs img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.75;
  cursor: pointer;
}

.kd-single-product .flex-control-thumbs .flex-active,
.kd-single-product .flex-control-thumbs img:hover {
  opacity: 1;
}

.kd-single-product__summary,
.kd-single-product .summary {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
}

.kd-single-product .product_title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  line-height: 1.28;
  color: #1f2937;
  letter-spacing: -0.02em;
}

.kd-single-product .woocommerce-product-rating {
  margin: 0 0 0.85rem;
}

.kd-single-product .price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.45rem 0.85rem;
  margin: 0 0 1.15rem;
  font-size: 1.75rem;
  font-weight: 800;
  color: #0e443c;
  line-height: 1.2;
}

.kd-single-product .price del {
  font-size: 1.05rem;
  font-weight: 600;
  color: #9ca3af;
  order: 2;
}

.kd-single-product .price ins {
  text-decoration: none;
  order: 1;
}

.kd-single-product .woocommerce-product-details__short-description {
  margin: 0 0 1.25rem;
  max-width: 48ch;
  line-height: 1.6;
  color: #374151;
}

.kd-single-product .woocommerce-product-details__short-description > *:first-child {
  margin-top: 0;
}

.kd-single-product .woocommerce-product-details__short-description > *:last-child {
  margin-bottom: 0;
}

.kd-single-product form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
}

.kd-single-product form.cart .quantity {
  margin: 0;
}

.kd-single-product .quantity .qty {
  width: 4.5rem;
  height: 48px;
  padding: 0 0.65rem;
  border: 1px solid rgba(14, 68, 60, 0.25);
  border-radius: 6px;
  font: inherit;
  font-weight: 700;
  text-align: center;
  background: #fff;
  color: #1a1a1a;
}

.kd-single-product .quantity .qty:focus {
  outline: 2px solid rgba(14, 68, 60, 0.35);
  outline-offset: 1px;
}

.kd-single-product .single_add_to_cart_button,
.kd-single-product button.single_add_to_cart_button.button.alt {
  flex: 1 1 180px;
  min-height: 48px;
  padding: 0.85rem 1.35rem !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: #0e443c !important;
  color: #fff !important;
  font: inherit !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kd-single-product .single_add_to_cart_button:hover,
.kd-single-product button.single_add_to_cart_button.button.alt:hover {
  background: #0a332d !important;
  color: #fff !important;
}

.kd-single-product .product_meta {
  display: grid;
  gap: 0.35rem;
  margin: 0 0 0.25rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
  font-size: 0.9rem;
  color: #6b7280;
}

.kd-single-product .product_meta a {
  color: #0e443c;
  font-weight: 600;
  text-decoration: none;
}

.kd-single-product .product_meta a:hover {
  color: #935a38;
}

.kd-single-product .onsale {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  margin: 0;
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  background: #0e443c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  line-height: 1.2;
  min-height: 0;
  min-width: 0;
}

.kd-single-product__bottom {
  clear: both;
}

.kd-single-product__bottom > *:first-child {
  margin-top: 0;
}

.kd-single-product .woocommerce-tabs {
  margin-top: 0;
}

.kd-single-product .related.products,
.kd-single-product .upsells.products {
  margin: 2.5rem 0 0;
}

.kd-single-product .related.products ul.products,
.kd-single-product .upsells.products ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.kd-single-product .related.products ul.products::before,
.kd-single-product .related.products ul.products::after,
.kd-single-product .upsells.products ul.products::before,
.kd-single-product .upsells.products ul.products::after {
  display: none;
}

.kd-single-product .related.products .product,
.kd-single-product .upsells.products .product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  .kd-single-product__top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 1.5rem;
  }

  .kd-single-product .woocommerce-product-gallery,
  .kd-single-product .images,
  .kd-single-product .summary,
  .kd-single-product__gallery,
  .kd-single-product__summary {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
  }
}

.product-cta {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(14, 68, 60, 0.06), rgba(147, 90, 56, 0.08)),
    #f7f8f7;
  border: 1px solid rgba(14, 68, 60, 0.12);
}

.product-cta__title {
  margin: 0 0 0.5rem;
  font-size: 1.35rem;
  color: #0e443c;
}

.product-cta__text {
  margin: 0 0 1rem;
  max-width: 48ch;
  line-height: 1.55;
}

.product-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
}

.header__phone {
  display: none;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0e443c;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 1100px) {
  .header__phone {
    display: inline-flex;
    align-items: center;
    margin-right: 0.35rem;
  }
}

.catalog__article-head {
  margin: 2rem 0 0;
  max-width: none;
  width: 100%;
}

.catalog__article-title {
  margin: 0 0 0.75rem;
  color: #0e443c;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0;
  overflow: visible;
  padding-top: 0.12em;
}

.catalog__article-head + .catalog__seo-blocks,
.catalog__article-head + .catalog__seo-copy,
.catalog__article-head + .kd-seo-cat-lead {
  margin-top: 1.25rem;
}

.catalog__lead {
  max-width: none;
  width: 100%;
  margin: 0 0 1.25rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #3a4f4a;
}

.catalog__seo-copy {
  margin: 1.75rem 0 0;
  max-width: none;
  width: 100%;
  font-size: 0.98rem;
  line-height: 1.6;
  color: #3a4f4a;
}

.catalog__seo-copy p {
  margin: 0 0 0.85em;
}

.catalog__seo-copy p:last-child {
  margin-bottom: 0;
}

.catalog__seo-copy :where(h2, h3) {
  margin: 1.25em 0 0.5em;
  color: #0e443c;
  font-weight: 800;
  line-height: 1.25;
}

.catalog__seo-copy h2,
.catalog__seo-copy-title {
  font-size: 1.25rem;
}

.catalog__seo-copy h3 {
  font-size: 1.08rem;
}

.catalog__seo-blocks {
  margin: 2rem 0 0;
}

.catalog__seo-blocks .kd-blocks {
  max-width: none;
  width: 100%;
  margin-bottom: 0;
}

.catalog__service-link {
  margin: 0 0 1.25rem;
  padding: 0.9rem 1rem;
  background: #f7f9f8;
  border-left: 3px solid #935a38;
  font-size: 0.95rem;
}

.catalog__service-link a {
  font-weight: 700;
  color: #0e443c;
}

.catalog__related-services {
  margin: 0 0 1.5rem;
  padding: 1.1rem 0 0.25rem;
}

.catalog__related-services .related__title {
  margin-bottom: 0.85rem;
}

.catalog__related-services .kd-services__list--catalog {
  margin: 0 0 0.85rem;
}

.catalog__related-services .related__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  margin: 0;
}

/* SEO-перелинковка каталог ↔ услуги ↔ портфолио */
.kd-seo-cat-lead {
  margin: 0.75rem 0 1.25rem;
  max-width: none;
  width: 100%;
}

.kd-seo-cat-lead .catalog__lead {
  margin-bottom: 1rem;
}

.kd-seo-cat-lead .catalog__seo-blocks {
  margin: 0 0 1.15rem;
}

.kd-seo-cat-lead p {
  margin: 0 0 0.85rem;
  line-height: 1.65;
  color: #24352f;
}

.kd-seo-cat-lead__cta {
  margin: 0;
}

.catalog__related-works,
.kd-seo-works {
  margin: 1.75rem 0 1.25rem;
  padding-top: 0.35rem;
}

/* Работы / услуги / статьи — на всю ширину контейнера, ниже фильтров и сетки */
.catalog--with-filters + .related,
.catalog--with-filters + .site-crosslinks {
  margin-top: 2.25rem;
  padding-top: 1.85rem;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
}

.kd-seo-works__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0 0 1rem;
}

.kd-seo-works__grid .work-card {
  min-width: 0;
}

.related--projects .kd-seo-works__grid {
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .kd-seo-works__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .kd-seo-works__grid {
    grid-template-columns: 1fr;
  }
}

.kd-seo-service-hub {
  margin: 2rem 0 0;
  display: grid;
  gap: 1.75rem;
}

.kd-seo-service-hub__title {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  color: var(--green, #1f4d3a);
}

.kd-seo-service-hub__text {
  margin: 0 0 0.85rem;
  max-width: 40rem;
  line-height: 1.6;
}

.kd-seo-service-hub__materials {
  padding: 1.15rem 1.25rem;
  border: 1px solid var(--border, #d8ddd9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(4, 20, 40, 0.04);
}

.kd-seo-project-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1.25rem 0 0;
  max-width: 52rem;
}

.kd-seo-project-strip__link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--border, #d8ddd9);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kd-seo-project-strip__link:hover {
  border-color: var(--green, #1f4d3a);
  box-shadow: 0 10px 28px rgba(4, 20, 40, 0.08);
}

.kd-seo-project-strip__kicker {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #5c6b63);
}

.kd-seo-project-strip__link strong {
  color: var(--green, #1f4d3a);
}

@media (max-width: 560px) {
  .kd-seo-project-strip {
    grid-template-columns: 1fr;
  }
}

/* Поля контента услуги / статьи */
.service-adv,
.service-steps {
  margin: 0 0 1.5rem;
}

.service-adv__title,
.service-steps__title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
}

.service-adv__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem;
}

.service-adv__item {
  position: relative;
  padding: 0.55rem 0.75rem 0.55rem 2rem;
  background: #f7f9f8;
  border-left: 3px solid #0e443c;
}

.service-adv__item::before {
  content: "";
  position: absolute;
  left: 0.7rem;
  top: 0.9rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #935a38;
}

.service-steps__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
  counter-reset: kd-step;
}

.service-steps__item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.65rem 0.8rem;
  background: #fff;
  border: 1px solid #e3ebe8;
}

.service-steps__num {
  flex: 0 0 1.75rem;
  width: 1.75rem;
  height: 1.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #0e443c;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

.service-steps__text {
  padding-top: 0.15rem;
}

.post-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e3ebe8;
}

/* ========== Страница города ========== */
body.single-kd_city .site-main {
  padding-top: 0;
  padding-bottom: 0;
  max-width: none;
  width: 100%;
}

body.single-kd_city .kd-city-hero > .container,
body.single-kd_city .kd-city-body > .container {
  max-width: var(--container, 1360px);
  width: min(100%, var(--container, 1360px));
}

body.single-kd_city .kd-city__content,
body.single-kd_city .entry__content {
  width: 100%;
  max-width: 52rem !important;
}

body.single-kd_city .kd-city__thumb {
  width: 100%;
  max-width: 52rem;
}

body.single-kd_service .site-main > .container > .entry.entry--service,
body.single-kd_service .entry--service,
body.single-kd_service .entry__content--service {
  width: 100%;
  max-width: 52rem;
}

.kd-city-hero {
  position: relative;
  margin: 0;
  padding: 0 0 clamp(2.25rem, 5vw, 3.5rem);
  color: #f3f7f6;
  background:
    linear-gradient(135deg, rgba(10, 51, 45, 0.92) 0%, rgba(14, 68, 60, 0.88) 48%, rgba(14, 68, 60, 0.78) 100%),
    radial-gradient(ellipse 70% 80% at 100% 0%, rgba(147, 90, 56, 0.35), transparent 55%),
    linear-gradient(160deg, #0a332d 0%, #0e443c 55%, #163f38 100%);
  overflow: hidden;
}

.kd-city-hero__inner {
  position: relative;
  z-index: 1;
  padding-top: 0.35rem;
}

.kd-city-hero .breadcrumbs,
.kd-city-hero .breadcrumbs a {
  color: rgba(243, 247, 246, 0.72) !important;
}

.kd-city-hero .breadcrumbs {
  margin-bottom: 1.35rem;
}

.kd-city-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(240px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: end;
}

.kd-city-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #e2b089;
}

.kd-city-hero__title {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 4.6vw, 3.1rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.12;
  color: #fff;
}

.kd-city-hero__lead {
  margin: 0 0 1.35rem;
  max-width: 42ch;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.55;
  color: rgba(243, 247, 246, 0.86);
}

.kd-city-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.1rem;
}

.btn--outline-light {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff !important;
}

.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff !important;
}

.kd-city-hero__phone {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  color: #fff !important;
  text-decoration: none !important;
}

.kd-city-hero__phone span {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.kd-city-hero__phone strong {
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.01em;
}

.kd-city-hero__phone:hover strong {
  color: #e2b089;
}

.kd-city-hero__facts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.kd-city-hero__facts li {
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px);
}

.kd-city-hero__facts strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
  color: #fff;
}

.kd-city-hero__facts span {
  display: block;
  font-size: 0.82rem;
  line-height: 1.35;
  color: rgba(243, 247, 246, 0.72);
}

.kd-city-body {
  padding: clamp(1.5rem, 3vw, 2.5rem) 0 clamp(2.75rem, 5vw, 4rem);
  background: #fff;
}

.kd-city__thumb {
  margin: 0 0 1.75rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(14, 68, 60, 0.12);
}

.kd-city__thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.kd-city__content {
  margin: 0 0 clamp(2rem, 4vw, 2.75rem);
  max-width: 68ch;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.kd-city__content > *:first-child {
  margin-top: 0;
}

.kd-city__content a {
  color: var(--green, #0e443c) !important;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kd-city__content a:hover {
  color: var(--brown, #935a38) !important;
}

.kd-city-services {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.kd-city-services__head {
  margin-bottom: 1.15rem;
}

.kd-city-services__head h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
  color: var(--green, #0e443c);
}

.kd-city-services__head p {
  margin: 0;
  max-width: 48ch;
  color: #64748b;
  line-height: 1.5;
}

.kd-city-services__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.kd-city-service {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "num title go"
    "num text go";
  column-gap: 0.9rem;
  row-gap: 0.25rem;
  align-items: center;
  min-height: 108px;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 14px;
  background:
    linear-gradient(180deg, #ffffff 0%, #f7f9f8 100%);
  box-shadow: 0 8px 24px rgba(14, 68, 60, 0.04);
  text-decoration: none !important;
  color: inherit !important;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.kd-city-service:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 68, 60, 0.35);
  box-shadow: 0 14px 28px rgba(14, 68, 60, 0.1);
}

.kd-city-service--shop {
  background:
    linear-gradient(135deg, rgba(147, 90, 56, 0.08), rgba(14, 68, 60, 0.06)),
    #fff;
}

.kd-city-service__num {
  grid-area: num;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brown, #935a38);
}

.kd-city-service__title {
  grid-area: title;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--green, #0e443c);
}

.kd-city-service__text {
  grid-area: text;
  font-size: 0.9rem;
  line-height: 1.4;
  color: #64748b;
}

.kd-city-service__go {
  grid-area: go;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(14, 68, 60, 0.08);
  color: var(--green, #0e443c);
  font-size: 1.05rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.kd-city-service:hover .kd-city-service__go {
  background: var(--green, #0e443c);
  color: #fff;
}

.kd-city-services__more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
  margin: 1rem 0 0;
  font-weight: 600;
}

.kd-city-services__more a {
  color: var(--green, #0e443c) !important;
  text-decoration: none !important;
}

.kd-city-services__more a:hover {
  color: var(--brown, #935a38) !important;
  text-decoration: underline !important;
}

.kd-city-services__more span {
  color: #94a3b8;
}

.kd-city-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 1.25rem;
  align-items: center;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.2rem, 3vw, 1.75rem);
  border-radius: 16px;
  background:
    radial-gradient(ellipse 50% 80% at 100% 0%, rgba(147, 90, 56, 0.28), transparent 50%),
    linear-gradient(120deg, #0e443c 0%, #0a332d 100%);
  color: #fff;
}

.kd-city-band__text h2 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 800;
  color: #fff;
}

.kd-city-band__text p {
  margin: 0;
  max-width: 42ch;
  color: rgba(243, 247, 246, 0.82);
  line-height: 1.5;
}

.kd-city-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
  justify-content: flex-end;
}

.kd-city-band__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.35rem;
  font-weight: 800;
  color: #fff !important;
  text-decoration: none !important;
}

.kd-city-band__phone:hover {
  color: #e2b089 !important;
}

body.single-kd_city .site-crosslinks {
  margin-top: 0.5rem;
}

body.single-kd_city .site-crosslinks__hub a {
  background: #f7f9f8;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(14, 68, 60, 0.04);
}

body.single-kd_city .site-crosslinks__hub a:hover {
  background: #fff;
  border-color: rgba(14, 68, 60, 0.3);
}

@media (max-width: 900px) {
  .kd-city-hero__grid,
  .kd-city-band {
    grid-template-columns: 1fr;
  }

  .kd-city-band__actions {
    justify-content: flex-start;
  }

  .kd-city-services__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .kd-city-hero__facts {
    grid-template-columns: 1fr;
  }
}

.service-shop-link {
  margin-top: 1.25rem;
}

.service-pricing {
  margin: 2rem 0 0.5rem;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
  max-width: 52rem;
}

.service-pricing__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  line-height: 1.25;
  color: #0e443c;
}

.service-pricing__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-pricing__card {
  padding: 1.1rem 1.15rem 1.2rem;
  background: linear-gradient(165deg, #f4f8f6 0%, #eef4f1 100%);
  border: 1px solid rgba(14, 68, 60, 0.1);
}

.service-pricing__label {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6b7280;
}

.service-pricing__value {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #0e443c;
  line-height: 1.2;
}

.service-pricing__hint {
  margin: 0 0 0.75rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #6b7280;
}

.service-pricing__link {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0e443c;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-pricing__link:hover {
  color: #935a38;
}

.service-pricing__cta {
  margin-top: 1.25rem !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

@media (max-width: 640px) {
  .service-pricing__grid {
    grid-template-columns: 1fr;
  }
}

.product-faq {
  margin: 2rem 0;
}

.kd-product-tabs {
  margin: 2rem 0 2.5rem;
  clear: both;
}

.kd-product-tabs__nav,
.woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(14, 68, 60, 0.12) !important;
  overflow: visible !important;
}

.kd-product-tabs__nav::before,
.kd-product-tabs__nav::after,
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after,
.woocommerce-tabs ul.tabs li::before,
.woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}

.kd-product-tabs__item,
.woocommerce-tabs ul.tabs li {
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;
}

.kd-product-tabs__link,
.woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 0.75rem 1rem !important;
  font-weight: 700;
  font-size: 0.95rem;
  color: #555 !important;
  text-decoration: none !important;
  white-space: nowrap;
  border: 0 !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
}

.kd-product-tabs__link:hover,
.woocommerce-tabs ul.tabs li a:hover {
  color: #0e443c !important;
}

.woocommerce-tabs ul.tabs li.active a,
.woocommerce-tabs ul.tabs li.activo a,
.kd-product-tabs__item.active .kd-product-tabs__link {
  color: #0e443c !important;
  border-bottom-color: #935a38 !important;
}

.kd-product-tabs__panel,
.woocommerce-Tabs-panel,
.kd-product-tab.entry__content {
  max-width: none;
  width: 100%;
  padding: 0.25rem 0 0.5rem;
  line-height: 1.65;
}

.kd-product-tab > *:first-child {
  margin-top: 0;
}

.woocommerce-product-attributes {
  width: 100%;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

.summary .product-cta {
  margin-top: 1.25rem;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .kd-product-tabs__link,
  .woocommerce-tabs ul.tabs li a {
    padding: 0.55rem 0.7rem !important;
    font-size: 0.8rem;
  }
}

.product-crosslinks {
  margin: 2.5rem 0;
}

.product-crosslinks__title {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: #0e443c;
}

.product-crosslinks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.product-crosslinks .products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 1.15rem !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  float: none !important;
  clear: both !important;
}

.product-crosslinks .products::before,
.product-crosslinks .products::after {
  content: none !important;
  display: none !important;
}

.product-crosslinks .products > .product,
.product-crosslinks .products > .product-card,
.product-crosslinks .product {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
  min-width: 0;
  height: auto;
  align-self: stretch;
  display: flex !important;
  flex-direction: column;
  gap: 8px;
  padding: 14px !important;
  box-sizing: border-box !important;
  border: 1px solid var(--border, #e8e8e8) !important;
  border-radius: 10px;
  background: #fff;
}

/* Карточки: цена и кнопки на одной линии во всём ряду */
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.product-card .product-card__title,
.products .product-card__title,
.home-products .product-card__title,
.product-crosslinks .product-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 0;
  max-height: none;
  line-height: 1.4;
  padding-bottom: 0.12em;
}

.product-card .product-card__price,
.products .product-card__price,
.home-products .product-card__price,
.product-crosslinks .product-card__price {
  margin-top: 0;
}

.product-card .product-card__meta,
.products .product-card__meta,
.home-products .product-card__meta,
.product-crosslinks .product-card__meta {
  margin-top: auto;
}

.product-card .product-card__old,
.products .product-card__old,
.home-products .product-card__old {
  margin-top: 0;
}

.product-card .product-card__actions,
.products .product-card__actions,
.home-products .product-card__actions,
.product-crosslinks .product-card__actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  margin-top: 0.5rem;
  padding-top: 0;
}

.product-card .product-card__buy,
.products .product-card__buy,
.home-products .product-card__buy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  box-sizing: border-box;
}

.product-card .product-card__compare,
.products .product-card__compare,
.home-products .product-card__compare {
  width: 42px;
  min-width: 42px;
  min-height: 42px;
  height: auto;
  align-self: stretch;
  box-sizing: border-box;
}

.related.products > h2,
.upsells.products > h2 {
  font-size: 1.35rem;
  color: #0e443c;
}

.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce,
.woocommerce-account .woocommerce {
  max-width: 100%;
}

.entry--wc .entry__content > *:first-child {
  margin-top: 0;
}

.kd-cart__layout,
.kd-checkout__layout,
.kd-account__layout {
  display: grid;
  gap: 1.75rem;
  align-items: start;
}

@media (min-width: 960px) {
  .kd-cart__layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
  }

  .kd-checkout__layout {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }

  .kd-account__layout {
    grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
    gap: 2rem;
  }
}

.kd-cart__header,
.kd-checkout__header,
.kd-account__header {
  margin: 0.25rem 0 1.25rem;
}

.kd-cart__aside,
.kd-checkout__aside {
  position: sticky;
  top: 5.5rem;
}

.kd-cart__totals,
.kd-checkout__review {
  padding: 1.25rem;
  background: #f6f7f6;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
}

.kd-cart__totals-title,
.kd-checkout__review-title {
  margin: 0 0 1rem;
  color: #0e443c;
  font-size: 1.2rem;
}

.kd-cart__coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.75rem;
}

.kd-cart__coupon .input-text {
  flex: 1 1 160px;
  min-width: 140px;
}

.kd-cart__continue,
.kd-cart__actions,
.kd-checkout__after,
.kd-account__quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.kd-cart--empty .woocommerce-info,
.kd-cart--empty .cart-empty.woocommerce-info {
  display: none !important;
}

.kd-checkout__overview {
  display: grid;
  gap: 0.65rem;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 1rem 1.15rem;
  background: #f6f7f6;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
}

.kd-checkout__overview li {
  margin: 0;
}

.kd-account__nav {
  margin: 0;
}

.kd-account__menu {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.kd-account__menu li {
  margin: 0;
  width: 100%;
}

.kd-account__menu a {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: rgba(14, 68, 60, 0.06);
  color: #0e443c;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  white-space: nowrap;
}

.kd-account__menu .is-active a,
.kd-account__menu a:hover {
  background: #0e443c;
  color: #fff;
}

.kd-account__content {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
  background: #fff;
}

/* Вход / регистрация — одна карточка, переключение вкладками */
body.woocommerce-account .kd-account--login {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

body.woocommerce-account .kd-account--login .kd-account__header {
  text-align: center;
  margin-bottom: 1.5rem;
}

body.woocommerce-account .kd-account--login .archive-desc {
  max-width: 36ch;
  margin-left: auto;
  margin-right: auto;
}

.kd-account__auth-card {
  padding: 1.35rem 1.35rem 1.45rem;
  border: 1px solid rgba(14, 68, 60, 0.1);
  border-radius: 16px;
  background:
    linear-gradient(165deg, rgba(14, 68, 60, 0.04), transparent 42%),
    #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
}

.kd-account__switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin: 0 0 1.35rem;
  padding: 0.3rem;
  border-radius: 12px;
  background: rgba(14, 68, 60, 0.06);
}

.kd-account__switch-btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  min-height: 42px;
  padding: 0.55rem 0.75rem;
  background: transparent;
  color: #4b5563;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.kd-account__switch-btn.is-active {
  background: #fff;
  color: #0e443c;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.kd-account__panel.is-hidden,
.kd-account__panel[hidden] {
  display: none !important;
}

.kd-account__login-col,
.kd-account__register-col {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.kd-account__auth-title {
  margin: 0 0 0.85rem;
  color: #0e443c;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.kd-account__auth-lead,
.kd-account__hint {
  margin: 0 0 1.1rem;
  color: #6b7280;
  font-size: 0.9rem;
  line-height: 1.5;
}

.kd-account__form .form-row {
  margin-bottom: 0.95rem;
}

.kd-account__form label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 650;
  color: #374151;
}

.kd-account__form .input-text,
.kd-account__form input[type="text"],
.kd-account__form input[type="email"],
.kd-account__form input[type="password"] {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(14, 68, 60, 0.18);
  border-radius: 10px;
  background: #fff;
  font: inherit;
  box-sizing: border-box;
}

.kd-account__form .input-text:focus,
.kd-account__form input:focus {
  outline: 2px solid rgba(14, 68, 60, 0.28);
  outline-offset: 1px;
  border-color: rgba(14, 68, 60, 0.35);
}

.kd-account__form-row--actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.kd-account__submit,
.kd-account__form button.button,
.woocommerce-account .kd-account__form button.button {
  width: 100%;
  min-height: 48px;
  margin: 0 !important;
  padding: 0.75rem 1.1rem !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: #0e443c !important;
  color: #fff !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(14, 68, 60, 0.16);
}

.kd-account__submit--accent,
.woocommerce-account .kd-account__register-col button.button {
  background: var(--orange, #935a38) !important;
  box-shadow: 0 10px 22px rgba(147, 90, 56, 0.22);
}

.kd-account__submit:hover,
.kd-account__form button.button:hover {
  filter: brightness(0.95);
}

.kd-account__form .lost_password {
  margin: 0.35rem 0 0;
  text-align: center;
}

.kd-account__form .lost_password a {
  color: #0e443c;
  font-size: 0.9rem;
  font-weight: 600;
}

.kd-account__form .woocommerce-privacy-policy-text {
  margin: 0.5rem 0 1rem;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #6b7280;
}

.kd-account__form .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-weight: 500;
  color: #4b5563;
}

.kd-account__flip {
  margin: 1.15rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(14, 68, 60, 0.08);
  text-align: center;
  font-size: 0.92rem;
  color: #6b7280;
}

.kd-account__flip-btn {
  appearance: none;
  border: 0;
  padding: 0;
  margin-left: 0.25rem;
  background: none;
  color: #0e443c;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.kd-account__flip-btn:hover {
  color: #935a38;
}

.woocommerce-cart table.shop_table,
.woocommerce-checkout table.shop_table,
.woocommerce-account table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.95rem;
}

.woocommerce-cart table.shop_table th,
.woocommerce-cart table.shop_table td,
.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td,
.woocommerce-account table.shop_table th,
.woocommerce-account table.shop_table td {
  padding: 0.85rem 0.75rem;
  border-bottom: 1px solid rgba(14, 68, 60, 0.12);
  text-align: left;
  vertical-align: middle;
}

.woocommerce-cart table.shop_table th,
.woocommerce-checkout table.shop_table th,
.woocommerce-account table.shop_table th {
  color: #0e443c;
  font-weight: 700;
  background: rgba(14, 68, 60, 0.04);
}

.woocommerce-cart .product-remove a,
.woocommerce-cart a.remove {
  color: #935a38 !important;
  font-size: 1.25rem;
  text-decoration: none;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-checkout #order_review {
  margin-top: 1.5rem;
}

.woocommerce-cart .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
  padding: 1.25rem;
  background: #f6f7f6;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
}

.woocommerce-cart .cart_totals h2,
.woocommerce-checkout #order_review_heading {
  margin-top: 0;
  color: #0e443c;
  font-size: 1.2rem;
}

.woocommerce-cart .button,
.woocommerce-cart button.button,
.woocommerce-checkout .button,
.woocommerce-checkout button.button,
.woocommerce-account .button,
.woocommerce-account button.button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border: none;
  border-radius: 6px;
  background: #935a38;
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.woocommerce-cart .button:hover,
.woocommerce-cart button.button:hover,
.woocommerce-checkout .button:hover,
.woocommerce-checkout button.button:hover,
.woocommerce-account .button:hover,
.woocommerce-account button.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #734326;
  color: #fff !important;
}

.woocommerce-checkout .button.alt,
.woocommerce #place_order {
  background: #0e443c;
}

.woocommerce-cart a.checkout-button,
.woocommerce-cart .button.alt.checkout-button {
  background: #935a38;
}

.woocommerce-checkout .button.alt:hover,
.woocommerce #place_order:hover {
  background: #0a332d;
}

.woocommerce-cart a.checkout-button:hover,
.woocommerce-cart .button.alt.checkout-button:hover {
  background: #7a4a2e;
}

.woocommerce form .form-row {
  margin: 0 0 1rem;
}

.woocommerce form .form-row label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0e443c;
}

/* Чекаут: ровная сетка полей, без «узких» имени/фамилии */
.kd-checkout .woocommerce-billing-fields__field-wrapper,
.kd-checkout .woocommerce-shipping-fields__field-wrapper,
.kd-checkout .woocommerce-additional-fields__field-wrapper,
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1rem;
  clear: both;
}

.kd-checkout .form-row,
.woocommerce-checkout .woocommerce-billing-fields .form-row,
.woocommerce-checkout .woocommerce-additional-fields .form-row {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: none !important;
  margin: 0 0 1rem !important;
  padding: 0 !important;
}

.kd-checkout .form-row-wide,
.woocommerce-checkout .form-row-wide {
  grid-column: 1 / -1;
}

.kd-checkout .form-row-first,
.kd-checkout .form-row-last,
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
  width: auto !important;
  float: none !important;
}

.kd-checkout__details.col2-set,
.woocommerce-checkout .kd-checkout__details.col2-set {
  display: block;
  width: 100%;
}

.kd-checkout__details .col-1,
.kd-checkout__billing {
  width: 100% !important;
  float: none !important;
  max-width: none;
}

.kd-checkout .woocommerce-billing-fields > h3,
.woocommerce-checkout .woocommerce-billing-fields > h3 {
  margin: 0 0 1rem;
  color: #0e443c;
  font-size: 1.2rem;
}

.kd-checkout__payment {
  margin-top: 1rem;
}

.kd-checkout__payment .payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.kd-checkout__payment .payment_methods li {
  margin: 0 0 0.65rem;
  padding: 0.75rem 0.9rem;
  background: #fff;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
}

.kd-checkout__payment .place-order {
  margin: 1rem 0 0;
}

.kd-checkout__payment #place_order,
.woocommerce-checkout #place_order {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
}

.kd-checkout #billing_postcode.kd-postcode--loading,
.woocommerce-checkout #billing_postcode.kd-postcode--loading {
  background-image: linear-gradient(90deg, rgba(14, 68, 60, 0.06), rgba(14, 68, 60, 0.14), rgba(14, 68, 60, 0.06));
  background-size: 200% 100%;
  animation: kd-postcode-pulse 1s linear infinite;
}

@keyframes kd-postcode-pulse {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}


.kd-checkout .woocommerce-checkout-review-order-table th,
.kd-checkout .woocommerce-checkout-review-order-table td {
  padding: 0.65rem 0.35rem;
}

@media (max-width: 640px) {
  .kd-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

.woocommerce form .input-text,
.woocommerce form select,
.woocommerce form textarea,
.woocommerce-page .select2-container .select2-selection--single {
  width: 100%;
  max-width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(14, 68, 60, 0.25);
  border-radius: 6px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.woocommerce-cart table.cart td.actions .coupon .input-text {
  width: min(220px, 100%);
  max-width: 220px;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(14, 68, 60, 0.25);
  border-radius: 6px;
  font: inherit;
  background: #fff;
  box-sizing: border-box;
}

.woocommerce form .input-text:focus,
.woocommerce form select:focus,
.woocommerce form textarea:focus {
  outline: 2px solid rgba(14, 68, 60, 0.35);
  outline-offset: 1px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem 0.95rem 1.1rem;
  margin: 0 0 1.25rem;
  border-radius: 8px;
  border: 1px solid rgba(14, 68, 60, 0.14);
  border-top: 3px solid #0e443c;
  border-left: 1px solid rgba(14, 68, 60, 0.14);
  background: #f7faf8;
  list-style: none;
  color: #1a2e2a;
  font-weight: 600;
  line-height: 1.45;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  content: none !important;
  display: none !important;
}

/* WC 8+/9: SVG-иконка в баннере */
.woocommerce-message .svg-icon,
.woocommerce-info .svg-icon,
.woocommerce-error .svg-icon,
.woocommerce-message > svg,
.woocommerce-info > svg,
.woocommerce-error > svg,
.wc-block-components-notice-banner__icon,
.woocommerce-message .wc-block-components-notice-banner__icon,
.woocommerce-NoticesArea .woocommerce-message svg {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0.1rem 0 0;
  position: static !important;
  left: auto !important;
  top: auto !important;
}

.woocommerce-message .wc-block-components-notice-banner__content,
.woocommerce-info .wc-block-components-notice-banner__content,
.woocommerce-error .wc-block-components-notice-banner__content,
.woocommerce-message > *:not(svg):not(.svg-icon),
.woocommerce-info > *:not(svg):not(.svg-icon),
.woocommerce-error > *:not(svg):not(.svg-icon) {
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 0 !important;
  margin: 0;
}

.wc-block-components-notice-banner,
.woocommerce-notices-wrapper .wc-block-components-notice-banner {
  display: flex !important;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem !important;
  border-radius: 8px !important;
  border: 1px solid rgba(14, 68, 60, 0.14) !important;
  border-top: 3px solid #0e443c !important;
  background: #f7faf8 !important;
}

.wc-block-components-notice-banner.is-success,
.woocommerce-message {
  border-top-color: #0e443c !important;
}

.wc-block-components-notice-banner.is-error,
.woocommerce-error {
  border-top-color: #935a38 !important;
  border-left-color: rgba(147, 90, 56, 0.2);
  background: rgba(147, 90, 56, 0.08) !important;
}

.woocommerce-error {
  border-top-color: #935a38;
  background: rgba(147, 90, 56, 0.08);
}

.woocommerce-message a,
.woocommerce-info a {
  color: #935a38;
  font-weight: 700;
}

/* Кабинет: аккуратное уведомление после отзыва */
.woocommerce-account .woocommerce-notices-wrapper,
.kd-account .woocommerce-notices-wrapper,
.kd-account-reviews .woocommerce-message,
.woocommerce-account .woocommerce-message {
  margin-bottom: 1.25rem;
}

.kd-account-reviews .woocommerce-message,
.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-message:first-child {
  margin-top: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  margin-bottom: 0;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0;
  width: 100%;
  list-style: none;
}

.woocommerce-account .woocommerce-MyAccount-navigation a,
.kd-account__menu a {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  background: rgba(14, 68, 60, 0.06);
  color: #0e443c;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
  white-space: nowrap;
}

.woocommerce-account .woocommerce-MyAccount-navigation .is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
  background: #0e443c;
  color: #fff;
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
  background: #fff;
}

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.woocommerce-checkout #payment {
  margin-top: 1rem;
  padding: 1rem;
  background: #fff;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

.woocommerce-checkout #payment ul.payment_methods li {
  margin: 0 0 0.65rem;
}

.woocommerce-cart table.cart img {
  width: 64px;
  height: auto;
}

@media (max-width: 900px) {
  .catalog {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1100px) {
  .product-crosslinks .products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .catalog__grid .products,
  .product-crosslinks .products,
  .product-crosslinks__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.85rem;
  }

  .woocommerce-cart table.shop_table,
  .woocommerce-cart table.shop_table thead,
  .woocommerce-cart table.cart {
    display: block;
  }

  .woocommerce-cart table.shop_table thead {
    display: none;
  }

  .woocommerce-cart table.shop_table tr,
  .woocommerce-cart table.shop_table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .woocommerce-cart table.shop_table td {
    border-bottom: none;
    padding: 0.4rem 0;
  }

  .woocommerce-cart table.shop_table tr {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(14, 68, 60, 0.12);
  }

  .woocommerce-cart table.cart td.actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .woocommerce-cart table.cart td.actions .coupon {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }

  .woocommerce-account .woocommerce-MyAccount-navigation ul {
    flex-direction: column;
  }

  .woocommerce-checkout .button,
  .woocommerce-account .button,
  .woocommerce-checkout a.button,
  .woocommerce-account a.button {
    width: 100%;
  }

  .woocommerce-cart .kd-cart__checkout .checkout-button {
    width: 100%;
  }

  .product-cta {
    padding: 1.15rem;
  }
}

.advantages {
  background: #fff;
  border-top: 1px solid var(--border);
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.advantage {
  padding: 20px 18px;
  border: 1px solid var(--border);
  background: var(--bg);
}

.advantage__num {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 10px;
}

.advantage__title {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 6px;
}

.advantage__text {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.45;
}

.reviews {
  background: #fff;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.review {
  padding: 22px 20px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--brown);
}

.review__text {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text);
}

.review__meta {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 13px;
}

.review__name {
  font-weight: 700;
  color: var(--green);
}

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

.home-cta {
  padding-top: 28px;
  padding-bottom: 28px;
}

.home-cta__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px 32px;
  padding: 28px 32px;
  background: var(--green);
  color: #fff;
}

.home-cta__title {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 800;
}

.home-cta__lead {
  margin: 0;
  opacity: 0.88;
  font-size: 15px;
  max-width: 42ch;
}

.home-cta__phone {
  margin: 12px 0 0;
  font-size: 1.25rem;
  font-weight: 700;
}

.home-cta__phone a:hover {
  color: #fff;
  text-decoration: underline;
}

.home-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.home-cta .btn--outline {
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #fff;
}

.home-cta .btn--outline:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
}

.catalog {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  margin-top: 24px;
}

.catalog__filters {
  padding: 18px 16px;
  border: 1px solid var(--border);
  background: #fff;
}

.catalog__filter-title {
  margin: 0 0 14px;
  font-size: 15px;
  font-weight: 800;
  color: var(--green);
}

.catalog__filter-group {
  margin-bottom: 16px;
}

.catalog__filter-group:last-child {
  margin-bottom: 0;
}

.catalog__filter-label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
}

.catalog__filters label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.catalog__filters input[type="checkbox"] {
  accent-color: var(--green);
}

.catalog__main .popular-cats__grid {
  margin-top: 0;
}

.faq {
  margin-top: 40px;
}

.faq__title {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--green);
}

.news-tabs {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.news-tabs::-webkit-scrollbar {
  display: none;
}

.blog-cats {
  margin: 0 0 1.75rem;
}

.blog-cats__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-cats__list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border: 1px solid rgba(26, 26, 26, 0.14);
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #1a1a1a;
  background: #fff;
}

.blog-cats__list a[aria-current="page"],
.blog-cats__list a:hover {
  border-color: #0e443c;
  color: #0e443c;
}

.blog-cats__list a.is-qa {
  border-color: #935a38;
  color: #935a38;
}

.blog-qa {
  margin: 2.75rem 0 0;
  padding: 2rem 0 0;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 0;
}

.blog-qa__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin: 0 0 1.25rem;
}

.blog-qa__intro {
  max-width: 40rem;
}

.blog-qa__eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #935a38;
}

.blog-qa__title {
  margin: 0 0 0.5rem;
  color: #0e443c;
  font-size: clamp(1.35rem, 2.2vw, 1.7rem);
  font-weight: 800;
  line-height: 1.2;
}

.blog-qa__lead {
  margin: 0;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #5b6b67;
}

.blog-qa__all {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 1.05rem;
  border: 1px solid rgba(14, 68, 60, 0.22);
  border-radius: 4px;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0e443c;
  text-decoration: none;
  white-space: nowrap;
  align-self: flex-end;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-qa__all-arrow {
  font-weight: 700;
  transition: transform 0.2s ease;
}

.blog-qa__all:hover {
  background: #0e443c;
  border-color: #0e443c;
  color: #fff;
  text-decoration: none;
}

.blog-qa__all:hover .blog-qa__all-arrow {
  transform: translateX(3px);
}

.blog-qa__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .blog-qa__list {
    grid-template-columns: 1fr 1fr;
  }
}

.blog-qa__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem;
  height: 100%;
  min-height: 4.5rem;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.blog-qa__item:hover {
  border-color: rgba(14, 68, 60, 0.35);
  background: #f7f9f8;
  box-shadow: 0 10px 24px rgba(16, 40, 34, 0.06);
}

.blog-qa__num {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #935a38;
  line-height: 1;
}

.blog-qa__q {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0e443c;
}

.blog-qa__go {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: 999px;
  border: 1px solid rgba(14, 68, 60, 0.18);
  color: #0e443c;
  transition: transform 0.25s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.blog-qa__item:hover .blog-qa__go {
  transform: translateX(3px);
  background: #0e443c;
  border-color: #0e443c;
  color: #fff;
}

.kd-callout {
  margin: 1rem 0;
  padding: 0.85rem 1rem 0.95rem;
  border-radius: 8px;
  border-left: 4px solid #935a38;
  background: rgba(147, 90, 56, 0.08);
}

.kd-callout--note {
  border-left-color: #0e443c;
  background: rgba(14, 68, 60, 0.07);
}

.kd-callout__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #935a38;
}

.kd-callout--note .kd-callout__label {
  color: #0e443c;
}

.kd-callout__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #24352f;
}

.post-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e3ebe8;
}

.post-cta--magnet {
  display: block;
}

.post-cta__lead {
  margin: 0 0 0.85rem;
  max-width: 54ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #3a4f4a;
}

.post-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

/* Архив блога — отдельный блок, не конкурирует с hero главной */
.kd-blog {
  padding-bottom: 2.5rem;
}

.kd-blog__header {
  max-width: 42rem;
  margin: 0 0 1.5rem;
}

.kd-blog__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #935a38;
}

.kd-blog__eyebrow a {
  color: inherit;
  text-decoration: none;
}

.kd-blog__eyebrow a:hover {
  text-decoration: underline;
}

.kd-blog__title {
  margin: 0 0 0.65rem !important;
}

.kd-blog__lead,
.kd-blog__lead.archive-desc,
.kd-blog__lead p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.55;
  color: #6b7280;
  font-weight: 400;
}

.kd-blog__empty {
  margin: 0 0 2rem;
  color: #6b7280;
}

.news-card--blog {
  gap: 0.7rem;
}

.news-card--blog .news-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.45rem;
  margin: 0;
  font-size: 0.8rem;
  color: #6b7280;
}

.news-card--blog .news-card__cat {
  color: #0e443c;
  font-weight: 600;
  text-decoration: none;
}

.news-card--blog .news-card__cat:hover {
  text-decoration: underline;
}

.news-card--blog .news-card__dot {
  opacity: 0.5;
}

.news-card--blog .news-card__title {
  flex: none;
  font-size: 1.05rem;
  line-height: 1.35;
  margin: 0;
}

.news-card--blog .news-card__excerpt {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #6b7280;
}

.news-card--blog .news-card__btn {
  margin-top: auto;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 1.25rem;
  color: var(--text-muted, #667085);
  font-size: 14px;
}

.entry-meta__sep {
  opacity: 0.5;
}

.entry-toc {
  margin: 0 0 1.5rem;
  padding: 16px 18px;
  border: 1px solid var(--border, #d8dee6);
  border-radius: 12px;
  background: #f8faf9;
}

.entry-toc__title {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: 15px;
}

.entry-toc__list {
  margin: 0;
  padding-left: 1.2rem;
}

.entry-toc__item {
  margin: 4px 0;
}

.entry-toc__item--h3 {
  margin-left: 0.85rem;
}

.entry-toc__item a {
  text-decoration: none;
}

.entry-toc__item a:hover {
  text-decoration: underline;
}

.catalog__filter-sub {
  list-style: none;
  margin: 2px 0 6px;
  padding: 0 0 0 8px;
  border-left: 2px solid rgba(14, 68, 60, 0.12);
}

.catalog__filter-sub .catalog__filter-sub {
  margin-top: 2px;
  margin-bottom: 4px;
}

.catalog__filter-sub .catalog__filter-link {
  padding: 0.4rem 0.55rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: #4b5563;
}

.catalog__filter-sub .catalog__filter-link[aria-current="page"] {
  font-weight: 700;
  color: #0e443c;
}

.catalog__filter-item:not(.is-open) > .catalog__filter-sub {
  display: none;
}

.catalog__cat-nav {
  margin: 0 0 1rem;
  padding: 0 0 0.85rem;
  border-bottom: 1px solid #e5e7eb;
}

.catalog__cat-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
}

.catalog__cat-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0e443c;
}

.catalog__cat-nav-all {
  font-size: 0.78rem;
  font-weight: 600;
  color: #e36b2c;
  text-decoration: none;
}

.catalog__cat-nav-all:hover {
  text-decoration: underline;
}

.catalog__filter-cats {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog__filter-cats > .catalog__filter-item + .catalog__filter-item {
  border-top: 1px solid rgba(14, 68, 60, 0.06);
}

.catalog__filter-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0.7rem 0.55rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.3;
  color: #555;
  text-decoration: none;
  transition: background 0.12s ease, color 0.12s ease;
}

.catalog__filter-link:hover {
  background: #f0f0f0;
  color: #333;
}

.catalog__filter-link[aria-current="page"] {
  background: #eef2f0;
  color: #0e443c;
  font-weight: 700;
}

.catalog__filter-name {
  min-width: 0;
  flex: 1;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.catalog__filter-chev {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  margin: -4px -4px -4px 0;
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

.catalog__filter-chev::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1.5px solid #b0b6bc;
  border-bottom: 1.5px solid #b0b6bc;
  transform: translate(-60%, -60%) rotate(-45deg);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.catalog__filter-chev:hover {
  background: rgba(14, 68, 60, 0.08);
}

.catalog__filter-chev:hover::before {
  border-color: #0e443c;
}

.catalog__filter-item.is-open > .catalog__filter-link .catalog__filter-chev::before {
  transform: translate(-50%, -70%) rotate(45deg);
  border-color: #0e443c;
}

.catalog__filter-sub {
  list-style: none;
  margin: 0 0 4px;
  padding: 0 0 0 12px;
  border-left: 2px solid rgba(14, 68, 60, 0.1);
}

.catalog__filter-sub .catalog__filter-link {
  padding: 0.5rem 0.45rem;
  font-size: 0.86rem;
  font-weight: 400;
  color: #666;
}

.catalog__filter-item:not(.is-open) > .catalog__filter-sub {
  display: none;
}

.catalog__filter-empty {
  padding: 0.5rem 0.65rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Хаб каталога */
.catalog-hub {
  margin: 0 0 1.75rem;
}

.catalog-hub--shop {
  margin: 0.35rem 0 2rem;
  padding: 1.1rem 1.1rem 1.35rem;
  border-radius: 18px;
  background:
    radial-gradient(1200px 280px at 8% -10%, rgba(31, 77, 58, 0.1), transparent 55%),
    linear-gradient(180deg, #f7f9f7 0%, #eef3f0 100%);
  border: 1px solid rgba(31, 77, 58, 0.12);
}

.catalog-hub__products-title {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f4d3a;
}

.catalog-hub__toolbar {
  display: grid;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.catalog-hub__search {
  position: relative;
  display: block;
}

.catalog-hub__search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  border: 2px solid rgba(31, 77, 58, 0.45);
  border-radius: 50%;
  pointer-events: none;
}

.catalog-hub__search-icon::after {
  content: "";
  position: absolute;
  right: -5px;
  bottom: -3px;
  width: 7px;
  height: 2px;
  background: rgba(31, 77, 58, 0.45);
  transform: rotate(45deg);
  border-radius: 1px;
}

.catalog-hub__search-input {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.55rem;
  border: 1px solid rgba(31, 77, 58, 0.18);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 0.98rem;
  color: #24352f;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.catalog-hub__search-input:focus {
  outline: 2px solid rgba(31, 77, 58, 0.28);
  outline-offset: 1px;
  border-color: rgba(31, 77, 58, 0.4);
}

/* Оглавление разделов: свёрнуто по умолчанию + плавное раскрытие */
.catalog-hub__toc {
  border: 1px solid rgba(31, 77, 58, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
}

.catalog-hub__toc-summary {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  font-size: 0.9rem;
  font-weight: 700;
  color: #1f4d3a;
  transition: background 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-hub__toc-summary::-webkit-details-marker {
  display: none;
}

.catalog-hub__toc-summary:hover {
  background: rgba(31, 77, 58, 0.04);
}

.catalog-hub__toc-summary::after {
  content: "";
  margin-left: auto;
  width: 0.45em;
  height: 0.45em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0.55;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

.catalog-hub__toc.is-open .catalog-hub__toc-summary::after,
.catalog-hub__toc[open].is-opening .catalog-hub__toc-summary::after {
  transform: rotate(225deg);
  margin-top: 0.25em;
  opacity: 0.8;
}

.catalog-hub__toc-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.1);
  font-size: 0.75rem;
  font-weight: 800;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.catalog-hub__toc.is-open .catalog-hub__toc-count,
.catalog-hub__toc.is-opening .catalog-hub__toc-count {
  transform: scale(1.06);
}

.catalog-hub__toc-hint {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(36, 53, 47, 0.55);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.catalog-hub__toc.is-open .catalog-hub__toc-hint,
.catalog-hub__toc.is-opening .catalog-hub__toc-hint {
  opacity: 0;
  transform: translateY(-4px);
  width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.catalog-hub__toc-anim {
  height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-4px);
  transition:
    height 0.48s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.34s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: height, opacity, transform;
}

.catalog-hub__toc.is-open .catalog-hub__toc-anim,
.catalog-hub__toc.is-opening .catalog-hub__toc-anim {
  opacity: 1;
  transform: translateY(0);
}

.catalog-hub__toc-panel {
  padding: 0 0.65rem 0.75rem;
  border-top: 1px solid rgba(31, 77, 58, 0.1);
}

.catalog-hub__toc-list {
  list-style: none;
  margin: 0.55rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  max-height: min(280px, 42vh);
  overflow: auto;
}

@media (min-width: 640px) {
  .catalog-hub__toc-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .catalog-hub__toc-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalog-hub__toc-list > li {
  opacity: 0;
  transform: translateY(8px);
}

.catalog-hub__toc.is-opening .catalog-hub__toc-list > li,
.catalog-hub__toc.is-open .catalog-hub__toc-list > li {
  animation: kd-hub-toc-item 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(0.04s + (min(var(--toc-i, 1), 16) * 0.018s));
}

.catalog-hub__toc.is-closing .catalog-hub__toc-list > li {
  animation: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

@keyframes kd-hub-toc-item {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.catalog-hub__toc-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  color: #24352f;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.catalog-hub__toc-link:hover,
.catalog-hub__toc-link.is-active {
  background: rgba(31, 77, 58, 0.08);
  color: #1f4d3a;
  transform: translateX(2px);
}

.catalog-hub__toc-name {
  min-width: 0;
  white-space: normal;
  overflow: visible;
  word-break: break-word;
}

.catalog-hub__toc-meta {
  margin-left: auto;
  color: rgba(36, 53, 47, 0.45);
  font-size: 0.75rem;
  font-weight: 700;
}

@media (prefers-reduced-motion: reduce) {
  .catalog-hub__toc-anim,
  .catalog-hub__toc-summary,
  .catalog-hub__toc-summary::after,
  .catalog-hub__toc-count,
  .catalog-hub__toc-hint,
  .catalog-hub__toc-link {
    transition: none !important;
  }

  .catalog-hub__toc-list > li {
    opacity: 1;
    transform: none;
    animation: none !important;
  }
}

.catalog-hub__empty {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: rgba(147, 90, 56, 0.08);
  color: #5c4033;
  font-size: 0.92rem;
}

.catalog-hub__groups {
  display: grid;
  gap: 1.35rem;
}

.catalog-hub__group {
  padding: 1rem 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 77, 58, 0.1);
  scroll-margin-top: 6rem;
}

.catalog-hub__group.is-dimmed {
  opacity: 0.38;
}

.catalog-hub__group[hidden] {
  display: none !important;
}

.catalog-hub__group-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px dashed rgba(31, 77, 58, 0.18);
}

.catalog-hub__group-title {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #1f4d3a;
}

.catalog-hub__group-title a {
  color: inherit;
  text-decoration: none;
}

.catalog-hub__group-title a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-hub__group-desc {
  margin: 0.3rem 0 0;
  max-width: 46rem;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(36, 53, 47, 0.68);
}

.catalog-hub__group-all {
  flex: 0 0 auto;
  font-size: 0.86rem;
  font-weight: 700;
  color: #935a38;
  text-decoration: none;
  white-space: nowrap;
}

.catalog-hub__group-all:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.catalog-hub__list,
.catalog-hub__grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog-hub__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

@media (min-width: 720px) {
  .catalog-hub__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .catalog-hub__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.catalog-hub__item[hidden] {
  display: none !important;
}

.catalog-hub__card {
  display: flex;
  text-decoration: none;
  color: #24352f;
  background: #fff;
  border: 1px solid rgba(31, 77, 58, 0.12);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.catalog-hub__card--row {
  align-items: stretch;
  min-height: 96px;
  position: relative;
}

.catalog-hub__card--row::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: transparent;
  transition: background 0.18s ease;
}

.catalog-hub__card:hover,
.catalog-hub__card.is-current {
  border-color: rgba(31, 77, 58, 0.34);
  box-shadow: 0 10px 24px rgba(31, 77, 58, 0.1);
  transform: translateY(-2px);
}

.catalog-hub__card--row:hover::before,
.catalog-hub__card--row.is-current::before {
  background: #1f4d3a;
}

.catalog-hub__card--row .catalog-hub__media {
  position: relative;
  flex: 0 0 92px;
  width: 92px;
  align-self: stretch;
  min-height: 96px;
  aspect-ratio: auto;
  background: #fff;
  border-right: 1px solid rgba(31, 77, 58, 0.08);
}

.catalog-hub__card--row .catalog-hub__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.75rem 0.7rem 0.75rem 0.85rem;
  min-width: 0;
}

.catalog-hub__card--row .catalog-hub__go {
  flex: 0 0 auto;
  align-self: center;
  margin-right: 0.75rem;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(31, 77, 58, 0.07);
  color: #1f4d3a;
  font-size: 0.95rem;
  font-weight: 700;
  transition: background 0.15s ease, transform 0.15s ease;
}

.catalog-hub__card--row:hover .catalog-hub__go {
  background: #1f4d3a;
  color: #fff;
  transform: translateX(2px);
}

.catalog-hub__title {
  display: block;
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  color: #1f4d3a;
}

.catalog-hub__blurb {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(36, 53, 47, 0.68);
}

.catalog-hub__meta {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 0.15rem;
  padding: 0.12rem 0.45rem;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.08);
  color: rgba(31, 77, 58, 0.85);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.catalog-hub__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.55), transparent 40%),
    linear-gradient(160deg, #eef3f0 0%, #e0eae4 100%);
  overflow: hidden;
}

.catalog-hub__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.28s ease;
}

.catalog-hub__card--row .catalog-hub__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 10px;
  background: #fff;
  box-sizing: border-box;
}

.catalog-hub__card:hover .catalog-hub__img {
  transform: scale(1.05);
}

.catalog-hub__card--row:hover .catalog-hub__img {
  transform: scale(1.03);
}

.catalog-hub__mark {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 96px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.28), transparent 45%),
    linear-gradient(145deg, color-mix(in srgb, var(--hub-accent, #1f4d3a) 88%, #fff), var(--hub-accent, #1f4d3a));
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.catalog-hub__mark span {
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

/* Fallback если color-mix не поддерживается */
@supports not (background: color-mix(in srgb, #000 50%, #fff)) {
  .catalog-hub__mark {
    background: var(--hub-accent, #1f4d3a);
  }
}

/* Плитки внутри категории */
.catalog-hub--tiles .catalog-hub__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .catalog-hub--tiles .catalog-hub__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
  }
}

@media (min-width: 960px) {
  .catalog-hub--tiles .catalog-hub__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
  }
}

.catalog-hub__card--tile {
  flex-direction: column;
  height: 100%;
}

.catalog-hub__card--tile .catalog-hub__body {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.7rem 0.75rem 0.85rem;
  text-align: center;
  align-items: center;
}

.catalog-hub__card--tile .catalog-hub__title {
  font-size: 0.9rem;
}

.catalog-hub__seo {
  margin-top: 1.5rem;
  max-width: 72rem;
}

.catalog.catalog--category-hub {
  grid-template-columns: minmax(0, 1fr);
}

.catalog.catalog--category-hub > .catalog__filters {
  display: none;
}

.catalog.catalog--category-hub .catalog-hub--tiles {
  margin: 0 0 1.25rem;
}

.catalog__header + .catalog-hub,
.catalog__main > .catalog-hub,
.woocommerce-products-header + .catalog-hub {
  margin-top: 0.35rem;
}

@media (max-width: 640px) {
  .catalog-hub--shop {
    padding: 0.85rem;
    border-radius: 14px;
  }

  .catalog-hub__card--row .catalog-hub__media {
    flex-basis: 76px;
    width: 76px;
  }

  .catalog-hub__card--row .catalog-hub__go {
    display: none;
  }
}

.catalog__subcats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin: 0 0 1.25rem;
  padding: 12px 14px;
  background: #f6f7f6;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 8px;
}

.catalog__subcats-label {
  font-size: 13px;
  font-weight: 700;
  color: #0e443c;
  white-space: nowrap;
}

.catalog__subcats-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.catalog__subcats-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border: 1px solid rgba(14, 68, 60, 0.18);
  border-radius: 6px;
  background: #fff;
  color: #1f2937;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.catalog__subcats-link:hover,
.catalog__subcats-link.is-current {
  border-color: #0e443c;
  color: #0e443c;
  background: rgba(14, 68, 60, 0.06);
}

.catalog-brands {
  --kd-brand-cols: 3;
  --kd-brand-gap: 8px;
  width: 100%;
  margin: 0 0 1.15rem;
}

.catalog-brands__grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--kd-brand-gap, 8px);
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: stretch;
  justify-items: center;
}

@media (min-width: 560px) {
  .catalog-brands__grid {
    grid-template-columns: repeat(var(--kd-brand-cols, 3), minmax(0, 1fr));
  }
}

.catalog-brands__item {
  min-width: 0;
  width: 100%;
  max-width: 132px;
  display: flex;
}

.catalog-brands__card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 6px;
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 10px 8px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  text-decoration: none;
  color: #1d4f7a;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.catalog-brands__card.has-logo {
  justify-content: flex-start;
  padding: 8px 6px;
}

.catalog-brands__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  height: 64px;
  aspect-ratio: auto;
  background: #f4f6f5;
  overflow: hidden;
  border-radius: 2px;
}

.catalog-brands__media .catalog-brands__img,
.catalog-brands__media .catalog-hub__img,
.catalog-brands__media img,
.catalog-brands__media .catalog-hub__mark {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.catalog-brands__media .catalog-hub__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: #0e443c;
  background: #f4f6f5;
}

.catalog-brands__logo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px 4px;
  background: #f4f6f5;
  color: #1f4d3a;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
  text-align: center;
  word-break: break-word;
}

.catalog-brands__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  width: 100%;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.25;
}

.catalog-brands__card.has-logo .catalog-brands__title {
  text-align: center;
  min-height: 2em;
  font-size: 0.7rem;
}

.catalog-brands__card.is-current {
  border-color: #1d4f7a;
  box-shadow: 0 0 0 1px #1d4f7a;
}

.catalog-series {
  width: 100%;
  margin: 0 0 1.25rem;
}

.catalog-series__head {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a75;
}

.catalog-series__swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
  padding: 0 2px;
}

.catalog-series__dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.catalog__grid .product-card--series {
  cursor: pointer;
}

.mobile-nav__catalog {
  margin: 0 0 14px;
  padding: 10px 12px 12px;
  background: #f3f5f4;
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-radius: 12px;
}

.mobile-nav__catalog-toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 4px;
  border: 0;
  background: transparent;
  color: var(--green, #0e443c);
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  border-radius: 8px;
}

.mobile-nav__catalog-toggle::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.mobile-nav__catalog-toggle[aria-expanded="true"]::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.mobile-nav__catalog-panel {
  padding: 6px 4px 2px;
}

.mobile-nav__catalog-panel[hidden] {
  display: none !important;
}

.mobile-nav__catalog-all {
  display: inline-flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #935a38;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(147, 90, 56, 0.22);
}

.mobile-nav__catalog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav__catalog-list > li {
  margin: 0 0 4px;
}

.mobile-nav__catalog-list > li > a {
  display: block;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #0e443c;
  text-decoration: none;
}

.mobile-nav__catalog-list > li > a:hover,
.mobile-nav__catalog-list > li > a:active {
  background: rgba(14, 68, 60, 0.08);
}

.mobile-nav__catalog-list ul {
  list-style: none;
  margin: 2px 0 8px;
  padding: 0 0 0 10px;
  border-left: 2px solid rgba(14, 68, 60, 0.12);
}

.mobile-nav__catalog-list ul a {
  display: block;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
}

.mobile-nav__catalog-list ul a:hover,
.mobile-nav__catalog-list ul a:active {
  background: rgba(14, 68, 60, 0.06);
  color: #0e443c;
}

.modal__hint {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted, #667085);
  text-align: center;
}

.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0 4px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--text-muted, #667085);
  cursor: pointer;
}

.modal__consent input {
  margin-top: 2px;
  flex: 0 0 auto;
  width: auto;
  padding: 0;
}

.modal__consent a {
  color: var(--blue, #0e443c);
  text-decoration: underline;
}

.modal__ok,
.modal__err {
  margin: 12px 0 0;
  font-size: 14px;
}

.modal__ok {
  color: #0e443c;
  font-weight: 600;
}

.modal__err {
  color: #b42318;
}

.modal__form .btn {
  margin-top: 4px;
}

.partner-card {
  text-decoration: none;
  color: inherit;
  border: none !important;
  box-shadow: none;
}

@media (max-width: 1100px) {
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .catalog {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
  }
}

@media (max-width: 860px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .home-cta__panel {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px;
  }

  .catalog {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .advantages__grid {
    grid-template-columns: 1fr;
  }

  .home-cta__actions {
    width: 100%;
  }

  .home-cta__actions .btn {
    flex: 1;
    text-align: center;
  }
}

/* ——— Отзывы: страница и кабинет ——— */
.reviews-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: flex-end;
  margin: 0 0 1.75rem;
  padding: 1rem 0 1.25rem;
  border-bottom: 1px solid rgba(14, 68, 60, 0.1);
}

.reviews-filters__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #5a6b66;
}

.reviews-filters__field select {
  min-width: 160px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border, #d8ddd9);
  background: #fff;
  font: inherit;
  font-weight: 500;
  color: var(--text, #1a1a1a);
}

.reviews__grid--page {
  margin-bottom: 2rem;
}

.review__rating {
  margin: 0 0 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--brown, #935a38);
}

.review__product {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.review__product a {
  color: var(--green, #0e443c);
  font-weight: 600;
}

.reviews-empty {
  margin: 2rem 0;
  color: var(--text-muted, #5a6b66);
}

.reviews--service {
  margin: 2rem 0 1.5rem;
}

.reviews--service .section__head {
  margin-bottom: 1rem;
}

.reviews-cta {
  margin: 2rem 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.kd-account-reviews__title {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.kd-account-reviews__form-block {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(14, 68, 60, 0.1);
}

.kd-account-reviews__form {
  display: grid;
  gap: 1rem;
  max-width: 520px;
}

.kd-account-reviews__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.kd-account-reviews__field input,
.kd-account-reviews__field select,
.kd-account-reviews__field textarea {
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border, #d8ddd9);
  font: inherit;
  font-weight: 500;
}

.kd-account-reviews__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.kd-account-reviews__list li {
  padding: 1rem 1.1rem;
  border: 1px solid var(--border, #d8ddd9);
  border-top: 3px solid var(--brown, #935a38);
}

.kd-account-reviews__list blockquote {
  margin: 0.35rem 0 0.5rem;
}

.kd-account-reviews__status {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--green, #0e443c);
}

.kd-account-reviews__empty {
  margin-bottom: 1.5rem;
}

@media (max-width: 860px) {
  .reviews__grid--page {
    grid-template-columns: 1fr;
  }
}

/* ——— Хаб /uslugi/ (композиция как на главной) ——— */
.kd-services-hero .hero__slide {
  height: clamp(360px, 48vw, 500px);
}

.kd-services-hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: heroIn 0.8s 0.15s ease both;
}

.kd-services-hub__crumbs {
  padding-top: 0.75rem;
}

.kd-services-hub__crumbs .breadcrumbs {
  margin: 0;
}

.kd-services-hub__chooser .kd-services__chooser-table-wrap {
  margin-top: 0.5rem;
  padding: 0.25rem 0 0;
  border: 1px solid rgba(14, 68, 60, 0.12);
  background: linear-gradient(165deg, rgba(14, 68, 60, 0.04), rgba(255, 255, 255, 0.92));
}

.kd-services-hub__list-section .kd-services__list {
  margin-top: 0.5rem;
}

.kd-services-hub__seo {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.kd-services-hub__seo-text {
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--text-muted, #6b7280);
}

/* ——— Архив услуг: editorial runway ——— */
.kd-services__panel {
  position: relative;
  margin: 0;
  padding: 0 0 clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(ellipse 80% 50% at 0% 0%, rgba(14, 68, 60, 0.07), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 8%, rgba(147, 90, 56, 0.06), transparent 50%),
    linear-gradient(180deg, #f7f9f8 0%, #ffffff 42%);
}

.site-main > .container > .breadcrumbs:first-child,
.site-main > section:first-child > .container > .breadcrumbs:first-child,
.kd-services__panel > .container > .breadcrumbs:first-child {
  margin-top: 0;
}

.kd-services__header {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: end;
  margin: 1.25rem 0 clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
  border-bottom: 1px solid rgba(14, 68, 60, 0.12);
}

.kd-services__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brown, #935a38);
}

.kd-services__title {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green, #0e443c);
  line-height: 1.1;
}

.kd-services__lead {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.55;
  color: var(--text-muted, #6b7280);
}

.kd-services__lead a {
  color: var(--green, #0e443c);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kd-services__chooser {
  margin: 0 0 1.75rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid rgba(14, 68, 60, 0.12);
  background: linear-gradient(165deg, rgba(14, 68, 60, 0.04), rgba(255, 255, 255, 0.9));
}

.kd-services__chooser-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 800;
  color: var(--green, #0e443c);
  letter-spacing: -0.02em;
}

.kd-services__chooser-lead {
  margin: 0 0 0.9rem;
  max-width: 58ch;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-muted, #6b7280);
}

.kd-services__chooser-table-wrap {
  overflow-x: auto;
}

.kd-services__chooser-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.kd-services__chooser-table th,
.kd-services__chooser-table td {
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
  border-top: 1px solid rgba(14, 68, 60, 0.1);
}

.kd-services__chooser-table th {
  border-top: 0;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted, #6b7280);
}

.kd-services__chooser-table a {
  color: var(--green, #0e443c);
  font-weight: 700;
  text-decoration: none;
}

.kd-services__chooser-table a:hover {
  color: var(--brown, #935a38);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.kd-services__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}

.kd-services__phone {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green, #0e443c);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.kd-services__phone:hover {
  color: var(--brown, #935a38);
  border-bottom-color: rgba(147, 90, 56, 0.45);
}

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

.kd-services-tiles .kd-services-tile {
  position: relative;
  width: 100%;
  min-width: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.kd-services-tiles .kd-services-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kd-services-tiles .dir-tile__overlay {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  padding: 18px 16px 16px;
  box-sizing: border-box;
}

.kd-services-tiles .dir-tile__overlay h3 {
  font-size: clamp(15px, 1.2vw, 19px);
  margin-bottom: 6px;
}

.kd-services-tiles .dir-tile__overlay p {
  max-width: none;
  font-size: 13px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.kd-services-tile__price {
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #fff;
}

@media (max-width: 1100px) {
  .kd-services-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .kd-services-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .kd-services-tiles .dir-tile__overlay {
    padding: 14px 12px 12px;
  }

  .kd-services-tiles .dir-tile__overlay p {
    display: none;
  }
}

.kd-services__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.kd-service {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(14, 68, 60, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.kd-service:last-child {
  border-bottom: none;
}

/* Миниатюры в списке архива ломают выравнивание — скрываем */
.kd-services__list .kd-service__media {
  display: none !important;
}

.kd-service__media {
  display: none;
}

.kd-service__body {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  column-gap: 1.25rem;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  padding: 1.25rem 1.25rem;
  min-width: 0;
}

.kd-service__index {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--brown, #935a38);
  width: 2.5rem;
  text-align: left;
  line-height: 1.2;
}

.kd-service__main {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.kd-service__title {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--text, #1a1a1a);
  transition: color 0.25s ease;
}

.kd-service__excerpt {
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted, #6b7280);
  max-width: 48ch;
}

.kd-service__meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  flex-shrink: 0;
  min-width: 9.5rem;
}

.kd-service__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green, #0e443c);
  white-space: nowrap;
  text-align: right;
  min-width: 6.5rem;
}

.kd-service__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: var(--green, #0e443c);
  border: 1px solid rgba(14, 68, 60, 0.18);
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.kd-service:hover,
.kd-service:focus-visible {
  background: var(--green-dark, #0a332d);
  color: #fff;
  border-bottom-color: transparent;
  outline: none;
}

.kd-service:hover .kd-service__index,
.kd-service:focus-visible .kd-service__index {
  color: rgba(255, 255, 255, 0.45);
}

.kd-service:hover .kd-service__title,
.kd-service:focus-visible .kd-service__title {
  color: #fff;
}

.kd-service:hover .kd-service__excerpt,
.kd-service:focus-visible .kd-service__excerpt {
  color: rgba(255, 255, 255, 0.78);
}

.kd-service:hover .kd-service__price,
.kd-service:focus-visible .kd-service__price {
  color: #d4a574;
}

.kd-service:hover .kd-service__arrow,
.kd-service:focus-visible .kd-service__arrow {
  background: var(--brown, #935a38);
  border-color: var(--brown, #935a38);
  color: #fff;
}

.kd-services__pager {
  margin-top: 2rem;
}

@media (max-width: 900px) {
  .kd-services__header {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .kd-services__actions {
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .kd-service__body {
    grid-template-columns: 2rem minmax(0, 1fr);
    grid-template-areas:
      "index main"
      "index meta";
    column-gap: 0.85rem;
    row-gap: 0.45rem;
    padding: 1.1rem 0.85rem;
  }

  .kd-service__index {
    grid-area: index;
    width: 2rem;
    align-self: start;
    padding-top: 0.15rem;
  }

  .kd-service__main {
    grid-area: main;
  }

  .kd-service__meta {
    grid-area: meta;
    justify-content: space-between;
    width: 100%;
    min-width: 0;
  }

  .kd-service__price {
    min-width: 0;
    text-align: left;
  }

  .kd-service__excerpt {
    font-size: 0.85rem;
  }
}

/* ---- Прайс-лист (/price/) ---- */
.kd-price-hero {
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.25rem 1.2rem;
  background:
    linear-gradient(135deg, rgba(26, 74, 64, 0.1), rgba(139, 90, 43, 0.08)),
    linear-gradient(180deg, #f7faf8 0%, #eef3f1 100%);
  border: 1px solid rgba(26, 74, 64, 0.12);
}

.kd-price-hero__eyebrow {
  margin: 0 0 0.3rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--kd-brand, #1a4a40);
  font-weight: 700;
}

.kd-price-hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
  line-height: 1.15;
  color: #12241f;
}

.kd-price-hero__text p {
  margin: 0 0 0.35rem;
  color: #3d524c;
  max-width: 40rem;
}

.kd-price-hero__text .wp-block-table,
.kd-price-hero__text table {
  margin: 1rem 0 0;
  width: 100%;
  max-width: none;
}

.kd-price-hero__text table {
  border-collapse: collapse;
  font-size: 0.95rem;
}

.kd-price-hero__text th,
.kd-price-hero__text td {
  border: 1px solid rgba(26, 74, 64, 0.16);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.kd-price-hero__text th {
  background: rgba(26, 74, 64, 0.08);
  font-weight: 700;
  color: #12241f;
}

.kd-price-hero__text tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.55);
}

.kd-price-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  margin: 0 0 0.85rem;
}

.kd-price-search {
  display: block;
  flex: 1 1 16rem;
  min-width: 0;
}

.kd-price-search input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(26, 74, 64, 0.22);
  background: #fff;
  font: inherit;
  font-size: 0.95rem;
  color: #12241f;
}

.kd-price-search input:focus {
  outline: 2px solid rgba(26, 74, 64, 0.35);
  outline-offset: 1px;
}

.kd-price-toolbar__hint {
  margin: 0;
  font-size: 0.88rem;
  color: #5f746e;
  font-weight: 600;
}

.kd-price-empty {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #fff6e8;
  border: 1px solid rgba(139, 90, 43, 0.28);
  color: #5a3d1a;
  font-size: 0.92rem;
}

.kd-price-empty code {
  font-size: 0.85em;
}

.kd-price-tabs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  align-items: stretch;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}

.kd-price-tabs__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 3.4rem;
  padding: 0.55rem 0.7rem;
  border: 1px solid rgba(26, 74, 64, 0.18);
  background: #fff;
  color: #1a4a40;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  white-space: normal;
  box-sizing: border-box;
}

.kd-price-tabs__btn:hover {
  background: rgba(26, 74, 64, 0.06);
}

.kd-price-tabs__btn.is-active {
  background: #1a4a40;
  border-color: #1a4a40;
  color: #fff;
}

@media (max-width: 620px) {
  .kd-price-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.kd-price-pane[hidden] {
  display: none !important;
}

.kd-price-pane__head {
  margin: 0 0 0.9rem;
}

.kd-price-pane__title {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  color: #12241f;
}

.kd-price-pane__note {
  margin: 0;
  font-size: 0.9rem;
  color: #667873;
}

.kd-price-pane__cta {
  margin: 0.85rem 0 0;
}

.kd-price-pane__cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  background: #1a4a40;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
}

.kd-price-pane__cta-btn:hover {
  background: #143832;
  color: #fff;
}

.kd-price-brands {
  display: grid;
  gap: 0.65rem;
}

.kd-price-brand {
  border: 1px solid rgba(26, 74, 64, 0.14);
  background: #fff;
}

.kd-price-brand__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  background: linear-gradient(180deg, #f7faf8, #f1f6f3);
}

.kd-price-brand__summary::-webkit-details-marker {
  display: none;
}

.kd-price-brand__name {
  font-weight: 700;
  color: #1a4a40;
  font-size: 1rem;
}

.kd-price-brand__meta {
  font-size: 0.8rem;
  color: #6a7d77;
  font-weight: 600;
}

.kd-price-brand__body {
  padding: 0.35rem 0.85rem 1rem;
  border-top: 1px solid rgba(26, 74, 64, 0.1);
}

.kd-price-group {
  margin: 1rem 0 0.65rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5f746e;
}

.kd-price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.kd-price-tile {
  --kd-tile-accent: #935a38;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  padding: 1.2rem 1.15rem 1rem;
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(147, 90, 56, 0.08) 0%, transparent 55%),
    linear-gradient(165deg, #ffffff 0%, #f4f8f6 100%);
  border: 1px solid rgba(26, 74, 64, 0.12);
  box-shadow: 0 10px 28px rgba(16, 40, 34, 0.05);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.kd-price-tile::before {
  content: "";
  position: absolute;
  inset: auto -20% -35% auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 74, 64, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.kd-price-tile__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kd-tile-accent) 0%, #1a4a40 55%, transparent 100%);
}

.kd-price-tile:hover {
  transform: translateY(-3px);
  border-color: rgba(26, 74, 64, 0.28);
  box-shadow: 0 16px 36px rgba(16, 40, 34, 0.1);
}

.kd-price-tile__price-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3rem 0.4rem;
  margin: 0.15rem 0 0.75rem;
  min-height: 2.4rem;
}

.kd-price-tile__from {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6a7d77;
}

.kd-price-tile__amount {
  font-size: clamp(1.45rem, 2.2vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  color: #8b5a2b;
  font-variant-numeric: tabular-nums;
}

.kd-price-tile__amount--plain {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  letter-spacing: 0;
}

.kd-price-tile__suffix {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5f746e;
}

.kd-price-tile__name {
  margin: 0 0 0.45rem;
  font-size: 1.02rem;
  line-height: 1.35;
  font-weight: 700;
  color: #12241f;
}

.kd-price-tile__meta {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #667873;
}

.kd-price-tile--service {
  padding: 1.35rem 1.25rem 1.1rem;
  background:
    radial-gradient(110% 70% at 0% 0%, rgba(147, 90, 56, 0.1) 0%, transparent 50%),
    linear-gradient(160deg, #ffffff 0%, #eef5f2 100%);
}

.kd-price-tile--service .kd-price-tile__amount {
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
}

.kd-price-tile--service .kd-price-tile__name {
  font-size: 1.06rem;
}

@media (max-width: 980px) {
  .kd-price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .kd-price-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kd-price-tile {
    transition: none;
  }

  .kd-price-tile:hover {
    transform: none;
  }
}

/* Мобильный каталог: категории сверху, товары снизу — без наложения */
@media (max-width: 900px) {
  .catalog {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  /* Фильтры на мобиле — off-canvas (см. блок ниже), не колонка в потоке. */

  .catalog__main,
  .catalog__grid {
    position: relative !important;
    z-index: 1;
    order: 2;
    flex: 1 1 auto;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    clear: both !important;
    float: none !important;
  }

  .catalog__main ul.products,
  .catalog__grid ul.products,
  .woocommerce .catalog__grid ul.products,
  .kd-wc .catalog__main ul.products,
  main.kd-wc ul.products {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    grid-template-columns: 1fr !important;
  }

  .catalog__main ul.products > li.product,
  .catalog__grid ul.products > li.product,
  main.kd-wc ul.products > li.product {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    clear: both !important;
  }
}

/* Контент-блоки шаблона (услуги / статьи / посадочные / рубрики) */
.kd-blocks {
  max-width: 760px;
  margin: 0 0 1.75rem;
}

.kd-block {
  margin: 0 0 1.75rem;
}

.kd-block__title {
  margin: 0 0 0.65em;
  color: var(--green, #1f4d3a);
  line-height: 1.35;
  overflow: visible;
  padding-top: 0.08em;
}

.kd-block--h2 .kd-block__title {
  font-size: 1.45em;
}

.kd-block--h3 .kd-block__title {
  font-size: 1.2em;
}

.kd-block__text p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.7;
}

.kd-copy > *:first-child {
  margin-top: 0;
}

.kd-copy h2,
.kd-block__text h2,
.kd-copy h3,
.kd-block__text h3,
.kd-copy h4,
.kd-block__text h4 {
  margin: 1.25em 0 0.5em;
  color: var(--green, #1f4d3a);
  line-height: 1.35;
  overflow: visible;
  padding-top: 0.08em;
}

.kd-copy p,
.kd-copy ul,
.kd-copy ol {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.7;
}

.kd-copy__table-wrap {
  overflow-x: auto;
  margin: 1.2em 0;
  -webkit-overflow-scrolling: touch;
}

.catalog__seo-copy table,
.catalog__seo-blocks table,
.kd-seo-category-description table,
.kd-copy__table,
.kd-block__text table,
.entry__content .kd-copy table,
.kd-copy table,
.kd-product-tab table,
.woocommerce-Tabs-panel--description table {
  display: table;
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
  margin: 1.2em 0;
}

.kd-copy__table-wrap > table {
  margin: 0;
  min-width: 36rem;
}

.catalog__seo-copy thead,
.catalog__seo-blocks thead,
.kd-copy thead,
.kd-copy__table thead {
  display: table-header-group;
}

.catalog__seo-copy tbody,
.catalog__seo-blocks tbody,
.kd-copy tbody,
.kd-copy__table tbody {
  display: table-row-group;
}

.catalog__seo-copy tr,
.catalog__seo-blocks tr,
.kd-copy tr,
.kd-copy__table tr {
  display: table-row;
}

.catalog__seo-copy th,
.catalog__seo-copy td,
.catalog__seo-blocks th,
.catalog__seo-blocks td,
.kd-seo-category-description th,
.kd-seo-category-description td,
.kd-copy__table th,
.kd-copy__table td,
.kd-block__text th,
.kd-block__text td,
.kd-copy th,
.kd-copy td,
.kd-product-tab th,
.kd-product-tab td,
.woocommerce-Tabs-panel--description th,
.woocommerce-Tabs-panel--description td {
  display: table-cell;
  border: 1px solid var(--border, #d9e0d6);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

.catalog__seo-copy th,
.catalog__seo-blocks th,
.kd-seo-category-description th,
.kd-copy__table th,
.kd-block__text th,
.kd-copy th {
  background: rgba(14, 68, 60, 0.06);
  color: #0e443c;
  font-weight: 700;
}

.kd-copy-stub {
  padding: 0.65em 0.85em;
  background: rgba(147, 90, 56, 0.08);
  border-left: 3px solid var(--brown, #935a38);
  color: #5c4a3a;
}

.kd-copy__nav {
  margin-top: 1.5em;
}

.kd-block__figure {
  margin: 1em 0 0;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 8px;
  background: #e8efed;
}

.kd-block__img-link {
  display: block;
  width: 100%;
  height: 100%;
}

.kd-block__img-link:hover img {
  opacity: 0.92;
}

.kd-block__figure img,
.kd-block__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.entry .kd-block__text img,
.entry .entry__content img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
}

.entry .entry__content figure,
.entry .kd-block__text figure {
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  margin: 1em 0;
  border-radius: 8px;
  background: #e8efed;
}

.entry .entry__content figure img,
.entry .kd-block__text figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  margin: 0;
  border-radius: 0;
}

.kd-block__links {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(31, 77, 58, 0.04);
  border-radius: 8px;
}

.kd-block__links-title {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.kd-block__links-list {
  margin: 0;
  padding-left: 1.15rem;
}

.kd-block__links-list li {
  margin: 0.25rem 0;
}

.kd-blog__cover-wrap {
  margin: 1rem 0 0;
  max-width: 860px;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 10px;
  background: #e8efed;
}

.kd-blog__cover-wrap img,
.kd-blog__cover {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 10px;
}

.entry--landing .kd-blocks {
  max-width: 800px;
}

/* ——— Страница проекта ——— */
.kd-project__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--brown, #935a38);
}

.kd-project__location {
  margin-top: 0.35rem;
}

.kd-project__metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.kd-project__metric {
  flex: 1 1 140px;
  min-width: 120px;
  max-width: 220px;
  padding: 0.85rem 1rem;
  background: rgba(31, 77, 58, 0.05);
  border-left: 3px solid var(--green, #1f4d3a);
  border-radius: 0 8px 8px 0;
}

.kd-project__metric-val {
  display: block;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--green, #1f4d3a);
  line-height: 1.25;
}

.kd-project__metric-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.85rem;
  color: var(--muted, #5c6b63);
}

.kd-project__hero-img {
  margin: 1.25rem 0 0;
  max-width: 52rem;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e8eeec;
  border-radius: 0;
}

.kd-project__hero-img img,
.kd-project__hero-photo {
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  object-position: center;
  display: block;
}

.entry--project-restaurant .kd-project__hero-img {
  max-width: 52rem;
}

.kd-project__section {
  margin: 2rem 0 0;
  max-width: none;
}

.kd-project__h2 {
  margin: 0 0 1rem;
  font-size: 1.45rem;
  color: var(--green, #1f4d3a);
}

.kd-project__text {
  max-width: 68rem;
}

.kd-project__text p {
  margin: 0 0 0.85rem;
  line-height: 1.7;
}

.kd-project__callout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  margin: 1.5rem 0 0;
  padding: 1.35rem 1.5rem;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #1f4d3a 0%, #16382c 55%, #2a5a45 100%);
  color: #fff;
  box-shadow: 0 16px 40px rgba(14, 40, 30, 0.22);
}

.kd-project__callout-copy {
  min-width: 0;
  max-width: 40rem;
}

.kd-project__callout-eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.kd-project__callout-title {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
  color: #fff;
}

.kd-project__callout-text {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.kd-project__callout-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
  flex-shrink: 0;
  min-width: 12.5rem;
}

.kd-project__callout-actions .btn--orange {
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.kd-project__callout-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.02rem;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.kd-project__callout-phone:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (max-width: 720px) {
  .kd-project__callout {
    flex-direction: column;
    align-items: stretch;
    padding: 1.2rem 1.15rem;
  }

  .kd-project__callout-actions {
    min-width: 0;
  }
}

.kd-project__defect-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.kd-project__defect {
  display: flex;
  flex-direction: column;
  align-self: stretch;
  height: 100%;
  min-height: 100%;
  min-width: 0;
  margin: 0;
  padding: 1.15rem;
  background: #fff;
  border: 1px solid var(--border, #d8ddd9);
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(4, 20, 40, 0.04);
  box-sizing: border-box;
  list-style: none;
}

.kd-project__defect-title {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  line-height: 1.3;
  color: var(--green, #1f4d3a);
}

.kd-project__defect > .kd-project__text {
  max-width: none;
  flex: 1 1 auto;
}

.kd-project__defect > .kd-project__text p:last-child {
  margin-bottom: 0;
}

.kd-project__defect-link {
  display: block;
  width: 100%;
  margin: 0;
  margin-top: auto;
  padding-top: 1.25rem;
}

.kd-project__defect-link .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Ход работ — компактная минималистичная сетка */
.kd-project__section--stages .kd-project__h2 {
  margin-bottom: 1.1rem;
  letter-spacing: -0.015em;
}

.kd-project__stages {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 1.15rem;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}

.kd-project__stage {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  list-style: none;
  min-width: 0;
}

.kd-project__stage-media {
  position: relative;
  display: block;
  order: -1;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e4ebe7;
  line-height: 0;
}

.kd-project__stage-media .kd-project__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: #0b1a14;
  overflow: hidden;
}

.kd-project__stage-media .kd-project__video video,
.kd-project__stage-media .kd-project__video iframe,
.kd-project__stage-media .kd-project__video-el {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center;
  background: #0b1a14;
}

.kd-project__stage-figure {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #e4ebe7;
  line-height: 0;
}

.kd-project__stage-img,
.kd-project__stage-figure img {
  position: absolute !important;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
}

.kd-project__stage-meta {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.1rem 0.55rem;
  align-items: start;
  min-width: 0;
}

.kd-project__stage-num {
  margin: 0.15rem 0 0;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--brown, #935a38);
  line-height: 1.2;
  opacity: 0.85;
}

.kd-project__stage-copy {
  min-width: 0;
}

.kd-project__stage-title {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--green, #1f4d3a);
}

.kd-project__stage-copy > p {
  margin: 0.3rem 0 0;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--muted, #5c6b63);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

@media (max-width: 960px) {
  .kd-project__stages {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem 1rem;
  }
}

@media (max-width: 560px) {
  .kd-project__stages {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .kd-project__stage-media {
    aspect-ratio: 16 / 10;
  }

  .kd-project__stage-copy > p {
    -webkit-line-clamp: 4;
  }
}

.kd-project-single,
.kd-project-single .container,
.entry--project {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.entry-gallery__grid--row,
.kd-project__work-types,
.kd-project__service-tiles,
.kd-project__stages {
  max-width: 100%;
  min-width: 0;
}

.entry-gallery__grid--row > .popular-more.gallery-more,
.kd-project__work-type--more > .popular-more,
.kd-project__service-tiles-item--more > .popular-more {
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  word-break: break-word;
}

.kd-project__work-type-title,
.kd-project__service-tile-title,
.popular-more__label,
.popular-more__meta {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.kd-project__work-types {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.65rem;
}

@media (max-width: 560px) {
  .kd-project__work-types {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-gallery__grid--row > .popular-more.gallery-more {
    aspect-ratio: auto;
    min-height: 7.5rem;
    padding: 12px 8px;
  }

  .entry-gallery__grid--row > .popular-more.gallery-more .popular-more__label {
    font-size: 13px;
  }

  .entry-gallery__grid--row > .popular-more.gallery-more .popular-more__meta {
    font-size: 11px;
  }
}

.kd-project__work-types.is-collapsed > .kd-project__work-type:not(.kd-project__work-type--more):nth-child(n + 6) {
  display: none;
}

.kd-project__work-type {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 0;
  text-align: center;
  border: 1px solid var(--border, #d8ddd9);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(4, 20, 40, 0.04);
  min-width: 0;
}

.kd-project__work-type-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  min-height: 72px;
  padding: 0.7rem 0.55rem;
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
  border-radius: inherit;
  transition: background 0.15s ease;
}

.kd-project__work-type-link:hover {
  background: #f7faf8;
}

.kd-project__work-type-link:hover .kd-project__work-type-title {
  color: var(--brown, #935a38);
}

.kd-project__work-type > .kd-project__work-type-title {
  padding: 0.7rem 0.55rem;
}

.kd-project__work-type-title {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green, #1f4d3a);
}

.kd-project__work-type--more {
  padding: 0;
  border: 1px solid var(--border, #d8ddd9);
  box-shadow: 0 8px 24px rgba(4, 20, 40, 0.04);
}

.kd-project__work-type--more > .popular-more.work-types-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 72px;
  margin: 0;
  padding: 0.65rem 0.45rem;
  border: 0;
  border-radius: inherit;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition: background 0.15s ease;
}

.kd-project__work-type--more > .popular-more.work-types-more:hover {
  background: #fafafa;
}

.kd-project__work-type--more .popular-more__plus {
  width: 36px;
  height: 36px;
  border: 1.5px solid #cfcfcf;
  border-radius: 50%;
  position: relative;
  margin-bottom: 0;
  flex-shrink: 0;
}

.kd-project__work-type--more .popular-more__plus::before,
.kd-project__work-type--more .popular-more__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #888;
  transform: translate(-50%, -50%);
}

.kd-project__work-type--more .popular-more__plus::before {
  width: 14px;
  height: 1.5px;
}

.kd-project__work-type--more .popular-more__plus::after {
  width: 1.5px;
  height: 14px;
}

.kd-project__work-type--more .popular-more__label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--green, #1f4d3a);
  line-height: 1.2;
}

.kd-project__work-type--more .popular-more__meta {
  font-size: 0.7rem;
  color: #9a9a9a;
}

.kd-project__service-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.kd-project__service-tiles.is-collapsed > .kd-project__service-tiles-item:not(.kd-project__service-tiles-item--more):nth-child(n + 10) {
  display: none;
}

.kd-project__service-tiles-item {
  margin: 0;
  min-width: 0;
  list-style: none;
}

.kd-project__service-tiles-item--more {
  display: flex;
  align-self: stretch;
}

.kd-project__service-tiles-item--more > .popular-more.service-tiles-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 108px;
  margin: 0;
  padding: 1rem 0.85rem;
  border: 1px solid rgba(31, 77, 58, 0.14);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(4, 20, 40, 0.05);
  box-sizing: border-box;
  cursor: pointer;
  font: inherit;
  color: inherit;
  text-align: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.kd-project__service-tiles-item--more > .popular-more.service-tiles-more:hover {
  background: #f7faf8;
  border-color: rgba(31, 77, 58, 0.28);
}

.kd-project__service-tiles-item--more .popular-more__plus {
  width: 44px;
  height: 44px;
  border: 1.5px solid #cfcfcf;
  border-radius: 50%;
  position: relative;
  margin-bottom: 2px;
  flex-shrink: 0;
}

.kd-project__service-tiles-item--more .popular-more__plus::before,
.kd-project__service-tiles-item--more .popular-more__plus::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: #888;
  transform: translate(-50%, -50%);
}

.kd-project__service-tiles-item--more .popular-more__plus::before {
  width: 16px;
  height: 1.5px;
}

.kd-project__service-tiles-item--more .popular-more__plus::after {
  width: 1.5px;
  height: 16px;
}

.kd-project__service-tiles-item--more .popular-more__label {
  font-size: 15px;
  font-weight: 600;
  color: var(--green, #1f4d3a);
  line-height: 1.25;
}

.kd-project__service-tiles-item--more .popular-more__meta {
  font-size: 12px;
  color: #9a9a9a;
}

.kd-project__service-tile {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.85rem;
  min-height: 108px;
  height: 100%;
  padding: 1.05rem 1.1rem;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(31, 77, 58, 0.14);
  border-radius: 12px;
  background:
    linear-gradient(165deg, rgba(31, 77, 58, 0.06) 0%, rgba(255, 255, 255, 0.95) 42%, #fff 100%);
  box-shadow: 0 10px 28px rgba(4, 20, 40, 0.05);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  box-sizing: border-box;
}

.kd-project__service-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--brown, #935a38);
  opacity: 0.85;
}

.kd-project__service-tile:hover {
  border-color: rgba(31, 77, 58, 0.35);
  box-shadow: 0 14px 34px rgba(4, 20, 40, 0.1);
  transform: translateY(-2px);
}

.kd-project__service-tile:hover .kd-project__service-tile-arrow {
  background: var(--green, #1f4d3a);
  color: #fff;
  transform: translateX(2px);
}

.kd-project__service-tile-num {
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--brown, #935a38);
}

.kd-project__service-tile-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.kd-project__service-tile-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--green, #1f4d3a);
}

.kd-project__service-tile-price {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(36, 53, 47, 0.72);
}

.kd-project__service-tile-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: rgba(31, 77, 58, 0.08);
  color: var(--green, #1f4d3a);
  flex-shrink: 0;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

@media (max-width: 1100px) {
  .kd-project__service-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  /* 2 ряда × 3 = 6; плюс вместо 6-й */
  .kd-project__service-tiles.is-collapsed > .kd-project__service-tiles-item:not(.kd-project__service-tiles-item--more):nth-child(n + 10) {
    display: revert;
  }

  .kd-project__service-tiles.is-collapsed > .kd-project__service-tiles-item:not(.kd-project__service-tiles-item--more):nth-child(n + 6) {
    display: none;
  }
}

@media (max-width: 640px) {
  .kd-project__service-tiles {
    grid-template-columns: 1fr;
  }

  .kd-project__service-tiles.is-collapsed > .kd-project__service-tiles-item:not(.kd-project__service-tiles-item--more):nth-child(n + 6) {
    display: revert;
  }

  .kd-project__service-tiles.is-collapsed > .kd-project__service-tiles-item:not(.kd-project__service-tiles-item--more):nth-child(n + 5) {
    display: none;
  }
}

.kd-project__materials {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

@media (max-width: 960px) {
  .kd-project__materials,
  .kd-project__defect-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 560px) {
  .kd-project__work-types,
  .kd-project__materials,
  .kd-project__defect-grid {
    grid-template-columns: 1fr;
  }
}

.kd-project__material {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border, #d8ddd9);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.kd-project__material--link:hover {
  border-color: var(--green, #1f4d3a);
  box-shadow: 0 10px 28px rgba(4, 20, 40, 0.08);
}

.kd-project__material-title {
  color: var(--green, #1f4d3a);
}

.kd-project__material-text {
  font-size: 0.92rem;
  color: var(--muted, #5c6b63);
}

.kd-project__material-cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown, #935a38);
}

.kd-project__review {
  margin: 2.25rem 0 0;
  max-width: none;
}

.kd-project__review-card {
  margin: 0;
  max-width: 68rem;
  padding: 1.25rem 1.35rem;
  border-left: 3px solid var(--brown, #935a38);
  background: rgba(147, 90, 56, 0.06);
  border-radius: 0 10px 10px 0;
}

.kd-project__stars {
  margin: 0 0 0.5rem;
  color: var(--brown, #935a38);
  letter-spacing: 0.08em;
}

.kd-project__review-text {
  margin: 0;
  line-height: 1.65;
}

.kd-project__review-name {
  margin-top: 0.75rem;
  font-weight: 700;
  font-style: normal;
}

.kd-project__cta {
  margin-top: 2rem;
}

.kd-project__privacy-note {
  margin: 1.75rem 0 0;
  max-width: 68rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted, #5c6b63);
}

.kd-project__video {
  position: relative;
  width: 100%;
  margin: 1.15rem 0 0.25rem;
  aspect-ratio: 16 / 9;
  background: #0b1a14;
  border-radius: 8px;
  overflow: hidden;
}

.kd-project__video iframe,
.kd-project__video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  background: #0b1a14;
}

.kd-project__video-link {
  margin: 0 0 0.75rem;
}

.kd-project__weld {
  max-width: none;
}

/* Хаб категории работ */
.page__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(14, 68, 60, 0.72);
}

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

.page__eyebrow a:hover {
  color: #0e443c;
  text-decoration: underline;
}

/* Архив работ: плотнее от текста к плиткам (у .section обычно 52px) */
/* Шапка хаба /projects/ — только H1 + лид */
.post-type-archive-kd_project .kd-works-hero {
  margin: 0.5rem 0 1.35rem;
  padding: 1.35rem 0 1.5rem;
  max-width: 42rem;
  border-bottom: 1px solid rgba(14, 68, 60, 0.12);
}

.post-type-archive-kd_project .kd-works-hero__eyebrow {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #935a38;
}

.post-type-archive-kd_project .kd-works-hero__title {
  margin: 0;
  font-size: clamp(2.1rem, 4.2vw, 2.85rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #0e443c;
}

.post-type-archive-kd_project .kd-works-hero__lead {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  font-size: clamp(1.02rem, 1.7vw, 1.12rem);
  font-weight: 500;
  line-height: 1.55;
  color: rgba(14, 68, 60, 0.72);
}

.post-type-archive-kd_project .page__header,
.tax-kd_project_cat .page__header {
  margin-bottom: 0.75rem;
}

.post-type-archive-kd_project .page__header .archive-desc,
.tax-kd_project_cat .page__header .archive-desc {
  margin-bottom: 0;
}

.post-type-archive-kd_project .page__header .kd-works-privacy,
.tax-kd_project_cat .page__header .kd-works-privacy {
  margin: 0 0 0.55rem;
}

.post-type-archive-kd_project .kd-works-cats.section,
.post-type-archive-kd_project .kd-works-archive.section,
.tax-kd_project_cat .kd-works-archive.section {
  padding: 0.5rem 0 1.5rem;
  margin: 0;
}

.post-type-archive-kd_project .kd-works-cats .section__title,
.post-type-archive-kd_project .kd-works-archive .section__title,
.tax-kd_project_cat .kd-works-archive .section__title {
  margin: 0 0 0.55rem;
}

.post-type-archive-kd_project .works__grid,
.tax-kd_project_cat .works__grid {
  margin-top: 0;
}

/* Виды работ — 6 карточек в ряд (хаб ресторанов) */
.post-type-archive-kd_project .kd-works-kinds.section,
.tax-kd_project_cat .kd-works-kinds.section {
  padding: 0.75rem 0 1.75rem;
  margin: 0;
}

.post-type-archive-kd_project .kd-works-kinds .section__title,
.tax-kd_project_cat .kd-works-kinds .section__title {
  margin: 0 0 0.55rem;
}

.post-type-archive-kd_project .kd-works-hub-article.section,
.tax-kd_project_cat .kd-works-hub-article.section {
  padding: 1.25rem 0 1.75rem;
  margin: 0;
}

.kd-works-hub-article .entry__content {
  max-width: 72ch;
}

.kd-works-kinds__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.kd-kind-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-height: 168px;
  padding: 1.15rem 0.95rem 1.1rem;
  text-decoration: none;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.08) 0%, transparent 42%),
    linear-gradient(180deg, #145a4f 0%, #0e443c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 28px rgba(8, 40, 34, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  overflow: hidden;
}

.kd-kind-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c45c26, #e8a06a);
  opacity: 0.9;
}

.kd-kind-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(8, 40, 34, 0.28);
  color: #fff;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, transparent 45%),
    linear-gradient(180deg, #176356 0%, #0f4b43 100%);
}

.kd-kind-card__num {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

.kd-kind-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f3d2b5;
  margin-bottom: 0.15rem;
}

.kd-kind-card__title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.kd-kind-card__text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
}

@media (max-width: 1100px) {
  .kd-works-kinds__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .kd-works-kinds__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .kd-works-kinds__grid {
    grid-template-columns: 1fr;
  }
}

/* Материалы на главном хабе /projects/ */
.post-type-archive-kd_project .kd-works-materials.section {
  padding: 0.5rem 0 1.75rem;
  margin: 0;
}

.post-type-archive-kd_project .kd-works-materials .section__title {
  margin: 0 0 0.55rem;
}

/* Информационный блок после материалов */
.post-type-archive-kd_project .kd-works-note.section {
  padding: 0.35rem 0 1.75rem;
  margin: 0;
}

.kd-works-note__panel {
  position: relative;
  max-width: 820px;
  padding: 1.75rem 1.85rem 1.85rem 2rem;
  background:
    linear-gradient(135deg, rgba(14, 68, 60, 0.06) 0%, rgba(14, 68, 60, 0.02) 55%, #fff 100%);
  border: 1px solid rgba(14, 68, 60, 0.12);
  border-left: 4px solid #0e443c;
}

.kd-works-note__eyebrow {
  margin: 0 0 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(14, 68, 60, 0.62);
}

.kd-works-note__lead {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2.1vw, 1.4rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: #0e443c;
}

.kd-works-note__lead strong {
  font-weight: 800;
  color: #935a38;
}

.kd-works-note__text {
  margin: 0;
  max-width: 62ch;
  font-size: 0.98rem;
  line-height: 1.65;
  color: rgba(14, 68, 60, 0.78);
}

@media (max-width: 640px) {
  .kd-works-note__panel {
    padding: 1.35rem 1.2rem 1.4rem 1.25rem;
  }
}

/* Инструмент на объекте — после информационного блока */
.post-type-archive-kd_project .kd-works-tools.section {
  padding: 0.35rem 0 1.75rem;
  margin: 0;
}

.post-type-archive-kd_project .kd-works-tools .section__title {
  margin: 0 0 0.55rem;
}

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

.kd-tool-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 158px;
  padding: 1.15rem 0.95rem 1.1rem;
  color: #fff;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
    linear-gradient(180deg, #1a4f46 0%, #0e443c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(8, 40, 34, 0.16);
  overflow: hidden;
}

.kd-tool-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #c45c26, #e8a06a);
}

.kd-tool-card__num {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.38);
}

.kd-tool-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #f3d2b5;
  margin-bottom: 0.1rem;
}

.kd-tool-card__title {
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.kd-tool-card__text {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.78);
  margin-top: auto;
}

@media (max-width: 900px) {
  .kd-works-tools__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .kd-works-tools__grid {
    grid-template-columns: 1fr;
  }
}

.kd-works-materials__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.kd-mat-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-height: 168px;
  padding: 1.15rem 0.95rem 1.1rem;
  text-decoration: none;
  color: #0e443c;
  background:
    linear-gradient(180deg, #ffffff 0%, #f4f7f6 100%);
  border: 1px solid rgba(14, 68, 60, 0.14);
  box-shadow: 0 8px 22px rgba(8, 40, 34, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.kd-mat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #0e443c, #2a7a6c);
}

.kd-mat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(14, 68, 60, 0.35);
  box-shadow: 0 14px 32px rgba(8, 40, 34, 0.14);
  color: #0e443c;
}

.kd-mat-card__num {
  position: absolute;
  top: 0.7rem;
  right: 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(14, 68, 60, 0.32);
}

.kd-mat-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: rgba(14, 68, 60, 0.08);
  color: #0e443c;
  margin-bottom: 0.1rem;
}

.kd-mat-card__title {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.kd-mat-card__text {
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(14, 68, 60, 0.72);
  margin-top: auto;
}

@media (max-width: 1100px) {
  .kd-works-materials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .kd-works-materials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 420px) {
  .kd-works-materials__grid {
    grid-template-columns: 1fr;
  }
}

.works__grid--cats .work-card--cat .work-card__body strong {
  font-size: 1.05em;
}

/* Архив «Наши работы»: сортировка (legacy chips, если где-то остались) */
.kd-works-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 1.5rem;
  padding: 0.85rem 0 1rem;
  border-bottom: 1px solid rgba(14, 68, 60, 0.12);
}

.kd-works-toolbar__sort,
.kd-works-toolbar__cats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
}

.kd-works-toolbar__label {
  font-size: 0.88rem;
  font-weight: 600;
  color: rgba(14, 68, 60, 0.72);
  margin-right: 0.15rem;
}

.kd-works-toolbar__btn,
.kd-works-toolbar__chip {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid rgba(14, 68, 60, 0.22);
  background: #fff;
  color: #0e443c;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.2;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.kd-works-toolbar__btn:hover,
.kd-works-toolbar__chip:hover {
  border-color: #0e443c;
  color: #0e443c;
}

.kd-works-toolbar__btn.is-active,
.kd-works-toolbar__chip.is-active {
  background: #0e443c;
  border-color: #0e443c;
  color: #fff;
}

.kd-works-toolbar__chip {
  font-size: 0.82rem;
  padding: 0.35rem 0.7rem;
}

@media (max-width: 700px) {
  .kd-works-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Архив «Наши работы»: клетка с плюсом как в каталоге на главной */
.works__grid.is-collapsed > .work-card:nth-child(n + 10) {
  display: none;
}

.works__grid > .popular-more.works-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  align-self: stretch;
  width: auto;
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
  height: auto;
  margin: 0;
  padding: 24px 12px 20px;
  border: none;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
  font: inherit;
  color: inherit;
  transition: background 0.2s ease;
}

.works__grid > .popular-more.works-more:hover {
  background: #fafafa;
  transform: none;
  box-shadow: none;
}

.works__grid > .popular-more.works-more .popular-more__plus {
  border-color: #cfcfcf;
  margin-bottom: 4px;
}

.works__grid > .popular-more.works-more .popular-more__plus::before,
.works__grid > .popular-more.works-more .popular-more__plus::after {
  background: #888;
}

/* Десктоп: колонка фильтров слева всегда видна */
@media (min-width: 901px) {
  .catalog,
  .catalog--with-filters {
    display: grid !important;
    grid-template-columns: minmax(260px, 300px) minmax(0, 1fr) !important;
    gap: 28px !important;
    align-items: start !important;
  }

  .catalog.catalog--with-filters:not(:has(.catalog__empty)) {
    align-items: stretch !important;
    min-height: var(--kd-catalog-floor, calc(100vh - var(--kd-head-h, 120px) - 2.25rem));
  }

  .catalog.catalog--with-filters:not(:has(.catalog__empty)) > .catalog__main {
    min-height: var(--kd-catalog-floor, calc(100vh - var(--kd-head-h, 120px) - 2.25rem));
  }

  .catalog.catalog--with-filters:has(.catalog__empty),
  .catalog.catalog--with-filters:has(.catalog__empty) > .catalog__main {
    min-height: 0 !important;
  }

  .catalog.catalog--with-filters > .catalog__filters {
    align-self: start;
  }

  /* Хаб без сайдбара: не оставлять main в колонке 280px. */
  .catalog.catalog--category-hub,
  .catalog.catalog--with-filters.catalog--category-hub {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .catalog__filters {
    display: block !important;
    position: sticky !important;
    transform: none !important;
    inset: auto !important;
    width: auto !important;
  }

  .catalog__filters-toggle {
    display: none !important;
  }
}

.catalog__filters {
  padding: 0;
  border: 1px solid rgba(14, 68, 60, 0.16);
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

.catalog__filters-panel {
  padding: 10px 14px 16px;
}

.catalog__filters-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 4px;
  padding: 4px 0 8px;
  border-bottom: 1px solid rgba(14, 68, 60, 0.18);
}

.catalog__filters-heading {
  font-size: 1rem;
  color: #111;
}

.catalog__filters-clear {
  font-size: 0.84rem;
  color: rgba(14, 68, 60, 0.7);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.catalog__filters-clear:hover {
  color: #0e443c;
}

.catalog__facet,
.catalog__facet--ky {
  border-bottom: 1px solid rgba(14, 68, 60, 0.18);
  padding: 0;
}

.catalog__facet:last-child,
.catalog__facet--ky:last-child {
  border-bottom: 0;
}

.catalog__facet-title {
  padding: 12px 0 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: #111;
  line-height: 1.25;
}

.catalog__facet-summary {
  list-style: none;
  cursor: pointer;
  padding: 12px 4px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #1f4d3a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.catalog__facet-summary::-webkit-details-marker {
  display: none;
}

.catalog__facet-summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(31, 77, 58, 0.45);
  border-bottom: 2px solid rgba(31, 77, 58, 0.45);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  margin-right: 4px;
}

.catalog__facet[open] > .catalog__facet-summary::after {
  transform: rotate(-135deg);
  margin-top: 4px;
}

.catalog__facet-body {
  padding: 0 0 12px;
}

.catalog__facet-checks,
.catalog__facet-colors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.catalog__check,
.catalog__color {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 3px 0;
  border-radius: 0;
  color: #222;
  text-decoration: none;
  font-size: 0.9rem;
  line-height: 1.35;
  transition: color 0.15s ease;
}

.catalog__check:hover,
.catalog__color:hover {
  background: transparent;
  color: #0e443c;
}

.catalog__check.is-active,
.catalog__color.is-active {
  background: transparent;
  font-weight: 600;
  color: #111;
}

.catalog__check.is-empty,
.catalog__color.is-empty {
  color: #b7b7b7;
  cursor: default;
  pointer-events: none;
}

.catalog__check-box {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  border: 1.5px solid #c8c8c8;
  border-radius: 2px;
  background: #fff;
  position: relative;
}

.catalog__check.is-active .catalog__check-box {
  border-color: #0e443c;
  background: #0e443c;
}

.catalog__check.is-empty .catalog__check-box {
  border-color: #d4d4d4;
  background: #f7f7f7;
}

.catalog__check.is-active .catalog__check-box::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.catalog__check-count,
.catalog__color-count {
  color: inherit;
  font-size: 0.65em;
  font-weight: 600;
  margin-left: 1px;
  vertical-align: super;
  line-height: 0;
}

.catalog__color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--swatch, #ccc);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.catalog__facet-series {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.catalog__facet-series-item {
  margin: 0;
}

.catalog__facet-series-colors {
  list-style: none;
  margin: 2px 0 4px 23px;
  padding: 0;
  display: grid;
  gap: 0;
}

.catalog__facet-series-colors .catalog__color {
  font-size: 0.84rem;
  padding: 3px 0;
}

.catalog__filter-submit {
  width: 100%;
  margin-top: 8px;
  padding: 0.65rem 1rem;
  border: 0;
  border-radius: 10px;
  background: #0e443c;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.catalog__filter-submit:hover {
  background: #0a332d;
}

.catalog__filters-hint {
  margin: 0 0 10px;
  padding: 8px 10px;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(36, 53, 47, 0.62);
  background: rgba(31, 77, 58, 0.05);
  border-radius: 8px;
}

.catalog__section-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}

.catalog__section-link,
.catalog__section-current {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: #24352f;
  text-decoration: none;
}

.catalog__section-link:hover {
  background: rgba(31, 77, 58, 0.07);
}

.catalog__section-link.is-current,
.catalog__section-current {
  background: rgba(31, 77, 58, 0.1);
  color: #1f4d3a;
  font-weight: 700;
}

.catalog__section-link--up {
  color: rgba(36, 53, 47, 0.7);
  font-size: 0.86rem;
}

.catalog__facet--section {
  margin-top: 6px;
  border-top: 1px dashed rgba(31, 77, 58, 0.16);
}

.catalog__chosen {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 14px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(31, 77, 58, 0.05);
  border: 1px solid rgba(31, 77, 58, 0.1);
}

.catalog__chosen-label {
  font-weight: 700;
  color: #1f4d3a;
  font-size: 0.9rem;
}

.catalog__chosen-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.catalog__chosen-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(31, 77, 58, 0.16);
  color: #24352f;
  text-decoration: none;
  font-size: 0.84rem;
}

.catalog__chosen-chip:hover {
  border-color: #e36b2c;
  color: #e36b2c;
}

.catalog__chosen-clear {
  margin-left: auto;
  font-size: 0.84rem;
  color: rgba(36, 53, 47, 0.6);
}

.catalog__toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(31, 77, 58, 0.1);
}

.catalog__toolbar-start {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.catalog__density {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.catalog__density-label {
  font-size: 0.86rem;
  color: rgba(36, 53, 47, 0.62);
}

.catalog__density-btn {
  min-width: 2rem;
  padding: 4px 8px;
  border-radius: 8px;
  border: 1px solid rgba(31, 77, 58, 0.16);
  background: #fff;
  color: #24352f;
  text-decoration: none;
  font-size: 0.86rem;
  text-align: center;
}

.catalog__density-btn.is-active,
.catalog__density-btn:hover {
  border-color: #1f4d3a;
  background: #1f4d3a;
  color: #fff;
}

.catalog__filters-toggle {
  display: none;
  margin: 0 0 12px;
}

.product-card__specs {
  margin: 0;
  min-height: 1.35em;
  max-height: 1.35em;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 0.8rem;
  line-height: 1.35;
  color: rgba(36, 53, 47, 0.58);
}

.catalog__grid .product-card__media,
main.kd-wc ul.products .product-card__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  isolation: isolate;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}

.catalog__grid .product-card__img,
.woocommerce ul.products li.product .product-card__img,
main.kd-wc ul.products .product-card__img {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  place-items: center;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 10px;
  box-sizing: border-box;
  background: #fff;
  overflow: hidden;
  aspect-ratio: auto !important;
}

.woocommerce ul.products li.product a.product-card__img img,
.catalog__grid .product-card__img img,
main.kd-wc ul.products .product-card__img img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  margin: 0 !important;
  object-fit: contain !important;
  object-position: center;
}

.catalog__grid .product-card__title,
main.kd-wc ul.products .product-card__title {
  min-height: calc(1.4em * 2) !important;
  max-height: calc(1.4em * 2) !important;
  -webkit-line-clamp: 2 !important;
}

.catalog__grid .product-card__price,
.catalog__grid .product-card__price--request,
main.kd-wc .product-card__price--request {
  min-height: 22px;
  line-height: 1.2;
}

.catalog__grid .product-card__actions,
main.kd-wc ul.products .product-card__actions {
  margin-top: 0.5rem;
}

/* Единый кадр фото + спокойная карточка (каталог, главная, связанные) */
.product-card,
.home-products .product-card,
.products__grid > .product-card,
.catalog__grid .product-card,
.woocommerce ul.products li.product.product-card,
main.kd-wc ul.products > li.product-card {
  gap: 0.85rem !important;
  padding: 14px 14px 16px !important;
  border: 1px solid rgba(14, 68, 60, 0.1) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.product-card:hover,
.home-products .product-card:hover,
.catalog__grid .product-card:hover,
.woocommerce ul.products li.product.product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(14, 68, 60, 0.2) !important;
  box-shadow: 0 14px 28px rgba(14, 68, 60, 0.08) !important;
}

.product-card .product-card__media,
.home-products .product-card__media,
.catalog__grid .product-card__media,
.woocommerce ul.products li.product .product-card__media,
main.kd-wc ul.products .product-card__media {
  position: relative;
  flex: 0 0 auto !important;
  width: 100%;
  aspect-ratio: 4 / 3 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  overflow: hidden;
  isolation: isolate;
  background: #f3f5f4;
  border-radius: 10px;
}

.product-card .product-card__img,
.home-products .product-card__img,
.products .product-card__img,
.catalog__grid .product-card__img,
.woocommerce ul.products li.product .product-card__img,
.woocommerce ul.products li.product a.product-card__img,
main.kd-wc ul.products .product-card__img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
  aspect-ratio: auto !important;
}

.product-card .product-card__img img,
.home-products .product-card__img img,
.products .product-card__img img,
.catalog__grid .product-card__img img,
.woocommerce ul.products li.product a.product-card__img img,
.woocommerce ul.products li.product .product-card__img img,
main.kd-wc ul.products .product-card__img img,
.woocommerce ul.products li.product img.attachment-woocommerce_thumbnail,
.woocommerce ul.products li.product img.wp-post-image {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  left: 14px !important;
  width: calc(100% - 28px) !important;
  height: calc(100% - 28px) !important;
  max-width: none !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  object-position: center !important;
  transform: none !important;
}

.product-card:hover .product-card__img img {
  transform: none !important;
}

.product-card .product-card__placeholder {
  position: absolute;
  inset: 0;
  min-height: 0;
  background:
    linear-gradient(145deg, rgba(14, 68, 60, 0.05), rgba(147, 90, 56, 0.05)),
    #f3f5f4;
}

.product-card .product-card__top {
  top: 10px;
  left: 10px;
  right: 10px;
  justify-content: flex-end;
}

.product-card .product-card__top:has(.product-card__badge) {
  justify-content: space-between;
}

.product-card .product-card__fav {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #c4a15a;
  opacity: 0.9;
  box-shadow: 0 1px 4px rgba(14, 68, 60, 0.08);
}

.product-card .product-card__title,
.home-products .product-card__title,
.products .product-card__title,
.catalog__grid .product-card__title,
main.kd-wc ul.products .product-card__title {
  min-height: calc(1.35em * 2) !important;
  max-height: calc(1.35em * 2) !important;
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.35;
  color: #1c2421;
  -webkit-line-clamp: 2 !important;
}

.product-card .product-card__specs {
  margin: 0.15rem 0 0;
  color: #7a8581;
}

.product-card .product-card__price,
.home-products .product-card__price,
.products .product-card__price {
  font-size: 1.05rem;
  font-weight: 750;
  color: #0e443c;
  letter-spacing: -0.01em;
}

.product-card .product-card__buy,
.home-products .product-card__buy,
.products .product-card__buy {
  min-height: 40px;
  border-radius: 8px;
  background: #0e443c;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.product-card .product-card__buy:hover,
.home-products .product-card__buy:hover {
  background: #163f38;
}

.product-card .product-card__compare,
.home-products .product-card__compare {
  width: 40px;
  min-width: 40px;
  min-height: 40px;
  border-radius: 8px;
  color: #5c6b66;
}

.catalog__header.page__header {
  margin-bottom: 8px;
}

.catalog__header .page__title {
  letter-spacing: 0;
}

@media (max-width: 900px) {
  .catalog {
    grid-template-columns: 1fr;
  }

  .catalog__filters-toggle {
    display: inline-flex;
  }

  .catalog__filters {
    position: fixed !important;
    z-index: 80 !important;
    top: 0 !important;
    right: auto !important;
    bottom: 0 !important;
    left: 0 !important;
    width: min(92vw, 340px) !important;
    max-width: 340px !important;
    height: 100% !important;
    max-height: 100dvh !important;
    margin: 0 !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 !important;
    transform: translateX(-105%);
    transition: transform 0.25s ease;
    box-shadow: 16px 0 40px rgba(0, 0, 0, 0.18);
    pointer-events: none;
    visibility: hidden;
  }

  body.catalog-filters-open .catalog__filters {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }

  body.catalog-filters-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(10, 20, 16, 0.45);
  }

  .catalog__density {
    margin-left: 0;
  }
}

.partners__all {
  margin: 20px 0 0;
  text-align: center;
}

.kd-brands-page {
  padding-bottom: 48px;
}

.kd-brands-page__header {
  margin-bottom: 8px;
}

.kd-brands-page__lead {
  max-width: 42rem;
  margin: 0 0 24px;
  color: #4a524e;
  font-size: 16px;
  line-height: 1.45;
}

.kd-brands-page__empty {
  margin: 0 0 28px;
  color: #4a524e;
}

.kd-brands-page__grid {
  padding-top: 0;
}

.partner-card__count {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6b746f;
}

.kd-brands-page__more {
  margin: 28px 0 0;
}

/* Заглушка «Партнёры» — страница в разработке */
.kd-partners-page--soon {
  background: #0a332d;
}

.kd-coming {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(900px 420px at 50% -8%, rgba(147, 90, 56, 0.22), transparent 58%),
    linear-gradient(165deg, #0a332d 0%, #0e443c 48%, #082722 100%);
  color: #fff;
}

.kd-coming__card {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 2.6rem 1.75rem 2.4rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 51, 45, 0.45);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.kd-coming__eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.kd-coming__roof {
  display: block;
  width: 0;
  height: 0;
  margin: 0 auto 1.2rem;
  border-left: 22px solid transparent;
  border-right: 22px solid transparent;
  border-bottom: 18px solid #c17a4a;
}

.kd-coming__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.55rem, 3.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: #fff;
}

.kd-coming__lead {
  margin: 0 auto 1.7rem;
  max-width: 34rem;
  font-size: 1.02rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.kd-coming__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
}

.kd-coming__phone {
  margin: 1.35rem 0 0;
  font-size: 0.95rem;
}

.kd-coming__phone a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.kd-coming__phone a:hover {
  color: #fff;
  border-bottom-color: #c17a4a;
}

@media (max-width: 700px) {
  .kd-coming {
    min-height: calc(100vh - 110px);
    padding: 4.5rem 0 3.25rem;
  }

  .kd-coming__card {
    padding: 2rem 1.15rem 1.85rem;
  }

  .kd-coming__actions {
    flex-direction: column;
  }

  .kd-coming__actions .btn {
    width: 100%;
  }
}

/* Фильтры каталога: чекбоксы и иерархия поверх сбросов WooCommerce */
.woocommerce .catalog__filters,
.woocommerce-page .catalog__filters,
.catalog__filters {
  padding: 0 !important;
  background: #fff !important;
  border: 1px solid rgba(14, 68, 60, 0.12) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

.catalog__filters-panel {
  padding: 14px 16px 18px;
}

.catalog__filters-head {
  margin: 0 0 10px;
  padding: 2px 0 12px;
  border-bottom: 1px solid rgba(14, 68, 60, 0.1);
}

.catalog__filters-heading {
  font-size: 0.95rem;
  font-weight: 750;
  color: #0e443c;
}

.catalog__filters ul,
.woocommerce .catalog__filters ul,
.woocommerce-page .catalog__filters ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.catalog__facet,
.catalog__facet--ky {
  margin: 0;
  padding: 12px 0 10px;
  border-bottom: 1px solid rgba(14, 68, 60, 0.08);
}

.catalog__facet-title {
  margin: 0 0 8px;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #6b7a75;
  line-height: 1.3;
}

.catalog__facet-body {
  padding: 0;
}

.catalog__facet-checks,
.catalog__facet-colors {
  display: grid;
  gap: 2px;
}

.catalog__facet-series {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.catalog__facet-series-item {
  margin: 0;
}

.catalog__facet-series-colors {
  list-style: none;
  margin: 2px 0 0 24px;
  padding: 0;
  display: grid;
  gap: 0;
}

.catalog__facet-series-colors .catalog__color {
  font-size: 0.82rem;
  padding: 4px 4px !important;
}

.catalog__facet-series-colors .catalog__color.is-active {
  background: rgba(14, 68, 60, 0.07);
  font-weight: 650;
  color: #0e443c !important;
}

.woocommerce .catalog__filters a.catalog__check,
.woocommerce .catalog__filters span.catalog__check,
.catalog__check,
.catalog__color {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  width: 100%;
  margin: 0;
  padding: 6px 4px !important;
  border-radius: 8px;
  color: #24352f !important;
  text-decoration: none !important;
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.35;
  box-sizing: border-box;
}

.catalog__check:hover,
.catalog__color:hover {
  background: rgba(14, 68, 60, 0.05);
  color: #0e443c !important;
}

.catalog__check.is-active {
  background: rgba(14, 68, 60, 0.07);
  font-weight: 650;
  color: #0e443c !important;
}

.catalog__check-box {
  display: block !important;
  flex: 0 0 16px !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  border: 1.5px solid #b7c2be !important;
  border-radius: 4px;
  background: #fff !important;
  box-sizing: border-box !important;
  position: relative;
}

.catalog__check.is-active .catalog__check-box {
  border-color: #0e443c !important;
  background: #0e443c !important;
}

.catalog__check.is-active .catalog__check-box::after {
  content: "";
  position: absolute;
  left: 4.5px;
  top: 1.5px;
  width: 4px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.catalog__check-name {
  flex: 1 1 auto;
  min-width: 0;
}

.catalog__check-count,
.catalog__color-count,
sup.catalog__check-count {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
  color: #8a9692 !important;
  font-size: 0.75rem !important;
  font-weight: 600;
  line-height: 1;
  vertical-align: baseline;
}

button.catalog__filters-toggle,
.catalog__filters-toggle.btn,
.catalog__filters-toggle {
  display: none !important;
}

@media (max-width: 900px) {
  button.catalog__filters-toggle,
  .catalog__filters-toggle.btn,
  .catalog__filters-toggle {
    display: inline-flex !important;
  }
}

/* Защита от копирования на витрине (редакторам класс не вешается). */
body.kd-content-guard {
  -webkit-user-select: none;
  user-select: none;
}

body.kd-content-guard input,
body.kd-content-guard textarea,
body.kd-content-guard select,
body.kd-content-guard [contenteditable="true"],
body.kd-content-guard .tox-edit-area,
body.kd-content-guard .wp-editor-area {
  -webkit-user-select: text;
  user-select: text;
}

body.kd-content-guard img {
  -webkit-user-drag: none;
  user-drag: none;
}



