/**
 * FiveHeberg Cart — surcharge standard_cart pour la charte vitrine
 * Chargé après all.min.css (voir common.tpl)
 */

#order-standard_cart.fh-order-cart {
  color: var(--fh-text, #e8f0fc);
}

#order-standard_cart .alert {
  border-radius: 12px;
}

#order-standard_cart .fh-order-cart__tagline {
  color: var(--fh-muted, #8fa3be);
  margin-top: 0.35rem;
}

/* Annule les cartes produit WHMCS (fond blanc, header gris #f8f8f8) */
body.fh-whmcs #order-standard_cart .products .product.fh-offer-card {
  padding: 1.5rem 1.35rem 1.35rem;
  margin: 0;
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(59, 158, 255, 0.14);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart .products .product.fh-offer-card header,
body.fh-whmcs #order-standard_cart .products .product.fh-offer-card footer {
  float: none;
  width: auto;
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
  text-align: left;
}

body.fh-whmcs #order-standard_cart .products .product.fh-offer-card header span,
body.fh-whmcs #order-standard_cart .products .product.fh-offer-card .price {
  color: inherit;
  font-size: inherit;
}

body.fh-whmcs #order-standard_cart .products .product.fh-offer-card div.product-desc,
body.fh-whmcs #order-standard_cart .products .product.fh-offer-card div.product-pricing {
  float: none;
  width: auto;
  padding: 0;
  margin: 0;
}

#order-standard_cart .fh-offer-card__from,
#order-standard_cart .fh-offer-card__setup {
  display: block;
  font-size: 0.8rem;
  color: var(--fh-muted, #8fa3be);
  margin-top: 0.25rem;
}

#order-standard_cart .products .product.fh-offer-card .fh-offer-card__price-block {
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

#order-standard_cart .products .product.fh-offer-card .fh-offer-card__amount.price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--fh-text, #e8f0fc);
}

#order-standard_cart .products .product.fh-offer-card .fh-offer-card__period {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--fh-muted, #8fa3be);
}

#order-standard_cart .products .product.fh-offer-card .fh-offer-card__spec-value {
  font-weight: 700;
  color: var(--fh-text, #e8f0fc);
}

#order-standard_cart .products .product.fh-offer-card .fh-offer-card__cta {
  margin-top: auto;
  padding-top: 0.75rem;
}

#order-standard_cart .products .product.fh-offer-card .fh-offer-card__btn {
  width: 100%;
  justify-content: center;
}

/* Sidebar catégories — fond sombre */
body.fh-whmcs #order-standard_cart .cart-sidebar .card,
body.fh-whmcs #order-standard_cart .cart-sidebar .panel {
  background: var(--fh-bg-elevated, #0c1829);
  border-color: var(--fh-border, rgba(77, 163, 255, 0.22));
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .cart-sidebar .list-group-item {
  background: transparent;
  color: var(--fh-muted, #8fa3be);
  border-color: rgba(77, 163, 255, 0.12);
}

body.fh-whmcs #order-standard_cart .cart-sidebar .list-group-item.active,
body.fh-whmcs #order-standard_cart .cart-sidebar .list-group-item-action:hover {
  background: rgba(59, 158, 255, 0.12);
  color: var(--fh-text, #e8f0fc);
  border-color: rgba(59, 158, 255, 0.25);
}

body.fh-whmcs #order-standard_cart .cart-sidebar .panel-title,
body.fh-whmcs #order-standard_cart .cart-sidebar .card-header {
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .sidebar-collapsed.fh-mnav {
  background: var(--fh-bg-elevated, #0c1829);
  border: 1px solid var(--fh-border, rgba(77, 163, 255, 0.22));
  border-radius: 12px;
  padding: 0.75rem;
}

body.fh-whmcs #order-standard_cart .sidebar-collapsed select.form-control {
  background: rgba(6, 13, 24, 0.9);
  color: var(--fh-text, #e8f0fc);
  border-color: var(--fh-border, rgba(77, 163, 255, 0.22));
}

/* Grille produits — cartes directes (sans col-md-6 / row Bootstrap) */
body.fh-whmcs #order-standard_cart #products.fh-pricing-grid.fh-products-grid {
  --fh-grid-gap: 1.25rem;
  display: grid !important;
  flex-wrap: unset !important;
  justify-content: stretch !important;
  align-items: stretch !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: var(--fh-grid-gap) !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 1rem 0 !important;
}

@media (min-width: 768px) {
  body.fh-whmcs #order-standard_cart #products.fh-pricing-grid.fh-products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 1200px) {
  body.fh-whmcs #order-standard_cart #products.fh-pricing-grid.fh-products-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
  }
}

body.fh-whmcs #order-standard_cart #products.fh-pricing-grid > .fh-offer-card,
body.fh-whmcs #order-standard_cart #products.fh-pricing-grid > .product.fh-offer-card {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  flex: none !important;
  box-sizing: border-box !important;
}

