/* These adjustments belong only to the hardware-cosmetology page. */
.page-id-1137 .service-hero.hero {
  margin-bottom: 0;
}

.page-id-1137 .service-hero__container {
  align-items: center;
  justify-content: center;
}

.page-id-1137 .service-hero__content {
  width: min(100%, 100rem);
  margin-inline: auto;
  text-align: center;
}

.page-id-1137 .service-hero__title {
  max-width: none;
  margin-inline: auto;
  text-align: center;
}

.page-id-1137 .service-hero__button {
  margin-inline: auto;
}

.page-id-1137 .massage-editorial--intro .usluga__content {
  align-self: center;
  margin-inline: auto;
  text-align: center;
}

.page-id-1137 .apparatnaya-procedures .section-head__heading {
  max-width: 100rem;
  margin-inline: auto;
  text-align: center;
}

.page-id-1137 .apparatnaya-procedures__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas: "first second" "first third" "fourth sixth" "fifth sixth";
  grid-template-rows: repeat(4, minmax(34rem, auto));
  gap: .8rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures.swiper-slide {
  position: relative;
  width: 100% !important;
  min-width: 0;
  height: auto;
}

.page-id-1137 .apparatnaya-procedures__grid > :nth-child(1) { grid-area: first; }
.page-id-1137 .apparatnaya-procedures__grid > :nth-child(2) { grid-area: second; }
.page-id-1137 .apparatnaya-procedures__grid > :nth-child(3) { grid-area: third; }
.page-id-1137 .apparatnaya-procedures__grid > :nth-child(4) { grid-area: fourth; }
.page-id-1137 .apparatnaya-procedures__grid > :nth-child(5) { grid-area: fifth; }
.page-id-1137 .apparatnaya-procedures__grid > :nth-child(6) { grid-area: sixth; }

.page-id-1137 .apparatnaya-procedures .slide-procedures__inner {
  height: 100%;
  min-height: 0;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__image-wrap {
  position: absolute;
  inset: .4rem;
  width: auto;
  height: auto;
  margin: 0;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__image-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, .72)) !important;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__image {
  display: block;
  transition: transform .5s ease;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__content {
  padding: 2.8rem;
  color: #fff;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__heading {
  height: auto;
  margin-bottom: auto;
  color: inherit;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__text {
  max-width: none;
  margin: 2rem 0 0;
  opacity: 1;
  line-height: 1.45;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__text p + p {
  margin-top: 1rem;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__btn {
  margin-top: 1.6rem;
}

.page-id-1137 .apparatnaya-procedures .slide-procedures__inner:focus-visible {
  outline: 3px solid #bd9847;
  outline-offset: 3px;
}

.page-id-1137 .apparatnaya-benefits .slide-benefits__copy p + p {
  margin-top: 1.6rem;
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .page-id-1137 .apparatnaya-procedures .slide-procedures:hover .slide-procedures__image {
    transform: scale(1.035);
  }
}

@media (max-width: 70em) {
  .page-id-1137 .apparatnaya-procedures__grid {
    grid-template-areas: none;
    grid-template-rows: none;
    grid-auto-rows: minmax(42rem, auto);
    gap: 1.6rem;
  }

  .page-id-1137 .apparatnaya-procedures__grid > :nth-child(n) {
    grid-area: auto;
  }
}

@media (max-width: 48em) {
  .page-id-1137 .apparatnaya-procedures__grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(64rem, auto);
    gap: 2.4rem;
  }

  .page-id-1137 .apparatnaya-procedures .slide-procedures__content {
    padding: 4rem;
  }
}

/* Improve only the expanded list; preserve the summary and closed panel. */
.page-id-1137 .massage-indications__details[open] > .massage-indications__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.page-id-1137 .massage-indications__details[open] .massage-indications__item {
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
}

.page-id-1137 .massage-indications__details[open] .tag__inner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 18px 20px;
  border: 1px solid rgba(174, 143, 120, .16);
  border-radius: 12px;
  background: #faf5f0;
  color: #3b332e;
  font-family: inherit;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  text-align: left;
  text-wrap: pretty;
}

.page-id-1137 .massage-indications__details[open] .tag__inner::before {
  content: "";
  flex: 0 0 6px;
  width: 6px;
  height: 6px;
  margin-top: .58em;
  border-radius: 50%;
  background: #ae8f58;
}

@media (max-width: 48em) {
  .page-id-1137 .massage-indications__details[open] > .massage-indications__list {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .page-id-1137 .massage-indications__details[open] .tag__inner {
    gap: 10px;
    padding: 13px 14px;
    font-size: 15px;
  }
}

/* Page readability and plain procedure cards, 2026-10-30. */
.page-id-1137 .apparatnaya-procedure--plain .btn-link__txt,
.page-id-1137 .apparatnaya-procedure--plain .btn-link__icon-wrap {
  background-color: #fff;
}

.page-id-1137 .massage-editorial.massage-indications,
.page-id-1137 .massage-indications .massage-indications__panel {
  background: transparent;
}

.page-id-1137 .massage-indications .massage-indications__panel {
  border-color: transparent;
  box-shadow: none;
}

.page-id-1137 .massage-editorial .usluga__content,
.page-id-1137 .massage-editorial .usluga__content > *,
.page-id-1137 .massage-editorial .usluga__content p {
  line-height: 1.6;
}

.page-id-1137 .massage-editorial .usluga__title p {
  line-height: 1.5;
}

/* Remove alternating editorial section backgrounds on this page. */
.page-id-1137 .massage-editorial:nth-of-type(odd) {
  background: transparent;
}
