/* HaloCloud Cloud Studio — cart order form (R26/R44). Scoped to .hc-theme #order-standard_cart / .hc-cart */

:root {
  color-scheme: light;
}

.hc-theme #order-standard_cart.hc-cart--empty .hc-cart-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 64px 16px;
  text-align: center;
}
.hc-theme .hc-cart-empty-state > i { color: var(--hc-text-secondary); font-size: 32px; }
.hc-theme .hc-cart-empty-state h2 { margin: 0; font-size: 20px; line-height: 28px; }
.hc-theme #order-standard_cart.hc-cart--addons > .row { margin: 0; }
.hc-theme #order-standard_cart.hc-cart--addons .cart-body { width: 100%; max-width: none; padding: 0; float: none; }
.hc-theme .hc-cart-categories { margin: 0 0 24px; }
.hc-theme .hc-cart-categories summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid var(--hc-border-control); border-radius: 6px; cursor: pointer; }
.hc-theme .hc-cart-categories summary:focus-visible { outline: 2px solid var(--hc-focus-ring); outline-offset: 2px; }
.hc-theme .hc-cart-categories > .card { margin: 12px 0; box-shadow: none; }
.hc-theme .hc-cart-addon-empty { padding: 48px 16px 16px; text-align: center; color: var(--hc-text-secondary); }
.hc-theme .hc-cart-addon-empty > i { margin-bottom: 16px; font-size: 28px; }
.hc-theme #order-standard_cart.hc-cart--addons .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; }

.hc-theme #order-standard_cart.hc-cart,
.hc-theme .hc-cart#order-standard_cart {
  min-width: 0;
}

.hc-theme #order-standard_cart .header-lined h1,
.hc-theme .hc-cart .header-lined h1 {
  margin: 0 0 var(--hc-space-3);
  font-size: var(--hc-font-size-page-title);
  font-weight: 600;
  line-height: var(--hc-line-page-title);
}

.hc-theme #order-standard_cart .cart-sidebar,
.hc-theme .hc-cart .cart-sidebar {
  background: var(--hc-surface-subtle);
  border-right: 1px solid var(--hc-border-subtle);
}

.hc-theme #order-standard_cart .cart-body,
.hc-theme .hc-cart .cart-body {
  min-width: 0;
}

/* Section headers — text only, no colored blocks */

.hc-theme #order-standard_cart.hc-cart .sub-heading,
.hc-theme .hc-cart#order-standard_cart .sub-heading {
  margin: var(--hc-space-5) 0 var(--hc-space-4);
  padding-top: var(--hc-space-4);
  border-top: 1px solid var(--hc-border-subtle);
}

.hc-theme #order-standard_cart.hc-cart .sub-heading .primary-bg-color,
.hc-theme .hc-cart#order-standard_cart .sub-heading .primary-bg-color {
  display: block;
  padding: 0;
  background: transparent;
  color: var(--hc-text-primary);
  font-size: var(--hc-font-size-section);
  font-weight: 600;
  line-height: var(--hc-line-section);
}

/* Products grid */

.hc-theme #order-standard_cart.hc-cart .products .product,
.hc-theme .hc-cart#order-standard_cart .products .product {
  margin-bottom: var(--hc-space-4);
  padding: var(--hc-space-4);
  border: 1px solid var(--hc-border-control);
  border-radius: var(--hc-radius-card);
  background: var(--hc-surface-page);
  overflow-wrap: anywhere;
}

.hc-theme #order-standard_cart.hc-cart .products .product header,
.hc-theme .hc-cart#order-standard_cart .products .product header {
  margin-bottom: var(--hc-space-3);
  overflow-wrap: anywhere;
}

.hc-theme #order-standard_cart.hc-cart .products .product header span,
.hc-theme .hc-cart#order-standard_cart .products .product header span {
  font-size: var(--hc-font-size-section);
  font-weight: 600;
  line-height: var(--hc-line-section);
}

.hc-theme #order-standard_cart.hc-cart .products .product-desc,
.hc-theme .hc-cart#order-standard_cart .products .product-desc {
  font-size: var(--hc-font-size-dense);
  line-height: var(--hc-line-dense);
}

