/* BDS native domain registration + transfer R5.3 (2026-10-09)
   Presentation only. WHMCS AJAX/status/cart lifecycle remains authoritative.
   All selectors scoped to the two opt-in bds-cart templates. */
#order-standard_cart.bds-native-domain-r53 {
  --r53-blue:#0647cc;--r53-ink:#111b38;--r53-muted:#61708b;
  --r53-line:#dfe7f6;--r53-soft:#f3f7ff;
  color:var(--r53-ink); max-width:100%; min-width:0;
}
#order-standard_cart.bds-native-domain-r53 *,
#order-standard_cart.bds-native-domain-r53 *::before,
#order-standard_cart.bds-native-domain-r53 *::after {box-sizing:border-box}
#order-standard_cart.bds-native-domain-r53 .cart-body,
#order-standard_cart.bds-native-domain-r53 .cart-sidebar {min-width:0}
#order-standard_cart.bds-native-domain-r53 .cart-body {padding-bottom:34px}
#order-standard_cart.bds-native-domain-r53 .header-lined {
  border:1px solid var(--r53-line)!important;
  border-radius:20px!important; padding:22px 25px!important;
  background:linear-gradient(125deg,#fff,#f2f6ff)!important;
  box-shadow:0 12px 28px rgba(15,44,101,.065)!important;
  text-align:left!important;margin:0 0 18px!important;
}
#order-standard_cart.bds-native-domain-r53 .header-lined h1 {
  color:#111c3d!important; font-size:clamp(25px,3.2vw,36px)!important;
  line-height:1.2!important;letter-spacing:-.03em!important;
  margin:10px 0 0!important;font-weight:850!important;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-kicker {
  display:inline-flex;align-items:center;gap:7px;
  font-size:11px;font-weight:850;letter-spacing:.09em;
  color:#1254bc;background:#eaf2ff;border:1px solid #dce9ff;
  border-radius:999px;padding:6px 12px;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-steps {
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
  gap:9px;margin:0 0 16px;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-step {
  display:flex;align-items:center;gap:8px;min-width:0;
  padding:11px 12px;border:1px solid var(--r53-line);
  border-radius:13px;background:#fff;font-size:12px;
  color:#364563;font-weight:750;line-height:1.35;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-step-number {
  flex:0 0 24px;width:24px;height:24px;border-radius:8px;
  background:#e8f1ff;color:var(--r53-blue);display:grid;
  place-items:center;font-weight:900;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-step:first-child {
  border-color:#b9d0f7;background:#f3f8ff;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-intro {
  font-size:13px;line-height:1.6;color:var(--r53-muted);
  margin:0 0 10px!important;
}
#order-standard_cart.bds-native-domain-r53 .domain-checker-container {
  margin:0 0 18px!important;padding:14px!important;
  background:linear-gradient(130deg,#f3f7ff,#fff)!important;
  border:1px solid var(--r53-line)!important;
  border-radius:21px!important;box-shadow:0 14px 34px rgba(18,48,105,.06)!important;
}
#order-standard_cart.bds-native-domain-r53 .domain-checker-bg {
  background-image:none!important;padding:12px 8px!important;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainChecker .row,
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .row {margin-left:0;margin-right:0}
#order-standard_cart.bds-native-domain-r53 #frmDomainChecker .row > [class*="col-"],
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .row > [class*="col-"] {
  float:none;min-width:0;width:100%;max-width:100%;flex:0 0 100%;
  margin:0!important;padding:0!important;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-field-label {
  display:block;font-size:13px;font-weight:800;color:#283d63;
  margin:0 0 10px 3px;
}
#order-standard_cart.bds-native-domain-r53 .domain-checker-container .input-group-box {
  display:flex;align-items:center;gap:9px;
  border:1px solid #d7e2f5!important;border-radius:15px!important;
  padding:7px!important;margin:0!important;
  background:#fff!important;min-width:0;max-width:100%;overflow:visible!important;
  box-shadow:0 8px 25px rgba(20,55,122,.07)!important;
}
#order-standard_cart.bds-native-domain-r53 #inputDomain {
  min-width:0;flex:1 1 0;height:51px!important;min-height:51px!important;
  margin:0!important;padding:11px 16px!important;
  border:0!important;border-radius:11px!important;background:transparent!important;
  box-shadow:none!important;color:#14244b;font-size:16px!important;
}
#order-standard_cart.bds-native-domain-r53 #inputDomain:focus {
  outline:2px solid rgba(9,90,212,.22);outline-offset:-2px;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainChecker .input-group-btn,
#order-standard_cart.bds-native-domain-r53 #frmDomainChecker .input-group-append {
  flex:none!important;width:auto!important;min-width:0;margin:0!important;display:block!important;
}
#order-standard_cart.bds-native-domain-r53 #btnCheckAvailability {
  width:auto!important;min-width:126px;max-width:100%;
  min-height:51px!important;height:51px!important;
  border-radius:11px!important;box-shadow:0 8px 22px rgba(8,66,184,.2)!important;
  font-weight:800!important;font-size:14px!important;
}
#order-standard_cart.bds-native-domain-r53 .captcha-container {
  margin:15px 0 0!important;padding:12px 8px;
}
/* Preserve jQuery's display:none and the native .w-hidden state, despite
   global .btn-primary { display:inline-flex!important } in the existing theme. */
