/* =====================================================================
   Infraclusters Cart — child of Standard Cart (WHMCS 9)
   ===================================================================== */
#order-standard_cart {
  --ic-ink: #0B0C1B;
  --ic-blue: #2A5CFF;
  --ic-blue-dark: #1A3FD1;
  --ic-blue-soft: #EEF2FF;
  --ic-muted: #5A5C76;
  --ic-soft: #C3C5D8;
  --ic-line: #E4E4EA;
  --ic-green: #16A34A;
  font-family: Manrope, system-ui, sans-serif;
  color: var(--ic-ink);
}
#order-standard_cart .header-lined h1,
#order-standard_cart h1 { font-weight: 500; letter-spacing: -0.01em; }

/* ---------- Section dividers ---------- */
#order-standard_cart .sub-heading { border-top-color: var(--ic-line); }
#order-standard_cart .sub-heading span,
#order-standard_cart .sub-heading-borderless span {
  color: var(--ic-muted);
  background: var(--ic-surface, #F8F8F8);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ---------- Product listing ---------- */
#order-standard_cart .products .product {
  border-radius: 0;
  border: 1px solid var(--ic-line);
  padding: 0 0 20px;
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  overflow: hidden;
}
#order-standard_cart .products .product:hover {
  border-color: var(--ic-blue);
  box-shadow: 0 0 0 4px rgba(42, 92, 255, 0.12);
}
#order-standard_cart .ic-product-art { background: var(--ic-ink); line-height: 0; }
#order-standard_cart .ic-product-art img { width: 100%; height: 170px; object-fit: cover; display: block; }
#order-standard_cart .products .product header {
  background: #fff;
  border-radius: 0;
  margin: 0;
  padding: 18px 22px 6px;
}
#order-standard_cart .products .product header span { font-size: 20px; font-weight: 700; color: var(--ic-ink); }
#order-standard_cart .products .product .product-desc { padding: 0 22px; color: var(--ic-muted); font-size: 14px; line-height: 1.6; }
#order-standard_cart .products .product .product-desc ul { padding: 0; margin: 12px 0 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
#order-standard_cart .products .product .product-desc li {
  background: #F1F4FD;
  color: var(--ic-ink);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 11px;
}
#order-standard_cart .products .product .product-desc li .feature-value { color: var(--ic-blue); font-weight: 800; }
#order-standard_cart .products .product footer { padding: 16px 22px 0; border-top: 1px solid var(--ic-line); margin-top: 16px; }
#order-standard_cart .products .product div.product-pricing span.price { font-size: 26px; font-weight: 800; color: var(--ic-ink); }

/* ---------- Buttons: pill + green contour ---------- */
#order-standard_cart .btn { border-radius: 999px; font-weight: 600; }
#order-standard_cart .btn-primary,
#order-standard_cart .btn-success,
#order-standard_cart .btn-order-now,
#order-standard_cart .btn-checkout,
#order-standard_cart #btnCompleteProductConfig,
#order-standard_cart #checkout,
#order-standard_cart #btnCompleteOrder {
  background: var(--ic-blue);
  border: 2px solid var(--ic-green);
  color: #fff;
  padding: 10px 22px;
}
#order-standard_cart .btn-primary:hover,
#order-standard_cart .btn-success:hover,
#order-standard_cart .btn-order-now:hover,
#order-standard_cart .btn-checkout:hover { background: var(--ic-blue-dark); border-color: var(--ic-green); color: #fff; }
#order-standard_cart .btn-default { background: #fff; border: 2px solid var(--ic-green); color: var(--ic-ink); }
#order-standard_cart .input-group .btn { border-radius: 0; }

/* ---------- Configure product: option groups ---------- */
#order-standard_cart .product-info {
  background: var(--ic-ink);
  color: var(--ic-soft);
  border: 0;
  border-radius: 0;
  padding: 24px 28px;
}
#order-standard_cart .product-info .product-title { color: #fff; font-size: 24px; font-weight: 600; }
#order-standard_cart .product-configurable-options .form-group > label,
#order-standard_cart .field-container label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ic-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
#order-standard_cart .ic-group-icon { color: var(--ic-blue); font-size: 16px; }
#order-standard_cart .form-control,
#order-standard_cart .field {
  border-radius: 0;
  border-color: #C9CAD6;
  min-height: 44px;
}

/* radio options rendered as tiles (see js/infraclusters.js) */
#order-standard_cart .ic-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
#order-standard_cart .ic-tiles > label:first-child,
#order-standard_cart .ic-tiles > label[for] { grid-column: 1 / -1; margin-bottom: 2px; }
#order-standard_cart .ic-tile {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  min-height: 64px;
  background: #fff;
  border: 2px solid #E0E1EA;
  font-size: 14px;
  font-weight: 700;
  color: var(--ic-ink);
  cursor: pointer;
  position: relative;
}
#order-standard_cart .ic-tile:hover { border-color: #AFC0FF; }
#order-standard_cart .ic-tile.is-selected { border-color: var(--ic-blue); background: #F3F6FF; }
#order-standard_cart .ic-tile .iradio_square-blue,
#order-standard_cart .ic-tile input[type=radio] { position: absolute; opacity: 0; width: 1px; height: 1px; overflow: hidden; }
#order-standard_cart .ic-mark,
#order-standard_cart .ic-badge {
  width: 40px; height: 40px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
#order-standard_cart .ic-mark { background: var(--ic-blue-soft); color: var(--ic-blue); font-size: 18px; }
#order-standard_cart .ic-badge { color: #fff; font-size: 12px; font-weight: 800; }
#order-standard_cart .ic-check {
  margin-left: auto;
  width: 22px; height: 22px; flex-shrink: 0;
  border-radius: 999px;
  border: 2px solid #D5D6E0;
  display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: 11px;
}
#order-standard_cart .ic-tile.is-selected .ic-check { background: var(--ic-green); border-color: var(--ic-green); color: #fff; }

/* ---------- Order summary ---------- */
#order-standard_cart .order-summary {
  background: var(--ic-ink);
  border-bottom: 0;
  border-radius: 0;
}
#order-standard_cart .order-summary h2 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8FA8FF;
  text-align: left;
  padding: 18px 22px;
}
#order-standard_cart .summary-container {
  background: #fff;
  border: 1px solid var(--ic-line);
  border-top: 0;
  border-radius: 0;
  padding: 20px 22px;
  font-size: 14px;
}
#order-standard_cart .summary-container .total-due-today .amt,
#order-standard_cart .order-summary .total-due-today .amt { font-size: 28px; font-weight: 800; color: var(--ic-ink); }

/* ---------- Cart ---------- */
#order-standard_cart .view-cart-items-header { background: var(--ic-ink); border-radius: 0; }
#order-standard_cart .view-cart-items { border-radius: 0; border-color: var(--ic-line); }
#order-standard_cart .view-cart-tabs .nav-tabs a { border-radius: 0; }
#order-standard_cart .empty-cart .btn { border-radius: 999px; }

/* ---------- Checkout payment methods ---------- */
#order-standard_cart .payment-methods-container label,
#order-standard_cart #paymentGatewaysContainer label {
  border: 2px solid #E0E1EA;
  padding: 12px 16px;
  margin: 0 10px 10px 0;
  font-weight: 700;
  background: #fff;
}
#order-standard_cart .cat-sidebar .card,
#order-standard_cart .sidebar .card { border-radius: 0; }

/* ---------- Icon-style product art (light, gray line decorations) ---------- */
#order-standard_cart .ic-product-art { background: #F7F8FB; border-bottom: 1px solid var(--ic-line); }
#order-standard_cart .products .product { border-radius: 20px; }
