/* The order form's operator override slot, and it has to exist.
 *
 * common.tpl wraps its <link> in {assetExists file="custom.css"}, and that
 * test passes for this order form even when the file is absent — WHMCS falls
 * back through templates/six/css/custom.css, which IS present, while
 * assetPath still writes OUR path. The result was a 404 and a console error
 * on every checkout page load. Stock standard_cart does not trip it.
 *
 * Deliberately empty: the checkout page is styled from the theme's
 * bridge.css, next to the rest of the cart. This file is here so an operator
 * can override it without editing the theme, which is what WHMCS means it for.
 */

/* ---------------------------------------------------------------------------
   The empty cart.

   This page used to be the whole checkout with "Your Shopping Cart is Empty"
   written across the middle of it — a promo code box, a Validate Code button
   and a country dropdown, all for an order that did not exist. What is left is
   the sentence and the way out of it.
   --------------------------------------------------------------------------- */
.hc-co-empty {
  max-width: 40rem;
  margin: clamp(2rem, 7vw, 4.5rem) auto;
  padding: 0 1rem;
  text-align: center;
}
.hc-co-empty-ic {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  margin: 0 auto 1.3rem;
  border-radius: 20px;
  background: var(--hc-blue-soft, #eaf2fe);
  color: var(--hc-blue, #1570ef);
}
.hc-co-empty-ic svg { width: 30px; height: 30px; }
.hc-co-empty h1 {
  margin: 0 0 .5rem;
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -.025em;
  color: var(--hc-text, #171b34);
}
.hc-co-empty > p {
  margin: 0 auto 1.9rem;
  max-width: 30rem;
  color: var(--hc-muted, #666d90);
  font-size: var(--ds-fs-md);
}

/* The three things we sell, as the only choices on the page. */
.hc-co-empty-grid {
  display: grid;
  gap: .7rem;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  text-align: left;
}
.hc-co-empty-grid a {
  display: block;
  padding: .95rem 1.05rem;
  border: 1px solid var(--hc-line, #e2e5f2);
  border-radius: 12px;
  background: var(--hc-surface, #fff);
  text-decoration: none;
  transition: border-color .12s ease, box-shadow .12s ease, transform .12s ease;
}
.hc-co-empty-grid a:hover {
  border-color: var(--hc-blue, #1570ef);
  box-shadow: 0 6px 18px rgba(23, 27, 52, .08);
  transform: translateY(-2px);
  text-decoration: none;
}
.hc-co-empty-grid b {
  display: block;
  color: var(--hc-text, #171b34);
  font-size: var(--ds-fs-md);
  font-weight: 600;
}
.hc-co-empty-grid span {
  display: block;
  margin-top: .15rem;
  color: var(--hc-muted, #666d90);
  font-size: var(--ds-fs);
}

.hc-co-empty-alt {
  margin: 1.6rem 0 0;
  color: var(--hc-faint, #9198b8);
  font-size: var(--ds-fs);
}
.hc-co-empty-alt a { color: var(--hc-blue, #1570ef); }
.hc-co-empty-alt span { margin: 0 .5rem; }
