/* ============================================================
   Namexero — site + shared component styles
   Redesigned to match the live namexero.com design source
   (namexero/: Poppins, #196CDF red, animated #217BFE↔#196CDF
   gradients, offer bar, gradient-border search).
   All assets self-hosted — no external requests, ever.
   ============================================================ */

/* Poppins is the one typeface of the website and the portal. The files are
   the website's own (public_html/fonts/poppins), declared here as well so the
   layouts that load only this stylesheet (cart, checkout, sign-in, client
   area, admin, error pages) set the same face instead of falling back to
   whatever the visitor's system has. */
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../../fonts/poppins/Poppins-Light.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/poppins/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../../fonts/poppins/Poppins-Italic.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../fonts/poppins/Poppins-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../../fonts/poppins/Poppins-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../fonts/poppins/Poppins-Bold.woff2") format("woff2");
}

:root {
  --nx-primary: #196CDF;          /* --RedColor from live site */
  --nx-primary-hover: #1257BF;    /* --RedColorDark */
  --nx-primary-soft: #EAF1FC;
  --nx-grad-a: #217BFE;
  --nx-grad-b: #196CDF;
  --nx-gradient: linear-gradient(135deg, var(--nx-grad-a), var(--nx-grad-b), var(--nx-grad-a));
  --nx-ink: #000000;              /* --headingColor */
  --nx-text: #212529;
  --nx-text-soft: #535151;        /* --textcolor (live site paragraphs) */
  --nx-text-muted: #6B7280;
  --nx-bg: #FFFFFF;
  --nx-bg-soft: #F8FAFE;          /* matches the site theme (--LightBgColorShade) */
  --nx-bg-app: #F6FBFF;           /* client-area canvas (dashboard + service panel) */
  --nx-border: #E5E7EB;
  --nx-success: #16A34A;
  --nx-success-soft: #E8F7EE;
  --nx-warning: #D97706;
  --nx-warning-soft: #FEF3E2;
  --nx-danger: #DC2626;
  --nx-danger-soft: #FDECEC;
  --nx-info: #2563EB;
  --nx-info-soft: #EAF1FE;
  --nx-radius: 10px;
  --nx-radius-sm: 8px;
  --nx-shadow-1: 0 1px 2px rgb(17 19 24 / .06);
  --nx-shadow-2: 0 6px 18px rgb(17 19 24 / .08);
  --nx-shadow-3: 0 12px 32px rgb(17 19 24 / .14);
  --nx-focus: 0 0 0 3px rgb(25 108 223 / .25);
  --nx-font: "Poppins", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --wrap-pad: clamp(16px, 3vw, 40px);
  --wrap-max: 1400px;             /* live site container width */
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--nx-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--nx-text);
  background: var(--nx-bg);
}

/* Form controls take the browser's own typeface unless told otherwise. */
button, input, select, textarea, optgroup { font-family: inherit; }

img, svg { max-width: 100%; height: auto; vertical-align: middle; }

h1, h2, h3, h4 { color: var(--nx-ink); line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 500; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 500; letter-spacing: -0.015em; }
h3 { font-size: 20px; font-weight: 500; }
h4 { font-size: 16px; font-weight: 500; }
p  { margin: 0 0 1em; }

a { color: var(--nx-primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--nx-primary-hover); }

:focus-visible { outline: none; box-shadow: var(--nx-focus); border-radius: 4px; }

.wrap { width: 100%; max-width: var(--wrap-max); margin-inline: auto; padding-inline: var(--wrap-pad); }

.muted { color: var(--nx-text-muted); }
.soft-text { color: var(--nx-text-soft); }
.small { font-size: 13px; }
.nowrap { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; }
.text-right { text-align: right; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; } .mb-24 { margin-bottom: 24px; }

/* ---------------------------------------------------- gradient motion */
@keyframes nx-gradient-shift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
@keyframes nx-gradient-loop {
  0%   { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}
@keyframes nx-border-move {
  0%   { background-position: 0% 50%, 0% 50%; }
  100% { background-position: 0% 50%, 300% 50%; }
}

/* ------------------------------------------------------------- buttons */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 24px;
  font: 500 15px/1.2 var(--nx-font);
  border-radius: 6px; border: 1.5px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  overflow: hidden;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease,
              transform .15s ease, box-shadow .25s ease;
}
.btn:active { transform: scale(.97); }

/* Primary: live-site animated gradient with shine sweep */
.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--nx-grad-a), var(--nx-grad-b), var(--nx-grad-a));
  background-size: 200% 200%;
  animation: nx-gradient-shift 4s ease infinite alternate;
}
.btn-primary::before {
  content: "";
  position: absolute; top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, transparent, rgb(255 255 255 / .4), transparent);
  transition: left .5s ease;
}
.btn-primary:hover { color: #fff; box-shadow: none; }
.btn-primary:hover::before { left: 120%; }

.btn-secondary { background: #fff; color: var(--nx-primary); border-color: var(--nx-primary); }
.btn-secondary:hover { background: var(--nx-primary-soft); color: var(--nx-primary-hover); }
.btn-ghost { background: transparent; color: var(--nx-ink); }
.btn-ghost:hover { background: var(--nx-bg-soft); }
.btn-danger { background: var(--nx-danger); color: #fff; }
.btn-danger:hover { background: #B91C1C; color: #fff; }
.btn-sm { min-height: 36px; padding: 6px 14px; font-size: 13.5px; }
.btn-lg { min-height: 52px; padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }

/* Outlined pill (live site "Order Now ⏩" / "More Info") */
.btn-order {
  border: 1.5px solid var(--nx-primary); border-radius: 999px;
  color: var(--nx-primary); background: #fff; font-weight: 500;
}
.btn-order:hover { background: var(--nx-primary); color: #fff; }

.btn .spinner { display: none; }
.btn.loading .spinner { display: inline-block; }
/* A button that is mid-submit is BUSY, not unavailable. It is disabled only
   to block a double submit, but inheriting .btn[disabled]'s opacity:.5 faded
   the spinner along with everything else — on the login button the one piece
   of feedback that the click registered was the hardest thing to see. Full
   strength while loading; the spinner carries the state. */
.btn.loading[disabled] { opacity: 1; cursor: progress; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgb(255 255 255 / .4); border-top-color: #fff;
  animation: nx-spin .7s linear infinite;
}
@keyframes nx-spin { to { transform: rotate(360deg); } }
/* On a light button a white spinner is invisible, which is why some of them
   were marked data-no-loading and gave no sign the click had registered. */
.btn-secondary .spinner, .btn-ghost .spinner { border-color: rgb(15 23 42 / .18); border-top-color: currentColor; }

/* -------------------------------------------------------------- badges */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 12.5px; font-weight: 500; line-height: 1.5; white-space: nowrap;
}
.badge-success { background: var(--nx-success-soft); color: #12813B; }
.badge-warning { background: var(--nx-warning-soft); color: #A85B04; }
.badge-danger  { background: var(--nx-danger-soft);  color: #B42020; }
.badge-info    { background: var(--nx-info-soft);    color: #1D4FBE; }
.badge-muted   { background: var(--nx-bg-soft);      color: var(--nx-text-muted); }
.badge-brand   { background: var(--nx-primary-soft); color: var(--nx-primary-hover); }

/* --------------------------------------------------------------- forms */
.field { margin-bottom: 16px; }
.field.mb-0 { margin-bottom: 0; } /* inline flex rows align inputs with buttons */
.field label { display: block; font-size: 14px; font-weight: 500; color: var(--nx-ink); margin-bottom: 6px; }
.field .req { color: var(--nx-danger); }
.field .help { font-size: 12.5px; color: var(--nx-text-muted); margin-top: 5px; }
.field .error-text { font-size: 12.5px; color: var(--nx-danger); margin-top: 5px; }

.input, select.input, textarea.input {
  width: 100%; min-height: 44px; padding: 10px 14px;
  font: 400 15px/1.4 var(--nx-font); color: var(--nx-text);
  background: #fff; border: 1.5px solid var(--nx-border); border-radius: var(--nx-radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
textarea.input { min-height: 120px; resize: vertical; }
/* Focus darkens the border; it does NOT go red. --nx-primary (#196CDF) and
   --nx-danger (#DC2626) are both saturated reds, so a focused field was
   indistinguishable from one carrying a validation error — the strongest
   signal in the form was being spent on "the cursor is here". Red is now
   reserved for aria-invalid, which is the state that actually needs it. */
.input:focus { outline: none; border-color: var(--nx-ink); }
.input[aria-invalid="true"] { border-color: var(--nx-danger); }
/* An invalid field stays red even while focused. */
.input[aria-invalid="true"]:focus { border-color: var(--nx-danger); }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); gap: 0 20px; }
.form-grid .field { min-width: 0; }
.form-grid .input, .form-grid select.input { min-width: 0; max-width: 100%; text-overflow: ellipsis; }

.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--nx-primary); cursor: pointer; }

/* --------------------------------------------------------------- cards */
.card {
  background: #fff; border: 1px solid var(--nx-border);
  border-radius: var(--nx-radius); box-shadow: var(--nx-shadow-1);
}
.card-pad { padding: 24px; }
.card-title {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 24px; border-bottom: 1px solid var(--nx-border);
  font-size: 15px; font-weight: 500; color: var(--nx-ink);
}

/* --------------------------------------------------------------- flash */
.flash-stack { position: sticky; top: 0; z-index: 90; }
.flash {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px var(--wrap-pad); font-size: 14.5px; font-weight: 500;
}
.flash svg { flex: none; margin-top: 2px; }
.flash-success { background: var(--nx-success-soft); color: #116232; }
.flash-error   { background: var(--nx-danger-soft);  color: #A31B1B; }
.flash-info    { background: var(--nx-info-soft);    color: #1C48A8; }
/* Caution, not failure: a warning about what an action could do, shown before
   anything has gone wrong. flash-error reads as "this broke" and flash-info is
   too quiet to stop someone mid-click. */
.flash-warning { background: var(--nx-warning-soft); color: #8A4B03; }

/* ---------------------------------------------------------- offer bar */
.offer-bar {
  background: #000; color: #fff;
  font-size: 13px; font-weight: 500;
}
.offer-bar .wrap {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 8px 14px; min-height: 38px; padding-block: 5px;
}
.offer-bar .timer { display: inline-flex; gap: 8px; }
.offer-bar .timer span {
  font-variant-numeric: tabular-nums; font-weight: 500; letter-spacing: .02em;
}
.offer-bar a { color: var(--nx-grad-b); font-weight: 500; }
.offer-bar a:hover { color: var(--nx-grad-a); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 80;
  background: #fff; border-bottom: 1px solid var(--nx-border);
}
.site-header .wrap {
  display: flex; align-items: center; gap: 28px; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { height: 28px; width: auto; }

.main-nav { display: flex; gap: 2px; flex: 1; }
.main-nav a {
  padding: 10px 14px; border-radius: 8px;
  color: var(--nx-ink); font-size: 14.5px; font-weight: 500;
}
.main-nav a:hover { background: var(--nx-bg-soft); color: var(--nx-primary); }
.main-nav a.active { color: var(--nx-primary); font-weight: 500; }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cart-link { position: relative; display: inline-flex; padding: 10px; border-radius: 8px; color: var(--nx-ink); }
.cart-link:hover { background: var(--nx-bg-soft); color: var(--nx-primary); }
.cart-count {
  position: absolute; top: 2px; right: 0;
  min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--nx-primary); color: #fff;
  font-size: 11px; font-weight: 500; line-height: 18px; text-align: center;
  border-radius: 999px;
}

/* "My Account" — live site gradient pill */
.btn-header-login { border-radius: 5px; min-height: 44px; min-width: 113px; font-size: 14px; }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  border-radius: 8px; color: var(--nx-ink);
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .main-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; background: #fff; border-bottom: 1px solid var(--nx-border);
    padding: 8px var(--wrap-pad) 16px; box-shadow: var(--nx-shadow-2);
  }
  .main-nav.open { display: flex; }
  .header-actions .btn-header-login { display: none; }
}

/* ----------------------------------------------------------------- hero */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(32px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-kicker {
  display: inline-block; margin-bottom: 14px;
  color: var(--nx-primary); font-size: 13.5px; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.hero-kicker .x { color: var(--nx-ink); }
.hero h1 { text-transform: uppercase; font-weight: 500; }
.hero h1 .accent { color: var(--nx-primary); }
.hero-sub { font-size: 16.5px; color: var(--nx-text-soft); max-width: 60ch; }

.hero-art { display: grid; place-items: center; }
.hero-art img { width: 100%; max-width: 520px; }

/* --------------------------------------------- search bar (live style) */
.domain-searchbar {
  position: relative; display: flex; margin-top: 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(270deg, red, orange, yellow, green, cyan, blue, violet, red) border-box;
  background-size: 100% 100%, 300% 300%;
  animation: nx-border-move 12s linear infinite;
  box-shadow: 0 6px 18px rgb(17 19 24 / .08);
}
.domain-searchbar input {
  flex: 1; min-width: 0; border: 0; padding: 20px 22px;
  font: 400 16px/1.4 var(--nx-font); color: var(--nx-text); background: transparent;
  border-radius: 6px;
}
.domain-searchbar input:focus { outline: none; }
.domain-searchbar:focus-within { box-shadow: 0 0 0 3px rgb(25 108 223 / .18); }
.domain-searchbar .btn {
  flex: none; margin: 9px; padding: 0 30px; min-height: 54px;
  font-size: 16px; font-weight: 500; border-radius: 4px;
}
@media (max-width: 560px) {
  .domain-searchbar { flex-direction: column; padding: 8px; }
  .domain-searchbar input { padding: 14px; }
  .domain-searchbar .btn { width: calc(100% - 0px); margin: 4px 0 0; }
}

.tld-strip { display: flex; flex-wrap: wrap; align-items: center; margin-top: 20px; font-size: 17px; }
.tld-strip > span { display: inline-flex; gap: 7px; padding: 0 22px; border-right: 1px solid var(--nx-border); }
.tld-strip > span:first-child { padding-left: 0; }
.tld-strip > span:last-child { border-right: 0; }
.tld-strip .t { font-weight: 500; color: var(--nx-ink); }
.tld-strip .p { color: var(--nx-primary); font-weight: 500; }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(40px, 6vw, 84px) 0; }
.section.soft { background: var(--nx-bg-soft); }
.section-head { max-width: 780px; margin: 0 auto 40px; text-align: center; }
.section-head p { color: var(--nx-text-soft); }

/* Green check feature strip under section heads (live site) */
.check-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin: 18px 0 0; font-size: 14.5px; color: var(--nx-text-soft); }
.check-strip span { display: inline-flex; align-items: center; gap: 8px; }
.check-strip svg { color: var(--nx-success); }

/* --------------------------------------------------------- plan cards */
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--nx-border); border-radius: var(--nx-radius);
  padding: 30px 24px 26px; box-shadow: var(--nx-shadow-1); overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-3px); box-shadow: var(--nx-shadow-2); }
.plan-card.featured { border-color: var(--nx-primary); box-shadow: 0 8px 24px rgb(25 108 223 / .12); }

/* Diagonal "Most Popular" ribbon (live site) */
.plan-ribbon {
  position: absolute; top: 20px; left: -38px;
  width: 150px; transform: rotate(-45deg);
  background: var(--nx-success); color: #fff;
  font-size: 11.5px; font-weight: 500; text-align: center; padding: 5px 0;
  letter-spacing: .02em;
}

.plan-name { font-size: 20px; font-weight: 500; color: var(--nx-ink); text-align: center; }
.plan-tag { font-size: 13.5px; color: var(--nx-text-soft); margin-bottom: 16px; text-align: center; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 5px; margin-bottom: 2px; }
.plan-price .cur { font-size: 22px; font-weight: 500; color: var(--nx-primary); }
.plan-price .amt { font-size: 42px; font-weight: 500; color: var(--nx-primary); letter-spacing: -0.02em; }
.plan-price .per { color: var(--nx-text-soft); font-size: 14px; }
.plan-cycle-label { text-align: center; font-size: 14px; font-weight: 500; color: var(--nx-ink); margin-bottom: 8px; }

.off-row { display: flex; justify-content: center; align-items: center; gap: 10px; margin-bottom: 16px; font-size: 13px; }
.off-pill { background: var(--nx-bg-soft); border-radius: 999px; padding: 3px 12px; font-weight: 500; color: var(--nx-ink); }
.was { color: var(--nx-text-muted); text-decoration: line-through; }

.plan-save { font-size: 12.5px; color: var(--nx-success); font-weight: 500; margin-bottom: 14px; text-align: center; }
.plan-features { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; font-size: 14px; }
.plan-features li { display: flex; gap: 9px; align-items: flex-start; }
.plan-features svg { flex: none; margin-top: 3px; color: var(--nx-success); }
.plan-card .btn { margin-top: auto; }
.plan-card form { display: flex; flex-direction: column; flex: 1; }

/* --------------------------------------------- TLD section split layout */
.tld-section-grid { display: grid; grid-template-columns: minmax(280px, 1fr) 2fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .tld-section-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ tld cards */
.tld-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.tld-card {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid var(--nx-border); border-radius: var(--nx-radius);
  padding: 24px 18px 18px; text-align: center; box-shadow: var(--nx-shadow-1);
  transition: transform .2s ease, box-shadow .2s ease;
}
.tld-card:hover { transform: translateY(-3px); box-shadow: var(--nx-shadow-2); }
.tld-card .ext { font-size: 28px; font-weight: 500; color: var(--nx-ink); }
.tld-card .ext .dot { color: var(--nx-primary); }
.tld-card .save-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-size: 13px; }
.tld-card .save-pill {
  background: var(--nx-primary-soft); color: var(--nx-primary-hover);
  border-radius: 999px; padding: 2px 10px; font-weight: 500; font-size: 12px;
}
.tld-card .price { margin: 8px 0 2px; font-size: 24px; font-weight: 500; color: var(--nx-ink); }

/* A TLD advertising a promo or marketing price. The struck-through standard
   rate sits inline before the offer, so the card says what is being given up
   as well as what is being asked — a bare low number under "/1st yr" reads as
   the renewal rate to anyone scanning. */
.tld-card--offer { border-color: rgba(25, 108, 223, .32); }
.tld-card .tld-was {
  display: inline-block; margin-right: 7px;
  font-size: 15px; font-weight: 400; color: var(--nx-text-muted);
}
.tld-card .price .per { font-size: 13px; color: var(--nx-text-soft); font-weight: 400; }
.tld-card .renews { font-size: 12.5px; color: var(--nx-text-muted); margin-top: 8px; }
.tld-card .btn { width: 100%; margin-top: 12px; }
.tld-card form { width: 100%; }

/* -------------------------------------------------------- feature grid */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--nx-border); border-radius: var(--nx-radius);
  padding: 26px;
}
.feature .icon {
  display: inline-grid; place-items: center; width: 46px; height: 46px;
  border-radius: 12px; background: var(--nx-primary-soft); color: var(--nx-primary);
  margin-bottom: 14px;
}
.feature h4 { margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--nx-text-soft); margin: 0; }

/* -------------------------------------------------------- search page */
.search-hero { background: var(--nx-bg-soft); padding: clamp(32px, 5vw, 56px) 0; }
.search-hero h1 { font-size: clamp(24px, 3vw, 34px); text-transform: none; }

.result-exact {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  padding: 24px; border: 2px solid; border-radius: var(--nx-radius);
  margin-bottom: 28px; background: #fff;
}
.result-exact.available { border-color: var(--nx-success); }
.result-exact.taken { border-color: var(--nx-border); }
.result-exact .domain { font-size: clamp(20px, 2.6vw, 26px); font-weight: 500; color: var(--nx-ink); word-break: break-all; }
.result-exact .price { font-size: clamp(18px, 2.4vw, 24px); font-weight: 500; color: var(--nx-primary); margin-left: auto; }

.result-list { display: grid; }
.result-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
  padding: 14px 18px; border-bottom: 1px solid var(--nx-border); background: #fff;
}
.result-row:first-child { border-top-left-radius: var(--nx-radius); border-top-right-radius: var(--nx-radius); }
.result-row:last-child { border-bottom: 0; border-bottom-left-radius: var(--nx-radius); border-bottom-right-radius: var(--nx-radius); }
.result-row .domain { font-size: 20px; font-weight: 500; color: var(--nx-ink); word-break: break-all; }
.result-row .spacer { flex: 1; }
.result-row .price { font-size: 17px; font-weight: 500; color: var(--nx-primary); font-variant-numeric: tabular-nums; }
.result-row .renew { font-size: 12px; color: var(--nx-text-muted); }
.result-row.taken .domain { color: var(--nx-text-muted); text-decoration: line-through; text-decoration-color: rgb(220 38 38 / .5); }

