/* Buttons use the theme's own .button / .button.alt styles. */
.dth-buy-now-single{margin-left:10px!important}
.dth-buy-now-loop{margin-top:8px!important}
.dth-buy-now.loading{opacity:.65;cursor:wait;pointer-events:none}
.dth-bn-error{flex-basis:100%;width:100%;margin-top:10px;font-size:13px;color:#b32d2e}
@media(max-width:480px){.dth-buy-now-single{margin:10px 0 0!important;width:100%}}

/* Modal */
html.dth-bn-lock,html.dth-bn-lock body{overflow:hidden}
.dth-bn-modal{position:fixed;inset:0;z-index:999999;display:flex;align-items:center;justify-content:center;padding:24px;box-sizing:border-box}
.dth-bn-modal[hidden]{display:none}
.dth-bn-backdrop{position:absolute;inset:0;background:rgba(17,17,17,.5);backdrop-filter:blur(2px);animation:dth-bn-fade .2s ease}
.dth-bn-dialog{position:relative;display:flex;flex-direction:column;width:100%;max-width:1120px;height:100%;max-height:900px;background:#fff;border-radius:16px;overflow:hidden;box-shadow:0 24px 70px rgba(0,0,0,.25);animation:dth-bn-in .22s ease}
.dth-bn-head{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px;height:56px;padding:0 12px 0 20px;border-bottom:1px solid #eee;color:#111}
.dth-bn-title{display:flex;align-items:center;gap:8px;font-size:15px;font-weight:600;margin:0}
.dth-bn-title svg{width:16px;height:16px;opacity:.7}
.dth-bn-close{display:flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0!important;margin:0!important;border:0!important;border-radius:50%!important;background:transparent!important;color:#111!important;box-shadow:none!important;cursor:pointer;min-height:0!important}
.dth-bn-close:hover{background:#f2f2f2!important}
.dth-bn-close svg{width:18px;height:18px}
.dth-bn-body{position:relative;flex:1 1 auto;min-height:0}
.dth-bn-frame{display:block;width:100%;height:100%;border:0;background:#fff}
.dth-bn-spinner{display:none;position:absolute;top:50%;left:50%;width:32px;height:32px;margin:-16px 0 0 -16px;border:3px solid #e5e5e5;border-top-color:#111;border-radius:50%;animation:dth-bn-spin .8s linear infinite}
.dth-bn-modal.is-loading .dth-bn-spinner{display:block}
.dth-bn-modal.is-loading .dth-bn-frame{visibility:hidden}
@keyframes dth-bn-spin{to{transform:rotate(360deg)}}
@keyframes dth-bn-fade{from{opacity:0}}
@keyframes dth-bn-in{from{opacity:0;transform:translateY(12px) scale(.985)}}

@media(max-width:700px){
  .dth-bn-modal{padding:0;align-items:flex-end}
  .dth-bn-dialog{max-width:none;max-height:none;height:100%;border-radius:0;animation:dth-bn-up .25s ease}
  @keyframes dth-bn-up{from{transform:translateY(40px);opacity:0}}
}
@media(prefers-reduced-motion:reduce){.dth-bn-backdrop,.dth-bn-dialog{animation:none}}
