/*
 * search-v2.flyouts.css
 * Owner: task 04, docs/search-redesign/04-filter-flyouts/TASK.md
 * Every rule must start with body.search-v2.
 *
 * Filter flyout panel (.filters-city) and its blocks: Type / Price / Beds-Baths /
 * Style (desktop pills) and Sort-by (mobile only).
 *
 * JS contract kept (jquery.custom.js:385-407, jquery.search-page.js:78-88):
 *  - display of .filters-city and .filters__block is owned by jQuery .show()/.hide().
 *    No display value is set on them here except non-none layout values.
 *  - top of .filters-city is set inline by JS above 1280px: 8px below the
 *    clicked pill (jquery.custom.js). Not overridden here.
 *  - Radios/checkboxes are clipped (not display:none) so they stay focusable and
 *    arrow keys work inside the radio groups; labels carry the visuals.
 *//* ------------------------------------------------------------------ *//* Panel: shared skin (all widths)                                     *//* ------------------------------------------------------------------ */body.search-v2 .filters-city{box-sizing:border-box;margin:0;background:var(--sv2-color-surface);color:var(--sv2-color-text);font-family:var(--sv2-font-ui);font-size:var(--sv2-fs-md);line-height:var(--sv2-lh)}/* Between-block dividers: only one block is visible at a time, so they are
   always redundant (mediaqueries.css:1906 shows them at <=1280). The one
   between the Beds and Baths rows is replaced by spacing. Not JS-toggled. */body.search-v2 .filters-city .filters__divider.block-divider,body.search-v2 .filters-city .filters__row > .filters__divider{display:none}body.search-v2 .filters-city .filters__block{margin:0;padding:0}/* overrides mediaqueries.css:1902 (120px bottom padding on the last block) */body.search-v2 .filters-city .filters__block:last-child{padding-bottom:0}/* ------------------------------------------------------------------ *//* Rows and icons                                                       *//* ------------------------------------------------------------------ */body.search-v2 .filters-city .filters__row{width:100%;align-items:center;justify-content:flex-start;gap:var(--sv2-space-4)}body.search-v2 .filters-city .filters__baths-beds .filters__row ~ .filters__row{margin-top:var(--sv2-space-6)}/* Style block is itself a .filters__row; chips wrap, so the icon sits on top. */body.search-v2 .filters-city .filters__block.filters__style{align-items:flex-start}/* Kept as 32px glyphs (24px reads too small: the SVGs carry large internal padding) to the left of the control (accepted deviation from the
   reference, which uses text titles). */body.search-v2 .filters-city .filters__icon{flex:0 0 32px;width:32px;height:32px}body.search-v2 .filters-city .filters__block.filters__style .filters__icon{margin-top:6px/* centre the 32px icon on the first 44px chip row (task 10) */}body.search-v2 .filters-city .filters__icon img{display:block;width:32px;height:32px}/* ------------------------------------------------------------------ *//* Segmented control: listing type, bedrooms, bathrooms                 *//* ------------------------------------------------------------------ */body.search-v2 .filters-city .filters__listing-type .filters__options,body.search-v2 .filters-city .filters__baths-beds .filters__options{display:flex;flex-wrap:nowrap;flex:1 1 auto;min-width:0;width:auto;margin:0;padding:0;border:1px solid var(--sv2-color-border);border-radius:var(--sv2-radius-sm);background:var(--sv2-color-surface)/* No overflow:hidden: it would clip the outer focus ring. Corners are
     rounded on the first/last labels instead. */}body.search-v2 .filters-city .filters__radio{position:relative;display:block;flex:1 1 0;min-width:0;width:auto;margin:0;padding:0}/* Visually hidden, still focusable (overrides style.css:733 display:none). */body.search-v2 .filters-city .filters__radio input[type="radio"],body.search-v2 .filters-city .filters__checkbox input[type="checkbox"]{display:block;position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0;opacity:1}body.search-v2 .filters-city .filters__radio label{position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:48px;margin:0;padding:0 var(--sv2-space-2);border:0;border-radius:0;background:transparent;color:var(--sv2-color-text);font-family:var(--sv2-font-ui);font-size:var(--sv2-fs-md);font-weight:var(--sv2-fw-regular);line-height:1.2;letter-spacing:0;text-align:center;text-transform:none;cursor:pointer;transition:background-color var(--sv2-dur) var(--sv2-ease),box-shadow var(--sv2-dur) var(--sv2-ease)}body.search-v2 .filters-city .filters__radio + .filters__radio label{border-left:1px solid var(--sv2-color-border-subtle)}body.search-v2 .filters-city .filters__radio:first-child label{border-radius:var(--sv2-radius-sm) 0 0 var(--sv2-radius-sm)}body.search-v2 .filters-city .filters__radio:last-child label{border-radius:0 var(--sv2-radius-sm) var(--sv2-radius-sm) 0}body.search-v2 .filters-city .filters__radio label:hover{background:var(--sv2-color-tint-2)}/* overrides style.css:736 (green fill) */body.search-v2 .filters-city .filters__radio input[type="radio"]:checked + label{z-index:1;border-left-color:transparent;border-radius:var(--sv2-radius-sm);background:var(--sv2-color-tint);color:var(--sv2-color-primary);font-weight:var(--sv2-fw-semibold);box-shadow:inset 0 0 0 2px var(--sv2-color-primary)}body.search-v2 .filters-city .filters__radio input[type="radio"]:focus-visible + label{z-index:2;box-shadow:var(--sv2-shadow-focus)}body.search-v2 .filters-city .filters__radio input[type="radio"]:checked:focus-visible + label{box-shadow:inset 0 0 0 2px var(--sv2-color-primary),var(--sv2-shadow-focus)}/* ------------------------------------------------------------------ *//* Style: chip toggles                                                  *//* ------------------------------------------------------------------ */body.search-v2 .filters-city .filters__options.styles{display:flex;flex-wrap:wrap;flex:1 1 auto;min-width:0;gap:var(--sv2-space-2);margin:0;padding:0}body.search-v2 .filters-city .filters__checkbox{position:relative;display:block;width:auto;margin:0;padding:0}body.search-v2 .filters-city .filters__checkbox label{box-sizing:border-box;display:inline-flex;align-items:center;height:var(--sv2-control-h);/* task 10: 44px, same chip as the drawer */margin:0;padding:0 var(--sv2-space-4);border:1px solid var(--sv2-color-border);border-radius:var(--sv2-radius-pill);background:var(--sv2-color-surface);color:var(--sv2-color-text);font-family:var(--sv2-font-ui);font-size:var(--sv2-fs-sm);font-weight:var(--sv2-fw-regular);line-height:1;letter-spacing:0;text-transform:none;white-space:nowrap;cursor:pointer;transition:background-color var(--sv2-dur) var(--sv2-ease),border-color var(--sv2-dur) var(--sv2-ease),box-shadow var(--sv2-dur) var(--sv2-ease)}body.search-v2 .filters-city .filters__checkbox label:hover{border-color:var(--sv2-color-text-muted)}/* overrides style.css:762 (green fill). Inset 1px + 1px border = 2px ring
   without changing the chip size (no reflow of the wrapped rows). */body.search-v2 .filters-city .filters__checkbox input[type="checkbox"]:checked + label{border-color:var(--sv2-color-primary);background:var(--sv2-color-tint);color:var(--sv2-color-primary);box-shadow:inset 0 0 0 1px var(--sv2-color-primary)}body.search-v2 .filters-city .filters__checkbox input[type="checkbox"]:focus-visible + label{box-shadow:var(--sv2-shadow-focus)}body.search-v2 .filters-city .filters__checkbox input[type="checkbox"]:checked:focus-visible + label{box-shadow:inset 0 0 0 1px var(--sv2-color-primary),var(--sv2-shadow-focus)}/* ------------------------------------------------------------------ *//* Price: read-only min/max boxes + jQuery UI slider                    *//* ------------------------------------------------------------------ */body.search-v2 .filters-city .filters__price .budget__slider{width:auto;margin:0;padding:0 0 var(--sv2-space-2)}body.search-v2 .filters-city .filters__price .budget__slider--values{display:grid;grid-template-columns:1fr 1fr;gap:var(--sv2-space-4);padding:0 0 var(--sv2-space-7)}/* divs whose text is set by JS (.text()); the label is a pseudo-element so it
   survives the rewrite. Not editable. */body.search-v2 .filters-city .filters__price .min-price,body.search-v2 .filters-city .filters__price .max-price{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:var(--sv2-space-2);height:48px;padding:0 var(--sv2-space-4);border:1px solid var(--sv2-color-border);border-radius:var(--sv2-radius-sm);background:var(--sv2-color-surface);color:var(--sv2-color-text);font-size:var(--sv2-fs-md);font-weight:var(--sv2-fw-semibold)}body.search-v2 .filters-city .filters__price .min-price::after,body.search-v2 .filters-city .filters__price .max-price::after{order:-1;color:var(--sv2-color-text-muted);font-size:var(--sv2-fs-sm);font-weight:var(--sv2-fw-regular)}body.search-v2 .filters-city .filters__price .min-price::after{content:"Min"}body.search-v2 .filters-city .filters__price .max-price::after{content:"Max"}/* Track. overrides style.css:771-778 and jquery-ui.theme.css (.ui-widget-content) */body.search-v2 .filters-city .budget-range.ui-slider-horizontal.ui-widget.ui-widget-content{height:4px;margin:0 var(--sv2-space-3);border:0;border-radius:var(--sv2-radius-pill);background:var(--sv2-color-border)}/* Range. overrides style.css:781 and jquery-ui.theme.css (.ui-widget-header) */body.search-v2 .filters-city .budget-range .ui-slider-range.ui-widget-header{border:0;border-radius:var(--sv2-radius-pill);background:var(--sv2-color-primary)}/* Handles. overrides style.css:784, 792 (40x20 square) and jquery-ui.theme.css
   (.ui-state-default/-hover/-focus/-active backgrounds) */body.search-v2 .filters-city .budget-range .ui-slider-handle.ui-state-default,body.search-v2 .filters-city .budget-range .ui-slider-handle.ui-state-hover,body.search-v2 .filters-city .budget-range .ui-slider-handle.ui-state-focus,body.search-v2 .filters-city .budget-range .ui-slider-handle.ui-state-active{box-sizing:border-box;top:50%;width:24px;height:24px;margin-top:-12px;margin-left:-12px;border:2px solid var(--sv2-color-primary) !important;/* overrides style.css:787 (border: none !important) */border-radius:50%;background:var(--sv2-color-surface);box-shadow:var(--sv2-shadow-sm);outline:none;cursor:grab;touch-action:none}body.search-v2 .filters-city .budget-range .ui-slider-handle.ui-state-active{cursor:grabbing}body.search-v2 .filters-city .budget-range .ui-slider-handle:focus-visible{box-shadow:var(--sv2-shadow-sm),var(--sv2-shadow-focus)}/* ------------------------------------------------------------------ *//* Sort-by block (only reachable inside the panel on mobile)            *//* ------------------------------------------------------------------ */body.search-v2 .filters-city .filters__sort-by .sort-listing{position:relative;box-sizing:border-box;width:100%;min-width:0;height:auto;margin:0;padding:0;border:0;background:none}body.search-v2 .filters-city .filters__sort-by .sort-listing::after{content:"";position:absolute;top:50%;right:var(--sv2-space-4);width:12px;height:12px;margin-top:-6px;background-color:var(--sv2-color-text);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4h8L6 9z'/%3E%3C/svg%3E") center/12px 12px no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 4h8L6 9z'/%3E%3C/svg%3E") center/12px 12px no-repeat;pointer-events:none}body.search-v2 .filters-city .filters__sort-by .sort-listing select{-webkit-appearance:none;appearance:none;box-sizing:border-box;display:block;width:100%;height:48px;margin:0;padding:0 var(--sv2-space-8) 0 var(--sv2-space-4);border:1px solid var(--sv2-color-border);border-radius:var(--sv2-radius-sm);background:var(--sv2-color-surface);color:var(--sv2-color-text);font-family:var(--sv2-font-ui);font-size:var(--sv2-fs-md);text-transform:none;cursor:pointer}body.search-v2 .filters-city .filters__sort-by .sort-listing select:focus-visible{outline:none;border-color:var(--sv2-color-primary);box-shadow:var(--sv2-shadow-focus)}/* ------------------------------------------------------------------ *//* Desktop (>=1281): anchored popover in the list column               *//* ------------------------------------------------------------------ */@media screen and (min-width: 1281px){/* overrides style.css:691-706 and 4066-4070 (padding, border, shadow, z-index 666).
     top stays JS-owned (jquery.custom.js:405, Option A). */body.search-v2 .section--city .filters-city{left:var(--sv2-space-7);right:auto;width:min(640px, calc(100% - 2 * var(--sv2-space-7)));padding:var(--sv2-space-7);border:1px solid var(--sv2-color-border-subtle);border-radius:var(--sv2-radius-md);box-shadow:var(--sv2-shadow-lg);z-index:var(--sv2-z-flyout)}/* Map open: stay inside the list column (task 02's limit, layout.css:409). */body.search-v2 .section--city.half .filters-city{width:min(640px, calc(max(560px, 48%) - 2 * var(--sv2-space-7)))}}/* ------------------------------------------------------------------ *//* Mobile (<=1280): inline full-width panel, no popover chrome (F4)     *//* Position (fixed, top, max-height, overflow) stays legacy             *//* (mediaqueries.css:635, 1425); task 10 owns any layout change.        *//* ------------------------------------------------------------------ */@media screen and (max-width: 1280px){body.search-v2 .filters-city,body.search-v2 .filters-city.filters-city--full{left:0;right:0;width:100%;padding:var(--sv2-space-4);border:0;border-top:1px solid var(--sv2-color-border);border-radius:0;box-shadow:none}body.search-v2 .filters-city .filters__radio label{font-size:var(--sv2-fs-sm);padding:0 var(--sv2-space-1)}}