/* The public gift card buy page, as approved in Prototypes/gift-card-buy.html. Light mode, brand blue #0096D6,
   4px radii, Figtree throughout (never Fraunces or Bricolage Grotesque: CLAUDE.md). Scoped under .gcbPage. */

.gcbPage {
    --gcbBrand: #0096D6; --gcbBrandDark: #0077A8; --gcbInk: #2b3440; --gcbBody: #4a5561; --gcbMuted: #8a97a3;
    --gcbWash: #eef6fa; --gcbLine: #dfe7ec; --gcbOk: #2e9e5b;
    font-family: 'Figtree', 'Segoe UI', Arial, sans-serif; color: var(--gcbBody); font-size: 16px; line-height: 1.5;
    background: linear-gradient(165deg, #eef6fa 0%, #ffffff 55%); min-height: 100vh;
}
.gcbPage * { box-sizing: border-box; }
.gcbHide { display: none !important; }

.gcbHeader { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; max-width: 1060px; margin: 0 auto; flex-wrap: wrap; }
.gcbLogo img { height: 44px; max-width: 52vw; display: block; }
.gcbPill { font-size: 12px; font-weight: 600; color: var(--gcbBrandDark); border: 1px solid #bfe0f0; border-radius: 999px; padding: 4px 12px; background: #fff; white-space: nowrap; }
.gcbPreview { max-width: 1020px; margin: 0 auto 8px; padding: 10px 14px; background: #fff8e1; border: 1px solid #f0d98a; border-radius: 4px; color: #6b5a1e; font-size: 14px; }
.gcbClosed { max-width: 640px; margin: 40px auto 80px; padding: 0 20px; text-align: center; }
.gcbClosed h1 { color: var(--gcbInk); font-weight: 700; }

.gcbGrid { max-width: 1060px; margin: 0 auto; padding: 8px 20px 64px; display: grid; grid-template-columns: 1fr; gap: 32px; }
.gcbGrid > section { min-width: 0; }
@media (min-width: 900px) {
    .gcbGrid { grid-template-columns: 1fr 470px; gap: 56px; padding-top: 24px; }
    .gcbPitch { position: sticky; top: 24px; align-self: start; }
}
.gcbH1 { font-weight: 700; color: var(--gcbInk); font-size: clamp(32px, 6vw, 46px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 14px; }
.gcbSub { font-size: 18px; max-width: 42ch; margin: 0 0 22px; }
.gcbPoints { list-style: none; padding: 0; margin: 22px 0 0; }
.gcbPoints li { position: relative; padding-left: 26px; margin-bottom: 10px; }
.gcbPoints li::before { content: ''; position: absolute; left: 4px; top: 6px; width: 7px; height: 12px; border: solid var(--gcbOk); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }

.gcbCard { background: #fff; border: 1px solid var(--gcbLine); border-radius: 8px; padding: 22px; box-shadow: 0 2px 12px rgba(0, 0, 0, .04); }
.gcbStep { font-size: 15px; font-weight: 700; color: var(--gcbInk); margin: 24px 0 10px; }
.gcbStep:first-child { margin-top: 0; }
.gcbAmts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.gcbAmt { height: 52px; border: 1px solid var(--gcbLine); border-radius: 4px; background: #fff; font: inherit; font-size: 18px; font-weight: 700; color: var(--gcbInk); cursor: pointer; }
.gcbAmt:hover { border-color: var(--gcbBrand); }
.gcbAmt.gcbOn { background: var(--gcbWash); border: 2px solid var(--gcbBrand); color: var(--gcbBrandDark); }
.gcbAmt:focus-visible, .gcbPay:focus-visible, .gcbUse:focus-visible, .gcbHelpLink:focus-visible { outline: 2px solid var(--gcbBrandDark); outline-offset: 2px; }
.gcbOther { display: flex; gap: 8px; align-items: center; margin-top: 10px; }
.gcbOther label { font-size: 14px; white-space: nowrap; }
.gcbMoney { position: relative; flex: 1; max-width: 170px; }
.gcbMoney span { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--gcbMuted); pointer-events: none; }
/* Must out-rank ".gcbPage input" below, which resets padding for every field. */
.gcbPage .gcbMoney input { padding-left: 24px; }
.gcbAmtHint { font-size: 13px; color: #b3261e; margin-top: 6px; }
.gcbHelpLink { display: inline-block; margin-top: 10px; font-size: 14px; color: var(--gcbBrandDark); font-weight: 600; cursor: pointer; background: none; border: 0; padding: 0; font-family: inherit; text-decoration: underline; text-underline-offset: 3px; }
.gcbHelper { display: none; margin-top: 12px; padding: 14px; background: var(--gcbWash); border-radius: 4px; border: 1px solid #cfe6f2; }
.gcbHelper.gcbOpen { display: block; }
.gcbRow2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.gcbCheckCell { display: flex; align-items: flex-end; margin-top: 12px; }
.gcbSugg { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.gcbSugg b { font-size: 22px; color: var(--gcbInk); }
.gcbUse { height: 38px; padding: 0 14px; border: 1px solid var(--gcbBrand); border-radius: 4px; background: #fff; color: var(--gcbBrandDark); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.gcbNote { font-size: 12px; color: var(--gcbMuted); margin-top: 6px; }

.gcbF { display: block; font-size: 14px; font-weight: 600; color: var(--gcbInk); margin: 12px 0 4px; }
.gcbPage input, .gcbPage select, .gcbPage textarea { width: 100%; height: 42px; border: 1px solid #cdd6dc; border-radius: 4px; padding: 0 10px; font: inherit; font-size: 15px; color: var(--gcbInk); background: #fff; }
.gcbPage textarea { height: auto; min-height: 76px; padding: 8px 10px; resize: vertical; }
.gcbPage .gcbZip { max-width: 130px; }
.gcbTwo { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gcbRadio { display: flex; gap: 8px; flex-wrap: wrap; }
.gcbRadio label { flex: 1; min-width: 140px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--gcbLine); border-radius: 4px; padding: 10px 12px; cursor: pointer; font-size: 15px; }
.gcbRadio input { width: auto; height: auto; }
/* Checkboxes: a bordered row like the "When should it arrive?" choices, with a drawn box (the general input rule above
   would otherwise stretch a native checkbox into a 42px square). */
.gcbTickRow { display: flex; align-items: center; gap: 10px; margin: 0;   /* margin: Bootstrap gives every label 5px below */ border: 1px solid var(--gcbLine); border-radius: 4px; background: #fff; padding: 10px 12px; cursor: pointer; font-size: 15px; color: var(--gcbInk); }
.gcbTickRow:has(input:checked) { border-color: var(--gcbBrand); background: var(--gcbWash); }
.gcbTickRow a { color: var(--gcbBrandDark); font-weight: 600; }
.gcbCheckCell .gcbTickRow { width: 100%; height: 42px; padding: 0 12px; }
.gcbArea { margin-top: 12px; }
.gcbPage input.gcbTick { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 0; padding: 0; border: 1.5px solid #9fb0bc; border-radius: 4px; background: #fff; display: inline-grid; place-content: center; cursor: pointer; }
.gcbPage input.gcbTick::before { content: ''; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2.5px 2.5px; transform: translateY(-1px) rotate(-45deg); opacity: 0; }
.gcbPage input.gcbTick:checked { background: var(--gcbBrand); border-color: var(--gcbBrand); }
.gcbPage input.gcbTick:checked::before { opacity: 1; }
.gcbPage input.gcbTick:focus-visible { outline: 2px solid var(--gcbBrandDark); outline-offset: 2px; }
.gcbStripe { border: 1px solid #cdd6dc; border-radius: 4px; padding: 12px 10px; background: #fff; }
.gcbTotal { display: flex; justify-content: space-between; align-items: baseline; margin: 18px 0 12px; font-size: 15px; }
.gcbTotal b { font-size: 22px; color: var(--gcbInk); }
.gcbBonus { background: #fbf7ec; border: 1px solid #efe1b8; border-radius: 4px; padding: 10px 12px; margin: -4px 0 14px; font-size: 14px; color: #5a4a20; }
.gcbPay { width: 100%; height: 50px; background: var(--gcbBrand); color: #fff; border: 0; border-radius: 4px; font: inherit; font-size: 17px; font-weight: 700; cursor: pointer; }
.gcbPay:hover { background: var(--gcbBrandDark); }
.gcbPay:disabled { opacity: .6; cursor: default; }
.gcbFine { font-size: 12px; color: var(--gcbMuted); margin-top: 10px; text-align: center; }

.gcbProgress { font-size: 13px; font-weight: 600; color: var(--gcbBrandDark); margin-bottom: 14px; }
.gcbProgressRow { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.gcbProgressRow .gcbProgress { margin-bottom: 0; }
.gcbBack { background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--gcbBrandDark); font-weight: 600; cursor: pointer; }
.gcbBack::before { content: ''; display: inline-block; width: 7px; height: 7px; border: solid currentColor; border-width: 0 0 2px 2px; transform: rotate(45deg); margin-right: 6px; vertical-align: 1px; }
.gcbContinue { margin-top: 22px; }
.gcbReview { background: var(--gcbWash); border: 1px solid #cfe6f2; border-radius: 4px; padding: 12px 14px; font-size: 15px; line-height: 1.6; }
.gcbReviewTop { color: var(--gcbInk); }
.gcbRvMsg { font-style: italic; color: var(--gcbBody); overflow-wrap: anywhere; }
.gcbReview .gcbHelpLink { margin-top: 4px; }
.gcbDoneH { color: var(--gcbInk); font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.gcbSummary { margin-top: 16px; }
.gcbSummary > div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eef1f3; font-size: 15px; gap: 12px; }
.gcbSummary > div span:last-child { color: var(--gcbInk); font-weight: 600; text-align: right; }
.gcbCode { font-family: Consolas, monospace; letter-spacing: .04em; }
.gcbPrintLink { color: #0077A8; font-weight: 600; }

@media (max-width: 480px) {
    .gcbAmts { grid-template-columns: repeat(2, 1fr); }
    .gcbTwo, .gcbRow2 { grid-template-columns: 1fr; }
}

/* The gift card's own styles live in GiftCardArt.css (shared with the print page). */