body.fh-whmcs #order-standard_cart .fh-offer-card__spec {
  min-width: 0;
}

body.fh-whmcs #order-standard_cart .fh-offer-card__spec-label,
body.fh-whmcs #order-standard_cart .fh-offer-card__spec-value {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

body.fh-whmcs #order-standard_cart .fh-offer-card__spec-value {
  flex-shrink: 0;
  text-align: right;
  max-width: 55%;
}

body.fh-whmcs #order-standard_cart .fh-offer-card--soldout .fh-offer-card__btn--disabled {
  width: 100%;
  justify-content: center;
  pointer-events: none;
  opacity: 0.85;
}

/* —— Page Configurer produit —— */
body.fh-whmcs #order-standard_cart.fh-order-cart--configure .fh-configure__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

@media (min-width: 992px) {
  body.fh-whmcs #order-standard_cart.fh-order-cart--configure .fh-configure__row {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  }

  body.fh-whmcs #order-standard_cart.fh-order-cart--configure .secondary-cart-body,
  body.fh-whmcs #order-standard_cart.fh-order-cart--configure .secondary-cart-sidebar {
    float: none !important;
    width: auto !important;
    max-width: none !important;
    padding: 0 !important;
  }
}

body.fh-whmcs #order-standard_cart .fh-configure__product.product-info {
  margin: 0 0 1.5rem;
  padding: 1.25rem 1.35rem;
  font-size: 0.9rem;
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(59, 158, 255, 0.14);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-configure__product-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc {
  color: var(--fh-muted, #8fa3be);
  line-height: 1.55;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc p:last-child {
  margin-bottom: 0;
}

/* Description produit WHMCS (table / liste) → style specs vitrine */
body.fh-whmcs #order-standard_cart .fh-configure__product-desc table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc table tr {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc table tr:last-child {
  border-bottom: none;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc table td,
body.fh-whmcs #order-standard_cart .fh-configure__product-desc table th {
  padding: 0.5rem 0.75rem;
  font-size: 0.82rem;
  vertical-align: middle;
  border: none;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc table td:last-child,
body.fh-whmcs #order-standard_cart .fh-configure__product-desc table th:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc ul {
  list-style: none;
  margin: 0;
  padding: 0.65rem 0.75rem;
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc ul li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc ul li:last-child {
  border-bottom: none;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc .fa-check,
body.fh-whmcs #order-standard_cart .fh-configure__product-desc .fa-check-circle {
  color: var(--fh-success, #34d399);
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc p {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  margin: 0;
  padding: 0.42rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc p:last-child {
  border-bottom: none;
}

body.fh-whmcs #order-standard_cart .fh-configure__product-desc p strong,
body.fh-whmcs #order-standard_cart .fh-configure__product-desc p b {
  color: var(--fh-muted, #8fa3be);
  font-weight: 600;
  flex-shrink: 0;
}

body.fh-whmcs #order-standard_cart .fh-configure__options .col-sm-6 {
  margin-bottom: 0.5rem;
}

body.fh-whmcs #order-standard_cart .fh-configure label,
body.fh-whmcs #order-standard_cart .fh-configure .form-group > label {
  color: var(--fh-muted, #8fa3be);
  font-weight: 600;
  font-size: 0.875rem;
}

body.fh-whmcs #order-standard_cart .fh-configure__section.sub-heading {
  border-top-color: rgba(77, 163, 255, 0.2);
  margin-top: 1.75rem;
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart .fh-configure__section.sub-heading span,
body.fh-whmcs #order-standard_cart .fh-configure__section.sub-heading .primary-bg-color {
  color: var(--fh-accent, #3b9eff) !important;
  background: var(--fh-bg, #060d18) !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* —— Carte résumé de commande (configure + panier) —— */
body.fh-whmcs #order-standard_cart .fh-order-summary-card.order-summary {
  margin: 0;
  padding: 0;
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(59, 158, 255, 0.14);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

body.fh-whmcs #order-standard_cart .fh-order-summary-card__title {
  margin: 0;
  padding: 1rem 1.15rem;
  color: var(--fh-text, #e8f0fc) !important;
  text-align: left;
  font-size: 1.05rem !important;
  font-weight: 700;
  line-height: 1.3;
  background: rgba(12, 24, 41, 0.6);
  border-bottom: 1px solid rgba(77, 163, 255, 0.18);
}

body.fh-whmcs #order-standard_cart .fh-order-summary-card__body.summary-container {
  margin: 0;
  padding: 1rem 1.15rem 1.15rem;
  min-height: 100px;
  background: transparent;
  color: var(--fh-text, #e8f0fc);
  font-size: 0.8125rem;
}

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

/* Contenu AJAX ordersummary.tpl */
body.fh-whmcs #order-standard_cart .fh-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
}

body.fh-whmcs #order-standard_cart .fh-summary__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12);
}

body.fh-whmcs #order-standard_cart .fh-summary__product-name {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--fh-text, #e8f0fc);
  line-height: 1.35;
}

body.fh-whmcs #order-standard_cart .fh-summary__product-group {
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-summary__lines {
  list-style: none;
  margin: 0;
  padding: 0;
}

#order-standard_cart .fh-summary__line,
body.fh-whmcs #order-standard_cart .fh-summary__line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.45rem 0;
  line-height: 1.4;
  border-bottom: 1px solid rgba(77, 163, 255, 0.06);
}
#order-standard_cart .fh-summary__lines .fh-summary__line:last-child,
body.fh-whmcs #order-standard_cart .fh-summary__lines .fh-summary__line:last-child {
  border-bottom: 0;
}

#order-standard_cart .fh-summary__line-label,
body.fh-whmcs #order-standard_cart .fh-summary__line-label {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--fh-muted, #8fa3be);
  font-size: 0.8125rem;
  word-break: break-word;
  hyphens: auto;
}

