/* Native dialogs on current Safari; an accessible overlay on older engines. */
.cgr-gw-dialog:not([open]), .cgr-notes-dialog:not([open]) { display: none; }
.cgr-dialog-fallback[open] {
    display: block;
    position: fixed;
    z-index: 2147483646;
    top: var(--cgr-filter-top, 0px);
    bottom: auto;
    left: 0;
    right: 0;
    margin: 0 auto;
    max-height: var(--cgr-filter-height, 100vh);
    box-shadow: 0 0 0 100vmax rgba(12, 30, 37, .55);
}
.cgr-notes-dialog { max-height: min(90vh, var(--cgr-filter-height, 90vh)); }
.cgr-notes-dialog .cgr-notes { max-height: min(90vh, var(--cgr-filter-height, 90vh)); }
.cgr-notes-dialog .cgr-notes-form { max-height: calc(min(90vh, var(--cgr-filter-height, 90vh)) - 22px); }
@media (max-width: 767px) {
    .cgr-gw-dialog, .cgr-gw-filter-form { height: var(--cgr-filter-height, 100vh); max-height: var(--cgr-filter-height, 100vh); }
}
html.cgr-gw-page-locked .cgr-gw-floating-filter { visibility: hidden !important; pointer-events: none !important; }
/* Active glassware facets must not be followed by an unrelated result set. */
#cgr-gw-full.cgr-gw-full-filtered ~ * { display: none !important; }
.cgr-gw-buy-option.is-selected { border-color: var(--gw-ink); background: var(--gw-soft); }
.cgr-gw-buy-option.is-disabled { background: #fafafa; color: var(--gw-muted); cursor: default; }