.hc-theme #order-standard_cart.hc-cart .products .product-pricing .price,
.hc-theme .hc-cart#order-standard_cart .products .product-pricing .price {
  font-size: var(--hc-font-size-plan-price);
  font-weight: 600;
  line-height: var(--hc-line-plan-price);
}

.hc-theme #order-standard_cart.hc-cart .products .product footer,
.hc-theme .hc-cart#order-standard_cart .products .product footer {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hc-space-3);
  align-items: flex-end;
  margin-top: var(--hc-space-3);
}

.hc-theme #order-standard_cart.hc-cart .products .product footer .btn,
.hc-theme .hc-cart#order-standard_cart .products .product footer .btn {
  min-height: var(--hc-primary-height);
}

.hc-theme #order-standard_cart.hc-cart .products a.btn-order-now,
.hc-theme .hc-cart#order-standard_cart .products a.btn-order-now {
  background-color: var(--hc-action-primary);
  border-color: var(--hc-action-primary);
  color: var(--hc-action-on-primary);
  text-decoration: none;
}

.hc-theme #order-standard_cart.hc-cart .products a.btn-order-now:hover,
.hc-theme #order-standard_cart.hc-cart .products a.btn-order-now:focus-visible,
.hc-theme .hc-cart#order-standard_cart .products a.btn-order-now:hover,
.hc-theme .hc-cart#order-standard_cart .products a.btn-order-now:focus-visible {
  background-color: var(--hc-action-hover);
  border-color: var(--hc-action-hover);
  color: var(--hc-action-on-primary);
  text-decoration: none;
  outline: 2px solid var(--hc-focus-ring);
  outline-offset: 2px;
}

.hc-theme #order-standard_cart.hc-cart .products .row-eq-height > .col-md-6,
.hc-theme .hc-cart#order-standard_cart .products .row-eq-height > .col-md-6 {
  margin-bottom: var(--hc-space-4);
}

@media (max-width: 767px) {
  .hc-theme #order-standard_cart.hc-cart .products .row-eq-height > .col-md-6,
  .hc-theme .hc-cart#order-standard_cart .products .row-eq-height > .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Configure / viewcart / checkout — no outer decorative card */

.hc-theme #order-standard_cart .secondary-cart-body,
.hc-theme .hc-cart .secondary-cart-body {
  min-width: 0;
}

.hc-theme #order-standard_cart .secondary-cart-sidebar,
.hc-theme .hc-cart .secondary-cart-sidebar {
  min-width: 0;
  max-width: var(--hc-summary-width);
}

@media (min-width: 992px) {
  .hc-theme #order-standard_cart .secondary-cart-sidebar,
  .hc-theme .hc-cart .secondary-cart-sidebar {
    flex: 0 0 var(--hc-summary-width);
    width: var(--hc-summary-width);
  }
}

@media (max-width: 991px) {
  .hc-theme #order-standard_cart .secondary-cart-sidebar,
  .hc-theme .hc-cart .secondary-cart-sidebar {
    max-width: none;
    margin-top: var(--hc-space-5);
  }
}

.hc-theme #order-standard_cart .order-summary,
.hc-theme .hc-cart .order-summary {
  padding: var(--hc-space-4) 0;
  border-top: 1px solid var(--hc-border-subtle);
}

.hc-theme #order-standard_cart .summary-container,
.hc-theme .hc-cart .summary-container {
  overflow: visible;
  max-height: none;
}

/* Checkout labelled fields */

.hc-theme #order-standard_cart.hc-cart .hc-cart-field-label,
.hc-theme .hc-cart#order-standard_cart .hc-cart-field-label {
  display: block;
  margin-bottom: var(--hc-space-2);
  font-size: var(--hc-font-size-control-label);
  font-weight: 600;
  line-height: var(--hc-line-control-label);
  color: var(--hc-text-primary);
}

.hc-theme #order-standard_cart.hc-cart .hc-cart-field-label--inline,
.hc-theme .hc-cart#order-standard_cart .hc-cart-field-label--inline {
  display: inline;
  margin-bottom: 0;
  margin-left: var(--hc-space-2);
  font-weight: 400;
}

