/**
 * 20X Modern Theme - 20x_cart Child Order Form Stylesheet
 * Based on WHMCS standard_cart architecture.
 *
 * Fully supports:
 * - 7 Dynamic Theme Palettes (Default Royal Blue, Crimson Red, Ruby Red, Scarlet Flame, Cyan, Indigo, Emerald)
 * - Light & Dark Modes
 * - Responsive 2-column desktop & single-column mobile layouts
 * - Accessible form controls, sticky order summary, and seamless step wizard
 */

#order-standard_cart,
#order-standard_cart button,
#order-standard_cart input,
#order-standard_cart select,
#order-standard_cart textarea {
  font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

#order-standard_cart code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

#order-standard_cart .order-price-value,
#order-standard_cart .domain-price,
#order-standard_cart .domain-price .price,
#order-standard_cart .order-summary-line strong,
#order-standard_cart .order-summary-total-amount,
#order-standard_cart .billing-cycle-price,
#order-standard_cart .cart-item-price,
#order-standard_cart .domain-text-input,
#order-standard_cart .domain-prefix-text {
  font-family: 'Nunito Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ==========================================================================
   1. Order Form Wizard & Step Navigation
   ========================================================================== */
.order-steps-nav {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 24px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-xs);
}

.order-steps-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

.order-step-item {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--transition-fast);
}

.order-step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: var(--transition-base);
  flex-shrink: 0;
}

.order-step-info {
  display: flex;
  flex-direction: column;
}

.order-step-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-light);
  font-weight: 700;
}

.order-step-title {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
}

/* Step States */
.order-step-item.active .order-step-badge {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light), 0 2px 8px var(--primary-glow);
}

.order-step-item.active .order-step-title {
  color: var(--primary);
}

.order-step-item.completed .order-step-badge {
  background: var(--primary-light);
  color: var(--primary);
  border-color: var(--primary-border);
}

.order-step-item.completed .order-step-title {
  color: var(--text-main);
}

.order-step-divider {
  flex: 1;
  height: 2px;
  background: var(--border-color);
  margin: 0 16px;
  border-radius: 2px;
  position: relative;
}

.order-step-divider.completed {
  background: var(--primary);
  opacity: 0.5;
}

@media (max-width: 860px) {
  .order-step-info {
    display: none;
  }
  .order-steps-nav {
    padding: 12px 16px;
  }
  .order-step-divider {
    margin: 0 8px;
  }
}

/* ==========================================================================
   2. Order Form Main Layout Grids
   ========================================================================== */
.order-layout-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.order-products-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 1040px) {
  .order-layout-grid,
  .order-products-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* ==========================================================================
   3. Refined Section Cards & Form Containers
   ========================================================================== */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  margin-bottom: 24px;
  overflow: hidden;
  transition: var(--transition-base);
}

.order-card-header {
  padding: 18px 24px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.order-card-header h2,
.order-card-header h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.order-card-header h2 i,
.order-card-header h3 i {
  color: var(--primary);
  font-size: 15px;
}

.order-card-body {
  padding: 24px;
}

.order-card-footer {
  padding: 16px 24px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   4. Sticky Order Summary Sidebar
   ========================================================================== */
.order-summary-sidebar {
  position: sticky;
  top: 90px;
  z-index: 10;
  display: block;
  float: none;
  width: auto;
}

.order-summary-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: visible;
}

.order-summary-head {
  padding: 18px 20px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.order-summary-title {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.order-summary-title i {
  color: var(--primary);
}

.order-summary-count-badge {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--primary-border);
}

.order-summary-product {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.order-summary-product-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 4px;
}

.order-summary-product-group {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.order-summary-breakdown {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-color);
}

.order-summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 0;
  font-size: 13px;
  color: var(--text-body);
}

.order-summary-line.sub-item {
  padding-left: 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-left: 2px solid var(--border-color);
  margin: 3px 0 3px 4px;
}

.order-summary-line strong {
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
}

.order-summary-line .discount-val {
  color: #10b981;
  font-weight: 700;
  font-family: var(--font-mono);
}

.order-summary-total-box {
  padding: 20px;
  background: var(--primary-light);
  border-bottom: 1px solid var(--primary-border);
}

.order-summary-total-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 6px;
}

.order-summary-total-amount {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
  line-height: 1.1;
  margin-bottom: 4px;
}