#order-standard_cart .fh-summary__line--primary .fh-summary__line-label,
body.fh-whmcs #order-standard_cart .fh-summary__line--primary .fh-summary__line-label {
  color: var(--fh-text, #e8f0fc);
  font-weight: 600;
}

#order-standard_cart .fh-summary__line-price,
body.fh-whmcs #order-standard_cart .fh-summary__line-price {
  flex: 0 0 auto;
  align-self: flex-start;
  text-align: right;
  color: var(--fh-text, #e8f0fc);
  font-weight: 600;
  font-size: 0.8125rem;
  white-space: nowrap !important;
  word-spacing: normal;
}

body.fh-whmcs #order-standard_cart .fh-summary__fees {
  margin: 0.65rem 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
}

#order-standard_cart .fh-summary__fee,
body.fh-whmcs #order-standard_cart .fh-summary__fee {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.35rem 0;
}

#order-standard_cart .fh-summary__fee-label,
body.fh-whmcs #order-standard_cart .fh-summary__fee-label {
  color: var(--fh-muted, #8fa3be);
  font-size: 0.825rem;
  flex: 1 1 auto;
  min-width: 0;
}

#order-standard_cart .fh-summary__fee-label::after,
body.fh-whmcs #order-standard_cart .fh-summary__fee-label::after {
  content: " :";
}

#order-standard_cart .fh-summary__fee-price,
body.fh-whmcs #order-standard_cart .fh-summary__fee-price {
  color: var(--fh-text, #e8f0fc);
  font-weight: 700;
  font-size: 0.875rem;
  white-space: nowrap !important;
  flex: 0 0 auto;
}

#order-standard_cart .fh-summary__total,
body.fh-whmcs #order-standard_cart .fh-summary__total {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-top: 1.1rem;
  padding: 1.15rem 1.1rem;
  background: linear-gradient(135deg, rgba(59, 158, 255, 0.12), rgba(29, 111, 216, 0.06));
  border: 1px solid rgba(77, 163, 255, 0.35);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
#order-standard_cart .fh-summary__total::before,
body.fh-whmcs #order-standard_cart .fh-summary__total::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, rgba(59, 158, 255, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
}

#order-standard_cart .fh-summary__total-amt,
body.fh-whmcs #order-standard_cart .fh-summary__total-amt {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--fh-accent, #3b9eff);
  line-height: 1.05;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

#order-standard_cart .fh-summary__total-label,
body.fh-whmcs #order-standard_cart .fh-summary__total-label {
  font-size: 0.78rem;
  color: var(--fh-muted, #8fa3be);
  line-height: 1.35;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Rétrocompat viewcart (ancien markup clearfix) */
body.fh-whmcs #order-standard_cart .fh-order-summary-card__body .clearfix,
body.fh-whmcs #order-standard_cart .fh-order-summary__body .clearfix {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.35rem 0;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-order-summary-card__body .summary-totals,
body.fh-whmcs #order-standard_cart .fh-order-summary__body .summary-totals {
  border-top: 1px solid rgba(77, 163, 255, 0.12);
  margin: 0.65rem 0 0;
  padding: 0.65rem 0 0;
}

body.fh-whmcs #order-standard_cart .fh-order-summary-card__body .total-due-today,
body.fh-whmcs #order-standard_cart .fh-order-summary__body .total-due-today {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  background: rgba(22, 42, 68, 0.85);
  border: 1px solid rgba(59, 158, 255, 0.28);
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart .fh-order-summary-card__body .total-due-today .amt,
body.fh-whmcs #order-standard_cart .fh-order-summary__body .total-due-today .amt {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart .fh-order-summary-card__body .total-due-today span:last-child,
body.fh-whmcs #order-standard_cart .fh-order-summary__body .total-due-today span:last-child {
  color: var(--fh-muted, #8fa3be);
  font-size: 0.78rem;
}

