.bpa{position:fixed;bottom:90px;z-index:99990;font-family:Heebo,Arial,sans-serif;direction:rtl}
.bpa-left{left:18px}.bpa-right{right:18px}
.bpa-toggle{width:56px;height:56px;border-radius:50%;border:3px solid #fff;background:#3B1230;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 26px rgba(59,18,48,.35);transition:transform .2s}
.bpa-toggle:hover{transform:scale(1.06)}
.bpa-toggle:focus-visible,.bpa button:focus-visible,.bpa a:focus-visible{outline:3px solid #E8326F;outline-offset:3px}
.bpa-panel{position:absolute;bottom:68px;width:340px;max-width:calc(100vw - 32px);max-height:calc(100vh - 180px);overflow:auto;background:#fff;color:#3B1230;border-radius:24px;box-shadow:0 30px 70px rgba(59,18,48,.28);padding:18px}
.bpa-left .bpa-panel{left:0}.bpa-right .bpa-panel{right:0}
.bpa-panel[hidden]{display:none}
.bpa-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.bpa-head h2{margin:0;font-family:Rubik,Heebo,sans-serif;font-size:20px;font-weight:900;color:#3B1230}
.bpa-close{width:36px;height:36px;border-radius:50%;border:0;background:#FFF4F7;color:#3B1230;font-size:22px;line-height:1;cursor:pointer}
.bpa-size{display:flex;align-items:center;gap:8px;background:#FFF8F4;border-radius:16px;padding:10px 12px;margin-bottom:12px}
.bpa-size span{flex:1;font-weight:700;font-size:15px}
.bpa-size button{width:40px;height:40px;border-radius:12px;border:1.5px solid #EADCE2;background:#fff;color:#3B1230;font-weight:800;font-size:15px;cursor:pointer}
.bpa-size output{min-width:48px;text-align:center;font-weight:800}
.bpa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.bpa-opt{display:flex;flex-direction:column;align-items:center;gap:6px;min-height:84px;padding:10px 6px;border-radius:16px;border:1.5px solid #F1E2E8;background:#fff;color:#3B1230;font-size:13px;font-weight:700;line-height:1.25;cursor:pointer;text-align:center}
.bpa-opt[aria-pressed=true]{background:#3B1230;border-color:#3B1230;color:#fff}
.bpa-reset{width:100%;margin-top:12px;min-height:44px;border-radius:999px;border:1.5px solid #3B1230;background:#fff;color:#3B1230;font-weight:800;font-size:15px;cursor:pointer}
.bpa-foot{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:12px;font-size:12px;color:#8A6F7E}
.bpa-foot a{color:#E8326F;font-weight:800}
@media (max-width:600px){.bpa{bottom:84px}.bpa-toggle{width:50px;height:50px}.bpa-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* adjustments (applied on <html>) */
html.bpa-fs body>*:not(.bpa):not(script):not(style){zoom:var(--bpa-fs,1)}
html.bpa-contrast body{background:#000!important}
html.bpa-contrast body *:not(.bpa):not(.bpa *){background-color:#000!important;color:#fff!important;border-color:#fff!important;text-shadow:none!important;box-shadow:none!important}
html.bpa-contrast body a:not(.bpa *){color:#ffeb3b!important;text-decoration:underline!important}
html.bpa-contrast img{filter:contrast(1.2)}
html.bpa-gray body>*:not(.bpa){filter:grayscale(1)}
html.bpa-light body *:not(.bpa):not(.bpa *){background:#fff!important;color:#000!important;text-shadow:none!important}
html.bpa-light body a:not(.bpa *){color:#0033cc!important}
html.bpa-links body a:not(.bpa *){text-decoration:underline!important;text-underline-offset:3px;outline:2px solid #E8326F;outline-offset:2px}
html.bpa-headings body :is(h1,h2,h3,h4,h5,h6):not(.bpa *){outline:3px dashed #E8326F;outline-offset:4px}
html.bpa-font body *:not(.bpa-toggle svg *){font-family:Arial,Helvetica,sans-serif!important;letter-spacing:0!important}
html.bpa-spacing body *:not(.bpa *){line-height:1.9!important;letter-spacing:.04em!important;word-spacing:.12em!important}
html.bpa-motion *,html.bpa-motion *::before,html.bpa-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.bpa-cursor,html.bpa-cursor *{cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 24 24'%3E%3Cpath d='M5 3l14 8-6 2-2 6z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 6 4,auto!important}
html.bpa-focus *:focus{outline:4px solid #E8326F!important;outline-offset:3px!important}
.bpa-alt-label{display:inline-block;background:#3B1230;color:#fff;font:700 12px/1.4 Arial,sans-serif;padding:3px 8px;border-radius:6px;margin:4px 0}
