/* Native Standard Cart still owns fields, totals, validation and submission. */
body.ns-agency #order-standard_cart { color: #10283f; font-family: Manrope, Arial, sans-serif; }
body.ns-agency #order-standard_cart .header-lined h1 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.045em; color: #10283f; }
body.ns-agency #order-standard_cart .header-lined { border-bottom: 1px solid #d2dce7; margin-bottom: 28px; padding-bottom: 18px; }
body.ns-agency #order-standard_cart .sub-heading { border-color: #d2dce7; }
body.ns-agency #order-standard_cart .sub-heading span { color: #10283f; font-family: Manrope, Arial, sans-serif; font-weight: 600; background: #fff; }
body.ns-agency #order-standard_cart .product-info { background: #f3f6fa; border: 1px solid #d2dce7; padding: 25px; border-radius: 8px; }
body.ns-agency #order-standard_cart .product-info .product-title { font-size: 1.4rem; font-weight: 600; }
body.ns-agency #order-standard_cart .order-summary { background: #ddeaff; border: 1px solid #d2dce7; border-radius: 8px; box-shadow: none; }
body.ns-agency #order-standard_cart .order-summary h2 { color: #10283f; background: #ddeaff !important; font-size: 1.4rem; font-weight: 600; padding: 20px; }
body.ns-agency #order-standard_cart .order-summary .summary-container { background: #fff; color: #10283f; margin: 0 10px 10px; border-radius: 3px; padding: 20px; }
body.ns-agency #order-standard_cart .order-summary .total-due-today { background: #f3f6fa; color: #10283f; border-color: #d2dce7; padding: 15px; }
body.ns-agency #order-standard_cart .order-summary .total-due-today .amt { color: #10283f; font-size: 1.8rem; }
body.ns-agency #order-standard_cart .field, body.ns-agency #order-standard_cart .form-control { border-color: #8194a8; border-radius: 8px; min-height: 46px; color: #10283f; }
body.ns-agency #order-standard_cart .form-control:focus { border-color: #245bdb; box-shadow: 0 0 0 2px #ddeaff; }
body.ns-agency #order-standard_cart .btn-primary { color: #fff; background: #245bdb; border-color: #245bdb; border-radius: 8px; padding: 13px 22px; font-weight: 600; }
body.ns-agency #order-standard_cart .btn-primary:hover { background: #1849bb; border-color: #1849bb; }
body.ns-agency #order-standard_cart .btn-success { background: #10283f; border-color: #10283f; color: #fff; }
body.ns-agency #order-standard_cart .view-cart-items-header { background: #10283f; color: #fff; border-radius: 8px 4px 0 0; }
body.ns-agency #order-standard_cart .view-cart-items { border-color: #d2dce7; }
body.ns-agency #order-standard_cart .view-cart-items .item:nth-child(even) { background: #f3f6fa; }
body.ns-agency #order-standard_cart .alert { border-radius: 8px; }
body.ns-agency #order-standard_cart .text-muted { color: #526477 !important; }
body.ns-agency #order-standard_cart .btn:focus-visible, body.ns-agency #order-standard_cart a:focus-visible { outline: 3px solid #245bdb; outline-offset: 3px; }
body.ns-agency #order-standard_cart .ns-cart-navigation { border: 1px solid #d2dce7; border-radius: 8px; margin-bottom: 24px; background: #f3f6fa; }
body.ns-agency #order-standard_cart .ns-cart-navigation summary { cursor: pointer; padding: 14px 18px; font-size: .9rem; font-weight: 600; color: #10283f; }
body.ns-agency #order-standard_cart .ns-cart-navigation summary:focus-visible { outline: 3px solid #245bdb; outline-offset: 3px; }
body.ns-agency #order-standard_cart .ns-cart-navigation[open] summary { border-bottom: 1px solid #d2dce7; }
body.ns-agency #order-standard_cart .ns-cart-navigation-body { padding: 16px; display: flow-root; }
body.ns-agency #order-standard_cart .ns-cart-navigation-body .panel { margin-bottom: 12px; }
body.ns-agency #order-standard_cart .ns-cart-navigation-body .panel-title { font-size: .95rem; }
body.ns-agency #order-standard_cart .ns-cart-navigation-body .float-right { float: none !important; }
body.ns-agency #order-standard_cart .ns-cart-navigation-body select { width: 100%; }
@media (max-width: 767px) {
  /* Counter the parent's important zero padding so nested Bootstrap rows fit. */
  body.ns-agency #order-standard_cart .cart-body { padding-left: 15px !important; padding-right: 15px !important; }
  body.ns-agency #order-standard_cart .product-info { padding: 20px; }
  body.ns-agency #order-standard_cart .order-summary { margin-top: 24px; }
  body.ns-agency #order-standard_cart .order-summary .summary-container { padding: 16px; }
}

