/*! VCCL Nexus v2.4.0 | (c) 2026 VCCL Cloud Pvt. Ltd. */
:root {
  --nx-brand: #053B9D;    /* vcclhosting.com theme colour */
  --nx-brand-dark: #032C78;
  --nx-ink: #0F1F45;      /* text */
  --nx-steel: #4E5D72;    /* secondary text */
  --nx-line: #DCE1E8;     /* borders, rails */
  --nx-paper: #F4F6F9;    /* page */
  --nx-card: #FFFFFF;
  --nx-go: #0B7A5C;       /* link-up LED */
  --nx-warn: #B7791F;     /* amber LED */
  --nx-stop: #B42318;
  --nx-idle: #8A94A3;
  --nx-link: #1F4E8C;
  --nx-go-bright: #12B886; /* accent on dark surfaces */
  --nx-deep: #031F55;
  --nx-font: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
}

/* ---------- Twenty-One base alignment (light touch) ---------- */
body { background: var(--nx-paper); font-family: var(--nx-font); color: var(--nx-ink); }
a { color: var(--nx-link); }
.btn-primary, .bg-primary, .badge-primary { background-color: var(--nx-brand) !important; border-color: var(--nx-brand) !important; }
.btn-primary:hover, .btn-primary:focus { background-color: var(--nx-brand-dark) !important; }
.text-primary { color: var(--nx-brand) !important; }
a { color: var(--nx-brand); }
:focus-visible { outline: 2px solid var(--nx-link); outline-offset: 2px; }
.nx-lock { overflow: hidden; }

/* ---------- Buttons & inputs ---------- */
.nx-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 40px; padding: 0 1rem; border-radius: 6px; border: 1px solid transparent;
  font: 600 .9rem/1 var(--nx-font); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.nx-btn:hover { text-decoration: none; }
.nx-btn-primary { background: var(--nx-brand); color: #fff; }
.nx-btn-primary:hover { background: var(--nx-brand-dark); color: #fff; }
.nx-btn-quiet { background: transparent; color: var(--nx-ink); border-color: var(--nx-line); }
.nx-btn-quiet:hover { border-color: var(--nx-steel); color: var(--nx-ink); }
.nx-btn-danger { color: var(--nx-stop); }
.nx-btn-block { width: 100%; }
.nx-btn[disabled] { opacity: .55; cursor: not-allowed; }
.nx-btn.is-busy { cursor: progress; }
.nx-select, .nx-input {
  min-height: 40px; padding: 0 .75rem; border: 1px solid var(--nx-line); border-radius: 6px;
  background: #fff; color: var(--nx-ink); font: 400 .9rem var(--nx-font);
}
.nx-alert { border-left: 3px solid var(--nx-stop); background: #fff; padding: .75rem 1rem; margin-bottom: 1rem; border-radius: 0 6px 6px 0; }
.nx-empty { grid-column: 1 / -1; text-align: center; color: var(--nx-steel); padding: 2.5rem 1rem; }
.nx-empty p { margin-bottom: 1rem; }

/* ---------- Order form: product tiles ---------- */
.nx-shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.25rem; }
.nx-shop-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em; margin: 0; }
.nx-shop-sub { color: var(--nx-steel); margin: .35rem 0 0; max-width: 60ch; }
.nx-groups { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; margin-bottom: 1.5rem; }
.nx-groups a {
  flex: none; padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--nx-line);
  background: #fff; color: var(--nx-ink); font-size: .875rem; text-decoration: none;
}
.nx-groups a[aria-current="page"] { background: var(--nx-brand); border-color: var(--nx-brand); color: #fff; }

.nx-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1rem; }
.nx-tile {
  display: flex; flex-direction: column; background: var(--nx-card);
  border: 1px solid var(--nx-line); border-radius: 10px; padding: 1.25rem;
}
.nx-tile.is-featured { border-color: var(--nx-ink); box-shadow: inset 0 3px 0 var(--nx-ink); }
.nx-tile-head { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.nx-tile-name { font-size: 1.05rem; font-weight: 600; margin: 0; }
.nx-flag { font-size: .75rem; color: var(--nx-go); font-weight: 600; }
.nx-tile-price { margin: .9rem 0 1rem; display: flex; flex-direction: column; gap: .15rem; min-height: 4.25rem; }
.nx-price { font-size: 2.1rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.nx-price-note { font-size: .8rem; color: var(--nx-steel); font-variant-numeric: tabular-nums; }
.nx-price-note:empty { display: none; }
.nx-feat { list-style: none; padding: 0; margin: 0 0 1.25rem; border-top: 1px solid var(--nx-line); }
.nx-feat li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--nx-line); font-size: .875rem; }
.nx-feat span { color: var(--nx-steel); }
.nx-feat strong { font-weight: 600; text-align: right; }
.nx-desc { font-size: .875rem; color: var(--nx-steel); margin-bottom: 1.25rem; }
.nx-desc ul { padding-left: 1.1rem; margin: 0; }
.nx-buy { margin-top: auto; display: grid; grid-template-columns: 1fr auto; gap: .5rem; }
.nx-buy .nx-select { grid-column: 1 / -1; width: 100%; }
.nx-currency select { min-height: 36px; border: 1px solid var(--nx-line); border-radius: 6px; padding: 0 .5rem; }

