

.services {
  max-width: 733px;
  margin: auto;
  width: 100%;
  box-sizing: border-box;
}

.services__page-title {
  width: 50%;
  margin: 60px auto;
  text-align: center;
}

.price__sticky,
.price__sticky--light {
  text-align: right;
  position: sticky;
  top: 112px;
  font-weight: 600;
  background-image: linear-gradient(to right, white, #37302c);
  padding: 16px 140px 16px 16px;
  margin-bottom: 16px;
  border-radius: 4px;
  color: #fff;
  z-index: 1;
}

.price__sticky--light {
  color: #37302c;
  background-image: linear-gradient(to right, white, #FDF8F4);
  border: 1px solid #e3dad2;
}

.price__subtitle {
  font-size: 18px;
  line-height: 28px;
  width: 80%;
  margin: 24px auto 36px;
}

.services__page-title p {
  font-size: 20px;
  line-height: 28px;
  color: #594c45;
}

.price__list {
  display: flex;
  flex-direction: column;
  font-size: 17px;
  line-height: 26px;
  margin: 32px 0 60px;
}

.price__list li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #aca5a2;
}

.price__list li:last-child {
  border-bottom: 1px solid #aca5a2;
}

.price__list li>div {
  display: flex;
  flex-direction: row;
  flex: 0 0 calc(100% - 140px);
  justify-content: space-between;
  align-items: center;
}

.services__gallery-grid {
  margin: 44px 0 90px 0;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 440px;
  gap: 24px;
  grid-auto-rows: 440px;
  font-size: 17px;
  line-height: 26px;
  text-align: center;
}

.services__gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.price__category-title {
  text-align: center;
}

.price__category-button {
  border: 1px solid #e3dad2;
  border-radius: 4px;
  margin-bottom: 16px;
  padding: 8px 24px 8px 8px;
  cursor: pointer;
  position: relative;

}

.price__category-button:before {
  content: " ";
  background-image: url(../images/home-page/slider/arrow.png);
  background-repeat: no-repeat;
  background-position: center;
  width: 24px;
  height: 24px;
  display: block;
  background-size: 24px;
  position: absolute;
  right: 8px;
  top: 13px;
  transform: rotate(180deg);
}

.price__category-button.selected {
  background-color: #FDF8F4;
}

.price__category-button.selected::before {
  transform: rotate(-90deg);
}

.price__category ul li {
  font-size: 18px;
  margin-bottom: 15px;
  content: "";
  display: table;
  clear: both;
  width: 100%;
}

.price__ul li>div {
  display: flex;
  flex-direction: row;
  flex: 0 0 calc(100% - 140px);
  justify-content: space-between;
  align-items: center;
}

.price__service-description {
  color: #C2872B;
  font-size: 14px;
  font-style: italic;
  font-weight: 300;
  line-height: 18px;
  margin: 16px 14% 16px 0;
}

.price__ul.closed {
  display: none;
}

@media screen and (min-width: 1540px) {
  .services {
    max-width: 1024px;
  }
}

@media screen and (max-width: 1024px) {
  .container--no-padding--services-list {
    padding: 0 20px;
  }

  .services__page-title {
    width: 80%;
    margin: 40px auto 30px;
  }

  .services__gallery-grid {
    grid-template-rows: 380px;
    grid-auto-rows: 380px;
  }
}

@media screen and (max-width: 800px) {
  .services__gallery-grid {
    grid-template-rows: 350px;
    grid-auto-rows: 350px;
  }
}

@media screen and (max-width: 480px) {


  .services ul li>div {
    flex-direction: column;
    align-items: flex-start;
  }

  .services ul {
    margin: 23px 0 40px;
  }

  .services__gallery-grid {
    grid-template-columns: 1fr;
    gap: 50px;
    grid-template-rows: 440px;
    grid-auto-rows: 440px;
  }

  .price__sticky,
  .price__sticky--light {
    top: 79px;
  }
}