/* ==========================================================================
   BotPulse V21 — single-screen purchase experience
   Loaded after botpulse.css and botpulse-v20.css.
   ========================================================================== */

.bp-main:has(.bp-buy) {
    padding-top: 26px;
}

.bp-buy-intro {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 26px;
}

.bp-buy-intro > div:first-child {
    max-width: 680px;
}

.bp-buy-intro h1 {
    margin: 0 0 10px;
    color: #f8fafc;
    font-size: clamp(30px, 4.4vw, 52px);
    font-weight: 760;
    letter-spacing: -.055em;
    line-height: 1.02;
}

.bp-buy-intro p {
    max-width: 620px;
    margin: 0;
    color: #98a5bd;
    font-size: 14px;
    line-height: 1.7;
}

.bp-buy-intro__trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 355px;
}

.bp-buy-intro__trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 10px;
    border: 1px solid #26304a;
    border-radius: 999px;
    color: #aeb9cd;
    background: rgb(17 24 45 / 62%);
    font-size: 10.5px;
    font-weight: 600;
    white-space: nowrap;
}

.bp-buy-intro__trust i {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 3px rgb(34 197 94 / 9%);
}

.bp-buy {
    display: grid;
    gap: 18px;
}

/* ---------- Platform tabs ---------- */

.bp-buy-platforms {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 5px;
    border: 1px solid #222c45;
    border-radius: 18px;
    background: linear-gradient(180deg, rgb(17 24 45 / 88%), rgb(10 15 31 / 82%));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
    scrollbar-width: thin;
    scrollbar-color: #34405f transparent;
    scroll-snap-type: x proximity;
}

.bp-buy-platforms::-webkit-scrollbar {
    height: 6px;
}

.bp-buy-platforms::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #34405f;
}

.bp-buy-platform {
    display: flex;
    min-width: 174px;
    min-height: 58px;
    flex: 1 0 auto;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border: 1px solid transparent;
    border-radius: 13px;
    color: #cbd5e1;
    text-decoration: none;
    scroll-snap-align: start;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.bp-buy-platform:hover {
    border-color: #34405f;
    background: rgb(28 39 67 / 56%);
    transform: translateY(-1px);
}

.bp-buy-platform.is-active {
    border-color: rgb(167 139 250 / 34%);
    background: linear-gradient(135deg, rgb(124 58 237 / 23%), rgb(59 130 246 / 10%));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 7%);
    color: #fff;
}

.bp-buy-platform .bp-platform-mark {
    display: grid;
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    place-items: center;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 800;
}

.bp-buy-platform > span:last-child {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.bp-buy-platform strong {
    overflow: hidden;
    color: #e9eef8;
    font-size: 12px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-buy-platform small {
    color: #7f8ca8;
    font-size: 9.5px;
    line-height: 1.35;
}

.bp-buy-platform.is-active small {
    color: #c4b5fd;
}

/* ---------- Main two-column layout ---------- */

.bp-buy-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(320px, 1fr);
    align-items: start;
    gap: 24px;
}

.bp-buy-form,
.bp-buy-side {
    display: grid;
    min-width: 0;
    gap: 16px;
}

.bp-buy-side {
    align-self: start;
}

.bp-buy-card,
.bp-buy-preview,
.bp-buy-summary,
.bp-buy-payment,
.bp-buy-tracking {
    border: 1px solid #26304a;
    border-radius: 20px;
    background:
        radial-gradient(ellipse 90% 70% at 100% 0%, rgb(124 58 237 / 7%), transparent 55%),
        linear-gradient(180deg, rgb(18 26 48 / 92%), rgb(11 17 34 / 94%));
    box-shadow: var(--bp-shadow-soft), inset 0 1px 0 rgb(255 255 255 / 3%);
}

.bp-buy-card {
    padding: 24px;
}

.bp-buy-card__head,
.bp-buy-summary__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
}

.bp-buy-card__head > div,
.bp-buy-summary__head {
    min-width: 0;
}

.bp-buy-card__head .bp-eyebrow,
.bp-buy-summary__head .bp-eyebrow {
    margin-bottom: 5px;
}

.bp-buy-card h2,
.bp-buy-summary h2,
.bp-buy-payment h2,
.bp-buy-tracking h2 {
    margin: 0;
    color: #f1f5fb;
    font-size: 18px;
    font-weight: 680;
    letter-spacing: -.025em;
    line-height: 1.25;
}

