.pg-room-page {
    overflow-x: hidden;
}

.pg-rp-hero {
    position: relative;
}

.pg-rp-hero__slider.pg-carousel {
    --pg-gap: 0px;
    --pg-overflow-right: 0px;
}

.pg-rp-hero__slider .pg-carousel__viewport {
    margin-right: 0;
}

.pg-rp-hero__slide {
    flex: 0 0 100%;
    min-width: 0;
    max-width: 100%;
}

.pg-rp-hero__image {
    display: block;
    width: 100%;
    height: clamp(420px, 56vw, 780px);
    object-fit: cover;
    cursor: zoom-in;
}

.pg-rp-hero__slider .pg-carousel__arrow {
    top: 50%;
}

.pg-rp-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.pg-rp-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 48px;
    margin-top: -120px;
    padding: 44px 44px 40px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.pg-rp-card__title {
    margin: 0 0 16px;
    font-family: var(--font-heading, Arkhip, sans-serif) !important;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-text-dark, #222);
}

.pg-rp-card__text {
    max-width: 520px;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: #4c5652;
}

.pg-rp-card__price {
    margin-top: 16px;
    font-size: 21px;
    line-height: 1.3;
    color: var(--color-primary, #124734);
}

.pg-rp-card__params {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.pg-rp-param {
    flex: 1 1 0;
    min-width: 140px;
    padding: 9px 16px;
    background: #e8efeb;
    border-radius: 4px;
}

.pg-rp-param__label {
    display: block;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: normal;
    color: #6b7671;
}

.pg-rp-param__value {
    display: block;
    margin-top: 2px;
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-text-dark, #222);
}

.pg-rp-param__value sup {
    font-size: 0.62em;
    vertical-align: super;
}

.pg-rp-card__stay {
    margin: 14px 0 0;
    font-size: 15px;
    line-height: 1.4;
    color: #4f5a55;
}

.pg-rp-card__stay a {
    color: #124734;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pg-rp-card__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.pg-rp-card__buttons .pg-btn {
    min-width: 0;
    flex: 0 1 auto;
    padding: 12px 22px;
    font-size: 12px;
    letter-spacing: normal;
    white-space: nowrap;
}

.pg-rp-card__amenities {
    padding-left: 48px;
    border-left: 1px solid #eceeed;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-content: start;
    gap: 22px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-rp-amenity {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.pg-rp-amenity--wide {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid #eceeed;
}

.pg-rp-amenity__icon {
    flex: none;
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.pg-rp-amenity__label {
    font-size: 14px;
    line-height: 1.35;
    color: #4c5652;
}

.pg-rp-crumbs {
    max-width: 1280px;
    margin: 0 auto;
    padding: 28px 24px 0;
}

.pg-rp-crumbs .pg-breadcrumbs {
    margin-bottom: 0;
}

.pg-rp-crumbs .pg-breadcrumbs__link {
    color: var(--color-text-light, #666);
    text-decoration: none;
    transition: color .2s ease;
}

.pg-rp-crumbs .pg-breadcrumbs__link:hover,
.pg-rp-crumbs .pg-breadcrumbs__link:focus-visible {
    color: var(--color-primary, #124734);
}

.pg-rp-crumbs .pg-breadcrumbs__current {
    color: var(--color-text-dark, #222);
}

.pg-rp-features {
    padding: 56px 0 8px;
}

.pg-rp-features__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.pg-rp-features__title {
    margin: 0 0 28px;
    font-family: var(--font-heading, Arkhip, sans-serif) !important;
    font-size: clamp(20px, 2.2vw, 27px);
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    color: var(--color-text-dark, #222);
}

.pg-rp-features__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pg-rp-feature {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 18px 20px;
    background: #f4f6f5;
    border-radius: 10px;
}

.pg-rp-feature__icon {
    flex: none;
    width: 54px;
    height: 54px;
    object-fit: contain;
}

.pg-rp-feature__label {
    font-size: 14px;
    line-height: 1.35;
    color: #4c5652;
}

@media (max-width: 1024px) {
    .pg-rp-card {
        gap: 28px;
        margin-top: -80px;
        padding: 32px;
    }

    .pg-rp-card__amenities {
        padding-left: 28px;
    }

    .pg-rp-hero__inner,
    .pg-rp-crumbs,
    .pg-rp-features__inner {
        padding-left: 20px;
        padding-right: 20px;
    }

    .pg-rp-features {
        padding-top: 44px;
    }
}

@media (max-width: 767px) {
    .pg-rp-hero__image {
        height: clamp(300px, 66vw, 440px);
    }

    /* Общее правило темы прячет стрелки на мобильном — в hero номера
       они нужны, поэтому возвращаем их точечно. */
    .pg-rp-hero__slider .pg-carousel__arrow {
        display: flex;
    }

    .pg-rp-hero__slider .pg-carousel__arrow--prev {
        left: 10px;
    }

    .pg-rp-hero__slider .pg-carousel__arrow--next {
        right: 10px;
    }

    .pg-rp-card {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
        margin-top: -28px;
        padding: 26px 20px 24px;
        border-radius: 14px 14px 0 0;
        box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.10);
    }

    .pg-rp-hero__inner,
    .pg-rp-crumbs,
    .pg-rp-features__inner {
        padding-left: 16px;
        padding-right: 16px;
    }

    .pg-rp-hero__inner {
        padding-left: 0;
        padding-right: 0;
    }

    .pg-rp-card__title {
        margin-bottom: 12px;
        font-size: 22px;
    }

    .pg-rp-card__text {
        font-size: 14px;
    }

    .pg-rp-card__price {
        margin-top: 14px;
        font-size: 19px;
    }

    .pg-rp-card__params {
        gap: 10px;
        margin-top: 14px;
    }

    .pg-rp-param {
        min-width: 0;
        padding: 8px 14px;
    }

    .pg-rp-param__value {
        font-size: 17px;
    }

    /* Две кнопки в одну строку: делят ширину поровну */
    .pg-rp-card__buttons {
        gap: 8px;
        margin-top: 16px;
    }

    .pg-rp-card__buttons .pg-btn {
        flex: 1 1 0;
        min-width: 0;
        padding: 13px 10px;
        font-size: 11px;
        text-align: center;
    }

    /* Оснащение отделяем от кнопок тонкой линией */
    .pg-rp-card__amenities {
        gap: 16px 14px;
        padding-top: 22px;
        padding-left: 0;
        border-top: 1px solid #eceeed;
        border-left: none;
    }

    .pg-rp-amenity--wide {
        padding-top: 16px;
    }

    .pg-rp-feature {
        padding: 14px 16px;
    }

    .pg-rp-amenity {
        gap: 10px;
    }

    .pg-rp-amenity__icon {
        width: 32px;
        height: 32px;
    }

    .pg-rp-amenity__label {
        font-size: 13px;
        line-height: 1.3;
    }

    .pg-rp-crumbs {
        padding-top: 20px;
    }

    .pg-rp-crumbs .pg-breadcrumbs {
        font-size: 13px;
        flex-wrap: wrap;
        row-gap: 2px;
    }

    .pg-rp-crumbs .pg-breadcrumbs__sep svg {
        width: 16px;
        height: 16px;
    }

    .pg-rp-features {
        padding-top: 32px;
    }

    .pg-rp-features__title {
        margin-bottom: 20px;
        font-size: 20px;
    }

    .pg-rp-features__list {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    .pg-rp-feature__icon {
        width: 44px;
        height: 44px;
    }

    .pg-rp-feature__label {
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .pg-rp-card__buttons .pg-btn {
        padding: 12px 6px;
        font-size: 10px;
    }

    .pg-rp-amenity__label {
        font-size: 12px;
    }
}

.pg-rp-hero__image {
    height: 720px;
}

.pg-rp-hero__inner {
    max-width: 1170px;
    box-sizing: content-box;
}

.pg-rp-card {
    gap: 40px;
    margin-top: -84px;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 2px 2px 24px rgba(0, 0, 0, 0.12);
}

.pg-rp-card__title {
    margin-bottom: 20px;
    font-size: 28px;
    line-height: 1.4;
    color: #837264;
}

.pg-rp-card__text {
    max-width: none;
    font-size: 16px;
    line-height: 1.35;
    color: #666666;
}

.pg-rp-param {
    border-radius: 6px;
    background: #dbe3e0;
}

.pg-rp-param__label,
.pg-rp-param__value {
    color: #333333;
}

.pg-rp-card__buttons .pg-btn {
    box-sizing: border-box;
    min-height: 44px;
    padding: 11px 24px;
    border: 1px solid #124734;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: none;
}

.pg-rp-card__buttons .pg-btn--ghost {
    background: transparent;
    color: #333333;
}

.pg-rp-card__buttons .pg-btn--ghost:hover,
.pg-rp-card__buttons .pg-btn--ghost:focus-visible {
    background: #124734;
    color: #ffffff;
}

.pg-rp-card__buttons .call--btn {
    color: #124734;
}

.pg-rp-card__amenities {
    gap: 26px 24px;
    padding-left: 0;
    border-left: 0;
}

.pg-rp-amenity--wide {
    padding-top: 0;
    border-top: 0;
}

.pg-rp-amenity__icon {
    width: 41px;
    height: 41px;
}

.pg-rp-amenity__label {
    font-size: 16px;
    color: #666666;
}

.pg-rp-crumbs {
    max-width: 1170px;
    box-sizing: content-box;
    padding-top: 24px;
}

.pg-rp-list.pg-tag--classic .pg-tag-list--rooms {
    margin-top: 0;
    padding-top: 56px;
}

@media (max-width: 1024px) {
    .pg-rp-hero__image {
        height: clamp(420px, 60vw, 620px);
    }

    .pg-rp-card {
        gap: 28px;
        padding: 32px;
    }
}

@media (max-width: 767px) {
    .pg-rp-hero__image {
        height: clamp(300px, 66vw, 440px);
    }

    .pg-rp-card {
        padding: 26px 20px 24px;
        border-radius: 14px 14px 0 0;
    }

    .pg-rp-card__title {
        font-size: 24px;
    }

    .pg-rp-card__text {
        font-size: 15px;
    }

    .pg-rp-card__buttons .pg-btn {
        flex: 1 1 0;
    }

    .pg-rp-card__buttons .pg-btn:first-child {
        flex-basis: 100%;
    }

    .pg-rp-amenity__label {
        font-size: 15px;
    }

    .pg-rp-list.pg-tag--classic .pg-tag-list--rooms {
        padding-top: 32px;
    }
}