#order-standard_cart.bds-native-domain-r53 .w-hidden:not([style]),
#order-standard_cart.bds-native-domain-r53 [style*="display: none"],
#order-standard_cart.bds-native-domain-r53 [style*="display:none"] {display:none!important}
#order-standard_cart.bds-native-domain-r53 #DomainSearchResults {
  margin:4px 0 23px;min-width:0;
}
#order-standard_cart.bds-native-domain-r53 #searchDomainInfo {
  text-align:left!important;margin:0 0 17px!important;
  padding:15px 18px!important;background:#fff;
  border:1px solid var(--r53-line);border-radius:20px;
  box-shadow:0 13px 35px rgba(12,44,96,.065);
  font-size:14px!important;min-width:0;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-result-title {
  display:flex;align-items:center;gap:9px;
  font-size:13px;font-weight:850;color:#253b69;
  margin:1px 0 9px;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-dot {
  width:9px;height:9px;flex:0 0 9px;border-radius:50%;
  background:#f97316;box-shadow:0 0 0 5px #fff3e9;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupSearching {
  font-size:13px!important;color:#40547b!important;margin:8px 0!important;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult {
  margin:0!important;padding:0!important;min-width:0;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;overflow:visible!important;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult p {
  overflow-wrap:anywhere;word-break:normal;line-height:1.5;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-available {
  color:#14734b!important;background:#effcf5;
  border:1px solid #b8e9cc;border-radius:13px;
  padding:14px 16px!important;margin:8px 0!important;
  font-size:clamp(14px,2.3vw,19px)!important;
  font-weight:800!important;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-unavailable,
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-tld-unavailable,
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-invalid,
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-error {
  color:#a4332c!important;background:#fff5f4;
  border:1px solid #f8d6d3;border-radius:13px;
  padding:13px 15px!important;margin:8px 0!important;font-size:14px!important;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-price {
  float:none!important;max-width:100%;
  margin:12px 0 0!important;padding:12px!important;
  background:#f0f6ff!important;border:1px solid #dce8fc!important;
  border-radius:14px!important;
  color:#173560!important;
  /* CSS display is not !important: jQuery .hide() wins when appropriate. */
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-price .price {
  min-width:0;flex:1 1 140px;color:#102b69!important;
  font-size:clamp(17px,2vw,22px)!important;font-weight:900!important;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult .btn-add-to-cart {
  min-width:180px;width:auto!important;min-height:47px!important;
  border-radius:11px!important;padding:9px 18px!important;
  background:linear-gradient(135deg,#075bd9,#0039b5)!important;
  border:0!important;color:#fff!important;white-space:normal;
  font-size:14px!important;
}
#order-standard_cart.bds-native-domain-r53 #primaryLookupResult > .domain-contact-support {
  width:auto!important;max-width:100%;min-height:43px!important;
  border-radius:11px!important;padding:10px 19px!important;
  margin:10px 0!important;font-size:13px!important;
}
#order-standard_cart.bds-native-domain-r53 .idn-language-selector {
  margin:14px 0!important;padding:14px!important;
  border:1px solid #dbe8f6;background:#f8fbff;border-radius:13px;
}
/* Legacy spotlight tiles also contain native AJAX-controlled hidden buttons. */
#order-standard_cart.bds-native-domain-r53 #spotlightTlds {
  border:1px solid var(--r53-line);border-radius:19px;
  background:#f8fbff!important;padding:12px!important;
  margin:16px 0!important;
}
#order-standard_cart.bds-native-domain-r53 .spotlight-tlds-container {
  display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));
  gap:10px;margin:0!important;
}
#order-standard_cart.bds-native-domain-r53 .spotlight-tld-container {
  width:auto!important;float:none!important;margin:0;padding:0!important;min-width:0;
}
#order-standard_cart.bds-native-domain-r53 .spotlight-tld {
  min-height:120px;height:auto!important;border:1px solid #e1e9f7!important;
  border-radius:15px!important;box-shadow:none;padding:17px 8px!important;
}
#order-standard_cart.bds-native-domain-r53 .spotlight-tld .btn {max-width:100%;width:auto!important;white-space:normal!important;}
/* Suggestions: original WHMCS clones .domain-suggestion; no DOM rewrite. */
#order-standard_cart.bds-native-domain-r53 .suggested-domains {
  background:#fff;border:1px solid var(--r53-line);
  border-radius:20px!important;overflow:hidden;
  box-shadow:0 14px 30px rgba(22,56,107,.065);
  margin:17px 0!important;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-suggestions-title {
  background:linear-gradient(115deg,#101d4b,#123c92)!important;
  border:0!important;padding:15px 17px!important;
  color:#fff!important;display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:7px;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-suggestions-title span {
  color:#fff!important;font-size:15px;font-weight:850;
}
#order-standard_cart.bds-native-domain-r53 .bds-r53-suggestions-title small {
  color:#d4e3ff;font-size:11px;font-weight:600;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions {
  padding:10px!important;background:#f6f8fd;border:0!important;min-width:0;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .domain-suggestion {
  margin:0 0 9px!important;padding:14px!important;
  min-width:0;overflow:visible!important;clear:both;
  border:1px solid #dfe7f6!important;border-radius:14px!important;
  box-shadow:none!important;background:#fff!important;
  color:#12234c;font-size:13px!important;
  line-height:1.45!important;
  text-align:left!important;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .domain-suggestion:last-child {margin-bottom:0!important}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .domain,
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .extension {
  font-size:14px!important;font-weight:850!important;
  overflow-wrap:anywhere;word-break:break-word;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .promo {
  display:inline-flex;vertical-align:middle;margin-left:6px;
  border-radius:6px;padding:3px 7px;font-size:10px;font-weight:800;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions {
  float:none!important;position:static!important;
  display:flex;align-items:center;justify-content:space-between;
  flex-wrap:wrap;gap:9px;width:100%!important;max-width:100%;
  margin:11px 0 0!important;padding:0!important;min-width:0;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions .price {
  display:inline-block;margin:0!important;padding:0!important;
  font-size:15px!important;color:#123a8b!important;font-weight:850!important;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions .btn {
  margin:0!important;width:auto!important;max-width:100%;min-width:122px;
  min-height:40px!important;border-radius:10px!important;
  padding:8px 13px!important;font-size:12px!important;line-height:1.25!important;
  white-space:normal;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .btn-add-to-cart {
  background:linear-gradient(135deg,#075bd9,#0039b5)!important;
  color:#fff!important;border:0!important;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .domain-contact-support {
  background:#e9f0ff!important;color:#123f95!important;
  border:1px solid #c9d9f6!important;box-shadow:none!important;
}
#order-standard_cart.bds-native-domain-r53 #domainSuggestions .panel-footer,
#order-standard_cart.bds-native-domain-r53 .more-suggestions {
  background:#f4f8ff!important;padding:13px!important;border-top:1px solid #e0e8f4;
}
#order-standard_cart.bds-native-domain-r53 #moreSuggestions {
  display:inline-flex;justify-content:center;align-items:center;
  color:#0754c8!important;font-size:13px!important;font-weight:850;
  text-decoration:none;padding:5px 12px;
}
#order-standard_cart.bds-native-domain-r53 .domain-suggestions-warning {
  padding:9px 14px 13px!important;color:#66748c!important;font-size:11px!important;
}
#order-standard_cart.bds-native-domain-r53 .domain-suggestions-warning p {margin:0}
#order-standard_cart.bds-native-domain-r53 .domain-promo-box {
  border:1px solid var(--r53-line)!important;background:#fff!important;
  box-shadow:0 10px 28px rgba(16,39,95,.06);
  border-radius:18px!important;margin:16px 0!important;
  padding:22px!important;min-width:0;
}
#order-standard_cart.bds-native-domain-r53 .domain-promo-box h3 {
  font-size:clamp(17px,2vw,21px)!important;line-height:1.25!important;
  font-weight:800!important;color:var(--r53-ink)!important;
}
#order-standard_cart.bds-native-domain-r53 .domain-promo-box .btn {
  min-height:42px!important;width:auto!important;border-radius:10px!important;
}
/* Domain transfer is a separate native order page with EPP/captcha logic kept. */
#order-standard_cart.bds-native-domain-r53 .bds-r53-transfer-intro h2 {
  color:#14234c!important;font-size:clamp(20px,2.6vw,28px)!important;
  font-weight:850!important;margin:14px 0 8px!important;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .panel {
  background:#fff!important;border:1px solid var(--r53-line)!important;
  border-radius:20px!important;overflow:hidden;
  box-shadow:0 15px 38px rgba(12,44,99,.075)!important;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .panel-heading,
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .panel-footer {
  padding:17px 20px!important;background:#f5f8ff!important;
  border-color:#e1e8f6!important;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .panel-body {padding:22px!important}
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer label {
  font-size:13px;font-weight:800;color:#2f426a;margin-bottom:8px;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .form-control {
  width:100%;height:51px!important;min-height:51px!important;
  background:#fff;border-radius:12px!important;font-size:16px!important;
}
#order-standard_cart.bds-native-domain-r53 #frmDomainTransfer #btnTransferDomain {
  width:auto!important;min-width:185px;max-width:100%;min-height:48px!important;
  border-radius:11px!important;
}
@media(min-width:992px){
  #order-standard_cart.bds-native-domain-r53 .cart-body {padding-left:15px}
}
@media(max-width:767px){
  #order-standard_cart.bds-native-domain-r53 .cart-body {padding:0 10px 24px!important}
  #order-standard_cart.bds-native-domain-r53 .header-lined {padding:18px!important;margin-bottom:12px!important}
  #order-standard_cart.bds-native-domain-r53 .bds-r53-steps {gap:6px}
  #order-standard_cart.bds-native-domain-r53 .bds-r53-step {padding:9px 7px;gap:5px;flex-direction:column;text-align:center;font-size:10px;line-height:1.4}
  #order-standard_cart.bds-native-domain-r53 .bds-r53-step-number {width:23px;height:23px;flex:0 0 23px}
  #order-standard_cart.bds-native-domain-r53 .domain-checker-container {padding:12px!important}
  #order-standard_cart.bds-native-domain-r53 .domain-checker-bg {padding:4px!important}
  #order-standard_cart.bds-native-domain-r53 .domain-checker-container .input-group-box {flex-direction:column;align-items:stretch;border:0!important;box-shadow:none!important;padding:0!important;background:transparent!important;gap:8px}
  #order-standard_cart.bds-native-domain-r53 #inputDomain {flex:none!important;width:100%!important;border:1px solid #d7e2f5!important;background:#fff!important;box-shadow:0 7px 17px rgba(18,44,93,.04)!important}
  #order-standard_cart.bds-native-domain-r53 #frmDomainChecker .input-group-btn,
  #order-standard_cart.bds-native-domain-r53 #frmDomainChecker .input-group-append {width:100%!important;display:block!important}
  #order-standard_cart.bds-native-domain-r53 #btnCheckAvailability {width:100%!important;min-height:49px!important}
  #order-standard_cart.bds-native-domain-r53 #searchDomainInfo {padding:15px!important}
  #order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-price {flex-direction:column;align-items:stretch}
  #order-standard_cart.bds-native-domain-r53 #primaryLookupResult .domain-price .price {flex:0 0 auto}
  #order-standard_cart.bds-native-domain-r53 #primaryLookupResult .btn-add-to-cart {width:100%!important}
  #order-standard_cart.bds-native-domain-r53 #primaryLookupResult > .domain-contact-support {width:100%!important}
  #order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions {gap:8px}
  #order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions .price {min-width:0}
  #order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions .btn {flex:0 0 auto}
  #order-standard_cart.bds-native-domain-r53 .domain-promo-box {margin:12px 0!important}
  #order-standard_cart.bds-native-domain-r53 #frmDomainTransfer .panel-body {padding:15px!important}
}
@media(max-width:360px){
  #order-standard_cart.bds-native-domain-r53 #domainSuggestions .actions .btn {width:100%!important}
  #order-standard_cart.bds-native-domain-r53 .bds-r53-suggestions-title small {display:none}
}