.bp-buy-step {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border: 1px solid rgb(167 139 250 / 28%);
    border-radius: 11px;
    color: #d8ccff;
    background: linear-gradient(145deg, rgb(124 58 237 / 26%), rgb(59 130 246 / 9%));
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .04em;
}

/* ---------- Filter + selectors ---------- */

.bp-buy-filter {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 168px auto;
    gap: 8px;
    margin-bottom: 14px;
    padding: 9px;
    border: 1px solid #222c45;
    border-radius: 14px;
    background: #0b1123;
}

.bp-buy-search {
    position: relative;
    display: flex;
    min-width: 0;
    align-items: center;
}

.bp-buy-search svg {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #7f8ca8;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.bp-buy-search input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px 0 37px;
    border: 1px solid transparent;
    border-radius: 10px;
    outline: none;
    color: #eef2f9;
    background: transparent;
    font: inherit;
    font-size: 12.5px;
}

.bp-buy-search input::placeholder {
    color: #64718b;
}

.bp-buy-search input:focus-visible {
    border-color: #7c3aed;
    background: #10182d;
    box-shadow: 0 0 0 3px rgb(124 58 237 / 15%);
}

.bp-buy-select {
    display: grid;
    gap: 7px;
}

.bp-buy-select > span {
    color: #8f9cb5;
    font-size: 10.5px;
    font-weight: 650;
    letter-spacing: .02em;
}

