/*
 * HTech Cart — Standard Cart child-template styling.
 * Scoped to WHMCS order-form markup so client-area pages remain isolated.
 */

#order-standard_cart {
  --htech-cart-slate-950: #0f172a;
  --htech-cart-slate-900: #0f172a;
  --htech-cart-slate-800: #1e293b;
  --htech-cart-slate-700: #334155;
  --htech-cart-teal-700: #0f766e;
  --htech-cart-teal-600: #0d9488;
  --htech-cart-teal-100: #ccfbf1;
  --htech-cart-gold-700: #92400e;
  --htech-cart-gold-600: #9a4510;
  --htech-cart-gold-500: #b45309;
  --htech-cart-gold-100: #fff7ed;
  --htech-cart-ink: #243943;
  --htech-cart-muted: #607681;
  --htech-cart-line: #d7e1e4;
  --htech-cart-surface: #ffffff;
  --htech-cart-canvas: #f3f7f8;
  --htech-cart-radius: 10px;
  --htech-cart-shadow: 0 12px 34px rgba(16, 32, 42, 0.09);
  color: var(--htech-cart-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

#order-standard_cart a {
  color: var(--htech-cart-teal-700);
}

#order-standard_cart a:hover,
#order-standard_cart a:focus {
  color: var(--htech-cart-slate-900);
}

#order-standard_cart h1,
#order-standard_cart h2,
#order-standard_cart h3,
#order-standard_cart h4,
#order-standard_cart h5,
#order-standard_cart h6 {
  color: var(--htech-cart-slate-900);
  font-weight: 750;
  letter-spacing: -0.018em;
}

#order-standard_cart .header-lined {
  border-bottom: 1px solid var(--htech-cart-line);
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
}

#order-standard_cart .header-lined h1 {
  color: var(--htech-cart-slate-900);
}

/* Cart navigation and category sidebar */

#order-standard_cart .cart-sidebar .panel,
#order-standard_cart .cart-sidebar .card,
#order-standard_cart .categories-collapsed {
  border: 1px solid var(--htech-cart-line);
  border-radius: var(--htech-cart-radius);
  box-shadow: none;
  overflow: hidden;
}

#order-standard_cart .cart-sidebar .panel-heading,
#order-standard_cart .cart-sidebar .card-header,
#order-standard_cart .categories-collapsed .card-header {
  background: var(--htech-cart-slate-800);
  border: 0;
  color: #fff;
  font-weight: 750;
}

#order-standard_cart .cart-sidebar .panel-title,
#order-standard_cart .cart-sidebar .card-title,
#order-standard_cart .categories-collapsed .card-title {
  color: #fff;
}

#order-standard_cart .cart-sidebar .list-group-item,
#order-standard_cart .categories-collapsed .list-group-item {
  border-color: var(--htech-cart-line);
  color: var(--htech-cart-ink);
}

#order-standard_cart .cart-sidebar .list-group-item:hover,
#order-standard_cart .cart-sidebar .list-group-item:focus,
#order-standard_cart .cart-sidebar .list-group-item.active,
#order-standard_cart .categories-collapsed .list-group-item:hover,
#order-standard_cart .categories-collapsed .list-group-item.active {
  background: var(--htech-cart-teal-100);
  color: var(--htech-cart-slate-950);
}

/* Product and configuration cards */

#order-standard_cart .products .product,
#order-standard_cart .product-info,
#order-standard_cart .product-configurable-options,
#order-standard_cart .sub-heading,
#order-standard_cart .domain-selection-options,
#order-standard_cart .view-cart-items,
#order-standard_cart .view-cart-tabs,
#order-standard_cart .checkout .card,
#order-standard_cart .payment-methods .payment-method,
#order-standard_cart .summary-container,
#order-standard_cart .order-summary {
  border-color: var(--htech-cart-line);
  border-radius: var(--htech-cart-radius);
}

#order-standard_cart .products .product,
#order-standard_cart .product-info,
#order-standard_cart .product-configurable-options,
#order-standard_cart .domain-selection-options,
#order-standard_cart .view-cart-items,
#order-standard_cart .view-cart-tabs,
#order-standard_cart .checkout .card {
  background: var(--htech-cart-surface);
  box-shadow: 0 2px 9px rgba(16, 32, 42, 0.06);
}

#order-standard_cart .products .product:hover,
#order-standard_cart .products .product:focus-within {
  border-color: #accbd0;
  box-shadow: var(--htech-cart-shadow);
}

