/* Luminos POS — storefront gift cards. Inherits the theme's fonts and colours. */
.lpos-gc { display: grid; gap: 18px; margin: 0 0 20px; }
.lpos-gc fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.lpos-gc legend { margin: 0 0 10px; padding: 0; font-weight: 600; }
.lpos-gc__chips { display: flex; flex-wrap: wrap; gap: 10px; }
.lpos-gc__chip { position: relative; cursor: pointer; }
.lpos-gc__chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.lpos-gc__chip span {
	display: inline-flex; align-items: center; justify-content: center; min-width: 86px; min-height: 48px; padding: 0 18px;
	border: 1.5px solid rgba(0, 0, 0, .15); border-radius: 999px; font-weight: 600; transition: border-color .15s, background .15s, color .15s;
}
.lpos-gc__chip input:checked + span { border-color: currentColor; background: rgba(0, 0, 0, .05); box-shadow: inset 0 0 0 1px currentColor; }
.lpos-gc__chip input:focus-visible + span { outline: 2px solid currentColor; outline-offset: 2px; }
.lpos-gc__custom { margin: 12px 0 0; display: grid; gap: 6px; max-width: 240px; }
.lpos-gc__custom[hidden], .lpos-gc__recipient[hidden] { display: none; }
.lpos-gc__toggle { display: flex; gap: 18px; margin-bottom: 12px; }
.lpos-gc__toggle label { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.lpos-gc__recipient { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.lpos-gc__recipient p { margin: 0; display: grid; gap: 5px; }
.lpos-gc__recipient p:nth-child(n+3) { grid-column: 1 / -1; }
.lpos-gc__recipient p:nth-child(3) { grid-column: auto; }
.lpos-gc input[type="text"], .lpos-gc input[type="email"], .lpos-gc input[type="number"], .lpos-gc textarea { width: 100%; box-sizing: border-box; }
.lpos-gc__note { margin: 12px 0 0; font-size: .9em; opacity: .75; }
@media (max-width: 600px) { .lpos-gc__recipient { grid-template-columns: 1fr; } .lpos-gc__recipient p:nth-child(3) { grid-column: 1 / -1; } }

.lpos-gc-redeem__form { display: flex; gap: 8px; }
.lpos-gc-redeem__form input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.lpos-gc-redeem__msg { margin: 6px 0 0; font-size: .9em; min-height: 0; }
.lpos-gc-redeem__msg:empty { display: none; }
.lpos-gc-redeem__msg.is-ok { color: #0f8a5f; }
.lpos-gc-redeem__msg.is-bad { color: #c2372f; }
.lpos-gc-balance { display: grid; gap: 8px; max-width: 420px; }
.lpos-gc-balance label { font-weight: 600; }
.lpos-gc-codes { margin: 6px 0 0; }
/* The redeem row spans the totals box: label above, field + button below. */
tr.lpos-gc-redeem { display: table-row; }
tr.lpos-gc-redeem > th, tr.lpos-gc-redeem > td { vertical-align: top; }
.cart_totals tr.lpos-gc-redeem, .woocommerce-checkout-review-order-table tr.lpos-gc-redeem { display: flex !important; flex-direction: column; align-items: stretch; gap: 8px; }
.cart_totals tr.lpos-gc-redeem > th, .cart_totals tr.lpos-gc-redeem > td,
.woocommerce-checkout-review-order-table tr.lpos-gc-redeem > th, .woocommerce-checkout-review-order-table tr.lpos-gc-redeem > td { display: block !important; width: 100% !important; text-align: left !important; padding-left: 0; padding-right: 0; white-space: nowrap; }
.cart_totals tr.lpos-gc-redeem > td::before, .woocommerce-checkout-review-order-table tr.lpos-gc-redeem > td::before { display: none !important; }
