/* ==========================================================================
   电动车维修上门接单平台 - 站点样式（PC + 移动端响应式）
   ========================================================================== */

:root {
    --green: #0aa06e;
    --green-dark: #0a7d57;
    --green-light: #e9f7f1;
    --green-soft: #f3fbf7;
    --orange: #ff7a45;
    --text: #1f2d3d;
    --text-2: #5b6b7c;
    --text-3: #8b97a3;
    --border: #e6ebf0;
    --bg: #f4f6f8;
    --white: #ffffff;
    --radius: 10px;
    --radius-lg: 14px;
    --shadow: 0 2px 10px rgba(16, 42, 67, .06);
    --shadow-hover: 0 6px 20px rgba(16, 42, 67, .12);
    --header-height: 68px;
}

* {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0 0 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

a {
    color: var(--green-dark);
    text-decoration: none;
}

a:hover {
    color: var(--green);
}

img {
    max-width: 100%;
    vertical-align: middle;
}

h1, h2, h3, h4 {
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

p {
    margin: 0 0 12px;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.container.narrow {
    max-width: 900px;
}

/* --------------------------------------------------------------------------
   顶部导航
   -------------------------------------------------------------------------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 4px rgba(16, 42, 67, .04);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: var(--header-height);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    color: var(--text);
}

.site-logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--green), #12b880);
    color: #fff;
    font-size: 22px;
    line-height: 1;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.site-logo-text strong {
    font-size: 18px;
    color: var(--text);
}

.site-logo-text em {
    font-size: 12px;
    font-style: normal;
    color: var(--text-3);
}

.site-search {
    display: flex;
    flex: 1 1 auto;
    max-width: 520px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 999px;
    overflow: hidden;
    background: var(--bg);
}

.site-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    padding: 0 18px;
    font-size: 14px;
    color: var(--text);
}

.site-search button {
    flex: 0 0 auto;
    border: 0;
    padding: 0 24px;
    background: var(--green);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.site-search button:hover {
    background: var(--green-dark);
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-shrink: 0;
    font-size: 15px;
}

.site-nav a {
    color: var(--text-2);
}

.site-nav a:hover {
    color: var(--green);
}

/* --------------------------------------------------------------------------
   主体
   -------------------------------------------------------------------------- */
.site-main {
    padding: 18px 0 40px;
}

/* 首页头图区：左列轮播图 + 右侧绿色介绍面板 */
.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 20px;
    align-items: stretch;
    margin-bottom: 22px;
}

/* 数据库无轮播图时退化为单列（仅绿色面板） */
.hero-single {
    grid-template-columns: minmax(0, 1fr);
}

.hero-panel {
    background: linear-gradient(135deg, #0aa06e 0%, #12b880 60%, #35c98f 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 34px 28px;
}

/* 左侧轮播 */
.hero-banner {
    position: relative;
    min-height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #10382c;
}

.hero-slider {
    position: absolute;
    inset: 0;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    transition: opacity .5s ease;
}

.hero-slide.is-active {
    opacity: 1;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .38);
    color: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    opacity: .72;
    transition: opacity .2s;
}

.hero-slider-arrow:hover {
    opacity: 1;
}

.hero-slider-arrow.is-prev {
    left: 10px;
}

.hero-slider-arrow.is-next {
    right: 10px;
}

.hero-slider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: rgba(255, 255, 255, .5);
    cursor: pointer;
    transition: width .25s, background .25s;
}

.hero-slider-dot.is-active {
    width: 20px;
    background: #fff;
}

.hero-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 12px;
}

/* 标题分隔圆点：用 CSS 绘制，不依赖任何字体/字符编码，永不出错 */
.title-sep {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin: 0 11px;
    vertical-align: middle;
    border-radius: 50%;
    background: currentColor;
    opacity: .72;
}

.title-sep::before {
    content: "\200B"; /* 保证空 span 在行内占位 */
}

.hero-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, .92);
    margin: 0 0 20px;
    max-width: 760px;
}