.bp-buy-select select {
    width: 100%;
    min-height: 46px;
    padding: 0 36px 0 13px;
    border: 1px solid #2a3652;
    border-radius: 11px;
    outline: none;
    color: #e6ecf6;
    background:
        linear-gradient(45deg, transparent 50%, #96a3bb 50%) calc(100% - 18px) 20px / 5px 5px no-repeat,
        linear-gradient(135deg, #96a3bb 50%, transparent 50%) calc(100% - 13px) 20px / 5px 5px no-repeat,
        #0d1427;
    font: inherit;
    font-size: 12.5px;
    appearance: none;
    cursor: pointer;
    text-overflow: ellipsis;
}

.bp-buy-select select:focus-visible {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgb(124 58 237 / 16%);
}

.bp-buy-select select option {
    color: #e6ecf6;
    background: #0d1427;
}

.bp-buy-select--compact {
    gap: 3px;
    padding: 3px 6px;
    border: 1px solid transparent;
    border-radius: 10px;
}

.bp-buy-select--compact:focus-within {
    border-color: #34405f;
}

.bp-buy-select--compact > span {
    padding-left: 4px;
    color: #717f99;
    font-size: 8.5px;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bp-buy-select--compact select {
    min-height: 30px;
    padding: 0 26px 0 4px;
    border: 0;
    background:
        linear-gradient(45deg, transparent 50%, #96a3bb 50%) calc(100% - 14px) 13px / 4px 4px no-repeat,
        linear-gradient(135deg, #96a3bb 50%, transparent 50%) calc(100% - 10px) 13px / 4px 4px no-repeat,
        transparent;
    font-size: 11.5px;
}

.bp-buy-filter__apply {
    align-self: center;
    min-height: 40px;
    padding-inline: 14px;
    font-size: 12px;
}

.bp-buy-filter.is-loading .bp-buy-filter__apply {
    pointer-events: none;
    opacity: .65;
}

.bp-buy-filter.is-loading .bp-buy-filter__apply::after {
    width: 12px;
    height: 12px;
    margin-left: 7px;
    border: 2px solid rgb(255 255 255 / 30%);
    border-top-color: #fff;
    border-radius: 999px;
    content: "";
    animation: bp-spin .7s linear infinite;
}

.bp-buy-help {
    margin: 8px 0 0;
    color: #7f8ca8;
    font-size: 10.5px;
    line-height: 1.55;
}

.bp-buy-help.is-error,
.bp-buy-payment__message.is-error {
    color: #fca5a5;
}

.bp-buy-help.is-success {
    color: #86efac;
}

.bp-buy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 16px;
}

.bp-buy-meta > span {
    display: grid;
    min-width: 96px;
    gap: 2px;
    padding: 9px 11px;
    border: 1px solid #26304a;
    border-radius: 10px;
    background: rgb(9 14 28 / 70%);
}

.bp-buy-meta small {
    color: #747f97;
    font-size: 8.5px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.bp-buy-meta strong {
    overflow: hidden;
    color: #dfe6f2;
    font-size: 11px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bp-buy-meta__duration {
    max-width: 230px;
}

/* ---------- Live form ---------- */

.bp-buy-field {
    display: grid;
    gap: 7px;
}

.bp-buy-field > span:first-child,
.bp-buy-label {
    color: #9aa7be;
    font-size: 10.5px;
    font-weight: 650;
}

.bp-buy-input {
    position: relative;
    display: flex;
    align-items: center;
}

.bp-buy-input svg {
    position: absolute;
    left: 13px;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: #78859e;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.bp-buy-input input {
    width: 100%;
    min-height: 48px;
    padding: 0 13px 0 40px;
    border: 1px solid #2a3652;
    border-radius: 11px;
    outline: none;
    color: #eef2f9;
    background: #0d1427;
    font: inherit;
    font-size: 12.5px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.bp-buy-input input::placeholder {
    color: #5e6b84;
}

.bp-buy-input input:focus-visible {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgb(124 58 237 / 16%);
}

.bp-buy-quantity {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: 18px;
}

.bp-buy-quantity > div:first-child {
    display: grid;
    gap: 7px;
}

.bp-buy-stepper {
    display: grid;
    grid-template-columns: 42px minmax(94px, 130px) 42px;
    overflow: hidden;
    border: 1px solid #2a3652;
    border-radius: 11px;
    background: #0d1427;
}

.bp-buy-stepper button {
    min-height: 44px;
    border: 0;
    color: #c4b5fd;
    background: transparent;
    font: inherit;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    transition: background 160ms ease, color 160ms ease;
}

.bp-buy-stepper button:hover {
    color: #fff;
    background: rgb(124 58 237 / 17%);
}

.bp-buy-stepper button:focus-visible {
    outline: 2px solid #a78bfa;
    outline-offset: -3px;
}

.bp-buy-stepper input {
    width: 100%;
    min-height: 44px;
    border: 0;
    border-right: 1px solid #222c45;
    border-left: 1px solid #222c45;
    outline: none;
    color: #fff;
    background: transparent;
    font: inherit;
    font-size: 13px;
    font-weight: 650;
    text-align: center;
    appearance: textfield;
}

.bp-buy-stepper input::-webkit-inner-spin-button,
.bp-buy-stepper input::-webkit-outer-spin-button {
    margin: 0;
    appearance: none;
}

.bp-buy-stepper input:focus-visible {
    background: #111a31;
    box-shadow: inset 0 0 0 1px #8b5cf6;
}

.bp-buy-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
    padding-bottom: 2px;
}

.bp-buy-chips button {
    min-height: 31px;
    padding: 0 10px;
    border: 1px solid #2a3652;
    border-radius: 8px;
    color: #aeb9cd;
    background: rgb(13 20 39 / 72%);
    font: inherit;
    font-size: 10.5px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 150ms ease, background 150ms ease, color 150ms ease;
}

.bp-buy-chips button:hover {
    border-color: rgb(167 139 250 / 50%);
    color: #fff;
    background: rgb(124 58 237 / 14%);
}

.bp-buy-duration {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 17px;
    padding: 11px 12px;
    border: 1px solid rgb(59 130 246 / 20%);
    border-radius: 11px;
    background: rgb(59 130 246 / 6%);
}

.bp-buy-duration__icon {
    display: grid;
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    place-items: center;
    border-radius: 9px;
    color: #93c5fd;
    background: rgb(59 130 246 / 12%);
}

.bp-buy-duration__icon svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-buy-duration > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.bp-buy-duration small {
    color: #7f8ca8;
    font-size: 9px;
}

.bp-buy-duration strong {
    color: #dbeafe;
    font-size: 11.5px;
    font-weight: 650;
}

.bp-buy-duration em {
    margin-left: auto;
    color: #67758f;
    font-size: 9px;
    font-style: normal;
    text-align: right;
}

.bp-buy-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 15px;
    border: 1px dashed #2b3651;
    border-radius: 13px;
    color: #8d9ab2;
    background: rgb(11 17 34 / 58%);
}

.bp-buy-note > span {
    display: grid;
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
    place-items: center;
    border-radius: 7px;
    color: #a7f3d0;
    background: rgb(34 197 94 / 9%);
}

.bp-buy-note svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-buy-note p {
    margin: 0;
    font-size: 10.5px;
    line-height: 1.6;
}

/* ---------- Preview ---------- */

.bp-buy-preview {
    padding: 17px;
}

.bp-buy-preview__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 11px;
}

.bp-buy-preview__head .bp-eyebrow {
    margin: 0;
}

.bp-live-state {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #8491a9;
    font-size: 9px;
    font-weight: 600;
    white-space: nowrap;
}

.bp-live-state i {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #64718b;
}

.bp-live-state[data-state="error"] {
    color: #fca5a5;
}

.bp-live-state[data-state="error"] i {
    background: #ef4444;
}

.bp-buy-preview__frame {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid #26304a;
    border-radius: 13px;
    background:
        radial-gradient(ellipse 70% 80% at 50% 0%, rgb(124 58 237 / 16%), transparent 66%),
        #080d1c;
}

.bp-buy-preview__frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.bp-buy-preview__placeholder {
    display: grid;
    height: 100%;
    align-content: center;
    justify-items: center;
    gap: 7px;
    padding: 18px;
    text-align: center;
}

.bp-buy-preview__placeholder > span {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgb(167 139 250 / 22%);
    border-radius: 14px;
    color: #c4b5fd;
    background: rgb(124 58 237 / 10%);
}

.bp-buy-preview__placeholder svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-buy-preview__placeholder strong {
    max-width: 230px;
    color: #cdd6e6;
    font-size: 11px;
    font-weight: 650;
    line-height: 1.4;
}

.bp-buy-preview__placeholder small,
.bp-buy-preview__placeholder a {
    max-width: 250px;
    color: #77849c;
    font-size: 9.5px;
    line-height: 1.5;
}

.bp-buy-preview__placeholder a {
    color: #c4b5fd;
    font-weight: 650;
}

.bp-buy-preview__skeleton {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, transparent 15%, rgb(255 255 255 / 7%) 42%, transparent 68%) -120% 0 / 200% 100%,
        linear-gradient(180deg, #111a31, #0b1123);
    animation: bp-shimmer 1.5s linear infinite;
}

.bp-buy-preview__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 9px;
    color: #71809a;
    font-size: 9px;
}

.bp-buy-preview__meta span:first-child {
    color: #aeb9cd;
    font-weight: 650;
}

/* ---------- Summary ---------- */

.bp-buy-summary {
    padding: 20px;
}

.bp-buy-summary__head {
    display: grid;
    gap: 4px;
    margin-bottom: 14px;
}

.bp-buy-summary__list {
    display: grid;
    gap: 0;
    margin: 0;
}

.bp-buy-summary__list > div {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding: 8px 0;
    border-bottom: 1px solid rgb(38 48 74 / 64%);
}

.bp-buy-summary__list dt {
    flex: 0 0 auto;
    color: #7f8ca8;
    font-size: 10px;
}

.bp-buy-summary__list dd {
    max-width: 70%;
    margin: 0;
    overflow: hidden;
    color: #d8e0ed;
    font-size: 10.5px;
    font-weight: 600;
    text-align: right;
    text-overflow: ellipsis;
}

.bp-buy-summary__list > div.is-total {
    margin-top: 4px;
    border-bottom: 0;
    padding-top: 12px;
}

.bp-buy-summary__list .is-total dt {
    color: #cbd5e1;
    font-size: 12px;
    font-weight: 650;
}

.bp-buy-summary__list .is-total dd {
    color: #fff;
    font-size: 25px;
    font-weight: 760;
    letter-spacing: -.045em;
    line-height: 1.15;
    transition: opacity 160ms ease;
}

.bp-buy-summary__list .is-total dd.is-loading {
    opacity: .4;
}

.bp-buy-summary__note {
    margin: 10px 0 0;
    color: #6f7c95;
    font-size: 9px;
    line-height: 1.5;
}

.bp-buy-summary__trust {
    display: grid;
    gap: 5px;
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid rgb(38 48 74 / 64%);
}

.bp-buy-summary__trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #8693aa;
    font-size: 9px;
}

.bp-buy-summary__trust i {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #22c55e;
}

/* ---------- Payment ---------- */

.bp-buy-payment,
.bp-buy-tracking {
    padding: 20px;
}

.bp-buy-payment .bp-buy-summary__head,
.bp-buy-tracking .bp-buy-summary__head {
    margin-bottom: 14px;
}

.bp-buy-methods {
    display: grid;
    gap: 7px;
}

.bp-buy-method {
    display: flex;
    width: 100%;
    min-height: 60px;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid #2a3652;
    border-radius: 11px;
    color: #d6deeb;
    background: rgb(13 20 39 / 72%);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.bp-buy-method:hover {
    border-color: #3b4a6d;
    background: #131c32;
    transform: translateY(-1px);
}

.bp-buy-method.is-selected {
    border-color: rgb(167 139 250 / 48%);
    background: linear-gradient(135deg, rgb(124 58 237 / 18%), rgb(59 130 246 / 6%));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 5%);
}

.bp-buy-method[disabled] {
    cursor: not-allowed;
    opacity: .62;
    transform: none;
}

.bp-buy-method__icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 9px;
    color: #c4b5fd;
    background: rgb(124 58 237 / 12%);
}

.bp-buy-method__icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-buy-method > span:nth-child(2) {
    display: grid;
    min-width: 0;
    gap: 1px;
}

.bp-buy-method strong {
    color: #eef2f9;
    font-size: 11.5px;
    font-weight: 650;
}

.bp-buy-method small {
    color: #7f8ca8;
    font-size: 9px;
    line-height: 1.35;
}

.bp-buy-method__check {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    margin-left: auto;
    place-items: center;
    border: 1px solid #3a4664;
    border-radius: 999px;
    color: transparent;
    font-size: 10px;
    font-weight: 800;
}

.bp-buy-method.is-selected .bp-buy-method__check {
    border-color: #a78bfa;
    color: #fff;
    background: #7c3aed;
}

.bp-buy-warning {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 7px;
    margin-top: 9px;
    padding: 10px;
    border: 1px solid rgb(245 158 11 / 24%);
    border-radius: 10px;
    color: #fcd34d;
    background: rgb(245 158 11 / 6%);
}

.bp-buy-warning svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-buy-warning p {
    flex: 1;
    min-width: 170px;
    margin: 0;
    color: #d8c18b;
    font-size: 9px;
    line-height: 1.5;
}

.bp-buy-warning a {
    color: #fcd34d;
    font-size: 9px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bp-buy-payment > .bp-button {
    margin-top: 12px;
}

.bp-buy-payment__hint {
    margin: 7px 2px 0;
    color: #74819a;
    font-size: 9px;
    line-height: 1.5;
    text-align: center;
}

.bp-buy-payment__message {
    margin: 8px 0 0;
    color: #93c5fd;
    font-size: 9.5px;
    line-height: 1.5;
    text-align: center;
}

.bp-buy-payment__message.is-success {
    color: #86efac;
}

.bp-buy-payment__message .bp-text-link {
    font-size: 9.5px;
}

.bp-buy-login {
    display: grid;
    gap: 9px;
    justify-items: center;
    padding: 9px 4px 2px;
    text-align: center;
}

.bp-buy-login > span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 12px;
    color: #c4b5fd;
    background: rgb(124 58 237 / 12%);
}

.bp-buy-login svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.bp-buy-login strong {
    display: block;
    color: #eef2f9;
    font-size: 13px;
}

.bp-buy-login p {
    margin: 3px 0 0;
    color: #8290a8;
    font-size: 10px;
    line-height: 1.55;
}

.bp-buy-login .bp-button {
    margin-top: 2px;
}

/* ---------- Pix inline ---------- */

.bp-pix-inline {
    margin-top: 13px;
    padding: 13px;
    border: 1px solid rgb(34 197 94 / 22%);
    border-radius: 13px;
    background:
        radial-gradient(ellipse 70% 60% at 100% 0%, rgb(34 197 94 / 8%), transparent 60%),
        #0a1223;
}

.bp-pix-inline__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.bp-pix-inline__head .bp-eyebrow {
    margin: 0;
    color: #86efac;
}

.bp-pix-inline__body {
    display: grid;
    grid-template-columns: 156px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.bp-pix-inline__qr {
    display: grid;
    justify-items: center;
    gap: 6px;
    padding: 8px;
    border-radius: 10px;
    background: #fff;
}

.bp-pix-inline__qr img {
    display: block;
    width: 100%;
    max-width: 140px;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}

.bp-pix-inline__amount {
    color: #111827;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: -.02em;
}

.bp-pix-inline__copy {
    display: grid;
    min-width: 0;
    gap: 5px;
}

.bp-pix-inline__copy > strong {
    color: #eef2f9;
    font-size: 10.5px;
    font-weight: 650;
}

.bp-pix-inline__copy p {
    margin: 0 0 2px;
    color: #8ea0b8;
    font-size: 8.5px;
    line-height: 1.45;
}

.bp-pix-inline textarea {
    width: 100%;
    min-height: 52px;
    padding: 8px;
    border: 1px solid #2a3652;
    border-radius: 8px;
    outline: none;
    color: #cbd5e1;
    background: #080d1b;
    font: 9px/1.45 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    resize: vertical;
}

.bp-pix-inline textarea:focus-visible {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgb(124 58 237 / 14%);
}

.bp-pix-inline .bp-button {
    min-height: 34px;
    padding-inline: 10px;
    font-size: 10.5px;
}

.bp-pix-inline__copy .bp-text-link {
    font-size: 9px;
}

.bp-order-success {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 10px 12px;
    margin-top: 13px;
    padding: 14px;
    border: 1px solid rgb(34 197 94 / 30%);
    border-radius: 13px;
    background:
        radial-gradient(ellipse 70% 70% at 0% 0%, rgb(34 197 94 / 12%), transparent 60%),
        #0a1321;
}

.bp-order-success__icon {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid rgb(34 197 94 / 38%);
    border-radius: 999px;
    color: #052e16;
    background: #4ade80;
    font-size: 18px;
    font-weight: 900;
    animation: bp-success-pop 420ms cubic-bezier(.2, .9, .3, 1.4) both;
}

.bp-order-success strong {
    display: block;
    color: #f0fdf4;
    font-size: 14px;
    font-weight: 700;
}

.bp-order-success p {
    margin: 2px 0 0;
    color: #a7b9ae;
    font-size: 9.5px;
    line-height: 1.55;
}

.bp-order-success__actions {
    display: flex;
    grid-column: 1 / -1;
    flex-wrap: wrap;
    gap: 7px;
}

.bp-order-success__actions .bp-button {
    min-height: 36px;
    padding-inline: 12px;
    font-size: 10.5px;
}

/* ---------- Tracking ---------- */

.bp-buy-tracking {
    animation: bp-rise-in 260ms ease both;
}

.bp-buy-tracking .bp-buy-summary__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.bp-buy-tracking .bp-eyebrow {
    width: 100%;
    margin: 0;
}

.bp-buy-tracking h2 {
    font-size: 17px;
}

.bp-buy-tracking .bp-text-link {
    margin-left: auto;
    font-size: 10.5px;
}

.bp-buy-tracking__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 10px;
    border: 1px solid #26304a;
    border-radius: 10px;
    background: rgb(8 13 28 / 62%);
}

.bp-buy-tracking__summary span {
    color: #93a0b7;
    font-size: 9px;
    font-weight: 600;
}

.bp-buy-tracking__summary strong {
    color: #f1f5fb;
    font-size: 15px;
    font-weight: 750;
}

.bp-buy-tracking__meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 6px;
    margin: 8px 0 13px;
    color: #7f8ca8;
    font-size: 9px;
}

