* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

body {
    background: #f5f5f5;
    font-family: 'Inter', sans-serif;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh
}

.bc-wrap {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 24px 24px 48px
}

@media(min-width:520px) {
    .bc-wrap {
        max-width: 400px;
        padding: 32px 24px 56px
    }
}

.bc-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: bcFadeIn .6s cubic-bezier(.4, 0, .2, 1) forwards;
    animation-delay: calc(var(--delay)*.1s)
}

@keyframes bcFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.bc-header {
    text-align: center;
    margin-bottom: 20px
}

.bc-brand {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a
}

.bc-product {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 16px;
    display: flex;
    gap: 14px;
    margin-bottom: 12px;
    align-items: flex-start
}

.bc-product img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0
}

.bc-product-info {
    flex: 1;
    min-width: 0
}

.bc-product-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px
}

.bc-product h1 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0
}

.bc-badge-dark {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap
}

.bc-product .bc-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 8px
}

.bc-product .bc-price {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a
}

.bc-bonus {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 16px
}

.bc-bonus-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 6px
}

.bc-bonus-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a
}

.bc-bonus-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin: 0
}

.bc-section {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 10px
}

.bc-section-payment {
    margin-top: 24px
}

.bc-field {
    margin-bottom: 12px
}

.bc-field label {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    display: block
}

.bc-field input {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    transition: border .2s;
    -webkit-appearance: none;
    appearance: none
}

.bc-field input:focus {
    border-color: #999;
    outline: none
}

.bc-field input::placeholder {
    color: #aaa
}

.bc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.bc-payment-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px
}

.bc-pay-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 20px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s
}

.bc-pay-btn svg {
    width: 22px;
    height: 22px
}

.bc-pay-btn:not(.active) {
    background: #fff;
    color: #1a1a1a;
    border: 1px solid #ddd
}

.bc-pay-btn:not(.active):hover {
    border-color: #bbb;
    background: #fafafa
}

.bc-card-fields {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 16px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    filter: blur(2px);
    transition: all .4s cubic-bezier(.4, 0, .2, 1)
}

.bc-card-fields.show {
    max-height: 500px;
    opacity: 1;
    padding: 14px;
    transform: translateY(0);
    filter: blur(0)
}

.bc-card-row {
    margin-bottom: 10px;
    position: relative
}

.bc-card-row:last-of-type {
    margin-bottom: 0
}

.bc-card-row-2 {
    display: flex;
    gap: 10px
}

.bc-card-row-2>div {
    flex: 1
}

.bc-card-fields label {
    font-size: 12px;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    display: block
}

.bc-card-fields input,
.bc-card-fields select {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    color: #1a1a1a;
    transition: border .2s
}

.bc-card-fields input:focus,
.bc-card-fields select:focus {
    border-color: #999;
    outline: none
}

.bc-card-fields input::placeholder {
    color: #aaa
}

.bc-card-secure {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding: 10px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px
}

.bc-card-secure svg {
    width: 14px;
    height: 14px;
    stroke: #16a34a;
    flex-shrink: 0
}

.bc-card-secure span {
    font-size: 11px;
    color: #166534;
    font-weight: 500
}

.bc-bump {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #fff;
    border: 2px dashed #ccc;
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 18px;
    cursor: pointer;
    transition: all .25s cubic-bezier(.4, 0, .2, 1)
}

.bc-bump:hover {
    border-color: #aaa
}

.bc-bump.active {
    border-color: #22c55e;
    border-style: solid;
    background: #f0fdf4
}

.bc-bump input {
    display: none
}

.bc-bump-check {
    flex-shrink: 0;
    padding-top: 2px
}

.bc-bump-image {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bc-bump-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bc-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    transition: all .2s
}

.bc-checkmark svg {
    width: 12px;
    height: 12px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    opacity: 0;
    transition: opacity .15s
}

.bc-bump.active .bc-checkmark {
    background: #22c55e;
    border-color: #22c55e
}

.bc-bump.active .bc-checkmark svg {
    opacity: 1
}

.bc-bump-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.bc-bump-header {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap
}

.bc-bump-title {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a1a
}

.bc-bump-badge {
    display: inline-block;
    background: #1a1a1a;
    color: #fff;
    font-size: 8px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .3px;
    white-space: nowrap
}

.bc-bump-desc {
    font-size: 11px;
    color: #666;
    line-height: 1.4;
    margin-top: 2px
}

.bc-bump-price {
    display: inline-block;
    width: fit-content;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a1a;
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 6px;
    margin-top: 6px
}

.bc-bump.active .bc-bump-price {
    background: #dcfce7;
    color: #166534
}