.hero-desc strong {
    color: #fff;
    font-size: 17px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.section {
    margin-bottom: 26px;
}

.section-title {
    font-size: 19px;
    margin-bottom: 14px;
    padding-left: 12px;
    border-left: 4px solid var(--green);
    line-height: 1.3;
}

.page-head {
    margin-bottom: 16px;
}

.page-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.page-intro {
    color: var(--text-2);
    font-size: 14px;
    margin: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}

/* --------------------------------------------------------------------------
   按钮
   -------------------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 40px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
    transition: all .15s ease;
    background: var(--white);
    color: var(--text);
}

.btn .icon {
    font-size: 15px;
}

.btn-primary {
    background: var(--green);
    color: #fff;
}

.btn-primary:hover {
    background: var(--green-dark);
    color: #fff;
}

.hero .btn-primary {
    background: #fff;
    color: var(--green-dark);
}

.btn-ghost {
    background: var(--white);
    border-color: var(--border);
    color: var(--text-2);
}

.btn-ghost:hover {
    border-color: var(--green);
    color: var(--green);
}

.hero .btn-ghost {
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
}

.btn-call {
    background: var(--green);
    color: #fff;
    font-weight: 600;
    letter-spacing: .3px;
}

.btn-call:hover {
    background: var(--green-dark);
    color: #fff;
}

.btn-copy {
    background: var(--green-light);
    color: var(--green-dark);
}

.btn-copy:hover {
    background: #d8f0e5;
}

.btn-lg {
    height: 48px;
    font-size: 17px;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   分类 / 省份网格
   -------------------------------------------------------------------------- */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
    gap: 10px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: all .15s ease;
}

.category-item:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-hover);
    color: var(--green-dark);
    transform: translateY(-2px);
}

.category-icon {
    width: 46px;
    height: 46px;
    border-radius: 11px;
    object-fit: contain;
    box-shadow: 0 3px 8px rgba(15, 40, 30, .10);
    transition: transform .15s ease;
}

.category-item:hover .category-icon {
    transform: translateY(-2px) scale(1.06);
}

.category-name {
    font-size: 14px;
    font-weight: 500;
}

.province-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
}

.province-card {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 12px 14px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    transition: all .15s ease;
}

.province-card:hover {
    border-color: var(--green);
    box-shadow: var(--shadow-hover);
    color: var(--green-dark);
}

.province-name {
    font-size: 15px;
    font-weight: 600;
}

.province-count {
    font-size: 12px;
    color: var(--text-3);
}

.hot-cities {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 14px;
}

.hot-cities-label {
    color: var(--text-3);
}

.hot-city-link {
    padding: 4px 10px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 13px;
}

.hot-city-link:hover {
    border-color: var(--green);
    color: var(--green);
}

/* --------------------------------------------------------------------------
   筛选面板
   -------------------------------------------------------------------------- */
.filter-panel {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 4px 16px;
    margin-bottom: 16px;
}

.filter-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border);
}

.filter-row:last-child {
    border-bottom: 0;
}

.filter-label {
    flex: 0 0 auto;
    width: 62px;
    padding-top: 4px;
    color: var(--text-3);
    font-size: 13px;
}

.filter-items {
    flex: 1 1 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 6px;
    min-width: 0;
    overflow: hidden;
}

.filter-items.is-collapsed {
    max-height: 34px;
}

.filter-items.is-collapsed.is-open {
    max-height: none;
}

.filter-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    color: var(--text-2);
    font-size: 14px;
    white-space: nowrap;
}

.filter-item:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

.filter-item.is-active {
    background: var(--green);
    color: #fff;
}

.filter-count {
    font-size: 11px;
    font-style: normal;
    color: var(--text-3);
}

.filter-item.is-active .filter-count {
    color: rgba(255, 255, 255, .8);
}

.filter-toggle {
    flex: 0 0 auto;
    border: 0;
    background: transparent;
    color: var(--green-dark);
    font-size: 13px;
    cursor: pointer;
    padding: 4px 0;
}

/* --------------------------------------------------------------------------
   列表工具条
   -------------------------------------------------------------------------- */
.list-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    font-size: 14px;
    color: var(--text-2);
}

