@charset "utf-8";

/* 비급여 — 다른 서브(오시는길 등)와 동일 좌우 여백 */
body.syou-sub-page.syou-price-page .syou-sub__body:has(.syou-price-page) {
    padding: 0;
    background: #fff;
}

body.syou-sub-page.syou-price-page .syou-price-page {
    padding: 14px var(--syou-frame-pad-x, 16px) 24px;
    box-sizing: border-box;
}

body.syou-sub-page.syou-price-page .syou-price-page__unit {
    margin: 0 0 10px;
    text-align: right;
    font-size: var(--syou-frame-meta, 1.4rem);
    color: #666;
}

body.syou-sub-page.syou-price-page .syou-price-page__event-note {
    margin: 0 0 14px;
    padding: 10px 12px;
    border: 1px solid var(--syou-primary-border, #b8c9c2);
    border-radius: 4px;
    background: var(--syou-primary-light, #eaf3f0);
    font-size: var(--syou-frame-meta, 1.4rem);
    font-weight: 700;
    color: #444;
    text-align: center;
}

body.syou-sub-page.syou-price-page .syou-price-section {
    margin-bottom: 28px;
}

body.syou-sub-page.syou-price-page .syou-price-section__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    border: 0;
    background: none;
    font-size: calc(var(--syou-frame-meta, 1.4rem) * 1.08);
    font-weight: 800;
    line-height: 1.4;
    color: #222;
}

body.syou-sub-page.syou-price-page .syou-price-section__dot {
    flex: 0 0 auto;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--syou-primary, #6bab94);
}

body.syou-sub-page.syou-price-page .syou-price-section__sub {
    font-size: 0.88em;
    font-weight: 600;
    color: #888;
}

body.syou-sub-page.syou-price-page .syou-price-block {
    margin-bottom: 16px;
}

body.syou-sub-page.syou-price-page .syou-price-block--promo {
    margin-bottom: 0;
}

body.syou-sub-page.syou-price-page .syou-price-block__promo-title {
    margin: 0 0 6px;
    padding: 8px 10px;
    border: 1px solid var(--syou-primary-border, #b8c9c2);
    border-radius: 4px;
    background: var(--syou-primary-light, #eaf3f0);
    font-size: var(--syou-frame-meta, 1.4rem);
    font-weight: 700;
    color: #333;
    text-align: center;
}

body.syou-sub-page.syou-price-page .syou-price-block__promo-note {
    margin: 0 0 8px;
    font-size: calc(var(--syou-frame-meta, 1.4rem) * 0.92);
    font-weight: 500;
    color: #888;
    text-align: center;
}

body.syou-sub-page.syou-price-page .syou-price-block__badge {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 3px;
    border: 1px solid var(--syou-primary-border, #b8c9c2);
    background: #fff;
    font-size: 0.92em;
    font-weight: 800;
    color: var(--syou-primary, #6bab94);
}

body.syou-sub-page.syou-price-page .table_scroll.price .table .syou-price-amt--dash {
    text-align: center;
    color: #999;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table col.syou-price-col--item-wide {
    width: 42%;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table col.syou-price-col--gender {
    width: 24%;
}

body.syou-sub-page.syou-price-page .table_scroll.price {
    width: 100%;
    max-width: 100%;
    margin: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    table-layout: fixed;
    font-size: var(--syou-frame-meta, 1.4rem) !important;
    line-height: 1.45 !important;
    border-collapse: collapse;
    border: 1px solid var(--syou-primary-border, #b8c9c2);
    background: #fff;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table thead th,
body.syou-sub-page.syou-price-page .table_scroll.price .table tbody th,
body.syou-sub-page.syou-price-page .table_scroll.price .table tbody td {
    height: auto !important;
    min-height: 38px;
    padding: 8px 5px !important;
    vertical-align: middle !important;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: anywhere;
    font-size: var(--syou-frame-meta, 1.4rem) !important;
    line-height: 1.45 !important;
    color: #555;
    box-sizing: border-box;
    border: 1px solid var(--syou-primary-border, #b8c9c2) !important;
}

/* 항목 · 기준 · 금액 헤더 — 봄온담 브랜드색 */
body.syou-sub-page.syou-price-page .table_scroll.price .table thead th {
    background-color: var(--syou-primary, #6bab94);
    color: #fff;
    font-size: var(--syou-frame-meta, 1.4rem) !important;
    font-weight: 500;
    line-height: 1.35 !important;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table tbody th {
    background: var(--syou-primary-light, #eaf3f0);
    font-weight: 500;
    color: #444;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table tbody td {
    background: #fff;
}

/* 기준 열 */
body.syou-sub-page.syou-price-page .table_scroll.price .table tbody tr > td:nth-last-child(2):not(.syou-price-amt) {
    color: var(--syou-primary, #6bab94);
    font-weight: 500;
}

/* 금액 열 */
body.syou-sub-page.syou-price-page .table_scroll.price .table .syou-price-amt {
    text-align: right;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--syou-primary, #6bab94);
    font-weight: 500;
}

/* 3열 비율 (항목 | 기준 | 금액) */
body.syou-sub-page.syou-price-page .table_scroll.price .table col.syou-price-col--item {
    width: 40%;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table col.syou-price-col--std {
    width: 38%;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table col.syou-price-col--amt {
    width: 22%;
}

body.syou-sub-page.syou-price-page .table_scroll.price .table tbody td:nth-child(2) {
    word-break: keep-all;
    white-space: normal;
}

/* 4열 비율 (구분용 — 제모 5+5) */
body.syou-sub-page.syou-price-page .table_scroll.price .table col.syou-price-col--cat {
    width: 20%;
}

@container syouframe (max-width: 740px) {
    body.syou-sub-page.syou-price-page .table_scroll.price .table thead th,
    body.syou-sub-page.syou-price-page .table_scroll.price .table tbody th,
    body.syou-sub-page.syou-price-page .table_scroll.price .table tbody td {
        font-size: calc(100cqw * 12 / 430) !important;
        padding: calc(100cqw * 8 / 430) calc(100cqw * 4 / 430) !important;
    }

    body.syou-sub-page.syou-price-page .syou-price-page {
        padding-left: var(--syou-frame-pad-x, calc(100cqw * 16 / 430));
        padding-right: var(--syou-frame-pad-x, calc(100cqw * 16 / 430));
    }
}
