/* P771 — isolated component; no changes to the theme's existing selectors. */
.vx-consent-panel[hidden],.vx-consent-panel [hidden]{display:none!important}
.vx-consent-panel,.vx-consent-panel *{box-sizing:border-box}
.vx-consent-panel{position:fixed;z-index:1040;inset:auto 24px 24px auto;width:min(440px,calc(100vw - 48px));max-height:calc(100vh - 48px);max-height:calc(100dvh - 48px);overflow:auto;padding:20px 22px;background:#f8fbff;color:#102844;border:1px solid #c4d7e9;border-radius:12px;box-shadow:0 12px 38px #10284429;font-weight:400;font-family:inherit;font-size:14px;line-height:1.5;text-align:left;overscroll-behavior:contain}
@supports (backdrop-filter:blur(16px)){.vx-consent-panel{background:rgba(248,251,255,.97);backdrop-filter:blur(16px)}}
.vx-consent-heading{display:flex;align-items:center;justify-content:space-between;min-height:26px;margin-bottom:7px}
.vx-consent-mark{font-weight:800;letter-spacing:.18em;font-size:11px;color:#24578c}
.vx-consent-close{color:#102844;background:transparent;border:0;border-radius:4px;min-width:32px;min-height:32px;font-size:24px;line-height:1;cursor:pointer}
.vx-consent-panel h2{margin:0 0 8px;padding:0;font-size:19px;line-height:1.3;font-weight:750;color:#102844;letter-spacing:-.02em}
.vx-consent-panel p{margin:0 0 12px;color:#344d67;font-size:13px;line-height:1.5}
.vx-consent-links{display:flex;flex-wrap:wrap;gap:7px 16px;margin:0 0 14px}
.vx-consent-panel a{color:#174e87;text-decoration:underline;text-underline-offset:2px;font-size:12px}
.vx-consent-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.vx-consent-panel button{font-family:inherit;cursor:pointer;white-space:normal;text-transform:none;letter-spacing:normal}
.vx-consent-action{background:#174e87;color:#fff;border:1px solid #174e87;border-radius:6px;padding:9px 8px;min-height:42px;font-size:13px;font-weight:650;line-height:1.25}
.vx-consent-action:hover{background:#113d6c;color:white}
.vx-consent-custom{grid-column:1/-1;background:transparent;color:#174e87;border:1px solid #9db7d2;border-radius:6px;min-height:38px;font-size:13px;font-weight:650}
.vx-consent-custom:hover{background:#e8f0f9}
.vx-consent-category{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;border-top:1px solid #d8e3ef;margin:0;font-size:13px;font-weight:400;line-height:1.4}
.vx-consent-category strong{display:block;color:#102844;font-size:13px;font-weight:700}
.vx-consent-category p,.vx-consent-description{display:block;color:#344d67;font-size:12px;margin:3px 0 0;line-height:1.4}
.vx-consent-category input{flex:none;width:21px;height:21px;accent-color:#174e87;margin:0;cursor:pointer}
.vx-consent-always{flex:none;color:#285b46;font-size:11px;font-weight:650;max-width:90px;text-align:right}
.vx-consent-panel .vx-consent-note{font-size:12px;margin:10px 0 14px}
.vx-consent-panel .vx-consent-status{font-size:12px;margin:12px 0 0}
.vx-consent-trigger{display:inline-block;max-width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-decoration:underline;text-underline-offset:3px;text-align:left;cursor:pointer;white-space:normal}
.vx-consent-floating{position:fixed;bottom:8px;left:8px;z-index:1030;background:#f8fbff;color:#174e87;border:1px solid #c4d7e9;padding:7px 12px;border-radius:5px;font-size:12px}
.vx-consent-panel :focus-visible,.vx-consent-trigger:focus-visible{outline:2px solid #2879bd;outline-offset:3px}
@media(max-width:575px){.vx-consent-panel{inset:auto 10px max(10px,env(safe-area-inset-bottom)) 10px;width:auto;max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);padding:15px 16px;border-radius:9px}.vx-consent-panel h2{font-size:17px}.vx-consent-panel p{font-size:12px}.vx-consent-action{min-height:44px}}

/* P780/P782 — safe-area and keyboard focus. */
.vx783-checkout-note{padding:12px 16px;margin:0 0 16px;background:#edf3ff;color:#213d63;border:1px solid #d5e1ef;border-radius:6px;font-size:13px;line-height:1.5;}
@media(max-width:575px){.vx-consent-panel{max-height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)));}.vx-consent-custom{min-height:44px;}.vx-consent-links a{display:inline-flex;align-items:center;min-height:30px;}}
@media(forced-colors:active){.vx-consent-panel,.vx-consent-action,.vx-consent-custom{border:1px solid ButtonText;}.vx-consent-panel :focus-visible{outline:2px solid Highlight;}}

/* P804 — keep the close target accessible and controls legible at narrow widths. */
.vx-consent-panel .vx-consent-close{min-width:44px;min-height:44px;flex:none;}
.vx-consent-panel .vx-consent-category>span:first-child,.vx-consent-panel .vx-consent-category>div:first-child{min-width:0;overflow-wrap:anywhere;}
.vx-consent-panel .vx-consent-action,.vx-consent-panel .vx-consent-custom{min-height:44px;overflow-wrap:anywhere;}
@media(max-width:359.98px){.vx-consent-panel{padding:12px;}.vx-consent-panel .vx-consent-category{gap:8px;}.vx-consent-panel .vx-consent-always{max-width:72px;overflow-wrap:anywhere;}}

/* P805 — heading is semantic, never an interactive focus target. */
#vx-consent-panel #vx-consent-title:focus{outline:none!important;box-shadow:none!important;}

/* P829 — center consent action labels, preserve panel and hidden states. */
.vx-consent-panel :is(.vx-consent-action,.vx-consent-custom,.vx-consent-close) {text-align:center;align-items:center;justify-content:center;}