.hc-theme #order-standard_cart.hc-cart .form-group.hc-cart-labelled.prepend-icon,
.hc-theme .hc-cart#order-standard_cart .form-group.hc-cart-labelled.prepend-icon {
  position: relative;
}

.hc-theme #order-standard_cart.hc-cart .form-group.hc-cart-labelled.prepend-icon .field-icon,
.hc-theme .hc-cart#order-standard_cart .form-group.hc-cart-labelled.prepend-icon .field-icon {
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 50%;
  left: var(--hc-space-3);
  transform: translateY(-50%);
}

.hc-theme #order-standard_cart.hc-cart .form-group.hc-cart-labelled.prepend-icon > .field.form-control,
.hc-theme #order-standard_cart.hc-cart .form-group.hc-cart-labelled.prepend-icon > select.field,
.hc-theme #order-standard_cart.hc-cart .form-group.hc-cart-labelled.prepend-icon .input-group > .field.form-control,
.hc-theme .hc-cart#order-standard_cart .form-group.hc-cart-labelled.prepend-icon > .field.form-control,
.hc-theme .hc-cart#order-standard_cart .form-group.hc-cart-labelled.prepend-icon > select.field,
.hc-theme .hc-cart#order-standard_cart .form-group.hc-cart-labelled.prepend-icon .input-group > .field.form-control {
  padding-left: var(--hc-space-3);
}

.hc-theme #order-standard_cart.hc-cart .form-group.hc-cart-labelled.prepend-icon .iti,
.hc-theme .hc-cart#order-standard_cart .form-group.hc-cart-labelled.prepend-icon .iti {
  width: 100%;
}

.hc-theme #order-standard_cart.hc-cart #totalDueToday #totalCartPrice,
.hc-theme .hc-cart#order-standard_cart #totalDueToday #totalCartPrice {
  font-size: var(--hc-font-size-plan-price);
  font-weight: 600;
  line-height: var(--hc-line-plan-price);
}

/* Form controls */

.hc-theme #order-standard_cart .form-control,
.hc-theme .hc-cart .form-control,
.hc-theme #order-standard_cart .custom-select,
.hc-theme .hc-cart .custom-select {
  min-height: var(--hc-control-height);
}

.hc-theme #order-standard_cart.hc-cart .btn-primary,
.hc-theme .hc-cart#order-standard_cart .btn-primary,
.hc-theme #order-standard_cart.hc-cart #btnCompleteOrder,
.hc-theme .hc-cart#order-standard_cart #btnCompleteOrder {
  min-height: var(--hc-primary-height);
  background-color: var(--hc-action-primary);
  border-color: var(--hc-action-primary);
  color: var(--hc-action-on-primary);
}

.hc-theme #order-standard_cart.hc-cart .btn-primary:hover,
.hc-theme #order-standard_cart.hc-cart .btn-primary:focus-visible,
.hc-theme .hc-cart#order-standard_cart .btn-primary:hover,
.hc-theme .hc-cart#order-standard_cart .btn-primary:focus-visible,
.hc-theme #order-standard_cart.hc-cart #btnCompleteOrder:hover,
.hc-theme #order-standard_cart.hc-cart #btnCompleteOrder:focus-visible,
.hc-theme .hc-cart#order-standard_cart #btnCompleteOrder:hover,
.hc-theme .hc-cart#order-standard_cart #btnCompleteOrder:focus-visible {
  background-color: var(--hc-action-hover);
  border-color: var(--hc-action-hover);
  color: var(--hc-action-on-primary);
  outline: 2px solid var(--hc-focus-ring);
  outline-offset: 2px;
}

.hc-theme #order-standard_cart.hc-cart .btn:not(.btn-primary):not(.btn-success),
.hc-theme .hc-cart#order-standard_cart .btn:not(.btn-primary):not(.btn-success) {
  min-height: var(--hc-control-height);
  color: var(--hc-text-primary);
  border-color: var(--hc-border-control);
  background-color: var(--hc-surface-page);
}