.order-summary-total-recurring {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.order-summary-actions {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.order-summary-btn-continue,
a.order-summary-btn-continue,
button.order-summary-btn-continue {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  background: var(--primary-gradient, var(--primary)) !important;
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-md, 10px) !important;
  box-shadow: 0 4px 12px var(--primary-glow) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.order-summary-btn-continue:hover,
a.order-summary-btn-continue:hover,
button.order-summary-btn-continue:hover {
  background: var(--primary-hover) !important;
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px var(--primary-glow) !important;
}

.order-summary-btn-continue:active,
a.order-summary-btn-continue:active,
button.order-summary-btn-continue:active {
  background: var(--primary-active, var(--primary-hover)) !important;
  background-color: var(--primary-active, var(--primary-hover)) !important;
  color: #ffffff !important;
  transform: translateY(0) !important;
}

.order-summary-btn-continue i,
a.order-summary-btn-continue i,
button.order-summary-btn-continue i {
  color: #ffffff !important;
  fill: #ffffff !important;
  transition: transform 0.2s ease;
}

.order-summary-btn-continue:hover i.fa-arrow-right,
a.order-summary-btn-continue:hover i.fa-arrow-right,
button.order-summary-btn-continue:hover i.fa-arrow-right {
  transform: translateX(4px);
}



.order-summary-guarantee {
  padding: 14px 20px;
  background: var(--bg-alt);
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
  border-top: 1px solid var(--border-color);
}

.order-summary-guarantee i {
  color: #10b981;
  font-size: 14px;
  flex-shrink: 0;
}

/* ==========================================================================
   5. Category Filter Sidebar (products.html)
   ========================================================================== */
.order-cat-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

#cart-sidebar .order-cat-item > a.list-group-item,
#cart-sidebar .whmcs-sidebar-menu > li > a.list-group-item {
  border: 0;
  border-radius: 0;
  background: transparent;
}

.order-cat-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  color: var(--text-body);
  font-weight: 600;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.order-cat-item a:hover {
  background: var(--primary-light);
  color: var(--primary);
}

#cart-sidebar .order-cat-item.active > a,
#cart-sidebar .order-cat-item.active > a.list-group-item,
.order-cat-item.active a {
  background: var(--primary-light, #f0f6ff) !important;
  color: var(--primary, #0052cc) !important;
  font-weight: 700;
}

#cart-sidebar .order-cat-item.active > a span,
.order-cat-item.active a span {
  color: var(--primary, #0052cc) !important;
}

.order-cat-item.active a .badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.order-cat-item a .badge {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Currency & View Filter in Category Header */
.order-filter-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}



/* ==========================================================================
   6. Product Cards (products.html)
   ========================================================================== */
.order-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 24px;
}

.order-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.order-product-card:hover {
  border-color: var(--primary-border);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.order-product-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 8px 24px var(--primary-glow);
}

.order-product-card.featured .order-price-value {
  color: var(--primary);
}



.order-product-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0 0 6px 0;
}

.order-product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  min-height: 40px;
}

.order-product-price-box {
  background: var(--bg-alt);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
  text-align: center;
}

.order-price-value {
  font-size: 28px;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.order-price-cycle {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-top: 2px;
}



.order-product-features {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  flex: 1;
}

.order-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  padding: 6px 0;
}

.order-feature-item i {
  color: #10b981;
  font-size: 12px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* ==========================================================================
   Admin-Managed Active Color System for Order Buttons
   All buttons strictly inherit --primary, --primary-gradient, and --primary-glow
   managed dynamically from WHMCS Admin Theme Settings.
   ========================================================================== */
.order-product-card .btn-order,
.btn-order,
.order-product-card a.btn-order,
.order-product-card button.btn-order {
  width: 100%;
  margin-top: auto;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800 !important;
  font-size: 14.5px !important;
  padding: 13px 20px !important;
  background: var(--primary-gradient, var(--primary)) !important;
  background-color: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid transparent !important;
  border-radius: var(--radius-md, 10px) !important;
  box-shadow: 0 3px 10px var(--primary-glow) !important;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  text-decoration: none !important;
  cursor: pointer;
}

.order-product-card .btn-order:hover,
.btn-order:hover,
.order-product-card a.btn-order:hover,
.order-product-card button.btn-order:hover {
  background: var(--primary-hover) !important;
  background-color: var(--primary-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 18px var(--primary-glow) !important;
}

.order-product-card .btn-order:active,
.btn-order:active,
.order-product-card a.btn-order:active,
.order-product-card button.btn-order:active {
  background: var(--primary-active, var(--primary-hover)) !important;
  background-color: var(--primary-active, var(--primary-hover)) !important;
  color: #ffffff !important;
  transform: translateY(0) !important;
}

.order-product-card .btn-order i,
.order-product-card .btn-order span,
.btn-order i,
.btn-order span {
  color: #ffffff !important;
  fill: #ffffff !important;
  transition: transform 0.2s ease;
}

.order-product-card .btn-order:hover i.fa-arrow-right,
.btn-order:hover i.fa-arrow-right {
  transform: translateX(4px);
}

/* ==========================================================================
   7. Domain Options Selection (domainoptions.html)
   ========================================================================== */
.domain-option-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .domain-option-tabs {
    grid-template-columns: 1fr;
  }
}

.domain-option-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition-base);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.domain-option-card:hover {
  border-color: var(--primary-border);
  background: var(--bg-alt);
}

.domain-option-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.domain-option-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.domain-option-card > div {
  min-width: 0;
}

.domain-option-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-bottom: 2px;
}

.domain-option-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
  line-height: 1.4;
}

/* Domain Search Bar Container */
.domain-search-box {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.domain-entry-row {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

#order-standard_cart .domain-search-box.domain-input-group {
  display: block;
  margin: 0 0 24px;
}

.domain-entry-row:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.domain-prefix-text {
  padding: 0 16px;
  background: var(--bg-alt);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  border-right: 1px solid var(--border-color);
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
}

.domain-text-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 14px 18px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  outline: none;
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
}

.domain-tld-select {
  border: none;
  border-left: 1px solid var(--border-color);
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
  font-size: 14px;
  padding: 0 16px;
  outline: none;
  cursor: pointer;
  font-family: var(--font-mono);
}

.domain-btn-check {
  padding: 0 24px;
  border-radius: 0;
  font-weight: 800;
}

/* Domain Search Availability Result */
.domain-result-alert {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.domain-result-alert.available {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #10b981;
}

.domain-result-name {
  font-size: 18px;
  font-weight: 800;
  font-family: var(--font-mono);
  color: var(--text-main);
  display: block;
}

.domain-result-sub {
  font-size: 13px;
  color: var(--text-body);
}

.domain-result-price {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
}

/* Availability result sits beside its price once WHMCS .show() reveals both. */
#order-standard_cart #primaryLookupResult {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0;
  margin-top: 16px;
}

#order-standard_cart #primaryLookupResult > .domain-result-alert[style*="display: block"],
#order-standard_cart #primaryLookupResult > .transfer-eligible[style*="display: block"],
#order-standard_cart #primaryLookupResult > .domain-unavailable[style*="display: block"],
#order-standard_cart #primaryLookupResult > .transfer-not-eligible[style*="display: block"],
#order-standard_cart #primaryLookupResult > .domain-invalid[style*="display: block"] {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex: 1 1 240px;
  margin-bottom: 0;
}

