/* 预约项目列表页 */
.service-page-header {
    padding: 120px 0 36px;
    background: linear-gradient(180deg, #fff 0%, var(--bg-light, #f7f7f7) 100%);
    border-bottom: 1px solid var(--border-color, #eee);
}

.service-page-header .section-title,
.service-page-header .section-subtitle {
    text-align: center;
}

.service-page-header .section-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

.service-filter-panel {
    margin-bottom: 24px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.service-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.service-search-wrap {
    flex: 1 1 220px;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-search-input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 14px;
}

.service-search-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #111827;
    color: #fff;
    cursor: pointer;
}

.service-chain-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--primary-color, #FD4621);
    text-decoration: none;
    white-space: nowrap;
}

.service-chain-link:hover {
    text-decoration: underline;
}

.service-cate-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-cate-tab {
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.service-cate-tab.is-active {
    background: #111827;
    border-color: #111827;
    color: #fff;
}

.service-list-wrap {
    min-height: 200px;
}

.h5-service-card-link {
    display: flex;
    text-decoration: none;
    color: inherit;
}

.h5-service-card-link:hover {
    background: #fafafa;
}

.h5-service-card-link .h5-service-title {
    color: #111827;
}

/* 服务详情页（对齐 H5 user/pages/detail） */
.service-detail-page {
    padding-bottom: 88px;
    background: #f3f4f6;
}

.service-banner-wrap {
    background: #111;
}

.service-banner-inner {
    position: relative;
    max-width: 720px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
    max-height: 480px;
    overflow: hidden;
}

.service-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-banner-dots {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: flex;
    gap: 6px;
}

.service-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
}

.service-banner-dot.is-active {
    background: #fff;
}

.service-main-wrap {
    max-width: 720px;
    margin: -24px auto 0;
    padding: 0 16px 24px;
    position: relative;
    z-index: 2;
}

.service-title-card {
    background: #fff;
    border-radius: 16px 16px 0 0;
    padding: 20px 20px 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.service-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.service-title-name {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    flex: 1;
}

.service-duration-badge {
    flex-shrink: 0;
    font-size: 13px;
    color: #6b7280;
    white-space: nowrap;
}

.service-price-row {
    display: flex;
    align-items: baseline;
    gap: 2px;
    margin-bottom: 8px;
}

.service-price-currency {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

.service-price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    line-height: 1;
}

.service-price-unit {
    font-size: 13px;
    color: #6b7280;
}

.service-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.service-vip-line {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.service-sale-text {
    font-size: 13px;
    color: #6b7280;
}

.service-tags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.service-tag {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    color: #374151;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
}

.service-guarantee-section {
    margin-top: 12px;
    padding: 16px 20px;
    background: #fff;
}

.service-guarantee-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-guarantee-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.service-guarantee-card {
    flex: 0 0 140px;
    padding: 12px;
    border-radius: 12px;
    background: #f9fafb;
    border: 1px solid #f3f4f6;
}

.service-guarantee-card-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 4px;
}

.service-guarantee-card-sub {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

.service-section-card {
    background: #fff;
    margin-top: 12px;
    padding: 20px;
    border-radius: 0;
}

.service-section-card:last-child {
    border-radius: 0 0 16px 16px;
}

.service-section-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-rich-content {
    font-size: 14px;
    line-height: 1.75;
    color: #374151;
    word-break: break-word;
}

.service-rich-content img {
    max-width: 100%;
    height: auto;
}

.service-sticky-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.06);
}

.service-sticky-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.service-sticky-price {
    flex: 1;
    min-width: 0;
}

.service-sticky-price-val {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.service-sticky-price-label {
    font-size: 12px;
    color: #9ca3af;
}

.service-book-btn-main {
    flex-shrink: 0;
    min-width: 140px;
    padding: 12px 24px;
    border: none;
    border-radius: 999px;
    background: #111827;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.service-book-btn-main:hover {
    background: #1f2937;
}

.service-sticky-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-size: 11px;
    color: #6b7280;
    text-decoration: none;
    margin-right: 8px;
}

.service-sticky-link i {
    font-size: 18px;
}

@media (max-width: 768px) {
    .service-page-header {
        padding: 88px 0 24px;
    }

    .service-filter-panel {
        padding: 14px;
    }

    .service-filter-row {
        gap: 10px;
    }

    .service-search-wrap {
        flex: 1 1 100%;
        width: 100%;
    }

    .service-search-input {
        font-size: 16px;
    }

    .service-chain-link {
        flex: 1 1 100%;
        justify-content: center;
    }

    .service-banner-inner {
        max-height: none;
    }

    .service-sticky-inner {
        padding: 10px 12px;
    }

    .service-book-btn-main {
        min-width: 120px;
        padding: 11px 18px;
    }
}
