body.woocommerce-account.bb-theme-account-ui {
    overflow-x: hidden;
}

body.woocommerce-account.bb-theme-account-ui .bb-woo-shell,
body.woocommerce-account.bb-theme-account-ui .bb-woo-shell > .container,
body.woocommerce-account.bb-theme-account-ui .wc-container,
body.woocommerce-account.bb-theme-account-ui .site,
body.woocommerce-account.bb-theme-account-ui .site-content,
body.woocommerce-account.bb-theme-account-ui .content-area,
body.woocommerce-account.bb-theme-account-ui .site-main,
body.woocommerce-account.bb-theme-account-ui main,
body.woocommerce-account.bb-theme-account-ui article,
body.woocommerce-account.bb-theme-account-ui .entry-content,
body.woocommerce-account.bb-theme-account-ui .woocommerce {
    width: calc(100vw - 32px) !important;
    max-width: none !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-woo-shell {
    padding: 18px 0 44px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-woo-shell > .container,
body.woocommerce-account.bb-theme-account-ui .wc-container {
    margin: 0 auto !important;
    padding: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce::before,
body.woocommerce-account.bb-theme-account-ui .woocommerce::after {
    display: none !important;
    content: none !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-navigation {
    position: sticky !important;
    top: calc(var(--bb-account-header, 72px) + 12px) !important;
    width: 230px !important;
    min-width: 230px !important;
    max-width: 230px !important;
    margin: 0 !important;
    padding: 14px !important;
    border-radius: 22px !important;
    max-height: calc(100vh - var(--bb-account-header, 72px) - 24px) !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-navigation ul {
    display: grid !important;
    gap: 8px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-navigation a {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content > * {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content > * + * {
    margin-top: 18px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-notices-wrapper {
    display: grid !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
}

body.woocommerce-account.bb-theme-account-ui :is(.woocommerce-message, .woocommerce-info, .woocommerce-error) {
    border-radius: 18px !important;
    padding: 14px 16px !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08) !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(form.woocommerce-EditAccountForm, form.woocommerce-form, .woocommerce-Address, .woocommerce-Addresses, .woocommerce-order-details, .woocommerce-customer-details, .woocommerce-order-downloads, .woocommerce-PaymentMethods, .woocommerce-MyAccount-paymentMethods, .woocommerce-orders-table, table.shop_table, .woocommerce-table) {
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-Address,
body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm,
body.woocommerce-account.bb-theme-account-ui .woocommerce-order-details,
body.woocommerce-account.bb-theme-account-ui .woocommerce-customer-details,
body.woocommerce-account.bb-theme-account-ui .woocommerce-order-downloads,
body.woocommerce-account.bb-theme-account-ui .woocommerce-PaymentMethods,
body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-paymentMethods {
    padding: 20px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-orders-table th,
body.woocommerce-account.bb-theme-account-ui .woocommerce-orders-table td,
body.woocommerce-account.bb-theme-account-ui table.shop_table th,
body.woocommerce-account.bb-theme-account-ui table.shop_table td,
body.woocommerce-account.bb-theme-account-ui .woocommerce-table th,
body.woocommerce-account.bb-theme-account-ui .woocommerce-table td {
    padding: 12px 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(input.input-text, input, select, textarea) {
    min-height: 46px !important;
    padding: 12px 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(.woocommerce-form-row, .form-row, .woocommerce-form-row-first, .woocommerce-form-row-last, .form-row-first, .form-row-last) {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(form.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper, .woocommerce-address-fields, .edit-account) {
    display: grid !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset {
    display: grid !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .clear {
    display: none !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-account-panel,
body.woocommerce-account.bb-theme-account-ui .bb-theme-crypto-dashboard,
body.woocommerce-account.bb-theme-account-ui .bb-theme-crypto-wallet,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-card,
body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-card,
body.woocommerce-account.bb-theme-account-ui .bb-theme-metric-card {
    padding: 18px !important;
    border-radius: 20px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-topbar {
    gap: 16px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-topbar h2 {
    font-size: clamp(26px, 2.2vw, 34px) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-actions {
    display: flex !important;
    gap: 10px !important;
    flex-wrap: wrap !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-metric-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-dashboard-stack,
body.woocommerce-account.bb-theme-account-ui .bb-theme-dashboard-main,
body.woocommerce-account.bb-theme-account-ui .bb-theme-side-stack {
    display: grid !important;
    gap: 16px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-grid,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-card {
    min-height: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head {
    gap: 12px !important;
    margin-bottom: 12px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-badge,
body.woocommerce-account.bb-theme-account-ui .bbua-logo-fallback {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 10px 24px rgba(15, 23, 42, 0.16) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-balance {
    font-size: clamp(20px, 1.9vw, 28px) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-meta {
    gap: 10px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-live-list,
body.woocommerce-account.bb-theme-account-ui .bb-theme-order-list,
body.woocommerce-account.bb-theme-account-ui .bb-theme-status-grid {
    gap: 10px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-layout {
    display: grid !important;
    grid-template-columns: minmax(340px, 420px) minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid {
    display: grid !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-field {
    display: grid !important;
    gap: 8px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-field--full {
    grid-column: 1 / -1 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balance-box {
    display: grid !important;
    align-content: center !important;
    min-height: 46px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.14) !important;
    background: rgba(15, 23, 42, 0.06) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balance-box strong {
    font-size: 14px !important;
    line-height: 1.3 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages button {
    min-height: 42px !important;
    padding: 0 12px !important;
    border: 1px solid rgba(14, 116, 144, 0.18) !important;
    border-radius: 999px !important;
    background: rgba(240, 249, 255, 0.96) !important;
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages button:hover {
    background: #dbeafe !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-box {
    display: grid !important;
    gap: 10px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row {
    display: grid !important;
    gap: 4px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    background: rgba(248, 250, 252, 0.94) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row span {
    font-size: 11px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row strong {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-mode {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-choice,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    margin: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-choice {
    padding: 10px 12px !important;
    border-radius: 14px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    background: rgba(248, 250, 252, 0.9) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-choice input,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox input {
    appearance: auto !important;
    min-height: 0 !important;
    width: 16px !important;
    height: 16px !important;
    margin: 2px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-choice span,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox span {
    font-size: 13px !important;
    line-height: 1.4 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-block {
    display: grid !important;
    gap: 14px !important;
    margin-top: 20px !important;
    padding-top: 18px !important;
    border-top: 1px solid rgba(148, 163, 184, 0.14) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
    display: grid !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-item {
    padding: 14px !important;
    border-radius: 16px !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    background: rgba(248, 250, 252, 0.94) !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-item code {
    display: block !important;
    margin-top: 10px !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    color: #0f172a !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-helper {
    margin: 0 !important;
    color: rgba(226, 232, 240, 0.82) !important;
    font-size: 13px !important;
    line-height: 1.5 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-notice.is-success {
    border-color: rgba(22, 101, 52, 0.18) !important;
    background: rgba(236, 253, 245, 0.98) !important;
    color: #14532d !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-notice.is-error {
    border-color: rgba(185, 28, 28, 0.18) !important;
    background: rgba(254, 242, 242, 0.98) !important;
    color: #991b1b !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-notice p {
    color: inherit !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table-wrap {
    width: 100% !important;
    overflow-x: auto !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table {
    width: 100% !important;
    min-width: 1080px !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table th,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table td {
    padding: 12px 14px !important;
    vertical-align: top !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-destination,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-hash,
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-note {
    max-width: 260px !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-money {
    white-space: nowrap !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 96px !important;
    padding: 6px 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge.is-pending,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge.is-pending {
    background: #fff7ed !important;
    color: #9a3412 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge.is-approved,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge.is-approved {
    background: #eff6ff !important;
    color: #1d4ed8 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge.is-processing,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge.is-processing {
    background: #ecfeff !important;
    color: #155e75 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge.is-completed,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge.is-completed {
    background: #ecfdf5 !important;
    color: #166534 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge.is-rejected,
body.woocommerce-account.bb-theme-account-ui .bb-theme-status-badge.is-cancelled,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge.is-rejected,
body.woocommerce-account.bb-theme-account-ui .bbua-withdrawal-badge.is-cancelled {
    background: #fef2f2 !important;
    color: #b91c1c !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel,
body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-shell {
    width: 100% !important;
    max-width: none !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-grid,
body.woocommerce-account.bb-theme-account-ui .bbua-grid.bbua-grid-size-small {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .kh-card,
body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin {
    min-height: 0 !important;
    padding: 18px !important;
    border-radius: 20px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: start !important;
    margin-bottom: 14px !important;
    padding-bottom: 14px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-coin {
    gap: 12px !important;
    min-width: 0 !important;
    align-items: center !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-coin > div:last-child,
body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-live {
    min-width: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-logo,
body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-logo-fallback {
    width: 48px !important;
    height: 48px !important;
    flex-basis: 48px !important;
    border-radius: 16px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .kh-card h3 {
    font-size: 18px !important;
    line-height: 1.1 !important;
    overflow-wrap: anywhere !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-symbol {
    margin-top: 3px !important;
    font-size: 11px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-live {
    text-align: right !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-live-price {
    font-size: 20px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-receive-box {
    margin-bottom: 12px !important;
    padding: 12px !important;
    border-radius: 16px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-estimate {
    font-size: 18px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-input-row {
    margin-bottom: 12px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-dollar {
    left: 14px !important;
    font-size: 14px !important;
    line-height: 1 !important;
    pointer-events: none !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-usd-input {
    min-height: 44px !important;
    padding: 12px 14px 12px 38px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-buy-btn {
    min-height: 44px !important;
    padding: 12px 16px !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-orders-table,
body.woocommerce-account.bb-theme-account-ui table.shop_table_responsive,
body.woocommerce-account.bb-theme-account-ui table.shop_table {
    display: table !important;
    table-layout: auto !important;
    white-space: normal !important;
}

body.woocommerce-account.bb-theme-account-ui :is(.woocommerce-orders-table, table.shop_table_responsive, table.shop_table) :is(th, td) {
    overflow-wrap: anywhere !important;
}

body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .woocommerce {
    width: calc(100vw - 32px) !important;
    max-width: none !important;
}

body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .woocommerce {
    margin: 0 auto !important;
    padding: 0 !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    gap: 20px !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields, #order_review, #payment) {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid #d7dee6 !important;
    border-radius: 22px !important;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08) !important;
    padding: 18px !important;
}

body.woocommerce-checkout .form-row {
    margin-bottom: 14px !important;
}

body.woocommerce-checkout :is(input.input-text, input, select, textarea) {
    min-height: 46px !important;
    padding: 12px 14px !important;
    border-radius: 14px !important;
}

@media (min-width: 1100px) {
    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(form.woocommerce-EditAccountForm, .woocommerce-address-fields__field-wrapper) {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 16px !important;
    }

    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .form-row-wide,
    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm .woocommerce-form-row--wide,
    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset,
    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm > p:not(.form-row) {
        grid-column: 1 / -1 !important;
    }

    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px 16px !important;
    }

    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content form.woocommerce-EditAccountForm fieldset legend {
        grid-column: 1 / -1 !important;
    }

    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content .woocommerce-address-fields__field-wrapper :is(.form-row-wide, .woocommerce-form-row--wide) {
        grid-column: 1 / -1 !important;
    }

    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr) !important;
        align-items: start !important;
    }

    body.woocommerce-checkout #customer_details {
        grid-column: 1 !important;
    }

    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        grid-column: 2 !important;
    }

    body.woocommerce-checkout #order_review {
        position: sticky !important;
        top: 88px !important;
    }
}

@media (max-width: 1099px) {
    body.woocommerce-account.bb-theme-account-ui .woocommerce {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-navigation {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
    }

    body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-navigation ul {
        grid-auto-flow: column !important;
        grid-auto-columns: max-content !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
    }

    body.woocommerce-account.bb-theme-account-ui .bb-theme-metric-grid,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-layout {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-account.bb-theme-account-ui .bb-woo-shell,
    body.woocommerce-account.bb-theme-account-ui .bb-woo-shell > .container,
    body.woocommerce-account.bb-theme-account-ui .wc-container,
    body.woocommerce-account.bb-theme-account-ui .woocommerce,
    body.woocommerce-checkout .bb-woo-shell,
    body.woocommerce-checkout .bb-woo-shell > .container,
    body.woocommerce-checkout .wc-container,
    body.woocommerce-checkout .woocommerce {
        width: calc(100vw - 20px) !important;
    }

    body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-actions,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-metric-grid,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-grid,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid,
    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid,
    body.woocommerce-account.bb-theme-account-ui .woocommerce-Addresses {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-top {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-live {
        text-align: left !important;
    }

    body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table {
        min-width: 900px !important;
    }
}

/* Compact crypto dashboard */
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard {
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: end !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-kicker {
    font-size: 10px !important;
    letter-spacing: 0.16em !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-topbar h2 {
    margin: 0 !important;
    font-size: clamp(22px, 1.8vw, 28px) !important;
    line-height: 1.02 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-topbar p {
    display: none !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-actions {
    gap: 8px !important;
    align-self: center !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-actions .button,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-actions a.button {
    min-height: 38px !important;
    padding: 0 14px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-grid {
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-card {
    min-height: 0 !important;
    padding: 12px 14px !important;
    gap: 6px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-label {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-value {
    font-size: clamp(20px, 1.6vw, 26px) !important;
    line-height: 1 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-note,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-card-head p {
    display: none !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 10px !important;
    align-items: start !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(1) {
    grid-column: span 6 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(2) {
    grid-column: span 6 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(3) {
    grid-column: span 4 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(4) {
    grid-column: span 8 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-card,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-card {
    min-height: 0 !important;
    padding: 14px !important;
    border-radius: 16px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-card-head {
    margin-bottom: 10px !important;
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-card-head h3 {
    margin: 0 !important;
    font-size: 12px !important;
    letter-spacing: 0.14em !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-grid {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-card {
    gap: 8px !important;
    padding: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-head {
    gap: 8px !important;
    margin-bottom: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-badge {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
    border-radius: 11px !important;
    font-size: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-head strong {
    font-size: 14px !important;
    line-height: 1.1 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-head span {
    font-size: 11px !important;
    line-height: 1.2 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-balance {
    font-size: clamp(18px, 1.5vw, 23px) !important;
    line-height: 1 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-meta {
    gap: 6px !important;
    padding-top: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-meta span,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-meta strong {
    font-size: 11px !important;
    line-height: 1.25 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-live-list {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)) !important;
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-live-row,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-order-row {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-live-row strong,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-order-row strong {
    font-size: 13px !important;
    line-height: 1.15 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-live-row span,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-order-row span {
    font-size: 11px !important;
    line-height: 1.25 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-live-price strong,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-order-side strong {
    font-size: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-status-grid {
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)) !important;
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-status-card {
    padding: 10px 12px !important;
    border-radius: 12px !important;
    gap: 6px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-status-card span {
    font-size: 10px !important;
    line-height: 1.2 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-status-card strong {
    font-size: clamp(18px, 1.5vw, 22px) !important;
    line-height: 1 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard :is(.bb-theme-wallet-empty, .bb-theme-live-empty, .bb-theme-order-empty) {
    padding: 12px !important;
    border-radius: 12px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

@media (max-width: 1199px) {
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(1),
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(2),
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(3),
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(4) {
        grid-column: span 6 !important;
    }
}

@media (max-width: 767px) {
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-topbar,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(1),
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(2),
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(3),
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(4) {
        grid-column: 1 / -1 !important;
    }
}


/* ============================================================
   FIX SEGURO MY ACCOUNT LAYOUT - NO ROMPER CONTENEDORES PADRE
   Corrige full width agresivo, overflow y dashboard roto
   ============================================================ */

/* 1) No ocultar el problema; permitir que tablas/cards respiren */
html body.woocommerce-account.bb-theme-account-ui {
    overflow-x: auto !important;
}

/* 2) Revertir el full width agresivo aplicado a padres globales del theme */
html body.woocommerce-account.bb-theme-account-ui .site,
html body.woocommerce-account.bb-theme-account-ui .site-content,
html body.woocommerce-account.bb-theme-account-ui .content-area,
html body.woocommerce-account.bb-theme-account-ui .site-main,
html body.woocommerce-account.bb-theme-account-ui main,
html body.woocommerce-account.bb-theme-account-ui article,
html body.woocommerce-account.bb-theme-account-ui .entry-content {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* 3) Full width solo donde corresponde: shell/contenedor Woo */
html body.woocommerce-account.bb-theme-account-ui .bb-woo-shell,
html body.woocommerce-account.bb-theme-account-ui .bb-woo-shell > .container,
html body.woocommerce-account.bb-theme-account-ui .wc-container,
html body.woocommerce-account.bb-theme-account-ui .woocommerce {
    width: min(100%, calc(100vw - 32px)) !important;
    max-width: none !important;
    min-width: 0 !important;
}

/* 4) Grid principal estable: menú lateral + contenido */
html body.woocommerce-account.bb-theme-account-ui .woocommerce {
    display: grid !important;
    grid-template-columns: 230px minmax(0, 1fr) !important;
    gap: 18px !important;
    align-items: start !important;
    overflow: visible !important;
}

/* 5) El contenido no debe empujar el layout */
html body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-account-panel,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-crypto-dashboard,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-crypto-wallet,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    overflow: visible !important;
}

/* 6) Dashboard: evitar que cards largas rompan columnas */
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard *,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-metric-card {
    min-width: 0 !important;
    box-sizing: border-box !important;
}

/* 7) Dashboard estable en desktop */
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack {
    display: grid !important;
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: start !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(1),
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(2) {
    grid-column: span 6 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(3),
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > :nth-child(4) {
    grid-column: span 6 !important;
}

/* 8) Métricas arriba: 4 columnas sanas */
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-card {
    min-height: 104px !important;
    padding: 18px !important;
    border-radius: 18px !important;
}

/* 9) Wallet/cards internas del dashboard */
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-grid,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)) !important;
    gap: 14px !important;
}

/* 10) Tablas: que hagan scroll solo dentro de su caja */
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table-wrap {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table {
    min-width: 980px !important;
}

/* 11) Tablet */
@media (max-width: 1099px) {
    html body.woocommerce-account.bb-theme-account-ui .woocommerce {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-navigation {
        position: static !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack > * {
        grid-column: 1 / -1 !important;
    }
}

/* 12) Mobile */
@media (max-width: 767px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-woo-shell,
    html body.woocommerce-account.bb-theme-account-ui .bb-woo-shell > .container,
    html body.woocommerce-account.bb-theme-account-ui .wc-container,
    html body.woocommerce-account.bb-theme-account-ui .woocommerce {
        width: min(100%, calc(100vw - 20px)) !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-panel-topbar,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-dashboard-stack,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-metric-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-panel-card,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-card,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-metric-card {
        padding: 14px !important;
    }
}



/* ============================================================
   FIX VISUAL ICONOS / BADGES CARDS CRYPTO MY ACCOUNT
   Mejora iconos de wallet/cards sin tocar PHP
   ============================================================ */

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-badge,
html body.woocommerce-account.bb-theme-account-ui .bbua-logo-fallback {
    width: 46px !important;
    height: 46px !important;
    min-width: 46px !important;
    flex: 0 0 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    background:
        radial-gradient(circle at 30% 20%, rgba(255,255,255,.35), transparent 32%),
        linear-gradient(135deg, var(--bb-asset-color, #334155), #0f172a) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
    border: 1px solid rgba(255,255,255,.28) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.22),
        0 12px 24px rgba(15,23,42,.18) !important;
    overflow: hidden !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head {
    display: flex !important;
    align-items: center !important;
    gap: 13px !important;
    min-width: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head > div,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head strong,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head span {
    min-width: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head strong {
    display: block !important;
    font-weight: 850 !important;
    color: #0f172a !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-head span:not(.bb-theme-wallet-badge) {
    display: block !important;
    color: #64748b !important;
}

/* Dashboard compacto: iconos un poco más finos */
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-theme-crypto-dashboard .bb-theme-wallet-badge {
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    flex-basis: 42px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
}

/* ============================================================
   CANONICAL BBUA CARD LAYOUT - MY ACCOUNT
   Gana a style_my_account_panel.css y unifica dashboard + wallet
   ============================================================ */

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel [data-bbua-grid],
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section [data-bbua-grid],
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-grid,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
    width: 100% !important;
    padding: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin.kh-card {
    --bbua-card-logo-size: 32px;
    --bbua-card-live-width: 92px;
    --bbua-card-padding: 12px;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    padding: var(--bbua-card-padding) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-card-top,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-card-top,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-card-top,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-card-top,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-card-top {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) var(--bbua-card-live-width) !important;
    column-gap: 10px !important;
    align-items: start !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 0 12px !important;
    padding: 0 0 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-coin,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-coin,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-coin,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-coin,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-coin {
    display: grid !important;
    grid-template-columns: var(--bbua-card-logo-size) minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    overflow: hidden !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-logo,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-logo-fallback,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-logo,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-logo-fallback,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-logo,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-logo-fallback,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-logo,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-logo-fallback,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-logo,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-logo-fallback {
    width: var(--bbua-card-logo-size) !important;
    height: var(--bbua-card-logo-size) !important;
    min-width: var(--bbua-card-logo-size) !important;
    max-width: var(--bbua-card-logo-size) !important;
    flex: 0 0 var(--bbua-card-logo-size) !important;
    border-radius: 50% !important;
    object-fit: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;
    overflow: hidden !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-coin > div:last-child,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-coin > div:last-child,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-coin > div:last-child,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-coin > div:last-child,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-coin > div:last-child {
    min-width: 0 !important;
    max-width: 100% !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin h3,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-preview-title,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin h3,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-preview-title,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin h3,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-preview-title,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin h3,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-preview-title,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin h3,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-preview-title {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    font-size: 14px !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    writing-mode: horizontal-tb !important;
    letter-spacing: 0 !important;
    text-align: left !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-symbol,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-symbol,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-symbol,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-symbol,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-symbol {
    display: block !important;
    margin-top: 3px !important;
    font-size: 9px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: left !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-live,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-live,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-live,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-live,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-live {
    display: grid !important;
    justify-items: end !important;
    align-content: start !important;
    width: var(--bbua-card-live-width) !important;
    min-width: var(--bbua-card-live-width) !important;
    max-width: var(--bbua-card-live-width) !important;
    flex: 0 0 var(--bbua-card-live-width) !important;
    justify-self: end !important;
    text-align: right !important;
    overflow: hidden !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-live-label,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-live-label,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-live-label,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-live-label,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-live-label {
    display: block !important;
    font-size: 8px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    letter-spacing: .04em !important;
    text-align: right !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-live-price,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-live-price,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-live-price,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-live-price,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-live-price {
    display: block !important;
    width: 100% !important;
    max-width: var(--bbua-card-live-width) !important;
    margin: 3px 0 0 !important;
    font-size: 13px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    text-align: right !important;
    letter-spacing: -0.03em !important;
    font-variant-numeric: tabular-nums !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="BTC"] .bbua-live-price,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="ETH"] .bbua-live-price {
    font-size: 12px !important;
    letter-spacing: -0.05em !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="MATIC"] .bbua-live-price {
    font-size: 11px !important;
    line-height: 1.08 !important;
    white-space: normal !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-receive-box {
    padding: 10px !important;
    margin: 0 0 10px !important;
    border-radius: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-small-label {
    font-size: 8px !important;
    line-height: 1.15 !important;
    letter-spacing: .04em !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-estimate {
    font-size: 14px !important;
    line-height: 1.2 !important;
    font-weight: 900 !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-buy-form,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-buy-form,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-buy-form,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-buy-form,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-buy-form {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 8px !important;
    align-items: end !important;
    margin-top: auto !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-input-label,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-input-label,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-input-label,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-input-label,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-input-label {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-input-row,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-input-row,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-input-row,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-input-row,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-input-row {
    grid-column: 1 !important;
    min-width: 0 !important;
    margin: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-usd-input,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-usd-input,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-usd-input,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-usd-input,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-usd-input {
    box-sizing: border-box !important;
    min-height: 38px !important;
    height: 38px !important;
    padding: 9px 10px 9px 30px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-dollar,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-dollar,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-dollar,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-dollar,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-dollar {
    left: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-buy-btn,
html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-buy-btn,
html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-buy-btn,
html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-buy-btn,
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-buy-btn {
    grid-column: 2 !important;
    width: auto !important;
    min-width: 74px !important;
    min-height: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 9px 12px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    align-self: end !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol] .bbua-logo-fallback {
    font-size: 0 !important;
    color: transparent !important;
    text-indent: -9999px !important;
    border: 0 !important;
    box-shadow: none !important;
    background-color: transparent !important;
}

html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="BTC"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/bitcoin-btc-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="ETH"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/ethereum-eth-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="USDT"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/tether-usdt-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="USDC"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/usd-coin-usdc-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="BNB"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/bnb-bnb-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="SOL"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/solana-sol-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="XRP"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/xrp-xrp-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="ADA"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/cardano-ada-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="DOGE"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/dogecoin-doge-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="TRX"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/tron-trx-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="LTC"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/litecoin-ltc-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="BCH"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/bitcoin-cash-bch-logo.svg?v=040") !important; }
html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="MATIC"] .bbua-logo-fallback { background-image: url("https://cryptologos.cc/logos/polygon-matic-logo.svg?v=040") !important; }

@media (max-width: 767px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-badge {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        flex-basis: 40px !important;
        border-radius: 13px !important;
        font-size: 11px !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel [data-bbua-grid],
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section [data-bbua-grid],
    html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-grid {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-buy-form,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-buy-form,
    html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-buy-form,
    html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-buy-form,
    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-buy-form {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-input-row,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-input-row,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-input-row,
    html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-input-row,
    html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-input-row,
    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-buy-btn {
        grid-column: 1 !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin .bbua-buy-btn,
    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-buy-btn {
        width: 100% !important;
    }

    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-buy-cards-panel .bbua-card-coin,
    html body.woocommerce-account.bb-theme-account-ui.bb-account-dashboard-app .bb-wallet-buy-section .bbua-card-coin,
    html body.woocommerce-account.bb-theme-account-ui .bb-buy-cards-panel .bbua-card-coin,
    html body.woocommerce-account.bb-theme-account-ui .bb-wallet-buy-section .bbua-card-coin,
    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin.kh-card {
        --bbua-card-logo-size: 30px;
        --bbua-card-live-width: 88px;
    }

    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin .bbua-live-price {
        font-size: 12px !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bbua-card-coin[data-symbol="MATIC"] .bbua-live-price {
        font-size: 10px !important;
    }
}

/* ============================================================
   WALLET + WITHDRAWALS CLEAN LAYOUT
   ============================================================ */

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-topbar,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-topbar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-heading,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-heading {
    min-width: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-kicker,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-kicker {
    display: inline-block !important;
    margin-bottom: 4px !important;
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-topbar h2,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-topbar h2 {
    margin: 0 !important;
    font-size: clamp(24px, 2vw, 30px) !important;
    line-height: 1.05 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-actions,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-actions {
    justify-content: flex-end !important;
    flex-wrap: nowrap !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-card {
    padding: 12px 14px !important;
    min-height: 82px !important;
    border-radius: 18px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-label,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-label {
    font-size: 11px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-value,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-value {
    font-size: 22px !important;
    line-height: 1.1 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-note,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-note {
    display: none !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-card-head,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-card-head {
    margin-bottom: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-card-head h3,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-card-head h3 {
    margin: 0 !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-card-head p,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-card-head p {
    display: none !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-buy-cards-panel,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-card {
    min-width: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-buy-cards-panel {
    padding: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-main-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr) !important;
    gap: 14px !important;
    align-items: start !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-wallet-card {
    padding: 14px !important;
    min-height: 0 !important;
    border-radius: 18px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-head,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-wallet-head {
    margin-bottom: 10px !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-balance,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-wallet-balance {
    font-size: clamp(18px, 1.5vw, 24px) !important;
    line-height: 1.15 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-meta,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-wallet-meta {
    gap: 8px !important;
    font-size: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-live-list {
    display: grid !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-live-row {
    padding: 10px 12px !important;
    border-radius: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-compact-layout {
    display: grid !important;
    grid-template-columns: minmax(300px, 360px) minmax(0, 1fr) !important;
    gap: 14px !important;
    align-items: start !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balances-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-history {
    min-width: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form {
    display: grid !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
    grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form :is(input, select, textarea),
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form :is(input, select, textarea) {
    min-height: 40px !important;
    padding: 10px 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form textarea,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form textarea {
    min-height: 80px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balance-box {
    min-height: 40px !important;
    padding: 10px 12px !important;
    border-radius: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages {
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages button {
    min-height: 40px !important;
    padding: 0 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-box {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row {
    padding: 10px 12px !important;
    border-radius: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row strong {
    font-size: 13px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-mode {
    display: flex !important;
    gap: 8px !important;
    flex-wrap: wrap !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-choice {
    align-items: center !important;
    padding: 8px 10px !important;
    border-radius: 999px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox {
    align-items: center !important;
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-helper {
    font-size: 12px !important;
    line-height: 1.4 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-submit {
    width: 100% !important;
    min-height: 42px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card {
    margin-top: 14px !important;
    padding: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-list {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-item {
    padding: 12px !important;
    border-radius: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-item code {
    margin-top: 8px !important;
    font-size: 12px !important;
    line-height: 1.4 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table-wrap {
    overflow-x: auto !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table {
    width: 100% !important;
    min-width: 980px !important;
    table-layout: fixed !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table th,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table td {
    padding: 8px 10px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-destination,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-note,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-hash {
    max-width: 220px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

@media (max-width: 1099px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-topbar,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-topbar {
        flex-wrap: wrap !important;
        align-items: flex-start !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-panel-actions,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-panel-actions {
        width: 100% !important;
        justify-content: flex-start !important;
        flex-wrap: wrap !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-wallet-main-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-compact-layout,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-box {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-wallet-clean-layout .bb-theme-metric-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-list {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table {
        min-width: 900px !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-destination,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-note,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-hash {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
    }
}

/* BUYBITCOIN UX FINAL - LOGIN AND REGISTER */
body.woocommerce-account:not(.logged-in).bb-theme-account-ui .wc-container {
    width: min(1240px, calc(100% - 32px)) !important;
    max-width: 1240px !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce {
    display: block !important;
    width: 100% !important;
    overflow: visible !important;
    border-radius: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce::before,
body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce::after,
body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login::before,
body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login::after {
    content: none !important;
    display: none !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 24px !important;
    width: 100% !important;
    max-width: 1120px !important;
    margin: clamp(24px, 4vw, 42px) auto !important;
    padding: 0 !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    justify-content: stretch !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login :is(.col-1, .u-column1, .col-2, .u-column2) {
    width: 100% !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login > div {
    display: grid !important;
    gap: 16px !important;
    min-width: 0 !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login > div > h2 {
    margin: 0 !important;
    color: #f7fffd !important;
    font-size: clamp(28px, 3vw, 34px) !important;
    letter-spacing: -0.03em !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-form-login, .woocommerce-form-register) {
    padding: 24px !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(9, 28, 35, 0.94), rgba(6, 20, 25, 0.92)) !important;
    border: 1px solid rgba(107, 226, 193, 0.18) !important;
    box-shadow: 0 22px 48px rgba(2, 12, 20, 0.28) !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-form-login, .woocommerce-form-register) p {
    margin-bottom: 14px !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-form-login, .woocommerce-form-register) label {
    font-size: 13px !important;
    font-weight: 700 !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-form-login__rememberme {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-form-login .form-row:last-child,
body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-form-register .form-row:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit) {
    min-height: 46px !important;
    padding: 0 18px !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-LostPassword {
    margin: 0 !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-LostPassword a, .woocommerce-privacy-policy-text a) {
    color: #9be8d3 !important;
}

body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-privacy-policy-text,
body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login .u-column2 > p {
    color: rgba(227, 245, 240, 0.74) !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
}

@media (max-width: 900px) {
    body.woocommerce-account:not(.logged-in).bb-theme-account-ui #customer_login {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-account:not(.logged-in).bb-theme-account-ui .wc-container {
        width: calc(100% - 20px) !important;
    }

    body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-form-login, .woocommerce-form-register) {
        padding: 20px !important;
    }

    body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-form-login .form-row:last-child,
    body.woocommerce-account:not(.logged-in).bb-theme-account-ui .woocommerce-form-register .form-row:last-child {
        align-items: stretch !important;
    }

    body.woocommerce-account:not(.logged-in).bb-theme-account-ui :is(.woocommerce-form-login__submit, .woocommerce-form-register__submit) {
        width: 100% !important;
    }
}


/* ============================================================
   BUYBITCOIN CHECKOUT WIDTH NEUTRALIZER FINAL
   Corrige overrides viejos de My Account que pisaban checkout/cart
   ============================================================ */

body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .bb-woo-shell,
body.woocommerce-cart .bb-woo-shell > .container,
body.woocommerce-cart .wc-container,
body.woocommerce-cart .site,
body.woocommerce-cart .site-content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart main,
body.woocommerce-cart article,
body.woocommerce-cart .entry-content,
body.woocommerce-cart .woocommerce {
    width: min(1200px, calc(100% - 32px)) !important;
    max-width: 1200px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
    width: 100% !important;
    max-width: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, .92fr) !important;
    gap: 24px !important;
    align-items: start !important;
}

body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    min-width: 0 !important;
}

body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    min-width: 0 !important;
}

body.woocommerce-checkout #order_review {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    overflow: visible !important;
}

body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left {
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
}

body.woocommerce-cart .woocommerce {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px) !important;
    gap: 24px !important;
    align-items: start !important;
}

body.woocommerce-cart .woocommerce-cart-form {
    grid-column: 1 !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-cart .cart-collaterals {
    grid-column: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-cart .cart_totals {
    width: 100% !important;
    max-width: 380px !important;
    margin: 0 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
    min-height: 48px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: normal !important;
    word-break: normal !important;
    line-height: 1.2 !important;
    text-align: center !important;
}

@media (max-width: 1099px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout,
    body.woocommerce-cart .woocommerce {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review,
    body.woocommerce-cart .woocommerce-cart-form,
    body.woocommerce-cart .cart-collaterals {
        grid-column: auto !important;
    }

    body.woocommerce-checkout #order_review {
        position: static !important;
    }

    body.woocommerce-cart .cart_totals {
        max-width: none !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-checkout .bb-woo-shell,
    body.woocommerce-checkout .bb-woo-shell > .container,
    body.woocommerce-checkout .wc-container,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-cart .bb-woo-shell,
    body.woocommerce-cart .bb-woo-shell > .container,
    body.woocommerce-cart .wc-container,
    body.woocommerce-cart .woocommerce {
        width: min(100%, calc(100% - 20px)) !important;
    }
}

/* BUYBITCOIN CART CHECKOUT REBUILD FROM MY ACCOUNT PATTERN */
body.woocommerce-cart,
body.woocommerce-checkout {
    --bb-woo-shell-width: min(1240px, calc(100% - 32px));
    --bb-woo-gap: 24px;
    --bb-woo-card-pad: 24px;
    --bb-woo-card-radius: 22px;
    --bb-woo-card-bg: linear-gradient(180deg, rgba(8, 23, 29, 0.97) 0%, rgba(16, 38, 44, 0.95) 100%);
    --bb-woo-card-border: 1px solid rgba(42, 157, 143, 0.18);
    --bb-woo-card-shadow: 0 22px 48px rgba(2, 6, 23, 0.26);
    --bb-woo-soft-text: rgba(226, 232, 240, 0.76);
    --bb-woo-input-bg: rgba(248, 250, 252, 0.98);
    --bb-woo-input-border: rgba(215, 222, 230, 0.92);
    --bb-woo-inner-surface: rgba(255, 255, 255, 0.04);
}

body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .site,
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .content-area,
body.woocommerce-checkout .site-main,
body.woocommerce-checkout main,
body.woocommerce-checkout article,
body.woocommerce-checkout .entry-content,
body.woocommerce-checkout .woocommerce,
body.woocommerce-cart .bb-woo-shell,
body.woocommerce-cart .bb-woo-shell > .container,
body.woocommerce-cart .wc-container,
body.woocommerce-cart .woocommerce {
    width: var(--bb-woo-shell-width) !important;
    max-width: 1240px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    overflow: visible !important;
}

body.woocommerce-checkout .woocommerce {
    display: grid !important;
    gap: var(--bb-woo-gap) !important;
    padding: clamp(28px, 4vw, 44px) 0 72px !important;
    background: transparent !important;
    row-gap: 18px !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 16px 20px !important;
    border-radius: 18px !important;
    background: rgba(12, 42, 51, 0.72) !important;
    border: 1px solid rgba(42, 157, 143, 0.18) !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
    color: #5eead4 !important;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 12px !important;
    align-items: end !important;
    margin: 0 !important;
    padding: 18px 20px !important;
    border-radius: 18px !important;
    background: rgba(12, 42, 51, 0.72) !important;
    border: 1px solid rgba(42, 157, 143, 0.18) !important;
    box-shadow: none !important;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon :is(.form-row-first, .form-row-last) {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .button {
    min-height: 48px !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 400px) !important;
    grid-template-rows: auto auto !important;
    column-gap: var(--bb-woo-gap) !important;
    row-gap: 18px !important;
    align-items: start !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    width: 100% !important;
    float: none !important;
    min-width: 0 !important;
}

body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    display: grid !important;
    gap: 18px !important;
}

body.woocommerce-checkout #customer_details :is(.col-1, .col-2) {
    float: none !important;
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: var(--bb-woo-card-pad) !important;
    border-radius: var(--bb-woo-card-radius) !important;
    background: var(--bb-woo-card-bg) !important;
    border: var(--bb-woo-card-border) !important;
    box-shadow: var(--bb-woo-card-shadow) !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields, .woocommerce-shipping-fields, .woocommerce-additional-fields) {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout :is(.woocommerce-billing-fields > h3, .woocommerce-shipping-fields > h3, .woocommerce-additional-fields > h3) {
    margin: 0 0 18px !important;
    color: #f8fafc !important;
    font-size: 1.05rem !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    gap: 14px 16px !important;
}

body.woocommerce-checkout :is(.form-row, .woocommerce-form-row, .form-row-first, .form-row-last, .woocommerce-form-row-first, .woocommerce-form-row-last) {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-checkout .form-row label {
    display: block !important;
    margin-bottom: 8px !important;
    color: var(--bb-woo-soft-text) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
}

body.woocommerce-checkout .woocommerce form .form-row :is(input.input-text, select, textarea),
body.woocommerce-checkout .select2-container .select2-selection--single {
    width: 100% !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
    border: 1px solid var(--bb-woo-input-border) !important;
    background: var(--bb-woo-input-bg) !important;
    color: #0f172a !important;
    box-shadow: none !important;
}

body.woocommerce-checkout .woocommerce form .form-row textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    margin: 0 !important;
    padding: 20px 24px 0 !important;
    color: #f8fafc !important;
    font-size: clamp(24px, 2.4vw, 32px) !important;
    line-height: 1.05 !important;
    border-radius: var(--bb-woo-card-radius) var(--bb-woo-card-radius) 0 0 !important;
    background: var(--bb-woo-card-bg) !important;
    border: var(--bb-woo-card-border) !important;
    border-bottom: 0 !important;
    box-shadow: var(--bb-woo-card-shadow) !important;
    align-self: end !important;
    z-index: 1 !important;
}

body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    min-width: 0 !important;
    margin: -18px 0 0 !important;
    padding: 20px 24px 24px !important;
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    overflow: visible !important;
    border-radius: 0 0 var(--bb-woo-card-radius) var(--bb-woo-card-radius) !important;
    background: var(--bb-woo-card-bg) !important;
    border: var(--bb-woo-card-border) !important;
    border-top: 0 !important;
    box-shadow: var(--bb-woo-card-shadow) !important;
}

body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse !important;
    border-spacing: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

body.woocommerce-checkout #order_review table.shop_table :is(th, td) {
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16) !important;
    background: transparent !important;
    color: #f8fafc !important;
    font-size: 14px !important;
}

body.woocommerce-checkout #order_review table.shop_table thead th {
    color: var(--bb-woo-soft-text) !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name {
    padding-right: 16px !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .product-total,
body.woocommerce-checkout .woocommerce-checkout-review-order-table tfoot td {
    text-align: right !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout #payment {
    margin-top: 20px !important;
    padding: 18px !important;
    border-radius: 18px !important;
    background: var(--bb-woo-inner-surface) !important;
    border: 1px solid rgba(148, 163, 184, 0.16) !important;
    overflow: visible !important;
}

body.woocommerce-checkout #payment ul.payment_methods {
    margin: 0 0 14px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li {
    margin: 0 !important;
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14) !important;
}

body.woocommerce-checkout #payment ul.payment_methods li:last-child {
    border-bottom: 0 !important;
}

body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .payment_box.payment_method_wc_unblock_cb {
    width: 100% !important;
    margin: 12px 0 0 !important;
    padding: 12px 0 0 !important;
    background: transparent !important;
    overflow: visible !important;
}

body.woocommerce-checkout #payment .payment_method_wc_unblock_cb label,
body.woocommerce-checkout #payment ul.payment_methods label {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #f8fafc !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
}

body.woocommerce-checkout #payment :is(.ub-payment-container, .ub-form-container, .ub-form-left, .wc-payment-form, .ub-tab-content-card, .ub-step-content) {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow: visible !important;
}

body.woocommerce-checkout #payment .ub-form-left {
    padding: 16px !important;
    border-radius: 18px !important;
}

body.woocommerce-checkout #payment .place-order {
    padding-top: 18px !important;
}

body.woocommerce-checkout #payment :is(.place-order .button, #place_order) {
    float: none !important;
    display: flex !important;
    width: 100% !important;
    min-height: 52px !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (min-width: 768px) {
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.woocommerce-checkout :is(.woocommerce-billing-fields__field-wrapper, .woocommerce-shipping-fields__field-wrapper, .woocommerce-additional-fields__field-wrapper) :is(.form-row-wide, .woocommerce-form-row--wide) {
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 1099px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    body.woocommerce-checkout #order_review {
        position: static !important;
    }
}

@media (max-width: 767px) {
    body.woocommerce-checkout .bb-woo-shell,
    body.woocommerce-checkout .bb-woo-shell > .container,
    body.woocommerce-checkout .wc-container,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-cart .bb-woo-shell,
    body.woocommerce-cart .bb-woo-shell > .container,
    body.woocommerce-cart .wc-container,
    body.woocommerce-cart .woocommerce {
        width: min(1240px, calc(100% - 20px)) !important;
    }

    body.woocommerce-checkout #customer_details :is(.col-1, .col-2),
    body.woocommerce-checkout #order_review {
        padding: 20px !important;
    }

    body.woocommerce-checkout #order_review_heading {
        padding: 18px 20px 0 !important;
    }

    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon,
    body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
        grid-template-columns: 1fr !important;
    }
}

body.woocommerce-cart,
body.woocommerce-checkout {
    overflow-x: hidden;
}

body.woocommerce-checkout .select2-hidden-accessible {
    left: 0 !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
}

/* BUYBITCOIN WITHDRAWALS COMPACT REBUILD */
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page {
    gap: 16px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-card {
    min-height: 0 !important;
    gap: 6px !important;
    padding: 12px 14px !important;
    border-radius: 16px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-label {
    font-size: 10px !important;
    line-height: 1.15 !important;
    letter-spacing: 0.08em !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-value {
    font-size: 22px !important;
    line-height: 1.08 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-note {
    display: none !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-layout {
    display: grid !important;
    grid-template-columns: minmax(390px, 1.25fr) minmax(300px, 0.9fr) minmax(280px, 0.75fr) !important;
    gap: 16px !important;
    align-items: start !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balances-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-history {
    min-width: 0 !important;
    margin-top: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balances-card,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card {
    padding: 16px !important;
    border-radius: 20px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-history {
    padding: 16px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-card-head {
    margin-bottom: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-card-head h3 {
    margin: 0 !important;
    font-size: 17px !important;
    line-height: 1.18 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form {
    display: grid !important;
    gap: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
    align-items: start !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
    display: grid !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-grid {
    grid-template-columns: 1fr !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-field {
    gap: 6px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-field > span {
    font-size: 10px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: rgba(226, 232, 240, 0.74) !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form :is(input, select, textarea),
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form :is(input, select, textarea) {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form textarea[name="destination_address"] {
    min-height: 90px !important;
    max-height: 90px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form textarea[name="user_note"] {
    min-height: 70px !important;
    max-height: 70px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form textarea[name="profile_wallet_address"] {
    min-height: 84px !important;
    max-height: 96px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balance-box {
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balance-box strong {
    font-size: 13px !important;
    line-height: 1.35 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-percentages button {
    min-height: 34px !important;
    padding: 0 10px !important;
    border-radius: 999px !important;
    font-size: 11px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-box {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row {
    align-content: start !important;
    gap: 4px !important;
    min-height: 0 !important;
    padding: 10px 12px !important;
    border-radius: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row span {
    font-size: 10px !important;
    line-height: 1.25 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-row strong {
    font-size: 13px !important;
    line-height: 1.35 !important;
    overflow-wrap: anywhere !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-mode {
    gap: 6px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-choice {
    padding: 8px 10px !important;
    border-radius: 999px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-choice span,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox span {
    font-size: 12px !important;
    line-height: 1.35 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-helper {
    font-size: 12px !important;
    line-height: 1.4 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-submit,
html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form > .button {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-asset {
    padding: 14px !important;
    border-radius: 18px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-asset .bb-theme-wallet-head {
    margin-bottom: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-asset .bb-theme-wallet-balance {
    font-size: clamp(18px, 1.45vw, 22px) !important;
    line-height: 1.12 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-asset .bb-theme-wallet-meta {
    gap: 6px !important;
    padding-top: 8px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card {
    padding: 16px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form > .bb-theme-withdrawal-checkbox {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 8px !important;
    margin: 0 !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form > .bb-theme-withdrawal-checkbox input {
    margin-top: 2px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-list {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    margin-top: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-item {
    padding: 12px !important;
    border-radius: 14px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-item code {
    margin-top: 8px !important;
    font-size: 11px !important;
    line-height: 1.4 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-empty {
    padding: 14px !important;
    border-radius: 16px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-history .bb-theme-card-head {
    margin-bottom: 12px !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table-wrap {
    overflow-x: auto !important;
}

html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-table {
    min-width: 920px !important;
}

@media (max-width: 1199px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-layout {
        grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.85fr) !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card {
        grid-column: 1 / -1 !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-box {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 900px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-layout,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-grid {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card {
        grid-column: auto !important;
    }
}

@media (max-width: 767px) {
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawals-page .bb-theme-metric-grid,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-fee-box,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-assets,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-saved-list {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form-card,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-balances-card,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-card,
    html body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-history {
        padding: 14px !important;
    }
}

/* BUYBITCOIN MY ACCOUNT CHECKBOX RADIO FINAL FIX */
body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(input[type="checkbox"], input[type="radio"], .woocommerce-form__input-checkbox, .input-checkbox),
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form :is(input[type="checkbox"], input[type="radio"]),
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form :is(input[type="checkbox"], input[type="radio"]),
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox input,
body.woocommerce-account.bb-theme-account-ui .bb-theme-choice input,
body.woocommerce-cart :is(input[type="checkbox"], input[type="radio"], .woocommerce-form__input-checkbox, .input-checkbox),
body.woocommerce-checkout :is(input[type="checkbox"], input[type="radio"], .woocommerce-form__input-checkbox, .input-checkbox) {
    appearance: auto !important;
    -webkit-appearance: auto !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    max-width: 16px !important;
    min-height: 16px !important;
    max-height: 16px !important;
    flex: 0 0 16px !important;
    display: inline-block !important;
    float: none !important;
    padding: 0 !important;
    margin: 2px 8px 0 0 !important;
    border-radius: 3px !important;
    background: initial !important;
    background-color: initial !important;
    box-shadow: none !important;
    cursor: pointer !important;
    vertical-align: top !important;
    align-self: flex-start !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(input[type="radio"], .input-radio),
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-form input[type="radio"],
body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form input[type="radio"],
body.woocommerce-account.bb-theme-account-ui .bb-theme-choice input[type="radio"],
body.woocommerce-cart :is(input[type="radio"], .input-radio),
body.woocommerce-checkout :is(input[type="radio"], .input-radio) {
    border-radius: 50% !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content label:has(input[type="checkbox"]),
body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content label:has(input[type="radio"]),
body.woocommerce-cart label:has(input[type="checkbox"]),
body.woocommerce-cart label:has(input[type="radio"]),
body.woocommerce-checkout label:has(input[type="checkbox"]),
body.woocommerce-checkout label:has(input[type="radio"]) {
    display: inline-flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    white-space: normal !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content label:has(input[type="checkbox"]) input,
body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content label:has(input[type="radio"]) input,
body.woocommerce-cart label:has(input[type="checkbox"]) input,
body.woocommerce-cart label:has(input[type="radio"]) input,
body.woocommerce-checkout label:has(input[type="checkbox"]) input,
body.woocommerce-checkout label:has(input[type="radio"]) input {
    margin-right: 0 !important;
}

body.woocommerce-account.bb-theme-account-ui .woocommerce-MyAccount-content :is(input[type="checkbox"], input[type="radio"], .woocommerce-form__input-checkbox, .input-checkbox) + label,
body.woocommerce-cart :is(input[type="checkbox"], input[type="radio"], .woocommerce-form__input-checkbox, .input-checkbox) + label,
body.woocommerce-checkout :is(input[type="checkbox"], input[type="radio"], .woocommerce-form__input-checkbox, .input-checkbox) + label {
    display: inline-flex !important;
    align-items: flex-start !important;
    margin: 0 !important;
    line-height: 1.35 !important;
    vertical-align: top !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox,
body.woocommerce-account.bb-theme-account-ui .bb-theme-choice {
    display: flex !important;
    align-items: flex-start !important;
    gap: 8px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-profile-form > .bb-theme-withdrawal-checkbox {
    display: grid !important;
    grid-template-columns: 16px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 8px !important;
}

body.woocommerce-account.bb-theme-account-ui .bb-theme-withdrawal-checkbox span,
body.woocommerce-account.bb-theme-account-ui .bb-theme-choice span {
    font-size: 12px !important;
    line-height: 1.35 !important;
}


/* ============================================================
   BUYBITCOIN CHECKOUT CLEAN MANUAL FIX
   Un solo layout seguro: billing arriba, order abajo, payment abajo
   No usa sticky, no usa overlay, no pisa lógica de Woo/Bridge
   ============================================================ */

body.woocommerce-checkout {
    overflow-x: hidden !important;
}

body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .woocommerce {
    width: min(1080px, calc(100vw - 40px)) !important;
    max-width: 1080px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

/* Nada de dos columnas en checkout por ahora: primero estable */
body.woocommerce-checkout form.checkout.woocommerce-checkout {
    display: flex !important;
    flex-direction: column !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    position: static !important;
    overflow: visible !important;
}

/* Cada bloque separado: no montarse nunca */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    z-index: auto !important;
    overflow: visible !important;
}

/* Billing compacto, no formulario gigante */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    width: 100% !important;
    max-width: 100% !important;
    padding: 18px !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.98) !important;
    overflow: visible !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
}

body.woocommerce-checkout .form-row {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .05em !important;
    text-transform: uppercase !important;
}

body.woocommerce-checkout :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    width: 100% !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 12px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    line-height: 1.3 !important;
}

/* Checks/radios normales */
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 2px 8px 0 0 !important;
    appearance: auto !important;
}

/* Order review separado, sin montarse */
body.woocommerce-checkout #order_review_heading {
    margin: 0 !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 18px !important;
    line-height: 1.2 !important;
}

body.woocommerce-checkout #order_review {
    padding: 18px !important;
    border-radius: 20px !important;
    background: rgba(3, 23, 28, .82) !important;
    border: 1px solid rgba(45,212,191,.14) !important;
}

body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    margin: 0 0 16px !important;
    table-layout: auto !important;
}

/* Bridge/payment ancho y debajo */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left,
body.woocommerce-checkout #payment .ub-form-right {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    position: static !important;
    transform: none !important;
    inset: auto !important;
    overflow: visible !important;
    float: none !important;
}

body.woocommerce-checkout #payment .payment_box {
    margin: 16px 0 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout #payment .place-order .button {
    width: 100% !important;
    min-height: 48px !important;
}

/* Cupón */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
    width: 100% !important;
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-checkout form.checkout_coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
}

body.woocommerce-checkout form.checkout_coupon .form-row {
    margin: 0 !important;
}

/* Mobile/tablet */
@media (max-width: 900px) {
    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-checkout form.checkout_coupon {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT WIDE 2 COLUMN FINAL
   Desktop: usa ancho de pantalla, billing izquierda, order/payment derecha
   Mobile/tablet: 1 columna segura
   ============================================================ */

body.woocommerce-checkout {
    overflow-x: hidden !important;
}

/* Contenedor ancho real */
body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .woocommerce {
    width: min(1480px, calc(100vw - 36px)) !important;
    max-width: 1480px !important;
    min-width: 0 !important;
    margin: 0 auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

/* Cupón full width arriba */
body.woocommerce-checkout .woocommerce-form-coupon-toggle,
body.woocommerce-checkout form.checkout_coupon {
    width: min(1480px, calc(100vw - 36px)) !important;
    max-width: 1480px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    min-height: 52px !important;
    padding: 13px 18px !important;
    border-radius: 18px !important;
    background: rgba(15, 86, 94, .78) !important;
    border: 1px solid rgba(45, 212, 191, .20) !important;
    color: #fff !important;
}

body.woocommerce-checkout form.checkout_coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
    padding: 14px !important;
    border-radius: 18px !important;
    background: rgba(3, 23, 28, .72) !important;
}

/* Layout principal desktop */
@media (min-width: 1100px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr) !important;
        grid-template-areas:
            "billing ordertitle"
            "billing orderbox" !important;
        gap: 22px !important;
        align-items: start !important;
        width: min(1480px, calc(100vw - 36px)) !important;
        max-width: 1480px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        position: static !important;
        overflow: visible !important;
    }

    body.woocommerce-checkout #customer_details {
        grid-area: billing !important;
    }

    body.woocommerce-checkout #order_review_heading {
        grid-area: ordertitle !important;
    }

    body.woocommerce-checkout #order_review {
        grid-area: orderbox !important;
    }
}

/* Bloques sin floats ni montajes */
body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review_heading,
body.woocommerce-checkout #order_review {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    z-index: auto !important;
    overflow: visible !important;
}

/* Billing card */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    padding: 18px !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.98) !important;
    border: 1px solid rgba(226,232,240,.95) !important;
    box-shadow: 0 18px 38px rgba(2, 8, 23, .12) !important;
    overflow: visible !important;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    margin: 0 0 14px !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    color: #0f172a !important;
}

/* Campos más limpios */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px 14px !important;
}

body.woocommerce-checkout .form-row {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

body.woocommerce-checkout label {
    display: block !important;
    margin-bottom: 6px !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .055em !important;
    text-transform: uppercase !important;
    color: rgba(15, 23, 42, .62) !important;
}

body.woocommerce-checkout :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], select, textarea) {
    width: 100% !important;
    min-height: 42px !important;
    padding: 10px 12px !important;
    border-radius: 13px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    background: rgba(248,250,252,.96) !important;
}

/* Checks/radios normales */
body.woocommerce-checkout input[type="checkbox"],
body.woocommerce-checkout input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 2px 8px 0 0 !important;
    appearance: auto !important;
}

/* Columna derecha */
body.woocommerce-checkout #order_review_heading {
    margin: 0 !important;
    padding: 0 2px !important;
    color: #ffffff !important;
    font-size: 22px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
}

body.woocommerce-checkout #order_review {
    padding: 16px !important;
    border-radius: 22px !important;
    background: rgba(3, 23, 28, .88) !important;
    border: 1px solid rgba(45,212,191,.16) !important;
    box-shadow: 0 22px 44px rgba(2, 8, 23, .20) !important;
}

/* Tabla de orden compacta */
body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    margin: 0 0 14px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    table-layout: auto !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    padding: 11px 12px !important;
    font-size: 12px !important;
    line-height: 1.35 !important;
    vertical-align: middle !important;
}

/* Bridge/payment limpio dentro de la columna derecha */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left,
body.woocommerce-checkout #payment .ub-form-right {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    clear: both !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    overflow: visible !important;
}

body.woocommerce-checkout #payment {
    border-radius: 18px !important;
    background: rgba(255,255,255,.98) !important;
    padding: 14px !important;
    margin: 0 !important;
}

body.woocommerce-checkout #payment .payment_box {
    margin: 12px 0 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout #payment .place-order .button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 999px !important;
}

/* Bridge más contenido para que no parezca modal gigante */
body.woocommerce-checkout #payment .ub-payment-container {
    border-radius: 18px !important;
}

body.woocommerce-checkout #payment .ub-form-container {
    padding: 14px !important;
}

/* Tablet y mobile: una columna segura */
@media (max-width: 1099px) {
    body.woocommerce-checkout .bb-woo-shell,
    body.woocommerce-checkout .bb-woo-shell > .container,
    body.woocommerce-checkout .wc-container,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout form.checkout.woocommerce-checkout,
    body.woocommerce-checkout .woocommerce-form-coupon-toggle,
    body.woocommerce-checkout form.checkout_coupon {
        width: min(720px, calc(100vw - 24px)) !important;
        max-width: 720px !important;
    }

    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
    body.woocommerce-checkout form.checkout_coupon {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT VISUAL POLISH
   Ajuste fino visual: centrado, títulos, contraste y legibilidad
   ============================================================ */

/* ===== Contenedor general ===== */
body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .woocommerce,
body.woocommerce-checkout form.checkout.woocommerce-checkout {
    width: min(1460px, calc(100vw - 40px)) !important;
    max-width: 1460px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

@media (min-width: 1100px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.06fr) minmax(440px, 0.94fr) !important;
        gap: 26px !important;
        align-items: start !important;
    }
}

/* ===== Columna izquierda: Billing ===== */
body.woocommerce-checkout #customer_details {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
}

body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    background: #f8fafc !important;
    border: 1px solid rgba(203,213,225,.95) !important;
    border-radius: 22px !important;
    padding: 20px !important;
    box-shadow: 0 18px 38px rgba(2, 8, 23, .10) !important;
    overflow: visible !important;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3,
body.woocommerce-checkout #customer_details h3 {
    margin: 0 0 16px !important;
    padding: 0 !important;
    color: #0f172a !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -.01em !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

/* ===== Grid interno de campos ===== */
body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 16px !important;
}

body.woocommerce-checkout .form-row {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

body.woocommerce-checkout .form-row-wide,
body.woocommerce-checkout #billing_company_field,
body.woocommerce-checkout #billing_country_field,
body.woocommerce-checkout #billing_address_1_field,
body.woocommerce-checkout #billing_address_2_field,
body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

/* ===== Labels mejor contraste ===== */
body.woocommerce-checkout label {
    display: block !important;
    margin-bottom: 7px !important;
    color: #334155 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .055em !important;
    line-height: 1.2 !important;
}

/* ===== Inputs mejor contraste ===== */
body.woocommerce-checkout :is(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea
) {
    width: 100% !important;
    min-height: 46px !important;
    padding: 11px 14px !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

body.woocommerce-checkout textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

body.woocommerce-checkout :is(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea
)::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

body.woocommerce-checkout :is(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    select,
    textarea
):focus {
    border-color: #14b8a6 !important;
    box-shadow: 0 0 0 4px rgba(20,184,166,.14) !important;
    outline: none !important;
}

/* ===== Columna derecha ===== */
body.woocommerce-checkout #order_review_heading {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: 900 !important;
    line-height: 1.08 !important;
    letter-spacing: -.02em !important;
    text-align: left !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    position: static !important;
}

body.woocommerce-checkout #order_review_heading::before,
body.woocommerce-checkout #order_review_heading::after {
    display: none !important;
    content: none !important;
}

body.woocommerce-checkout #order_review {
    background: rgba(3, 23, 28, .90) !important;
    border: 1px solid rgba(45,212,191,.16) !important;
    border-radius: 22px !important;
    padding: 16px !important;
    box-shadow: 0 18px 40px rgba(2, 8, 23, .18) !important;
    overflow: visible !important;
}

/* ===== Tabla de resumen ===== */
body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    margin: 0 0 16px !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    background: rgba(0,0,0,.12) !important;
}

body.woocommerce-checkout #order_review table.shop_table th {
    color: rgba(255,255,255,.88) !important;
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: .05em !important;
    font-weight: 800 !important;
    padding: 12px 14px !important;
    background: rgba(20,184,166,.16) !important;
}

body.woocommerce-checkout #order_review table.shop_table td {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    padding: 12px 14px !important;
    border-color: rgba(255,255,255,.08) !important;
}

/* ===== Payment / Bridge ===== */
body.woocommerce-checkout #payment {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 14px !important;
    border: 1px solid rgba(226,232,240,.95) !important;
}

body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left,
body.woocommerce-checkout #payment .ub-form-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    float: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    overflow: visible !important;
}

/* ===== Cupón más limpio ===== */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    color: #ffffff !important;
    font-size: 14px !important;
}

body.woocommerce-checkout form.checkout_coupon {
    background: rgba(3,23,28,.72) !important;
    border-radius: 18px !important;
    padding: 14px !important;
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
}

body.woocommerce-checkout form.checkout_coupon .button,
body.woocommerce-checkout .button,
body.woocommerce-checkout button.button,
body.woocommerce-checkout input.button {
    min-height: 46px !important;
    border-radius: 999px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

/* ===== Responsive ===== */
@media (max-width: 1099px) {
    body.woocommerce-checkout .bb-woo-shell,
    body.woocommerce-checkout .bb-woo-shell > .container,
    body.woocommerce-checkout .wc-container,
    body.woocommerce-checkout .woocommerce,
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        width: min(760px, calc(100vw - 24px)) !important;
        max-width: 760px !important;
    }

    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
    body.woocommerce-checkout form.checkout_coupon {
        grid-template-columns: 1fr !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT CENTER + GATEWAY TIGHTEN
   Centrar layout y quitar espacio vacío de la pasarela
   ============================================================ */

/* --- ancho y centrado real del checkout --- */
body.woocommerce-checkout .bb-woo-shell,
body.woocommerce-checkout .bb-woo-shell > .container,
body.woocommerce-checkout .wc-container,
body.woocommerce-checkout .woocommerce {
    width: min(1380px, calc(100vw - 40px)) !important;
    max-width: 1380px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- dos columnas desktop más equilibradas --- */
@media (min-width: 1100px) {
    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr) !important;
        gap: 24px !important;
        align-items: start !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
    }

    body.woocommerce-checkout #customer_details,
    body.woocommerce-checkout #order_review_heading,
    body.woocommerce-checkout #order_review {
        width: 100% !important;
        max-width: 100% !important;
        justify-self: stretch !important;
        align-self: start !important;
    }
}

/* --- título Your order limpio --- */
body.woocommerce-checkout #order_review_heading {
    display: block !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    letter-spacing: -.01em !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    text-align: left !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

body.woocommerce-checkout #order_review_heading::before,
body.woocommerce-checkout #order_review_heading::after {
    display: none !important;
    content: none !important;
}

/* --- card derecha más compacta --- */
body.woocommerce-checkout #order_review {
    background: rgba(3, 23, 28, .88) !important;
    border: 1px solid rgba(45, 212, 191, .16) !important;
    border-radius: 20px !important;
    padding: 14px !important;
    box-shadow: 0 14px 30px rgba(2, 8, 23, .14) !important;
    overflow: visible !important;
}

/* --- tabla de resumen arriba compacta --- */
body.woocommerce-checkout #order_review table.shop_table {
    margin: 0 0 12px !important;
}

/* --- bloque payment general --- */
body.woocommerce-checkout #payment {
    background: #ffffff !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 16px !important;
    padding: 10px !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* métodos de pago arriba más compactos */
body.woocommerce-checkout #payment ul.payment_methods {
    margin: 0 0 8px !important;
    padding: 0 !important;
    border: 0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods > li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* caja blanca interna del método */
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .payment_box.payment_method_wc_unblock_cb {
    margin: 8px 0 0 !important;
    padding: 10px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    min-height: 0 !important;
    height: auto !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Bridge / pasarela: quitar espacios exagerados */
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left,
body.woocommerce-checkout #payment .ub-form-right,
body.woocommerce-checkout #payment .ub-tabs-container {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 0 !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
}

/* si el widget mete wrappers con mucho aire */
body.woocommerce-checkout #payment .ub-payment-container > *,
body.woocommerce-checkout #payment .ub-form-container > * {
    max-width: 100% !important;
    min-height: 0 !important;
}

/* botón place order / CTA abajo */
body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout #payment .place-order .button {
    width: 100% !important;
    min-height: 46px !important;
    border-radius: 999px !important;
}

/* --- formulario izquierda visualmente alineado --- */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    padding: 18px !important;
    border-radius: 20px !important;
}

/* --- responsive --- */
@media (max-width: 1099px) {
    body.woocommerce-checkout .bb-woo-shell,
    body.woocommerce-checkout .bb-woo-shell > .container,
    body.woocommerce-checkout .wc-container,
    body.woocommerce-checkout .woocommerce {
        width: min(760px, calc(100vw - 24px)) !important;
        max-width: 760px !important;
    }

    body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT CENTERED FINAL OVERRIDE
   Checkout centrado, 2 columnas desktop, Bridge compacto
   ============================================================ */

html body.woocommerce-checkout {
    overflow-x: hidden !important;
    background: #214b57 !important;
}

/* Wrapper general centrado */
html body.woocommerce-checkout .bb-woo-shell,
html body.woocommerce-checkout .bb-woo-shell > .container,
html body.woocommerce-checkout .wc-container,
html body.woocommerce-checkout .woocommerce {
    width: min(1220px, calc(100vw - 48px)) !important;
    max-width: 1220px !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow: visible !important;
}

/* Cupón centrado y limpio */
html body.woocommerce-checkout .woocommerce-form-coupon-toggle,
html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-column: 1 / -1 !important;
}

html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    min-height: 54px !important;
    padding: 13px 18px !important;
    border-radius: 18px !important;
    background: rgba(13, 92, 99, .78) !important;
    border: 1px solid rgba(45, 212, 191, .22) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 14px !important;
    padding: 16px !important;
    border-radius: 18px !important;
    background: rgba(5, 25, 30, .55) !important;
    border: 1px solid rgba(45, 212, 191, .14) !important;
}

/* Layout principal: bien centrado y balanceado */
html body.woocommerce-checkout form.checkout.woocommerce-checkout {
    width: 100% !important;
    max-width: 1220px !important;
    margin: 26px auto 70px !important;
    padding: 0 !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr) !important;
    gap: 30px !important;
    align-items: start !important;
    position: static !important;
    overflow: visible !important;
}

/* Reset de bloques para que nada se monte */
html body.woocommerce-checkout #customer_details,
html body.woocommerce-checkout #order_review_heading,
html body.woocommerce-checkout #order_review,
html body.woocommerce-checkout #payment {
    float: none !important;
    clear: none !important;
    position: static !important;
    inset: auto !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

/* Columna izquierda */
html body.woocommerce-checkout #customer_details {
    grid-column: 1 !important;
    display: block !important;
}

/* Columna derecha */
html body.woocommerce-checkout #order_review_heading {
    grid-column: 2 !important;
    margin: 0 0 12px !important;
    padding: 0 0 0 4px !important;
    color: #ffffff !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 900 !important;
    letter-spacing: -0.03em !important;
    text-shadow: none !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

html body.woocommerce-checkout #order_review {
    grid-column: 2 !important;
    display: block !important;
}

/* Cards principales */
html body.woocommerce-checkout .woocommerce-billing-fields,
html body.woocommerce-checkout .woocommerce-shipping-fields,
html body.woocommerce-checkout .woocommerce-additional-fields,
html body.woocommerce-checkout #order_review {
    background: rgba(255, 255, 255, .98) !important;
    border: 1px solid rgba(226, 232, 240, .95) !important;
    border-radius: 22px !important;
    padding: 20px !important;
    box-shadow: 0 22px 42px rgba(0, 0, 0, .16) !important;
    color: #102025 !important;
}

/* Billing compacto pero legible */
html body.woocommerce-checkout .woocommerce-billing-fields > h3,
html body.woocommerce-checkout .woocommerce-shipping-fields > h3,
html body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    margin: 0 0 16px !important;
    color: #0f172a !important;
    font-size: 18px !important;
    line-height: 1.15 !important;
    font-weight: 900 !important;
}

/* Grid interno formulario */
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
html body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 13px 16px !important;
}

html body.woocommerce-checkout .form-row,
html body.woocommerce-checkout .woocommerce-form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

html body.woocommerce-checkout .form-row-wide,
html body.woocommerce-checkout #billing_company_field,
html body.woocommerce-checkout #billing_country_field,
html body.woocommerce-checkout #billing_address_1_field,
html body.woocommerce-checkout #billing_address_2_field,
html body.woocommerce-checkout #order_comments_field {
    grid-column: 1 / -1 !important;
}

/* Labels con contraste real */
html body.woocommerce-checkout label {
    color: #334155 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
    margin-bottom: 6px !important;
}

html body.woocommerce-checkout abbr.required {
    color: #dc2626 !important;
    text-decoration: none !important;
}

/* Inputs normales */
html body.woocommerce-checkout :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea) {
    width: 100% !important;
    min-height: 46px !important;
    height: auto !important;
    padding: 11px 14px !important;
    border-radius: 14px !important;
    border: 1px solid #cbd5e1 !important;
    background: #f8fafc !important;
    color: #0f172a !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    box-shadow: none !important;
}

html body.woocommerce-checkout textarea {
    min-height: 78px !important;
    resize: vertical !important;
}

html body.woocommerce-checkout :is(input, select, textarea):focus {
    border-color: #14b8a6 !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(20, 184, 166, .14) !important;
    outline: none !important;
}

/* Checkboxes/radios normales, no gigantes */
html body.woocommerce-checkout input[type="checkbox"],
html body.woocommerce-checkout input[type="radio"] {
    appearance: auto !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 2px 8px 0 0 !important;
    border-radius: 3px !important;
    box-shadow: none !important;
}

/* Tabla de orden */
html body.woocommerce-checkout #order_review table.shop_table {
    width: 100% !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    margin: 0 0 14px !important;
    background: #082426 !important;
    color: #ffffff !important;
    border-radius: 16px !important;
    overflow: hidden !important;
}

html body.woocommerce-checkout #order_review table.shop_table th,
html body.woocommerce-checkout #order_review table.shop_table td {
    padding: 12px 14px !important;
    color: #ffffff !important;
    border-color: rgba(255,255,255,.10) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

html body.woocommerce-checkout #order_review table.shop_table thead th {
    background: rgba(20, 184, 166, .22) !important;
    color: #d1fae5 !important;
    font-size: 11px !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
}

/* Payment card */
html body.woocommerce-checkout #payment {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 16px !important;
    margin-top: 14px !important;
    overflow: visible !important;
}

/* Bridge / pasarela compacta */
html body.woocommerce-checkout #payment div.payment_box,
html body.woocommerce-checkout #payment .payment_box.payment_method_wc_unblock_cb,
html body.woocommerce-checkout #payment .ub-payment-container,
html body.woocommerce-checkout #payment .ub-form-container,
html body.woocommerce-checkout #payment .ub-form-left,
html body.woocommerce-checkout #payment .ub-form-right {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: visible !important;
    transform: none !important;
}

html body.woocommerce-checkout #payment .payment_box {
    padding: 0 !important;
    margin: 10px 0 0 !important;
    background: transparent !important;
}

html body.woocommerce-checkout #payment .ub-payment-container {
    padding: 12px !important;
    border-radius: 16px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

html body.woocommerce-checkout #payment .ub-form-container {
    padding: 0 !important;
    gap: 10px !important;
}

/* Quitar aire exagerado del método */
html body.woocommerce-checkout #payment :is(.ub-payment-header, .ub-tabs-container, .ub-form-top, .ub-card-preview, .ub-method-header) {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
}

html body.woocommerce-checkout #payment :is(.ub-payment-container, .ub-form-container, .ub-card-form, .ub-form-left) > * {
    max-width: 100% !important;
}

/* Botón final */
html body.woocommerce-checkout #payment #place_order,
html body.woocommerce-checkout #payment .place-order .button {
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 999px !important;
    background: #14b8a6 !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
}

/* Separación final */
html body.woocommerce-checkout .place-order {
    margin-top: 14px !important;
    padding-top: 12px !important;
}

/* Tablet/mobile: una columna */
@media (max-width: 1099px) {
    html body.woocommerce-checkout .bb-woo-shell,
    html body.woocommerce-checkout .bb-woo-shell > .container,
    html body.woocommerce-checkout .wc-container,
    html body.woocommerce-checkout .woocommerce {
        width: min(760px, calc(100vw - 28px)) !important;
        max-width: 760px !important;
    }

    html body.woocommerce-checkout form.checkout.woocommerce-checkout {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    html body.woocommerce-checkout #customer_details,
    html body.woocommerce-checkout #order_review_heading,
    html body.woocommerce-checkout #order_review {
        grid-column: 1 / -1 !important;
    }

    html body.woocommerce-checkout #order_review_heading {
        margin-top: 4px !important;
    }
}

@media (max-width: 640px) {
    html body.woocommerce-checkout .bb-woo-shell,
    html body.woocommerce-checkout .bb-woo-shell > .container,
    html body.woocommerce-checkout .wc-container,
    html body.woocommerce-checkout .woocommerce {
        width: calc(100vw - 20px) !important;
    }

    html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
    html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
    html body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper,
    html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
        grid-template-columns: 1fr !important;
    }

    html body.woocommerce-checkout .woocommerce-billing-fields,
    html body.woocommerce-checkout .woocommerce-shipping-fields,
    html body.woocommerce-checkout .woocommerce-additional-fields,
    html body.woocommerce-checkout #order_review {
        padding: 15px !important;
        border-radius: 18px !important;
    }

    html body.woocommerce-checkout #order_review_heading {
        font-size: 22px !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT COMPACT HEIGHT
   Reduce altura general del checkout sin tocar lógica
   ============================================================ */

/* Menos espacio vertical general */
html body.woocommerce-checkout form.checkout.woocommerce-checkout {
    margin-top: 18px !important;
    margin-bottom: 44px !important;
    gap: 22px !important;
}

/* Cupón más bajo */
html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    min-height: 44px !important;
    padding: 10px 16px !important;
    border-radius: 15px !important;
}

html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    padding: 12px !important;
    gap: 10px !important;
    border-radius: 15px !important;
}

/* Cards menos altas */
html body.woocommerce-checkout .woocommerce-billing-fields,
html body.woocommerce-checkout .woocommerce-shipping-fields,
html body.woocommerce-checkout .woocommerce-additional-fields,
html body.woocommerce-checkout #order_review {
    padding: 16px !important;
    border-radius: 18px !important;
}

/* Títulos más compactos */
html body.woocommerce-checkout .woocommerce-billing-fields > h3,
html body.woocommerce-checkout .woocommerce-shipping-fields > h3,
html body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    margin-bottom: 11px !important;
    font-size: 16px !important;
}

html body.woocommerce-checkout #order_review_heading {
    margin-bottom: 8px !important;
    font-size: 23px !important;
}

/* Menos separación entre campos */
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
html body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    gap: 9px 14px !important;
}

/* Labels más bajos */
html body.woocommerce-checkout label {
    margin-bottom: 4px !important;
    font-size: 10px !important;
    line-height: 1.15 !important;
}

/* Inputs más compactos */
html body.woocommerce-checkout :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select, textarea) {
    min-height: 38px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

/* Textarea más bajo */
html body.woocommerce-checkout textarea {
    min-height: 58px !important;
}

/* Tabla del pedido más baja */
html body.woocommerce-checkout #order_review table.shop_table {
    margin-bottom: 10px !important;
    border-radius: 14px !important;
}

html body.woocommerce-checkout #order_review table.shop_table th,
html body.woocommerce-checkout #order_review table.shop_table td {
    padding: 9px 12px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

/* Payment / Bridge más compacto */
html body.woocommerce-checkout #payment {
    padding: 12px !important;
    margin-top: 10px !important;
    border-radius: 16px !important;
}

html body.woocommerce-checkout #payment .payment_box {
    margin-top: 6px !important;
}

html body.woocommerce-checkout #payment .ub-payment-container {
    padding: 8px !important;
    border-radius: 14px !important;
}

html body.woocommerce-checkout #payment :is(.ub-payment-header, .ub-tabs-container, .ub-form-top, .ub-card-preview, .ub-method-header) {
    margin-top: 0 !important;
    margin-bottom: 5px !important;
}

/* Inputs internos de Bridge más bajos */
html body.woocommerce-checkout #payment :is(input, select, textarea) {
    min-height: 38px !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Botón final menos alto */
html body.woocommerce-checkout #payment #place_order,
html body.woocommerce-checkout #payment .place-order .button {
    min-height: 42px !important;
    padding: 10px 18px !important;
}

/* Menos aire en place order */
html body.woocommerce-checkout .place-order {
    margin-top: 8px !important;
    padding-top: 8px !important;
}

/* Mobile también compacto */
@media (max-width: 640px) {
    html body.woocommerce-checkout form.checkout.woocommerce-checkout {
        margin-top: 14px !important;
        gap: 16px !important;
    }

    html body.woocommerce-checkout .woocommerce-billing-fields,
    html body.woocommerce-checkout .woocommerce-shipping-fields,
    html body.woocommerce-checkout .woocommerce-additional-fields,
    html body.woocommerce-checkout #order_review {
        padding: 13px !important;
    }

    html body.woocommerce-checkout #order_review_heading {
        font-size: 20px !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT LESS SCROLL FINAL
   Reduce altura total del checkout para evitar scroll gigante
   ============================================================ */

/* Menos aire global */
html body.woocommerce-checkout .bb-woo-shell {
    padding-top: 32px !important;
    padding-bottom: 36px !important;
}

html body.woocommerce-checkout .bb-woo-shell,
html body.woocommerce-checkout .bb-woo-shell > .container,
html body.woocommerce-checkout .wc-container,
html body.woocommerce-checkout .woocommerce {
    width: min(1180px, calc(100vw - 42px)) !important;
    max-width: 1180px !important;
}

/* Desktop: dos columnas balanceadas y más bajas */
@media (min-width: 1000px) {
    html body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: minmax(0, 1.02fr) minmax(390px, .88fr) !important;
        gap: 20px !important;
        align-items: start !important;
        margin-top: 14px !important;
        margin-bottom: 28px !important;
    }

    html body.woocommerce-checkout #customer_details {
        grid-column: 1 !important;
    }

    html body.woocommerce-checkout #order_review_heading,
    html body.woocommerce-checkout #order_review {
        grid-column: 2 !important;
    }

    html body.woocommerce-checkout #order_review {
        position: static !important;
    }
}

/* Cupón compacto */
html body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin: 0 auto 12px !important;
    max-width: 980px !important;
}

html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    min-height: 38px !important;
    padding: 8px 14px !important;
    border-radius: 14px !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
}

/* Form cupón compacto */
html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    max-width: 980px !important;
    margin: 0 auto 14px !important;
    padding: 10px !important;
    gap: 8px !important;
    border-radius: 14px !important;
}

html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input {
    min-height: 36px !important;
}

html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button {
    min-height: 36px !important;
    padding: 8px 14px !important;
}

/* Cards principales más bajas */
html body.woocommerce-checkout .woocommerce-billing-fields,
html body.woocommerce-checkout .woocommerce-shipping-fields,
html body.woocommerce-checkout .woocommerce-additional-fields,
html body.woocommerce-checkout #order_review,
html body.woocommerce-checkout #payment {
    padding: 13px !important;
    border-radius: 16px !important;
}

/* Billing sin altura innecesaria */
html body.woocommerce-checkout .woocommerce-billing-fields {
    min-height: 0 !important;
}

/* Títulos compactos y visibles */
html body.woocommerce-checkout .woocommerce-billing-fields > h3,
html body.woocommerce-checkout .woocommerce-shipping-fields > h3,
html body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 15px !important;
    line-height: 1.15 !important;
    color: #0f172a !important;
}

html body.woocommerce-checkout #order_review_heading {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-size: 21px !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
    text-align: left !important;
    background: transparent !important;
}

/* Menos separación entre filas */
html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
html body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
html body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: grid !important;
    gap: 7px 12px !important;
}

/* Desktop: campos en 2 columnas para bajar altura */
@media (min-width: 760px) {
    html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    html body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper :is(.form-row-wide, #billing_company_field, #billing_address_1_field, #billing_address_2_field) {
        grid-column: 1 / -1 !important;
    }
}

/* Form rows sin margen gigante */
html body.woocommerce-checkout .form-row {
    margin: 0 !important;
    padding: 0 !important;
}

/* Labels más limpios */
html body.woocommerce-checkout label {
    margin: 0 0 3px !important;
    font-size: 9px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: .07em !important;
    text-transform: uppercase !important;
    color: #64748b !important;
}

/* Inputs mucho menos altos */
html body.woocommerce-checkout :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], select) {
    min-height: 34px !important;
    height: 34px !important;
    padding: 7px 11px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
    line-height: 1.2 !important;
}

/* Textarea más bajo */
html body.woocommerce-checkout textarea {
    min-height: 48px !important;
    height: 48px !important;
    padding: 8px 11px !important;
    border-radius: 10px !important;
    font-size: 12px !important;
}

/* Order review más compacto */
html body.woocommerce-checkout #order_review table.shop_table {
    margin: 0 0 8px !important;
    border-radius: 13px !important;
}

html body.woocommerce-checkout #order_review table.shop_table th,
html body.woocommerce-checkout #order_review table.shop_table td {
    padding: 8px 10px !important;
    font-size: 11px !important;
    line-height: 1.2 !important;
}

/* Pasarela Bridge: quitar espacio muerto */
html body.woocommerce-checkout #payment {
    margin-top: 8px !important;
    overflow: visible !important;
}

html body.woocommerce-checkout #payment ul.payment_methods {
    margin: 0 !important;
    padding: 0 !important;
}

html body.woocommerce-checkout #payment li.payment_method_wc_unblock_cb {
    margin: 0 !important;
    padding: 0 !important;
}

html body.woocommerce-checkout #payment div.payment_box {
    margin: 6px 0 0 !important;
    padding: 0 !important;
}

/* Bridge container más bajo */
html body.woocommerce-checkout #payment .ub-payment-container,
html body.woocommerce-checkout #payment .ub-form-container,
html body.woocommerce-checkout #payment .ub-form-left,
html body.woocommerce-checkout #payment .ub-payment-box,
html body.woocommerce-checkout #payment .payment_box.payment_method_wc_unblock_cb {
    min-height: 0 !important;
    height: auto !important;
    padding: 6px !important;
    margin: 0 !important;
    border-radius: 12px !important;
    overflow: visible !important;
}

/* Quitar aire visual dentro de Bridge */
html body.woocommerce-checkout #payment :is(.ub-header, .ub-payment-header, .ub-card-header, .ub-tabs-container, .ub-form-top, .ub-form-section, .ub-card-preview, .ub-method-header) {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
    padding-top: 0 !important;
    padding-bottom: 4px !important;
}

/* Logo/título Bridge menos alto */
html body.woocommerce-checkout #payment :is(.ub-brand, .ub-logo, .ub-title, .ub-payment-title) {
    margin-top: 0 !important;
    margin-bottom: 4px !important;
}

/* Campos internos de Bridge */
html body.woocommerce-checkout #payment :is(input, select, textarea) {
    min-height: 34px !important;
    height: 34px !important;
    padding: 7px 10px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
}

/* Botón pagar compacto */
html body.woocommerce-checkout #payment #place_order,
html body.woocommerce-checkout #payment .place-order .button {
    min-height: 40px !important;
    padding: 9px 16px !important;
    border-radius: 12px !important;
    font-size: 13px !important;
}

/* Place order sin aire extra */
html body.woocommerce-checkout .place-order {
    margin: 6px 0 0 !important;
    padding: 6px 0 0 !important;
}

/* Checkboxes/radios normales */
html body.woocommerce-checkout input[type="checkbox"],
html body.woocommerce-checkout input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    padding: 0 !important;
    margin: 0 7px 0 0 !important;
}

/* Mobile: una columna compacta */
@media (max-width: 999px) {
    html body.woocommerce-checkout .bb-woo-shell,
    html body.woocommerce-checkout .bb-woo-shell > .container,
    html body.woocommerce-checkout .wc-container,
    html body.woocommerce-checkout .woocommerce {
        width: min(100%, calc(100vw - 24px)) !important;
        max-width: none !important;
    }

    html body.woocommerce-checkout form.checkout.woocommerce-checkout {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-top: 12px !important;
    }

    html body.woocommerce-checkout #customer_details,
    html body.woocommerce-checkout #order_review_heading,
    html body.woocommerce-checkout #order_review {
        grid-column: 1 / -1 !important;
    }

    html body.woocommerce-checkout .woocommerce-billing-fields,
    html body.woocommerce-checkout .woocommerce-shipping-fields,
    html body.woocommerce-checkout .woocommerce-additional-fields,
    html body.woocommerce-checkout #order_review,
    html body.woocommerce-checkout #payment {
        padding: 12px !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT TEXT STANDARD RESTORE
   Mantiene checkout compacto, pero devuelve texto legible normal
   ============================================================ */

/* Títulos normales */
html body.woocommerce-checkout .woocommerce-billing-fields > h3,
html body.woocommerce-checkout .woocommerce-shipping-fields > h3,
html body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-size: 18px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 12px !important;
}

html body.woocommerce-checkout #order_review_heading {
    font-size: 24px !important;
    line-height: 1.18 !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin-bottom: 10px !important;
}

/* Labels legibles, no microscópicos */
html body.woocommerce-checkout label {
    font-size: 12px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: .025em !important;
    text-transform: none !important;
    color: #334155 !important;
    margin-bottom: 5px !important;
}

/* Inputs con texto normal */
html body.woocommerce-checkout :is(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea
) {
    font-size: 14px !important;
    line-height: 1.35 !important;
    color: #0f172a !important;
}

/* Placeholder visible normal */
html body.woocommerce-checkout :is(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select,
    textarea
)::placeholder {
    font-size: 14px !important;
    color: #64748b !important;
    opacity: 1 !important;
}

/* Tabla del pedido legible */
html body.woocommerce-checkout #order_review table.shop_table th,
html body.woocommerce-checkout #order_review table.shop_table td {
    font-size: 13px !important;
    line-height: 1.35 !important;
}

html body.woocommerce-checkout #order_review table.shop_table thead th {
    font-size: 12px !important;
    letter-spacing: .04em !important;
}

/* Payment / Bridge textos normales */
html body.woocommerce-checkout #payment,
html body.woocommerce-checkout #payment p,
html body.woocommerce-checkout #payment label,
html body.woocommerce-checkout #payment span,
html body.woocommerce-checkout #payment div {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

/* Inputs internos Bridge normales */
html body.woocommerce-checkout #payment :is(input, select, textarea) {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

/* Botones normales */
html body.woocommerce-checkout .button,
html body.woocommerce-checkout button.button,
html body.woocommerce-checkout input.button,
html body.woocommerce-checkout #payment #place_order,
html body.woocommerce-checkout #payment .place-order .button {
    font-size: 14px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}

/* Cupón texto normal */
html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
html body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
html body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    font-size: 14px !important;
    line-height: 1.35 !important;
}

/* Mantener compacto sin achicar texto */
html body.woocommerce-checkout :is(
    input.input-text,
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="number"],
    input[type="password"],
    select
) {
    min-height: 38px !important;
    height: 38px !important;
    padding: 8px 12px !important;
}

html body.woocommerce-checkout textarea {
    min-height: 58px !important;
    height: auto !important;
    padding: 9px 12px !important;
}



/* ============================================================
   BUYBITCOIN CHECKOUT PASARELA SPACING FIX
   Reduce espacios verticales de Bridge/pasarela sin mini texto
   ============================================================ */

/* Caja general del método de pago */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .payment_method_wc_unblock_cb,
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    gap: 10px !important;
}

/* Header Bridge / logo / monto */
body.woocommerce-checkout #payment .ub-payment-container > *,
body.woocommerce-checkout #payment .ub-form-container > *,
body.woocommerce-checkout #payment .ub-form-left > * {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

/* Quitar espacio excesivo antes del formulario de tarjeta */
body.woocommerce-checkout #payment .ub-tabs-container,
body.woocommerce-checkout #payment .ub-tab-content,
body.woocommerce-checkout #payment .ub-card-form,
body.woocommerce-checkout #payment .ub-form {
    margin-top: 0 !important;
    padding-top: 8px !important;
}

/* Campos de tarjeta: menos separación, texto normal */
body.woocommerce-checkout #payment :is(
    .form-row,
    .ub-field,
    .ub-form-group,
    .ub-input-group,
    .payment_box .form-row
) {
    margin-bottom: 10px !important;
}

/* Inputs de pasarela: altura normal, no gigantes */
body.woocommerce-checkout #payment :is(input, select, textarea) {
    min-height: 42px !important;
    height: auto !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

/* Labels de pasarela legibles pero compactos */
body.woocommerce-checkout #payment label,
body.woocommerce-checkout #payment .ub-label,
body.woocommerce-checkout #payment .form-row label {
    margin-bottom: 5px !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
}

/* Bloque informativo inferior menos alto */
body.woocommerce-checkout #payment .ub-info,
body.woocommerce-checkout #payment .ub-notice,
body.woocommerce-checkout #payment .ub-payment-info,
body.woocommerce-checkout #payment .payment-info {
    margin-top: 10px !important;
    padding: 12px !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

/* Botón final compacto pero usable */
body.woocommerce-checkout #payment #place_order,
body.woocommerce-checkout #payment .place-order .button {
    min-height: 46px !important;
    padding: 12px 18px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
}

/* Evita espacios fantasmas dentro de la caja blanca */
body.woocommerce-checkout #payment p:empty,
body.woocommerce-checkout #payment div:empty {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
}



/* ============================================================
   BUYBITCOIN CHECKOUT COUPON STANDARD FIX
   Cupón estándar, centrado, compacto y alineado al checkout
   ============================================================ */

/* Contenedor del aviso de cupón */
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 12px !important;
    padding: 0 !important;
}

/* Barra "Have a coupon?" como aviso estándar */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
    width: 100% !important;
    min-height: 46px !important;
    margin: 0 !important;
    padding: 12px 16px !important;
    border-radius: 14px !important;
    background: rgba(8, 38, 42, .92) !important;
    border: 1px solid rgba(45, 212, 191, .18) !important;
    box-shadow: none !important;
    color: #eaffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
}

/* Link del cupón */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon {
    color: #5eead4 !important;
    font-weight: 800 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon:hover {
    color: #99f6e4 !important;
}

/* Formulario del cupón abierto: que parezca parte del checkout, no una cosa flotante */
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 22px !important;
    padding: 14px !important;
    border-radius: 16px !important;
    background: rgba(8, 38, 42, .92) !important;
    border: 1px solid rgba(45, 212, 191, .14) !important;
    box-shadow: none !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    gap: 10px !important;
    align-items: center !important;
}

/* Texto interno del cupón, si Woo lo muestra */
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon > p:not(.form-row) {
    grid-column: 1 / -1 !important;
    margin: 0 0 4px !important;
    color: rgba(226, 232, 240, .86) !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
}

/* Campo del cupón */
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row {
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first {
    grid-column: 1 !important;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last {
    grid-column: 2 !important;
}

body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input.input-text,
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input[name="coupon_code"] {
    width: 100% !important;
    min-height: 44px !important;
    height: 44px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    border: 1px solid rgba(203, 213, 225, .95) !important;
    color: #0f172a !important;
    font-size: 14px !important;
    line-height: 1.3 !important;
}

/* Botón aplicar cupón */
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .button,
body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button[name="apply_coupon"] {
    min-height: 44px !important;
    height: 44px !important;
    padding: 0 18px !important;
    border-radius: 999px !important;
    background: #20c997 !important;
    color: #ffffff !important;
    border: 0 !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    box-shadow: none !important;
}

/* Desktop: todo el cupón alineado con las 2 columnas */
@media (min-width: 900px) {
    body.woocommerce-checkout .woocommerce-form-coupon-toggle,
    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
        grid-column: 1 / -1 !important;
    }
}

/* Mobile: cupón en una columna */
@media (max-width: 767px) {
    body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info {
        display: grid !important;
        justify-content: stretch !important;
        text-align: left !important;
    }

    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon {
        grid-template-columns: 1fr !important;
    }

    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first,
    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last {
        grid-column: 1 / -1 !important;
    }

    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .button,
    body.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button[name="apply_coupon"] {
        width: 100% !important;
    }
}



/* ============================================================
   BUYBITCOIN CHECKOUT FINE VISUAL ALIGNMENT
   Mejora contraste, compacta Bridge y alinea columnas
   ============================================================ */

/* Alinear mejor columnas principales */
body.woocommerce-checkout form.checkout.woocommerce-checkout {
    align-items: start !important;
}

body.woocommerce-checkout #customer_details,
body.woocommerce-checkout #order_review {
    align-self: start !important;
}

/* Títulos visibles y limpios */
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout #order_review_heading {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,.28) !important;
}

body.woocommerce-checkout .woocommerce-billing-fields > h3 {
    color: #0f172a !important;
    text-shadow: none !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    margin: 0 0 14px !important;
}

body.woocommerce-checkout #order_review_heading {
    font-size: 24px !important;
    line-height: 1.05 !important;
    font-weight: 900 !important;
    margin: 0 0 10px !important;
}

/* Labels del formulario: que no se pierdan */
body.woocommerce-checkout .form-row label,
body.woocommerce-checkout .woocommerce-billing-fields label,
body.woocommerce-checkout .woocommerce-additional-fields label {
    color: #334155 !important;
    opacity: 1 !important;
    font-size: 11px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

/* Placeholders más legibles */
body.woocommerce-checkout input::placeholder,
body.woocommerce-checkout textarea::placeholder {
    color: #64748b !important;
    opacity: .85 !important;
}

/* Inputs: mantener texto normal pero menos aire */
body.woocommerce-checkout :is(input.input-text, input, select, textarea) {
    color: #0f172a !important;
    font-size: 14px !important;
    min-height: 42px !important;
    height: auto !important;
    padding: 10px 13px !important;
    border-radius: 13px !important;
}

/* Reducir espacio vertical entre campos */
body.woocommerce-checkout .form-row {
    margin-bottom: 9px !important;
}

body.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
body.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    gap: 9px 14px !important;
}

/* Card blanca billing más balanceada */
body.woocommerce-checkout .woocommerce-billing-fields,
body.woocommerce-checkout .woocommerce-shipping-fields,
body.woocommerce-checkout .woocommerce-additional-fields {
    padding: 18px !important;
}

/* Your order: tabla compacta */
body.woocommerce-checkout #order_review table.shop_table {
    margin-bottom: 12px !important;
}

body.woocommerce-checkout #order_review table.shop_table th,
body.woocommerce-checkout #order_review table.shop_table td {
    padding: 11px 14px !important;
    font-size: 13px !important;
}

/* Bridge / pasarela: quitar espacio blanco excesivo */
body.woocommerce-checkout #payment {
    padding: 10px !important;
    border-radius: 16px !important;
    overflow: visible !important;
}

body.woocommerce-checkout #payment div.payment_box,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .payment_method_wc_unblock_cb,
body.woocommerce-checkout #payment .ub-payment-container,
body.woocommerce-checkout #payment .ub-form-container,
body.woocommerce-checkout #payment .ub-form-left {
    margin-top: 0 !important;
    padding-top: 0 !important;
    gap: 8px !important;
}

/* Compactar header de Bridge */
body.woocommerce-checkout #payment .ub-payment-container > *,
body.woocommerce-checkout #payment .ub-form-container > * {
    margin-top: 0 !important;
}

/* Quitar altura mínima exagerada dentro de Bridge */
body.woocommerce-checkout #payment iframe,
body.woocommerce-checkout #payment .payment_box,
body.woocommerce-checkout #payment .ub-payment-container {
    min-height: 0 !important;
}

/* Mejorar contraste en panel Bridge */
body.woocommerce-checkout #payment,
body.woocommerce-checkout #payment p,
body.woocommerce-checkout #payment label,
body.woocommerce-checkout #payment span,
body.woocommerce-checkout #payment div {
    color: #1e293b !important;
}

/* Pero mantener botones Bridge visibles */
body.woocommerce-checkout #payment button,
body.woocommerce-checkout #payment .button,
body.woocommerce-checkout #payment #place_order {
    color: #ffffff !important;
}

/* Radio del método normal */
body.woocommerce-checkout #payment input[type="radio"],
body.woocommerce-checkout #payment input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    padding: 0 !important;
    margin: 0 8px 0 0 !important;
    appearance: auto !important;
}

/* Mobile conserva una columna */
@media (max-width: 899px) {
    body.woocommerce-checkout #order_review_heading {
        margin-top: 4px !important;
    }

    body.woocommerce-checkout .woocommerce-billing-fields,
    body.woocommerce-checkout .woocommerce-shipping-fields,
    body.woocommerce-checkout .woocommerce-additional-fields {
        padding: 16px !important;
    }
}