#order-standard_cart #primaryLookupResult > .domain-price[style*="display: block"] {
  display: flex !important;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
  min-width: 180px;
  margin: 0;
  padding: 20px 24px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-left: 0;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

#order-standard_cart #primaryLookupResult:has(> .domain-price[style*="display: block"]) > .domain-available[style*="display: block"],
#order-standard_cart #primaryLookupResult:has(> .domain-price[style*="display: block"]) > .transfer-eligible[style*="display: block"] {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#order-standard_cart #primaryLookupResult > .domain-price .price {
  font-size: 22px;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
  line-height: 1.2;
}

#order-standard_cart #primaryLookupResult > .domain-price .register-price-label,
#order-standard_cart #primaryLookupResult > .domain-price .transfer-price-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

#order-standard_cart #primaryLookupResult > .domain-price #btnDomainContinue {
  margin-top: 8px;
}

#order-standard_cart .suggested-domains {
  margin-top: 20px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
}

#order-standard_cart .suggested-domains .panel-heading,
#order-standard_cart .suggested-domains .card-header {
  padding: 14px 16px;
  font-weight: 800;
  border-bottom: 1px solid var(--border-color);
}

#order-standard_cart .suggested-domains .domain-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  background: transparent;
}

#order-standard_cart .suggested-domains .domain-suggestion .domain,
#order-standard_cart .suggested-domains .domain-suggestion .extension {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--text-main);
}

#order-standard_cart .suggested-domains .domain-suggestion .actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

/* Suggested Alternative TLDs */
.suggested-domains-table {
  width: 100%;
  border-collapse: collapse;
}

.suggested-domains-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
}

.suggested-domain-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.suggested-domain-tag {
  font-size: 11px;
  background: var(--bg-alt);
  color: var(--text-muted);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  margin-left: 8px;
}

/* ==========================================================================
   8. Product Configuration Options (configureproduct.html)
   ========================================================================== */
.config-options-card .config-options-body {
  padding: 0;
}

.config-group {
  margin: 0;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-card);
}

.config-group:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

.config-group-head {
  margin-bottom: 12px;
}

.config-group-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.config-group-title::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
  flex-shrink: 0;
}

.config-group-control {
  width: 100%;
}

.config-group-type-1 .order-select-wrap,
.config-group-type-3 .order-checkbox-card,
.config-group-type-4 .order-slider-wrapper {
  max-width: 100%;
}

.config-group-type-2 .order-radio-grid {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Billing Cycle Selection Cards */
.billing-cycles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}

.billing-cycle-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-card);
  cursor: pointer;
  text-align: center;
  position: relative;
  transition: var(--transition-base);
}

.billing-cycle-card:hover {
  border-color: var(--primary-border);
  background: var(--bg-alt);
}

.billing-cycle-card input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.billing-cycle-card.active {
  border-color: #10b981;
  background: #ecfdf5;
  box-shadow: 0 0 0 1px #10b981;
}

.billing-cycle-card.active .billing-cycle-price {
  color: #059669;
}

.billing-cycle-save-badge {
  position: absolute;
  top: -10px;
  right: 12px;
  background: #10b981;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
}

.billing-cycle-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
  display: block;
}

.billing-cycle-price {
  font-size: 20px;
  font-weight: 900;
  color: var(--text-main);
  font-family: var(--font-mono);
  display: block;
  margin-bottom: 2px;
}

.billing-cycle-monthly-equiv {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==========================================================================
   Configurable Options: Radio Type & Slider Quantity Type
   ========================================================================== */

/* 1. Radio Type Configurable Options */
.order-radio-grid,
.datacenter-grid,
.os-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}

.order-radio-card,
.datacenter-card,
.os-card {
  position: relative;
  border: 1px solid var(--border-color);
  background: var(--bg-alt, var(--bg-card));
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: var(--transition-fast);
  user-select: none;
  min-height: 56px;
}

.config-options-card .order-radio-card {
  background: var(--bg-main, var(--bg-card));
}

.order-radio-card input[type="radio"],
.datacenter-card input[type="radio"],
.os-card input[type="radio"] {
  display: none !important;
}

.order-radio-card:hover,
.datacenter-card:hover,
.os-card:hover {
  border-color: var(--primary-border);
  background: var(--bg-alt);
}

.order-radio-card.active,
.datacenter-card.active,
.os-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

.order-radio-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.order-radio-circle {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
  background: var(--bg-main);
}

.order-radio-card:hover .order-radio-circle,
.datacenter-card:hover .order-radio-circle,
.os-card:hover .order-radio-circle {
  border-color: var(--primary);
}

.order-radio-card.active .order-radio-circle,
.datacenter-card.active .order-radio-circle,
.os-card.active .order-radio-circle {
  border-color: var(--primary);
  background: var(--primary);
}

.order-radio-card.active .order-radio-circle::after,
.datacenter-card.active .order-radio-circle::after,
.os-card.active .order-radio-circle::after {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
}

.order-radio-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.order-radio-price {
  font-size: 12.5px;
  font-weight: 800;
  color: var(--primary);
  font-family: var(--font-mono);
  white-space: nowrap;
  flex-shrink: 0;
  text-align: right;
}

.order-radio-price.included {
  color: #10b981;
}

/* 2. Slider Quantity Type Configurable Options */
.order-slider-wrapper {
  background: var(--bg-alt, var(--bg-card));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.config-options-card .order-slider-wrapper,
.config-options-card .order-checkbox-card,
.config-options-card .order-select-wrap .order-form-control {
  background: var(--bg-main, var(--bg-card));
}

.order-slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
  flex-wrap: wrap;
}

.order-slider-val-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  font-size: 13px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
}

.order-slider-track-wrap {
  position: relative;
  margin-bottom: 10px;
}

