/* Gift cards on the website (WBAMS\GiftCards\GiftCardShop): the card the client is buying beside the form, in the site's
   colours (booking.css's --eb-* variables, dark with the theme's dark mode). On a phone the card comes first, smaller. */
.egc-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: start; margin-top: 22px; }
/* (below the site's header, which stays at the top on a computer) */
.egc-preview { position: sticky; top: 104px; }
.egc-card {
	position: relative; overflow: hidden; display: flex; flex-direction: column; aspect-ratio: 1.586; padding: 24px 26px; border-radius: 22px; color: #fff;
	background: linear-gradient(135deg, var(--eb-accent-dark), var(--eb-accent) 55%, var(--eb-accent-2));
	box-shadow: 0 24px 48px color-mix(in srgb, var(--eb-accent) 32%, transparent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.egc-card__shine { position: absolute; inset: -40% -20% auto auto; width: 70%; height: 120%; background: radial-gradient(circle, rgba(255, 255, 255, .28), transparent 62%); pointer-events: none; }
.egc-card__store { position: relative; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .92; }
.egc-card__label { position: relative; font-size: 13px; opacity: .8; margin-top: 2px; }
.egc-card__amount { position: relative; margin-top: auto; font-size: clamp(34px, 5vw, 48px); line-height: 1.05; font-weight: 800; letter-spacing: -.01em; }
.egc-card__to { position: relative; margin-top: 6px; font-size: 15px; opacity: .92; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* The store's own card picture: the picture as it is, the amount and the name in its top right corner */
.egc-card--picture { align-items: flex-end; text-align: right; background: #3a1414 center / cover no-repeat; box-shadow: 0 24px 48px rgba(0, 0, 0, .28), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.egc-card--picture::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0, rgba(0, 0, 0, .34), transparent 58%); pointer-events: none; }
.egc-card--picture .egc-card__amount { margin-top: 0; text-shadow: 0 2px 12px rgba(0, 0, 0, .35); }
.egc-card--picture .egc-card__to { max-width: 60%; margin-top: 2px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.egc-points { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; color: var(--eb-ink); font-size: 15px; }
.egc-points li { display: flex; gap: 10px; align-items: flex-start; }
.egc-points .eb-icon { flex: none; width: 20px; height: 20px; margin-top: 1px; color: var(--eb-accent); }
.egc-form { padding: 24px; display: grid; gap: 22px; }
.egc-set { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; min-width: 0; }
.egc-set legend { font-size: 17px; font-weight: 700; color: var(--eb-ink); margin: 0 0 10px; padding: 0; }
.egc-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.egc-chips--two .egc-chip { flex: 1 1 180px; }
.egc-chip { position: relative; margin: 0; cursor: pointer; }
/* (the radio itself hidden, whatever the theme does to radios, dark mode included: the chip is what shows) */
.egc .egc-chip input { position: absolute !important; opacity: 0 !important; width: 1px !important; height: 1px !important; margin: 0 !important; clip: rect(0 0 0 0); -webkit-appearance: none; appearance: none; pointer-events: none; }
.egc-chip span {
	display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; border-radius: var(--at-radius-control, 12px); border: 1px solid var(--eb-line);
	background: var(--eb-card); color: var(--eb-ink); font-weight: 700; font-size: 15px; box-shadow: var(--eb-shadow); transition: all .2s var(--eb-ease);
}
.egc-chip:hover span { border-color: var(--eb-ring); transform: translateY(-1px); }
.egc-chip input:focus-visible + span { box-shadow: 0 0 0 4px var(--eb-ring); }
.egc-chip input:checked + span { background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); color: #fff; border-color: transparent; box-shadow: 0 10px 22px color-mix(in srgb, var(--eb-accent) 30%, transparent); }
.egc-field { display: grid; gap: 6px; margin: 0; font-weight: 400; }
.egc-field__label { font-size: 14px; font-weight: 600; color: var(--eb-ink); }
.egc-field__hint, .egc-small { font-size: 13px; color: var(--eb-muted); margin: 0; }
.egc-field input, .egc-field textarea {
	width: 100%; min-height: 46px; padding: 10px 14px; border-radius: var(--at-radius-control, 12px); border: 1px solid var(--eb-line); background: var(--eb-card); color: var(--eb-ink);
	font-size: 16px; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .04);
}
.egc-field textarea { resize: vertical; min-height: 90px; }
.egc-field input:focus, .egc-field textarea:focus { outline: none; border-color: var(--eb-accent); box-shadow: 0 0 0 4px var(--eb-ring); }
.egc-someone { display: grid; gap: 12px; }
.egc-someone[hidden], .egc-other[hidden], .egc-me[hidden] { display: none; }
.egc-me { margin: 0; color: var(--eb-muted); font-size: 14px; }
.egc-pay { width: 100%; justify-content: center; min-height: 52px; font-size: 16px; }
.egc-mine { margin-top: 32px; }
.egc-mine h2 { font-size: 20px; font-weight: 700; color: var(--eb-ink); margin: 0 0 12px; }
.egc-mine ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.egc-mine__item { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--eb-radius); background: var(--eb-card); border: 1px solid var(--eb-line); box-shadow: var(--eb-shadow); }
.egc-mine__icon { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; background: linear-gradient(135deg, var(--eb-accent), var(--eb-accent-2)); flex: none; }
.egc-mine__icon .eb-icon { width: 20px; height: 20px; }
.egc-mine__body { display: grid; gap: 2px; min-width: 0; }
.egc-mine__body strong { color: var(--eb-ink); }
.egc-mine__body small { color: var(--eb-muted); font-size: 13px; }
@media (max-width: 860px) {
	.egc-layout { grid-template-columns: 1fr; gap: 20px; }
	.egc-preview { position: static; }
	.egc-card { max-width: 420px; padding: 20px 22px; }
	.egc-form { padding: 18px; }
}
/* A card bought online, on the phone (GiftCardWallet): the card, what is left, the barcode, Apple Wallet */
.egc--card { max-width: 520px; margin-inline: auto; }
.egc-phone { display: grid; gap: 16px; padding-top: 8px; }
.egc-phone .egc-card { width: 100%; }
.egc-scan { padding: 20px 20px 18px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.egc-scan__left { margin: 0; display: grid; gap: 2px; }
.egc-scan__left span { font-size: 13px; color: var(--eb-ink-2, #5b4b44); }
.egc-scan__left strong { font-size: 34px; line-height: 1.1; font-weight: 800; color: var(--eb-ink); }
.egc-scan__left small { font-size: 14px; color: var(--eb-ink-2, #5b4b44); }
.egc-scan__code { width: 100%; padding: 14px 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.egc-barcode { display: block; width: 100%; height: 86px; }
.egc-scan__number { margin: 0; font: 700 20px/1.2 Menlo, Consolas, ui-monospace, monospace; letter-spacing: .08em; color: var(--eb-ink); }
.egc-scan__how { margin: 0; font-size: 14px; color: var(--eb-ink-2, #5b4b44); max-width: 34ch; }
.egc-wallets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.egc-wallet { display: inline-flex; align-items: center; justify-content: center; min-width: 230px; gap: 10px; padding: 9px 18px 9px 12px; border-radius: 12px; background: #000; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.egc .egc-wallet, .egc .egc-wallet:hover, .egc .egc-wallet:focus-visible, .egc .egc-wallet__text, .egc .egc-wallet__text small { color: #fff; text-decoration: none; }
.egc .egc-wallet:hover, .egc .egc-wallet:focus-visible { background: #1c1c1e; }
.egc-wallet__mark { width: 30px; height: 30px; flex: none; }
.egc-wallet__text { display: grid; font-size: 19px; font-weight: 600; line-height: 1.05; letter-spacing: -.01em; text-align: left; }
.egc-wallet__text small { font-size: 11px; font-weight: 400; letter-spacing: 0; }
.egc .egc-note { margin: 0; padding: 14px 18px; border: 0; border-left: 3px solid var(--eb-accent); box-shadow: none; border-radius: 0 12px 12px 0; background: color-mix(in srgb, var(--eb-accent) 7%, transparent); color: var(--eb-ink); }
.egc-note p { margin: 0; font-style: italic; font-size: 16px; }
.egc-note cite { display: block; margin-top: 6px; font-style: normal; font-size: 14px; color: var(--eb-ink-2, #5b4b44); }
.egc-note cite::before { content: "— "; }
.egc-book { justify-self: stretch; justify-content: center; }
.egc-mine__open { margin-left: auto; align-self: center; flex: none; font-weight: 600; font-size: 14px; color: var(--eb-accent); text-decoration: none; white-space: nowrap; }
.egc-mine__open:hover { text-decoration: underline; }