.list-count strong {
    color: var(--green-dark);
    font-size: 16px;
}

.list-sort {
    display: flex;
    gap: 4px;
}

.sort-item {
    padding: 4px 12px;
    border-radius: 6px;
    color: var(--text-2);
}

.sort-item:hover {
    background: var(--green-soft);
    color: var(--green-dark);
}

.sort-item.is-active {
    background: var(--green-light);
    color: var(--green-dark);
    font-weight: 600;
}

.btn-nearby {
    margin-left: auto;
    height: 34px;
    background: var(--white);
    border-color: var(--border);
    color: var(--text-2);
}

.btn-nearby:hover {
    border-color: var(--green);
    color: var(--green);
}

.nearby-status {
    margin: 0 0 12px;
    color: var(--text-3);
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   商家卡片
   -------------------------------------------------------------------------- */
.merchant-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.merchant-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all .15s ease;
}

.merchant-card:hover {
    border-color: #cfe8dd;
    box-shadow: var(--shadow);
}

.merchant-main {
    display: flex;
    gap: 14px;
    min-width: 0;
    color: inherit;
}

.merchant-logo img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
}

.merchant-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.merchant-title {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.merchant-name {
    font-size: 17px;
    font-weight: 600;
    color: var(--text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.merchant-main:hover .merchant-name {
    color: var(--green-dark);
}

.badge-top {
    flex: 0 0 auto;
    padding: 1px 6px;
    background: #fff2e8;
    color: var(--orange);
    border: 1px solid #ffd8bf;
    border-radius: 4px;
    font-size: 12px;
    font-style: normal;
}

.merchant-tags,
.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tag {
    padding: 1px 8px;
    background: var(--bg);
    border-radius: 4px;
    color: var(--text-2);
    font-size: 12px;
    font-style: normal;
}

.tag-cat {
    background: var(--green-light);
    color: var(--green-dark);
}

/* 道路救援标签：独立配色，从其他技能标签中突显出来 */
.tag-rescue {
    background: #fff1e6;
    color: #c2410c;
    border: 1px solid #fdba74;
    font-weight: 500;
}

.merchant-address {
    color: var(--text-2);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.merchant-desc {
    color: var(--text-3);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.merchant-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.merchant-calls {
    color: var(--text-3);
    font-size: 12px;
}

/* --------------------------------------------------------------------------
   分页
   -------------------------------------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
    margin: 26px 0 10px;
}

.page-link {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-2);
    font-size: 14px;
}

.page-link:hover {
    border-color: var(--green);
    color: var(--green-dark);
}

.page-link.is-current {
    background: var(--green);
    border-color: var(--green);
    color: #fff;
    font-weight: 600;
}

.page-gap {
    color: var(--text-3);
}

.page-total {
    margin-left: 8px;
    color: var(--text-3);
    font-size: 13px;
}

/* --------------------------------------------------------------------------
   面包屑
   -------------------------------------------------------------------------- */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 13px;
    color: var(--text-3);
    margin-bottom: 14px;
}

.breadcrumb a {
    color: var(--text-2);
}

.breadcrumb a:hover {
    color: var(--green);
}

.breadcrumb-sep {
    color: var(--text-3);
}

.breadcrumb-current {
    color: var(--text-3);
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* --------------------------------------------------------------------------
   商家详情
   -------------------------------------------------------------------------- */
.merchant-detail {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    margin-bottom: 22px;
}

.detail-head {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) auto;
    gap: 20px;
    align-items: flex-start;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.detail-logo {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: var(--radius);
    background: var(--bg);
    border: 1px solid var(--border);
}

.detail-title {
    font-size: 23px;
    margin-bottom: 10px;
}

.detail-address {
    color: var(--text-2);
    font-size: 14px;
    margin: 10px 0 6px;
}

.detail-map-link {
    margin-left: 10px;
    font-size: 13px;
}

.detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--text-3);
    font-size: 13px;
    margin: 0;
}

.detail-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 190px;
}

.detail-block {
    padding-top: 18px;
}

.detail-block-title {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--text);
}

.detail-text {
    color: var(--text-2);
    font-size: 14px;
    margin: 0;
    white-space: pre-line;
}

.detail-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 10px;
}