.order-slider-input {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  outline: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.order-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px var(--primary-glow);
  border: 2px solid #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.order-slider-input::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 10px var(--primary-glow);
}

.order-slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  cursor: pointer;
  box-shadow: 0 2px 6px var(--primary-glow);
  border: 2px solid #ffffff;
}

.order-slider-input::-moz-range-progress {
  background: var(--primary);
  border-radius: var(--radius-pill);
}

.order-slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 6px;
}

.order-slider-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.order-qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  overflow: hidden;
}

.order-qty-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
  transition: var(--transition-fast);
}

.order-qty-btn:hover {
  background: var(--bg-alt);
  color: var(--primary);
}

.order-qty-input {
  width: 48px;
  height: 32px;
  border: none;
  border-left: 1px solid var(--border-color);
  border-right: 1px solid var(--border-color);
  background: transparent;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  -moz-appearance: textfield;
}

.order-qty-input::-webkit-outer-spin-button,
.order-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Addon Options Cards */
.addon-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  background: var(--bg-card);
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.addon-card:hover {
  border-color: var(--primary-border);
  background: var(--bg-alt);
}

.addon-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.addon-checkbox {
  margin-top: 4px;
  accent-color: var(--primary);
  width: 17px;
  height: 17px;
  cursor: pointer;
}

.addon-content {
  flex: 1;
}

.addon-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}

.addon-name {
  font-size: 14.5px;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 8px;
}

.addon-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.addon-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Custom Field Inputs (Hostname, Password, NS) */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
}

.order-form-group {
  margin-bottom: 16px;
}

.order-form-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.order-form-control {
  width: 100%;
  padding: 11px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13.5px;
  outline: none;
  transition: var(--transition-fast);
  box-sizing: border-box;
}

.order-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* ==========================================================================
   9. View Cart Table & Promo Code (viewcart.html)
   ========================================================================== */
.cart-items-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-items-table th {
  background: var(--bg-alt);
  padding: 14px 18px;
  text-align: left;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.cart-items-table td {
  padding: 20px 18px;
  border-bottom: 1px solid var(--border-color);
  vertical-align: top;
}

.cart-item-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.cart-item-domain {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--font-mono);
  margin-bottom: 8px;
  display: block;
}

.cart-item-options-list {
  list-style: none;
  padding: 0;
  margin: 0 0 10px 0;
  max-height: 180px;
  overflow-y: auto;
}

.cart-item-option-entry {
  font-size: 12.5px;
  color: var(--text-muted);
  padding: 2px 0;
}

.cart-item-actions {
  display: flex;
  gap: 12px;
  font-size: 12.5px;
}

.cart-item-actions a,
.cart-item-actions button.btn-remove {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition-fast);
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.cart-item-actions a:hover,
.cart-item-actions button.btn-remove:hover {
  color: var(--primary);
}

.cart-item-actions a.btn-remove:hover,
.cart-item-actions button.btn-remove:hover {
  color: #dc2626;
}

.promo-input.is-invalid {
  border-color: #dc2626;
}

.promo-status-msg {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: #dc2626;
}

.cart-item-price {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-main);
  font-family: var(--font-mono);
  white-space: nowrap;
}

.cart-item-cycle {
  font-size: 12px;
  color: var(--text-muted);
  display: block;
}

/* Promo Code Box */
.promo-box {
  background: var(--bg-alt);
  padding: 18px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-top: 20px;
}

.promo-form {
  display: flex;
  gap: 10px;
}

.promo-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  color: var(--text-main);
  font-weight: 700;
  font-family: var(--font-mono);
  text-transform: uppercase;
  outline: none;
}

.promo-input:focus {
  border-color: var(--primary);
}

/* ==========================================================================
   10. Checkout Page Components (checkout.html)
   ========================================================================== */
.checkout-tabs {
  display: flex;
  border-bottom: 2px solid var(--border-color);
  margin-bottom: 24px;
  gap: 8px;
}

.checkout-tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 800;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.checkout-tab-btn:hover {
  color: var(--primary);
}

.checkout-tab-btn.active {
  color: var(--primary);
}

.checkout-tab-btn.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  border-radius: 2px 2px 0 0;
}

/* Payment Gateway Selector */
.payment-gateways-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
  margin-bottom: 24px;
}

.payment-gateway-card {
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 10px;
  min-height: 80px;
  transition: var(--transition-base);
}

.payment-gateway-card:hover {
  border-color: var(--primary-border);
  background: var(--bg-alt);
}

.payment-gateway-card.active {
  border-color: var(--primary);
  background: var(--primary-light);
}

.payment-gateway-card i {
  font-size: 24px;
  color: var(--primary);
}

.payment-gateway-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-main);
}

/* Password Strength Bar */
.pw-strength-bar {
  height: 4px;
  background: var(--border-color);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.pw-strength-fill {
  height: 100%;
  width: 80%;
  background: #10b981;
  transition: width 0.3s ease;
}

/* Password Field with Eye Toggle & Generator */
.password-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input-wrap .order-form-control {
  padding-right: 42px;
}

.password-toggle-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  font-size: 14px;
  transition: var(--transition-fast);
  z-index: 2;
}

.password-toggle-btn:hover {
  color: var(--primary);
}

