.neh-tsc-wrapper{max-width:1200px;width:80%;margin:0 auto 40px}.neh-tsc-progress{display:flex;gap:16px;margin:12px 0 28px}.neh-tsc-step-indicator{display:inline-flex;align-items:center;gap:12px;border:1px solid #d6d9de;background:var(--wp--preset--color--primary,#1f4b99);color:#fff;padding:12px 18px;border-radius:999px;opacity:.72}.neh-tsc-step-indicator.is-active{opacity:1;box-shadow:0 10px 30px rgba(0,0,0,.08)}.neh-tsc-step-number{width:32px;height:32px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.18);font-weight:700}.neh-tsc-card{background:#fff;border:1px solid #e7e9ee;border-radius:24px;padding:28px;box-shadow:0 16px 40px rgba(18,28,45,.06);margin-bottom:24px}.neh-tsc-primary-card{min-height:240px}.neh-tsc-postcode-row{display:grid;grid-template-columns:minmax(260px,1fr) auto;gap:14px;align-items:end;max-width:100%}.neh-tsc-postcode-field{margin:0!important}.neh-tsc-postcode-row .button,.neh-tsc-actions .button{border-radius:14px;min-height:48px;white-space:nowrap}.neh-tsc-loader{display:inline-flex;align-items:center;gap:10px;margin:14px 0 0;padding:12px 14px;border-radius:14px;background:#f5f7fb}.neh-tsc-spinner{width:16px;height:16px;border:2px solid #c7d0e0;border-top-color:#1f4b99;border-radius:50%;animation:neh-tsc-spin .8s linear infinite}@keyframes neh-tsc-spin{to{transform:rotate(360deg)}}.neh-tsc-message{margin:12px 0 0;padding:12px 14px;border-radius:14px}.neh-tsc-message.error{background:#fff1f1;color:#8b1e1e}.neh-tsc-empty{padding:14px 0;color:#5c677a}.neh-tsc-shipping-group{margin-top:22px}.neh-tsc-shipping-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:14px}.neh-tsc-shipping-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;padding:18px;border-radius:18px;border:1px solid #dfe5ef;background:#fbfcfe;cursor:pointer}.neh-tsc-shipping-card.is-selected{border-color:#1f4b99;box-shadow:0 0 0 2px rgba(31,75,153,.1)}.neh-tsc-shipping-main{display:flex;align-items:center;gap:12px;min-width:0}.neh-tsc-carrier-logo{display:block;max-width:54px;max-height:28px;object-fit:contain;flex:0 0 auto}.neh-tsc-shipping-title{font-weight:700}.neh-tsc-shipping-cost{font-size:1.05rem;font-weight:700;text-align:right}.neh-tsc-shipping-cost small{display:block;font-size:.72rem;font-weight:400;color:#667085}.neh-tsc-actions{margin-top:18px}.neh-tsc-summary-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:18px}.neh-tsc-summary-count{background:#f4f6fa;padding:8px 12px;border-radius:999px;font-size:.92rem}.neh-tsc-summary-list{display:grid;gap:16px;margin-bottom:20px}.neh-tsc-summary-item{display:grid;grid-template-columns:88px 1fr auto;gap:16px;align-items:center;padding:14px;background:#f8fafc;border-radius:18px}.neh-tsc-summary-thumb img{width:88px;height:88px;object-fit:cover;border-radius:16px}.neh-tsc-summary-name{font-weight:700;margin-bottom:6px}.neh-tsc-summary-qty{color:#5c677a}.neh-tsc-summary-price{font-weight:700}.neh-tsc-summary-totals{display:grid;gap:12px;border-top:1px solid #e7eaf0;padding-top:18px}.neh-tsc-summary-row{display:flex;justify-content:space-between;gap:18px}.neh-tsc-summary-row-total{font-size:1.12rem;font-weight:700;padding-top:10px}.neh-tsc-locked-shipping-box{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:#f7f9fc;border:1px solid #e2e8f0;border-radius:14px}.neh-tsc-locked-shipping-box small{width:100%;color:#667085}.woocommerce-checkout-review-order .woocommerce-shipping-methods{pointer-events:none}.woocommerce-checkout-review-order .woocommerce-shipping-methods input[type=radio]{display:none}@media(max-width:980px){.neh-tsc-wrapper{width:calc(100% - 24px)}.neh-tsc-postcode-row{grid-template-columns:1fr}.neh-tsc-progress{flex-direction:column}.neh-tsc-summary-item{grid-template-columns:72px 1fr}.neh-tsc-summary-price{grid-column:2}.neh-tsc-shipping-card{grid-template-columns:auto 1fr}.neh-tsc-shipping-cost{grid-column:2;text-align:left}.neh-tsc-summary-thumb img{width:72px;height:72px}}

/* v0.5.2 refinements */
.neh-tsc-primary-card{width:100%;box-sizing:border-box}
.neh-tsc-postcode-row{display:grid;grid-template-columns:minmax(280px,1fr) auto;gap:12px;align-items:end;width:100%}
.neh-tsc-postcode-row .button{height:48px;padding-left:22px;padding-right:22px}
.neh-tsc-shipping-grid{grid-template-columns:1fr;gap:10px}
.neh-tsc-shipping-card{padding:12px 14px;border-radius:14px;grid-template-columns:22px minmax(0,1fr) auto;gap:12px;min-height:62px}
.neh-tsc-shipping-card input[type=radio]{margin:0}
.neh-tsc-shipping-main{gap:10px;min-width:0}
.neh-tsc-carrier-logo{width:42px !important;height:auto !important;max-width:42px !important;max-height:24px !important;object-fit:contain;flex:0 0 42px}
.neh-tsc-shipping-title{font-size:.95rem;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.neh-tsc-shipping-cost{font-size:.95rem;white-space:nowrap}
.neh-tsc-checkout-topbar{display:flex;justify-content:flex-end;margin:0 0 16px}
.neh-tsc-back-to-shipping{border-radius:12px!important;padding:10px 16px!important;text-decoration:none!important}
.woocommerce-checkout-review-order .woocommerce-shipping-methods li{list-style:none;margin:0}
.woocommerce-checkout-review-order .woocommerce-shipping-methods input[type=radio]{display:none!important}
.woocommerce-checkout-review-order .woocommerce-shipping-methods label{font-weight:600}
@media(max-width:720px){
  .neh-tsc-postcode-row{grid-template-columns:1fr}
  .neh-tsc-postcode-row .button{width:100%}
  .neh-tsc-shipping-card{grid-template-columns:22px 1fr}
  .neh-tsc-shipping-cost{grid-column:2;text-align:left}
  .neh-tsc-checkout-topbar{justify-content:flex-start}
}

/* v0.5.3 fixes */
.neh-tsc-loader[hidden]{display:none!important}
.neh-tsc-loader{display:inline-flex}
.neh-tsc-shipping-card{min-height:54px}
.neh-tsc-carrier-logo{width:34px!important;max-width:34px!important;max-height:20px!important;flex:0 0 34px}
.neh-tsc-shipping-main{flex:1 1 auto}
.neh-tsc-shipping-title{font-size:.92rem}

/* v0.5.5 Swedish + locked shipping display */
.woocommerce-checkout-review-order .woocommerce-shipping-methods.neh-tsc-shipping-replaced,
.woocommerce-checkout-review-order #shipping_method.neh-tsc-shipping-replaced{pointer-events:none!important;margin:0!important;padding:0!important;list-style:none!important}
.neh-tsc-locked-shipping-list{margin:0!important;padding:0!important;list-style:none!important;display:grid;gap:4px}
.neh-tsc-locked-shipping-list li{margin:0!important;padding:0!important;display:flex;justify-content:space-between;gap:12px;align-items:center;list-style:none!important}
.neh-tsc-locked-shipping-label{font-weight:600}
.neh-tsc-locked-shipping-price{white-space:nowrap}


/* NEH v4 mobile button alignment */
@media (max-width: 767px) {
  .neh-tsc-postcode-row {
    display: block !important;
  }
  .neh-tsc-postcode-field,
  .neh-tsc-postcode-field input,
  .neh-tsc-update-postcode,
  .neh-tsc-continue-payment,
  .neh-tsc-actions .button,
  .neh-tsc-primary-card .button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .neh-tsc-update-postcode,
  .neh-tsc-continue-payment,
  .neh-tsc-actions .button {
    display: block !important;
    text-align: center !important;
  }
  .neh-tsc-actions {
    width: 100% !important;
  }
}
