/* ============================================================
   USA Times — Buy Stars (web)  ·  iOS-app look 2026-05-26
   Standalone /buy-stars/ page. Same palette + cards as the
   booking surface so the experience feels unified.
   ============================================================ */

.usat-bsw {
    --bsw-bg:        #FFFFFF;
    --bsw-card:      #FBFAF6;
    --bsw-soft:      #ECEFF5;
    --bsw-ink:       #101014;
    --bsw-text:      #1A1D24;
    --bsw-muted:     #848E9F;
    --bsw-rule:      #E4E7ED;
    --bsw-border:    #D4D9E2;
    --bsw-blue:      #0A3F93;
    --bsw-blue-dk:   #082E6B;
    --bsw-blue-tint: #F0F4FC;
    --bsw-green:     #1B7A47;
    --bsw-green-tint:#E9F5EC;
    --bsw-danger:    #D41A22;
    --bsw-danger-tint:#FCEBEC;

    max-width: 640px;
    margin: 0 auto;
    padding: 24px 20px 0;
    color: var(--bsw-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* ===== HERO ===== */
.usat-bsw .usat-bsw-hero { padding: 12px 4px 18px; }
.usat-bsw .usat-bsw-greet {
    font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--bsw-muted); margin: 0 0 8px;
}
.usat-bsw .usat-bsw-h1 {
    font-family: 'Fraunces', Georgia, serif !important;
    font-weight: 400 !important; font-size: 40px !important; line-height: 1.05 !important;
    letter-spacing: -0.02em !important; color: var(--bsw-ink) !important; margin: 0 0 8px !important;
}
.usat-bsw .usat-bsw-sub {
    font-size: 14px; color: var(--bsw-muted); margin: 0;
}
@media (max-width: 480px) { .usat-bsw .usat-bsw-h1 { font-size: 34px !important; } }

/* ===== FORM + CARDS ===== */
.usat-bsw .usat-bsw-form { display: grid; gap: 10px; }
.usat-bsw .usat-bsw-card {
    background: var(--bsw-card);
    border: 1px solid var(--bsw-rule);
    border-radius: 18px;
    padding: 18px 18px 20px;
    box-shadow: 0 1px 2px rgba(16,16,20,0.03);
}
.usat-bsw .usat-bsw-card-h {
    font-family: 'Inter', sans-serif !important;
    font-size: 11px !important; font-weight: 600 !important;
    letter-spacing: 0.16em !important; text-transform: uppercase !important;
    color: var(--bsw-muted) !important; margin: 0 0 12px !important;
}
.usat-bsw .usat-bsw-card-sub { font-size: 13px; color: #6B7280; line-height: 1.45; margin: 8px 0 0; }
.usat-bsw .usat-bsw-card-help {
    font-size: 12px; color: var(--bsw-muted); margin: 10px 0 0; line-height: 1.5;
}

/* ===== OPTIONS (radio rows) ===== */
.usat-bsw .usat-bsw-option {
    display: grid;
    grid-template-columns: 24px 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin: 0 0 8px;
    background: #FFFFFF;
    border: 1.5px solid var(--bsw-rule);
    border-radius: 14px;
    cursor: pointer;
    transition: all 140ms cubic-bezier(.2,.8,.2,1);
}
.usat-bsw .usat-bsw-option:last-child { margin-bottom: 0; }
.usat-bsw .usat-bsw-option:hover { border-color: var(--bsw-border); }
.usat-bsw .usat-bsw-option.active {
    border-color: var(--bsw-blue);
    background: var(--bsw-blue-tint);
    box-shadow: 0 4px 14px rgba(10,63,147,0.10);
}
.usat-bsw .usat-bsw-option input[type="radio"] { accent-color: var(--bsw-blue); width: 18px; height: 18px; margin: 0; }
.usat-bsw .usat-bsw-option-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.usat-bsw .usat-bsw-option-stars {
    font-size: 15px; font-weight: 600; color: var(--bsw-ink);
    display: inline-flex; align-items: baseline; gap: 6px;
}
.usat-bsw .usat-bsw-option-stars .star { color: var(--bsw-blue); font-family: inherit; }
.usat-bsw .usat-bsw-option-sub { font-size: 12px; color: var(--bsw-muted); line-height: 1.4; }
.usat-bsw .usat-bsw-option-sub strong { color: var(--bsw-ink); font-weight: 600; }
.usat-bsw .usat-bsw-option-price {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 20px; font-weight: 600; color: var(--bsw-ink);
    font-variant-numeric: tabular-nums lining-nums;
}

/* ===== custom stepper (inside the custom option) ===== */
.usat-bsw .usat-bsw-option-custom .usat-bsw-stepper { margin-top: 10px; }
.usat-bsw .usat-bsw-stepper {
    display: grid;
    grid-template-columns: 40px 80px 40px;
    height: 40px;
    background: var(--bsw-soft);
    border-radius: 10px;
    overflow: hidden;
    width: max-content;
}
.usat-bsw .usat-bsw-step {
    border: 0; background: transparent; color: var(--bsw-ink);
    font-size: 18px; font-weight: 600; cursor: pointer;
}
.usat-bsw .usat-bsw-step:hover { background: #E1E6EE; }
.usat-bsw .usat-bsw-step-val {
    border: 0; background: transparent; text-align: center;
    font-family: inherit; font-size: 15px; font-weight: 600; color: var(--bsw-ink);
    -moz-appearance: textfield;
}
.usat-bsw .usat-bsw-step-val::-webkit-outer-spin-button,
.usat-bsw .usat-bsw-step-val::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ===== Stripe card mount ===== */
.usat-bsw .usat-bsw-card-mount {
    padding: 14px 16px;
    background: var(--bsw-soft);
    border: 1px solid transparent;
    border-radius: 12px;
    transition: all 140ms cubic-bezier(.2,.8,.2,1);
}
.usat-bsw .usat-bsw-card-mount.StripeElement--focus,
.usat-bsw .usat-bsw-card-mount.StripeElement--complete {
    background: #FFFFFF;
    border-color: var(--bsw-blue);
    box-shadow: 0 0 0 4px rgba(10,63,147,0.10);
}

/* ===== error / success ===== */
.usat-bsw .usat-bsw-err-card { background: var(--bsw-danger-tint); border-color: #F5A8AB; }
.usat-bsw .usat-bsw-ok-card  { background: var(--bsw-green-tint);  border-color: #A6D5AC; }

/* ===== sticky footer ===== */
.usat-bsw .usat-bsw-spacer { height: 88px; }
.usat-bsw .usat-bsw-footer {
    position: sticky; bottom: 0; left: 0; right: 0;
    margin: 0 -20px;
    padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    border-top: 1px solid var(--bsw-rule);
    z-index: 30;
}
.usat-bsw .usat-bsw-footer-inner {
    max-width: 640px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
}
.usat-bsw .usat-bsw-fare { display: flex; flex-direction: column; line-height: 1.2; }
.usat-bsw .usat-bsw-fare-num {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: 26px; font-weight: 600; color: var(--bsw-ink);
    font-variant-numeric: tabular-nums lining-nums;
}
.usat-bsw .usat-bsw-fare-sub {
    font-size: 11px; color: var(--bsw-muted);
    letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px;
}
.usat-bsw .usat-bsw-cta {
    appearance: none; -webkit-appearance: none;
    display: inline-flex; align-items: center; gap: 10px;
    height: 52px; padding: 0 26px;
    border: 0; border-radius: 999px;
    background: var(--bsw-blue); color: #FFFFFF;
    font-family: inherit; font-size: 16px; font-weight: 600;
    cursor: pointer; box-shadow: 0 6px 18px rgba(10,63,147,0.28);
    transition: all 160ms cubic-bezier(.2,.8,.2,1);
}
.usat-bsw .usat-bsw-cta:hover { background: var(--bsw-blue-dk); transform: translateY(-1px); }
.usat-bsw .usat-bsw-cta:disabled { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }
.usat-bsw .usat-bsw-cta svg { width: 18px; height: 18px; }

.usat-bsw a { color: var(--bsw-blue); }
.usat-bsw a:hover { color: var(--bsw-blue-dk); }
.usat-bsw :focus-visible { outline: 2px solid var(--bsw-blue); outline-offset: 3px; border-radius: 6px; }