/* First-year saving pill — outlined green chip beside the price. */
.save-pill {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border: 1px solid rgb(22 163 74 / .5); border-radius: 999px;
  background: #F2FBF5; color: #12813B;
  font-size: 11px; font-weight: 500; line-height: 1.4;
  letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap; vertical-align: middle; margin-right: 4px;
}
.sgx-amount .save-pill { align-self: center; }

/* Promo offer gift badge + CSS tooltip (per-TLD offer from Domain Pricing). */
.promo-tip { position: relative; display: inline-flex; vertical-align: middle; }
.promo-tip-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--nx-grad-a), var(--nx-grad-b));
  color: #fff; flex: none; padding: 0;
  transition: box-shadow .15s ease, transform .15s ease;
}
.promo-tip-btn:hover, .promo-tip-btn:focus-visible {
  transform: scale(1.06);
  box-shadow: none;
}
.promo-tip-bubble {
  position: absolute; top: calc(100% + 10px); left: 50%;
  transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(4px);
  width: max-content; max-width: min(280px, 84vw); padding: 11px 15px; border-radius: 10px;
  background: var(--nx-primary-hover); color: #fff; font-size: 13.5px; font-weight: 500; line-height: 1.45;
  text-align: left; white-space: normal; z-index: 60; pointer-events: none;
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease;
  box-shadow: 0 6px 16px rgb(17 19 24 / .14);
}
.promo-tip-bubble::before {
  content: ""; position: absolute; bottom: 100%; left: calc(50% - var(--tip-shift, 0px)); transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: var(--nx-primary-hover);
}
.promo-tip:hover .promo-tip-bubble,
.promo-tip:focus-within .promo-tip-bubble {
  opacity: 1; visibility: visible;
  transform: translateX(calc(-50% + var(--tip-shift, 0px))) translateY(0);
}
@media (max-width: 620px) {
  .result-row form { width: 100%; }
  .result-row form .btn { width: 100%; }
}

/* --------------------------------------------------------------- cart */
.cart-layout { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
@media (max-width: 980px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-line { display: flex; flex-wrap: wrap; gap: 12px 16px; padding: 18px 0; border-bottom: 1px solid var(--nx-border); }
.cart-line:last-child { border-bottom: 0; }
.cart-line .info { flex: 1 1 320px; min-width: 0; }
.cart-line .amount { font-weight: 500; color: var(--nx-ink); font-variant-numeric: tabular-nums; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14.5px; }
.summary-row.total { border-top: 1px solid var(--nx-border); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 500; color: var(--nx-ink); }

.gateway-option {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  border: 1.5px solid var(--nx-border); border-radius: var(--nx-radius-sm);
  cursor: pointer; margin-bottom: 10px; transition: border-color .15s ease, background-color .15s ease;
}
.gateway-option:hover { border-color: var(--nx-primary); }
.gateway-option input { accent-color: var(--nx-primary); width: 18px; height: 18px; }
.gateway-option input:checked + span { font-weight: 500; color: var(--nx-ink); }

/* ------------------------------------------------------------ key-value */
.nx-kv { width: 100%; border-collapse: collapse; font-size: 14px; }
.nx-kv th { text-align: left; padding: 8px 16px 8px 0; color: var(--nx-text-muted); font-weight: 500; white-space: nowrap; vertical-align: top; }
.nx-kv td { padding: 8px 0; color: var(--nx-ink); word-break: break-word; }

/* --------------------------------------------------------------- tables */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.nx-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.nx-table th {
  text-align: left; padding: 12px 16px; white-space: nowrap;
  background: var(--nx-bg-soft); color: var(--nx-text-muted);
  font-size: 12.5px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em;
  border-bottom: 1px solid var(--nx-border);
}
.nx-table td { padding: 13px 16px; border-bottom: 1px solid var(--nx-border); vertical-align: middle; }
.nx-table tr:last-child td { border-bottom: 0; }
.nx-table tbody tr { transition: background-color .15s ease; }
.nx-table tbody tr:hover { background: #FBFBFC; }
.nx-table .actions { text-align: right; white-space: nowrap; }
.nx-table th.num, .nx-table td.num { text-align: right; font-variant-numeric: tabular-nums; }

/* ------------------------------------------------- CTA band (gradient) */
.cta-band {
  position: relative; color: #fff; overflow: hidden;
  background: linear-gradient(270deg, var(--nx-grad-b), var(--nx-grad-a), var(--nx-grad-b), var(--nx-grad-a), var(--nx-grad-b));
  background-size: 300% 300%;
  animation: nx-gradient-loop 10s linear infinite;
  padding: clamp(40px, 6vw, 72px) 0;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgb(255 255 255 / .92); }
.cta-band .btn-primary {
  background: #fff; color: var(--nx-primary); animation: none;
}
.cta-band .btn-primary:hover { background: var(--nx-primary-soft); color: var(--nx-primary-hover); box-shadow: none; }
.cta-band .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band .cta-art { flex: none; width: min(220px, 30vw); opacity: .95; }

/* --------------------------------------------------------------- footer */
.site-footer { background: #fff; padding: 72px 0 0; font-size: 14px; border-top: 1px solid var(--nx-border); }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 32px; }
@media (max-width: 1100px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 {
  color: var(--nx-ink); font-size: 13.5px; font-weight: 500;
  text-transform: uppercase; letter-spacing: .05em; margin-bottom: 16px;
}
.site-footer h4.gap-top { margin-top: 28px; }
.site-footer ul { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--nx-text-soft); }
.site-footer a:hover { color: var(--nx-primary); }

.footer-bottom {
  margin-top: 56px; padding: 28px 0; background: var(--nx-bg-soft);
}
.footer-bottom .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-bottom .brand-line { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 14.5px; color: var(--nx-ink); font-weight: 500; }
.footer-bottom .brand-line img { height: 22px; width: auto; }
.footer-bottom p { margin: 4px 0 0; font-size: 13px; color: var(--nx-text-soft); }

/* --------------------------------------------------------- cookie banner */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 20px; padding: 14px var(--wrap-pad);
  background: rgb(255 255 255 / .97); border-top: 1px solid var(--nx-border);
  box-shadow: 0 -6px 24px rgb(17 19 24 / .08);
  font-size: 13.5px; color: var(--nx-text-soft);
}
.cookie-banner p { margin: 0; }
.cookie-banner .buttons { display: flex; gap: 10px; }

/* --------------------------------------------------------------- auth */
.auth-wrap { display: grid; place-items: center; padding: clamp(32px, 6vw, 72px) var(--wrap-pad); background: var(--nx-bg-soft); min-height: 60vh; }
.auth-card { width: 100%; max-width: 460px; }
.auth-card.wide { max-width: 720px; }

/* ---------------------------------------------- shop cart (reference style) */
.cartx-page { background: var(--nx-bg-soft); }
.cartx-wrap { max-width: 1400px; margin-inline: auto; padding: 24px var(--wrap-pad) 72px; } /* matches the site's 1400px content container */
.cartx-wrap > h1 { font-size: 22px; text-transform: none; margin: 0 0 24px; }

.cartx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 28px; align-items: start; }
/* minmax(0, 1fr), not 1fr: a bare 1fr track is minmax(auto, 1fr), so its
   minimum is the column's min-content width. A long unbreakable string in a
   cart card (a domain, a currency figure) pushed the track wider than the
   grid and the whole page scrolled sideways ~13px on a 375px screen. */
@media (max-width: 980px) { .cartx-layout { grid-template-columns: minmax(0, 1fr); } }

.cartx-card {
  background: #fff; border-radius: 16px; padding: 26px 28px; margin-bottom: 20px;
  box-shadow: 0 1px 3px rgb(17 19 24 / .06);
}
.cartx-card.tinted { background: var(--nx-primary-soft); }

.cartx-head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.cartx-head .icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  border-radius: 10px; background: var(--nx-bg-soft); color: var(--nx-ink);
}
.cartx-card.tinted .cartx-head .icon { background: #fff; color: var(--nx-primary); }
/* flex:1 + min-width:0 so a long product name takes the space that is left
   rather than being squeezed to a 4-line column by the Remove button. */
.cartx-head h3 { margin: 0; font-size: 17px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cartx-head form { margin-left: auto; }

/* "Use with domain" attach row */
.cartx-attach-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; flex: 1; margin: 0; }
.cartx-attach-form label { margin: 0; }
.cartx-attach-form .input { min-height: 40px; max-width: 240px; }

.cartx-row { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; }
.cartx-row .grow { flex: 1 1 260px; min-width: 0; }
.cartx-label { display: block; font-size: 14px; font-weight: 500; color: var(--nx-ink); margin-bottom: 8px; }

.cartx-select {
  width: 100%; min-height: 52px; padding: 12px 16px;
  font: 500 15px/1.3 var(--nx-font); color: var(--nx-ink);
  border: 1.5px solid var(--nx-border); border-radius: 10px; background: #fff;
}
/* No brand red on this control, in any state.
   It previously drew a red border plus a 3px red glow, which reads as an error
   on a form field — and it appeared far more often than "the user tabbed here":
   a <select> keeps focus after the dropdown closes, and browsers restore focus
   to it across a form submit, so the alarm state was showing when nobody had
   deliberately focused anything.
   Focus is still indicated, just quietly — the border darkens from #E5E7EB to
   near-black, a plainly visible change. Removing the indicator altogether would
   fail WCAG 2.4.7 Focus Visible and leave keyboard users with no idea where
   they are. */
.cartx-select:focus { outline: none; box-shadow: none; }
.cartx-select:focus-visible { outline: none; box-shadow: none; border-color: var(--nx-ink); }

.cartx-price { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.cartx-price .save-pill {
  background: var(--nx-success-soft); color: #12813B;
  border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 500; white-space: nowrap;
}
.cartx-price .amount { text-align: right; }
.cartx-price .amount .now { font-size: 26px; font-weight: 500; color: var(--nx-ink); white-space: nowrap; }
.cartx-price .amount .now span { font-size: 14px; font-weight: 500; color: var(--nx-text-muted); }
.cartx-price .amount .was { display: block; font-size: 13.5px; color: var(--nx-text-muted); text-decoration: line-through; }

.cartx-note { font-size: 13.5px; color: var(--nx-text-soft); margin: 14px 0 0; }
.cartx-perk {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 16px; padding-top: 16px;
  border-top: 1px solid var(--nx-border); font-size: 14px; color: var(--nx-text);
}
.cartx-perk svg { flex: none; color: var(--nx-success); margin-top: 2px; }
.cartx-remove {
  background: none; border: 0; cursor: pointer; color: var(--nx-text-muted);
  font-size: 13px; font-weight: 500; padding: 6px 8px; border-radius: 6px;
  display: inline-flex; align-items: center; gap: 5px;
}
.cartx-remove:hover { color: var(--nx-danger); background: var(--nx-danger-soft); }

/* domain search inside the cart */
.cartx-domain-search { display: flex; gap: 0; border: 1.5px solid var(--nx-border); border-radius: 10px; overflow: hidden; }
/* :has(:focus-visible) rather than :focus-within, for the same reason — a
   mouse click should not ring the whole box. */
.cartx-domain-search:has(:focus-visible) { border-color: var(--nx-primary); box-shadow: var(--nx-focus); }
.cartx-domain-search svg { flex: none; align-self: center; margin-left: 14px; color: var(--nx-text-muted); }
.cartx-domain-search input { flex: 1; min-width: 0; border: 0; padding: 14px; font: 400 15px/1.4 var(--nx-font); border-radius: 8px 0 0 8px; }
/* The container's :focus-within highlight is the single focus indicator —
   suppress the inner input's own ring so the two never overlap. */
.cartx-domain-search input:focus,
.cartx-domain-search input:focus-visible { outline: none; box-shadow: none; }
.cartx-domain-search button { border: 0; }

/* upsell features */
.cartx-features { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 9px; font-size: 14px; }
.cartx-features li { display: flex; gap: 9px; align-items: flex-start; }
.cartx-features svg { flex: none; margin-top: 2.5px; color: var(--nx-ink); }

/* order summary */
.cartx-summary { position: sticky; top: 24px; } /* shop layout has no fixed header */
.cartx-summary .cartx-card { margin-bottom: 16px; }
.cartx-summary h2 { font-size: 19px; margin-bottom: 16px; }
/* -- cart: sticky checkout bar (mobile / tablet) -------------------------
   Below 980px the layout collapses to one column, which puts the order
   summary underneath every cart card — so on a phone the total and the
   Continue button sit several screens below the fold, and adjusting a
   quantity scrolls you away from the only figure that tells you what it
   cost. The summary card keeps the itemised breakdown; this bar carries the
   running total and the action, always in reach. */
/* Phone: the card's 28px side padding costs 56px of a 375px screen, which is
   what forced product names into a four-line column beside Remove. */
@media (max-width: 560px) {
  .cartx-card { padding: 20px 18px; }
  .cartx-head { gap: 10px; }
  .cartx-head .icon { width: 36px; height: 36px; }
  .cartx-head h3 { font-size: 16px; }

  /* 44px minimum touch targets. Remove is 27px tall from its text metrics
     alone, and it deletes a cart line — a destructive action is the last
     place to make people aim carefully. The coupon toggle is 18px. Both grow
     by padding, so the type and colour are unchanged. */
  .cartx-remove { min-height: 44px; padding: 6px 10px; }
  .coupon-link { display: inline-flex; align-items: center; min-height: 44px; }
}

.cartx-stickybar { display: none; }
@media (max-width: 980px) {
  .cartx-stickybar {
    display: block;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200; /* matches .selbar */
    background: rgb(255 255 255 / .97);
    -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
    border-top: 1px solid var(--nx-border);
    box-shadow: 0 -10px 34px rgb(15 15 20 / .12);
    padding-bottom: env(safe-area-inset-bottom); /* clear the home indicator */
  }
  .cartx-stickybar-in {
    display: flex; align-items: center; gap: 14px;
    max-width: 1400px; margin-inline: auto;
    padding: 12px var(--wrap-pad);
  }
  .cartx-stickybar-total { display: flex; flex-direction: column; line-height: 1.2; min-width: 0; }
  .cartx-stickybar-total .lbl { font-size: 12.5px; font-weight: 500; color: var(--nx-text-soft); }
  .cartx-stickybar-total .num {
    font-size: 20px; font-weight: 500; color: var(--nx-ink);
    font-variant-numeric: tabular-nums; /* the figure must not jog as it changes */
  }
  .cartx-stickybar .btn { flex: 1; max-width: 220px; min-height: 48px; margin-left: auto; }

  /* One Continue, not two. Leaving the in-card button visible would expose a
     duplicate link to screen readers and give the page two primary CTAs. */
  .cartx-continue-inline { display: none; }

  /* Clear the bar (72px tall) so the guarantee note stays reachable. */
  .cartx-wrap { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* The cookie preferences button is fixed bottom-left at z-index 9390, so
     without this it floats on top of the bar for the whole cart session. */
  body:has(.cartx-stickybar) .ckx-fab { bottom: calc(88px + env(safe-area-inset-bottom)); }
}

.cartx-sumline { display: flex; justify-content: space-between; gap: 12px; padding: 5px 0; font-size: 14.5px; }
.cartx-sumline .name { color: var(--nx-ink); font-weight: 500; }
.cartx-sumline .sub { color: var(--nx-text-muted); font-weight: 400; }
.cartx-sumline .was { color: var(--nx-text-muted); text-decoration: line-through; margin-right: 8px; font-size: 13px; }
.cartx-sumline.total { border-top: 1px solid var(--nx-border); margin-top: 12px; padding-top: 14px; font-size: 17px; }
.cartx-sumline.total .name { font-size: 17px; }
.cartx-sumline.total .num { font-weight: 500; color: var(--nx-ink); }

.cartx-guarantee {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font-size: 14.5px; font-weight: 500; color: var(--nx-ink); margin-top: 4px;
}
.cartx-guarantee svg { color: var(--nx-success); }
.cartx-trust { text-align: center; font-size: 13px; color: var(--nx-text-muted); margin-top: 10px; }

/* ------------------------------------------------------------- misc */
.empty-state { text-align: center; padding: 48px 24px; color: var(--nx-text-muted); }
.empty-state svg { color: var(--nx-border); margin-bottom: 12px; }
.divider-label { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--nx-text-muted); font-size: 13px; }
.divider-label::before, .divider-label::after { content: ""; flex: 1; height: 1px; background: var(--nx-border); }

/* --------------------------------- split-screen auth (login / signup) */
/* A blue brand panel beside the form. On a tablet or phone the panel shrinks
   to a logo band and the form rises over it as a rounded sheet. */
.authx {
  --ax-navy: #0A1D3B;
  --ax-text: #46597A;
  --ax-hint: #64748F;
  --ax-line: #DFE9F7;
  --ax-line-strong: #B9CDEB;
  --ax-soft: #EAF2FE;
  display: grid;
  grid-template-columns: minmax(440px, 46%) minmax(0, 1fr);
  min-height: 100dvh;
  padding: 16px;
  background: var(--nx-bg-app);
  color: var(--ax-text);
  font-size: 15px;
  line-height: 1.6;
}
/* Signup carries a two-column form, so its panel gives up some width. */
.authx.is-wide { grid-template-columns: minmax(400px, 38%) minmax(0, 1fr); }
.authx p { margin: 0; }
/* Links and buttons show focus as an outline. Text boxes do not: their own
   border is the one focus mark (see .authx .input below). */
.authx :is(a, button):focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 3px; box-shadow: none; }
.authx .authx-side :is(a, button):focus-visible { outline-color: #fff; }

.authx-side {
  container-type: inline-size;
  position: sticky;
  top: 16px;
  align-self: start;
  min-height: calc(100dvh - 32px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: clamp(28px, 3.4vw, 52px);
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(60% 50% at 100% 0%, rgb(99 164 255 / .45), transparent 70%),
    radial-gradient(55% 45% at 0% 100%, rgb(8 40 110 / .55), transparent 72%),
    linear-gradient(140deg, #0C3F9C 0%, #1257BF 48%, #196CDF 100%);
}
/* Dot texture, the same one the dashboard welcome panel carries. */
.authx-side::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgb(255 255 255 / .16) 1px, transparent 1.4px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(200deg, #000 0%, transparent 55%);
  mask-image: linear-gradient(200deg, #000 0%, transparent 55%);
  pointer-events: none;
}
.authx-side > * { position: relative; }
.authx-brand { display: inline-flex; align-items: center; align-self: flex-start; min-height: 44px; }
.authx-brand img { display: block; height: 32px; width: auto; }
/* Centred in the panel whether or not the reviews sit under it. */
.authx-pitch { margin-block: auto; }
/* Two lines: the light opening, then the stressed part on its own line. The
   size follows the panel width so neither line wraps. */
.authx .authx-headline {
  margin: 0 0 28px;
  font-size: clamp(25px, 6.6cqi, 42px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: #fff;
}
.authx-headline b { display: block; font-weight: 500; }
.authx-tiles {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 560px;
}
.authx-tiles li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border-radius: 16px;
  background: rgb(255 255 255 / .1);
  border: 1px solid rgb(255 255 255 / .16);
}
.authx-tile-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #fff;
  color: var(--nx-primary-hover);
}
.authx-tile-txt { display: grid; gap: 2px; min-width: 0; }
.authx-tile-txt b { font-size: 14.5px; font-weight: 500; }
.authx-tile-txt span { font-size: 12.5px; line-height: 1.5; color: rgb(255 255 255 / .82); }
/* Narrow panel: one tile per row, so no tile wraps into a tall box. */
@container (max-width: 520px) {
  .authx-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .authx-tiles li { align-items: center; padding: 12px 14px; }
}
.authx-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; max-width: 460px; }
.authx-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; line-height: 1.5; color: rgb(255 255 255 / .94); overflow-wrap: anywhere; }
.authx-point-ico {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgb(255 255 255 / .16);
}

.authx-review { max-width: 560px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .2); }
/* Reviews stack in one grid cell and crossfade, so nothing below ever shifts.
   Driven by the auth review rotor in assets/js/app.js. */
.authx-rotor { display: grid; }
.authx-quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transition: opacity .4s ease, visibility 0s linear .4s; }
.authx-quote.is-on { opacity: 1; visibility: visible; transition: opacity .4s ease; }
.authx .authx-quote p { margin: 0 0 10px; font-size: 15px; line-height: 1.65; color: rgb(255 255 255 / .92); }
.authx-quote cite { font-style: normal; font-size: 14px; font-weight: 500; }
.authx-quote cite span { margin-left: 6px; font-weight: 400; color: rgb(255 255 255 / .75); }
.authx-rdots { display: flex; gap: 2px; margin: 10px 0 0 -8px; }
/* A 24px button around an 8px dot, so the dot is easy to hit. */
.authx-rdot {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.authx-rdot::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgb(255 255 255 / .38);
  transition: background-color .2s ease, width .2s ease;
}
.authx-rdot:hover::before { background: rgb(255 255 255 / .7); }
.authx-rdot.active::before { width: 20px; background: #fff; }

.authx-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 12px clamp(20px, 4vw, 56px);
}
.authx-top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.authx-top-btn {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid var(--ax-line);
  background: #fff;
  color: var(--ax-navy);
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s ease, color .2s ease;
}
.authx-top-btn:hover { border-color: var(--nx-primary); color: var(--nx-primary-hover); }

.authx-box { width: 100%; max-width: 432px; margin: auto; padding: 28px 0; }
.authx-box.wide { max-width: 640px; }
.authx .authx-hello {
  margin: 0 0 10px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--nx-primary-hover);
}
.authx-box h1 {
  margin: 0 0 8px;
  font-size: clamp(28px, 2.5vw, 36px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -.01em;
  color: var(--ax-navy);
  overflow-wrap: anywhere;
  text-wrap: balance;
}
.authx-box h1 b { font-weight: 500; }
.authx .authx-sub { margin: 0 0 26px; font-size: 15px; overflow-wrap: anywhere; }
.authx-sub b { font-weight: 500; color: var(--ax-navy); }

.authx-social { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.authx-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid var(--ax-line);
  background: #fff;
  color: var(--ax-navy);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: border-color .2s ease, background-color .2s ease;
}
.authx-social-btn:hover { border-color: var(--ax-line-strong); background: var(--nx-bg-app); color: var(--ax-navy); }
.authx-social-btn svg { flex: none; }
.authx .divider-label { margin: 22px 0; color: var(--ax-hint); }
.authx .divider-label::before, .authx .divider-label::after { background: var(--ax-line); }

.authx .field { margin-bottom: 18px; }
.authx .field label { margin-bottom: 8px; color: var(--ax-navy); }
.authx .field label .muted { font-weight: 400; color: var(--ax-hint); }
.authx .field .help { color: var(--ax-hint); }
.authx-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.authx-link { color: var(--nx-primary-hover); font-size: 14px; font-weight: 500; text-decoration: none; }
.authx-link:hover { color: var(--nx-primary-hover); text-decoration: underline; }
/* The label-row link is one short line of text; this widens what a finger can hit. */
.authx-label-row .authx-link { position: relative; }
.authx-label-row .authx-link::after { content: ""; position: absolute; inset: -11px -6px; }
/* One border per field, and focus only changes its colour: no ring, no
   outline, nothing drawn inside or around the box. */
.authx .input {
  min-height: 54px;
  padding-top: 0;
  padding-bottom: 0;
  border: 1px solid var(--ax-line);
  border-radius: 14px;
  color: var(--ax-navy);
  font-size: 16px;
}
.authx .input::placeholder { color: var(--ax-hint); opacity: 1; }
.authx .input:hover { border-color: var(--ax-line-strong); }
.authx .input:focus, .authx .input:focus-visible { outline: 0; border-color: var(--nx-primary); box-shadow: none; }
.authx .input[aria-invalid="true"], .authx .input[aria-invalid="true"]:focus { border-color: var(--nx-danger); }
.authx .input:disabled { background-color: var(--nx-bg-app); color: var(--ax-hint); cursor: not-allowed; }
.authx .input:disabled:hover { border-color: var(--ax-line); }
/* Leading icon. It sits at a fixed offset from the top, not the middle, so
   the strength meter app.js adds under a password box does not move it. */
.authx-ico { position: relative; }
.authx-ico > svg { position: absolute; left: 16px; top: 17px; color: var(--ax-hint); pointer-events: none; transition: color .2s ease; }
.authx-ico:focus-within > svg { color: var(--nx-primary); }
.authx .authx-ico .input { padding-left: 46px; }
.authx .pw-wrap .input { padding-right: 56px; }
.authx .pw-toggle { top: 5px; right: 5px; transform: none; width: 44px; height: 44px; border-radius: 10px; color: var(--ax-hint); transition: background-color .2s ease, color .2s ease; }
.authx .pw-toggle:hover { background: var(--ax-soft); color: var(--nx-primary-hover); }
/* Open eye while the password is hidden, struck-through eye once it shows. */
.authx .pw-toggle svg + svg, .authx .pw-toggle[aria-pressed="true"] svg:first-child { display: none; }
.authx .pw-toggle[aria-pressed="true"] svg + svg { display: block; }
.authx .input.authx-code { text-align: center; font-size: 22px; font-weight: 500; letter-spacing: .35em; }
.authx .form-grid { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); gap: 0 16px; }
.authx .phone-group .phone-cc-wrap { flex-basis: 124px; }

