/* ================================================================
   استایل سبد خرید نگارنوین — راست‌چین — دارک مود — بدون CDN
   ----------------------------------------------------------------
   لایه اختصاصی فرم سفارش (order form) برند نگارنوین
   • توکن‌ها: --nv-* (تعریف‌شده در negarnovin-theme.css پوسته پرتال)
   • دارک مود: [data-bs-theme="dark"] + پالت Hostim برای گرادیان‌ها
   • RTL: فقط logical properties (inset-inline-start و…)
   • فونت: Vazirmatn از پوسته — var(--nv-font)
   • بدون @import و بدون فونت/CDN خارجی
   ================================================================ */

/* ----------------------------------------------------------------
   ۰) اسکوپ و پل متغیرها
   همه سلکتورها زیر شناسه صفحه سبد محدودند. نام‌های قدیمیِ
   متغیر (که tpl ها ممکن است هنوز ارجاع بدهند) به توکن --nv-*
   پل می‌شوند تا هیچ رنگ قرمز/خارجی باقی نماند.
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) {
  /* متغیرهای محلی لایه سبد */
  --cart-radius: 14px;
  --cart-radius-sm: 10px;

  /* پل نام‌های legacy → توکن نگارنوین */
  --brand: var(--nv-primary);
  --brand-rgb: var(--nv-primary-rgb);
  --brand-hover: var(--nv-primary-hover);
  --brand-light: var(--nv-primary-soft);
  --brand-light-border: var(--nv-primary-border);
  --brand-primary: var(--nv-primary);
  --surface: var(--nv-bg-surface);
  --surface-alt: var(--nv-bg-body);
  --elevated: var(--nv-bg-elevated);
  --bg-surface: var(--nv-bg-surface);
  --bg-elevated: var(--nv-bg-elevated);
  --text-main: var(--nv-text-1);
  --text-sec: var(--nv-text-2);
  --text-dim: var(--nv-text-muted);
  --text-primary: var(--nv-text-1);
  --text-secondary: var(--nv-text-2);
  --border: var(--nv-border);
  --border-sub: var(--nv-border-subtle);
  --border-subtle: var(--nv-border-subtle);
  --border-color: var(--nv-border);
  --radius: var(--cart-radius);
  --radius-sm: var(--cart-radius-sm);
  --shadow: var(--nv-shadow-sm);
  --shadow-lg: var(--nv-shadow-md);

  direction: rtl;
  text-align: start;
  font-family: var(--nv-font);
}