.detail-gallery img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.detail-facts {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    display: grid;
    gap: 8px;
}

.detail-facts li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-2);
    padding: 10px 14px;
    background: var(--bg);
    border-radius: 8px;
}

.fact-label {
    flex: 0 0 76px;
    color: var(--text-3);
}

.fact-tel {
    font-weight: 600;
    font-size: 16px;
}

.detail-tip {
    color: var(--text-3);
    font-size: 13px;
    margin: 0;
}

/* --------------------------------------------------------------------------
   静态内容 / 内链 / 空状态
   -------------------------------------------------------------------------- */
.seo-article {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.seo-article p {
    color: var(--text-2);
    font-size: 14px;
    margin: 0 0 10px;
}

.seo-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 12px 0 0;
}

.seo-links a {
    color: var(--green-dark);
    font-size: 14px;
}

.static-page {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.static-page .page-title {
    margin-bottom: 16px;
}

.related-links .link-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.link-cloud-item {
    padding: 5px 12px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-2);
    font-size: 13px;
}

.link-cloud-item:hover {
    border-color: var(--green);
    color: var(--green-dark);
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    color: var(--text-2);
}

.empty-state img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    opacity: .9;
}

.empty-state .btn {
    margin-top: 8px;
}

.error-state .error-code {
    font-size: 46px;
    font-weight: 700;
    color: var(--green);
    margin: 0 0 6px;
}

.error-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 12px;
    flex-wrap: wrap;
}

.about-qr {
    text-align: center;
    padding: 16px;
    background: var(--green-soft);
    border-radius: var(--radius);
    margin-bottom: 14px;
}

.about-qr img {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    background: #fff;
    padding: 6px;
}

.about-qr-tip {
    margin: 10px 0 0;
    color: var(--text-2);
    font-size: 14px;
}

/* --------------------------------------------------------------------------
   页脚
   -------------------------------------------------------------------------- */
.site-footer {
    background: #16232e;
    color: #9fb0bf;
    padding: 30px 0 20px;
    font-size: 13px;
    margin-top: 20px;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.footer-title {
    font-size: 15px;
    color: #fff;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
}

.footer-links a,
.footer-link-text {
    color: #9fb0bf;
    font-size: 13px;
}

.footer-links a:hover {
    color: #35c98f;
}

.footer-declare {
    padding: 16px 0 10px;
    line-height: 1.8;
}

.footer-declare strong {
    color: #c9d6e0;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #7c8b99;
    font-size: 12px;
    padding-top: 8px;
}

.footer-bottom a {
    color: #7c8b99;
}

.footer-bottom .beian-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color .15s ease;
}

.footer-bottom .beian-link:hover {
    color: #c9d6e0;
}

.footer-bottom .beian-icon {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    vertical-align: -2px;
}

.footer-slogan {
    color: #5a6975;
}

/* --------------------------------------------------------------------------
   二维码入口与弹窗
   -------------------------------------------------------------------------- */
.qr-float {
    position: fixed;
    right: 22px;
    bottom: 26px;
    z-index: 90;
}

.qr-float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 74px;
    padding: 10px 0;
    border: 0;
    border-radius: 12px;
    background: var(--green);
    color: #fff;
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(10, 160, 110, .34);
}

.qr-float-btn span:first-child {
    font-size: 20px;
    line-height: 1;
}

.qr-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.qr-modal[hidden] {
    display: none;
}

.qr-modal-mask {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 45, .55);
}

.qr-modal-panel {
    position: relative;
    width: 100%;
    max-width: 340px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 22px 20px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
}

.qr-modal-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: var(--text-3);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.qr-modal-title {
    font-size: 18px;
    margin-bottom: 14px;
}

.qr-modal-image {
    width: 200px;
    height: 200px;
    border-radius: 8px;
    background: #fff;
}

.qr-modal-tip {
    margin: 12px 0 8px;
    color: var(--text-2);
    font-size: 13px;
}

.qr-modal-list {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
    color: var(--text-3);
    font-size: 12px;
    display: grid;
    gap: 4px;
}

