:root {
    --ps-red: #ff2442;
    --ps-red-dark: #d91f38;
    --ps-coral: #ff6b81;
    --ps-ink: #15171f;
    --ps-text: #2d3340;
    --ps-muted: #6b7280;
    --ps-line: #ece7e4;
    --ps-page: #fff8f6;
    --ps-soft: #fff1f3;
    --ps-card: #ffffff;
    --ps-amber: #d98524;
    --ps-green: #168064;
    --ps-shadow: 0 18px 50px rgba(33, 24, 22, .08);
    --ps-shadow-hover: 0 24px 70px rgba(33, 24, 22, .13);
}

* { box-sizing: border-box; }
html { min-width: 0; scroll-behavior: smooth; }
body {
    margin: 0;
    min-width: 0;
    color: var(--ps-text);
    background: var(--ps-page);
    font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 0;
}

a { color: inherit; text-decoration: none; transition: color .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease; }
a:hover { color: var(--ps-red); }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; letter-spacing: 0; }
button, a, .sku-item, .payment-method-card, .address-card, .profile-quick-card { cursor: pointer; }
input, textarea {
    width: 100%;
    border: 1px solid #ded7d3;
    border-radius: 8px;
    background: #fff;
    color: var(--ps-ink);
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
input { height: 46px; padding: 0 14px; }
textarea { min-height: 112px; padding: 12px 14px; resize: vertical; }
input:focus, textarea:focus {
    border-color: var(--ps-red);
    box-shadow: 0 0 0 3px rgba(255, 36, 66, .12);
}

.hidden { display: none !important; }
.q-container { width: min(1200px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 84px 0; background: #fff; }
.section-alt { background: var(--ps-page); }
.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ps-red);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.section-kicker::before {
    content: "";
    width: 24px;
    height: 2px;
    background: var(--ps-red);
    border-radius: 2px;
}
.section-title-block { max-width: 740px; margin: 0 auto 36px; text-align: center; }
.section-title-block .section-kicker { justify-content: center; }
.section-title-block h2, .home-title, .section-head h2 {
    margin: 8px 0 10px;
    color: var(--ps-ink);
    font-size: 36px;
    line-height: 1.28;
    font-weight: 800;
}
.section-title-block p, .section-head p { margin: 0; color: var(--ps-muted); }
.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}
.view-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--ps-red);
    font-weight: 700;
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 700;
    line-height: 1;
    white-space: nowrap;
}
.btn-primary { color: #fff; background: var(--ps-red); box-shadow: 0 12px 28px rgba(255, 36, 66, .24); }
.btn-primary:hover { color: #fff; background: var(--ps-red-dark); transform: translateY(-1px); box-shadow: 0 18px 36px rgba(255, 36, 66, .28); }
.btn-outline { color: var(--ps-red); background: #fff; border-color: rgba(255, 36, 66, .32); }
.btn-outline:hover { background: var(--ps-soft); border-color: var(--ps-red); }
.btn-dark { color: #fff; background: var(--ps-ink); }
.btn-dark:hover { color: #fff; background: #2c2f38; }
.btn-light { color: var(--ps-red); background: #fff; border-color: rgba(255,255,255,.65); }
.btn-small { min-height: 34px; padding: 0 14px; font-size: 14px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 248, 246, .96);
    border-bottom: 1px solid rgba(236, 231, 228, .86);
    box-shadow: 0 8px 26px rgba(33, 24, 22, .05);
}
.topbar { border-bottom: 1px solid rgba(236, 231, 228, .72); background: #fff; color: var(--ps-muted); font-size: 13px; }
.topbar-inner { height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar-links { display: flex; align-items: center; gap: 16px; }
.nav-wrap { min-height: 76px; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 210px; color: var(--ps-ink); font-weight: 800; font-size: 20px; }
.brand img { width: 42px; height: 42px; object-fit: contain; border-radius: 8px; background: #fff; }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: 28px; }
.main-nav a { color: #333743; font-size: 15px; font-weight: 700; }
.main-nav a:hover { color: var(--ps-red); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-consult {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 0 16px;
    border-radius: 8px;
    color: #fff;
    background: var(--ps-ink);
    font-weight: 700;
}
.nav-consult:hover { color: #fff; background: var(--ps-red); }
.icon-link, .mobile-menu {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(45, 51, 64, .12);
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ps-ink);
    background: #fff;
}
.header-icon { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.icon-link:hover, .mobile-menu:hover { color: var(--ps-red); border-color: rgba(255, 36, 66, .35); background: var(--ps-soft); }
.mobile-menu { display: none; padding: 0; }

.hero-paisheng {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    background:
        radial-gradient(circle at 85% 8%, rgba(255, 107, 129, .16), transparent 30%),
        linear-gradient(135deg, #fffaf8 0%, #fff1f3 100%);
}
.hero-bg-slides { position: absolute; inset: 0; pointer-events: none; }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    background-size: cover;
    background-position: center;
    transition: opacity .7s ease;
}
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 248, 246, .86);
}
.hero-slide.is-active { opacity: 1; }
.hero-layout {
    position: relative;
    z-index: 2;
    min-height: 720px;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(420px, .86fr);
    align-items: center;
    gap: 64px;
    padding: 68px 0;
}
.hero-copy h1 {
    margin: 12px 0 18px;
    color: var(--ps-ink);
    font-size: 58px;
    line-height: 1.12;
    font-weight: 900;
    max-width: 740px;
}
.hero-copy p { margin: 0; max-width: 650px; color: #515866; font-size: 18px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.hero-tags { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.hero-tags span, .service-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    color: var(--ps-red);
    background: #fff;
    border: 1px solid rgba(255, 36, 66, .16);
    font-size: 13px;
    font-weight: 700;
}
.hero-dashboard {
    position: relative;
    min-height: 520px;
}
.note-card, .data-panel, .diagnosis-card {
    background: rgba(255,255,255,.94);
    border: 1px solid rgba(236, 231, 228, .92);
    border-radius: 18px;
    box-shadow: var(--ps-shadow);
}
.note-card-main {
    width: min(390px, 100%);
    margin-left: auto;
    padding: 18px;
}
.note-cover {
    height: 220px;
    border-radius: 14px;
    display: flex;
    align-items: flex-end;
    padding: 20px;
    color: #fff;
    background:
        linear-gradient(180deg, rgba(21, 23, 31, .05), rgba(21, 23, 31, .72)),
        linear-gradient(135deg, #ff2442, #d98524);
}
.note-cover span { font-size: 22px; font-weight: 900; }
.note-card h3 { margin: 16px 2px 6px; color: var(--ps-ink); font-size: 20px; line-height: 1.4; }
.note-card p, .data-panel p, .diagnosis-card p { margin: 0; color: var(--ps-muted); font-size: 14px; }
.note-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.note-stats span {
    padding: 10px;
    border-radius: 12px;
    background: var(--ps-page);
    color: var(--ps-muted);
    font-size: 13px;
}
.note-stats strong { display: block; color: var(--ps-red); font-size: 20px; line-height: 1.2; }
.data-panel {
    position: absolute;
    left: 0;
    bottom: 44px;
    width: 286px;
    padding: 18px;
}
.data-panel-head { display: flex; justify-content: space-between; align-items: center; color: var(--ps-muted); font-weight: 700; }
.data-panel-head strong { color: var(--ps-green); font-size: 26px; }
.chart-bars { height: 130px; display: flex; align-items: end; gap: 12px; padding: 18px 4px 12px; }
.chart-bars span {
    flex: 1;
    min-width: 20px;
    border-radius: 8px 8px 2px 2px;
    background: linear-gradient(180deg, var(--ps-coral), var(--ps-red));
}
.diagnosis-card {
    position: absolute;
    right: 18px;
    top: 40px;
    width: 260px;
    padding: 18px;
}
.diagnosis-card span { color: var(--ps-red); font-weight: 800; font-size: 13px; }
.diagnosis-card strong { display: block; margin: 8px 0 6px; color: var(--ps-ink); font-size: 22px; line-height: 1.3; }
.hero-arrow {
    position: absolute;
    z-index: 4;
    bottom: 46px;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,36,66,.18);
    border-radius: 50%;
    background: #fff;
    color: var(--ps-red);
    pointer-events: auto;
}
.hero-prev { right: 96px; }
.hero-next { right: 48px; }
.hero-dots {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 56px;
    display: flex;
    gap: 8px;
    transform: translateX(-50%);
}
.hero-dot {
    width: 26px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255,36,66,.24);
}
.hero-dot.is-active { background: var(--ps-red); }

.advantage-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-capability-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.advantage {
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(33,24,22,.05);
}
.advantage:hover { transform: translateY(-2px); box-shadow: var(--ps-shadow); }
.advantage-icon {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    color: var(--ps-red);
    background: var(--ps-soft);
    font-size: 24px;
}
.advantage h3 { margin: 18px 0 8px; color: var(--ps-ink); font-size: 20px; line-height: 1.35; }
.advantage p { margin: 0; color: var(--ps-muted); font-size: 14px; }

.process-steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.process-steps article {
    position: relative;
    min-height: 210px;
    padding: 24px 20px;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    background: #fff;
}
.process-steps article::after {
    content: "";
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 0;
    height: 3px;
    background: var(--ps-red);
    border-radius: 3px 3px 0 0;
}
.process-steps span { color: rgba(255,36,66,.25); font-size: 38px; font-weight: 900; line-height: 1; }
.process-steps h3 { margin: 20px 0 8px; color: var(--ps-ink); font-size: 18px; }
.process-steps p { margin: 0; color: var(--ps-muted); font-size: 14px; }

.result-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 44px; align-items: center; }
.result-copy h2 { margin: 10px 0 14px; color: var(--ps-ink); font-size: 38px; line-height: 1.28; font-weight: 900; }
.result-copy p { margin: 0; color: var(--ps-muted); }
.result-metrics { margin-top: 28px; display: grid; gap: 12px; }
.result-metrics span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px 18px;
    border-radius: 12px;
    background: var(--ps-page);
    color: var(--ps-muted);
}
.result-metrics strong { color: var(--ps-red); font-size: 26px; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-card, .article-card, .help-article {
    display: block;
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(33,24,22,.05);
}
.case-card:hover, .article-card:hover, .help-article:hover, .service-card:hover { transform: translateY(-2px); box-shadow: var(--ps-shadow-hover); }
.case-cover {
    height: 140px;
    margin: -8px -8px 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #15171f, #ff2442);
    font-weight: 900;
    letter-spacing: .08em;
}
.case-cover img { width: 100%; height: 100%; object-fit: cover; }
.case-card strong, .article-card h3, .help-article h3 { display: block; margin: 0 0 8px; color: var(--ps-ink); font-size: 18px; line-height: 1.45; }
.case-card p, .article-card p, .help-article p { margin: 0; color: var(--ps-muted); font-size: 14px; }
.case-more { display: inline-flex; align-items: center; gap: 4px; margin-top: 16px; color: var(--ps-red); font-weight: 700; }
.article-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.article-kicker { display: inline-flex; margin-bottom: 12px; color: var(--ps-red); font-size: 12px; font-weight: 800; }

.search-content-page {
    padding: 46px 0 78px;
    background: var(--ps-page);
}
.content-search-panel {
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(420px, 1fr);
    gap: 28px;
    align-items: end;
    padding: 30px;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(33,24,22,.05);
}
.content-search-copy h2 {
    margin: 8px 0 8px;
    color: var(--ps-ink);
    font-size: 28px;
    line-height: 1.3;
    font-weight: 900;
}
.content-search-copy p { margin: 0; color: var(--ps-muted); }
.content-search-form {
    padding: 10px;
    border: 1px solid var(--ps-line);
    border-radius: 12px;
    background: var(--ps-page);
}
.content-search-form input { border-color: #fff; background: #fff; }
.content-search-form .btn { min-width: 108px; }
.content-search-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin: 30px 0 16px;
    color: var(--ps-muted);
}
.content-search-summary span {
    color: var(--ps-ink);
    font-size: 20px;
    font-weight: 900;
}
.content-search-summary small { font-size: 14px; }
.content-search-results {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.content-search-results .article-card {
    min-height: 190px;
    padding: 24px;
}
.content-search-results .article-card h3 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.content-search-results .article-card p {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.search-band {
    padding: 26px 0;
    background: var(--ps-ink);
}
.search-box {
    display: flex;
    align-items: center;
    gap: 14px;
}
.search-label { color: #fff; font-weight: 800; white-space: nowrap; }
.search-box input { flex: 1; min-width: 0; border-color: transparent; }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(33,24,22,.05);
}
.service-cover { position: relative; display: block; height: 190px; background: var(--ps-soft); overflow: hidden; }
.service-cover img { width: 100%; height: 100%; object-fit: cover; }
.service-cover-badge {
    position: absolute;
    left: 14px;
    top: 14px;
    min-height: 28px;
    padding: 0 10px;
    display: inline-flex;
    align-items: center;
    border-radius: 8px;
    color: #fff;
    background: var(--ps-red);
    font-size: 12px;
    font-weight: 800;
}
.service-body { flex: 1; display: flex; flex-direction: column; padding: 20px; }
.service-kicker { color: var(--ps-red); font-size: 12px; font-weight: 800; letter-spacing: .06em; }
.service-title {
    margin: 8px 0;
    color: var(--ps-ink);
    font-size: 19px;
    line-height: 1.42;
    font-weight: 800;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-body p {
    margin: 0;
    color: var(--ps-muted);
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.service-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.service-tags span { min-height: 26px; padding: 0 10px; font-size: 12px; }
.service-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: auto; padding-top: 18px; }
.price, .shop-search-price { color: var(--ps-red); font-size: 22px; line-height: 1.2; font-weight: 900; }
.service-hot { color: var(--ps-muted); font-size: 13px; }

.page-hero {
    padding: 88px 0;
    background:
        linear-gradient(135deg, rgba(255,36,66,.10), rgba(255,248,246,1)),
        var(--ps-page);
}
.page-hero-compact { padding: 72px 0 56px; }
.page-hero h1 { margin: 8px 0 10px; color: var(--ps-ink); font-size: 42px; line-height: 1.25; font-weight: 900; }
.page-hero p { margin: 0; max-width: 680px; color: var(--ps-muted); }
.shop-breadcrumb, .help-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 24px 0;
    color: var(--ps-muted);
    font-size: 14px;
}
.shop-breadcrumb strong, .help-breadcrumb strong { color: var(--ps-ink); }
.shop-list-page, .shop-search-page, .help-page, .profile-page, .shop-cart-page, .checkout-page, .payment-page, .order-page, .address-page, .settings-page, .order-detail-page {
    background: var(--ps-page);
    min-height: 58vh;
    padding-bottom: 72px;
}
.shop-list-head, .shop-search-head, .shop-cart-head, .order-list-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 24px;
}
.shop-list-head h1, .shop-search-head h1, .shop-cart-head h1, .order-list-head h1, .checkout-title, .settings-title {
    margin: 0 0 8px;
    color: var(--ps-ink);
    font-size: 34px;
    line-height: 1.3;
    font-weight: 900;
}
.shop-list-head p, .shop-search-head p, .shop-cart-head p, .order-list-head p { margin: 0; color: var(--ps-muted); }
.shop-category-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
.shop-category-tabs a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    padding: 0 14px;
    border: 1px solid var(--ps-line);
    border-radius: 8px;
    background: #fff;
    color: var(--ps-text);
    font-weight: 700;
}
.shop-category-tabs a.active, .shop-category-tabs a:hover { color: #fff; background: var(--ps-red); border-color: var(--ps-red); }
.shop-list-count, .shop-search-summary {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 18px;
    color: var(--ps-muted);
}
.shop-service-grid { margin-bottom: 24px; }

.shop-detail-card {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(360px, .72fr);
    gap: 28px;
    align-items: stretch;
}
.shop-detail-media, .shop-detail-info, .shop-detail-tabs, .panel, .checkout-card, .checkout-summary, .shop-cart-panel, .summary-bar, .profile-card, .profile-panel, .settings-panel, .order-tabs-panel {
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(33,24,22,.05);
}
.shop-detail-media { position: relative; min-height: 520px; overflow: hidden; }
.shop-detail-media img { width: 100%; height: 100%; object-fit: cover; }
.detail-note-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    padding: 18px;
    border-radius: 12px;
    color: #fff;
    background: rgba(21,23,31,.82);
}
.detail-note-caption span { display: block; color: #ffb1bd; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.detail-note-caption strong { display: block; margin-top: 5px; font-size: 20px; }
.shop-detail-info { padding: 30px; }
.shop-detail-info h1 { margin: 8px 0 14px; color: var(--ps-ink); font-size: 34px; line-height: 1.3; font-weight: 900; }
.shop-detail-info p { color: var(--ps-muted); }
.shop-detail-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; color: var(--ps-muted); font-size: 14px; }
.shop-price-row {
    margin: 24px 0;
    padding: 18px;
    border-radius: 12px;
    background: var(--ps-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.shop-price-row span { color: var(--ps-muted); font-weight: 700; }
.sku-list { display: flex; flex-wrap: wrap; gap: 10px; }
.sku-item {
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid var(--ps-line);
    border-radius: 8px;
    background: #fff;
}
.sku-item.active, .sku-item:hover { color: var(--ps-red); border-color: var(--ps-red); background: var(--ps-soft); }
.sku-item.disabled { opacity: .45; cursor: not-allowed; }
.qty-stepper { display: inline-flex; height: 40px; border: 1px solid var(--ps-line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty-stepper button { width: 40px; border: 0; background: #fff; color: var(--ps-ink); }
.qty-stepper input { width: 64px; height: 40px; padding: 0; border: 0; border-left: 1px solid var(--ps-line); border-right: 1px solid var(--ps-line); text-align: center; border-radius: 0; }
.shop-detail-actions { margin-top: 26px; }
.shop-detail-tabs { margin-top: 34px; overflow: hidden; margin-bottom: 84px;}
.shop-detail-tab-head {
    display: flex;
    gap: 4px;
    border-bottom: 1px solid var(--ps-line);
    padding: 0 28px;
    background: #fff;
}
.shop-detail-tab-head span {
    position: relative;
    padding: 20px 0 18px;
    font-weight: 900;
    color: var(--ps-muted);
}
.shop-detail-tab-head span.active { color: var(--ps-red); }
.shop-detail-tab-head span.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: var(--ps-red);
}
.shop-detail-content { padding: 38px 34px 42px; }
.content-body { color: #303643; line-height: 1.9; }
.content-body img { height: auto; border-radius: 10px; }
.content-body h1, .content-body h2, .content-body h3 { color: var(--ps-ink); line-height: 1.35; }

.help-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 20px; }
.help-nav-panel, .sidebar-diagnosis {
    background: #fff;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 10px 30px rgba(33,24,22,.05);
}
.help-nav-panel h2 { margin: 0 0 16px; color: var(--ps-ink); font-size: 20px; }
.help-nav { display: grid; gap: 8px; }
.help-nav a { padding: 10px 12px; border-radius: 8px; color: var(--ps-text); font-weight: 700; }
.help-nav a.active, .help-nav a:hover { color: var(--ps-red); background: var(--ps-soft); }
.sidebar-diagnosis { margin-top: 16px; background: var(--ps-ink); color: #fff; }
.sidebar-diagnosis span { color: #ffb1bd; font-weight: 800; }
.sidebar-diagnosis p { color: rgba(255,255,255,.76); font-size: 14px; }
.sidebar-diagnosis a { color: #fff; font-weight: 800; }
.help-content { padding: 26px; }
.help-article-list { display: grid; gap: 14px; }
.help-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 14px; color: var(--ps-muted); font-size: 13px; }
.help-detail-head h1 { margin: 8px 0 12px; color: var(--ps-ink); font-size: 34px; line-height: 1.35; font-weight: 900; }
.help-detail-body { padding-top: 20px; border-top: 1px solid var(--ps-line); }
.help-detail-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--ps-line); }

.shop-search-head { display: block; padding: 30px; border: 1px solid var(--ps-line); border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(33,24,22,.05); }
.shop-search-form {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    border: 1px solid var(--ps-line);
    border-radius: 12px;
    background: var(--ps-page);
}
.shop-search-form input { border-color: #fff; background: #fff; }
.shop-search-form .btn { min-width: 108px; }
.shop-search-form .search-label { color: var(--ps-ink); }
.shop-search-results { display: grid; gap: 16px; }
.shop-search-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 20px;
    padding: 16px;
    border: 1px solid var(--ps-line);
    border-radius: 14px;
    background: #fff;
}
.shop-search-cover { height: 136px; border-radius: 12px; overflow: hidden; background: var(--ps-soft); }
.shop-search-cover img { width: 100%; height: 100%; object-fit: cover; }
.shop-search-body { display: flex; flex-direction: column; min-width: 0; }
.shop-search-body strong { color: var(--ps-ink); font-size: 20px; line-height: 1.4; }
.shop-search-desc { margin-top: 6px; color: var(--ps-muted); }
.shop-search-meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 10px; color: var(--ps-muted); font-size: 13px; }
.shop-search-foot { margin-top: auto; }
.shop-search-empty { padding: 48px 24px; text-align: center; border-radius: 14px; background: #fff; border: 1px solid var(--ps-line); }
.shop-search-empty-icon { color: var(--ps-red); font-size: 42px; }
.shop-search-empty p { margin: 8px 0; color: var(--ps-ink); font-size: 22px; font-weight: 800; }
.shop-search-empty span { display: block; margin-bottom: 20px; color: var(--ps-muted); }

.auth-shell {
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 72px 24px;
    background:
        radial-gradient(circle at 18% 10%, rgba(255, 36, 66, .10), transparent 28%),
        var(--ps-page);
}
.auth-card { width: min(460px, 100%); padding: 34px; }
.auth-card h1 { margin: 0 0 8px; color: var(--ps-ink); font-size: 30px; font-weight: 900; }
.form-row { margin-top: 16px; }
.form-row label { display: block; margin-bottom: 7px; color: var(--ps-ink); font-weight: 800; }
.form-actions, .address-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 22px; }
.cart-sub, .auth-sub { color: var(--ps-muted); font-size: 14px; }
.check-row { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; color: var(--ps-muted); font-size: 14px; }
.check-row input { width: 16px; height: 16px; margin-top: 5px; }
.code-input-row, .address-region-grid { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.address-region-grid { grid-template-columns: repeat(3, 1fr); }

.shop-cart-panel { overflow-x: auto; }
.cart-table-head, .cart-row {
    min-width: 780px;
    display: grid;
    grid-template-columns: 70px minmax(240px, 1.4fr) .7fr .8fr .8fr 90px;
    gap: 16px;
    align-items: center;
    padding: 16px 20px;
}
.cart-table-head { color: var(--ps-muted); font-weight: 800; border-bottom: 1px solid var(--ps-line); }
.cart-row { border-bottom: 1px solid var(--ps-line); background: #fff; }
.cart-row:last-child { border-bottom: 0; }
.cart-product { display: flex; gap: 12px; align-items: center; }
.cart-product img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; background: var(--ps-soft); }
.cart-title { color: var(--ps-ink); font-weight: 800; }
.cart-price, .cart-subtotal { color: var(--ps-red); font-weight: 900; }
.summary-bar {
    margin-top: 18px;
    padding: 18px 22px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 18px;
}
.summary-label { color: var(--ps-muted); font-weight: 800; }
.summary-bar strong { color: var(--ps-red); font-size: 26px; }

.checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.checkout-main { display: grid; gap: 18px; }
.checkout-card, .checkout-summary { padding: 24px; }
.checkout-card-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.checkout-card-head h2, .checkout-summary h2, .settings-panel h2 { margin: 0; color: var(--ps-ink); font-size: 21px; font-weight: 900; }
.checkout-card-head-bordered { padding-bottom: 14px; border-bottom: 1px solid var(--ps-line); }
.checkout-manage-link { color: var(--ps-red); font-weight: 800; }
.checkout-address-list, .checkout-items { display: grid; gap: 12px; }
.checkout-address, .checkout-item, .address-card, .order-card, .payment-method-card {
    border: 1px solid var(--ps-line);
    border-radius: 12px;
    background: #fff;
}
.checkout-address { padding: 16px; }
.checkout-address.active { border-color: var(--ps-red); background: var(--ps-soft); }
.checkout-address-card {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: flex-start;
    padding: 16px;
    border: 1px solid var(--ps-line);
    border-radius: 12px;
    background: #fff;
}
.checkout-address-card.active { border-color: var(--ps-red); background: var(--ps-soft); }
.checkout-address-card input { width: 16px; height: 16px; margin-top: 6px; }
.checkout-address-person { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; color: var(--ps-ink); }
.checkout-address-person strong { font-weight: 900; }
.checkout-address-person em {
    padding: 2px 8px;
    border-radius: 999px;
    color: var(--ps-red);
    background: #fff;
    font-style: normal;
    font-size: 12px;
    font-weight: 800;
}
.checkout-address-body p { margin: 6px 0 0; color: var(--ps-muted); font-size: 14px; }
.checkout-product-row {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--ps-line);
}
.checkout-product-row:last-child { border-bottom: 0; }
.checkout-product-row img { width: 72px; height: 58px; object-fit: cover; border-radius: 8px; background: var(--ps-soft); }
.checkout-product-info h3 { margin: 0 0 4px; color: var(--ps-ink); font-size: 16px; font-weight: 900; line-height: 1.4; }
.checkout-product-info p, .checkout-product-price small { margin: 0; color: var(--ps-muted); font-size: 13px; }
.checkout-product-price { display: grid; justify-items: end; color: var(--ps-red); font-weight: 900; }
.checkout-product-row > strong { color: var(--ps-red); font-size: 18px; }
.checkout-empty, .cart-empty, .order-empty, .address-empty, .empty-state {
    padding: 34px 22px;
    border: 1px dashed rgba(255,36,66,.26);
    border-radius: 12px;
    background: var(--ps-page);
    text-align: center;
    color: var(--ps-muted);
}
.checkout-selected-address {
    margin-top: 16px;
    padding: 14px;
    border-radius: 10px;
    background: var(--ps-page);
    color: var(--ps-muted);
    font-size: 14px;
}
.checkout-selected-label { color: var(--ps-red); font-weight: 900; font-size: 12px; }
.checkout-selected-address strong { display: block; margin-top: 4px; color: var(--ps-ink); }
.checkout-summary-lines { display: grid; gap: 10px; }
.checkout-summary-line { display: flex; justify-content: space-between; color: var(--ps-muted); }
.checkout-summary-line strong { color: var(--ps-ink); }
.checkout-summary-line.total { padding-top: 12px; border-top: 1px solid var(--ps-line); font-size: 18px; }
.checkout-summary-line.total strong { color: var(--ps-red); font-size: 24px; }
.checkout-summary .btn { width: 100%; margin-top: 20px; }
.checkout-agreement, .payment-agreement { color: var(--ps-muted); font-size: 13px; text-align: center; }
.checkout-remark { margin-top: 20px; }
.payment-method-list { display: grid; gap: 12px; }
.payment-method-card { display: flex; align-items: center; gap: 14px; padding: 16px; }
.payment-method-card.active { border-color: var(--ps-red); background: var(--ps-soft); }
.payment-method-card input { width: 16px; height: 16px; }
.payment-method-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--ps-red); background: #fff; font-size: 22px; }
.payment-method-copy strong { display: block; color: var(--ps-ink); }
.payment-method-copy small { color: var(--ps-muted); }
.payment-info-list { display: grid; gap: 12px; }
.payment-info-row {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px;
    border: 1px solid var(--ps-line);
    border-radius: 12px;
    background: var(--ps-page);
}
.payment-info-row i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: var(--ps-red);
    background: #fff;
    font-size: 22px;
}
.payment-info-row span { display: block; color: var(--ps-muted); font-size: 13px; }
.payment-info-row strong { display: block; color: var(--ps-ink); line-height: 1.45; word-break: break-word; }

.profile-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; align-items: start; }
.profile-card, .profile-panel { padding: 24px; }
.profile-avatar {
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--ps-red);
    font-size: 34px;
    font-weight: 900;
}
.profile-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.profile-card h1 { margin: 18px 0 4px; color: var(--ps-ink); font-size: 24px; }
.profile-card .btn { width: 100%; margin-top: 12px; }
.profile-main { display: grid; gap: 18px; }
.profile-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.profile-panel-head h2 { margin: 0; color: var(--ps-ink); font-size: 22px; font-weight: 900; }
.profile-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.profile-quick-card { padding: 18px; border: 1px solid var(--ps-line); border-radius: 12px; background: var(--ps-page); }
.profile-quick-icon { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--ps-red); background: #fff; font-size: 22px; }
.profile-quick-card strong { display: block; margin-top: 12px; color: var(--ps-ink); }
.profile-quick-card small, .profile-empty-orders { color: var(--ps-muted); }

.address-page-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-bottom: 22px; }
.address-page-head h1 { margin: 0; color: var(--ps-ink); font-size: 34px; font-weight: 900; }
.address-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.address-card { padding: 20px; }
.address-default-tag {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 0 10px;
    margin-bottom: 12px;
    border-radius: 999px;
    color: var(--ps-red);
    background: var(--ps-soft);
    font-size: 12px;
    font-weight: 900;
}
.address-person { display: flex; justify-content: space-between; gap: 12px; color: var(--ps-ink); font-weight: 800; }
.address-card-body p { color: var(--ps-muted); margin: 8px 0 0; }
.address-card-actions, .address-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.address-modal { position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center; padding: 24px; }
.address-modal-backdrop { position: absolute; inset: 0; background: rgba(21,23,31,.45); }
.address-modal-dialog { position: relative; width: min(620px, 100%); max-height: 92vh; overflow: auto; background: #fff; border-radius: 14px; padding: 28px; box-shadow: 0 30px 80px rgba(0,0,0,.22); }
.address-modal-dialog h2 { margin: 0 0 14px; color: var(--ps-ink); }
.form-required { color: var(--ps-red); }

.order-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 14px; }
.order-tabs a { white-space: nowrap; padding: 9px 14px; border-radius: 8px; color: var(--ps-text); font-weight: 800; }
.order-tabs a.active, .order-tabs a:hover { color: var(--ps-red); background: var(--ps-soft); }
.order-list-stack { display: grid; gap: 16px; margin-top: 18px; }
.order-card { padding: 20px; }
.order-head, .order-foot { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.order-meta-line { display: flex; flex-wrap: wrap; gap: 12px; color: var(--ps-muted); font-size: 14px; }
.tag {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f2f2f2;
    color: var(--ps-muted);
    font-size: 12px;
    font-weight: 800;
}
.tag-primary { color: var(--ps-red); background: var(--ps-soft); }
.tag-warning { color: var(--ps-amber); background: #fff2dd; }
.tag-success { color: var(--ps-green); background: #e9f7f2; }
.order-items { display: grid; gap: 10px; margin: 18px 0; }
.order-item { display: flex; gap: 12px; align-items: center; }
.order-item img { width: 72px; height: 56px; object-fit: cover; border-radius: 8px; }
.order-total strong { color: var(--ps-red); font-size: 20px; }
.order-detail-shell, .payment-result-card { background: #fff; border: 1px solid var(--ps-line); border-radius: 14px; padding: 28px; box-shadow: 0 10px 30px rgba(33,24,22,.05); }
.order-detail-loading, .payment-loading { color: var(--ps-muted); text-align: center; padding: 34px; }
.order-detail-hero { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--ps-line); }
.order-detail-title { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.order-detail-title h1 { margin: 0; color: var(--ps-ink); font-size: 32px; font-weight: 900; }
.order-detail-no { margin-top: 8px; color: var(--ps-muted); }
.order-detail-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.order-detail-main, .order-detail-side { display: grid; gap: 16px; }
.order-detail-card { padding: 20px; border: 1px solid var(--ps-line); border-radius: 12px; background: #fff; }
.order-detail-card h2, .order-detail-card-head h2 {
    margin: 0 0 16px;
    color: var(--ps-ink);
    font-size: 20px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 10px;
}
.order-detail-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--ps-red);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.order-timeline { display: grid; gap: 0; }
.order-timeline-item { position: relative; display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.order-timeline-item::before { content: ""; position: absolute; left: 11px; top: 20px; bottom: 0; width: 2px; background: var(--ps-line); }
.order-timeline-item.is-last::before { display: none; }
.order-timeline-marker span { width: 22px; height: 22px; display: block; border-radius: 50%; border: 5px solid #fff; background: #c8c8c8; box-shadow: 0 0 0 1px var(--ps-line); }
.order-timeline-item.is-done .order-timeline-marker span { background: var(--ps-red); box-shadow: 0 0 0 1px rgba(255,36,66,.28); }
.order-timeline-copy strong { color: var(--ps-ink); }
.order-timeline-copy p { margin: 3px 0 0; color: var(--ps-muted); font-size: 13px; }
.order-detail-product {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr) auto auto;
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid var(--ps-line);
}
.order-detail-product:last-child { border-bottom: 0; }
.order-detail-product img { width: 76px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--ps-soft); }
.order-detail-product-info h3 { margin: 0 0 4px; color: var(--ps-ink); font-size: 16px; font-weight: 900; }
.order-detail-product-info p, .order-detail-product-price small { margin: 0; color: var(--ps-muted); font-size: 13px; }
.order-detail-product-price { display: grid; justify-items: end; color: var(--ps-red); font-weight: 900; }
.order-detail-product > strong { color: var(--ps-red); }
.order-address strong { color: var(--ps-ink); }
.order-address p, .order-delivery-box p { margin: 6px 0 0; color: var(--ps-muted); }
.order-info-list, .order-cost-list { display: grid; gap: 10px; }
.order-info-row { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 10px; align-items: center; }
.order-info-row span { color: var(--ps-muted); font-size: 13px; }
.order-info-row strong { display: block; color: var(--ps-ink); word-break: break-word; }
.order-cost-list > div { display: flex; justify-content: space-between; gap: 12px; color: var(--ps-muted); }
.order-cost-list strong { color: var(--ps-ink); }
.order-cost-total { padding-top: 12px; border-top: 1px solid var(--ps-line); }
.order-cost-total strong { color: var(--ps-red); font-size: 22px; }
.order-detail-actions { display: grid; gap: 10px; }
.order-detail-actions .btn { width: 100%; }
.payment-result-card { max-width: 620px; margin: 0 auto; text-align: center; }
.payment-result-icon {
    width: 74px;
    height: 74px;
    margin: 0 auto 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    background: var(--ps-soft);
    color: var(--ps-red);
}
.payment-result-icon.success { color: var(--ps-green); background: #e9f7f2; }
.payment-result-icon.error { color: var(--ps-red); }
.payment-result-icon.pending { color: var(--ps-amber); background: #fff2dd; }
.payment-result-card h1 { margin: 0 0 10px; color: var(--ps-ink); font-size: 30px; font-weight: 900; }
.payment-result-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.settings-stack { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.settings-panel { padding: 24px; }

.site-footer { background: #15171f; color: rgba(255,255,255,.74); }
.footer-cta {
    transform: translateY(-36px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    padding: 30px;
    border-radius: 16px;
    background: var(--ps-red);
    color: #fff;
    box-shadow: 0 24px 70px rgba(255,36,66,.28);
}
.footer-cta .section-kicker { color: #fff; }
.footer-cta .section-kicker::before { background: #fff; }
.footer-cta h3 { margin: 6px 0 8px; color: #fff; font-size: 28px; line-height: 1.35; }
.footer-cta p { margin: 0; color: rgba(255,255,255,.82); }
.footer-grid { display: grid; grid-template-columns: 1.45fr .75fr .75fr 1fr; gap: 34px; padding: 28px 0 48px; }
.footer-kicker { color: #ffb1bd; font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.footer-grid h3 { margin: 8px 0 10px; color: #fff; font-size: 26px; }
.footer-grid h4 { margin: 0 0 14px; color: #fff; font-size: 17px; }
.footer-grid a, .footer-grid p { display: block; margin: 8px 0; color: rgba(255,255,255,.72); }
.footer-grid a:hover { color: #fff; }
.footer-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-trust span { padding: 6px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; color: rgba(255,255,255,.88); font-size: 12px; }
.footer-bottom { padding: 18px 24px; text-align: center; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.58); font-size: 13px; }
.footer-bottom a { color: rgba(255,255,255,.72); display: inline; }

.pagination {
    width: 100%;
    margin-top: 30px;
    padding: 4px 0 10px;
    overflow-x: auto;
    overflow-y: hidden;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}
.pagination::-webkit-scrollbar { height: 6px; }
.pagination::-webkit-scrollbar-thumb { background: rgba(255,36,66,.22); border-radius: 999px; }
.pagination ul {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: max-content;
    margin: 0;
    padding: 0;
    list-style: none;
    vertical-align: top;
}
.pagination li {
    display: inline-flex;
    flex: 0 0 auto;
    margin: 0;
    padding: 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    margin: 0 4px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid var(--ps-line);
    background: #fff;
    color: var(--ps-text);
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(33,24,22,.04);
}
.pagination li a, .pagination li span { margin: 0; }
.pagination a:hover {
    color: var(--ps-red);
    border-color: rgba(255,36,66,.34);
    background: var(--ps-soft);
}
.pagination .current,
.pagination .active,
.pagination span.active,
.pagination li.active a,
.pagination li.active span {
    color: #fff;
    background: var(--ps-red);
    border-color: var(--ps-red);
    box-shadow: 0 10px 24px rgba(255,36,66,.18);
}
.pagination .disabled,
.pagination li.disabled a,
.pagination li.disabled span {
    color: #b8b0ad;
    background: #f7f2f0;
    border-color: var(--ps-line);
    box-shadow: none;
    cursor: not-allowed;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

@media (max-width: 1100px) {
    .hero-layout { grid-template-columns: 1fr; gap: 32px; padding-top: 48px; }
    .hero-paisheng, .hero-layout { min-height: auto; }
    .hero-dashboard { min-height: 460px; }
    .advantage-grid, .service-capability-grid, .service-grid, .article-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .content-search-panel { grid-template-columns: 1fr; align-items: start; }
    .content-search-results { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .result-layout, .shop-detail-card, .checkout-layout, .profile-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .topbar { display: none; }
    .nav-wrap { min-height: 64px; }
    .brand { min-width: 0; font-size: 18px; }
    .main-nav {
        position: absolute;
        left: 24px;
        right: 24px;
        top: 66px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        border: 1px solid var(--ps-line);
        border-radius: 12px;
        background: #fff;
        box-shadow: var(--ps-shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 10px; border-radius: 8px; }
    .main-nav a:hover { background: var(--ps-soft); }
    .mobile-menu { display: inline-flex; }
    .nav-consult { display: none; }
    .hero-copy h1 { font-size: 42px; }
    .shop-list-head { display: block; }
    .shop-category-tabs { justify-content: flex-start; margin-top: 18px; }
    .case-grid, .address-grid, .settings-stack { grid-template-columns: 1fr; }
    .footer-cta { transform: none; margin-top: 0; border-radius: 0; width: 100%; }
    .site-footer { padding-top: 0; }
}

@media (max-width: 640px) {
    .q-container { width: min(100% - 32px, 1200px); }
    .section { padding: 52px 0; }
    .section-head { display: block; }
    .section-title-block h2, .home-title, .section-head h2, .result-copy h2 { font-size: 28px; }
    .hero-layout { padding: 42px 0 58px; }
    .hero-copy h1 { font-size: 34px; line-height: 1.18; }
    .hero-copy p { font-size: 16px; }
    .hero-actions, .form-actions, .footer-cta { flex-direction: column; align-items: stretch; }
    .hero-dashboard { min-height: 0; display: grid; gap: 14px; }
    .note-card-main, .data-panel, .diagnosis-card { position: static; width: 100%; margin: 0; }
    .note-cover { height: 170px; }
    .hero-arrow, .hero-dots { display: none; }
    .advantage-grid, .service-capability-grid, .service-grid, .article-list, .process-steps, .profile-quick-grid { grid-template-columns: 1fr; }
    .content-search-panel { padding: 22px; }
    .content-search-copy h2 { font-size: 24px; }
    .content-search-results { grid-template-columns: 1fr; }
    .content-search-summary { display: block; }
    .content-search-summary small { display: block; margin-top: 4px; }
    .pagination { text-align: left; margin-left: -2px; margin-right: -2px; }
    .pagination ul { justify-content: flex-start; }
    .pagination a, .pagination span { min-width: 34px; height: 34px; padding: 0 10px; font-size: 13px; }
    .search-box { flex-direction: column; align-items: stretch; }
    .search-label { color: #fff; }
    .shop-search-card { grid-template-columns: 1fr; }
    .shop-search-cover { height: 190px; }
    .shop-detail-media { min-height: 300px; }
    .shop-detail-info, .shop-detail-content, .help-content, .checkout-card, .checkout-summary, .auth-card { padding: 22px; }
    .shop-detail-info h1, .help-detail-head h1, .shop-list-head h1, .shop-search-head h1, .shop-cart-head h1, .order-list-head h1, .checkout-title, .settings-title { font-size: 28px; }
    .help-layout { grid-template-columns: 1fr; }
    .checkout-layout { gap: 18px; }
    .checkout-product-row, .order-detail-product { grid-template-columns: 64px minmax(0, 1fr); }
    .checkout-product-price, .checkout-product-row > strong, .order-detail-product-price, .order-detail-product > strong { grid-column: 2; justify-items: start; }
    .order-detail-layout { grid-template-columns: 1fr; }
    .summary-bar { justify-content: space-between; flex-wrap: wrap; }
    .summary-bar .btn { width: 100%; }
    .cart-table-head { display: none; }
    .cart-row { min-width: 0; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px; }
    .cart-row > div:nth-child(n+3) { grid-column: 2; }
    .address-region-grid, .code-input-row { grid-template-columns: 1fr; }
    .order-head, .order-foot, .checkout-card-head, .address-page-head { display: block; }
    .footer-grid { grid-template-columns: 1fr; padding-top: 42px; }
    .footer-cta h3 { font-size: 24px; }
    .icon-link.auth-guest, .icon-link.auth-user { display: none; }
}
