/* Hotel results grid */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding-bottom: 60px;
}

@media screen and (max-width: 1024px) {
    .hotels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 640px) {
    .hotels-grid {
        grid-template-columns: 1fr;
    }
}

/* Hotel card */
.hotel-card {
    background: #fff;
    border: 1px solid #dddfe0;
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.hotel-card:hover {
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.05), 0px 8px 40px rgba(0, 0, 0, 0.12);
}

/* Photo */
.hotel-card__photo-wrap {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f0f0f0;
}

.hotel-card__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hotel-card:hover .hotel-card__photo {
    transform: scale(1.03);
}

.hotel-card__photo--empty {
    background: linear-gradient(135deg, #e8e8e8 0%, #d4d4d4 100%);
}

/* Body */
.hotel-card__body {
    padding: 16px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Rating row */
.hotel-card__rating-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.hotel-card__stars {
    color: #FFD900;
    font-size: 14px;
    letter-spacing: 1px;
}

.hotel-card__score {
    font-family: "Inter", Roboto, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #141414;
}

.hotel-card__score-word {
    font-family: "Inter", Roboto, sans-serif;
    font-size: 14px;
    color: #141414;
}

.hotel-card__review-count {
    font-family: "Inter", Roboto, sans-serif;
    font-size: 13px;
    color: #9299a2;
}

/* Name */
.hotel-card__name {
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
    color: #141414;
    margin: 0 0 6px;
}

/* Location */
.hotel-card__location {
    font-family: "Inter", Roboto, sans-serif;
    font-size: 13px;
    color: #9299a2;
    margin: 0 0 16px;
}

/* Price row */
.hotel-card__price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid #f0f0f0;
    padding-top: 14px;
    margin-top: auto;
}

.hotel-card__price-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hotel-card__price {
    font-family: "Poppins", Roboto, sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #141414;
    line-height: 1.2;
}

.hotel-card__per-night {
    font-family: "Inter", Roboto, sans-serif;
    font-size: 13px;
    color: #9299a2;
    margin-top: 2px;
}

/* Generate button */
.hotel-card__btn {
    flex-shrink: 0;
    padding: 12px 22px;
    font-family: "Inter", Roboto, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: #4450f2;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s ease;
    white-space: nowrap;
}

.hotel-card__btn:hover {
    background: #1d29c7;
}

.hotel-card__btn:focus {
    outline: none;
}
