/* Оформление страницы отеля. Подключается после hotel.css и действует только внутри .hotel-page. */

.hotel-page {
    --hp-green: #50AA32;
    --hp-blue: #2F6FED;
    --hp-ink: #1F2430;
    --hp-text: #3A4250;
    --hp-muted: #6B7483;
    --hp-line: #E0E8F5;
    --hp-soft: #F3F6FB;
    --hp-width: min(1290px, calc(100% - 48px));
    flex: 1 0 auto;
    background: #F3F5F8;
    color: var(--hp-ink);
    font-family: Montserrat, sans-serif;
}

.hotel-page button {
    font-family: inherit;
}

/* Хлебные крошки */
.hp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 12px;
    /* Крошки стоят слева под логотипом, а не по центру вместе с колонками:
       на макете (1440) отступ 75px, на узком экране совпадает с краем колонок */
    margin: 0;
    padding: 12px 24px 12px clamp(24px, calc((100% - 1290px) / 2), 75px);
    color: var(--hp-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.hp-crumbs__item {
    color: inherit;
    text-decoration: none;
}

a.hp-crumbs__item:hover {
    color: var(--hp-green);
}

.hp-crumbs__item.is-current {
    color: var(--hp-ink);
    font-weight: 600;
}

.hp-crumbs__sep {
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #9AA3AF;
    border-right: 1.5px solid #9AA3AF;
    transform: rotate(45deg);
}

/* Лента фотографий */
.hotel-page .wide-carousel {
    margin: 0;
}

.rest-photo-carousel__arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    padding: 0;
    border: 0;
    color: #fff;
    opacity: 0;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.rest-photo-carousel__arrow--prev {
    left: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.rest-photo-carousel__arrow--next {
    right: 0;
    background: linear-gradient(to left, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
}

.rest-photo-carousel__arrow svg {
    width: 12px;
    height: 36px;
}

.rest-photo-carousel:hover .rest-photo-carousel__arrow,
.rest-photo-carousel__arrow:focus-visible {
    opacity: 1;
}

/* Две колонки */
.hotel-page .hotel-main-content-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(340px, 33%, 428px);
    align-items: start;
    gap: 0 24px;
    width: var(--hp-width);
    max-width: none;
    margin: 0 auto;
    padding: 20px 0 36px;
}

.hotel-page .hotel-blocks-container {
    order: 0;
    gap: 0;
    min-width: 0;
}

.hotel-page .hotel-booking-container {
    position: static;
    order: 0;
    width: auto;
    min-width: 0;
}

.hotel-page .hotel-info-booking-container {
    gap: 12px;
    margin: 0 0 28px;
}

.hotel-page .hotel-rooms-list-container {
    margin: 0 0 28px;
}

.hp-title {
    margin: 0 0 14px;
    color: var(--hp-green);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.hotel-page .hotel-info-card {
    border-radius: 16px;
    box-shadow: none;
}

.hp-card {
    padding: 16px 20px;
    border-radius: 16px;
    background: #fff;
}

.hp-chevron {
    flex: 0 0 auto;
    color: var(--hp-ink);
    transition: transform 0.2s ease;
}

/* Карточка отеля */
.hotel-page #hotel-info-card {
    flex: 0 0 auto;
    padding: 14px 20px;
}

.hp-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hp-head__main {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.hp-head__type {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--hp-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.hp-head__stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.hp-head__name {
    margin: 0;
    color: var(--hp-ink);
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.hp-head__addr {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: var(--hp-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.hp-head__addr svg {
    flex: 0 0 auto;
    margin-top: 1px;
    color: var(--hp-blue);
}

.hp-head__rate {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.hp-rate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 20px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--hp-blue);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.hp-head__reviews {
    padding: 0;
    border: 0;
    background: none;
    color: var(--hp-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
}

button.hp-head__reviews {
    cursor: pointer;
}

button.hp-head__reviews:hover {
    color: var(--hp-blue);
}

.hotel-page .hp-fav {
    position: static;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    color: var(--hp-ink);
    font-size: 0;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.hotel-page .hp-fav:hover {
    background: var(--hp-soft);
    color: #E5484D;
    transform: none;
}

.hotel-page .hp-fav.active {
    color: #E5484D;
}

.hotel-page .hp-fav.active svg path {
    fill: currentColor;
}

/* Статус объекта */
.hp-zone {
    padding: 10px;
    border-radius: 16px;
    background: #fff;
}

.hp-zone:empty {
    display: none;
}

.hp-zone__bar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

.hp-zone__bar--green {
    background: #E6F4E0;
    color: var(--hp-green);
}

.hp-zone__bar--blue {
    background: #E4EDFD;
    color: var(--hp-blue);
}

.hp-zone__bar--grey {
    background: #EEF0F3;
    color: var(--hp-text);
    font-size: 14px;
}

.hp-zone__bar a {
    color: var(--hp-blue);
}

/* Номера */
.hotel-page .hotel-rooms-list {
    gap: 16px;
}

.hotel-page .hotel-room-card {
    margin: 0;
    border-radius: 16px;
    box-shadow: none;
}

.hotel-page .hotel-room-card:hover {
    box-shadow: 0 6px 20px rgba(31, 36, 48, 0.08);
}

.hp-room-media {
    position: relative;
}

.hp-room-strip {
    position: relative;
    height: clamp(132px, 10.8vw, 172px);
    overflow: hidden;
    background: #EEF2F6;
}

.hp-room-strip .c-item {
    flex: 0 0 auto;
    min-width: 48px;
    height: 100%;
    overflow: hidden;
    background: #EEF2F6;
}

.hp-room-strip .c-item img {
    display: block;
    width: auto;
    max-width: none;
    height: 100%;
    object-fit: cover;
    user-select: none;
    -webkit-user-drag: none;
}

.hp-room-strip.is-single .rest-photo-carousel__track {
    overflow: hidden;
    cursor: default;
}

.hp-room-strip.is-single .c-item {
    flex: 1 1 100%;
}

.hp-room-strip.is-single .c-item img {
    width: 100%;
}

.hp-room-strip .rest-photo-carousel__count {
    left: 8px;
    bottom: 8px;
    font-size: 12px;
}

.hp-room-left {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 3;
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: var(--hp-ink);
    font-size: 13px;
    font-weight: 600;
    line-height: 16px;
    pointer-events: none;
}

.hotel-page .hotel-room-content {
    padding: 12px 20px 16px;
}

.hotel-page .hotel-room-name {
    margin: 0 0 4px;
    padding: 0;
    color: var(--hp-ink);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hotel-page .hotel-room-name-link:hover .hotel-room-name {
    color: var(--hp-green);
}

.hotel-page .hotel-room-specs {
    flex-wrap: wrap;
    gap: 0;
    margin: 0 0 8px;
    color: var(--hp-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.hotel-page .hotel-room-specs i {
    width: 3px;
    height: 3px;
    margin: 0 12px;
    border-radius: 50%;
    background: #B4BBC6;
}

.hotel-page .hotel-room-sleeping,
.hotel-page .hotel-room-meal {
    align-items: flex-start;
    gap: 12px;
    margin-top: 6px;
}

.hotel-page .hotel-room-icon {
    width: 24px;
    height: 24px;
    margin-top: 0;
}

.hotel-page .hotel-room-sleeping-content {
    gap: 0;
}

.hotel-page .hotel-room-sleeping-places,
.hotel-page .hotel-room-meal span {
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.hotel-page .hotel-room-meal.is-included span {
    color: var(--hp-green);
}

.hotel-page .hotel-room-beds-kind {
    color: var(--hp-muted);
    font-size: 13px;
    line-height: 18px;
}

.hotel-page .hotel-room-footer {
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 12px;
    padding: 12px 0 0;
    border-top: 1px solid #EEF1F5;
}

.hotel-page .hotel-room-price {
    gap: 2px;
}

.hotel-page .hotel-room-price-value {
    color: var(--hp-ink);
    font-size: 22px;
    font-weight: 700;
    line-height: 26px;
}

.hotel-page .hotel-room-price-info {
    color: var(--hp-text);
    font-size: 13px;
    line-height: 18px;
}

.hotel-room-price-hint {
    color: var(--hp-muted);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.hotel-page .hotel-room-actions {
    flex: 0 1 auto;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    margin-left: auto;
}

.hotel-page .hotel-room-details-btn,
.hotel-page .hotel-room-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: 44px;
    padding: 0 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    transition: background-color 0.15s ease, border-color 0.15s ease;
}

.hotel-page .hotel-room-details-btn {
    min-width: 200px;
    border: 1px solid var(--hp-line);
    background: #fff;
    color: var(--hp-ink);
}

.hotel-page .hotel-room-details-btn:hover {
    border-color: #B9C8E4;
    background: var(--hp-soft);
    color: var(--hp-ink);
}

.hotel-page .hotel-room-book-btn {
    min-width: 246px;
    border: 0;
    background: var(--hp-green);
    color: #fff;
}

.hotel-page .hotel-room-book-btn:hover,
.hotel-page .hotel-room-book-btn:active {
    background: #46992B;
    box-shadow: none;
    transform: none;
}

.hotel-page .hotel-room-card.is-busy .hp-room-media,
.hotel-page .hotel-room-card.is-busy .hotel-room-name-link,
.hotel-page .hotel-room-card.is-busy .hotel-room-specs,
.hotel-page .hotel-room-card.is-busy .hotel-room-sleeping,
.hotel-page .hotel-room-card.is-busy .hotel-room-meal {
    opacity: 0.5;
}

.hotel-page .hotel-room-card.is-busy .hotel-room-footer {
    border-top: 0;
    padding-top: 0;
}

.hotel-page .hotel-room-unavailable {
    margin-left: auto;
    padding: 0;
}

.hotel-page .unavailable-text {
    color: #E5484D;
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
}

.hotel-page .no-rooms-message {
    border-radius: 16px;
    background: #fff;
}

.hp-rooms-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 0 20px;
    border: 0;
    border-radius: 16px;
    background: #fff;
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.hp-rooms-more:hover {
    color: var(--hp-green);
}

.hp-rooms-more[aria-expanded="true"] .hp-chevron {
    transform: rotate(180deg);
}

.hp-rooms-rest {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-rooms-rest[hidden] {
    display: none;
}

/* Правая колонка */
.hp-side {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hp-share {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hp-share__qr {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
}

.hp-share__qr img,
.hp-share__qr canvas {
    width: 72px !important;
    height: 72px !important;
}

.hp-share__text {
    min-width: 0;
}

.hp-share__title {
    color: var(--hp-ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
}

.hotel-page .hp-share__copy {
    margin-top: 6px;
    color: var(--hp-blue);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    text-decoration: none;
}

.hotel-page .hp-share__copy:hover {
    color: #1E55C4;
    text-decoration: underline;
}

.hp-dates {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
}

.hp-dates__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
}

.hp-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    min-height: 60px;
    padding: 8px 14px;
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    background: var(--hp-soft);
    color: var(--hp-ink);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.15s ease;
}

.hp-field:hover {
    border-color: #B9C8E4;
}

.hp-field__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hp-field__label {
    color: var(--hp-muted);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.hp-field__value {
    overflow: hidden;
    color: var(--hp-ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-field__value.is-empty {
    color: #8A93A1;
}

.hp-dates__clear {
    align-self: flex-start;
    padding: 0;
    border: 0;
    background: none;
    color: var(--hp-blue);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    cursor: pointer;
}

.hotel-page .booking-managers-section {
    margin: 0;
    padding: 0;
    border: 0;
}

.hotel-page .booking-managers-section:empty {
    display: none;
}

.hp-manager {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-manager__row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.hp-manager__photo {
    flex: 0 0 72px;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    object-fit: cover;
}

.hp-manager__photo--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D5DEEE;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.hp-manager__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hp-manager__name {
    color: var(--hp-ink);
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.hp-manager__role {
    color: var(--hp-text);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.hp-manager__phone {
    color: var(--hp-blue);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.hp-chat-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    border: 1px solid var(--hp-line);
    border-radius: 12px;
    background: var(--hp-soft);
    color: var(--hp-ink);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.15s ease;
}

.hp-chat-btn:hover {
    border-color: #B9C8E4;
    color: var(--hp-ink);
}

.hp-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-contacts__title {
    margin-bottom: 2px;
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.hp-contacts__item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 6px 12px;
    border-radius: 10px;
    background: var(--hp-soft);
    color: var(--hp-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.hp-contacts__item:hover {
    background: #E9EFF9;
    color: var(--hp-ink);
}

.hp-contacts__item img {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
}

.hp-views {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 4px 20px;
    color: #8A93A1;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.25;
}

/* Об объекте */
.hotel-page .hotel-info-booking-container.info {
    gap: 16px;
}

.hotel-page .hotel-info-booking-container.info > .hp-title {
    margin-bottom: -2px;
}

.hotel-page .hotel-info-card.hotel-info {
    margin: 0;
    padding: 18px 20px;
}

.hp-about__block + .hp-about__block {
    margin-top: 24px;
}

.hp-about__title {
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    color: var(--hp-ink);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.25;
}

.hotel-page .hotel-description-text {
    margin: 0 0 12px;
    color: var(--hp-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.6;
}

.hotel-page .hotel-description-text.hotel-description-collapsed {
    max-height: calc(1.6em * 4);
}

/* Без отступов абзацев свернутый текст обрезается ровно по строке */
.hotel-page .hotel-description-text.hotel-description-collapsed p {
    margin: 0;
}

.hp-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 40px;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hp-ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.hp-more-btn:hover {
    background: var(--hp-soft);
}

.hp-more-btn[aria-expanded="true"] .hp-chevron,
.hp-fold__head[aria-expanded="true"] .hp-chevron {
    transform: rotate(180deg);
}

.hp-amenities {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.hp-amenities li {
    overflow-wrap: anywhere;
}

.hp-option-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.hp-option-list--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
}

.hp-amenities + .hp-option-list {
    margin-top: 18px;
}

.hp-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
}

.hp-option__icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.hp-option__text {
    min-width: 0;
}

.hp-option__name {
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    overflow-wrap: anywhere;
}

.hp-option__desc {
    color: var(--hp-muted);
    font-size: 13px;
    line-height: 18px;
    overflow-wrap: anywhere;
}

.hp-fold {
    margin-top: 14px;
}

.hp-fold__head {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    cursor: pointer;
}

.hp-fold__head:hover {
    color: var(--hp-green);
}

.hp-fold__body {
    padding: 10px 0 4px;
}

.hp-fold__body[hidden] {
    display: none;
}

.hp-meal {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 4px 0 4px 10px;
    font-size: 15px;
    line-height: 22px;
}

.hp-meal__title {
    flex: 0 0 90px;
    font-weight: 600;
}

.hp-meal__type {
    flex: 1 1 auto;
    font-weight: 500;
}

.hp-meal__pay {
    color: var(--hp-muted);
}

/* Панорамы и видео */
#hotel-media-card:empty {
    display: none;
}

.hotel-page .hp-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    padding: 18px 20px;
}

.hp-media__col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}

.hp-media__title {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--hp-blue);
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
}

.hp-media__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hp-media__tab {
    flex: 1 1 0;
    min-width: 80px;
    min-height: 34px;
    padding: 4px 10px;
    overflow: hidden;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: #fff;
    color: var(--hp-ink);
    font-size: 13px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.hp-media__tab.is-on {
    border-color: #E1E8F4;
    background: #E1E8F4;
}

.hp-media__view {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
    /* Превью обеих колонок стоят на одной линии, даже если вкладки есть только в одной */
    margin-top: auto;
    overflow: hidden;
    border-radius: 10px;
    background: #DDE4EE center / cover no-repeat;
}

.hp-media__view iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.hp-media__open {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    height: 40px;
    padding: 0 20px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    color: var(--hp-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.hp-media__open:hover {
    color: var(--hp-green);
}

.hp-media__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 46px;
    border: 0;
    border-radius: 10px;
    background: var(--hp-blue);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
    color: #fff;
    cursor: pointer;
}

.hp-media__play:hover {
    background: #1E55C4;
}

/* Правила и карта */
.hotel-page .hotel-rules-section,
.hotel-page .hotel-map-section {
    margin-bottom: 0;
}

.hp-map__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.hp-map__pin {
    flex: 0 0 auto;
    color: var(--hp-blue);
    line-height: 0;
}

.hp-map__pin svg {
    width: 28px;
    height: 28px;
}

.hp-map__addr {
    flex: 1 1 auto;
    min-width: 0;
}

.hp-map__region {
    color: var(--hp-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.hp-map__street {
    color: var(--hp-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    overflow-wrap: anywhere;
}

.hp-map__coords {
    flex: 0 0 auto;
    text-align: right;
}

.hp-map__coords-label {
    color: var(--hp-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
}

.hp-map__coords-value {
    color: var(--hp-blue);
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
}

.hp-map__coords-value:hover {
    text-decoration: underline;
}

.hotel-page .hotel-map-container {
    margin-bottom: 0;
}

.hp-map__distances {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 28px;
    margin-top: 14px;
}

/* Похожие объекты */
.hotel-page .hp-similar {
    width: 100%;
    margin: 0;
    padding: 28px 0 32px;
    background: #fff;
}

/* Полоса тянется на всю ширину экрана с теми же полями, что у хлебных крошек */
.hp-similar__inner {
    margin: 0;
    padding: 0 clamp(24px, calc((100% - 1290px) / 2), 75px);
}

/* Заголовок стоит над первой карточкой: стрелка 40px + отступ 10px */
.hp-similar__title {
    margin: 0 0 20px 50px;
    color: var(--hp-ink);
    font-size: 22px;
    font-weight: 600;
    line-height: 1.25;
}

.hp-similar .hotel-similar {
    --hp-similar-count: 5;
    --hp-similar-gap: 18px;
}

.hp-similar .carousel-wrapper {
    align-items: stretch;
    gap: 10px;
    margin: 0;
}

.hp-similar .carousel-container {
    width: auto;
    min-width: 0;
}

.hp-similar .carousel-track {
    gap: var(--hp-similar-gap);
    padding: 0;
    cursor: grab;
}

.hp-similar .carousel-track.dragging {
    cursor: grabbing;
}

.hp-similar .carousel-nav-btn {
    flex: 0 0 40px;
    align-self: flex-start;
    width: 40px;
    height: 84px;
    /* По центру фотографии: высота фото = 5/8 ширины карточки */
    margin-top: calc((100% - 100px - var(--hp-similar-gap) * (var(--hp-similar-count) - 1)) / var(--hp-similar-count) * 0.3125 - 42px);
    border-radius: 10px;
    background: var(--hp-soft);
    opacity: 0.4;
}

.hp-similar .carousel-nav-btn.visible,
.hp-similar .carousel-wrapper:hover .carousel-nav-btn.visible {
    opacity: 1;
}

.hp-similar .carousel-nav-btn.visible:hover {
    background: #E6EDF8;
}

.hp-similar .carousel-nav-btn img {
    width: 40px;
    height: 40px;
}

.hp-similar .similar-hotel-card {
    flex: 0 0 calc((100% - var(--hp-similar-gap) * (var(--hp-similar-count) - 1)) / var(--hp-similar-count));
    min-width: 0;
    height: auto;
    overflow: visible;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--hp-ink);
    text-decoration: none;
    user-select: none;
}

.hp-similar .similar-hotel-card:hover {
    transform: none;
    box-shadow: none;
}

.hp-similar .similar-hotel-image {
    height: auto;
    aspect-ratio: 8 / 5;
    border-radius: 16px;
    background: #DDE4EE;
}

.hp-similar .similar-hotel-content {
    gap: 4px;
    padding: 10px 2px 0;
}

.hp-similar .similar-hotel-type {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--hp-text);
    font-size: 13px;
    line-height: 18px;
}

.hp-similar .similar-hotel-stars {
    display: inline-flex;
    gap: 1px;
    margin: 0;
}

.hp-similar .similar-hotel-name {
    margin: 0;
    overflow: hidden;
    color: var(--hp-ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 22px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hp-similar .similar-hotel-card:hover .similar-hotel-name {
    color: var(--hp-green);
}

.hp-similar .similar-hotel-rating {
    gap: 6px;
    margin: 0;
    padding: 0;
}

.hp-similar .similar-hotel-rating-badge {
    min-width: 36px;
    padding: 3px 6px;
    border-radius: 6px;
    background: var(--hp-blue);
    font-size: 12px;
    font-weight: 700;
    line-height: 14px;
}

.hp-similar .similar-hotel-reviews {
    color: var(--hp-text);
    font-size: 13px;
    line-height: 20px;
}

/* Оценки и отзывы */
.hotel-page .hp-reviews-title {
    margin-bottom: -2px;
}

.hotel-page .hotel-reviews-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hotel-page .hotel-reviews-summary {
    gap: 16px;
    margin: 0;
    padding: 0;
    border: 0;
}

.hotel-page .hotel-reviews-header {
    flex-direction: row;
    align-items: center;
    gap: 12px;
}

.hotel-page .hotel-reviews-rating-badge {
    min-width: 62px;
    padding: 5px 10px;
    border-radius: 8px;
    background: linear-gradient(257deg, #4BACDE 0%, #004ED8 100%);
    font-size: 22px;
    font-weight: 700;
    line-height: 24px;
}

.hotel-page .hotel-reviews-count {
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 500;
}

.hotel-page .hotel-reviews-breakdown {
    flex-direction: row;
    gap: 14px 28px;
    padding: 0 10px;
}

.hotel-page .hotel-reviews-breakdown-column {
    gap: 12px;
    min-width: 0;
}

.hotel-page .hotel-review-rating-row {
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
}

.hotel-page .hotel-review-rating-header {
    align-items: flex-end;
    gap: 12px;
}

.hotel-page .hotel-review-rating-label {
    color: var(--hp-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
}

.hotel-page .hotel-review-rating-value {
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
}

.hotel-page .hotel-review-rating-bar,
.hotel-page .hotel-review-rating-bar-small {
    height: 4px;
    border-radius: 2px;
    background: #E6EBF2;
}

.hotel-page .hotel-review-rating-bar-fill,
.hotel-page .hotel-review-rating-bar-fill-small {
    border-radius: 2px;
    background: linear-gradient(90deg, #50AA32 0%, #A7C80F 100%);
}

.hotel-page .hotel-reviews-actions {
    flex-direction: row;
    align-items: stretch;
    gap: 12px;
    margin: 0;
}

.hotel-page .hotel-reviews-sort {
    position: relative;
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
}

.hotel-page .hotel-reviews-sort-btn {
    gap: 10px;
    min-height: 42px;
    padding: 8px 16px;
    border: 1px solid var(--hp-line);
    border-radius: 8px;
    background: var(--hp-soft);
    color: var(--hp-ink);
}

.hotel-page .hotel-reviews-sort-btn:hover {
    background: #EAF0F9;
}

.hotel-page .hotel-reviews-sort-btn[aria-expanded="true"] .hp-chevron,
.hp-answer-toggle[aria-expanded="true"] .hp-chevron {
    transform: rotate(180deg);
}

.hotel-page .hotel-reviews-sort-text {
    color: inherit;
    font-size: 15px;
    font-weight: 500;
}

.hp-sort-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 20;
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 6px;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(31, 36, 48, 0.12);
}

.hp-sort-menu[hidden] {
    display: none;
}

.hp-sort-menu__item {
    padding: 9px 12px;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--hp-ink);
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    cursor: pointer;
}

.hp-sort-menu__item:hover {
    background: var(--hp-soft);
}

.hotel-page .hotel-review-add-btn {
    flex: 0 0 auto;
    min-height: 42px;
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--hp-green);
    font-size: 15px;
    font-weight: 600;
}

.hotel-page .hotel-review-add-btn:hover {
    transform: none;
    box-shadow: none;
    filter: brightness(0.95);
}

.hotel-page .hotel-reviews-list {
    gap: 12px;
}

.hotel-page .hotel-reviews-empty {
    margin: 0;
    padding: 20px 0;
    color: var(--hp-muted);
    font-size: 15px;
}

.hp-review {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hp-review[hidden] {
    display: none;
}

.hotel-page .hotel-review-card {
    gap: 12px;
    padding: 16px 18px;
    border: 1px solid var(--hp-line);
    border-radius: 12px;
}

.hotel-page .hotel-review-header {
    flex-direction: row;
    align-items: flex-start;
    gap: 16px;
}

.hotel-page .hotel-review-author {
    gap: 14px;
    align-items: center;
    min-width: 0;
}

.hotel-page .hotel-review-avatar {
    width: 68px;
    height: 68px;
    border-radius: 10px;
}

.hotel-page .hotel-review-avatar-initials {
    background: #D5DEEC;
    color: #fff;
    font-size: 28px;
    font-weight: 500;
}

.hotel-page .hotel-review-author-name {
    margin-bottom: 4px;
    overflow-wrap: anywhere;
    color: var(--hp-ink);
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
}

.hotel-page .hotel-review-meta {
    color: var(--hp-text);
    font-size: 14px;
    line-height: 20px;
}

.hotel-page .hotel-review-rating-wrapper {
    align-items: flex-end;
    gap: 2px;
    width: auto;
    padding-top: 6px;
}

.hotel-page .hotel-review-rating-bar-small {
    width: 96px;
}

.hotel-page .hotel-review-rating-badge-small {
    min-width: 44px;
    color: var(--hp-ink);
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
}

.hotel-page .hotel-review-date-relative {
    color: var(--hp-text);
    font-size: 14px;
    line-height: 20px;
}

.hotel-page .hotel-review-body {
    gap: 12px;
}

.hotel-page .hotel-review-section {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
}

.hotel-page .hotel-review-section-title {
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
}

.hotel-page .hotel-review-positive .hotel-review-section-title {
    color: var(--hp-green);
}

.hotel-page .hotel-review-negative .hotel-review-section-title {
    color: #E5484D;
}

.hotel-page .hotel-review-section-content,
.hotel-page .hotel-review-text {
    padding-left: 12px;
    overflow-wrap: anywhere;
    color: var(--hp-ink);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
}

.hotel-page .hotel-review-helpful {
    justify-content: flex-end;
    gap: 8px;
    margin: 0;
}

.hotel-page .hotel-review-helpful-btn {
    gap: 6px;
    min-height: 34px;
    padding: 6px 12px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--hp-soft);
    color: var(--hp-ink);
    font-size: 13px;
    font-weight: 500;
}

.hotel-page .hotel-review-helpful-btn:hover:not(:disabled) {
    border-color: var(--hp-line);
    background: #EAF0F9;
}

.hotel-page .hotel-review-helpful-btn.active {
    border-color: var(--hp-green);
    background: #EFF8EB;
    color: var(--hp-green);
}

.hotel-page .hotel-review-helpful-btn:disabled {
    opacity: 1;
    cursor: default;
}

.hotel-page .hotel-review-admin-actions {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--hp-line);
}

.hp-answer-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 40px;
    margin-left: 28px;
    padding: 8px 16px;
    border: 0;
    border-radius: 8px;
    background: var(--hp-soft);
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    cursor: pointer;
}

.hp-answer-toggle:hover {
    background: #EAF0F9;
}

.hotel-page .hotel-review-answer {
    margin: 0 0 0 28px;
    padding: 14px 16px;
    border-radius: 8px;
    background: var(--hp-soft);
}

.hotel-page .hotel-review-answer[hidden] {
    display: none;
}

.hotel-page .hotel-review-answer-header {
    margin-bottom: 6px;
}

.hotel-page .hotel-review-answer-name {
    margin: 0;
    color: var(--hp-ink);
    font-weight: 600;
}

.hotel-page .hotel-review-answer-content {
    margin: 0;
    padding: 0;
}

.hotel-page .hotel-review-answer-text {
    overflow-wrap: anywhere;
    color: var(--hp-ink);
    font-size: 15px;
    line-height: 1.5;
}

.hp-reviews-more {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 8px 18px;
    border: 1px solid var(--hp-line);
    border-radius: 10px;
    background: #fff;
    color: var(--hp-ink);
    font-size: 18px;
    font-weight: 500;
    line-height: 24px;
    text-align: left;
    cursor: pointer;
}

.hp-reviews-more:hover {
    color: var(--hp-green);
}

.hp-reviews-more[hidden] {
    display: none;
}

/* Частые вопросы */
.hp-subtitle {
    margin: -12px 0 0;
    color: var(--hp-muted);
    font-size: 17px;
    font-weight: 500;
    line-height: 22px;
}

.hotel-page .hotel-info-card.hotel-faq {
    margin: 0;
    padding: 18px 20px;
}

.hotel-page .hotel-faq-content {
    gap: 12px;
}

.hotel-page .hotel-faq-item {
    border: 1px solid var(--hp-line);
    border-radius: 10px;
}

.hotel-page .hotel-faq-question {
    gap: 16px;
    padding: 14px 18px;
}

.hotel-page .hotel-faq-question:hover {
    background: var(--hp-soft);
}

.hotel-page .hotel-faq-question-text {
    padding: 0;
    color: var(--hp-ink);
    font-size: 16px;
    font-weight: 600;
    line-height: 22px;
}

.hotel-page .hotel-faq-chevron {
    width: 16px;
    height: 16px;
}

.hotel-page .hotel-faq-answer {
    padding: 0 18px 0 46px;
}

.hotel-page .hotel-faq-answer.expanded {
    padding: 0 18px 14px 46px;
}

.hotel-page .hotel-faq-answer-text {
    overflow-wrap: anywhere;
    color: var(--hp-ink);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.hotel-page .hotel-faq-answer-text p:last-child {
    margin-bottom: 0;
}

@media (max-width: 1199px) {
    .hp-similar .hotel-similar {
        --hp-similar-count: 4;
    }
}

@media (max-width: 991px) {
    .hp-similar .hotel-similar {
        --hp-similar-count: 3;
    }

    .hotel-page {
        --hp-width: calc(100% - 24px);
    }

    .hp-crumbs,
    .hp-similar__inner {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hotel-page .hotel-main-content-wrapper {
        grid-template-columns: minmax(0, 1fr);
        padding-top: 12px;
    }

    .hotel-page .hotel-blocks-container {
        display: contents;
    }

    .hotel-page .hotel-blocks-container > * {
        order: 3;
    }

    .hotel-page #hotel-info-booking-container {
        order: 1;
        margin-bottom: 16px;
    }

    .hotel-page .hotel-booking-container {
        order: 2;
        margin-bottom: 24px;
    }

    .hotel-page .hotel-room-actions {
        flex: 1 1 100%;
    }

    .hotel-page .hotel-room-details-btn,
    .hotel-page .hotel-room-book-btn {
        flex: 1 1 140px;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .hp-head__name,
    .hotel-page .hotel-room-name {
        font-size: 20px;
    }

    .hp-title,
    .hp-similar__title {
        font-size: 20px;
    }

    .hp-zone__bar {
        font-size: 17px;
    }

    .hotel-page .hotel-room-content {
        padding: 12px 14px 14px;
    }

    .hp-card {
        padding: 14px;
    }

    .hp-amenities,
    .hp-option-list--wide {
        grid-template-columns: minmax(0, 1fr);
    }

    .hp-map__head {
        flex-wrap: wrap;
    }

    .hp-map__coords {
        flex: 1 1 100%;
        text-align: left;
    }

    .hp-similar .hotel-similar {
        --hp-similar-count: 2;
        --hp-similar-gap: 12px;
    }

    .hp-similar .carousel-nav-btn {
        display: none;
    }

    .hp-similar__title {
        margin-left: 0;
    }

    .hotel-page .hotel-reviews-breakdown {
        flex-direction: column;
        padding: 0;
    }

    .hotel-page .hotel-reviews-actions {
        flex-direction: column;
    }

    .hotel-page .hotel-review-card {
        padding: 14px;
    }

    .hotel-page .hotel-review-header {
        flex-wrap: wrap;
        gap: 8px 12px;
    }

    .hotel-page .hotel-review-avatar {
        width: 48px;
        height: 48px;
    }

    .hotel-page .hotel-review-avatar-initials {
        font-size: 20px;
    }

    .hotel-page .hotel-review-author-name {
        font-size: 17px;
        line-height: 22px;
    }

    .hotel-page .hotel-review-rating-wrapper {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0;
    }

    .hotel-page .hotel-review-section-content,
    .hotel-page .hotel-review-text {
        padding-left: 0;
    }

    .hp-answer-toggle,
    .hotel-page .hotel-review-answer {
        margin-left: 12px;
    }

    .hp-reviews-more {
        font-size: 16px;
    }

    .hp-subtitle {
        font-size: 15px;
    }

    .hotel-page .hotel-faq-answer,
    .hotel-page .hotel-faq-answer.expanded {
        padding-left: 18px;
    }
}