/* Native route-specific principal action. Ordinary controls retain blue. */
body.ns-agency #order-standard_cart #btnCompleteProductConfig,
body.ns-agency #order-standard_cart #checkout,
body.ns-agency #order-standard_cart #btnCompleteOrder {
 background: #ff784f; border: 1px solid #10283f; color: #10283f; border-radius: 6px;
}
body.ns-agency #order-standard_cart #btnCompleteProductConfig:hover,
body.ns-agency #order-standard_cart #checkout:hover,
body.ns-agency #order-standard_cart #btnCompleteOrder:hover { background: #f2663e; color: #10283f; }
/* Disabled checkout is visibly unavailable, not a faded coral action. */
body.ns-agency #order-standard_cart #checkout.disabled,
body.ns-agency #order-standard_cart #checkout[disabled],
body.ns-agency #order-standard_cart #checkout[aria-disabled="true"],
body.ns-agency #order-standard_cart #btnCompleteOrder:disabled,
body.ns-agency #order-standard_cart #btnCompleteProductConfig:disabled {
 background: #f3f6fa; color: #526477; border-color: #8194a8; opacity: 1; cursor: not-allowed;
}

/* The registrar's absolute search button obscures its multi-line input. Keep
   the native field, filters and handlers in a readable normal-flow layout. */
body.ns-agency #order-standard_cart #frmDomainChecker .input-group-box:has(#message) { display: flex; flex-wrap: wrap; gap: 12px; }
body.ns-agency #order-standard_cart #frmDomainChecker #message { display: block; width: 100%; flex: 0 0 100%; min-height: 140px; padding: 12px; border: 1px solid #8194a8; border-radius: 6px; font: inherit; resize: vertical; }
body.ns-agency #order-standard_cart #frmDomainChecker .input-group-box:has(#message) #btnCheckAvailability { position: static; width: 100%; margin: 0; float: none; }
body.ns-agency #order-standard_cart #frmDomainChecker .input-group-box:has(#message) .btn-group { max-width: 100%; }
body.ns-agency #order-standard_cart .domain-checker-advanced { background: #ddeaff; color: #10283f; border: 1px solid #d2dce7; border-radius: 8px; }
body.ns-agency #order-standard_cart .domain-checker-advanced .domain-checker-bg { background: none; }

/* Configuration only: selected service and the native total precede utilities.
   Native fields, summary refresh and submit handler retain their identifiers. */
#order-standard_cart.ns-configure-product .cart-body { width: 100%; }
#order-standard_cart.ns-configure-product > .row > .cart-body > .ns-cart-navigation { margin-top: 24px; }
@media (max-width: 767px) {
  #order-standard_cart.ns-configure-product #frmConfigureProduct > .row { display: flex; flex-direction: column; }
  #order-standard_cart.ns-configure-product .secondary-cart-sidebar { order: 0; }
  #order-standard_cart.ns-configure-product .secondary-cart-sidebar,
  #order-standard_cart.ns-configure-product .secondary-cart-body { float: none; width: 100%; }
  #order-standard_cart.ns-configure-product .order-summary { margin-top: 0; }
  #order-standard_cart.ns-configure-product #orderSummary { position: static !important; margin-bottom: 24px; }
  #order-standard_cart.ns-configure-product .product-info { margin-bottom: 20px; }
}

/* Open configuration utilities expose their native contained panels. */
#order-standard_cart.ns-configure-product > .row > .cart-body > details.ns-cart-navigation[open] .ns-cart-navigation-body .collapsable-card-body { display: block !important; }

/* Keep the native calculated price before configuration fields in reading order.
   The submit control remains after all fields and options. */