body.fh-whmcs #order-standard_cart .fh-configure__submit {
  margin-top: 1rem;
}

body.fh-whmcs #order-standard_cart .fh-configure__submit .fh-btn {
  width: 100%;
  min-height: 48px;
  justify-content: center;
  font-size: 1rem;
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart .fh-configure__help.alert-warning {
  background: rgba(251, 191, 36, 0.08);
  border: 1px solid rgba(251, 191, 36, 0.28);
  color: var(--fh-muted, #8fa3be);
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart .fh-configure__help .alert-link {
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart .fh-configure .panel-addon {
  background: var(--fh-bg-elevated, #0c1829);
  border-color: var(--fh-border, rgba(77, 163, 255, 0.22));
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-configure .panel-addon .panel-price {
  background: rgba(0, 0, 0, 0.25);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-configure .panel-addon .panel-add {
  background: var(--fh-accent, #3b9eff);
  color: #fff;
}

body.fh-whmcs #order-standard_cart .fh-configure .form-control,
body.fh-whmcs #order-standard_cart .fh-configure .custom-select,
body.fh-whmcs #order-standard_cart .fh-configure select.form-control {
  background-color: rgba(6, 13, 24, 0.92) !important;
  color: var(--fh-text, #e8f0fc) !important;
  border-color: rgba(77, 163, 255, 0.22) !important;
  border-radius: 10px;
}

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

body.fh-whmcs #order-standard_cart .fh-configure__aside {
  position: sticky;
  top: 5.5rem;
  align-self: start;
}

@media (max-width: 991.98px) {
  body.fh-whmcs #order-standard_cart .fh-configure__aside {
    position: static;
  }
}

/* —— Page Panier (viewcart) —— */
body.fh-whmcs #order-standard_cart .fh-cart-panel {
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(59, 158, 255, 0.14);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart .fh-cart__items-header .row {
  margin: 0;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-cart-item__row {
  align-items: flex-start;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.25rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__edit {
  color: var(--fh-accent, #3b9eff) !important;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__edit:hover {
  color: #6bb3ff !important;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__options {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__option {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  list-style: none;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__option:last-child {
  border-bottom: none;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__option-label {
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  color: var(--fh-muted, #8fa3be);
  line-height: 1.45;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__option-price {
  flex-shrink: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--fh-text, #e8f0fc);
  text-align: right;
  white-space: nowrap;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__option-price:empty {
  display: none;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__price {
  text-align: right;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__amount {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-cart-item__cycle {
  display: block;
  font-size: 0.8rem;
  color: var(--fh-muted, #8fa3be);
  margin-top: 0.15rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__remove {
  color: var(--fh-muted, #8fa3be);
  padding: 0.25rem;
  font-size: 1rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-item__remove:hover {
  color: #f87171;
}

body.fh-whmcs #order-standard_cart .fh-cart__empty {
  text-align: right;
  margin: 0;
  padding: 0.5rem 1rem 0.75rem;
  border-top: 1px solid rgba(77, 163, 255, 0.1);
}

body.fh-whmcs #order-standard_cart .fh-cart__empty-btn {
  color: var(--fh-accent, #3b9eff) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo.view-cart-tabs {
  margin-top: 0;
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(59, 158, 255, 0.14);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
  overflow: visible;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__header {
  padding: 1rem 1.15rem 0.85rem;
  border-bottom: 1px solid rgba(77, 163, 255, 0.14);
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__title {
  margin: 0;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__body {
  padding: 1rem 1.15rem 1.15rem;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo .tab-content.fh-cart-promo__body {
  background: transparent !important;
  border: none;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__field.prepend-icon {
  margin-bottom: 0;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__field .field-icon {
  top: 0;
  bottom: 0;
  left: 0;
  width: 44px;
  height: auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__field .field-icon i {
  position: static;
  font-size: 0.95rem;
  line-height: 1;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__field .form-control,
body.fh-whmcs #order-standard_cart .fh-cart-promo__field .field {
  width: 100%;
  height: 44px;
  min-height: 44px;
  padding: 0 12px 0 44px !important;
  line-height: 44px;
  background: rgba(6, 13, 24, 0.92) !important;
  color: var(--fh-text, #e8f0fc) !important;
  border-color: rgba(77, 163, 255, 0.22) !important;
  border-radius: 10px;
  box-sizing: border-box;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__submit {
  width: 100%;
  min-height: 44px;
  margin-top: 0.65rem;
  background: rgba(12, 24, 41, 0.95);
  border: 1px solid rgba(77, 163, 255, 0.25);
  color: var(--fh-text, #e8f0fc);
  border-radius: 10px;
  font-weight: 600;
}

body.fh-whmcs #order-standard_cart .fh-cart-promo__submit:hover {
  background: rgba(59, 158, 255, 0.15);
  border-color: rgba(59, 158, 255, 0.4);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-summary--cart .fh-summary__fees {
  margin: 0;
  padding: 0;
  border: none;
}

body.fh-whmcs #order-standard_cart .fh-summary--cart .fh-summary__recurring {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(77, 163, 255, 0.12);
  font-size: 0.8125rem;
}

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

body.fh-whmcs #order-standard_cart .fh-summary__recurring-values {
  text-align: right;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-cart__checkout-actions {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

body.fh-whmcs #order-standard_cart .fh-btn--checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: #fff !important;
  background: linear-gradient(135deg, #34d399, #10b981) !important;
  border: none !important;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(52, 211, 153, 0.35);
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.fh-whmcs #order-standard_cart .fh-btn--checkout:hover:not(.disabled) {
  transform: translateY(-1px);
  box-shadow: 0 12px 32px rgba(52, 211, 153, 0.45);
  color: #fff !important;
}

body.fh-whmcs #order-standard_cart .fh-btn--checkout.disabled {
  opacity: 0.5;
  pointer-events: none;
}

body.fh-whmcs #order-standard_cart .fh-cart__continue-shopping {
  text-align: center;
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.8125rem;
  text-decoration: none;
  padding: 0;
}

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

/* Modales confirmation panier */
body.fh-whmcs .modal-backdrop.show {
  opacity: 0.75;
  background-color: #02060d;
}

body.fh-whmcs .fh-modal-confirm .modal-dialog {
  max-width: 400px;
  margin: 1rem auto;
}

body.fh-whmcs .fh-modal-confirm .modal-content.fh-modal-confirm__content {
  position: relative;
  background: #0d1425;
  border: 1px solid rgba(59, 158, 255, 0.22);
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  color: #e8f0fc;
  overflow: hidden;
}

body.fh-whmcs .fh-modal-confirm .modal-body.fh-modal-confirm__body,
body.fh-whmcs #order-standard_cart .fh-modal-confirm .modal-body.fh-modal-confirm__body {
  padding: 1.25rem 1.35rem 1.15rem !important;
  text-align: left !important;
  border: none;
}

body.fh-whmcs .fh-modal-confirm__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

body.fh-whmcs .fh-modal-confirm__title {
  flex: 1;
  min-width: 0;
  margin: 0;
  padding: 0.15rem 0 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: #e8f0fc;
  text-align: left;
}

body.fh-whmcs .fh-modal-confirm .modal-footer.fh-modal-confirm__footer,
body.fh-whmcs #order-standard_cart .fh-modal-confirm .modal-footer.fh-modal-confirm__footer {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center !important;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 1rem 1.5rem 1.35rem !important;
  text-align: center !important;
  border: none;
  border-top: 1px solid rgba(77, 163, 255, 0.14) !important;
  background: rgba(0, 0, 0, 0.2);
}

body.fh-whmcs .fh-modal-confirm__close {
  position: static;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  padding: 0;
  float: none;
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  color: #8fa3be;
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
  opacity: 1;
  text-shadow: none;
  transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

body.fh-whmcs .fh-modal-confirm__close span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
  margin-top: -1px;
}

body.fh-whmcs .fh-modal-confirm__close:hover {
  color: #e8f0fc;
  border-color: rgba(59, 158, 255, 0.45);
  background: rgba(59, 158, 255, 0.1);
}

body.fh-whmcs .fh-modal-confirm__message {
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #8fa3be;
}

body.fh-whmcs .fh-modal-confirm__btn {
  min-width: 108px;
  padding: 0.6rem 1.35rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

body.fh-whmcs .fh-modal-confirm__btn--no {
  background: transparent;
  border: 1px solid rgba(77, 163, 255, 0.35);
  color: #e8f0fc;
}

body.fh-whmcs .fh-modal-confirm__btn--no:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(77, 163, 255, 0.5);
  color: #e8f0fc;
}

body.fh-whmcs .fh-modal-confirm__btn--yes {
  background: #3b9eff;
  border: none;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(59, 158, 255, 0.35), 0 8px 24px rgba(59, 158, 255, 0.4);
}

body.fh-whmcs .fh-modal-confirm__btn--yes:hover {
  background: #6bb3ff;
  color: #fff;
  box-shadow: 0 0 0 1px rgba(107, 179, 255, 0.45), 0 10px 28px rgba(59, 158, 255, 0.5);
}

body.fh-whmcs #order-standard_cart .modal-remove-item .modal-footer {
  padding-bottom: 1.35rem !important;
}

@media (min-width: 992px) {
  body.fh-whmcs #order-standard_cart.fh-order-cart--viewcart .fh-cart__content-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: 1.5rem;
    align-items: start;
  }

  body.fh-whmcs #order-standard_cart.fh-order-cart--viewcart .secondary-cart-body,
  body.fh-whmcs #order-standard_cart.fh-order-cart--viewcart .secondary-cart-sidebar {
    float: none !important;
    width: auto !important;
    padding: 0 !important;
  }

  body.fh-whmcs #order-standard_cart.fh-order-cart--viewcart .fh-cart__aside {
    position: sticky;
    top: 5.5rem;
  }
}

body.fh-whmcs #order-standard_cart .fh-cart-panel .fh-cart__items-header.view-cart-items-header {
  margin: 0;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  color: var(--fh-muted, #8fa3be);
  border: none;
  border-bottom: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 0;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

body.fh-whmcs #order-standard_cart .fh-cart-panel .fh-cart__items.view-cart-items {
  margin: 0;
  border: none;
  border-radius: 0;
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item {
  padding: 1rem 1.1rem;
  background: var(--fh-bg-elevated, #0c1829);
  border-bottom: 1px solid rgba(77, 163, 255, 0.1);
  color: var(--fh-text, #e8f0fc);
  font-size: 0.875rem;
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item:nth-child(even) {
  background: rgba(12, 24, 41, 0.75);
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item-group {
  font-size: 0.85rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item-domain {
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item-price {
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item-price span {
  font-size: 1rem;
  font-weight: 700;
}

body.fh-whmcs #order-standard_cart .fh-cart__items .item-price .cycle {
  font-size: 0.8rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .btn-remove-from-cart {
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart .btn-remove-from-cart:hover {
  color: #f87171;
}

body.fh-whmcs #order-standard_cart .fh-cart-panel .empty-cart .btn {
  background: transparent;
  border-radius: 0;
}

body.fh-whmcs #order-standard_cart .view-cart-tabs:not(.fh-cart-promo) {
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 12px;
  overflow: hidden;
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .nav-tabs {
  background: rgba(12, 24, 41, 0.9);
  border-bottom: 1px solid rgba(77, 163, 255, 0.15);
  padding: 0.35rem 0.5rem 0;
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .nav-tabs .nav-link {
  color: var(--fh-muted, #8fa3be);
  border: none;
  border-radius: 8px 8px 0 0;
}

body.fh-whmcs #order-standard_cart .view-cart-tabs .nav-tabs .nav-link.active {
  background: var(--fh-bg-elevated, #0c1829);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .view-cart-tabs:not(.fh-cart-promo) .tab-content {
  background: var(--fh-bg-elevated, #0c1829);
  padding: 1rem;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .view-cart-promotion-code {
  background: rgba(59, 158, 255, 0.08);
  border-color: rgba(59, 158, 255, 0.25);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart .view-cart-gateway-checkout {
  background: var(--fh-bg-elevated, #0c1829);
  border: 1px solid rgba(77, 163, 255, 0.18);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-cart .fh-order-summary-card__body .subtotal,
body.fh-whmcs #order-standard_cart.fh-cart .fh-order-summary-card__body .bordered-totals,
body.fh-whmcs #order-standard_cart.fh-cart .fh-order-summary-card__body .recurring-totals {
  border-color: rgba(77, 163, 255, 0.12);
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-cart .fh-order-summary-card__body .total-due-today-padded {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
  margin: 1rem 0;
  padding: 1rem 1.1rem;
  background: rgba(22, 42, 68, 0.85);
  border: 1px solid rgba(59, 158, 255, 0.28);
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart.fh-cart .fh-order-summary-card__body .total-due-today-padded .amt {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--fh-accent, #3b9eff);
}


/* —— Page Paiement (checkout) —— */
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__auth-toggle {
  margin-bottom: 1.25rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: flex-end;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(77, 163, 255, 0.3);
  color: var(--fh-text, #e8f0fc);
  border-radius: 10px;
  font-weight: 600;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-btn--ghost:hover {
  background: rgba(59, 158, 255, 0.12);
  border-color: rgba(59, 158, 255, 0.45);
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .sub-heading {
  height: auto;
  margin: 2rem 0 1.1rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(77, 163, 255, 0.14);
  text-align: left;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout > .sub-heading:first-child,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #containerExistingAccountSelect + .sub-heading {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .sub-heading span,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .primary-bg-color {
  position: static;
  top: auto;
  display: block;
  padding: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--fh-text, #e8f0fc) !important;
  background: transparent !important;
  font-weight: 700;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account-select-container {
  margin: 0 0 0.5rem;
  border-right: none;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account-select-container .col-sm-6,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account-select-container .col-sm-12 {
  padding-left: 0;
  padding-right: 0;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account {
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 12px;
  color: var(--fh-text, #e8f0fc);
  padding: 1rem 1.1rem;
  margin-bottom: 0.75rem;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account.active {
  border-color: var(--fh-accent, #3b9eff);
  box-shadow: 0 0 0 2px rgba(59, 158, 255, 0.18);
  background: rgba(12, 24, 41, 0.95);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account label {
  margin: 0;
  cursor: pointer;
  width: 100%;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account .address strong {
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account .address .small {
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .account .label-info {
  background: rgba(59, 158, 255, 0.2);
  color: var(--fh-accent, #3b9eff);
  border: 1px solid rgba(59, 158, 255, 0.35);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__total {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.75rem;
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(59, 158, 255, 0.1) !important;
  border: 1px solid rgba(59, 158, 255, 0.28) !important;
  border-radius: 12px;
  color: var(--fh-text, #e8f0fc) !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__total-label {
  font-size: 0.95rem;
  font-weight: 600;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__total-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__gateways-label {
  margin: 0 0 0.65rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__gateways-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__gateway {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  padding: 0.85rem 1rem;
  background: rgba(6, 13, 24, 0.65);
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__gateway:has(input:checked) {
  border-color: var(--fh-accent, #3b9eff);
  background: rgba(59, 158, 255, 0.08);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__gateway input {
  margin-top: 0.2rem;
  flex-shrink: 0;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__gateway-name {
  flex: 1;
  min-width: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--fh-text, #e8f0fc);
  font-weight: 500;
}

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

/* Texte saisi visible (surcharge style.css #626262 + autofill navigateur) */
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container input,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container textarea,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container select,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input.field,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input.form-control,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input[type="text"],
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input[type="tel"],
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .assisted-cc-input-container input,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .assisted-cc-input-container select {
  color: #e8f0fc !important;
  -webkit-text-fill-color: #e8f0fc !important;
  caret-color: #e8f0fc;
  background-color: rgba(6, 13, 24, 0.92) !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container input:focus,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input:focus,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .assisted-cc-input-container input:focus {
  color: #e8f0fc !important;
  -webkit-text-fill-color: #e8f0fc !important;
  border-color: var(--fh-accent, #3b9eff) !important;
  box-shadow: 0 0 0 3px rgba(59, 158, 255, 0.2) !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container input::placeholder,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input::placeholder,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .assisted-cc-input-container input::placeholder {
  color: #8fa3be !important;
  opacity: 0.85;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container input:-webkit-autofill,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container input:-webkit-autofill:hover,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container input:-webkit-autofill:focus,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input:-webkit-autofill,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #creditCardInputFields input:-webkit-autofill:focus {
  -webkit-text-fill-color: #e8f0fc !important;
  -webkit-box-shadow: 0 0 0 1000px rgba(6, 13, 24, 0.95) inset !important;
  box-shadow: 0 0 0 1000px rgba(6, 13, 24, 0.95) inset !important;
  color: #e8f0fc !important;
  transition: background-color 99999s ease-in-out 0s;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container label,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .assisted-cc-input-container label,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container .control-label,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .assisted-cc-input-feedback label {
  color: var(--fh-muted, #8fa3be) !important;
  font-size: 0.8125rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__cc-new-option {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__cc-new-label {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin: 0;
  padding: 0.65rem 0;
  color: var(--fh-text, #e8f0fc);
  font-weight: 600;
  cursor: pointer;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__cc-fields {
  margin-left: -0.35rem;
  margin-right: -0.35rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__cc-fields > [class*="col-"] {
  padding-left: 0.35rem;
  padding-right: 0.35rem;
}

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

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container .input-group-append .btn-default {
  background: rgba(12, 24, 41, 0.9);
  border: 1px solid rgba(77, 163, 255, 0.25);
  border-left: none;
  color: var(--fh-accent, #3b9eff);
  border-radius: 0 10px 10px 0;
}

@media (max-width: 767px) {
  body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__cc-fields .col-sm-3,
  body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__cc-fields .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container .existing-cc-grid {
  display: grid;
  grid-template-columns: auto auto 1fr auto auto;
  gap: 0.35rem 0.75rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
  color: var(--fh-text, #e8f0fc);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container .paymethod-info {
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .cc-input-container .radio-inline {
  padding: 0;
  margin: 0;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .apply-credit-container {
  margin-bottom: 1.25rem;
  padding: 1rem 1.1rem;
  background: rgba(12, 24, 41, 0.85);
  border: 1px solid rgba(77, 163, 255, 0.18);
  border-radius: 12px;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .apply-credit-container .radio {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .prepend-icon .field-icon {
  top: 0;
  bottom: 0;
  height: auto;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .prepend-icon .field-icon i {
  position: static;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .prepend-icon .field,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .prepend-icon .form-control {
  min-height: 44px;
  padding-left: 44px !important;
  line-height: 1.4;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout textarea.field {
  min-height: 120px;
  line-height: 1.5;
  padding: 0.75rem 12px !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .form-control,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout .field,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout select.form-control,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout input.field,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout input.form-control {
  background-color: rgba(6, 13, 24, 0.92) !important;
  color: #e8f0fc !important;
  -webkit-text-fill-color: #e8f0fc !important;
  caret-color: #e8f0fc;
  border-color: rgba(77, 163, 255, 0.22) !important;
  border-radius: 10px;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout label,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .field-help-text,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .text-muted {
  color: var(--fh-muted, #8fa3be) !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__submit {
  margin-top: 1.5rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__submit .checkbox-inline {
  color: var(--fh-muted, #8fa3be);
  font-size: 0.9rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout__submit .checkbox-inline a {
  color: var(--fh-accent, #3b9eff);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #btnCompleteOrder,
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-btn--complete-order {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  max-width: 420px;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 12px;
  background: var(--fh-accent, #3b9eff) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  box-shadow: 0 4px 24px rgba(59, 158, 255, 0.35);
  transition: background 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #btnCompleteOrder .fh-btn__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  font-size: 1.35rem;
  line-height: 1;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout #btnCompleteOrder:hover:not(:disabled),
body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-btn--complete-order:hover {
  background: #2d8ae8;
  color: #fff;
  box-shadow: 0 6px 28px rgba(59, 158, 255, 0.45);
  transform: translateY(-1px);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout-security {
  margin: 1.5rem 0 0;
  padding: 1rem 1rem 1rem 3.25rem;
  background: rgba(12, 24, 41, 0.85) !important;
  border: 1px solid rgba(77, 163, 255, 0.15) !important;
  border-radius: 12px;
  color: var(--fh-muted, #8fa3be) !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .fh-checkout-security i {
  color: var(--fh-accent, #3b9eff);
  margin-left: -2.5rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .checkout-error-feedback {
  background: rgba(248, 113, 113, 0.1);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .gateway-errors {
  border-radius: 10px;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .marketing-email-optin {
  margin: 1.25rem 0;
  padding: 1rem 1.1rem;
  background: rgba(12, 24, 41, 0.6);
  border: 1px solid rgba(77, 163, 255, 0.12);
  border-radius: 12px;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .marketing-email-optin h4 {
  color: var(--fh-text, #e8f0fc);
  font-size: 1rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--checkout .generate-password {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(77, 163, 255, 0.3);
  color: var(--fh-text, #e8f0fc);
  border-radius: 8px;
}

/* —— Confirmation de commande —— */
body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete {
  max-width: 640px;
  margin: 0 auto;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__card {
  padding: 2rem 1.75rem 1.75rem;
  text-align: center;
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(59, 158, 255, 0.2);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__icon {
  margin-bottom: 0.75rem;
  font-size: 3rem;
  color: #34d399;
  line-height: 1;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__lead {
  margin: 0 0 1.25rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--fh-text, #e8f0fc);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__order-num {
  margin: 0 0 1.25rem;
  padding: 1rem 1.15rem;
  background: rgba(59, 158, 255, 0.1);
  border: 1px solid rgba(59, 158, 255, 0.28);
  border-radius: 12px;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__order-label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.875rem;
  color: var(--fh-muted, #8fa3be);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__order-value,
body.fh-whmcs #order-standard_cart.fh-order-cart--complete .order-confirmation span {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--fh-accent, #3b9eff);
  background: transparent !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__instructions {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fh-muted, #8fa3be);
  text-align: left;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__alert {
  margin-bottom: 1rem;
  border-radius: 12px;
  text-align: left;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__alert--pay {
  text-align: center;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__invoice-link {
  color: var(--fh-accent, #3b9eff);
  font-weight: 700;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__addon {
  margin-bottom: 1rem;
  text-align: left;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-complete__actions {
  margin-top: 1.5rem;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-btn--complete-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.5rem;
  border: none;
  border-radius: 12px;
  background: var(--fh-accent, #3b9eff);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(59, 158, 255, 0.35);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--complete .fh-btn--complete-cta:hover {
  background: #2d8ae8;
  color: #fff;
}

/* —— Vérification fraude —— */
body.fh-whmcs #order-standard_cart.fh-order-cart--fraud .fh-fraud {
  max-width: 560px;
  margin: 0 auto;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--fraud .fh-fraud__card {
  padding: 1.75rem;
  background: linear-gradient(168deg, rgba(16, 32, 54, 0.98) 0%, rgba(6, 13, 24, 0.99) 100%);
  border: 1px solid rgba(248, 113, 113, 0.25);
  border-radius: calc(var(--fh-radius, 16px) + 2px);
}

body.fh-whmcs #order-standard_cart.fh-order-cart--fraud .fh-fraud__heading {
  margin-bottom: 1rem;
  border-radius: 10px;
  background: rgba(248, 113, 113, 0.1) !important;
  border-color: rgba(248, 113, 113, 0.35) !important;
  color: #fca5a5 !important;
}

body.fh-whmcs #order-standard_cart.fh-order-cart--fraud .fh-fraud__message {
  margin: 0 0 1.25rem;
  text-align: center;
  color: var(--fh-muted, #8fa3be);
  line-height: 1.6;
}