@media (max-width: 420px) {
    .qr-modal-image {
        width: 170px;
        height: 170px;
    }
}

/* --------------------------------------------------------------------------
   移动端底部操作条
   -------------------------------------------------------------------------- */
.mobile-action-bar {
    display: none;
}

@media (max-width: 767px) {
    .mobile-action-bar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 95;
        display: flex;
        gap: 10px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
        background: rgba(255, 255, 255, .97);
        border-top: 1px solid var(--border);
        box-shadow: 0 -2px 10px rgba(16, 42, 67, .07);
    }

    .mobile-action-btn {
        flex: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        height: 44px;
        border: 1px solid var(--border);
        border-radius: 8px;
        background: #fff;
        color: var(--text);
        font-size: 15px;
        cursor: pointer;
    }

    .mobile-action-primary {
        background: var(--green);
        border-color: var(--green);
        color: #fff;
    }

    .mobile-action-icon {
        font-size: 16px;
    }

    .qr-float {
        display: none;
    }

    body {
        padding-bottom: 70px;
    }
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .merchant-card {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .merchant-actions {
        justify-content: flex-start;
        border-top: 1px dashed var(--border);
        padding-top: 12px;
    }

    .detail-head {
        grid-template-columns: 90px minmax(0, 1fr);
    }

    .detail-logo {
        width: 90px;
        height: 90px;
    }

    .detail-contact {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        min-width: 0;
    }

    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14px;
    }

    .header-inner {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
    }

    .site-nav {
        display: none;
    }

    .site-logo-text em {
        display: none;
    }

    .site-search {
        order: 3;
        max-width: none;
        flex: 1 1 100%;
    }

    .hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .hero-panel {
        padding: 22px 18px;
        border-radius: var(--radius);
    }

    .hero-banner {
        min-height: 170px;
        border-radius: var(--radius);
    }

    .hero-slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    .hero-title {
        font-size: 21px;
    }

    .hero-desc {
        font-size: 14px;
    }

    .hero-actions .btn {
        flex: 1 1 auto;
    }

    .page-title {
        font-size: 19px;
    }

    .section-title {
        font-size: 17px;
    }

    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
    }

    .province-grid {
        grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    }

    .filter-panel {
        padding: 4px 12px;
    }

    .filter-row {
        display: block;
    }

    .filter-label {
        width: auto;
        display: block;
        padding: 0 0 6px;
    }

    .filter-items.is-collapsed {
        max-height: 76px;
    }

    .btn-nearby {
        margin-left: 0;
    }

    .merchant-card {
        padding: 14px;
    }

    .merchant-logo img {
        width: 58px;
        height: 58px;
    }

    .merchant-name {
        font-size: 16px;
    }

    .merchant-actions .btn {
        flex: 1 1 auto;
    }

    .merchant-calls {
        flex: 1 1 100%;
        text-align: center;
    }

    .merchant-detail {
        padding: 16px;
    }

    .detail-head {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .detail-logo {
        width: 72px;
        height: 72px;
    }

    .detail-title {
        font-size: 19px;
    }

    .detail-contact {
        flex-direction: column;
    }

    .detail-contact .btn {
        width: 100%;
    }

    .detail-facts li {
        display: block;
    }

    .fact-label {
        display: block;
        margin-bottom: 2px;
    }

    .pagination .page-link {
        min-width: 32px;
        height: 32px;
        padding: 0 9px;
        font-size: 13px;
    }

    .page-total {
        flex: 1 1 100%;
        text-align: center;
        margin: 6px 0 0;
    }

    .footer-columns {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .seo-article,
    .static-page {
        padding: 16px;
    }
}

/* --------------------------------------------------------------------------
   省市区目录 / 商家图片等补充样式
   -------------------------------------------------------------------------- */

/* 暂无商家的省份、城市：保留入口但做弱化处理 */
.province-card.is-zero {
    opacity: .68;
}

.province-card.is-zero:hover {
    opacity: 1;
}

.filter-item.is-zero {
    color: var(--text-3);
}

.filter-item.is-zero:hover {
    background: var(--bg);
    color: var(--text-2);
}

/* 区块标题行（标题 + 右侧更多入口） */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.section-head .section-title {
    margin-bottom: 0;
}

.section-more {
    flex: 0 0 auto;
    font-size: 13px;
    color: var(--green-dark);
}

.section-more:hover {
    text-decoration: underline;
}

/* 商家介绍中的实拍图片小标题与无图提示 */
.detail-sub-title {
    margin: 16px 0 10px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.detail-text-muted {
    color: var(--text-3);
}

/* 首页「一次入驻、多端显示」提示条 */
.hero-note {
    display: inline-block;
    margin: 16px 0 0;
    padding: 10px 16px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--green-dark);
    background: var(--green-light);
    border-radius: var(--radius);
}

.hero-note strong {
    font-weight: 600;
}

/* 入驻说明页的多端显示说明 */
.detail-highlight {
    margin: 12px 0 0;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.75;
    color: var(--text-2);
    background: var(--green-soft);
    border-left: 3px solid var(--green);
    border-radius: 6px;
}

.detail-highlight strong {
    color: var(--green-dark);
}

/* 多端展示卡片：3 个端口（网页/微信小程序/支付宝小程序）一目了然 */
.endpoint-list {
    list-style: none;
    margin: 14px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.endpoint-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    transition: border-color .15s ease, box-shadow .15s ease;
}

.endpoint-item:hover {
    border-color: var(--green);
    box-shadow: 0 4px 12px rgba(45, 170, 92, .12);
}

.endpoint-icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 22px;
    background: var(--green-soft);
    border-radius: 8px;
}

