.front-rooms__title {
    margin: 0 0 32px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
    color: #222;
}

.front-rooms-slider {
    position: relative;
    overflow: hidden;
}

.front-rooms-slider__slide {
    height: auto;
}

.front-rooms-card {
    display: flex;
    height: 100%;
    min-height: 280px;
    max-height: 285px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.front-rooms-card:hover {
    color: inherit;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.front-rooms-card__image {
    display: block;
    width: 48%;
    min-height: 280px;
    overflow: hidden;
    background: #f5f5f5;
}

.front-rooms-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front-rooms-card__content {
    display: flex;
    flex-direction: column;
    width: 52%;
    padding: 28px;
}

.front-rooms-card__title {
    display: block;
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 600;
    color: #222;
}

.front-rooms-card__price-value {
    display: block;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: #222;
}

.front-rooms-card__text {
    display: block;
    font-size: 15px;
    line-height: 1.5;
    color: #555;
}

.front-rooms-slider__nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.front-rooms-slider__arrow {
    width: 44px;
    height: 44px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-size: 34px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.front-rooms-slider__arrow:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

.front-rooms-card__prices {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}

.front-rooms-card__price {
    display: block;
}

.front-rooms-card__price-name {
    display: block;
    margin-bottom: 5px;
    font-size: 13px;
    line-height: 1.3;
    color: #777;
}

.front-rooms-card__price-value {
    display: block;
    position: relative;
    padding-left: 12px;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    color: #222;
}

.front-rooms-card__price-value:before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 3px;
    height: 18px;
    background: #008000;
}

.front-rooms-card__price-old {
    display: block;
    margin-top: 3px;
    font-size: 13px;
    line-height: 1.3;
    color: #999;
    text-decoration: line-through;
}

@media (max-width: 1160px) {
    .front-rooms-card {
        max-height: 310px;
    }
    .front-rooms-card__content {
        padding: 22px;
    }
}
@media (max-width: 1100px) {
    .front-rooms-card {
        flex-direction: column;
        max-height: none;
    }
    .front-rooms-card__image {
        width: 100%;
        max-height: 285px;
        aspect-ratio: 1 / 1;
    }
    .front-rooms-card__content {
        width: 100%;
    }
}
@media (max-width: 991px) {
    .front-rooms-card__prices {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 767px) {
    .front-rooms__title {
        margin-bottom: 24px;
        font-size: 26px;
    }

    .front-rooms-card {
        display: block;
        min-height: 0;
    }

    .front-rooms-card__image {
        width: 100%;
        min-height: 220px;
    }

    .front-rooms-card__content {
        width: 100%;
        padding: 20px;
    }

    .front-rooms-card__title {
        font-size: 20px;
    }
}
@media (max-width: 600px) {
    .front-rooms-card__prices {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 510px) {
    .front-rooms-card__prices {
        grid-template-columns: 1fr;
    }
}