#order-standard_cart.ns-configure-product #frmConfigureProduct > .row.ns-price-first-layout {
  display: grid !important;
  margin-inline: 0;
  grid-template-columns: minmax(290px, 1fr) minmax(0, 2fr);
  grid-template-areas: "summary configuration";
  align-items: start;
  column-gap: 24px;
}
#order-standard_cart.ns-configure-product #frmConfigureProduct > .row.ns-price-first-layout > .secondary-cart-sidebar {
  grid-area: summary;
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
}
#order-standard_cart.ns-configure-product #frmConfigureProduct > .row.ns-price-first-layout > .secondary-cart-body {
  grid-area: configuration;
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
}
#order-standard_cart.ns-configure-product .ns-configure-actions { margin-top: 24px; text-align: right; }
@media (max-width: 991px) {
  #order-standard_cart.ns-configure-product #frmConfigureProduct > .row.ns-price-first-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "summary" "configuration";
  }
  #order-standard_cart.ns-configure-product #orderSummary { position: static !important; margin-bottom: 24px; }
  #order-standard_cart.ns-configure-product .ns-configure-actions { text-align: left; }
}

/* Configuration-view prototype: carry the public Inter/petrol/sage/peach
   language into the native cart without replacing its fields or error states. */
@font-face {
  font-family: "Novasean Inter";
  src: url("../inter-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
body #order-standard_cart {
  color: #172f37;
  font-family: "Novasean Inter", system-ui, sans-serif;
  font-variant-numeric: tabular-nums;
}
body #order-standard_cart .header-lined,
body #order-standard_cart .sub-heading { border-color: #ccd7ce; }
body #order-standard_cart .header-lined h1,
body #order-standard_cart .sub-heading span,
body #order-standard_cart .product-info .product-title {
  color: #172f37;
  font-family: "Novasean Inter", system-ui, sans-serif;
}
body #order-standard_cart .product-info,
body #order-standard_cart .ns-cart-navigation,
body #order-standard_cart .view-cart-items .item:nth-child(even) {
  background: #f7f8f3;
  border-color: #ccd7ce;
}
body #order-standard_cart .order-summary {
  background: #dfead4;
  border-color: #ccd7ce;
}
body #order-standard_cart .order-summary h2 {
  color: #172f37;
  background: #dfead4 !important;
}
body #order-standard_cart .order-summary .summary-container {
  color: #172f37;
  background: #fff;
}
body #order-standard_cart .order-summary .total-due-today {
  color: #172f37;
  background: #f7f8f3;
  border-color: #ccd7ce;
}
body #order-standard_cart .order-summary .total-due-today .amt { color: #172f37; }
body #order-standard_cart .view-cart-items-header,
body #order-standard_cart .btn-success { background: #172f37; border-color: #172f37; }
body #order-standard_cart .view-cart-items { border-color: #ccd7ce; }
body #order-standard_cart .field,
body #order-standard_cart .form-control { color: #172f37; border-color: #82988a; }
body #order-standard_cart .form-control:focus {
  border-color: #175a46;
  box-shadow: 0 0 0 3px #dfead4;
}
body #order-standard_cart .btn-primary { background: #172f37; border-color: #172f37; }
body #order-standard_cart .btn-primary:hover { background: #365057; border-color: #365057; }
body #order-standard_cart #btnCompleteProductConfig,
body #order-standard_cart #checkout,
body #order-standard_cart #btnCompleteOrder {
  color: #172f37;
  background: #ffc69f;
  border-color: #172f37;
}
body #order-standard_cart #btnCompleteProductConfig:hover,
body #order-standard_cart #checkout:hover,
body #order-standard_cart #btnCompleteOrder:hover { background: #f5b88f; }
body #order-standard_cart .btn:focus-visible,
body #order-standard_cart a:focus-visible,
body #order-standard_cart .ns-cart-navigation summary:focus-visible {
  outline: 3px solid #175a46;
  outline-offset: 3px;
}
body #order-standard_cart .text-muted { color: #4d646a !important; }
body #order-standard_cart .ns-cart-navigation summary { color: #172f37; }
body #order-standard_cart .ns-cart-navigation[open] summary { border-color: #ccd7ce; }
body #order-standard_cart .cart-empty,
body #order-standard_cart .empty-cart { color: #172f37; background: #f7f8f3; }
body #order-standard_cart #checkout.disabled,
body #order-standard_cart #checkout[disabled],
body #order-standard_cart #checkout[aria-disabled="true"],
body #order-standard_cart #btnCompleteOrder:disabled,
body #order-standard_cart #btnCompleteProductConfig:disabled {
  color: #586963;
  background: #e2e7e2;
  border-color: #82988a;
  opacity: 1;
  cursor: not-allowed;
}

/* Product 100 OS choice: make keyboard focus visible without changing the field box. */
#order-standard_cart.ns-configure-product #customfield156:focus-visible {
  outline: 3px solid #175a46;
  outline-offset: 3px;
}