.endpoint-body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.endpoint-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-1);
}

.endpoint-desc {
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.55;
}

@media (max-width: 767px) {
    .hero-note {
        display: block;
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 12px;
    }
    .endpoint-list {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   内容页（news）+ 服务页（service）通用样式
   ============================================ */
.narrow {
  max-width: 880px;
}

.static-page {
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  margin: 12px 0;
}

.detail-block {
  margin: 16px 0;
}

.detail-block-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 8px;
  padding-left: 8px;
  border-left: 4px solid var(--green);
}

.detail-facts {
  list-style: none;
  margin: 8px 0;
  padding: 0;
}

.detail-facts li {
  display: flex;
  align-items: flex-start;
  padding: 5px 0;
  border-bottom: 0.5px solid #F2F2F2;
  font-size: 14px;
  line-height: 1.7;
}

.detail-facts li:last-child { border-bottom: 0; }

.fact-label {
  flex: 0 0 80px;
  color: var(--text-3);
  font-size: 13px;
}

/* ===== 内容页文章卡片网格 ===== */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.article-card {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #fff;
  border-radius: 6px;
  border: 0.5px solid #EFEFEF;
  transition: all .2s ease;
  text-decoration: none;
}

.article-card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 8px rgba(45,170,92,.12);
  transform: translateY(-1px);
}

.article-cat {
  display: inline-block;
  align-self: flex-start;
  font-size: 12px;
  padding: 3px 9px;
  border-radius: 10px;
  background: var(--green-soft);
  color: var(--green-dark);
  margin-bottom: 6px;
}

.article-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-1);
  line-height: 1.5;
  margin: 0 0 5px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-desc {
  flex: 1;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-more {
  font-size: 12px;
  color: var(--green-dark);
  font-weight: 500;
}

/* ===== 单篇文章详情 ===== */
.article-detail { padding: 20px 16px; }

.article-head {
  border-bottom: 0.5px solid #F2F2F2;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.article-type {
  display: inline-block;
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 10px;
  background: #FFF4E5;
  color: #E6862C;
  margin-right: 4px;
}

.article-head .article-cat {
  background: var(--green-soft);
  color: var(--green-dark);
}

.article-h1 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin: 8px 0 6px;
}

