/**
 * Nexus Extension – Plan card column layout
 * All card rules use #order-standard_cart prefix to beat theme specificity
 */

/* Domain register + transfer: hide standard_cart sidebar (we use our own) and let domain form use full width */
.nexus-domain-register .nexus-domain-register-body .cart-sidebar,
.nexus-domain-register .nexus-domain-register-body > .row > .sidebar,
.nexus-domain-register .nexus-domain-register-body .col-md-5.sidebar,
.nexus-domain-register .nexus-domain-register-body .col-lg-4.sidebar,
.nexus-domain-register .nexus-domain-register-body .sidebar,
.nexus-domain-transfer .nexus-domain-transfer-body .cart-sidebar,
.nexus-domain-transfer .nexus-domain-transfer-body > .row > .sidebar,
.nexus-domain-transfer .nexus-domain-transfer-body .col-md-5.sidebar,
.nexus-domain-transfer .nexus-domain-transfer-body .col-lg-4.sidebar,
.nexus-domain-transfer .nexus-domain-transfer-body .sidebar,
/* WHMCS cart steps / any sidebar column inside domain body */
.nexus-domain-transfer-body #cartSteps,
.nexus-domain-register-body #cartSteps,
.nexus-domain-transfer-body .row > .col-md-5:first-child,
.nexus-domain-transfer-body .row > .col-lg-4:first-child,
.nexus-domain-register-body .row > .col-md-5:first-child,
.nexus-domain-register-body .row > .col-lg-4:first-child {
  display: none !important;
}
/* High specificity: nested #order-standard_cart inside domain body has its own .row > .cart-sidebar — hide it */
#order-standard_cart.nexus-domain-transfer .nexus-domain-transfer-body .row > .cart-sidebar,
#order-standard_cart.nexus-domain-transfer .nexus-domain-transfer-body .cart-sidebar,
#order-standard_cart.nexus-domain-register .nexus-domain-register-body .row > .cart-sidebar,
#order-standard_cart.nexus-domain-register .nexus-domain-register-body .cart-sidebar {
  display: none !important;
}
/* Hide mobile collapsed sidebar duplicate (dropdown) inside domain body */
#order-standard_cart.nexus-domain-transfer .nexus-domain-transfer-body .sidebar-collapsed,
#order-standard_cart.nexus-domain-register .nexus-domain-register-body .sidebar-collapsed {
  display: none !important;
}
.nexus-domain-register .nexus-domain-register-body .col-md-7,
.nexus-domain-register .nexus-domain-register-body .col-lg-8,
.nexus-domain-register .nexus-domain-register-body .primary-content,
.nexus-domain-transfer .nexus-domain-transfer-body .col-md-7,
.nexus-domain-transfer .nexus-domain-transfer-body .col-lg-8,
.nexus-domain-transfer .nexus-domain-transfer-body .primary-content,
.nexus-domain-transfer .nexus-domain-transfer-body .cart-body,
.nexus-domain-register .nexus-domain-register-body .cart-body {
  flex: 1 1 100% !important;
  max-width: 100% !important;
}

/* Hide "Shopping Cart" page title (WHMCS adds it above or inside the order form) */
body.cart .primary-content > h1,
body.cart .primary-content > .header-lined,
body.cart .primary-content > .page-header,
.primary-content:has(#order-standard_cart) > h1,
.primary-content:has(#order-standard_cart) > .header-lined,
.primary-content:has(#order-standard_cart) > .page-header,
#order-standard_cart ~ .header-lined,
#order-standard_cart ~ .page-header {
  display: none !important;
}

/* Domain register/transfer: hide duplicate title and "Shopping Cart" inside included standard_cart content */
.nexus-domain-register-body .page-header,
.nexus-domain-register-body .header-lined,
.nexus-domain-register-body > .row .page-header,
.nexus-domain-register-body > .row .header-lined,
.nexus-domain-transfer-body .page-header,
.nexus-domain-transfer-body .header-lined,
.nexus-domain-transfer-body > .row .page-header,
.nexus-domain-transfer-body > .row .header-lined {
  display: none !important;
}
/* Hide first h1 in domain transfer/register body to remove duplicate "Transfer Domain" / "Register Domain" (form keeps its own heading) */
.nexus-domain-transfer-body > .row > .col-md-7 > h1:first-child,
.nexus-domain-transfer-body > .row > .col-lg-8 > h1:first-child,
.nexus-domain-register-body > .row > .col-md-7 > h1:first-child,
.nexus-domain-register-body > .row > .col-lg-8 > h1:first-child {
  display: none !important;
}

/* ===== TWO-COLUMN LAYOUT (sidebar + main) ===== */
#order-standard_cart .nexus-cart-row {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  gap: 2rem !important;
  max-width: 75rem !important;
  margin: 0 auto !important;
  align-items: flex-start !important;
}

#order-standard_cart .nexus-cart-sidebar {
  flex: 0 0 240px !important;
  width: 240px !important;
  min-width: 0 !important;
}

