/* farhina-core payment-ux: checkout gateway rows + product-page instalment logos. */
.fcp-head { margin-bottom: 12px; font-size: 14px; font-weight: 900; color: rgb(var(--color-neutral-900)); }
.fcp-group + .fcp-group { margin-top: 16px; }
.fcp-group__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 2px 8px; }
.fcp-group__title { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800; color: rgb(var(--color-neutral-600)); }
.fcp-group__title .fcp-ic { color: rgb(var(--color-primary-600)); }
.fcp-group__badge { padding: 2px 10px; border-radius: 999px; background: rgb(var(--color-primary-600) / .1); color: rgb(var(--color-primary-700)); font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.fcp-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
/* One option per row everywhere: the checkout's summary column is too narrow for two (titles wrapped word by word). */
.fcp-opt { list-style: none; margin: 0; }
.fcp-radio { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.fcp-label { position: relative; display: flex; align-items: center; gap: 12px; min-height: 68px; margin: 0; padding: 12px 14px; border: 1.5px solid rgb(var(--color-neutral-200)) !important; border-radius: 16px; background: rgb(var(--surface-rgb)); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) { .fcp-label:hover { border-color: rgb(var(--color-primary-600) / .45) !important; } }
.fcp-check { flex: none; display: flex; align-items: center; justify-content: center; width: 22px; height: 22px; border: 2px solid rgb(var(--color-neutral-300)); border-radius: 50%; background: rgb(var(--surface-rgb)); transition: border-color .15s, background-color .15s; }
.fcp-check::after { content: ""; width: 10px; height: 6px; margin-top: -2px; border-left: 2.2px solid #fff; border-bottom: 2.2px solid #fff; transform: rotate(-45deg) scale(0); transition: transform .15s; }
.fcp-logo { flex: none; display: flex; align-items: center; justify-content: center; width: 52px; height: 40px; padding: 4px; border: 1px solid rgb(var(--color-neutral-100)); border-radius: 12px; background: #fff; }
.fcp-logo img { display: block; max-width: 100%; max-height: 28px; width: auto; height: auto; object-fit: contain; }
.fcp-logo .fcp-ic { color: rgb(var(--color-primary-600)); }
.fcp-txt { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; text-align: right; }
.fcp-title { overflow-wrap: anywhere; font-size: 13.5px; font-weight: 800; line-height: 1.6; color: rgb(var(--color-neutral-900)); }
.fcp-sub { font-size: 11.5px; line-height: 1.6; color: rgb(var(--color-neutral-500)); }
.fcp-tick { display: none; }
/* Selected: driven by the radio itself, so it is always right after the checkout refreshes. */
.fcp-radio:checked + .fcp-label { border-color: rgb(var(--color-primary-600)) !important; background: rgb(var(--color-primary-600) / .07); box-shadow: 0 0 0 3px rgb(var(--color-primary-600) / .12); }
.fcp-radio:checked + .fcp-label .fcp-check { border-color: rgb(var(--color-primary-600)); background: rgb(var(--color-primary-600)); }
.fcp-radio:checked + .fcp-label .fcp-check::after { transform: rotate(-45deg) scale(1); }
.fcp-radio:checked + .fcp-label .fcp-title { color: rgb(var(--color-primary-700)); }
.fcp-radio:focus-visible + .fcp-label { outline: 2px solid rgb(var(--color-primary-600)); outline-offset: 2px; }
.fcp-box { margin-top: 8px; padding: 10px 12px; border-radius: 14px; background: rgb(var(--color-neutral-50)); font-size: 12px; color: rgb(var(--color-neutral-600)); }
.fcp-box::before { display: none !important; }
html.fc-dark .fcp-logo { border-color: transparent; }

/* Product page: instalment gateways' logos. */
.fpl { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 10px; padding: 10px 14px; border: 1px solid rgb(var(--color-neutral-100)); border-radius: 18px; background: rgb(var(--surface-rgb)); }
.fpl__label { font-size: 12.5px; font-weight: 700; color: rgb(var(--color-neutral-600)); }
.fpl__row { display: flex; align-items: center; gap: 8px; }
.fpl__tile { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 6px; border: 1px solid rgb(var(--color-neutral-100)); border-radius: 12px; background: #fff; }
.fpl__img { display: block; max-width: 100%; max-height: 30px; width: auto; height: auto; object-fit: contain; }
.fpe-inst__body .fpl { margin-top: 8px; }
@media (min-width: 1024px) {
	.fcp-label { min-height: 64px; padding: 10px 14px; }
	.fcp-sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