/* ----------------------------------------------------------------
   ۱) پایه و چیدمان راست‌چین
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0;
  padding: 0 !important;
  margin: 0 0 2rem;
  color: var(--nv-text-1);
}

/* عنوان‌های بزرگ قدیمی → اندازه منطقی فارسی */
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-36 { font-size: 1.5rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-30 { font-size: 1.25rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-26 { font-size: 1.15rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-24 { font-size: 1.05rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-22 { font-size: 1rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-18 { font-size: 0.9rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .font-size-14 { font-size: 0.8rem !important; }

/* سایدبار قدیمی استاندارد مخفی — دسته‌بندی‌ها با گرید بوت‌استرپ رندر می‌شوند */
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar,
:is(#order-standard_cart, #order-negarnovin_cart) .sidebar-collapsed {
  display: none !important;
}

/* بدنه سبد تمام‌عرض (خنثی‌سازی float های LTR پایه) */
:is(#order-standard_cart, #order-negarnovin_cart) .cart-body {
  background: transparent;
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
  float: none !important;
}

/* ستون‌های دوسطحی سبد — فلیپ منطقی برای RTL */
:is(#order-standard_cart, #order-negarnovin_cart) .secondary-cart-body {
  float: inline-start !important;
  width: 65% !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .secondary-cart-sidebar {
  float: inline-end !important;
  width: 35% !important;
}

/* سربرگ صفحه سبد */
:is(#order-standard_cart, #order-negarnovin_cart) .header-lined {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  border-bottom: 1px solid var(--nv-border);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .header-lined h1,
:is(#order-standard_cart, #order-negarnovin_cart) .dash-headline {
  color: var(--nv-text-1);
  font-weight: 800;
  font-size: 1.4rem;
  line-height: 1.6;
  margin: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .header-lined .tagline,
:is(#order-standard_cart, #order-negarnovin_cart) .header-lined p {
  color: var(--nv-text-2);
  font-size: 0.875rem;
  margin: 0;
}

/* زیرعنوان‌ها — نوار برند سمت راست (logical) */
:is(#order-standard_cart, #order-negarnovin_cart) .sub-heading {
  margin: 1.75rem 0 1rem;
  padding-inline-start: 0.85rem;
  border-inline-start: 3px solid var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .sub-heading .primary-bg-color {
  background: none !important;
  color: var(--nv-text-1) !important;
  font-weight: 700;
  font-size: 1rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .sub-heading-borderless {
  margin: 1.75rem 0 1rem;
}

/* آینه‌سازی کلاس‌های قدیمی text-right (در RTL یعنی end) */
:is(#order-standard_cart, #order-negarnovin_cart) .text-right,
:is(#order-standard_cart, #order-negarnovin_cart) .text-sm-right {
  text-align: end !important;
}

/* خنثی‌سازی float های BS3 داخل ردیف‌های خلاصه (به‌جای آن flex) */
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .pull-left,
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .pull-right,
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .float-left,
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .float-right {
  float: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .clearfix {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* دکمه بستن مودال‌ها — سمت انتهایی منطقی */
:is(#order-standard_cart, #order-negarnovin_cart) .modal .float-right,
:is(#order-standard_cart, #order-negarnovin_cart) .modal .pull-right {
  float: inline-end !important;
}

/* ابزارهای ریز پرکاربرد tpl ها */
:is(#order-standard_cart, #order-negarnovin_cart) .no-wrap { white-space: nowrap; }
:is(#order-standard_cart, #order-negarnovin_cart) .input-inline-100 { width: 100% !important; max-width: 100%; }
:is(#order-standard_cart, #order-negarnovin_cart) .margin-10 { margin: 10px 0; }
:is(#order-standard_cart, #order-negarnovin_cart) .margin-bottom { margin-bottom: 1rem; }
:is(#order-standard_cart, #order-negarnovin_cart) .margin-bottom-5 { margin-bottom: 5px; }
:is(#order-standard_cart, #order-negarnovin_cart) .top-margin-10 { margin-top: 10px; }

/* ----------------------------------------------------------------
   ۲) سایدبار دسته‌بندی‌ها (صفحه محصولات) — راست‌چین
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .panel,
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .card {
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .panel-heading,
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .card-header {
  background: var(--nv-bg-elevated) !important;
  border-bottom: 1px solid var(--nv-border) !important;
  padding: 1rem 1.25rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .panel-title {
  color: var(--nv-primary) !important;
  font-weight: 700;
  font-size: 0.8rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .panel-minimise,
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .card-minimise {
  color: var(--nv-text-muted);
}

/* آیتم‌های منوی گروه‌ها — خط برند سمت راست (logical) */
:is(#order-standard_cart, #order-negarnovin_cart) .list-group-item,
:is(#order-standard_cart, #order-negarnovin_cart) .list-group-item-action {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--nv-border-subtle) !important;
  border-inline-start: 3px solid transparent;
  color: var(--nv-text-2);
  padding: 0.85rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
:is(#order-standard_cart, #order-negarnovin_cart) .list-group-item:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .list-group-item-action:hover {
  background: var(--nv-primary-soft) !important;
  color: var(--nv-text-1);
  border-inline-start-color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .list-group-item.active,
:is(#order-standard_cart, #order-negarnovin_cart) .list-group-item-action.active {
  background: var(--nv-primary-soft) !important;
  color: var(--nv-primary) !important;
  border-inline-start-color: var(--nv-primary);
  font-weight: 700;
}
/* نشان شمارنده گروه‌ها — به‌جای bg-danger قرمز، برند */
:is(#order-standard_cart, #order-negarnovin_cart) [id^="sidebar-"] .badge,
:is(#order-standard_cart, #order-negarnovin_cart) .cart-sidebar .badge {
  background: var(--nv-primary) !important;
  color: #fff !important;
  border-radius: 50rem;
  font-size: 0.68rem;
  padding: 0.25rem 0.6rem;
  font-weight: 700;
}

/* ----------------------------------------------------------------
   ۳) کارت محصولات
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .products .product,
:is(#order-standard_cart, #order-negarnovin_cart) .service-card {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius);
  color: var(--nv-text-1);
  box-shadow: var(--nv-shadow-sm);
  padding: 0;
  margin-bottom: 1.25rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  overflow: hidden;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--nv-shadow-md);
  border-color: var(--nv-primary-border) !important;
}

/* هدر کارت محصول — بدون گرادیان قرمز پایه */
:is(#order-standard_cart, #order-negarnovin_cart) .products .product header {
  background: var(--nv-bg-elevated) !important;
  padding: 1.1rem 1.35rem;
  border-bottom: 1px solid var(--nv-border);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product header .qty {
  color: var(--nv-text-muted);
  font-size: 0.75rem;
  font-weight: 400;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product header h3 {
  color: var(--nv-text-1) !important;
  font-weight: 800;
}

/* توضیحات و لیست امکانات */
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-desc {
  padding: 1.25rem 1.35rem;
  color: var(--nv-text-2);
  font-size: 0.875rem;
  line-height: 1.9;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-desc ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-desc li {
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--nv-border-subtle);
  color: var(--nv-text-2);
  font-size: 0.82rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-desc li:last-child {
  border-bottom: none;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-desc .feature-value {
  color: var(--nv-primary);
  font-weight: 700;
  margin-inline-start: 0.375rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .product-desc-full-width { width: 100%; }

/* فوتر کارت و قیمت */
:is(#order-standard_cart, #order-negarnovin_cart) .products .product footer {
  background: var(--nv-bg-surface) !important;
  border-top: 1px solid var(--nv-border);
  padding: 1.15rem 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-pricing .price,
:is(#order-standard_cart, #order-negarnovin_cart) .product-pricing .price,
:is(#order-standard_cart, #order-negarnovin_cart) .price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nv-primary) !important;
  display: block;
  line-height: 1.4;
}
:is(#order-standard_cart, #order-negarnovin_cart) .product-pricing .price.text-danger {
  color: var(--nv-primary) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .product-cycle,
:is(#order-standard_cart, #order-negarnovin_cart) .register-price-label,
:is(#order-standard_cart, #order-negarnovin_cart) .transfer-price-label {
  color: var(--nv-text-muted);
  font-size: 0.72rem;
  font-weight: 600;
}
:is(#order-standard_cart, #order-negarnovin_cart) .setup-fee {
  color: var(--nv-text-muted);
  font-size: 0.75rem;
}

/* برچسب‌های گروه فروش (hot / new / sale) */
:is(#order-standard_cart, #order-negarnovin_cart) .sales-group-new {
  background: var(--nv-primary-soft);
  color: var(--nv-primary);
  border: 1px solid var(--nv-primary-border);
}
:is(#order-standard_cart, #order-negarnovin_cart) .sales-group-hot {
  background: var(--nv-accent-soft);
  color: var(--nv-accent-ink);
  border: 1px solid rgba(var(--nv-accent-rgb), 0.4);
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .sales-group-hot {
  color: var(--nv-accent);
}
:is(#order-standard_cart, #order-negarnovin_cart) .sales-group-sale {
  background: var(--nv-danger-bg);
  color: var(--nv-danger);
  border: 1px solid rgba(194, 37, 37, 0.25);
}
:is(#order-standard_cart, #order-negarnovin_cart) .sales-group-new,
:is(#order-standard_cart, #order-negarnovin_cart) .sales-group-hot,
:is(#order-standard_cart, #order-negarnovin_cart) .sales-group-sale {
  display: inline-block;
  border-radius: 50rem;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.2rem 0.7rem;
  line-height: 1.8;
}

/* ----------------------------------------------------------------
   ۴) دکمه‌ها — سیستم برند
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .btn-order-now,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-success,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-brand,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-primary,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-add-to-cart,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-add-renewal-to-cart,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-brand-clean,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-complete-primary {
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover)) !important;
  border: none !important;
  color: #fff !important;
  border-radius: var(--cart-radius-sm) !important;
  font-family: var(--nv-font) !important;
  font-weight: 700;
  font-size: 0.875rem;
  min-height: 44px;
  padding: 0.65rem 1.5rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(var(--nv-primary-rgb), 0.25) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-order-now:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-success:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-brand:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-primary:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-add-to-cart:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-add-renewal-to-cart:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-brand-clean:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-complete-primary:hover {
  background: linear-gradient(135deg, var(--nv-primary-hover), var(--nv-primary-deep)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(var(--nv-primary-rgb), 0.35) !important;
  color: #fff !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-order-now:disabled,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-primary:disabled,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-success:disabled {
  background: var(--nv-text-muted) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* دکمه‌های خنثی / outline */
:is(#order-standard_cart, #order-negarnovin_cart) .btn-default,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-brand-outline,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-complete-ghost,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-outline-secondary {
  background: transparent !important;
  border: 1px solid var(--nv-border) !important;
  color: var(--nv-text-2) !important;
  border-radius: var(--cart-radius-sm) !important;
  font-family: var(--nv-font) !important;
  font-weight: 600;
  font-size: 0.85rem;
  min-height: 44px;
  padding: 0.65rem 1.4rem !important;
  transition: all 0.15s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-default:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-brand-outline:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-complete-ghost:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .btn-outline-secondary:hover {
  background: var(--nv-primary-soft) !important;
  border-color: var(--nv-primary) !important;
  color: var(--nv-primary) !important;
}

/* دکمه‌های وضعیتی */
:is(#order-standard_cart, #order-negarnovin_cart) .btn-info {
  background: var(--nv-info-bg) !important;
  border: 1px solid var(--nv-info) !important;
  color: var(--nv-info) !important;
  border-radius: var(--cart-radius-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-warning {
  background: var(--nv-warning-bg) !important;
  border: 1px solid var(--nv-warning) !important;
  color: var(--nv-warning) !important;
  border-radius: var(--cart-radius-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-secondary {
  background: var(--nv-bg-elevated) !important;
  border: 1px solid var(--nv-border) !important;
  color: var(--nv-text-2) !important;
}

/* لینک‌دکمه‌ها */
:is(#order-standard_cart, #order-negarnovin_cart) .btn-link {
  color: var(--nv-text-muted) !important;
  text-decoration: none;
  min-height: 36px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-link:hover {
  color: var(--nv-primary) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-remove-from-cart {
  color: var(--nv-text-muted) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-remove-from-cart:hover {
  color: var(--nv-danger) !important;
}

/* خالی کردن سبد */
:is(#order-standard_cart, #order-negarnovin_cart) .empty-cart {
  text-align: start !important;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .empty-cart .btn,
:is(#order-standard_cart, #order-negarnovin_cart) #btnEmptyCart {
  background: transparent !important;
  border: 1px solid var(--nv-border) !important;
  color: var(--nv-text-muted) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.8rem !important;
  min-height: 38px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .empty-cart .btn:hover,
:is(#order-standard_cart, #order-negarnovin_cart) #btnEmptyCart:hover {
  background: var(--nv-danger-bg) !important;
  color: var(--nv-danger) !important;
  border-color: var(--nv-danger) !important;
}

/* ----------------------------------------------------------------
   ۵) فرم‌ها — input/select/checkbox بزرگ (44px+) با فوکوس برند
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .form-control,
:is(#order-standard_cart, #order-negarnovin_cart) .field,
:is(#order-standard_cart, #order-negarnovin_cart) .custom-select,
:is(#order-standard_cart, #order-negarnovin_cart) select.form-control {
  background-color: var(--nv-bg-input) !important;
  border: 1px solid var(--nv-border) !important;
  color: var(--nv-text-1) !important;
  border-radius: var(--cart-radius-sm) !important;
  font-family: var(--nv-font) !important;
  font-size: 0.9rem !important;
  min-height: 44px;
  padding: 0.55rem 0.9rem !important;
  transition: border-color 0.15s, box-shadow 0.15s, background-color 0.25s !important;
  box-shadow: none;
}
:is(#order-standard_cart, #order-negarnovin_cart) textarea.form-control,
:is(#order-standard_cart, #order-negarnovin_cart) textarea.field {
  min-height: 110px;
  line-height: 1.8;
}
:is(#order-standard_cart, #order-negarnovin_cart) .form-control:focus,
:is(#order-standard_cart, #order-negarnovin_cart) .field:focus,
:is(#order-standard_cart, #order-negarnovin_cart) .custom-select:focus {
  background-color: var(--nv-bg-input) !important;
  border-color: var(--nv-primary) !important;
  color: var(--nv-text-1) !important;
  box-shadow: 0 0 0 4px rgba(var(--nv-primary-rgb), 0.14) !important;
  outline: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .form-control::placeholder,
:is(#order-standard_cart, #order-negarnovin_cart) .field::placeholder {
  color: var(--nv-text-muted) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .form-control:disabled,
:is(#order-standard_cart, #order-negarnovin_cart) .field:disabled {
  background-color: var(--nv-bg-elevated) !important;
  color: var(--nv-text-muted) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .form-control.invalid,
:is(#order-standard_cart, #order-negarnovin_cart) .form-control.is-invalid,
:is(#order-standard_cart, #order-negarnovin_cart) .field.invalid {
  border-color: var(--nv-danger) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .field-error-msg {
  color: var(--nv-danger) !important;
  font-size: 0.75rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .field-help-text {
  display: block;
  color: var(--nv-text-muted) !important;
  font-size: 0.75rem;
  margin-top: 0.3rem;
}

/* برچسب‌ها */
:is(#order-standard_cart, #order-negarnovin_cart) label,
:is(#order-standard_cart, #order-negarnovin_cart) .control-label {
  color: var(--nv-text-2) !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
}

/* select — فلش سمت چپ (انتهای منطقی در RTL) */
:is(#order-standard_cart, #order-negarnovin_cart) select.form-control,
:is(#order-standard_cart, #order-negarnovin_cart) select.field,
:is(#order-standard_cart, #order-negarnovin_cart) .custom-select,
:is(#order-standard_cart, #order-negarnovin_cart) .select-renewal-pricing,
:is(#order-standard_cart, #order-negarnovin_cart) .idn-language-selector {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2383838F' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: left 0.85rem center !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding-inline-end: 2.4rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .idn-language-selector option {
  direction: ltr;
}

/* آیکون داخل فیلد — سمت راست (logical start) */
:is(#order-standard_cart, #order-negarnovin_cart) .prepend-icon,
:is(#order-standard_cart, #order-negarnovin_cart) .form-group.prepend-icon {
  position: relative !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .prepend-icon .field-icon,
:is(#order-standard_cart, #order-negarnovin_cart) .form-group.prepend-icon .field-icon {
  position: absolute !important;
  inset-inline-start: 0.9rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--nv-text-muted) !important;
  z-index: 3 !important;
  margin-bottom: 0;
  pointer-events: none !important;
  transition: color 0.15s;
}
:is(#order-standard_cart, #order-negarnovin_cart) .prepend-icon .form-control,
:is(#order-standard_cart, #order-negarnovin_cart) .prepend-icon .field,
:is(#order-standard_cart, #order-negarnovin_cart) .form-group.prepend-icon .field {
  padding-inline-start: 2.5rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .form-group.prepend-icon:has(.field:focus) .field-icon,
:is(#order-standard_cart, #order-negarnovin_cart) .form-group.prepend-icon:has(.form-control:focus) .field-icon {
  color: var(--nv-primary) !important;
}

/* چک‌باکس و رادیو — بزرگ با تاچ‌تارگت 44px و رنگ برند */
:is(#order-standard_cart, #order-negarnovin_cart) input[type="checkbox"],
:is(#order-standard_cart, #order-negarnovin_cart) input[type="radio"] {
  accent-color: var(--nv-primary) !important;
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
  cursor: pointer;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkbox-inline,
:is(#order-standard_cart, #order-negarnovin_cart) .radio-inline {
  color: var(--nv-text-2) !important;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  cursor: pointer;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkbox-inline:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .radio-inline:hover {
  color: var(--nv-text-1);
}

/* فیلد تعداد */
:is(#order-standard_cart, #order-negarnovin_cart) .form-control-qty {
  width: 76px !important;
  height: 44px !important;
  text-align: center;
}

/* مقدار ایستا (فرم‌های فقط‌خواندنی) */
:is(#order-standard_cart, #order-negarnovin_cart) .form-control-static,
:is(#order-standard_cart, #order-negarnovin_cart) .form-control-static-inline {
  color: var(--nv-text-1);
  font-weight: 500;
  padding-block: 0.65rem;
  display: inline-block;
  min-height: 44px;
}

/* مولتی‌سلکت TLD ها */
:is(#order-standard_cart, #order-negarnovin_cart) .multiselect {
  min-height: 44px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .multiselect-container li a {
  padding: 0.6rem 1rem;
}

/* کپچا — پس‌زمینه روشن حتی در دارک (الزام reCAPTCHA) */
:is(#order-standard_cart, #order-negarnovin_cart) .captcha-container,
:is(#order-standard_cart, #order-negarnovin_cart) .recaptcha-container,
:is(#order-standard_cart, #order-negarnovin_cart) .default-captcha {
  background: #fff;
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius-sm);
  padding: 0.75rem;
  display: inline-block;
}

/* ----------------------------------------------------------------
   ۶) سبد خرید — آیتم‌ها، تب‌های پرومو، اکسپرس
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items-header {
  background: var(--nv-bg-elevated) !important;
  padding: 0.9rem 1.25rem !important;
  border-radius: var(--cart-radius-sm) var(--cart-radius-sm) 0 0 !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.3px !important;
  color: var(--nv-text-muted) !important;
  border: 1px solid var(--nv-border) !important;
  border-bottom: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: 0 0 var(--cart-radius-sm) var(--cart-radius-sm) !important;
  overflow: hidden !important;
  margin-bottom: 20px !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item {
  padding: 1.15rem 1.25rem !important;
  background-color: var(--nv-bg-surface) !important;
  border-bottom: 1px solid var(--nv-border-subtle) !important;
  transition: background-color 0.15s !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item:last-child {
  border-bottom: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item:hover {
  background: var(--nv-primary-soft) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-title {
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
  font-size: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-group {
  display: block !important;
  color: var(--nv-text-2) !important;
  font-size: 0.8rem !important;
  margin-top: 0.15rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-domain {
  display: block !important;
  color: var(--nv-primary) !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  margin-top: 0.3rem !important;
  direction: ltr;
  unicode-bidi: embed;
  text-align: end;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item small {
  color: var(--nv-text-muted);
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-price {
  text-align: end !important;
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-price span {
  font-size: 1.1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-price .cycle {
  display: block !important;
  color: var(--nv-text-muted) !important;
  font-weight: 400 !important;
  font-size: 0.75rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-qty {
  text-align: center !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-qty input {
  width: 76px !important;
  display: inline-block !important;
  height: 44px !important;
  padding: 4px 8px !important;
}

/* سبد خالی */
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-empty {
  padding: 3rem !important;
  text-align: center !important;
  color: var(--nv-text-muted) !important;
  font-size: 1rem !important;
}

/* تب‌های پرومو / مالیات */
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs {
  margin-top: 1.5rem !important;
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  overflow: hidden !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .nav-tabs {
  border-bottom: 1px solid var(--nv-border) !important;
  background: var(--nv-bg-elevated) !important;
  display: flex !important;
  padding: 0 !important;
  margin: 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .nav-tabs .nav-item {
  margin-bottom: 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .nav-tabs .nav-link {
  color: var(--nv-text-muted) !important;
  border: none !important;
  padding: 0.8rem 1.25rem !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .nav-tabs .nav-link:hover {
  color: var(--nv-text-1) !important;
  background: var(--nv-primary-soft) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .nav-tabs .nav-link.active {
  color: var(--nv-primary) !important;
  background: var(--nv-bg-surface) !important;
  border-bottom: 2px solid var(--nv-primary) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .tab-content {
  padding: 1.25rem !important;
  background: var(--nv-bg-surface) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .promo .form-control {
  margin-bottom: 0.75rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-promotion-code {
  text-align: center !important;
  padding: 0.85rem !important;
  background: var(--nv-primary-soft) !important;
  border: 1px solid var(--nv-primary-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  color: var(--nv-primary) !important;
  font-weight: 700 !important;
  margin-bottom: 0.75rem !important;
}

/* اکسپرس چک‌اوت */
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-gateway-checkout,
:is(#order-standard_cart, #order-negarnovin_cart) .express-checkout-buttons {
  margin: 1rem 0 !important;
  text-align: center !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .express-checkout-buttons .separator {
  color: var(--nv-text-muted) !important;
  font-size: 0.75rem !important;
  margin: 0.5rem 0 !important;
}

/* ----------------------------------------------------------------
   ۷) خلاصه سفارش (سایدبار) — کارت، جمع‌ها، دکمه پرداخت
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  padding: 1.5rem !important;
  position: relative !important;
  margin-bottom: 20px !important;
  box-shadow: var(--nv-shadow-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary h2 {
  color: var(--nv-text-1) !important;
  font-weight: 800 !important;
  font-size: 1.15rem !important;
  margin: 0 0 1.1rem 0 !important;
  padding: 0 0 0.8rem 0 !important;
  border-bottom: 1px solid var(--nv-border) !important;
  text-align: start !important;
  background: transparent !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary .loader {
  position: absolute !important;
  top: 1.5rem !important;
  inset-inline-end: 1.5rem !important;
  color: var(--nv-primary) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .summary-header {
  border-bottom: 1px solid var(--nv-border-subtle) !important;
  padding-bottom: 1rem !important;
  margin-bottom: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  min-height: auto !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .clearfix {
  padding: 0.4rem 0 !important;
  font-size: 0.875rem !important;
  color: var(--nv-text-2) !important;
  border: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .summary-container .subtotal {
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
  border-bottom: 1px solid var(--nv-border) !important;
  padding-bottom: 0.75rem !important;
  margin-bottom: 0.75rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary .bordered-totals,
:is(#order-standard_cart, #order-negarnovin_cart) .bordered-totals {
  border-bottom: 1px solid var(--nv-border) !important;
  margin-bottom: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary .product-name {
  display: block !important;
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
  margin-bottom: 0.25rem !important;
  font-size: 0.95rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary .product-group {
  display: block !important;
  color: var(--nv-text-muted) !important;
  font-size: 0.75rem !important;
  margin-bottom: 0.75rem !important;
  font-style: normal !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-summary .recurring-totals,
:is(#order-standard_cart, #order-negarnovin_cart) .recurring-totals {
  border-top: 1px dashed var(--nv-border) !important;
  margin-top: 0.75rem !important;
  padding-top: 0.75rem !important;
  font-size: 0.8rem !important;
  color: var(--nv-text-2) !important;
  border-bottom: none !important;
  display: block;
}
:is(#order-standard_cart, #order-negarnovin_cart) .recurring-charges .cost {
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
}

/* بلوک «مبلغ قابل پرداخت» — گرادیان برند + دارک طبق الگوی SPEC */
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today {
  background: linear-gradient(135deg, #002B85 0%, #001338 100%) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1.25rem !important;
  text-align: center !important;
  margin: 1.25rem 0 !important;
  color: #fff !important;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .total-due-today {
  background: linear-gradient(95.45deg, var(--hostim_dark_gray_bg) 0.64%, var(--hostim_dark_bg) 98.23%) !important;
  border: 1px solid rgba(91, 140, 255, 0.25);
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .amt {
  display: block !important;
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  text-align: center !important;
  color: #fff !important;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .amt {
  color: var(--nv-accent) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today span {
  display: inline !important;
  text-align: center !important;
  color: #fff !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today span:last-child {
  font-size: 0.75rem !important;
  opacity: 0.85 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today-padded {
  margin: 1rem 0 !important;
}
/* بلوک totalDueToday در صفحه checkout */
:is(#order-standard_cart, #order-negarnovin_cart) div#totalDueToday {
  background: var(--nv-primary-soft) !important;
  border: 1px solid var(--nv-primary-border) !important;
  color: var(--nv-primary) !important;
  border-radius: var(--cart-radius-sm) !important;
  font-weight: 800 !important;
  font-size: 1.2rem !important;
  padding: 1.25rem !important;
  margin-bottom: 1.75rem !important;
  text-align: center !important;
}

/* دکمه تکمیل سفارش در سایدبار */
:is(#order-standard_cart, #order-negarnovin_cart) .btn-checkout {
  border-radius: var(--cart-radius-sm) !important;
  min-height: 52px;
  padding: 0.85rem 2rem !important;
  font-size: 1rem !important;
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover)) !important;
  border: none !important;
  color: #fff !important;
  font-weight: 700 !important;
  font-family: var(--nv-font) !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(var(--nv-primary-rgb), 0.25) !important;
  display: block !important;
  width: 100% !important;
  text-align: center !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-checkout:hover {
  background: linear-gradient(135deg, var(--nv-primary-hover), var(--nv-primary-deep)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(var(--nv-primary-rgb), 0.35) !important;
  color: #fff !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-continue-shopping {
  margin-top: 0.75rem !important;
  color: var(--nv-text-muted) !important;
  display: inline-block !important;
  font-size: 0.82rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .btn-continue-shopping:hover {
  color: var(--nv-primary) !important;
}

/* ----------------------------------------------------------------
   ۸) صفحه پرداخت (checkout) — کارت‌ها، حساب‌ها، درگاه‌ها، کارت بانکی
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-card,
:is(#order-standard_cart, #order-negarnovin_cart) .field-container {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
  box-shadow: var(--nv-shadow-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-section-title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
  margin-bottom: 1.4rem !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--nv-border-subtle) !important;
  padding-bottom: 0.85rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-section-title i {
  font-size: 1.1rem;
  color: var(--nv-primary) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  padding: 1.5rem !important;
  color: var(--nv-text-1) !important;
  box-shadow: var(--nv-shadow-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
  border-bottom: 1px solid var(--nv-border-subtle) !important;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-error-feedback,
:is(#order-standard_cart, #order-negarnovin_cart) .gateway-errors {
  background: var(--nv-danger-bg) !important;
  border: 1px solid var(--nv-danger) !important;
  color: var(--nv-danger) !important;
  border-radius: var(--cart-radius-sm) !important;
}

/* بنر «قبلاً ثبت‌نام کرده‌اید» */
:is(#order-standard_cart, #order-negarnovin_cart) .already-registered {
  background: var(--nv-bg-elevated) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1.15rem 1.35rem !important;
  margin-bottom: 1.5rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .already-registered p {
  color: var(--nv-text-2) !important;
  margin: 0 !important;
}

/* کارت‌های انتخاب حساب / روش پرداخت */
:is(#order-standard_cart, #order-negarnovin_cart) .account,
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card {
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  background: var(--nv-bg-surface) !important;
  color: var(--nv-text-1);
  cursor: pointer !important;
  transition: border-color 0.15s ease, background-color 0.15s ease !important;
  padding: 1rem !important;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .account:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card:hover {
  border-color: var(--nv-primary-border) !important;
  background: var(--nv-primary-soft) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .account.active,
:is(#order-standard_cart, #order-negarnovin_cart) .account:has(.account-select:checked),
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card:has(input[type="radio"]:checked) {
  border-color: var(--nv-primary) !important;
  background: var(--nv-primary-soft) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .account-select-container .account .address {
  color: var(--nv-text-2) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-methods-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
  gap: 0.85rem !important;
  margin-top: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-methods-grid .payment-method-card {
  margin-bottom: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card .payment-method-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: var(--cart-radius-sm);
  background: var(--nv-primary-soft);
  flex-shrink: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card .gateway-name {
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: var(--nv-text-1) !important;
}
/* برچسب درگاه — پیل خنثی برند (به‌جای رنگ‌های خارجی) */
:is(#order-standard_cart, #order-negarnovin_cart) .gateway-badge {
  background: var(--nv-bg-elevated);
  border: 1px solid var(--nv-border);
  color: var(--nv-text-2);
  padding: 4px 12px;
  border-radius: 50rem;
  font-size: 0.72rem;
  font-weight: 700;
}

/* پیل‌های رادیوی درگاه پرداخت (فرم‌های بدون گرید کارت) */
:is(#order-standard_cart, #order-negarnovin_cart) #paymentGatewaysContainer {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) #paymentGatewaysContainer .radio-inline {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.25rem !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  background: var(--nv-bg-elevated) !important;
  color: var(--nv-text-2) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin: 0.25rem 0.5rem 0.25rem 0 !important;
  font-weight: 600 !important;
  gap: 0.4rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) #paymentGatewaysContainer .radio-inline:hover {
  border-color: var(--nv-primary) !important;
  color: var(--nv-primary) !important;
  background: var(--nv-primary-soft) !important;
}

/* فرم کارت اعتباری */
:is(#order-standard_cart, #order-negarnovin_cart) .cc-input-container {
  list-style: none !important;
  padding: 1.5rem !important;
  background-color: var(--nv-bg-elevated) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  margin-bottom: 1.5rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cc-input-container ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0.75rem 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cc-input-container label,
:is(#order-standard_cart, #order-negarnovin_cart) .existing-cc-grid label,
:is(#order-standard_cart, #order-negarnovin_cart) .new-card-container label {
  color: var(--nv-text-2) !important;
  font-weight: 600 !important;
}
/* شماره کارت — LTR */
:is(#order-standard_cart, #order-negarnovin_cart) .cc-number-field,
:is(#order-standard_cart, #order-negarnovin_cart) #inputCardNumber,
:is(#order-standard_cart, #order-negarnovin_cart) #inputCardExpiry,
:is(#order-standard_cart, #order-negarnovin_cart) #inputCardCVV,
:is(#order-standard_cart, #order-negarnovin_cart) #inputCardCVV2 {
  direction: ltr;
  unicode-bidi: embed;
  text-align: left;
}
/* ردیف‌های کارت‌های ذخیره‌شده */
:is(#order-standard_cart, #order-negarnovin_cart) .existing-cc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .existing-cc-grid .paymethod-info {
  flex: 1 1 140px;
  color: var(--nv-text-2);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--nv-border-subtle);
  border-radius: var(--cart-radius-sm);
  background: var(--nv-bg-surface);
}
:is(#order-standard_cart, #order-negarnovin_cart) .existing-cc-grid .paymethod-info.radio-inline {
  flex: 0 0 auto;
  border: 1px solid var(--nv-primary-border);
}

/* پیام امنیتی و کادرهای کمکی */
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-security-msg {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  color: var(--nv-text-2) !important;
  border-radius: var(--cart-radius-sm) !important;
  font-size: 0.82rem !important;
  margin-top: 1.5rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-security-msg i {
  color: var(--nv-success) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .marketing-email-optin,
:is(#order-standard_cart, #order-negarnovin_cart) .apply-credit-container {
  background: var(--nv-bg-elevated) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1.25rem !important;
  margin: 1rem 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .marketing-email-optin h4 {
  color: var(--nv-text-1) !important;
  font-weight: 700;
}
:is(#order-standard_cart, #order-negarnovin_cart) .marketing-email-optin p,
:is(#order-standard_cart, #order-negarnovin_cart) .apply-credit-container p {
  color: var(--nv-text-2) !important;
  font-size: 0.875rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .apply-credit-container label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
}

/* دکمه نهایی ثبت سفارش */
:is(#order-standard_cart, #order-negarnovin_cart) #btnCompleteOrder {
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover)) !important;
  border: none !important;
  color: #fff !important;
  border-radius: var(--cart-radius-sm) !important;
  font-weight: 700 !important;
  font-family: var(--nv-font) !important;
  font-size: 1rem !important;
  min-height: 52px;
  padding: 0.85rem 2.25rem !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 4px 14px rgba(var(--nv-primary-rgb), 0.25) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.45rem !important;
  margin-top: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) #btnCompleteOrder:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--nv-primary-hover), var(--nv-primary-deep)) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 22px rgba(var(--nv-primary-rgb), 0.35) !important;
  color: #fff !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) #btnCompleteOrder:disabled {
  background: var(--nv-text-muted) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* چک‌باکس قوانین با چک‌مارک سفارشی (fallback بدون استایل scoped) */
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card .checkbox-inline {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  min-height: 44px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card .checkbox-inline a {
  color: var(--nv-primary);
  font-weight: 600;
}

/* ----------------------------------------------------------------
   ۹) دامنه‌ها — جستجو، نتایج، پیشنهادی، انتقال، نام‌سرور، EPP
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-container {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  padding: 1.5rem !important;
  box-shadow: var(--nv-shadow-sm);
}
/* باکس بزرگ جستجوی دامنه */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-bg {
  background: var(--nv-primary-soft) !important;
  border: 1px solid var(--nv-primary-border) !important;
  border-radius: var(--cart-radius) !important;
  padding: 1.25rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-input-groups-wrapper { width: 100%; }
:is(#order-standard_cart, #order-negarnovin_cart) .domain-input-group {
  display: flex;
  align-items: stretch;
  gap: 0.6rem;
  flex-wrap: wrap;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-input-inner {
  flex: 1 1 260px;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius-sm);
  overflow: hidden;
  background: var(--nv-bg-input);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-prefix {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--nv-bg-elevated);
  color: var(--nv-text-2);
  font-weight: 600;
  font-size: 0.9rem;
  border-inline-end: 1px solid var(--nv-border);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-input-field {
  flex: 1;
  min-height: 56px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 1.05rem;
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: start;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-input-field:focus {
  box-shadow: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-input-group .field-icon {
  display: flex;
  align-items: center;
  padding-inline-start: 1rem;
  color: var(--nv-text-muted);
  position: static !important;
  transform: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-tld-select {
  border: none !important;
  border-inline-start: 1px solid var(--nv-border) !important;
  border-radius: 0 !important;
  background-color: var(--nv-bg-elevated) !important;
  min-width: 110px;
  min-height: 56px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-submit-btn {
  min-height: 56px;
  padding: 0.85rem 2rem !important;
  font-size: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-advanced textarea.form-control {
  margin-top: 0.75rem;
}

/* نتیجه جستجو */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-result-headline {
  margin-top: 1.25rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-result-headline p {
  border-radius: var(--cart-radius-sm);
  padding: 0.85rem 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-available,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-available {
  background: var(--nv-success-bg) !important;
  border: 1px solid var(--nv-success) !important;
  color: var(--nv-success) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-unavailable,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-invalid,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-error,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-tld-unavailable,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-unavailable {
  background: var(--nv-danger-bg) !important;
  border: 1px solid var(--nv-danger) !important;
  color: var(--nv-danger) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-length-restrictions {
  display: block;
  font-weight: 400;
  font-size: 0.78rem;
  opacity: 0.85;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-result {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1rem 1.25rem !important;
  margin: 0.5rem 0 !important;
  transition: border-color 0.15s !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-result:hover {
  border-color: var(--nv-primary-border) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-result .domain {
  font-weight: 700;
  color: var(--nv-text-1);
  direction: ltr;
  unicode-bidi: embed;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-contact-support { margin-top: 0.75rem; }

/* TLD های ویژه (spotlight) */
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tlds-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld-container {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 0.85rem 1.1rem !important;
  text-align: center;
  flex: 1 1 130px;
  transition: border-color 0.15s, transform 0.15s;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld-container:hover {
  border-color: var(--nv-primary) !important;
  transform: translateY(-2px);
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .price,
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld span {
  color: var(--nv-primary) !important;
  font-weight: 700;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .tld,
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .domain {
  color: var(--nv-text-1);
  font-weight: 700;
  direction: ltr;
  unicode-bidi: embed;
}

/* دامنه‌های پیشنهادی */
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains {
  margin-top: 1.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestion {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm);
  padding: 0.9rem 1.1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestion .domain {
  font-weight: 700;
  direction: ltr;
  unicode-bidi: embed;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestion-pricing {
  color: var(--nv-text-2);
  font-size: 0.85rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestion-pricing .price,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-price {
  color: var(--nv-primary) !important;
  font-weight: 700;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestions-warning {
  color: var(--nv-warning);
  font-size: 0.82rem;
}

/* جدول قیمت TLD — ریسپانسیو با هدر ظریف */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing {
  margin-top: 2rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .featured-tlds-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .featured-tld {
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius-sm);
  padding: 0.75rem 1.25rem;
  font-weight: 600;
  color: var(--nv-text-1);
  direction: ltr;
  unicode-bidi: embed;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters {
  margin-bottom: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters a {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border-radius: 50rem;
  border: 1px solid var(--nv-border);
  color: var(--nv-text-2);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters a:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters a.active {
  background: var(--nv-primary-soft);
  border-color: var(--nv-primary);
  color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-header {
  background: var(--nv-bg-elevated) !important;
  color: var(--nv-text-muted) !important;
  font-weight: 700 !important;
  font-size: 0.78rem !important;
  border-bottom: 1px solid var(--nv-border) !important;
}
/* پاک‌سازی رنگ‌های هاردکد استایل پایه WHMCS در بخش دامنه */
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tlds {
  background: transparent !important;
  padding: 7px 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tlds-container {
  margin: 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-row {
  padding-block: 0.65rem;
  border-bottom: 1px solid var(--nv-border-subtle) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-row.highlighted {
  background: var(--nv-primary-soft) !important;
  border-radius: var(--cart-radius-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-selection-options .option {
  background-color: var(--nv-bg-elevated) !important;
  border-radius: var(--cart-radius-sm);
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-selection-options .option:hover {
  background-color: var(--nv-primary-soft) !important;
  border-color: var(--nv-primary-border);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-selection-options .option-selected {
  background-color: var(--nv-primary-soft) !important;
  border-color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-selection-options .option label {
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .card-header,
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .panel-heading {
  background: var(--nv-bg-elevated) !important;
  border-bottom: 1px solid var(--nv-border) !important;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-suggestions-loader,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-suggestions-message,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-primary-loader,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-register-loader,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-transfer-loader,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-spotlight-loader,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-lookup-other-loader {
  background-color: var(--nv-bg-elevated) !important;
  color: var(--nv-text-muted) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-searching .domain {
  color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-price-table td,
:is(#order-standard_cart, #order-negarnovin_cart) .tld-price-table th,
:is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-header + .row .tld-row {
  border-color: var(--nv-border-subtle) !important;
  color: var(--nv-text-2) !important;
  padding: 0.7rem 0.9rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-price-table th,
:is(#order-standard_cart, #order-negarnovin_cart) .tld-column {
  background: var(--nv-bg-elevated) !important;
  color: var(--nv-text-muted) !important;
  font-weight: 600 !important;
  font-size: 0.75rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-column { direction: ltr; }

/* انتقال دامنه */
:is(#order-standard_cart, #order-negarnovin_cart) .transfer-eligible {
  color: var(--nv-success);
  font-weight: 600;
}
:is(#order-standard_cart, #order-negarnovin_cart) .transfer-not-eligible {
  color: var(--nv-danger);
  font-weight: 600;
}

/* کامپوننت‌های dc-* (پیکربندی/انتقال دامنه) — پشتیبان توکنی */
:is(#order-standard_cart, #order-negarnovin_cart) .dc-page-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0.5rem 3rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-page-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-page-header p {
  color: var(--nv-text-2);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-card {
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--nv-shadow-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-card-header {
  background: linear-gradient(135deg, #002B85 0%, #001338 100%);
  padding: 1.15rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-card-header {
  background: linear-gradient(95.45deg, var(--hostim_dark_gray_bg) 0.64%, var(--hostim_dark_bg) 98.23%);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--cart-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-icon i { color: #fff; }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  word-break: break-all;
  direction: ltr;
  unicode-bidi: embed;
  text-align: end;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-domain-meta {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--nv-border-subtle);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-item {
  flex: 1 1 160px;
  padding: 1rem 1.5rem;
  border-inline-end: 1px solid var(--nv-border-subtle);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-item:last-child { border-inline-end: none; }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--nv-text-muted);
  margin-bottom: 0.3rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-value.has-hosting { color: var(--nv-success); }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-value.no-hosting,
:is(#order-standard_cart, #order-negarnovin_cart) .dc-meta-value.no-hosting a {
  color: var(--nv-danger);
  text-decoration: underline;
  font-size: 0.875rem;
}
/* ردیف EPP و فیلدها */
:is(#order-standard_cart, #order-negarnovin_cart) .dc-epp-row,
:is(#order-standard_cart, #order-negarnovin_cart) .dc-fields-row {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--nv-border-subtle);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-epp-row label { color: var(--nv-text-2); font-weight: 600; }
/* نام‌سرورها */
:is(#order-standard_cart, #order-negarnovin_cart) .dc-ns-section { padding: 1.25rem 1.5rem; }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-ns-section h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-ns-section p { color: var(--nv-text-2); }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-ns-grid .form-control {
  direction: ltr;
  unicode-bidi: plaintext;
  text-align: start;
}
/* افزونه‌های دامنه (DNS/ایمیل/محافظت اطلاعات) */
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.85rem;
  padding: 1.25rem 1.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-card {
  background: var(--nv-bg-elevated);
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius-sm);
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-card:hover { border-color: var(--nv-primary-border); }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-card.is-selected {
  border-color: var(--nv-primary);
  background: var(--nv-primary-soft);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--cart-radius-sm);
  background: var(--nv-primary-soft);
  color: var(--nv-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-title { font-weight: 700; color: var(--nv-text-1); }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-desc { font-size: 0.8rem; color: var(--nv-text-2); }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-addon-price { color: var(--nv-primary); font-weight: 700; font-size: 0.85rem; }
:is(#order-standard_cart, #order-negarnovin_cart) .dc-continue-wrap,
:is(#order-standard_cart, #order-negarnovin_cart) .dc-continue-btn { margin-top: 0.5rem; }

/* کامپوننت‌های cpd-* (انتخاب دامنه محصول) — پشتیبان توکنی */
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero {
  background: linear-gradient(135deg, #002B85 0%, #001338 100%);
  padding: 3.5rem 1.5rem 5.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-radius: var(--cart-radius);
  margin-bottom: -2.5rem;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero {
  background: linear-gradient(95.45deg, var(--hostim_dark_gray_bg) 0.64%, var(--hostim_dark_bg) 98.23%);
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero::before {
  content: '';
  position: absolute;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  top: -80px;
  width: 560px;
  height: 560px;
  background: radial-gradient(ellipse, rgba(var(--nv-primary-rgb), 0.28) 0%, transparent 65%);
  pointer-events: none;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--nv-accent);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.35rem 1rem;
  border-radius: 99px;
  margin-bottom: 1.25rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.4;
  margin-bottom: 0.8rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero h1 span {
  background: linear-gradient(90deg, #5B8CFF, var(--nv-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}
/* تب‌های ثبت/انتقال/دامنه شخصی */
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-options-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tabs {
  display: flex;
  gap: 0.75rem;
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: 16px;
  padding: 0.6rem;
  box-shadow: var(--nv-shadow-md);
  flex-wrap: wrap;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-option {
  flex: 1;
  min-width: 140px;
  cursor: pointer;
  display: block;
  margin: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  text-align: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-inner:hover {
  background: var(--nv-bg-elevated);
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--nv-bg-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--nv-text-muted);
  transition: all 0.22s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--nv-text-2);
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-option input[type="radio"]:checked + .cpd-tab-inner {
  background: var(--nv-primary-soft);
  border-color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-option input[type="radio"]:checked + .cpd-tab-inner .cpd-tab-icon {
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(var(--nv-primary-rgb), 0.3);
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-option input[type="radio"]:checked + .cpd-tab-inner .cpd-tab-label {
  color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-search-area { margin-top: 1.5rem; }
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-continue-wrap { margin-top: 1.5rem; text-align: center; }
:is(#order-standard_cart, #order-negarnovin_cart) .cpd-free-note {
  color: var(--nv-success);
  font-size: 0.85rem;
  font-weight: 600;
}

/* ----------------------------------------------------------------
   ۱۰) پیکربندی محصول — گزینه‌ها، افزونه‌ها، دوره پرداخت
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .product-info {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-inline-start: 3px solid var(--nv-primary) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1rem 1.25rem !important;
  margin-bottom: 1.25rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .product-info .product-title {
  font-weight: 800 !important;
  font-size: 1.1rem !important;
  color: var(--nv-text-1) !important;
  margin-bottom: 0.25rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .product-info p {
  color: var(--nv-text-2) !important;
  font-size: 0.82rem !important;
  margin: 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .product-domain {
  color: var(--nv-primary);
  font-weight: 600;
  direction: ltr;
  unicode-bidi: embed;
}

/* گزینه‌های قابل پیکربندی */
:is(#order-standard_cart, #order-negarnovin_cart) .product-configurable-options {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1.25rem !important;
  margin-bottom: 1.25rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .row-upgrade-credit {
  padding: 0.6rem 1rem !important;
  background: var(--nv-primary-soft) !important;
  border-radius: var(--cart-radius-sm) !important;
  margin-top: 0.5rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .upgrade-calc-msg {
  color: var(--nv-text-muted) !important;
  font-size: 0.75rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .info-text-sm {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  color: var(--nv-text-2) !important;
  border-radius: var(--cart-radius-sm) !important;
  font-size: 0.82rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .info-text-sm .alert-link {
  color: var(--nv-primary) !important;
}

/* پنل افزونه‌ها (addon checkboxes) */
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon,
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon.card,
:is(#order-standard_cart, #order-negarnovin_cart) .product-added-panel {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  transition: border-color 0.15s !important;
  margin-bottom: 0.85rem !important;
  overflow: hidden !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon:hover {
  border-color: var(--nv-primary-border) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon-selected,
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon:has(input[type="checkbox"]:checked) {
  border-color: var(--nv-primary) !important;
  background: var(--nv-primary-soft) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon .panel-body,
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon .card-body {
  color: var(--nv-text-2) !important;
  font-size: 0.82rem !important;
  padding: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-addon .panel-body label {
  color: var(--nv-text-1) !important;
  font-weight: 600 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-price {
  background: var(--nv-bg-elevated) !important;
  padding: 0.65rem 1rem !important;
  font-weight: 700 !important;
  color: var(--nv-text-1) !important;
  font-size: 0.875rem !important;
  border-top: 1px solid var(--nv-border) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-add {
  background: var(--nv-primary-soft) !important;
  padding: 0.55rem 1rem !important;
  color: var(--nv-primary) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
  text-align: center !important;
  cursor: pointer !important;
  transition: background-color 0.15s !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .panel-add:hover {
  background: var(--nv-primary) !important;
  color: #fff !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .addon-products { margin-top: 1rem; }

/* ----------------------------------------------------------------
   ۱۱) صفحه تکمیل سفارش (complete)
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .order-confirmation {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-primary-border) !important;
  border-radius: var(--cart-radius) !important;
  padding: 1.5rem !important;
  text-align: center !important;
  font-size: 1.1rem !important;
  color: var(--nv-text-1) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-confirmation span {
  font-weight: 700 !important;
  color: var(--nv-primary) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-confirmation-addon-output {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  padding: 1rem !important;
  margin-bottom: 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-complete-hero {
  text-align: center;
  padding: 3rem 1.5rem 2rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-complete-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #002B85, #001338);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 32px rgba(var(--nv-primary-rgb), 0.3);
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .order-complete-icon {
  background: linear-gradient(95.45deg, var(--hostim_dark_gray_bg) 0.64%, var(--hostim_dark_bg) 98.23%);
  border: 1px solid rgba(91, 140, 255, 0.3);
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-complete-icon i {
  font-size: 2.5rem;
  color: #fff;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .order-complete-icon i {
  color: var(--nv-accent);
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-complete-hero h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--nv-text-1);
  margin-bottom: 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-complete-hero p {
  color: var(--nv-text-2);
  font-size: 0.9375rem;
  max-width: 520px;
  margin: 0 auto 1.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-number-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-inline-start: 4px solid var(--nv-primary);
  border-radius: var(--cart-radius-sm);
  padding: 1rem 1.75rem;
  margin: 0 auto 2rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-number-card .label {
  font-size: 0.75rem;
  color: var(--nv-text-muted);
  font-weight: 600;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-number-card .number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--nv-primary);
  direction: ltr;
  unicode-bidi: embed;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-status-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 620px;
  margin: 0 auto 2rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-status-item {
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius-sm);
  padding: 1rem;
  text-align: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-status-item i {
  font-size: 1.25rem;
  color: var(--nv-primary);
  display: block;
  margin-bottom: 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .order-status-item span {
  font-size: 0.82rem;
  color: var(--nv-text-2);
  font-weight: 500;
}
:is(#order-standard_cart, #order-negarnovin_cart) .complete-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .complete-alert-box {
  max-width: 560px;
  margin: 0 auto 1.5rem;
  border-radius: var(--cart-radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  text-align: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .complete-alert-box.warning {
  background: var(--nv-warning-bg);
  border: 1px solid var(--nv-warning);
  color: var(--nv-warning);
}
:is(#order-standard_cart, #order-negarnovin_cart) .complete-alert-box.danger {
  background: var(--nv-danger-bg);
  border: 1px solid var(--nv-danger);
  color: var(--nv-danger);
}
:is(#order-standard_cart, #order-negarnovin_cart) .complete-alert-box.info {
  background: var(--nv-info-bg);
  border: 1px solid var(--nv-info);
  color: var(--nv-info);
}

/* ----------------------------------------------------------------
   ۱۲) تمدید سرویس‌ها و دامنه‌ها
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals-filter,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals-filter {
  max-width: 340px;
  margin-bottom: 1.25rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-card {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--nv-shadow-md);
}
:is(#order-standard_cart, #order-negarnovin_cart) .renewal { color: var(--nv-text-2); }
:is(#order-standard_cart, #order-negarnovin_cart) .renewal-price,
:is(#order-standard_cart, #order-negarnovin_cart) .renewal .price {
  color: var(--nv-primary) !important;
  font-weight: 700;
}
:is(#order-standard_cart, #order-negarnovin_cart) .renewal .cycle,
:is(#order-standard_cart, #order-negarnovin_cart) .div-renewal-period-label {
  color: var(--nv-text-muted) !important;
  font-size: 0.78rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .div-renewal-ineligible {
  color: var(--nv-text-muted);
  font-size: 0.82rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewal {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm);
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewal-desc {
  color: var(--nv-text-2);
  font-size: 0.85rem;
}
/* برچسب‌های BS3 قدیمی → پیل توکنی */
:is(#order-standard_cart, #order-negarnovin_cart) .label,
:is(#order-standard_cart, #order-negarnovin_cart) .label-default,
:is(#order-standard_cart, #order-negarnovin_cart) .label-grey {
  background: var(--nv-bg-elevated);
  color: var(--nv-text-2);
  border: 1px solid var(--nv-border);
  border-radius: 50rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  display: inline-block;
  line-height: 1.8;
}
:is(#order-standard_cart, #order-negarnovin_cart) .label-danger { background: var(--nv-danger-bg) !important; color: var(--nv-danger) !important; border: 1px solid var(--nv-danger); }
:is(#order-standard_cart, #order-negarnovin_cart) .label-warning { background: var(--nv-warning-bg) !important; color: var(--nv-warning) !important; border: 1px solid var(--nv-warning); }
:is(#order-standard_cart, #order-negarnovin_cart) .label-success { background: var(--nv-success-bg) !important; color: var(--nv-success) !important; border: 1px solid var(--nv-success); }
:is(#order-standard_cart, #order-negarnovin_cart) .label-info { background: var(--nv-info-bg) !important; color: var(--nv-info) !important; border: 1px solid var(--nv-info); }

/* ----------------------------------------------------------------
   ۱۳) هشدارها، خطا، fraudcheck و حالت‌های خالی
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .alert-danger {
  background: var(--nv-danger-bg) !important;
  border-color: var(--nv-danger) !important;
  color: var(--nv-danger) !important;
  border-radius: var(--cart-radius-sm) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .alert-warning {
  background: var(--nv-warning-bg) !important;
  border-color: var(--nv-warning) !important;
  color: var(--nv-warning) !important;
  border-radius: var(--cart-radius-sm) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .alert-success {
  background: var(--nv-success-bg) !important;
  border-color: var(--nv-success) !important;
  color: var(--nv-success) !important;
  border-radius: var(--cart-radius-sm) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .alert-info {
  background: var(--nv-info-bg) !important;
  border-color: var(--nv-info) !important;
  color: var(--nv-info) !important;
  border-radius: var(--cart-radius-sm) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .alert .alert-link {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}
:is(#order-standard_cart, #order-negarnovin_cart) .error-heading {
  font-weight: 800;
  font-size: 1.1rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .slim-alert {
  padding: 0.75rem 1rem;
  font-size: 0.85rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .vat-error {
  color: var(--nv-danger);
  font-size: 0.8rem;
}

/* ----------------------------------------------------------------
   ۱۴) مودال‌ها (داخل اسکوپ سبد)
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .modal-content {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  color: var(--nv-text-1) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .modal-header {
  border-bottom-color: var(--nv-border-subtle) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .modal-footer {
  border-top-color: var(--nv-border-subtle) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .modal-title {
  color: var(--nv-text-1) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .modal-body {
  color: var(--nv-text-2) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .modal .close,
:is(#order-standard_cart, #order-negarnovin_cart) .modal .btn-close {
  color: var(--nv-text-muted) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .modal-remove-item .modal-title i {
  color: var(--nv-danger) !important;
}

/* مودال تولید رمز (خارج از wrapper رندر می‌شود — شناسه یکتا) */
#modalGeneratePassword .modal-content {
  background: var(--nv-bg-surface);
  color: var(--nv-text-1);
}
#modalGeneratePassword .modal-title { color: var(--nv-text-1); }
#modalGeneratePassword .btn-brand-clean {
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover));
  color: #fff;
  border: none;
  border-radius: var(--cart-radius-sm);
  font-weight: 700;
  min-height: 44px;
}
#modalGeneratePassword .btn-outline-secondary {
  background: transparent;
  border: 1px solid var(--nv-border);
  color: var(--nv-text-2);
  border-radius: var(--cart-radius-sm);
  font-weight: 600;
  min-height: 44px;
}
#modalGeneratePassword .btn-outline-secondary:hover {
  border-color: var(--nv-primary);
  color: var(--nv-primary);
}

/* پیشنهاد محصولات (خارج از wrapper — کلاس یکتای صفحه سبد) */
.product-recommendations-container {
  margin-top: 2rem;
}
.product-recommendation,
.product-added-panel {
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.product-recommendation .header,
.product-added-panel .header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--nv-border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  cursor: pointer;
}
.product-recommendation .headline {
  font-weight: 700;
  color: var(--nv-text-1);
  font-size: 0.95rem;
}
.product-recommendation .tagline,
.product-recommendation .text {
  color: var(--nv-text-2);
  font-size: 0.85rem;
}
.product-recommendation .price,
.product-recommendation .breakdown-price {
  color: var(--nv-primary);
  font-weight: 700;
}
.product-recommendation .content,
.product-added-panel .panel-body {
  padding: 1rem 1.25rem;
  color: var(--nv-text-2);
  font-size: 0.85rem;
}
.product-recommendation .cta { padding: 0 1.25rem 1.25rem; }
.product-recommendation .expander .fa-chevron-right,
.product-recommendation .arrow .fa-chevron-right {
  transition: transform 0.2s ease;
}
.product-recommendation .expander.expanded .fa-chevron-right,
.product-recommendation .rotate { transform: rotate(-90deg); }

/* پروموشن MarketConnect */
.mc-promo {
  background: var(--nv-bg-surface);
  border: 1px solid var(--nv-border);
  border-radius: var(--cart-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}
.mc-promo .header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--nv-border-subtle);
}
.mc-promo .headline { font-weight: 700; color: var(--nv-text-1); }
.mc-promo .tagline, .mc-promo .text { color: var(--nv-text-2); font-size: 0.85rem; }
.mc-promo .price { color: var(--nv-primary); font-weight: 700; }
.mc-promo .content { padding: 1rem 1.25rem; }
.mc-promo .cta { padding: 0 1.25rem 1.25rem; }

/* ----------------------------------------------------------------
   ۱۵) متفرقه — رمز عبور، ورود اجتماعی، جدول‌ها
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .password-strength-meter .progress {
  background: var(--nv-border) !important;
  border-radius: 50rem !important;
  height: 6px !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .password-strength-meter .progress-bar {
  background: linear-gradient(90deg, var(--nv-primary), var(--nv-primary-hover)) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .password-strength-meter #passwordStrengthTextLabel {
  color: var(--nv-text-muted) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .social-signin-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .social-signin-btns .btn {
  flex: 1 1 180px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .provider-name { font-weight: 600; }
:is(#order-standard_cart, #order-negarnovin_cart) .providerLinkingFeedback {
  color: var(--nv-text-2);
  font-size: 0.85rem;
}

/* جدول‌ها — ریسپانسیو با هدر ظریف */
:is(#order-standard_cart, #order-negarnovin_cart) .table {
  color: var(--nv-text-1);
  border-color: var(--nv-border-subtle);
}
:is(#order-standard_cart, #order-negarnovin_cart) .table thead th,
:is(#order-standard_cart, #order-negarnovin_cart) .table th {
  background: var(--nv-bg-elevated) !important;
  color: var(--nv-text-muted) !important;
  font-weight: 600 !important;
  font-size: 0.78rem !important;
  border-color: var(--nv-border-subtle) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .table td,
:is(#order-standard_cart, #order-negarnovin_cart) .table td .form-control {
  color: var(--nv-text-2);
  border-color: var(--nv-border-subtle) !important;
  vertical-align: middle;
}
:is(#order-standard_cart, #order-negarnovin_cart) .table-hover tbody tr:hover td {
  background: var(--nv-primary-soft) !important;
  color: var(--nv-text-1);
}

/* دراپ‌داون داخل سبد */
:is(#order-standard_cart, #order-negarnovin_cart) .dropdown-menu {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius-sm) !important;
  box-shadow: var(--nv-shadow-md);
}
:is(#order-standard_cart, #order-negarnovin_cart) .dropdown-menu .dropdown-item,
:is(#order-standard_cart, #order-negarnovin_cart) .dropdown-menu li a {
  color: var(--nv-text-2) !important;
  padding: 0.55rem 1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .dropdown-menu .dropdown-item:hover,
:is(#order-standard_cart, #order-negarnovin_cart) .dropdown-menu li a:hover {
  background: var(--nv-primary-soft) !important;
  color: var(--nv-primary) !important;
}

/* لودر و اسپینر */
:is(#order-standard_cart, #order-negarnovin_cart) .loader {
  color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .loader .fa-spin,
:is(#order-standard_cart, #order-negarnovin_cart) .fa-spin {
  color: var(--nv-primary);
}

/* ----------------------------------------------------------------
   ۱۶) ریسپانسیو — موبایل تک‌ستونه و دکمه‌های تمام‌عرض
   ---------------------------------------------------------------- */
@media (max-width: 991.98px) {
  :is(#order-standard_cart, #order-negarnovin_cart) .secondary-cart-body,
  :is(#order-standard_cart, #order-negarnovin_cart) .secondary-cart-sidebar {
    float: none !important;
    width: 100% !important;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .secondary-cart-sidebar {
    margin-top: 1.5rem;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .order-summary {
    margin-top: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  :is(#order-standard_cart, #order-negarnovin_cart) .products .product footer {
    flex-direction: column !important;
    text-align: center !important;
    gap: 0.85rem !important;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-pricing {
    text-align: center !important;
    width: 100%;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .products .product footer .btn,
  :is(#order-standard_cart, #order-negarnovin_cart) .btn-order-now,
  :is(#order-standard_cart, #order-negarnovin_cart) .btn-add-to-cart,
  :is(#order-standard_cart, #order-negarnovin_cart) .btn-add-renewal-to-cart {
    width: 100% !important;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items .item-price {
    text-align: start !important;
    margin-top: 0.5rem;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .view-cart-items-header {
    display: none !important;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .checkout-card,
  :is(#order-standard_cart, #order-negarnovin_cart) .field-container,
  :is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card {
    padding: 1.15rem !important;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .cpd-hero {
    padding: 2.5rem 1rem 4.5rem;
    margin-bottom: -2rem;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .cpd-tab-option {
    min-width: 100%;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .domain-input-group {
    flex-direction: column;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .domain-input-inner {
    flex-direction: column;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .domain-input-group .field-icon {
    display: none;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .domain-prefix {
    justify-content: center;
    border-inline-end: none !important;
    border-bottom: 1px solid var(--nv-border);
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .domain-tld-select {
    border-inline-start: none !important;
    border-top: 1px solid var(--nv-border);
    min-height: 48px;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .domain-submit-btn {
    width: 100%;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .complete-actions .btn-complete-primary,
  :is(#order-standard_cart, #order-negarnovin_cart) .complete-actions .btn-complete-ghost {
    width: 100%;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .header-lined h1 {
    font-size: 1.2rem;
  }
  /* جدول قیمت TLD — اسکرول افقی به‌جای شکستن چیدمان */
  :is(#order-standard_cart, #order-negarnovin_cart) .tld-price-table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}

/* کاهش انیمیشن برای کاربران حساس */
@media (prefers-reduced-motion: reduce) {
  :is(#order-standard_cart, #order-negarnovin_cart) *,
  .product-recommendation *,
  .mc-promo * {
    animation: none !important;
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   نگارنوین v3.6 — تکمیل دارک مود سبد + نشانگر مراحل + اعتماد پرداخت
   ═══════════════════════════════════════════════════════════════ */

/* 22. رفع زبرای روشن قدیمی در هدر جدول TLD (از theme.css والد) */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-pricing-header div:nth-child(2n+1),
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-pricing-header div {
  background: transparent !important;
}

/* 23. نشانگر مراحل خرید (nv-cart-steps) — در common.tpl */
.nv-cart-steps {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0 auto 1.75rem;
  max-width: 640px;
  padding: 0 0.25rem;
}
.nv-cart-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1 0;
  min-width: 0;
  text-decoration: none;
  position: relative;
}
.nv-cart-step + .nv-cart-step { margin-inline-start: 0.35rem; }
.nv-cart-step-num {
  width: 30px; height: 30px;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 800;
  flex-shrink: 0;
  background: var(--nv-bg-elevated);
  border: 1.5px solid var(--nv-border);
  color: var(--nv-text-muted);
  font-variant-numeric: tabular-nums;
  transition: all 0.22s ease;
}
.nv-cart-step i {
  font-size: 0.95rem;
  line-height: 1;
}
.nv-cart-step-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nv-text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.22s ease;
}
/* خط اتصال بین گام‌ها */
.nv-cart-step:not(:last-child)::after {
  content: '';
  flex: 1 1 auto;
  height: 2px;
  min-width: 12px;
  margin-inline-start: 0.6rem;
  background: var(--nv-border);
  border-radius: 2px;
  transition: background 0.22s ease;
}
/* گام انجام‌شده */
.nv-cart-step.done .nv-cart-step-num {
  background: var(--nv-primary-soft);
  border-color: var(--nv-primary-border);
  color: var(--nv-primary);
}
.nv-cart-step.done .nv-cart-step-label { color: var(--nv-text-2); }
.nv-cart-step.done:not(:last-child)::after { background: var(--nv-primary-border); }
/* گام فعال */
.nv-cart-step.active .nv-cart-step-num {
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-deep));
  border-color: var(--nv-primary);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(var(--nv-primary-rgb), 0.15), var(--nv-shadow-sm);
}
.nv-cart-step.active .nv-cart-step-label {
  color: var(--nv-text-1);
  font-weight: 700;
}
.nv-cart-step.active .nv-cart-step-num { animation: nvStepPop 0.35s ease; }
@keyframes nvStepPop { 0% { transform: scale(0.8); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
/* حالت نهایی (complete) — همه گام‌ها تیک طلایی */
.nv-cart-steps.finished .nv-cart-step .nv-cart-step-num {
  background: linear-gradient(135deg, var(--nv-accent), var(--nv-accent-hover));
  border-color: var(--nv-accent);
  color: var(--nv-accent-ink);
}
.nv-cart-steps.finished .nv-cart-step.done:not(:last-child)::after { background: var(--nv-accent); }
/* موبایل: فقط شماره + خط */
@media (max-width: 575.98px) {
  .nv-cart-steps { gap: 0.15rem; margin-bottom: 1.25rem; }
  .nv-cart-step-label { display: none; }
  .nv-cart-step:not(:last-child)::after { margin-inline-start: 0.3rem; min-width: 8px; }
  .nv-cart-step-num { width: 26px; height: 26px; font-size: 0.72rem; }
  .nv-cart-step.done .nv-cart-step-label,
  .nv-cart-step.active .nv-cart-step-label { display: block; font-size: 0.62rem; }
}

/* 24. نشانه‌های اعتماد زیر دکمه پرداخت (checkout) */
.nv-pay-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem 0.9rem;
  margin-top: 1rem;
  padding-top: 0.9rem;
  border-top: 1px dashed var(--nv-border-subtle);
}
.nv-pay-trust span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--nv-text-muted);
}
.nv-pay-trust i { font-size: 0.95rem; }
.nv-pay-trust .nv-trust-ssl i { color: var(--nv-success); }
.nv-pay-trust .nv-trust-gw i { color: var(--nv-primary); }
.nv-pay-trust .nv-trust-sup i { color: var(--nv-accent); }

/* 25. ریزتعامل‌ها — ورود کارت‌ها و هاور درگاه‌ها */
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card {
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--nv-shadow-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card:has(input[type="radio"]:checked) {
  transform: none;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-card,
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card,
:is(#order-standard_cart, #order-negarnovin_cart) .service-card.product {
  animation: nvCardIn 0.4s ease both;
}
:is(#order-standard_cart, #order-negarnovin_cart) .checkout-summary-card { animation-delay: 0.08s; }
@keyframes nvCardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 26. دارک — خوانایی لیبل‌های ثانویه سبد (اعتبار/کد تخفیف) */
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .apply-credit-container p,
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .apply-credit-container .radio,
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .promo-code-container p { color: var(--nv-text-2); }
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .form-control::placeholder,
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .field::placeholder { color: #9CA1AD !important; }

/* 27. جدول قیمت TLD در موبایل — اسکرول افقی به‌جای سرریز */
@media (max-width: 767.98px) {
  :is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-table .tld-pricing-header,
  :is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-table .tld-row {
    min-width: 520px;
  }
  :is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-table .tld-pricing-header {
    position: sticky;
    top: 0;
    z-index: 1;
  }
}

/* 28. رفع نشت ۳.۷۵px گاترهای BS4 والد در موبایل (row با margin -15 داخل cart-body پددار) */
@media (max-width: 767.98px) {
  :is(#order-standard_cart, #order-negarnovin_cart) .cart-body { overflow-x: clip; }
}

/* ----------------------------------------------------------------
   ۲۹) نسخه ۴.۵.۰ — کارت‌های روش پرداخت: حالت انتخابشده حرفه‌ای
   ---------------------------------------------------------------- */
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card {
  position: relative;
  box-shadow: var(--nv-shadow-sm);
}
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card:has(input[type="radio"]:checked) {
  box-shadow: 0 0 0 2px var(--nv-primary), var(--nv-shadow-sm);
}
/* تیک تأیید گوشه کارت انتخاب‌شده */
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card:has(input[type="radio"]:checked)::after {
  content: "\2713";
  position: absolute;
  inset-inline-start: -7px;
  top: -7px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--nv-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 43, 133, 0.4);
}
/* آیکون درگاه: دایره‌ای نرم و بزرگ‌تر */
:is(#order-standard_cart, #order-negarnovin_cart) .payment-method-card .payment-method-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
}

/* ----------------------------------------------------------------
   ۳۰) نسخه ۴.۶.۰ — بازطراحی بخش دامنه‌ها (جستجو/نتایج/قیمت/TLD)
   ---------------------------------------------------------------- */

/* ── باکس جستجوی دامنه ── */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-search-form { direction: rtl; }
:is(#order-standard_cart, #order-negarnovin_cart) input#inputDomain,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker input[type="text"],
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker input[type="search"] {
  min-height: 58px !important;
  border-radius: 50rem !important;
  border: 2px solid var(--nv-border) !important;
  background: var(--nv-bg-input) !important;
  font-size: 1.05rem !important;
  font-weight: 600;
  direction: ltr;
  text-align: left;
  padding-inline: 1.4rem !important;
  box-shadow: var(--nv-shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) input#inputDomain:focus,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker input[type="text"]:focus {
  border-color: var(--nv-primary) !important;
  box-shadow: 0 0 0 5px var(--nv-primary-soft) !important;
  outline: none !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker .btn,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-search-form button[type="submit"] {
  min-height: 58px !important;
  border-radius: 50rem !important;
  padding-inline: 1.8rem !important;
  font-weight: 700 !important;
}

/* ── نتیجه اصلی جستجو (موجود/ناموجود) ── */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-result-headline {
  display: flex !important;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  border-radius: 14px !important;
  padding: 1.1rem 1.4rem !important;
  font-weight: 800 !important;
  font-size: 1.05rem !important;
  border: 1px solid transparent !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-available {
  background: var(--nv-success-bg) !important;
  color: var(--nv-success) !important;
  border-color: rgba(76, 195, 138, 0.4) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-unavailable {
  background: var(--nv-danger-bg) !important;
  color: var(--nv-danger) !important;
  border-color: rgba(242, 85, 90, 0.35) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-result-headline .btn {
  min-height: 44px !important;
}

/* ── کارت‌های پیشنهاد دامنه ── */
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: var(--cart-radius) !important;
  box-shadow: var(--nv-shadow-sm);
  overflow: hidden;
}
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .card-header,
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .panel-heading {
  padding: 0.95rem 1.25rem !important;
  font-weight: 800 !important;
  font-size: 0.92rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .card-body,
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .panel-body { padding: 0.4rem 0.9rem 0.9rem !important; }
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .card,
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .domain-suggestion {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-bottom: 1px dashed var(--nv-border-subtle) !important;
  border-radius: 0 !important;
  padding: 0.85rem 0.5rem !important;
  margin: 0 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .domain {
  direction: ltr;
  font-weight: 800;
  color: var(--nv-text-1) !important;
  font-size: 0.95rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .suggested-domains .btn-primary,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestion .btn {
  border-radius: 50rem !important;
  min-height: 40px;
  font-weight: 700 !important;
}

/* ── اسپات‌لایت TLDها ── */
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: 14px !important;
  padding: 0.9rem 0.75rem !important;
  text-align: center;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld:hover {
  transform: translateY(-3px);
  box-shadow: var(--nv-shadow-md);
  border-color: var(--nv-primary-border) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .price,
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .spotlight-price {
  color: var(--nv-primary) !important;
  font-weight: 800 !important;
}

/* ── جدول قیمت TLDها ── */
:is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-header {
  background: linear-gradient(135deg, #002B85, #001338) !important;
  color: #ffffff !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.3px;
  border-radius: 10px 10px 0 0;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .tld-pricing-header {
  background: linear-gradient(135deg, #2C55B8, #16233F) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-row {
  padding-block: 0.75rem;
  transition: background-color 0.12s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-row:hover {
  background: var(--nv-primary-soft);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .tld-row .tld,
:is(#order-standard_cart, #order-negarnovin_cart) .tld-row strong:first-child {
  direction: ltr;
  font-weight: 800;
  color: var(--nv-text-1);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-pricing .price,
:is(#order-standard_cart, #order-negarnovin_cart) .tld-price-table .price {
  color: var(--nv-primary) !important;
  font-weight: 800 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters a {
  display: inline-flex; align-items: center;
  border-radius: 50rem !important;
  padding: 0.4rem 1rem !important;
  font-size: 0.78rem !important;
  font-weight: 700;
  border: 1px solid var(--nv-border);
  color: var(--nv-text-2);
  text-decoration: none;
  transition: all 0.15s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .tld-filters a:hover {
  border-color: var(--nv-primary-border);
  color: var(--nv-primary);
}

/* ── کارت‌های انتخاب نوع دامنه (ثبت/انتقال/نمایش…) ── */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-selection-options .option {
  border-radius: 12px !important;
  padding: 0.85rem 1rem !important;
  border: 1.5px solid var(--nv-border) !important;
  background: var(--nv-bg-surface) !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-selection-options .option-selected {
  border-color: var(--nv-primary) !important;
  box-shadow: 0 0 0 3px var(--nv-primary-soft);
}

/* ── لیست تمدید دامنه‌ها ── */
:is(#order-standard_cart, #order-negarnovin_cart) .renewals-summary,
:is(#order-standard_cart, #order-negarnovin_cart) .renewal-item,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewal {
  background: var(--nv-bg-surface) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: 12px !important;
  padding: 0.9rem 1.1rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .renewal-item:hover { border-color: var(--nv-primary-border) !important; }

/* ── دکمه‌های بخش دامنه ── */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-suggestion-pricing .btn,
:is(#order-standard_cart, #order-negarnovin_cart) .additional-options {
  border-radius: 50rem !important;
  font-weight: 700 !important;
}


/* ----------------------------------------------------------------
   ۳۱) نسخه ۴.۷.۰ — فرمت قیمت فروشگاه + کارت پلن جذاب‌تر
   ---------------------------------------------------------------- */
/* مرکزچین و فلکس فقط در کارت پلن‌ها (نه جدول‌های خلاصه سفارش) */
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-pricing .price,
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.35rem;
  direction: rtl;
}
/* بقیه جاها: فقط هم‌ترازی درون‌خطی عدد و واحد */
:is(#order-standard_cart, #order-negarnovin_cart) .price { direction: rtl; }
:is(#order-standard_cart, #order-negarnovin_cart) .price .nv-price-num {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--nv-primary);
  letter-spacing: -0.3px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .price .nv-price-cur {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--nv-text-muted);
}
/* عدد LTR در RTL با ریال سمت چپ عدد قرار می‌گیرد */
:is(#order-standard_cart, #order-negarnovin_cart) .price .nv-price-num { direction: ltr; unicode-bidi: embed; }

/* کارت پلن — جذاب‌تر */
:is(#order-standard_cart, #order-negarnovin_cart) .products .product {
  border-radius: 18px !important;
  position: relative;
  overflow: hidden;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product::before {
  content: '';
  position: absolute;
  top: 0; inset-inline: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nv-primary), var(--nv-accent, #FFBE00));
  opacity: 0;
  transition: opacity 0.2s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product:hover::before { opacity: 1; }
:is(#order-standard_cart, #order-negarnovin_cart) .products .product header {
  background: linear-gradient(180deg, var(--nv-bg-elevated), var(--nv-bg-surface)) !important;
  padding-block: 1.35rem 1.1rem !important;
  text-align: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product header h3 {
  font-size: 1.15rem !important;
  font-weight: 900 !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product footer {
  flex-direction: column !important;
  text-align: center;
  padding-bottom: 1.35rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-pricing { text-align: center; }
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .product-cycle {
  display: inline-block;
  background: var(--nv-primary-soft);
  border-radius: 50rem;
  padding: 0.15rem 0.7rem;
  margin-top: 0.3rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product .btn-brand {
  box-shadow: 0 8px 20px rgba(var(--nv-primary-rgb), 0.28);
}
:is(#order-standard_cart, #order-negarnovin_cart) .products .product:hover {
  transform: translateY(-6px);
}

/* مبلغ قابل پرداخت: ریال کوچک سمت چپ عدد */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-pay-total .nv-price-num,
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .nv-price-num {
  color: #fff; font-size: 2rem; font-weight: 900; direction: ltr; unicode-bidi: embed;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-pay-total .nv-price-cur,
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .nv-price-cur {
  color: #FFD84D; font-size: 0.8rem; font-weight: 700;
}

/* ═══ ثبت دامنه — پیشنهاد هوشمند (نسخه ۴.۸.۰) ═══ */
.nv-dai-box {
  background: linear-gradient(135deg, rgba(var(--nv-primary-rgb), 0.08), rgba(255, 190, 0, 0.07));
  border: 1px solid var(--nv-primary-border);
  border-radius: 16px;
  padding: 1.15rem 1.3rem;
  margin-bottom: 1.5rem;
}
.nv-dai-head { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 0.85rem; }
.nv-dai-badge {
  width: fit-content; display: inline-flex; align-items: center; gap: 0.35rem;
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover));
  color: #fff; font-size: 0.7rem; font-weight: 800; border-radius: 50rem; padding: 0.25rem 0.8rem;
}
.nv-dai-head strong { font-size: 1rem; color: var(--nv-text-1); font-weight: 800; }
.nv-dai-head small { font-size: 0.75rem; color: var(--nv-text-muted); }
.nv-dai-row { display: flex; gap: 0.6rem; }
.nv-dai-row input {
  flex: 1; min-height: 50px; border-radius: 50rem; border: 1.5px solid var(--nv-border);
  background: var(--nv-bg-input); color: var(--nv-text-1); font-family: var(--nv-font);
  font-size: 0.9rem; padding-inline: 1.2rem;
}
.nv-dai-row input:focus { outline: none; border-color: var(--nv-primary); box-shadow: 0 0 0 4px var(--nv-primary-soft); }
.nv-dai-row button {
  min-height: 50px; border-radius: 50rem; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--nv-primary), var(--nv-primary-hover));
  color: #fff; font-family: var(--nv-font); font-weight: 800; font-size: 0.85rem; padding-inline: 1.6rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.nv-dai-row button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(var(--nv-primary-rgb), 0.35); }
.nv-dai-row button:disabled { opacity: 0.75; cursor: progress; transform: none; box-shadow: none; }
.nv-dai-btn-label, .nv-dai-btn-loading { display: inline-flex; align-items: center; gap: 0.4rem; }
.nv-dai-btn-loading .ti-loader-2 { animation: nvSpin 0.9s linear infinite; }
@keyframes nvSpin { to { transform: rotate(360deg); } }
.nv-dai-chips { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 0.9rem; }
.nv-dai-chip {
  direction: ltr;
  display: inline-flex; flex-direction: column; align-items: flex-start; gap: 0.2rem;
  background: var(--nv-bg-surface); border: 1.5px solid var(--nv-primary-border);
  color: var(--nv-primary);
  border-radius: 12px; padding: 0.55rem 0.95rem; cursor: pointer;
  font-family: var(--nv-font); transition: all 0.15s ease;
  text-align: left;
}
.nv-dai-chip:hover { background: var(--nv-primary); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 18px rgba(var(--nv-primary-rgb), 0.28); }
.nv-dai-chip-name { font-weight: 800; font-size: 0.9rem; }
.nv-dai-chip-label {
  direction: rtl;
  font-size: 0.66rem; font-weight: 700; color: var(--nv-text-muted);
  background: var(--nv-bg-elevated); border-radius: 50rem; padding: 0.08rem 0.5rem;
}
.nv-dai-chip:hover .nv-dai-chip-label { background: rgba(255, 255, 255, 0.2); color: #fff; }
.nv-dai-foot {
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  margin-top: 0.9rem; padding-top: 0.8rem;
  border-top: 1px dashed var(--nv-primary-border);
}
.nv-dai-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: transparent; border: 1.5px solid var(--nv-primary-border); color: var(--nv-primary);
  border-radius: 50rem; padding: 0.45rem 1.1rem; cursor: pointer;
  font-family: var(--nv-font); font-size: 0.8rem; font-weight: 800;
  transition: all 0.15s ease;
}
.nv-dai-more:hover { background: var(--nv-primary-soft); border-color: var(--nv-primary); }
.nv-dai-hint { font-size: 0.72rem; font-weight: 600; color: var(--nv-text-muted); }
.nv-dai-wait { font-size: 0.8rem; color: var(--nv-text-muted); display: inline-flex; gap: 0.4rem; align-items: center; }
.nv-dai-wait .ti-loader-2 { animation: nvSpin 0.9s linear infinite; }
.nv-dai-error {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.8rem; font-weight: 700; color: var(--nv-danger);
  background: var(--nv-danger-bg); border: 1px solid rgba(194, 37, 37, 0.25);
  border-radius: 12px; padding: 0.5rem 0.9rem;
}
@media (max-width: 575.98px) { .nv-dai-row { flex-direction: column; } .nv-dai-chip { width: 100%; } }

/* ═══ قیمت تفکیک‌شده عمومی (عدد بولد + واحد کوچک چپ عدد) ═══ */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-inline-price .nv-in-num {
  font-weight: 800;
  direction: ltr;
  unicode-bidi: embed;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-inline-price .nv-in-cur {
  font-size: 0.72em;
  font-weight: 700;
  color: var(--nv-text-muted);
  margin-inline-start: 0.25rem;
}

/* ═══ ثبت دامنه — تحول بصری (نسخه ۴.۸.۱) ═══ */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-result-headline {
  font-size: 1.1rem !important;
  border-radius: 16px !important;
  padding: 1.25rem 1.5rem !important;
  position: relative;
  overflow: hidden;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-available::before,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-unavailable::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 0; bottom: 0;
  width: 5px;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-available::before { background: linear-gradient(180deg, #4CC38A, #2E9E6B); }
:is(#order-standard_cart, #order-negarnovin_cart) .domain-checker-unavailable::before { background: linear-gradient(180deg, #F2555A, #C23A3F); }

/* اسپات‌لایت TLDها — کارت‌های شیشه‌ای */
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tlds-container {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.7rem !important;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  background: linear-gradient(180deg, rgba(var(--nv-primary-rgb), 0.06), transparent) !important;
  border: 1px solid var(--nv-border) !important;
  border-radius: 14px !important;
  padding: 1rem 0.6rem !important;
  text-align: center;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld [class*="spotlight-tld-"] {
  border-radius: 50rem;
  font-size: 0.62rem !important;
  padding: 0.12rem 0.6rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .spotlight-tld .domain {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--nv-text-1) !important;
}

/* نتایج/پیشنهادها — ردیف‌های کارتی */
:is(#order-standard_cart, #order-negarnovin_cart) .row.domain-suggestions {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 0.75rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .row.domain-suggestions > [class*="col-"] {
  width: auto;
  padding: 0;
  margin: 0;
}
:is(#order-standard_cart, #order-negarnovin_cart) .row.domain-suggestions label {
  background: var(--nv-bg-surface);
  border: 1.5px solid var(--nv-border);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.15s ease;
  width: 100%;
}
:is(#order-standard_cart, #order-negarnovin_cart) .row.domain-suggestions label:hover {
  border-color: var(--nv-primary);
  box-shadow: 0 4px 14px rgba(var(--nv-primary-rgb), 0.12);
}
:is(#order-standard_cart, #order-negarnovin_cart) .row.domain-suggestions label > span,
:is(#order-standard_cart, #order-negarnovin_cart) .row.domain-suggestions label {
  font-weight: 700;
  color: var(--nv-text-1);
  direction: ltr;
}

/* ----------------------------------------------------------------
   ۳۲) نسخه ۴.۱۰.۲ — استپر تعداد، بلوک قابل پرداخت، کوپن، خلاصه
   ---------------------------------------------------------------- */

/* ── استپر تعداد: − سمت چپ، + سمت راست، کادر کوچک ── */
:is(#order-standard_cart, #order-negarnovin_cart) input.form-control-qty {
  -moz-appearance: textfield;
  appearance: textfield;
}
:is(#order-standard_cart, #order-negarnovin_cart) input.form-control-qty::-webkit-outer-spin-button,
:is(#order-standard_cart, #order-negarnovin_cart) input.form-control-qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.nv-qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  direction: rtl; /* دکمه + راست، − چپ */
}
.nv-qty-stepper .nv-qty-btn {
  width: 34px; height: 34px;
  border-radius: 10px;
  border: 1.5px solid var(--nv-border);
  background: var(--nv-bg-elevated);
  color: var(--nv-text-1);
  font-size: 1.05rem;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 0.14s ease;
  font-family: var(--nv-font);
  flex-shrink: 0;
}
.nv-qty-stepper .nv-qty-btn:hover { background: var(--nv-primary); color: #fff; border-color: var(--nv-primary); }
.nv-qty-stepper input.form-control-qty {
  width: 84px !important;
  min-height: 34px;
  text-align: center;
  font-weight: 800;
  padding: 0.25rem 0.4rem;
  border-radius: 10px;
}

/* ── بلوک «قابل پرداخت»: لیبل کوچک بالا، عدد بزرگ وسط، ریال کوچک چپ عدد ── */
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today {
  display: flex !important;
  flex-direction: column-reverse; /* لیبل (span دوم) بالا می‌رود */
  align-items: center;
  gap: 0.15rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .amt {
  font-size: 1.95rem !important;
  font-weight: 900 !important;
  line-height: 1.2;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.4rem;
  width: 100%;
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .amt .nv-in-cur {
  font-size: 0.95rem !important;
  font-weight: 800;
  color: #FFD84D;
}
:is(#order-standard_cart, #order-negarnovin_cart) .total-due-today > span:not(.amt) {
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 2.5px;
  opacity: 0.92;
}
/* حالت تیره */
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .total-due-today .amt .nv-in-cur { color: #FFD84D; }

/* ── کوپن تخفیف — چیدمان تمیز ── */
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .tab-content .promo form .form-group { margin-bottom: 0.7rem; }
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .tab-content .promo .input-group {
  border-radius: 12px;
  overflow: hidden;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .tab-content .promo .input-group .form-control {
  min-height: 46px;
  border: 1.5px solid var(--nv-border);
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .tab-content .promo .input-group .input-group-text {
  background: var(--nv-bg-elevated);
  border: 1.5px solid var(--nv-border);
  border-inline-end: none;
  color: var(--nv-primary);
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-promotion-code {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  flex-wrap: wrap;
  padding: 0.8rem 1rem;
  background: var(--nv-success-bg);
  border: 1px dashed rgba(76, 195, 138, 0.45);
  border-radius: 12px;
  font-weight: 700;
}
:is(#order-standard_cart, #order-negarnovin_cart) .view-cart-tabs .tab-content .promo .btn-brand { margin-top: 0.6rem; }

/* ── خلاصه سفارش: ریال کوچک چپ، عدد بولد ── */
:is(#order-standard_cart, #order-negarnovin_cart) .summary-totals .nv-in-num { font-weight: 800; direction: ltr; unicode-bidi: embed; }
:is(#order-standard_cart, #order-negarnovin_cart) .summary-totals .nv-in-cur { font-size: 0.72em; font-weight: 700; color: var(--nv-text-muted); margin-inline-start: 0.3rem; }

/* ══════════════════════════════════════════════════════════════════
   نسخه ۴.۱۴.۰ — پیل‌های وضعیت صفحه‌های تمدید (دامنه و سرویس)
   این صفحه‌ها پیش‌تر از کلاس‌های قدیمی Bootstrap 3 (label label-*)
   استفاده می‌کردند. پیل‌های قالب (.status-pill) اینجا با مقادیر پشتیبان
   توکن‌ها تعریف می‌شوند تا مستقل از بارگذاری استایل پرتال هم درست بمانند.
   ══════════════════════════════════════════════════════════════════ */
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 50rem;
  font-size: 0.74rem; font-weight: 700;
  white-space: nowrap;
  line-height: 1.7;
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.active,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.active,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.paid,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.paid {
  background: var(--nv-success-bg, rgba(27, 122, 61, 0.09)); color: var(--nv-success, #1B7A3D);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.pending,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.pending {
  background: var(--nv-warning-bg, rgba(154, 103, 0, 0.10)); color: var(--nv-warning, #9A6700);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.overdue,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.overdue,
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.unpaid,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.unpaid {
  background: var(--nv-danger-bg, rgba(194, 37, 37, 0.08)); color: var(--nv-danger, #C22525);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.open,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.open {
  background: var(--nv-info-bg, rgba(0, 89, 185, 0.07)); color: var(--nv-info, #0059B9);
}
:is(#order-standard_cart, #order-negarnovin_cart) .domain-renewals .status-pill.default,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .status-pill.default {
  background: var(--nv-bg-elevated, #F8F9FC); color: var(--nv-text-2, #55565A);
}

/* کارت‌های تمدید سرویس — همان زبان بصری کارت‌های تمدید دامنه */
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal {
  background: var(--nv-bg-surface, #fff);
  border: 1px solid var(--nv-border, #E3E6EC);
  border-radius: 16px;
  padding: 1.15rem 1.3rem;
  margin-bottom: 0.9rem;
  box-shadow: var(--nv-shadow-sm, 0 1px 3px rgba(0, 19, 56, 0.05));
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal:hover {
  border-color: var(--nv-primary-border, rgba(0, 43, 133, 0.22));
  box-shadow: var(--nv-shadow-md, 0 6px 24px rgba(0, 19, 56, 0.07));
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal h3,
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal h4 {
  color: var(--nv-text-1, #252525);
  font-weight: 800;
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal p {
  color: var(--nv-text-2, #55565A);
  font-size: 0.82rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal .btn-add-renewal-to-cart {
  border-radius: 10px;
  font-weight: 700;
  padding: 0.45rem 1.1rem;
  background: var(--nv-primary, #002B85);
  border-color: var(--nv-primary, #002B85);
  color: #fff;
}
:is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal .btn-add-renewal-to-cart:hover {
  background: var(--nv-primary-hover, #001F63);
  border-color: var(--nv-primary-hover, #001F63);
  color: #fff;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .service-renewals .service-renewal {
  background: var(--nv-bg-surface, #121829);
  border-color: var(--nv-border, #232C48);
}

/* ══════════════════════════════════════════════════════════════════
   نسخه ۴.۱۴.۰ — کارت «اطلاعات محصول» در مرحله پیکربندی سفارش
   توضیح محصول از فیلد Product Description در پنل مدیریت WHMCS می‌آید و
   ممکن است HTML باشد؛ فقط تایپوگرافی و فاصله‌ها تنظیم می‌شود.
   ══════════════════════════════════════════════════════════════════ */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-info {
  background: var(--nv-bg-surface, #fff);
  border: 1px solid var(--nv-border, #E3E6EC);
  border-inline-start: 4px solid var(--nv-primary, #002B85);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  margin-bottom: 1.25rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-info .product-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--nv-text-1, #252525);
  margin: 0 0 0.5rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-desc {
  color: var(--nv-text-2, #55565A);
  font-size: 0.83rem;
  line-height: 2.05;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-desc > :last-child { margin-bottom: 0; }
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-desc ul,
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-desc ol { padding-inline-start: 1.2rem; margin-bottom: 0.6rem; }
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-info {
  background: var(--nv-bg-surface, #121829);
  border-color: var(--nv-border, #232C48);
}

/* ----------------------------------------------------------------
   ۳۸) نسخه ۴.۱۵.۰ — T2: نمایش فیلدهای تعریف‌شده ادمین روی محصول
       (tagline / short_description / color / is_featured)
       داده از هوک ClientAreaPageCart می‌آید ($nv_prod_meta). رنگ
       تأکیدی از قبل در PHP با negarnovin_safe_css_color() پاک‌سازی
       شده و فقط به شکل var(--nv-card-accent) مصرف می‌شود.
   ---------------------------------------------------------------- */

/* نشان «پیشنهاد ما / ویژه» روی کارت و ردیف‌های محصول */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-badge-featured {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--nv-accent, #FFBE00);
  color: var(--nv-accent-ink, #4A3B00);
  font-size: 0.66rem;
  font-weight: 800;
  border-radius: 50rem;
  padding: 0.2rem 0.6rem;
  line-height: 1.7;
  margin-bottom: 0.45rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-badge-featured i { font-size: 0.7rem; }

/* تگ‌لاین محصول — خط تأکیدی زیر نام */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-tagline {
  display: block;
  color: #8a6600;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.85;
  margin: 0.15rem 0 0.5rem;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-tagline {
  color: var(--nv-accent, #FFBE00);
}

/* توضیح کوتاه محصول */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-shortdesc {
  color: var(--nv-text-2, #55565A);
  font-size: 0.77rem;
  line-height: 1.95;
  margin: 0 0 0.7rem;
}

/* رنگ تأکیدی محصول: نوار بالای کارت */
:is(#order-standard_cart, #order-negarnovin_cart) .service-card.product[style*="--nv-card-accent"]::before {
  background: linear-gradient(to left, var(--nv-card-accent), var(--nv-accent, #FFBE00));
  opacity: 1;
}

/* ── برچسب‌های موجود کارت محصول (nv-config-chip / nv-stock-badge)
   که تا پیش از این استایلی نداشتند ── */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-config-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--nv-primary-soft, rgba(0, 43, 133, 0.07));
  border: 1px solid var(--nv-primary-border, rgba(0, 43, 133, 0.18));
  color: var(--nv-primary, #002B85);
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50rem;
  padding: 0.22rem 0.7rem;
  margin-bottom: 0.6rem;
  line-height: 1.8;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-stock-badge {
  display: inline-block;
  background: rgba(27, 122, 61, 0.1);
  color: #1B7A3D;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 50rem;
  padding: 0.18rem 0.6rem;
  margin-top: 0.35rem;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .nv-stock-badge {
  background: rgba(27, 122, 61, 0.22);
  color: #6ee7a0;
}

/* ردیف محصول در سبد خرید و خلاصه سفارش */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-row-meta {
  display: block;
  font-size: 0.74rem;
  line-height: 1.85;
  color: var(--nv-text-2, #55565A);
  margin-top: 0.2rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-row-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8a6600;
}
[data-bs-theme="dark"] :is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-row-tagline {
  color: var(--nv-accent, #FFBE00);
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-prod-row-swatch {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nv-card-accent);
  vertical-align: middle;
  margin-inline-end: 0.25rem;
}

/* ── T2: کارت اطلاعات محصول در مرحله پیکربندی ── */
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-info[style*="--nv-card-accent"] {
  border-inline-start: 3px solid var(--nv-card-accent);
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-feats {
  margin-top: 0.85rem;
  padding-top: 0.8rem;
  border-top: 1px dashed var(--nv-border-subtle, rgba(0,0,0,0.08));
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.76rem;
  line-height: 1.9;
  color: var(--nv-text-2, #55565A);
}
:is(#order-standard_cart, #order-negarnovin_cart) .nv-configure-feats li i {
  color: #1B7A3D;
  font-size: 0.88rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
