/* 防雷网 - 商城样式（独立样式表，shop.css） */
:root{
  --shop-blue:#1565C0;
  --shop-blue-d:#0D47A1;
  --shop-blue-l:#42A5F5;
  --shop-red:#e4393c;
  --shop-bg:#f4f7fb;
  --shop-card:#fff;
  --shop-line:#e3e9f2;
  --shop-txt:#23344a;
  --shop-sub:#5b6b80;
  --shop-gold:#f0a500;
  --shop-green:#2e9e5b;
}
.shop-wrap{max-width:1200px;margin:0 auto;padding:18px 16px 48px;}
.shop-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap;gap:8px;}
.shop-crumb{font-size:14px;color:#888;}
.shop-crumb a{color:var(--shop-sub);text-decoration:none;}
.shop-crumb a:hover{color:var(--shop-blue);}
.shop-crumb span{margin:0 6px;color:#ccc;}
.shop-tools{display:flex;gap:10px;margin-left:auto;}
.shop-tools a{font-size:13px;color:var(--shop-sub);text-decoration:none;background:#fff;border:1px solid var(--shop-line);padding:6px 12px;border-radius:6px;}
.shop-tools a:hover{border-color:var(--shop-blue);color:var(--shop-blue);}
.shop-tool-cart b{background:var(--shop-gold);color:#1a1a1a;border-radius:10px;padding:0 7px;margin-left:2px;font-size:12px;}

/* Banner */
.shop-banner{background:linear-gradient(120deg,var(--shop-blue-l),var(--shop-blue-d));border-radius:12px;color:#fff;padding:26px 30px;margin-bottom:18px;}
.shop-banner-text h1{font-size:23px;margin:0 0 6px;}
.shop-banner-text p{opacity:.92;font-size:14px;margin:0;}
.shop-banner-note{margin-top:12px;font-size:12px;background:rgba(255,255,255,.14);display:inline-block;padding:6px 12px;border-radius:6px;}

/* 布局 */
.shop-layout{display:flex;gap:18px;align-items:flex-start;}
.shop-side{width:220px;flex-shrink:0;}
.shop-side-box{background:var(--shop-card);border:1px solid var(--shop-line);border-radius:10px;overflow:hidden;}
.shop-side-box h3{background:var(--shop-blue);color:#fff;padding:11px 14px;font-size:15px;margin:0;}
.shop-cats{list-style:none;margin:0;padding:0;}
.shop-cats li{border-bottom:1px solid #f0f3f8;}
.shop-cats li:last-child{border-bottom:0;}
.shop-cats a{display:block;padding:11px 14px;font-size:14px;color:var(--shop-sub);text-decoration:none;}
.shop-cats a:hover{color:var(--shop-blue);background:#f7faff;}
.shop-cats li.on a{color:var(--shop-blue);font-weight:600;background:#eef4fd;}
.shop-main{flex:1;min-width:0;}

/* 筛选条 */
.shop-filter{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin-bottom:10px;}
.shop-search{flex:1;min-width:240px;display:flex;}
.shop-search input{flex:1;border:1px solid var(--shop-line);border-right:0;border-radius:6px 0 0 6px;padding:9px 12px;font-size:14px;outline:none;}
.shop-search button{background:var(--shop-blue);color:#fff;border:0;border-radius:0 6px 6px 0;padding:0 18px;cursor:pointer;}
.shop-sort{font-size:13px;color:var(--shop-sub);display:flex;align-items:center;gap:4px;}
.shop-sort a{color:var(--shop-sub);text-decoration:none;padding:4px 8px;border-radius:4px;}
.shop-sort a:hover{background:#eef4fd;}
.shop-sort a.on{background:var(--shop-blue);color:#fff;}
.shop-count{font-size:13px;color:#888;margin:6px 0 14px;}
.shop-count b{color:var(--shop-txt);}

/* 商品网格 */
.shop-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.shop-card{background:var(--shop-card);border:1px solid var(--shop-line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column;transition:.18s;}
.shop-card:hover{box-shadow:0 6px 20px rgba(21,101,192,.12);transform:translateY(-2px);}
.shop-card-pic{height:160px;background:linear-gradient(135deg,#eaf2fc,#d6e6fa);display:flex;align-items:center;justify-content:center;color:var(--shop-blue);}
.shop-card-pic img{width:100%;height:100%;object-fit:cover;}
.shop-card-emoji{font-size:54px;}
.shop-card-body{padding:12px 14px;flex:1;display:flex;flex-direction:column;}
.shop-card-title{font-size:15px;font-weight:600;color:var(--shop-txt);text-decoration:none;line-height:1.4;}
.shop-card-title:hover{color:var(--shop-blue);}
.shop-card-model{font-size:12px;color:var(--shop-sub);margin:4px 0 8px;min-height:32px;}
.shop-card-price{margin-top:auto;}
.shop-price{color:var(--shop-red);font-weight:700;font-size:17px;}
.shop-price-old{color:var(--shop-sub);font-weight:400;font-size:12px;text-decoration:line-through;margin-left:6px;}
.shop-unit{color:var(--shop-sub);font-size:12px;margin-left:3px;}
.shop-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:10px;}
.shop-sales{font-size:12px;color:#999;}
.shop-add-form{margin:0;}
.shop-btn-add{background:var(--shop-blue);color:#fff;border:0;padding:7px 12px;border-radius:6px;cursor:pointer;font-size:13px;}
.shop-btn-add:hover{background:var(--shop-blue-d);}

/* 分页 */
.shop-pager{display:flex;gap:6px;flex-wrap:wrap;justify-content:center;margin-top:22px;}
.shop-pager a{padding:6px 12px;border:1px solid var(--shop-line);border-radius:6px;font-size:13px;color:var(--shop-sub);text-decoration:none;}
.shop-pager a:hover{border-color:var(--shop-blue);color:var(--shop-blue);}
.shop-pager a.on{background:var(--shop-blue);color:#fff;border-color:var(--shop-blue);}

.shop-empty{text-align:center;padding:60px 0;color:#999;font-size:15px;}
.shop-empty a{color:var(--shop-blue);}
.shop-page-title{font-size:20px;margin:6px 0 18px;color:var(--shop-txt);}
.shop-warn{background:#fff8e8;border:1px solid #ffe2a8;color:#7a5b00;padding:12px 16px;border-radius:8px;font-size:13px;margin-bottom:16px;}
.shop-ok{background:#e9f9ef;border:1px solid #b7e8c8;color:#1c7a40;padding:12px 16px;border-radius:8px;font-size:14px;margin-bottom:16px;}

/* 详情 */
.shop-detail{display:flex;gap:24px;background:var(--shop-card);border:1px solid var(--shop-line);border-radius:12px;padding:24px;flex-wrap:wrap;}
.shop-detail-pic{width:300px;height:300px;flex-shrink:0;background:linear-gradient(135deg,#eaf2fc,#d6e6fa);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--shop-blue);overflow:hidden;}
.shop-detail-pic img{width:100%;height:100%;object-fit:cover;}
.shop-detail-info{flex:1;min-width:280px;}
.shop-detail-info h1{font-size:22px;margin:0 0 8px;color:var(--shop-txt);}
.shop-detail-model{font-size:14px;color:var(--shop-sub);margin-bottom:8px;}
.shop-detail-cat{font-size:13px;color:#999;margin-bottom:12px;}
.shop-detail-price{margin-bottom:10px;}
.shop-detail-stock{font-size:13px;color:var(--shop-sub);margin-bottom:12px;}
.shop-detail-intro{font-size:14px;color:#444;line-height:1.7;margin-bottom:18px;}
.shop-buy{display:flex;flex-direction:column;gap:14px;}
.shop-qty{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--shop-sub);}
.shop-qty button{width:30px;height:30px;border:1px solid var(--shop-line);background:#fff;border-radius:6px;font-size:16px;cursor:pointer;color:var(--shop-txt);}
.shop-qty input{width:64px;height:30px;border:1px solid var(--shop-line);border-radius:6px;text-align:center;font-size:14px;}
.shop-buy-btns{display:flex;gap:12px;}
.shop-btn-add-lg{background:var(--shop-gold);color:#1a1a1a;border:0;padding:12px 22px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:600;}
.shop-btn-buy-lg{background:var(--shop-blue);color:#fff;border:0;padding:12px 22px;border-radius:8px;cursor:pointer;font-size:15px;font-weight:600;text-decoration:none;display:inline-block;text-align:center;}
.shop-btn-buy-lg:hover{background:var(--shop-blue-d);}
.shop-btn-add-lg:hover{background:#d99400;}
.shop-btn-buy-lg.disabled{opacity:.5;pointer-events:none;}
.shop-detail-desc{background:var(--shop-card);border:1px solid var(--shop-line);border-radius:12px;padding:22px;margin-top:18px;}
.shop-detail-desc h2{font-size:17px;margin:0 0 12px;color:var(--shop-txt);}
.shop-detail-text{font-size:14px;color:#444;line-height:1.8;}

/* 购物车 */
.shop-cart-table{width:100%;background:var(--shop-card);border:1px solid var(--shop-line);border-radius:10px;overflow:hidden;border-collapse:collapse;}
.shop-cart-table th{background:#fafbfc;padding:12px 14px;font-size:13px;color:var(--shop-sub);text-align:left;border-bottom:1px solid var(--shop-line);}
.shop-cart-table td{padding:14px;border-bottom:1px solid #f2f5fa;font-size:14px;vertical-align:middle;}
.shop-cart-table tr:last-child td{border-bottom:0;}
.shop-c-name{color:var(--shop-txt);text-decoration:none;font-weight:600;}
.shop-c-name:hover{color:var(--shop-blue);}
.shop-c-model{font-size:12px;color:var(--shop-sub);margin-top:3px;}
.shop-c-flag{color:var(--shop-red);font-size:12px;margin-top:4px;}
.shop-c-price{color:var(--shop-red);font-weight:600;}
.shop-c-qty input{width:64px;height:30px;border:1px solid var(--shop-line);border-radius:6px;text-align:center;}
.shop-c-sub{font-weight:600;color:var(--shop-txt);}
.shop-c-op a{color:var(--shop-blue);text-decoration:none;font-size:13px;}
.shop-c-invalid{opacity:.6;background:#fafafa;}
.shop-cart-foot{display:flex;align-items:center;justify-content:space-between;margin-top:16px;flex-wrap:wrap;gap:12px;}
.shop-cart-left{display:flex;gap:10px;}
.shop-cart-right{display:flex;align-items:center;gap:10px;}
.shop-cart-total-label{font-size:14px;color:var(--shop-sub);}
.shop-cart-total{font-size:22px;font-weight:700;color:var(--shop-red);}
.shop-btn-sm{background:#fff;border:1px solid var(--shop-line);color:var(--shop-sub);padding:8px 14px;border-radius:6px;cursor:pointer;font-size:13px;text-decoration:none;display:inline-block;}
.shop-btn-sm:hover{border-color:var(--shop-blue);color:var(--shop-blue);}
.shop-btn-ghost{background:transparent;}
.shop-btn-primary{background:var(--shop-blue);color:#fff;border-color:var(--shop-blue);}

/* 结算 */
.shop-checkout{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap;}
.shop-co-left{flex:1;min-width:300px;}
.shop-co-right{width:340px;flex-shrink:0;}
.shop-co-box{background:var(--shop-card);border:1px solid var(--shop-line);border-radius:12px;padding:20px;margin-bottom:16px;}
.shop-co-box h3{font-size:16px;margin:0 0 14px;color:var(--shop-txt);}
.shop-field{margin-bottom:14px;}
.shop-field label{display:block;font-size:13px;color:var(--shop-sub);margin-bottom:6px;}
.shop-field input,.shop-field textarea{width:100%;border:1px solid var(--shop-line);border-radius:6px;padding:9px 12px;font-size:14px;font-family:inherit;outline:none;box-sizing:border-box;}
.shop-field input:focus,.shop-field textarea:focus{border-color:var(--shop-blue);}
.shop-co-items{list-style:none;margin:0 0 12px;padding:0;}
.shop-co-items li{display:flex;align-items:center;justify-content:space-between;padding:8px 0;border-bottom:1px dashed #eee;font-size:13px;gap:8px;}
.shop-co-it-name{color:var(--shop-txt);flex:1;}
.shop-co-it-qty{color:var(--shop-sub);white-space:nowrap;}
.shop-co-it-sub{font-weight:600;white-space:nowrap;}
.shop-co-total{display:flex;align-items:center;justify-content:space-between;font-size:15px;padding:6px 0 14px;}
.shop-co-total b{font-size:20px;color:var(--shop-red);}
.shop-co-submit{width:100%;text-align:center;margin-top:4px;}
.shop-co-tip{font-size:12px;color:#999;margin-top:10px;line-height:1.6;}

/* 支付 */
.shop-pay{display:flex;justify-content:center;}
.shop-pay-box{background:var(--shop-card);border:1px solid var(--shop-line);border-radius:12px;padding:24px;width:100%;max-width:560px;}
.shop-pay-head{display:flex;align-items:center;justify-content:space-between;font-size:14px;color:var(--shop-sub);padding-bottom:12px;border-bottom:1px solid #f2f5fa;flex-wrap:wrap;gap:8px;}
.shop-pay-amount{text-align:right;font-size:15px;color:var(--shop-sub);margin:16px 0;}
.shop-pay-amount b{font-size:24px;color:var(--shop-red);margin-left:8px;}
.shop-pay-mock{background:#f7faff;border:1px solid #d6e6fa;border-radius:10px;padding:18px;text-align:center;}
.shop-pay-mock-tag{display:inline-block;background:var(--shop-blue);color:#fff;font-size:12px;padding:3px 10px;border-radius:20px;margin-bottom:10px;}
.shop-pay-mock p{font-size:13px;color:var(--shop-sub);line-height:1.7;margin:0 0 14px;}
.shop-pay-cancel{display:inline-block;margin-top:12px;font-size:13px;color:var(--shop-sub);text-decoration:none;}
.shop-pay-cancel:hover{color:var(--shop-red);}
.shop-pay-done{font-size:14px;color:var(--shop-sub);line-height:1.8;}

/* 订单列表 */
.shop-orders{display:flex;flex-direction:column;gap:14px;}
.shop-order-card{background:var(--shop-card);border:1px solid var(--shop-line);border-radius:10px;overflow:hidden;}
.shop-order-head{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#fafbfc;border-bottom:1px solid #f2f5fa;font-size:13px;flex-wrap:wrap;}
.shop-order-sn{font-weight:600;color:var(--shop-txt);}
.shop-order-time{color:#999;margin-left:auto;}
.shop-order-body{display:flex;justify-content:space-between;gap:16px;padding:14px 16px;flex-wrap:wrap;}
.shop-order-addr{font-size:13px;color:var(--shop-sub);line-height:1.6;flex:1;min-width:220px;}
.shop-order-amt{font-size:14px;color:var(--shop-sub);white-space:nowrap;}
.shop-order-amt b{color:var(--shop-red);font-size:17px;}
.shop-order-foot{display:flex;gap:10px;padding:10px 16px;border-top:1px solid #f2f5fa;}

/* 通用标签（前端复用后台 fl-*） */
.fl-tag{display:inline-block;padding:2px 10px;border-radius:20px;font-size:12px;font-weight:500;}
.fl-tag-warning{background:#fff2e8;color:#d9480f;}
.fl-tag-success{background:#e6ffed;color:#00875a;}
.fl-tag-info{background:#e7f1fd;color:#1565c0;}
.fl-tag-primary{background:#1565c0;color:#fff;}
.fl-tag-muted{background:#f0f0f0;color:#888;}

/* 响应式 */
@media(max-width:900px){
  .shop-layout{flex-direction:column;}
  .shop-side{width:100%;}
  .shop-cats{display:flex;flex-wrap:wrap;}
  .shop-cats li{border-bottom:0;border-right:1px solid #f0f3f8;}
  .shop-detail{flex-direction:column;}
  .shop-detail-pic{width:100%;height:240px;}
  .shop-co-right{width:100%;}
}
@media(max-width:600px){
  .shop-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .shop-banner{padding:20px;}
  .shop-buy-btns{flex-direction:column;}
  .shop-order-time{margin-left:0;width:100%;}
}
@media(max-width:480px){
  .shop-grid{grid-template-columns:1fr;}
}
/* ===== 商城闭环升级 2026-10-22：对公转账 / 凭证 / 进度轴 / 消息 ===== */

/* 支付页两栏布局 */
.shop-pay{display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap;}
.shop-pay .shop-pay-box{flex:1 1 420px;min-width:320px;}
.shop-pay-aside{flex:1 1 360px;min-width:300px;display:flex;flex-direction:column;gap:16px;}

.shop-pay-cn{font-size:13px;color:#8a94a6;margin-top:4px;}
.shop-pay-foot{margin-top:18px;padding-top:14px;border-top:1px dashed #e8ecf2;}
.shop-pay-state{font-size:15px;font-weight:600;color:#1a7f37;margin-bottom:6px;}
.shop-pay-voucher{font-size:13px;color:#5a6472;background:#f6f8fb;border:1px solid #e8ecf2;border-radius:6px;padding:8px 10px;margin:8px 0;}
.shop-pay-hint{font-size:13px;color:#8a94a6;line-height:1.7;margin:8px 0;}

/* 对公账户卡片 */
.shop-bank-card{background:#fff;border:1px solid #e4e9f0;border-radius:12px;padding:18px 20px;box-shadow:0 2px 10px rgba(20,40,80,.05);}
.shop-bank-title{font-size:15px;font-weight:600;color:#1f2d3d;padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid #eef1f6;display:flex;align-items:center;gap:8px;}
.shop-bank-title i{color:#1a73a8;}
.shop-bank-warn{font-size:13px;color:#b06a00;background:#fff8e8;border:1px solid #ffe4b3;border-radius:8px;padding:12px;line-height:1.8;}
.shop-bank-list{display:grid;grid-template-columns:76px 1fr;gap:10px 12px;margin:0;font-size:14px;}
.shop-bank-list dt{color:#8a94a6;}
.shop-bank-list dd{margin:0;color:#1f2d3d;word-break:break-all;}
.shop-bank-acc{font-family:Menlo,Consolas,monospace;font-size:16px;letter-spacing:.5px;font-weight:600;}
.shop-bank-amt{font-size:18px;font-weight:700;color:#e4393c;}
.shop-bank-note{margin-top:14px;padding-top:12px;border-top:1px dashed #e8ecf2;font-size:13px;color:#5a6472;line-height:1.8;}
.shop-copy{margin-left:8px;border:1px solid #d5dce5;background:#fff;color:#5a6472;border-radius:5px;
  font-size:12px;padding:2px 9px;cursor:pointer;transition:all .15s;}
.shop-copy:hover{border-color:#1a73a8;color:#1a73a8;background:#f2f7fb;}

/* 凭证登记表单 */
.shop-voucher-form{background:#fff;border:1px solid #e4e9f0;border-radius:12px;padding:18px 20px;}
.shop-voucher-title{font-size:15px;font-weight:600;color:#1f2d3d;margin-bottom:12px;}
.shop-voucher-form label{display:block;font-size:13px;color:#5a6472;margin-bottom:12px;}
.shop-voucher-form label em{color:#e4393c;font-style:normal;}
.shop-voucher-form input[type=text],.shop-voucher-form input[type=date]{
  width:100%;margin-top:6px;border:1px solid #d5dce5;border-radius:7px;padding:9px 11px;font-size:14px;color:#1f2d3d;background:#fff;}
.shop-voucher-form input:focus{outline:none;border-color:#1a73a8;box-shadow:0 0 0 3px rgba(26,115,168,.12);}
.shop-voucher-form button{width:100%;margin-top:6px;}

/* 提示条 */
.shop-alert{border-radius:8px;padding:12px 16px;font-size:14px;margin-bottom:16px;line-height:1.7;}
.shop-alert-ok{background:#eaf7ee;border:1px solid #c3e6cd;color:#1a7f37;}
.shop-alert-err{background:#fdeeee;border:1px solid #f5c6c6;color:#c0392b;}

/* 订单进度轴 */
.shop-order-note{font-size:13px;color:#5a6472;background:#f6f8fb;border:1px solid #e8ecf2;border-radius:6px;padding:8px 10px;margin:10px 0;line-height:1.7;}
.shop-steps{display:flex;gap:0;margin:14px 0 4px;border-top:1px solid #eef1f6;padding-top:14px;}
.shop-step{flex:1;position:relative;text-align:center;font-size:12px;color:#a6b0bf;}
.shop-step-dot{display:block;width:10px;height:10px;border-radius:50%;background:#dfe4ea;margin:0 auto 7px;position:relative;}
.shop-step-dot::after{content:'';position:absolute;left:50%;top:14px;width:100%;height:2px;background:#eef1f6;z-index:0;}
.shop-step:last-child .shop-step-dot::after{display:none;}
.shop-step.done{color:#1a73a8;font-weight:600;}
.shop-step.done .shop-step-dot{background:#1a73a8;box-shadow:0 0 0 3px rgba(26,115,168,.15);}
.shop-step.done .shop-step-dot::after{background:#cfe0ee;}
.shop-step-time{display:block;color:#a6b0bf;font-weight:400;margin-top:2px;}

/* 消息中心 */
.shop-page-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;margin-bottom:16px;}
.shop-page-head .shop-page-title{margin:0;}
.shop-notices{display:flex;flex-direction:column;gap:10px;}
.shop-notice{display:block;background:#fff;border:1px solid #e4e9f0;border-radius:10px;padding:14px 16px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s;}
.shop-notice:hover{border-color:#1a73a8;box-shadow:0 3px 12px rgba(20,60,110,.08);}
.shop-notice.unread{background:#f7fbff;border-color:#cfe0ee;}
.shop-notice-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:6px;}
.shop-notice-title{font-size:15px;font-weight:600;color:#1f2d3d;}
.shop-notice-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#e4393c;margin-right:7px;vertical-align:middle;}
.shop-notice-body{font-size:13px;color:#5a6472;line-height:1.75;}
.shop-dot{display:inline-block;min-width:17px;height:17px;line-height:17px;text-align:center;background:#e4393c;color:#fff;
  border-radius:9px;font-size:11px;padding:0 5px;margin-left:5px;}

/* 后台配置表单（content_shop 内） */
.shop-cfg-card{margin-bottom:14px;}
@media(max-width:760px){
  .shop-pay-aside,.shop-pay .shop-pay-box{flex:1 1 100%;}
  .shop-steps{gap:6px;}
}
.shop-bank-sub{font-size:13px;color:#8a94a6;margin-top:2px;}
.shop-bank-code{font-family:Menlo,Consolas,monospace;font-size:14px;letter-spacing:.5px;}

/* ===== 商城前台 V2 标记 20261022 ===== */
/* ===== 商城前台 V2：图集/参数/评论（show.php） ===== */
.shop-detail-v2{display:flex;gap:32px;margin:22px 0 26px;align-items:flex-start}
.shop-gallery{width:440px;flex:0 0 440px}
.shop-gallery-main{width:440px;height:440px;border:1px solid #e5e7eb;border-radius:12px;background:#fff;display:flex;align-items:center;justify-content:center;overflow:hidden}
.shop-gallery-main img{width:100%;height:100%;object-fit:contain}
.shop-gallery-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}
.shop-gallery-thumbs img{width:72px;height:72px;object-fit:cover;border:2px solid #e5e7eb;border-radius:8px;cursor:pointer;transition:.15s;background:#fff}
.shop-gallery-thumbs img:hover{border-color:#94a3b8}
.shop-gallery-thumbs img.on{border-color:#1a73e8;box-shadow:0 0 0 3px rgba(26,115,232,.12)}
.shop-detail-info{flex:1;min-width:0}
.shop-detail-info h1{font-size:24px;line-height:1.4;margin:0 0 10px;color:#0f172a}
.shop-detail-model{font-size:13px;color:#64748b;margin-bottom:6px}
.shop-detail-cat{font-size:13px;color:#64748b;margin-bottom:14px}
.shop-detail-cat a{color:#1a73e8;text-decoration:none}
.shop-detail-cat a:hover{text-decoration:underline}
.shop-detail-price{margin:14px 0;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
.shop-detail-info .shop-price{font-size:32px;color:#e4393c;font-weight:700}
.shop-detail-info .shop-price-old{font-size:15px;color:#94a3b8;text-decoration:line-through}
.shop-detail-stock{font-size:13px;color:#64748b;margin-bottom:12px}
.shop-detail-intro{font-size:14px;color:#475569;background:#f8fafc;border-left:3px solid #1a73e8;padding:10px 14px;border-radius:0 6px 6px 0;margin-bottom:16px;line-height:1.7}
.shop-stock-out{margin-top:10px;font-size:13px;color:#b45309;background:#fef3c7;padding:8px 12px;border-radius:6px}
.shop-buy .shop-btn-add-lg[disabled],.shop-buy .shop-btn-buy-lg[disabled]{opacity:.5;cursor:not-allowed}

.shop-block{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:22px 24px;margin:20px 0}
.shop-block-t{font-size:18px;color:#0f172a;margin:0 0 16px;padding-bottom:12px;border-bottom:1px solid #eef2f7;font-weight:700;display:flex;align-items:center;gap:8px}
.shop-block-t i{color:#1a73e8}

.shop-spec-table{width:100%;border-collapse:collapse;font-size:14px}
.shop-spec-table th{width:150px;text-align:left;background:#f8fafc;color:#475569;font-weight:600;padding:11px 14px;border:1px solid #eef2f7;vertical-align:top;white-space:nowrap}
.shop-spec-table td{padding:11px 14px;border:1px solid #eef2f7;color:#1e293b;line-height:1.7;word-break:break-all}
.shop-spec-table tr:nth-child(even) td{background:#fcfdfe}

.shop-detail-text{font-size:15px;line-height:1.9;color:#334155}
.shop-detail-text img{max-width:100%;height:auto;border-radius:8px;margin:12px 0}
.shop-detail-text table{border-collapse:collapse;margin:12px 0}
.shop-detail-text td,.shop-detail-text th{border:1px solid #e5e7eb;padding:8px 12px}
.shop-detail-text p{margin:10px 0}

.shop-rv-score{font-size:13px;color:#f59e0b;font-weight:400;margin-left:8px}
.shop-rv-bars{margin-bottom:20px;padding:14px 16px;background:#f8fafc;border-radius:8px}
.shop-rv-bar{display:flex;align-items:center;gap:10px;font-size:13px;color:#64748b;margin:5px 0}
.shop-rv-bar span{width:38px;flex:0 0 38px}
.shop-rv-bar i{height:7px;background:#f59e0b;border-radius:4px;min-width:2px}
.shop-rv-bar em{font-style:normal;color:#94a3b8;font-size:12px}
.shop-rv-list{list-style:none;padding:0;margin:0 0 8px}
.shop-rv-list>li{border-bottom:1px solid #f1f5f9;padding:14px 0}
.shop-rv-head{display:flex;align-items:center;gap:12px;font-size:13px;margin-bottom:6px;flex-wrap:wrap}
.shop-rv-head b{color:#1e293b}
.shop-rv-head em{font-style:normal;color:#94a3b8;margin-left:auto}
.shop-rv-stars{color:#f59e0b;letter-spacing:1px}
.shop-rv-body{font-size:14px;color:#475569;line-height:1.8}
.shop-rv-reply{margin-top:8px;padding:10px 12px;background:#f0f7ff;border-left:3px solid #1a73e8;font-size:13px;color:#334155;border-radius:0 6px 6px 0}
.shop-rv-reply b{color:#1a73e8}
.shop-rv-form{margin-top:20px;padding-top:18px;border-top:1px solid #eef2f7}
.shop-rv-form h3{font-size:15px;color:#0f172a;margin:0 0 12px}
.shop-rv-tip{font-size:13px;color:#64748b}
.shop-rv-tip a{color:#1a73e8}
.shop-rv-rate{font-size:14px;color:#475569;margin-bottom:10px;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.shop-rv-rate label{cursor:pointer}
.shop-rv-form textarea{width:100%;padding:11px 13px;border:1px solid #e2e8f0;border-radius:8px;font-size:14px;font-family:inherit;line-height:1.7;resize:vertical}
.shop-rv-form textarea:focus{outline:none;border-color:#1a73e8}
.shop-rv-anon{display:inline-block;font-size:13px;color:#64748b;margin:10px 0}
.shop-rv-anon input{margin-right:4px}

.shop-alert{margin:14px 0;padding:11px 16px;border-radius:8px;font-size:14px}
.shop-alert-ok{background:#ecfdf5;color:#047857;border:1px solid #a7f3d0}
.shop-alert-err{background:#fef2f2;color:#b91c1c;border:1px solid #fecaca}

@media (max-width:900px){
.shop-detail-v2{flex-direction:column;gap:18px}
.shop-gallery,.shop-gallery-main{width:100%;flex:none}
.shop-gallery-main{height:320px}
.shop-detail-info h1{font-size:20px}
.shop-detail-info .shop-price{font-size:26px}
.shop-spec-table th{width:110px}
}

/* ===== 商城前台 V3 标记 20261022 ===== */

/* ===== 商城前台 V3：多级分类树（index.php 侧栏） ===== */
.shop-cats-tree{list-style:none;padding:0;margin:0;font-size:13px}
.shop-tree-node{position:relative}
.shop-tree-node>a{display:block;padding:7px 26px 7px 12px;color:#475569;text-decoration:none;border-radius:5px;line-height:1.5}
.shop-tree-node>a:hover{background:#f1f5f9;color:#1a73e8}
.shop-tree-node.on>a{background:#1a73e8;color:#fff;font-weight:600}
.shop-tree-kids{list-style:none;padding:0;margin:0;background:#fafbfc}
.shop-tree-kids .shop-tree-kids{background:#f5f7fa}
.shop-tree-toggle{position:absolute;right:6px;top:6px;width:18px;height:18px;line-height:18px;text-align:center;color:#94a3b8;cursor:pointer;border-radius:4px;z-index:2}
.shop-tree-toggle:hover{background:#e2e8f0;color:#475569}
.shop-tree-toggle i{transition:transform .15s;display:inline-block}
.shop-tree-kids .shop-tree-node>a{padding-top:6px;padding-bottom:6px;font-size:12.5px}
@media (max-width:900px){.shop-tree-toggle{display:none}}
