/* Klondaik Marketplace v0.9 — old Klondaik familiarity, modern implementation */
:root{--kl-orange:#f5a000;--kl-orange-2:#ffbd00;--kl-red:#df151d;--kl-ink:#17191f;--kl-line:#e5e2dc;--kl-soft:#f8f7f4}

/* Header: compact, familiar, and visually close to the old Klondaik */
.market-header__main{min-height:72px;grid-template-columns:auto auto minmax(330px,1fr) auto;gap:12px}
.market-logo--main span{font-size:27px;letter-spacing:.075em}
.catalog-button{height:48px;min-width:148px;justify-content:center;border-radius:13px;background:linear-gradient(135deg,var(--kl-orange),var(--kl-orange-2));box-shadow:0 8px 20px rgba(219,139,0,.18)}
.catalog-button__icon{font-size:20px;transition:transform .2s}.catalog-button.is-open .catalog-button__icon{transform:rotate(90deg)}

.global-search-wrap{position:relative;min-width:0}
.global-search{height:48px;padding:0 8px 0 14px;background:#fbfbfa;border-color:#e4e2dd}
.global-search__icon{flex:0 0 auto;font-size:24px}.global-search input{min-width:90px}
.global-search__region{height:38px;flex:0 0 auto;border:0;border-left:1px solid #e5e2dd;background:transparent;padding:0 9px 0 13px;color:#4b5cca;display:flex;align-items:center;gap:5px;font:700 12px Montserrat;cursor:pointer}
.global-search__region em{font-style:normal;border-left:1px solid #d9d6ee;padding-left:7px}

.search-history,.location-popover{position:absolute;z-index:120;left:0;right:0;top:56px;background:rgba(255,255,255,.98);border:1px solid #e6e4df;border-radius:17px;box-shadow:0 24px 55px rgba(28,29,35,.16);padding:15px 17px}
.search-history__head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.search-history__head strong{font-size:14px}.search-history__head button{border:0;background:transparent;color:#4958c5;font-weight:700;cursor:pointer}
.search-history__items{display:flex;flex-wrap:wrap;gap:8px;max-height:96px;overflow:hidden}.search-history.is-expanded .search-history__items{max-height:none}
.search-history__item{border:0;background:#f2f2ef;border-radius:10px;padding:8px 10px;font:600 11px Montserrat;display:flex;align-items:center;gap:8px;cursor:pointer}.search-history__item i{font-style:normal;color:#8b8d93}.search-history__more{border:0;background:transparent;color:#4b5cca;font:700 11px Montserrat;margin-top:9px;cursor:pointer}
.location-popover{left:auto;width:330px}.location-popover>strong{display:block;margin-bottom:12px}.location-popover label{display:block;font-size:10px;color:#737680;margin-top:9px}.location-popover input{width:100%;height:40px;border:1px solid #deddd9;border-radius:10px;margin-top:5px;padding:0 11px;font:600 12px Montserrat}.location-popover button{width:100%;height:40px;margin-top:12px;border:0;border-radius:10px;background:var(--kl-orange);font-weight:800}.location-popover small{display:block;color:#8a8d94;line-height:1.45;margin-top:10px}

.old-klondaik-links{margin-bottom:12px;gap:8px;overflow:visible}
.old-link-pill{height:38px!important;display:inline-flex!important;align-items:center;gap:8px;border:1px solid #deddd8!important;border-radius:13px!important;padding:0 15px!important;background:#fff!important;color:#33363e!important;box-shadow:0 2px 7px rgba(20,20,20,.025);white-space:nowrap}
.old-link-pill span{font-size:15px}.old-link-pill b{font-size:10px}.old-link-dropdown{position:relative}.old-link-dropdown>button{cursor:pointer;font:600 12px Montserrat}
.old-link-menu{position:absolute;z-index:130;top:45px;left:0;width:245px;background:#fff;border:1px solid #e4e2de;border-radius:14px;box-shadow:0 22px 45px rgba(26,27,31,.18);padding:9px}.old-link-menu a{display:block;padding:9px 10px;border-radius:9px;color:#3e4148;text-decoration:none;font-size:11px}.old-link-menu a:hover{background:#f5f3ee}.old-link-menu hr{border:0;border-top:1px solid #ece9e3;margin:6px 0}

/* Catalog mega menu: old layout logic, cleaner modern typography */
.catalog-mega{border-radius:0 0 22px 22px;max-height:calc(100vh - 122px)}
.catalog-mega__inner{grid-template-columns:250px 1fr;min-height:520px}
.catalog-mega__roots{background:#f6f7f8;padding:15px 10px 22px 0}.catalog-mega__roots button{border-radius:0 10px 10px 0;padding:9px 13px}.catalog-mega__roots button.is-active{background:#fff2d9;color:#c76d00;box-shadow:inset 3px 0 0 #f4a000}
.catalog-mega__content{padding:22px 27px 35px}.catalog-mega__heading{margin-bottom:18px}.catalog-mega__heading h2{font-size:27px}
.catalog-mega__columns{grid-template-columns:repeat(3,minmax(190px,1fr));gap:25px 44px}.mega-group__title{font-size:13px}.mega-group__links a{font-size:12px;line-height:1.35}.mega-group__links .is-extra{display:none}.mega-group.is-expanded .is-extra{display:block}.mega-more{border:0;background:transparent;color:#4c64ca;padding:7px 0 0;font:700 10px Montserrat;cursor:pointer}

/* Exactly five listing cards on the authenticated home desktop */
.product-grid--home{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.product-grid--home .product-card:nth-child(n+6){display:none}
.product-card__media{aspect-ratio:4/5}.product-card__badge{font-size:10px;padding:5px 8px}.product-card__price{font-size:19px}

/* Category children: same visual language and width as the main category tiles */
.market-main.category-page{width:min(1330px,calc(100% - 32px));max-width:1330px;padding-left:0;padding-right:0}
.subcategory-section--main-style{width:100%;margin:0 0 30px}
.subcategory-grid--main-style{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:10px;width:100%}
.subcategory-grid--main-style .legacy-main-category-wrap{min-width:0}
.subcategory-grid--main-style .legacy-main-category{height:100px;min-height:100px}
.subcategory-lists{grid-template-columns:repeat(3,minmax(190px,1fr));gap:28px 46px}.subcategory-list .is-extra{display:none}.subcategory-list.is-expanded .is-extra{display:block}

@media(max-width:1250px){.market-header__main{grid-template-columns:auto auto 1fr}.header-tools{display:none}.product-grid--home{grid-template-columns:repeat(4,1fr)}.catalog-mega__columns{grid-template-columns:repeat(3,1fr)}.subcategory-grid--main-style{grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:900px){.product-grid--home{grid-template-columns:repeat(3,1fr)}.subcategory-grid--main-style,.subcategory-lists{grid-template-columns:repeat(2,minmax(0,1fr))}.global-search__region em{display:none}.catalog-mega__columns{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.market-main.category-page{width:min(100% - 20px,1330px)}.product-grid--home{grid-template-columns:repeat(2,1fr)}.subcategory-grid--main-style,.subcategory-lists{grid-template-columns:repeat(2,minmax(0,1fr))}.global-search__region{padding-left:8px}.global-search__region strong{max-width:80px;overflow:hidden;text-overflow:ellipsis}.location-popover{left:0;width:auto}}

/* v0.9.7 — classic Klondaik slide-out catalog filter */
body.is-filter-drawer-open{overflow:hidden}.catalog-filter-backdrop{position:fixed;inset:0;z-index:1190;background:rgba(18,20,24,.26);backdrop-filter:blur(1px);opacity:0;transition:opacity .22s ease}.catalog-filter-backdrop.is-open{opacity:1}.catalog-filter-drawer{position:fixed;z-index:1200;left:0;top:0;bottom:0;width:min(390px,92vw);background:#fff;border-radius:0 22px 22px 0;box-shadow:18px 0 60px rgba(20,23,30,.16);transform:translateX(-103%);transition:transform .26s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;overflow:hidden}.catalog-filter-drawer.is-open{transform:translateX(0)}.catalog-filter-drawer__head{height:78px;display:flex;align-items:center;gap:16px;padding:18px 24px;border-bottom:1px solid #f0f0f1}.catalog-filter-drawer__head strong{font-size:19px;font-weight:800;color:#25272d}.catalog-filter-drawer__back{width:36px;height:36px;border:0;background:transparent;border-radius:10px;font-size:25px;line-height:1;color:#31343a;cursor:pointer}.catalog-filter-drawer__back:hover{background:#f5f5f6}.catalog-filter-drawer__form{padding:22px 24px 110px;overflow:auto;overscroll-behavior:contain}.filter-drawer-group{margin-bottom:22px}.filter-drawer-label{display:block;margin:0 0 8px;color:#555961;font-size:13px;font-weight:700}.filter-drawer-group input[type=text],.filter-drawer-group input[type=number],.filter-drawer-group input[list],.filter-drawer-group select{width:100%;height:48px;border:1px solid #e2e3e6;border-radius:12px;background:#fff;padding:0 14px;color:#30333a;font:600 13px Montserrat;outline:none}.filter-drawer-group input:focus,.filter-drawer-group select:focus{border-color:#bfc2c8;box-shadow:0 0 0 3px rgba(28,31,36,.05)}.filter-drawer-current{min-height:46px;display:flex;align-items:center;padding:0 14px;margin-bottom:8px;border-radius:12px;background:#f7f7f8;color:#4f535b;font-size:13px;font-weight:650}.filter-drawer-range{display:grid;grid-template-columns:1fr 1fr;gap:10px}.filter-drawer-check,.filter-drawer-radio{position:relative;display:flex;align-items:center;gap:10px;min-height:38px;color:#5b5f66;font-size:13px;font-weight:600;cursor:pointer}.filter-drawer-check input,.filter-drawer-radio input{position:absolute;opacity:0;pointer-events:none}.filter-drawer-check span,.filter-drawer-radio span{width:20px;height:20px;flex:0 0 20px;border:1px solid #d8dade;background:#fff;position:relative}.filter-drawer-check span{border-radius:5px}.filter-drawer-radio span{border-radius:50%}.filter-drawer-check input:checked+span{background:#2f83ff;border-color:#2f83ff}.filter-drawer-check input:checked+span:after{content:'✓';position:absolute;inset:0;display:grid;place-items:center;color:#fff;font-size:12px;font-weight:900}.filter-drawer-radio input:checked+span{border:6px solid #2f83ff}.catalog-filter-drawer__footer{position:absolute;left:0;right:0;bottom:0;display:grid;grid-template-columns:auto 1fr;gap:10px;padding:14px 24px 18px;background:linear-gradient(to top,#fff 75%,rgba(255,255,255,.92));border-top:1px solid #eeeef0}.filter-drawer-reset{display:grid;place-items:center;padding:0 10px;color:#747880;font-size:12px;font-weight:700;text-decoration:none}.filter-drawer-submit{height:48px;border:0;border-radius:12px;background:#202226;color:#fff;font:800 12px Montserrat;cursor:pointer}.filter-drawer-submit:hover{background:#111317}.catalog-all-filters{display:inline-flex!important;align-items:center;gap:6px}.catalog-filters button.is-filter-active{border-color:#b7bac1;background:#f4f4f5;color:#202328}
@media(max-width:650px){.catalog-filter-drawer{width:min(360px,94vw);border-radius:0 18px 18px 0}.catalog-filter-drawer__head{height:66px;padding:14px 18px}.catalog-filter-drawer__form{padding:18px 18px 104px}.catalog-filter-drawer__footer{padding:12px 18px 15px}}

/* v0.9.8 — legacy Klondaik filter structure, modern drawer shell */
.catalog-filter-drawer{width:min(440px,94vw)}
.catalog-filter-drawer__head{height:70px;padding:0 22px;border-bottom:1px solid #eceae6;background:#fff}
.catalog-filter-drawer__head strong{font-size:18px}.catalog-filter-drawer__back{font-size:28px}
.catalog-filter-drawer__form{display:flex;flex-direction:column;height:calc(100vh - 70px);min-height:0}
.catalog-filter-drawer__scroll{flex:1;min-height:0;overflow:auto;padding:22px 24px 110px}
.filter-drawer-section{padding:0 0 22px;margin:0 0 22px;border-bottom:1px solid #efede9}
.filter-drawer-section:last-child{border-bottom:0}.filter-drawer-label{display:block;margin:0 0 9px;color:#44474f;font:700 13px Montserrat}
.filter-drawer-input,.filter-drawer-select select{box-sizing:border-box;width:100%;height:48px;border:1px solid #dddcd7;border-radius:12px;background:#fff;padding:0 13px;color:#34363d;font:600 13px Montserrat;outline:none}
.filter-drawer-input:focus,.filter-drawer-select select:focus{border-color:#b9b8b3;box-shadow:0 0 0 3px rgba(30,30,30,.035)}
.filter-drawer-input--large{font-size:15px}.filter-drawer-select{position:relative;margin-top:9px}.filter-drawer-select__button{width:100%;height:46px;border:0;border-bottom:1px solid #eeece8;background:#fff;padding:0 12px;display:flex;justify-content:space-between;align-items:center;color:#555861;font:600 13px Montserrat;cursor:pointer}
.filter-drawer-select__button b{font-size:16px;font-weight:600}.filter-drawer-select__menu{position:absolute;z-index:12;left:0;right:0;top:48px;max-height:260px;overflow:auto;padding:7px;background:#fff;border:1px solid #e5e2dc;border-radius:12px;box-shadow:0 18px 42px rgba(22,24,28,.15)}
.filter-drawer-option{display:grid;grid-template-columns:22px 1fr 20px;gap:8px;align-items:center;padding:10px;border-radius:9px;cursor:pointer;font:600 12px Montserrat}.filter-drawer-option:hover{background:#f7f6f3}.filter-drawer-option input{width:16px;height:16px}.filter-drawer-option i{opacity:0;font-style:normal}.filter-drawer-option:has(input:checked) i{opacity:1}.filter-drawer-empty-option{padding:13px;color:#96989e;font-size:11px}
.filter-drawer-metro{margin-top:12px}.filter-drawer-metro small{display:block;margin-top:6px;color:#9a9ca2;font-size:10px;line-height:1.4}
.filter-drawer-range{display:grid;grid-template-columns:1fr 1fr;gap:12px}.filter-drawer-range label{height:48px;border:1px solid #dddcd7;border-radius:12px;display:flex;align-items:center;background:#fff}.filter-drawer-range label span{padding-left:13px;color:#92949a;font-size:12px}.filter-drawer-range input{min-width:0;width:100%;height:100%;border:0;background:transparent;padding:0 10px;outline:none;font:600 13px Montserrat}
.filter-drawer-checks,.filter-drawer-radios{display:grid;gap:12px}.filter-drawer-check,.filter-drawer-radio{display:flex;align-items:center;gap:10px;color:#555861;font:600 13px Montserrat;cursor:pointer}.filter-drawer-check input,.filter-drawer-radio input{position:absolute;opacity:0}.filter-drawer-check span,.filter-drawer-radio span{width:20px;height:20px;border:1px solid #d5d4cf;background:#fff;display:inline-grid;place-items:center}.filter-drawer-check span{border-radius:6px}.filter-drawer-radio span{border-radius:50%}.filter-drawer-check input:checked+span{background:#f5a000;border-color:#f5a000}.filter-drawer-check input:checked+span:after{content:'✓';color:#fff;font-size:13px;font-weight:900}.filter-drawer-radio input:checked+span{border:6px solid #3889e8}
.filter-drawer-dynamic:empty{display:none}.filter-drawer-group select{width:100%;height:48px;border:1px solid #dddcd7;border-radius:12px;background:#fff;padding:0 13px;font:600 13px Montserrat}
.catalog-filter-drawer__footer{position:absolute;left:0;right:0;bottom:0;z-index:20;display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:center;padding:14px 24px calc(14px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);border-top:1px solid #e8e6e1;box-shadow:0 -10px 30px rgba(32,33,37,.04)}
.filter-drawer-reset{color:#7b7e86;text-decoration:none;font:700 12px Montserrat;padding:0 7px}.filter-drawer-submit{height:48px;border:0;border-radius:12px;background:#17191f;color:#fff;font:800 13px Montserrat;cursor:pointer}.filter-drawer-submit:hover{background:#07080a}
@media(max-width:520px){.catalog-filter-drawer{width:100vw}.catalog-filter-drawer__scroll{padding-left:18px;padding-right:18px}.catalog-filter-drawer__footer{padding-left:18px;padding-right:18px}}

/* === KLONDAIK FILTER DRAWER v1.0.0 — compact glass UI === */
.catalog-filter-drawer{width:min(390px,92vw);border-radius:0 22px 22px 0;background:rgba(252,252,252,.96);box-shadow:24px 0 60px rgba(21,24,31,.15);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.catalog-filter-drawer__head{height:62px;padding:0 16px;border-bottom:1px solid rgba(31,35,43,.07);background:rgba(255,255,255,.82);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
.catalog-filter-drawer__head strong{font-size:17px;letter-spacing:-.015em}.catalog-filter-drawer__back{width:34px;height:34px;font-size:24px}
.catalog-filter-drawer__form{height:calc(100vh - 62px)}
.catalog-filter-drawer__scroll{padding:14px 14px 82px}
.filter-drawer-section{padding:0 0 13px;margin:0 0 13px;border-bottom:1px solid rgba(31,35,43,.055)}
.filter-drawer-label{margin:0 0 6px;color:#3f434b;font-size:12px;font-weight:700}
.filter-drawer-select{margin-top:5px}
.filter-drawer-metro{margin-top:7px}.filter-drawer-metro small{margin-top:4px;font-size:9px;line-height:1.3;color:#a0a3a9}

/* borderless soft-gray controls */
.filter-drawer-input,.filter-drawer-select select,.filter-drawer-group select{height:42px;border:0!important;border-radius:11px;background:#f1f2f4!important;padding:0 12px;color:#33373f;font:600 12px Montserrat;box-shadow:inset 0 0 0 1px rgba(30,34,40,.018)}
.filter-drawer-input::placeholder{color:#9b9ea5}.filter-drawer-input:focus,.filter-drawer-select select:focus,.filter-drawer-group select:focus{border:0!important;box-shadow:0 0 0 3px rgba(30,34,40,.045);background:#eceef1!important}
.filter-drawer-input--large{font-size:13px}
.filter-drawer-range{gap:7px}.filter-drawer-range label{height:42px;border:0;border-radius:11px;background:#f1f2f4;box-shadow:inset 0 0 0 1px rgba(30,34,40,.018)}
.filter-drawer-range label span{padding-left:11px;font-size:11px}.filter-drawer-range input{padding:0 8px;font-size:12px}

/* old-Klondaik style chevrons */
.filter-drawer-select{position:relative}.filter-drawer-select select{appearance:none;-webkit-appearance:none;padding-right:38px;cursor:pointer}
.filter-drawer-select:not([data-filter-dropdown])::after{content:"";position:absolute;right:15px;top:50%;width:8px;height:8px;border-right:1.7px solid #5c6169;border-bottom:1.7px solid #5c6169;transform:translateY(-67%) rotate(45deg);pointer-events:none;transition:transform .18s ease}
.filter-drawer-select__button{height:40px;border:0!important;border-radius:10px;background:#f1f2f4!important;padding:0 36px 0 12px;position:relative;color:#4c5058;font-size:12px}
.filter-drawer-select__button b{display:none}.filter-drawer-select__button::after{content:"";position:absolute;right:15px;top:50%;width:8px;height:8px;border-right:1.7px solid #5c6169;border-bottom:1.7px solid #5c6169;transform:translateY(-67%) rotate(45deg);transition:transform .18s ease}
.filter-drawer-select[data-filter-dropdown].is-open .filter-drawer-select__button::after,.filter-drawer-select[data-filter-dropdown]:has(.filter-drawer-select__menu:not([hidden])) .filter-drawer-select__button::after{transform:translateY(-30%) rotate(225deg)}
.filter-drawer-select__menu{top:43px;border:1px solid rgba(39,43,50,.08);border-radius:12px;padding:5px;box-shadow:0 16px 38px rgba(26,29,35,.13)}
.filter-drawer-option{padding:8px 9px;font-size:11px;border-radius:8px}

/* denser statuses and radios */
.filter-drawer-checks,.filter-drawer-radios{gap:5px}.filter-drawer-check,.filter-drawer-radio{gap:8px;min-height:29px;font-size:12px}
.filter-drawer-check span,.filter-drawer-radio span{width:18px;height:18px;flex:0 0 18px}.filter-drawer-radio input:checked+span{border-width:5px}
.filter-drawer-group{margin-bottom:10px}.filter-drawer-current{min-height:40px;margin-bottom:5px;border-radius:10px;background:#f1f2f4;padding:0 12px}

/* small glass footer actions */
.catalog-filter-drawer__footer{display:flex;justify-content:flex-end;gap:8px;padding:9px 14px calc(10px + env(safe-area-inset-bottom));background:rgba(249,249,250,.74);border-top:1px solid rgba(35,39,45,.07);box-shadow:0 -8px 24px rgba(24,27,32,.035);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.filter-drawer-reset,.filter-drawer-submit{height:38px;border-radius:11px;display:inline-flex;align-items:center;justify-content:center;font:700 11px Montserrat;transition:.18s ease}
.filter-drawer-reset{min-width:88px;padding:0 14px;color:#62666e;background:rgba(255,255,255,.62);border:1px solid rgba(34,38,44,.09);box-shadow:0 5px 16px rgba(25,28,33,.035)}
.filter-drawer-submit{min-width:128px;padding:0 17px;color:#292d33;background:rgba(255,255,255,.76);border:1px solid rgba(34,38,44,.12);box-shadow:0 7px 20px rgba(25,28,33,.055)}
.filter-drawer-reset:hover,.filter-drawer-submit:hover{background:rgba(255,255,255,.96);transform:translateY(-1px);box-shadow:0 9px 24px rgba(25,28,33,.08)}

@media(max-width:520px){.catalog-filter-drawer{width:min(360px,96vw)}.catalog-filter-drawer__scroll{padding-left:12px;padding-right:12px}.catalog-filter-drawer__footer{padding-left:12px;padding-right:12px}.filter-drawer-reset{min-width:82px}.filter-drawer-submit{min-width:118px}}
/* === KLONDAIK FILTER DRAWER v1.0.1 — Montserrat + ultra compact === */

/* Global site typography. The installer also replaces explicit Manrope declarations. */
html,body{font-family:Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif!important;font-size:15px}
button,input,textarea,select,option{font-family:Montserrat,system-ui,-apple-system,"Segoe UI",sans-serif!important}

/* Drawer geometry: less empty space, denser vertical rhythm */
.catalog-filter-drawer{width:min(380px,92vw)}
.catalog-filter-drawer__head{height:58px;padding:0 10px!important;gap:8px!important}
.catalog-filter-drawer__head strong{font-family:Montserrat,sans-serif!important;font-size:19px!important;font-weight:700!important}
.catalog-filter-drawer__back{width:32px;height:32px;font-size:24px}
.catalog-filter-drawer__form{height:calc(100vh - 58px)}
.catalog-filter-drawer__scroll{padding:8px 10px 68px!important}
.filter-drawer-section{padding:0 0 7px!important;margin:0 0 7px!important}
.filter-drawer-label{margin:0 0 4px!important;font-family:Montserrat,sans-serif!important;font-size:14px!important;font-weight:600!important;line-height:1.25}
.filter-drawer-select{margin-top:2px!important}
.filter-drawer-metro{margin-top:4px!important}.filter-drawer-metro small{margin-top:2px!important;font-size:10px!important}
.filter-drawer-group{margin-bottom:5px!important}
.filter-drawer-current{min-height:38px!important;margin-bottom:2px!important;padding:0 10px!important}

/* Soft borderless inputs */
.filter-drawer-input,
.filter-drawer-select select,
.filter-drawer-group select,
.catalog-filter-drawer select{
  height:40px!important;
  border:0!important;
  border-radius:9px!important;
  background-color:#f1f2f4!important;
  padding:0 34px 0 10px!important;
  color:#2f333a!important;
  font-family:Montserrat,sans-serif!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:40px!important;
  box-shadow:none!important;
}
.filter-drawer-input{padding-right:10px!important}
.filter-drawer-input--large{font-size:14px!important}
.filter-drawer-input::placeholder{color:#92969e!important}
.filter-drawer-input:focus,.filter-drawer-select select:focus,.filter-drawer-group select:focus,.catalog-filter-drawer select:focus{background-color:#eceef1!important;box-shadow:0 0 0 2px rgba(35,39,46,.035)!important;outline:none!important}

/* Force one consistent custom chevron on EVERY select, including leasing/credit. */
.catalog-filter-drawer select,
.filter-drawer-select select,
.filter-drawer-group select{
  -webkit-appearance:none!important;
  appearance:none!important;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M6 9l6 6 6-6' stroke='%23565b63' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;
  background-repeat:no-repeat!important;
  background-position:right 10px center!important;
  background-size:14px 14px!important;
}

/* Custom dropdown button chevron */
.filter-drawer-select__button{height:40px!important;padding:0 32px 0 10px!important;border-radius:9px!important;font-family:Montserrat,sans-serif!important;font-size:14px!important;font-weight:500!important}
.filter-drawer-select__button::after{right:12px!important;width:7px!important;height:7px!important;border-width:0 1.6px 1.6px 0!important}
.filter-drawer-select__menu{top:41px!important}
.filter-drawer-option{padding:7px 8px!important;font-family:Montserrat,sans-serif!important;font-size:13px!important}

/* Price range: compact with zero gap */
.filter-drawer-range{gap:0!important}
.filter-drawer-range label{height:40px!important;border-radius:9px!important}
.filter-drawer-range label:first-child{border-radius:9px 0 0 9px!important;border-right:1px solid rgba(47,51,58,.06)!important}
.filter-drawer-range label:last-child{border-radius:0 9px 9px 0!important}
.filter-drawer-range label span{padding-left:10px!important;font-size:12px!important}
.filter-drawer-range input{padding:0 7px!important;font-family:Montserrat,sans-serif!important;font-size:14px!important}

/* Explicit request: no grid gap between checkbox/radio rows */
.filter-drawer-checks,.filter-drawer-radios{gap:0!important}
.filter-drawer-check,.filter-drawer-radio{gap:7px!important;min-height:28px!important;padding:1px 0!important;font-family:Montserrat,sans-serif!important;font-size:13px!important;font-weight:500!important;line-height:1.2}
.filter-drawer-check span,.filter-drawer-radio span{width:17px!important;height:17px!important;flex:0 0 17px!important}
.filter-drawer-radio input:checked+span{border-width:5px!important}

/* Lighter, smaller glass actions */
.catalog-filter-drawer__footer{gap:6px!important;padding:6px 10px calc(7px + env(safe-area-inset-bottom))!important}
.filter-drawer-reset,.filter-drawer-submit{height:34px!important;border-radius:10px!important;font-family:Montserrat,sans-serif!important;font-size:12px!important;font-weight:600!important}
.filter-drawer-reset{min-width:78px!important;padding:0 10px!important}
.filter-drawer-submit{min-width:112px!important;padding:0 13px!important}

@media(max-width:520px){
  .catalog-filter-drawer{width:min(350px,96vw)}
  .catalog-filter-drawer__scroll{padding-left:8px!important;padding-right:8px!important}
  .catalog-filter-drawer__footer{padding-left:8px!important;padding-right:8px!important}
}


/* === KLONDAIK FILTER DRAWER v1.0.2 — clean single chevrons === */
/* One source of truth for arrows: wrappers draw them, controls never do. */
.catalog-filter-drawer .filter-drawer-select{
  position:relative!important;
}
.catalog-filter-drawer .filter-drawer-select select,
.catalog-filter-drawer .filter-drawer-select__button{
  -webkit-appearance:none!important;
  appearance:none!important;
  background-image:none!important;
  padding-right:36px!important;
}
.catalog-filter-drawer .filter-drawer-select::after{
  content:""!important;
  position:absolute!important;
  right:13px!important;
  top:50%!important;
  width:8px!important;
  height:8px!important;
  border:0!important;
  border-right:2px solid #565b63!important;
  border-bottom:2px solid #565b63!important;
  transform:translateY(-66%) rotate(45deg)!important;
  transform-origin:center!important;
  pointer-events:none!important;
  z-index:4!important;
  opacity:.95!important;
}
/* Old tiny arrow node/pseudo-elements must never render. */
.catalog-filter-drawer .filter-drawer-select__button b,
.catalog-filter-drawer .filter-drawer-select__button i,
.catalog-filter-drawer .filter-drawer-select__button::after,
.catalog-filter-drawer .filter-drawer-select__button::before{
  display:none!important;
  content:none!important;
}
/* Native select markers are suppressed, including Safari. */
.catalog-filter-drawer select::-ms-expand{display:none!important}
.catalog-filter-drawer select{background-image:none!important}
/* Leasing/credit now has identical dimensions and chevron to all other selects. */
.catalog-filter-drawer [data-filter-field="leasing-credit"] .filter-drawer-select{
  margin-top:2px!important;
}
.catalog-filter-drawer [data-filter-field="leasing-credit"] select{
  width:100%!important;
  height:40px!important;
  min-height:40px!important;
  border:0!important;
  border-radius:9px!important;
  background-color:#f1f2f4!important;
  color:#2f333a!important;
  font-size:14px!important;
  font-weight:500!important;
  line-height:40px!important;
  padding:0 36px 0 10px!important;
  box-shadow:none!important;
}