.bp-buy-tracking__meta a {
    color: #c4b5fd;
    font-weight: 600;
    text-decoration: none;
}

.bp-buy-tracking__meta a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bp-buy-tracking .bp-timeline li {
    padding-bottom: 14px;
}

.bp-buy-tracking .bp-timeline li::before {
    top: 22px;
    left: 10px;
}

.bp-buy-tracking .bp-timeline__marker {
    position: relative;
    z-index: 1;
    display: grid;
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    place-items: center;
    border: 1px solid #3a4664;
    border-radius: 999px;
    color: #7f8ca8;
    background: #0d1427;
    font-size: 9px;
    font-weight: 800;
}

.bp-buy-tracking .bp-timeline li.is-done .bp-timeline__marker {
    border-color: rgb(34 197 94 / 48%);
    color: #4ade80;
    background: rgb(34 197 94 / 10%);
}

.bp-buy-tracking .bp-timeline li.is-active .bp-timeline__marker {
    border-color: #a78bfa;
    color: #fff;
    background: #7c3aed;
    box-shadow: 0 0 0 4px rgb(124 58 237 / 13%);
    animation: bp-pulse-marker 1.8s ease-in-out infinite;
}

.bp-buy-tracking .bp-timeline li.is-error .bp-timeline__marker {
    border-color: rgb(239 68 68 / 50%);
    color: #fca5a5;
    background: rgb(239 68 68 / 10%);
}

