/* NSS HostBill 購物流程重新設計（2026-10-14）
   只作用在 .nss-hb-shop 包起來的訂購頁，不影響外掛其他頁面。
   佈景主題（Alaska）會把 label/input 改成區塊、置中，這裡用較高權重統一覆寫。 */
.nss-hb-shop{--red:#ca000f;--red-d:#a3000c;--ink:#1f2937;--muted:#6b7280;--line:#e5e7eb;--bg:#f8fafc;
  max-width:1120px;margin:0 auto;padding:8px 16px 140px;color:var(--ink);font-size:16px;line-height:1.7}
.nss-hb-shop *{box-sizing:border-box}
.nss-hb-shop h2,.nss-hb-shop h3,.nss-hb-shop h4{font-family:inherit;color:var(--ink);letter-spacing:0;text-transform:none}

/* 頁首與步驟 */
.nss-shop-hero{text-align:center;padding:24px 0 8px}
.nss-shop-hero h1{font-size:30px!important;line-height:1.35!important;margin:0 0 10px!important;font-weight:800!important;color:var(--ink)!important}
.nss-shop-hero p{font-size:16px!important;color:var(--muted)!important;margin:0!important}
.nss-shop-hero .nss-shop-promo{display:inline-block;margin-top:14px;background:#fff1f2;color:var(--red);border:1px solid #fecdd3;border-radius:999px;padding:6px 16px;font-weight:700;font-size:15px}
.nss-shop-steps{display:flex;justify-content:center;gap:8px;margin:26px 0 8px;padding:0;list-style:none;flex-wrap:wrap}
.nss-shop-steps li{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;color:var(--muted);margin:0}
.nss-shop-steps li b{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#e5e7eb;color:#374151;font-size:14px}
.nss-shop-steps li.on{color:var(--ink)} .nss-shop-steps li.on b{background:var(--red);color:#fff}
.nss-shop-steps li+li:before{content:"";width:36px;height:2px;background:var(--line);margin-right:4px}

/* 區塊 */
.nss-shop-sec{margin:40px 0 0}
.nss-shop-sec>h2{display:flex;align-items:center;gap:12px;font-size:22px!important;font-weight:800!important;margin:0 0 6px!important;line-height:1.4!important}
.nss-shop-sec>h2 .n{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--red);color:#fff;font-size:16px}
.nss-shop-sec>.sub{color:var(--muted);font-size:15px;margin:0 0 18px 44px}
.nss-shop-tabs{display:flex;gap:8px;margin:0 0 16px 44px}
.nss-shop-tabs button{border:1px solid var(--line)!important;background:#fff!important;color:var(--ink)!important;border-radius:999px!important;padding:8px 20px!important;font-size:15px!important;font-weight:600!important;cursor:pointer;line-height:1.4!important;box-shadow:none!important}
.nss-shop-tabs button.on{background:var(--ink)!important;color:#fff!important;border-color:var(--ink)!important}

/* 方案卡片 */
.nss-hb-shop .nss-hb-products-grid{display:grid;gap:20px}
@media(max-width:900px){.nss-hb-shop .nss-hb-products-grid{grid-template-columns:1fr!important}}
.nss-hb-shop .nss-hb-product{background:#fff;border:1px solid var(--line);border-radius:16px;padding:24px;display:flex;flex-direction:column;box-shadow:0 2px 10px rgba(15,23,42,.04);text-align:left}
.nss-hb-shop .nss-hb-product-title{font-size:20px!important;font-weight:800!important;margin:0 0 12px!important;line-height:1.4!important}
.nss-hb-shop .nss-hb-specs{list-style:none!important;margin:0 0 16px!important;padding:0!important;border-top:1px solid var(--line)}
.nss-hb-shop .nss-hb-specs li{display:flex;justify-content:space-between;gap:12px;padding:8px 0!important;margin:0!important;border-bottom:1px dashed var(--line);font-size:14px!important;line-height:1.5!important;color:var(--muted)}
.nss-hb-shop .nss-hb-specs li b{color:var(--ink);font-weight:600;text-align:right}
.nss-hb-shop .nss-hb-product-desc{font-size:14px!important;color:var(--muted)!important;margin:0 0 16px!important}
.nss-hb-shop .nss-hb-cycle-field{margin-top:auto}
.nss-hb-shop .nss-hb-cycle-label{display:block;font-size:14px!important;font-weight:600;color:var(--muted);margin:0 0 6px!important}
.nss-hb-shop .nss-hb-cycle-select,.nss-hb-shop select{width:100%!important;height:46px!important;border:1px solid #d1d5db!important;border-radius:10px!important;padding:0 12px!important;font-size:15px!important;background:#fff!important;color:var(--ink)!important}
.nss-hb-shop .nss-hb-product-price{margin:14px 0 4px!important}
.nss-hb-shop .nss-hb-price{font-size:28px!important;font-weight:800!important;color:var(--red)!important}
.nss-hb-shop .nss-hb-cycle{font-size:15px!important;color:var(--muted)!important}
.nss-hb-shop .nss-hb-promo-note{font-size:13px!important;color:var(--red)!important;margin:0 0 12px!important}

/* 按鈕 */
.nss-hb-shop .button,.nss-hb-shop button.button,.nss-hb-shop a.button,.nss-hb-up-modal .button{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;height:48px!important;padding:0 22px!important;border-radius:10px!important;font-size:16px!important;font-weight:700!important;line-height:1!important;text-transform:none!important;letter-spacing:0!important;box-shadow:none!important;cursor:pointer;text-decoration:none!important;border:1px solid #d1d5db!important;background:#fff!important;color:var(--ink)!important}
.nss-hb-shop .nss-hb-add-to-cart,.nss-hb-shop .button-primary,.nss-hb-shop .nss-hb-submit-order,.nss-hb-up-modal .button-primary{background:var(--red)!important;border-color:var(--red)!important;color:#fff!important}
.nss-hb-shop .nss-hb-add-to-cart:hover,.nss-hb-shop .button-primary:hover,.nss-hb-shop .nss-hb-submit-order:hover{background:var(--red-d)!important}
.nss-hb-shop .nss-hb-add-to-cart{width:100%;margin-top:6px}
.nss-hb-shop .nss-hb-submit-order{width:100%;height:56px!important;font-size:18px!important}

/* 購物車 */
.nss-hb-shop .nss-hb-cart,.nss-hb-shop .nss-hb-checkout{background:#fff;border:1px solid var(--line);border-radius:16px;padding:20px 24px}
.nss-hb-shop .nss-hb-cart-empty{margin:0!important;color:var(--muted);font-size:15px!important;text-align:center;padding:18px 0}
.nss-hb-shop table{width:100%!important;border-collapse:collapse!important;margin:0 0 12px!important;font-size:15px!important;border:0!important}
.nss-hb-shop table th,.nss-hb-shop table td{padding:12px 8px!important;border:0!important;border-bottom:1px solid var(--line)!important;text-align:left!important;font-size:15px!important;vertical-align:middle!important;background:transparent!important;color:var(--ink)!important}
.nss-hb-shop table thead th{font-size:13px!important;color:var(--muted)!important;font-weight:600!important}
.nss-hb-shop table tfoot th{font-size:17px!important;font-weight:800!important;border-bottom:0!important}
.nss-hb-shop .nss-hb-cart-total,.nss-hb-shop .nss-hb-checkout-summary tfoot th:last-child{color:var(--red)!important}
.nss-hb-shop .nss-hb-remove{background:none!important;border:0!important;color:var(--muted)!important;font-size:14px!important;text-decoration:underline!important;cursor:pointer;padding:0!important;height:auto!important}
.nss-hb-shop .nss-hb-cart-actions{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:8px}
.nss-hb-shop .nss-hb-help{font-size:13px!important;color:var(--muted)!important;margin:12px 0 0!important}

/* 結帳表單 */
.nss-hb-shop .nss-hb-checkout h3{font-size:18px!important;font-weight:800!important;margin:28px 0 12px!important;padding:0!important;line-height:1.4!important}
.nss-hb-shop .nss-hb-checkout h3:first-of-type{margin-top:0!important}
.nss-hb-shop .nss-hb-domain-block{border:0;padding:0;background:transparent}
.nss-hb-shop .nss-hb-domain-title{font-size:15px!important;margin:0 0 10px!important;color:var(--muted)}
.nss-hb-shop .nss-hb-dm-opt{display:flex!important;align-items:center!important;gap:12px!important;width:100%!important;margin:0 0 10px!important;padding:14px 16px!important;border:1px solid #d1d5db!important;border-radius:12px!important;background:#fff!important;cursor:pointer;font-size:16px!important;font-weight:600!important;text-align:left!important;line-height:1.4!important}
.nss-hb-shop .nss-hb-dm-opt input[type=radio]{margin:0!important;width:20px!important;height:20px!important;flex:0 0 20px;accent-color:var(--red);position:static!important;opacity:1!important}
.nss-hb-shop .nss-hb-dm-opt span{display:inline!important;font-size:16px!important}
.nss-hb-shop .nss-hb-dm-opt:has(input:checked){border-color:var(--red)!important;background:#fff5f5!important;box-shadow:0 0 0 1px var(--red)}
.nss-hb-shop .nss-hb-dm-panel{margin:-4px 0 14px 0!important;padding:14px 16px!important;background:var(--bg);border-radius:12px}
.nss-hb-shop .nss-hb-dm-panel .nss-hb-dm-input{width:calc(100% - 140px)!important;display:inline-block!important;vertical-align:middle}
.nss-hb-shop .nss-hb-dm-check{width:128px;margin-left:8px;vertical-align:middle;height:48px!important}
.nss-hb-shop .nss-hb-dm-check-result{display:block;margin-top:8px;font-size:15px}
.nss-hb-shop .nss-hb-domain-hint{font-size:13px!important;color:var(--muted)!important;margin:8px 0 0!important}
.nss-hb-shop .nss-hb-dm-subwrap{display:flex!important;align-items:center;gap:8px}
.nss-hb-shop .nss-hb-dm-subwrap .nss-hb-dm-input{width:auto!important;flex:1}
.nss-hb-shop .nss-hb-dm-suffix{font-weight:700;font-size:16px}
.nss-hb-shop input[type=text],.nss-hb-shop input[type=email],.nss-hb-shop input[type=tel]{width:100%!important;height:48px!important;border:1px solid #d1d5db!important;border-radius:10px!important;padding:0 14px!important;font-size:16px!important;background:#fff!important;color:var(--ink)!important;margin:0!important;box-shadow:none!important}
.nss-hb-shop input:focus,.nss-hb-shop select:focus{outline:none!important;border-color:var(--red)!important;box-shadow:0 0 0 3px rgba(202,0,15,.12)!important}
.nss-hb-shop .nss-hb-checkout-grid{display:grid!important;grid-template-columns:1fr 1fr;gap:14px 16px}
.nss-hb-shop .nss-hb-checkout-grid p{margin:0!important}
.nss-hb-shop .nss-hb-checkout-grid .nss-hb-full{grid-column:1/-1}
.nss-hb-shop .nss-hb-checkout-grid label{display:block!important;font-size:14px!important;font-weight:600!important;color:#374151!important;margin:0 0 6px!important;text-align:left!important}
@media(max-width:640px){.nss-hb-shop .nss-hb-checkout-grid{grid-template-columns:1fr}.nss-hb-shop .nss-hb-dm-panel .nss-hb-dm-input{width:100%!important}.nss-hb-shop .nss-hb-dm-check{width:100%;margin:8px 0 0}}
.nss-hb-shop .nss-hb-terms{display:flex!important;align-items:flex-start;gap:10px;font-size:15px!important;margin:20px 0 14px!important;cursor:pointer}
.nss-hb-shop .nss-hb-terms input{width:18px;height:18px;margin:3px 0 0!important;accent-color:var(--red)}
.nss-hb-shop .nss-hb-notice{border-radius:12px!important;padding:12px 16px!important;font-size:14px!important;line-height:1.6!important}
.nss-hb-shop .nss-hb-submit-msg{margin-top:10px;font-size:15px}

/* 底部固定購物車列 */
.nss-shop-bar{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#fff;border-top:1px solid var(--line,#e5e7eb);box-shadow:0 -6px 20px rgba(15,23,42,.08);transform:translateY(110%);transition:transform .25s}
.nss-shop-bar.show{transform:none}
.nss-shop-bar .in{max-width:1120px;margin:0 auto;padding:12px 16px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.nss-shop-bar .info{font-size:15px;color:#374151}
.nss-shop-bar .info b{font-size:22px;color:#ca000f;margin-left:6px}
.nss-shop-bar a{display:inline-flex;align-items:center;height:48px;padding:0 26px;border-radius:10px;background:#ca000f;color:#fff!important;font-weight:700;font-size:16px;text-decoration:none!important;white-space:nowrap}
@media(max-width:640px){.nss-shop-bar .info b{font-size:18px}.nss-shop-bar a{padding:0 16px}}

/* SSL 加購彈窗 */
.nss-hb-up-overlay{z-index:99999!important}
.nss-hb-up-modal{border-radius:16px!important;font-size:16px}
.nss-hb-up-modal h3{font-size:20px!important;margin:0 0 6px!important}
.nss-hb-up-row{display:flex!important;align-items:center;gap:12px;padding:12px 14px!important;border:1px solid #e5e7eb;border-radius:10px;margin:0 0 8px!important;cursor:pointer;font-size:15px}
.nss-hb-up-row input{width:18px;height:18px;accent-color:#ca000f;margin:0!important}
.nss-hb-up-row .nss-hb-up-n{flex:1}
.nss-hb-up-row .nss-hb-up-p{font-weight:700;color:#ca000f}
.nss-hb-up-row.sel{border-color:#ca000f;background:#fff5f5}
.nss-hb-up-foot{display:flex;gap:10px;justify-content:flex-end}

/* r2：主要按鈕權重補強（a.button / 彈窗按鈕被外掛原樣式蓋掉）、規格名稱不換行、底部購物車列蓋過網站促銷列 */
.nss-hb-shop a.button.button-primary,.nss-hb-shop button.button.button-primary,
.nss-hb-up-overlay .nss-hb-up-modal button.button.button-primary{background:#ca000f!important;border-color:#ca000f!important;color:#fff!important}
.nss-hb-up-overlay .nss-hb-up-modal button.button.button-primary:hover,.nss-hb-shop a.button.button-primary:hover{background:#a3000c!important}
.nss-hb-up-overlay .nss-hb-up-modal .button{height:48px!important;border-radius:10px!important;font-size:16px!important;font-weight:700!important}
.nss-hb-shop .nss-hb-specs li span{white-space:nowrap;flex:0 0 auto}
.nss-shop-bar{z-index:100000}

/* r3：分頁分步驟流程（仿 GoDaddy） */
body.nss-focus .main-menu-2,body.nss-focus .elementor-location-popup{display:none!important}
.nss-prog{display:flex;justify-content:space-between;list-style:none;margin:8px 0 34px!important;padding:0!important;counter-reset:s;position:relative}
.nss-prog:before{content:"";position:absolute;left:10%;right:10%;top:15px;height:2px;background:#e5e7eb;z-index:0}
.nss-prog li{flex:1;text-align:center;position:relative;z-index:1;font-size:14px!important;color:#9ca3af;margin:0!important;font-weight:600}
.nss-prog li b{display:flex;align-items:center;justify-content:center;width:32px;height:32px;margin:0 auto 6px;border-radius:50%;background:#fff;border:2px solid #e5e7eb;color:#9ca3af;font-size:14px}
.nss-prog li.done{color:#374151}.nss-prog li.done b{background:#111827;border-color:#111827;color:#fff}
.nss-prog li.cur{color:#ca000f}.nss-prog li.cur b{background:#ca000f;border-color:#ca000f;color:#fff}
.nss-prog li a{color:inherit!important;text-decoration:none!important}
.nss-step-h{text-align:center;margin:0 0 28px}
.nss-step-h h2{font-size:28px!important;font-weight:800!important;margin:0 0 8px!important;line-height:1.35!important}
.nss-step-h p{font-size:16px!important;color:#6b7280!important;margin:0!important}
.nss-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:24px;margin:0 0 18px;box-shadow:0 2px 10px rgba(15,23,42,.04)}
.nss-cfg-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:16px}
.nss-cfg-head h3,.nss-addon h3{font-size:20px!important;font-weight:800!important;margin:0!important;line-height:1.4!important}
.nss-cfg-price{font-size:22px;font-weight:800;color:#ca000f;white-space:nowrap}.nss-cfg-price s{font-size:15px;color:#9ca3af;font-weight:500;margin-left:6px}
.nss-lbl{display:block;font-size:15px!important;font-weight:700!important;color:#374151!important;margin:0 0 8px!important}
.nss-note{font-size:13px!important;color:#ca000f!important;margin:8px 0 0!important}
.nss-opts{display:grid;gap:10px}
.nss-opt{display:flex!important;align-items:flex-start;gap:12px;padding:14px 16px!important;border:1px solid #d1d5db;border-radius:12px;cursor:pointer;margin:0!important;background:#fff}
.nss-opt input{width:20px;height:20px;margin:2px 0 0!important;accent-color:#ca000f;flex:0 0 20px}
.nss-opt span{display:flex;flex-direction:column;gap:2px}.nss-opt b{font-size:16px;color:#111827}.nss-opt small{font-size:13px;color:#6b7280;line-height:1.5}
.nss-opt.on{border-color:#ca000f;background:#fff5f5;box-shadow:0 0 0 1px #ca000f}
.nss-opt-panel{padding:4px 0 6px 0}
.nss-row{display:flex;gap:10px;align-items:center}.nss-row .nss-in{flex:1}
.nss-suffix{font-weight:700;font-size:16px;white-space:nowrap}
.nss-check-res{margin-top:8px;font-size:15px}.nss-check-res.ok{color:#15803d}.nss-check-res.bad,.nss-err{color:#ca000f!important}
.nss-err{font-size:14px!important;margin:8px 0 0!important}
.nss-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:26px;flex-wrap:wrap}
.nss-actions .nss-back{color:#4b5563!important;font-size:15px;text-decoration:none!important}
.nss-actions .button-primary{min-width:220px}
.nss-addon{display:flex;justify-content:space-between;align-items:center;gap:16px}
.nss-addon p{font-size:14px!important;color:#6b7280!important;margin:4px 0 0!important}
.nss-addon-r{display:flex;align-items:center;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.nss-addon-p{font-size:20px;font-weight:800;color:#111827;white-space:nowrap}.nss-addon-p small{font-size:13px;color:#6b7280;font-weight:500}
.nss-addon.on{border-color:#15803d;box-shadow:0 0 0 1px #15803d}
.nss-addon-btn{min-width:150px}
.nss-empty{text-align:center;padding:30px 0;font-size:16px;color:#6b7280}.nss-empty .button{margin-left:12px}
.nss-dom-sum{font-size:13px;color:#6b7280;margin-top:4px}.nss-dom-sum a{color:#ca000f!important}
.nss-dom-summary{background:#f8fafc;border-radius:12px;padding:14px 18px;margin:10px 0 0}
.nss-dom-summary h3{margin:0 0 6px!important;font-size:18px!important}.nss-dom-summary p{margin:0 0 6px!important;font-size:15px!important}
.nss-dom-summary a{font-size:14px;color:#ca000f!important}
.nss-resume{display:none;text-align:center;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:10px 16px;font-size:15px;margin:-10px 0 24px}
.nss-resume a{color:#ca000f!important;font-weight:700}
.nss-cfg.is-loading{opacity:.5;pointer-events:none}
.nss-hb-shop .nss-hb-cart-actions .nss-hb-clear-cart{display:none!important}
@media(max-width:640px){.nss-prog li{font-size:12px!important}.nss-addon{flex-direction:column;align-items:flex-start}.nss-addon-r{width:100%;justify-content:space-between}.nss-actions .button-primary{width:100%}}
.nss-hb-shop button.nss-hb-add-to-cart{background:#ca000f!important;border-color:#ca000f!important;color:#fff!important}
.nss-hb-shop button.nss-hb-add-to-cart:hover{background:#a3000c!important}
/* r6：地址欄位依台灣習慣排序、購物車頁移除重複按鈕與過時提示 */
.nss-hb-shop .nss-hb-checkout-grid p:has(input[name=state]){order:1}
.nss-hb-shop .nss-hb-checkout-grid p:has(input[name=city]){order:2}
.nss-hb-shop .nss-hb-checkout-grid p:has(input[name=postcode]){order:3}
.nss-hb-shop[data-step=cart] .nss-hb-cart-actions,.nss-hb-shop[data-step] .nss-hb-help{display:none!important}
/* r7：次要按鈕也要有顏色（檢查網址、取消加購等）、付款方式選項 */
.nss-hb-shop .button.nss-check,.nss-hb-shop .button.nss-hb-dm-check{background:#111827!important;border-color:#111827!important;color:#fff!important}
.nss-hb-shop .button.nss-check:hover,.nss-hb-shop .button.nss-hb-dm-check:hover{background:#374151!important}
.nss-hb-shop .nss-addon.on .nss-addon-btn{background:#15803d!important;border-color:#15803d!important;color:#fff!important}
.nss-hb-shop .nss-pay-opts{display:grid;gap:10px;margin:0 0 18px}

/* 會員登入（r8） */
.nss-hb-shop .nss-member{display:grid;grid-template-columns:1fr 1fr;gap:16px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:12px;padding:18px;margin:8px 0 18px}
.nss-hb-shop .nss-member-col h4{font-size:16px!important;margin:0 0 4px!important;color:#111827}
.nss-hb-shop .nss-member-col p{font-size:14px!important;color:#4b5563;margin:0 0 10px!important}
.nss-hb-shop .nss-member-form{display:flex;flex-direction:column;gap:8px}
.nss-hb-shop .nss-member-form input{height:42px;padding:0 12px!important;border:1px solid #d1d5db!important;border-radius:8px!important;font-size:15px!important}
.nss-hb-shop .button.nss-m-login{background:#c8102e!important;color:#fff!important;border:0!important;border-radius:8px!important;height:42px;font-size:15px!important;font-weight:600}
.nss-hb-shop .nss-m-msg{color:#c8102e!important;min-height:1em;margin:6px 0 0!important}
.nss-hb-shop .nss-m-reset{font-size:13px;color:#2563eb}
.nss-hb-shop .nss-member-guest{grid-column:1/-1;font-size:13px!important;color:#6b7280;margin:0!important;border-top:1px dashed #e5e7eb;padding-top:10px}
.nss-hb-shop .nss-member-in{display:block;background:#ecfdf5;border-color:#a7f3d0;color:#065f46;font-size:15px}
.nss-hb-shop .nss-member-in a{margin-left:10px;color:#2563eb}
@media(max-width:700px){.nss-hb-shop .nss-member{grid-template-columns:1fr}}

/* r9：方案卡片統一高度、中間方案（推薦）高亮、促銷徽章 */
.nss-hb-shop .nss-hb-products-grid{align-items:stretch}
.nss-hb-shop .nss-hb-product{display:flex;flex-direction:column;height:100%}
.nss-hb-shop .nss-hb-product .nss-hb-specs{flex:1}
.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(2){border:2px solid #7c3aed;box-shadow:0 4px 24px rgba(124,58,237,.15);position:relative;z-index:1;transform:scale(1.02)}
.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(2):before{content:"推薦方案 \00B7 最多人選擇";position:absolute;top:-14px;left:50%;transform:translateX(-50%);background:linear-gradient(135deg,#7c3aed,#6d28d9);color:#fff;font-size:13px;font-weight:700;padding:4px 18px;border-radius:999px;white-space:nowrap;letter-spacing:.5px}
.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(2) .nss-hb-add-to-cart{background:#7c3aed!important;border-color:#7c3aed!important}
.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(2) .nss-hb-add-to-cart:hover{background:#6d28d9!important}
.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(2) .nss-hb-price{color:#7c3aed!important}
.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(1):after,.nss-hb-shop .nss-hb-products-grid .nss-hb-product:nth-child(3):after{content:"";display:none}
.nss-shop-promo{display:inline-block;margin-top:14px;background:linear-gradient(135deg,#fef3c7,#fde68a);color:#92400e;border:1px solid #f59e0b;border-radius:999px;padding:8px 22px;font-weight:700;font-size:15px;letter-spacing:.3px}

/* r10：結帳頁加購區塊（仿 Hostinger 左右佈局） */
.nss-checkout-layout{display:grid;grid-template-columns:1fr 380px;gap:28px;align-items:start}
.nss-checkout-main{min-width:0}
.nss-checkout-sidebar{position:sticky;top:100px}
.nss-checkout-sidebar .nss-card{padding:20px}
.nss-checkout-sidebar h3{font-size:18px!important;font-weight:800!important;margin:0 0 14px!important}
.nss-checkout-sidebar .nss-summary-row{display:flex;justify-content:space-between;padding:8px 0;font-size:15px;border-bottom:1px dashed #e5e7eb}
.nss-checkout-sidebar .nss-summary-row:last-child{border:0}
.nss-checkout-sidebar .nss-summary-total{font-size:18px;font-weight:800;color:#ca000f;border-top:2px solid #111;padding-top:12px;margin-top:4px}
.nss-checkout-sidebar .nss-summary-total span{color:#111}
.nss-checkout-sidebar .nss-trust{display:flex;flex-direction:column;gap:8px;margin-top:16px;font-size:13px;color:#6b7280}
.nss-checkout-sidebar .nss-trust div{display:flex;align-items:center;gap:8px}

.nss-upsell{background:#f8fafc;border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin:0 0 16px}
.nss-upsell h4{font-size:16px!important;font-weight:700!important;margin:0 0 6px!important;display:flex;align-items:center;gap:8px}
.nss-upsell h4 .icon{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;font-size:16px}
.nss-upsell p{font-size:14px!important;color:#4b5563;margin:0 0 10px!important}
.nss-upsell .nss-upsell-row{display:flex;justify-content:space-between;align-items:center;gap:12px}
.nss-upsell .nss-upsell-price{font-weight:700;font-size:16px;color:#111;white-space:nowrap}
.nss-upsell .nss-upsell-price small{font-size:12px;color:#6b7280;font-weight:400}
.nss-upsell .nss-upsell-btn{padding:8px 20px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;border:1px solid #d1d5db;background:#fff;color:#111}
.nss-upsell .nss-upsell-btn:hover{background:#f3f4f6}
.nss-upsell.added{border-color:#15803d;background:#f0fdf4}
.nss-upsell.added .nss-upsell-btn{background:#15803d;border-color:#15803d;color:#fff}

.nss-promo-banner{display:flex;align-items:center;gap:14px;background:linear-gradient(135deg,#be123c,#f43f5e 60%,#fb7185);box-shadow:0 8px 24px rgba(244,63,94,.25);color:#fff;border-radius:14px;padding:16px 20px;margin:0 0 20px}
.nss-promo-banner .nss-promo-icon{width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.22);display:flex;align-items:center;justify-content:center;font-size:20px;flex:0 0 42px}
.nss-promo-banner .nss-promo-text{flex:1;font-size:15px;line-height:1.5}
.nss-promo-banner .nss-promo-text b{color:#fef08a}
.nss-promo-banner .nss-promo-btn{padding:10px 20px;border-radius:10px;background:#fff;color:#be123c;font-weight:700;font-size:14px;border:0;cursor:pointer;white-space:nowrap}
.nss-promo-banner .nss-promo-btn:hover{background:#ffe4e6}

@media(max-width:900px){.nss-checkout-layout{grid-template-columns:1fr}.nss-checkout-sidebar{position:static}}

/* 加購三大服務（r11） */
.nss-hb-shop .nss-addon-list .nss-upsell{background:#fff;padding:20px 22px}
.nss-hb-shop .nss-upsell .nss-upsell-btn{background:#e11d48;border-color:#e11d48;color:#fff}
.nss-hb-shop .nss-upsell .nss-upsell-btn:hover{background:#be123c}
.nss-hb-shop .nss-upsell.added .nss-upsell-btn{background:#15803d;border-color:#15803d}
