/* ============================================
   智汇优品 - 主样式文件
   ============================================ */

/* ---- 全局 ---- */
body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background: #f5f5f5;
}
a { color: #555; text-decoration: none; }
a:hover { color: #e74c3c; text-decoration: none; }
.color-text { color: #e74c3c !important; }
img { max-width: 100%; }

/* ---- 顶部栏 ---- */
#topbar {
    background: #333;
    color: #aaa;
    font-size: 12px;
    line-height: 35px;
    height: 35px;
}
#topbar .left-name { color: #ccc; }
#topbar .links { list-style: none; padding: 0; margin: 0; }
#topbar .links li { display: inline-block; margin-left: 15px; }
#topbar .links li a { color: #aaa; }
#topbar .links li a:hover { color: #e74c3c; }
#topbar .links li a.user-static { color: #e74c3c; }

/* ---- 头部 ---- */
#header { background: #fff; padding-bottom: 0; border-bottom: 1px solid #eee; }
.pt-md { padding-top: 15px; }
.mb-lg { margin-bottom: 0; }

/* 使用 flexbox 对齐 logo、搜索框、发布按钮 */
.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 30px;
}

.logo { flex-shrink: 0; }
.logo img { height: 50px; max-width: 200px; }

.search { flex: 1; max-width: 480px; }
.search .search-input-wrap {
    display: flex;
    width: 100%;
    height: 42px;
    border: 2px solid #e74c3c;
    border-radius: 22px;
    overflow: hidden;
}
.search .search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    padding: 0 18px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border-radius: 22px 0 0 22px;
}
.search .search-input-wrap input::placeholder { color: #bbb; }
.search .search-input-wrap button {
    border: none;
    background: #e74c3c;
    color: #fff;
    padding: 0 28px;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
    border-radius: 0 22px 22px 0;
}
.search .search-input-wrap button:hover { background: #c0392b; }
.search .search-input-wrap button i { margin-right: 4px; }

.action { flex-shrink: 0; }
.action .add {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 10px 26px;
    border-radius: 22px;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s;
}
.action .add:hover { background: linear-gradient(135deg, #c0392b, #a93226); color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(231,76,60,0.3); }

/* ---- 导航 ---- */
.navbar-group { background: #e74c3c; margin-top: 15px; }
#navbar { padding: 0; }
#navbar a {
    display: inline-block;
    color: #fff;
    padding: 12px 22px;
    font-size: 15px;
    transition: all 0.2s;
}
#navbar a:hover, #navbar a.active { background: #c0392b; color: #fff; }
.mt-md { margin-top: 0; }

/* ---- 主体内容 ---- */
#main { padding-top: 20px; }

/* ---- 信息板块 ---- */
.info-section {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.info-section-header {
    padding: 14px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-section-header .title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.info-section-header .title i { color: #e74c3c; margin-right: 6px; }
.info-section-header .more a { color: #999; font-size: 13px; }
.info-section-header .more a:hover { color: #e74c3c; }

.info-grid { padding: 15px 15px 5px; }
.info-card {
    display: block;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 15px;
    transition: all 0.3s;
    background: #fff;
    color: #333;
}
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    color: #333;
}
.info-card .card-img { height: 170px; overflow: hidden; }
.info-card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.info-card:hover .card-img img { transform: scale(1.05); }
.info-card .card-body { padding: 10px 12px; }
.info-card .card-title {
    font-size: 14px;
    height: 40px;
    overflow: hidden;
    line-height: 1.4;
    margin-bottom: 8px;
    color: #333;
}
.info-card .card-meta { font-size: 12px; color: #999; }
.info-card .card-meta span { margin-right: 10px; }
.info-card .card-price { font-size: 18px; color: #e74c3c; font-weight: bold; margin-top: 5px; }

/* ---- 分类列表页 ---- */
.page-header-bar {
    background: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.page-header-bar .page-icon { font-size: 28px; color: #e74c3c; margin-right: 10px; vertical-align: middle; }
.page-header-bar .page-title { font-size: 20px; font-weight: bold; display: inline; vertical-align: middle; }
.page-header-bar .page-count { color: #999; font-size: 13px; margin-left: 10px; }

.filter-bar {
    background: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.filter-bar .filter-tag {
    display: inline-block;
    padding: 4px 14px;
    margin: 3px 5px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    background: #f5f5f5;
    color: #666;
    transition: all 0.2s;
}
.filter-bar .filter-tag:hover, .filter-bar .filter-tag.active {
    background: #e74c3c;
    color: #fff;
}

.list-item {
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.2s;
    cursor: pointer;
    color: #333;
}
.list-item:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.1); color: #333; text-decoration: none; }
.list-item .list-img { width: 140px; height: 100px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.list-item .list-img img { width: 100%; height: 100%; object-fit: cover; }
.list-item .list-info { flex: 1; min-width: 0; }
.list-item .list-title { font-size: 16px; font-weight: bold; margin-bottom: 6px; }
.list-item .list-desc { font-size: 13px; color: #888; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .list-meta { font-size: 12px; color: #aaa; }
.list-item .list-meta span { margin-right: 12px; }
.list-item .list-price { font-size: 18px; color: #e74c3c; font-weight: bold; text-align: right; white-space: nowrap; }

/* ---- 详情页 ---- */
.detail-container { background: #fff; border-radius: 8px; padding: 25px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.detail-title { font-size: 22px; font-weight: bold; margin-bottom: 12px; color: #333; }
.detail-meta { color: #999; font-size: 13px; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 12px; }
.detail-meta span { margin-right: 18px; }
.detail-img { margin-bottom: 20px; border-radius: 8px; overflow: hidden; }
.detail-img img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; }
.detail-content { font-size: 15px; line-height: 1.8; color: #555; }
.detail-price-box {
    background: linear-gradient(135deg, #fff5f5, #fff);
    border: 1px solid #fdd;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.detail-price-box .price-big { font-size: 28px; color: #e74c3c; font-weight: bold; }
.detail-btn {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    padding: 10px 30px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s;
}
.detail-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(231,76,60,0.4); }
.detail-btn-outline {
    background: #fff;
    color: #e74c3c;
    border: 2px solid #e74c3c;
    padding: 8px 28px;
    border-radius: 25px;
    font-size: 15px;
    cursor: pointer;
    margin-left: 10px;
    transition: all 0.3s;
}
.detail-btn-outline:hover { background: #fff5f5; }
.detail-back { margin-bottom: 15px; }
.detail-back a { color: #666; font-size: 14px; }
.detail-back a:hover { color: #e74c3c; }

/* ---- 商城页 ---- */
.mall-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 50%, #e74c3c 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    margin-bottom: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.mall-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}
.mall-banner h2 { margin: 0 0 8px; font-size: 26px; position: relative; }
.mall-banner p { margin: 0; opacity: 0.9; font-size: 14px; position: relative; }

.product-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.product-card .prod-img { height: 200px; overflow: hidden; position: relative; }
.product-card .prod-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.product-card:hover .prod-img img { transform: scale(1.08); }
.product-card .prod-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #e74c3c;
    color: #fff;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 12px;
}
.product-card .prod-body { padding: 14px; }
.product-card .prod-title { font-size: 14px; height: 40px; overflow: hidden; margin-bottom: 8px; }
.product-card .prod-price { color: #e74c3c; font-size: 20px; font-weight: bold; }
.product-card .prod-price .old { color: #bbb; text-decoration: line-through; font-size: 13px; font-weight: normal; margin-left: 6px; }
.product-card .prod-stock { color: #999; font-size: 12px; margin-top: 4px; }
.product-card .prod-action { margin-top: 10px; }
.product-card .btn-cart {
    background: #e74c3c;
    color: #fff;
    border: none;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    float: right;
}
.product-card .btn-cart:hover { background: #c0392b; }

/* ---- 商品详情页 ---- */
.product-detail { background: #fff; border-radius: 10px; padding: 25px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
.product-gallery { border-radius: 8px; overflow: hidden; margin-bottom: 20px; }
.product-gallery img { width: 100%; max-height: 400px; object-fit: cover; border-radius: 8px; }
.product-info .prod-name { font-size: 22px; font-weight: bold; margin-bottom: 10px; }
.product-info .prod-desc { color: #888; margin-bottom: 15px; font-size: 14px; line-height: 1.6; }
.product-info .prod-price-area { background: #fff5f5; border-radius: 8px; padding: 15px 20px; margin-bottom: 15px; }
.product-info .prod-price-area .now { font-size: 28px; color: #e74c3c; font-weight: bold; }
.product-info .prod-price-area .old { color: #bbb; text-decoration: line-through; font-size: 15px; margin-left: 8px; }
.product-info .prod-stock-info { color: #888; font-size: 13px; margin-bottom: 15px; }
.product-info .qty-control { display: flex; align-items: center; margin-bottom: 20px; }
.product-info .qty-control button {
    width: 36px; height: 36px; border: 1px solid #ddd; background: #fff; font-size: 18px;
    cursor: pointer; border-radius: 4px; transition: all 0.2s;
}
.product-info .qty-control button:hover { border-color: #e74c3c; color: #e74c3c; }
.product-info .qty-control input {
    width: 50px; height: 36px; text-align: center; border: 1px solid #ddd; margin: 0 5px;
    border-radius: 4px; font-size: 14px;
}

/* ---- 结算页 ---- */
.checkout-page { background: #f5f5f5; min-height: 100vh; }
.checkout-header { background: #fff; padding: 15px 0; border-bottom: 2px solid #e74c3c; margin-bottom: 20px; }
.checkout-header h3 { margin: 0; color: #E74C3C; }
.checkout-box { background: #fff; border-radius: 8px; padding: 20px; margin-bottom: 15px; box-shadow: 0 1px 4px rgba(0,0,0,0.04); }
.checkout-box h5 { border-left: 4px solid #e74c3c; padding-left: 10px; margin-bottom: 15px; font-weight: bold; }
.addr-card {
    border: 2px solid #eee; border-radius: 8px; padding: 14px; margin-bottom: 10px;
    cursor: pointer; transition: all 0.2s;
}
.addr-card:hover, .addr-card.active { border-color: #e74c3c; background: #fff8f8; }
.pay-card {
    border: 2px solid #eee; border-radius: 8px; padding: 14px; text-align: center;
    cursor: pointer; transition: all 0.2s; margin-bottom: 10px;
}
.pay-card:hover, .pay-card.active { border-color: #e74c3c; }
.checkout-bottom {
    background: #fff; padding: 15px 0; border-top: 2px solid #eee;
    position: sticky; bottom: 0; z-index: 100;
}

/* ---- 辅助页面 ---- */
.page-container {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    min-height: 400px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.page-container h2 { margin-top: 0; color: #333; padding-bottom: 10px; border-bottom: 2px solid #e74c3c; }
.page-container h3 { font-size: 16px; color: #e74c3c; margin-top: 20px; }
.page-container h4 { font-size: 15px; margin-top: 16px; }
.page-container p { line-height: 1.8; color: #555; }

/* ---- 登录/注册 ---- */
.auth-page { background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%); min-height: 100vh; padding-top: 60px; }
.auth-box {
    background: #fff;
    border-radius: 12px;
    padding: 40px 30px;
    width: 420px;
    margin: 0 auto;
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}
.auth-box h3 { margin: 0 0 25px; text-align: center; color: #333; }
.auth-box .form-control { height: 44px; border-radius: 6px; margin-bottom: 15px; }
.auth-box .btn-auth {
    width: 100%;
    height: 44px;
    background: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
}
.auth-box .btn-auth:hover { background: #c0392b; }
.auth-box .auth-links { text-align: center; margin-top: 15px; color: #888; }
.auth-box .auth-links a { color: #e74c3c; }

/* ---- 发布页 ---- */
.publish-form .form-group label { font-weight: bold; }
.publish-form .form-control { border-radius: 6px; }
.publish-form textarea.form-control { min-height: 120px; }

/* ---- 弹窗遮罩 ---- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 10000;
    display: flex; align-items: center; justify-content: center;
}
.modal-dialog {
    background: #fff; border-radius: 12px; padding: 30px;
    width: 400px; max-width: 90%; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

/* ---- 工具栏 ---- */
#toolbar {
    position: fixed;
    right: 20px;
    bottom: 30%;
    z-index: 900;
}
#toolbar a {
    display: block;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    margin-bottom: 8px;
    color: #888;
    font-size: 18px;
    transition: all 0.2s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}
#toolbar a:hover { color: #e74c3c; border-color: #e74c3c; transform: scale(1.1); }

/* ---- 底部 ---- */
#footer {
    background: #2c2c2c;
    color: #aaa;
    padding: 25px 0;
    margin-top: 40px;
}
#footer .nav { margin-bottom: 8px; }
#footer .nav a { color: #ccc; margin: 0 3px; font-size: 13px; }
#footer .nav a:hover { color: #e74c3c; }
#footer .copyright { font-size: 12px; color: #777; margin: 0; }
#footer .copyright a { color: #888; }

/* ---- 响应式 ---- */
@media (max-width: 768px) {
    .header-flex { flex-wrap: wrap; gap: 10px; padding: 8px 0; }
    .logo { width: 100%; text-align: center; }
    .logo img { height: 36px; }
    .search { width: 100%; max-width: 100%; order: 2; }
    .search .search-input-wrap { height: 38px; }
    .action { width: 100%; text-align: center; order: 3; }
    .action .add { display: inline-block; }
    #navbar a { padding: 10px 12px; font-size: 13px; }
    .info-card .card-img { height: 130px; }
    .list-item .list-img { width: 100px; height: 75px; }
    .list-item .list-title { font-size: 14px; }
    .list-item .list-price { font-size: 15px; }
    .auth-box { width: 90%; padding: 30px 20px; }
}

/* ---- 返回顶部 ---- */
.back-top {
    position: fixed; right: 20px; bottom: 40px; width: 44px; height: 44px;
    background: #e74c3c; color: #fff; border-radius: 50%; text-align: center;
    line-height: 44px; cursor: pointer; z-index: 999; display: none;
    box-shadow: 0 4px 12px rgba(231,76,60,0.3);
}
.back-top.show { display: block; }

/* ============================================
   首页布局样式
   ============================================ */

/* ---- Hero Banner ---- */
.hero-banner {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 10px;
    padding: 45px 40px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero-decoration-1 {
    position: absolute; top: -30px; right: -30px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.08); border-radius: 50%;
}
.hero-decoration-2 {
    position: absolute; bottom: -40px; left: -20px;
    width: 150px; height: 150px;
    background: rgba(255,255,255,0.05); border-radius: 50%;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 {
    font-size: 30px; font-weight: bold; margin: 0 0 10px;
}
.hero-content p {
    font-size: 15px; opacity: 0.9; margin: 0 0 22px;
}
.hero-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hero-btn-primary {
    background: #fff; color: #e74c3c;
    padding: 10px 30px; border-radius: 25px;
    font-size: 15px; font-weight: bold;
    transition: all 0.2s;
}
.hero-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); color: #c0392b; }
.hero-btn-secondary {
    background: rgba(255,255,255,0.2); color: #fff;
    padding: 10px 30px; border-radius: 25px;
    font-size: 15px; font-weight: bold;
    border: 2px solid rgba(255,255,255,0.5);
    transition: all 0.2s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.3); color: #fff; }

/* ---- 分类快捷入口 ---- */
.quick-entry-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}
.quick-entry-card {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border-radius: 10px;
    padding: 18px 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    transition: all 0.3s;
    color: #333;
}
.quick-entry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
}
.qe-icon {
    width: 48px; height: 48px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 22px;
    flex-shrink: 0;
}
.qe-name { font-size: 15px; font-weight: bold; color: #333; margin-bottom: 2px; }
.qe-count { font-size: 12px; color: #999; }

/* ---- 分类信息列表区 ---- */
.info-list-row {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}
.info-list-block {
    flex: 1;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ilb-header {
    padding: 14px 18px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fafafa;
}
.ilb-title {
    font-size: 16px; font-weight: bold; color: #333;
}
.ilb-title i { color: #e74c3c; margin-right: 6px; }
.ilb-more { color: #999; font-size: 13px; }
.ilb-more:hover { color: #e74c3c; text-decoration: none; }
.ilb-list {
    list-style: none; padding: 8px 18px; margin: 0;
}
.ilb-list li {
    border-bottom: 1px dashed #f0f0f0;
}
.ilb-list li:last-child { border-bottom: none; }
.ilb-list li a {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: #555;
    transition: color 0.2s;
    gap: 8px;
}
.ilb-list li a:hover { color: #e74c3c; text-decoration: none; }
.ilb-rank {
    width: 20px; height: 20px;
    border-radius: 4px;
    background: #eee;
    color: #999;
    font-size: 12px;
    text-align: center;
    line-height: 20px;
    flex-shrink: 0;
    font-weight: bold;
}
.ilb-rank.top { background: #e74c3c; color: #fff; }
.ilb-item-title {
    flex: 1;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #555;
}
.ilb-list li a:hover .ilb-item-title { color: #e74c3c; }
.ilb-item-price {
    font-size: 13px;
    color: #e74c3c;
    font-weight: bold;
    flex-shrink: 0;
}

/* ---- 商城区域 ---- */
.mall-section {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    margin-bottom: 20px;
}
.mall-section-header {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(90deg, #fff5f5, #fff);
}
.msh-title {
    font-size: 18px; font-weight: bold; color: #333;
    display: flex; align-items: center; gap: 8px;
}
.msh-title i { color: #e74c3c; font-size: 22px; }
.msh-desc { flex: 1; font-size: 13px; color: #999; }
.msh-more {
    color: #e74c3c; font-size: 14px; font-weight: bold;
    padding: 6px 16px; border: 1px solid #e74c3c; border-radius: 20px;
    transition: all 0.2s;
}
.msh-more:hover { background: #e74c3c; color: #fff; text-decoration: none; }
.mall-product-grid { padding: 15px; }
.prod-cat-badge {
    display: inline-block;
    background: #f0f0f0;
    color: #888;
    font-size: 11px;
    padding: 1px 8px;
    border-radius: 3px;
    margin-bottom: 6px;
}

/* ---- 响应式 - 首页 ---- */
@media (max-width: 768px) {
    .quick-entry-row { flex-wrap: wrap; }
    .quick-entry-card { width: 48%; flex: none; }
    .info-list-row { flex-direction: column; }
    .hero-content h1 { font-size: 22px; }
    .hero-content p { font-size: 13px; }
    .mall-section-header { flex-wrap: wrap; gap: 8px; }
    .msh-desc { width: 100%; order: 3; }
}

/* ---- 首页轮播图 ---- */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.8s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-slide.active {
    opacity: 1;
    z-index: 1;
}
.hero-slide-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.35);
}
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}
.hero-slide .hero-content h1 {
    font-size: 36px;
    margin-bottom: 16px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.hero-slide .hero-content p {
    font-size: 18px;
    margin-bottom: 28px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.hero-buttons { display: flex; gap: 16px; justify-content: center; }
.hero-btn-primary {
    display: inline-block;
    padding: 12px 36px;
    background: #e74c3c;
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-btn-primary:hover { background: #c0392b; transform: translateY(-2px); }
.hero-btn-secondary {
    display: inline-block;
    padding: 12px 36px;
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.6);
    border-radius: 30px;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}
.hero-btn-secondary:hover { background: rgba(255,255,255,0.35); }
/* 轮播图指示点 */
.hero-dots {
    position: absolute;
    bottom: 24px;
    left: 0; right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}
.hero-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    padding: 0;
}
.hero-dot.active { background: #e74c3c; transform: scale(1.2); }
/* 左右箭头 */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px; height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border: none;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-arrow:hover { background: rgba(0,0,0,0.6); }
.hero-prev { left: 16px; }
.hero-next { right: 16px; }

/* ---- 响应式 - 轮播图 ---- */
@media (max-width: 768px) {
    .hero-carousel { height: 280px; }
    .hero-slide .hero-content h1 { font-size: 22px; }
    .hero-slide .hero-content p { font-size: 13px; }
    .hero-btn-primary, .hero-btn-secondary { padding: 8px 20px; font-size: 13px; }
}
