html body.theme-blackfire .bf-selection-modal{overflow-y:auto;overscroll-behavior:contain}
html body.theme-blackfire .bf-selection-modal .bf-selection-dialog{max-height:calc(100dvh - 32px);overflow-y:auto}
html body.theme-blackfire .bf-selection-modal .bf-extras-dialog{--extra-border:#e4e4e7;--extra-surface:#fafafa;--extra-muted:#71717a;width:min(100%,520px);padding:26px;border-radius:16px}
html[data-bf-theme=dark] body.theme-blackfire .bf-selection-modal .bf-extras-dialog{--extra-border:#303034;--extra-surface:#19191c;--extra-muted:#a1a1aa;background:#111113}
html body.theme-blackfire .bf-extras-dialog .bf-selection-modal-head{gap:16px;margin-bottom:0}
html body.theme-blackfire .bf-extras-dialog .bf-selection-modal-head h2{font-size:23px;line-height:1.3;margin:6px 0 0}
html body.theme-blackfire .bf-extras-dialog .bf-selection-modal-head>button{flex-shrink:0}
html body.theme-blackfire .bf-extras-dialog .bf-extras-intro{color:var(--extra-muted);font-size:13px;line-height:1.65;margin:10px 0 20px}
html body.theme-blackfire .bf-extras-product{display:grid;gap:5px;padding-bottom:18px;border-bottom:1px solid var(--extra-border);margin-bottom:18px;overflow-wrap:anywhere}
html body.theme-blackfire .bf-extras-product strong{font-size:14px;font-weight:600;color:inherit}
html body.theme-blackfire .bf-extras-product span{font-size:12px;color:var(--extra-muted)}
html body.theme-blackfire .bf-extras-options{display:grid;grid-template-columns:1fr;gap:10px}
html body.theme-blackfire .bf-extras-options .bf-extra-option{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto 36px;align-items:center;gap:13px;padding:16px;margin:0;border:1px solid var(--extra-border);border-radius:10px;background:var(--extra-surface);cursor:pointer;min-height:76px}
html body.theme-blackfire .bf-extra-option input{position:absolute;opacity:0;width:1px;height:1px;overflow:hidden}
html body.theme-blackfire .bf-extra-switch{grid-column:3;grid-row:1;position:relative;display:block;width:36px;height:21px;border-radius:99px;background:#a1a1aa;transition:background .15s}
html[data-bf-theme=dark] body.theme-blackfire .bf-extra-switch{background:#3f3f46}
html body.theme-blackfire .bf-extra-switch:after{content:'';position:absolute;left:3px;top:3px;width:15px;height:15px;background:white;border-radius:50%;box-shadow:0 1px 3px #0003;transition:transform .15s}
html body.theme-blackfire .bf-extra-option input:checked+.bf-extra-switch{background:#16a34a}
html body.theme-blackfire .bf-extra-option input:checked+.bf-extra-switch:after{transform:translateX(15px);background:#fff}
html body.theme-blackfire .bf-extra-option:has(input:checked){border-color:#16a34a;background:color-mix(in srgb,var(--extra-surface) 94%,#16a34a)}
html body.theme-blackfire .bf-extra-option:has(input:focus-visible){outline:2px solid #16a34a;outline-offset:3px}
html body.theme-blackfire .bf-extra-label{grid-column:1;grid-row:1;display:grid;gap:5px;min-width:0}
html body.theme-blackfire .bf-extra-label strong{font-size:13px;font-weight:600;line-height:1.4;overflow-wrap:anywhere;color:inherit}
html body.theme-blackfire .bf-extra-label small{white-space:pre-line;overflow-wrap:anywhere;font-size:11px;font-weight:400;color:var(--extra-muted);line-height:1.4}
html body.theme-blackfire .bf-extra-option>b{grid-column:2;grid-row:1;font-size:13px;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums;color:inherit}
html body.theme-blackfire .bf-extras-totals{display:grid;gap:10px;margin:20px 0 0;padding:18px 0 0;border-top:1px solid var(--extra-border)}
html body.theme-blackfire .bf-extras-totals>div{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}
html body.theme-blackfire .bf-extras-totals dt{font-weight:400;color:var(--extra-muted);margin:0}
html body.theme-blackfire .bf-extras-totals dd{font-weight:500;margin:0;font-variant-numeric:tabular-nums;white-space:nowrap}
html body.theme-blackfire .bf-extras-totals .bf-extras-grand{padding-top:12px;margin-top:3px;border-top:1px solid var(--extra-border)}
html body.theme-blackfire .bf-extras-grand dt{font-weight:600;color:inherit}
html body.theme-blackfire .bf-extras-grand dd{font-size:22px;font-weight:650}
html body.theme-blackfire .bf-extras-dialog .bf-selection-modal-actions{margin-top:18px}
html[data-bf-theme] body.theme-blackfire .bf-extras-dialog [data-extras-confirm]{background:var(--bf-modal-accent,#2563eb)!important;border-color:var(--bf-modal-accent,#2563eb)!important;color:var(--bf-modal-ink,#fff)!important}
html body.theme-blackfire .bf-selection-modal button:disabled{opacity:.55;cursor:wait}
html body.theme-blackfire .bf-extras-empty{padding:20px 14px;background:var(--extra-surface);border:1px dashed var(--extra-border);border-radius:9px;color:var(--extra-muted);font-size:13px;line-height:1.6}
html body.theme-blackfire .bf-extras-error:empty{display:none}
html body.theme-blackfire .bf-line-extras{display:grid;gap:5px;margin-top:8px;font-size:12px;color:#71717a}
html[data-bf-theme=dark] body.theme-blackfire .bf-line-extras{color:#a1a1aa}
html body.theme-blackfire .bf-line-extras span{overflow-wrap:anywhere}
html body.theme-blackfire .bf-line-extras b{font-weight:500;white-space:nowrap;margin-left:6px}
@media(max-width:575px){
 html body.theme-blackfire .bf-selection-modal{padding:12px}
 html body.theme-blackfire .bf-selection-modal .bf-selection-dialog{max-height:calc(100dvh - 24px)}
 html body.theme-blackfire .bf-selection-modal .bf-extras-dialog{padding:20px 16px;border-radius:14px}
 html body.theme-blackfire .bf-extras-options .bf-extra-option{grid-template-columns:minmax(0,1fr) 36px;gap:7px 12px;padding:14px}
 html body.theme-blackfire .bf-extra-switch{grid-column:2;grid-row:1 / 3;align-self:center}
 html body.theme-blackfire .bf-extra-label{grid-column:1;grid-row:1}
 html body.theme-blackfire .bf-extra-option>b{grid-column:1;grid-row:2;text-align:left}
 html body.theme-blackfire .bf-extras-dialog .bf-selection-modal-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
 html body.theme-blackfire .bf-extras-dialog .bf-selection-modal-actions button{padding:0 12px;min-height:44px;font-size:13px}
}
@media(prefers-reduced-motion:reduce){.bf-extra-switch,.bf-extra-switch:after{transition:none!important}}