.password-generator-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-generate-password {
  background: var(--bg-alt);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.btn-generate-password:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

/* Payment Gateways Multiple Credit Card Icons */
.payment-card-icons {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 20px;
}

.payment-card-icons i.fa-cc-visa { color: #1a1f71; }
.payment-card-icons i.fa-cc-mastercard { color: #eb001b; }
.payment-card-icons i.fa-cc-amex { color: #007bc1; }
.payment-card-icons i.fa-cc-discover { color: #ff6000; }
[data-theme-mode="dark"] .payment-card-icons i.fa-cc-visa { color: #4385e0; }
[data-theme-mode="dark"] .payment-card-icons i.fa-cc-mastercard { color: #ff5f00; }
[data-theme-mode="dark"] .payment-card-icons i.fa-cc-amex { color: #00b4f0; }
[data-theme-mode="dark"] .payment-card-icons i.fa-cc-discover { color: #ff8500; }

/* Custom Fields Checkbox & Controls */
.order-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-body);
  cursor: pointer;
  user-select: none;
  line-height: 1.4;
}

.order-checkbox-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  margin-top: 2px;
  cursor: pointer;
}

.order-select-wrap {
  position: relative;
}

.order-select-wrap select.order-form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.order-checkbox-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  margin: 0;
  transition: var(--transition-fast);
}

.order-checkbox-card:hover {
  border-color: var(--primary-border);
  background: var(--bg-alt);
}

.order-checkbox-card input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.order-checkbox-mark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--border-color);
  background: var(--bg-main, var(--bg-card));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.order-checkbox-card:has(input:checked) {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 0 0 1px var(--primary);
}

.order-checkbox-card:has(input:checked) .order-checkbox-mark {
  border-color: var(--primary);
  background: var(--primary);
}

.order-checkbox-card:has(input:checked) .order-checkbox-mark::after {
  content: '';
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) translate(-1px, -1px);
}

.order-checkbox-copy {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.35;
}

.order-slider-qty-label {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
}

.order-slider-qty-hint {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.order-slider-footer .order-slider-qty-hint {
  margin-top: 0;
}

/* ==========================================================================
   11. Order Complete Page (complete.html)
   ========================================================================== */
.order-complete-hero {
  text-align: center;
  padding: 40px 24px;
}

.order-complete-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  color: #10b981;
  border: 2px solid rgba(16, 185, 129, 0.35);
  font-size: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
}

.order-complete-title {
  font-size: 26px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.order-complete-ref {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-alt);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-color);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
  margin-bottom: 20px;
}
/* ==========================================================================
   12. Comprehensive Mobile & Cross-Device Responsiveness
   ========================================================================== */

/* Tablet & Smaller Devices (max-width: 991px) */
@media (max-width: 991px) {
  .order-layout-grid,
  .order-products-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .order-summary-sidebar {
    position: static;
    margin-top: 10px;
  }
  
  .billing-cycles-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
  }
  
  .payment-gateways-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  .order-steps-nav {
    padding: 12px 14px;
    margin-bottom: 20px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .order-steps-list {
    min-width: 480px;
  }

  .order-step-info {
    display: none;
  }

  .order-step-divider {
    margin: 0 6px;
    min-width: 16px;
  }

  .order-step-badge {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }

  .order-card-header {
    padding: 14px 18px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .order-card-header h2,
  .order-card-header h3 {
    font-size: 15px;
  }

  .order-card-body {
    padding: 18px;
  }

  .order-card-footer {
    padding: 14px 18px;
    flex-direction: column-reverse;
    gap: 10px;
  }

  .order-card-footer .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .billing-cycles-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .billing-cycle-card {
    padding: 12px 10px;
  }

  .billing-cycle-price {
    font-size: 18px;
  }

  .order-radio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .order-radio-card {
    padding: 12px 14px;
    min-height: 48px;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .order-slider-wrapper {
    padding: 16px;
  }

  .order-slider-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .order-slider-val-badge {
    align-self: flex-start;
  }

  .order-slider-ticks {
    font-size: 10px;
  }

  .payment-gateways-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .payment-gateway-card {
    padding: 12px 8px;
    min-height: 72px;
  }

  .payment-gateway-card i {
    font-size: 20px;
  }

  .payment-gateway-name {
    font-size: 12px;
  }

  .password-generator-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-generate-password {
    justify-content: center;
    width: 100%;
    padding: 8px 12px;
    font-size: 12px;
  }

  .order-complete-hero {
    padding: 28px 16px;
  }

  .order-complete-icon {
    width: 64px;
    height: 64px;
    font-size: 28px;
  }

  .order-complete-title {
    font-size: 22px;
  }

  .order-complete-ref {
    font-size: 12.5px;
    padding: 5px 12px;
    margin-left: 0 !important;
    display: inline-block;
    margin-bottom: 8px;
  }
}

/* Small Smart Phones (max-width: 480px) */
@media (max-width: 480px) {
  .order-card-body {
    padding: 14px;
  }

  .billing-cycles-grid {
    grid-template-columns: 1fr;
  }

  .payment-gateways-grid {
    grid-template-columns: 1fr;
  }

  .order-radio-left {
    gap: 8px;
  }

  .order-radio-title {
    font-size: 13px;
  }

  .order-radio-price {
    font-size: 12px;
  }

  .order-summary-total-amount {
    font-size: 24px;
  }

  .order-complete-hero .btn {
    width: 100%;
    justify-content: center;
  }
}





/* ==========================================================================
   WHMCS standard_cart Engine Utilities & Interactive Hooks
   ========================================================================== */
.w-hidden,
.hidden {
  display: none;
}

.pull-left, .float-left {
  float: left !important;
}

.pull-right, .float-right {
  float: right !important;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Domain Lookup AJAX Containers */
.domain-lookup-result {
  margin-top: 16px;
  animation: fadeIn 0.3s ease;
}

.domain-lookup-loader {
  display: none;
  padding: 18px 24px;
  background: var(--bg-alt);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  margin-top: 16px;
}

.domain-lookup-loader i {
  color: var(--primary);
  margin-right: 8px;
}

.domain-lookup-loader.domain-searching {
  display: block;
}

.domain-available,
.transfer-eligible {
  display: none;
  padding: 20px 24px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  margin-bottom: 20px;
}

.domain-available.headline,
.transfer-eligible .headline {
  color: #10b981;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.domain-unavailable,
.transfer-not-eligible,
.domain-invalid {
  display: none;
  padding: 20px 24px;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  color: #ef4444;
  margin-bottom: 20px;
}

.domain-unavailable.headline,
.domain-invalid .headline {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.domain-contact-support {
  display: none;
  margin-top: 12px;
}

/* Spinner Overlay for Summary */
#orderSummaryLoader {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
  z-index: 10;
  border-radius: var(--radius-lg);
}

[data-mode="dark"] #orderSummaryLoader,
[data-theme="dark"] #orderSummaryLoader {
  background: rgba(15, 23, 42, 0.75);
}

#orderSummaryLoader i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 28px;
  color: var(--primary);
}

#producttotal .order-summary-product,
#producttotal .order-summary-breakdown,
#producttotal .order-summary-total-box {
  display: block;
}

.domain-price {
  display: none;
  margin: 12px 0 4px;
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
}

.domain-price .price {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.domain-price .register-price-label,
.domain-price .transfer-price-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
}

.domain-continue-wrap {
  margin-top: 16px;
}

#domainSuggestions .domain-suggestion {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
}

#domainSuggestions .domain-suggestion .price {
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
  font-weight: 800;
  color: var(--text-main);
}

.spotlight-tlds-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.spotlight-tld {
  min-width: 140px;
  padding: 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  text-align: center;
  font-weight: 800;
}

.order-summary {
  position: relative;
}

/* Radio circle active state */
.order-radio-card.active .order-radio-circle {
  border-color: var(--primary);
  background: var(--primary);
  box-shadow: inset 0 0 0 3px #ffffff;
}

[data-mode="dark"] .order-radio-card.active .order-radio-circle,
[data-theme="dark"] .order-radio-card.active .order-radio-circle {
  box-shadow: inset 0 0 0 3px #1e293b;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 10rem;
  background: var(--bg-alt);
  color: var(--text-muted);
}

.badge-info {
  background: rgba(14, 165, 233, 0.15);
  color: #0284c7;
}

/* Alerts */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

.alert-info {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(14, 165, 233, 0.3);
  color: #0284c7;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #10b981;
}

/* Mobile Responsiveness for Steppers */
@media (max-width: 768px) {
  .order-steps-list {
    overflow-x: auto;
    padding-bottom: 8px;
    justify-content: flex-start;
  }
  .order-step-item {
    flex-shrink: 0;
  }
  .order-products-layout,
  .order-layout-grid {
    grid-template-columns: 1fr;
  }
}


/* 20X Orderform Unified Theme Integration Rules */
.orderform-wrapper,
#order-standard_cart {
    width: 100%;
}
.orderform-main-body {
    padding: 32px 0 60px 0;
    min-height: calc(100vh - 380px);
}