/* ---------- Cart drawer ---------- */
.nx-drawer { position: fixed; inset: 0; z-index: 1060; }
.nx-drawer-scrim { position: absolute; inset: 0; background: rgba(21, 35, 59, .45); opacity: 0; transition: opacity .2s; }
.nx-drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%);
  display: flex; flex-direction: column; background: #fff; outline: none;
  transform: translateX(100%); transition: transform .22s cubic-bezier(.2, .7, .2, 1);
}
.nx-drawer.is-open .nx-drawer-scrim { opacity: 1; }
.nx-drawer.is-open .nx-drawer-panel { transform: none; }
.nx-drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.25rem; border-bottom: 1px solid var(--nx-line); }
.nx-drawer-head h2 { font-size: 1.1rem; margin: 0; font-weight: 700; }
.nx-x { border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--nx-steel); cursor: pointer; width: 40px; height: 40px; }
.nx-drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1.25rem; transition: opacity .15s; }
.nx-drawer-body.is-busy { opacity: .5; pointer-events: none; }
.nx-lines { list-style: none; margin: 0; padding: 0; }
.nx-line { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--nx-line); }
.nx-line-main { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.nx-line-main strong { font-weight: 600; overflow-wrap: anywhere; }
.nx-line-main span, .nx-line-main a { font-size: .8rem; color: var(--nx-steel); }
.nx-line-main a { color: var(--nx-link); }
.nx-line-side { display: flex; flex-direction: column; align-items: flex-end; gap: .35rem; flex: none; }
.nx-line-price { font-weight: 600; font-variant-numeric: tabular-nums; }
.nx-rm { border: 0; background: none; padding: 0; font-size: .8rem; color: var(--nx-stop); cursor: pointer; }
.nx-drawer-foot { padding: 1rem 1.25rem 1.25rem; border-top: 1px solid var(--nx-line); background: var(--nx-paper); }
.nx-drawer-foot:empty { display: none; }
.nx-totals { margin: 0 0 1rem; }
.nx-totals div { display: flex; justify-content: space-between; padding: .2rem 0; font-size: .9rem; color: var(--nx-steel); font-variant-numeric: tabular-nums; }
.nx-totals dd { margin: 0; }
.nx-totals .nx-grand { color: var(--nx-ink); font-size: 1.15rem; font-weight: 700; padding-top: .5rem; }
.nx-foot-links { display: flex; justify-content: space-between; margin-top: .75rem; font-size: .8rem; }
.nx-foot-links button { border: 0; background: none; padding: 0; color: var(--nx-steel); cursor: pointer; text-decoration: underline; }
.nx-skel { height: 56px; margin: .9rem 0; border-radius: 6px; background: linear-gradient(90deg, #EEF1F5, #F7F9FB, #EEF1F5); background-size: 200% 100%; animation: nx-shimmer 1.1s linear infinite; }
@keyframes nx-shimmer { to { background-position: -200% 0; } }

/* ---------- Client area: services ---------- */
.nx-svc-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; margin-bottom: 1.25rem; }
.nx-svc-bar .nx-input { flex: 1 1 220px; }
.nx-filter { display: flex; gap: .25rem; flex-wrap: wrap; }
.nx-filter button {
  border: 1px solid var(--nx-line); background: #fff; color: var(--nx-steel);
  border-radius: 999px; padding: .35rem .8rem; font-size: .85rem; cursor: pointer;
}
.nx-filter button span { font-variant-numeric: tabular-nums; margin-left: .25rem; opacity: .75; }
.nx-filter button[aria-pressed="true"] { background: var(--nx-brand); border-color: var(--nx-brand); color: #fff; }

.nx-svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1rem; }
.nx-svc-card { background: #fff; border: 1px solid var(--nx-line); border-radius: 10px; padding: 1.1rem 1.2rem; display: flex; flex-direction: column; }
.nx-svc-card.is-due-soon { border-color: var(--nx-warn); }
.nx-svc-head { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: start; }
.nx-svc-id h3 { font-size: 1rem; font-weight: 600; margin: 0; }
.nx-svc-id h3 a { color: var(--nx-ink); }
.nx-svc-dom { margin: .15rem 0 0; font-size: .85rem; color: var(--nx-steel); overflow-wrap: anywhere; }

/* The signature element: rack-style status LEDs */
.nx-led { width: 10px; height: 10px; border-radius: 50%; margin-top: .4rem; background: var(--nx-idle); }
.nx-led-active { background: var(--nx-go); box-shadow: 0 0 0 3px rgba(11, 122, 92, .18); }
.nx-led-pending { background: var(--nx-warn); animation: nx-blink 1.6s steps(2, start) infinite; }
.nx-led-suspended { background: var(--nx-stop); box-shadow: 0 0 0 3px rgba(180, 35, 24, .15); }
@keyframes nx-blink { to { opacity: .25; } }

.nx-status { font-size: .75rem; font-weight: 600; padding: .2rem .55rem; border-radius: 4px; background: var(--nx-paper); color: var(--nx-steel); }
.nx-status-active { color: var(--nx-go); background: #E7F4EF; }
.nx-status-pending { color: var(--nx-warn); background: #FBF3E4; }
.nx-status-suspended { color: var(--nx-stop); background: #FBEAE8; }

.nx-rail { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; list-style: none; padding: 0; margin: 1rem 0 .9rem; }
.nx-rail li { border-top: 3px solid var(--nx-line); padding-top: .35rem; font-size: .72rem; color: var(--nx-idle); }
.nx-rail li.is-done { border-top-color: var(--nx-steel); color: var(--nx-steel); }
.nx-rail li.is-now { border-top-color: var(--nx-go); color: var(--nx-ink); font-weight: 600; }
.nx-rail li.is-warn, .nx-rail li.is-soon { border-top-color: var(--nx-warn); color: var(--nx-warn); }
.nx-rail li.is-end { border-top-color: var(--nx-idle); color: var(--nx-steel); }

.nx-svc-meta { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin: 0 0 1rem; }
.nx-svc-meta dt { font-size: .75rem; color: var(--nx-steel); font-weight: 400; }
.nx-svc-meta dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.nx-svc-meta small { display: block; font-weight: 400; color: var(--nx-steel); }
.nx-svc-card.is-due-soon [data-nx-due] { color: var(--nx-warn); }
.nx-svc-actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; }

/* ---------- Checkout (WHMCS markup kept; reshaped by nexus.js) ---------- */
.nx-checkout #main-body.nx-main { padding-top: 1.5rem; }
.nx-checkout #order-standard_cart .cart-sidebar, .nx-checkout #order-standard_cart .sidebar-collapsed { display: none !important; }
.nx-checkout #order-standard_cart .cart-body { width: 100%; max-width: none; flex: 0 0 100%; padding: 0; }
.nx-checkout #order-standard_cart > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }
.nx-checkout #order-standard_cart .cart-body { transition: none; }
html.nx-docked .nx-checkout #order-standard_cart .cart-body { margin-right: 424px; }
html.nx-docked .nx-checkout .nx-drawer-panel { top: 68px; }
.nx-drawer.is-readonly .nx-rm, .nx-drawer.is-readonly [data-nx-empty], .nx-drawer.is-readonly .nx-foot-links, .nx-drawer.is-readonly .nx-line-main a { display: none; }
.nx-drawer.is-readonly .nx-drawer-foot .nx-btn-primary { display: none; }
.nx-drawer.is-readonly .nx-promo { display: none; }
.nx-gw-label-src { display: none; }
.nx-gw-box { position: relative; margin-top: .25rem; }
.nx-checkout #order-standard_cart label.nx-gw { display: block; padding: 0; margin: 0; font-weight: 500; }
.nx-checkout #order-standard_cart .nx-gw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; margin: .5rem 0 1rem; text-align: left; }
.nx-checkout #order-standard_cart .nx-gw input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 2rem; align-items: start; }
.nx-co-main { min-width: 0; }
.nx-co-main .header-lined h1, .nx-co-main h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 .25rem; }
.nx-co-main .header-lined p, .nx-co-main > form > p { color: var(--nx-steel); }
.nx-checkout #order-standard_cart .header-lined { border: 0; margin-bottom: 1.25rem; }
.nx-checkout #order-standard_cart .sub-heading { margin: 1.75rem 0 .9rem; border: 0; }
.nx-checkout #order-standard_cart .sub-heading::before, .nx-checkout #order-standard_cart .sub-heading::after { display: none; }
.nx-checkout #order-standard_cart .sub-heading span { background: transparent; padding: 0; font-weight: 700; font-size: 1.05rem; color: var(--nx-ink); }
.nx-checkout #order-standard_cart .form-control, .nx-checkout #order-standard_cart .custom-select { min-height: 44px; border-radius: 8px; border: 1px solid var(--nx-line); box-shadow: none; background-color: #fff; font-size: .95rem; }
.nx-checkout #order-standard_cart .form-control:focus { border-color: var(--nx-brand); box-shadow: 0 0 0 3px rgba(5,59,157,.15); }
.nx-checkout #order-standard_cart .input-group-text { border-radius: 8px 0 0 8px; border-color: var(--nx-line); background: var(--nx-paper); }
.nx-checkout #order-standard_cart label { font-size: .85rem; font-weight: 600; }
.nx-checkout #order-standard_cart .btn-primary, .nx-checkout #order-standard_cart .btn-default, .nx-checkout #order-standard_cart .btn-secondary { border-radius: 8px; min-height: 42px; }
.nx-checkout #order-standard_cart .btn-warning, .nx-checkout #order-standard_cart .btn-warning:hover { background: #fff; color: var(--nx-brand); border: 1px solid var(--nx-line); border-radius: 8px; font-weight: 600; }
.nx-checkout #order-standard_cart .alert-success, .nx-checkout #order-standard_cart .checkout-security-msg { border-radius: 12px; }
.nx-co-card { background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; padding: 1.5rem 1.6rem; margin-bottom: 1.25rem; }
.nx-checkout #order-standard_cart .nx-co-card .sub-heading { margin-top: 0; }
.nx-checkout #order-standard_cart .payment-methods, .nx-checkout #order-standard_cart .payment-methods label { display: block; }

/* Gateway tiles (radios are WHMCS's own, moved inside) */
.nx-gw-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .75rem; margin: .5rem 0 1rem; }
.nx-gw { position: relative; margin: 0; cursor: pointer; }
.nx-gw input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.nx-gw-box { display: grid; grid-template-columns: 48px 1fr; gap: .8rem; align-items: center; min-height: 76px; padding: .8rem .9rem; background: #fff; border: 1.5px solid var(--nx-line); border-radius: 12px; transition: border-color .12s, box-shadow .12s, background .12s; }
.nx-gw:hover .nx-gw-box { border-color: #9AA7B8; }
.nx-gw input:checked + .nx-gw-box, .nx-gw.is-checked .nx-gw-box { border-color: var(--nx-brand); background: #F3F7FF; box-shadow: inset 0 0 0 1px var(--nx-brand); }
.nx-gw input:focus-visible + .nx-gw-box { outline: 2px solid var(--nx-link); outline-offset: 2px; }
.nx-gw input:checked + .nx-gw-box::after, .nx-gw.is-checked .nx-gw-box::after { content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%; background: var(--nx-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.nx-gw-logo { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--nx-paper); color: var(--nx-brand); overflow: hidden; }
.nx-gw-logo img { max-width: 44px; max-height: 40px; object-fit: contain; }
.nx-gw-logo svg { width: 26px; height: 26px; }
.nx-gw-text { display: flex; flex-direction: column; gap: .25rem; min-width: 0; padding-right: 1.25rem; }
.nx-gw-name { font-weight: 600; font-size: .92rem; line-height: 1.25; }
.nx-gw-chips { display: flex; flex-wrap: wrap; gap: .25rem; }
.nx-gw-chips span { font-size: .68rem; font-weight: 600; padding: .1rem .4rem; border-radius: 999px; background: #fff; border: 1px solid var(--nx-line); color: var(--nx-steel); }

/* Terms and notes */
.nx-checkout #order-standard_cart textarea.form-control { min-height: 96px; border-radius: 10px; }
.nx-checkout #order-standard_cart .accepttos, .nx-checkout #order-standard_cart label[for="accepttos"], .nx-checkout #order-standard_cart .form-check { font-weight: 500; }
.nx-checkout #order-standard_cart input[name="accepttos"], .nx-checkout #order-standard_cart input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--nx-brand); vertical-align: -3px; margin-right: .4rem; }
.nx-checkout #order-standard_cart input[name="paymentmethod"] { accent-color: var(--nx-brand); }
.nx-checkout #btnCompleteOrder, .nx-checkout #order-standard_cart .btn-checkout { width: 100%; min-height: 52px; font-size: 1.05rem; font-weight: 700; border-radius: 10px; background: var(--nx-brand); border-color: var(--nx-brand); }
.nx-checkout #order-standard_cart .checkout-security-msg { color: var(--nx-steel); }

/* Live order summary column */
.nx-co-side { position: sticky; top: 84px; }
.nx-co-summary { background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; padding: 1.35rem; }
.nx-co-summary h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .9rem; display: flex; justify-content: space-between; align-items: baseline; }
.nx-co-summary h2 a { font-size: .8rem; font-weight: 600; }
.nx-co-summary .nx-lines .nx-line { padding: .7rem 0; }
.nx-co-summary .nx-line-main strong { font-size: .9rem; }
.nx-co-summary .nx-line-opts { display: none; }
.nx-co-summary .nx-rm { display: none; }
.nx-co-summary .nx-totals { margin: .9rem 0 0; }
.nx-co-summary .nx-totals div { color: var(--nx-steel); }
.nx-co-summary .nx-totals .nx-grand { color: var(--nx-ink); font-size: 1.25rem; }
.nx-co-secure { display: flex; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .78rem; color: var(--nx-steel); }
.nx-co-secure svg { width: 16px; height: 16px; color: var(--nx-go); flex: none; }
.nx-co-summary .nx-trust { margin-top: .75rem; }

@media (max-width: 991px) {
  .nx-co-grid { grid-template-columns: 1fr; }
  .nx-co-side { position: static; order: -1; }
  .nx-co-summary .nx-lines { display: none; }
}

/* ---------- Small screens & motion ---------- */
@media (max-width: 575px) {
  .nx-shop-head { flex-direction: column; align-items: flex-start; }
  .nx-svc-grid, .nx-grid { grid-template-columns: 1fr; }
  .nx-svc-bar .nx-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-drawer-panel, .nx-drawer-scrim, .nx-btn, .nx-drawer-body { transition: none; }
  .nx-led-pending, .nx-skel { animation: none; }
}

/* =================== v1.1 layout shell =================== */
.nx-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.nx-container-wide { max-width: 1240px; }
.nx-skip { position: absolute; left: -999px; top: .5rem; z-index: 2000; background: var(--nx-ink); color: #fff; padding: .5rem 1rem; border-radius: 6px; }
.nx-skip:focus { left: .5rem; color: #fff; }
.nx-adminbar { background: #FBF3E4; color: #6B4A10; font-size: .82rem; padding: .45rem 0; }
.nx-adminbar a { margin-left: .5rem; font-weight: 600; color: #6B4A10; text-decoration: underline; }
.nx-btn-sm { min-height: 36px; padding: 0 .85rem; font-size: .85rem; }
.nx-btn-accent { background: var(--nx-go-bright); color: #05281D; }
.nx-btn-accent:hover { background: #0FA575; color: #05281D; }
.nx-btn-light { background: #fff; color: var(--nx-ink); }
.nx-btn-light:hover { background: #E8EDF4; color: var(--nx-ink); }
.nx-btn-outline-light { border-color: rgba(255,255,255,.35); color: #fff; }
.nx-btn-outline-light:hover { border-color: #fff; color: #fff; }
.nx-btn-plain { background: transparent; color: var(--nx-steel); }
.nx-btn-plain:hover { color: var(--nx-ink); }
.nx-badge { display: inline-block; margin-left: .35rem; padding: 0 .4rem; border-radius: 999px; background: var(--nx-paper); font-size: .72rem; line-height: 1.5; color: var(--nx-steel); }

/* ---------- Header ---------- */
.nx-header {
  position: sticky; top: 0; z-index: 1040;
  background: rgba(255,255,255,.88);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--nx-line);
  transition: box-shadow .2s;
}
.nx-header.is-scrolled { box-shadow: 0 10px 30px -22px rgba(21,35,59,.55); }
.nx-header-row { position: relative; display: flex; align-items: center; gap: 1.75rem; height: 68px; }
.nx-logo { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.nx-logo:hover { text-decoration: none; }
.nx-logo img { max-height: 36px; width: auto; display: block; }
.nx-logo span { font-weight: 800; font-size: 1.2rem; letter-spacing: -.03em; color: var(--nx-ink); }
.nx-nav { flex: 1; min-width: 0; }
.nx-nav-list { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.nx-nav-item { position: relative; }
.nx-nav-item.nx-has-mega { position: static; }
.nx-nav-trigger, .nx-nav-link {
  display: inline-flex; align-items: center; gap: .4rem; height: 40px; padding: 0 .8rem;
  border: 0; border-radius: 8px; background: none; color: var(--nx-ink);
  font: 500 .92rem var(--nx-font); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nx-nav-trigger:hover, .nx-nav-link:hover, .nx-nav-item.is-open > .nx-nav-trigger { background: rgba(21,35,59,.06); color: var(--nx-ink); text-decoration: none; }
.nx-chev { width: 10px; height: 6px; transition: transform .2s; opacity: .7; }
.nx-nav-item.is-open > .nx-nav-trigger .nx-chev { transform: rotate(180deg); }

.nx-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 10;
  background: #fff; border: 1px solid var(--nx-line); border-radius: 14px;
  box-shadow: 0 28px 56px -28px rgba(21,35,59,.45);
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .16s, transform .16s, visibility 0s linear .16s;
}
.nx-nav-item.is-open > .nx-panel { opacity: 1; visibility: visible; transform: none; transition: opacity .16s, transform .16s; }
.nx-drop { min-width: 250px; padding: .5rem; }
.nx-drop-right { left: auto; right: 0; }
.nx-drop a { display: flex; justify-content: space-between; align-items: center; padding: .6rem .75rem; border-radius: 8px; color: var(--nx-ink); font-size: .9rem; text-decoration: none; }
.nx-drop a:hover { background: var(--nx-paper); text-decoration: none; }
.nx-drop hr { margin: .35rem .5rem; border: 0; border-top: 1px solid var(--nx-line); }

/* Mega menu */
.nx-mega { left: 1.25rem; right: 1.25rem; top: calc(100% - 2px); display: grid; grid-template-columns: 1fr 300px; overflow: hidden; }
.nx-mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .25rem; padding: 1rem; align-content: start; }
.nx-mega-link { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: start; padding: .85rem .9rem; border-radius: 10px; color: var(--nx-ink); text-decoration: none; }
.nx-mega-link:hover { background: var(--nx-paper); text-decoration: none; color: var(--nx-ink); }
.nx-mega-led { width: 8px; height: 8px; margin-top: .45rem; border-radius: 50%; background: var(--nx-line); transition: background .15s, box-shadow .15s; }
.nx-mega-link:hover .nx-mega-led { background: var(--nx-go-bright); box-shadow: 0 0 0 3px rgba(18,184,134,.2); }
.nx-mega-text strong { display: block; font-weight: 600; font-size: .95rem; }
.nx-mega-text span { display: block; margin-top: .15rem; font-size: .8rem; color: var(--nx-steel); line-height: 1.45; }
.nx-mega-from { font-size: .78rem; color: var(--nx-go); font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; margin-top: .15rem; }
.nx-mega-side { background: var(--nx-brand); color: #C4CEDC; padding: 1.5rem; display: flex; flex-direction: column; gap: .75rem; }
.nx-mega-side p { margin: 0; font-size: .88rem; line-height: 1.55; }
.nx-mega-side .nx-mega-side-title { color: #fff; font-weight: 700; font-size: 1.05rem; }
.nx-mega-side .nx-btn { align-self: flex-start; margin-top: .25rem; }
.nx-mega-all { margin-top: auto; color: #fff; font-size: .85rem; text-decoration: underline; }
.nx-mega-all:hover { color: var(--nx-go-bright); }

/* Right-hand actions */
.nx-actions { display: flex; align-items: center; gap: .35rem; margin-left: auto; flex: none; }
.nx-icon-btn { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 10px; color: var(--nx-ink); }
.nx-icon-btn svg { width: 22px; height: 22px; }
.nx-icon-btn:hover { background: rgba(21,35,59,.06); color: var(--nx-ink); }
.nx-dot {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--nx-go); color: #fff; font-size: .68rem; font-weight: 700;
  line-height: 18px; text-align: center; font-variant-numeric: tabular-nums; border: 2px solid #fff; box-sizing: content-box;
}
.nx-cart-count:empty, .nx-cart-count[data-empty] { display: none; }
.nx-alerts .nx-dot { background: var(--nx-stop); }
.nx-alert-panel { width: 320px; }
.nx-alert-row { flex-direction: column; align-items: flex-start !important; gap: .2rem; border-left: 3px solid var(--nx-idle); border-radius: 0 8px 8px 0 !important; }
.nx-alert-row span { font-size: .78rem; color: var(--nx-link); font-weight: 600; }
.nx-sev-danger { border-left-color: var(--nx-stop); }
.nx-sev-warning { border-left-color: var(--nx-warn); }
.nx-sev-success { border-left-color: var(--nx-go); }
.nx-avatar { display: inline-flex; width: 30px; height: 30px; align-items: center; justify-content: center; border-radius: 50%; background: var(--nx-paper); border: 1px solid var(--nx-line); }
.nx-avatar svg { width: 17px; height: 17px; }
.nx-acct-label { max-width: 160px; overflow: hidden; text-overflow: ellipsis; }
.nx-burger { display: none; width: 40px; height: 40px; border: 0; background: none; border-radius: 10px; padding: 11px 9px; cursor: pointer; }
.nx-burger span { display: block; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--nx-ink); transition: transform .2s, opacity .2s; }
.nx-header.nav-open .nx-burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nx-header.nav-open .nx-burger span:nth-child(2) { opacity: 0; }
.nx-header.nav-open .nx-burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Page band */
.nx-band { background: #fff; border-bottom: 1px solid var(--nx-line); }
.nx-band .nx-container { padding-top: 1.6rem; padding-bottom: 1.4rem; }
.nx-band-title { font-size: 1.65rem; font-weight: 750; letter-spacing: -.025em; margin: .3rem 0 0; color: var(--nx-ink); }
.nx-crumbs ol { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0; padding: 0; font-size: .82rem; color: var(--nx-steel); }
.nx-crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--nx-idle); }
.nx-crumbs a { color: var(--nx-steel); }
#main-body.nx-main { background: transparent; padding: 2rem 0 3.5rem; }

/* ---------- Hero ---------- */
.nx-hero { position: relative; isolation: isolate; overflow: hidden; background: radial-gradient(120% 90% at 85% 10%, #1A55C4 0%, var(--nx-brand) 45%, var(--nx-deep) 100%); color: #fff; }
.nx-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at 75% 45%, #000 15%, transparent 70%); mask-image: radial-gradient(ellipse at 75% 45%, #000 15%, transparent 70%);
}
.nx-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: center; padding-top: 5.5rem; padding-bottom: 5.5rem; }
.nx-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 800; color: #fff; margin: 0 0 1.2rem; max-width: 15ch; }
.nx-hero-lede { font-size: 1.1rem; line-height: 1.6; color: #C4CEDC; margin: 0 0 2rem; max-width: 50ch; }
.nx-domain { display: flex; align-items: center; gap: .4rem; max-width: 580px; padding: .4rem; background: #fff; border-radius: 14px; box-shadow: 0 20px 50px -25px rgba(0,0,0,.7); }
.nx-domain:focus-within { box-shadow: 0 0 0 3px rgba(18,184,134,.45), 0 20px 50px -25px rgba(0,0,0,.7); }
.nx-domain-icon { width: 20px; height: 20px; margin-left: .6rem; color: var(--nx-idle); flex: none; }
.nx-domain input { flex: 1; min-width: 0; height: 44px; border: 0; outline: 0; padding: 0 .4rem; font: 400 1rem var(--nx-font); color: var(--nx-ink); background: transparent; }
.nx-domain .nx-btn { min-height: 44px; border-radius: 10px; }
.nx-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Signature: the product rack */
.nx-rack-frame {
  position: relative; padding: 16px 38px; border-radius: 16px;
  background: linear-gradient(180deg, #123A8F, #0A2B70); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 50px 90px -45px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.06);
}
.nx-rack-frame::before, .nx-rack-frame::after {
  content: ""; position: absolute; top: 14px; bottom: 14px; width: 16px; border-radius: 3px;
  background: radial-gradient(circle, #0B1426 2.4px, transparent 3px) center top / 16px 22px repeat-y, #22365A;
}
.nx-rack-frame::before { left: 11px; }
.nx-rack-frame::after { right: 11px; }
.nx-rack-unit {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem;
  margin: 9px 0; padding: 1.05rem 1.15rem; border-radius: 7px; color: #fff; text-decoration: none;
  background: linear-gradient(180deg, #1F4CA8, #17408F); border: 1px solid rgba(255,255,255,.07);
  transition: transform .18s, border-color .18s, background .18s;
}
.nx-rack-unit::after {
  content: ""; position: absolute; right: 38%; top: 50%; width: 22%; height: 12px; transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, rgba(0,0,0,.35) 0 3px, transparent 3px 7px); border-radius: 2px; opacity: .6;
}
.nx-rack-unit:hover { transform: translateX(-4px); border-color: rgba(18,184,134,.55); color: #fff; text-decoration: none; }
.nx-rack-leds { display: flex; gap: 5px; }
.nx-rack-leds i { width: 7px; height: 7px; border-radius: 50%; background: var(--nx-go-bright); box-shadow: 0 0 8px var(--nx-go-bright); }
.nx-rack-leds i + i { background: #4DA3FF; box-shadow: 0 0 8px #4DA3FF; animation: nx-activity 1.3s steps(2, start) infinite; }
.nx-rack-unit:nth-child(2) .nx-rack-leds i + i { animation-duration: .9s; }
.nx-rack-unit:nth-child(3) .nx-rack-leds i + i { animation-duration: 1.7s; }
.nx-rack-unit:nth-child(4) .nx-rack-leds i + i { animation-duration: 1.1s; }
@keyframes nx-activity { to { opacity: .2; } }
.nx-rack-name { font-weight: 600; position: relative; z-index: 1; }
.nx-rack-price { font-size: .84rem; color: #9FB0C8; font-variant-numeric: tabular-nums; position: relative; z-index: 1; }

/* ---------- Home sections ---------- */
.nx-section { padding: 4.5rem 0; }
.nx-section-white { background: #fff; border-top: 1px solid var(--nx-line); }
.nx-section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; }
.nx-section-head h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); font-weight: 750; letter-spacing: -.03em; margin: 0; color: var(--nx-ink); }
.nx-section-head a { font-weight: 600; font-size: .9rem; }
.nx-lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.nx-lineup-card {
  display: flex; flex-direction: column; min-height: 180px; padding: 1.5rem;
  background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; color: var(--nx-ink); text-decoration: none;
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.nx-lineup-card:hover { border-color: var(--nx-ink); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(21,35,59,.5); color: var(--nx-ink); text-decoration: none; }
.nx-lineup-card strong { font-size: 1.15rem; font-weight: 700; letter-spacing: -.01em; }
.nx-lineup-card p { margin: .45rem 0 0; font-size: .9rem; color: var(--nx-steel); line-height: 1.55; }
.nx-lineup-meta { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 1.25rem; font-size: .82rem; color: var(--nx-steel); }
.nx-lineup-from { color: var(--nx-go); font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.nx-help { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--nx-line); border-radius: 14px; overflow: hidden; }
.nx-help a { display: flex; flex-direction: column; gap: .35rem; padding: 1.5rem; color: var(--nx-ink); text-decoration: none; }
.nx-help a + a { border-left: 1px solid var(--nx-line); }
.nx-help a:hover { background: var(--nx-paper); text-decoration: none; }
.nx-help strong { font-weight: 700; }
.nx-help span { font-size: .87rem; color: var(--nx-steel); line-height: 1.5; }

/* ---------- Footer ---------- */
.nx-footer { background: var(--nx-deep); color: #9FB0C8; margin-top: 0; }
.nx-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 2.5rem; }
.nx-footer-logo { display: inline-block; font-size: 1.2rem; font-weight: 800; letter-spacing: -.03em; color: #fff; text-decoration: none; }
.nx-footer-logo:hover { color: #fff; text-decoration: none; }
.nx-footer-brand p { margin: .75rem 0 1.25rem; font-size: .9rem; line-height: 1.6; max-width: 34ch; }
.nx-footer h2 { font-size: .9rem; font-weight: 700; color: #fff; margin: 0 0 1rem; }
.nx-footer ul { list-style: none; margin: 0; padding: 0; }
.nx-footer li { margin-bottom: .55rem; }
.nx-footer li a { color: #9FB0C8; font-size: .9rem; }
.nx-footer li a:hover { color: #fff; }
.nx-footer-base { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.25rem; padding-bottom: 1.5rem; border-top: 1px solid rgba(255,255,255,.08); font-size: .82rem; }
.nx-footer-base p { margin: 0; }
.nx-footer-tools { display: flex; gap: .5rem; }
.nx-footer-tools select { height: 34px; padding: 0 .6rem; border-radius: 8px; border: 1px solid rgba(255,255,255,.15); background: transparent; color: #C4CEDC; font-size: .82rem; }
.nx-footer-tools option { color: var(--nx-ink); }

/* ---------- Header / home responsive ---------- */
@media (max-width: 991px) {
  .nx-burger { display: inline-block; }
  .nx-nav {
    position: fixed; top: 68px; left: 0; right: 0; bottom: 0; z-index: 1039;
    background: #fff; overflow-y: auto; padding: 1rem 1.25rem 2rem;
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .18s, transform .18s, visibility 0s linear .18s;
  }
  .nx-header.nav-open .nx-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
  .nx-nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nx-nav-list > .nx-nav-item { border-bottom: 1px solid var(--nx-line); }
  .nx-nav-list .nx-nav-trigger, .nx-nav-list .nx-nav-link { width: 100%; justify-content: space-between; height: 54px; font-size: 1rem; padding: 0 .25rem; }
  .nx-nav .nx-panel { position: static; display: none; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; border-radius: 0; transition: none; }
  .nx-nav .nx-nav-item.is-open > .nx-panel { display: block; padding-bottom: .75rem; }
  .nx-mega { grid-template-columns: 1fr; }
  .nx-mega-grid { grid-template-columns: 1fr; padding: 0; }
  .nx-mega-side { border-radius: 12px; margin-top: .5rem; }
  .nx-hero-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .nx-rack { max-width: 520px; }
  .nx-help { grid-template-columns: repeat(2, 1fr); }
  .nx-help a:nth-child(3) { border-left: 0; }
  .nx-help a:nth-child(n+3) { border-top: 1px solid var(--nx-line); }
  .nx-footer-grid { grid-template-columns: 1fr 1fr; }
  .nx-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 575px) {
  .nx-acct-label, .nx-hide-sm { display: none; }
  .nx-header-row { gap: .75rem; }
  .nx-domain { flex-wrap: wrap; }
  .nx-domain input { flex-basis: calc(100% - 40px); }
  .nx-domain .nx-btn { flex: 1; }
  .nx-rack-frame { padding: 12px 30px; }
  .nx-rack-unit::after { display: none; }
  .nx-help { grid-template-columns: 1fr; }
  .nx-help a + a { border-left: 0; border-top: 1px solid var(--nx-line); }
  .nx-footer-grid { grid-template-columns: 1fr; }
  .nx-section { padding: 3rem 0; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-panel, .nx-nav, .nx-rack-unit, .nx-lineup-card, .nx-chev, .nx-burger span { transition: none !important; }
  .nx-rack-leds i + i { animation: none; }
}
/* =================== v1.2 order form =================== */
.nx-btn-lg { min-height: 48px; padding: 0 1.4rem; font-size: 1rem; }

/* Horizontal product rows */
.nx-rows { display: flex; flex-direction: column; gap: 1rem; }
.nx-row {
  display: grid; grid-template-columns: minmax(240px, 1.2fr) minmax(0, 1.6fr) 260px; gap: 2rem; align-items: center;
  padding: 1.5rem 1.75rem; background: #fff; border: 1px solid var(--nx-line); border-radius: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.nx-row:hover { border-color: #B8C2D0; box-shadow: 0 18px 40px -30px rgba(21,35,59,.45); }
.nx-row.is-featured { border-color: var(--nx-ink); box-shadow: inset 4px 0 0 var(--nx-go-bright); }
.nx-row-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; }
.nx-row-name { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; margin: 0; }
.nx-flag-out { color: var(--nx-stop); }
.nx-row-desc { margin-top: .5rem; font-size: .9rem; color: var(--nx-steel); line-height: 1.55; }
.nx-row-desc p:last-child { margin-bottom: 0; }
.nx-row-feat { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem 1rem; }
.nx-row-feat li { display: flex; flex-direction: column; padding-left: .75rem; border-left: 2px solid var(--nx-line); }
.nx-row-feat strong { font-weight: 700; font-size: .95rem; font-variant-numeric: tabular-nums; }
.nx-row-feat span { font-size: .75rem; color: var(--nx-steel); }
.nx-row-buy { border-left: 1px solid var(--nx-line); padding-left: 2rem; }
.nx-row { grid-template-columns: minmax(220px, 1fr) minmax(0, 1.2fr) 340px; }
.nx-row-buy .nx-tile-price { margin: 0 0 .9rem; min-height: 0; }
.nx-row-buy .nx-price { font-size: 1.85rem; }

/* Tenure pills on product rows */
.nx-tenure-pills { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .9rem; }
.nx-pill { position: relative; margin: 0; cursor: pointer; }
.nx-pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-pill-box { display: inline-flex; align-items: center; gap: .35rem; height: 30px; padding: 0 .65rem; border-radius: 999px; border: 1px solid var(--nx-line); background: #fff; font-size: .8rem; font-weight: 600; color: var(--nx-steel); white-space: nowrap; }
.nx-pill-box em { font-style: normal; font-size: .68rem; color: var(--nx-go); }
.nx-pill:hover .nx-pill-box { border-color: var(--nx-steel); }
.nx-pill input:checked + .nx-pill-box, .nx-pill.is-checked .nx-pill-box { background: var(--nx-ink); border-color: var(--nx-ink); color: #fff; }
.nx-pill input:checked + .nx-pill-box em, .nx-pill.is-checked .nx-pill-box em { color: var(--nx-go-bright); }
.nx-pill input:focus-visible + .nx-pill-box { outline: 2px solid var(--nx-link); outline-offset: 2px; }
.nx-price-line { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.nx-row-buy .nx-save { font-size: .74rem; }
.nx-flag { display: inline-flex; align-items: center; height: 22px; padding: 0 .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; letter-spacing: .01em; }
.nx-flag-rec { background: #E7F4EF; color: var(--nx-go); }
.nx-flag-hot { background: #FDEBE0; color: #C2410C; }
.nx-flag-new { background: #E6F0FF; color: #1D4ED8; }
.nx-flag-sale { background: #FBEAE8; color: var(--nx-stop); }
.nx-flag-custom { background: var(--nx-paper); color: var(--nx-ink); border: 1px solid var(--nx-line); }
.nx-flag-out { background: #FBEAE8; color: var(--nx-stop); }
.nx-row-hot { box-shadow: inset 4px 0 0 #F97316; }
.nx-row-new { box-shadow: inset 4px 0 0 #3B82F6; }
.nx-row-sale { box-shadow: inset 4px 0 0 var(--nx-stop); }
.nx-row.is-featured, .nx-row-rec { box-shadow: inset 4px 0 0 var(--nx-go-bright); border-color: var(--nx-ink); }

/* Configure page */
.nx-conf-grid { display: block; max-width: 1040px; }
.nx-conf { padding-bottom: 5.5rem; }
.nx-conf-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--nx-line); box-shadow: 0 -12px 30px -24px rgba(21,35,59,.5); }
.nx-conf-bar-row { display: flex; align-items: center; gap: 1rem; padding-top: .75rem; padding-bottom: .75rem; }
.nx-conf-bar .nx-back { margin: 0 auto 0 0; }
.nx-conf-bar .nx-badge { background: var(--nx-brand); color: #fff; }
.nx-savenote { font-size: .82rem; color: var(--nx-steel); margin-right: .5rem; }
.nx-savenote.is-busy::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: .4rem; border: 2px solid var(--nx-line); border-top-color: var(--nx-go); border-radius: 50%; animation: nx-spin .7s linear infinite; vertical-align: -1px; }
.nx-savenote.is-ok { color: var(--nx-go); }
.nx-savenote.is-err { color: var(--nx-stop); }
@keyframes nx-spin { to { transform: rotate(360deg); } }
[data-nx-conf].is-saving .nx-opt-box, [data-nx-conf].is-saving .nx-addon-box { transition: none; }
.nx-dot.is-pulse { animation: nx-pulse .5s ease; }
@keyframes nx-pulse { 50% { transform: scale(1.35); } }

/* Docked drawer beside the configure page on wide screens */
html.nx-docked .nx-drawer-scrim { display: none; }
html.nx-docked .nx-drawer { pointer-events: none; }
html.nx-docked .nx-drawer-panel { pointer-events: auto; top: 68px; width: 400px; border-left: 1px solid var(--nx-line); box-shadow: -20px 0 40px -30px rgba(21,35,59,.35); }
html.nx-docked .nx-conf-grid { max-width: none; margin-right: 424px; }
html.nx-docked .nx-conf-bar { right: 400px; }
.nx-line.is-current { background: #F3FAF7; margin: 0 -1.25rem; padding-left: 1.25rem; padding-right: 1.25rem; border-left: 3px solid var(--nx-go); }
.nx-line-opts { margin: .35rem 0 .15rem; padding: .4rem .6rem; background: var(--nx-paper); border-radius: 8px; }
.nx-line-opts div { display: flex; justify-content: space-between; gap: .75rem; font-size: .78rem; padding: .1rem 0; }
.nx-line-opts dt { color: var(--nx-steel); font-weight: 400; }
.nx-line-opts dd { margin: 0; text-align: right; color: var(--nx-ink); font-variant-numeric: tabular-nums; }
.nx-line-opts small { color: var(--nx-steel); }
.nx-line-setup { font-size: .78rem; color: var(--nx-steel); }
.nx-promo { margin: 0 0 .9rem; font-size: .85rem; }
.nx-promo summary { cursor: pointer; color: var(--nx-link); font-weight: 600; list-style: none; }
.nx-promo summary::-webkit-details-marker { display: none; }
.nx-promo-form { display: flex; gap: .4rem; margin-top: .5rem; }
.nx-promo-form .nx-input { flex: 1; min-width: 0; text-transform: uppercase; }
.nx-promo-msg { margin: .35rem 0 0; font-size: .78rem; color: var(--nx-stop); }
.nx-promo-msg:empty { display: none; }
.nx-promo.is-applied { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .55rem .75rem; background: #E7F4EF; border-radius: 8px; color: var(--nx-go); }
.nx-promo.is-applied small { color: var(--nx-steel); }
.nx-promo-amt { font-weight: 700; white-space: nowrap; }
.nx-promo-amt button { border: 0; background: none; color: var(--nx-steel); font-size: .75rem; text-decoration: underline; cursor: pointer; margin-left: .35rem; }
/* VCCL Discounts decorator */
.nx-price del.vd-was, .nx-opt-price del.vd-was, .nx-price-note del.vd-was { color: var(--nx-idle); font-weight: 400; font-size: .7em; margin-right: .3em; }
.nx-price .vd-badge, .nx-opt-price .vd-badge { display: inline-block; vertical-align: middle; margin-left: .4rem; }
.nx-line-tag { font-style: normal; font-size: .7rem; font-weight: 700; color: var(--nx-go); margin-left: .35rem; }
.nx-conf-head { padding: 1.5rem 1.75rem; margin-bottom: 1.75rem; background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; }
.nx-conf-group { margin: 0; font-size: .8rem; color: var(--nx-steel); }
.nx-conf-title { font-size: 1.6rem; font-weight: 750; letter-spacing: -.025em; margin: .2rem 0 0; }
.nx-conf-domain { margin: .5rem 0 0; color: var(--nx-steel); }
.nx-conf-desc { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--nx-line); font-size: .9rem; color: var(--nx-steel); line-height: 1.6; }
.nx-conf-desc p:last-child { margin-bottom: 0; }
.nx-step { margin-bottom: 2.25rem; }
.nx-step h2 { font-size: 1.05rem; font-weight: 700; margin: 0 0 .9rem; letter-spacing: -.01em; }

/* Selectable tiles (radio inside label) */
.nx-opts, .nx-tenure { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .75rem; }
.nx-opt { position: relative; margin: 0; cursor: pointer; }
.nx-opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-opt-box {
  display: flex; align-items: center; gap: .8rem; min-height: 64px; padding: .9rem 1rem;
  background: #fff; border: 1.5px solid var(--nx-line); border-radius: 12px;
  transition: border-color .12s, box-shadow .12s, background .12s;
}
.nx-opt:hover .nx-opt-box { border-color: #9AA7B8; }
.nx-opt input:checked + .nx-opt-box, .nx-opt.is-checked .nx-opt-box { border-color: var(--nx-brand); background: #F3F7FF; box-shadow: inset 0 0 0 1px var(--nx-brand); }
.nx-opt input:focus-visible + .nx-opt-box { outline: 2px solid var(--nx-link); outline-offset: 2px; }
.nx-opt input:checked + .nx-opt-box::after, .nx-opt.is-checked .nx-opt-box::after {
  content: ""; position: absolute; top: 10px; right: 10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--nx-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.nx-opt-text { display: flex; flex-direction: column; gap: .15rem; min-width: 0; padding-right: 1.25rem; }
.nx-opt-title { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.nx-opt-sub { font-size: .78rem; color: var(--nx-steel); font-variant-numeric: tabular-nums; }
.nx-opt-sub s { color: var(--nx-idle); }
.nx-opt-optprice:empty { display: none; }

/* Tenure tiles */
.nx-tenure-opt .nx-opt-box { flex-direction: column; align-items: stretch; gap: .25rem; min-height: 112px; }
.nx-opt-top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding-right: 1rem; }
.nx-opt-price { font-size: 1.35rem; font-weight: 750; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: .35rem; }
.nx-save { font-size: .7rem; font-weight: 700; color: #05281D; background: var(--nx-go-bright); padding: .15rem .45rem; border-radius: 999px; white-space: nowrap; }
.nx-tenure-opt.is-best .nx-opt-box { border-color: var(--nx-go); }
.nx-tenure-opt.is-best input:checked + .nx-opt-box, .nx-tenure-opt.is-best.is-checked .nx-opt-box { box-shadow: inset 0 0 0 1px var(--nx-go); border-color: var(--nx-go); }

/* OS / panel monograms and location pins */
.nx-os { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 10px; font-size: .8rem; font-weight: 800; letter-spacing: .02em; color: #fff; background: var(--nx-steel); }
.nx-os-ubuntu { background: #E95420; } .nx-os-debian { background: #A80030; } .nx-os-centos { background: #9C27B0; }
.nx-os-almalinux { background: #0F4266; } .nx-os-rocky { background: #10B981; } .nx-os-fedora { background: #294172; }
.nx-os-windows { background: #0078D4; } .nx-os-freebsd { background: #AB2B28; } .nx-os-oracle { background: #C74634; }
.nx-os-cloudlinux { background: #2E9CCA; } .nx-os-cpanel { background: #FF6C2C; } .nx-os-plesk { background: #53BCE6; }
.nx-os-directadmin { background: #1E7ABA; } .nx-os-cyberpanel { background: #5B3BE7; } .nx-os-webmin { background: #4E8B3E; }
.nx-os-proxmox { background: #E57000; } .nx-os-none { background: var(--nx-paper); color: var(--nx-steel); border: 1px solid var(--nx-line); }
.nx-pin { flex: none; width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: #E7F4EF; color: var(--nx-go); }
.nx-pin svg { width: 20px; height: 20px; }
.nx-opts-location { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }

/* Toggle */
.nx-toggle { display: inline-flex; align-items: center; gap: .8rem; cursor: pointer; margin: 0; font-weight: 500; }
.nx-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-toggle-track { position: relative; width: 44px; height: 26px; border-radius: 999px; background: #CBD3DE; transition: background .15s; flex: none; }
.nx-toggle-track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.3); transition: transform .15s; }
.nx-toggle input:checked + .nx-toggle-track, .nx-toggle.is-checked .nx-toggle-track { background: var(--nx-go); }
.nx-toggle input:checked + .nx-toggle-track::after, .nx-toggle.is-checked .nx-toggle-track::after { transform: translateX(18px); }
.nx-toggle input:focus-visible + .nx-toggle-track { outline: 2px solid var(--nx-link); outline-offset: 2px; }
.nx-toggle-text small { display: block; font-weight: 400; color: var(--nx-steel); font-size: .8rem; }

/* Slider (additional IPs, quantities) */
.nx-slider { --nx-fill: 0%; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--nx-line); border-radius: 12px; }
.nx-slider-row { display: flex; align-items: center; gap: 1.25rem; }
.nx-slider input[type="range"] {
  -webkit-appearance: none; appearance: none; flex: 1; height: 6px; border-radius: 999px; outline: 0; cursor: pointer;
  background: linear-gradient(90deg, var(--nx-go) var(--nx-fill), var(--nx-line) var(--nx-fill));
}
.nx-slider input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--nx-go); box-shadow: 0 2px 6px rgba(21,35,59,.25); cursor: grab; }
.nx-slider input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--nx-go); box-shadow: 0 2px 6px rgba(21,35,59,.25); cursor: grab; }
.nx-slider input[type="range"]:focus-visible { outline: 2px solid var(--nx-link); outline-offset: 4px; }
.nx-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--nx-line); border-radius: 10px; overflow: hidden; }
.nx-stepper button { width: 38px; border: 0; background: var(--nx-paper); color: var(--nx-ink); font-size: 1.2rem; cursor: pointer; }
.nx-stepper button:hover { background: #E8EDF4; }
.nx-stepper input { width: 64px; height: 40px; border: 0; border-left: 1px solid var(--nx-line); border-right: 1px solid var(--nx-line); text-align: center; font: 700 1.05rem var(--nx-font); color: var(--nx-ink); -moz-appearance: textfield; }
.nx-stepper input::-webkit-outer-spin-button, .nx-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.nx-slider-scale { display: flex; justify-content: space-between; margin-top: .4rem; font-size: .72rem; color: var(--nx-idle); font-variant-numeric: tabular-nums; }
.nx-hint { margin: .6rem 0 0; font-size: .8rem; color: var(--nx-steel); }

/* Server details */
.nx-hint-top { margin: -.4rem 0 .9rem; }
.nx-pw-gen .nx-input { padding-right: 9.5rem; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .02em; }
.nx-pw-tools { position: absolute; right: .35rem; top: 50%; transform: translateY(-50%); display: flex; gap: .15rem; }
.nx-pw-tools .nx-pw-toggle { position: static; transform: none; }

/* Fields */
.nx-fields { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.nx-fields > label, .nx-field { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; margin: 0; }
.nx-field label em { font-style: normal; font-weight: 400; color: var(--nx-stop); font-size: .75rem; }
.nx-fields-custom .form-control, .nx-fields-custom input:not([type=checkbox]), .nx-fields-custom select, .nx-fields-custom textarea {
  min-height: 40px; padding: .4rem .75rem; border: 1px solid var(--nx-line); border-radius: 8px; font: 400 .9rem var(--nx-font); width: 100%;
}

/* Addon cross-sell */
.nx-addons { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: .75rem; }
.nx-addon { position: relative; margin: 0; cursor: pointer; }
.nx-addon input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nx-addon-box { display: grid; grid-template-columns: auto 1fr auto; gap: .85rem; align-items: start; padding: 1rem 1.1rem; background: #fff; border: 1.5px solid var(--nx-line); border-radius: 12px; transition: border-color .12s, background .12s; }
.nx-addon:hover .nx-addon-box { border-color: #9AA7B8; }
.nx-addon input:checked + .nx-addon-box, .nx-addon.is-checked .nx-addon-box { border-color: var(--nx-go); background: #F3FAF7; }
.nx-addon input:focus-visible + .nx-addon-box { outline: 2px solid var(--nx-link); outline-offset: 2px; }
.nx-addon-check { width: 20px; height: 20px; margin-top: .1rem; border: 1.5px solid #B8C2D0; border-radius: 6px; background: #fff; }
.nx-addon input:checked + .nx-addon-box .nx-addon-check, .nx-addon.is-checked .nx-addon-check { border-color: var(--nx-go); background: var(--nx-go) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat; }
.nx-addon-text { display: flex; flex-direction: column; gap: .2rem; min-width: 0; }
.nx-addon-text strong { font-weight: 600; }
.nx-addon-text span { font-size: .8rem; color: var(--nx-steel); line-height: 1.45; }
.nx-addon-price { font-size: .82rem; font-weight: 600; color: var(--nx-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* iCheck wrappers from Standard Cart, if they got in before we removed them */
.nx-opt > :not(.nx-opt-box), .nx-addon > :not(.nx-addon-box), .nx-toggle > :not(.nx-toggle-track):not(.nx-toggle-text),
.nx-opt [class*="iradio_"], .nx-opt [class*="icheckbox_"], .nx-addon [class*="icheckbox_"], .nx-toggle [class*="icheckbox_"],
.nx-opt .iCheck-helper, .nx-addon .iCheck-helper, .nx-toggle .iCheck-helper { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; overflow: hidden !important; margin: 0 !important; pointer-events: none !important; }
.nx-opt input, .nx-addon input, .nx-toggle input { pointer-events: auto !important; }
.nx-summary-note { margin: 0; font-size: .85rem; color: #C4CEDC; }
#orderSummary.is-busy { opacity: .6; }
.nx-conf #orderSummary .btn, .nx-conf #orderSummary button { display: none; }

/* Summary column (restyles Standard Cart's ordersummary.tpl) */
.nx-summary-wrap { position: sticky; top: 84px; }
.nx-conf #orderSummary.order-summary { background: var(--nx-ink); color: #fff; border-radius: 14px; padding: 1.25rem 1.4rem; margin-bottom: .9rem; }
.nx-conf #orderSummary .summary-container, .nx-conf #orderSummary .summary-totals { background: transparent; color: #fff; }
.nx-conf #orderSummary h2, .nx-conf #orderSummary h3, .nx-conf #orderSummary .summary-totals span { color: #fff; }
.nx-conf #orderSummary .amt, .nx-conf #orderSummary .total-due-today .amt { color: #fff; font-weight: 750; font-variant-numeric: tabular-nums; }
.nx-conf #orderSummary hr { border-color: rgba(255,255,255,.15); }
.nx-conf #orderSummary a { color: #C4CEDC; }
.nx-back { display: block; text-align: center; margin-top: .9rem; font-size: .85rem; color: var(--nx-steel); }

/* Order complete */
.nx-done { max-width: 720px; margin: 1rem auto 2rem; }
.nx-done-card { background: #fff; border: 1px solid var(--nx-line); border-radius: 18px; padding: 2.5rem 2.25rem; text-align: center; }
.nx-done-mark { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #E7F4EF; color: var(--nx-go); margin-bottom: 1rem; }
.nx-done-mark svg { width: 34px; height: 34px; }
.nx-done h1 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 .6rem; }
.nx-done-lede { color: var(--nx-steel); max-width: 48ch; margin: 0 auto 1.5rem; line-height: 1.6; }
.nx-done-meta { display: flex; justify-content: center; gap: 2.5rem; margin: 0 0 1.5rem; }
.nx-done-meta dt { font-size: .75rem; color: var(--nx-steel); font-weight: 400; }
.nx-done-meta dd { margin: 0; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.nx-rail-wide { max-width: 480px; margin: 0 auto 1.75rem; }
.nx-done-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .75rem; }
.nx-done-foot { margin: 1.5rem 0 0; font-size: .85rem; color: var(--nx-steel); }
.nx-done-extra { margin-top: 1.5rem; }

@media (max-width: 991px) {
  .nx-row { grid-template-columns: 1fr; gap: 1.25rem; }
  .nx-row-buy { border-left: 0; border-top: 1px solid var(--nx-line); padding: 1.25rem 0 0; }
  .nx-conf-grid { grid-template-columns: 1fr; }
  .nx-summary-wrap { position: static; }
}
@media (max-width: 575px) {
  .nx-opts, .nx-tenure { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nx-slider-row { flex-direction: column; align-items: stretch; }
  .nx-stepper { justify-content: center; }
  .nx-done-card { padding: 2rem 1.25rem; }
  .nx-done-meta { gap: 1.25rem; flex-wrap: wrap; }
}

/* =================== v2.0 auth pages =================== */
.nx-page-login #main-body.nx-main, .nx-page-pwreset #main-body.nx-main { padding: 2rem 0 3rem; }
.nx-auth { max-width: 1040px; margin: 0 auto; }
.nx-auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); background: #fff; border: 1px solid var(--nx-line); border-radius: 18px; overflow: hidden; box-shadow: 0 30px 60px -45px rgba(5,59,157,.5); }
.nx-auth-form { padding: 2.75rem 2.5rem; }
.nx-auth-form h1 { font-size: 1.8rem; font-weight: 800; letter-spacing: -.03em; margin: 0 0 .35rem; }
.nx-auth-sub { color: var(--nx-steel); margin: 0 0 1.5rem; }
.nx-form { display: flex; flex-direction: column; gap: 1rem; }
.nx-field { display: flex; flex-direction: column; gap: .35rem; font-size: .85rem; font-weight: 600; margin: 0; }
.nx-field .nx-input { width: 100%; min-height: 46px; font-size: 1rem; font-weight: 400; }
.nx-field .nx-input:focus { outline: 0; border-color: var(--nx-brand); box-shadow: 0 0 0 3px rgba(5,59,157,.15); }
.nx-pw { position: relative; display: block; }
.nx-pw .nx-input { padding-right: 4.5rem; }
.nx-pw-toggle { position: absolute; right: .4rem; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--nx-brand); font: 600 .8rem var(--nx-font); cursor: pointer; padding: .3rem .5rem; border-radius: 6px; }
.nx-form-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; font-size: .85rem; }
.nx-check { display: inline-flex; align-items: center; gap: .5rem; margin: 0; font-weight: 500; cursor: pointer; }
.nx-check input { width: 18px; height: 18px; accent-color: var(--nx-brand); }
.nx-auth-social { margin-top: 1.25rem; }
.nx-auth-alt { margin: 1.5rem 0 0; font-size: .9rem; color: var(--nx-steel); }
.nx-alert-ok { border-left-color: var(--nx-go); }

/* Animated datacenter panel */
.nx-dc { position: relative; display: flex; flex-direction: column; justify-content: flex-end; background: radial-gradient(120% 100% at 20% 0%, #1A55C4 0%, var(--nx-brand) 40%, var(--nx-deep) 100%); color: #fff; padding: 1.5rem; min-height: 420px; }
.nx-dc-svg { width: 100%; height: auto; display: block; }
.nx-dc .nx-led { fill: #3B4B6B; }
.nx-dc .nx-led-pwr { fill: #12B886; filter: drop-shadow(0 0 3px #12B886); }
.nx-dc .nx-led-act { fill: #4DA3FF; filter: drop-shadow(0 0 3px #4DA3FF); animation: nx-dc-blink 1.2s steps(2, start) infinite; }
.nx-dc .nx-led-net { fill: #F5B400; filter: drop-shadow(0 0 3px #F5B400); animation: nx-dc-blink 1.9s steps(2, start) infinite; }
.nx-dc-u1 .nx-led-act { animation-duration: .8s; } .nx-dc-u2 .nx-led-act { animation-duration: 1.6s; } .nx-dc-u3 .nx-led-net { animation-duration: 1.1s; } .nx-dc-u4 .nx-led-act { animation-delay: .4s; }
.nx-dc-link { stroke-dasharray: 6 8; animation: nx-dc-dash 2s linear infinite; opacity: .6; }
@keyframes nx-dc-blink { to { opacity: .15; } }
@keyframes nx-dc-dash { to { stroke-dashoffset: -28; } }
.nx-dc-caption { margin-top: 1rem; }
.nx-dc-live { display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; background: rgba(255,255,255,.1); }
.nx-dc-live i { width: 8px; height: 8px; border-radius: 50%; background: var(--nx-go-bright); box-shadow: 0 0 0 3px rgba(18,184,134,.25); }
.nx-dc-caption p { margin: .6rem 0 0; font-size: .85rem; color: #C4D2EC; }

.nx-auth-page { padding: 2rem 0 3rem; }
.nx-auth-wide { max-width: 1240px; }
.nx-auth-wide .nx-auth-card { grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); }
.nx-auth-register .form-group label, .nx-auth-register label { font-size: .85rem; font-weight: 600; }
.nx-auth-register .form-control { min-height: 44px; border-radius: 8px; border-color: var(--nx-line); }
.nx-auth-register .form-control:focus { border-color: var(--nx-brand); box-shadow: 0 0 0 3px rgba(5,59,157,.15); }
.nx-auth-register .sub-heading { margin: 1.5rem 0 .75rem; }
.nx-auth-register .sub-heading span { background: transparent; padding: 0; font-weight: 700; font-size: 1rem; }
.nx-auth-register .sub-heading::after { display: none; }
.nx-auth-register .card { border: 0; box-shadow: none; }
.nx-auth-register .card-body { padding: 0; }
.nx-auth-register .btn-primary, .nx-auth-register #btnSubmit, .nx-auth-register button[type=submit].btn { min-height: 46px; border-radius: 8px; font-weight: 700; }
.nx-auth-register .progress { border-radius: 999px; height: 8px; }
.nx-auth-wide .nx-dc { justify-content: flex-start; }
.nx-auth-wide .nx-dc-svg { position: sticky; top: 90px; }
/* Register page: WHMCS form kept, presented in the same card */
.nx-page-clientregister #main-body.nx-main .primary-content > form, .nx-page-clientregister #main-body.nx-main .primary-content > .card { background: #fff; border: 1px solid var(--nx-line); border-radius: 18px; padding: 2rem 2.25rem; }
.nx-page-clientregister .form-control { min-height: 44px; border-radius: 8px; border-color: var(--nx-line); }
.nx-page-clientregister .form-control:focus { border-color: var(--nx-brand); box-shadow: 0 0 0 3px rgba(5,59,157,.15); }
.nx-page-clientregister .card-header, .nx-page-clientregister .sub-heading span { background: transparent; font-weight: 700; color: var(--nx-ink); }
.nx-page-clientregister .btn-primary { min-height: 46px; border-radius: 8px; font-weight: 700; }

/* Full cart page */
.nx-cartpage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; align-items: start; }
.nx-cartpage-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 1rem; }
.nx-cartpage-head h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.025em; margin: 0; }
.nx-cartpage-head span { color: var(--nx-steel); font-size: .9rem; }
.nx-cline { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.5rem; padding: 1.25rem 1.5rem; background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; margin-bottom: .75rem; }
.nx-cline h2 { font-size: 1.05rem; font-weight: 700; margin: 0; }
.nx-cline-sub { margin: .25rem 0 0; font-size: .85rem; color: var(--nx-steel); }
.nx-cline-opts { margin: .75rem 0 0; padding: .6rem .8rem; background: var(--nx-paper); border-radius: 10px; max-width: 520px; }
.nx-cline-opts div { display: flex; justify-content: space-between; gap: 1rem; font-size: .85rem; padding: .15rem 0; }
.nx-cline-opts dt { color: var(--nx-steel); font-weight: 400; }
.nx-cline-opts dd { margin: 0; font-variant-numeric: tabular-nums; text-align: right; }
.nx-cline-opts small { color: var(--nx-steel); }
.nx-cline-actions { display: flex; gap: 1rem; align-items: center; margin-top: .75rem; font-size: .85rem; }
.nx-cline-price { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.nx-inline-form { display: inline; }
.nx-cartpage-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.nx-summary-card { position: sticky; top: 84px; background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; padding: 1.4rem; }
.nx-summary-card h2 { font-size: 1.1rem; font-weight: 700; margin: 0 0 1rem; }
.nx-summary-card .nx-totals div { color: var(--nx-steel); }
.nx-summary-card .nx-totals .nx-grand { color: var(--nx-ink); }
.nx-promo-remove { font-size: .78rem; color: var(--nx-steel); }
.nx-trust { list-style: none; margin: 1rem 0 0; padding: 0; font-size: .8rem; color: var(--nx-steel); }
.nx-trust li { padding-left: 1.2rem; position: relative; margin-bottom: .35rem; }
.nx-trust li::before { content: ""; position: absolute; left: 0; top: .4em; width: 8px; height: 8px; border-radius: 50%; background: var(--nx-go); }
.nx-cartpage-empty h1 { font-size: 1.5rem; font-weight: 800; }
/* keep the discount addon's badge proportional wherever it lands */
.nx-body .vd-badge { font-size: .72rem !important; line-height: 1.5 !important; padding: .1em .55em !important; border-radius: 999px; vertical-align: middle; }
.nx-body del.vd-was { font-size: .8em; font-weight: 400; color: var(--nx-idle); }

@media (max-width: 991px) {
  .nx-auth-card { grid-template-columns: 1fr; }
  .nx-dc { min-height: 0; padding: 1.25rem; }
  .nx-dc-svg { max-height: 220px; }
  .nx-cartpage-grid { grid-template-columns: 1fr; }
  .nx-summary-card { position: static; }
}
@media (max-width: 575px) {
  .nx-auth-form { padding: 1.75rem 1.25rem; }
  .nx-cline { grid-template-columns: 1fr; gap: .75rem; }
  .nx-cline-price { font-size: 1.15rem; }
}
@media (prefers-reduced-motion: reduce) {
  .nx-dc .nx-led-act, .nx-dc .nx-led-net, .nx-dc-link { animation: none; }
  .nx-dc-packets { display: none; }
}
/* ---------- Domain search (Standard Cart adddomain.tpl / domainregister.tpl, restyled) ---------- */
.nx-page-adddomain #main-body.nx-main, .nx-page-domainregister #main-body.nx-main, .nx-page-configuredomains #main-body.nx-main { padding-top: 1.5rem; }
.nx-page-adddomain #order-standard_cart .cart-sidebar, .nx-page-domainregister #order-standard_cart .cart-sidebar, .nx-page-configuredomains #order-standard_cart .cart-sidebar,
.nx-page-adddomain #order-standard_cart .sidebar-collapsed, .nx-page-domainregister #order-standard_cart .sidebar-collapsed { display: none !important; }
.nx-page-adddomain #order-standard_cart .cart-body, .nx-page-domainregister #order-standard_cart .cart-body, .nx-page-configuredomains #order-standard_cart .cart-body { width: 100%; max-width: none; flex: 0 0 100%; padding: 0; }
.nx-page-adddomain #order-standard_cart > .row > [class*="col-"], .nx-page-domainregister #order-standard_cart > .row > [class*="col-"] { flex: 0 0 100%; max-width: 100%; }

/* search box */
#order-standard_cart .domain-checker-container, #order-standard_cart .domain-checker-bg {
  background: radial-gradient(120% 90% at 85% 10%, #1A55C4 0%, var(--nx-brand) 45%, var(--nx-deep) 100%) !important;
  border-radius: 18px; padding: 2.25rem 2rem; margin-bottom: 1.5rem; color: #fff;
}
#order-standard_cart .domain-checker-bg .domain-checker-title, #order-standard_cart .domain-checker-bg h1, #order-standard_cart .domain-checker-bg h2 { color: #fff; font-weight: 800; letter-spacing: -.03em; }
#order-standard_cart .domain-checker-bg .domain-checker-body, #order-standard_cart .domain-checker-bg .domain-checker-content { color: #C4D2EC; }
#order-standard_cart #frmDomainChecker .input-group, #order-standard_cart .domain-checker-bg .input-group { background: #fff; border-radius: 14px; padding: .35rem; box-shadow: 0 20px 50px -25px rgba(0,0,0,.7); }
#order-standard_cart #frmDomainChecker .form-control, #order-standard_cart .domain-checker-bg .form-control { border: 0; box-shadow: none; min-height: 46px; font-size: 1.05rem; background: transparent; color: var(--nx-ink); }
#order-standard_cart #frmDomainChecker .form-control:focus { box-shadow: none; }
#order-standard_cart #frmDomainChecker .btn, #order-standard_cart .domain-checker-bg .btn { border-radius: 10px; min-height: 46px; font-weight: 700; }
#order-standard_cart #btnDomainSearch, #order-standard_cart .domain-checker-bg .btn-primary { background: var(--nx-go-bright); border-color: var(--nx-go-bright); color: #05281D; }
#order-standard_cart #btnDomainSearch:hover { background: #0FA575; border-color: #0FA575; }
#order-standard_cart #btnDomainTransfer, #order-standard_cart .domain-checker-bg .btn-default, #order-standard_cart .domain-checker-bg .btn-secondary { background: transparent; color: var(--nx-steel); border: 0; }
#order-standard_cart .domain-checker-bg .checkbox, #order-standard_cart .domain-checker-bg label { color: #C4D2EC; font-weight: 500; }
#order-standard_cart .domain-checker-bg .captcha-container, #order-standard_cart .domain-checker-bg .g-recaptcha { margin-top: 1rem; }

/* results */
#order-standard_cart #DomainSearchResults, #order-standard_cart .domain-lookup-result { background: transparent; }
#order-standard_cart .domain-checker-result-headline, #order-standard_cart #primaryLookupResult, #order-standard_cart #suggestionsLookup, #order-standard_cart .domain-lookup-primary-loader, #order-standard_cart .domain-lookup-loader {
  background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
#order-standard_cart .domain-checker-result-headline { font-size: 1.05rem; font-weight: 700; }
#order-standard_cart .domain-checker-result-headline .domain-checker-available, #order-standard_cart .domain-available { color: var(--nx-go); }
#order-standard_cart .domain-checker-result-headline .domain-checker-unavailable, #order-standard_cart .domain-unavailable { color: var(--nx-stop); }
#order-standard_cart .domain-checker-result-headline .domain-checker-invalid { color: var(--nx-warn); }
#order-standard_cart .domain-checker-result-headline .domain-price, #order-standard_cart .domain-suggestion .domain-price, #order-standard_cart .domain-lookup-result .domain-price { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--nx-ink); }
#order-standard_cart .domain-suggestion, #order-standard_cart .domain-lookup-result .domain-lookup-result-row { display: flex; align-items: center; gap: 1rem; padding: .85rem 0; border-top: 1px solid var(--nx-line); }
#order-standard_cart .domain-suggestion:first-child { border-top: 0; }
#order-standard_cart .domain-suggestion .domain-title, #order-standard_cart .domain-suggestion .domain-name { font-weight: 600; flex: 1; }
#order-standard_cart .domain-suggestion .domain-title .sld { color: var(--nx-ink); }
#order-standard_cart .domain-suggestion .domain-title .tld { color: var(--nx-brand); }
#order-standard_cart .domain-suggestion .btn, #order-standard_cart .btnAddToCart, #order-standard_cart .domain-checker-result-headline .btn { border-radius: 8px; font-weight: 600; min-height: 38px; }
#order-standard_cart .btnAddToCart, #order-standard_cart .domain-suggestion .btn-primary, #order-standard_cart .domain-checker-result-headline .btn-primary { background: var(--nx-brand); border-color: var(--nx-brand); }
#order-standard_cart .btnAddToCart.checkedout, #order-standard_cart .domain-suggestion .btn-success, #order-standard_cart .btn.btn-added { background: var(--nx-go); border-color: var(--nx-go); }
#order-standard_cart .domain-suggestion .regperiod, #order-standard_cart select[name^="domainsregperiod"] { border-radius: 8px; border-color: var(--nx-line); min-height: 38px; }
#order-standard_cart #btnCheckoutDomains, #order-standard_cart .domain-checker-bg + * #btnCheckout, #order-standard_cart .btn-checkout { background: var(--nx-brand); border-color: var(--nx-brand); border-radius: 10px; min-height: 46px; font-weight: 700; }
#order-standard_cart .spotlight-tlds, #order-standard_cart .domain-spotlight { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; margin-top: 1rem; }
#order-standard_cart .spotlight-tlds .spotlight-tld, #order-standard_cart .domain-spotlight .spotlight-tld { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); color: #fff; border-radius: 999px; padding: .3rem .75rem; font-size: .82rem; cursor: pointer; }
#order-standard_cart .spotlight-tlds .spotlight-tld .price, #order-standard_cart .domain-spotlight .spotlight-tld .price { color: var(--nx-go-bright); font-weight: 700; margin-left: .35rem; }
#order-standard_cart .domain-pricing-toggle, #order-standard_cart #btnBulkDomains, #order-standard_cart .domain-checker-bg a { color: #C4D2EC; }
#order-standard_cart .domain-checker-bg a:hover { color: #fff; }

/* configure domains (nameservers, DNS/ID protection addons) */
.nx-page-configuredomains #order-standard_cart .domain-addons, .nx-page-configuredomains #order-standard_cart .configure-domains-panel, .nx-page-configuredomains #order-standard_cart .panel { background: #fff; border: 1px solid var(--nx-line); border-radius: 14px; }
.nx-page-configuredomains #order-standard_cart .form-control { min-height: 42px; border-radius: 8px; border-color: var(--nx-line); }

@media (max-width: 575px) {
  #order-standard_cart .domain-checker-container, #order-standard_cart .domain-checker-bg { padding: 1.5rem 1.1rem; border-radius: 14px; }
  #order-standard_cart .domain-suggestion { flex-wrap: wrap; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