.hc-theme #order-standard_cart.hc-cart .btn:not(.btn-primary):not(.btn-success):hover,
.hc-theme #order-standard_cart.hc-cart .btn:not(.btn-primary):not(.btn-success):focus-visible,
.hc-theme .hc-cart#order-standard_cart .btn:not(.btn-primary):not(.btn-success):hover,
.hc-theme .hc-cart#order-standard_cart .btn:not(.btn-primary):not(.btn-success):focus-visible {
  color: var(--hc-text-primary);
  border-color: var(--hc-border-control);
  background-color: var(--hc-surface-subtle);
  outline: 2px solid var(--hc-focus-ring);
  outline-offset: 2px;
}

.hc-theme #order-standard_cart label.col-form-label,
.hc-theme .hc-cart label.col-form-label,
.hc-theme #order-standard_cart .field-container > label,
.hc-theme .hc-cart .field-container > label {
  display: block;
  margin-bottom: var(--hc-space-2);
  font-weight: 600;
}

.hc-theme #order-standard_cart .view-cart-items,
.hc-theme .hc-cart .view-cart-items {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.hc-theme #order-standard_cart .view-cart-items table,
.hc-theme .hc-cart .view-cart-items table {
  min-width: 560px;
}

.hc-theme #order-standard_cart .gateway-errors,
.hc-theme .hc-cart .gateway-errors,
.hc-theme #order-standard_cart #paymentGatewayInput,
.hc-theme .hc-cart #paymentGatewayInput {
  overflow: visible;
  max-height: none;
}

.hc-theme #order-standard_cart iframe,
.hc-theme .hc-cart iframe {
  max-width: 100%;
}

.hc-theme #order-standard_cart .btn.w-hidden,
.hc-theme .hc-cart .btn.w-hidden,
.hc-theme #order-standard_cart .hc-button.w-hidden,
.hc-theme .hc-cart .hc-button.w-hidden {
  display: none;
}

.hc-theme #order-standard_cart .product-info,
.hc-theme .hc-cart .product-info {
  margin-bottom: var(--hc-space-4);
  padding-bottom: var(--hc-space-4);
  border-bottom: 1px solid var(--hc-border-subtle);
}

.hc-theme #order-standard_cart .sidebar .list-group-item,
.hc-theme .hc-cart .sidebar .list-group-item {
  border-radius: var(--hc-radius-control);
}

@media (max-width: 767px) {
  .hc-theme #order-standard_cart .header-lined h1,
  .hc-theme .hc-cart .header-lined h1 {
    font-size: 24px;
    line-height: 32px;
  }
}

/* ========================================================
   Modern Cloud Console Checkout — 2-Column Responsive Flow
   ======================================================== */