.custom-field-input-wrap .form-control,
.custom-field-input-wrap select,
.custom-field-input-wrap textarea,
#productConfigurableOptions .form-control {
  width: 100%;
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm, 8px);
  min-height: 42px;
}

.custom-field-input-wrap .form-group {
  margin-bottom: 0;
}

#domainSuggestions .domain-suggestion,
.spotlight-tld,
.domain-result-alert,
.domain-lookup-result {
  background: var(--bg-card);
  color: var(--text-main);
}

#domainSuggestions {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.domain-entry-row .btn,
.domain-btn-check {
  border-radius: 0;
  white-space: nowrap;
}

.billing-cycle-price,
.addon-price,
.order-radio-price,
.cart-item-price {
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
}

#modalEmptyCart .modal-content {
  background: var(--bg-card);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
}

#modalEmptyCart .modal-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

[data-mode="dark"] #order-standard_cart,
[data-mode="dark"] #order-standard_cart .panel,
[data-mode="dark"] #order-standard_cart .panel-default,
[data-mode="dark"] #order-standard_cart .panel-heading,
[data-mode="dark"] #order-standard_cart .panel-body,
[data-mode="dark"] #order-standard_cart .panel-footer,
[data-mode="dark"] #order-standard_cart .card,
[data-mode="dark"] #order-standard_cart .card-header,
[data-mode="dark"] #order-standard_cart .card-body,
[data-mode="dark"] #order-standard_cart .card-footer,
[data-mode="dark"] #order-standard_cart .list-group-item,
[data-mode="dark"] #order-standard_cart .modal-content,
[data-mode="dark"] #order-standard_cart .order-card,
[data-mode="dark"] #order-standard_cart .order-summary-card,
[data-mode="dark"] #order-standard_cart .domain-search-box,
[data-mode="dark"] #order-standard_cart .domain-entry-row,
[data-mode="dark"] #order-standard_cart .spotlight-tld,
[data-mode="dark"] #order-standard_cart .billing-cycle-card,
[data-mode="dark"] #order-standard_cart .order-radio-card,
[data-mode="dark"] #order-standard_cart .addon-card {
  background-color: var(--bg-card, #111726);
  color: var(--text-main, #f8fafc);
  border-color: var(--border-color, rgba(255, 255, 255, 0.1));
}

.domain-contact-support,
#order-standard_cart .domain-contact-support {
  display: none !important;
}

.domain-ai-panel {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}

