/* ===== GX Mall 商城样式（京东淘宝式·浅色） ===== */
:root{
  --gxm-blue:#005FF7;
  --gxm-navy:#0A2A6B;
  --gxm-red:#ff4142;
  --gxm-orange:#ff6a00;
  --gxm-bg:#f5f6f8;
  --gxm-line:#eceef1;
  --gxm-text:#22252b;
  --gxm-sub:#8a9099;
}
.gxm-page{background:var(--gxm-bg);min-height:60vh;padding-bottom:40px;margin:-1px 0 0;}
.gxm-container{max-width:1200px;margin:0 auto;padding:0 16px;}

/* Hero */
.gxm-hero{background:linear-gradient(120deg,var(--gxm-navy) 0%,var(--gxm-blue) 100%);color:#fff;padding:38px 0 46px;}
.gxm-hero-inner{max-width:1200px;margin:0 auto;padding:0 16px;}
.gxm-hero-title{font-size:30px;font-weight:800;margin:0 0 10px;letter-spacing:1px;}
.gxm-hero-sub{font-size:14px;opacity:.92;margin:0;}

/* 专区 Tab */
.gxm-zone-tabs{position:sticky;top:0;z-index:60;background:rgba(255,255,255,.96);backdrop-filter:blur(8px);box-shadow:0 2px 10px rgba(10,42,107,.06);}
.gxm-zone-inner{max-width:1200px;margin:0 auto;padding:10px 16px;display:flex;gap:10px;overflow-x:auto;}
.gxm-tab{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:8px 18px;border-radius:999px;background:#f2f4f7;color:var(--gxm-text);font-size:14px;font-weight:600;transition:.2s;}
.gxm-tab:hover{background:#e8f0ff;color:var(--gxm-blue);}
.gxm-tab.active{background:var(--gxm-blue);color:#fff;box-shadow:0 6px 14px rgba(0,95,247,.28);}
.gxm-tab-count{font-size:12px;opacity:.7;}
.gxm-tab.active .gxm-tab-count{opacity:.9;}

/* 工具栏 */
.gxm-toolbar{display:flex;align-items:baseline;gap:10px;padding:22px 2px 14px;}
.gxm-toolbar-title{font-size:18px;font-weight:800;color:var(--gxm-text);}
.gxm-toolbar-count{font-size:13px;color:var(--gxm-sub);}

/* 商品网格 */
.gxm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px;}
.gxm-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 10px rgba(20,30,50,.05);transition:transform .22s,box-shadow .22s;display:flex;flex-direction:column;}
.gxm-card:hover{transform:translateY(-4px);box-shadow:0 14px 28px rgba(10,42,107,.12);}
.gxm-card-img{position:relative;display:block;aspect-ratio:1/1;background:#f7f8fa;overflow:hidden;}
.gxm-card-img img{width:100%;height:100%;object-fit:cover;transition:transform .35s;}
.gxm-card:hover .gxm-card-img img{transform:scale(1.05);}
.gxm-card-tag{position:absolute;top:10px;left:10px;background:rgba(0,95,247,.92);color:#fff;font-size:11px;padding:3px 9px;border-radius:6px;font-weight:600;}
.gxm-card-body{padding:12px 13px 14px;display:flex;flex-direction:column;flex:1;}
.gxm-card-title{font-size:14px;font-weight:600;color:var(--gxm-text);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:41px;}
.gxm-card-title:hover{color:var(--gxm-blue);}
.gxm-card-desc{font-size:12px;color:var(--gxm-sub);margin:6px 0 10px;}
.gxm-card-foot{margin-top:auto;display:flex;align-items:center;justify-content:space-between;gap:8px;}
.gxm-card-price{color:var(--gxm-red);display:flex;align-items:baseline;}
.gxm-rmb{font-size:12px;font-weight:700;}
.gxm-num,.gxm-price-num{font-size:20px;font-weight:800;}
.gxm-unit{font-size:11px;color:var(--gxm-sub);margin-left:2px;}
.gxm-card-buy{flex:0 0 auto;background:linear-gradient(90deg,#ff7a1a,#ff4142);color:#fff;font-size:13px;font-weight:700;padding:7px 14px;border-radius:999px;transition:filter .2s;}
.gxm-card-buy:hover{filter:brightness(1.06);color:#fff;}

/* 分页 */
.gxm-pagination{margin:28px 0 8px;}
.gxm-pagination ul{list-style:none;display:flex;justify-content:center;gap:6px;flex-wrap:wrap;padding:0;margin:0;}
.gxm-pagination .page-numbers{min-width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;padding:0 10px;border-radius:9px;background:#fff;color:var(--gxm-text);font-size:14px;border:1px solid var(--gxm-line);}
.gxm-pagination .page-numbers.current{background:var(--gxm-blue);color:#fff;border-color:var(--gxm-blue);}
.gxm-pagination .page-numbers:hover:not(.current){color:var(--gxm-blue);border-color:var(--gxm-blue);}
.gxm-empty{background:#fff;border-radius:12px;padding:60px 0;text-align:center;color:var(--gxm-sub);}

/* 服务承诺 */
.gxm-promise{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:26px;background:#fff;border-radius:14px;padding:20px;}
.gxm-promise-item{display:flex;align-items:center;gap:12px;}
.gxm-pi-ico{font-size:26px;}
.gxm-promise-item b{display:block;font-size:14px;color:var(--gxm-text);}
.gxm-promise-item em{font-style:normal;font-size:12px;color:var(--gxm-sub);}

/* 面包屑 */
.gxm-crumb{padding:18px 2px 16px;font-size:13px;color:var(--gxm-sub);display:flex;align-items:center;flex-wrap:wrap;gap:6px;}
.gxm-crumb a{color:var(--gxm-sub);}
.gxm-crumb a:hover{color:var(--gxm-blue);}
.gxm-crumb .sep{color:#c8ccd2;}
.gxm-crumb .current{color:var(--gxm-text);}

/* 详情页主结构 */
.gxm-prod{background:#fff;border-radius:16px;padding:26px;display:grid;grid-template-columns:440px 1fr;gap:34px;box-shadow:0 2px 12px rgba(20,30,50,.05);}
.gxm-main-img{position:relative;border:1px solid var(--gxm-line);border-radius:12px;overflow:hidden;aspect-ratio:1/1;background:#f7f8fa;}
.gxm-main-img img{width:100%;height:100%;object-fit:cover;}
.gxm-main-tag{position:absolute;top:12px;left:12px;background:rgba(0,95,247,.92);color:#fff;font-size:12px;padding:4px 11px;border-radius:7px;font-weight:600;}
.gxm-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap;}
.gxm-thumb{width:64px;height:64px;border-radius:9px;overflow:hidden;border:2px solid transparent;cursor:pointer;background:#f7f8fa;}
.gxm-thumb img{width:100%;height:100%;object-fit:cover;}
.gxm-thumb.active{border-color:var(--gxm-blue);}
.gxm-prod-title{font-size:24px;font-weight:800;line-height:1.4;color:var(--gxm-text);margin:0 0 14px;}
.gxm-prod-tags{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:18px;}
.gxm-ptag{font-size:12px;color:var(--gxm-blue);background:#eef4ff;border:1px solid #d6e6ff;padding:4px 11px;border-radius:7px;}
.gxm-price-box{background:linear-gradient(120deg,#fff5f0,#fff0f0);border-radius:12px;padding:18px 20px;margin-bottom:20px;}
.gxm-price-row{display:flex;align-items:baseline;gap:14px;}
.gxm-price-label{font-size:13px;color:var(--gxm-sub);}
.gxm-price-now{color:var(--gxm-red);display:flex;align-items:baseline;}
.gxm-price-num{font-size:34px;}
.gxm-price-suffix{font-size:12px;color:var(--gxm-sub);margin-left:4px;}
.gxm-price-note{font-size:12px;color:var(--gxm-sub);margin-top:8px;line-height:1.6;}
.gxm-spec-list{list-style:none;margin:0 0 22px;padding:0;border:1px solid var(--gxm-line);border-radius:12px;overflow:hidden;}
.gxm-spec-list li{display:flex;font-size:13px;padding:11px 16px;border-bottom:1px solid var(--gxm-line);}
.gxm-spec-list li:last-child{border-bottom:none;}
.gxm-spec-k{width:96px;color:var(--gxm-sub);flex:0 0 auto;}
.gxm-spec-v{color:var(--gxm-text);}
.gxm-buy-box{display:flex;gap:14px;margin-bottom:14px;}
.gxm-btn-buy{flex:1;text-align:center;background:linear-gradient(90deg,#ff7a1a,#ff4142);color:#fff;font-size:17px;font-weight:800;padding:14px 0;border-radius:999px;box-shadow:0 10px 22px rgba(255,65,66,.28);transition:filter .2s;}
.gxm-btn-buy:hover{filter:brightness(1.05);color:#fff;}
.gxm-btn-mall{flex:0 0 auto;padding:14px 26px;border-radius:999px;border:1px solid var(--gxm-line);color:var(--gxm-text);font-size:15px;font-weight:600;background:#fff;}
.gxm-btn-mall:hover{border-color:var(--gxm-blue);color:var(--gxm-blue);}
.gxm-buy-tip{font-size:12px;color:var(--gxm-sub);line-height:1.7;background:#f7f8fa;border-radius:9px;padding:11px 14px;}

/* 详情正文 */
.gxm-detail{background:#fff;border-radius:16px;margin-top:20px;padding:26px;box-shadow:0 2px 12px rgba(20,30,50,.05);}
.gxm-detail-head{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:800;margin-bottom:20px;padding-bottom:14px;border-bottom:1px solid var(--gxm-line);}
.gxm-dh-bar{width:5px;height:18px;border-radius:3px;background:var(--gxm-blue);}
.gxm-detail-content{font-size:15px;line-height:1.9;color:#33383f;}
.gxm-detail-content h2,.gxm-detail-content h3{font-size:18px;font-weight:800;margin:26px 0 12px;color:var(--gxm-navy);}
.gxm-detail-content p{margin:0 0 14px;}
.gxm-detail-content ul{margin:0 0 16px;padding-left:20px;}
.gxm-detail-content li{margin-bottom:7px;}
.gxm-detail-content img{max-width:100%;height:auto;border-radius:10px;margin:10px 0;display:block;}

/* 手机端悬浮购买条 */
.gxm-mobile-bar{display:none;}
@media (max-width:900px){
  .gxm-prod{grid-template-columns:1fr;gap:20px;padding:18px;}
  .gxm-promise{grid-template-columns:repeat(2,1fr);}
  .gxm-hero-title{font-size:24px;}
}
@media (max-width:640px){
  .gxm-grid{grid-template-columns:repeat(2,1fr);gap:10px;}
  .gxm-card-body{padding:10px;}
  .gxm-card-buy{padding:6px 12px;}
  .gxm-prod-title{font-size:20px;}
  .gxm-price-num{font-size:28px;}
  .gxm-detail{padding:18px;}
  .gxm-single-page{padding-bottom:70px;}
  .gxm-mobile-bar{display:flex;align-items:center;position:fixed;left:0;right:0;bottom:0;z-index:80;background:#fff;padding:10px 14px;box-shadow:0 -4px 16px rgba(0,0,0,.08);gap:12px;}
  .gxm-mb-price{color:var(--gxm-red);display:flex;align-items:baseline;}
  .gxm-mb-num{font-size:22px;font-weight:800;}
  .gxm-mb-buy{flex:1;text-align:center;background:linear-gradient(90deg,#ff7a1a,#ff4142);color:#fff;font-weight:800;padding:12px 0;border-radius:999px;}
}