#order-standard_cart .nexus-cart-body {
  flex: 1 1 0% !important;
  min-width: 0 !important;
}

@media (max-width: 767px) {
  #order-standard_cart .nexus-cart-row {
    flex-direction: column !important;
  }
  #order-standard_cart .nexus-cart-sidebar {
    flex: none !important;
    width: 100% !important;
  }
}

/* Sidebar label */
#order-standard_cart .nexus-cart-sidebar-label {
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  color: var(--nx-muted, #666) !important;
  padding-left: 0.5rem !important;
  margin-bottom: 0.75rem !important;
}

/* ===== CUSTOM SIDEBAR (Nexus Extension) ===== */
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-panel {
  background: var(--nx-card, #fff) !important;
  border: 1px solid var(--nx-border, #e2e8f0) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  margin-bottom: 1.25rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.03) !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-panel:last-child {
  margin-bottom: 0 !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-panel-heading {
  padding: 1rem 1.25rem !important;
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  color: var(--nx-muted, #64748b) !important;
  background: linear-gradient(180deg, var(--nx-bg-muted, #f8fafc) 0%, var(--nx-bg-lifted, #f1f5f9) 100%) !important;
  border-bottom: 1px solid var(--nx-border, #e2e8f0) !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.625rem !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-icon {
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(135deg, rgba(19, 91, 236, 0.12) 0%, rgba(19, 91, 236, 0.06) 100%) !important;
  color: var(--nx-primary, #135bec) !important;
  border-radius: 10px !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-icon .fa,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-icon .fas,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-icon .fa-solid,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-icon .material-symbols-outlined {
  font-size: 1rem !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-badge {
  margin-left: auto !important;
  font-size: 0.6875rem !important;
  padding: 0.25em 0.5em !important;
  background: var(--nx-primary, #135bec) !important;
  color: #fff !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-list,
#order-standard_cart .nexus-cart-sidebar ul.nexus-sidebar-list {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding: 0.5rem 0 !important;
  padding-left: 0 !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-list li,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-list-item,
#order-standard_cart .nexus-cart-sidebar ul.nexus-sidebar-list li {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item,
#order-standard_cart .nexus-cart-sidebar a.nexus-sidebar-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  padding: 0.75rem 1.25rem !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: var(--nx-text, #334155) !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  border-left: 3px solid transparent !important;
}
#order-standard_cart .nexus-cart-sidebar a.nexus-sidebar-item:focus,
#order-standard_cart .nexus-cart-sidebar a.nexus-sidebar-item:visited {
  text-decoration: none !important;
  color: inherit !important;
}
#order-standard_cart .nexus-cart-sidebar a.nexus-sidebar-item:hover {
  background: rgba(19, 91, 236, 0.06) !important;
  color: var(--nx-primary, #135bec) !important;
}
#order-standard_cart .nexus-cart-sidebar a.nexus-sidebar-item.active {
  background: rgba(19, 91, 236, 0.1) !important;
  color: var(--nx-primary, #135bec) !important;
  font-weight: 600 !important;
  border-left-color: var(--nx-primary, #135bec) !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-icon {
  flex-shrink: 0 !important;
  width: 1.75rem !important;
  height: 1.75rem !important;
  min-width: 1.75rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--nx-bg-muted, #f1f5f9) !important;
  color: var(--nx-muted, #94a3b8) !important;
  font-size: 0.75rem !important;
  border-radius: 8px !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item:hover .nexus-sidebar-item-icon,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item.active .nexus-sidebar-item-icon {
  background: rgba(19, 91, 236, 0.1) !important;
  color: var(--nx-primary, #135bec) !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-icon .fa,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-icon .fas,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-icon .fa-solid {
  font-size: 0.875rem !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-label {
  flex: 1 !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-badge {
  font-size: 0.6875rem !important;
  padding: 0.2em 0.45em !important;
  background: var(--nx-muted, #94a3b8) !important;
  color: #fff !important;
  border-radius: 6px !important;
  font-weight: 600 !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-item-static {
  cursor: default !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-panel-body,
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-panel-footer {
  padding: 0.875rem 1.25rem !important;
  font-size: 0.875rem !important;
  border-top: 1px solid var(--nx-border, #e2e8f0) !important;
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-mobile-select {
  padding: 0.875rem 1.25rem !important;
  display: none !important;
}
@media (max-width: 767px) {
  #order-standard_cart .nexus-cart-sidebar .nexus-sidebar-mobile-select {
    display: block !important;
  }
  #order-standard_cart .nexus-cart-sidebar .nexus-sidebar-list {
    display: none !important;
  }
}
#order-standard_cart .nexus-cart-sidebar .nexus-sidebar-mobile-select select {
  width: 100% !important;
  padding: 0.625rem 1rem !important;
  border-radius: 10px !important;
  border: 1px solid var(--nx-border, #e2e8f0) !important;
  font-size: 0.9375rem !important;
  background: var(--nx-card, #fff) !important;
  color: var(--nx-text, #334155) !important;
}

/* Page header */
#order-standard_cart .nexus-page-header {
  margin-bottom: 1.875rem;
}
#order-standard_cart .nexus-store-title {
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  margin: 0 0 0.25rem 0 !important;
  color: var(--nx-text, #333) !important;
}
#order-standard_cart .nexus-store-tagline {
  margin: 0 !important;
  font-size: 1rem !important;
  color: var(--nx-muted, #666) !important;
}

/* ===== PLAN GRID ===== */
#order-standard_cart .nexus-plan-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 1.5rem !important;
  align-items: stretch !important;
}
@media (min-width: 768px) {
  #order-standard_cart .nexus-plan-grid {
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)) !important;
    gap: 1.5rem !important;
  }
  #order-standard_cart .nexus-cart-body .nexus-plan-grid.nexus-plan-stack {
    grid-template-columns: 1fr !important;
  }
}

/* ===== PLAN CARD (horizontal: icon left, content right) ===== */
#order-standard_cart .nexus-plan-card {
  min-width: 0 !important;
  background: var(--nx-card, #fff) !important;
  border-radius: 16px !important;
  padding: 0 !important;
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.08),
    0 4px 12px rgba(0, 0, 0, 0.04) !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  border: 1px solid var(--nx-border, #e2e8f0) !important;
  position: relative !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  overflow: hidden !important;
}
#order-standard_cart .nexus-plan-card:hover {
  border-color: var(--nx-primary, #135bec) !important;
  box-shadow:
    0 8px 24px rgba(19, 91, 236, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06) !important;
  transform: translateY(-2px) !important;
}

/* Stack layout: type Other / Business Website — single column only, card layout unchanged (icon left, content right) */
#order-standard_cart .nexus-cart-body .nexus-plan-grid.nexus-plan-stack {
  grid-template-columns: 1fr !important;
  max-width: 52rem;
  margin: 0 auto;
}

#order-standard_cart
  .nexus-plan-card.nexus-plan-horizontal
  .nexus-plan-icon-col {
  flex: 0 0 100px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: linear-gradient(
    135deg,
    rgba(19, 91, 236, 0.08) 0%,
    rgba(19, 91, 236, 0.04) 100%
  ) !important;
  padding: 1.5rem !important;
}
#order-standard_cart
  .nexus-plan-card.nexus-plan-horizontal
  .nexus-plan-icon-col
  .material-symbols-outlined {
  font-size: 2.75rem !important;
  color: var(--nx-primary, #135bec) !important;
  opacity: 0.95 !important;
}
#order-standard_cart
  .nexus-plan-card.nexus-plan-horizontal
  .nexus-plan-content {
  flex: 1 1 0% !important;
  min-width: 0 !important;
  padding: 1.5rem 1.5rem 1.25rem !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.625rem !important;
}

/* Featured / popular */
#order-standard_cart .nexus-plan-featured {
  background: linear-gradient(
    135deg,
    rgba(19, 91, 236, 0.06) 0%,
    rgba(19, 91, 236, 0.02) 100%
  ) !important;
  border-color: var(--nx-primary, #135bec) !important;
  border-width: 1.5px !important;
}
#order-standard_cart .nexus-plan-featured:hover {
  border-color: var(--nx-primary, #135bec) !important;
  box-shadow:
    0 8px 24px rgba(19, 91, 236, 0.18),
    0 2px 8px rgba(0, 0, 0, 0.06) !important;
}
#order-standard_cart .nexus-plan-featured .nexus-plan-icon-col {
  background: linear-gradient(
    135deg,
    rgba(19, 91, 236, 0.12) 0%,
    rgba(19, 91, 236, 0.06) 100%
  ) !important;
}

/* Product type (e.g. Shared Hosting), tagline, extras */
#order-standard_cart .nexus-plan-product-type {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nx-primary, #135bec);
  margin: 0 0 0.25rem 0;
}
#order-standard_cart .nexus-plan-type,
#order-standard_cart .nexus-plan-group {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--nx-muted, #64748b);
}
#order-standard_cart .nexus-plan-tagline {
  font-size: 0.8125rem;
  color: var(--nx-muted, #64748b);
  margin: 0 0 0.5rem 0;
  font-style: italic;
}
#order-standard_cart .nexus-plan-shortdesc {
  font-size: 0.8125rem;
  color: var(--nx-text-secondary, #334155);
  margin: 0 0 0.5rem 0;
  line-height: 1.4;
}
/* Bundle card: match shared hosting plan card styles for tagline and short description */
#order-standard_cart .nexus-plan-bundle .nexus-plan-tagline {
  font-size: 0.8125rem !important;
  color: var(--nx-muted, #64748b) !important;
  margin: 0 0 0.5rem 0 !important;
  font-style: italic !important;
  line-height: 1.4 !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-shortdesc {
  font-size: 0.8125rem !important;
  color: var(--nx-text-secondary, #334155) !important;
  margin: 0 0 0.5rem 0 !important;
  line-height: 1.4 !important;
}
/* Bundle card description list: match shared hosting (override inline styles from WHMCS bundle description) */
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc,
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc ul,
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc li {
  color: var(--nx-text-secondary, #334155) !important;
  font-size: 0.8125rem !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc ul {
  list-style: none !important;
  list-style-type: none !important;
  margin: 0 !important;
  margin-left: 0 !important;
  padding-left: 0 !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc li {
  margin-bottom: 0.5rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  line-height: 1.4 !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc .material-symbols-outlined,
#order-standard_cart .nexus-plan-bundle .nexus-plan-desc .nexus-feature-check {
  color: var(--nx-success, #10b981) !important;
  flex-shrink: 0 !important;
  font-size: 1.125rem !important;
}
/* Bundle breakdown (HTML list from Nexus Extension) — overrides .nexus-plan-features when inside breakdown */
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown {
  font-size: 0.8125rem !important;
  color: var(--nx-text-secondary, #334155) !important;
  line-height: 1.4 !important;
  margin: 0.5rem 0 0 0 !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown ul,
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown ul.nexus-plan-features {
  list-style: none !important;
  padding-left: 0 !important;
  margin: 0 0 0.5rem 0 !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown li,
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown .nexus-plan-features li {
  margin-bottom: 0.25rem !important;
  padding-left: 1.25rem !important;
  position: relative !important;
  display: list-item !important;
  align-items: center !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown li::before,
#order-standard_cart .nexus-plan-bundle .nexus-plan-bundle-breakdown .nexus-plan-features li::before {
  content: "•" !important;
  position: absolute !important;
  left: 0 !important;
  color: var(--nx-primary, #135bec) !important;
  font-weight: 700 !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  margin-top: 0 !important;
  flex-shrink: unset !important;
}
/* Bundle price prefix */
#order-standard_cart .nexus-plan-bundle .nexus-bundle-price-prefix {
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  color: var(--nx-muted, #64748b) !important;
  display: block !important;
  margin-bottom: 0.125rem !important;
}
#order-standard_cart .nexus-plan-extras {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: var(--nx-muted, #64748b);
  margin-top: 0.5rem;
}
#order-standard_cart .nexus-plan-stock {
  font-weight: 500;
}
#order-standard_cart .nexus-plan-requires-domain {
  font-weight: 500;
  color: var(--nx-primary, #135bec);
}

/* Bundle card: validity and uses */
#order-standard_cart .nexus-bundle-validity {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8125rem;
  color: var(--nx-muted, #64748b);
  margin: 0 0 0.25rem 0;
}
#order-standard_cart .nexus-bundle-no-expiry {
  font-weight: 500;
  color: var(--nx-primary, #135bec);
}
#order-standard_cart .nexus-bundle-valid-from,
#order-standard_cart .nexus-bundle-valid-until {
  font-weight: 500;
}
#order-standard_cart .nexus-bundle-uses {
  font-size: 0.8125rem;
  color: var(--nx-muted, #64748b);
  margin: 0 0 0.25rem 0;
}
#order-standard_cart .nexus-bundle-uses .nexus-bundle-uses-label {
  font-weight: 500;
}
#order-standard_cart .nexus-plan-bundle .nexus-bundle-items {
  margin-top: 0.25rem;
}

#order-standard_cart .nexus-plan-badge-retired,
#order-standard_cart .nexus-plan-badge-hidden {
  position: absolute;
  top: 0.875rem;
  right: 1rem;
  font-size: 0.625rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  z-index: 1;
}
#order-standard_cart .nexus-plan-badge-retired {
  background: var(--nx-muted, #64748b);
  color: #fff;
}
#order-standard_cart .nexus-plan-badge-hidden {
  background: var(--nx-warning, #f59e0b);
  color: #fff;
}
#order-standard_cart
  .nexus-plan-card:has(.nexus-popular-badge)
  .nexus-plan-badge-retired,
#order-standard_cart
  .nexus-plan-card:has(.nexus-popular-badge)
  .nexus-plan-badge-hidden {
  right: 5rem;
}

/* Popular badge */
#order-standard_cart .nexus-popular-badge {
  position: absolute;
  top: 0.875rem;
  right: 1rem;
  background: var(--nx-primary, #135bec);
  color: #fff;
  padding: 0.3rem 0.75rem;
  border-radius: 6px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  z-index: 1;
}

/* Plan name (horizontal layout) */
#order-standard_cart .nexus-plan-name {
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  margin: 0 !important;
  color: var(--nx-text, #0f172a) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.01em !important;
}

/* Description — clean, override inline styles */
#order-standard_cart .nexus-plan-desc {
  font-size: 0.8125rem !important;
  color: var(--nx-muted, #64748b) !important;
  line-height: 1.5 !important;
  margin: 0 !important;
}
#order-standard_cart .nexus-plan-desc-placeholder {
  font-style: italic !important;
  color: var(--nx-muted, #94a3b8) !important;
  margin: 0 !important;
}
#order-standard_cart .nexus-plan-desc p {
  margin: 0 0 0.5rem 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}
#order-standard_cart .nexus-plan-desc p:last-child {
  margin-bottom: 0 !important;
}
#order-standard_cart .nexus-plan-desc ul,
#order-standard_cart .nexus-plan-desc ol {
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin: 0 !important;
}
#order-standard_cart .nexus-plan-desc li {
  position: relative !important;
  list-style: none !important;
  list-style-type: none !important;
  padding-left: 0 !important;
  margin-bottom: 0.5rem !important;
  font-size: inherit !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  line-height: 1.4 !important;
}
#order-standard_cart .nexus-plan-desc li::before,
#order-standard_cart .nexus-plan-desc li::marker {
  content: none !important;
  display: none !important;
}
#order-standard_cart .nexus-plan-desc .material-symbols-outlined,
#order-standard_cart .nexus-plan-desc .nexus-feature-check,
#order-standard_cart .nexus-plan-desc .fa,
#order-standard_cart .nexus-plan-desc .fa-solid,
#order-standard_cart .nexus-plan-desc .fa-check {
  flex-shrink: 0 !important;
  font-size: 1.125rem !important;
  color: var(--nx-success, #10b981) !important;
  margin-right: 0 !important;
  vertical-align: middle !important;
  align-self: center !important;
}

/* Features list */
#order-standard_cart .nexus-plan-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  flex-grow: 1;
}
#order-standard_cart .nexus-plan-features li {
  font-size: 0.8125rem !important;
  margin-bottom: 0.5rem !important;
  color: var(--nx-text-secondary, #334155) !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 0.5rem !important;
  line-height: 1.4 !important;
}
#order-standard_cart .nexus-plan-features li::before {
  content: "" !important;
  flex-shrink: 0 !important;
  width: 1.125rem !important;
  height: 1.125rem !important;
  margin-top: 0.15em !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2310b981'%3E%3Cpath d='M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E")
    center/contain no-repeat !important;
}
#order-standard_cart
  .nexus-plan-features
  li:has(.material-symbols-outlined)::before,
#order-standard_cart .nexus-plan-features li:has(.fa-check)::before,
#order-standard_cart .nexus-plan-features li:has(.fa-solid)::before {
  display: none !important;
}
#order-standard_cart .nexus-plan-features .material-symbols-outlined,
#order-standard_cart .nexus-plan-features .nexus-feature-check,
#order-standard_cart .nexus-plan-features .fa,
#order-standard_cart .nexus-plan-features .fa-solid,
#order-standard_cart .nexus-plan-features .fa-check {
  flex-shrink: 0 !important;
  font-size: 1.125rem !important;
  color: var(--nx-success, #10b981) !important;
  margin-right: 0.5rem !important;
  vertical-align: middle !important;
}
#order-standard_cart .nexus-plan-features .feature-value {
  flex: 1 !important;
  min-width: 0 !important;
}
#order-standard_cart .nexus-plan-bundle .nexus-plan-features li::before {
  content: none !important;
}
#order-standard_cart .nexus-plan-features-placeholder {
  font-style: italic !important;
  color: var(--nx-muted, #94a3b8) !important;
  list-style: none !important;
}
#order-standard_cart .nexus-plan-features-placeholder::before {
  display: none !important;
}

/* Bundle deal label */
#order-standard_cart .nexus-bundle-label {
  color: var(--nx-primary, #135bec) !important;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.75rem;
}

/* Footer: price + quantity (when stock) + button */
#order-standard_cart .nexus-plan-quantity {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--nx-muted, #64748b);
}
#order-standard_cart .nexus-plan-quantity-label {
  font-weight: 600;
  color: var(--nx-text-secondary, #334155);
}
#order-standard_cart .nexus-plan-footer {
  border-top: 1px solid var(--nx-border, #e2e8f0) !important;
  padding-top: 1rem !important;
  margin-top: auto !important;
  display: flex !important;
  flex-wrap: wrap;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  align-items: center !important;
  gap: 1rem !important;
  flex-wrap: wrap !important;
}
#order-standard_cart .nexus-price-block {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.125rem !important;
}
#order-standard_cart .nexus-price {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--nx-text, #0f172a) !important;
  letter-spacing: -0.02em !important;
}
#order-standard_cart .nexus-cycle {
  font-size: 0.75rem !important;
  color: var(--nx-muted, #64748b) !important;
  font-weight: 500 !important;
}
#order-standard_cart .nexus-from {
  font-size: 0.75rem;
  color: var(--nx-muted, #666);
}
#order-standard_cart .nexus-setup {
  font-size: 0.75rem;
  color: var(--nx-muted, #666);
}

/* Order button */
#order-standard_cart .nexus-order-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  background: var(--nx-primary, #135bec) !important;
  color: #fff !important;
  padding: 0.625rem 1.25rem !important;
  border-radius: 8px !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition:
    background 0.2s,
    transform 0.15s !important;
  white-space: nowrap !important;
  box-shadow: 0 2px 4px rgba(19, 91, 236, 0.2) !important;
}
#order-standard_cart .nexus-order-btn:hover {
  background: var(--nx-primary-hover, #0d47a1) !important;
  color: #fff !important;
  text-decoration: none !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 8px rgba(19, 91, 236, 0.25) !important;
}
#order-standard_cart .nexus-order-btn .material-symbols-outlined {
  font-size: 1.125rem !important;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] #order-standard_cart .nexus-plan-card,