#order-standard_cart .products .product header,
#order-standard_cart .products .product .product-header,
#order-standard_cart .view-cart-items-header,
#order-standard_cart .view-cart-items .item-title,
#order-standard_cart .sub-heading span,
#order-standard_cart .checkout .card-header {
  background: #edf3f4;
  border-color: var(--htech-cart-line);
  color: var(--htech-cart-slate-900);
}

#order-standard_cart .products .product .product-title,
#order-standard_cart .product-info .product-title {
  color: var(--htech-cart-slate-900);
  font-weight: 800;
}

#order-standard_cart .products .product .product-price,
#order-standard_cart .products .product .price,
#order-standard_cart .price,
#order-standard_cart .recurring-totals,
#order-standard_cart .total-due-today .amt {
  color: var(--htech-cart-teal-700);
}

#order-standard_cart .products .product.featured,
#order-standard_cart .products .product.featured-product {
  border-color: var(--htech-cart-gold-500);
}

#order-standard_cart .products .product .featured-tag,
#order-standard_cart .products .product .popular,
#order-standard_cart .spotlight-tld .spotlight-tld-hot {
  background: var(--htech-cart-gold-500);
  color: var(--htech-cart-slate-950);
}

/* Forms and validation */

#order-standard_cart .form-control,
#order-standard_cart .custom-select,
#order-standard_cart select,
#order-standard_cart textarea,
#order-standard_cart .input-group-text {
  border-color: #b9c9cf;
  border-radius: 6px;
  color: var(--htech-cart-ink);
}

#order-standard_cart .form-control:focus,
#order-standard_cart .custom-select:focus,
#order-standard_cart select:focus,
#order-standard_cart textarea:focus {
  border-color: var(--htech-cart-teal-600);
  box-shadow: 0 0 0 3px rgba(11, 133, 136, 0.15);
}

#order-standard_cart .prepend-icon .field-icon,
#order-standard_cart .input-group-text {
  color: var(--htech-cart-slate-700);
}

#order-standard_cart .field-error-msg,
#order-standard_cart .error {
  color: #a93243;
}

#order-standard_cart .form-control.is-valid,
#order-standard_cart .form-control.is-invalid {
  background-position: right 0.75rem center;
}

/* Buttons */

#order-standard_cart .btn {
  border-radius: 6px;
  font-weight: 750;
}

#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .btn-info,
#order-standard_cart #btnCompleteOrder,
#order-standard_cart #btnCheckout,
#order-standard_cart #btnCompleteProductConfig {
  background: var(--htech-cart-teal-700);
  border-color: var(--htech-cart-teal-700);
  color: #fff;
}

#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-primary:focus,
#order-standard_cart .btn-success:hover,
#order-standard_cart .btn-success:focus,
#order-standard_cart .btn-info:hover,
#order-standard_cart .btn-info:focus,
#order-standard_cart #btnCompleteOrder:hover,
#order-standard_cart #btnCompleteOrder:focus,
#order-standard_cart #btnCheckout:hover,
#order-standard_cart #btnCheckout:focus,
#order-standard_cart #btnCompleteProductConfig:hover,
#order-standard_cart #btnCompleteProductConfig:focus {
  background: var(--htech-cart-slate-900);
  border-color: var(--htech-cart-slate-900);
  color: #fff;
}

#order-standard_cart .btn-warning,
#order-standard_cart .btn-add-to-cart {
  background: var(--htech-cart-gold-500);
  border-color: var(--htech-cart-gold-500);
  color: var(--htech-cart-slate-950);
}

#order-standard_cart .btn-warning:hover,
#order-standard_cart .btn-warning:focus,
#order-standard_cart .btn-add-to-cart:hover,
#order-standard_cart .btn-add-to-cart:focus {
  background: var(--htech-cart-gold-600);
  border-color: var(--htech-cart-gold-600);
  color: #fff;
}

#order-standard_cart .btn-default,
#order-standard_cart .btn-secondary {
  background: #fff;
  border-color: #b9c9cf;
  color: var(--htech-cart-slate-800);
}

#order-standard_cart .btn-default:hover,
#order-standard_cart .btn-default:focus,
#order-standard_cart .btn-secondary:hover,
#order-standard_cart .btn-secondary:focus {
  background: #e8eff1;
  border-color: #a9bbc2;
  color: var(--htech-cart-slate-950);
}

/* View-cart and order summary */

#order-standard_cart .view-cart-items {
  overflow: hidden;
}