.hc-theme #order-standard_cart.hc-cart--checkout .cart-sidebar {
  display: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .cart-body,
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-body {
  float: none !important;
  width: 100% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-container {
  width: 100%;
}

/* Page header */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-title {
  margin: 0 !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: -0.02em !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-subtitle {
  margin: 4px 0 0 !important;
  font-size: 13.5px !important;
  line-height: 20px !important;
  color: var(--hc-text-secondary, #64748b) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-header__actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-header__actions .btn {
  display: inline-flex !important;
  align-items: center !important;
  height: 34px !important;
  min-height: 34px !important;
  padding: 0 14px !important;
  border-radius: 6px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 32px !important;
  box-shadow: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-header__actions .btn.w-hidden {
  display: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .checkout-error-feedback {
  margin-bottom: 20px !important;
  border-radius: 8px !important;
  font-size: 13.5px !important;
}

/* Two-column layout grid */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-layout {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 360px !important;
    gap: 32px !important;
    align-items: flex-start !important;
  }
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-main {
  min-width: 0;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-sidebar {
  min-width: 0;
}

@media (min-width: 992px) {
  .hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-sidebar {
    position: sticky !important;
    top: calc(var(--hc-topbar-height, 58px) + 20px) !important;
  }
}

/* Section Card */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-section {
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 12px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
  box-shadow: var(--hc-shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.05)) !important;
  overflow: hidden !important;
  transition: border-color 0.15s ease !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-section:hover {
  border-color: var(--hc-border-hover, #cbd5e1) !important;
}

/* Seamless Header inside Card - pure white background, matching clientarea panels */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-section__header {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 16px 20px 14px !important;
  background: transparent !important;
  border-bottom: 1px solid var(--hc-border, #e2e8f0) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-section__step {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;
  background: var(--hc-primary, #3164db) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 700 !important;
  flex-shrink: 0 !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-section__title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  line-height: 22px !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-section__body {
  padding: 20px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-subhead {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--hc-border, #e2e8f0);
}

/* Fields & inputs */
.hc-theme #order-standard_cart.hc-cart--checkout .field.form-control,
.hc-theme #order-standard_cart.hc-cart--checkout select.field,
.hc-theme #order-standard_cart.hc-cart--checkout .form-control,
.hc-theme #order-standard_cart.hc-cart--checkout .custom-select {
  min-height: 38px !important;
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 8px !important;
  background-color: var(--hc-bg-surface, #ffffff) !important;
  color: var(--hc-text-primary, #0f172a) !important;
  font-size: 13.5px !important;
  box-shadow: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .field.form-control:focus,
.hc-theme #order-standard_cart.hc-cart--checkout .form-control:focus,
.hc-theme #order-standard_cart.hc-cart--checkout .custom-select:focus {
  border-color: var(--hc-primary, #3164db) !important;
  box-shadow: none !important;
  outline: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-cart-field-label {
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
  color: var(--hc-text-secondary, #64748b) !important;
  margin-bottom: 6px !important;
}

/* Account Selection Cards */
#order-standard_cart .account-select-container,
.hc-theme #order-standard_cart.hc-cart--checkout .account-select-container {
  margin-bottom: 0 !important;
}

#order-standard_cart .account-select-container .account,
.hc-theme #order-standard_cart.hc-cart--checkout .account-select-container .account {
  display: block !important;
  position: relative !important;
  padding: 12px 14px !important;
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 8px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

#order-standard_cart .account-select-container .account:hover,
.hc-theme #order-standard_cart.hc-cart--checkout .account-select-container .account:hover {
  border-color: var(--hc-border-hover, #cbd5e1) !important;
  background: var(--hc-bg-subtle, #f8fafc) !important;
}

#order-standard_cart .account-select-container .account.active,
.hc-theme #order-standard_cart.hc-cart--checkout .account-select-container .account.active {
  border-color: var(--hc-primary, #3164db) !important;
  background: var(--hc-primary-light, #edf3ff) !important;
  box-shadow: none !important;
}

#order-standard_cart .account-select-container .account label.radio-inline,
.hc-theme #order-standard_cart.hc-cart--checkout .account-select-container .account label.radio-inline {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  cursor: pointer !important;
}

#order-standard_cart .account-select-container .account input[type="radio"].account-select,
.hc-theme #order-standard_cart.hc-cart--checkout .account-select-container .account input[type="radio"].account-select {
  margin-top: 3px !important;
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--hc-primary, #3164db) !important;
  flex-shrink: 0 !important;
}

/* Account Card Typography and Inner Layout */
.hc-theme #order-standard_cart.hc-cart--checkout .account-details {
  flex: 1 1 auto;
  min-width: 0;
}

.hc-theme #order-standard_cart.hc-cart--checkout .account-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.hc-theme #order-standard_cart.hc-cart--checkout .account-name {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--hc-text-primary, #0f172a);
}

.hc-theme #order-standard_cart.hc-cart--checkout .account-address-line {
  font-size: 12.5px;
  color: var(--hc-text-secondary, #64748b);
  line-height: 1.4;
  overflow-wrap: anywhere;
}

/* Credit Balance Box - Crisp Emerald Flat Banner, no nested container backgrounds */
#order-standard_cart .apply-credit-container,
.hc-theme #order-standard_cart.hc-cart--checkout .apply-credit-container {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-info {
  display: flex !important;
  align-items: center !important;
  padding: 11px 15px !important;
  border-radius: 8px !important;
  background: #ecfdf5 !important;
  border: 1px solid #a7f3d0 !important;
  font-size: 13.5px !important;
  color: #065f46 !important;
  font-weight: 500 !important;
  margin-bottom: 12px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-options {
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-choice {
  display: flex !important;
  align-items: flex-start !important;
  gap: 12px !important;
  padding: 13px 15px !important;
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 8px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  margin-bottom: 0 !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-choice:hover {
  background: var(--hc-bg-subtle, #f8fafc) !important;
  border-color: var(--hc-border-hover, #cbd5e1) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-choice:has(input:checked) {
  border-color: var(--hc-primary, #3164db) !important;
  background: var(--hc-primary-light, #edf3ff) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-choice input[type="radio"] {
  margin-top: 3px !important;
  width: 16px !important;
  height: 16px !important;
  accent-color: var(--hc-primary, #3164db) !important;
  flex-shrink: 0 !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-credit-choice__body {
  font-size: 13.5px !important;
  line-height: 1.5 !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

/* Payment Gateway Grid */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-gateway-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)) !important;
  gap: 10px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-gateway-card {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 44px !important;
  padding: 10px 14px !important;
  margin: 0 !important;
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 8px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
  cursor: pointer !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: var(--hc-text-primary, #0f172a) !important;
  transition: all 0.15s ease !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-gateway-card:hover {
  border-color: var(--hc-border-hover, #cbd5e1) !important;
  background: var(--hc-bg-subtle, #f8fafc) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-gateway-card:has(input:checked) {
  border-color: var(--hc-primary, #3164db) !important;
  background: var(--hc-primary-light, #edf3ff) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-gateway-card input[type="radio"] {
  accent-color: var(--hc-primary, #3164db) !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Captcha block */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-captcha-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0;
}

/* ========================================================
   RIGHT COLUMN: Sticky Order Summary Card
   ======================================================== */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-card {
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 12px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
  box-shadow: var(--hc-shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.05)) !important;
  overflow: hidden !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 18px !important;
  background: var(--hc-bg-subtle, #f8fafc) !important;
  border-bottom: 1px solid var(--hc-border, #e2e8f0) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-title {
  margin: 0 !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-items {
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--hc-border, #e2e8f0) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-item {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-item__name {
  font-size: 14px !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-item__price {
  font-size: 14px !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

/* Financial Breakdown */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-breakdown {
  padding: 14px 18px !important;
  border-bottom: 1px solid var(--hc-border, #e2e8f0) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 13px !important;
  color: var(--hc-text-secondary, #64748b) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-row--fee {
  color: var(--hc-text-secondary, #64748b) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-row--total {
  padding-top: 10px !important;
  margin-top: 4px !important;
  border-top: 1px dashed var(--hc-border, #e2e8f0) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-total-label {
  font-size: 14px !important;
  color: var(--hc-text-primary, #0f172a) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-total-price {
  font-size: 22px !important;
  line-height: 1 !important;
}

/* Action Footer */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-summary-action {
  padding: 16px 18px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-wrap {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 6px 8px !important;
  border-radius: 6px !important;
  border: 1px solid transparent !important;
  background: transparent !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-wrap:hover {
  background: var(--hc-bg-subtle, #f8fafc) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-wrap.has-error {
  background: #fef2f2 !important;
  border-color: #fecaca !important;
  animation: hc-tos-shake 0.35s ease !important;
}

@keyframes hc-tos-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  50% { transform: translateX(4px); }
  75% { transform: translateX(-3px); }
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-error {
  font-size: 12px !important;
  line-height: 1.4 !important;
  color: var(--hc-danger, #ef4444) !important;
  margin-top: 6px !important;
  padding-left: 26px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
  cursor: pointer !important;
  user-select: none !important;
  line-height: 1 !important;
}

/* Custom Flat Modern Rounded Checkbox */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-label input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  box-sizing: border-box !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  min-height: 16px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1.5px solid var(--hc-border-hover, #cbd5e1) !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
  transition: all 0.15s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-label input[type="checkbox"]:hover {
  border-color: var(--hc-primary, #3164db) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-label input[type="checkbox"]:checked {
  background-color: var(--hc-primary, #3164db) !important;
  border-color: var(--hc-primary, #3164db) !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3E%3Cpath fill-rule='evenodd' d='M12.416 3.376a.75.75 0 0 1 .208 1.04l-5 7.5a.75.75 0 0 1-1.154.114l-3-3a.75.75 0 0 1 1.06-1.06l2.353 2.353 4.493-6.739a.75.75 0 0 1 1.04-.208z' clip-rule='evenodd'/%3E%3C/svg%3E") !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  background-size: 11px 11px !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-text {
  font-size: 13px !important;
  line-height: 18px !important;
  color: var(--hc-text-secondary, #64748b) !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-link {
  color: var(--hc-primary, #3164db) !important;
  font-weight: 500 !important;
  text-decoration: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-tos-link:hover {
  text-decoration: underline !important;
}

/* Submit Action Button & Modern Loading State */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 44px !important;
  min-height: 44px !important;
  padding: 0 20px !important;
  border: none !important;
  border-radius: 8px !important;
  background: var(--hc-primary, #3164db) !important;
  color: #ffffff !important;
  font-size: 14.5px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  cursor: pointer !important;
  transition: background-color 0.15s ease !important;
  text-decoration: none !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete:hover {
  background: var(--hc-primary-hover, #2453be) !important;
  box-shadow: none !important;
  color: #ffffff !important;
}

/* Loading & disabled state: Never wash out to light gray opacity! Keep clean solid primary */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete:disabled,
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete.disabled {
  opacity: 1 !important;
  background: var(--hc-primary-hover, #2453be) !important;
  color: #ffffff !important;
  cursor: wait !important;
  box-shadow: none !important;
}

/* Modern flat circular spinner: replace the dated 8-dot FA spinner glyph */
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete .fa-spinner,
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete .fa-spin {
  display: inline-block !important;
  width: 15px !important;
  height: 15px !important;
  min-width: 15px !important;
  min-height: 15px !important;
  margin-left: 10px !important;
  border: 2px solid rgba(255, 255, 255, 0.35) !important;
  border-top-color: #ffffff !important;
  border-radius: 50% !important;
  animation: hc-btn-smooth-spin 0.65s linear infinite !important;
  vertical-align: middle !important;
  box-sizing: border-box !important;
}

.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete .fa-spinner::before,
.hc-theme #order-standard_cart.hc-cart--checkout .hc-checkout-btn-complete .fa-spin::before {
  content: "" !important;
  display: none !important;
}

@keyframes hc-btn-smooth-spin {
  to { transform: rotate(360deg); }
}

/* ========================================================
   Order Complete Page — Clean Minimalist Success Screen
   ======================================================== */

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__icon-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  border-radius: 50% !important;
  background: var(--hc-success-bg, #ecfdf5) !important;
  border: 1px solid var(--hc-success-border, #a7f3d0) !important;
  color: var(--hc-success, #10b981) !important;
  font-size: 26px !important;
  box-shadow: none !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__title {
  margin: 0 0 6px !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  color: var(--hc-text-primary, #0f172a) !important;
  letter-spacing: -0.02em !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__subtitle {
  font-size: 14px !important;
  color: var(--hc-text-secondary, #64748b) !important;
  margin-bottom: 24px !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__card {
  max-width: 460px !important;
  padding: 24px 28px !important;
  border: 1px solid var(--hc-border, #e2e8f0) !important;
  border-radius: 12px !important;
  background: var(--hc-bg-surface, #ffffff) !important;
  box-shadow: var(--hc-shadow-sm, 0 1px 3px rgba(15, 23, 42, 0.05)) !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__ref-label {
  font-size: 11px !important;
  letter-spacing: 0.06em !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__ordernum {
  font-size: 24px !important;
  letter-spacing: -0.01em !important;
  color: var(--hc-primary, #3164db) !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__actions {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 8px !important;
}

.hc-theme #order-standard_cart.hc-cart--complete .hc-complete__btn {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 20px !important;
  border-radius: 6px !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  line-height: 38px !important;
  box-shadow: none !important;
  transition: all 0.15s ease !important;
  text-decoration: none !important;
}
