/* Styles are scoped: the site's existing checkout, fonts and product widgets are not reset. */
.brp {
  --brp-accent: var(--e-global-color-accent, var(--ast-global-color-0, #333333));
  --brp-ink: var(--e-global-color-text, var(--ast-global-color-3, #272727));
  --brp-on-accent: #ffffff;
  --brp-surface: #fafafa;
  --brp-line: #dedede;
  box-sizing: border-box; color: var(--brp-ink); font-family: inherit;
  font-size: 16px; line-height: 1.6; margin: 32px auto; width: 100%;
}
.brp *, .brp *::before, .brp *::after {box-sizing: border-box;}
.brp [hidden] {display: none !important;}
.brp h2, .brp h3, .brp p {color: inherit; font-family: inherit;}
.brp h2 {font-size: clamp(25px, 2.5vw, 38px); line-height: 1.2; margin: 0 0 20px; font-weight: 650; letter-spacing: -.025em;}
.brp h3 {font-size: clamp(23px, 2vw, 30px); line-height: 1.25; margin: 10px 0 20px;}
.brp p {margin: 0 0 16px;}
.brp .brp-eyebrow {text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 700; margin: 0 0 16px;}
.brp .brp-fine, .brp .brp-note {font-size: 13px; line-height: 1.6;}
.brp .brp-fine {margin: 10px 0 20px;}
.brp a {text-underline-offset: 3px;}
.brp .brp-button {
  appearance: none; background: var(--brp-accent) !important; color: var(--brp-on-accent) !important;
  border: 1px solid var(--brp-accent); border-radius: 7px; display: inline-flex; align-items: center;
  justify-content: center; padding: 14px 22px; min-height: 48px; font: inherit; font-size: 15px;
  font-weight: 650; text-decoration: none !important; cursor: pointer; text-align: center; line-height: 1.4;
  box-shadow: none; white-space: normal; transition: filter .16s;
}
.brp .brp-button:hover {filter: brightness(.94);}
.brp .brp-button:disabled {opacity: .6; cursor: wait;}
.brp :focus-visible {outline: 3px solid var(--brp-accent); outline-offset: 4px;}
.brp .brp-link {appearance: none; border: 0; background: transparent; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; padding: 10px 0;}
.brp-invite {display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; padding: clamp(24px, 4vw, 56px); border: 1px solid var(--brp-line); border-radius: 16px; background: var(--brp-surface); align-items: center;}
/* Google stays visually first and independent: no link-state or completion check is tracked. */
.brp-google-panel {grid-column: 1 / -1; padding: 0 0 28px; margin: 0 0 4px; border-bottom: 1px solid var(--brp-line);}
.brp-google-panel h2 {font-size: clamp(23px, 2.25vw, 32px); margin-bottom: 12px;}
.brp-google-panel .brp-fine {margin: 14px 0 0; opacity: .82;}
.brp .brp-google-button {background: transparent !important; border: 2px solid var(--brp-accent); color: var(--brp-ink) !important; padding: 12px 18px; border-radius: 8px; display: inline-flex; text-align: center; min-height: 46px; align-items: center; justify-content: center; font-weight: 700; text-decoration: none !important; line-height: 1.3;}
.brp .brp-google-button:hover {background: var(--brp-accent) !important; color: var(--brp-on-accent) !important;}
.brp-form-wrap .brp-google-panel {margin-bottom: 28px;}

.brp-invite .brp-preview {grid-column: 1 / -1;}
.brp-invite-offer {border-left: 1px solid var(--brp-line); padding-left: 40px; display: flex; flex-direction: column; align-items: flex-start;}
.brp .brp-discount {font-size: clamp(45px, 6vw, 76px); font-weight: 700; line-height: 1.1; letter-spacing: -.055em; margin: 0 0 8px;}
.brp-offer-caption {display: block; font-size: 17px; margin-bottom: 24px;}
.brp-form-wrap {max-width: 800px; padding: clamp(22px, 4vw, 48px); border: 1px solid var(--brp-line); border-radius: 16px; background: var(--brp-surface);}
.brp-progress {padding: 0; margin: 28px 0; display: flex; flex-wrap: wrap; gap: 8px; list-style: none;}
.brp-progress li {font-size: 12px; padding: 7px 11px; border: 1px solid var(--brp-line); border-radius: 30px;}
.brp-progress [aria-current="step"] {background: var(--brp-accent); color: var(--brp-on-accent); border-color: var(--brp-accent);}
.brp form {margin: 0;}
.brp form > label:not(.brp-check) {display: block; margin: 20px 0 7px; font-weight: 600;}
.brp input:not([type="checkbox"]):not([type="radio"]), .brp select, .brp textarea {
  width: 100%; max-width: 100%; min-height: 48px; border: 1px solid #bdbdbd; border-radius: 6px;
  padding: 11px 13px; background: #fff; color: #252525; font: inherit; font-size: 16px; box-shadow: none;
}
.brp textarea {resize: vertical; line-height: 1.6;}
.brp .brp-check {display: flex; gap: 11px; align-items: flex-start; font-size: 13px; margin: 20px 0; cursor: pointer;}
.brp .brp-check input {flex: 0 0 19px; width: 19px; height: 19px; margin: 3px 0 0; accent-color: var(--brp-accent);}
.brp .brp-rating {border: 0; padding: 0; margin: 24px 0;}
.brp .brp-rating legend {font-size: 16px; font-weight: 600; margin-bottom: 8px; padding: 0;}
.brp-stars {display: flex; gap: 5px;}
.brp-star {position: relative; display: flex; justify-content: center; align-items: center; width: 48px; height: 48px; border: 1px solid #bbb; border-radius: 6px; color: #757575; cursor: pointer; font-size: 30px; line-height: 1; background: #fff;}
.brp-star input {position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer;}
.brp-star.is-selected {color: var(--brp-accent); border-color: var(--brp-accent);}
.brp-star:focus-within {outline: 3px solid var(--brp-accent); outline-offset: 3px;}
.brp-actions {display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 22px;}
.brp .brp-message {padding: 14px 17px; margin: 20px 0; border-left: 4px solid var(--brp-accent); background: #ffffff; font-size: 14px;}
.brp .brp-message.is-error {border-color: #9f2525; color: #791e1e;}
.brp .brp-reward {padding: 12px 0;}
.brp-code-row {display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin: 24px 0;}
.brp-code-row code {font-size: 16px; padding: 16px 18px; border: 1px dashed var(--brp-accent); background: #fff; color: #202020; border-radius: 6px; overflow-wrap: anywhere; max-width: 100%; user-select: all;}
.brp-access-info {padding: 24px; border: 1px solid var(--brp-line); border-radius: 10px; background: #ffffff; margin: 20px 0 8px;}
.brp-access-info h3 {font-size: clamp(19px, 2vw, 25px); margin: 0 0 14px;}
.brp-access-info p:last-child {margin-bottom: 0;}
.brp-access {padding: 28px; border: 1px solid var(--brp-line); border-radius: 12px; background: var(--brp-surface);}
.brp .brp-copy-feedback {display: block; font-size: 13px; margin-top: 12px;}
.brp-review-grid {display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 25px;}
.brp-review-card {border: 1px solid var(--brp-line); border-radius: 12px; padding: 24px; background: var(--brp-surface); overflow-wrap: anywhere;}
.brp-review-card p {font-size: 14px;}
.brp .brp-rating-text {font-size: 24px; letter-spacing: 3px; color: var(--brp-accent);}
.brp-disclosure {font-size: 12px !important; line-height: 1.5; padding: 10px 12px; border: 1px solid #999; border-radius: 6px; margin: 15px 0; color: inherit;}
.brp .brp-preview {font-size: 13px; border: 1px solid #9b701c; padding: 12px; background: #fff7dd; color: #442e04;}
.brp-hp {position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important;}
.brp-sr {position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;}
@media(max-width:760px) {
  .brp-invite {grid-template-columns: 1fr; gap: 24px;}
  .brp-invite-offer {border-left: 0; border-top: 1px solid var(--brp-line); padding: 24px 0 0;}
  .brp-review-grid {grid-template-columns: 1fr;}
  .brp-code-row .brp-button {width: 100%;}
  .brp-actions {align-items: stretch; flex-direction: column; gap: 10px;}
  .brp-actions .brp-link {text-align: center;}
}
@media(prefers-reduced-motion:reduce) {.brp .brp-button {transition: none;}}
