/* ============================================================
   三骑机械 · 电商模块扩展样式 (追加于 site.css)
   ============================================================ */

/* ---------- Banner 轮播 ---------- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slide {
    background: linear-gradient(135deg, rgba(11,26,43,.92) 0%, rgba(31,56,83,.9) 55%, rgba(39,74,107,.85) 100%), url('/static/site/hero-bg.svg') no-repeat center bottom / cover;
    color: #fff; padding: 60px 0 64px; position: relative; height: 560px;
    display: flex; align-items: center;
}
.hero-slide::before { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(11,26,43,.55) 0%, rgba(11,26,43,0) 70%); pointer-events:none; }
.hero-slide::after { content:''; position:absolute; right:-60px; bottom:-60px; width:340px; height:340px; background: radial-gradient(circle, rgba(212,46,46,.3), transparent 70%); border-radius:50%; }
.hero-slide .container { position: relative; z-index: 2; width: 100%; }
.hero-slide .tag { background: #f5b342; color: #0b1a2b; padding: 5px 18px; border-radius: 60px; font-weight: 700; font-size: 12px; display: inline-block; margin-bottom: 16px; letter-spacing: .5px; box-shadow: 0 4px 12px rgba(245,179,66,.3); }
.hero-slide h1 { font-size: 40px; font-weight: 800; letter-spacing: -.5px; line-height: 1.18; margin-bottom: 12px; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-slide p { font-size: 16px; opacity: .9; max-width: 600px; margin-bottom: 8px; }
.hero-slide .btns { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }

/* 信任徽章 */
.hero-slide .hero-trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; }
.hero-slide .hero-trust span { font-size: 13px; color: rgba(255,255,255,.85); display: inline-flex; align-items: center; gap: 6px; }
.hero-slide .hero-trust span::before { content:''; width: 6px; height: 6px; border-radius: 50%; background: #f5b342; display: inline-block; }

/* 设备搜索框 */
.hero-slide .hero-search { display: flex; max-width: 520px; margin-top: 22px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 50px; padding: 5px; backdrop-filter: blur(6px); }
.hero-slide .hero-search input { flex: 1; background: transparent; border: none; outline: none; color: #fff; padding: 10px 18px; font-size: 14px; min-width: 0; }
.hero-slide .hero-search input::placeholder { color: rgba(255,255,255,.55); }
.hero-slide .hero-search button { background: #d42e2e; color: #fff; border: none; border-radius: 40px; padding: 10px 26px; font-weight: 700; font-size: 14px; cursor: pointer; transition: .2s; }
.hero-slide .hero-search button:hover { background: #b82222; }

/* 数据条 */
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 30px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats .hs-item { text-align: left; }
.hero-stats .hs-num { font-size: 26px; font-weight: 800; color: #f5b342; line-height: 1.1; }
.hero-stats .hs-label { font-size: 12.5px; color: rgba(255,255,255,.7); margin-top: 2px; }
@media (max-width: 760px) {
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hero-stats .hs-num { font-size: 22px; }
    .hero-slide { padding: 44px 0 54px; height: 620px; align-items: center; }
}

.hero-dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0 0; position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 5; }
.hero-dots span { width: 10px; height: 10px; border-radius: 20px; background: rgba(255,255,255,.3); cursor: pointer; transition: .25s; }
.hero-dots span.active { width: 30px; background: #f5b342; }

/* 核心数据条 (hero 下方) */
.hero-stats-wrap { background: #0b1a2b; border-top: 3px solid #d42e2e; padding: 20px 0; }
.hero-stats-wrap .hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 0; padding-top: 0; border-top: none; }
.hero-stats-wrap .hs-item { text-align: center; }
.hero-stats-wrap .hs-num { font-size: 30px; font-weight: 800; color: #f5b342; line-height: 1.1; }
.hero-stats-wrap .hs-label { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
@media (max-width: 760px) {
    .hero-stats-wrap .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .hero-stats-wrap .hs-num { font-size: 24px; }
}

/* ---------- 分类快捷入口 ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; }

/* ---------- 流程步骤条 (卖设备/购买说明) ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 26px 0 10px; }
.step-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px 16px; text-align: center; position: relative; }
.step-item .st-icon { width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 50%; background: #0b1a2b; color: #f5b342; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.step-item .st-num { position: absolute; top: -10px; left: 12px; background: #d42e2e; color: #fff; font-size: 12px; font-weight: 700; min-width: 22px; height: 22px; border-radius: 20px; display: flex; align-items: center; justify-content: center; padding: 0 6px; }
.step-item .st-title { font-size: 14.5px; font-weight: 700; color: #0b1a2b; margin-bottom: 4px; }
.step-item .st-desc { font-size: 12.5px; color: #8aa3bb; }
@media (max-width: 760px) {
    .steps-row { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

/* ---------- 优势卡片 (卖设备/服务保障) ---------- */
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; margin: 26px 0 10px; }
.adv-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px 20px; text-align: center; transition: .2s; }
.adv-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(11,26,43,.1); border-color: #d42e2e; }
.adv-card .ad-icon { font-size: 38px; margin-bottom: 12px; }
.adv-card .ad-title { font-size: 16px; font-weight: 800; color: #0b1a2b; margin-bottom: 8px; }
.adv-card .ad-desc { font-size: 13px; color: #5a6b7c; line-height: 1.7; }

/* ---------- 单页内容卡片 (服务保障/购买说明) ---------- */
.content-page .sec-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px 26px; margin-bottom: 18px; }
.content-page .sec-card h3 { font-size: 17px; font-weight: 800; color: #0b1a2b; margin: 0 0 12px; padding-left: 12px; border-left: 4px solid #d42e2e; display: flex; align-items: center; gap: 8px; }
.content-page .sec-card h3 .sc-ico { font-size: 20px; }
.content-page .sec-card p { color: #5a6b7c; font-size: 14px; line-height: 1.9; margin-bottom: 6px; }
.content-page .sec-card ul, .content-page .sec-card ol { padding-left: 20px; color: #5a6b7c; font-size: 14px; line-height: 1.9; }
.content-page .pay-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-top: 8px; }
.content-page .pay-item { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; padding: 16px; text-align: center; }
.content-page .pay-item .pi-ico { font-size: 30px; margin-bottom: 8px; }
.content-page .pay-item .pi-name { font-weight: 700; font-size: 14px; color: #0b1a2b; }
.content-page .pay-item .pi-desc { font-size: 12.5px; color: #8aa3bb; margin-top: 4px; }
.content-page .cta-row { text-align: center; margin-top: 10px; padding: 10px 0 4px; }

/* ---------- 单页 FAQ (折叠) ---------- */
.content-page .faq-list { margin: 6px 0 0; }
.content-page .faq-item { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.content-page .faq-item summary { cursor: pointer; padding: 14px 18px; font-size: 14.5px; font-weight: 700; color: #0b1a2b; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.content-page .faq-item summary::-webkit-details-marker { display: none; }
.content-page .faq-item summary::after { content: '+'; font-size: 20px; color: #d42e2e; transition: .2s; }
.content-page .faq-item[open] summary::after { content: '−'; }
.content-page .faq-item .faq-a { padding: 0 18px 16px; font-size: 13.5px; color: #5a6b7c; line-height: 1.8; }
/* 单页内小标题列表 */
.content-page .sub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.content-page .sub-item { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 10px; padding: 14px 16px; }
.content-page .sub-item b { color: #0b1a2b; font-size: 13.5px; display: block; margin-bottom: 4px; }
.content-page .sub-item span { font-size: 12.5px; color: #5a6b7c; line-height: 1.6; }

/* ---------- 卖设备页布局 ---------- */
.sell-layout { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; margin-top: 10px; }
.sell-main .auth-card { max-width: none; }
.sell-side { position: sticky; top: 80px; }
.sell-benefits { list-style: none; padding: 0; margin: 0; }
.sell-benefits li { font-size: 13.5px; color: #5a6b7c; padding: 10px 0; border-bottom: 1px dashed #eef2f6; line-height: 1.6; }
.sell-benefits li:last-child { border-bottom: none; }
.sell-benefits li b { color: #0b1a2b; display: block; font-size: 14px; }
@media (max-width: 900px) {
    .sell-layout { grid-template-columns: 1fr; }
    .sell-side { position: static; }
}

/* ---------- 内页横幅页头 (统一视觉) ---------- */
.page-banner {
    background: linear-gradient(120deg, rgba(11,26,43,.95) 0%, rgba(31,56,83,.92) 55%, rgba(39,74,107,.88) 100%), url('/static/site/hero-bg.svg') no-repeat center bottom / cover;
    color: #fff; padding: 34px 0 36px; position: relative; border-bottom: 3px solid #d42e2e;
}
.page-banner::before { content:''; position:absolute; inset:0; background: linear-gradient(90deg, rgba(11,26,43,.5), rgba(11,26,43,0) 70%); pointer-events:none; }
.page-banner .container { position: relative; z-index: 2; }
.page-banner .pb-crumb { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 8px; }
.page-banner .pb-crumb a { color: #f5b342; }
.page-banner .pb-crumb a:hover { color: #fff; }
.page-banner h1 { font-size: 30px; font-weight: 800; letter-spacing: -.3px; margin-bottom: 6px; text-shadow: 0 2px 12px rgba(0,0,0,.25); }
.page-banner h1 span { color: #f5b342; }
.page-banner .pb-sub { font-size: 14px; color: rgba(255,255,255,.78); }
@media (max-width: 900px) {
    .page-banner { padding: 26px 0 28px; }
    .page-banner h1 { font-size: 24px; }
}
@media (max-width: 480px) {
    .page-banner h1 { font-size: 21px; }
    .page-banner .pb-sub { font-size: 13px; }
}
.cat-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px 10px; text-align: center; transition: .2s; }
.cat-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(11,26,43,.1); border-color: #d42e2e; }
.cat-item .ci-icon { font-size: 32px; margin-bottom: 8px; }
.cat-item .ci-name { font-weight: 700; font-size: 14px; }

/* ---------- 产品卡片 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.prod-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; transition: .25s; display: flex; flex-direction: column; }
.prod-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(11,26,43,.12); }
.prod-card .p-cover { height: 170px; background: #eef2f6; position: relative; }
.prod-card .p-cover img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .p-cover .p-noimg { display:flex; align-items:center; justify-content:center; height:100%; font-size: 42px; opacity:.35; }
.prod-card .p-tags { position: absolute; top: 10px; left: 10px; display: flex; gap: 6px; }
.prod-card .p-tag { background: #d42e2e; color: #fff; font-size: 11px; padding: 2px 10px; border-radius: 20px; font-weight: 700; }
.prod-card .p-tag.gold { background: #f5b342; color: #0b1a2b; }
.prod-card .p-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }
.prod-card .p-brand { color: #8aa3bb; font-size: 12px; margin-bottom: 4px; }
.prod-card .p-title { font-size: 15px; font-weight: 700; line-height: 1.4; margin-bottom: 6px; }
.prod-card .p-title a:hover { color: #d42e2e; }
.prod-card .p-model { color: #5a6b7c; font-size: 12.5px; margin-bottom: 8px; }
.prod-card .p-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 12px; }
.prod-card .p-price .val { color: #d42e2e; font-size: 19px; font-weight: 800; }
.prod-card .p-price .cur { color: #d42e2e; font-size: 12px; font-weight: 700; }
.prod-card .p-price .inq { color: #b45309; font-size: 15px; font-weight: 700; background: #fef3c7; padding: 3px 12px; border-radius: 6px; }
.prod-card .p-actions { margin-top: auto; display: flex; gap: 8px; }

/* ---------- 产品列表筛选 ---------- */
.filter-bar { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 16px 20px; margin-bottom: 22px; }
.filter-bar .fb-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.filter-bar .fb-label { color: #5a6b7c; font-weight: 600; font-size: 13px; min-width: 50px; }
.filter-bar a.fb-link { padding: 6px 14px; border-radius: 30px; font-size: 13px; color: #2c3e50; transition: .15s; }
.filter-bar a.fb-link:hover { color: #d42e2e; }
.filter-bar a.fb-link.active { background: #d42e2e; color: #fff; font-weight: 600; }
.filter-bar .fb-search { display: flex; margin-left: auto; }
.filter-bar .fb-search input { padding: 8px 14px; border: 1px solid #e2e8f0; border-radius: 30px 0 0 30px; outline: none; width: 200px; font-size: 13px; }
.filter-bar .fb-search button { padding: 8px 18px; border: none; background: #d42e2e; color: #fff; border-radius: 0 30px 30px 0; cursor: pointer; font-weight: 600; font-size: 13px; }
@media (max-width: 760px) {
    .filter-bar .fb-search { flex-wrap: wrap; gap: 8px; width: 100%; margin-left: 0; margin-top: 8px; }
    .filter-bar .fb-search select,
    .filter-bar .fb-search input[type="number"] { width: 88px; flex: 1 1 auto; border-radius: 8px; }
    .filter-bar .fb-search input[type="text"] { flex: 1 1 100%; width: 100%; min-width: 0; border-radius: 30px; }
    .filter-bar .fb-search button { border-radius: 30px; flex: 1; }
}
.filter-bar .fb-tag { display: inline-flex; align-items: center; gap: 6px; background: #fef3c7; color: #92400e; border: 1px solid #fde68a; padding: 4px 12px; border-radius: 30px; font-size: 12.5px; }
.filter-bar .fb-tag a { color: #d42e2e; font-weight: 700; text-decoration: none; }
.filter-bar .fb-clear { color: #8aa3bb; font-size: 12.5px; text-decoration: underline; }
.filter-bar .fb-clear:hover { color: #d42e2e; }
mark.kw { background: #fef08a; color: #92400e; padding: 0 2px; border-radius: 3px; }

/* 排行榜 */
.rank-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.rank-col { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 22px; }
.rank-title { font-size: 17px; font-weight: 800; color: #0b1a2b; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid #f1f5f9; }
.rank-list { list-style: none; padding: 0; margin: 0; }
.rank-list li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #eef2f6; font-size: 13.5px; }
.rank-list li:last-child { border-bottom: none; }
.rank-list .rk-num { width: 26px; height: 26px; flex-shrink: 0; border-radius: 8px; background: #eef2f6; color: #5a6b7c; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; }
.rank-list .rk-num.top { background: #d42e2e; color: #fff; }
.rank-list .rk-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #0b1a2b; font-weight: 500; }
.rank-list .rk-name:hover { color: #d42e2e; }
.rank-list .rk-meta { color: #8aa3bb; font-size: 12px; flex-shrink: 0; }
.rank-list .rk-price { color: #d42e2e; font-weight: 700; font-size: 13px; flex-shrink: 0; }

/* 产品详情: 快捷联系/服务保障/分享/灯箱/采购流程 */
.pd-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pd-contact .pc-btn { flex: 1; min-width: 110px; text-align: center; padding: 11px 10px; border-radius: 10px; font-weight: 700; font-size: 13.5px; transition: .2s; }
.pc-phone { background: #0b1a2b; color: #fff; }
.pc-phone:hover { background: #1f3853; color: #fff; }
.pc-mail { background: #d42e2e; color: #fff; }
.pc-mail:hover { background: #b82222; color: #fff; }
.pc-online { background: #f5b342; color: #0b1a2b; }
.pc-online:hover { background: #e0a030; }
.pd-secure { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; padding: 10px 14px; background: #f1f5f9; border-radius: 10px; font-size: 12.5px; color: #2c3e50; }
.pd-share { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 13px; color: #8aa3bb; }
.pd-share a { color: #5a6b7c; padding: 3px 10px; border: 1px solid #e2e8f0; border-radius: 30px; font-size: 12.5px; }
.pd-share a:hover { color: #d42e2e; border-color: #d42e2e; }

/* 灯箱 */
.lightbox { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.9); z-index: 9999; align-items: center; justify-content: center; flex-direction: column; }
.lightbox.show { display: flex; }
.lightbox #lbImg { max-width: 90vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.lightbox .lb-close { position: absolute; top: 20px; right: 30px; color: #fff; font-size: 34px; cursor: pointer; }
.lightbox .lb-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: #fff; font-size: 52px; cursor: pointer; padding: 10px 16px; user-select: none; opacity: .8; }
.lightbox .lb-arrow:hover { opacity: 1; }
.lightbox .lb-prev { left: 20px; }
.lightbox .lb-next { right: 20px; }
.lightbox .lb-counter { position: absolute; bottom: 24px; color: #fff; font-size: 14px; }
.pd-main { position: relative; }
.pd-zoom { position: absolute; right: 10px; bottom: 10px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 20px; pointer-events: none; }

/* 采购流程 */
.pd-process { margin-top: 40px; }
.pd-process h3, .pd-params h3, .pd-desc h3 { font-size: 19px; font-weight: 800; color: #0b1a2b; margin-bottom: 18px; padding-left: 12px; border-left: 4px solid #d42e2e; }
.proc-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proc-step { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px 16px; text-align: center; }
.proc-step .ps-num { width: 36px; height: 36px; margin: 0 auto 10px; border-radius: 50%; background: #d42e2e; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; }
.proc-step .ps-title { font-size: 14px; font-weight: 700; color: #0b1a2b; margin-bottom: 5px; }
.proc-step .ps-desc { font-size: 12.5px; color: #8aa3bb; }
@media (max-width: 760px) {
    .proc-steps { grid-template-columns: repeat(2, 1fr); }
}

/* 联系我们 */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 26px; align-items: start; }
.contact-info { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; }
.contact-info .ci-block { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed #eef2f6; }
.contact-info .ci-block:last-of-type { border-bottom: none; }
.contact-info .ci-icon { width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; background: #0b1a2b; display: flex; align-items: center; justify-content: center; font-size: 22px; }
.contact-info .ci-label { font-size: 12px; color: #8aa3bb; margin-bottom: 2px; }
.contact-info .ci-value { font-size: 16px; font-weight: 700; color: #0b1a2b; }
.contact-info .ci-value a { color: #d42e2e; }
.contact-info .ci-sub { font-size: 12px; color: #8aa3bb; margin-top: 2px; }
.contact-info .ci-promise { background: #f1f5f9; border-radius: 12px; padding: 16px 18px; margin-top: 16px; }
.contact-info .ci-promise h4 { font-size: 14px; color: #0b1a2b; margin-bottom: 8px; }
.contact-info .ci-promise p { font-size: 13px; color: #5a6b7c; margin-bottom: 5px; }
.contact-form { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 24px; }
@media (max-width: 760px) {
    .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- 产品详情 ---------- */
.prod-detail { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 30px; }
.pd-top { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.pd-gallery .pd-main { border-radius: 14px; overflow: hidden; background: #eef2f6; height: 380px; }
.pd-gallery .pd-main img { width: 100%; height: 100%; object-fit: contain; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 10px; }
.pd-thumbs img { width: 72px; height: 54px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.pd-thumbs img.active { border-color: #d42e2e; }
.pd-info h1 { font-size: 26px; font-weight: 800; margin-bottom: 10px; line-height: 1.35; }
.pd-info .pd-model { color: #5a6b7c; font-size: 14px; margin-bottom: 12px; }
.pd-info .pd-price-box { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; padding: 16px 20px; margin-bottom: 16px; }
.pd-price-box .pp-label { color: #8aa3bb; font-size: 12px; }
.pd-price-box .pp-val { color: #d42e2e; font-size: 28px; font-weight: 800; }
.pd-price-box .pp-inq { color: #b45309; font-size: 20px; font-weight: 800; }
.pd-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; font-size: 13.5px; color: #5a6b7c; margin-bottom: 18px; }
.pd-meta b { color: #0b1a2b; }
.pd-buy { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pd-qty { display: flex; align-items: center; border: 1px solid #e2e8f0; border-radius: 30px; overflow: hidden; }
.pd-qty button { width: 36px; height: 38px; border: none; background: #f8fafc; cursor: pointer; font-size: 16px; }
.pd-qty input { width: 48px; text-align: center; border: none; outline: none; font-size: 14px; }
.btn-cart { background: #f5b342; color: #0b1a2b; padding: 11px 26px; border-radius: 30px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.btn-cart:hover { background: #e0a030; }
.btn-buy { background: #d42e2e; color: #fff; padding: 11px 26px; border-radius: 30px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.btn-buy:hover { background: #b82222; }
.btn-alipay { background: #1677ff; color: #fff; padding: 11px 26px; border-radius: 30px; font-weight: 700; font-size: 14px; border: none; cursor: pointer; }
.btn-alipay:hover { background: #0958d9; }
.btn-inquiry { background: #fff; color: #b45309; border: 1px solid #fcd34d; padding: 10px 24px; border-radius: 30px; font-weight: 700; font-size: 14px; cursor: pointer; }
.btn-inquiry:hover { background: #fffbeb; }
.btn-fav { background: #fff; border: 1px solid #e2e8f0; padding: 10px 16px; border-radius: 30px; cursor: pointer; font-size: 14px; color: #5a6b7c; }
.btn-fav.faved { color: #d42e2e; border-color: #fecaca; background: #fef2f2; }
.pd-files { margin-top: 16px; display: flex; gap: 10px; flex-wrap: wrap; }
.pd-file { border: 1px solid #dbeafe; background: #eff6ff; color: #1d4ed8; padding: 7px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.pd-params { margin-top: 30px; }
.pd-params h3, .pd-desc h3 { font-size: 18px; font-weight: 800; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid #0b1a2b; }
.param-table { width: 100%; border-collapse: collapse; }
.param-table td { padding: 10px 14px; border: 1px solid #eef2f6; font-size: 13.5px; }
.param-table td:first-child { background: #f8fafc; font-weight: 600; width: 180px; color: #5a6b7c; }
.pd-desc { margin-top: 30px; line-height: 1.9; }

/* ---------- 购物车 ---------- */
.cart-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 14px; overflow: hidden; }
.cart-table th { background: #f8fafc; padding: 12px 16px; font-size: 13px; color: #5a6b7c; text-align: left; }
.cart-table td { padding: 14px 16px; border-top: 1px solid #eef2f6; vertical-align: middle; }
.cart-table .ct-prod { display: flex; gap: 12px; align-items: center; }
.cart-table .ct-prod img { width: 70px; height: 52px; object-fit: cover; border-radius: 8px; }
.cart-summary { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 22px; display: flex; align-items: center; justify-content: flex-end; gap: 18px; margin-top: 16px; }
.cart-summary .cs-total { font-size: 15px; }
.cart-summary .cs-total b { color: #d42e2e; font-size: 24px; }

/* ---------- 结算 ---------- */
.checkout-wrap { display: grid; grid-template-columns: 1fr 340px; gap: 20px; align-items: start; }
.co-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; margin-bottom: 16px; }
.co-card h3 { font-size: 16px; font-weight: 800; margin-bottom: 14px; }
.addr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.addr-item { border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px; cursor: pointer; transition: .15s; }
.addr-item:hover { border-color: #d42e2e; }
.addr-item.selected { border-color: #d42e2e; background: #fef2f2; }
.addr-item .ai-name { font-weight: 700; margin-bottom: 4px; }
.addr-item .ai-text { font-size: 12.5px; color: #5a6b7c; }
.pay-methods { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.pay-item { border: 2px solid #e2e8f0; border-radius: 12px; padding: 14px; cursor: pointer; transition: .15s; }
.pay-item:hover { border-color: #d42e2e; }
.pay-item.selected { border-color: #d42e2e; background: #fef2f2; }
.pay-item .pm-name { font-weight: 700; margin-bottom: 3px; }
.pay-item .pm-desc { font-size: 12px; color: #8aa3bb; }
.co-summary .co-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.co-summary .co-row.total { border-top: 1px solid #eef2f6; margin-top: 8px; padding-top: 12px; font-weight: 800; font-size: 16px; }
.co-summary .co-row.total b { color: #d42e2e; font-size: 22px; }

/* ---------- 用户中心 ---------- */
.uc-wrap { display: grid; grid-template-columns: 220px 1fr; gap: 20px; align-items: start; }
.uc-side { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.uc-side .uc-user { background: #0b1a2b; color: #fff; padding: 22px 18px; text-align: center; }
.uc-side .uc-avatar { width: 60px; height: 60px; border-radius: 50%; background: #d42e2e; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-size: 26px; font-weight: 800; }
.uc-side .uc-name { font-weight: 700; }
.uc-side .uc-email { font-size: 12px; color: #8aa3bb; }
.uc-menu { padding: 10px; }
.uc-menu a { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-radius: 9px; font-size: 14px; color: #2c3e50; }
.uc-menu a:hover { background: #f8fafc; color: #d42e2e; }
.uc-menu a.active { background: #fef2f2; color: #d42e2e; font-weight: 700; }
.uc-content { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; min-height: 400px; }
.uc-content h2 { font-size: 18px; font-weight: 800; margin-bottom: 18px; }
.uc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; margin-bottom: 20px; }
.uc-stat { background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; padding: 16px; text-align: center; }
.uc-stat .us-num { font-size: 26px; font-weight: 800; color: #d42e2e; }
.uc-stat .us-label { color: #5a6b7c; font-size: 13px; margin-top: 2px; }

/* 用户中心最近订单卡片 */
.order-list { display: flex; flex-direction: column; gap: 14px; }
.order-item { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; }
.order-item .oi-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #f8fafc; border-bottom: 1px solid #eef2f6; font-size: 13px; flex-wrap: wrap; gap: 8px; }
.order-item .oi-no { color: #0b1a2b; font-weight: 600; }
.order-item .oi-status { font-weight: 600; }
.order-item .oi-body { padding: 8px 18px; }
.order-item .oi-prod { display: flex; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px dashed #eef2f6; }
.order-item .oi-prod:last-child { border-bottom: none; }
.order-item .oi-prod img { width: 64px; height: 48px; object-fit: cover; border-radius: 8px; background: #eef2f6; }
.order-item .oi-prod-info { flex: 1; min-width: 0; }
.order-item .oi-prod-name { font-size: 14px; font-weight: 700; color: #0b1a2b; }
.order-item .oi-prod-model { font-size: 12.5px; color: #8aa3bb; margin-top: 3px; }
.order-item .oi-prod-price { color: #d42e2e; font-weight: 700; font-size: 14px; }
.order-item .oi-foot { display: flex; align-items: center; gap: 16px; padding: 12px 18px; background: #f8fafc; border-top: 1px solid #eef2f6; font-size: 13px; flex-wrap: wrap; }
.order-item .oi-time { color: #8aa3bb; }
.order-item .oi-total { margin-left: auto; color: #5a6b7c; }
.order-item .oi-total b { color: #d42e2e; font-size: 15px; }
.order-item .oi-btn { color: #fff; background: #0b1a2b; padding: 7px 18px; border-radius: 30px; font-weight: 600; font-size: 12.5px; }
.order-item .oi-btn:hover { background: #d42e2e; }
@media (max-width: 480px) {
    .order-item .oi-prod-price { display: none; }
}

/* ---------- 表单 ---------- */
.auth-wrap { min-height: 60vh; display: flex; align-items: center; justify-content: center; padding: 40px 0; }
.auth-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 34px 38px; width: 100%; max-width: 420px; box-shadow: 0 10px 30px rgba(11,26,43,.06); }
.auth-card h2 { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 6px; }
.auth-card .ac-sub { text-align: center; color: #8aa3bb; font-size: 13px; margin-bottom: 22px; }
.form-field { margin-bottom: 16px; }
.form-field label { display: block; font-size: 13px; font-weight: 600; color: #5a6b7c; margin-bottom: 6px; }
.form-field input, .form-field select, .form-field textarea {
    width: 100%; padding: 11px 14px; border: 1px solid #e2e8f0; border-radius: 9px; font-size: 14px; outline: none; font-family: inherit;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: #d42e2e; box-shadow: 0 0 0 3px rgba(212,46,46,.1); }
.form-field textarea { resize: vertical; min-height: 90px; }
.form-field .ff-row { display: flex; gap: 10px; }
.form-field .ff-row input { flex: 1; }
.btn-submit { width: 100%; padding: 12px; border: none; border-radius: 9px; background: #d42e2e; color: #fff; font-size: 15px; font-weight: 700; cursor: pointer; }
.btn-submit:hover { background: #b82222; }
.form-tip { text-align: center; font-size: 13px; color: #8aa3bb; margin-top: 14px; }
.form-tip a { color: #d42e2e; font-weight: 600; }
.msg-box { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; border-radius: 9px; padding: 9px 12px; font-size: 13px; margin-bottom: 14px; display: none; }
.msg-box.show { display: block; }

/* ---------- 订单/支付 ---------- */
.order-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 18px 20px; margin-bottom: 14px; }
.order-card .oc-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.order-card .oc-no { font-weight: 700; }
.order-card .oc-status { font-size: 13px; font-weight: 700; }
.pay-panel { max-width: 680px; margin: 0 auto; text-align: center; padding: 60px 30px; }
.pay-panel .pp-ico { font-size: 56px; margin-bottom: 16px; }
.pay-panel h2 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.pay-panel .pp-amount { font-size: 34px; font-weight: 800; color: #d42e2e; margin-bottom: 24px; }
.pay-panel .pp-btn { background: #d42e2e; color: #fff; padding: 13px 44px; border-radius: 40px; font-size: 16px; font-weight: 700; border: none; cursor: pointer; }
.pay-panel .pp-btn:hover { background: #b82222; }
.pay-panel .pp-bank { text-align: left; background: #f8fafc; border: 1px solid #eef2f6; border-radius: 12px; padding: 18px 22px; margin: 0 auto 20px; max-width: 460px; }
.pay-panel .pp-bank .row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; }
.pay-panel .pp-bank .row span { color: #5a6b7c; }
.pay-panel .pp-bank .row b { text-align: right; }
.result-panel { max-width: 560px; margin: 0 auto; text-align: center; padding: 60px 30px; }
.result-panel .rp-ico { font-size: 64px; margin-bottom: 16px; }
.result-panel h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.result-panel .rp-msg { color: #5a6b7c; margin-bottom: 24px; }
.result-panel .rp-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* ---------- 内容页 ---------- */
.content-page { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 40px; line-height: 1.9; }
.content-page h3 { margin: 22px 0 10px; color: #0b1a2b; font-size: 20px; }
.content-page p { margin-bottom: 12px; }
.content-page ul, .content-page ol { padding-left: 22px; margin-bottom: 12px; }
.content-page img { max-width: 100%; border-radius: 10px; }

/* 订单状态色 */
.st-pay { color: #d97706; }
.st-ship { color: #1d4ed8; }
.st-done { color: #16a34a; }
.st-cancel { color: #94a3b8; }

@media (max-width: 760px) {
    .pd-top, .checkout-wrap, .uc-wrap { grid-template-columns: 1fr; }
    .pd-gallery .pd-main { height: 260px; }
    .hero-slide h1 { font-size: 26px; }
}

/* ===== 响应式 (与 site.css 断点保持一致; 本文件后加载, 优先级更高) ===== */
@media (max-width: 900px) {
    .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .cat-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 10px; }
    .brand-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
}
@media (max-width: 480px) {
    .prod-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .prod-card .p-cover { height: 108px; }
    .prod-card .p-body { padding: 10px 11px 12px; }
    .prod-card .p-title { font-size: 13.5px; }
    .prod-card .p-price .val { font-size: 16px; }
    .prod-card .p-actions .btn-cart { font-size: 12px; padding: 7px; }
    .prod-card .p-actions .btn-inq { font-size: 12px; padding: 7px; }
}

/* ============================================================
   多语言切换 (中文/English/Русский/العربية)
   ============================================================ */
.lang-switch { position: relative; flex-shrink: 0; }
.lang-btn {
    display: inline-flex; align-items: center; gap: 5px;
    background: transparent; border: 1px solid rgba(11,26,43,.18); color: #dedede;
    border-radius: 30px; padding: 6px 12px; font-size: 13px; cursor: pointer; font-family: inherit; transition: .15s;
    white-space: nowrap; flex-shrink: 0; min-width: 0;
}
.lang-btn:hover { border-color: #d42e2e; color: #d42e2e; }
.lang-drop {
    position: absolute; top: calc(100% + 8px); right: 0; min-width: 132px; z-index: 130;
    background: #fff; border: 1px solid #e2e8f0; border-radius: 12px; box-shadow: 0 12px 32px rgba(11,26,43,.16);
    padding: 6px; display: none;
}
.lang-drop.open { display: block; }
.lang-drop a { display: block; padding: 8px 12px; border-radius: 8px; font-size: 13px; color: #0b1a2b; }
.lang-drop a:hover { background: #f1f5f9; }
.lang-drop a.active { color: #d42e2e; font-weight: 700; background: #fef2f2; }
/* 阿拉伯语 RTL: 下拉向右展开 */
[dir="rtl"] .lang-drop { right: auto; left: 0; }

@media (max-width: 520px) {
    .lang-btn span { display: none; }
    .lang-btn { padding: 6px 9px; }
}
