/* ============================================================
   店面黄页（/huangye 列表 + /shop/{id}.html 详情）
   依赖 common.css 中的变量(--c-brand/--c-accent)与 .w-card/.tag-cloud/.ask-ad
   ============================================================ */

/* —— 布局 —— */
.store-layout{display:grid;grid-template-columns:1fr 300px;gap:18px;padding:18px 0 30px;align-items:start}
.store-main{min-width:0}
.store-side{position:sticky;top:12px;display:flex;flex-direction:column;gap:16px}
@media (max-width:900px){.store-layout{grid-template-columns:1fr}.store-side{position:static}}

/* —— 分类导航 —— */
.store-cats{display:flex;flex-wrap:wrap;gap:8px;background:#fff;border:1px solid #eef0f4;border-radius:10px;padding:12px 14px;margin-top:18px}
.store-cats a{display:inline-flex;align-items:center;gap:4px;padding:6px 13px;border-radius:18px;font-size:13px;color:#555;background:#f4f6f9;transition:all .2s;border:1px solid transparent}
.store-cats a em{font-style:normal;font-size:11px;color:#999}
.store-cats a:hover{color:var(--c-brand,#0e9f8a)}
.store-cats a.on{background:var(--c-brand,#0e9f8a);color:#fff}
.store-cats a.on em{color:rgba(255,255,255,.8)}

/* —— 列表头部 —— */
.store-head{display:flex;align-items:baseline;justify-content:space-between;background:#fff;border:1px solid #eef0f4;border-radius:10px 10px 0 0;padding:14px 16px;border-bottom:none}
.store-head b{font-size:16px;color:#222}
.store-head span{font-size:12px;color:#999}

/* —— 店面卡片 —— */
.s-item{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid #eef0f4;border-top:none;padding:15px 16px;transition:box-shadow .2s}
.s-item:last-of-type{border-radius:0 0 10px 10px}
.s-item:hover{box-shadow:0 4px 14px rgba(0,0,0,.06);position:relative;z-index:1}
.s-ico{width:46px;height:46px;border-radius:10px;background:linear-gradient(135deg,var(--c-brand,#0e9f8a),#0d7a6b);color:#fff;font-size:20px;font-weight:700;display:flex;align-items:center;justify-content:center;flex:none}
.s-photo{width:64px;height:64px;border-radius:10px;overflow:hidden;flex:none;background:#f4f6f9;display:flex;align-items:center;justify-content:center}
.s-photo img{width:100%;height:100%;object-fit:cover;display:block}
.s-bd{flex:1;min-width:0}
.s-bd h3{font-size:15px;font-weight:600;color:#222;margin:0 0 5px}
.s-bd h3 a{color:#222}
.s-bd h3 a:hover{color:var(--c-brand,#0e9f8a)}
.s-meta{display:flex;gap:10px;align-items:center;margin-bottom:4px}
.s-cat{display:inline-block;font-size:11px;color:var(--c-brand,#0e9f8a);background:rgba(14,159,138,.1);border-radius:4px;padding:2px 7px;font-weight:600}
.s-loc{font-size:12px;color:#888}
.s-rate-mini{font-size:12px;color:#e67e22;font-weight:600}
.s-addr{font-size:12px;color:#999;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.s-side{flex:none;text-align:right;display:flex;flex-direction:column;gap:8px;align-items:flex-end}
.s-tel{font-size:13px;font-weight:600;color:#e67e22;text-decoration:none}
.s-go{font-size:12px;color:var(--c-brand,#0e9f8a);text-decoration:none}
.s-go:hover{text-decoration:underline}

/* —— 空状态 —— */
.empty-box{background:#fff;border:1px solid #eef0f4;border-radius:0 0 10px 10px;padding:70px 20px;text-align:center}
.empty-box p{font-size:16px;color:#666;margin:0 0 8px}
.empty-box p.sub{font-size:13px;color:#aaa}
.empty-sub{font-size:13px;color:#999}
.empty-sub a{color:var(--c-brand,#0e9f8a)}

/* —— 详情卡 —— */
.s-card{background:#fff;border:1px solid #eef0f4;border-radius:10px;padding:22px 22px 16px;margin-bottom:16px}
.s-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-bottom:18px}
.s-gallery img{width:100%;height:150px;object-fit:cover;border-radius:8px;display:block;background:#f4f6f9}
@media (max-width:600px){.s-gallery{grid-template-columns:1fr 1fr}.s-gallery img{height:110px}}
.s-card-top{display:flex;gap:16px;align-items:center;margin-bottom:16px}
.s-big-ico{width:64px;height:64px;border-radius:14px;background:linear-gradient(135deg,var(--c-brand,#0e9f8a),#0d7a6b);display:flex;align-items:center;justify-content:center;font-size:30px;flex:none}
.s-card h1{font-size:21px;color:#222;margin:0 0 8px}
.s-open{font-size:12px;color:#22a06b;background:rgba(34,160,107,.1);border-radius:4px;padding:2px 7px;font-weight:600}
/* —— 评分/人均/标签（详情页扩展字段） —— */
.s-rate-line{display:flex;align-items:center;gap:14px;margin-top:6px}
.s-rate{position:relative;display:inline-flex;align-items:center;gap:6px;font-size:13px;color:#e67e22}
.s-rate::before{content:"★★★★★";letter-spacing:2px;color:#eee3d4;font-size:13px}
.s-rate i{position:absolute;left:0;top:0;height:100%;overflow:hidden;white-space:nowrap}
.s-rate i::before{content:"★★★★★";letter-spacing:2px;color:#f5a623;font-size:13px}
.s-rate b{margin-left:2px;font-size:13px;color:#e67e22}
.s-cost{font-size:13px;color:#c0392b;font-weight:600}
.s-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.s-tags em{font-style:normal;font-size:11px;color:#888;background:#f4f6f9;border:1px solid #eef0f4;border-radius:4px;padding:2px 8px}
.s-info{list-style:none;margin:0 0 12px;padding:0;border-top:1px dashed #eef0f4}
.s-info li{display:flex;gap:14px;padding:11px 2px;border-bottom:1px dashed #eef0f4;font-size:14px}
.s-info li b{flex:none;width:56px;color:#888;font-weight:500}
.s-info li span{color:#333;word-break:break-all}
.tel-link{color:#e67e22;font-weight:600;text-decoration:none;margin-right:8px}
.map-link{color:var(--c-brand,#0e9f8a);text-decoration:none;font-size:13px}
.s-src{font-size:11px;color:#bbb;margin:4px 0 0}

/* —— 同分类推荐 —— */
.rel-card{margin-bottom:16px}
.rel-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.rel-shop{display:flex;flex-direction:column;gap:4px;border:1px solid #eef0f4;border-radius:8px;padding:10px 12px;text-decoration:none;transition:all .2s}
.rel-shop:hover{border-color:var(--c-brand,#0e9f8a);background:rgba(14,159,138,.03)}
.rel-shop b{font-size:13px;color:#333;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rel-shop span{font-size:11px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:600px){.rel-grid{grid-template-columns:1fr}}

/* ============================================================
   黄页首页全新设计（Hero/统计/分类网格/优选好店）
   ============================================================ */

/* —— Hero 搜索横幅 —— */
.hy-hero{background:linear-gradient(120deg,#0e9f8a 0%,#0d7a6b 55%,#0a5f54 100%);padding:44px 0 96px;position:relative;overflow:hidden}
.hy-hero::before{content:"";position:absolute;right:-60px;top:-60px;width:280px;height:280px;border-radius:50%;background:rgba(255,255,255,.06)}
.hy-hero::after{content:"";position:absolute;left:-40px;bottom:-80px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.05)}
.hy-hero-inner{position:relative;z-index:1;text-align:center}
.hy-hero-txt h1{color:#fff;font-size:30px;margin:0 0 10px;letter-spacing:1px}
.hy-hero-txt p{color:rgba(255,255,255,.82);font-size:14px;margin:0}
.hy-search{max-width:640px;margin:26px auto 0}
.hy-search-box{display:flex;align-items:center;background:#fff;border-radius:40px;padding:6px 6px 6px 18px;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.hy-search-box span{font-size:18px;margin-right:8px}
.hy-search-box input{flex:1;border:none;outline:none;font-size:14px;color:#333;background:transparent;min-width:0}
.hy-search-box input::placeholder{color:#aaa}
.hy-search-box button{border:none;background:linear-gradient(135deg,#f5a623,#f57c1f);color:#fff;border-radius:32px;padding:11px 30px;font-size:14px;cursor:pointer;transition:transform .15s}
.hy-search-box button:hover{transform:scale(1.04)}
.hy-hot-kw{color:rgba(255,255,255,.75);font-size:13px;margin-top:14px}
.hy-hot-kw a{color:#fff;background:rgba(255,255,255,.16);padding:3px 12px;border-radius:14px;margin:0 4px;text-decoration:none;font-size:12px;transition:background .2s}
.hy-hot-kw a:hover{background:rgba(255,255,255,.32)}

/* —— 统计条（悬于 Hero 之下） —— */
.hy-stats{display:flex;justify-content:center;gap:60px;background:#fff;border:1px solid #eef0f4;border-radius:12px;box-shadow:0 8px 24px rgba(14,159,138,.08);margin:-46px auto 0;padding:20px 0;position:relative;z-index:2;max-width:760px}
.hy-stat{text-align:center}
.hy-stat b{display:block;font-size:24px;color:var(--c-brand,#0e9f8a);font-weight:700;line-height:1.2}
.hy-stat span{display:block;font-size:12px;color:#999;margin-top:4px}
@media (max-width:640px){.hy-stats{gap:30px}.hy-stat b{font-size:19px}}

/* —— 分类图标网格 —— */
.hy-catgrid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:22px 0 8px}
.hy-cat{display:flex;flex-direction:column;align-items:center;gap:8px;background:#fff;border:1px solid #eef0f4;border-radius:12px;padding:18px 10px 14px;text-decoration:none;transition:all .2s}
.hy-cat:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(0,0,0,.07);border-color:var(--c-brand,#0e9f8a)}
.hy-cat i{width:46px;height:46px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:22px;font-style:normal;color:#fff}
.hy-cat b{font-size:13px;color:#333;font-weight:600}
.hy-cat em{font-style:normal;font-size:11px;color:#999}
.hy-cat.on{border-color:var(--c-brand,#0e9f8a);box-shadow:0 6px 16px rgba(14,159,138,.15)}
.hy-cat.on b{color:var(--c-brand,#0e9f8a)}
@media (max-width:1024px){.hy-catgrid{grid-template-columns:repeat(4,1fr)}}
@media (max-width:600px){.hy-catgrid{grid-template-columns:repeat(3,1fr)}}

/* —— 区块标题 —— */
.hy-sec-head{display:flex;align-items:center;justify-content:space-between;margin:26px 0 14px}
.hy-sec-head h2{font-size:18px;color:#222;margin:0;display:flex;align-items:center}
.hy-sec-head h2 .dot{width:5px;height:17px;border-radius:3px;background:var(--c-brand,#0e9f8a);display:inline-block;margin-right:9px}
.hy-sec-head a{font-size:13px;color:var(--c-brand,#0e9f8a);text-decoration:none}
.hy-sec-head a:hover{text-decoration:underline}
.hy-sep{border-top:1px solid #eef0f4;margin:26px 0 0}

/* —— 优选好店 —— */
.hy-feat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.hy-fcard{display:flex;gap:12px;background:#fff;border:1px solid #eef0f4;border-radius:12px;padding:12px;text-decoration:none;transition:all .2s}
.hy-fcard:hover{box-shadow:0 8px 22px rgba(0,0,0,.08);transform:translateY(-2px)}
.hy-fimg{width:86px;height:86px;border-radius:10px;overflow:hidden;flex:none;background:#f4f6f9;position:relative}
.hy-fimg img,.hy-fimg b{width:100%;height:100%;object-fit:cover;display:flex;align-items:center;justify-content:center}
.hy-fimg b{background:linear-gradient(135deg,var(--c-brand,#0e9f8a),#0d7a6b);color:#fff;font-size:26px}
.hy-fcat{position:absolute;left:0;bottom:0;background:rgba(0,0,0,.55);color:#fff;font-size:10px;padding:2px 8px;border-radius:0 8px 0 0}
.hy-fbd{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;justify-content:center}
.hy-fname{font-size:15px;color:#222;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hy-faddr{font-size:12px;color:#999;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hy-ftel{font-size:12px;color:#e67e22;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media (max-width:1024px){.hy-feat-grid{grid-template-columns:1fr 1fr}}
@media (max-width:600px){.hy-feat-grid{grid-template-columns:1fr}}