.domain-ai-input {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: 12px;
  background: var(--bg-card, #fff);
  color: var(--text-main, #0f172a);
  font-family: var(--font-sans, 'Nunito Sans', sans-serif);
  font-size: 15px;
  line-height: 1.5;
  padding: 12px 14px;
  resize: vertical;
}

.domain-ai-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.domain-ai-options .btn-group,
.domain-ai-options select.multiselect {
  min-width: 180px;
}

.domain-ai-safe {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main, #0f172a);
}

.primary-domain-header {
  font-weight: 800;
  font-size: 15px;
  margin: 8px 0 12px;
  color: var(--text-main, #0f172a);
}

.domain-ai-panel .domain-btn-check {
  align-self: flex-start;
}

[data-mode="dark"] #order-standard_cart .form-control,
[data-mode="dark"] #order-standard_cart .order-form-control,
[data-mode="dark"] #order-standard_cart input[type="text"],
[data-mode="dark"] #order-standard_cart input[type="password"],
[data-mode="dark"] #order-standard_cart input[type="email"],
[data-mode="dark"] #order-standard_cart select,
[data-mode="dark"] #order-standard_cart textarea {
  background-color: var(--bg-alt, #1a2236);
  color: var(--text-main, #f8fafc);
  border-color: rgba(255, 255, 255, 0.14);
}

[data-mode="dark"] #order-standard_cart .domain-text-input {
  background: transparent;
}

#order-standard_cart .order-summary,
#order-standard_cart .order-summary-panel {
  position: relative;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
}

#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary-panel h2 {
  margin: 0;
  padding: 0;
  color: var(--text-main);
  background: transparent;
  text-align: left;
  font-size: inherit;
}

#order-standard_cart .order-summary .loader,
#order-standard_cart #orderSummaryLoader {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: auto !important;
  color: var(--primary);
  text-align: center;
}

#cart-sidebar .whmcs-sidebar-panel,
#cart-sidebar .card,
#cart-sidebar .panel,
.sidebar .card.card-sidebar {
  border-radius: var(--radius-lg, 16px) !important;
  overflow: hidden;
}

.payment-gateway-card {
  position: relative;
}

.payment-gateway-card input.payment-methods {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.order-summary-checkout-form {
  margin: 0;
}

.order-summary-checkout-form .btn {
  width: 100%;
}

#order-standard_cart .btn,
#order-standard_cart a.btn,
#order-standard_cart button.btn,
#order-standard_cart input.btn,
#order-standard_cart .btn-sm,
#order-standard_cart .btn-lg,
#order-standard_cart .order-summary-btn-continue,
#order-standard_cart a.order-summary-btn-continue,
#order-standard_cart button.order-summary-btn-continue {
  box-sizing: border-box !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  line-height: 1.2 !important;
  font-size: 14px !important;
}

.twentyx-confirm-modal .modal-dialog {
  max-width: 440px;
}

.twentyx-confirm-modal .modal-content {
  background: var(--bg-card, #fff);
  color: var(--text-main, #0f172a);
  border: 1px solid var(--border-color, #e2e8f0);
  border-radius: var(--radius-lg, 16px);
  box-shadow: var(--shadow-sm, 0 12px 32px rgba(15, 23, 42, 0.12));
  overflow: hidden;
}

.twentyx-confirm-modal .modal-body {
  position: relative;
  padding: 32px 28px 24px;
  text-align: center;
}

.twentyx-confirm-modal .close {
  position: absolute;
  top: 12px;
  right: 14px;
  float: none;
  font-size: 22px;
  opacity: 0.6;
}

.twentyx-confirm-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  font-size: 22px;
}

.twentyx-confirm-modal .modal-title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-main, #0f172a);
}

.twentyx-confirm-modal .modal-body p {
  margin: 0 0 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted, #64748b);
}

.twentyx-confirm-actions {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.twentyx-confirm-actions .btn {
  min-width: 110px;
}

[data-mode="dark"] .twentyx-confirm-modal .modal-content,
[data-mode="dark"] #modalEmptyCart .modal-content,
[data-mode="dark"] #modalRemoveItem .modal-content {
  background: var(--bg-card, #111827);
  color: var(--text-main, #f8fafc);
  border-color: rgba(255, 255, 255, 0.12);
}

[data-mode="dark"] .twentyx-confirm-modal .modal-title {
  color: var(--text-main, #f8fafc);
}

.billing-cycle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 148px;
  padding-top: 22px;
}

.order-product-full-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-body);
  margin: 0 0 16px;
}

#order-standard_cart #orderSummary,
#order-standard_cart #producttotal,
#order-standard_cart .order-summary,
#order-standard_cart .order-summary-panel,
#order-standard_cart .order-summary-breakdown,
#order-standard_cart .order-summary-product {
  background: var(--bg-card, #ffffff) !important;
  color: var(--text-main, #0f172a) !important;
  margin-top: 0 !important;
}

#order-standard_cart .order-summary-line,
#order-standard_cart .order-summary-line span,
#order-standard_cart .order-summary-line strong,
#order-standard_cart .order-summary-product-name,
#order-standard_cart .order-summary-product-group {
  color: var(--text-main, #0f172a) !important;
  background: transparent !important;
}

#order-standard_cart .order-summary-line.sub-item,
#order-standard_cart .order-summary-line.sub-item span {
  color: var(--text-muted, #64748b) !important;
}

#order-standard_cart .order-summary-total-box {
  background: var(--primary-light, #eff6ff) !important;
}

#order-standard_cart .order-summary-total-amount,
#order-standard_cart #totalDueToday {
  color: var(--text-main, #0f172a) !important;
}

.order-summary-options-scroll {
  max-height: 180px;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0 0 4px;
  padding-right: 4px;
}

.order-slider-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 8px;
}

.order-slider-qty-label {
  font-size: 13px;
  color: var(--text-muted, #64748b);
}

.order-slider-val-badge {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0;
  border-radius: 50%;
  justify-content: center;
}

#productConfigurableOptions .order-slider-input {
  -webkit-appearance: none;
  appearance: none;
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
  width: 100%;
  height: 22px;
  margin: 4px 0 0;
  background: transparent;
  cursor: pointer;
}

#productConfigurableOptions .order-slider-input::-webkit-slider-runnable-track {
  height: 8px;
  background: #e8eef6;
  border-radius: 999px;
}

#productConfigurableOptions .order-slider-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--primary, #1d4ed8);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(29, 78, 216, 0.35);
  cursor: pointer;
}

#productConfigurableOptions .order-slider-input::-moz-range-track {
  height: 8px;
  background: #e8eef6;
  border: 0;
  border-radius: 999px;
}

