/* =========================================================
    Component: Single Stay Info
    File: assets/css/3_components/stay-info.css
   ========================================================= */

.p-stayInfo {
    padding-top: var(--wan-s-6);
    padding-bottom: var(--wan-s-10);
    border-bottom: 1px solid var(--wan-color-border-light);
}

.p-stayInfo__title {
    font-size: var(--wan-f-size-xl);
    font-weight: var(--wan-f-weight-bold);
    line-height: var(--wan-f-lh-tight);
    color: var(--wan-color-text);
    margin-bottom: var(--wan-s-6);
}

/* サブコンテンツ（メタ ＋ 価格） */
.p-stayInfo__subContent {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-end; /* 下揃え */
    gap: var(--wan-s-4);
}

/* メタ情報全体（縦積み） */
.p-stayInfo__meta {
    display: flex;
    flex-direction: column;
    gap: var(--wan-s-1); /* エリアと下の行の間隔 */
    flex: 1;
}

/* ★改善：タイプとレートの横並び行 */
.p-stayInfo__metaRow {
    display: flex;
    flex-direction: row; /* 横並び */
    align-items: center;
    gap: var(--wan-s-3); /* タイプとレートの間の余白 */
}

.p-stayInfo__metaItem {
    display: inline-flex;
    align-items: center;
    font-size: var(--wan-f-size-xs);
    color: var(--wan-color-text-muted);
}

/* 右側：価格 */
.p-stayInfo__price {
    text-align: right;
    flex-shrink: 0; /* 価格が潰れないように */
}

/* --- PC版（769px以上） --- */
@media screen and (min-width: 769px) {
    .p-stayInfo {
        padding-top: var(--wan-s-10);
        padding-bottom: var(--wan-s-12);
    }

    .p-stayInfo__title {
        font-size: var(--wan-f-size-3xl);
        margin-bottom: var(--wan-s-8);
    }

    .p-stayInfo__meta {
        gap: var(--wan-s-2);
    }

    .p-stayInfo__metaRow {
        gap: var(--wan-s-4); /* PCでは少し広げる */
    }

    .p-stayInfo__metaItem {
        font-size: var(--wan-f-size-sm);
    }
}