.article-desc-lead {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.article-block { margin: 16px 0; }

.article-h2 {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 8px;
  padding-left: 8px;
  border-left: 4px solid var(--green);
}

.article-symptom {
  font-size: 14px;
  color: var(--text-2);
  background: #FFF8F0;
  border-left: 3px solid #F5A623;
  padding: 8px 10px;
  border-radius: 3px;
  line-height: 1.7;
  margin: 0;
}

.article-steps {
  margin: 6px 0 6px 0;
  padding-left: 4px;
  counter-reset: step;
}

.article-steps li {
  position: relative;
  padding: 6px 0 6px 20px;
  border-bottom: 0.5px dashed #EFEFEF;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-1);
  counter-increment: step;
}

.article-steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  text-align: center;
  line-height: 16px;
  font-size: 11px;
  font-weight: 600;
}

.article-steps li:last-child { border-bottom: 0; }

.article-causes {
  margin: 6px 0;
  padding-left: 4px;
}

.article-causes li {
  position: relative;
  padding: 5px 0 5px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-1);
  border-bottom: 0.5px dashed #F5F5F5;
}

.article-causes li::before {
  content: "⚠";
  position: absolute;
  left: 0;
  color: #F5A623;
}

.article-causes li:last-child { border-bottom: 0; }

.article-cta {
  background: linear-gradient(135deg, var(--green-soft) 0%, #E8F7EE 100%);
  padding: 14px 12px;
  border-radius: 6px;
  text-align: center;
  border-left: none;
}

.article-cta .article-h2 { border-left: 0; padding-left: 0; }

.article-actions {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.article-related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
}

.article-related-item {
  display: flex;
  flex-direction: column;
  padding: 8px;
  background: #F8FAF9;
  border-radius: 4px;
  text-decoration: none;
  transition: background .2s;
}

.article-related-item:hover { background: var(--green-soft); }

.article-related-item .article-cat { margin: 0 0 3px; }

.article-related-title {
  font-size: 12px;
  color: var(--text-1);
  line-height: 1.5;
}

/* ===== 9 大服务卡片网格 ===== */
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  margin: 12px 0;
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 12px;
  background: #fff;
  border-radius: 6px;
  border-top: 2px solid var(--service-color, var(--green));
  text-decoration: none;
  transition: all .2s ease;
}

.service-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--service-color, var(--green));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.service-icon img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .18);
  background: #fff;
}

.service-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-1);
  margin: 0 0 6px;
}

.service-summary {
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.6;
  text-align: center;
  margin: 0 0 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-more {
  font-size: 12px;
  color: var(--service-color, var(--green-dark));
  font-weight: 500;
}

/* ===== 单个服务详情 ===== */
.service-detail { border-top: 3px solid var(--service-color, var(--green)); }

.service-detail-head {
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 0.5px solid #F2F2F2;
  margin-bottom: 12px;
}

.service-detail-icon {
  display: inline-block;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: var(--service-color, var(--green));
  margin-bottom: 10px;
}

.service-detail-icon img {
  width: 56px;
  height: 56px;
  margin: 4px;
  border-radius: 14px;
  background: #fff;
}

.service-faq {
  background: #F8FAF9;
  padding: 10px 12px;
  border-radius: 4px;
}

.faq-q, .faq-a {
  font-size: 14px;
  line-height: 1.7;
  margin: 0 0 4px;
  color: var(--text-1);
}

.faq-q strong { color: #D97706; }
.faq-a strong { color: var(--green-dark); }

.service-other {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 6px;
}

.service-other-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  background: #F8FAF9;
  border-radius: 4px;
  text-decoration: none;
  color: var(--text-1);
  font-size: 13px;
  transition: background .2s;
}

.service-other-item:hover { background: var(--green-soft); }

.service-other-item img { flex-shrink: 0; }

@media (max-width: 767px) {
  .article-h1 { font-size: 20px; }
  .article-h2 { font-size: 15px; }
  .article-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .service-card { padding: 12px 8px; }
  .service-icon { width: 40px; height: 40px; }
  .service-icon img { width: 32px; height: 32px; }
  .service-name { font-size: 13px; }
  .static-page { padding: 12px; }
  .fact-label { flex: 0 0 72px; font-size: 12px; }
  .detail-facts li { font-size: 13px; }
}