.authx .btn { border-radius: 999px; }
.authx .btn-lg { min-height: 54px; gap: 10px; }
.authx .btn-primary {
  margin-top: 6px;
  background: var(--nx-primary);
  animation: none;
  box-shadow: 0 14px 26px -14px rgb(25 108 223 / .8);
}
.authx .btn-primary::before { display: none; }
.authx .btn-primary:hover { background: var(--nx-primary-hover); box-shadow: 0 14px 26px -14px rgb(25 108 223 / .8); }
.authx .btn-primary svg { transition: transform .2s ease; }
.authx .btn-primary:hover svg { transform: translateX(3px); }
/* The arrow steps aside while the spinner shows. */
.authx .btn.loading svg { display: none; }
.authx .btn-secondary { min-height: 50px; border: 1px solid var(--ax-line); background: #fff; color: var(--ax-navy); }
.authx .btn-secondary:hover { border-color: var(--ax-line-strong); background: var(--nx-bg-app); color: var(--ax-navy); }
.authx-again { margin-top: 12px; }

/* The top-right link is hidden on a phone; this line takes its place. */
.authx .authx-swap { display: none; margin: 22px 0 0; text-align: center; font-size: 15px; }
.authx-swap .authx-link { font-size: inherit; }
.authx .authx-fine {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 26px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--ax-line);
  font-size: 12.5px;
  line-height: 1.65;
  color: var(--ax-hint);
}
.authx-fine > svg { flex: none; margin-top: 2px; color: var(--nx-primary); }
.authx-fine b { font-weight: 500; color: var(--ax-text); }
.authx-fine a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.authx-fine a:hover { color: var(--nx-primary-hover); }
.authx-inline { display: inline; }
.authx-textbtn { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.authx-textbtn:hover { color: var(--nx-primary-hover); }

/* Short screens: the reviews give way before anything else is squeezed. */
@media (max-height: 720px) and (min-width: 961px) {
  .authx-review { display: none; }
}
@media (max-width: 960px) {
  .authx, .authx.is-wide { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; padding: 0; }
  .authx-side { position: relative; top: auto; align-self: auto; min-height: 0; border-radius: 0; padding: 26px 24px 58px; gap: 0; }
  .authx-pitch, .authx-review { display: none; }
  .authx-brand img { height: 30px; }
  .authx-main {
    position: relative;
    margin-top: -30px;
    padding: 4px 24px 20px;
    border-radius: 28px 28px 0 0;
    background: #fff;
  }
  .authx-top { display: none; }
  .authx-box { margin: 0 auto; padding: 28px 0 24px; }
  .authx .authx-swap { display: block; }
}
@media (max-width: 420px) {
  .authx-side { padding: 22px 20px 54px; }
  .authx-main { padding-left: 20px; padding-right: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .authx *, .authx *::before { transition: none !important; }
}

/* Phone input with flag + dialling code prefix */
.phone-group { display: flex; gap: 8px; }
.phone-group .phone-cc-wrap { flex: 0 0 112px; }  /* flag 44px + "+9999" + caret — keeps the number box wide */
.phone-group .phone-cc { width: 100%; padding-right: 4px; }
.phone-group > .input { flex: 1; min-width: 0; }

/* Selects with a straight (rectangular) SVG flag for the selected value */
.flag-select { position: relative; }
.flag-select .flag-img {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 17px; object-fit: cover; border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(0,0,0,0.08); pointer-events: none;
}
.flag-select .input { padding-left: 44px; width: 100%; }

/* Styled confirmation modal (nxConfirm — replaces native confirm dialogs) */
.nxc-overlay {
  position: fixed; inset: 0; z-index: 1400;
  display: grid; place-items: center; padding: 20px;
  background: rgba(12, 10, 14, 0.5); backdrop-filter: blur(4px);
  animation: nxc-fade .16s ease-out;
}
.nxc-overlay.leaving { animation: nxc-fade .12s ease-in reverse forwards; }
.nxc-modal {
  position: relative; width: min(460px, 100%); overflow: hidden;
  background: var(--nx-bg); border-radius: 16px; text-align: left;
  border: 1px solid var(--nx-border);
  box-shadow: 0 8px 16px rgb(17 24 39 / .08), 0 24px 60px rgb(17 24 39 / .22);
  animation: nxc-pop .18s cubic-bezier(.2, .9, .35, 1.08);
}
.nxc-overlay.leaving .nxc-modal { animation: none; }
.nxc-x {
  position: absolute; top: 14px; right: 14px;
  display: grid; place-items: center; width: 32px; height: 32px;
  border: 0; border-radius: 8px; cursor: pointer;
  background: transparent; color: var(--nx-text-muted);
  transition: background .15s ease, color .15s ease;
}
.nxc-x:hover { background: var(--nx-bg-soft); color: var(--nx-ink); }
.nxc-head { display: flex; gap: 16px; align-items: flex-start; padding: 24px 52px 22px 24px; }
.nxc-icon {
  flex: none; display: grid; place-items: center; width: 42px; height: 42px;
  border-radius: 12px; background: var(--nx-danger-soft); color: var(--nx-danger);
}
.nxc-text { min-width: 0; }
.nxc-title { font-size: 16.5px; font-weight: 500; color: var(--nx-ink); margin: 2px 0 0; line-height: 1.35; }
.nxc-msg { font-size: 14px; color: var(--nx-text-soft); line-height: 1.65; margin: 6px 0 0; }
/* Type-to-confirm field (nxConfirm opts.phrase) — shown only for
   irreversible actions aimed at one named record. */
.nxc-phrase { padding: 0 22px 4px; }
.nxc-phrase-label {
    display: block;
    font-size: 12.5px;
    color: var(--nx-muted, #6b7280);
    margin-bottom: 6px;
}
.nxc-phrase-input { width: 100%; }
.nxc-ok[disabled] { opacity: .45; cursor: not-allowed; }

.nxc-actions {
  display: flex; gap: 10px; justify-content: flex-end;
  padding: 14px 24px; background: #FAFAFB; border-top: 1px solid var(--nx-border);
}
.nxc-btn {
  min-height: 42px; padding: 9px 18px; border-radius: 9px;
  font-size: 14px; font-weight: 500; cursor: pointer; border: 0;
  transition: background .15s ease, border-color .15s ease, transform .12s ease;
}
.nxc-btn:active { transform: scale(.98); }
.nxc-cancel { background: var(--nx-bg); color: var(--nx-text); border: 1px solid var(--nx-border); }
.nxc-cancel:hover { border-color: var(--nx-text-muted); }
.nxc-ok { color: #fff; background: var(--nx-danger, #D92D20); }
.nxc-ok:hover { filter: brightness(.9); }
.nxc-btn:focus-visible, .nxc-x:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 2px; }
@keyframes nxc-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes nxc-pop { from { transform: scale(0.96) translateY(6px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }

/* Centered single-card auth (admin login) */
.authx-solo {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px;
  background:
    radial-gradient(50% 35% at 50% -5%, rgba(25,108,223, 0.07), transparent 70%),
    linear-gradient(180deg, #FAFAFB 0%, #F3F2F4 100%);
}
.authx-card {
  width: min(440px, 100%); background: #fff; border-radius: 18px;
  border: 1px solid var(--nx-border); box-shadow: 0 24px 60px rgb(17 24 39 / .08);
  padding: clamp(28px, 5vw, 44px);
}
.authx-card-logo { display: block; text-align: center; margin-bottom: 22px; }
.authx-card-logo img { height: 30px; width: auto; }
.authx-card h1 { font-size: 21px; font-weight: 500; color: var(--nx-ink); text-align: center; margin-bottom: 4px; }
.authx-card-sub { text-align: center; color: var(--nx-text-muted); font-size: 14.5px; margin-bottom: 26px; }
.authx-card-note {
  margin: 20px 0 0; text-align: center; font-size: 12.5px; color: var(--nx-text-muted);
  line-height: 1.6; display: flex; gap: 6px; align-items: flex-start; justify-content: center;
}
.authx-card-note svg { flex: none; margin-top: 2px; }

/* Password show/hide toggle */
.pw-wrap { position: relative; }
.pw-wrap .input { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 36px; height: 36px;
  background: none; border: 0; border-radius: 8px; cursor: pointer;
  color: var(--nx-text-muted);
}
.pw-toggle:hover { color: var(--nx-ink); background: var(--nx-bg-soft); }
.pw-toggle.active { color: var(--nx-primary); }

/* Ink (near-black) button — admin primary action */
.btn.btn-ink { background: var(--nx-ink); color: #fff; border-color: transparent; }
.btn.btn-ink:hover { background: #26262B; color: #fff; }

/* OTP code input */
.otp-input { font-size: 24px; letter-spacing: 10px; text-align: center; font-weight: 500; }

/* Blocking profile-completion modal (client area) */
.pc-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(10, 10, 14, 0.55); backdrop-filter: blur(3px);
  display: grid; place-items: center; padding: 20px; overflow-y: auto;
}
.pc-modal {
  background: var(--nx-bg); border-radius: 14px; padding: 28px;
  width: min(640px, 100%); max-height: calc(100dvh - 40px); overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
}
.pc-modal h2 { font-size: 22px; font-weight: 500; color: var(--nx-ink); margin-bottom: 6px; }
.pc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pc-close {
  flex: none; display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 8px; color: var(--nx-text-muted); border: 1px solid var(--nx-border);
  background: var(--nx-bg); cursor: pointer;
}
.pc-close:hover { color: var(--nx-ink); background: var(--nx-bg-soft); }

/* Read-only signup details shown inside the modal */
.pc-data {
  background: var(--nx-bg-soft); border: 1px solid var(--nx-border);
  border-radius: 10px; padding: 6px 16px; margin-bottom: 18px;
}
.pc-data-row {
  display: flex; align-items: center; gap: 14px; padding: 9px 0;
  border-bottom: 1px solid var(--nx-border); font-size: 14px;
}
.pc-data-row:last-child { border-bottom: none; }
.pc-data-label { flex: 0 0 76px; color: var(--nx-text-muted); font-weight: 500; }
.pc-data-value { color: var(--nx-ink); font-weight: 500; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc-data-flag { border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,0.08); }

/* ----------------------------------- admin: WHMCS-style product management */
.nx-tabs { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: -1px; position: relative; z-index: 1; }
.nx-tab {
  padding: 10px 18px; font-size: 14px; font-weight: 500; cursor: pointer;
  color: var(--nx-text-soft); background: var(--nx-bg-soft);
  border: 1px solid var(--nx-border); border-bottom: none;
  border-radius: 8px 8px 0 0;
}
.nx-tab:hover { color: var(--nx-ink); }
.nx-tab.active { background: var(--nx-bg); color: var(--nx-primary); border-bottom: 1px solid var(--nx-bg); }
.nx-tab:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: -2px; }

.type-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 720px; }
.type-card input { position: absolute; opacity: 0; }
.type-card-body {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 22px 12px; text-align: center; font-weight: 500; font-size: 14px;
  border: 1px solid var(--nx-border); border-radius: 10px; cursor: pointer;
  color: var(--nx-text); background: var(--nx-bg);
  transition: border-color .15s ease, background .15s ease;
}
.type-card-body svg { color: var(--nx-text-muted); }
.type-card:hover .type-card-body { border-color: var(--nx-primary); }
.type-card input:checked + .type-card-body {
  border-color: var(--nx-primary); background: var(--nx-primary-soft); color: var(--nx-primary-hover);
}
.type-card input:checked + .type-card-body svg { color: var(--nx-primary); }
.type-card input:focus-visible + .type-card-body { outline: 2px solid var(--nx-primary); outline-offset: 2px; }

.nx-table tr.group-row td {
  background: var(--nx-bg-soft); font-size: 14px; color: var(--nx-ink);
  border-top: 2px solid var(--nx-border);
}
.check-rows { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 6px; }
.radio-list { display: flex; flex-direction: column; gap: 10px; }
.radio-row { display: flex; gap: 22px; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Checkout: per-TLD registry requirement fields */
.tldx-group { border: 1px solid var(--nx-border); border-radius: 12px; padding: 16px 18px 6px; margin-bottom: 14px; }
.tldx-group legend { font-size: 13.5px; color: var(--nx-text-soft); padding: 0 8px; }
.tldx-group legend b { color: var(--nx-ink); }
.tldx-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 0 16px; }
.tldx-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; color: var(--nx-text-soft); margin: 4px 0 14px; grid-column: 1 / -1; }
.tldx-check input { margin-top: 3px; accent-color: var(--nx-primary); width: 16px; height: 16px; flex: none; }
.tldx-note { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--nx-text-soft); background: var(--nx-bg-soft); border-radius: 10px; padding: 10px 14px; margin: 0 0 8px; line-height: 1.55; }
.tldx-note svg { flex: none; margin-top: 2px; color: var(--nx-primary); }

/* -------------------------------------- invoice verification (QR landing) */
.ivx-page {
  min-height: 100dvh; display: grid; place-items: center; padding: 24px 16px;
  background:
    radial-gradient(60% 40% at 50% -10%, rgba(22, 163, 74, 0.08), transparent 70%),
    linear-gradient(180deg, #FAFAFB 0%, #F1F3F2 100%);
}
.ivx-card {
  width: min(480px, 100%); background: #fff; border-radius: 20px;
  border: 1px solid var(--nx-border); box-shadow: 0 24px 60px rgb(17 24 39 / .10);
  padding: clamp(26px, 5vw, 40px); text-align: center;
}
.ivx-brand { margin-bottom: 24px; }
.ivx-brand img { height: 30px; width: auto; }
.ivx-seal {
  display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 16px;
  border-radius: 50%; color: #16A34A;
  background: #E8F7EE; border: 6px solid #F3FBF6;
  animation: ivx-pop .4s cubic-bezier(.2, .9, .35, 1.3);
}
.ivx-seal-bad { color: var(--nx-danger); background: var(--nx-danger-soft); border-color: #FDF4F4; }
@keyframes ivx-pop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.ivx-title { font-size: 23px; font-weight: 500; color: var(--nx-ink); margin: 0 0 8px; }
.ivx-sub { font-size: 14.5px; color: var(--nx-text-soft); line-height: 1.65; margin: 0 0 24px; }
.ivx-sub b { color: var(--nx-ink); }

.ivx-details {
  text-align: left; border: 1px solid var(--nx-border); border-radius: 14px;
  overflow: hidden; margin-bottom: 18px;
}
.ivx-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  padding: 12px 16px; font-size: 14px;
}
.ivx-row + .ivx-row { border-top: 1px solid var(--nx-border); }
.ivx-row span { color: var(--nx-text-muted); flex: none; }
.ivx-row b { color: var(--nx-ink); font-weight: 500; text-align: right; }
.ivx-badge {
  display: inline-block; padding: 4px 12px; border-radius: 999px;
  font-size: 11.5px; font-weight: 500; letter-spacing: .05em;
}
.ivx-badge-paid { background: #E8F7EE; color: #15803D; }
.ivx-badge-unpaid { background: #FEF3E2; color: #B45309; }
.ivx-badge-info { background: #E8F0FE; color: #1D4ED8; }
.ivx-badge-muted { background: var(--nx-bg-soft); color: var(--nx-text-muted); }

.ivx-items {
  text-align: left; background: var(--nx-bg-soft); border-radius: 14px;
  padding: 14px 16px; margin-bottom: 20px;
}
.ivx-items-label {
  display: block; font-size: 11px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; color: var(--nx-text-muted); margin-bottom: 10px;
}
.ivx-item {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 12px;
  font-size: 13.5px; color: var(--nx-text); padding: 6px 0;
}
.ivx-item span { display: inline-flex; align-items: flex-start; gap: 8px; text-align: left; }
.ivx-item span svg { flex: none; margin-top: 2px; color: #16A34A; }
.ivx-item b { white-space: nowrap; color: var(--nx-ink); }
.ivx-item-total {
  border-top: 1px solid var(--nx-border); margin-top: 6px; padding-top: 12px;
  font-weight: 500; color: var(--nx-ink);
}
.ivx-item-total b { color: var(--nx-primary); font-size: 15px; }

.ivx-trust {
  display: flex; align-items: center; gap: 12px; text-align: left;
  border: 1px dashed #86C79E; background: #F4FBF7; border-radius: 14px;
  padding: 12px 16px; margin-bottom: 22px;
}
.ivx-trust-mark {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 50%; background: #16A34A; color: #fff;
}
.ivx-trust-text { font-size: 12.5px; color: var(--nx-text-soft); line-height: 1.55; }
.ivx-trust-text b { display: block; font-size: 13.5px; color: #15803D; }

.ivx-foot { font-size: 12.5px; color: var(--nx-text-muted); margin: 0; }
.ivx-foot a { color: var(--nx-primary); font-weight: 500; }
@media (prefers-reduced-motion: reduce) { .ivx-seal { animation: none; } }

/* Mobile signup: country & phone controls */
@media (max-width: 640px) {
  /* One field per row — no squeezed side-by-side selects on phones */
  .form-grid { grid-template-columns: 1fr; }
  /* 16px stops iOS Safari from zooming into focused fields */
  .input, select.input, textarea.input { font-size: 16px; }
  .phone-group { gap: 10px; }
  .phone-group .phone-cc-wrap { flex: 0 0 106px; }
  .flag-select .input { padding-left: 42px; }
}
@media (max-width: 360px) {
  .phone-group { flex-wrap: wrap; }
  .phone-group .phone-cc-wrap { flex: 1 1 100%; }
}

/* Text boxes indicate focus via their border color — no glow ring */
input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: none; box-shadow: none;
}
.input:focus, .input:focus-visible { border-color: var(--nx-ink); }
.input[aria-invalid="true"]:focus, .input[aria-invalid="true"]:focus-visible { border-color: var(--nx-danger); }

/* ---- nxsearch: domain search / WHOIS lookup preloader — three minimal
       bouncing dots (brand gradient) over a soft white veil. */
.nxsearch-load {
  position: fixed; inset: 0; z-index: 1000000; display: none; /* above .header-wrapper (999999) */
  align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .85); backdrop-filter: blur(2px);
}
.nxsearch-load.on { display: flex; }
.nxsearch-dots { display: flex; gap: 12px; }
.nxsearch-dots span {
  width: 13px; height: 13px; border-radius: 50%;
  animation: nxsearch-bounce 1s ease-in-out infinite;
}
.nxsearch-dots span:nth-child(1) { background: #FF9800; animation-delay: 0s; }
.nxsearch-dots span:nth-child(2) { background: #6FB0F8; animation-delay: .15s; }
.nxsearch-dots span:nth-child(3) { background: #2F8BF2; animation-delay: .3s; }
@keyframes nxsearch-bounce {
  0%, 55%, 100% { transform: translateY(0); }
  25%           { transform: translateY(-9px); }
}
@media (prefers-reduced-motion: reduce) {
  .nxsearch-dots span { animation: none; }
}

/* ---- sgx: Smart Suggestions — full-width rows (name + status pill left,
       first-year price with compare strikethrough and CTA right). */
.sgx-list { display: grid; padding: 0; overflow: hidden; margin-bottom: 40px; }
.sgx-row {
  display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap;
  padding: 16px 20px; border-bottom: 1px solid var(--nx-border); background: #fff;
}
.sgx-row:last-child { border-bottom: 0; }
.sgx-main { flex: 1 1 280px; min-width: 0; display: grid; gap: 7px; justify-items: start; }
.sgx-name { font-size: 20px; font-weight: 500; color: var(--nx-ink); overflow-wrap: anywhere; line-height: 1.25; }
.sgx-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.sgx-price { text-align: right; display: grid; justify-items: end; margin-left: auto; }
.sgx-amount { display: inline-flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sgx-amount s { color: var(--nx-text-muted); font-size: 13.5px; font-weight: 500; }
.sgx-amount b { font-size: 19px; font-weight: 500; color: var(--nx-ink); font-variant-numeric: tabular-nums; }
.sgx-price small { color: var(--nx-text-muted); font-size: 12px; }
.sgx-cta { margin: 0; }
@media (max-width: 560px) {
  .sgx-price { margin-left: 0; text-align: left; justify-items: start; }
  .sgx-cta { width: 100%; }
  .sgx-cta .btn { width: 100%; }
}

/* Cart: promo offer cards (gift bundles from Domain Pricing promos) —
   classic offer strip: gradient gift tile, eyebrow, title, supporting line. */
.cartx-offer {
  display: flex; align-items: center; gap: 15px;
  margin-top: 14px; padding: 15px 18px;
  background: linear-gradient(135deg, #F8FBFF 0%, #EFF5FD 100%);
  border: 1px solid #C9DCF6; border-radius: 12px;
}
.cartx-offer-ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--nx-grad-a), var(--nx-grad-b));
  color: #fff; box-shadow: 0 6px 16px rgb(25 108 223 / .22);
}
.cartx-offer-body { flex: 1; min-width: 0; display: grid; gap: 2px; }
.cartx-offer-tag {
  font-size: 10.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--nx-primary);
}
.cartx-offer-body b { color: var(--nx-ink); font-size: 15px; line-height: 1.35; }
.cartx-offer-body small { color: var(--nx-text-muted); font-size: 12.5px; line-height: 1.5; }
.cartx-offer form { margin: 0; flex: none; }
.cartx-offer .badge { flex: none; }
.cartx-offer.added {
  background: linear-gradient(135deg, #FAFFFB 0%, #F0FBF4 100%);
  border-color: #CDEBD8;
}
.cartx-offer.added .cartx-offer-ico {
  background: linear-gradient(135deg, #22B457, #16A34A);
  box-shadow: 0 6px 16px rgb(22 163 74 / .22);
}
.cartx-offer.added .cartx-offer-tag { color: #12813B; }
@media (max-width: 560px) {
  .cartx-offer { flex-wrap: wrap; }
  .cartx-offer form, .cartx-offer form .btn { width: 100%; }
}

/* --------- Order summary: line-by-line groups, tree mode, coupon, tips */
.sum-group { padding: 6px 0 10px; }
.sum-group + .sum-group { border-top: 1px dashed var(--nx-border); }
.sum-group.tree {
  border-left: 2px solid #E7E7EA; padding-left: 14px;
  border-top: 0; margin-top: 6px;
}
.sum-head {
  display: flex; justify-content: space-between; gap: 12px; align-items: baseline;
  font-weight: 500; color: var(--nx-ink); font-size: 14.5px; padding: 6px 0 2px;
}
.sum-head .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row {
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
  font-size: 13.5px; padding: 3px 0; color: #52525B;
}
.sum-row .lbl { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sum-row .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-row .free, .sum-row.free, .free { color: var(--nx-success); font-weight: 500; }
.sum-row.sum-meta { border-top: 1px solid var(--nx-border); margin-top: 10px; padding-top: 10px; font-size: 14px; }
.sum-row.sum-meta ~ .sum-row.sum-meta { border-top: 0; margin-top: 0; padding-top: 3px; }

/* Neutral help tooltip — shares .promo-tip positioning, quieter look */
.q-tip-btn.q-tip-btn {
  width: 18px; height: 18px; background: none; box-shadow: none;
  color: var(--nx-text-muted); padding: 0;
}
.q-tip-btn.q-tip-btn:hover, .q-tip-btn.q-tip-btn:focus-visible {
  color: var(--nx-ink); transform: none; box-shadow: none; background: none;
}
.q-tip .q-tip-bubble {
  background: #1F2937; box-shadow: 0 10px 28px rgb(17 24 39 / .3);
  font-weight: 400; max-width: min(250px, 84vw);
}
.q-tip .q-tip-bubble::before { border-bottom-color: #1F2937; }

/* Coupon entry */
.coupon-link {
  display: block; margin-top: 14px; padding: 0; border: 0; background: none;
  color: var(--nx-primary); font-weight: 500; font-size: 14.5px; cursor: pointer;
  font-family: inherit;
}
.coupon-link:hover { color: var(--nx-primary-hover); text-decoration: none; }
.coupon-form { display: flex; gap: 8px; margin-top: 10px; }
.coupon-form[hidden] { display: none; }
.coupon-form .input { flex: 1; min-width: 0; text-transform: uppercase; min-height: 44px; }
.coupon-form .input::placeholder { text-transform: none; }
.coupon-remove { display: inline-flex; margin: 0; }
.coupon-remove button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; border: 0; border-radius: 50%; cursor: pointer;
  background: var(--nx-success-soft); color: #116232; padding: 0;
}
.coupon-remove button:hover { background: #D2F0DD; }

/* Password strength meter + confirm matching (auto-injected by app.js) */
.pwm { margin-top: 8px; }
.pwm-bar {
  height: 6px; border-radius: 999px; background: #EDEDEF; overflow: hidden;
}
.pwm-fill { display: block; height: 100%; width: 0; border-radius: 999px; transition: width .25s ease, background .25s ease; }
.pwm-label { display: block; margin-top: 6px; font-size: 12.5px; color: var(--nx-text-soft); }
.pwm-match { display: block; margin-top: 6px; font-size: 12.5px; font-weight: 500; }
.input.pwm-ok { border-color: #16A34A; }
.input.pwm-bad { border-color: #DC2626; }

/* -- bundled offer product nested inside its domain's cart card -- */
.cartx-bundled {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid var(--nx-border);
  border-left: 3px solid var(--nx-success, #16A34A);
  border-radius: 12px;
  background: var(--nx-bg-soft, #FAFAFB);
}
.cartx-bundled .cartx-head { margin-bottom: 10px; }
.cartx-bundled .cartx-head h4 { margin: 0; font-size: 15px; flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cartx-bundled .cartx-head .icon { width: 34px; height: 34px; }
.cartx-bundled .cartx-row { margin-bottom: 0; }

/* -- domain search results banner: white, homepage-style search box -- */
/* soft blush wash: brand-tinted at the top corners, settling to white */
.search-hero-white {
  background:
    radial-gradient(900px 320px at 12% -40%, rgb(25 108 223 / .07), transparent 60%),
    radial-gradient(1100px 380px at 95% -60%, rgb(0 142 211 / .07), transparent 65%),
    linear-gradient(180deg, #F5F9FE 0%, #FFFFFF 78%);
}
/* search box corners match the result cards (--nx-radius) */
.searchdomain-results .search-domain-name input {
  border-radius: var(--nx-radius);
}
.searchdomain-results h1 { margin-bottom: 4px; }

/* -- nxm modal base for shop pages (ported from the portal styles) -- */
.nxm-overlay {
  position: fixed; inset: 0; z-index: 1300;
  display: grid; place-items: center; padding: 18px;
  background: rgba(10, 10, 14, 0.55); backdrop-filter: blur(3px);
  animation: nxc-fade .18s ease-out;
}
.nxm-overlay[hidden] { display: none; }
.nxm-overlay.leaving { animation: nxc-fade .12s ease-in reverse forwards; }
body.nxm-lock { overflow: hidden; }
.nxm {
  position: relative; width: min(900px, 100%);
  max-height: calc(100dvh - 36px); overflow-y: auto;
  background: #fff; border-radius: 18px;
  padding: clamp(22px, 4vw, 36px);
  box-shadow: 0 24px 70px rgb(0 0 0 / .35);
  animation: nxc-pop .2s cubic-bezier(.2, .9, .3, 1.2);
}
.nxm-overlay.leaving .nxm { animation: none; }
.nxm-sm { width: min(640px, 100%); }
.nxm-close {
  position: absolute; top: 18px; right: 18px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
  display: grid; place-items: center;
  background: var(--nx-bg-soft); color: var(--nx-text-soft);
  transition: background .15s ease, color .15s ease;
}
.nxm-close:hover { background: #E6E5E7; color: var(--nx-ink); }
.nxm-close:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 2px; }
.nxm-head h2 { font-size: 22px; font-weight: 500; color: var(--nx-ink); margin: 0 0 6px; padding-right: 52px; }
.nxm-sub { font-size: 14.5px; color: var(--nx-text-soft); line-height: 1.6; margin: 0 0 20px; padding-right: 52px; }

/* -- plan-picker accordion (cart Buy Products modal) -- */
.plx-sec { border: 1px solid var(--nx-border); border-radius: 10px; margin-bottom: 10px; overflow: hidden; background: #fff; }
.plx-head {
  display: flex; align-items: center; gap: 10px; width: 100%;
  padding: 14px 16px; background: none; border: 0; cursor: pointer; text-align: left;
  font: 500 15px/1.4 var(--nx-font); color: var(--nx-ink);
}
.plx-head:hover { background: var(--nx-bg-soft); }
.plx-count { margin-left: auto; color: var(--nx-text-muted); font-weight: 500; font-size: 13px; }
.plx-head .chev { display: grid; place-items: center; color: var(--nx-text-muted); transition: transform .2s ease; }
.plx-sec.open .chev { transform: rotate(180deg); }
.plx-body { display: none; border-top: 1px solid var(--nx-border); }
.plx-sec.open .plx-body { display: block; }
.plx-plan {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 13px 16px; border-bottom: 1px dashed var(--nx-border);
}
.plx-plan:last-child { border-bottom: 0; }
.plx-info { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: 2px; }
.plx-info b { color: var(--nx-ink); font-size: 14.5px; }
.plx-info small { color: var(--nx-text-soft); font-size: 12.5px; }
.plx-plan form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 0; }
.plx-plan select.input { min-height: 40px; width: auto; max-width: 230px; font-size: 13.5px; }
@media (max-width: 560px) {
  .plx-plan form { width: 100%; }
  .plx-plan select.input { flex: 1; max-width: none; }
}

/* -- plan-picker v2: category-scoped modal, plan-per-accordion-tab -- */
.plx-cat-ico {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 12px;
  background: var(--nx-primary-soft, #EAF1FC); color: var(--nx-primary);
}
.plx-head { font-size: 15.5px; }
.plx-head .badge { flex: none; }
.plx-sec.open { border-color: var(--nx-primary); box-shadow: 0 4px 18px rgb(25 108 223 / .08); }
.plx-detail { padding: 16px; }
.plx-tagline { margin: 0 0 10px; font-size: 13.5px; color: var(--nx-text-soft); }
.plx-feats { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 6px; }
.plx-feats li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--nx-text); }
.plx-feats li svg { color: var(--nx-success); flex: none; }
.plx-buy { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.plx-term { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--nx-text-soft); flex: 1; min-width: 180px; }
.plx-term select.input { min-height: 44px; width: 100%; max-width: none; }
.plx-buy .btn { min-height: 44px; }

/* -- selbar: horizontal multi-select cart bar on domain search results -- */
.selbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1200;
  background: #fff; border-top: 1px solid var(--nx-border);
  box-shadow: 0 -10px 34px rgb(15 15 20 / .12);
  animation: selbar-up .25s cubic-bezier(.2, .9, .3, 1.1);
}
@keyframes selbar-up { from { transform: translateY(100%); } to { transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { .selbar { animation: none; } }
.selbar[hidden] { display: none; }
body.has-selbar { padding-bottom: 92px; }
.selbar-in { display: flex; align-items: center; gap: 16px; padding-top: 14px; padding-bottom: 14px; flex-wrap: wrap; }
.selbar-count { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--nx-text); white-space: nowrap; }
.selbar-count b {
  display: inline-grid; place-items: center; min-width: 28px; height: 28px;
  padding: 0 6px; border-radius: 999px; background: var(--nx-primary); color: #fff;
  font-size: 14px;
}
.selbar-chips { display: flex; gap: 6px; flex-wrap: wrap; flex: 1; min-width: 0; }
.selbar-chip {
  padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 500;
  background: var(--nx-bg-soft); color: var(--nx-text-soft);
  border: 1px solid var(--nx-border); word-break: break-all;
}
.selbar-total { font-size: 14px; color: var(--nx-text-soft); white-space: nowrap; }
.selbar-total b { color: var(--nx-ink); font-size: 17px; }
.selbar form { margin: 0; }
@media (max-width: 640px) {
  .selbar-chips { display: none; }
  .selbar-in { gap: 10px; }
  body.has-selbar { padding-bottom: 84px; }
}

/* select-toggle buttons: swap label when selected */
[data-sel-domain] .sel-on { display: none; }
[data-sel-domain].selected .sel-off { display: none; }
[data-sel-domain].selected .sel-on { display: inline-flex; align-items: center; gap: 6px; }
[data-sel-domain].selected {
  background: var(--nx-success); border-color: var(--nx-success); color: #fff;
}

/* -- per-TLD "popular for" note on All extensions rows -- */
.result-row .tld-note { font-size: 12px; }
@media (max-width: 700px) { .result-row .tld-note { display: none; } }

/* ---- Glass toast notifications (top right) ----------------------------- */
.nx-toasts {
  position: fixed; top: 74px; right: 18px; z-index: 9500;
  display: flex; flex-direction: column; gap: 10px;
  width: min(380px, calc(100vw - 32px)); pointer-events: none;
}
.nx-toasts .flash {
  pointer-events: auto; position: relative; overflow: hidden;
  display: flex; align-items: flex-start; gap: 10px;
  margin: 0; padding: 13px 40px 13px 14px; border-radius: 14px;
  font-size: 13.5px; line-height: 1.5; color: #1c1f26;
  background: rgba(255, 255, 255, .82);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  border: 1px solid rgb(17 19 24 / .10);
  box-shadow: 0 12px 32px rgb(17 19 24 / .18), 0 2px 6px rgb(17 19 24 / .10),
              inset 0 1px 0 rgba(255, 255, 255, .85);
  animation: nxToastIn .34s cubic-bezier(.21, 1.02, .55, 1) both;
}
@supports not (backdrop-filter: blur(1px)) {
  .nx-toasts .flash { background: rgba(255, 255, 255, .96); }
}
.nx-toasts .flash svg { flex: 0 0 auto; margin-top: 1px; }
.nx-toasts .flash-error   { box-shadow: 0 8px 24px rgb(220 38 38 / .18), inset 0 1px 0 rgba(255,255,255,.8); }
.nx-toasts .flash-error   svg { color: #DC2626; }
.nx-toasts .flash-success svg { color: #16A34A; }
.nx-toasts .flash-info    svg { color: #2563EB; }
/* colored glass tint per type */
.nx-toasts .flash-error   { background: linear-gradient(0deg, rgb(220 38 38 / .07), rgb(220 38 38 / .07)), rgba(255,255,255,.82); }
.nx-toasts .flash-success { background: linear-gradient(0deg, rgb(22 163 74 / .07), rgb(22 163 74 / .07)), rgba(255,255,255,.82); }
.nx-toasts .flash-info    { background: linear-gradient(0deg, rgb(37 99 235 / .06), rgb(37 99 235 / .06)), rgba(255,255,255,.82); }
/* close button (injected by JS) */
.nx-toast-close {
  position: absolute; top: 8px; right: 8px; width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 8px; background: transparent; cursor: pointer;
  color: #6B7280; font-size: 15px; line-height: 1; padding: 0;
}
.nx-toast-close:hover { background: rgb(17 19 24 / .07); color: #1c1f26; }
/* auto-dismiss progress hairline */
.nx-toasts .flash[data-autodismiss]::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 100%;
  background: currentColor; opacity: .22; transform-origin: left;
  animation: nxToastLife linear forwards;
  animation-duration: var(--toast-life, 5500ms);
}
.nx-toasts .flash.leaving {
  animation: nxToastOut .28s ease forwards;
}
@keyframes nxToastIn {
  from { opacity: 0; transform: translateX(24px) scale(.97); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes nxToastOut {
  to { opacity: 0; transform: translateX(30px) scale(.96); }
}
@keyframes nxToastLife { from { transform: scaleX(1); } to { transform: scaleX(0); } }
@media (prefers-reduced-motion: reduce) {
  .nx-toasts .flash, .nx-toasts .flash.leaving { animation: none; }
}
@media (max-width: 640px) {
  .nx-toasts { top: 64px; right: 10px; }
}

/* ---- Cookie consent (ckx-) — GDPR / DPDP banner + preference modal (all layouts) ---- */
.ckx-banner {
  position: fixed; left: 18px; bottom: 18px; z-index: 9400; width: min(420px, calc(100vw - 36px));
  background: rgba(255, 255, 255, .92); backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid rgb(17 19 24 / .10); border-radius: 16px; padding: 18px 20px;
  box-shadow: 0 18px 50px rgb(17 19 24 / .18); animation: ckxIn .3s ease;
}
@keyframes ckxIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.ckx-banner-head { display: flex; align-items: center; gap: 9px; margin-bottom: 8px; }
.ckx-banner-head svg { color: #196CDF; flex: none; }
.ckx-banner-head b { font-size: 14.5px; color: #111318; }
.ckx-banner p { margin: 0 0 14px; font-size: 12.8px; line-height: 1.6; color: #4B5563; }
.ckx-banner p a { color: #196CDF; font-weight: 500; }
.ckx-banner-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ckx-btn {
  cursor: pointer; font: inherit; font-size: 13px; font-weight: 500; border-radius: 9px;
  padding: 9px 14px; transition: background .14s ease, color .14s ease, border-color .14s ease;
}
.ckx-btn-solid { border: 1px solid #196CDF; background: #196CDF; color: #fff; flex: 1; }
.ckx-btn-solid:hover { background: #1257BF; border-color: #1257BF; }
.ckx-btn-line { border: 1px solid #D6D9E0; background: #fff; color: #111318; flex: 1; }
.ckx-btn-line:hover { border-color: #111318; }
.ckx-btn-ghost { border: 1px solid transparent; background: transparent; color: #6B7280; }
.ckx-btn-ghost:hover { color: #196CDF; }
.ckx-overlay {
  position: fixed; inset: 0; z-index: 9450; background: rgb(17 19 24 / .45);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center; padding: 18px;
}
.ckx-overlay[hidden] { display: none; }
body.ckx-lock { overflow: hidden; }

/* ---- Consent gate: the site is inert until the visitor decides ----
   A scrim below the banner (9400) and below the preferences modal (9450), so
   both stay usable while everything behind them is unreachable. Applied by
   JS only — see consent.js — never by default markup: a stylesheet that
   blocked the page before scripts ran would lock out anyone whose JS is off
   or slow, and with no JS there is nothing but strictly-necessary cookies to
   consent to in the first place. */
/* The scrim has to outrank EVERY fixed layer on the page, not just the
   ordinary content. The site header carries z-index 999999, so a scrim at the
   banner's own level left the logo, the nav and the mobile menu button fully
   clickable — the gate looked closed and the visitor could walk straight round
   it. These three are deliberately near the top of the range and ordered
   scrim < banner < preferences. */
.ckx-gate {
  position: fixed; inset: 0; z-index: 2147483000; background: rgb(17 19 24 / .55);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  animation: ckxGateIn .25s ease;
}
body.ckx-gated .ckx-banner  { z-index: 2147483001; }
body.ckx-gated .ckx-overlay { z-index: 2147483002; }
/* The dialog takes focus so the keyboard starts inside it; it is a container,
   not a control, so it should not draw a focus ring of its own. */
body.ckx-gated .ckx-banner:focus { outline: none; }
@keyframes ckxGateIn { from { opacity: 0; } to { opacity: 1; } }
.ckx-gate[hidden] { display: none; }
body.ckx-gated { overflow: hidden; }
/* The banner is the only way out, so it must read as the active dialog
   rather than as a dismissible notice sitting in the corner. */
body.ckx-gated .ckx-banner {
  left: 50%; bottom: auto; top: 50%; transform: translate(-50%, -50%);
  width: min(460px, calc(100vw - 32px));
  background: #fff; box-shadow: 0 30px 80px rgb(17 19 24 / .34);
}
/* The corner "manage" button would be a second, competing control. */
body.ckx-gated .ckx-fab { display: none; }
/* Only a blocking banner explains itself; the corner notice does not need to. */
.ckx-required { display: none; }
body.ckx-gated .ckx-required {
  display: block; margin: -6px 0 14px; padding: 9px 11px;
  background: rgb(25 108 223 / .07); border-left: 3px solid #196CDF; border-radius: 0 8px 8px 0;
  font-size: 12.4px; line-height: 1.55; color: #4B5563;
}
body.ckx-gated .ckx-required b { color: #111318; }
@media (max-width: 640px) {
  body.ckx-gated .ckx-banner { width: calc(100vw - 24px); }
}
/* Clicking the scrim draws the eye back to the banner rather than doing
   nothing, which reads as a frozen page. */
body.ckx-gated .ckx-banner.ckx-nudge { animation: ckxNudge .3s ease; }
@keyframes ckxNudge {
  0%, 100% { transform: translate(-50%, -50%); }
  25%      { transform: translate(calc(-50% - 6px), -50%); }
  75%      { transform: translate(calc(-50% + 6px), -50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ckx-gate,
  body.ckx-gated .ckx-banner,
  body.ckx-gated .ckx-banner.ckx-nudge { animation: none; }
}
.ckx-modal {
  width: min(560px, 100%); max-height: min(86vh, 700px); overflow: auto;
  background: #fff; border-radius: 18px; padding: 22px 24px;
  box-shadow: 0 30px 80px rgb(17 19 24 / .3); animation: ckxIn .25s ease;
}
.ckx-modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ckx-modal-head h3 { margin: 0; font-size: 18px; color: #111318; }
.ckx-x {
  border: 0; background: #F3F4F6; color: #4B5563; width: 30px; height: 30px; border-radius: 50%;
  font-size: 18px; line-height: 1; cursor: pointer;
}
.ckx-x:hover { background: #EAF1FC; color: #196CDF; }
.ckx-modal-sub { margin: 10px 0 16px; font-size: 12.8px; line-height: 1.65; color: #6B7280; }
.ckx-cat {
  display: flex; align-items: flex-start; gap: 14px; padding: 13px 0;
  border-top: 1px solid #F0F1F4;
}
.ckx-cat-text { flex: 1; min-width: 0; }
.ckx-cat-text b { display: block; font-size: 13.5px; color: #111318; margin-bottom: 3px; }
.ckx-cat-text span { font-size: 12.5px; line-height: 1.55; color: #6B7280; }
.ckx-always {
  flex: none; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: #16A34A; background: #EAF7EF; border-radius: 999px; padding: 4px 10px; margin-top: 2px;
}
.ckx-optin {
  flex: none; font-size: 11px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase;
  color: #B45309; background: #FEF3E2; border-radius: 999px; padding: 4px 10px;
}
.ckx-toggle { position: relative; flex: none; margin-top: 2px; cursor: pointer; }
.ckx-toggle input { position: absolute; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.ckx-toggle span {
  display: block; width: 42px; height: 24px; border-radius: 999px; background: #E5E7EB;
  transition: background .18s ease;
}
.ckx-toggle span::after {
  content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgb(17 19 24 / .25); transition: transform .18s ease;
}
.ckx-toggle input:checked + span { background: linear-gradient(135deg, #217BFE, #196CDF); }
.ckx-toggle input:checked + span::after { transform: translateX(18px); }
.ckx-toggle input:focus-visible + span { outline: 2px solid #196CDF; outline-offset: 2px; }
.ckx-modal-foot {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  margin-top: 16px; padding-top: 16px; border-top: 1px solid #F0F1F4;
}
.ckx-policy-link { font-size: 13px; font-weight: 500; color: #6B7280; }
.ckx-policy-link:hover { color: #196CDF; }
.ckx-modal-actions { display: flex; gap: 8px; }
.ckx-footlink {
  border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer;
}
.ckx-footlink:hover { text-decoration: none; }
@media (max-width: 560px) {
  .ckx-banner { left: 12px; right: 12px; bottom: 12px; width: auto; }
  .ckx-modal { padding: 18px; }
  .ckx-modal-actions { width: 100%; }
  .ckx-modal-actions .ckx-btn { flex: 1; }
}

/* Floating cookie-preferences button (bottom-left, all layouts) */
.ckx-fab {
  position: fixed; left: 18px; bottom: 18px; z-index: 9390;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .92); color: #196CDF;
  border: 1px solid rgb(17 19 24 / .12);
  backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 8px 26px rgb(17 19 24 / .16);
  transition: transform .15s ease, box-shadow .15s ease;
}
.ckx-fab:hover { transform: scale(1.08); box-shadow: 0 12px 32px rgb(25 108 223 / .22); }
.ckx-fab:focus-visible { outline: 2px solid #196CDF; outline-offset: 2px; }
@media (max-width: 560px) {
  .ckx-fab { left: 12px; bottom: 12px; width: 40px; height: 40px; }
}

/* Domain-attach row in the cart: controls align on one centred line
   (the base .cartx-perk top-aligns, which suits text perks only). */
.cartx-perk.cartx-attach { align-items: center; flex-wrap: wrap; }
.cartx-perk.cartx-attach svg { margin-top: 0; }
.cartx-perk.cartx-attach .btn { min-height: 40px; }

/* Phone: the attach row wraps to two lines, so centring the globe against the
   whole form strands it beside the middle one. Top-align it with the label and
   keep the field and Apply on one line. Must sit after the rules above — same
   specificity, so source order decides. */
@media (max-width: 560px) {
  .cartx-perk.cartx-attach { align-items: flex-start; }
  .cartx-perk.cartx-attach svg { margin-top: 3px; }
  .cartx-attach-form label { flex: 1 0 100%; }
  /* basis well under the row width, or the field alone fills it and pushes
     Apply onto a third line */
  .cartx-attach-form .input { flex: 1 1 120px; max-width: none; min-height: 44px; }
  .cartx-perk.cartx-attach .btn { flex: none; min-height: 44px; }
}

/* Domain search: shimmer skeleton while the below-the-fold fragment streams
   in, and a soft entrance when it lands. Both respect reduced motion. */
.dsx-skel {
  display: inline-block; border-radius: 6px;
  background: linear-gradient(90deg, #EEF0F4 25%, #F7F8FA 45%, #EEF0F4 65%);
  background-size: 300% 100%;
  animation: dsx-shimmer 1.4s ease-in-out infinite;
}
.dsx-skel-row { display: flex; align-items: center; gap: 12px; }
@keyframes dsx-shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: 0 0; }
}
#dsx-rest.dsx-in { animation: dsx-fadein .25s ease-out; }
@keyframes dsx-fadein {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dsx-skel { animation: none; }
  #dsx-rest.dsx-in { animation: none; }
}

/* Injected search rows cascade in one by one (delay set per row by site.js). */
.dsx-row-in { animation: dsx-rowin .32s ease-out both; }
@keyframes dsx-rowin {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .dsx-row-in { animation: none; }
}

/* ---------------- FAQ accordions: minimalist hairline rows (site-wide) */
.faqx { border-top: 1px solid var(--nx-border); }
.faqx .card { border: 0 !important; border-bottom: 1px solid var(--nx-border) !important;
  border-radius: 0 !important; background: transparent !important; margin: 0 !important; box-shadow: none !important; }
.faqx .card-header { padding: 0 !important; background: transparent !important; border: 0 !important; }
.faqx .card-header .btn,
.faqheadings-wrap .accordion.faqx .card .card-header button {
  position: relative; display: block; width: 100%; text-align: left;
  padding: 24px 56px 24px 0; margin: 0; border: 0; background: none;
  font: 400 16px/1.5 var(--nx-font); font-weight: 400; color: var(--nx-ink);
  white-space: normal; /* bootstrap .btn nowrap clips long questions on mobile */
  text-decoration: none; cursor: pointer; }
.faqx .card-header .btn:hover { color: var(--nx-primary); }
.faqx .card-header .btn::after { content: "+"; position: absolute; right: 4px; top: 50%;
  transform: translateY(-50%); font-size: 28px; font-weight: 300; line-height: 1;
  color: var(--nx-text-soft); transition: transform .25s ease, color .2s ease; }
/* Open question: a shade darker than --nx-primary. The brand red is 4.23:1 on
   white, short of the 4.5:1 this 16px text needs — same hue, 5.17:1. Applies to
   every .faqx accordion (home, hosting, domain, promo, .ae). */
.faqx .card-header .btn:not(.collapsed),
.faqheadings-wrap .accordion.faqx .card .card-header button:not(.collapsed) {
  color: #1257BF !important; background: transparent !important; }
.faqx .card-header .btn:not(.collapsed)::after { transform: translateY(-50%) rotate(45deg); color: #1257BF; }
.faqx .card-header .btn:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 2px; }
.faqx .card-body { padding: 0 64px 24px 0 !important; }
.faqx .card-body p { margin: 0; color: var(--nx-text-soft); font-size: 15.5px; line-height: 1.7; }
@media (prefers-reduced-motion: reduce) { .faqx .card-header .btn::after { transition: none; } }

/* -------- Plan boxes on mobile/tablet: infinite center-mode slider.
   Cards are a scroll-snap carousel; the active card is centered with a
   10% slice of the previous/next card visible on each side and a 10px
   gap between cards (card = 100% − 2×(10% + 10px)). site.js clones the
   edge cards (.planx-clone) and teleports across the seam so the loop
   never ends, and centers the featured plan on load.
   Desktop (≥992px) keeps the untouched 4-column grid. */
@media (max-width: 991.98px) {
  .row.webhosting-box, .hosting-packages-con .row.webhosting-box {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    /* Top padding is what stops the "Most popular" ribbon being sliced off.
       A horizontal scroller cannot keep overflow-y visible — the spec forces it
       to auto the moment overflow-x scrolls — so the ribbon's 11px overhang has
       to live INSIDE the scroll box rather than escape it. */
    gap: 10px; padding: 16px 0 8px; scrollbar-width: none; touch-action: pan-x pan-y; }
  .webhosting-box::-webkit-scrollbar { display: none; }
  .row.webhosting-box > [class*="col-"], .hosting-packages-con .row.webhosting-box > [class*="col-"] {
    flex: 0 0 calc(80% - 20px); max-width: calc(80% - 20px);
    scroll-snap-align: center; padding-left: 0; padding-right: 0; }
  .webhosting-box .hosting-tab-item { height: 100%; }

  /* Domain TLD price boxes (home + domain page): same swipe slider. The
     direct-child combinator keeps the featured box's NESTED .row a normal
     grid; the homepage intro text column is lifted above the strip by
     site.js so only cards slide. */
  .boxinbox-wrapper-div .container > .row {
    display: flex; flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    gap: 16px; padding: 4px 24px 8px; scrollbar-width: none; touch-action: pan-x pan-y; }
  .boxinbox-wrapper-div .container > .row::-webkit-scrollbar { display: none; }
  .boxinbox-wrapper-div .container > .row > [class*="col-"] {
    flex: 0 0 78%; max-width: 78%;
    scroll-snap-align: center; padding-left: 0; padding-right: 0; }
  .boxinbox-wrapper-div .domainbox-style-item { height: 100%; }
}
/* ---------------- 30-Day Money Back card (homepage) */
.mbx { position: relative; overflow: hidden; text-align: center; background: #fff;
  border: 1px solid #b7e0c2; border-radius: 24px; padding: 48px 24px 40px;
  margin: 80px 0 40px; box-shadow: 0 14px 40px rgba(30, 142, 62, .08); }
.mbx-dots { position: absolute; top: 34px; width: 92px; height: 66px; pointer-events: none;
  background-image: radial-gradient(#dbe6de 2.4px, transparent 2.6px); background-size: 18px 18px; }
.mbx-dots-l { left: 36px; }
.mbx-dots-r { right: 36px; }
.mbx-seal { width: 250px; height: auto; margin-bottom: 26px; }
.mbx-seal text { font-family: var(--nx-font); }
.mbx-seal-arc { font-size: 20px; font-weight: 500; letter-spacing: 3.5px; fill: #17663a; }
.mbx-seal-star { font-size: 15px; fill: #1e8e3e; }
.mbx-seal-30 { font-size: 54px; font-weight: 500; fill: #14532d; }
.mbx-seal-day { font-size: 20px; font-weight: 500; letter-spacing: 7px; fill: #14532d; }
.mbx-title { margin: 0 0 18px; font-weight: 500; font-size: clamp(30px, 4.5vw, 44px); color: #14532d; }
.mbx-divider { display: flex; align-items: center; justify-content: center; gap: 14px;
  max-width: 460px; margin: 0 auto 22px; color: #1e8e3e; }
.mbx-divider span { flex: 1; height: 1px;
  background: linear-gradient(90deg, transparent, #a9d8b7); }
.mbx-divider span:last-child { background: linear-gradient(90deg, #a9d8b7, transparent); }
.mbx-divider svg { width: 26px; height: 26px; flex: none; }
.mbx-copy { max-width: 640px; margin: 0 auto 30px; font-size: 19px; line-height: 1.7; color: #3d4a43; }
.mbx-copy b { color: #23312a; }
.mbx-copy .mbx-green { color: #1e8e3e; }
.mbx-cta { position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; max-width: 780px; margin: 0 auto; padding: 18px 64px; border-radius: 14px;
  background: linear-gradient(135deg, #45a955, #1e7d36); color: #fff; font-weight: 500; font-size: 21px;
  text-decoration: none; box-shadow: 0 10px 24px rgba(30, 125, 54, .28);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease; }
.mbx-cta:hover { color: #fff; text-decoration: none; filter: brightness(1.05);
  transform: translateY(-1px); box-shadow: 0 14px 30px rgba(30, 125, 54, .34); }
.mbx-cta:focus-visible { outline: 3px solid #1e8e3e; outline-offset: 3px; }
.mbx-cta svg { width: 24px; height: 24px; flex: none; }
.mbx-cta-arrow { position: absolute; right: 26px; top: 50%; transform: translateY(-50%); }
.mbx-trust { display: flex; justify-content: center; align-items: stretch;
  max-width: 780px; margin: 26px auto 0; }
.mbx-trust-item { flex: 1; display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 6px 12px; font-size: 15.5px; font-weight: 500; color: #2c3a33; text-align: left;
  max-width: 240px; }
.mbx-trust-item + .mbx-trust-item { border-left: 1px solid #e2ece5; }
.mbx-trust-item svg { width: 30px; height: 30px; flex: none; color: #1e8e3e; stroke-width: 1.8; }
@media (prefers-reduced-motion: reduce) { .mbx-cta { transition: none; } }
@media (max-width: 767px) {
  .mbx { padding: 36px 18px 30px; margin: 56px 0 24px; }
  .mbx-dots { display: none; }
  .mbx-seal { width: 200px; }
  .mbx-copy { font-size: 16.5px; }
  .mbx-cta { font-size: 18px; padding: 16px 52px; }
  .mbx-cta-arrow { right: 18px; }
  /* trust row stays ONE small line on phones */
  .mbx-trust { margin-top: 20px; }
  .mbx-trust-item { font-size: 11.5px; font-weight: 500; gap: 6px; padding: 2px 6px; }
  .mbx-trust-item svg { width: 17px; height: 17px; }
}

/* ---------------- 30-Day Money Back v3: black + brand-red panel, animated */
.mb2x { position: relative; overflow: hidden; text-align: center; color: #fff;
  background: linear-gradient(135deg, #0b0b0f, #16161c 55%, #1d1216);
  border-radius: 24px; padding: 64px 24px 48px; margin: 80px 0 40px; }
/* ambient red glow that slowly drifts across the panel */
.mb2x::before { content: ""; position: absolute; left: 50%; top: -46%;
  width: 900px; height: 520px; margin-left: -450px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(25,108,223, .32), transparent 70%);
  animation: mb2x-glow 12s ease-in-out infinite alternate; will-change: transform; }
@keyframes mb2x-glow {
  from { transform: translateX(-120px) scale(1); }
  to   { transform: translateX(120px) scale(1.15); }
}
.mb2x > * { position: relative; }
.mb2x-mark { position: absolute; width: 300px; height: auto; opacity: .06; pointer-events: none;
  animation: mb2x-float 14s ease-in-out infinite alternate; will-change: transform; }
.mb2x-mark text { font-family: var(--nx-font); font-size: 150px; font-weight: 500;
  fill: none; stroke: #5BA0F5; stroke-width: 2; }
.mb2x-mark-l { left: -60px; bottom: -40px; }
.mb2x-mark-r { right: -60px; top: -46px; animation-delay: -7s; }
@keyframes mb2x-float {
  from { transform: translateY(0); }
  to   { transform: translateY(-16px); }
}
.mb2x-chip { position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px;
  border-radius: 999px; background: rgba(25,108,223, .12); border: 1px solid rgba(25,108,223, .3);
  color: #A8CBF7; font-size: 12.5px; font-weight: 500; letter-spacing: 2.2px;
  text-transform: uppercase; margin-bottom: 22px; }
/* travelling light along the chip border: a rotating conic beam behind a
   dark inner mask that leaves only a 1.5px ring visible */
.mb2x-chip::before { content: ""; position: absolute; z-index: -2; left: 50%; top: 50%;
  width: 340px; height: 340px; margin: -170px 0 0 -170px;
  background: conic-gradient(transparent 0deg, transparent 300deg, #5BA0F5 335deg, #fff 352deg, transparent 360deg);
  animation: mb2x-borderlight 3.4s linear infinite; }
.mb2x-chip::after { content: ""; position: absolute; z-index: -1; inset: 1.5px;
  border-radius: inherit; background: #26141a; }
@keyframes mb2x-borderlight { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mb2x-chip::before { animation: none; } }
.mb2x-chip svg { width: 15px; height: 15px; }
.mb2x-title { margin: 0 0 16px; color: #fff; font-weight: 500;
  font-size: clamp(30px, 4.5vw, 46px); line-height: 1.18; }
.mb2x-title span { background: linear-gradient(90deg, #5BA0F5, #196CDF);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.mb2x-copy { max-width: 620px; margin: 0 auto 32px; font-size: 18px; line-height: 1.7;
  color: rgba(240, 240, 246, .85); }
.mb2x-copy b { color: #fff; }
/* site-standard CTA: 12px radius, brand gradient, no glow/shine */
.mb2x-cta { display: inline-flex; align-items: center; justify-content: center;
  gap: 9px; min-height: 50px; padding: 0 28px; border-radius: 12px;
  background: linear-gradient(135deg, #217BFE, #196CDF 55%, #196CDF); color: #fff;
  font-weight: 500; font-size: 15.5px; text-decoration: none;
  transition: filter .15s ease; }
.mb2x-cta:hover { color: #fff; text-decoration: none; filter: brightness(1.06); }
.mb2x-cta:focus-visible { outline: 3px solid #A8CBF7; outline-offset: 3px; }
.mb2x-cta svg { width: 20px; height: 20px; transition: transform .2s ease; }
.mb2x-cta:hover svg { transform: translateX(3px); }
.mb2x-trust { display: flex; justify-content: center; align-items: center;
  margin-top: 34px; }
.mb2x-trust-item { display: flex; align-items: center; gap: 9px; padding: 2px 18px;
  font-size: 14.5px; font-weight: 500; color: rgba(244, 244, 248, .82); white-space: nowrap; }
.mb2x-trust-item + .mb2x-trust-item { border-left: 1px solid rgba(255, 255, 255, .16); }
.mb2x-trust-item svg { width: 20px; height: 20px; flex: none; color: #5BA0F5; stroke-width: 1.8; }
.mb2x-trust-item em { font-style: normal; }
.mb2x-t-short { display: none; }
@media (prefers-reduced-motion: reduce) {
  .mb2x::before, .mb2x-mark, .mb2x-cta::after { animation: none; }
  .mb2x-cta, .mb2x-cta svg { transition: none; }
}
@media (max-width: 767px) {
  .mb2x { padding: 44px 16px 34px; margin: 56px 0 24px; }
  .mb2x-mark { width: 200px; }
  .mb2x-copy { font-size: 16px; }
  .mb2x-cta { width: 100%; max-width: 420px; justify-content: center; }
  /* trust row stays ONE small line on phones — short labels swap in */
  .mb2x-trust { margin-top: 24px; }
  .mb2x-trust-item { font-size: 11.5px; gap: 5px; padding: 2px 8px; }
  .mb2x-trust-item svg { width: 15px; height: 15px; }
  .mb2x-t-full { display: none; }
  .mb2x-t-short { display: inline; }
}

/* Footer link columns: hidden on mobile — the bottom bar (logo, copyright,
   language/currency) still shows, so the page ends compactly on phones. */
@media (max-width: 767.98px) {
  .footer-wrapper { display: none; }
}

/* Loop clones exist only for the mobile/tablet slider — the desktop grid
   must never show the duplicated plan cards. */
@media (min-width: 992px) { .planx-clone { display: none !important; } }

/* Slider dots (inserted by site.js only when the row actually scrolls).
   The dot stays 8px visually but the tap target is 32px (transparent
   border, background clipped to the padding box). */
.planx-dots { display: flex; justify-content: center; gap: 2px; padding: 6px 0 0; }
.planx-dots button { width: 32px; height: 32px; border-radius: 50%; padding: 0;
  border: 12px solid transparent; background: var(--nx-border); background-clip: padding-box;
  cursor: pointer; transition: background .2s ease, transform .2s ease; }
.planx-dots button.on { background-color: var(--nx-primary); transform: scale(1.25); }
.planx-dots button:focus-visible { outline: 2px solid var(--nx-primary); outline-offset: 2px; }
@media (min-width: 992px) { .planx-dots { display: none; } }
@media (max-width: 767px) {
  .faqx .card-header .btn,
  .faqheadings-wrap .accordion.faqx .card .card-header button { font-size: 16px; padding: 20px 44px 20px 0; }
  .faqx .card-body { padding-right: 44px !important; }
}

/* ---- panel scroll reveal (classes applied by js/app.js) ---- */
.rvl {
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s cubic-bezier(.16, 1, .3, 1), transform .4s cubic-bezier(.16, 1, .3, 1);
}
.rvl-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rvl { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------------------
   Scrollbars — narrow, brand-tinted, consistent everywhere.

   site.css is loaded by every layout, and on the public site it loads AFTER
   style.css, so this supersedes that file's 8px rgba(192,8,8,.8) thumb — the
   old one was both wider and a different red from the brand.

   The thumb is drawn inside a transparent border: the visible bar is 6px but
   the grab target stays the full 10px, so it reads as narrow without becoming
   fiddly to catch with a mouse. Resting colour is a 45% brand tint rather than
   solid --nx-primary, which is far too loud repeated down every panel; hover
   goes to full brand so it still responds.

   Containers that deliberately hide their scrollbar (.set-tabs, .tox-grid,
   .webhosting-box, the mobile nav sheet) use more specific selectors and are
   unaffected.
--------------------------------------------------------------------------- */
* { scrollbar-width: thin; scrollbar-color: rgb(25 108 223 / .45) transparent; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-corner { background: transparent; }
::-webkit-scrollbar-thumb {
  background-color: rgb(25 108 223 / .45);
  border: 2px solid transparent;
  background-clip: padding-box;
  border-radius: 999px;
  transition: background-color .18s ease;
}
::-webkit-scrollbar-thumb:hover  { background-color: var(--nx-primary); }
::-webkit-scrollbar-thumb:active { background-color: var(--nx-primary-hover); }

@media (prefers-reduced-motion: reduce) {
  ::-webkit-scrollbar-thumb { transition: none; }
}

/* --------------------------------------------------------- error pages
   Shared by /404 and the 419 "session expired" page. These rules lived in a
   <style> block inside 404.php, so 419.php — which uses the same markup and
   class names — rendered with no styling at all: body copy in #8A90A3 on the
   layout's #0B0D14 background, effectively invisible, with the whole scene
   collapsed into the top-left corner. */
.nx404 {
  position: relative; overflow: hidden; background: #0B0D14;
  min-height: 100vh; min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 72px 20px;
}
.nx404-inner { position: relative; z-index: 1; text-align: center; max-width: 640px; }
.nx404-title {
  font-size: clamp(30px, 5vw, 44px); font-weight: 500; letter-spacing: .02em;
  color: #C9CDD9; margin: 0 0 8px;
}
.nx404-title span { color: var(--nx-primary, #196CDF); }
.nx404-astro { display: inline-block; margin: 18px 0 6px; animation: nx404-float 6s ease-in-out infinite; }
.nx404-copy { color: #8A90A3; font-size: 15.5px; margin: 10px 0 26px; }
.nx404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.nx404-ghost { color: #E9EBF1; border: 1px solid #3A4056; background: transparent; }
.nx404-ghost:hover { border-color: var(--nx-primary, #196CDF); color: #fff; }
/* Star field: two twinkling layers of box-shadow dots (no images, CSP-safe). */
.nx404-stars::before, .nx404-stars::after {
  content: ""; position: absolute; width: 2px; height: 2px; border-radius: 50%;
  background: transparent; pointer-events: none;
  box-shadow:
    8vw 12vh 0 0 #ffffffcc, 22vw 32vh 0 0 #ffffff88, 15vw 68vh 0 0 #ffffffaa,
    31vw 81vh 0 0 #ffffff77, 44vw 18vh 0 0 #ffffffbb, 52vw 58vh 0 0 #ffffff99,
    63vw 26vh 0 0 #ffffffcc, 71vw 72vh 0 0 #ffffff88, 82vw 40vh 0 0 #ffffffaa,
    91vw 15vh 0 0 #ffffffbb, 95vw 66vh 0 0 #ffffff77, 37vw 45vh 0 0 #ffffff66,
    5vw 43vh 0 0 #ffffff99, 58vw 88vh 0 0 #ffffff88, 76vw 8vh 0 0 #ffffffaa,
    12vw 90vh 0 0 #ffffff77, 86vw 84vh 0 0 #ffffff99, 48vw 5vh 0 0 #ffffff88;
  animation: nx404-twinkle 4.5s ease-in-out infinite alternate;
}
.nx404-stars::after {
  width: 1px; height: 1px;
  box-shadow:
    10vw 25vh 0 0 #ffffff66, 26vw 12vh 0 0 #ffffff55, 34vw 62vh 0 0 #ffffff66,
    41vw 92vh 0 0 #ffffff44, 55vw 35vh 0 0 #ffffff66, 66vw 50vh 0 0 #ffffff55,
    74vw 20vh 0 0 #ffffff66, 88vw 55vh 0 0 #ffffff44, 93vw 30vh 0 0 #ffffff55,
    18vw 52vh 0 0 #ffffff44, 68vw 90vh 0 0 #ffffff55, 3vw 75vh 0 0 #ffffff66;
  animation-delay: 2.2s;
}
@keyframes nx404-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-16px) rotate(2deg); }
}
@keyframes nx404-twinkle {
  from { opacity: .55; }
  to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .nx404-astro, .nx404-stars::before, .nx404-stars::after { animation: none; }
}
/* The CTA band's global 100px top margin is for white pages — flush it
   against the dark space section so no white strip splits them. */
main#main:has(.nx404) + .keepintouch-wrapper { margin-top: 0; }

/* ============================================================
   Store: category pills, page-level duration, plan card pricing
   ------------------------------------------------------------
   Uses the site's own --nx-primary rather than a second brand
   colour. The saving badge is green: against a red brand an
   orange badge muddies, and green already means "good" here —
   it is the colour of the feature ticks on the same card.
   ============================================================ */
:root {
  --store-soft: #EAF2FE;
  --store-line: #C5DBF8;
  --store-save: #12813B;
  --store-save-bg: #E8F6ED;
}

/* --- centred store heading --- */
.store-head { padding: 54px 0 30px; text-align: center; background: #fff; }
.store-head h1 {
  font-size: clamp(30px, 4.4vw, 46px); font-weight: 500; letter-spacing: -.025em;
  line-height: 1.12; margin: 0; color: var(--nx-ink); text-wrap: balance;
}
.store-sub {
  margin: 14px auto 0; max-width: 60ch;
  font-size: 16px; color: var(--nx-text-soft);
}
@media (max-width: 560px) { .store-head { padding: 34px 0 22px; } }

/* --- category pills --- */
.cat-pills {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px; margin: 0 0 26px;
}
.cat-pill {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 20px; border-radius: 999px; text-decoration: none;
  background: var(--store-soft); color: #0A3D85;
  font-size: 14.5px; font-weight: 500; border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
}
.cat-pill:hover { border-color: var(--store-line); color: var(--nx-primary); }
.cat-pill.is-active { background: var(--nx-primary); color: #fff; }
.cat-pill:focus-visible { outline: 3px solid var(--nx-primary); outline-offset: 2px; }

/* --- page-level duration --- */
.store-controls { display: flex; justify-content: center; margin: 0 0 32px; }
.store-controls[hidden] { display: none; }
.store-field { display: flex; flex-direction: column; gap: 6px; min-width: 260px; }
.store-field label { font-size: 13px; color: var(--nx-text-soft); font-weight: 500; }
.store-field select {
  appearance: none; font: inherit; font-size: 15px; color: var(--nx-ink);
  background-color: #fff; border: 1px solid var(--nx-border); border-radius: 10px;
  min-height: 48px; padding: 10px 40px 10px 15px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--nx-text-soft) 50%),
                    linear-gradient(135deg, var(--nx-text-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.store-field select:focus-visible { outline: 3px solid var(--nx-primary); outline-offset: 1px; }

/* --- plan card --- */
.plan-grid { padding-top: 4px; }
.plan-grid .plan-card { overflow: visible; padding: 26px 24px 24px; }

/* Name, popular marker and saving share one row. */
.plan-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.plan-grid .plan-name {
  text-align: left; font-size: 22px; font-weight: 500;
  letter-spacing: -.015em; line-height: 1.2;
}
.plan-pop {
  background: var(--nx-gradient); background-size: 180% 100%; color: #fff;
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
  font-size: 10.5px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase;
}
.plan-off {
  margin-left: auto; background: var(--store-soft); color: var(--nx-primary);
  border-radius: 999px; padding: 4px 10px; white-space: nowrap;
  font-size: 12px; font-weight: 500;
}
.plan-off[hidden] { display: none; }

.plan-grid .plan-tag {
  text-align: left; margin-bottom: 18px; min-height: 44px;
  font-size: 14.5px; line-height: 1.45;
}
.plan-grid .plan-tag:empty { min-height: 0; margin-bottom: 12px; }

.plan-was { font-size: 14px; color: var(--nx-text-muted); min-height: 21px; }
.plan-was s { text-decoration: line-through; font-variant-numeric: tabular-nums; }
.plan-was[hidden] { display: none; }
.plan-grid .plan-price {
  justify-content: flex-start; align-items: baseline; gap: 4px; margin: 0 0 18px;
}
.plan-grid .plan-price .cur { font-size: 26px; font-weight: 500; color: var(--nx-ink); }
.plan-grid .plan-price .amt {
  font-size: 34px; font-weight: 500; color: var(--nx-ink);
  letter-spacing: -.02em; font-variant-numeric: tabular-nums;
}
.plan-grid .plan-price .dash { font-size: 26px; font-weight: 500; color: var(--nx-ink); margin-left: -2px; }
.plan-grid .plan-price .per { font-size: 15px; font-weight: 500; color: var(--nx-text-soft); margin-left: 6px; }

.plan-total {
  text-align: center; font-size: 13px; color: var(--nx-text-soft);
  margin: 12px 0 16px; line-height: 1.5;
}
.plan-total b { color: var(--nx-ink); }
.plan-renewal { color: var(--nx-text-muted); }
.plan-term-note { margin: -6px 0 12px; font-size: 12.5px; font-weight: 500; color: var(--nx-primary); }

/* Features sit below a divider. */
.plan-grid .plan-features { border-top: 1px solid var(--nx-border); padding-top: 16px; margin-top: 0; }

/* Outlined CTA; the highlighted plan fills it. */
.plan-grid .btn-order {
  width: 100%; min-height: 48px; border-radius: 10px; font-weight: 500; font-size: 15px;
  border: 1.5px solid var(--nx-primary); color: var(--nx-primary); background: transparent;
  margin-top: 0;
}
.plan-grid .btn-order { transition: background-color .16s ease, border-color .16s ease, color .16s ease; }
/* Hover fills with the brand gradient rather than tinting: a pale wash reads as
   "disabled-ish" next to the featured card's solid CTA, where this button needs
   to read as equally clickable. */
.plan-grid .btn-order:hover {
  background: var(--nx-gradient);
  background-size: 220% 100%;
  background-position: 100% 50%;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 18px rgb(25 108 223 / .28);
}
.plan-grid .btn-order:active { transform: translateY(1px); }
.plan-grid .btn-order:focus-visible { outline: 3px solid var(--nx-primary); outline-offset: 2px; }
.plan-grid .btn-order[disabled] { border-color: var(--nx-border); color: var(--nx-text-muted); background: var(--nx-bg-soft); }

/* The highlighted plan stays white like the other three and is distinguished by
   a gradient border plus a ribbon on its top edge. All four then read as one
   row of comparable products; inverting one to dark made it look like a
   different kind of thing rather than the same thing, recommended.
   The border is two stacked backgrounds — a white fill clipped to the padding
   box over the gradient clipped to the border box — because border-image cannot
   follow a border-radius. */
.plan-grid .plan-card.featured {
  background-image: linear-gradient(#fff, #fff), var(--nx-gradient);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  border: 2px solid transparent;
  box-shadow: var(--nx-shadow-3);
  /* 2px of border where the others have 1px would shift the content by a pixel. */
  padding: 25px 23px 23px;
}

/* The ribbon leaves the header row and sits astride the top edge. .plan-card is
   already position:relative, and .plan-grid .plan-card sets overflow:visible —
   without that the ribbon would be clipped in half. */
.plan-grid .plan-card.featured .plan-pop {
  position: absolute; top: -11px; left: 50%; transform: translateX(-50%);
  z-index: 2; box-shadow: 0 2px 8px rgb(25 108 223 / .30);
}
/* The name then has the row to itself, so the saving keeps its right-hand slot. */
.plan-grid .plan-card.featured .plan-head { gap: 0; }
/* The one filled CTA on the row, carrying the brand gradient token rather than
   a second hand-written one. --nx-gradient loops red → pink → red, which is
   what lets the hover SWEEP the gradient instead of cross-fading it — browsers
   cannot interpolate between two gradients, so a brightness filter was the only
   hover the old two-stop version could manage. */
.plan-card.featured .btn-order {
  background: var(--nx-gradient);
  background-size: 220% 100%;
  background-position: 0% 50%;
  border-color: transparent; color: #fff;
  transition: background-position .45s ease, box-shadow .16s ease;
}
.plan-card.featured .btn-order:hover {
  background-position: 100% 50%;
  color: #fff;
  box-shadow: 0 6px 18px rgb(25 108 223 / .30);
}
.plan-card.featured .btn-order:active { transform: translateY(1px); }
/* The domain field and its hint inherit the normal text colours now — #9AA3AF
   was chosen to sit on the dark card and is far too light on white. */

@media (max-width: 560px) {
  .cat-pills { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; }
  .cat-pill { flex: 0 0 auto; }
  .store-field { width: 100%; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .cat-pill { transition: none; }
  /* Colour changes stay — they carry the hover state. Only the movement goes. */
  .plan-grid .btn-order:active,
  .plan-card.featured .btn-order:active { transform: none; }
  .plan-card.featured .btn-order { transition: box-shadow .16s ease; }
}

/* ------------------------------------------------------------
   ICANN accreditation badge (footer, under DOMAIN NAMES)
   The logo is ICANN's trademark and is supplied by them; this
   only positions it. Colours follow the footer's own light
   scheme — the first pass used white text, which the dark
   bottom bar would have suited but this column is on white.
   ------------------------------------------------------------ */
.icann-badge {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  margin-top: 26px;
}
/* Scoped past .footerbtm-wrapper img { width: 100% } and friends in the legacy
   stylesheet; flex-basis carries the size so no width rule can win it back. */
.footer-wrapper .icann-badge img {
  flex: 0 0 auto; width: 84px; height: 84px; min-width: 84px;
  object-fit: contain;
}
.icann-badge p {
  margin: 0; font-size: 13.5px; line-height: 1.6;
  color: #4E4E4E;
}
.icann-badge abbr { text-decoration: none; border-bottom: 1px dotted currentColor; cursor: help; }
@media (max-width: 991px) {
  .icann-badge { margin-top: 20px; }
}

/* ------------------------------------------ control panel demo (home page)
   A drawn panel, not a screenshot: sharp at any size, themed from the brand
   tokens, and carrying no real account data. Five screens share one 25s
   timeline — each is shown for a fifth of it, and the sidebar highlight and
   pointer run on the SAME cycle so the menu selection always matches the
   screen behind it. Change SCREENS or the duration in one place and every
   part stays in step.
   Motion here is decorative, so it is switched off wholesale rather than
   slowed under prefers-reduced-motion. */
.cpdemo-wrap { padding: 74px 0 56px; }
/* Same heading treatment as “Namexero vs Others” directly below: 42px at
   the section default, 28px on small screens. Weight and letter-spacing are
   NOT set here — .cpdemo-head h2 is listed in platform-bridge.css alongside
   .comparison-heading h2, so it inherits that family’s 400/0 reset and keeps
   tracking it if the family is ever restyled. Setting them here would pin
   this one heading and let it drift away from the rest. */
.cpdemo-head { max-width: 760px; margin: 0 auto 34px; padding: 0 16px; text-align: center; }
/* Fluid between the two sizes the comparison heading steps through, rather
   than holding 42px all the way down to 520px. That block spans the whole
   container so it has room to wrap; this one is capped at 760px, so at tablet
   widths a fixed 42px filled the line edge to edge. Both ends still land on
   the same numbers — 42px on desktop, 28px on a phone. */
.cpdemo-head h2 { margin: 0 0 20px; font-size: clamp(28px, 4.4vw, 42px);
  color: var(--headingColor, #000); line-height: 1.15; }
.cpdemo-head p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #6B7280; }
.cpdemo-points { list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 10px 26px; margin: 18px 0 0; padding: 0; }
.cpdemo-points li { position: relative; padding-left: 22px;
  font-size: 13.5px; font-weight: 500; color: #384150; }
/* A drawn tick rather than a character, so it keeps its weight at any size
   and cannot be substituted by a font that lacks the glyph. */
.cpdemo-points li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 8px;
  margin-top: -5px; border-left: 2px solid #196CDF; border-bottom: 2px solid #196CDF;
  transform: rotate(-45deg); transform-origin: center; border-radius: 1px;
}
.cpdemo-stage {
  position: relative; border-radius: 18px; padding: 10px;
  background: linear-gradient(160deg, #F0F6FF 0%, #FFFFFF 45%, #F6F9FD 100%);
  box-shadow: 0 26px 70px rgb(16 24 40 / .13);
}
.cpdemo-svg { display: block; width: 100%; height: auto; border-radius: 12px; }

/* Type inside the drawing, in user units so it scales with it. */
.cpd-t { font-family: var(--nx-font, system-ui, sans-serif); fill: #1F2430; }
.cpd-t-lg    { font-size: 16px; font-weight: 500; }
.cpd-t-sm    { font-size: 10.5px; fill: #8A909D; font-variant-numeric: tabular-nums; }
.cpd-t-cap   { font-size: 9px;  font-weight: 500; fill: #8A909D; letter-spacing: .08em; }
.cpd-t-num   { font-size: 20px; font-weight: 500; font-variant-numeric: tabular-nums; }
.cpd-t-hd    { font-size: 13px; font-weight: 500; }
.cpd-t-nav   { font-size: 11.5px; font-weight: 500; fill: #6B7280; }
.cpd-t-th    { font-size: 9.5px; font-weight: 500; fill: #8A909D; letter-spacing: .04em; }
.cpd-t-td    { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.cpd-t-mono  { font-size: 11px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; fill: #384150; }
.cpd-t-mini  { font-size: 9px;  font-weight: 500; fill: #0F7A3D; }
.cpd-t-warn  { fill: #92610B; }
.cpd-t-info  { fill: #2743A6; }
.cpd-t-row   { font-size: 12px; font-weight: 500; }
.cpd-t-btn   { font-size: 11px; font-weight: 500; fill: #fff; }
.cpd-t-ok    { font-size: 10.5px; font-weight: 500; fill: #0F7A3D; }
.cpd-t-chip  { font-size: 10px; font-weight: 500; fill: #196CDF; }
.cpd-t-gauge { font-size: 29px; font-weight: 500; }

/* --- the shared timeline ------------------------------------------------
   25s, five screens. Each screen is visible for its own fifth: --i shifts it
   along by delaying the same animation. */
.cpd-screen { opacity: 0; animation: cpd-screen 25s linear infinite;
  animation-delay: calc(var(--i) * 5s - 25s); }
@keyframes cpd-screen {
  0%    { opacity: 0; transform: translateY(10px); }
  1.6%  { opacity: 1; transform: none; }
  18.4% { opacity: 1; transform: none; }
  20%   { opacity: 0; transform: translateY(-8px); }
  100%  { opacity: 0; transform: translateY(10px); }
}
/* Table rows land one after another as their screen arrives. */
.cpd-tr { animation: cpd-tr 25s linear infinite;
  animation-delay: calc(var(--i, 0) * 5s - 25s + var(--r) * .09s); }
@keyframes cpd-tr {
  0%   { opacity: 0; transform: translateX(-6px); }
  3%   { opacity: 1; transform: none; }
  19%  { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: none; }
}
/* The highlight sits on the group whose screen is showing: rows are 34px
   apart, and screens map to Websites, Emails, Domains, Databases, Security. */
.cpd-navpill { animation: cpd-navpill 25s linear infinite; }
@keyframes cpd-navpill {
  0%, 18%    { transform: translateY(0); }     /* Websites  */
  20%, 38%   { transform: translateY(34px); }  /* Emails    */
  40%, 58%   { transform: translateY(68px); }  /* Domains   */
  60%, 78%   { transform: translateY(102px); } /* Databases */
  80%, 100%  { transform: translateY(170px); } /* Security  */
}
/* The pointer leads each change by a beat, so the menu looks clicked. */
.cpd-cursor { animation: cpd-cursor 25s linear infinite; }
@keyframes cpd-cursor {
  0%, 14%   { transform: translate(120px, 84px);  opacity: 1; }
  18%, 34%  { transform: translate(120px, 118px); opacity: 1; }
  38%, 54%  { transform: translate(120px, 152px); opacity: 1; }
  58%, 74%  { transform: translate(120px, 186px); opacity: 1; }
  78%, 96%  { transform: translate(120px, 254px); opacity: 1; }
  100%      { transform: translate(120px, 84px);  opacity: 1; }
}
.cpd-cursor-halo { transform-box: fill-box; transform-origin: center;
  animation: cpd-halo 5s ease-out infinite; }
@keyframes cpd-halo { 0% { transform: scale(0); opacity: .32; }
  22% { transform: scale(1.6); opacity: 0; } 100% { transform: scale(1.6); opacity: 0; } }

/* Bars and the gauge fill once, as the first screen arrives. */
.cpd-bar { transform-box: fill-box; transform-origin: left center;
  animation: cpd-bar 1s cubic-bezier(.2,.7,.3,1) both; }
@keyframes cpd-bar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.cpd-arc { stroke-dasharray: 173; stroke-dashoffset: 173;
  animation: cpd-arc 1.5s cubic-bezier(.3,.8,.3,1) .4s both; }
@keyframes cpd-arc { to { stroke-dashoffset: 66; } }   /* 62% of the 172.8pt sweep */
.cpd-cta, .cpd-cta2 { transform-box: fill-box; transform-origin: center;
  animation: cpd-pulse 5s ease-in-out infinite; }
@keyframes cpd-pulse { 0%, 88%, 100% { transform: scale(1); } 94% { transform: scale(1.05); } }

@media (max-width: 767px) {
  .cpdemo-wrap { padding: 46px 0 10px; }
  .cpdemo-stage { padding: 6px; border-radius: 14px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Scaled to a phone the whole panel is ~300px wide and its labels land at
     about 3px — present but unreadable. Hold a legible floor and let it be
     swiped instead of shrinking into texture. */
  .cpdemo-svg { min-width: 620px; }
}
@media (prefers-reduced-motion: reduce) {
  .cpd-screen, .cpd-tr, .cpd-navpill, .cpd-cursor, .cpd-cursor-halo,
  .cpd-bar, .cpd-arc, .cpd-cta, .cpd-cta2 { animation: none; }
  /* Show the first screen, finished — not five screens stacked on top of
     each other, and not a blank panel. */
  .cpd-screen { opacity: 0; }
  .cpd-screen[style*="--i:0"] { opacity: 1; }
  .cpd-tr   { opacity: 1; transform: none; }
  .cpd-bar  { transform: none; }
  .cpd-arc  { stroke-dashoffset: 66; }
  .cpd-cursor { opacity: 0; }
}

/* --- floating side widgets --------------------------------------------
   Tilted cards that frame the panel rather than sit in the flow, so the
   composition reads as depth instead of a third column. They are decoration
   (aria-hidden) and disappear below 1200px, where there is no room beside
   the panel and they would land on top of it. */
.cpdemo-frame { position: relative; }
.cpdemo-float { position: absolute; width: 196px; pointer-events: none; z-index: 2;
  filter: drop-shadow(0 18px 34px rgb(16 24 40 / .16)); }
.cpdemo-float svg { display: block; width: 100%; height: auto; }
/* One card, hanging off the right edge. The tool list and the tables are
   the point of the picture, so it is not allowed to cover either. */
/* Bottom-left, hanging off the corner below the tool list — clear of the
   menu, the tables and the paragraph above the panel. */
.cpdemo-float--an { left: -34px; bottom: -24px; transform: rotate(-6deg);
  animation: cpdf-drift 11s ease-in-out infinite reverse; }
/* The floats need somewhere to live. Rather than laying them over the
   sidebar and the tables, the panel gives up the outer eighth of the row on
   wide screens and they occupy that margin, overlapping only its edge. */
@media (min-width: 1200px) { .cpdemo-stage { width: 84%; margin: 0 auto; } }
@keyframes cpdf-drift { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

.cpdf-hd  { font-size: 12.5px; font-weight: 500; fill: #1F2430; }
.cpdf-live-t { font-size: 9.5px; font-weight: 500; fill: #16A34A; letter-spacing: .06em; }

/* The "live" pip breathes to say the figure is current. */
.cpdf-live { animation: cpdf-live 2s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes cpdf-live { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.82); } }

/* The series sweeps in from the left, holds, then sweeps again — a plotted
   trace rather than a static picture. The clip does the work, so the fill and
   the stroke reveal together instead of drifting apart. */
.cpdf-wipe { transform-box: view-box; transform-origin: 24px 50px;
  animation: cpdf-wipe 5.5s cubic-bezier(.4,.1,.3,1) infinite; }
@keyframes cpdf-wipe {
  0%   { transform: scaleX(0); }
  45%  { transform: scaleX(1); }
  88%  { transform: scaleX(1); }
  100% { transform: scaleX(0); }
}
/* The head-dot arrives with the trace and pulses while it holds. */
.cpdf-dot { transform-box: fill-box; transform-origin: center;
  animation: cpdf-dot 5.5s ease-out infinite; }
@keyframes cpdf-dot {
  0%, 40% { opacity: 0; transform: scale(.4); }
  48%     { opacity: 1; transform: scale(1.5); }
  56%, 86%{ opacity: 1; transform: scale(1); }
  92%,100%{ opacity: 0; transform: scale(1); }
}

@media (max-width: 1199px) { .cpdemo-float { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .cpdemo-float--an, .cpdf-live, .cpdf-dot, .cpdf-wipe { animation: none; }
  .cpdf-wipe { transform: none; }   /* the whole series, drawn */
  .cpdf-dot  { opacity: 1; transform: none; }
}


/* ==========================================================================
   Cart (site/cart.php): cx-*
   Each item is a tinted panel: its name, term, price and remove on one row,
   and everything that belongs to it (ID Protection, offers, a bundled plan)
   as white boxes inside the same panel, so an add-on is never mistaken for
   another item. Below the items: more domains, the same name in other
   endings (dark panel, filled in by /cart/other-endings), what a domain
   includes, and plans for it. The white summary card keeps the breakdown,
   the saving and the page's one primary action.
   The page still wears cartx-page / cartx-wrap so the sticky bar rules above
   keep applying. Checkout reuses the layout, the panels and the summary card,
   and adds its own form pieces in the co-* block at the end of this file.
   ========================================================================== */
.cx-page {
  --cx-tint: #F1F6FD; --cx-tint-line: #D9E5F7; --cx-line: #E3E8F0;
  --cx-navy: #0A1D3B; --cx-navy-tile: #142B50; --cx-navy-text: #C3D0E6; --cx-sky: #8DBDFF;
  --cx-muted: #556070; --cx-text: #2B3442; --cx-ok: #12813B; --cx-soft: #E3EDFC;
  font-size: 14.5px; line-height: 1.5; color: var(--cx-text);
}
.cartx-page.cx-page, body:has(.cx-page) { background: #fff; }
/* Side inset of the website and the search results: their sections sit 150px
   in on wide screens, 50px up to 1600 and flush up to 1400, and the container
   inside adds a 12px gutter. The shop header and band (layouts/shop.php) use
   the same token, so every edge lines up with the pages the buyer came from. */
:root { --site-inset: 162px; }
@media (max-width: 1600px) { :root { --site-inset: 62px; } }
@media (max-width: 1400px) { :root { --site-inset: 12px; } }
.cartx-wrap.cx-wrap { max-width: none; padding-top: 36px; padding-inline: var(--site-inset); }
.cx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* The site's heading and paragraph margins are reset per component, not for
   the whole page: the plan-picker modals live inside .cx-items and keep the
   site defaults. */
:is(.cx-panel, .cx-dark, .cx-work, .cx-sum) :where(h2, h3, p, ul) { margin: 0; }
:is(.cx-panel, .cx-dark, .cx-work, .cx-sum) :where(h2, h3) { line-height: 1.25; letter-spacing: 0; }
:is(.cx-panel, .cx-dark, .cx-work, .cx-sum) :where(ul) { padding: 0; list-style: none; }
:is(.cx-panel, .cx-dark, .cx-work, .cx-sum) :where(form) { margin: 0; }
.cx-page .num { white-space: nowrap; }

.cx-page .btn { border-radius: 12px; padding: 0 18px; font-size: 14.5px; font-weight: 500; }
.cx-page .btn-lg { min-height: 54px; border-radius: 14px; font-size: 16px; }
.cx-page .btn.cx-btn-line { border-color: var(--nx-ink); color: var(--nx-ink); background: transparent; }
.cx-page .btn.cx-btn-line:hover { background: var(--nx-ink); color: #fff; }

.cx-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
/* gap, not margins: the hidden plan-picker modals sit between the panels */
.cx-items { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.cx-panel { background: var(--cx-tint); border-radius: 24px; padding: 22px; }
.cx-tile { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 12px; background: var(--cx-soft); color: var(--nx-primary); }

/* -- empty cart */
.cx-empty { display: flex; flex-direction: column; align-items: center; padding: 56px 24px; text-align: center; }
.cx-empty .cx-tile { width: 56px; height: 56px; border-radius: 16px; background: #fff; }
.cx-empty h2 { margin-top: 18px; font-size: 22px; font-weight: 500; }
.cx-empty p { margin-top: 6px; color: var(--cx-muted); }
.cx-empty .actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }

/* -- item row: name, term, price, remove */
.cx-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto 44px; align-items: center; column-gap: 14px; }
.cx-row .t h2 { font-size: 18px; font-weight: 500; overflow-wrap: anywhere; }
.cx-row .meta { margin-top: 2px; font-size: 13.5px; color: var(--cx-muted); }
/* Dot between the facts, never at the start of a wrapped line: every fact
   carries its dot in a left gutter and is pulled back by the gutter's width,
   so the first fact on each line has its dot clipped away. */
.cx-row .meta { display: flex; flex-wrap: wrap; overflow-x: clip; }
.cx-row .meta > * { position: relative; margin: 0 16px 0 -16px; padding-left: 16px; }
.cx-row .meta > *::before { content: "\00B7"; position: absolute; left: 0; width: 16px; text-align: center; color: #94A0B3; }
.cx-row .meta b { font-weight: 500; color: var(--cx-text); overflow-wrap: anywhere; }
.cx-row .c { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.cx-sel { position: relative; display: block; }
.cx-sel select {
  appearance: none; -webkit-appearance: none;
  height: 44px; max-width: 100%; padding: 0 38px 0 16px;
  border: 0; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--cx-tint-line);
  font: 400 15px/1 var(--nx-font); color: var(--nx-ink); cursor: pointer;
  transition: box-shadow .15s ease;
}
.cx-sel select:hover { box-shadow: 0 0 0 1px #A9C3EC; }
.cx-sel select:focus-visible { box-shadow: var(--nx-focus); border-radius: 12px; }
.cx-sel svg { position: absolute; right: 13px; top: 50%; margin-top: -8px; color: var(--cx-muted); pointer-events: none; }
.cx-static { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--cx-tint-line); font-size: 14.5px; color: var(--nx-ink); }
.cx-price { min-width: 88px; text-align: right; }
.cx-price b { display: block; font-size: 19px; font-weight: 600; line-height: 1.2; color: var(--nx-ink); }
.cx-price s, .cx-price small { display: block; font-size: 12.5px; color: var(--cx-muted); }
.cx-x {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 12px; background: none; color: var(--cx-muted); cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.cx-x:hover { background: #fff; color: #B42318; }
.cx-x:focus-visible { border-radius: 12px; }
.cx-link { position: relative; padding: 0; border: 0; background: none; font: inherit; font-weight: 500; color: var(--nx-primary); cursor: pointer; }
.cx-link:hover { color: var(--nx-primary-hover); text-decoration: underline; }
.cx-row .meta .cx-link::after { content: ""; position: absolute; inset: -12px -8px; }   /* 44px target */

.cx-note { margin-top: 12px; font-size: 13.5px; color: var(--cx-muted); }
.cx-perk { display: flex; align-items: flex-start; gap: 8px; margin-top: 12px; font-size: 13.5px; color: var(--cx-muted); }
.cx-perk svg { flex: none; margin-top: 3px; color: var(--cx-ok); }
.cx-perk b { font-weight: 500; color: var(--cx-text); }

/* -- white boxes inside a panel: an add-on, an offer, a bundled plan */
.cx-box {
  display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; align-items: center; column-gap: 14px;
  margin-top: 14px; padding: 14px 16px; background: #fff; border-radius: 16px;
  box-shadow: inset 0 0 0 1.5px var(--cx-tint-line);
}
.cx-box.on { box-shadow: inset 0 0 0 1.5px var(--nx-primary); }
.cx-box .b strong { display: block; font-size: 15.5px; font-weight: 500; color: var(--nx-ink); overflow-wrap: anywhere; }
.cx-box .b > span { display: block; font-size: 13.5px; color: var(--cx-muted); }
.cx-box .b > .tag { margin-bottom: 2px; font-size: 11.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--nx-primary); }
.cx-box .amt { text-align: right; font-size: 15.5px; font-weight: 500; color: var(--nx-ink); }
.cx-box .amt small { display: block; font-size: 12.5px; font-weight: 400; color: var(--cx-muted); }
.cx-box .note { grid-column: 2 / -1; margin-top: 8px; font-size: 13px; color: var(--cx-muted); }
.cx-box.wide { grid-template-columns: 44px minmax(0, 1fr) auto; }
.cx-box.prod { grid-template-columns: 44px minmax(0, 1fr) auto auto 44px; }
.cx-box.prod .cx-sel select { height: 42px; box-shadow: 0 0 0 1px var(--cx-line); font-size: 14px; }
.cx-box.prod .cx-x:hover { background: var(--cx-tint); }
.cx-box.cx-attach { grid-template-columns: 44px minmax(0, 1fr) minmax(0, 340px); }
.cx-attach .req { color: var(--nx-danger); }
.cx-attach .f { display: flex; gap: 8px; }
.cx-attach .f .input { flex: 1; min-width: 0; border-radius: 12px; }
.cx-free, .cx-state { color: var(--cx-ok); font-weight: 500; }
.cx-state { display: inline-flex; align-items: center; gap: 6px; }

/* switch: a submit button, so it works without script */
.cx-sw { position: relative; display: block; width: 52px; height: 30px; padding: 0; border: 0; border-radius: 999px; background: #7D8799; cursor: pointer; transition: background-color .2s ease; }
.cx-sw::before { content: ""; position: absolute; inset: -7px 0; }   /* 44px target */
.cx-sw::after { content: ""; position: absolute; left: 3px; top: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgb(0 0 0 / .25); transition: transform .2s ease-out; }
.cx-sw[aria-checked="true"] { background: var(--nx-primary); }
.cx-sw[aria-checked="true"]::after { transform: translateX(22px); }
.cx-sw:focus-visible { border-radius: 999px; }
/* A line is being re-priced in place (app.js): nothing else is clickable
   until the figures on screen are the server's again. */
.cx-page.is-updating { cursor: progress; }
.cx-page.is-updating .cx-layout { pointer-events: none; opacity: .6; transition: opacity .2s ease .25s; }   /* dims only when the answer is slow */
.cx-page:focus { outline: none; }   /* takes focus when the control that had it is gone */
/* A message that came with an in-place update: the top of the page, where
   messages normally sit, may be scrolled out of sight. */
[data-shop-notices].is-inplace { position: fixed; z-index: 95; top: 14px; left: 0; right: 0; display: grid; gap: 8px; justify-items: center; padding: 0 14px; pointer-events: none; }
[data-shop-notices].is-inplace .shop-flash { position: relative; margin: 0; width: min(560px, 100%); padding: 12px 40px 12px 16px; box-shadow: 0 10px 30px rgb(15 23 42 / .16); pointer-events: auto; }

.cx-more { display: flex; flex-wrap: wrap; align-items: center; gap: 0 18px; margin-top: 10px; font-size: 13.5px; color: var(--cx-muted); }
.cx-more .cx-link { display: inline-flex; align-items: center; min-height: 44px; }

.cx-hint { display: flex; align-items: center; gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px dashed #C4D3EA; font-size: 14px; color: var(--cx-muted); }
.cx-hint > svg { flex: none; color: var(--nx-primary); }
.cx-hint p { flex: 1; }
.cx-hint b { font-weight: 600; color: var(--nx-ink); }

/* -- more domains */
.cx-links { display: flex; flex-wrap: wrap; gap: 6px 32px; margin: -2px 0 0; padding: 0 4px; }
.cx-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15.5px; font-weight: 500; }
.cx-links svg, .cx-card .go svg { transition: transform .15s ease; }
.cx-links a:hover svg, .cx-card .go:hover svg { transform: translateX(3px); }

/* -- the same name in other endings */
.cx-dark { background: var(--cx-navy); border-radius: 24px; padding: 24px 22px 22px; color: var(--cx-navy-text); }
.cx-dark h2 { display: flex; align-items: flex-start; gap: 9px; font-size: 18px; font-weight: 500; color: #fff; }
.cx-dark h2 svg { flex: none; margin-top: 2px; color: var(--cx-sky); }
.cx-dark h2 em { font-style: normal; color: var(--cx-sky); overflow-wrap: anywhere; }
.cx-dark > p { margin-top: 6px; font-size: 14px; }
.cx-checking { margin-top: 16px; font-size: 14px; }
.cx-tlds { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.cx-tlds li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 16px; border-radius: 14px; background: var(--cx-navy-tile); }
.cx-tlds .n { font-size: 15.5px; color: #DCE6F5; word-break: break-all; }
.cx-tlds .n b { font-weight: 600; color: #fff; }
.cx-tlds .p { margin-top: 3px; font-size: 16px; font-weight: 600; color: #fff; }
.cx-tlds .p small { font-size: 12px; font-weight: 400; color: var(--cx-navy-text); }
.cx-tlds .r { margin-top: 1px; font-size: 12px; color: var(--cx-navy-text); }
.cx-tlds .btn { min-width: 64px; }

/* -- included with every domain */
.cx-incl h2 { font-size: 17px; font-weight: 500; }
.cx-incl ul { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 18px; }
.cx-incl .ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--nx-primary); }
.cx-incl strong { display: block; margin-top: 12px; font-size: 14.5px; font-weight: 500; color: var(--nx-ink); }
.cx-incl li > span:not(.ic) { display: block; margin-top: 2px; font-size: 13.5px; color: var(--cx-muted); }

/* -- plans for the domain */
.cx-work { margin-top: 12px; }
.cx-work > h2, .cx-find h2 { font-size: 17px; font-weight: 500; }
.cx-work > p, .cx-find > p { margin-top: 4px; color: var(--cx-muted); }
.cx-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 16px; }
.cx-card { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cx-line); transition: box-shadow .2s ease, transform .2s ease; }
.cx-card:hover { box-shadow: inset 0 0 0 1.5px var(--nx-primary), 0 14px 28px -18px rgb(25 108 223 / .55); transform: translateY(-2px); }
.cx-card h3 { margin-top: 16px; font-size: 16.5px; font-weight: 500; }
.cx-card p { flex: 1; margin-top: 6px; font-size: 13.5px; color: var(--cx-muted); overflow-wrap: anywhere; }
.cx-card .from { flex: none; margin-top: 14px; }
.cx-card .from b { font-size: 18px; font-weight: 600; color: var(--nx-ink); }
.cx-card .go { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin: 4px 0 -10px; padding: 0; border: 0; background: none; font: 500 15px/1.2 var(--nx-font); color: var(--nx-primary); cursor: pointer; }
.cx-card .go:hover { color: var(--nx-primary-hover); }

/* -- cart without a domain: find one, and the recommended plan */
.cx-find .cartx-domain-search { margin-top: 14px; background: #fff; border-color: var(--cx-tint-line); border-radius: 12px; }
.cx-card.cx-reco { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; align-items: center; column-gap: 16px; margin-top: 14px; }
.cx-card.cx-reco:hover { transform: none; }
.cx-reco h3 { margin-top: 0; }
.cx-reco h3 span { margin-left: 6px; font-size: 13.5px; font-weight: 400; color: var(--cx-muted); }
.cx-feats { display: grid; gap: 3px; margin-top: 8px; font-size: 13.5px; color: var(--cx-muted); }
.cx-feats li { display: flex; align-items: flex-start; gap: 8px; }
.cx-feats svg { flex: none; margin-top: 4px; color: var(--cx-ok); }
.cx-reco .side { text-align: right; }
.cx-reco .side .from { margin: 0 0 10px; }

/* -- summary */
.cx-sum { position: sticky; top: 24px; background: #fff; border-radius: 24px; padding: 26px; box-shadow: 0 0 0 1px rgb(10 29 59 / .06), 0 24px 48px -24px rgb(10 29 59 / .28); }
.cx-sum h2 { margin-bottom: 14px; font-size: 20px; font-weight: 500; }
.cx-sgroup + .cx-sgroup { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--cx-line); }
.cx-srow { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; font-size: 15px; color: var(--cx-muted); }
.cx-srow .l { min-width: 0; }
.cx-srow .l b { font-weight: 500; color: var(--nx-ink); overflow-wrap: anywhere; }
.cx-srow .l small { display: block; font-size: 12.5px; }
.cx-srow .with-tip { display: inline-flex; align-items: center; gap: 6px; }
.cx-srow .v { flex: none; text-align: right; color: var(--cx-text); }
.cx-srow s { margin-right: 6px; font-size: 13px; color: var(--cx-muted); }
.cx-srow.off, .cx-srow.off .v { color: var(--cx-ok); }
.cx-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--cx-line); }
.cx-total .l { font-size: 15.5px; color: var(--cx-text); }
.cx-total .v { font-size: 28px; font-weight: 600; line-height: 1.1; color: var(--nx-ink); }
.cx-saveb { display: flex; align-items: center; gap: 10px; margin-top: 16px; padding: 11px 14px; border-radius: 12px; background: #FFF1CF; color: #7A4D00; font-size: 14px; font-weight: 500; }
.cx-saveb svg { flex: none; }
.cx-saveb b { font-weight: 600; }
.cx-sum .cartx-continue-inline { margin-top: 16px; }
.cx-sum .coupon-link { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; margin-top: 6px; font-size: 14px; }
.cx-sum .coupon-form { margin-top: 2px; }
.cx-sum .coupon-form .input { border-radius: 12px; }
.cx-secure { margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--cx-line); }
.cx-secure .h { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--nx-ink); }
.cx-secure .h span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--cx-soft); color: var(--nx-primary); }
.cx-secure > p:not(.h) { margin-top: 6px; font-size: 13.5px; color: var(--cx-muted); }
.cx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.cx-chips li { padding: 3px 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px #CDD5E1; font-size: 12.5px; font-weight: 500; color: var(--cx-text); }
.cx-trust { display: grid; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--cx-muted); }
.cx-trust li { display: flex; align-items: flex-start; gap: 9px; }
.cx-trust svg { flex: none; margin-top: 3px; color: var(--cx-ok); }

/* One column from the width where the sticky total bar takes over. */
@media (max-width: 980px) {
  .cx-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cx-sum { position: static; }
}
@media (max-width: 700px) {
  .cartx-wrap.cx-wrap { padding-top: 24px; }
  .cx-panel, .cx-dark { border-radius: 20px; padding: 18px 16px; }
  .cx-row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "t x" "sel price"; row-gap: 12px; }
  .cx-row .t { grid-area: t; }
  .cx-row .rm { grid-area: x; align-self: start; justify-self: end; margin: -6px -8px 0 0; }
  .cx-row .c { grid-area: sel; justify-content: flex-start; }
  .cx-row .cx-price { grid-area: price; }
  .cx-sel select { font-size: 16px; }   /* below 16px iOS zooms the page on focus */
  .cx-box { grid-template-columns: 40px minmax(0, 1fr) auto; grid-template-areas: "tile b act" "tile amt act"; column-gap: 12px; padding: 14px; }
  .cx-box > .cx-tile { grid-area: tile; align-self: start; width: 40px; height: 40px; }
  .cx-box > .b { grid-area: b; }
  .cx-box > .act, .cx-box > .cx-state { grid-area: act; }
  .cx-box > .amt { grid-area: amt; margin-top: 6px; text-align: left; }
  .cx-box > .amt small { display: inline; margin-left: 6px; }
  .cx-box.wide { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "tile b" "act act"; row-gap: 12px; }
  .cx-box.wide .btn { width: 100%; }
  .cx-box.prod { grid-template-columns: 40px minmax(0, 1fr) 44px; grid-template-areas: "tile b act" "sel sel sel" "amt amt amt" "note note note"; row-gap: 10px; }
  .cx-box.prod > .sel { grid-area: sel; }
  .cx-box.prod > .amt { margin: 0; }
  .cx-box.prod > .act { align-self: start; margin: -6px -8px 0 0; }
  .cx-box.prod .cx-sel select { width: 100%; height: 44px; font-size: 16px; }
  .cx-box > .note { grid-area: note; margin-top: 0; }
  .cx-box.cx-attach { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: "tile b" "f f"; row-gap: 12px; }
  .cx-attach > .f { grid-area: f; }
  .cx-attach .f .input { font-size: 16px; }
  .cx-hint { flex-wrap: wrap; }
  .cx-hint p { flex: 1 1 200px; }
  .cx-hint .btn { width: 100%; }
  .cx-tlds { grid-template-columns: 1fr; }
  .cx-incl ul { grid-template-columns: 1fr 1fr; gap: 18px 14px; }
  .cx-cards { grid-template-columns: 1fr; }
  .cx-card p { flex: none; }
  .cx-card.cx-reco { grid-template-columns: 44px minmax(0, 1fr); row-gap: 14px; }
  .cx-reco .side { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
  .cx-reco .side .from { margin: 0; }
  .cx-sum { padding: 22px 18px; border-radius: 20px; }
  .cx-sum .coupon-form .input { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .cx-page *, .cx-page *::before, .cx-page *::after { transition: none !important; }
  .cx-card:hover { transform: none; }
}

/* ==========================================================================
   Checkout (site/checkout.php): co-*
   The cart's page, one step on: the same tinted panels on the left (account,
   registry requirements, payment method) and the same white summary card on
   the right, which here ends in the terms tick and the order button.
   A panel opens with co-head (icon tile, h2, one line of help). Choices that
   used to be bare radios are co-opt cards: the whole card is the label, and
   the ring shows which one is picked as well as the radio does.
   ========================================================================== */
.co-head { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.co-head > div { flex: 1; min-width: 0; }
.co-head h2 { font-size: 18px; font-weight: 500; color: var(--nx-ink); }
.co-head p { margin-top: 3px; font-size: 13.5px; color: var(--cx-muted); }
.co-head p b { font-weight: 500; color: var(--nx-ink); }
.co-head .co-mail { display: block; overflow-wrap: anywhere; }
.co-head > .cx-link { flex: none; align-self: center; font-size: 14px; }
.co-head > .cx-link::after, .co-sum-head .cx-link::after { content: ""; position: absolute; inset: -13px -10px; }   /* 44px target */
.cx-panel > .co-head:last-child { margin-bottom: 0; }
.co-foot { font-size: 13.5px; color: var(--cx-muted); }

.co-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 28px; }
.co-pay { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; }
.co-opt {
  display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 16px;
  border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cx-tint-line);
  cursor: pointer; transition: box-shadow .15s ease;
}
.co-opt:hover { box-shadow: inset 0 0 0 1.5px #A9C3EC; }
.co-opt:has(input:checked) { box-shadow: inset 0 0 0 2px var(--nx-primary); }
.co-opt:has(input:focus-visible) { box-shadow: inset 0 0 0 2px var(--nx-primary), var(--nx-focus); }
.co-opt input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--nx-primary); cursor: pointer; }
.co-opt input:focus-visible { box-shadow: none; }   /* the card carries the ring */
.co-opt > span { min-width: 0; }
.co-opt strong { display: block; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--nx-ink); }
.co-opt small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.4; color: var(--cx-muted); }
/* A payment method: the radio and its text as above, the method's icon at the
   far end. The icon tile fills in when the method is the one picked. */
.co-method { align-items: flex-start; padding: 16px; }
.co-method input { margin-top: 2px; }
.co-method > span:not(.co-ico) { flex: 1; }
.co-ico { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--cx-tint); color: var(--cx-muted); transition: background-color .15s ease, color .15s ease; }
.co-method:has(input:checked) .co-ico { background: var(--cx-soft); color: var(--nx-primary); }

/* Fields sit on the tint, so they take the panel's line colour and radius.
   Focus and the invalid state keep the site's own border colours. */
/* One rhythm for every form on the page: 8px from a label to its input, a
   full row gap from an input to the next label, so a label reads as belonging
   to the field under it and not to the one above. */
.co-page { --co-row: 24px; --co-col: 20px; }
.co-page .cx-panel { padding: 24px; }
.co-page .form-grid, .co-page .tldx-grid { gap: 0 var(--co-col); }
.co-page .field { margin-bottom: var(--co-row); }
.co-page .field label { font-size: 13.5px; margin-bottom: 8px; }
.co-page .field .help { margin-top: 8px; line-height: 1.45; color: var(--cx-muted); }
.co-page .input { min-height: 46px; border-radius: 12px; }
.co-page .input:not(:focus):not([aria-invalid="true"]) { border-color: #C6D4EA; }
.co-page .input:not(:focus):not([aria-invalid="true"]):hover { border-color: #A9C3EC; }
.co-page :is(#panel-new, #panel-existing) .form-grid { margin-bottom: calc(-1 * var(--co-row)); }   /* the last row's field margin, whatever the column count */
.co-page #panel-existing .co-foot { margin-top: 28px; }

.co-page .tldx-group { min-width: 0; margin: 0 0 16px; padding: 20px 20px 0; border: 0; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--cx-tint-line); }
.co-page .tldx-group legend { float: left; width: 100%; margin-bottom: 16px; padding: 0; font-size: 14px; color: var(--cx-muted); }
.co-page .tldx-group legend b { font-weight: 500; }
.co-page .tldx-group .muted { color: inherit; }
.co-page .tldx-grid { clear: both; margin-bottom: -4px; }   /* the last row's margin less this leaves the group's 20px */
.co-page .tldx-check { margin: 4px 0 var(--co-row); }
.co-page .tldx-check, .co-page .tldx-note { color: var(--cx-text); }
.co-page .tldx-note { background: #fff; }
.co-page .cx-panel > :is(.tldx-group, .tldx-note):last-child { margin-bottom: 0; }

.co-sum-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.co-sum-head h2 { margin-bottom: 0; }
.co-sum-head .cx-link { font-size: 14px; }
.co-terms { margin-top: 18px; font-size: 13.5px; line-height: 1.5; color: var(--cx-text); }
.co-terms input { flex: none; }
.co-terms a { font-weight: 500; text-decoration: underline; text-underline-offset: 2px; }
.co-terms .req { color: var(--nx-danger); }
.co-page .cx-sum > .btn { margin-top: 16px; }
.co-page .cx-secure { margin-top: 20px; }
.co-page .cx-secure .cx-trust { margin-top: 12px; }

/* No sticky bar on this page, so the room the cart leaves for it is given back. */
@media (max-width: 980px) { .co-page .cartx-wrap { padding-bottom: 72px; } }
@media (max-width: 700px) {
  .co-page { --co-row: 20px; --co-col: 16px; }
  .co-page .cx-panel { padding: 20px 16px; }
  .co-head { gap: 12px; margin-bottom: 20px; }
  .co-head .cx-tile { width: 40px; height: 40px; }
  .co-head:has(> .cx-link) { flex-wrap: wrap; row-gap: 6px; }   /* the link drops under the text, so a long email keeps the line */
  .co-head > .cx-link { flex-basis: 100%; margin-left: 52px; }
  .co-choice { grid-template-columns: 1fr; margin-bottom: 24px; }
  .co-page .input { font-size: 16px; }   /* no zoom on focus in iOS */
  .co-page .tldx-group { padding: 16px 16px 0; }
}
