/* Buyer pages: Order Lookup, the post-event survey (form, thanks, not found) and the
   email unsubscribe result. Scoped under .g2f-bu on the dark photo background with
   white cards. px units: the layout loads milligram (root font-size 62.5%). */

.container:has(> .g2f-bu) { max-width: none !important; padding: 0 24px; background: transparent; border-radius: 0; }
body:has(.g2f-bu)::before,
body:has(.g2f-bu)::after {
    content: "";
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 100vh;
    height: 100lvh;
    z-index: -1;
    pointer-events: none;
}
body:has(.g2f-bu)::before { background: #000 center top / cover no-repeat; background-image: inherit; }
body:has(.g2f-bu)::after { background: linear-gradient(180deg, rgba(11, 11, 12, .55), rgba(11, 11, 12, .92)), radial-gradient(circle at 85% 10%, rgba(250, 16, 104, .3), transparent 45%); }
body:has(.g2f-bu) > main.main { background-color: transparent !important; }

.g2f-bu {
    --bu-pink: #FA1068;
    --bu-ink: #111827;
    --bu-muted: #6b7280;
    --bu-field: #d0d5dd;
    max-width: 920px;
    margin: 0 auto;
    padding: 48px 0 64px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    color: var(--bu-ink);
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.5;
    letter-spacing: normal;
}
.g2f-bu--survey { max-width: 720px; }
.g2f-bu--msg { max-width: 600px; }
.g2f-bu *, .g2f-bu *::before, .g2f-bu *::after { box-sizing: border-box; }
.g2f-bu [hidden] { display: none !important; }
.g2f-bu a { text-decoration: none; }
.g2f-bu p { margin: 0; }
.g2f-bu h1 { margin: 0; padding: 0; font-family: Raleway, sans-serif; font-weight: 800; letter-spacing: normal; color: var(--bu-ink); }
.g2f-bu .message { margin: 0; }
.g2f-bu form { margin-bottom: 0; }

.g2f-bu__card { background: #fff; border-radius: 20px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; }
.g2f-bu__pad { padding: 28px; }

/* Buttons */
.g2f-bu .g2f-bu__btn {
    height: 48px; margin: 0; padding: 0 22px; border: 0; border-radius: 999px; background: var(--bu-pink); color: #fff !important;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 15px; font-weight: 700;
    letter-spacing: normal; text-transform: none; line-height: 1; white-space: nowrap; cursor: pointer;
}
.g2f-bu .g2f-bu__btn:hover { background: #e00d5c; }
.g2f-bu .g2f-bu__btn--light { border: 1px solid var(--bu-field); background: #fff; color: #374151 !important; }
.g2f-bu .g2f-bu__btn--light:hover { background: #fff; border-color: var(--bu-pink); color: var(--bu-pink) !important; }

/* Fields */
.g2f-bu__field { margin: 0; display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.g2f-bu__field > span { font-size: 13px; font-weight: 600; color: #374151; }
.g2f-bu .g2f-bu__field input, .g2f-bu textarea {
    width: 100%; height: 48px; margin: 0; padding: 0 14px; border: 1px solid var(--bu-field) !important; border-radius: 12px;
    background: #fff !important; box-shadow: none; font: inherit; font-size: 16px; color: var(--bu-ink);
}
.g2f-bu .g2f-bu__field input:focus, .g2f-bu textarea:focus { outline: none; border-color: #f9a8c9 !important; box-shadow: 0 0 0 3px rgba(250, 16, 104, .12); }

/* Order lookup */
.g2f-bu__intro { display: flex; align-items: center; gap: 14px; }
.g2f-bu__intro h1 { font-size: 26px; line-height: 1.2; }
.g2f-bu__intro div > div { font-size: 14px; color: var(--bu-muted); }
.g2f-bu__tile { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 14px; background: #fdf2f6; color: var(--bu-pink); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.g2f-bu__lookup { margin-top: 20px; display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 10px; align-items: end; }
.g2f-bu__error { padding: 16px 20px; border-radius: 16px; background: #fff; display: flex; gap: 12px; align-items: center; color: #b42318; }
.g2f-bu__rhead { padding: 18px 24px; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; border-bottom: 1px solid #eef0f2; }
.g2f-bu__eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--bu-pink); }
.g2f-bu__rhead strong { display: block; font-size: 18px; font-weight: 800; }
.g2f-bu__rmeta { text-align: right; font-size: 13px; color: var(--bu-muted); }
.g2f-bu__row { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 150px 110px; gap: 12px; padding: 11px 24px; border-top: 1px solid #f3f4f6; font-size: 14px; }
.g2f-bu__row > span:first-child { font-weight: 600; }
.g2f-bu__row > span:nth-child(3) { color: #374151; }
.g2f-bu__row > span:last-child { text-align: right; font-weight: 700; }
.g2f-bu__row--head { height: 36px; padding-top: 0; padding-bottom: 0; align-items: center; border-top: 0; background: #f9fafb; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--bu-muted); }
.g2f-bu__row--head > span:first-child, .g2f-bu__row--head > span:last-child { font-weight: 700; }
.g2f-bu__totals { padding: 14px 24px; border-top: 1px solid #eef0f2; display: flex; flex-direction: column; gap: 6px; align-items: flex-end; font-size: 14px; color: #374151; }
.g2f-bu__totals > div { width: 300px; max-width: 100%; display: flex; justify-content: space-between; gap: 12px; }
.g2f-bu__totals .is-red { color: #b42318; }
.g2f-bu__totals .is-blue { color: #175cd3; }
.g2f-bu__totals .is-green { color: #067647; }
.g2f-bu__totals .is-total { color: var(--bu-ink); font-size: 18px; font-weight: 800; }
.g2f-bu__note { margin: 0 24px 18px; padding: 12px 14px; border-radius: 12px; background: #fffaeb; border: 1px solid #fedf89; font-size: 14px; color: #7a2e0e; }
.g2f-bu__tixhead { padding: 20px 24px 0; font-family: Raleway, sans-serif; font-size: 19px; font-weight: 800; }
.g2f-bu__tix { padding: 12px 24px 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.g2f-bu__tix > div { padding: 14px; border: 1px solid #e8eaee; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; min-width: 0; }
.g2f-bu__tix img { width: 110px; height: 110px; border-radius: 10px; }
.g2f-bu__tix .g2f-bu__id { font-family: monospace; font-size: 13px; font-weight: 700; }
.g2f-bu__tix small { font-size: 12px; color: var(--bu-muted); }
.g2f-bu__tix span, .g2f-bu__tix small { max-width: 100%; overflow-wrap: anywhere; }
.g2f-bu__tix a { font-size: 13px; font-weight: 700; color: var(--bu-pink); }
.g2f-bu__tix a i { margin-right: 4px; }
.g2f-bu__tix a:hover { color: #e00d5c; }

/* Survey */
.g2f-bu__shead { padding: 26px 28px 20px; display: flex; align-items: center; gap: 16px; background: linear-gradient(180deg, #fdf2f6, #fff); }
.g2f-bu__shead h1 { font-size: 28px; line-height: 1.2; }
.g2f-bu__shead p { margin-top: 2px; color: #4b5563; }
.g2f-bu__poster { width: 56px; height: 70px; flex: 0 0 56px; border-radius: 10px; background: #f2f4f7 center / cover no-repeat; }
.g2f-bu__done { margin: 0 28px 24px; padding: 14px 16px; border-radius: 12px; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; }
.g2f-bu__done div { margin-top: 4px; font-size: 14px; color: #374151; }
.g2f-bu__qs { padding: 6px 28px 8px; }
.g2f-bu__q { margin: 0; padding: 16px 0; border: 0; border-top: 1px solid #f3f4f6; display: flex; align-items: center; gap: 16px; }
.g2f-bu__q legend { float: left; flex: 1; margin: 0; padding: 0; font-weight: 700; font-size: 15px; }
.g2f-bu__stars { display: flex; gap: 4px; }
.g2f-bu__stars input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.g2f-bu__stars label { width: 40px; height: 40px; margin: 0; border-radius: 10px; background: #f9fafb; color: #d0d5dd; display: flex; align-items: center; justify-content: center; font-size: 20px; cursor: pointer; }
.g2f-bu__stars label.is-on { background: #fffaeb; color: #f79009; }
.g2f-bu__stars input:focus-visible + label { box-shadow: 0 0 0 3px rgba(250, 16, 104, .25); }
.g2f-bu__word { width: 70px; flex: none; text-align: right; font-size: 13px; color: var(--bu-muted); }
.g2f-bu__comment { margin: 0; padding: 16px 0; border-top: 1px solid #f3f4f6; display: flex; flex-direction: column; gap: 6px; font-weight: 400; }
.g2f-bu__comment > span:first-child { font-weight: 700; font-size: 15px; }
.g2f-bu .g2f-bu__comment textarea { height: auto; min-height: 110px; padding: 12px 14px; font-size: 15px; resize: vertical; }
.g2f-bu__comment small { font-size: 12px; color: var(--bu-muted); }
.g2f-bu__sfoot { padding: 14px 28px 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.g2f-bu__sfoot > span { font-size: 13px; color: var(--bu-muted); }
.g2f-bu .g2f-bu__sfoot .g2f-bu__btn { height: 50px; padding: 0 28px; font-size: 16px; }
.g2f-bu .g2f-bu__sfoot .g2f-bu__btn.is-waiting { background: #f2a3c1; }

/* Message pages (survey thanks / not found, unsubscribe) */
.g2f-bu__msg { padding: 40px 34px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.g2f-bu__msg h1 { margin-top: 8px; font-size: 30px; line-height: 1.2; }
.g2f-bu__msg p { max-width: 480px; color: #374151; font-size: 16px; }
.g2f-bu__msg p.is-soft { color: var(--bu-muted); font-size: 15px; }
.g2f-bu__msg p.is-faint { color: #9ca3af; font-size: 13px; }
.g2f-bu__msgicon { width: 76px; height: 76px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 30px; }
.g2f-bu__msgicon.is-pink { background: #fdf2f6; color: var(--bu-pink); }
.g2f-bu__msgicon.is-grey { background: #f2f4f7; color: #475467; }
.g2f-bu__msgicon.is-green { background: #ecfdf3; color: #079455; }
.g2f-bu__msgicon.is-red { background: #fef3f2; color: #d92d20; }
.g2f-bu__msg .g2f-bu__btn { margin-top: 12px; height: 46px; padding: 0 20px; }

@media (max-width: 760px) {
    .container:has(> .g2f-bu) { padding: 0 16px; }
    .g2f-bu { padding: 20px 0 40px; gap: 14px; }
    .g2f-bu__pad { padding: 20px; }
    .g2f-bu__lookup { grid-template-columns: 1fr; }
    .g2f-bu__lookup .g2f-bu__btn { width: 100%; }
    .g2f-bu__rhead { flex-direction: column; padding: 16px 18px; }
    .g2f-bu__rmeta { text-align: left; }
    .g2f-bu__row--head { display: none; }
    .g2f-bu__row { grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 18px; }
    .g2f-bu__row > span:nth-child(1) { grid-column: 1; }
    .g2f-bu__row > span:nth-child(2) { grid-column: 1; grid-row: 2; font-size: 13px; color: var(--bu-muted); }
    .g2f-bu__row > span:nth-child(3) { grid-column: 1; grid-row: 3; font-size: 13px; }
    .g2f-bu__row > span:nth-child(4) { grid-column: 2; grid-row: 1; }
    .g2f-bu__totals { padding: 14px 18px; }
    .g2f-bu__totals > div { width: 100%; }
    .g2f-bu__note { margin: 0 18px 16px; }
    .g2f-bu__tixhead { padding: 18px 18px 0; }
    .g2f-bu__tix { padding: 12px 18px 18px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .g2f-bu__shead { padding: 20px; }
    .g2f-bu__shead h1 { font-size: 24px; }
    .g2f-bu__qs { padding: 4px 20px 8px; }
    .g2f-bu__q { flex-wrap: wrap; gap: 10px; }
    .g2f-bu__q legend { flex: 1 0 100%; width: 100%; }
    .g2f-bu__stars { flex: 1; }
    .g2f-bu__stars label { width: 44px; height: 44px; }
    .g2f-bu__done { margin: 0 20px 20px; }
    .g2f-bu__sfoot { padding: 12px 20px 20px; flex-direction: column-reverse; align-items: stretch; text-align: center; }
    .g2f-bu__msg { padding: 32px 20px; }
    .g2f-bu__msg h1 { font-size: 26px; }
}