.bp-buy-tracking .bp-timeline strong {
    color: #9aa7be;
    font-size: 10px;
    font-weight: 600;
}

.bp-buy-tracking .bp-timeline small {
    color: #73809a;
    font-size: 8.5px;
}

.bp-buy-tracking__note {
    margin: 11px 0 0;
    color: #6f7c95;
    font-size: 9px;
    line-height: 1.5;
}

/* ---------- Status chips ---------- */

.bp-status--success {
    border-color: rgb(34 197 94 / 30%);
    color: #86efac;
    background: rgb(34 197 94 / 8%);
}

.bp-status--success i {
    background: #22c55e;
}

.bp-status--error {
    border-color: rgb(239 68 68 / 30%);
    color: #fca5a5;
    background: rgb(239 68 68 / 8%);
}

.bp-status--error i {
    background: #ef4444;
}

.bp-status--pending {
    border-color: rgb(245 158 11 / 26%);
    color: #fcd34d;
    background: rgb(245 158 11 / 7%);
}

.bp-status--pending i {
    background: #f59e0b;
}

/* ---------- Empty and spinner states ---------- */

.bp-buy-empty {
    margin-top: 18px;
}

.bp-order-success + .bp-buy-tracking {
    margin-top: 0;
}

.bp-button.is-loading::after {
    width: 15px;
    height: 15px;
    margin-left: 4px;
    border: 2px solid rgb(255 255 255 / 28%);
    border-top-color: #fff;
    border-radius: 999px;
    content: "";
    animation: bp-spin .7s linear infinite;
}