#productConfigurableOptions .order-slider-input::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary, #1d4ed8);
  border: 2px solid #fff;
  cursor: pointer;
}

#productConfigurableOptions .order-qty-btn,
#productConfigurableOptions .order-qty-input {
  pointer-events: auto !important;
  position: relative;
  z-index: 2;
}

#productConfigurableOptions .order-slider-footer {
  border-top: 0;
  padding-top: 0;
  margin-top: 10px;
}

.custom-field-input-wrap input[type="text"],
.custom-field-input-wrap input[type="password"],
.custom-field-input-wrap input[type="email"],
.custom-field-input-wrap input[type="tel"],
.custom-field-input-wrap input[type="number"],
.custom-field-input-wrap input[type="url"],
.custom-field-input-wrap select,
.custom-field-input-wrap textarea {
  display: block;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--bg-card, #fff) !important;
  color: var(--text-main, #0f172a) !important;
  border: 1px solid var(--border-color, #e2e8f0) !important;
  border-radius: var(--radius-sm, 8px) !important;
  min-height: 44px;
  height: auto;
  padding: 11px 14px !important;
  font-size: 13.5px;
  font-family: inherit;
  line-height: 1.4;
  box-shadow: none;
}

.custom-field-input-wrap textarea {
  min-height: 120px;
  resize: vertical;
}

.custom-field-input-wrap input:focus,
.custom-field-input-wrap select:focus,
.custom-field-input-wrap textarea:focus {
  border-color: var(--primary, #1d4ed8) !important;
  box-shadow: 0 0 0 3px var(--primary-light, rgba(29, 78, 216, 0.12));
  outline: none;
}

#order-standard_cart #frmConfigureProduct .mc-service-card,
#order-standard_cart #frmConfigureProduct .addon-promo-container {
  display: block;
  margin: 0 0 14px;
  padding: 16px 18px 14px;
  background: #f5f8fc;
  border: 1px solid #d7e3f4;
  border-radius: 12px;
  box-shadow: none;
}

#order-standard_cart #frmConfigureProduct .mc-service-top,
#order-standard_cart #frmConfigureProduct .addon-promo-container .panel-body,
#order-standard_cart #frmConfigureProduct .addon-promo-container > .row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

#order-standard_cart #frmConfigureProduct .mc-service-icon,
#order-standard_cart #frmConfigureProduct .addon-promo-container .logo,
#order-standard_cart #frmConfigureProduct .addon-promo-container img {
  flex: 0 0 auto;
}

#order-standard_cart #frmConfigureProduct .mc-service-icon img,
#order-standard_cart #frmConfigureProduct .addon-promo-container .logo img,
#order-standard_cart #frmConfigureProduct .addon-promo-container h3 img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

#order-standard_cart #frmConfigureProduct .mc-service-copy,
#order-standard_cart #frmConfigureProduct .addon-promo-container .description {
  flex: 1 1 auto;
  min-width: 0;
}

#order-standard_cart #frmConfigureProduct .mc-service-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

#order-standard_cart #frmConfigureProduct .mc-service-title,
#order-standard_cart #frmConfigureProduct .addon-promo-container h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
  color: #0f172a;
}

#order-standard_cart #frmConfigureProduct .mc-service-free,
#order-standard_cart #frmConfigureProduct .addon-promo-container .price,
#order-standard_cart #frmConfigureProduct .addon-promo-container .free {
  flex: 0 0 auto;
  color: #2563eb;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#order-standard_cart #frmConfigureProduct .mc-service-desc,
#order-standard_cart #frmConfigureProduct .addon-promo-container .description p {
  margin: 6px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #64748b;
  font-weight: 500;
}

#order-standard_cart #frmConfigureProduct .mc-service-learn,
#order-standard_cart #frmConfigureProduct .addon-promo-container .description a {
  color: #2563eb;
  font-weight: 700;
  text-decoration: none;
}

#order-standard_cart #frmConfigureProduct .mc-service-select,
#order-standard_cart #frmConfigureProduct .addon-promo-container select {
  display: block;
  width: 100%;
  margin-top: 14px;
  height: 46px;
  min-height: 46px;
  padding: 0 36px 0 14px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2364748b' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E") no-repeat right 14px center;
  background-size: 12px 8px;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
}

#order-standard_cart #frmConfigureProduct .mc-service-add,
#order-standard_cart #frmConfigureProduct .mc-service-card .body {
  display: none !important;
}

[data-mode="dark"] #order-standard_cart #frmConfigureProduct .mc-service-card,
[data-mode="dark"] #order-standard_cart #frmConfigureProduct .addon-promo-container {
  background: var(--bg-alt, #172033);
  border-color: var(--border-color, rgba(255, 255, 255, 0.08));
}

[data-mode="dark"] #order-standard_cart #frmConfigureProduct .mc-service-title,
[data-mode="dark"] #order-standard_cart #frmConfigureProduct .addon-promo-container h3,
[data-mode="dark"] #order-standard_cart #frmConfigureProduct .mc-service-select,
[data-mode="dark"] #order-standard_cart #frmConfigureProduct .addon-promo-container select {
  color: var(--text-main, #f8fafc);
}

[data-mode="dark"] #order-standard_cart #frmConfigureProduct .mc-service-select,
[data-mode="dark"] #order-standard_cart #frmConfigureProduct .addon-promo-container select,
[data-mode="dark"] .custom-field-input-wrap input,
[data-mode="dark"] .custom-field-input-wrap select,
[data-mode="dark"] .custom-field-input-wrap textarea {
  background-color: var(--bg-card, #0f172a) !important;
  color: var(--text-main, #f8fafc) !important;
  border-color: var(--border-color, rgba(255, 255, 255, 0.08)) !important;
}

.home-page-slider-panel .promo-banner,
.card-body.store-promoted-product {
  display: block !important;
  visibility: visible !important;
}
