/* HostLab Store — inherits WHMCS Standard Cart behaviour.
   This file changes presentation only. Billing, forms and payment scripts stay inherited. */
#order-standard_cart {
  --store-ink: #142638;
  --store-muted: #53677b;
  --store-line: #dce6ed;
  --store-blue: #087ac2;
  color: var(--store-ink);
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 16px 48px;
  font-size: 14px;
  line-height: 1.65;
}
#order-standard_cart .cart-sidebar {
  float: none;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0 15px;
  margin-bottom: 24px;
}
#order-standard_cart .cart-sidebar > .panel { flex: 1 1 220px; margin: 0; }
#order-standard_cart .cart-sidebar .panel-heading { background: #fff; }
#order-standard_cart .cart-body { float: none; width: 100%; }
#order-standard_cart .header-lined { margin: 0 0 18px; border: 0; }
#order-standard_cart .header-lined h1 {
  margin: 0;
  border: 0;
  color: var(--store-ink);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -1.1px;
}
#order-standard_cart .header-lined + p { max-width: 760px; color: var(--store-muted); font-size: 16px; margin-bottom: 30px; }
#order-standard_cart #products { margin-top: 28px; }
#order-standard_cart #products > .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
  margin: 0;
}
#order-standard_cart #products > .row::before,
#order-standard_cart #products > .row::after { display: none; }
#order-standard_cart #products > .row > [class*="col-"] { float: none; width: auto; min-width: 0; padding: 0; display: flex; }
#order-standard_cart .products .product {
  width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--store-line);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(20, 38, 56, .045);
}
#order-standard_cart .products .product > header {
  padding: 24px 26px;
  background: #102638;
  color: #fff;
  border: 0;
  font-size: 21px;
  line-height: 1.3;
  font-weight: 650;
  letter-spacing: -.4px;
}
#order-standard_cart .products .product .product-desc {
  float: none;
  width: 100%;
  min-width: 0;
  padding: 24px 26px 12px;
  color: var(--store-muted);
  font-size: 14px;
  line-height: 1.65;
}
#order-standard_cart .products .product .product-desc p { margin: 0 0 15px; }
#order-standard_cart .products .product .product-desc > p:first-child { color: var(--store-ink); font-size: 17px; }
#order-standard_cart .products .product .product-desc strong { color: var(--store-ink); font-weight: 650; }
#order-standard_cart .products .product .product-desc ul { padding-left: 20px; margin: 16px 0 22px; }
#order-standard_cart .products .product .product-desc li { margin: 8px 0; padding-left: 3px; line-height: 1.55; }
#order-standard_cart .products .product .product-desc li::marker { color: var(--store-blue); }
#order-standard_cart .products .product .product-desc a { color: #066fae; text-decoration: underline; text-underline-offset: 3px; }
#order-standard_cart .products .product > footer {
  float: none;
  width: 100%;
  clear: both;
  margin-top: auto;
  padding: 22px 26px 26px;
  border-top: 1px solid var(--store-line);
  background: #f5f9fc;
  text-align: left;
}
#order-standard_cart .product-pricing { margin: 0 0 18px; color: var(--store-muted); font-size: 13px; }
#order-standard_cart .product-pricing .price { color: var(--store-ink); font-size: 29px; font-weight: 700; letter-spacing: -.7px; }
#order-standard_cart .product-pricing small { color: var(--store-muted); font-size: 13px; }
#order-standard_cart .products .product .btn-order-now {
  display: block;
  width: 100%;
  padding: 12px 18px;
  background: var(--store-blue);
  border: 1px solid var(--store-blue);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 650;
  box-shadow: none;
}
#order-standard_cart .products .product .btn-order-now:hover { background: #06659f; border-color: #06659f; }
#order-standard_cart a:focus-visible,
#order-standard_cart button:focus-visible,
#order-standard_cart input:focus-visible,
#order-standard_cart select:focus-visible { outline: 3px solid #0b9ff7; outline-offset: 3px; }
#order-standard_cart .product-info {
  padding: 24px;
  border: 1px solid var(--store-line);
  border-radius: 12px;
  background: #fff;
  color: var(--store-muted);
  font-size: 14px;
}
#order-standard_cart .product-info .product-title { color: var(--store-ink); font-size: 22px; font-weight: 700; }
#order-standard_cart .order-summary { overflow: hidden; border: 1px solid var(--store-line); border-radius: 12px; background: #fff; box-shadow: 0 8px 30px rgba(20,38,56,.04); }
#order-standard_cart .order-summary h2 { background: #102638; color: #fff; padding: 18px; font-size: 18px; }
#order-standard_cart .order-summary .summary-container { padding: 20px; background: #fff; }
#order-standard_cart .form-control { min-height: 44px; border: 1px solid #cad8e3; border-radius: 7px; font-size: 14px; box-shadow: none; }
#order-standard_cart textarea.form-control { min-height: 110px; }
#order-standard_cart .field, #order-standard_cart .form-group { margin-bottom: 22px; }
#order-standard_cart label { color: var(--store-ink); font-weight: 600; }
#order-standard_cart .sub-heading { margin-top: 30px; }
#order-standard_cart .panel-addon { border: 1px solid var(--store-line); border-radius: 10px; overflow: hidden; box-shadow: none; }
#order-standard_cart .panel-addon .panel-heading { background: #f5f9fc; color: var(--store-ink); }
#order-standard_cart .btn-primary { background: var(--store-blue); border-color: var(--store-blue); border-radius: 8px; padding: 12px 20px; }
@media (max-width: 900px) {
  #order-standard_cart #products > .row { grid-template-columns: 1fr; }
  #order-standard_cart .secondary-cart-body,
  #order-standard_cart .secondary-cart-sidebar { float: none; width: 100%; }
  #order-standard_cart .secondary-cart-sidebar { margin-top: 24px; }
}
@media (max-width: 600px) {
  #order-standard_cart { padding: 16px 0 32px; }
  #order-standard_cart .cart-sidebar { display: none; }
  #order-standard_cart .sidebar-collapsed { display: block; margin-bottom: 18px; }
  #order-standard_cart .products .product > header { padding: 20px; font-size: 20px; }
  #order-standard_cart .products .product .product-desc { padding: 20px 20px 8px; }
  #order-standard_cart .products .product > footer { padding: 20px; }
  #order-standard_cart .product-info { padding: 18px; }
}