#order-standard_cart .view-cart-items-header {
  background: var(--htech-cart-slate-800);
  color: #fff;
  font-weight: 750;
}

#order-standard_cart .view-cart-items .item {
  border-color: var(--htech-cart-line);
}

#order-standard_cart .view-cart-items .item:nth-child(even) {
  background: #f8fafb;
}

#order-standard_cart .order-summary {
  background: var(--htech-cart-slate-900);
  border: 0;
  box-shadow: var(--htech-cart-shadow);
  color: #dce8eb;
  overflow: hidden;
}

#order-standard_cart .order-summary h2,
#order-standard_cart .order-summary .summary-container,
#order-standard_cart .order-summary .subtotal,
#order-standard_cart .order-summary .total-due-today,
#order-standard_cart .order-summary .amt {
  color: #fff;
}

#order-standard_cart .order-summary h2 {
  background: var(--htech-cart-slate-800);
  border-bottom: 3px solid var(--htech-cart-gold-500);
  margin: 0;
}

#order-standard_cart .order-summary .summary-container {
  background: transparent;
  border: 0;
}

#order-standard_cart .order-summary .summary-container .clearfix,
#order-standard_cart .order-summary .summary-container .total-due-today {
  border-color: rgba(255, 255, 255, 0.14);
}

#order-standard_cart .order-summary .total-due-today .amt {
  color: var(--htech-cart-gold-500);
  font-weight: 850;
}

#order-standard_cart .order-summary .loader {
  background: rgba(16, 32, 42, 0.88);
}

#order-standard_cart .promo-code-form .form-control {
  background: #fff;
}

/* Checkout */

#order-standard_cart .already-registered {
  background: var(--htech-cart-teal-100);
  border: 1px solid #b5dadd;
  border-radius: var(--htech-cart-radius);
  color: #28575b;
  padding: 1rem;
}

#order-standard_cart .already-registered p {
  margin-bottom: 0;
  padding-top: 0.45rem;
}

#order-standard_cart .checkout-security-msg {
  color: var(--htech-cart-muted);
}

#order-standard_cart .checkout-security-msg i,
#order-standard_cart .secure-checkout i {
  color: var(--htech-cart-teal-700);
}

#order-standard_cart .payment-methods .payment-method {
  background: #fff;
  border: 1px solid var(--htech-cart-line);
}

#order-standard_cart .payment-methods .payment-method:hover,
#order-standard_cart .payment-methods .payment-method.selected {
  background: var(--htech-cart-teal-100);
  border-color: var(--htech-cart-teal-600);
}

#order-standard_cart .cc-input-container {
  background: #f7fafb;
  border-color: var(--htech-cart-line);
  border-radius: var(--htech-cart-radius);
}

#order-standard_cart .alert-info {
  background: var(--htech-cart-teal-100);
  border-color: #b5dadd;
  color: #28575b;
}

#order-standard_cart .alert-warning {
  background: var(--htech-cart-gold-100);
  border-color: #ead29d;
  color: #624812;
}

#order-standard_cart .alert-danger,
#order-standard_cart .checkout-error-feedback {
  background: #f9e9ec;
  border-color: #e8bcc4;
  color: #8a2d3b;
}

/* Domain search and results */

#order-standard_cart .domain-selection-options .option,
#order-standard_cart .domain-checker-result-headline,
#order-standard_cart .domain-result {
  border-color: var(--htech-cart-line);
}

#order-standard_cart .domain-selection-options .option-selected,
#order-standard_cart .domain-selection-options .option:hover {
  background: var(--htech-cart-teal-100);
  border-color: var(--htech-cart-teal-600);
}

#order-standard_cart .domain-lookup-primary-results .domain-available,
#order-standard_cart .domain-result.available {
  color: #087a43;
}

#order-standard_cart .domain-pricing .tld-row.highlighted,
#order-standard_cart .spotlight-tld-container .spotlight-tld {
  border-color: var(--htech-cart-gold-500);
}

@media (max-width: 991.98px) {
  #order-standard_cart .cart-sidebar {
    margin-bottom: 1.25rem;
  }

  #order-standard_cart .order-summary {
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  #order-standard_cart .header-lined h1 {
    font-size: 1.8rem !important;
  }

  #order-standard_cart .already-registered .pull-right,
  #order-standard_cart .already-registered .float-right {
    float: none !important;
    margin-bottom: 0.75rem;
  }

  #order-standard_cart .already-registered .btn {
    width: 100%;
  }
}
