/* Scoped optional checkout controls: store palette, no change to Woo totals. */
[data-sroe-panel]{--sroe-red:#c6263e;margin:22px 0;padding:22px;border:1px solid #383838;border-radius:8px;background:#0d0d0d;color:#fff;font:400 14px/1.65 var(--sch-font,Arial,sans-serif);min-width:0;box-sizing:border-box;scroll-margin-top:180px}
[data-sroe-panel] *,[data-sroe-panel] *::before,[data-sroe-panel] *::after{box-sizing:border-box}
[data-sroe-panel] [hidden]{display:none!important}
[data-sroe-panel] :is(h2,h3,h4){margin:0 0 10px;padding:0;color:#fff;font:600 18px/1.4 var(--sch-font,Arial,sans-serif);text-transform:none;letter-spacing:0}
[data-sroe-panel] p{margin:0 0 12px;padding:0;color:#c7c7c7;font:inherit}
[data-sroe-panel] fieldset{min-width:0;margin:0;padding:0;border:0}
[data-sroe-panel] legend{margin:0 0 10px;padding:0;color:#fff;font:600 16px/1.5 var(--sch-font,Arial,sans-serif)}
[data-sroe-panel] label{color:#eee;font:inherit}
[data-sroe-panel] a{color:#eee;text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
[data-sroe-panel] a:hover{color:#fff}
[data-sroe-panel] .sroe-protection{display:block}
[data-sroe-panel] .sroe-protection__label,[data-sroe-panel] .sroe-option{display:flex;align-items:flex-start;gap:12px;min-height:44px;cursor:pointer}
[data-sroe-panel] .sroe-protection__label>span{flex:1;min-width:0;font-weight:600}
[data-sroe-panel] .sroe-protection__label>strong{flex:none;font-size:16px;line-height:1.6}
[data-sroe-panel] .sroe-protection>p{padding-left:32px;font-size:13px;line-height:1.7}
[data-sroe-panel] .sroe-optional{display:inline-block;margin-left:6px;color:#aaa;font-size:11px;font-weight:400;letter-spacing:0;vertical-align:middle}
[data-sroe-panel] input[data-sroe-protection]{appearance:auto;accent-color:var(--sroe-red);width:20px;height:20px;min-width:20px;margin:3px 0 0;padding:0;border:1px solid #777;border-radius:3px;flex:none;cursor:pointer}
[data-sroe-panel] .sroe-option-copy,[data-sroe-panel] .sroe-protection-copy{min-width:0;flex:1}
[data-sroe-panel] .sroe-description,[data-sroe-panel] .sroe-note{font-size:13px;line-height:1.7;color:#aaa}
[data-sroe-panel] .sroe-divider,[data-sroe-panel] .sroe-tip{margin-top:20px;padding-top:19px;border-top:1px solid #333}
[data-sroe-panel] .sroe-tip-options,[data-sroe-panel] .sroe-tip__options{display:flex;flex-wrap:wrap;gap:9px;margin:12px 0 0}
[data-sroe-panel] button[data-sroe-tip-mode],[data-sroe-panel] button[data-sroe-apply-tip],[data-sroe-panel] button[data-sroe-retry]{display:inline-flex;align-items:center;justify-content:center;appearance:none;min-height:44px;margin:0;padding:10px 16px;border:1px solid #666;border-radius:4px;background:#161616;color:#fff;font:600 14px/1.5 var(--sch-font,Arial,sans-serif);text-transform:none;letter-spacing:0;white-space:normal;box-shadow:none;cursor:pointer;transition:background .15s,border-color .15s}
[data-sroe-panel] button[data-sroe-tip-mode]:hover{border-color:#eee}
[data-sroe-panel] button[data-sroe-tip-mode]{flex-direction:column;min-width:70px;gap:2px}
[data-sroe-panel] button[data-sroe-tip-mode] small{display:block;font-size:11px;font-weight:400;color:#c4c4c4;line-height:1.4}
[data-sroe-panel] button[data-sroe-tip-mode][aria-pressed=true] small{color:#fff}
[data-sroe-panel] button[data-sroe-tip-mode][aria-pressed=true]{border-color:var(--sroe-red);background:var(--sroe-red);color:#fff}
[data-sroe-panel] button[data-sroe-apply-tip]{border-color:var(--sroe-red);background:var(--sroe-red)}
[data-sroe-panel] button[data-sroe-apply-tip]:hover{background:#a71d33;border-color:#a71d33}
[data-sroe-panel] button:disabled,[data-sroe-panel] input:disabled{opacity:.5;cursor:not-allowed}
[data-sroe-panel] [data-sroe-custom-wrap]{margin-top:15px;display:block}
[data-sroe-panel] [data-sroe-custom-wrap]>label{flex:1;min-width:150px}
[data-sroe-panel] .sroe-tip__custom-row{display:flex;align-items:flex-start;gap:10px;margin-top:7px}
[data-sroe-panel] .sroe-tip__custom-row input[data-sroe-custom-tip]{flex:1;margin:0}
[data-sroe-panel] .sroe-tip__custom-row button{flex:none;min-height:46px}
[data-sroe-panel] .sroe-tip__basis{margin:13px 0 0;font-size:12px;line-height:1.65;color:#aaa}
[data-sroe-panel] input[data-sroe-custom-tip]{display:block;width:100%;min-width:0;min-height:46px;margin:7px 0 0;padding:10px 12px;border:1px solid #666;border-radius:4px;background:#080808;color:#fff;font:400 16px/1.5 var(--sch-font,Arial,sans-serif);box-shadow:none}
[data-sroe-panel] input[data-sroe-custom-tip][aria-invalid=true]{border-color:#f19baa}
[data-sroe-panel] [data-sroe-amount]{font-variant-numeric:tabular-nums;color:#fff;overflow-wrap:anywhere}
[data-sroe-panel] .sroe-summary{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 0;padding-top:14px;border-top:1px solid #333}
[data-sroe-panel] [data-sroe-status]{margin:13px 0 0;color:#aaa;font-size:12px;line-height:1.6}
[data-sroe-panel].sroe-is-updating [data-sroe-status]{color:#f0c2ca}
[data-sroe-panel] [data-sroe-error],[data-sroe-panel] [role=alert]{margin:13px 0 0;color:#ffb8c4;font-size:13px;line-height:1.7}
[data-sroe-panel] button[data-sroe-retry]{margin:10px 0 0;display:flex;min-height:44px;border-color:#b8b8b8;background:transparent;color:#fff;font-size:13px}
[data-sroe-panel] :is(a,button,input):focus-visible{outline:2px solid #fff;outline-offset:4px}
[data-sroe-panel][data-sroe-context=mini]{margin:15px 0;padding:15px;background:#101010;font-size:13px}
[data-sroe-panel][data-sroe-context=mini] p{margin-bottom:8px}
[data-sroe-panel][data-sroe-context=mini] a{display:inline-flex;align-items:center;min-height:44px;font-size:13px}
@media(max-width:740px){
 [data-sroe-panel]{padding:18px 16px;margin:18px 0;border-radius:6px;font-size:14px}
 [data-sroe-panel] :is(h2,h3,h4){font-size:17px}
 [data-sroe-panel] .sroe-tip-options,[data-sroe-panel] .sroe-tip__options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 [data-sroe-panel] button[data-sroe-tip-mode]{min-width:0;padding:10px 8px;font-size:13px}
 [data-sroe-panel] [data-sroe-custom-wrap]{align-items:stretch;gap:11px}
 [data-sroe-panel] [data-sroe-custom-wrap]>label{flex-basis:100%;min-width:0}
 [data-sroe-panel] button[data-sroe-apply-tip]{width:100%;min-height:46px}
 [data-sroe-panel] .sroe-tip__custom-row{flex-wrap:wrap}
 [data-sroe-panel] .sroe-tip__custom-row input[data-sroe-custom-tip]{flex-basis:100%}
 [data-sroe-panel] .sroe-summary{gap:12px}
}
@media(prefers-reduced-motion:reduce){[data-sroe-panel] *{transition:none!important}}
[data-sroe-express-blocked="1"] {
  pointer-events: none !important;
  opacity: .55;
}
