/* ==========================================================================
   Wujin Digital Platform - Centralized CSS
   ========================================================================== */

/* 1. 基础全局样式 (Base) */
body {
    padding: 0 !important;
    margin: 0 !important;
    color: #e7e5e4;
    overflow-x: hidden;
    background: #171311;
}

/* 修正：不要在 html 标签上强制设置浅色背景，否则会覆盖 body 的设置 */
html {
    height: 100%;
}

body.qiye-bg {
    background: #f5f5f5 !important;
}

.indexcenterwujin {
    width: 1500px;
    height: auto;
    margin: 0 auto;
}

/* 2. 颜色与功能类 (Utilities) */
.colc49649 { color: #c49649; }
.colb39055 { color: #b39055; }
.colfacc15 { color: #facc15; }
.col846647 { color: #846647; }
.cole4b464 { color: #e4b464; }
.cold5b276 { color: #d5b276; }

.bor1c49649 { border: 1px solid #c49649; }
.bor1622929 { border: 1px solid #622929; }
.bor129406d { border: 1px solid #29406d; }
.bor15a4d2a { border: 1px solid #5a4d2a; }
.bor11d5e3d { border: 1px solid #1d5e3d; }
.borb1e4b464 { border-bottom: 2px solid #e4b464; }
.bor1d5b276 { border: 1px solid #d5b276; }

.bg1f1811 { background: #1f1811; }
.bgb39055 { background: #b39055; }
.bg35291b { background: #35291b; }
.bg241c13 { background: #241c13; }
.bge4b464 { background: #e4b464; }
.bgffe5e0 { background: #ffe5e0; }
.bgfffcf4 { background: #fffcf4; }

.yuanjiao20 { -webkit-border-radius: 16px; -moz-border-radius: 16px; border-radius: 16px; }
.yuanjiao25 { -webkit-border-radius: 26px; -moz-border-radius: 26px; border-radius: 26px; }
.lineH16 { line-height: 16px; }

/* 3. 布局与渐变 (Layout) */
.bgswwls { background: linear-gradient(to right, #2c2419, #453525); }
.bgmhbg { background: linear-gradient(to right, #31271a, #292016); }
.sblss { background: linear-gradient(to bottom, rgba(44, 36, 25, 1), rgba(44, 36, 25, 0.2)); }
.opiess { background: linear-gradient(to bottom, #34291c, #271e15); }
.skwjhm { background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.6)); }
.bgqls { background: linear-gradient(to right, rgba(255, 255, 255, .0), rgba(255, 255, 255, .5), rgba(255, 255, 255, .0)); }

/* 4. 组件 - 导航与交互 (Components) */
.nav-link { transition: all 0.3s; }
.nav-link:hover { color: #c49649 !important; }

.starss { border: 1px solid #1f1811; }
.starss:hover {
    border: 1px solid #b99457;
    box-shadow: 0px 0px 10px #b99457;
}

.bloes {
    background-image: url("../img/wujin/bja.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: #fff;
    transition: all 0.3s;
}
.bloes:hover { color: #d6a85b; }
.bloes:hover img { width: 85px; height: 85px; }
.bloes:hover .ssded { margin-top: 30px; }
.bloes:hover > div { background: rgba(222, 197, 157, .1); border: 1px solid #b99457; }

.poipio { box-shadow: 0px 0px 10px #ffdea6; }

/* 5. 组件 - 弹窗与展示 (Overlays) */
.marsk { background: rgba(0, 0, 0, 0.6); position: fixed; z-index: 99; width: 100%; height: 100vh; }
.qrcode {
    width: 400px; height: 600px; overflow: hidden; background: #fff; position: fixed;
    z-index: 100; top: 50%; left: 50%; margin-top: -300px; margin-left: -200px;
    border-radius: 10px; text-align: center;
}
.qrcode h1 { font-size: 18px; line-height: 50px; }
.qrcode img { width: 300px; height: 300px; margin: 0px 50px; }
.qrcode h2 { text-align: center; color: red; font-size: 20px; }
.qrcode a { display: block; padding: 20px; font-size: 16px; width: calc(80% - 20px); margin: 0px 10%; border-radius: 20px; }
.qrcode a.success { background: #ff7200; color: #fff; }

.buttonshow { width: auto; height: auto; overflow: hidden; text-align: right; color: #fff; clear: both; display: flex; justify-content: flex-end; }
.buttonvideo { background: #d4921e; padding: 10px 40px; border-radius: 30px; line-height: 30px; }
.buttonvideo a { display: block; }

/* 6. 产品标准化组件 (Standardized Product Components) */

/* 网格布局 */
.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* 产品卡片 */
.product-card {
    background: #1f1811;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #2a2116;
    transition: all 0.3s;
    cursor: pointer;
}
.product-card:hover { border-color: #b39055; transform: translateY(-5px); box-shadow: 0 8px 25px rgba(180, 145, 86, 0.2); }
.product-card-img { width: 100%; height: 140px; overflow: hidden; background: #241c13; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.product-card:hover .product-card-img img { transform: scale(1.08); }
.product-card-info { padding: 12px 15px; }
.product-card-name { font-size: 14px; color: #e7e5e4; line-height: 20px; height: 40px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 8px; }
.product-card-price { font-size: 16px; color: #fc7c4f; font-weight: 600; margin-bottom: 5px; }
.product-card-price small { font-size: 12px; color: #999; font-weight: 400; }
.product-card-spec { font-size: 12px; color: #888; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

/* 分页组件 */
.products-pagination { display: flex; justify-content: center; align-items: center; margin-top: 40px; gap: 10px; }
.pagination-btn {
    padding: 8px 16px; border: 1px solid #3d3225; background: #241c13; color: #999;
    border-radius: 4px; cursor: pointer; transition: all 0.3s; min-width: 40px;
    display: flex; align-items: center; justify-content: center;
}
.pagination-btn:hover:not(.disabled):not(.active) { border-color: #b39055; color: #e7e5e4; }
.pagination-btn.active { background: linear-gradient(to right, #c49649, #b39055); border-color: #b39055; color: #fff; }
.pagination-btn.disabled { opacity: 0.4; cursor: not-allowed; }
.pagination-info { color: #666; font-size: 14px; margin: 0 15px; }

/* 详情弹窗 */
.product-detail-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85); z-index: 1000; justify-content: center; align-items: center;
}
.product-detail-modal.active { display: flex; }
.modal-container {
    width: 1100px; max-width: 98%; height: 800px; max-height: 95vh;
    background: #1f1811; border-radius: 16px; overflow: hidden;
    animation: modalSlideIn 0.3s ease; display: flex; flex-direction: column;
}
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
.modal-close-btn {
    position: absolute; top: 20px; right: 20px; width: 44px; height: 44px;
    background: rgba(255, 255, 255, 0.1); border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; color: #fff; font-size: 24px; transition: background 0.3s; z-index: 1001;
}
.modal-close-btn:hover { background: rgba(255, 255, 255, 0.2); }
.modal-product-main { display: flex; flex-shrink: 0; }
.modal-product-left { width: 50%; background: #241c13; padding: 20px; }
.modal-product-right { width: 50%; }
.modal-product-body { padding: 25px 30px; }
.modal-product-title { font-size: 22px; font-weight: 600; color: #e7e5e4; margin-bottom: 12px; }
.modal-product-price { font-size: 28px; color: #fc7c4f; font-weight: 600; margin-bottom: 20px; }
.modal-product-price small { font-size: 14px; color: #999; font-weight: 400; }
.modal-info-list { background: rgba(42, 33, 22, 0.5); border-radius: 10px; overflow: hidden; margin-bottom: 20px; }
.modal-info-row { display: flex; align-items: center; padding: 12px 15px; border-bottom: 1px solid #3d3225; }
.modal-info-row:last-child { border-bottom: none; }
.modal-info-label { color: #888; font-size: 13px; width: 80px; flex-shrink: 0; }
.modal-info-value { color: #e7e5e4; font-size: 13px; }
.modal-section-title { font-size: 16px; font-weight: 600; color: #b39055; margin-bottom: 12px; padding-left: 10px; border-left: 3px solid #b39055; }
.modal-desc-section { padding: 20px 25px; border-top: 1px solid #2a2116; background: #1a1510; flex: 1; overflow-y: auto; }
.modal-product-desc { font-size: 14px; color: #999; line-height: 24px; }
.modal-buy-bar { flex-shrink: 0; padding: 15px 25px; background: #1f1811; border-top: 1px solid #2a2116; display: flex; justify-content: center; }
.modal-buy-btn {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 40px; background: linear-gradient(135deg, #fc7c4f, #e56b3e);
    border: none; border-radius: 25px; color: #fff; font-size: 15px; font-weight: 500;
    cursor: pointer; transition: all 0.3s;
}
.modal-buy-btn:hover { box-shadow: 0 4px 15px rgba(252, 124, 79, 0.4); transform: translateY(-2px); }

/* 轮播图控制 */
.modal-img-carousel { position: relative; }
.carousel-main { width: 100%; height: 280px; background: #1f1811; border-radius: 12px; overflow: hidden; margin-bottom: 15px; }
.carousel-main img { width: 100%; height: 100%; object-fit: cover; }
.carousel-thumbs { display: flex; gap: 10px; }
.carousel-thumbs .thumb { width: 70px; height: 50px; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: all 0.3s; }
.carousel-thumbs .thumb.active { border-color: #b39055; }
.carousel-thumbs .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* 购买渠道弹窗 */
.purchase-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); z-index: 2000; justify-content: center; align-items: center;
}
.purchase-modal.active { display: flex; }
.purchase-modal-content { width: 500px; max-width: 90%; max-height: 85vh; background: #1f1811; border-radius: 16px; overflow-y: auto; animation: modalSlideIn 0.3s ease; display: flex; flex-direction: column; }
.purchase-modal-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; background: #241c13; border-bottom: 1px solid #3d3225; position: sticky; top: 0; z-index: 10; }
.purchase-modal-header h3 { color: #e7e5e4; font-size: 18px; font-weight: 600; }
.purchase-modal-close { width: 32px; height: 32px; background: rgba(255, 255, 255, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #999; font-size: 20px; cursor: pointer; transition: all 0.3s; }
.purchase-modal-close:hover { background: rgba(255, 255, 255, 0.2); color: #fff; }
.purchase-channels { padding: 15px; }
.purchase-channel-item { display: flex; align-items: center; padding: 15px 20px; background: #241c13; border-radius: 12px; margin-bottom: 15px; border: 1px solid #3d3225; transition: all 0.3s; }
.purchase-channel-item:hover { background: #2a2116; border-color: #b39055; }
.channel-info { flex: 1; }
.channel-name { color: #e7e5e4; font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.channel-desc { color: #888; font-size: 13px; }
.channel-action { margin-left: 15px; display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.channel-btn { display: inline-block; padding: 8px 18px; background: linear-gradient(to right, #fc7c4f, #e56b3e); color: #fff !important; border-radius: 18px; font-size: 13px; font-weight: 500; transition: all 0.3s; }
.channel-qr-code { width: 120px; height: 120px; background: #fff; padding: 5px; border-radius: 8px; }
.channel-qr-code img { width: 100%; height: 100%; object-fit: contain; }
.channel-qr-text { color: #c49649; font-size: 12px; font-weight: 500; }

/* 7. 企业模块样式 (Legacy/Compatible) */
.qiye-products-section { width: 100%; padding: 30px 0; }
.qiye-search-box { display: flex; align-items: center; gap: 15px; padding: 20px 25px; background: #1f1811; border-radius: 16px; margin-bottom: 30px; }
.qiye-search-label { color: #b39055; font-size: 16px; font-weight: 500; white-space: nowrap; }
.qiye-search-select, .qiye-search-input { height: 40px; padding: 0 15px; background: #2a2116; border: 1px solid #3d3225; border-radius: 8px; color: #e7e5e4; font-size: 14px; outline: none; transition: border-color 0.3s; }
.qiye-search-select:focus, .qiye-search-input:focus { border-color: #b39055; }
.qiye-search-select { min-width: 140px; cursor: pointer; }
.qiye-search-input { width: 300px; }
.qiye-search-btn { height: 40px; padding: 0 30px; background: linear-gradient(to right, #c49649, #b39055); border: none; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.qiye-search-btn:hover { background: linear-gradient(to right, #d4a85a, #c49649); box-shadow: 0 4px 12px rgba(180, 145, 86, 0.3); }

.qiye-company-card { background: #1f1811; border-radius: 16px; padding: 20px; margin-bottom: 25px; border: 1px solid #2a2116; transition: all 0.3s; }
.qiye-company-card:hover { border-color: #b39055; box-shadow: 0 4px 20px rgba(180, 145, 86, 0.15); }
.qiye-company-header { display: flex; align-items: center; padding-bottom: 15px; border-bottom: 1px solid #2a2116; margin-bottom: 15px; }
.qiye-company-logo { width: 80px; height: 80px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: #2a2116; }
.qiye-company-logo img { width: 100%; height: 100%; object-fit: cover; }
.qiye-company-info { flex: 1; padding-left: 20px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.qiye-company-name { font-size: 18px; font-weight: 600; color: #e7e5e4; cursor: pointer; transition: color 0.3s; display: flex; align-items: center; gap: 8px; }
.qiye-company-name::before { content: ''; width: 4px; height: 20px; background: linear-gradient(to bottom, #b39055, #846647); border-radius: 2px; flex-shrink: 0; }
.qiye-company-meta { display: flex; align-items: center; gap: 20px; padding-left: 12px; }
.qiye-company-region { display: flex; align-items: center; color: #999; font-size: 14px; background: rgba(42, 33, 22, 0.6); padding: 4px 12px; border-radius: 15px; border: 1px solid #3d3225; }
.qiye-company-region::before { content: '📍'; font-size: 12px; margin-right: 5px; }
.qiye-company-count { display: flex; align-items: center; color: #c49649; font-size: 14px; font-weight: 500; }
.qiye-company-count::before { content: ''; width: 6px; height: 6px; background: #c49649; border-radius: 50%; margin-right: 8px; }

/* 详情卡片 (Alternative) */
.company-profile { background: #1f1811; border-radius: 16px; padding: 25px 30px; margin-bottom: 25px; border: 1px solid #2a2116; }
.company-profile-header { display: flex; align-items: flex-start; gap: 25px; width: 100%; }
.company-logo-big { width: 100px; height: 100px; border-radius: 16px; overflow: hidden; background: #2a2116; flex-shrink: 0; border: 2px solid #3d3225; }
.company-logo-big img { width: 100%; height: 100%; object-fit: cover; }
.company-profile-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.company-profile-name { font-size: 22px; font-weight: 600; color: #e7e5e4; display: flex; align-items: center; gap: 12px; }
.company-profile-name::before { content: ''; width: 4px; height: 24px; background: linear-gradient(to bottom, #b39055, #846647); border-radius: 2px; flex-shrink: 0; }
.company-profile-meta { display: flex; align-items: center; gap: 15px; flex-wrap: wrap; }
.company-profile-meta .meta-item { display: flex; align-items: center; gap: 8px; color: #999; font-size: 14px; background: rgba(42, 33, 22, 0.6); padding: 6px 14px; border-radius: 18px; border: 1px solid #3d3225; }
.company-profile-meta .meta-item.region { color: #b39055; }
.company-profile-meta .meta-item.count { color: #c49649; font-weight: 500; }
.company-profile-meta .meta-item.region::before { content: '📍'; }
.company-profile-meta .meta-item.count::before { content: '📦'; }
.company-profile-desc { color: #888; font-size: 14px; line-height: 24px; padding: 15px; background: rgba(42, 33, 22, 0.4); border-radius: 10px; border-left: 3px solid #b39055; }

/* 筛选与城市选择器 */
.filter-section { display: flex; align-items: center; gap: 15px; padding: 20px; background: #1f1811; border-radius: 12px; margin-bottom: 25px; flex-wrap: wrap; }
.filter-input { height: 38px; padding: 0 15px; background: #2a2116; border: 1px solid #3d3225; border-radius: 8px; color: #e7e5e4; font-size: 14px; outline: none; width: 200px; transition: border-color 0.3s; }
.filter-input:focus { border-color: #b39055; }
.filter-btn { height: 38px; padding: 0 25px; background: linear-gradient(to right, #c49649, #b39055); border: none; border-radius: 8px; color: #fff; font-size: 14px; font-weight: 500; cursor: pointer; transition: all 0.3s; }
.filter-btn:hover { background: linear-gradient(to right, #d4a85a, #c49649); box-shadow: 0 4px 12px rgba(180, 145, 86, 0.3); }
.filter-select { height: 38px; padding: 0 15px; background: #2a2116; border: 1px solid #3d3225; border-radius: 8px; color: #e7e5e4; font-size: 14px; outline: none; cursor: pointer; min-width: 130px; transition: border-color 0.3s; }

.qiye-city-wrap {
    min-width: 750px;
    flex-shrink: 0;
}

.city-picker-selector {
    display: flex !important;
    gap: 12px;
    width: 100%;
}

.city-picker-selector .selector-item {
    flex: 1;
    float: none !important;
    margin: 0 !important;
    height: 40px;
    background: #2a2116;
    border: 1px solid #3d3225;
    border-radius: 8px;
    color: #e7e5e4;
    position: relative;
}

.city-picker-selector .selector-name {
    line-height: 40px;
    font-size: 14px;
    color: #e7e5e4 !important;
    padding: 0 10px;
}

/* 8. 其他模块与补丁 */
.active::before, .timi:hover::before { display: none !important; }
.qiye-no-data { text-align: center; padding: 60px 20px; color: #666; }
.qiye-no-data img { width: 120px; height: 120px; margin-bottom: 20px; opacity: 0.5; }

/* 企业产品列表页专有样式 (Enterprise Products List Page) */
.qiye-city-wrap { width: 300px; }
.qiye-all-products-btn { display: flex; align-items: center; gap: 8px; padding: 8px 18px; background: rgba(179, 144, 85, 0.1); border: 1px solid #b39055; border-radius: 20px; color: #b39055 !important; font-size: 14px; transition: all 0.3s; }
.qiye-all-products-btn:hover { background: #b39055; color: #fff !important; }

.qiye-products-scroll { position: relative; padding: 0 45px; margin-top: 20px; }
.qiye-scroll-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; background: rgba(0, 0, 0, 0.5); border: 1px solid #3d3225; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; cursor: pointer; transition: all 0.3s; z-index: 5; }
.qiye-scroll-btn:hover { background: #b39055; border-color: #b39055; }
.qiye-scroll-left { left: 0; }
.qiye-scroll-right { right: 0; }

.qiye-products-track-wrapper { overflow: hidden; width: 100%; }
.qiye-products-track { display: flex; gap: 15px; transition: transform 0.5s ease; width: max-content; }
.qiye-product-item { width: 180px; flex-shrink: 0; cursor: pointer; transition: transform 0.3s; }
.qiye-product-item:hover { transform: translateY(-5px); }
.qiye-product-img { width: 100%; height: 120px; background: #2a2116; border-radius: 8px; overflow: hidden; margin-bottom: 10px; }
.qiye-product-img img { width: 100%; height: 100%; object-fit: cover; }
.qiye-product-info { padding: 0 5px; }
.qiye-product-name { color: #e7e5e4; font-size: 13px; line-height: 18px; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 5px; }
.qiye-product-price { color: #fc7c4f; font-size: 14px; font-weight: 500; }
.qiye-scroll-mask { position: absolute; top: 0; right: 45px; width: 60px; height: 100%; background: linear-gradient(to right, transparent, #1f1811); pointer-events: none; z-index: 2; }

/* 背景通用补丁 */
.background-dark { background: #171311 !important; }

/* 9. 响应式媒体查询 */
@media (max-width: 1200px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .company-profile-header { flex-direction: column; text-align: center; }
    .company-profile-info { padding-left: 0; padding-top: 20px; }
    .modal-product-main { flex-direction: column; }
    .modal-product-left, .modal-product-right { width: 100%; }
}
@media (max-width: 600px) { .products-grid { grid-template-columns: 1fr; } }

/* ===== 产品详情弹窗（两个页面共用）===== */
.product-detail-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}
.product-detail-modal.active { display: flex; }

.modal-close-btn {
    position: fixed;
    top: 20px; right: 24px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-size: 26px;
    z-index: 1001;
    transition: background 0.2s;
    line-height: 1;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.22); }

.modal-container {
    width: 860px;
    max-width: 96%;
    background: #1f1811;
    border-radius: 16px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
    margin: 30px auto;
}
@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* 上半部：左图右信息 */
.modal-product-main {
    display: flex;
    gap: 0;
}
.modal-product-left {
    width: 380px;
    flex-shrink: 0;
    padding: 24px 20px 20px 24px;
    box-sizing: border-box;
}
.modal-product-right {
    flex: 1;
    padding: 24px 24px 20px 20px;
    box-sizing: border-box;
    border-left: 1px solid #2a2116;
    display: flex;
    flex-direction: column;
}

/* 右侧内容 */
.modal-product-body { flex: 1; }
.modal-product-title {
    font-size: 20px;
    font-weight: 600;
    color: #e7e5e4;
    margin-bottom: 10px;
    line-height: 1.4;
}
.modal-product-price {
    font-size: 26px;
    color: #fc7c4f;
    font-weight: 700;
    margin-bottom: 18px;
}
.modal-product-price small {
    font-size: 14px;
    color: #999;
    font-weight: 400;
}

.modal-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}
.modal-info-row {
    display: flex;
    align-items: flex-start;
    font-size: 14px;
}
.modal-info-label {
    width: 72px;
    color: #888;
    flex-shrink: 0;
}
.modal-info-value {
    color: #ccc;
    flex: 1;
    word-break: break-all;
}

/* 购买按钮 */
.modal-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    background: linear-gradient(to right, #fc7c4f, #e56b3e);
    border: none;
    border-radius: 23px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
}
.modal-buy-btn img { width: 20px; height: 20px; }
.modal-buy-btn:hover {
    box-shadow: 0 6px 20px rgba(252,124,79,0.4);
    transform: translateY(-2px);
}

/* 下半部：详情介绍（全宽） */
.modal-desc-section {
    padding: 20px 24px;
    border-top: 1px solid #2a2116;
}
.modal-section-title {
    font-size: 15px;
    font-weight: 600;
    color: #b39055;
    margin-bottom: 10px;
    padding-left: 10px;
    border-left: 3px solid #b39055;
}
.modal-product-desc {
    font-size: 14px;
    color: #999;
    line-height: 26px;
}

/* ===== 购买渠道弹窗 ===== */
.purchase-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1100;
    justify-content: center;
    align-items: center;
}
.purchase-modal.active { display: flex; }

.purchase-modal-content {
    width: 480px;
    max-width: 94%;
    background: #1f1811;
    border-radius: 14px;
    overflow: hidden;
    animation: modalSlideIn 0.25s ease;
}
.purchase-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #2a2116;
}
.purchase-modal-header h3 { color: #e7e5e4; font-size: 16px; }
.purchase-modal-close {
    font-size: 24px;
    color: #888;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.purchase-modal-close:hover { color: #fff; }

.purchase-channels { padding: 16px 20px; display: flex; flex-direction: column; gap: 14px; }
.purchase-channel-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    background: #241c13;
    border-radius: 10px;
    border: 1px solid #2a2116;
}
.channel-name { color: #e7e5e4; font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.channel-desc { color: #888; font-size: 13px; }
.channel-action { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.channel-qr-code { width: 80px; height: 80px; border-radius: 6px; overflow: hidden; background: #fff; }
.channel-qr-code img { width: 100%; height: 100%; object-fit: contain; display: block; }
.channel-qr-text { font-size: 12px; color: #999; }
.channel-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(to right, #c49649, #b39055);
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
}
.channel-btn:hover { box-shadow: 0 4px 12px rgba(180,145,86,0.4); transform: translateY(-1px); color: #fff; }

/* 响应式 */
@media (max-width: 860px) {
    .modal-product-main { flex-direction: column; }
    .modal-product-left { width: 100%; padding: 20px 20px 10px; }
    .modal-product-right { border-left: none; border-top: 1px solid #2a2116; padding: 16px 20px; }
}