/* Isolated from the legacy theme's modal and button rules. */
dialog.apec-bfm:not([open]){display:none!important}
dialog.apec-bfm{box-sizing:border-box;position:fixed;inset:0;margin:auto;width:min(740px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:0;overflow:auto;border:1px solid #a68136;border-radius:20px;background:linear-gradient(115deg,#161315 5%,#301923 62%,#591c35);color:#fff8e9;box-shadow:0 26px 100px #0008;text-align:center;font-family:inherit}
dialog.apec-bfm::backdrop{background:rgba(0,0,0,.73)}
.apec-bfm[open]{animation:apec-bfm-enter .35s ease-out}
.apec-bfm .apec-bfm-inner{position:relative;isolation:isolate;overflow:hidden;padding:46px 56px 40px}
.apec-bfm .apec-bfm-inner:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(110deg,transparent 43%,#ffd66816 49%,transparent 56%);animation:apec-bfm-shine 9s ease-in-out infinite;pointer-events:none}
.apec-bfm .apec-bfm-close{position:absolute;top:13px;right:13px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #ffdf7e55;border-radius:50%;background:#ffffff0c;color:#ffdf7e;font:32px/1 Arial,sans-serif;box-shadow:none;cursor:pointer}
.apec-bfm .apec-bfm-close:hover{background:#ffffff20}
.apec-bfm .apec-bfm-eyebrow{margin:0 0 16px;color:#ffdf7e;font-size:12px;line-height:1.5;font-weight:700;letter-spacing:2.5px;text-transform:uppercase}
.apec-bfm #apec-bfm-title{margin:0;font-size:42px;line-height:1.12;font-weight:800;color:#fff8e9;letter-spacing:-1.2px;text-transform:none}
.apec-bfm #apec-bfm-title span{display:block;color:#ffdb72}
.apec-bfm .apec-bfm-offer{display:flex;align-items:center;justify-content:center;gap:24px;margin:25px 0 22px;padding:18px 0;border-top:1px solid #ffffff26;border-bottom:1px solid #ffffff26}
.apec-bfm .apec-bfm-number{color:#ffdb72;font-size:114px;line-height:1;font-weight:800;letter-spacing:-6px}
.apec-bfm .apec-bfm-number span{font-size:58px;letter-spacing:-2px}
.apec-bfm .apec-bfm-offer p{margin:0;text-align:left;font-size:22px;line-height:1.4;color:#fff8e9}
.apec-bfm .apec-bfm-end{margin:0 0 23px;font-size:17px;line-height:1.5;color:#fff8e9}
.apec-bfm .apec-bfm-end strong{color:#ffdb72;white-space:nowrap}
.apec-bfm a.apec-bfm-cta{display:flex;align-items:center;justify-content:space-between;gap:24px;box-sizing:border-box;width:280px;max-width:100%;margin:0 auto;padding:17px 25px;border-radius:8px;background:#ffda69;color:#29171b;font-size:19px;line-height:1.4;font-weight:800;text-decoration:none;transition:background .2s,transform .2s;box-shadow:0 7px 25px #0002}
.apec-bfm a.apec-bfm-cta:hover{background:#ffe9a8;transform:translateY(-2px)}
.apec-bfm button:focus-visible,.apec-bfm a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.apec-bfm .apec-bfm-confetti{position:fixed;inset:0;width:100vw;height:100vh;pointer-events:none;z-index:10}
html.apec-bfm-open{overflow:hidden}
@keyframes apec-bfm-shine{0%,15%{transform:translateX(-30%)}70%,100%{transform:translateX(30%)}}
@keyframes apec-bfm-enter{from{opacity:0}to{opacity:1}}
@media(max-width:600px){.apec-bfm .apec-bfm-inner{padding:56px 24px 28px}.apec-bfm #apec-bfm-title{font-size:32px}.apec-bfm .apec-bfm-eyebrow{font-size:10px;letter-spacing:2px}.apec-bfm .apec-bfm-offer{gap:15px;margin:23px 0 20px}.apec-bfm .apec-bfm-number{font-size:87px;letter-spacing:-4px}.apec-bfm .apec-bfm-number span{font-size:43px}.apec-bfm .apec-bfm-offer p{font-size:18px}.apec-bfm .apec-bfm-end{font-size:15px}.apec-bfm a.apec-bfm-cta{width:100%;font-size:18px}}
@media(max-height:580px) and (min-width:601px){.apec-bfm .apec-bfm-inner{padding:28px 55px}.apec-bfm #apec-bfm-title{font-size:32px}.apec-bfm .apec-bfm-offer{margin:14px 0;padding:10px 0}.apec-bfm .apec-bfm-number{font-size:85px}.apec-bfm .apec-bfm-end{margin-bottom:15px}}
@media(prefers-reduced-motion:reduce){.apec-bfm[open],.apec-bfm .apec-bfm-inner:before{animation:none}.apec-bfm a.apec-bfm-cta{transition:none}.apec-bfm-confetti{display:none}}