.bp-button.is-success {
    border-color: rgb(34 197 94 / 40%);
    background: linear-gradient(135deg, #15803d, #16a34a);
}

/* ---------- Header/footer additions ---------- */

.bp-platform-menu__disabled {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 8px 9px;
    border-radius: 9px;
    color: #65728b;
    font-size: 11.5px;
    cursor: not-allowed;
}

.bp-platform-menu__disabled small {
    color: #59657d;
    font-size: 8.5px;
}

.bp-drawer__disabled {
    display: block;
    padding: 7px 0;
    color: #65728b;
    font-size: 11.5px;
    cursor: not-allowed;
}

.bp-platform-card.is-unavailable {
    cursor: not-allowed;
    filter: saturate(.65);
    opacity: .72;
}

.bp-platform-card.is-unavailable:hover {
    border-color: var(--bp-border);
    background: linear-gradient(150deg, rgb(23 32 58 / 82%), rgb(13 19 37 / 86%));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 3%);
    transform: none;
}

.bp-platform-card__soon {
    margin-left: auto;
    padding: 3px 6px;
    border: 1px solid #34405f;
    border-radius: 999px;
    color: #8491a9;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.bp-catalog-card__duration {
    display: inline-flex;
    width: fit-content;
    margin-top: 7px;
    padding: 3px 7px;
    border: 1px solid rgb(59 130 246 / 20%);
    border-radius: 6px;
    color: #93c5fd;
    background: rgb(59 130 246 / 6%);
    font-size: 9px;
    font-weight: 600;
}