.bc-summary {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 14px
}

.bc-summary .bc-section {
    margin-bottom: 10px
}

.bc-item {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #666;
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0
}

.bc-item:last-child {
    border-bottom: none
}

.bc-item span:last-child {
    color: #1a1a1a;
    font-weight: 500
}

.bc-total {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    margin-top: 4px;
    border-top: 1px solid #e0e0e0;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a
}

.bc-submit-btn {
    width: 100%;
    padding: 16px;
    font-size: 15px;
    font-weight: 600;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background .35s, transform .2s;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px
}

.bc-submit-btn:hover {
    background: #333
}

.bc-submit-btn:disabled {
    opacity: .6;
    cursor: not-allowed
}

.bc-submit-btn--success {
    background: #16a34a !important;
    opacity: 1 !important;
    cursor: default !important
}

.bc-submit-btn--error {
    background: #dc2626 !important;
    opacity: 1 !important;
    cursor: default !important
}

.bc-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.bc-btn-icon svg {
    width: 22px;
    height: 22px;
    stroke: #fff;
    stroke-width: 2.5;
    fill: none
}

.bc-footer {
    text-align: center
}

.bc-secure-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 10px
}

.bc-secure-row svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #666;
    stroke-width: 1.5
}

.bc-secure-row span {
    font-size: 11px;
    color: #666;
    font-weight: 500
}

.bc-terms {
    font-size: 10px;
    color: #999;
    line-height: 1.5;
    margin-bottom: 12px
}

.bc-terms a {
    color: #666;
    text-decoration: underline
}

.bc-copy {
    font-size: 11px;
    color: #888;
    line-height: 1.6
}

.bc-coupon-wrap {
    margin: 14px 0
}

.bc-coupon-box {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 14px;
    transition: all .4s
}

.bc-coupon-box.valid {
    border-color: #22c55e;
    background: #f0fdf4;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, .15)
}

.bc-coupon-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 8px
}

.bc-coupon-input {
    display: flex;
    gap: 8px
}

.bc-coupon-input input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px
}

.bc-coupon-input input:focus {
    outline: none;
    border-color: #1a1a1a
}

.bc-coupon-input button {
    min-width: 90px;
    padding: 10px 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: background .2s, opacity .2s;
    white-space: nowrap;
    text-align: center
}

.bc-coupon-input button:hover {
    background: #333
}

.bc-coupon-input button:disabled {
    opacity: .5;
    cursor: not-allowed
}

.bc-coupon-msg {
    font-size: 11px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
    padding: 0 2px
}

.bc-coupon-msg.ok {
    display: block;
    color: #166534
}

.bc-coupon-msg.err {
    display: block;
    color: #c62828
}

.bc-coupon-spin {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, .3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bcSpin .6s linear infinite;
    vertical-align: middle
}

@keyframes bcSpin {
    to {
        transform: rotate(360deg)
    }
}

.bc-error {
    background: #fff0f0;
    border: 1px solid #ffcdd2;
    border-radius: 8px;
    padding: 10px 12px;
    margin-top: 12px;
    color: #c62828;
    font-size: 12px;
    display: none
}

.bc-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px
}

.bc-modal.show {
    display: flex
}

.bc-modal-box {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    max-width: 380px;
    width: 100%;
    animation: bcFadeIn .4s cubic-bezier(.4, 0, .2, 1)
}

.bc-modal-box h2 {
    margin: 0 0 8px;
    font-size: 18px
}

.bc-modal-box>p {
    color: #666;
    margin: 0 0 20px;
    font-size: 13px
}

#bc-pix-qr img {
    max-width: 180px;
    margin: 0 auto 16px;
    display: block;
    border-radius: 8px
}

.bc-pix-copy {
    display: flex;
    gap: 8px;
    margin-bottom: 14px
}

.bc-pix-copy input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 11px;
    font-family: monospace
}

.bc-pix-copy button {
    padding: 10px 18px;
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 12px
}

.bc-pix-wait {
    color: #666;
    font-size: 12px;
    margin: 0
}

.bc-notconfig {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 20px;
    text-align: center
}

.bc-notconfig h2 {
    font-size: 18px;
    margin: 0 0 10px
}

.bc-notconfig p {
    color: #666;
    font-size: 13px;
    margin: 0 0 20px
}

.bc-notconfig a {
    display: inline-block;
    padding: 12px 24px;
    background: #1a1a1a;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px
}

.form-control,
.form-select {
    font-family: 'Inter', sans-serif;
}

.form-control:focus,
.form-select:focus {
    box-shadow: none;
}

.invalid-feedback {
    font-size: 11px;
}