.pg-rp2-hero {
  position: relative;
}

.pg-rp2 .pg-rp2-hero .pg-rp-hero__image {
  height: 760px;
}

.pg-rp2-hero__counter {
  bottom: 120px;
}

.pg-rp2 .pg-rp2-crumbs {
  position: absolute;
  top: 176px;
  left: 50%;
  z-index: 3;
  box-sizing: border-box;
  width: 100%;
  max-width: 1218px;
  margin: 0;
  padding: 0 24px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

.pg-rp2 .pg-rp2-crumbs .pg-breadcrumbs__link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  transition: color 0.2s ease;
}

.pg-rp2 .pg-rp2-crumbs .pg-breadcrumbs__link:hover,
.pg-rp2 .pg-rp2-crumbs .pg-breadcrumbs__link:focus-visible {
  color: #ffffff;
}

.pg-rp2 .pg-rp2-crumbs .pg-breadcrumbs__current {
  color: #ffffff;
}

.pg-rp2 .pg-rp2-crumbs .pg-breadcrumbs__sep {
  display: inline-flex;
  color: rgba(255, 255, 255, 0.7);
}

.pg-rp2 .pg-rp2-crumbs .pg-breadcrumbs__sep svg {
  width: 13px;
  height: 13px;
}

.pg-rp2-hero .pg-carousel__viewport {
  position: relative;
}

.pg-rp2-hero .pg-carousel__viewport::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0, rgba(0, 0, 0, 0.12) 260px, rgba(0, 0, 0, 0) 42%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, 0.22) 100%);
  pointer-events: none;
}

.pg-rp2 .pg-rp2-card {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 0;
  margin-top: -100px;
  padding: 40px 0;
}

.pg-rp2 .pg-rp-card__main {
  padding: 0 40px;
}

.pg-rp2-amen {
  padding: 0 40px;
  border-left: 1px solid #eceeed;
}

.pg-rp2-amen__title {
  margin: 4px 0 18px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  text-transform: uppercase;
  color: #837264;
}

.pg-rp2-amen__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pg-rp2-amen__item {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.pg-rp2-amen__item--wide {
  grid-column: 1 / -1;
}

.pg-rp2-amen__icon {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.pg-rp2-amen__icon img {
  max-width: 40px;
  max-height: 40px;
  object-fit: contain;
}

.pg-rp2-amen__label {
  font-size: 16px;
  line-height: 1.3;
  color: #4c5652;
}

.pg-rp2-others {
  padding: 72px 0 24px;
}

.pg-rp2-others__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  box-sizing: border-box;
  max-width: 1218px;
  margin: 0 auto 8px;
  padding: 0 24px;
}

.pg-rp2-others__title {
  margin: 0;
  font-family: var(--font-heading, Arkhip, sans-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: #333333;
}

.pg-rp2-others__all {
  flex: none;
  font-size: 16px;
  color: #124734;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.pg-rp2-others__all:hover,
.pg-rp2-others__all:focus-visible {
  color: #0d3527;
}

.pg-rp2-others .pg-rooms {
  padding-top: 24px;
}

.pg-rp2-others .pg-carousel {
  --pg-per-view: 3;
}

.pg-rp2-others .pg-room__buttons {
  flex-wrap: wrap;
}

.pg-rp2 .pg-rp2-others .pg-room__buttons .pg-btn {
  box-sizing: border-box;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 20px;
  border: 1px solid #124734;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: normal;
  text-transform: none;
}

.pg-rp2 .pg-rp2-others .pg-room__buttons .pg-btn--ghost {
  background: transparent;
  color: #333333;
}

.pg-rp2 .pg-rp2-others .pg-room__buttons .pg-btn--ghost:hover,
.pg-rp2 .pg-rp2-others .pg-room__buttons .pg-btn--ghost:focus-visible {
  background: #124734;
  color: #ffffff;
}

@media (min-width: 1025px) {
  .pg-rp2-others .pg-carousel__arrow {
    display: none;
  }
}

.pg-rp2-bar {
  display: none;
}

@media (max-width: 1024px) {
  .pg-rp2 .pg-rp2-hero .pg-rp-hero__image {
    height: clamp(460px, 64vw, 640px);
  }

  .pg-rp2 .pg-rp2-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .pg-rp2-amen {
    padding-top: 28px;
    border-top: 1px solid #eceeed;
    border-left: 0;
  }

  .pg-rp2-amen__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .pg-rp2-others .pg-carousel {
    --pg-per-view: 2;
  }
}

@media (max-width: 767px) {
  .pg-rp2 .pg-rp2-hero .pg-rp-hero__image {
    height: var(--pg-rp2-hero-h, clamp(240px, calc(100svh - 400px), 420px));
  }

  .pg-rp2 .pg-rp-card__title {
    margin-bottom: 8px;
    font-size: 22px;
    line-height: 1.25;
  }

  .pg-rp2 .pg-rp-card__text {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    font-size: 15px;
    line-height: 1.4;
  }

  .pg-rp2 .pg-rp-card__text.is-open {
    display: block;
    -webkit-line-clamp: unset;
  }

  .pg-rp2-more {
    margin: 2px 0 0;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    font-size: 15px;
    color: #124734;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
  }

  .pg-rp2 .pg-rp-card__price {
    margin-top: 10px;
  }

  .pg-rp2 .pg-rp-card__params {
    gap: 8px;
    margin-top: 10px;
  }

  .pg-rp2 .pg-rp-param {
    padding: 6px 12px;
  }

  .pg-rp2 .pg-rp-card__buttons {
    gap: 8px;
    margin-top: 12px;
  }

  .pg-rp2 .pg-rp-card__buttons .pg-btn {
    min-height: 42px;
    padding: 9px 10px;
  }

  .pg-rp2-hero__counter {
    bottom: 40px;
  }

  .pg-rp2 .pg-rp2-crumbs {
    top: 80px;
    max-width: none;
    padding: 0 16px;
    font-size: 13px;
  }

  .pg-rp2-hero .pg-carousel__viewport::after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0, rgba(0, 0, 0, 0.1) 130px, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.22) 100%);
  }

  .pg-rp2 .pg-rp2-card {
    margin-top: -16px;
    padding: 18px 0 24px;
    box-shadow: none;
  }

  .pg-rp2 .pg-rp-card__main,
  .pg-rp2-amen {
    padding-right: 16px;
    padding-left: 16px;
  }

  .pg-rp2-amen__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .pg-rp2-amen__label {
    font-size: 15px;
  }

  .pg-rp2-others {
    padding-top: 40px;
  }

  .pg-rp2-others__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 0 16px;
  }

  .pg-rp2-others__title {
    font-size: 24px;
  }

  .pg-rp2-others .pg-carousel {
    --pg-per-view: 1;
  }

  .pg-rp2-bar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #e3e5e6;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(110%);
    transition: transform 0.3s ease;
  }

  .pg-rp2-bar.is-visible {
    transform: none;
  }

  .pg-rp2-bar__price {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
    font-size: 15px;
    line-height: 1.25;
    color: #6b7671;
  }

  .pg-rp2-bar__name {
    overflow: hidden;
    font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: #333333;
  }

  .pg-rp2-bar__price .price-load {
    font-weight: 500;
    color: #124734;
  }

  .pg-rp2 .pg-rp2-bar__btn {
    flex: none;
    box-sizing: border-box;
    min-height: 44px;
    padding: 11px 20px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
  }

  body.pg-rp2-bar-on {
    padding-bottom: 68px;
  }
}
