/* neo-credit 0.2.0 (cycle 89) — Friend Cash apply/remove block (cart, drawer, checkout). Theme tokens, no new fonts. */
.neo-fc[hidden] { display: none !important; }
.neo-fc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 4px;
  margin: 10px 0;
  padding: 12px 14px;
  box-sizing: border-box;
  max-width: 100%;
  border: 1px dashed var(--neo-border, #C9D3E0);
  border-radius: 12px;
  background: var(--neo-fill, #F1F4F8);
  color: var(--neo-ink, #0B1A30);
}
.neo-fc.is-applied { border-style: solid; }
.neo-fc__text { margin: 0; font-weight: 700; font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; min-width: 0; }
.neo-fc__btn { white-space: nowrap; margin: 0; }
.neo-fc__btn--remove {
  background: none; border: 0; padding: 4px 0; cursor: pointer;
  color: var(--neo-blue, #1E5BD8); font-weight: 600; text-decoration: underline; font-size: 14px;
}
.neo-fc__fine, .neo-fc__status { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.4; color: var(--neo-muted, #4A5A70); }
.neo-fc__status:empty { display: none; }
.neo-fc-row td { padding: 0 !important; border: 0 !important; }
.neo-cart-drawer__foot .neo-fc { margin: 8px 0; }

/* 0.4.5 (NC-121): checkout button = one full-width primary button with the amount in it (no "You have" line).
   The theme (0.5.86) only places the block at the top of the order summary; the look is here. */
.neo-fc--checkout:not(.is-applied) { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
.neo-fc--checkout .neo-fc__btn--primary { width: 100%; min-height: 44px; white-space: normal; text-align: center; font-weight: 700; }
/* Review-step link (inside the order review table, next to Order total). */
.neo-fc--review { display: block; margin: 8px 0 0; padding: 10px 14px; text-align: center; }
.neo-fc--review .neo-fc__link { font-weight: 600; font-size: 14px; color: var(--neo-blue, #1E5BD8); text-decoration: underline; display: inline-block; padding: 8px 0; }
.neo-fc--review .neo-fc__status { margin-top: 2px; }
