/* The Pool By The Bain: Gift vouchers page. Goes in the plugin as assets/pbb-voucher.css */
.pbv { --ink: #0E3A47; --deep: #082B36; --soft: #3E5A60; --sand: #F3EEE6; --aqua: #7FD1D6; --line: #B9C9C9; --err: #9B1C1C;
	box-sizing: border-box; max-width: 560px; margin: 0 auto; padding: 16px; font-family: var(--pbb-body, Inter, system-ui, -apple-system, "Segoe UI", sans-serif); font-size: 17px; line-height: 1.45; color: var(--ink); }
.pbv *, .pbv *::before, .pbv *::after { box-sizing: border-box; }
.pbv h1 { margin: 0 0 12px; font-family: var(--pbb-display, Fraunces, Georgia, serif); font-weight: 400; font-size: 34px; line-height: 1.1; }
.pbv h2 { margin: 0; font-family: var(--pbb-display, Fraunces, Georgia, serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.pbv p { margin: 0 0 10px; }
.pbv a { color: inherit; }
.pbv [hidden] { display: none !important; }
.pbv-lead { font-size: 19px; margin-bottom: 18px !important; }
.pbv-card { margin: 0 0 16px; padding: 20px; border: 0; border-radius: 20px; background: #fff; min-width: 0; }
.pbv-card legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; }
.pbv-card legend + * { clear: both; }
.pbv label { display: block; margin: 14px 0 6px; font-weight: 600; font-size: 15px; }
.pbv-opt { font-weight: 400; color: var(--soft); }
.pbv input[type=text], .pbv input[type=email], .pbv textarea { display: block; width: 100%; min-height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; color: var(--ink); background: #fff; }
.pbv textarea { padding: 12px 14px; min-height: 96px; resize: vertical; }
.pbv input:focus-visible, .pbv textarea:focus-visible, .pbv button:focus-visible, .pbv a:focus-visible { outline: 3px solid var(--aqua); outline-offset: 2px; }
.pbv [aria-invalid=true] { border-color: var(--err) !important; }
.pbv-hint { font-size: 14px; color: var(--soft); margin-top: 6px !important; }
.pbv-count { text-align: right; }

/* amount chips: real radio buttons, shown as big buttons */
.pbv-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pbv .pbv-chip { position: relative; margin: 0; }
.pbv-chip input, .pbv-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pbv-chip span { display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 10px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-family: var(--pbb-display, Fraunces, Georgia, serif); font-size: 22px; font-weight: 400; text-align: center; cursor: pointer; }
.pbv-chip-own { grid-column: 1 / -1; }
.pbv-chip-own span { font-family: inherit; font-size: 16px; font-weight: 600; }
.pbv-chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pbv-chip input:focus-visible + span, .pbv-choice input:focus-visible + span { outline: 3px solid var(--aqua); outline-offset: 2px; }
.pbv-own { margin-top: 4px; }
.pbv-money { position: relative; }
.pbv-money span { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); font-weight: 600; color: var(--soft); pointer-events: none; }
.pbv .pbv-money input { padding-left: 32px; font-size: 20px; max-width: 200px; }

/* who gets the email */
.pbv-q { margin: 18px 0 8px !important; font-weight: 600; font-size: 15px; }
.pbv-choices { display: grid; gap: 10px; }
.pbv .pbv-choice { position: relative; margin: 0; font-weight: 400; }
.pbv-choice span { display: block; padding: 14px 16px 14px 50px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; cursor: pointer; position: relative; }
.pbv-choice span::before { content: ""; position: absolute; left: 16px; top: 16px; width: 20px; height: 20px; border: 2px solid var(--line); border-radius: 50%; background: #fff; }
.pbv-choice b { display: block; font-size: 16px; }
.pbv-choice small { display: block; margin-top: 2px; font-size: 14px; color: var(--soft); }
.pbv-choice input:checked + span { border-color: var(--ink); background: #F2F8F8; box-shadow: inset 0 0 0 1px var(--ink); }
.pbv-choice input:checked + span::before { border-color: var(--ink); background: radial-gradient(circle, var(--ink) 0 5px, #fff 6px); }

.pbv .pbv-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-weight: 400; font-size: 15px; }
.pbv .pbv-check input { margin-top: 2px; width: 20px; height: 20px; flex: none; }
.pbv-hp { position: absolute; left: -9999px; }
.pbv .pbv-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; margin-top: 16px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; }
.pbv .pbv-btn[disabled] { opacity: .6; cursor: default; }
.pbv .pbv-light { background: #fff; color: var(--ink); border: 1.5px solid var(--ink); }
.pbv-textbtn { border: 0; background: none; padding: 8px 0; font: inherit; color: var(--soft); text-decoration: underline; cursor: pointer; }
.pbv-small { font-size: 14px; color: var(--soft); margin-top: 14px !important; text-align: center; }
.pbv-sum { font-weight: 600; margin: 8px 0 14px !important; }
.pbv-ok { padding: 12px 14px; border-radius: 12px; background: #DDF1E4; color: #1D5B33; }
.pbv-error { margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 10px; background: #FBE9E9; color: var(--err); font-size: 15px; }
.pbv-big { font-size: 22px; font-weight: 600; margin-top: 18px !important; }

/* the little gift card on the thank-you screen (matches the email) */
.pbv-ticket { display: flex; flex-direction: column; align-items: center; padding: 28px 16px 22px; border-radius: 16px; background: linear-gradient(var(--aqua) 0 6px, var(--deep) 6px); color: #fff; text-align: center; }
.pbv-ticket-k { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--aqua); }
.pbv-ticket-v { font-family: var(--pbb-display, Fraunces, Georgia, serif); font-size: 48px; line-height: 1.1; margin: 6px 0 2px; }
.pbv-ticket-f { font-size: 15px; color: #BFE3E5; overflow-wrap: anywhere; }

/* 1.3.2: Paying on a phone. Page gutter + this page's padding + the card's padding left Stripe's form too little room on an
   iPhone, so it ran off the right-hand side. On phones the payment card widens into this page's padding and the form uses the
   card's full width; the heading and text keep their padding. */
.pbv #pbv-pay-box { min-width: 0; }
@media (max-width: 600px) {
	.pbv #pbv-pay-box { margin-left: -20px; margin-right: -20px; }
	.pbv .pbv-card:has(#pbv-pay-box) { margin-left: -16px; margin-right: -16px; }
	/* In this theme's page column there is also the theme's side gutter, so go to the screen edges. */
	.pbt-page .pbv .pbv-card:has(#pbv-pay-box) { margin-left: calc(-16px - var(--gutter, 20px)); margin-right: calc(-16px - var(--gutter, 20px)); border-radius: 0; }
}
