/* Sortowanie opinii (Figma 5443:202 pigułka 42 / 34 px, 5446:574 lista). Natywny select Reviews zostaje w DOM, ukryty. */
/* !important: CSS Reviews ustawia display selecta selektorami z id (#reviews…), a ten select ma zniknąć zawsze, gdy jest nasz przycisk. */
select.cr-ajax-reviews-sort.sl-sort__native { display: none !important; }
.sl-sort { position: relative; display: inline-block; font-family: "Plus Jakarta Sans", sans-serif; color: var(--brxw-color-primary); }
.sl-sort__btn { display: inline-flex; align-items: center; gap: 0; height: 42px; margin: 0; padding: 0 22px; border: .5px solid var(--brxw-color-primary); border-radius: 27px; background: transparent; font: 500 14px/1.26 "Plus Jakarta Sans", sans-serif; letter-spacing: .02em; white-space: nowrap; color: inherit; cursor: pointer; }
.sl-sort__lbl { margin-right: .3em; }
.sl-sort__btn::after { content: ""; flex: none; margin-left: 10px; width: 18px; height: 8px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'%3E%3Cpath d='M1 1l8 6 8-6' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 8'%3E%3Cpath d='M1 1l8 6 8-6' fill='none' stroke='black' stroke-width='1.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.sl-sort.is-open .sl-sort__btn::after { transform: rotate(180deg); }
.sl-sort__btn:hover { background: var(--sl-color-ice); }
.sl-sort__btn:focus-visible, .sl-sort__list:focus-visible { outline: 2px solid var(--brxw-color-primary); outline-offset: 2px; }
.sl-sort__val { font-weight: 700; }
.sl-sort.is-busy .sl-sort__btn { opacity: .6; cursor: progress; }
.sl-sort__list { position: absolute; z-index: 20; top: calc(100% + 8px); right: 0; min-width: 273px; margin: 0; padding: 22px 24px; list-style: none; border-radius: 16px; background: rgba(236, 236, 236, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: 0 6px 24px rgba(4, 56, 77, .14); display: flex; flex-direction: column; gap: 14px; }
.sl-sort__list[hidden] { display: none; }
.sl-sort__list [role="option"] { position: relative; margin: 0; padding: 0 0 0 18px; font-size: 14px; font-weight: 400; line-height: 1.3; cursor: pointer; white-space: nowrap; }
.sl-sort__list [role="option"]:hover, .sl-sort__list.is-kbd [role="option"].is-active { text-decoration: underline; text-underline-offset: 3px; }
.sl-sort__list [role="option"][aria-selected="true"] { font-weight: 700; }
.sl-sort__list [role="option"][aria-selected="true"]::before { content: ""; position: absolute; left: 4px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: currentColor; }
@media (max-width: 478px) {
	.sl-sort__btn { height: 34px; font-size: 12px; }
	.sl-sort__btn::after { width: 14px; height: 6px; }
	.sl-sort__list { min-width: 240px; padding: 18px 20px; gap: 12px; }
	.sl-sort__list [role="option"] { font-size: 13px; }
}
@media (prefers-reduced-motion: no-preference) { .sl-sort__btn { transition: background-color .2s; } .sl-sort__btn::after { transition: transform .2s; } }
