/* Public selectors share one control and one popup; native data stays intact. */
.rd-select-wrapper{position:relative;display:block;width:100%;min-width:0;max-width:100%;--rd-select-height:56px;--rd-select-ink:var(--color-ink,#1f2e46);--rd-select-blue:var(--color-primary,#155ffe);--rd-select-line:var(--color-line,#dbe4f3)}
.rd-select-wrapper[hidden],.rd-select-menu[hidden],.rd-select-error[hidden]{display:none!important}
.rd-select-wrapper>select.rd-select-native{position:absolute!important;inset:auto!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important}
.rd-select-label{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}
.rd-select-wrapper>.rd-select-trigger{appearance:none;-webkit-appearance:none;display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;min-width:0;min-height:var(--rd-select-height);margin:0;padding:13px 18px;border:1px solid var(--rd-select-line);border-radius:14px;background:#fff;color:var(--rd-select-ink);font-family:inherit;font-size:16px;font-weight:400;line-height:1.4;text-align:left;box-shadow:none;cursor:pointer;transition:border-color .16s ease,background-color .16s ease}
.rd-select-wrapper>.rd-select-trigger:hover{border-color:#b4c7e7;background:#fff;color:var(--rd-select-ink)}
.rd-select-wrapper>.rd-select-trigger:focus{outline:none}
.rd-select-wrapper>.rd-select-trigger:focus-visible{outline:3px solid rgba(21,95,254,.16);outline-offset:2px;border-color:var(--rd-select-blue)}
.rd-select-wrapper.is-open>.rd-select-trigger{border-color:var(--rd-select-blue)}
.rd-select-wrapper>.rd-select-trigger[aria-invalid=true]{border-color:var(--color-error,#bd3434)}
.rd-select-wrapper>.rd-select-trigger:disabled{opacity:.55;background:var(--color-surface-soft,#edf3fd);cursor:not-allowed}
.rd-select-value{min-width:0;flex:1;overflow-wrap:anywhere}
.rd-select-chevron{display:block;width:18px;height:18px;flex:none;color:var(--rd-select-ink);transition:transform .16s ease}
.rd-select-wrapper.is-open .rd-select-chevron{transform:rotate(180deg)}
.rd-select-menu{position:fixed;inset:auto;z-index:1000;display:block;box-sizing:border-box;min-width:0;margin:0;padding:6px;border:1px solid var(--color-line,#dbe4f3);border-radius:16px;background:#fff;color:var(--color-ink,#1f2e46);font-family:inherit;font-size:16px;font-weight:400;line-height:1.4;box-shadow:0 12px 36px rgba(31,46,70,.12);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c6d5ed transparent;max-width:calc(100vw - 16px)}
.rd-select-menu::backdrop{background:transparent;pointer-events:none}
.rd-select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;min-height:44px;padding:10px 12px;border-radius:10px;color:var(--color-ink,#1f2e46);cursor:pointer;overflow-wrap:anywhere}
.rd-select-option>span{flex:1;min-width:0}
.rd-select-option.is-active,.rd-select-option:not([aria-disabled=true]):hover{background:var(--color-surface-soft,#edf3fd);color:var(--color-primary,#155ffe)}
.rd-select-option[aria-selected=true]{background:var(--color-surface-soft,#edf3fd);color:var(--color-primary,#155ffe)}
.rd-select-check{display:block;width:18px;height:18px;flex:none;color:var(--color-primary,#155ffe);opacity:0}
.rd-select-option[aria-selected=true]>.rd-select-check{opacity:1}
.rd-select-option[aria-disabled=true]{opacity:.4;background:transparent;color:var(--color-muted,#6b7890);cursor:not-allowed}
.rd-select-group{padding:12px 12px 6px;color:var(--color-muted,#6b7890);font-size:14px;line-height:1.4}
.rd-select-error{display:block;margin-top:8px;font-size:14px;line-height:1.5;color:var(--color-error,#bd3434)}
.catalog-sort-control>.rd-select-wrapper{width:220px;min-width:0;max-width:100%;--rd-select-height:48px}
.catalog-sort-control>.rd-select-wrapper~.catalog-icon{display:none}
@media(max-width:600px){.catalog-sort-control{max-width:100%;min-width:0}.catalog-sort-control>.rd-select-wrapper{min-width:0}.rd-select-wrapper>.rd-select-trigger{font-size:16px}}
@media(max-width:380px){.catalog-sort:has(.rd-select-wrapper){flex-direction:column;align-items:stretch;gap:8px}.catalog-sort-control>.rd-select-wrapper{width:100%}}
@media(prefers-reduced-motion:reduce){.rd-select-wrapper>.rd-select-trigger,.rd-select-chevron{transition:none}}
