/* BringMeBoxes header ZIP selector. Elementor-friendly, scoped to shortcode. */
.bmbm-header-zip{position:relative;display:inline-block;max-width:100%;font-family:inherit;color:#15191f;z-index:20;text-align:left}
.bmbm-header-zip *{box-sizing:border-box}
.bmbm-header-zip .bmbm-hzip-toggle{appearance:none!important;-webkit-appearance:none!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;border:0!important;background:transparent!important;color:#171b22!important;box-shadow:none!important;padding:9px 10px!important;margin:0!important;min-height:54px!important;max-width:100%;cursor:pointer!important;text-transform:none!important;letter-spacing:normal!important;text-align:left!important;line-height:1.2!important;border-radius:10px!important}
.bmbm-header-zip .bmbm-hzip-toggle:hover,.bmbm-header-zip .bmbm-hzip-toggle:focus-visible{background:#f5f6f7!important;outline-offset:2px}
.bmbm-header-zip .bmbm-hzip-pin{flex:0 0 auto;color:#ce0e20}
.bmbm-header-zip .bmbm-hzip-chevron{flex:0 0 auto;transition:transform .15s ease}
.bmbm-header-zip .bmbm-hzip-toggle[aria-expanded="true"] .bmbm-hzip-chevron{transform:rotate(180deg)}
.bmbm-header-zip .bmbm-hzip-labels{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0}
.bmbm-header-zip .bmbm-hzip-title{font-size:14px!important;font-weight:750!important;line-height:1.2!important;white-space:nowrap}
.bmbm-header-zip .bmbm-hzip-subtitle{font-size:12px!important;font-weight:400!important;color:#616873!important;line-height:1.2!important;white-space:nowrap}
.bmbm-header-zip .bmbm-hzip-panel{position:absolute;z-index:99999;top:calc(100% + 6px);right:0;width:min(360px,calc(100vw - 24px));max-width:none;background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px;box-shadow:0 14px 38px rgba(17,24,39,.16);color:#171b22}
.bmbm-header-zip .bmbm-hzip-panel[hidden]{display:none!important}
.bmbm-header-zip .bmbm-hzip-panel-title{font-size:17px;font-weight:750;line-height:1.25}
.bmbm-header-zip .bmbm-hzip-panel p{font-size:13px;line-height:1.5;margin:8px 0 15px;color:#545b66}
.bmbm-header-zip .bmbm-hzip-form{display:flex;gap:8px;align-items:stretch;margin:0}
.bmbm-header-zip .bmbm-hzip-input{min-width:0!important;flex:1 1 auto!important;width:100%!important;height:44px!important;border:1px solid #cbd1da!important;border-radius:8px!important;padding:0 12px!important;color:#171b22!important;background:#fff!important;font-size:15px!important;box-shadow:none!important}
.bmbm-header-zip .bmbm-hzip-apply{flex:0 0 auto!important;min-width:86px!important;height:44px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;background:#c90d20!important;color:#fff!important;border:0!important;border-radius:8px!important;font-size:14px!important;font-weight:700!important;padding:0 14px!important;line-height:1!important;cursor:pointer!important}
.bmbm-header-zip .bmbm-hzip-apply:disabled{opacity:.6;cursor:wait!important}
.bmbm-header-zip .bmbm-hzip-message{font-size:12px;color:#aa1423;margin-top:8px;min-height:0}
@media(max-width:767px){.bmbm-header-zip{display:block;width:100%}.bmbm-header-zip .bmbm-hzip-toggle{width:100%!important;min-height:48px!important;padding:8px 12px!important;background:#f6f7f8!important}.bmbm-header-zip .bmbm-hzip-chevron{margin-left:auto}.bmbm-header-zip .bmbm-hzip-panel{left:0;right:auto;width:min(360px,calc(100vw - 24px))}}

/* Unified ZIP-check result and shop action in compact selector. */
.bmbm-header-zip .bmbm-hzip-message:not(:empty){margin-top:14px;padding:10px 12px;border-radius:8px;background:#f5f6f7;color:#252b32;font-size:13px;line-height:1.5}
.bmbm-header-zip .bmbm-hzip-shop:not([hidden]){display:inline-flex;align-items:center;justify-content:center;margin-top:12px;background:#c90d20;color:#fff!important;border-radius:8px;padding:10px 14px;font-size:13px;font-weight:700;text-decoration:none!important}
.bmbm-header-zip .bmbm-hzip-shop[hidden]{display:none!important}