.bp-benefit-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* ---------- Motion ---------- */

@keyframes bp-spin {
    to { transform: rotate(360deg); }
}

@keyframes bp-shimmer {
    to { background-position: 120% 0, 0 0; }
}

@keyframes bp-rise-in {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bp-success-pop {
    0% { transform: scale(.55); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes bp-pulse-marker {
    0%, 100% { box-shadow: 0 0 0 4px rgb(124 58 237 / 13%); }
    50% { box-shadow: 0 0 0 7px rgb(124 58 237 / 4%); }
}

/* ---------- Responsive ---------- */

@media (min-width: 1180px) {
    .bp-buy-side {
        position: sticky;
        top: 96px;
        max-height: calc(100vh - 116px);
        overflow-y: auto;
        padding-right: 3px;
        scrollbar-width: thin;
        scrollbar-color: #34405f transparent;
        overscroll-behavior: contain;
    }

    .bp-buy-side::-webkit-scrollbar {
        width: 5px;
    }

    .bp-buy-side::-webkit-scrollbar-thumb {
        border-radius: 999px;
        background: #34405f;
    }
}

@media (max-width: 1179px) {
    .bp-buy-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-buy-side {
        grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr);
        align-items: start;
    }

    .bp-buy-preview,
    .bp-buy-summary {
        align-self: start;
    }

    .bp-buy-payment,
    .bp-buy-tracking {
        grid-column: 1 / -1;
    }

    .bp-benefit-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }
}

@media (max-width: 900px) {
    .bp-buy-intro {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }

    .bp-buy-intro__trust {
        justify-content: flex-start;
        max-width: none;
    }

    .bp-buy-side {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-buy-payment,
    .bp-buy-tracking {
        grid-column: auto;
    }

    .bp-bi-grid,
    .bp-buy-grid {
        gap: 16px;
    }
}

@media (max-width: 700px) {
    .bp-main:has(.bp-buy) {
        padding-top: 18px;
    }

    .bp-buy-intro {
        margin-bottom: 19px;
    }

    .bp-buy-intro h1 {
        font-size: clamp(29px, 9.5vw, 42px);
    }

    .bp-buy-intro p {
        font-size: 12.5px;
    }

    .bp-buy-platforms {
        margin-inline: -2px;
        border-radius: 14px;
    }

    .bp-buy-platform {
        min-width: 150px;
        min-height: 54px;
        padding-inline: 9px;
    }

    .bp-buy-card {
        padding: 17px;
    }

    .bp-buy-card h2,
    .bp-buy-summary h2,
    .bp-buy-payment h2,
    .bp-buy-tracking h2 {
        font-size: 16px;
    }

    .bp-buy-filter {
        grid-template-columns: minmax(0, 1fr) 140px;
    }

    .bp-buy-filter__apply {
        grid-column: 1 / -1;
    }

    .bp-buy-quantity {
        align-items: stretch;
        flex-direction: column;
    }

    .bp-buy-chips {
        justify-content: flex-start;
    }

    .bp-buy-stepper {
        grid-template-columns: 44px minmax(0, 1fr) 44px;
    }

    .bp-buy-summary,
    .bp-buy-payment,
    .bp-buy-tracking,
    .bp-buy-preview {
        padding: 16px;
    }

    .bp-pix-inline__body {
        grid-template-columns: 132px minmax(0, 1fr);
    }

    .bp-pix-inline__qr img {
        max-width: 116px;
    }

    .bp-buy-duration em {
        display: none;
    }

    .bp-order-success {
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 12px;
    }

    .bp-order-success__icon {
        width: 34px;
        height: 34px;
    }
}

@media (max-width: 480px) {
    .bp-buy-intro__trust span {
        min-height: 27px;
        font-size: 9.5px;
    }

    .bp-buy-platforms {
        gap: 4px;
        padding: 4px;
    }

    .bp-buy-platform {
        min-width: 138px;
    }

    .bp-buy-platform .bp-platform-mark {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        font-size: 11px;
    }

    .bp-buy-filter {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-buy-select--compact {
        padding: 0;
    }

    .bp-buy-select--compact select {
        min-height: 34px;
        padding-left: 4px;
    }

    .bp-buy-meta > span {
        min-width: calc(50% - 4px);
        flex: 1;
    }

    .bp-buy-quantity {
        gap: 10px;
    }

    .bp-pix-inline__body {
        grid-template-columns: minmax(0, 1fr);
    }

    .bp-pix-inline__qr {
        justify-self: center;
        width: min(100%, 210px);
    }

    .bp-pix-inline__qr img {
        max-width: 180px;
    }

    .bp-buy-tracking .bp-buy-summary__head {
        gap: 5px;
    }

    .bp-buy-tracking .bp-text-link {
        margin-left: 0;
    }
}

[hidden] {
    display: none !important;
}

/* Keep the decorative hero glow inside the viewport at the desktop
   breakpoint where the hero hugs the container's right edge. */
.bp-hero__glow {
    right: 0;
}

.bp-unavailable-state__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

/* On tablets the account menu stops being a clipping horizontal scroller.
   Ten destinations fit in two rows, so every section stays discoverable. */
@media (min-width: 651px) and (max-width: 900px) {
    .bp-account-nav {
        overflow-x: visible;
        flex-wrap: wrap;
    }

    .bp-account-nav a {
        white-space: normal;
    }
}

/* Phones get the fixed bottom navigation plus the full account list in the
   drawer. The duplicate top scroller would only clip its own active item. */
@media (max-width: 740px) {
    .bp-account-nav {
        display: none;
    }

    .bp-hero {
        overflow: hidden;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bp-buy *,
    .bp-buy *::before,
    .bp-buy *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
