.pwmw {
  --pwmw-blue: #0f5bd7;
  --pwmw-blue-dark: #0b46ad;
  --pwmw-ink: #172033;
  --pwmw-muted: #687386;
  --pwmw-line: #e2e7ef;
  box-sizing: border-box;
  width: 100%;
  margin: 26px 0;
  padding: clamp(18px, 3vw, 30px);
  overflow: hidden;
  color: var(--pwmw-ink);
  background: #fff;
  border: 1px solid #e5e9f0;
  border-radius: 20px;
  box-shadow: 0 14px 38px rgba(31, 46, 72, .08);
  direction: rtl;
  text-align: right;
}

.pwmw, .pwmw * { box-sizing: border-box; }
.pwmw__heading { margin: 0 0 19px; }
.pwmw__eyebrow {
  display: inline-flex;
  margin-bottom: 7px;
  padding: 4px 11px;
  color: var(--pwmw-blue-dark);
  background: #edf4ff;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 800;
}
.pwmw__heading h2 { margin: 0 0 5px; font-size: clamp(1.2rem, 2.5vw, 1.62rem); font-weight: 900; line-height: 1.65; }
.pwmw__heading p { margin: 0; color: var(--pwmw-muted); font-size: .92rem; line-height: 1.9; }
.pwmw__structured {
  margin: 0;
  padding: 16px;
  background: #f8fbff;
  border: 1px solid #dbe7f8;
  border-radius: 14px;
}
.pwmw__form-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.pwmw__form-title strong { color: #263854; font-size: .94rem; font-weight: 950; }
.pwmw__form-title span { color: var(--pwmw-muted); font-size: .73rem; }
.pwmw__vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; align-items: end; }
.pwmw__vehicle-grid label { display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.pwmw__vehicle-grid label > span, .pwmw__brand-field > span { color: #374156; font-size: .78rem; font-weight: 850; }
.pwmw__vehicle-grid label > small { min-height: 16px; color: #778196; font-size: .62rem; line-height: 1.45; }
.pwmw__brand-field { position: relative; display: flex; min-width: 0; flex-direction: column; gap: 6px; }
.pwmw__brand-combobox { position: relative; min-width: 0; }
.pwmw__vehicle-grid select, .pwmw__vehicle-grid input, .pwmw__brand-trigger {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 9px 10px;
  color: var(--pwmw-ink);
  background: #fff;
  border: 1px solid #cfd9e7;
  border-radius: 10px;
  outline: none;
  font: inherit;
  font-size: .8rem;
}
.pwmw__vehicle-grid select:focus, .pwmw__vehicle-grid input:focus, .pwmw__brand-trigger:focus { border-color: var(--pwmw-blue); box-shadow: 0 0 0 3px rgba(15, 91, 215, .1); }
.pwmw__vehicle-grid select:disabled { color: #929aaa; background: #f1f4f8; cursor: not-allowed; }
.pwmw__native-brand { display: none; }
.pwmw__brand-trigger { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: right; cursor: pointer; }
.pwmw__brand-trigger:disabled { color: #929aaa; background: #f1f4f8; cursor: not-allowed; }
.pwmw__brand-trigger.has-value { color: var(--pwmw-ink); font-weight: 800; }
.pwmw__brand-chevron { flex: 0 0 auto; color: #6d788b; font-size: 1.15rem; line-height: 1; transition: transform .18s ease; }
.pwmw__brand-combobox.is-open .pwmw__brand-chevron { transform: rotate(180deg); }
.pwmw__brand-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid #bfd2eb;
  border-radius: 11px;
  box-shadow: 0 14px 34px rgba(32, 51, 79, .2);
}
.pwmw__brand-panel[hidden] { display: none; }
.pwmw__brand-panel [data-pwmw-brand-filter] { min-height: 40px; background: #fff; border-color: #bfd2eb; }
.pwmw__brand-options { max-height: 260px; margin-top: 7px; overflow-y: auto; overscroll-behavior: contain; }
.pwmw__brand-option {
  display: block;
  width: 100%;
  padding: 9px 10px;
  color: #263854;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-size: .8rem;
  text-align: right;
  cursor: pointer;
}
.pwmw__brand-option:hover, .pwmw__brand-option:focus { color: var(--pwmw-blue-dark); background: #eef5ff; outline: none; }
.pwmw__brand-option[aria-selected="true"] { color: var(--pwmw-blue-dark); background: #e7f1ff; font-weight: 900; }
.pwmw__brand-empty { padding: 14px 10px; color: #778196; font-size: .78rem; text-align: center; }
.pwmw__structured-submit { min-width: 0; }
.pwmw__free-search { margin-top: 11px; padding: 0 13px; border: 1px solid #e0e6ef; border-radius: 11px; }
.pwmw__free-search summary { padding: 11px 0; color: #42516a; font-size: .8rem; font-weight: 850; cursor: pointer; }
.pwmw__free-search[open] { padding-bottom: 13px; }
.pwmw__form { margin: 0; }
.pwmw__label { display: block; margin: 0 2px 7px; color: #374156; font-size: .84rem; font-weight: 800; }
.pwmw__search-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.pwmw__query {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 10px 14px;
  color: var(--pwmw-ink);
  background: #fff;
  border: 1px solid #cfd6e2;
  border-radius: 11px;
  outline: none;
  font: inherit;
  font-size: .93rem;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.pwmw__query:focus { border-color: var(--pwmw-blue); box-shadow: 0 0 0 3px rgba(15, 91, 215, .12); }
.pwmw__query::placeholder { color: #949dad; }
.pwmw__submit {
  min-width: 175px;
  min-height: 51px;
  padding: 10px 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--pwmw-blue), #2478ee);
  border: 0;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(15, 91, 215, .22);
  font: inherit;
  font-size: .9rem;
  font-weight: 900;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.pwmw__submit:hover:not(:disabled) { transform: translateY(-1px); box-shadow: 0 11px 24px rgba(15, 91, 215, .27); }
.pwmw__submit:focus-visible { outline: 3px solid rgba(15, 91, 215, .24); outline-offset: 2px; }
.pwmw__submit:disabled { opacity: .55; cursor: wait; box-shadow: none; }
.pwmw__suggestions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 11px; color: var(--pwmw-muted); font-size: .76rem; }
.pwmw__suggestions button {
  padding: 6px 10px;
  color: #4a566b;
  background: #f7f9fc;
  border: 1px solid #dfe5ed;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.pwmw__suggestions button:hover { color: var(--pwmw-blue-dark); border-color: #bdd2f4; background: #f0f6ff; }
.pwmw__suggestions button:focus-visible { outline: 3px solid rgba(15, 91, 215, .18); outline-offset: 2px; }
.pwmw__status { min-height: 24px; margin: 11px 0 0; color: var(--pwmw-muted); font-size: .84rem; line-height: 1.8; }
.pwmw__status.is-error { color: #a71924; }
.pwmw__result { margin-top: 3px; }
.pwmw__correction {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: 10px;
  padding: 9px 11px;
  color: #174f7f;
  background: #edf7ff;
  border: 1px solid #c9e4f8;
  border-radius: 9px;
  font-size: .77rem;
  line-height: 1.8;
}
.pwmw__correction strong { font-weight: 900; }
.pwmw__correction span { overflow-wrap: anywhere; }
.pwmw__source {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin-bottom: 11px;
  padding: 4px 10px;
  color: #176142;
  background: #ecfbf4;
  border: 1px solid #c5eedc;
  border-radius: 8px;
  font-size: .76rem;
  font-weight: 800;
}
.pwmw__source.is-stale { color: #76550b; background: #fff9e8; border-color: #f1dfac; }
.pwmw__limited {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  color: #76550b;
  background: #fff9e8;
  border: 1px solid #f1dfac;
  border-radius: 10px;
  font-size: .78rem;
  line-height: 1.85;
}
.pwmw__limited strong { font-weight: 900; }
.pwmw__summary {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .8fr);
  gap: 13px;
  padding: 17px;
  color: #123f33;
  background: linear-gradient(135deg, #eafbf4 0%, #eef6ff 100%);
  border: 1px solid #cbe8df;
  border-radius: 15px;
}
.pwmw__range { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.pwmw__range > span { color: #4e766c; font-size: .78rem; }
.pwmw__range > strong { margin: 3px 0; color: #116443; font-size: clamp(1.18rem, 3vw, 1.72rem); font-weight: 950; line-height: 1.65; overflow-wrap: anywhere; }
.pwmw__range > small { color: #567169; font-size: .72rem; overflow-wrap: anywhere; }
.pwmw__centers { display: grid; grid-template-columns: 1fr; gap: 8px; }
.pwmw__fact { min-width: 0; padding: 9px 11px; background: rgba(255, 255, 255, .84); border: 1px solid rgba(199, 222, 218, .78); border-radius: 10px; }
.pwmw__fact span { display: block; margin-bottom: 2px; color: var(--pwmw-muted); font-size: .7rem; }
.pwmw__fact strong { display: block; color: #263347; font-size: .82rem; font-weight: 850; line-height: 1.7; overflow-wrap: anywhere; }
.pwmw__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 10px; }
.pwmw__facts .pwmw__fact { background: #f8fafc; border-color: #e3e8ef; }
.pwmw__list-title { margin: 21px 0 10px; font-size: 1rem; font-weight: 900; }
.pwmw__table-wrap { width: 100%; overflow-x: auto; border: 1px solid var(--pwmw-line); border-radius: 12px; }
.pwmw__table { width: 100%; min-width: 720px; border-collapse: collapse; background: #fff; }
.pwmw__table th, .pwmw__table td { padding: 11px 10px; border-bottom: 1px solid #edf0f4; text-align: right; vertical-align: middle; font-size: .78rem; line-height: 1.75; }
.pwmw__table th { color: #566175; background: #f7f9fc; font-weight: 850; white-space: nowrap; }
.pwmw__table tbody tr:last-child td { border-bottom: 0; }
.pwmw__listing-title { max-width: 250px; color: #253044; font-weight: 800; }
.pwmw__listing-price { color: #126448; font-weight: 900; white-space: nowrap; }
.pwmw__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 10px;
  color: var(--pwmw-blue-dark);
  background: #eef5ff;
  border: 1px solid #cadcf7;
  border-radius: 8px;
  font-size: .72rem;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}
.pwmw__link:hover { color: #fff; background: var(--pwmw-blue); border-color: var(--pwmw-blue); text-decoration: none; }
.pwmw__unavailable { color: #858d9b; font-size: .71rem; }
.pwmw__empty { padding: 15px; color: #6b4b13; background: #fff9ea; border: 1px solid #f0ddaa; border-radius: 12px; line-height: 1.9; }
.pwmw__empty strong { display: block; margin-bottom: 3px; }
.pwmw__empty p { margin: 0 0 4px; }
.pwmw__empty small { color: #836d3b; }
.pwmw__empty-action {
  display: inline-flex;
  margin-top: 10px;
  padding: 8px 12px;
  color: #fff;
  background: #d96518;
  border-radius: 8px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}
.pwmw__empty-action:hover { color: #fff; background: #bd5110; text-decoration: none; }
.pwmw__mileage-note { margin: 10px 0 0; padding: 9px 11px; color: #345273; background: #f0f6ff; border: 1px solid #d1e1f7; border-radius: 9px; font-size: .73rem; line-height: 1.85; }
.pwmw__sell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 14px 16px;
  color: #713d12;
  background: linear-gradient(135deg, #fff8ed, #fff2df);
  border: 1px solid #f0d2a9;
  border-radius: 13px;
}
.pwmw__sell div { min-width: 0; }
.pwmw__sell strong, .pwmw__sell span { display: block; }
.pwmw__sell strong { margin-bottom: 3px; font-size: .9rem; font-weight: 950; }
.pwmw__sell span { color: #806044; font-size: .75rem; line-height: 1.8; }
.pwmw__sell a {
  flex: 0 0 auto;
  padding: 9px 13px;
  color: #fff;
  background: #d96518;
  border-radius: 9px;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
}
.pwmw__sell a:hover { color: #fff; background: #bd5110; text-decoration: none; }
.pwmw__result-note, .pwmw__disclaimer { margin: 14px 0 0; padding: 10px 12px; color: #667082; background: #f7f8fa; border-right: 3px solid #bec6d2; border-radius: 8px; font-size: .74rem; line-height: 1.95; }
.pwmw__disclaimer { margin-top: 16px; }

@media (max-width: 760px) {
  .pwmw__vehicle-grid { grid-template-columns: 1fr 1fr; }
  .pwmw__structured-submit { width: 100%; }
  .pwmw__summary { grid-template-columns: 1fr; }
  .pwmw__centers { grid-template-columns: 1fr 1fr; }
  .pwmw__facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .pwmw { padding: 16px 13px; border-radius: 15px; }
  .pwmw__structured { padding: 13px; }
  .pwmw__form-title { align-items: flex-start; flex-direction: column; }
  .pwmw__vehicle-grid { grid-template-columns: 1fr; }
  .pwmw__search-row { grid-template-columns: 1fr; }
  .pwmw__submit { width: 100%; min-width: 0; }
  .pwmw__centers { grid-template-columns: 1fr; }
  .pwmw__table { min-width: 660px; }
  .pwmw__sell { align-items: stretch; flex-direction: column; }
  .pwmw__sell a { text-align: center; }
}
@media (max-width: 360px) {
  .pwmw__facts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .pwmw__query, .pwmw__submit, .pwmw__brand-chevron { transition: none; }
}
