/* R279 / V6.20 — comprar dentro del saldo; paquetes en acordeón bajo la tarjeta. */
body.bt-profile .br-profile-credit-copy{
    display:flex!important;flex:1 1 auto!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;
    gap:2px!important;min-width:0!important;max-width:none!important;
}
body.bt-profile .br-profile-credit-copy small{
    display:block!important;color:#745d2b!important;font-size:11.5px!important;font-weight:750!important;
    line-height:1.2!important;white-space:normal!important;overflow-wrap:normal!important;
}
body.bt-profile .br-profile-credit-copy strong{
    display:block!important;font-size:25px!important;line-height:1!important;color:#855c0c!important;
    font-weight:850!important;letter-spacing:-.4px!important;
}
body.bt-profile .br-profile-buy-credits{
    appearance:none!important;-webkit-appearance:none!important;box-sizing:border-box!important;
    flex:0 0 auto!important;width:auto!important;min-width:0!important;max-width:60%!important;
    min-height:37px!important;margin:0!important;padding:8px 12px!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    border:1px solid #d4a033!important;border-radius:5px!important;
    background:linear-gradient(180deg,#fffefb 0%,#fff6e3 100%)!important;color:#9f6b10!important;
    box-shadow:0 2px 5px rgba(126,89,16,.07),inset 0 1px 0 rgba(255,255,255,.85)!important;
    font-family:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1.2!important;
    white-space:nowrap!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease!important;
}
body.bt-profile .br-profile-buy-credits:hover,
body.bt-profile .br-profile-buy-credits[aria-expanded="true"]{
    background:linear-gradient(180deg,#fff8eb 0%,#ffefcd 100%)!important;
    border-color:#bd8722!important;box-shadow:0 3px 9px rgba(126,89,16,.12)!important;
}
body.bt-profile .br-profile-buy-credits:focus-visible{outline:2px solid #2f8b73!important;outline-offset:2px!important;}
body.bt-profile .br-profile-buy-credits:active{transform:none!important;box-shadow:inset 0 1px 3px rgba(126,89,16,.14)!important;}
body.bt-profile .br-profile-buy-credits svg{width:17px!important;height:17px!important;display:block!important;flex:0 0 auto!important;}
body.bt-profile .br-profile-buy-credits .br-credit-buy-chevron{
    width:11px!important;height:11px!important;transition:transform .22s ease!important;
}
body.bt-profile .br-profile-buy-credits[aria-expanded="true"] .br-credit-buy-chevron{transform:rotate(180deg)!important;}
body.bt-profile .br-credit-packages{
    display:grid!important;grid-template-rows:0fr!important;min-height:0!important;
    margin-top:0!important;padding:0!important;border:0 solid rgba(216,190,127,.55)!important;
    border-radius:5px!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    overflow:hidden!important;box-shadow:none!important;background:#fff!important;
    transition:grid-template-rows .28s ease,opacity .2s ease,margin-top .28s ease,visibility .28s!important;
}
body.bt-profile .br-credit-packages.is-open{
    display:grid!important;grid-template-rows:1fr!important;margin-top:9px!important;
    border-width:1px!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    box-shadow:0 7px 18px rgba(79,58,16,.065)!important;
}
body.bt-profile .br-credit-packages-inner{
    min-height:0!important;overflow:hidden!important;padding:0 12px!important;
    transition:padding .28s ease!important;
}
body.bt-profile .br-credit-packages.is-open .br-credit-packages-inner{padding:12px!important;}
@media(max-width:420px){
    body.bt-profile .br-profile-credits-card{gap:8px!important;padding:10px!important;}
    body.bt-profile .br-profile-credit-icon{width:32px!important;height:32px!important;flex-basis:32px!important;}
    body.bt-profile .br-profile-credit-copy small{font-size:10.5px!important;}
    body.bt-profile .br-profile-buy-credits{padding:8px 9px!important;gap:5px!important;font-size:11px!important;}
    body.bt-profile .br-profile-buy-credits svg{width:15px!important;height:15px!important;}
    body.bt-profile .br-profile-buy-credits .br-credit-buy-chevron{display:none!important;}
}
@media(max-width:350px){
    body.bt-profile .br-profile-credits-card{gap:6px!important;padding:9px 8px!important;}
    body.bt-profile .br-profile-credit-icon{width:29px!important;height:29px!important;flex-basis:29px!important;}
    body.bt-profile .br-profile-credit-copy small{font-size:10px!important;}
    body.bt-profile .br-profile-buy-credits{font-size:10px!important;padding:8px 7px!important;gap:4px!important;}
}
@media(prefers-reduced-motion:reduce){
    body.bt-profile .br-credit-packages,body.bt-profile .br-credit-packages-inner,
    body.bt-profile .br-profile-buy-credits .br-credit-buy-chevron{transition:none!important;}
}

/* La grilla de créditos permanece en 2 columnas (100/250 arriba, 500/1000 abajo) en todas las pantallas. */


/* R432 / V6.190 — Brintage credits: balanced emerald/gold cards and symmetric spacing.
   Presentation only: billing, selection and amounts remain controlled by existing JS/PHP. */
body.bt-profile .br-profile-credits-wrap{
    width:calc(100% - 28px)!important;
    margin:14px auto 14px!important;
}
body.bt-profile .br-profile-credits-card{
    position:relative!important;isolation:isolate!important;overflow:hidden!important;
    min-height:78px!important;gap:13px!important;padding:15px 16px!important;
    border:1px solid #ebddbb!important;border-radius:16px!important;
    background:radial-gradient(circle at 100% 0%,rgba(47,139,115,.10),transparent 42%),
               linear-gradient(130deg,#ffffff 0%,#fffaf0 59%,#fff4de 100%)!important;
    box-shadow:0 8px 22px rgba(49,91,150,.055),0 2px 8px rgba(143,99,26,.045),
               inset 0 1px 0 #fff!important;
}
body.bt-profile .br-profile-credit-icon{
    width:44px!important;height:44px!important;flex:0 0 44px!important;
    box-shadow:0 5px 13px rgba(139,94,10,.15),0 0 0 3px rgba(255,255,255,.9),
               inset 0 1px 0 rgba(255,255,255,.78)!important;
}
body.bt-profile .br-profile-credit-copy{gap:3px!important;}
body.bt-profile .br-profile-credit-copy small{color:#465b78!important;font-size:12px!important;font-weight:750!important;}
body.bt-profile .br-profile-credit-copy strong{color:#966713!important;font-size:28px!important;line-height:1.04!important;}
body.bt-profile .br-profile-buy-credits{
    border:1px solid #2b7d69!important;border-radius:12px!important;
    padding:10px 13px!important;min-height:43px!important;
    background:linear-gradient(145deg,#43a889 0%,#236b58 100%)!important;
    color:#fff!important;font-weight:800!important;font-size:12px!important;
    box-shadow:0 5px 12px rgba(35,116,218,.16),inset 0 1px 0 rgba(255,255,255,.23)!important;
    transition:background .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
body.bt-profile .br-profile-buy-credits:hover,
body.bt-profile .br-profile-buy-credits[aria-expanded="true"]{
    border-color:#216b5a!important;
    background:linear-gradient(145deg,#37997d,#1f5f4f)!important;
    box-shadow:0 6px 15px rgba(35,116,218,.21)!important;
}
body.bt-profile .br-profile-buy-credits:active{transform:translateY(1px)!important;}
body.bt-profile .br-profile-buy-credits:focus-visible,
body.bt-profile .br-credit-package:focus-visible,
body.bt-profile .br-credit-pay:focus-visible{
    outline:2px solid #2f8b73!important;outline-offset:3px!important;
}
body.bt-profile .br-credit-packages,
body.bt-profile .br-credit-packages.is-open{
    border-radius:18px!important;
    background:linear-gradient(180deg,#ffffff 0%,#fbfdfb 100%)!important;
}
body.bt-profile .br-credit-packages.is-open{
    margin-top:12px!important;border:1px solid #dde8e3!important;
    box-shadow:0 10px 26px rgba(35,107,88,.065)!important;
}
body.bt-profile .br-credit-packages-inner{
    padding:0 16px!important;
}
body.bt-profile .br-credit-packages.is-open .br-credit-packages-inner{
    padding:16px!important;
}
body.bt-profile .br-credit-packages-head{margin:0 0 14px!important;}
body.bt-profile .br-credit-packages-head strong{font-size:14px!important;color:#283f5f!important;line-height:1.25!important;}
body.bt-profile .br-credit-packages-head small{font-size:11px!important;color:#79869a!important;line-height:1.45!important;}
body.bt-profile .br-credit-package-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
}
body.bt-profile .br-credit-package{
    min-height:99px!important;padding:12px 13px!important;
    border-radius:14px!important;border:1px solid #dfe9e3!important;
    background:linear-gradient(150deg,#ffffff,#f8fcfa)!important;
    box-shadow:0 2px 9px rgba(35,107,88,.035)!important;
    row-gap:3px!important;
    transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease!important;
}
body.bt-profile .br-credit-package:hover:not(.is-selected){
    border-color:#b9d9ce!important;box-shadow:0 4px 14px rgba(35,107,88,.07)!important;
}
body.bt-profile .br-credit-package.is-selected{
    background:linear-gradient(145deg,#f4fcf8 0%,#fffaf0 100%)!important;
    border-color:#2f8b73!important;
    box-shadow:0 0 0 2px rgba(47,139,115,.13),0 5px 15px rgba(35,107,88,.08)!important;
}
body.bt-profile .br-credit-package-main strong{font-size:24px!important;color:#946713!important;}
body.bt-profile .br-credit-package-main small{color:#998257!important;font-size:10px!important;}
body.bt-profile .br-credit-package-price{color:#2e435f!important;font-size:12px!important;margin-top:5px!important;}
body.bt-profile .br-credit-package-designs{color:#79889b!important;font-size:10.5px!important;margin-top:2px!important;}
body.bt-profile .br-credit-package-check{
    width:19px!important;height:19px!important;
    border-color:#bed8cf!important;background:#fff!important;
}
body.bt-profile .br-credit-package.is-selected .br-credit-package-check{
    background:#2f8b73!important;border-color:#2f8b73!important;
}
body.bt-profile .br-credit-package-status{
    min-height:16px!important;margin:0!important;
    padding:14px 0 12px!important;
    color:#6c7f97!important;font-size:10.5px!important;line-height:1.4!important;
}
body.bt-profile .br-credit-pay,
body.bt-profile .br-credit-pay-paypal{
    min-height:50px!important;border-radius:13px!important;
    border:1px solid #2b7d69!important;
    background:linear-gradient(135deg,#43a889 0%,#236b58 100%)!important;
    color:#ffffff!important;
    box-shadow:0 5px 15px rgba(35,107,88,.16),inset 0 1px 0 rgba(255,255,255,.19)!important;
}
body.bt-profile .br-credit-pay-paypal span{color:#ffffff!important;}
body.bt-profile .br-credit-pay-paypal img{border-right-color:rgba(255,255,255,.32)!important;}
body.bt-profile .br-credit-pay:disabled,
body.bt-profile .br-credit-pay-paypal:disabled{
    border-color:#dae2ed!important;
    background:linear-gradient(160deg,#f5f7fa,#ecf1f7)!important;
    color:#8492a7!important;
    box-shadow:inset 0 1px 0 #fff!important;
    opacity:1!important;
}
body.bt-profile .br-credit-pay-paypal:disabled span{color:#8492a7!important;}
body.bt-profile .br-credit-pay-paypal:disabled img{
    opacity:.53!important;filter:grayscale(1)!important;
    border-right-color:#d7dfe9!important;
}
@media(max-width:768px){
    body.bt-profile .br-profile-credits-wrap{width:calc(100% - 28px)!important;margin:14px auto 14px!important;}
}
@media(max-width:420px){
    body.bt-profile .br-profile-credits-wrap{width:calc(100% - 24px)!important;margin:12px auto 12px!important;}
    body.bt-profile .br-profile-credits-card{padding:12px!important;gap:10px!important;min-height:70px!important;}
    body.bt-profile .br-profile-credit-icon{width:36px!important;height:36px!important;flex:0 0 36px!important;}
    body.bt-profile .br-profile-credit-copy strong{font-size:25px!important;}
    body.bt-profile .br-profile-buy-credits{padding:9px 10px!important;min-height:39px!important;}
    body.bt-profile .br-credit-packages.is-open .br-credit-packages-inner{padding:13px!important;}
    body.bt-profile .br-credit-packages-inner{padding:0 13px!important;}
    body.bt-profile .br-credit-package{padding:11px!important;min-height:96px!important;}
    body.bt-profile .br-credit-package-grid{gap:9px!important;}
}
@media(max-width:350px){
    body.bt-profile .br-profile-credits-card{padding:10px!important;}
    body.bt-profile .br-credit-packages.is-open .br-credit-packages-inner{padding:11px!important;}
    body.bt-profile .br-credit-packages-inner{padding:0 11px!important;}
    body.bt-profile .br-credit-package{padding:9px!important;min-height:92px!important;}
    body.bt-profile .br-credit-package-main strong{font-size:21px!important;}
    body.bt-profile .br-credit-package-grid{gap:8px!important;}
}
@media(prefers-reduced-motion:reduce){
    body.bt-profile .br-profile-buy-credits,
    body.bt-profile .br-credit-package{transition:none!important;}
}
