/* Font Awesome replaces browser arrows; the native controls remain accessible. */
.pi-select-control { position:relative; display:inline-grid; min-width:0; max-width:100%; vertical-align:middle; }
.pi-select-control > select[data-ui-select] {
  appearance:none;
  -webkit-appearance:none;
  box-sizing:border-box;
  width:100%;
  min-width:0;
  max-width:100%;
  padding-inline-end:2.5em !important;
  background-image:none !important;
}
.pi-select-chevron { position:absolute; inset-inline-end:.8em; top:50%; transform:translateY(-50%); pointer-events:none; line-height:1; font-size:.8em; color:inherit; }
.pi-select-control:has(select:disabled) > .pi-select-chevron { opacity:.45; }
.sf-select-row > .pi-select-control, .film-profile-controls > .pi-select-control { flex:1; }
.pi-essai-choice > .pi-select-control { width:210px; flex:0 1 210px; }
.title-lab-field > .pi-select-control { width:100%; }
.navigation > .pi-select-control { flex:1; }

summary[data-ui-summary] { list-style:none; }
summary[data-ui-summary]::marker { content:''; }
summary[data-ui-summary]::-webkit-details-marker { display:none; }
.pi-summary-chevron { display:inline-block; margin-inline-start:.5em; flex:none; line-height:1; font-size:.75em; vertical-align:.06em; transform:rotate(0deg); }
details[open] > summary[data-ui-summary] > .pi-summary-chevron { transform:rotate(180deg); }

.sc-order:has(.pi-quantity-control) { grid-template-columns:132px minmax(0,1fr); }
.pi-quantity-control { display:grid; grid-template-columns:1fr; min-width:0; border:1px solid #b8b8b0; color:var(--ink,#242421); background:#fff; }
.pi-quantity-control[data-ready] { grid-template-columns:40px minmax(0,1fr) 40px; }
.pi-quantity-control > input[data-ui-quantity] { appearance:textfield; -moz-appearance:textfield; min-height:44px; padding:0; border:0; border-radius:0; background:transparent; font-variant-numeric:tabular-nums; }
.pi-quantity-control > input[data-ui-quantity]::-webkit-inner-spin-button,
.pi-quantity-control > input[data-ui-quantity]::-webkit-outer-spin-button { -webkit-appearance:none; margin:0; }
.pi-quantity-control > button { display:grid; place-items:center; width:40px; min-height:44px; padding:0; border:0; border-radius:0; color:var(--brand-violet,#7645c1); background:transparent; cursor:pointer; }
.pi-quantity-control > button:hover:not(:disabled) { background:#f5f0fa; }
.pi-quantity-control > button:disabled { color:#a39aa9; cursor:default; }
.pi-quantity-control > button[hidden] { display:none; }
.pi-quantity-control > :focus-visible { outline:2px solid var(--brand-violet,#7645c1); outline-offset:-3px; }
@media(max-width:760px) {
  .pi-essai-choice > .pi-select-control { width:auto; flex:1 1 0; }
}
@media(max-width:380px) {
  .sc-order:has(.pi-quantity-control) { grid-template-columns:1fr; }
  .pi-quantity-control { width:132px; }
}
@media(forced-colors:active) {
  .pi-select-chevron { color:ButtonText; }
  .pi-quantity-control { border-color:ButtonText; }
  .pi-quantity-control > button:disabled { color:GrayText; }
}
