﻿.Page_ServiceItem_Body_main {
    padding-top: calc(var(--topbar-height) + var(--top-safe) + 16px);
    padding-bottom: calc(var(--tabbar-height) + var(--bottom-safe) + 16px);
    padding-left: 16px;
    padding-right: 16px;
}
.Page_ServiceItem_Body_themeBlock {
    background: var(--card);
    border-radius: 18px;
    padding: 20px 18px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.Page_ServiceItem_Body_themeTitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.Page_ServiceItem_Body_themeDesc {
    font-size: 12px;
    color: var(--text-sub);
    line-height: 1.6;
    margin-bottom: 16px;
}

.Page_ServiceItem_Body_themeTabWrap {
    display: flex;
    gap: 10px;
}

.Page_ServiceItem_Body_seg {
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-size: 13px;
    color: var(--text-sub);
    border: 1px solid var(--line);
    background: var(--bg);
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
}

    .Page_ServiceItem_Body_seg.active {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        font-weight: 600;
    }
/* ========== Body 区：服务选择（按套餐 / 按单项自选） ========== */
.Page_ServiceItem_Body_selector {
    display: flex;
    background: var(--card);
    border-radius: 18px;
    padding: 6px;
    box-shadow: var(--shadow);
    margin-bottom: 18px;
}

.Page_ServiceItem_Body_seg {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-sub);
    border-radius: 14px;
    cursor: pointer;
    text-decoration: none;
}

    .Page_ServiceItem_Body_seg.active {
        background: var(--primary);
        color: #fff;
        font-weight: 600;
    }

/* ========== Body 区：分类服务清单 ========== */
.Page_ServiceItem_Body_catSection {
    margin-bottom: 18px;
}

.Page_ServiceItem_Body_catHead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.Page_ServiceItem_Body_catTitle {
    position: relative;
    padding-left: 12px;
    font-size: 16px;
    font-weight: 700;
}

    .Page_ServiceItem_Body_catTitle::before {
        content: "";
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 4px;
        height: 16px;
        background: var(--primary);
        border-radius: 2px;
    }

.Page_ServiceItem_Body_catCount {
    font-size: 11px;
    color: var(--text-sub);
}

.Page_ServiceItem_Body_itemList {
    background: var(--card);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.Page_ServiceItem_Body_item {
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 15px 16px;
    border-bottom: 1px solid var(--line);
}

    .Page_ServiceItem_Body_item:last-child {
        border-bottom: none;
    }

.Page_ServiceItem_Body_itemIcon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    flex-shrink: 0;
}

.Page_ServiceItem_Body_itemInfo {
    flex: 1;
    min-width: 0;
}

.Page_ServiceItem_Body_itemName {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 3px;
}

.Page_ServiceItem_Body_itemDesc {
    font-size: 11px;
    color: var(--text-sub);
    line-height: 1.5;
}

.Page_ServiceItem_Body_itemPrice {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    margin-left: 8px;
    white-space: nowrap;
}

.Page_ServiceItem_Body_selectBtn {
    flex: 0 0 auto;
    border: 1px solid var(--primary);
    background: var(--card);
    color: var(--primary);
    border-radius: 18px;
    padding: 7px 16px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

    .Page_ServiceItem_Body_selectBtn.selected {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
    }
