/*
 * Page styles: configure (orderforms/hostsrc_cart/configureproduct.tpl and its
 * Ajax summary, ordersummary.tpl). Loaded after hostsrc.css and
 * hostsrc-cart.css; Standard Cart's all.min.css loads after this file, so every
 * rule starts with "html body.hs-page-configureproduct".
 *
 * The page is hostsrc.com's "Build your server": steps as Ash Panel tiles
 * (14px corners, 8px gaps, no card inside a card), choices as cards that step
 * to Ash Control with a stronger line when selected, one sticky summary rail
 * with the one bright Continue, and a bottom bar with the total and Continue
 * while the rail's Continue is below the screen (DESIGN.md "Sticky order bar"):
 * on phones until the rail, on short desktop screens until the rail sticks.
 */

html body.hs-page-configureproduct #order-standard_cart {
  --cfg-line-strong: rgb(255 255 255 / 40%);
  --cfg-radius-control: var(--hs-radius-lg, 10px);
}

/* ---- Head -------------------------------------------------------------- */

html body.hs-page-configureproduct #order-standard_cart .hs-cfg-head { margin: 0 0 20px; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-head .hs-cfg-eyebrow {
  margin: 0 0 8px;
  color: var(--c-muted);
  font-size: 0.875rem;
  font-weight: 600;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-head h1 {
  margin: 0;
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-head h1 + p { margin: 12px 0 0; max-width: 42rem; text-wrap: pretty; }

/* ---- Tiles ------------------------------------------------------------- */

html body.hs-page-configureproduct #order-standard_cart .hs-tile {
  display: block;
  min-width: 0;
  margin: 0 0 8px;
  padding: 24px;
  background: var(--c-card) !important;
  border: 0 !important;
  border-radius: var(--c-radius);
  color: var(--c-fg);
}
html body.hs-page-configureproduct #order-standard_cart fieldset.hs-tile,
html body.hs-page-configureproduct #order-standard_cart fieldset.hs-cfg-option { min-inline-size: 0; }

/* A legend sits in its fieldset's border unless it floats; floated, it lays
   out like any heading. The next element clears it. */
html body.hs-page-configureproduct #order-standard_cart legend.hs-cfg-legend,
html body.hs-page-configureproduct #order-standard_cart legend.hs-cfg-option-name { float: left; }
html body.hs-page-configureproduct #order-standard_cart legend + * { clear: both; }

/* Standard Cart's "Configurable Options" card becomes a plain wrapper: the
   tiles inside carry the surface. */
html body.hs-page-configureproduct #frmConfigureProduct .product-configurable-options.hs-cfg-options {
  margin: 0;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

