/* Shared HSC control states. Native fields remain functional without JavaScript. */
.hsc-select { display:block; position:relative; min-width:0; width:100%; }
.hsc-select .hsc-select__native { position:absolute!important; width:1px!important; height:1px!important; margin:0!important; padding:0!important; opacity:0!important; overflow:hidden!important; clip-path:inset(50%); pointer-events:none; }
.hsc-select > button.hsc-select__trigger { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; gap:16px; width:100%; min-height:48px; margin:0; padding:12px 16px; border:1px solid #dce1ef; border-radius:12px; background:#f7f8fc; color:#19254a; font-family:inherit; font-size:15px; font-weight:400; line-height:1.35; text-align:left; text-transform:none; letter-spacing:normal; cursor:pointer; box-shadow:none; transition:border-color .18s,box-shadow .18s,background .18s; }
.hsc-select > button.hsc-select__trigger:hover:not(:disabled) { border-color:#8a99cb; background:#fff; }
.hsc-select > button.hsc-select__trigger:focus-visible, .hsc-select > button.hsc-select__trigger[aria-expanded="true"] { outline:none; border-color:#011072; background:#fff; box-shadow:0 0 0 3px rgba(1,16,114,.12); }
.hsc-select > button.hsc-select__trigger[aria-invalid="true"] { border-color:#b42318; }
.hsc-select > button.hsc-select__trigger:disabled { cursor:not-allowed; opacity:.55; background:#f1f3f8; }
.hsc-select__value { min-width:0; overflow-wrap:anywhere; }
.hsc-select__caret { flex:0 0 auto; width:8px; height:8px; border-right:1.5px solid currentColor; border-bottom:1.5px solid currentColor; transform:translateY(-2px) rotate(45deg); transition:transform .18s; margin:0 3px; }
[aria-expanded="true"] > .hsc-select__caret { transform:translateY(2px) rotate(225deg); }
.hsc-select__list { position:fixed; z-index:2147483000; box-sizing:border-box; margin:0; padding:6px; overflow:auto; overscroll-behavior:contain; border:1px solid #dce1ef; border-radius:14px; background:#fff; color:#19254a; font-family:"Blauer Nue",sans-serif; font-size:15px; line-height:1.35; box-shadow:0 12px 32px rgba(1,16,70,.14); scrollbar-width:thin; scrollbar-color:#bcc4dd transparent; }
.hsc-select__list[hidden] { display:none!important; }
.hsc-select__option { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:44px; padding:10px 12px; border-radius:8px; box-sizing:border-box; cursor:pointer; overflow-wrap:anywhere; }
.hsc-select__option.is-active { background:#eef1ff; color:#011072; }
.hsc-select__option[aria-selected="true"] { color:#011072; font-weight:700; }
.hsc-select__option[aria-selected="true"]::after { content:"✓"; font-size:14px; }
.hsc-select__option[aria-disabled="true"] { opacity:.45; cursor:not-allowed; }
.cat-filters__select-wrap:has(.hsc-select) > .cat-filters__select-caret { display:none; }
#ctt-documento-ajuda { display:block; margin:6px 0 0; max-width:40ch; color:#637087; font-size:12px; font-weight:400; line-height:1.35; letter-spacing:0; }
@media(max-width:600px) { .hsc-select > button.hsc-select__trigger { font-size:16px; } #ctt-documento-ajuda { font-size:12px; line-height:1.35; } }
@media(prefers-reduced-motion:reduce) { .hsc-select__trigger,.hsc-select__caret { transition:none!important; } }
@media(forced-colors:active) { .hsc-select > button.hsc-select__trigger { border:1px solid ButtonText; } .hsc-select__option.is-active { outline:1px solid Highlight; } }

/* Keep the catalogue's existing dark field, without a second frame. */
.cat-hero__filters .hsc-select > button.hsc-select__trigger { min-height:42px; padding:0; border:0; border-radius:8px; color:#fff; background:transparent; box-shadow:none; }
.cat-hero__filters .hsc-select > button.hsc-select__trigger:hover:not(:disabled), .cat-hero__filters .hsc-select > button.hsc-select__trigger:focus-visible, .cat-hero__filters .hsc-select > button.hsc-select__trigger[aria-expanded="true"] { background:transparent; border:0; box-shadow:none; }