/* Resolve the inherited Antler/Standard Cart rules after live integration checks. */
#order-standard_cart #products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
#order-standard_cart #products > .row { display: contents; }
#order-standard_cart .products .product > header span { color: #fff !important; font-size: 21px !important; font-weight: 650 !important; }
#order-standard_cart .products .product div.product-desc { float: none !important; width: 100% !important; padding: 24px 26px 12px !important; font-size: 14px !important; }
#order-standard_cart .products .product .product-desc p,
#order-standard_cart .products .product .product-desc li,
#order-standard_cart .products .product .product-desc a,
#order-standard_cart .products .product .product-desc strong { font-size: 14px !important; line-height: 1.65 !important; }
#order-standard_cart .products .product .product-desc > p:first-child,
#order-standard_cart .products .product .product-desc > p:first-child strong { font-size: 17px !important; }
#order-standard_cart .products .product > footer { float: none !important; width: 100% !important; padding: 22px 26px 26px !important; }
#order-standard_cart .products .product .product-pricing .price { font-size: 29px !important; }
#order-standard_cart .products .product .btn-order-now { color: #fff !important; }
#order-standard_cart .order-summary h2 { color: #fff !important; }
@media (max-width: 900px) {
  #order-standard_cart #products { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  #order-standard_cart .products .product > header span { font-size: 20px !important; }
  #order-standard_cart .products .product div.product-desc { padding: 20px 20px 8px !important; }
  #order-standard_cart .products .product > footer { padding: 20px !important; }
}

/* Let multi-line section titles take their natural height on narrow screens. */
#order-standard_cart .sub-heading { height: auto !important; margin: 30px 0 22px !important; padding: 0 0 12px !important; border-top: 0 !important; border-bottom: 1px solid var(--store-line); text-align: left; }
#order-standard_cart .sub-heading > span { position: static !important; display: block; padding: 0 !important; background: transparent !important; color: var(--store-ink); font-size: 18px; line-height: 1.5; }
#order-standard_cart .sub-heading small { font-size: 12px; font-weight: 400; color: var(--store-muted); }
