.rental-picker {
  margin-top: clamp(16px, 2.3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
}

.rental-picker__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  align-items: center;
  gap: 16px clamp(20px, 2vw, 40px);
  padding: clamp(18px, 2vw, 36px);
}
.rental-picker__intro { display: flex; align-items: center; gap: clamp(12px, 1.4vw, 28px); min-width: 0; }
.rental-picker__machine { width: clamp(84px, 8vw, 155px); height: clamp(64px, 5.6vw, 108px); object-fit: contain; flex: none; }
:root[data-theme='dark'] .rental-picker__machine { background: #c6d8e9; border-radius: 10px; padding: 4px; }
.rental-picker__intro p { max-width: 43ch; margin-top: 5px; color: var(--muted); font-size: clamp(.9375rem, 1.03vw, 1.125rem); line-height: 1.4; }
.rental-picker h2 {
  font-size: clamp(1.5rem, 2.55vw, 2.15rem);
  font-weight: 740;
  line-height: 1.14;
  letter-spacing: -.033em;
  text-wrap: balance;
}
.rental-picker__controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr) auto;
  align-items: end;
  gap: 12px;
}
.rental-picker__field { display: grid; gap: 6px; min-width: 0; }
.rental-picker__field label { color: var(--muted); font-size: .875rem; font-weight: 640; }
.rental-picker :is(.choice-trigger, select[data-choice]) {
  min-height: 52px;
  padding-left: 12px;
  padding-right: 34px;
  border-radius: 10px;
  background: var(--wash);
}
.rental-picker .choice-trigger { display: flex; align-items: center; gap: 8px; }
.rental-picker .choice-trigger::after { right: 14px; }
.rental-picker .choice-trigger img { flex: 0 0 34px; width: 34px; height: 28px; object-fit: contain; }
.rental-picker .choice-options { min-width: min(212px, calc(100vw - 36px)); max-height: min(352px, 52vh); }
.rental-picker .choice-option { gap: 10px; }
.rental-picker .choice-option img { flex: 0 0 44px; width: 44px; height: 31px; object-fit: contain; }
:root[data-theme='dark'] .rental-picker :is(.choice-trigger, .choice-option) img { border-radius: 4px; background: #c6d8e9; }
.rental-picker__controls > button { min-height: 52px; padding-inline: clamp(14px, 1.4vw, 24px); }
.rental-picker__warning { grid-column: 1 / -1; font-size: .9375rem; color: var(--ink); }
.rental-picker__warning:empty { position: absolute; }
.rental-picker button:disabled { opacity: .55; cursor: not-allowed; }

@media (max-width: 1060px) {
  .rental-picker__form { grid-template-columns: minmax(0, 1fr); }
  .rental-picker h2 { text-wrap: normal; }
}
@media (max-width: 600px) {
  .rental-picker__intro { flex-direction: row-reverse; justify-content: space-between; gap: 10px; }
  .rental-picker__machine { width: 72px; height: 58px; }
  .rental-picker__controls { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .rental-picker__controls > button { grid-column: 1 / -1; }
  .rental-picker .choice-trigger img { display: none; }
  .rental-picker__field:last-of-type .choice-options { left: auto; }
  .rental-picker .choice-trigger, .rental-picker select[data-choice] { font-size: .9375rem; }
}
@media (max-width: 370px) {
  .rental-picker__machine { width: 58px; }
  .rental-picker h2 { font-size: 1.375rem; }
  .rental-picker__controls { grid-template-columns: minmax(0,1fr); }
  .rental-picker__field:last-of-type .choice-options { left: 0; }
}
