/**
 * FiveHeberg Cart — standard_cart WHMCS + thème sombre responsive
 */

/* ═══════════════════════════════════════════════════════════
   Variables locales panier
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart {
  --fhc-surface: rgba(12, 24, 41, 0.92);
  --fhc-border: rgba(77, 163, 255, 0.2);
  --fhc-border-hover: rgba(77, 163, 255, 0.42);
  --fhc-radius: 16px;
  --fhc-shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.55);
  --fhc-sidebar-w: 252px;
}

/* ═══════════════════════════════════════════════════════════
   Layout principal
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart,
body.fh-whmcs #order-standard_cart.fh-cart {
  width: 100%;
  max-width: 100%;
  padding-bottom: 2.5rem;
}

body.fh-whmcs #order-standard_cart > .row,
body.fh-whmcs #order-standard_cart .fh-cart__layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.5rem;
  margin: 0;
}

body.fh-whmcs #order-standard_cart > .row::before,
body.fh-whmcs #order-standard_cart > .row::after,
body.fh-whmcs #order-standard_cart .fh-cart__layout::before,
body.fh-whmcs #order-standard_cart .fh-cart__layout::after {
  display: none !important;
}

body.fh-whmcs #order-standard_cart > .row > .cart-sidebar,
body.fh-whmcs #order-standard_cart .fh-cart__sidebar {
  flex: 0 0 var(--fhc-sidebar-w);
  width: var(--fhc-sidebar-w) !important;
  max-width: var(--fhc-sidebar-w);
  float: none !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

body.fh-whmcs #order-standard_cart > .row > .cart-body,
body.fh-whmcs #order-standard_cart .fh-cart__body {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  float: none !important;
  padding: 0 !important;
  align-self: flex-start !important;
}

/* Grille configure / panier */
body.fh-whmcs #order-standard_cart .cart-body > .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 1.5rem;
  align-items: start;
  margin: 0;
}

body.fh-whmcs #order-standard_cart .cart-body > .row::before,
body.fh-whmcs #order-standard_cart .cart-body > .row::after {
  display: none !important;
}

body.fh-whmcs #order-standard_cart .secondary-cart-body {
  grid-column: 1;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
}

body.fh-whmcs #order-standard_cart .secondary-cart-sidebar,
body.fh-whmcs #order-standard_cart #scrollingPanelContainer {
  grid-column: 2;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  position: static !important;
}

body.fh-whmcs #order-standard_cart #orderSummary {
  margin-top: 0 !important;
}

/* ═══════════════════════════════════════════════════════════
   En-tête page produits
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart .fh-cart-page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--fhc-border);
}

body.fh-whmcs #order-standard_cart .fh-cart-page-header__title,
body.fh-whmcs #order-standard_cart .header-lined h1 {
  margin: 0 0 0.35rem !important;
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  color: var(--fh-text, #e8f0fc) !important;
  background: none !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-page-header__tagline,
body.fh-whmcs #order-standard_cart .header-lined p {
  margin: 0;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 60ch;
}

/* ═══════════════════════════════════════════════════════════
   Sidebar catégories
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart .cart-sidebar .card-sidebar,
body.fh-whmcs #order-standard_cart .cart-sidebar .panel-sidebar {
  background: var(--fhc-surface) !important;
  border: 1px solid var(--fhc-border) !important;
  border-radius: 14px !important;
  overflow: hidden;
  box-shadow: var(--fhc-shadow);
  margin-bottom: 1rem !important;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .card-header,
body.fh-whmcs #order-standard_cart .cart-sidebar .panel-heading {
  background: rgba(255, 255, 255, 0.03) !important;
  border-bottom: 1px solid var(--fhc-border) !important;
  padding: 0.85rem 1rem !important;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .panel-title,
body.fh-whmcs #order-standard_cart .cart-sidebar .card-title {
  margin: 0 !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--fh-muted, #8fa3be) !important;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .panel-title > i:first-child,
body.fh-whmcs #order-standard_cart .cart-sidebar .card-title > i:first-child {
  color: var(--fh-accent, #3b9eff) !important;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .card-minimise,
body.fh-whmcs #order-standard_cart .cart-sidebar .panel-minimise {
  display: none;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .list-group {
  border-radius: 0;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .list-group-item {
  background: transparent !important;
  border-color: rgba(77, 163, 255, 0.1) !important;
  color: var(--fh-muted, #8fa3be) !important;
  padding: 0.65rem 1rem !important;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .list-group-item-action:hover {
  background: rgba(59, 158, 255, 0.08) !important;
  color: var(--fh-text, #e8f0fc) !important;
  padding-left: 1.15rem !important;
}

body.fh-whmcs #order-standard_cart .cart-sidebar .list-group-item.active {
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.2), rgba(29, 111, 216, 0.1)) !important;
  border-color: rgba(59, 158, 255, 0.35) !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--fh-accent, #3b9eff);
  overflow: hidden;
}

/* Sélecteur mobile catégories */
body.fh-whmcs #order-standard_cart .sidebar-collapsed {
  display: none;
  margin-bottom: 1rem;
  padding: 0.85rem;
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart .sidebar-collapsed select,
body.fh-whmcs #order-standard_cart .sidebar-collapsed .form-control {
  width: 100%;
  min-height: 44px;
  background: rgba(6, 13, 24, 0.8) !important;
  border: 1px solid var(--fhc-border) !important;
  color: var(--fh-text, #e8f0fc) !important;
  border-radius: 10px;
}

/* ═══════════════════════════════════════════════════════════
   Grille produits — 2 colonnes (grid simple)
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart .fh-cart-products,
body.fh-whmcs #order-standard_cart .products,
#order-standard_cart.fh-cart #products.fh-cart-products.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 0 1.5rem !important;
  float: none !important;
  clear: both !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-products > .row,
body.fh-whmcs #order-standard_cart .products > .row {
  display: contents !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-products .col-md-6,
body.fh-whmcs #order-standard_cart .products .col-md-6 {
  display: contents !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-product,
body.fh-whmcs #order-standard_cart .products .product,
#order-standard_cart.fh-cart .fh-cart-product,
#order-standard_cart.fh-cart .products .product {
  display: flex !important;
  flex-direction: column !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  background: var(--fhc-surface) !important;
  border: 1px solid var(--fhc-border) !important;
  border-radius: var(--fhc-radius) !important;
  overflow: hidden !important;
  box-shadow: var(--fhc-shadow);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  position: relative;
}

@media (max-width: 767.98px) {
  body.fh-whmcs #order-standard_cart .fh-cart-products,
  body.fh-whmcs #order-standard_cart .products,
  #order-standard_cart.fh-cart #products.fh-cart-products.products {
    grid-template-columns: 1fr;
  }
}

body.fh-whmcs #order-standard_cart .fh-cart-product::before,
body.fh-whmcs #order-standard_cart .products .product::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--fh-accent, #3b9eff), transparent);
  opacity: 0;
  transition: opacity 0.22s ease;
}

body.fh-whmcs #order-standard_cart .fh-cart-product:hover,
body.fh-whmcs #order-standard_cart .products .product:hover {
  transform: translateY(-3px);
  border-color: var(--fhc-border-hover) !important;
  box-shadow: 0 22px 56px -18px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(59, 158, 255, 0.12);
}

body.fh-whmcs #order-standard_cart .fh-cart-product:hover::before,
body.fh-whmcs #order-standard_cart .products .product:hover::before {
  opacity: 1;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__header,
body.fh-whmcs #order-standard_cart .products .product > header,
body.fh-whmcs #order-standard_cart .products .product header {
  display: flex !important;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  float: none !important;
  width: 100% !important;
  padding: 1rem 1.2rem !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border-bottom: 1px solid var(--fhc-border) !important;
  color: var(--fh-text, #e8f0fc) !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__name,
body.fh-whmcs #order-standard_cart .products .product header h2,
body.fh-whmcs #order-standard_cart .products .product header span {
  margin: 0 !important;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  line-height: 1.3;
  color: var(--fh-text, #e8f0fc) !important;
  letter-spacing: -0.01em;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__stock,
body.fh-whmcs #order-standard_cart .products .product .qty {
  flex-shrink: 0;
  font-size: 0.65rem !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12) !important;
  color: var(--fh-success, #34d399) !important;
  border: 1px solid rgba(52, 211, 153, 0.35);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__stock--out {
  background: rgba(248, 113, 113, 0.12) !important;
  color: #f87171 !important;
  border-color: rgba(248, 113, 113, 0.35);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__body,
body.fh-whmcs #order-standard_cart .products .product-desc,
body.fh-whmcs #order-standard_cart .products .product div.product-desc {
  flex: 0 0 auto;
  min-height: 0;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: both !important;
  padding: 1rem 1.2rem !important;
  margin: 0 !important;
  background: transparent !important;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.875rem;
  line-height: 1.55;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__intro {
  margin: 0 0 0.85rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__features,
body.fh-whmcs #order-standard_cart .products .product-desc ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__feature,
body.fh-whmcs #order-standard_cart .products .product-desc li {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.75rem !important;
  padding: 0.6rem 0.85rem !important;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(77, 163, 255, 0.12) !important;
  border-radius: 10px;
  font-size: 0.8125rem !important;
  line-height: 1.4 !important;
  min-height: 2.35rem;
  float: none !important;
  width: 100% !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__feature-label {
  flex: 1 1 auto;
  min-width: 0;
  text-align: left !important;
  color: var(--fh-muted, #8fa3be);
  font-weight: 500;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__feature-value,
body.fh-whmcs #order-standard_cart .products .product-desc .feature-value,
body.fh-whmcs #order-standard_cart .products .product span.feature-value {
  flex: 0 1 52%;
  font-weight: 700 !important;
  color: var(--fh-text, #e8f0fc) !important;
  text-align: right !important;
  white-space: normal;
  word-break: break-word;
}

/* Caractéristiques booléennes (Oui / icône) — une seule coche à droite */
body.fh-whmcs #order-standard_cart .fh-cart-product__feature--bool .fh-cart-product__feature-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  border-radius: 8px;
  background: rgba(52, 211, 153, 0.15);
  color: var(--fh-success, #34d399);
  font-size: 0.65rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__feature--bool .fh-cart-product__feature-value,
body.fh-whmcs #order-standard_cart .fh-cart-product__feature img,
body.fh-whmcs #order-standard_cart .fh-cart-product__feature input,
body.fh-whmcs #order-standard_cart .fh-cart-product__feature .iradio,
body.fh-whmcs #order-standard_cart .fh-cart-product__feature .icheckbox {
  display: none !important;
}

