/* ==========================================================
   料金表 共通(.pt)
   /public_html/assets/price-table.css
   1rem = 10px。shop.css / shop-sub.css の後に読む
   使う場所: お店トップの料金表 / 料金ページ / 個人セラの料金表
   HTMLは templates_parts/price-table.php の mp_price_table() が出す

   1行 = [時間バッジ(固定幅)] [名前 / 説明] [料金(右端)]
   カテゴリは1枚のカードの中を帯で区切る。
   指名料・出張料金は時間が無いので2列の小さい行(.pt__grid)
   ========================================================== */
.pt {
    display: flex;
    flex-direction: column;
}

/* ── カテゴリの帯 ── */
.pt__band {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 1rem;
    margin: 0;
    padding: 1.4rem 2rem;
    background: var(--ap-panel-v2);
}

.pt__cat:first-child .pt__band {
    border-top: none;
}

.pt__band-name {
    margin: 0;
    color: var(--shop-gold-soft, #d9bd87);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
}

.pt__band-note {
    margin: 0;
    color: var(--shop-text-dim, #a8a59f);
    font-size: 1.2rem;
    line-height: 1.5;
}

/* ── 行(コース / オプション) ── */
.pt__rows {
    margin: 0;
    padding: 0;
    list-style: none;
}

.pt__row {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 2rem;
    border-top: 1px solid var(--shop-border, #2c2c33);
}

.pt__row--op {
    padding: 1.2rem 2rem;
}

/* 時間バッジ。幅を固定して、名前と料金の位置を全行でそろえる */
.pt__dur {
    flex: 0 0 6.4rem;
    display: inline-flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.2rem;
    padding: 0.7rem 0;
    border: 1px solid var(--shop-gold-dim, #8a7548);
    border-radius: 0.6rem;
    color: var(--shop-gold-soft, #d9bd87);
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pt__dur small {
    font-size: 1.1rem;
    font-weight: 400;
}

/* オプション(延長など)は破線 */
.pt__dur--op {
    border-style: dashed;
}

/* 時間の無いオプションは文字だけ */
.pt__dur--label {
    align-items: center;
    color: var(--shop-text-dim, #a8a59f);
    font-size: 1.1rem;
    font-weight: 400;
}

.pt__body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.pt__name {
    color: var(--shop-text, #e8e6e1);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.pt__row--op .pt__name {
    font-size: 1.4rem;
}

/* 説明は2行まで */
.pt__note {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    color: var(--shop-text-dim, #a8a59f);
    font-size: 1.2rem;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.pt__price {
    flex: 0 0 auto;
    color: var(--shop-gold, #c9a86c);
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.pt__price small {
    font-size: 1.2rem;
    font-weight: 400;
}

/* 加算(オプション / 指名料 / 出張)は白で少し控えめに */
.pt__price--add {
    color: var(--shop-text, #e8e6e1);
    font-size: 1.6rem;
    font-weight: 600;
}

.pt__price--add small {
    color: var(--shop-text-dim, #a8a59f);
    font-size: 1.1rem;
}

/* 料金が文字のとき(応相談 など) */
.pt__price--text {
    font-size: 1.4rem;
    font-weight: 600;
}

/* ── 2列の小さい行(指名料 / 出張料金) ── */
.pt__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border-top: 1px solid var(--shop-border, #2c2c33);
}

.pt__cell {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1.2rem 2rem;
}

.pt__cell:nth-child(odd) {
    border-right: 1px solid var(--shop-border, #2c2c33);
}

.pt__cell:nth-child(n + 3) {
    border-top: 1px solid var(--shop-border, #2c2c33);
}

.pt__cell-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.pt__cell-name {
    color: var(--shop-text, #e8e6e1);
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.pt__cell-note {
    margin: 0;
    color: var(--shop-text-dim, #a8a59f);
    font-size: 1.1rem;
    line-height: 1.5;
}

.pt__cell .pt__price {
    font-size: 1.5rem;
}

/* ==========================================================
   SP(〜600px)
   ========================================================== */
@media (max-width: 600px) {
    .pt__band {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
        padding: 0.8rem 1.4rem;
    }

    .pt__band-name {
        font-size: 1.2rem;
    }

    .pt__band-note {
        font-size: 1rem;
    }

    .pt__row,
    .pt__row--op {
        gap: 0.6rem;
        padding: 1.2rem 0rem;
    }

    .pt__dur {
        flex: 0 0 5.4rem;
        padding: 0.6rem 0;
        font-size: 1.2rem;
    }

    .pt__dur small {
        font-size: 1rem;
    }

    .pt__dur--label {
        font-size: 1rem;
    }

    .pt__name,
    .pt__row--op .pt__name {
        font-size: 1.2rem;
    }

    .pt__row--op .pt__name {
        font-size: 1.2rem;
    }

    .pt__note {
        font-size: 1.1rem;
    }

    .pt__price {
        font-size: 1.6rem;
    }

    .pt__price small {
        font-size: 1.1rem;
    }

    .pt__price--add {
        font-size: 1.4rem;
    }

    .pt__price--add small {
        font-size: 1rem;
    }

    .pt__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pt__cell {
        padding: 1.1rem 0.5rem;
    }

    .pt__cell:nth-child(odd) {
        border-right: none;
    }

    .pt__cell:nth-child(n + 3) {
        border-top: none;
    }

    .pt__cell + .pt__cell {
        border-top: 1px solid var(--shop-border, #2c2c33);
    }

    .pt__cell-name {
        font-size: 1.3rem;
    }

    .pt__cell .pt__price {
        font-size: 1.4rem;
    }
}