.bals { display: inline-flex; align-items: center; }
.bals__trigger { display: inline-grid; place-items: center; width: 34px; height: 38px; padding: 0 !important; border: 0 !important; background: transparent !important; color: inherit !important; cursor: pointer; }
.bals__trigger:hover { opacity: .7; }
.bals__overlay { position: fixed; inset: 0; z-index: 2147483000; overflow: auto; }
.bals__overlay[hidden], .bals__results[hidden] { display: none !important; }
.bals__backdrop { position: fixed; inset: 0; width: 100%; height: 100%; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: rgba(0,0,0,.62) !important; cursor: default; }
.bals__panel { position: relative; width: 100%; max-height: 92vh; overflow-y: auto; box-sizing: border-box; padding: 24px 60px 27px; background: #fff; color: #171717; box-shadow: 0 10px 35px rgba(0,0,0,.17); }
.bals__heading { margin: 0 45px 17px !important; text-align: center; color: #1e1e1e !important; font: 400 23px/1.35 Georgia, 'Times New Roman', serif !important; }
.bals__close { position: absolute; top: 11px; right: 18px; width: 38px; height: 38px; padding: 0 !important; border: 0 !important; background: transparent !important; color: #111 !important; font: 300 38px/1 Arial, sans-serif !important; cursor: pointer; }
.bals__form { display: flex; width: min(100%,750px); margin: 0 auto; }
.bals__input { flex: 1; min-width: 0; height: 43px; box-sizing: border-box !important; padding: 0 16px !important; border: 1px solid #d8d8d8 !important; border-radius: 0 !important; background: #fff !important; box-shadow: none !important; color: #222 !important; font: 16px Georgia, 'Times New Roman', serif !important; }
.bals__input:focus { outline: 2px solid #333; outline-offset: -2px; }
.bals__submit { display: inline-flex; align-items: center; justify-content: center; gap: 6px; flex: none; min-width: 120px; height: 43px; padding: 0 12px !important; border: 1px solid #000 !important; border-radius: 0 !important; background: #000 !important; color: #fff !important; font: 700 12px Arial, sans-serif !important; cursor: pointer; }
.bals__submit svg { width: 16px; height: 16px; }
.bals__results { width: min(100%,750px); margin: 6px auto 0; max-height: 52vh; overflow-y: auto; border: 1px solid #eee; background: #fff; box-shadow: 0 8px 19px rgba(0,0,0,.1); text-align: left; }
.bals__item { display: flex; align-items: center; gap: 12px; padding: 9px 12px; border-bottom: 1px solid #eee; color: #222 !important; text-decoration: none !important; }
.bals__item:hover, .bals__item:focus { background: #f5f5f5; }
.bals__item img { width: 42px; height: 58px; object-fit: cover; flex: none; }
.bals__info { display: grid; gap: 2px; min-width: 0; }
.bals__title { font-weight: 600; line-height: 1.3; }
.bals__meta, .bals__price { font-size: 13px; color: #666; }
.bals__price del { color: #8e8e8e; text-decoration: line-through !important; text-decoration-thickness: 1px !important; margin-right: 5px; }
.bals__price ins { color: #9b2727; font-weight: 700; text-decoration: none !important; background: transparent !important; }
.bals__status, .bals__all { display: block; padding: 12px; text-align: center; font-size: 14px; }
.bals__all { color: #222 !important; font-weight: 600; text-decoration: none !important; }
.bals__all:hover { background: #f5f5f5; }
body.bals-modal-open { overflow: hidden !important; }
body.admin-bar .bals__overlay, body.admin-bar .bals__backdrop { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bals__overlay, body.admin-bar .bals__backdrop { top: 46px; } }
@media (max-width: 600px) { .bals__panel { padding: 20px 14px 18px; } .bals__heading { margin: 0 32px 17px !important; font-size: 19px !important; } .bals__close { top: 8px; right: 8px; } .bals__submit { min-width: 44px; width: 44px; padding: 0 !important; } .bals__submit span { display: none; } .bals__input { font-size: 14px !important; } }
