/* Nabtech Default scoped repair 4.1.1.
   Matches the existing domain-choice control height without resizing cards.
   Gives native WHMCS product-description HTML a consistent presentation.
   NO hero, search results, TLD spotlight or background rules. */

/* Every domain-choice option uses ONE control height.  Do not manipulate radio
   labels, panel padding, option layout or the active WHMCS event handlers. */
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs {
  --nd-choice-height: 52px;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs > .row,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row {
  align-items: stretch !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row > [class*="col-"],
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs > .row > [class*="col-"] {
  align-self: stretch !important;
  min-height: 0 !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .input-group,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row input.form-control,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row select.form-control:not(.select2-hidden-accessible),
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .select2-container,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .select2-container .select2-selection--single,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row :is(.nice-select,.pretty-select,.bootstrap-select,.ts-wrapper,.ts-control,.choices,.choices__inner,.ss-main,.ss-single-selected) {
  height: var(--nd-choice-height) !important;
  min-height: var(--nd-choice-height) !important;
  max-height: var(--nd-choice-height) !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row input.form-control,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row select.form-control:not(.select2-hidden-accessible),
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row :is(.select2-container,.nice-select,.pretty-select,.bootstrap-select,.ts-wrapper,.choices,.ss-main) {
  width: 100% !important;
  max-width: 100% !important;
}
/* The Select2 shell can be 52px while its inner selection defaults to 35px:
   size all three parts explicitly and keep the native select hidden. */
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .select2-container .select2-selection--single .select2-selection__rendered {
  height: calc(var(--nd-choice-height) - 2px) !important;
  line-height: calc(var(--nd-choice-height) - 2px) !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .select2-container .select2-selection--single .select2-selection__arrow {
  top: 0 !important;
  height: calc(var(--nd-choice-height) - 2px) !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row :is(.nice-select,.pretty-select,.ts-control,.choices__inner,.ss-single-selected) {
  display: flex !important;
  align-items: center !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs > .row > [class*="col-"] > button[type="submit"] {
  height: var(--nd-choice-height) !important;
  min-height: var(--nd-choice-height) !important;
  max-height: var(--nd-choice-height) !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
}
/* Keep the cart-domain selector matched as well, without altering its widths. */
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser #domainincart .select2-container,
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser #domainincart .select2-selection--single {
  height: var(--nd-choice-height) !important;
  min-height: var(--nd-choice-height) !important;
}

/* The "52px" goal includes the button and any plugin-rendered select,
   while the existing option panel height and margins remain unchanged. */
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .select2-container--default .select2-selection--single {
  height: var(--nd-choice-height) !important;
  min-height: var(--nd-choice-height) !important;
  max-height: var(--nd-choice-height) !important;
}
#order-standard_cart.ndu-configureproductdomain .nd-domain-chooser .nd-domain-inputs .domains-row .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: calc(var(--nd-choice-height) - 2px) !important;
}
/* Premium, readable WHMCS product feature descriptions.
   Row classes are populated by the separate, content-preserving formatter;
   native ul/li markup also has a useful no-JS layout. */
#order-standard_cart.ndu-configureproduct .nd-description-detail.nd-product-description {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: #51647c !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 245px), 1fr)) !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 8px 0 14px !important;
  list-style: none !important;
  max-width: 100% !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) > :is(li,.nd-feature-line) {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 54px !important;
  padding: 14px 14px 13px 45px !important;
  margin: 0 !important;
  border: 1px solid #e1eaf4 !important;
  border-radius: 13px !important;
  background: linear-gradient(145deg, #fff 0%, #f8fbff 100%) !important;
  color: #455a75 !important;
  font-size: 13.5px !important;
  font-weight: 450 !important;
  line-height: 1.5 !important;
  box-shadow: 0 4px 14px rgba(20, 61, 109, .035) !important;
  overflow-wrap: anywhere !important;
  white-space: normal !important;
  list-style: none !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) > :is(li,.nd-feature-line)::before {
  content: "✓" !important;
  display: grid !important;
  place-items: center !important;
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  width: 21px !important;
  height: 21px !important;
  border: 1px solid #bce9de !important;
  border-radius: 50% !important;
  background: #e5f8f2 !important;
  color: #078b79 !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) > :is(li,.nd-feature-line) :is(b,strong) {
  color: #193a5d !important;
  font-weight: 850 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) > :is(li,.nd-feature-line) :is(div,p,span) {
  max-width: 100% !important;
  white-space: normal !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) > :is(li,.nd-feature-line) > :is(p,div) {
  padding: 0 !important;
  margin: 0 !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail > :is(p,div):not(.nd-feature-collection) {
  line-height: 1.7 !important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(a) {
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}
@media (max-width: 600px) {
  #order-standard_cart.ndu-configureproduct .nd-description-detail :is(ul,ol,.nd-feature-collection) {
    grid-template-columns: minmax(0,1fr) !important;
  }
}

/* Standalone spans and divs identified by the existing WHMCS formatter need
   the same treatment even when the content has no outer <ul> wrapper. */
#order-standard_cart.ndu-configureproduct .nd-description-detail > .nd-feature-line,
#order-standard_cart.ndu-configureproduct .nd-description-detail > :is(div,p) > .nd-feature-line {
  position:relative!important;display:block!important;min-height:52px!important;
  padding:13px 15px 13px 44px!important;margin:0 0 9px!important;
  border:1px solid #e1eaf4!important;border-radius:13px!important;
  background:linear-gradient(145deg,#fff,#f8fbff)!important;
  color:#455a75!important;font-size:13.5px!important;line-height:1.5!important;
  box-shadow:0 4px 14px rgba(20,61,109,.035)!important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail > .nd-feature-line::before,
#order-standard_cart.ndu-configureproduct .nd-description-detail > :is(div,p) > .nd-feature-line::before {
  content:"✓"!important;display:grid!important;place-items:center!important;
  position:absolute!important;top:14px!important;left:14px!important;
  width:21px!important;height:21px!important;border-radius:50%!important;
  background:#e5f8f2!important;border:1px solid #bce9de!important;
  color:#078b79!important;font-size:11px!important;font-weight:900!important;
}
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(.nd-feature-line,.nd-feature-item) b,
#order-standard_cart.ndu-configureproduct .nd-description-detail :is(.nd-feature-line,.nd-feature-item) strong{
  color:#193a5d!important;font-weight:850!important;
}
