.price_page {
  color: #1f2823;
  padding-bottom: 80px;
}



.container:has(.price_page) .bx-breadcrumb,
.container:has(.price_detail_page) .bx-breadcrumb {
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(37, 51, 43, 0.08);
  border-radius: 999px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 38px rgba(28, 35, 31, 0.06);
  overflow: hidden;
}

.container:has(.price_page) .bx-breadcrumb-item-current span,
.container:has(.price_detail_page) .bx-breadcrumb-item-current span {
  max-width: 230px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.services_page:has(.price_detail_page) > .price_hero {
  display: none;
}

.price_hero {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 20px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 0 !important;
}

.price_hero_content,
.price_hero_panel,
.price_page .services_list li {
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 14px 40px rgba(28, 35, 31, 0.07);
}

.price_hero_content {
  min-height: 232px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(120deg, rgba(65, 67, 85, 0.88), rgba(65, 67, 85, 0.42)),
    url("/local/templates/.default/img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
}

.price_eyebrow,
.price_hero_panel span {
  display: inline-flex;
  width: fit-content;
  font: 700 12px/1.2 "Manrope", sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price_detail_hero .price_eyebrow,
.price_hero_content .price_eyebrow {
  color: #f3d2a5;
  margin-bottom: 14px;
}

.price_detail_hero h1,
.price_hero_content h1 {
  margin: 0;
  color: #f9faf5;
  font-size: clamp(44px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.price_hero_content p {
  max-width: 680px;
  margin: 14px 0 0;
  color: rgba(249, 250, 245, 0.88);
  font-size: 17px;
  line-height: 1.45;
}

.price_hero_panel {
  min-height: 232px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #414355;
  color: #fff;
}

.price_hero_panel span {
  color: rgba(255, 255, 255, 0.72);
}

.price_hero_panel strong {
  margin-top: 14px;
  color: #f3d2a5;
  font: 800 32px/1.05 "Manrope", sans-serif;
  letter-spacing: 0;
}

.price_hero_panel p {
  margin: 14px 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.price_hero_panel .btn_main {
  width: fit-content;
  border-radius: 8px;
}

.price_page .services_list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.price_page .services_list li {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-wrap: auto;
  transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease-out;
}

.price_page .services_list li:hover {
  border-color: rgba(37, 51, 43, 0.16);
  box-shadow: 0 20px 46px rgba(28, 35, 31, 0.12);
}

.price_page .services_list img {
  width: 100%;
  height: 300px;
  min-height: 0;
  margin: 0;
  border: 0;
  background: #f5f6f1;
  display: block;
  object-fit: cover;
}

.price_page .services_list li h3 {
  margin: 20px 20px 0;
  color: #1f2823;
  font-size: clamp(24px, 2vw, 28px);
  line-height: 1.1;
  letter-spacing: 0;
}

.price_page .services_list li > p:not(.price),
.price_page .services_list li .other {
  margin: 12px 20px 0;
  color: rgba(31, 40, 35, 0.72);
  font-size: 15px;
  line-height: 1.55;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.price_page .services_list li .other p {
  color: inherit;
  margin-bottom: 0;
}

.price_page .services_list li .price {
  margin: 16px 20px;
  color: #971520;
  font: 800 30px/1.05 "Manrope", sans-serif;
}

.price_page .services_list li a.btn_main {
  width: fit-content;
  margin: auto 20px 20px;
  border-radius: 8px;
}

.price_page .services_list li a.btn_main:focus-visible,
.price_hero_panel .btn_main:focus-visible,
.price_detail_footer .btn_main:focus-visible {
  outline: 3px solid rgba(151, 21, 32, 0.22);
  outline-offset: 3px;
}

.price_detail_page {
  color: #1f2823;
  padding-bottom: 80px;
}

.price_detail_hero,
.price_detail_wrapper {
  border: 1px solid rgba(37, 51, 43, 0.10);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.90);
  box-shadow: 0 14px 40px rgba(28, 35, 31, 0.07);
}

.price_detail_hero {
  min-height: 232px;
  margin-top: 24px;
  margin-bottom: 28px;
  padding: 28px!important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    linear-gradient(120deg, rgba(65, 67, 85, 0.88), rgba(65, 67, 85, 0.42)),
    url("/local/templates/.default/img/hero.jpg") center/cover no-repeat;
  overflow: hidden;
  min-width: 100%;
}

.price_detail_hero h1 {
  max-width: 840px;
  margin: 0;
  color: #f9faf5;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.98;
  letter-spacing: 0;
}

.price_detail_badge {
  width: fit-content;
  margin-top: 16px;
  border-radius: 8px;
  padding: 11px 15px;
  background: #971520;
  color: #f9faf5;
  font: 800 24px/1.05 "Manrope", sans-serif;
}

.price_detail_wrapper {
  display: grid;
  grid-template-columns: minmax(360px, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  padding: clamp(20px, 3vw, 34px);
  align-items: start;
}

.price_detail_media {
  overflow: hidden;
  border-radius: 8px;
  background: #f5f6f1;
}

.price_detail_media img {
  width: 100%;
  display: block;
  object-fit: contain;
  max-height: 500px;
}

.price_detail_content {
  min-width: 0;
}

.price_detail_content .hint {
  margin: 0 0 18px;
}

.price_detail_content .hint p,
.price_detail_content .hint li {
  color: rgba(31, 40, 35, 0.76);
  font-size: 16px;
  line-height: 1.65;
}

.price_detail_notice {
  margin: 0 0 18px;
  border: 1px solid rgba(151, 21, 32, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: rgba(151, 21, 32, 0.07);
  color: #971520;
  font-weight: 700;
}

.price_detail_notice p {
  color: inherit;
}

.price_detail_footer {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.price_detail_footer .btn_main {
  border-radius: 8px;
}

@media screen and (max-width: 1180px) {
  .price_page .services_list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .price_hero {
    grid-template-columns: 1fr;
  }

  .price_hero_panel {
    min-height: 176px;
  }

  .price_detail_wrapper {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 680px) {
  .container:has(.price_page) .bx-breadcrumb,
  .container:has(.price_detail_page) .bx-breadcrumb {
    display: flex;
    width: 100%;
    padding: 8px 12px;
    overflow: hidden;
  }

  .container:has(.price_page) .bx-breadcrumb-item,
  .container:has(.price_detail_page) .bx-breadcrumb-item {
    min-width: 0;
  }

  .container:has(.price_detail_page) .bx-breadcrumb-item:not(:first-child):not(.bx-breadcrumb-item-current) {
    display: none;
  }

  .container:has(.price_page) .bx-breadcrumb-item a span,
  .container:has(.price_page) .bx-breadcrumb-item-current span,
  .container:has(.price_detail_page) .bx-breadcrumb-item a span,
  .container:has(.price_detail_page) .bx-breadcrumb-item-current span {
    display: inline-block;
    max-width: 145px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
  }

  .container:has(.price_detail_page) .bx-breadcrumb-item-current span {
    max-width: 160px;
  }

  .price_page {
    padding-bottom: 48px;
  }

  .price_hero {
    margin-top: 20px;
    gap: 14px;
  }

  .price_hero_content,
  .price_hero_panel {
    padding: 20px;
  }

  .price_hero_content {
    min-height: 210px;
    background-position: 56% center;
  }

  .price_hero_content h1 {
    font-size: 42px;
  }

  .price_hero_panel {
    min-height: 168px;
  }

  .price_hero_panel strong {
    font-size: 38px;
  }

  .price_hero_panel p {
    margin-bottom: 14px;
    line-height: 1.38;
    -webkit-line-clamp: 2;
  }

  .price_hero_content p {
    font-size: 16px;
  }

  .price_page .services_list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .price_page .services_list img {
    max-height: 250px;
    height: auto;
    object-fit: contain;
  }

  .price_page .services_list li h3 {
    margin: 18px 18px 0;
    font-size: 22px;
  }

  .price_page .services_list li > p:not(.price),
  .price_page .services_list li .other {
    margin-left: 18px;
    margin-right: 18px;
    -webkit-line-clamp: 3;
  }

  .price_page .services_list li .price {
    margin-left: 18px;
    margin-right: 18px;
    font-size: 28px;
  }

  .price_page .services_list li a.btn_main {
    margin-left: 18px;
    margin-right: 18px;
  }

  .price_detail_page {
    padding-bottom: 48px;
  }

  .price_detail_hero {
    min-height: 210px;
    margin-top: 20px;
    padding: 20px!important;
    background-position: 56% center;
  }

  .price_detail_hero h1 {
    font-size: 40px;
  }

  .price_detail_badge {
    font-size: 20px;
  }

  .price_detail_wrapper {
    padding: 18px;
  }
}