/* Footer + prix + CTA — annule float 40% de all.min.css */
body.fh-whmcs #order-standard_cart .fh-cart-product__footer,
body.fh-whmcs #order-standard_cart .products .product > footer,
body.fh-whmcs #order-standard_cart .products .product footer {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0 !important;
  float: none !important;
  width: 100% !important;
  max-width: none !important;
  clear: both !important;
  padding: 1rem 1.2rem !important;
  margin-bottom: 0 !important;
  font-size: inherit !important;
  text-align: left !important;
  background: rgba(0, 0, 0, 0.2) !important;
  border-top: 1px solid var(--fhc-border) !important;
  border-radius: 0 0 var(--fhc-radius) var(--fhc-radius);
  position: relative;
  z-index: 2;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__pricing,
body.fh-whmcs #order-standard_cart .products .product-pricing,
body.fh-whmcs #order-standard_cart .products .product div.product-pricing {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
  flex: 1 1 auto;
  margin: 0 !important;
  text-align: left !important;
  float: none !important;
  width: auto !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__from {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__price,
body.fh-whmcs #order-standard_cart .products .product-pricing .price,
body.fh-whmcs #order-standard_cart .products .product-pricing span.price {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  color: var(--fh-accent, #3b9eff) !important;
  letter-spacing: -0.02em;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cycle {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__setup {
  font-size: 0.75rem;
  color: var(--fh-muted, #8fa3be);
  font-style: italic;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cta,
body.fh-whmcs #order-standard_cart .products .product footer .btn-success,
body.fh-whmcs #order-standard_cart .products .product footer .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0 1.15rem !important;
  border-radius: 11px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--fh-accent, #3b9eff), var(--fh-accent-2, #1d6fd8)) !important;
  border: 1px solid rgba(59, 158, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 4px 14px rgba(59, 158, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cta:hover,
body.fh-whmcs #order-standard_cart .products .product footer .btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(59, 158, 255, 0.28);
  color: #fff !important;
}

/* ═══════════════════════════════════════════════════════════
   Dernière offre — mise en avant premium
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart .fh-cart-product--featured,
#order-standard_cart.fh-cart .fh-cart-product--featured {
  border-color: rgba(255, 196, 77, 0.42) !important;
  background: linear-gradient(
    165deg,
    rgba(22, 42, 72, 0.98) 0%,
    rgba(12, 24, 41, 0.96) 55%,
    rgba(18, 32, 56, 0.98) 100%
  ) !important;
  box-shadow:
    0 22px 56px -18px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 196, 77, 0.14),
    0 0 48px -12px rgba(59, 158, 255, 0.28);
}

body.fh-whmcs #order-standard_cart .fh-cart-product--featured::before {
  opacity: 1;
  height: 3px;
  background: linear-gradient(90deg, #ffc44d, #3b9eff 45%, #ffc44d);
}

body.fh-whmcs #order-standard_cart .fh-cart-product--featured:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 196, 77, 0.62) !important;
  box-shadow:
    0 28px 64px -16px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 196, 77, 0.22),
    0 0 56px -8px rgba(59, 158, 255, 0.38);
}

@media (min-width: 768px) {
  body.fh-whmcs #order-standard_cart .fh-cart-product--featured-solo,
  #order-standard_cart.fh-cart .fh-cart-product--featured-solo {
    grid-column: 1 / -1;
    max-width: min(100%, 680px);
    justify-self: center;
    width: 100%;
  }
}

body.fh-whmcs #order-standard_cart .fh-cart-product__ribbon {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.85rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.62rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1a1208;
  background: linear-gradient(135deg, #ffd166, #ff9f0a);
  box-shadow: 0 6px 18px rgba(255, 196, 77, 0.35);
  transform: translate(-50%, 0);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__ribbon i {
  font-size: 0.68rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-product--featured .fh-cart-product__header {
  padding-top: 2.15rem !important;
  background: linear-gradient(180deg, rgba(255, 196, 77, 0.08) 0%, rgba(255, 255, 255, 0.04) 100%) !important;
  border-bottom-color: rgba(255, 196, 77, 0.18) !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-product--featured .fh-cart-product__name {
  font-size: 1.15rem !important;
  background: linear-gradient(90deg, #fff 0%, #ffd166 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__pitch {
  margin: 0 0 0.85rem;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: var(--fh-text, #e8f0fc);
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.22);
}

body.fh-whmcs #order-standard_cart .fh-cart-product--featured .fh-cart-product__price {
  font-size: 1.75rem !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cta-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.45rem;
  flex-shrink: 0;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cta--featured {
  min-height: 50px !important;
  padding: 0 1.35rem !important;
  font-size: 0.95rem !important;
  background: linear-gradient(135deg, #ffc44d 0%, #ff9f0a 45%, #e8870a 100%) !important;
  border: 1px solid rgba(255, 196, 77, 0.65) !important;
  color: #1a1208 !important;
  box-shadow: 0 6px 22px rgba(255, 196, 77, 0.35);
  animation: fh-cart-cta-pulse 2.8s ease-in-out infinite;
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cta--featured:hover {
  color: #1a1208 !important;
  filter: brightness(1.05);
  box-shadow: 0 8px 26px rgba(255, 196, 77, 0.45);
}

body.fh-whmcs #order-standard_cart .fh-cart-product__cta-note {
  font-size: 0.68rem;
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.02em;
  color: var(--fh-muted, #8fa3be);
}

@media (min-width: 768px) {
  body.fh-whmcs #order-standard_cart .fh-cart-product--featured-solo .fh-cart-product__footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.15rem 1.35rem !important;
  }

  body.fh-whmcs #order-standard_cart .fh-cart-product--featured-solo .fh-cart-product__cta-wrap {
    align-items: flex-end;
    min-width: 220px;
  }

  body.fh-whmcs #order-standard_cart .fh-cart-product--featured-solo .fh-cart-product__cta--featured {
    width: 100%;
    min-width: 220px;
  }
}

@keyframes fh-cart-cta-pulse {
  0%,
  100% {
    box-shadow: 0 6px 22px rgba(255, 196, 77, 0.35);
  }
  50% {
    box-shadow: 0 6px 28px rgba(255, 196, 77, 0.52), 0 0 0 4px rgba(255, 196, 77, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.fh-whmcs #order-standard_cart .fh-cart-product__cta--featured {
    animation: none;
  }
}

/* ═══════════════════════════════════════════════════════════
   Configure / domaines / checkout (reste du tunnel)
   ═══════════════════════════════════════════════════════════ */
/* ═══════════════════════════════════════════════════════════
   Configure product — tunnel de commande
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart.fh-config .fh-config__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
  gap: 1.5rem;
  align-items: start;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config__grid::before,
body.fh-whmcs #order-standard_cart.fh-config .fh-config__grid::after {
  display: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config__main {
  grid-column: 1;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  min-width: 0;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config__sidebar {
  grid-column: 2;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  position: static !important;
}

body.fh-whmcs #order-standard_cart.fh-config #orderSummary,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary-wrap {
  position: sticky;
  top: 90px;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product {
  background: var(--fhc-surface) !important;
  border: 1px solid var(--fhc-border) !important;
  border-radius: var(--fhc-radius) !important;
  overflow: hidden;
  margin: 0 0 1.25rem !important;
  padding: 0 !important;
  box-shadow: var(--fhc-shadow);
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__header {
  padding: 1rem 1.2rem;
  background: rgba(59, 158, 255, 0.1);
  border-bottom: 1px solid var(--fhc-border);
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__name {
  margin: 0 !important;
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: var(--fh-text, #e8f0fc) !important;
  letter-spacing: -0.01em;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__features {
  list-style: none;
  margin: 0;
  padding: 0.85rem 1.2rem 1.1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem 1rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__feature {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0;
  padding: 0.35rem 0;
  font-size: 0.84rem;
  line-height: 1.4;
  color: var(--fh-muted, #8fa3be);
  border-bottom: 0;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__feature-text {
  flex: 1;
  min-width: 0;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__feature-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: rgba(46, 204, 113, 0.15);
  color: #2ecc71;
  font-size: 0.55rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-section {
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-section__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-section__intro {
  margin: 0 0 0.75rem;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.88rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-field,
body.fh-whmcs #order-standard_cart.fh-config .field-container {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin-bottom: 0;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem 1rem;
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-option--full {
  grid-column: 1 / -1;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-option .form-group {
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  height: 100%;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-option label:not(.fh-config-radio):not(.fh-config-checkbox) {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0;
  color: var(--fh-text, #e8f0fc);
  line-height: 1.35;
}

body.fh-whmcs #order-standard_cart.fh-config .form-control,
body.fh-whmcs #order-standard_cart.fh-config select.form-control,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-select {
  display: block !important;
  width: 100% !important;
  min-height: 44px;
  padding: 0.5rem 0.85rem !important;
  background: rgba(6, 13, 24, 0.65) !important;
  border: 1px solid var(--fhc-border) !important;
  border-radius: 10px !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

body.fh-whmcs #order-standard_cart.fh-config .form-control:focus,
body.fh-whmcs #order-standard_cart.fh-config select.form-control:focus {
  border-color: var(--fh-accent, #3b9eff) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.18) !important;
  outline: none !important;
  color: var(--fh-text, #e8f0fc) !important;
}

body.fh-whmcs #order-standard_cart.fh-config select.form-control option {
  background: #0c1829;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-radios,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-checkbox {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.88rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-radio,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  cursor: pointer;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-qty {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

body.fh-whmcs #order-standard_cart.fh-config .form-control-qty {
  width: 80px !important;
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-config .field-help-text {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.78rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-help {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem;
  background: rgba(255, 196, 77, 0.08) !important;
  border: 1px solid rgba(255, 196, 77, 0.28) !important;
  border-radius: 12px;
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.85rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-help .alert-link {
  color: var(--fh-accent, #3b9eff) !important;
  font-weight: 600;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-addons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-addon-col:only-child {
  grid-column: 1 / -1;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary {
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(12, 24, 41, 0.95) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.55);
  isolation: isolate;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary h2,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary h2 {
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  background: rgba(59, 158, 255, 0.12) !important;
  border-bottom: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-config .summary-container,
body.fh-whmcs #order-standard_cart.fh-config #producttotal {
  margin: 0 !important;
  padding: 0.85rem 1.15rem 0.5rem !important;
  min-height: 60px;
  background: transparent !important;
  border-radius: 0 !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 0.875rem;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0 0 0.65rem;
  margin: 0 0 0.5rem;
  border: 0 !important;
  border-bottom: 1px solid rgba(77, 163, 255, 0.2) !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-summary-head .product-name,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .product-name {
  display: block;
  flex: 1;
  min-width: 0;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--fh-text, #e8f0fc) !important;
  margin: 0;
  float: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-summary-head__price {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--fh-text, #e8f0fc);
  white-space: nowrap;
  float: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-summary-line--zero {
  display: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .product-group,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .product-group {
  display: none;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .clearfix:not(.fh-summary-head),
body.fh-whmcs #order-standard_cart.fh-config #producttotal .clearfix:not(.fh-summary-head) {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.28rem 0;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.82rem;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .clearfix .float-left,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .clearfix .float-left {
  flex: 1;
  min-width: 0;
  float: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .clearfix .float-right,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .clearfix .float-right {
  color: var(--fh-text, #e8f0fc);
  font-weight: 600;
  white-space: nowrap;
  float: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .summary-totals,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .summary-totals,
body.fh-whmcs #order-standard_cart.fh-config .order-summary .fh-config-recap,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .fh-config-recap {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .total-due-today,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .total-due-today {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.75rem 1.15rem 0 !important;
  padding: 0.85rem !important;
  background: rgba(59, 158, 255, 0.08) !important;
  border: 1px solid rgba(59, 158, 255, 0.22) !important;
  border-radius: 10px !important;
  text-align: center !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .total-due-today .amt,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .total-due-today .amt {
  display: block !important;
  width: 100%;
  text-align: center !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  line-height: 1.1;
  color: var(--fh-accent, #3b9eff) !important;
  -webkit-text-fill-color: unset !important;
  background: none !important;
  letter-spacing: -0.02em;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .total-due-today > span:last-child,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .total-due-today > span:last-child {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fh-muted, #8fa3be);
  text-align: center !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .loader,
body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary .loader {
  color: var(--fh-accent, #3b9eff) !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary__actions {
  margin: 0;
  padding: 0.85rem 1.15rem 1.1rem;
  border-top: 1px solid rgba(77, 163, 255, 0.2);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary__btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 50px;
  padding: 0 1.25rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  background: linear-gradient(135deg, var(--fh-accent, #3b9eff), var(--fh-accent-2, #1d6fd8)) !important;
  border: 1px solid rgba(59, 158, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(59, 158, 255, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(59, 158, 255, 0.38);
  color: #fff !important;
}

@media (max-width: 991.98px) {
  body.fh-whmcs #order-standard_cart.fh-config .fh-config__grid {
    grid-template-columns: 1fr;
  }

  body.fh-whmcs #order-standard_cart.fh-config .fh-config__sidebar {
    grid-column: 1;
    order: 2;
  }

  body.fh-whmcs #order-standard_cart.fh-config .fh-config__main {
    order: 1;
  }

  body.fh-whmcs #order-standard_cart.fh-config #orderSummary,
  body.fh-whmcs #order-standard_cart.fh-config .fh-config-summary-wrap {
    position: static;
  }
}

@media (max-width: 767.98px) {
  body.fh-whmcs #order-standard_cart.fh-config .fh-config-options,
  body.fh-whmcs #order-standard_cart.fh-config .fh-config-addons,
  body.fh-whmcs #order-standard_cart.fh-config .fh-config-product__features {
    grid-template-columns: 1fr;
  }
}

body.fh-whmcs #order-standard_cart .product-info {
  background: rgba(59, 158, 255, 0.08);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart .product-info .product-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .field-container {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  padding: 1rem 1.15rem;
  margin-bottom: 0.75rem;
}

body.fh-whmcs #order-standard_cart .panel-addon {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart .panel-addon.panel-addon-selected {
  border-color: var(--fh-accent, #3b9eff);
  box-shadow: 0 0 0 2px rgba(59, 158, 255, 0.2);
}

body.fh-whmcs #order-standard_cart .domain-checker-container {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: var(--fhc-radius);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart .domain-checker-bg .input-group-box {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--fhc-border);
}

body.fh-whmcs #order-standard_cart .domain-checker-bg .form-control {
  min-height: 48px;
  background: rgba(6, 13, 24, 0.65) !important;
  border: 0 !important;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .nav-tabs {
  border-bottom: 1px solid var(--fhc-border);
  flex-wrap: wrap;
  gap: 0.25rem;
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .nav-link {
  color: var(--fh-muted, #8fa3be);
  font-weight: 600;
  border-radius: 10px 10px 0 0;
  padding: 0.6rem 1rem;
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .nav-link.active {
  background: var(--fhc-surface);
  border-color: var(--fhc-border);
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .tab-content {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  padding: 1.15rem;
}

body.fh-whmcs #order-standard_cart .already-registered {
  background: rgba(59, 158, 255, 0.08);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart .btn-checkout,
body.fh-whmcs #order-standard_cart #btnCompleteOrder {
  min-height: 48px;
  font-weight: 700;
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart #btnCompleteOrder {
  width: 100%;
  margin-top: 0.75rem;
}

body.fh-whmcs #order-standard_cart .sub-heading {
  margin: 1.5rem 0 1rem;
  text-align: center;
}

body.fh-whmcs #order-standard_cart .sub-heading > span,
body.fh-whmcs #order-standard_cart .sub-heading .primary-bg-color {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: rgba(6, 13, 24, 0.9);
  color: var(--fh-accent, #3b9eff);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(59, 158, 255, 0.3);
}

body.fh-whmcs #order-standard_cart .order-confirmation {
  background: rgba(59, 158, 255, 0.1) !important;
  border: 1px solid rgba(59, 158, 255, 0.3) !important;
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart .view-cart-empty {
  text-align: center;
  padding: 2.5rem 1rem;
  color: var(--fh-muted, #8fa3be);
}

/* ═══════════════════════════════════════════════════════════
   Checkout — passer la commande
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-form {
  max-width: 920px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-cart-page-header {
  margin-bottom: 1.5rem;
  padding-bottom: 1.35rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.14);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-cart-page-header__title {
  font-size: clamp(1.65rem, 3vw, 2rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-cart-page-header__tagline {
  font-size: 0.92rem;
  line-height: 1.55;
  max-width: 42rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-intro {
  margin-bottom: 1.35rem;
}

/* Onglets Créer un compte / Déjà enregistré */
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch {
  display: flex;
  width: 100%;
  max-width: 420px;
  gap: 0.35rem;
  padding: 0.35rem;
  background: linear-gradient(180deg, rgba(8, 16, 28, 0.92) 0%, rgba(6, 13, 24, 0.78) 100%);
  border: 1px solid rgba(77, 163, 255, 0.22);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch__btn {
  appearance: none;
  border: 0;
  border-radius: 10px;
  flex: 1 1 0;
  padding: 0.62rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--fh-muted, #8fa3be);
  background: transparent;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch__btn:hover:not(.is-active) {
  color: var(--fh-text, #e8f0fc);
  background: rgba(255, 255, 255, 0.04);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch__btn.is-active {
  color: #fff;
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.95) 0%, rgba(37, 120, 220, 0.95) 100%);
  box-shadow: 0 4px 14px rgba(59, 158, 255, 0.28);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch__btn:focus-visible {
  outline: 2px solid var(--fh-accent, #3b9eff);
  outline-offset: 2px;
}

/* Section connexion */
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login {
  margin-bottom: 1.25rem;
  padding: 1.15rem 1.2rem 1rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-fields {
  margin-bottom: 0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-fields .form-group {
  margin-bottom: 0.75rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-actions {
  display: flex;
  align-items: center;
  margin-top: 0.15rem;
  margin-bottom: 0.5rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-btn {
  min-width: 160px;
  min-height: 44px;
  padding: 0.55rem 1.35rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #3b9eff 0%, #2578dc 100%) !important;
  box-shadow: 0 4px 14px rgba(59, 158, 255, 0.22);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-btn:hover:not(:disabled) {
  filter: brightness(1.06);
  box-shadow: 0 6px 18px rgba(59, 158, 255, 0.3);
  transform: translateY(-1px);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-btn:disabled,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-btn.disabled {
  opacity: 0.65;
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login #existingLoginMessage:not(.w-hidden) {
  margin-bottom: 0.85rem;
  border-radius: 10px;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .sub-heading-borderless,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .sub-heading {
  height: auto !important;
  border-top: 0 !important;
  margin: 1rem 0 0.65rem;
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .sub-heading-borderless span,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .sub-heading span {
  position: static !important;
  top: auto !important;
  display: inline-block;
  padding: 0 0.65rem;
  background: rgba(12, 24, 41, 0.95);
  color: var(--fh-muted, #8fa3be);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .text-muted {
  color: var(--fh-muted, #8fa3be) !important;
  margin-bottom: 0.65rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .social-signin-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--login .social-signin-btns .btn {
  border-radius: 10px;
  font-weight: 600;
}

/* Sécurité du compte */
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--security {
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security-grid {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security-grid__passwords {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security-grid__tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 0.85rem;
  align-items: center;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-generate-pw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: 100%;
  min-height: 44px;
  padding: 0.55rem 1rem;
  background: rgba(6, 13, 24, 0.65) !important;
  border: 1px solid rgba(77, 163, 255, 0.28) !important;
  border-radius: 10px !important;
  color: var(--fh-accent, #3b9eff) !important;
  font-size: 0.84rem;
  font-weight: 600;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-generate-pw:hover {
  background: rgba(59, 158, 255, 0.12) !important;
  border-color: rgba(59, 158, 255, 0.45) !important;
  color: #fff !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-pw-strength .progress {
  height: 8px;
  margin-bottom: 0.4rem;
  background: rgba(6, 13, 24, 0.85) !important;
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-pw-strength .progress-bar {
  border-radius: 999px;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-pw-strength__label {
  margin: 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security-feedback:not(.w-hidden) {
  margin: 0;
  border-radius: 10px;
  text-align: center;
}

/* Modale mot de passe — layout stable (Bootstrap 5) */
body.fh-whmcs #modalGeneratePassword .fh-modal-pw,
body.fh-whmcs #modalGeneratePassword .modal-body {
  background: #0c1829;
}

body.fh-whmcs #modalGeneratePassword .fh-modal-pw__field {
  margin-bottom: 1rem;
}

body.fh-whmcs #modalGeneratePassword .fh-modal-pw__actions-row .offset-sm-4 {
  margin-left: 0;
}

@media (min-width: 576px) {
  body.fh-whmcs #modalGeneratePassword .fh-modal-pw__actions-row .offset-sm-4 {
    margin-left: 33.333333%;
  }
}

@media (max-width: 575.98px) {
  body.fh-whmcs #modalGeneratePassword .fh-modal-pw__field .col-sm-4,
  body.fh-whmcs #modalGeneratePassword .fh-modal-pw__field .col-sm-8,
  body.fh-whmcs #modalGeneratePassword .fh-modal-pw__actions-row .col-sm-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  body.fh-whmcs #modalGeneratePassword .fh-modal-pw__field .col-form-label {
    margin-bottom: 0.35rem;
  }
}

body.fh-whmcs #order-standard_cart.fh-checkout .already-registered.fh-checkout-intro {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section {
  position: relative;
  margin-bottom: 1.15rem;
  padding: 1.35rem 1.35rem 1.2rem;
  background:
    linear-gradient(165deg, rgba(14, 28, 48, 0.88) 0%, rgba(8, 16, 28, 0.72) 100%);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 16px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(59, 158, 255, 0.85), transparent);
  opacity: 0.85;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section--payment {
  background: linear-gradient(165deg, rgba(16, 32, 54, 0.92) 0%, rgba(10, 20, 34, 0.82) 100%);
  border-color: rgba(77, 163, 255, 0.24);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section__title,
body.fh-whmcs #order-standard_cart.fh-checkout .sub-heading {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.15rem;
  padding: 0 0 0.85rem;
  text-align: left;
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section__title {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section__title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.85rem;
  height: 1.85rem;
  flex-shrink: 0;
  border-radius: 10px;
  background: rgba(59, 158, 255, 0.14);
  border: 1px solid rgba(59, 158, 255, 0.28);
  color: var(--fh-accent, #3b9eff);
  font-size: 0.78rem;
  box-shadow: 0 4px 12px rgba(59, 158, 255, 0.12);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-fields {
  --bs-gutter-x: 1rem;
  --bs-gutter-y: 0.15rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-fields > [class*="col-"] {
  margin-bottom: 0.15rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-field-label {
  display: block;
  margin: 0 0 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-custom-fields {
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-custom-field {
  margin-bottom: 0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-custom-field__input .form-control,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-custom-field select.form-control {
  min-height: 44px;
}

/* Annule le séparateur legacy all.css (border-top + décalage vertical du span) */
body.fh-whmcs #order-standard_cart.fh-checkout .sub-heading {
  height: auto !important;
  border-top: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .sub-heading::before {
  display: none !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .sub-heading > span,
body.fh-whmcs #order-standard_cart.fh-checkout .sub-heading .primary-bg-color {
  display: block;
  position: static !important;
  top: auto !important;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-accounts {
  margin: 0 !important;
  border: 0 !important;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-accounts > [class*="col-"] {
  padding: 0;
  width: 100%;
  max-width: none;
  flex: none;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-accounts .col-sm-12 {
  grid-column: 1 / -1;
}

body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container div.account,
body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container .account {
  background: rgba(6, 13, 24, 0.55) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-radius: 12px !important;
  padding: 0.85rem 1rem !important;
  margin: 0 !important;
  height: 100%;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container div.account.active,
body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container .account.active {
  background: rgba(59, 158, 255, 0.1) !important;
  border-color: rgba(59, 158, 255, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.12);
}

body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container .radio-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 0;
  width: 100%;
  cursor: pointer;
}

body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container .address strong {
  display: block;
  color: var(--fh-text, #e8f0fc);
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container .address .small {
  color: var(--fh-muted, #8fa3be);
  font-size: 0.78rem;
  line-height: 1.45;
}

body.fh-whmcs #order-standard_cart.fh-checkout .account-select-container .label {
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field,
body.fh-whmcs #order-standard_cart.fh-checkout .form-control,
body.fh-whmcs #order-standard_cart.fh-checkout select.form-control,
body.fh-whmcs #order-standard_cart.fh-checkout textarea.field {
  display: block;
  width: 100% !important;
  min-height: 46px;
  padding: 0.58rem 0.9rem !important;
  background: rgba(4, 10, 18, 0.72) !important;
  border: 1px solid rgba(77, 163, 255, 0.18) !important;
  border-radius: 11px !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 0.9rem !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field:hover,
body.fh-whmcs #order-standard_cart.fh-checkout .form-control:hover,
body.fh-whmcs #order-standard_cart.fh-checkout select.form-control:hover {
  border-color: rgba(77, 163, 255, 0.32) !important;
  background: rgba(6, 13, 24, 0.82) !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .field,
body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .form-control,
body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon select.form-control {
  padding-left: 2.65rem !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field.w-hidden,
body.fh-whmcs #order-standard_cart.fh-checkout .form-control.w-hidden,
body.fh-whmcs #order-standard_cart.fh-checkout .field.hidden,
body.fh-whmcs #order-standard_cart.fh-checkout .form-control.hidden,
body.fh-whmcs #order-standard_cart.fh-checkout #inputState[style*="display: none"],
body.fh-whmcs #order-standard_cart.fh-checkout #stateinput[style*="display: none"],
body.fh-whmcs #order-standard_cart.fh-checkout #stateselect[style*="display: none"] {
  display: none !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout textarea.field {
  min-height: 100px;
  padding-left: 0.85rem !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field:focus,
body.fh-whmcs #order-standard_cart.fh-checkout .form-control:focus {
  border-color: var(--fh-accent, #3b9eff) !important;
  background: rgba(6, 13, 24, 0.92) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
  outline: none !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field::placeholder,
body.fh-whmcs #order-standard_cart.fh-checkout .form-control::placeholder {
  color: rgba(143, 163, 190, 0.72);
  opacity: 1;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field-icon i {
  color: var(--fh-accent, #3b9eff) !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon {
  position: relative;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .field-icon {
  position: absolute;
  left: 0.35rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  z-index: 5;
  pointer-events: none;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .field-icon i {
  position: static;
  font-size: 0.9rem;
}

/* Téléphone : laisser intl-tel-input gérer le padding (pas d'override global) */
body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input {
  display: block;
  width: 100%;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input input,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field #inputPhone {
  width: 100% !important;
  min-height: 46px;
  padding-top: 0.58rem !important;
  padding-right: 0.9rem !important;
  padding-bottom: 0.58rem !important;
  background: rgba(4, 10, 18, 0.72) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-radius: 10px !important;
  color: var(--fh-text, #e8f0fc) !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input.separate-dial-code .flag-container {
  width: auto !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input.separate-dial-code.allow-dropdown .selected-flag {
  display: flex !important;
  align-items: center;
  width: auto !important;
  padding: 0 0.2rem 0 0.45rem;
  gap: 0.15rem;
  background: transparent;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input.separate-dial-code.allow-dropdown input[type="tel"],
body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input.separate-dial-code[class*="iti-sdc-"] input[type="tel"] {
  padding-left: var(--fh-phone-pl, 5.25rem) !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-phone-field .intl-tel-input.separate-dial-code .selected-dial-code {
  color: var(--fh-muted, #8fa3be);
  white-space: nowrap;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-state-field select#stateselect,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-state-field select#stateinput,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-state-field #inputState {
  width: 100% !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-state-field #inputStateIcon {
  display: flex !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-state-field select#stateselect,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-state-field select#stateinput {
  appearance: none;
  padding-left: 2.35rem !important;
  padding-right: 2rem !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%2394a3b8' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 12px;
}

body.fh-whmcs #order-standard_cart.fh-checkout #containerNewUserSignup > .fh-checkout-section__title ~ .fh-checkout-section__title,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-form > .fh-checkout-section__title ~ .fh-checkout-section__title {
  margin-top: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .form-group {
  margin-bottom: 0.85rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-total,
body.fh-whmcs #order-standard_cart.fh-checkout #totalDueToday {
  margin: 0 0 1rem !important;
  padding: 0.85rem 1rem !important;
  background: rgba(59, 158, 255, 0.1) !important;
  border: 1px solid rgba(59, 158, 255, 0.28) !important;
  border-radius: 12px !important;
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.88rem !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-total strong,
body.fh-whmcs #order-standard_cart.fh-checkout #totalCartPrice {
  color: var(--fh-accent, #3b9eff) !important;
  font-size: 1.35rem;
  font-weight: 800;
}

body.fh-whmcs #order-standard_cart.fh-checkout .apply-credit-container,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-credit {
  margin: 0 0 1rem !important;
  padding: 0.85rem 1rem !important;
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(77, 163, 255, 0.16) !important;
  border-radius: 12px !important;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-checkout .apply-credit-container span {
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-gateways {
  margin-bottom: 1rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-gateways .text-muted {
  color: var(--fh-muted, #8fa3be) !important;
  margin-bottom: 0.65rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .payment-methods,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-gateways .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0.5rem 0.25rem 0;
  padding: 0.45rem 0.85rem;
  background: rgba(6, 13, 24, 0.55);
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 999px;
  color: var(--fh-text, #e8f0fc);
  font-weight: 600;
  font-size: 0.84rem;
  cursor: pointer;
}

body.fh-whmcs #order-standard_cart.fh-checkout .cc-input-container,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-cards {
  padding: 1rem !important;
  background: rgba(6, 13, 24, 0.45) !important;
  border: 1px solid rgba(77, 163, 255, 0.18) !important;
  border-radius: 12px !important;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-checkout #existingCardsContainer {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 0.55rem;
  padding: 0;
  border: 0;
  background: none;
}

body.fh-whmcs #order-standard_cart.fh-checkout #existingCardsContainer:empty {
  display: none !important;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout #existingCardInfo:not(:visible) {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod {
  display: grid !important;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  width: 100%;
  padding: 0.75rem 0.85rem;
  margin-bottom: 0;
  background: rgba(6, 13, 24, 0.55);
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  color: var(--fh-text, #e8f0fc);
  font-size: 0.88rem;
  font-weight: 400;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod:hover,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod:has(input:checked) {
  background: rgba(59, 158, 255, 0.1);
  border-color: rgba(59, 158, 255, 0.45);
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.1);
}

body.fh-whmcs #order-standard_cart.fh-checkout .cc-input-container .paymethod-info {
  display: block;
  padding: 0;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod__name {
  font-weight: 700;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod__desc,
body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod__expiry {
  color: var(--fh-muted, #8fa3be);
  font-size: 0.78rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .cc-input-container ul {
  margin: 0.65rem 0 0;
  padding: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .cc-input-container .radio-inline {
  color: var(--fh-muted, #8fa3be);
  padding-left: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .input-group {
  display: flex;
  width: 100%;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .input-group .field {
  flex: 1 1 auto;
  width: 1% !important;
  min-width: 0;
  border-radius: 10px 0 0 10px !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .input-group-btn .btn,
body.fh-whmcs #order-standard_cart.fh-checkout .prepend-icon .input-group-append .btn {
  min-height: 44px;
  background: rgba(6, 13, 24, 0.65);
  border: 1px solid rgba(77, 163, 255, 0.2);
  border-left: 0;
  border-radius: 0 10px 10px 0;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-checkout textarea.field[name="notes"] {
  padding-left: 0.85rem !important;
}

body.fh-whmcs #order-standard_cart.fh-checkout .marketing-email-optin {
  margin: 1.25rem 0;
  padding: 1.15rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(77, 163, 255, 0.16);
  border-radius: 12px;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-checkout .marketing-email-optin h4 {
  color: var(--fh-text, #e8f0fc);
  margin-bottom: 0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .marketing-email-optin p {
  margin-bottom: 0.85rem;
  line-height: 1.55;
  max-width: 42rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-optin__toggle {
  margin-top: 0.15rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-tos {
  display: flex;
  justify-content: center;
  margin: 0 0 1.15rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-tos__label {
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.65rem;
  max-width: 36rem;
  margin: 0;
  text-align: center;
  cursor: pointer;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.88rem;
  line-height: 1.5;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-tos__input {
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  margin: 0.2rem 0 0;
  accent-color: var(--fh-accent, #3b9eff);
  cursor: pointer;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-tos__text {
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-tos__text a {
  color: var(--fh-accent, #3b9eff);
  font-weight: 600;
  text-decoration: none;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-tos__text a:hover {
  text-decoration: underline;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-submit {
  margin-top: 1.5rem;
  padding-top: 0.5rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-submit__btn,
body.fh-whmcs #order-standard_cart.fh-checkout #btnCompleteOrder {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: min(100%, 360px);
  min-height: 52px;
  padding: 0 1.5rem !important;
  margin-top: 0.75rem;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  background: linear-gradient(135deg, var(--fh-accent, #3b9eff), var(--fh-accent-2, #1d6fd8)) !important;
  border: 1px solid rgba(59, 158, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 6px 22px rgba(59, 158, 255, 0.28);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-submit__btn:hover,
body.fh-whmcs #order-standard_cart.fh-checkout #btnCompleteOrder:hover {
  color: #fff !important;
  filter: brightness(1.06);
  box-shadow: 0 8px 26px rgba(59, 158, 255, 0.38);
}

body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security,
body.fh-whmcs #order-standard_cart.fh-checkout .checkout-security-msg {
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem 0.85rem 3.25rem !important;
  background: rgba(255, 196, 77, 0.08) !important;
  border: 1px solid rgba(255, 196, 77, 0.25) !important;
  border-radius: 12px !important;
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.82rem;
}

body.fh-whmcs #order-standard_cart.fh-checkout .checkout-security-msg i {
  float: left;
  margin-left: -2.25rem;
  font-size: 1.35rem;
  color: #ffc44d;
}

body.fh-whmcs #order-standard_cart.fh-checkout .field-container {
  background: transparent;
  border: 0;
  padding: 0;
}

body.fh-whmcs #order-standard_cart.fh-checkout .checkbox-inline,
body.fh-whmcs #order-standard_cart.fh-checkout .radio,
body.fh-whmcs #order-standard_cart.fh-checkout label.radio {
  color: var(--fh-muted, #8fa3be);
}

@media (max-width: 767.98px) {
  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch {
    display: flex;
    width: 100%;
    max-width: none;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-section {
    padding: 1.1rem 1rem 1rem;
    border-radius: 14px;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-fields > .col-sm-4,
  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-fields > .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-auth-switch__btn {
    flex: 1 1 50%;
    padding: 0.6rem 0.65rem;
    font-size: 0.78rem;
    text-align: center;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-actions {
    justify-content: stretch;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-login-btn {
    width: 100%;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security-grid__passwords,
  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-security-grid__tools {
    grid-template-columns: 1fr;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-accounts {
    grid-template-columns: 1fr;
  }

  body.fh-whmcs #order-standard_cart.fh-checkout .fh-checkout-paymethod {
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "radio name"
      "icon name"
      "desc desc"
      "expiry expiry";
  }
}

/* ═══════════════════════════════════════════════════════════
   View cart — vérifier & commander
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: 1.35rem;
  align-items: start;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__grid::before,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__grid::after {
  display: none !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__main {
  grid-column: 1;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  min-width: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__sidebar {
  grid-column: 2;
  float: none !important;
  width: 100% !important;
  padding: 0 !important;
  position: static !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart #orderSummary,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary-wrap {
  position: sticky;
  top: 90px;
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: var(--fhc-radius);
  overflow: hidden;
  box-shadow: var(--fhc-shadow);
  margin-bottom: 1rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1.15rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--fhc-border);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__count {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__empty {
  margin: 0;
  padding: 0.35rem 0.65rem !important;
  background: transparent !important;
  border: 1px solid rgba(255, 107, 107, 0.3) !important;
  color: #ff8a8a !important;
  border-radius: 8px !important;
  font-size: 0.72rem !important;
  font-weight: 600;
  text-decoration: none !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__empty:hover {
  background: rgba(255, 107, 107, 0.08) !important;
  color: #ff6b6b !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items-header,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__head {
  margin: 0 !important;
  padding: 0.75rem 1.15rem !important;
  background: rgba(59, 158, 255, 0.12) !important;
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.68rem !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 0 !important;
  border-bottom: 1px solid var(--fhc-border);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__body {
  margin: 0 !important;
  border: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item {
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  background: transparent !important;
  border: 0 !important;
  border-bottom: 1px solid var(--fhc-border) !important;
  font-size: 0.875rem !important;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item:last-child,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item:last-child {
  border-bottom: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item:nth-child(even) {
  background: rgba(255, 255, 255, 0.02) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item span:not(.caret):not(.renewal-price) {
  display: inline;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item .item-group,
body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item .item-domain,
body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item .item-setup,
body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item .item-price > span {
  display: block;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item small {
  display: block;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__row {
  align-items: center;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item-title,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__name {
  display: block;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--fh-accent, #3b9eff) !important;
  line-height: 1.35;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__head .fh-viewcart-item__name {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  flex-shrink: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  font-size: 1rem !important;
  font-weight: 800 !important;
  color: var(--fh-accent, #3b9eff) !important;
  margin-bottom: 0.25rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__edit,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__remove-btn {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem !important;
  font-weight: 600;
  color: var(--fh-muted, #8fa3be) !important;
  padding: 0.2rem 0.55rem !important;
  text-decoration: none;
  white-space: nowrap;
  width: auto !important;
  height: auto !important;
  min-height: 1.85rem;
  border-radius: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--fhc-border) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__edit {
  padding: 0.2rem 0.55rem !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__edit:hover,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__remove-btn:hover {
  color: var(--fh-accent, #3b9eff) !important;
  border-color: rgba(59, 158, 255, 0.35) !important;
  background: rgba(59, 158, 255, 0.08) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item-group,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__group {
  display: none !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item-domain {
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 0.84rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__options {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__options li {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--fh-muted, #8fa3be);
  padding: 0.28rem 0.55rem;
  background: rgba(59, 158, 255, 0.08);
  border: 1px solid rgba(59, 158, 255, 0.16);
  border-radius: 999px;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item-price,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price {
  text-align: right !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item-price > span:first-child,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price > span:first-child {
  display: block;
  font-size: 1.05rem !important;
  font-weight: 800 !important;
  color: var(--fh-text, #e8f0fc) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-items .item-price .cycle,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price .cycle {
  font-size: 0.72rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fh-muted, #8fa3be) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price .cycle {
  display: block;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__remove .btn-remove-from-cart,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__remove-col .btn-remove-from-cart,
body.fh-whmcs #order-standard_cart.fh-viewcart .col-sm-1 .btn-remove-from-cart:not(.fh-viewcart-item__remove-btn) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0 !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid var(--fhc-border) !important;
  color: var(--fh-muted, #8fa3be) !important;
  opacity: 1;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .btn-remove-from-cart {
  opacity: 1;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .btn-remove-from-cart:hover {
  color: #ff6b6b !important;
  border-color: rgba(255, 107, 107, 0.45) !important;
  background: rgba(255, 107, 107, 0.1) !important;
  text-decoration: none;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__remove {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-section__title {
  margin: 0 0 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo {
  margin-top: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__panel,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .tab-content {
  background: var(--fhc-surface);
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  box-shadow: var(--fhc-shadow);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__tabs .nav-tabs {
  margin-bottom: 0;
  border-bottom: 0;
  padding: 0 0 0.5rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.55rem;
  align-items: stretch;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__field {
  margin: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .field,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .form-control {
  display: block !important;
  width: 100% !important;
  min-height: 42px;
  padding-left: 2.35rem !important;
  background: rgba(6, 13, 24, 0.65) !important;
  border: 1px solid var(--fhc-border) !important;
  border-radius: 10px !important;
  color: var(--fh-text, #e8f0fc) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .prepend-icon {
  position: relative;
  display: block;
  width: 100%;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .prepend-icon .field-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 4;
  pointer-events: none;
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .prepend-icon .field-icon i {
  position: static;
  font-size: 0.9rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo .field-icon {
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__submit {
  min-height: 42px;
  padding: 0 1rem !important;
  margin: 0;
  border-radius: 10px !important;
  font-weight: 700;
  font-size: 0.82rem;
  white-space: nowrap;
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.22), rgba(29, 111, 216, 0.18)) !important;
  border: 1px solid rgba(59, 158, 255, 0.4) !important;
  color: var(--fh-accent, #3b9eff) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__submit:hover {
  filter: brightness(1.08);
  color: #fff !important;
  background: linear-gradient(135deg, var(--fh-accent, #3b9eff), var(--fh-accent-2, #1d6fd8)) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__applied {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.55rem;
  padding: 0.65rem 0.85rem;
  background: rgba(46, 204, 113, 0.1) !important;
  border: 1px solid rgba(46, 204, 113, 0.3) !important;
  border-radius: 10px;
  color: var(--fh-text, #e8f0fc);
  font-size: 0.84rem;
  text-align: left;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__applied i {
  color: #2ecc71;
  flex-shrink: 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__remove {
  font-size: 0.75rem;
  border-radius: 8px !important;
}
  background: var(--fhc-surface) !important;
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .order-summary,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary {
  margin: 0 !important;
  padding: 0 !important;
  background: rgba(12, 24, 41, 0.95) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.55);
  position: relative;
  isolation: isolate;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary::before {
  display: none;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .order-summary h2,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary h2 {
  margin: 0 !important;
  padding: 1rem 1.15rem !important;
  background: rgba(59, 158, 255, 0.12) !important;
  border-bottom: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .summary-container,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__body {
  margin: 0 !important;
  padding: 0.75rem 1.15rem 0.5rem !important;
  min-height: 0 !important;
  background: transparent !important;
  color: var(--fh-text, #e8f0fc) !important;
  font-size: 0.875rem;
  border-radius: 0 !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__recurring {
  margin: 0.15rem 0 0;
  padding: 0;
  border: 0;
  text-align: right;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__recurring:empty,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__recurring .recurring-charges:empty {
  display: none;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__recurring .recurring-charges {
  display: block;
  font-size: 0.72rem !important;
  font-weight: 600;
  color: var(--fh-muted, #8fa3be) !important;
  font-style: normal !important;
  text-align: right !important;
  line-height: 1.5;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__recurring .recurring-charges > span {
  display: block;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__recurring .cost {
  color: var(--fh-text, #e8f0fc);
  font-weight: 700;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__line,
body.fh-whmcs #order-standard_cart.fh-viewcart .order-summary .clearfix,
body.fh-whmcs #order-standard_cart.fh-viewcart .order-summary .subtotal {
  display: flex !important;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.3rem 0;
  margin: 0 !important;
  border: 0 !important;
  font-size: 0.84rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__line .float-left,
body.fh-whmcs #order-standard_cart.fh-viewcart .order-summary .pull-left {
  flex: 1;
  min-width: 0;
  float: none !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__line .float-right,
body.fh-whmcs #order-standard_cart.fh-viewcart .order-summary .pull-right {
  float: none !important;
  font-weight: 700;
  color: var(--fh-text, #e8f0fc);
  white-space: nowrap;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__extras,
body.fh-whmcs #order-standard_cart.fh-viewcart .bordered-totals {
  margin: 0.35rem 0 !important;
  padding: 0.35rem 0 !important;
  border-top: 1px solid var(--fhc-border) !important;
  border-bottom: 1px solid var(--fhc-border) !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .recurring-charges {
  font-size: 0.78rem !important;
  color: var(--fh-muted, #8fa3be) !important;
  font-style: normal !important;
  text-align: right !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .view-cart-gateway-checkout {
  background: var(--fhc-surface) !important;
  border: 1px solid var(--fhc-border);
  border-radius: 12px;
  color: var(--fh-text, #e8f0fc);
  margin-bottom: 1rem;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .total-due-today,
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__total {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0.65rem 0 0 !important;
  padding: 0.75rem !important;
  background: rgba(59, 158, 255, 0.08) !important;
  border: 1px solid rgba(59, 158, 255, 0.22) !important;
  border-radius: 10px !important;
  text-align: center !important;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .total-due-today .amt,
body.fh-whmcs #order-standard_cart.fh-viewcart #totalDueToday {
  display: block !important;
  font-size: 1.65rem !important;
  font-weight: 800 !important;
  line-height: 1.1;
  color: var(--fh-accent, #3b9eff) !important;
  -webkit-text-fill-color: unset !important;
  background: none !important;
  letter-spacing: -0.02em;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .total-due-today > span:last-child {
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__trust {
  margin: 0;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__footer {
  padding: 0.75rem 1.15rem 1rem;
  border-top: 1px solid rgba(77, 163, 255, 0.2);
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: rgba(12, 24, 41, 0.95);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__btn,
body.fh-whmcs #order-standard_cart.fh-viewcart .btn-checkout {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 50px;
  padding: 0 1.25rem !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.95rem !important;
  background: linear-gradient(135deg, var(--fh-accent, #3b9eff), var(--fh-accent-2, #1d6fd8)) !important;
  border: 1px solid rgba(59, 158, 255, 0.5) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(59, 158, 255, 0.28);
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__btn:hover,
body.fh-whmcs #order-standard_cart.fh-viewcart .btn-checkout:hover {
  color: #fff !important;
  filter: brightness(1.06);
  box-shadow: 0 8px 24px rgba(59, 158, 255, 0.38);
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__continue,
body.fh-whmcs #order-standard_cart.fh-viewcart .btn-continue-shopping {
  display: block;
  width: 100%;
  text-align: center;
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.25rem 0;
}

body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__continue:hover {
  color: var(--fh-accent, #3b9eff) !important;
}

@media (max-width: 991.98px) {
  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__grid {
    grid-template-columns: 1fr;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__sidebar {
    grid-column: 1;
    order: 2;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__main {
    order: 1;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart #orderSummary,
  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary-wrap {
    position: static;
  }
}

/* ═══════════════════════════════════════════════════════════
   Responsive (global)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  body.fh-whmcs #order-standard_cart > .row > .cart-sidebar,
  body.fh-whmcs #order-standard_cart .fh-cart__sidebar {
    display: none !important;
  }

  body.fh-whmcs #order-standard_cart > .row > .cart-body,
  body.fh-whmcs #order-standard_cart .fh-cart__body {
    flex: 1 1 100%;
    width: 100% !important;
  }

  body.fh-whmcs #order-standard_cart .sidebar-collapsed {
    display: block;
  }

  body.fh-whmcs #order-standard_cart .cart-body > .row {
    grid-template-columns: 1fr;
  }

  body.fh-whmcs #order-standard_cart .secondary-cart-sidebar,
  body.fh-whmcs #order-standard_cart #scrollingPanelContainer {
    grid-column: 1;
  }

  body.fh-whmcs #order-standard_cart .order-summary,
  body.fh-whmcs #order-standard_cart #orderSummary {
    position: static !important;
    top: auto !important;
  }
}

@media (max-width: 575.98px) {
  body.fh-whmcs #order-standard_cart .fh-cart-product__footer,
  body.fh-whmcs #order-standard_cart .products .product footer {
    flex-direction: column;
    align-items: stretch;
  }

  body.fh-whmcs #order-standard_cart .fh-cart-product__cta,
  body.fh-whmcs #order-standard_cart .products .product footer .btn {
    width: 100%;
    justify-content: center;
  }

  body.fh-whmcs #order-standard_cart .fh-cart-product__feature-value {
    flex: 0 1 45%;
    font-size: 0.75rem;
  }
}

/* Renfort — annule tout conflit WHMCS sur le panier fh-cart */
#order-standard_cart.fh-cart .cart-body,
#order-standard_cart.fh-cart .fh-cart__body {
  height: auto !important;
  min-height: 0 !important;
  align-self: flex-start !important;
}

#order-standard_cart.fh-cart .product div.product-desc,
#order-standard_cart.fh-cart .products .product div.product-desc,
#order-standard_cart.fh-cart .fh-cart-product__body {
  float: none !important;
  width: 100% !important;
  clear: both !important;
  margin: 0 !important;
}

#order-standard_cart.fh-cart .product footer,
#order-standard_cart.fh-cart .products .product footer,
#order-standard_cart.fh-cart .fh-cart-product__footer {
  float: none !important;
  width: 100% !important;
  clear: both !important;
  margin: 0 !important;
}

#order-standard_cart.fh-cart .fh-cart-products .col-md-6,
#order-standard_cart.fh-cart .products .col-md-6 {
  display: contents !important;
}

/* ═══════════════════════════════════════════════════════════
   Renfort récap — supprime le gris legacy WHMCS (all.css / polish)
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart #orderSummary,
body.fh-whmcs #order-standard_cart .fh-viewcart-summary-wrap,
body.fh-whmcs #order-standard_cart .fh-config-summary-wrap {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
  overflow: visible !important;
}

body.fh-whmcs #order-standard_cart .order-summary,
body.fh-whmcs #order-standard_cart .fh-viewcart-summary,
body.fh-whmcs #order-standard_cart .fh-config-summary {
  background: rgba(12, 24, 41, 0.95) !important;
  background-color: rgba(12, 24, 41, 0.95) !important;
  border: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-radius: 16px !important;
  padding: 0 !important;
  margin: 0 !important;
  color: #e8f0fc !important;
  box-shadow: 0 16px 48px -16px rgba(0, 0, 0, 0.55);
  overflow: hidden !important;
  isolation: isolate;
}

body.fh-whmcs #order-standard_cart .order-summary h2,
body.fh-whmcs #order-standard_cart .fh-viewcart-summary h2,
body.fh-whmcs #order-standard_cart .fh-config-summary h2 {
  background: rgba(59, 158, 255, 0.12) !important;
  background-color: rgba(59, 158, 255, 0.12) !important;
  color: #e8f0fc !important;
  border-bottom: 1px solid rgba(77, 163, 255, 0.2) !important;
  border-top-left-radius: 16px !important;
  border-top-right-radius: 16px !important;
  margin: 0 !important;
}

body.fh-whmcs #order-standard_cart .summary-container,
body.fh-whmcs #order-standard_cart .fh-viewcart-summary__body,
body.fh-whmcs #order-standard_cart #producttotal {
  background: transparent !important;
  background-color: transparent !important;
  color: #e8f0fc !important;
}

body.fh-whmcs #order-standard_cart .order-summary .summary-totals {
  border-color: rgba(77, 163, 255, 0.2) !important;
  border-bottom: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .summary-totals,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .summary-totals,
body.fh-whmcs #order-standard_cart.fh-config .order-summary .fh-config-recap,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .fh-config-recap {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-summary-head {
  border-bottom: 1px solid rgba(77, 163, 255, 0.2) !important;
}

body.fh-whmcs #order-standard_cart.fh-config .order-summary .total-due-today,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .total-due-today {
  margin-top: 0.75rem !important;
}

body.fh-whmcs #order-standard_cart.fh-config #producttotal > span.product-name,
body.fh-whmcs #order-standard_cart.fh-config #producttotal > span.product-group,
body.fh-whmcs #order-standard_cart.fh-config #producttotal > .clearfix:first-of-type:not(.fh-summary-line) {
  display: none !important;
}

body.fh-whmcs #order-standard_cart.fh-config .fh-summary-head .product-name,
body.fh-whmcs #order-standard_cart.fh-config #producttotal .fh-summary-head .product-name,
body.fh-whmcs #order-standard_cart.fh-config #producttotal > .product-name {
  color: #e8f0fc !important;
  -webkit-text-fill-color: #e8f0fc !important;
  background: none !important;
}

body.fh-whmcs #order-standard_cart .order-summary .subtotal,
body.fh-whmcs #order-standard_cart .order-summary .clearfix,
body.fh-whmcs #order-standard_cart .order-summary .recurring-charges {
  color: #8fa3be !important;
}

body.fh-whmcs #order-standard_cart .order-summary .pull-right,
body.fh-whmcs #order-standard_cart .order-summary .float-right,
body.fh-whmcs #order-standard_cart .order-summary .subtotal .float-right,
body.fh-whmcs #order-standard_cart #subtotal {
  color: #e8f0fc !important;
}

body.fh-whmcs #order-standard_cart .order-summary .btn-continue-shopping,
body.fh-whmcs #order-standard_cart .fh-viewcart-summary__continue {
  color: #8fa3be !important;
}

body.fh-whmcs #order-standard_cart .order-summary .btn-continue-shopping:hover,
body.fh-whmcs #order-standard_cart .fh-viewcart-summary__continue:hover {
  color: #3b9eff !important;
}

body.fh-whmcs #order-standard_cart .order-summary .total-due-today,
body.fh-whmcs #order-standard_cart .order-summary .total-due-today-padded {
  background: rgba(59, 158, 255, 0.08) !important;
  border: 1px solid rgba(59, 158, 255, 0.22) !important;
  color: #e8f0fc !important;
}

body.fh-whmcs #order-standard_cart .order-summary .total-due-today .amt,
body.fh-whmcs #order-standard_cart #totalDueToday {
  color: #3b9eff !important;
  -webkit-text-fill-color: #3b9eff !important;
  background: none !important;
}

body.fh-whmcs #order-standard_cart .order-summary .total-due-today > span:last-child {
  color: #8fa3be !important;
}

body.fh-whmcs #order-standard_cart .fh-viewcart-summary__footer,
body.fh-whmcs #order-standard_cart .fh-config-summary__actions {
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  overflow: hidden;
}

/* ═══════════════════════════════════════════════════════════
   View cart — modales confirmation (BS5 + portal body)
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart .fh-modal-confirm .modal-title i,
body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-title i,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-title i {
  display: inline !important;
  padding-top: 0 !important;
  font-size: 1rem !important;
}

body.fh-whmcs #order-standard_cart .fh-modal-confirm .modal-header,
body.fh-whmcs #order-standard_cart .fh-modal-confirm .modal-body,
body.fh-whmcs #order-standard_cart .fh-modal-confirm .modal-footer,
body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-header,
body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-body,
body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-footer,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-header,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-body,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-footer {
  text-align: inherit !important;
  border: 0;
}

body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-content,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-content {
  background: #0c1829 !important;
  border: 1px solid rgba(77, 163, 255, 0.28) !important;
  border-radius: 16px !important;
}

body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-dialog,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-dialog {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
  margin: 1.75rem auto;
  pointer-events: none;
}

body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-content,
body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-content {
  pointer-events: auto;
}

/* ═══════════════════════════════════════════════════════════
   View cart — responsive renforcé
   ═══════════════════════════════════════════════════════════ */
body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart__grid {
  width: 100%;
}

@media (max-width: 991.98px) {
  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary {
    margin-top: 0.5rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__footer {
    position: sticky;
    bottom: 0;
    z-index: 30;
    background: rgba(12, 24, 41, 0.98) !important;
    border-top: 1px solid rgba(77, 163, 255, 0.2);
    padding-top: 0.85rem !important;
    padding-bottom: calc(0.85rem + env(safe-area-inset-bottom, 0px)) !important;
    box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.35);
  }
}

@media (max-width: 767.98px) {
  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__head {
    display: none !important;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__row {
    flex-direction: column;
    align-items: stretch !important;
    gap: 0.35rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__row > [class*="col-"] {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__head {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
    margin-bottom: 0.5rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__actions {
    width: 100%;
    justify-content: flex-start;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.65rem;
    margin-top: 0.35rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--fhc-border);
    text-align: left !important;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price > span:first-child {
    display: inline !important;
    font-size: 1.1rem !important;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__price .cycle {
    display: inline !important;
    margin-left: auto;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__options {
    margin-top: 0.5rem;
    gap: 0.5rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item__options li {
    font-size: 0.75rem;
    line-height: 1.35;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__form {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__submit {
    width: 100%;
    min-height: 44px;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__tabs .nav-tabs {
    flex-wrap: wrap;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo__tabs .nav-link {
    font-size: 0.78rem;
    padding: 0.45rem 0.65rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-summary__btn,
  body.fh-whmcs #order-standard_cart.fh-viewcart .btn-checkout {
    width: 100%;
    min-height: 52px;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-cart__body {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__foot {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 0.65rem;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table__empty {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
}

@media (max-width: 575.98px) {
  body.fh-whmcs #modalRemoveItem.fh-modal-confirm .modal-dialog,
  body.fh-whmcs #modalEmptyCart.fh-modal-confirm .modal-dialog {
    margin: 0.75rem auto !important;
    max-width: calc(100% - 1.5rem) !important;
    min-height: calc(100% - 1.5rem);
  }

  body.fh-whmcs #modalRemoveItem.fh-modal-confirm .fh-modal-confirm__footer,
  body.fh-whmcs #modalEmptyCart.fh-modal-confirm .fh-modal-confirm__footer {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  body.fh-whmcs #modalRemoveItem.fh-modal-confirm .fh-modal-confirm__footer .btn,
  body.fh-whmcs #modalEmptyCart.fh-modal-confirm .fh-modal-confirm__footer .btn {
    width: 100%;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-cart-page-header__title {
    font-size: 1.35rem !important;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-table,
  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-promo {
    border-radius: 12px;
  }

  body.fh-whmcs #order-standard_cart.fh-viewcart .fh-viewcart-item {
    padding: 0.85rem !important;
  }
}
