/* HT Sport Mall V14.0 Stable */
:root{
  --ht-red:#ee4d2d;
  --ht-dark:#111827;
  --ht-green:#10b981;
  --ht-bg:#f5f5f5;
}
.ht14-logo{
  width:24px;height:24px;border-radius:7px;object-fit:cover;display:inline-block;vertical-align:middle;background:#fff;border:1px solid #eee;
}
.ht14-icon{
  width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;vertical-align:middle;
}
.ht14-icon svg{width:22px;height:22px;display:block}
.ht14-toast{
  position:fixed;left:22px;right:22px;bottom:82px;background:#111827;color:#fff;border-radius:12px;
  padding:12px 14px;text-align:center;z-index:400000;font-weight:800;font-family:Arial,sans-serif;
}
@media(max-width:768px){
  body{overflow-x:hidden}
  .htv13-mask,.ht14-mask{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:200000}
  .htv13-sheet,.ht14-sheet{
    position:fixed;left:0;right:0;bottom:0;z-index:200001;background:#fff;border-radius:18px 18px 0 0;
    max-height:88vh;overflow:auto;font-family:Arial,sans-serif;color:#111827;box-shadow:0 -10px 30px rgba(0,0,0,.2)
  }
  .htv13-close,.ht14-close{
    position:absolute;right:14px;top:14px;width:38px;height:38px;border:0;border-radius:50%;background:#f1f5f9;color:#64748b;font-size:26px;line-height:38px
  }
  .htv13-product,.ht14-product{display:flex;gap:12px;padding:18px 16px 12px;border-bottom:1px solid #f1f5f9}
  .htv13-img,.ht14-img{width:108px;height:108px;border:1px solid var(--ht-red);border-radius:8px;object-fit:cover;background:#fff}
  .htv13-info,.ht14-info{flex:1;padding-right:40px;min-width:0}
  .htv13-price,.ht14-price{font-size:26px;font-weight:900;color:var(--ht-red);margin:18px 0 8px;white-space:nowrap}
  .htv13-old,.ht14-old{font-size:15px;color:#999;text-decoration:line-through;margin-left:6px}
  .htv13-stock,.ht14-stock{color:#999;font-size:14px}
  .htv13-sec,.ht14-sec{padding:14px 16px;border-bottom:1px solid #f1f5f9}
  .htv13-head,.ht14-head{display:flex;justify-content:space-between;align-items:center;font-size:17px;font-weight:800;margin-bottom:10px}
  .htv13-muted,.ht14-muted{color:#aaa;font-weight:400}
  .htv13-options,.ht14-options{display:flex;flex-wrap:wrap;gap:9px}
  .htv13-opt,.ht14-opt{border:1px solid #eee;background:#f8f8f8;border-radius:8px;padding:9px 13px;font-size:15px;min-width:64px;text-align:center}
  .htv13-opt.active,.ht14-opt.active{border-color:var(--ht-red);background:#fff;color:var(--ht-red)}
  .htv13-opt img,.ht14-opt img{width:28px;height:28px;object-fit:cover;border-radius:4px;vertical-align:middle;margin-right:6px}
  .htv13-qtyrow,.ht14-qtyrow{display:flex;justify-content:space-between;align-items:center;padding:16px}
  .htv13-qty,.ht14-qty{display:flex;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}
  .htv13-qty button,.ht14-qty button{width:44px;height:36px;border:0;background:#fff;font-size:22px;color:#555}
  .htv13-qty span,.ht14-qty span{width:50px;height:36px;display:flex;align-items:center;justify-content:center;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb}
  .htv13-bottom,.ht14-bottom{position:sticky;bottom:0;background:#fff;padding:10px 14px 14px;border-top:1px solid #eee}
  .htv13-mainbtn,.ht14-mainbtn{width:100%;height:52px;border:0;border-radius:9px;background:var(--ht-red);color:#fff;font-size:19px;font-weight:900}

  .htv13-pay,.ht14-pay{position:fixed;inset:0;background:#f5f5f5;z-index:200010;overflow:auto;font-family:Arial,sans-serif;color:#111827}
  .htv13-payhead,.ht14-payhead{height:64px;background:#fff;display:flex;align-items:center;gap:16px;padding:0 18px;font-size:25px;border-bottom:1px solid #eee}
  .htv13-back,.ht14-back{font-size:34px;color:var(--ht-red)}
  .htv13-card,.ht14-card{background:#fff;margin:10px;border-radius:12px;padding:14px}
  .htv13-address,.ht14-address{display:flex;gap:10px;align-items:flex-start}
  .htv13-address input,.ht14-address input{width:100%;border:0;outline:0;font-size:15px;margin:2px 0;color:#111827}
  .htv13-shop,.ht14-shop{font-size:19px;font-weight:900;margin-bottom:12px;display:flex;align-items:center;gap:8px}
  .htv13-payproduct,.ht14-payproduct{display:flex;gap:12px}
  .htv13-payproduct img,.ht14-payproduct img{width:92px;height:92px;object-fit:cover;border-radius:7px;border:1px solid #eee}
  .htv13-payname,.ht14-payname{font-size:16px;line-height:1.35}
  .htv13-payvariant,.ht14-payvariant{color:#999;margin-top:4px}
  .htv13-payrow,.ht14-payrow{display:flex;justify-content:space-between;align-items:flex-end;margin-top:12px}
  .htv13-payprice,.ht14-payprice{color:var(--ht-red);font-size:20px;font-weight:900}
  .htv13-gift,.ht14-gift{border-top:1px solid #f1f1f1;margin-top:10px;padding-top:10px}
  .htv13-giftrow,.ht14-giftrow{display:flex;gap:8px;align-items:center;margin-top:8px;color:#64748b}
  .htv13-line,.ht14-line{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #f1f1f1;font-size:17px}
  .htv13-line .right,.ht14-line .right{color:#aaa;text-align:right}
  .htv13-input,.ht14-input{width:100%;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:10px;padding:11px 12px;font-size:15px;background:#fff;margin-top:8px}
  .htv13-shipwrap,.ht14-shipwrap{display:block!important}
  .htv13-ship,.ht14-ship{position:relative!important;border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:12px;margin-top:10px;cursor:pointer!important;display:block!important}
  .htv13-ship.more,.ht14-ship.more{display:block!important}
  .htv13-ship.active,.ht14-ship.active{border-color:var(--ht-green)!important;background:#ecfdf5!important}
  .htv13-ship.active:before,.ht14-ship.active:before{content:'✓';position:absolute;left:0;top:0;width:28px;height:28px;background:var(--ht-green);color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;border-radius:10px 0 10px 0;font-size:16px}
  .ht14-ship-fee{float:right;font-weight:900}
  .htv13-paybottom,.ht14-paybottom{position:sticky;bottom:0;background:#fff;padding:10px 16px;display:flex;gap:12px;align-items:center;border-top:1px solid #eee;z-index:2}
  .htv13-total,.ht14-total{flex:1;text-align:right;font-size:15px}
  .htv13-total b,.ht14-total b{display:block;color:var(--ht-red);font-size:24px}
  .htv13-submit,.ht14-submit{width:150px;height:52px;border:0;border-radius:8px;background:var(--ht-red);color:#fff;font-size:20px;font-weight:900}

  .ht14-modal{position:fixed;inset:0;background:#f5f5f5;z-index:300000;overflow:auto;font-family:Arial,sans-serif;color:#111827}
  .ht14-modal-head{height:62px;background:#fff;display:flex;align-items:center;gap:16px;padding:0 18px;font-size:24px;border-bottom:1px solid #eee}
  .ht14-modal-back{font-size:34px;color:var(--ht-red)}
  .ht14-modal-card{background:#fff;margin:10px;border-radius:12px;padding:14px}
  .ht14-code{display:flex;gap:10px;margin:10px 0}
  .ht14-code input{flex:1;border:1px solid #ddd;border-radius:8px;padding:12px;font-size:16px}
  .ht14-code button{border:0;border-radius:8px;background:var(--ht-red);color:#fff;font-weight:900;padding:0 16px}
  .ht14-voucher{display:flex;align-items:center;gap:12px;border:1px solid #eee;border-radius:10px;margin:10px 0;background:#fff;overflow:hidden}
  .ht14-ticket{width:96px;height:82px;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;text-align:center}
  .ht14-vinfo{flex:1}.ht14-vinfo b{font-size:18px}
  .ht14-choose{width:34px;height:34px;border-radius:50%;border:2px solid var(--ht-red);color:var(--ht-red);display:flex;align-items:center;justify-content:center;font-weight:900;margin-right:10px}
  .ht14-qr{display:block;width:220px;height:220px;object-fit:contain;margin:12px auto;border:1px solid #eee;border-radius:12px;background:#fff}
  .ht14-placeholder{width:220px;height:220px;margin:12px auto;border:2px dashed #ccc;border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;color:#999}
  .ht14-done{position:fixed;left:14px;right:14px;bottom:16px;height:54px;border:0;border-radius:10px;background:var(--ht-red);color:#fff;font-size:19px;font-weight:900}
}
/* HT Sport Mall V15.0 - cart, voucher claim, multi-buy */
#openCartOrderBtn{position:relative!important}
#openCartOrderBtn.has-items .ht-cart-count,#openCartOrderBtn b.ht-cart-count{position:absolute;right:6px;top:2px;background:#ef2b68;color:#fff;border-radius:999px;min-width:18px;height:18px;padding:0 4px;font-size:11px;display:flex;align-items:center;justify-content:center;line-height:18px}
.ht14-claimed{background:#10b981!important;color:#fff!important}
.ht14-cart-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid #f1f5f9;padding:10px 0}
.ht14-cart-row img{width:64px;height:64px;object-fit:cover;border-radius:8px;border:1px solid #eee;background:#fff}
.ht14-cart-row div{flex:1;min-width:0}.ht14-cart-row b{display:block;font-size:15px}.ht14-cart-row small{display:block;color:#64748b;margin-top:3px}.ht14-cart-row span{display:block;color:#ee4d2d;font-weight:900;margin-top:5px}.ht14-cart-row button{border:0;border-radius:9px;background:#fee2e2;color:#b91c1c;font-weight:900;padding:8px 10px}
.ht14-cart-item{padding-bottom:10px;margin-bottom:10px;border-bottom:1px solid #f1f5f9}.ht14-cart-item:last-child{border-bottom:0;margin-bottom:0}
.ht14-summary .ht14-line{font-size:15px}.ht14-summary b{color:#ee4d2d}
@media(min-width:769px){
  .ht14-mask{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:200000}
  .ht14-sheet{position:fixed;right:24px;bottom:24px;width:430px;max-height:88vh;overflow:auto;background:#fff;border-radius:18px;z-index:200001;box-shadow:0 20px 60px rgba(15,23,42,.25);font-family:Arial,sans-serif;color:#111827}
  .ht14-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:0;border-radius:999px;background:#f1f5f9;font-size:24px;color:#64748b}
  .ht14-product{display:flex;gap:12px;padding:18px 16px 12px;border-bottom:1px solid #f1f5f9}.ht14-img{width:108px;height:108px;border:1px solid #ee4d2d;border-radius:8px;object-fit:cover;background:#fff}.ht14-info{flex:1;padding-right:40px}.ht14-price{font-size:26px;font-weight:900;color:#ee4d2d;margin:18px 0 8px}.ht14-old{font-size:15px;color:#999;text-decoration:line-through;margin-left:6px}.ht14-stock{color:#999;font-size:14px}.ht14-sec{padding:14px 16px;border-bottom:1px solid #f1f5f9}.ht14-head{display:flex;justify-content:space-between;align-items:center;font-size:17px;font-weight:800;margin-bottom:10px}.ht14-muted{color:#aaa;font-weight:400}.ht14-options{display:flex;flex-wrap:wrap;gap:9px}.ht14-opt{border:1px solid #eee;background:#f8f8f8;border-radius:8px;padding:9px 13px;font-size:15px;min-width:64px;text-align:center}.ht14-opt.active{border-color:#ee4d2d;background:#fff;color:#ee4d2d}.ht14-opt img{width:28px;height:28px;object-fit:cover;border-radius:4px;vertical-align:middle;margin-right:6px}.ht14-qtyrow{display:flex;justify-content:space-between;align-items:center;padding:16px}.ht14-qty{display:flex;border:1px solid #e5e7eb;border-radius:8px;overflow:hidden}.ht14-qty button{width:44px;height:36px;border:0;background:#fff;font-size:22px;color:#555}.ht14-qty span{width:50px;height:36px;display:flex;align-items:center;justify-content:center;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb}.ht14-bottom{position:sticky;bottom:0;background:#fff;padding:10px 14px 14px;border-top:1px solid #eee}.ht14-mainbtn{width:100%;height:52px;border:0;border-radius:9px;background:#ee4d2d;color:#fff;font-size:19px;font-weight:900}
  .ht14-pay,.ht14-modal{position:fixed;inset:auto 24px 24px auto;width:460px;max-height:92vh;background:#f5f5f5;z-index:200010;overflow:auto;font-family:Arial,sans-serif;color:#111827;border-radius:18px;box-shadow:0 20px 60px rgba(15,23,42,.25)}
  .ht14-modal{z-index:300000}.ht14-payhead,.ht14-modal-head{height:62px;background:#fff;display:flex;align-items:center;gap:16px;padding:0 18px;font-size:22px;border-bottom:1px solid #eee}.ht14-back,.ht14-modal-back{font-size:32px;color:#ee4d2d;cursor:pointer}.ht14-card,.ht14-modal-card{background:#fff;margin:10px;border-radius:12px;padding:14px}.ht14-address{display:flex;gap:10px;align-items:flex-start}.ht14-address input{width:100%;border:0;outline:0;font-size:15px;margin:2px 0;color:#111827}.ht14-shop{font-size:19px;font-weight:900;margin-bottom:12px;display:flex;align-items:center;gap:8px}.ht14-payproduct{display:flex;gap:12px}.ht14-payproduct img{width:92px;height:92px;object-fit:cover;border-radius:7px;border:1px solid #eee}.ht14-payname{font-size:16px;line-height:1.35}.ht14-payvariant{color:#999;margin-top:4px}.ht14-payrow{display:flex;justify-content:space-between;align-items:flex-end;margin-top:12px}.ht14-payprice{color:#ee4d2d;font-size:20px;font-weight:900}.ht14-line{display:flex;justify-content:space-between;align-items:center;padding:15px 0;border-top:1px solid #f1f1f1;font-size:17px}.ht14-line .right{color:#aaa;text-align:right}.ht14-input{width:100%;box-sizing:border-box;border:1px solid #e5e7eb;border-radius:10px;padding:11px 12px;font-size:15px;background:#fff;margin-top:8px}.ht14-ship{position:relative;border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:12px;margin-top:10px;cursor:pointer;display:block}.ht14-ship.active{border-color:#10b981;background:#ecfdf5}.ht14-ship.active:before{content:'✓';position:absolute;left:0;top:0;width:28px;height:28px;background:#10b981;color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center;border-radius:10px 0 10px 0;font-size:16px}.ht14-ship-fee{float:right;font-weight:900}.ht14-paybottom{position:sticky;bottom:0;background:#fff;padding:10px 16px;display:flex;gap:12px;align-items:center;border-top:1px solid #eee;z-index:2}.ht14-total{flex:1;text-align:right;font-size:15px}.ht14-total b{display:block;color:#ee4d2d;font-size:24px}.ht14-submit{width:150px;height:52px;border:0;border-radius:8px;background:#ee4d2d;color:#fff;font-size:20px;font-weight:900}.ht14-code{display:flex;gap:10px;margin:10px 0}.ht14-code input{flex:1;border:1px solid #ddd;border-radius:8px;padding:12px;font-size:16px}.ht14-code button{border:0;border-radius:8px;background:#ee4d2d;color:#fff;font-weight:900;padding:0 16px}.ht14-voucher{display:flex;align-items:center;gap:12px;border:1px solid #eee;border-radius:10px;margin:10px 0;background:#fff;overflow:hidden;cursor:pointer}.ht14-ticket{width:96px;height:82px;background:#10b981;color:#fff;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;text-align:center}.ht14-vinfo{flex:1}.ht14-vinfo b{font-size:18px}.ht14-choose{width:34px;height:34px;border-radius:50%;border:2px solid #ee4d2d;color:#ee4d2d;display:flex;align-items:center;justify-content:center;font-weight:900;margin-right:10px}.ht14-qr{display:block;width:220px;height:220px;object-fit:contain;margin:12px auto;border:1px solid #eee;border-radius:12px;background:#fff}.ht14-placeholder{width:220px;height:220px;margin:12px auto;border:2px dashed #ccc;border-radius:12px;display:flex;align-items:center;justify-content:center;text-align:center;color:#999}.ht14-done{position:sticky;left:14px;right:14px;bottom:16px;width:calc(100% - 28px);margin:10px 14px 16px;height:54px;border:0;border-radius:10px;background:#ee4d2d;color:#fff;font-size:19px;font-weight:900}
}
.ht14-bottom-two{display:flex!important;gap:10px!important}
.ht14-bottom-two .ht14-cartbtn{flex:1;height:52px;border:1px solid #ee4d2d;border-radius:9px;background:#fff;color:#ee4d2d;font-size:17px;font-weight:900}
.ht14-bottom-two .ht14-buybtn{flex:1;width:auto!important}