body.nx-dark #order-standard_cart .nexus-plan-card {
  background: var(--nx-card) !important;
  border-color: var(--nx-border) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-card:hover,
body.nx-dark #order-standard_cart .nexus-plan-card:hover {
  border-color: var(--nx-primary) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-featured,
body.nx-dark #order-standard_cart .nexus-plan-featured {
  background: rgba(19, 91, 236, 0.12) !important;
  border-color: #ffc107 !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-name,
body.nx-dark #order-standard_cart .nexus-plan-name {
  color: var(--nx-text) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-features li,
body.nx-dark #order-standard_cart .nexus-plan-features li {
  color: var(--nx-text-secondary) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-price,
body.nx-dark #order-standard_cart .nexus-price {
  color: var(--nx-text) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-footer,
body.nx-dark #order-standard_cart .nexus-plan-footer {
  border-color: var(--nx-border) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-desc,
body.nx-dark #order-standard_cart .nexus-plan-desc {
  color: var(--nx-muted) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-store-title,
body.nx-dark #order-standard_cart .nexus-store-title {
  color: var(--nx-text) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-store-tagline,
body.nx-dark #order-standard_cart .nexus-store-tagline {
  color: var(--nx-muted) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-plan-product-type,
[data-theme="dark"] #order-standard_cart .nexus-plan-type,
[data-theme="dark"] #order-standard_cart .nexus-plan-group,
[data-theme="dark"] #order-standard_cart .nexus-plan-tagline,
[data-theme="dark"] #order-standard_cart .nexus-plan-shortdesc,
[data-theme="dark"] #order-standard_cart .nexus-plan-extras,
[data-theme="dark"] #order-standard_cart .nexus-plan-quantity,
body.nx-dark #order-standard_cart .nexus-plan-product-type,
body.nx-dark #order-standard_cart .nexus-plan-type,
body.nx-dark #order-standard_cart .nexus-plan-group,
body.nx-dark #order-standard_cart .nexus-plan-tagline,
body.nx-dark #order-standard_cart .nexus-plan-shortdesc,
body.nx-dark #order-standard_cart .nexus-plan-quantity,
body.nx-dark #order-standard_cart .nexus-plan-extras {
  color: var(--nx-muted) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-bundle-validity,
[data-theme="dark"] #order-standard_cart .nexus-bundle-uses,
body.nx-dark #order-standard_cart .nexus-bundle-validity,
body.nx-dark #order-standard_cart .nexus-bundle-uses {
  color: var(--nx-muted) !important;
}
[data-theme="dark"] #order-standard_cart .nexus-bundle-items li,
body.nx-dark #order-standard_cart .nexus-bundle-items li {
  color: var(--nx-text-secondary) !important;
}

/* Hide "Powered by" */
body.cart .primary-content > p:last-child,
#order-standard_cart .primary-content > p:last-child {
  display: none !important;
}

#products.nexus-plan-grid {
  display: grid;
  grid-template-columns: 100% !important;
}
/* Optional: Ensure the card takes full width */
#products.nexus-plan-grid .nexus-plan-card {
  width: 100%;
  max-width: 100%;
}
