/* ==========================================================================
   附近废品回收网 - 站点样式（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 {
    background: linear-gradient(135deg, #0aa06e 0%, #12b880 60%, #35c98f 100%);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 34px 28px;
    margin-bottom: 22px;
}

.hero-title {
    font-size: 28px;
    color: #fff;
    margin-bottom: 12px;
}

.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: 42px;
    height: 42px;
    object-fit: contain;
}

.category-name {
    font-size: 14px;
}

.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);
}

.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;
}

/* --------------------------------------------------------------------------
   二维码入口与弹窗
   -------------------------------------------------------------------------- */
.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 {
        padding: 22px 18px;
        border-radius: var(--radius);
    }

    .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);
}

@media (max-width: 767px) {
    .hero-note {
        display: block;
        margin-top: 12px;
        padding: 10px 12px;
        font-size: 12px;
    }
}
