/* DoorWander selection, including opened menus on Android/iOS. */
.dw-select { display: block; min-width: 0; width: 100%; }
.dw-select[hidden], .dw-select-native { display: none !important; }
body .dw-select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; min-height: 44px; padding: 10px 12px;
  border: 1px solid #d9bd8e70; border-radius: 11px;
  background: linear-gradient(145deg, #183047, #0b192a);
  color: #f1ede5; font: 600 12px/1.35 'Manrope', Arial, sans-serif;
  box-shadow: inset 0 1px 0 #ffffff12, 0 3px 10px #02070f30;
  cursor: pointer; text-align: left; touch-action: manipulation;
}
.dw-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dw-select-name,.dw-select-price { display: block; }
.dw-select-price { margin-top: 3px; font-size: 12px; font-weight: 400; line-height: 1.4; white-space: nowrap; opacity: .8; }
body .dw-select--form .dw-select-trigger { min-height: 52px; padding: 12px 14px; font-size: 15px; font-weight: 400; border-radius: 9px; }
.dw-select--form .dw-select-value { white-space: normal; overflow-wrap: normal; text-overflow: clip; }
.dw-select--form .dw-select-name { white-space: nowrap; }
.dw-select-error { display: block; margin-top: 8px; color: #f1bcb1; font-size: 12px; line-height: 1.5; }
.dw-select-error[hidden] { display: none; }
body .dw-select-trigger[aria-invalid='true'] { border-color: #efb8a9; }
.dw-select-arrow { flex: 0 0 6px; width: 6px; height: 6px; margin-right: 3px; border-right: 1.5px solid #d9bd8e; border-bottom: 1.5px solid #d9bd8e; transform: translateY(-2px) rotate(45deg); }
body .dw-select-trigger[aria-expanded='true'] { border-color: #dfc699; box-shadow: 0 0 0 2px #dfc69920, inset 0 1px 0 #ffffff12; }
.dw-select-trigger[aria-expanded='true'] .dw-select-arrow { transform: translateY(2px) rotate(225deg); }
.dw-select-backdrop { position: fixed; z-index: 1000; inset: 0; background: #02081245; touch-action: none; }
.dw-select-popover {
  position: fixed; z-index: 1001; display: flex; flex-direction: column;
  width: 300px; max-height: min(430px, calc(100dvh - 24px)); overflow: hidden;
  border: 1px solid #d9bd8e70; border-radius: 19px;
  background: linear-gradient(145deg, #14283bf7, #081522fc);
  box-shadow: 0 22px 80px #0009, inset 0 1px 0 #fff2d61a;
  color: #f1ede5; font: 500 13px/1.4 'Manrope', Arial, sans-serif;
  isolation: isolate; text-align: left;
}
.dw-select-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 10px 12px 9px 16px; border-bottom: 1px solid #d9bd8e26; color: #dfc699; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
body .dw-select-close { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; min-height: 36px; padding: 0; border: 1px solid #d9bd8e30; border-radius: 50%; background: #08152290; box-shadow: none; color: #ddc7a1; font: 300 24px/1 Arial, sans-serif; cursor: pointer; }
.dw-select-list { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 7px; scrollbar-width: thin; scrollbar-color: #d9bd8e80 #0b192a; touch-action: pan-y; }
.dw-select-option { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 46px; margin: 2px 0; padding: 12px 13px; border: 1px solid transparent; border-radius: 11px; color: #d9e1e8; cursor: pointer; user-select: none; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.dw-select-option > span:first-child { min-width: 0; overflow-wrap: anywhere; }
.dw-select-popover--form .dw-select-option { font-size: 15px; }
.dw-select-popover--form .dw-select-option > span:first-child { overflow-wrap: normal; }
.dw-select-popover--form .dw-select-name { white-space: nowrap; }
.dw-select-tick { flex: 0 0 18px; opacity: 0; font-size: 16px; text-align: center; }
.dw-select-option[aria-selected='true'] { border-color: #ead6b09c; background: linear-gradient(130deg, #ead8b8, #c5a775); color: #122235; font-weight: 700; box-shadow: inset 0 1px 0 #fff2d680; }
.dw-select-option[aria-selected='true'] .dw-select-tick { opacity: 1; }
.dw-select-option[aria-disabled='true'] { opacity: .4; cursor: default; }
.dw-select-option:focus-visible { outline: 2px solid #efd6aa; outline-offset: -3px; }
body .dw-select-trigger:focus-visible, body .dw-select-close:focus-visible { outline: 2px solid #efd6aa; outline-offset: 3px; }
@media (hover: hover) { .dw-select-option:not([aria-disabled='true']):not([aria-selected='true']):hover { background: #284158a8; border-color: #d9bd8e40; color: #fff5e5; } }
@media (max-width: 650px) {
  .dw-select-popover { left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); width: auto; max-height: min(460px, calc(100dvh - 32px)); border-radius: 20px; }
  .dw-select-heading { padding: 11px 12px 10px 17px; }
  .dw-select-option { min-height: 49px; padding-inline: 14px; }
}
@media (max-height: 450px) { .dw-select-popover { max-height: calc(100dvh - 24px); } .dw-select-option { min-height: 44px; padding-block: 10px; } }
@media (forced-colors: active) { .dw-select-popover, .dw-select-trigger { border: 1px solid ButtonText; background: Canvas; } .dw-select-option[aria-selected='true'] { outline: 2px solid Highlight; color: HighlightText; background: Highlight; } }