html body.hs-page-configureproduct #order-standard_cart .hs-cfg-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  width: 100%;
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  font-size: inherit;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-title {
  margin: 0;
  color: var(--c-fg);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-hint { color: var(--c-muted); font-size: 0.875rem; }

/* What the plan includes, and what it fixes: quiet chips on Void. */
html body.hs-page-configureproduct #order-standard_cart .product-info.hs-tile { padding: 20px 24px; line-height: 1.5; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-fixed-label {
  margin: 0 0 10px;
  color: var(--c-muted);
  font-size: 0.875rem;
  font-weight: 600;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-facts li {
  padding: 4px 10px;
  background: var(--c-bg);
  border-radius: 8px;
  color: var(--c-fg);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-facts li:empty { display: none; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-fact-name { margin-right: 4px; color: var(--c-muted); font-weight: 500; }

/* ---- One option -------------------------------------------------------- */

html body.hs-page-configureproduct #order-standard_cart .hs-cfg-option {
  margin: 0;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--c-border);
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-legend + .hs-cfg-option { padding-top: 0; border-top: 0; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-option + .hs-cfg-option,
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-fixed + .hs-cfg-option { margin-top: 16px; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-fixed + .hs-cfg-option { padding-top: 16px; border-top: 1px solid var(--c-border); }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-option-name {
  display: block;
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  color: var(--c-fg);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
}

/* ---- Choice cards ------------------------------------------------------ */

html body.hs-page-configureproduct #order-standard_cart .hs-choices {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-choices-cycle { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); }
/* Beside the rail on small desktops, 4 periods sit 2 by 2 rather than 3 and 1. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  html body.hs-page-configureproduct #order-standard_cart .hs-choices-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  html body.hs-page-configureproduct #order-standard_cart .hs-choices,
  html body.hs-page-configureproduct #order-standard_cart .hs-choices-cycle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

html body.hs-page-configureproduct #order-standard_cart label.hs-choice {
  position: relative;
  display: block;
  margin: 0;
  color: var(--c-muted);
  font-size: 0.875rem;
  font-weight: 400;
  cursor: pointer;
}
/* The native input stays in the page (keyboard, forms, WHMCS's serialize)
   under a clip; the card is its label. */
html body.hs-page-configureproduct #order-standard_cart .hs-choice-input {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  opacity: 0;
  pointer-events: none;
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  height: 100%;
  min-height: 56px;
  padding: 9px 12px;
  border: 1px solid var(--c-input);
  border-radius: var(--cfg-radius-control);
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice:hover .hs-choice-body { border-color: rgb(255 255 255 / 28%); color: var(--c-fg); }
html body.hs-page-configureproduct #order-standard_cart .hs-choice-input:checked + .hs-choice-body {
  background: var(--c-control);
  border-color: var(--cfg-line-strong);
  color: var(--c-fg);
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-input:focus-visible + .hs-choice-body {
  border-color: var(--hs-ring, #8a8a8a);
  box-shadow: 0 0 0 3px var(--hs-ring-soft, rgb(138 138 138 / 50%));
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-input:disabled + .hs-choice-body { opacity: 0.45; cursor: not-allowed; }
/* A dedicated core size the chosen location can't take (page-configure.js):
   a dashed line and muted name instead of fading, so its reason stays legible. */
html body.hs-page-configureproduct #order-standard_cart label.hs-choice.is-unavailable { cursor: not-allowed; }
html body.hs-page-configureproduct #order-standard_cart .hs-choice.is-unavailable .hs-choice-input:disabled + .hs-choice-body,
html body.hs-page-configureproduct #order-standard_cart .hs-choice.is-unavailable:hover .hs-choice-body {
  opacity: 1;
  border-style: dashed;
  border-color: var(--c-input);
  color: var(--c-muted);
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice.is-unavailable .hs-choice-name { color: var(--c-muted); }
html body.hs-page-configureproduct #order-standard_cart .hs-choice-reason { color: var(--c-fg); }
html body.hs-page-configureproduct #order-standard_cart .hs-cores-note {
  margin: 8px 0 0;
  color: var(--c-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-wrap: pretty;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cores-note[hidden] { display: none; }
html body.hs-page-configureproduct #order-standard_cart .hs-choice-name {
  color: var(--c-fg);
  font-weight: 600;
  line-height: 1.3;
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-note { font-size: 0.8125rem; line-height: 1.35; }
html body.hs-page-configureproduct #order-standard_cart .hs-mono,
html body.hs-page-configureproduct #order-standard_cart .hs-choice-price {
  font-family: var(--c-mono);
  font-variant-numeric: tabular-nums;
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-note .hs-mono { white-space: nowrap; }

/* Billing period cards: the period, the price for it, the saving. */
html body.hs-page-configureproduct #order-standard_cart .hs-choice-cycle .hs-choice-body { min-height: 84px; padding: 12px 14px; }
html body.hs-page-configureproduct #order-standard_cart .hs-choice-cycle .hs-choice-price {
  color: var(--c-fg);
  font-size: 1rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Yes/no options: one card with a check box. */
html body.hs-page-configureproduct #order-standard_cart .hs-toggle .hs-choice-body {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 10px 14px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-toggle .hs-choice-note { margin-left: auto; white-space: nowrap; }
html body.hs-page-configureproduct #order-standard_cart .hs-toggle-box {
  position: relative;
  flex: none;
  width: 18px;
  height: 18px;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 5px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-input:checked + .hs-choice-body .hs-toggle-box {
  background: var(--c-primary);
  border-color: var(--c-primary);
}
html body.hs-page-configureproduct #order-standard_cart .hs-choice-input:checked + .hs-choice-body .hs-toggle-box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 11px;
  border: solid var(--c-ink);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* ---- Location: flags and browser ping ----------------------------------- */
/* config-option.tpl draws the flag and country; page-configure.js adds the
   ping slot on the right of each card once it measures. Bands and colours as
   hostsrc.com (apps/web/src/lib/ping/bands.ts; styles.css dark --ping-*):
   under 50 ms good, 50 to 99 ms medium, 100 ms and over high, always with
   bars so colour is never the only cue. */

html body.hs-page-configureproduct #order-standard_cart .hs-cfg-location {
  --cfg-ping-good: oklch(0.8 0.18 148);
  --cfg-ping-medium: #f59e0b;
  --cfg-ping-high: oklch(0.7 0.18 25);
}
/* Wider cards from tablets up, so the ping sits on the right of the city;
   phones keep two a row (the ping goes under the city there). */
@media (min-width: 576px) {
  html body.hs-page-configureproduct #order-standard_cart .hs-cfg-location .hs-choices { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
html body.hs-page-configureproduct #order-standard_cart label.hs-choice-place { container-type: inline-size; }
html body.hs-page-configureproduct #order-standard_cart .hs-choice-place .hs-choice-body {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "flag text ping";
  align-items: center;
  gap: 2px 10px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-flag {
  grid-area: flag;
  flex: none;
  width: 24px;
  height: 16px;
  border-radius: 2px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-place-text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping {
  grid-area: ping;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  /* Fits the widest reading ("999 ms" with its bars), so measuring and the
     number take the same room and nothing beside them moves. */
  min-width: 4.75rem;
  height: 20px;
  color: var(--c-fg);
  font-family: var(--c-mono);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
/* A narrow card (two a row on phones): the ping goes under the city. */
@container (max-width: 210px) {
  html body.hs-page-configureproduct #order-standard_cart .hs-choice-place .hs-choice-body {
    grid-template-areas: "flag text" ". ping";
    grid-template-columns: auto minmax(0, 1fr);
  }
  html body.hs-page-configureproduct #order-standard_cart .hs-ping { justify-content: flex-start; min-width: 0; margin-top: 2px; }
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-unit {
  margin-left: 4px;
  color: var(--c-muted);
  font-family: var(--hs-font-sans, inherit);
  font-size: 0.8125rem;
  font-weight: 500;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-status {
  color: var(--c-muted);
  font-family: var(--hs-font-sans, inherit);
  font-size: 0.8125rem;
  font-weight: 500;
  white-space: normal;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-bars i {
  width: 4px;
  border-radius: 1px;
  background: var(--hs-ring, #8a8a8a);
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-bars i:nth-child(1) { height: 40%; }
html body.hs-page-configureproduct #order-standard_cart .hs-ping-bars i:nth-child(2) { height: 70%; }
html body.hs-page-configureproduct #order-standard_cart .hs-ping-bars i:nth-child(3) { height: 100%; }
html body.hs-page-configureproduct #order-standard_cart .hs-ping[data-band="good"] .hs-ping-bars i { background: var(--cfg-ping-good); }
html body.hs-page-configureproduct #order-standard_cart .hs-ping[data-band="medium"] .hs-ping-bars i:nth-child(-n+2) { background: var(--cfg-ping-medium); }
html body.hs-page-configureproduct #order-standard_cart .hs-ping[data-band="high"] .hs-ping-bars i:nth-child(1) { background: var(--cfg-ping-high); }
html body.hs-page-configureproduct #order-standard_cart .hs-ping-skel {
  display: inline-block;
  width: 44px;
  height: 14px;
  border-radius: 3px;
  background: rgb(255 255 255 / 15%);
}
@media (prefers-reduced-motion: no-preference) {
  html body.hs-page-configureproduct #order-standard_cart .hs-ping-skel { animation: hs-ping-pulse 1.6s ease-in-out infinite; }
  html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry[aria-busy="true"] svg { animation: hs-ping-spin 2s linear infinite; }
}
@keyframes hs-ping-pulse { 50% { opacity: 0.45; } }
@keyframes hs-ping-spin { to { transform: rotate(360deg); } }

html body.hs-page-configureproduct #order-standard_cart .hs-ping-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 44px;
  margin-top: 6px;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-note {
  margin: 0;
  color: var(--c-muted);
  font-size: 0.8125rem;
  line-height: 1.45;
  text-wrap: pretty;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-note[hidden],
html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry[hidden] { display: none; }
/* Icon only, as on hostsrc.com: it brightens on hover, with no hover box;
   the 44px target stays. */
html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-right: -12px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--c-muted);
  cursor: pointer;
}
html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry:hover { color: var(--c-fg); }
html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry:focus { outline: 0; }
html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry:focus-visible { box-shadow: 0 0 0 2px var(--hs-ring, #8a8a8a); color: var(--c-fg); }
html body.hs-page-configureproduct #order-standard_cart .hs-ping-retry[aria-disabled="true"] { cursor: default; color: var(--c-muted); }

/* ---- Errors and the help line ------------------------------------------ */

html body.hs-page-configureproduct #order-standard_cart #containerProductValidationErrors {
  margin: 0 0 8px;
  padding: 16px 20px;
  border: 1px solid var(--hs-danger, #f87171) !important;
  border-radius: var(--c-radius);
  scroll-margin-top: 16px;
}
html body.hs-page-configureproduct #order-standard_cart #containerProductValidationErrors:focus { outline: 0; }
html body.hs-page-configureproduct #order-standard_cart #containerProductValidationErrors p { margin: 0 0 6px; color: var(--c-fg); font-weight: 600; }
html body.hs-page-configureproduct #order-standard_cart #containerProductValidationErrors ul { margin: 0; padding-left: 20px; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-help {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  column-gap: 6px;
  margin: 4px 0 0;
  color: var(--c-muted);
  font-size: 0.875rem;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-help a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--c-fg);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---- The rail ---------------------------------------------------------- */

/* Small desktops: a narrower rail, so the choices keep room for 3 or 4 cards
   a row. */
@media (min-width: 992px) and (max-width: 1199.98px) {
  html body.hs-page-configureproduct #order-standard_cart .secondary-cart-body { width: calc(100% - 320px - 24px); }
  html body.hs-page-configureproduct #order-standard_cart .secondary-cart-sidebar { width: 320px; }
}

/* Standard Cart animates the rail's margin on scroll unless its container
   doesn't float; it is a flex item here anyway, and sticks with CSS. */
html body.hs-page-configureproduct #order-standard_cart #scrollingPanelContainer { float: none !important; }
@media (min-width: 992px) {
  html body.hs-page-configureproduct #order-standard_cart #scrollingPanelContainer { align-self: stretch; }
  html body.hs-page-configureproduct #order-standard_cart #orderSummary {
    position: sticky;
    top: 24px;
    margin-top: 0 !important;
  }
}

html body.hs-page-configureproduct #order-standard_cart .order-summary { position: relative; border: 1px solid rgb(255 255 255 / 18%) !important; }
html body.hs-page-configureproduct #order-standard_cart .order-summary h2 { padding: 20px 24px 0; color: var(--c-muted); font-size: 0.875rem; }
html body.hs-page-configureproduct #order-standard_cart .order-summary .summary-container { min-height: 168px; padding: 8px 24px 24px; }
html body.hs-page-configureproduct #order-standard_cart .summary-container .product-name { font-size: 1.125rem; text-wrap: balance; }
html body.hs-page-configureproduct #order-standard_cart .summary-container .product-group { margin-bottom: 12px; }

html body.hs-page-configureproduct #order-standard_cart .hs-sum { margin: 0; }
html body.hs-page-configureproduct #order-standard_cart .hs-sum-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 5px 0;
  border-top: 1px solid var(--c-border);
  font-size: 0.8125rem;
  line-height: 1.5;
}
html body.hs-page-configureproduct #order-standard_cart .hs-sum-row dt {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--c-muted);
  font-weight: 400;
}
html body.hs-page-configureproduct #order-standard_cart .hs-sum-row dd {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  margin: 0;
  text-align: right;
}
html body.hs-page-configureproduct #order-standard_cart .hs-sum-choice { color: var(--c-fg); font-weight: 600; }
html body.hs-page-configureproduct #order-standard_cart .hs-sum-price {
  color: var(--c-fg);
  font-family: var(--c-mono);
  font-size: 0.8125rem;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html body.hs-page-configureproduct #order-standard_cart .hs-sum-choice + .hs-sum-price { color: var(--c-muted); }
/* An amount still on its way: the rows render with the page and WHMCS's reply
   replaces them (configureproduct.tpl), so only these blanks change. */
html body.hs-page-configureproduct #order-standard_cart .hs-sum-skel {
  display: inline-block;
  width: 5.5ch;
  height: 0.8em;
  vertical-align: middle;
  border-radius: 3px;
  background: rgb(255 255 255 / 15%);
}
html body.hs-page-configureproduct #order-standard_cart .total-due-today .amt .hs-sum-skel { width: 4.5ch; }
@media (prefers-reduced-motion: no-preference) {
  html body.hs-page-configureproduct #order-standard_cart .hs-sum-skel { animation: hs-ping-pulse 1.6s ease-in-out infinite; }
}
html body.hs-page-configureproduct #order-standard_cart .hs-sum-totals { margin-top: 12px; }
html body.hs-page-configureproduct #order-standard_cart .hs-sum-totals .hs-sum-row dt { color: var(--c-fg); }
html body.hs-page-configureproduct #order-standard_cart .order-summary .total-due-today { margin-top: 16px; }
html body.hs-page-configureproduct #order-standard_cart .order-summary .total-due-today span:not(.amt) { display: block; margin-top: 2px; }

html body.hs-page-configureproduct #order-standard_cart #hsCfgDock { margin-top: 8px; }

/* ---- Bottom bar --------------------------------------------------------- */

html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1030;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom, 0px));
  background: var(--c-card);
  border-top: 1px solid rgb(255 255 255 / 14%);
  transform: translateY(105%);
  transition: transform 200ms cubic-bezier(0.16, 1, 0.3, 1);
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar[hidden] { display: none; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar.is-shown { transform: translateY(0); }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar.no-motion { transition: none; }
@media (prefers-reduced-motion: reduce) {
  html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar { transition: none; }
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1216px;
  margin: 0 auto;
}
/* The bar's content lines up with the page's (SiteContainer, hostsrc.css):
   1216px wide, 20px from the edges, 32px from 768px. */
@media (min-width: 768px) {
  html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar { padding-right: 32px; padding-left: 32px; }
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar-total { display: flex; flex-direction: column; min-width: 0; margin: 0; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar-amount {
  min-height: 1.5rem;
  color: var(--c-fg);
  font-family: var(--c-mono);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar-label { color: var(--c-muted); font-size: 0.8125rem; }
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar-btn {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  background: var(--c-primary) !important;
  border: 1px solid var(--c-primary) !important;
  border-radius: var(--hs-radius-md) !important;
  color: var(--c-ink) !important;
  font-size: 1rem;
  font-weight: 600;
}
html body.hs-page-configureproduct #order-standard_cart .hs-cfg-bar-btn:hover { opacity: 0.9; }

/* ---- Narrow screens ---------------------------------------------------- */

@media (max-width: 575.98px) {
  html body.hs-page-configureproduct #order-standard_cart .hs-tile,
  html body.hs-page-configureproduct #order-standard_cart .product-info.hs-tile { padding: 20px 16px; }
  html body.hs-page-configureproduct #order-standard_cart .order-summary h2 { padding: 20px 16px 0; }
  html body.hs-page-configureproduct #order-standard_cart .order-summary .summary-container { padding: 8px 16px 20px; }
}
