/* =====================
   MSSHOP 黄黑综合电商模板
   ===================== */
:root {
    --gold: #ffcc00;
    --gold-dark: #e6b800;
    --dark: #1a1a1a;
    --dark-light: #2d2d2d;
    --red: #e1251b;
    --gray: #f5f5f5;
    --gray-line: #e5e5e5;
    --text: #333;
    --text-muted: #999;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
    margin: 0;
    font: 14px/1.6 "Microsoft YaHei", "PingFang SC", sans-serif;
    color: var(--text);
    background: #f7f7f7;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
main { flex: 1; }
a { text-decoration: none; color: inherit; }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; }

.container { width: 1200px; margin: 0 auto; padding: 0; }

/* 顶部条 */
.topbar {
    background: var(--dark);
    color: #aaa;
    font-size: 12px;
    height: 34px;
    line-height: 34px;
}
.topbar .container { display: flex; justify-content: space-between; }
.topbar-left a, .topbar-right a { color: #aaa; margin-left: 16px; }
.topbar-left a:hover, .topbar-right a:hover { color: var(--gold); }
.fav-link { margin-left: 16px; }

/* 搜索头 */
.header-main {
    background: #fff;
    padding: 22px 0;
    border-bottom: 2px solid var(--gold);
}
.header-row { display: flex; align-items: center; }
.logo { display: block; width: 180px; flex-shrink: 0; }
.logo img { max-height: 55px; max-width: 180px; object-fit: contain; display: block; }
.logo-text { font-size: 24px; font-weight: bold; color: var(--gold-dark); }

.search-box { flex: 1; margin: 0 40px; }
.search-box form { display: flex; height: 42px; border: 2px solid var(--gold); border-radius: 4px; overflow: hidden; }
.search-box input { flex: 1; border: none; padding: 0 15px; font-size: 14px; outline: none; }
.search-box button { background: var(--gold); border: none; padding: 0 32px; font-size: 15px; font-weight: bold; color: #333; cursor: pointer; }
.search-box button:hover { background: var(--gold-dark); }

.header-nav-mini { display: flex; gap: 24px; font-size: 14px; color: #555; }
.header-nav-mini a.active, .header-nav-mini a:hover { color: var(--gold-dark); font-weight: 500; }

/* 主导航 */
.main-nav { background: var(--dark); height: 44px; line-height: 44px; }
.main-nav-row { display: flex; }
.nav-category { width: 220px; position: relative; z-index: 100; }
.nav-category-title {
    background: var(--gold);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: bold;
    padding: 0 18px;
    cursor: pointer;
}
.nav-category-title i { margin-right: 6px; }
.nav-category-list {
    position: absolute;
    top: 44px; left: 0;
    width: 220px;
    background: #fff;
    border: 1px solid var(--gray-line);
    border-top: none;
    display: none;
    box-shadow: 0 6px 16px rgba(0,0,0,.1);
    padding: 0;
}
.nav-category:hover .nav-category-list,
.nav-category.open .nav-category-list { display: block; }
.nav-category-item {
    display: block;
    position: relative;
    padding: 8px 30px 8px 16px;
    height: 50px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    transition: background .15s;
    overflow: hidden;
}
.nav-category-item:last-child { border-bottom: none; }
.nav-category-main { font-size: 14px; font-weight: bold; line-height: 1.3; }
.nav-category-sub { font-size: 11px; color: #999; line-height: 1.3; margin-top: 1px; }
.nav-category-item i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ccc;
    font-size: 11px;
}
.nav-category-item:hover { background: #fff9e6; color: #333; }
.nav-category-item:hover .nav-category-sub { color: #b38f00; }

.nav-menu { display: flex; margin-left: 20px; }
.nav-menu li { margin-right: 36px; }
.nav-menu a { color: #fff; font-size: 15px; transition: .2s; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }

/* 首页Banner区 */
.home-hero { background: #f0f0f0; padding: 16px 0; }
.hero-grid { display: grid; grid-template-columns: 220px 1fr 240px; gap: 14px; }

.hero-cate { background: #fff; border: 1px solid var(--gray-line); }
.hero-cate-title {
    background: var(--gold);
    color: #1a1a1a;
    font-size: 15px;
    font-weight: bold;
    padding: 0 16px;
    height: 44px;
    line-height: 44px;
}
.hero-cate-title i { margin-right: 6px; }
.hero-cate-body { padding: 0; overflow: hidden; }
.hero-cate-item {
    display: block;
    position: relative;
    padding: 8px 28px 8px 14px;
    height: 50px;
    border-bottom: 1px solid #f5f5f5;
    color: #333;
    transition: background .15s;
    overflow: hidden;
}
.hero-cate-item:last-child { border-bottom: none; }
.hero-cate-main { font-size: 14px; font-weight: bold; line-height: 1.3; }
.hero-cate-sub { font-size: 11px; color: #999; line-height: 1.3; margin-top: 1px; }
.hero-cate-item i {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #ddd;
    font-size: 11px;
}
.hero-cate-item:hover { background: #fff9e6; color: #333; }
.hero-cate-item:hover .hero-cate-sub { color: #b38f00; }

.hero-slider { border-radius: 4px; overflow: hidden; }
.hero-slider .carousel-inner, .hero-slider .carousel-item { height: 380px; }
.hero-slide-wrap { position: relative; width: 100%; height: 380px; }
.hero-slide-wrap img { width: 100%; height: 380px; object-fit: cover; display: block; }
.hero-slide-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,.48) 0%, rgba(0,0,0,.22) 50%, transparent 75%);
}
.hero-slide-content {
    position: absolute;
    left: 50px;
    top: 50%;
    transform: translateY(-50%);
    max-width: 45%;
    color: #fff;
    z-index: 2;
}
.hero-slide-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 14px;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.hero-slide-content p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 22px;
    opacity: .95;
    text-shadow: 0 1px 4px rgba(0,0,0,.35);
}
.hero-slide-btn {
    display: inline-block;
    background: #ffc107;
    color: #1a1a1a;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 700;
    text-decoration: none;
    transition: .2s;
}
.hero-slide-btn:hover { background: #e0a800; color: #1a1a1a; }
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next { width: 44px; opacity: .7; }
.hero-slider .carousel-control-prev { left: 12px; }
.hero-slider .carousel-control-next { right: 12px; }

.hero-right { display: flex; flex-direction: column; gap: 12px; }
.hero-promo {
    flex: 1;
    border-radius: 4px;
    padding: 20px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 120px;
}
.hero-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 30%, rgba(0,0,0,.5));
    border-radius: 4px;
}
.hero-promo-title { font-size: 18px; font-weight: bold; position: relative; z-index: 1; }
.hero-promo-desc { font-size: 12px; opacity: .9; position: relative; z-index: 1; }
.hero-promo-1 { background-image: linear-gradient(135deg, #c9a86c, #8b6f47); }
.hero-promo-2 { background-image: linear-gradient(135deg, #6b8cae, #4a6fa5); }
.hero-service {
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: 4px;
    padding: 16px;
    text-align: center;
}
a.hero-service { display: block; text-decoration: none; }
a.hero-service:hover .hero-service-title { color: var(--gold-dark); }
.hero-service-title { font-size: 14px; color: #333; }
.hero-service-title i { color: var(--gold-dark); margin-right: 4px; }
.hero-service-phone { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* 新人条 */
.newbie-bar { padding: 14px 0; }
.newbie-inner {
    background: linear-gradient(90deg, #fff9e6, #fff);
    border: 1px solid #ffeba3;
    border-radius: 4px;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.newbie-left { font-size: 15px; color: #8a6d0b; }

/* 优惠券领取条 */
.coupon-bar { padding: 14px 0; }
.coupon-scroll {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.coupon-item {
    flex-shrink: 0;
    min-width: 240px;
    background: linear-gradient(90deg, #fff9e6, #fff);
    border: 1px solid #ffeba3;
    border-radius: 4px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.coupon-title { font-size: 14px; font-weight: bold; color: #8a6d0b; }
.coupon-rule { font-size: 12px; color: #b08d28; margin-top: 2px; }
.coupon-claim-btn {
    background: var(--gold);
    border: none;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    white-space: nowrap;
}
.coupon-claim-btn:hover { background: var(--gold-dark); }
.coupon-claim-btn:disabled, .coupon-claim-btn.claimed { background: #ccc; cursor: default; }

/* 标签切换面板 */
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.newbie-left i { color: var(--gold-dark); margin-right: 6px; }
.newbie-btn {
    background: var(--gold);
    color: #333;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
}
.newbie-btn:hover { background: var(--gold-dark); }

/* 通用section */
.section { margin-top: 20px; }
.section-hd { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.section-hd.center { justify-content: center; }
.section-title { font-size: 18px; font-weight: bold; color: #333; }
.section-title i { color: var(--gold-dark); margin-right: 6px; }
.section-title small { font-size: 12px; color: #999; font-weight: normal; margin-left: 8px; }
.more { font-size: 13px; color: #999; }
.more:hover { color: var(--gold-dark); }

/* 两栏布局 */
.two-col-layout { display: grid; grid-template-columns: 180px 1fr 240px; gap: 14px; }
.left-panel, .center-panel, .right-panel { background: #fff; border: 1px solid var(--gray-line); border-radius: 4px; }
.left-panel { padding: 16px; }
.panel-hd { font-size: 16px; font-weight: bold; margin-bottom: 12px; }
.panel-hd i { color: var(--gold-dark); margin-right: 4px; }
.cate-filter { display: flex; flex-direction: column; gap: 8px; }
.cate-filter a { color: #666; font-size: 13px; }
.cate-filter a:hover { color: var(--gold-dark); }

.panel-tabs { display: flex; gap: 20px; padding: 14px 16px; border-bottom: 1px solid var(--gray-line); }
.panel-tabs span { font-size: 14px; color: #666; cursor: pointer; padding-bottom: 4px; }
.panel-tabs span.active { color: #333; font-weight: bold; border-bottom: 2px solid var(--gold); }
.panel-tabs .more { margin-left: auto; }

/* 商品网格 */
.goods-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.goods-grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.goods-grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }

.goods-card {
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: 4px;
    overflow: hidden;
    transition: .25s;
    position: relative;
}
.goods-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-3px); }
.goods-img { display: block; position: relative; overflow: hidden; }
.goods-img img { width: 100%; height: 180px; object-fit: cover; display: block; transition: .3s; }
.goods-card:hover .goods-img img { transform: scale(1.03); }
.no-img { width: 100%; height: 180px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 32px; }
.tag {
    position: absolute;
    top: 8px; left: 8px;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 2px;
    color: #fff;
    z-index: 2;
}
.tag-hot { background: #ff4d4f; }
.tag-new { background: #52c41a; }
.tag-sale { background: #ff4d4f; }
.tag-group { background: var(--gold); color: #333; }

.goods-info { padding: 10px; }
.goods-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-size: 13px;
    color: #333;
    line-height: 1.4;
    height: 36px;
    overflow: hidden;
    margin-bottom: 8px;
}
.goods-name:hover { color: var(--gold-dark); }
.goods-bottom { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.goods-price { font-size: 15px; font-weight: bold; color: var(--gold); display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; min-width: 0; }
.goods-price del { font-size: 11px; color: #bbb; font-weight: normal; text-decoration: line-through; }
.prod-price .old { font-size: 13px; color: #999; text-decoration: line-through; margin-left: 6px; }
.text-gold { color: var(--gold); }
.product-main-price { color: var(--gold); font-weight: bold; }
.buy-btn {
    background: var(--gold);
    color: #333;
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 56px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
}
.buy-btn:hover { background: var(--gold-dark); }
.flash-btn { background: var(--gold); }

/* 为你推荐/热卖商品 一行 4 个 自动换行 */
.rec-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 16px;
}
.rec-grid.tab-panel { display: none; }
.rec-grid.tab-panel.active { display: grid; }
.rec-card {
    width: 100%;
    border-radius: 6px;
}
.rec-card .goods-img img { height: 170px; }
.rec-card .goods-info { padding: 12px; }
.rec-card .goods-name { height: 40px; margin-bottom: 6px; }
.rec-card .goods-sales { font-size: 12px; color: #999; margin-bottom: 10px; }
.rec-card .goods-bottom { margin-top: 0; }
.rec-btn { background: var(--gold); color: #333; border-radius: 4px; padding: 6px 12px; }
.rec-btn:hover { background: var(--gold-dark); color: #333; }
.group-btn {
    display: block;
    text-align: center;
    background: var(--gold);
    color: #333;
    padding: 6px 0;
    margin-top: 8px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: bold;
}
.group-btn:hover { background: var(--gold-dark); }

/* 热卖榜 */
.rank-hd { padding: 14px 16px; border-bottom: 1px solid var(--gray-line); font-size: 15px; font-weight: bold; display: flex; justify-content: space-between; }
.rank-list { padding: 10px; }
.rank-item { display: flex; align-items: center; padding: 8px 0; border-bottom: 1px solid #f5f5f5; }
.rank-item:last-child { border-bottom: none; }
.rank-num {
    width: 20px; height: 20px;
    text-align: center; line-height: 20px;
    font-size: 12px; color: #999;
    background: #f0f0f0;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}
.rank-num.top { background: var(--gold); color: #333; }
.rank-img { width: 48px; height: 48px; flex-shrink: 0; margin-right: 10px; }
.rank-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 3px; }
.rank-name { font-size: 12px; color: #333; line-height: 1.3; height: 32px; overflow: hidden; }
.rank-price { font-size: 13px; color: var(--gold); font-weight: bold; }

/* 限时闪购 */
.flash-sale { background: #fff; border: 1px solid var(--gray-line); border-radius: 4px; padding: 16px; }
.flash-hd { display: flex; align-items: center; margin-bottom: 16px; }
.flash-title { font-size: 18px; font-weight: bold; }
.flash-title i { color: var(--gold-dark); margin-right: 6px; }
.flash-countdown {
    margin-left: 12px;
    background: #333;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 13px;
}
.flash-countdown span { color: var(--gold); font-weight: bold; }
.flash-hd .more { margin-left: auto; }
.flash-progress { height: 6px; background: #f0f0f0; border-radius: 3px; margin: 8px 0 4px; overflow: hidden; }
.flash-progress-bar { height: 100%; background: linear-gradient(90deg, #ff4d4f, #ff7875); border-radius: 3px; }
.flash-sold { font-size: 11px; color: #999; margin-bottom: 6px; }

/* 横幅 */
.banner-promo {
    display: block;
    height: 120px;
    background: linear-gradient(90deg, #8b6f47, #c9a86c);
    border-radius: 4px;
    padding: 30px 40px;
    color: #fff;
}
.banner-promo-title { font-size: 24px; font-weight: bold; }
.banner-promo-desc { font-size: 14px; opacity: .9; margin-top: 6px; }

/* 双栏小列表 */
.two-box-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.box-card { background: #fff; border: 1px solid var(--gray-line); border-radius: 4px; padding: 16px; }
.box-hd { font-size: 16px; font-weight: bold; margin-bottom: 12px; display: flex; justify-content: space-between; }
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-item { display: flex; gap: 10px; }
.mini-img { width: 64px; height: 64px; flex-shrink: 0; background: #f5f5f5; border-radius: 3px; overflow: hidden; }
.mini-img img { width: 100%; height: 100%; object-fit: cover; }
.mini-info { flex: 1; }
.mini-name { font-size: 13px; color: #333; line-height: 1.4; height: 38px; overflow: hidden; }
.mini-price { font-size: 14px; color: var(--gold); font-weight: bold; margin-top: 4px; }

/* 签到 */
.two-col-sign { display: grid; grid-template-columns: 260px 1fr; gap: 14px; }
.sign-card {
    background: linear-gradient(135deg, #fff5d6, #fff);
    border: 1px solid #ffeba3;
    border-radius: 4px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.sign-title { font-size: 18px; font-weight: bold; color: #8a6d0b; }
.sign-title i { margin-right: 6px; color: var(--gold-dark); }
.sign-desc { font-size: 13px; color: #b38f00; margin: 8px 0 16px; }
.sign-btn {
    display: inline-block;
    background: var(--gold);
    color: #333;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    width: fit-content;
}
.sign-btn:hover { background: var(--gold-dark); }
.sign-goods { background: #fff; border: 1px solid var(--gray-line); border-radius: 4px; padding: 16px; }
.small-card .goods-img img { height: 140px; }

/* 分类目录 */
.cate-catalog { background: #fff; border: 1px solid var(--gray-line); border-radius: 4px; padding: 20px; }
.cate-catalog-hd { font-size: 16px; font-weight: bold; margin-bottom: 16px; }
.cate-catalog-body { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.catalog-item { text-align: center; }
.catalog-name { font-size: 14px; font-weight: bold; color: #333; }
.catalog-links { margin-top: 6px; }
.catalog-links a { font-size: 12px; color: #999; margin: 0 4px; }
.catalog-links a:hover { color: var(--gold-dark); }

/* 底部服务保障 */
.footer-service-bar {
    background: var(--gold);
    padding: 18px 0;
    margin-top: 30px;
}
.footer-service-bar .container { display: flex; justify-content: space-around; }
.footer-service-item { display: flex; align-items: center; gap: 10px; color: #333; font-size: 14px; font-weight: bold; text-decoration: none; }
.footer-service-item i { font-size: 22px; }
a.footer-service-item:hover { color: #111; text-decoration: underline; }

/* 页脚 */
.footer {
    background: var(--dark);
    color: #999;
    padding: 40px 0 20px;
}
.footer-row { display: grid; grid-template-columns: 280px 1fr 260px; gap: 60px; align-items: start; }
.footer-logo { font-size: 28px; color: var(--gold); font-weight: bold; margin-bottom: 10px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: #999; }
.footer-center { text-align: center; }
.footer-center-text { font-size: 18px; color: #fff; font-weight: bold; line-height: 1.6; margin-bottom: 20px; }
.footer-center-links { display: flex; justify-content: center; gap: 24px; }
.footer-center-links a { color: #999; font-size: 13px; }
.footer-center-links a:hover { color: var(--gold); }
.footer-service-right h4 { color: #fff; font-size: 14px; margin-bottom: 10px; }
.footer-service-right p { font-size: 12px; line-height: 1.8; color: #999; }
.footer-help { display: inline-block; background: var(--gold); color: #333; padding: 8px 20px; border-radius: 3px; margin-top: 14px; font-size: 12px; font-weight: bold; }
.footer-bottom {
    background: #111;
    text-align: center;
    padding: 14px 0;
    font-size: 12px;
    color: #777;
}

/* 会员中心 */
.member-center { padding: 30px 0; }
.member-banner {
    background: #2b2b2b;
    border-radius: 8px;
    padding: 40px;
    color: #fff;
    margin-bottom: 24px;
    border-top: 4px solid var(--gold);
}
.member-banner-label { font-size: 14px; color: #ccc; margin-bottom: 8px; }
.member-banner-title { font-size: 32px; color: var(--gold); font-weight: bold; margin-bottom: 12px; }
.member-banner-desc { font-size: 14px; color: #aaa; margin-bottom: 24px; max-width: 680px; line-height: 1.6; }
.member-banner-btns { display: flex; gap: 12px; }
.member-banner-btns .btn-warning {
    background: var(--gold);
    border-color: var(--gold);
    color: #333;
    font-weight: 500;
    padding: 8px 28px;
    border-radius: 4px;
}
.member-banner-btns .btn-outline-light {
    border-color: rgba(255,255,255,.5);
    color: #fff;
    padding: 8px 28px;
    border-radius: 4px;
}
.member-banner-btns .btn-outline-light:hover { background: rgba(255,255,255,.1); color: #fff; }

.member-menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.member-menu-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    transition: transform .2s, box-shadow .2s;
}
.member-menu-card:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,.08); color: #333; }
.member-menu-icon {
    width: 48px; height: 48px; border-radius: 6px;
    background: var(--gold); color: #333;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; flex-shrink: 0;
}
.member-menu-text { flex: 1; font-size: 16px; font-weight: 500; }
.member-menu-card > .bi-chevron-right { color: #999; font-size: 14px; }

/* ===== 通用独立栏目页 ===== */
.section-page { padding: 24px 0 50px; }
.section-page .breadcrumb { background: transparent; padding: 0; margin-bottom: 20px; font-size: 13px; }
.section-page .breadcrumb a { color: #666; }
.section-page .breadcrumb-item.active { color: var(--gold-dark); }
.section-page-hd { margin-bottom: 24px; text-align: center; }
.section-page-title { font-size: 24px; font-weight: bold; color: #333; margin-bottom: 6px; }
.section-page-desc { font-size: 13px; color: #999; margin: 0; }
.section-page .goods-grid-4 { margin: 0; }

/* ===== 帮助中心 ===== */
.help-banner {
    background: linear-gradient(135deg, var(--gold) 0%, #f0b429 100%);
    padding: 48px 0;
    text-align: center;
}
.help-banner-title { font-size: 32px; font-weight: bold; color: #333; margin-bottom: 8px; }
.help-banner-sub { color: #5a4a1f; font-size: 15px; margin-bottom: 0; }

.help-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
    padding: 30px 0 50px;
    align-items: start;
}
.help-sidebar { position: sticky; top: 20px; }
.help-nav {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 12px 0;
    margin-bottom: 20px;
    overflow: hidden;
}
.help-nav-title {
    font-size: 15px; font-weight: bold; color: #333;
    padding: 8px 20px 12px;
    border-bottom: 1px solid #f2f2f2;
    margin-bottom: 6px;
}
.help-nav-link {
    display: flex; align-items: center;
    padding: 10px 20px;
    color: #555; font-size: 14px;
    border-left: 3px solid transparent;
    text-decoration: none;
    transition: all .2s;
}
.help-nav-link:hover { color: var(--gold-dark); background: #fffdf6; text-decoration: none; }
.help-nav-link.active { color: var(--gold-dark); background: #fff8e6; border-left-color: var(--gold-dark); font-weight: bold; }
.help-contact {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}
.help-contact-title { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 8px; }
.help-contact p { font-size: 12px; color: #999; line-height: 1.7; margin-bottom: 12px; }
.help-contact-btn {
    display: inline-block;
    background: var(--gold); color: #333;
    padding: 8px 26px; border-radius: 4px;
    font-size: 13px; font-weight: bold;
    margin-bottom: 14px;
}
.help-contact-btn:hover { color: #111; text-decoration: none; }
.help-contact-phone { font-size: 12px; color: #999; line-height: 1.8; }
.help-contact-phone strong { display: block; font-size: 18px; color: var(--gold-dark); }

.help-content { min-width: 0; }
.help-section { margin-bottom: 34px; }
.help-section-title {
    font-size: 20px; font-weight: bold; color: #333;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
    margin-bottom: 16px;
}
.help-item {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}
.help-item-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 15px 20px;
    font-size: 14px; font-weight: bold; color: #333;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: background .2s;
}
.help-item-q::-webkit-details-marker { display: none; }
.help-item-q:hover { background: #fffaf0; }
.help-item-icon { color: #999; font-size: 14px; transition: transform .25s; }
.help-item[open] .help-item-icon { transform: rotate(180deg); }
.help-item[open] .help-item-q { color: var(--gold-dark); }
.help-item-a {
    padding: 0 20px 18px;
    font-size: 13px; color: #666;
    line-height: 1.9;
    border-top: 1px dashed #eee;
    padding-top: 14px;
}
.help-item-a a { color: var(--gold-dark); }
.help-empty { text-align: center; color: #999; padding: 60px 0; }

@media (max-width: 991px) {
    .help-layout { grid-template-columns: 1fr; }
    .help-sidebar { position: static; }
    .help-nav { display: flex; flex-wrap: wrap; padding: 8px; }
    .help-nav-title { width: 100%; border-bottom: none; padding: 4px 8px; }
    .help-nav-link { border-left: none; border-bottom: 2px solid transparent; padding: 8px 12px; }
    .help-nav-link.active { border-left: none; border-bottom-color: var(--gold-dark); }
    .help-banner-title { font-size: 26px; }
}
@media (max-width: 575px) {
    .member-menu-grid { grid-template-columns: 1fr; }
    .member-banner { padding: 28px 24px; }
}

/* 登录/注册弹窗 */
.auth-modal .modal-dialog { max-width: 420px; }
.auth-modal .modal-content {
    border: none;
    border-radius: 8px;
    padding: 36px 32px;
    position: relative;
}
.auth-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px; height: 24px;
    padding: 0;
    background-size: 12px;
    z-index: 2;
}
.auth-title {
    text-align: center;
    color: var(--gold);
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 24px;
}
.auth-field { margin-bottom: 16px; }
.auth-field .form-control {
    height: 46px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 14px;
    padding: 0 14px;
}
.auth-field .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(245,200,60,.15);
}
.auth-submit {
    width: 100%;
    height: 46px;
    background: var(--gold);
    border-color: var(--gold);
    color: #333;
    font-weight: 500;
    border-radius: 4px;
    margin-top: 8px;
}
.auth-submit:hover { background: #e6b600; border-color: #e6b600; color: #333; }
.auth-switch {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #999;
}
.auth-switch .auth-link { color: var(--gold); text-decoration: none; }
.auth-switch .auth-link:hover { text-decoration: underline; }
.auth-agree {
    text-align: center;
    margin-top: 12px;
    font-size: 11px;
    color: #bbb;
}
.auth-agree a { color: #999; text-decoration: none; }
.auth-agree a:hover { text-decoration: underline; }

/* 分类页 / 相似推荐 商品卡片 */
.prod-card {
    background: #fff;
    border: 1px solid var(--gray-line);
    border-radius: 8px;
    overflow: hidden;
    transition: .3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.prod-card:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); transform: translateY(-3px); }
.prod-img { display: block; position: relative; overflow: hidden; }
.prod-img img { width: 100%; height: 200px; object-fit: cover; display: block; transition: .3s; }
.prod-card:hover .prod-img img { transform: scale(1.03); }
.prod-img .no-img { width: 100%; height: 200px; background: #f5f5f5; display: flex; align-items: center; justify-content: center; color: #ccc; font-size: 36px; }
.prod-info { padding: 12px; flex: 1; display: flex; flex-direction: column; }
.prod-name { display: block; font-size: 14px; color: #333; line-height: 1.5; height: 2.8em; overflow: hidden; margin-bottom: 8px; }
.prod-name:hover { color: var(--gold-dark); }
.prod-price { font-size: 18px; font-weight: bold; color: var(--gold); display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.prod-price .unit { font-size: 14px; }
.prod-price .old { font-size: 12px; color: #999; font-weight: normal; text-decoration: line-through; }
.prod-bottom { margin-top: auto; display: flex; justify-content: flex-end; align-items: center; }
.prod-cart { width: 32px; height: 32px; border-radius: 50%; background: var(--gold); color: #333; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: .2s; }
.prod-cart:hover { background: var(--gold-dark); color: #fff; }

/* 商品详情操作按钮 */
.pd-action-btns { display: flex; gap: 12px; margin-top: 20px; }
.btn-buy-now { flex: 1; background: var(--gold); color: #333; border: none; padding: 14px 0; font-size: 16px; border-radius: 6px; transition: .2s; }
.btn-buy-now:hover { background: var(--gold-dark); }
.btn-add-cart { flex: 1; background: #fff; color: #333; border: 1px solid var(--gold); padding: 14px 0; font-size: 16px; border-radius: 6px; transition: .2s; }
.btn-add-cart:hover { background: var(--gold); color: #fff; }

/* 相似推荐 */
.similar-section { margin-top: 50px; }
.similar-section .section-title { margin-bottom: 16px; }
.similar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* 砍价专区 */
.tag-bargain { background: #ff7a00; }
.bargain-btn { background: #ff7a00 !important; }
.bargain-btn:hover { background: #e66b00 !important; }

/* 客服展示 */
.service-banner {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 10px;
    padding: 24px 30px;
    color: #333;
}
.service-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}
.service-banner-title { font-size: 20px; font-weight: bold; }
.service-banner-desc { font-size: 13px; opacity: .75; margin-top: 4px; }
.service-banner-phone { margin-left: auto; text-align: right; }
.service-banner-label { font-size: 12px; opacity: .7; }
.service-banner-num { font-size: 22px; font-weight: bold; letter-spacing: 1px; }
.service-banner-btn {
    background: #222;
    color: #fff;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    flex-shrink: 0;
    transition: .2s;
}
.service-banner-btn:hover { background: #000; color: var(--gold); }

/* 多商品图片展示 */
.multi-img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.multi-img-item {
    position: relative;
    display: block;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    text-decoration: none;
}
.multi-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .35s;
}
.multi-img-item:hover img { transform: scale(1.06); }
.multi-img-item .no-img {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    font-size: 36px;
}
.multi-img-mask {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 12px;
    background: linear-gradient(transparent, rgba(0,0,0,.6));
    color: #fff;
}
.multi-img-name { font-size: 13px; font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.multi-img-price { font-size: 16px; font-weight: bold; color: var(--gold); }
.multi-img-price::before { content: '¥'; font-size: 12px; }

/* 响应式 */
@media (max-width: 1230px) {
    .container { width: 100%; padding: 0 15px; }
}
@media (max-width: 991px) {
    .header-nav-mini { display: none; }
    .main-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-cate, .hero-right { display: none; }
    .two-col-layout { grid-template-columns: 1fr; }
    .left-panel, .right-panel { display: none; }
    .goods-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .goods-grid-4, .goods-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .rec-grid { padding: 12px; gap: 12px; grid-template-columns: repeat(2, 1fr); }
    .rec-card { width: 100%; }
    .two-box-layout, .two-col-sign { grid-template-columns: 1fr; }
    .cate-catalog-body { grid-template-columns: repeat(3, 1fr); }
    .footer-row { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-center-text { font-size: 16px; }
    .footer-center-links { flex-wrap: wrap; gap: 16px; }
    .footer-service-right { text-align: center; }
    .similar-grid { grid-template-columns: repeat(2, 1fr); }
    .prod-img img, .prod-img .no-img { height: 180px; }
    .multi-img-grid { grid-template-columns: repeat(2, 1fr); }
    .service-banner { flex-wrap: wrap; }
    .service-banner-phone { margin-left: 0; text-align: left; }
}
