/* v616 — استان → شهر cascade in the public header (دستور مدیر، آذر ۱۴۰۴)
   A province dropdown that filters the city list under it, so a visitor sees
   استان اصفهان → شهر اصفهان instead of one flat, ambiguous city menu. */
.pv-wrap { position: relative; display: inline-flex; align-items: center; gap: 6px; }
.pv-field { position: relative; display: inline-flex; align-items: center; min-width: 0; flex: 0 0 auto; width: auto; }
.pv-field > .pv-select { flex: 0 0 auto; width: auto; min-width: 6.6em; }
.pv-field > .dgi.pv-ico {
  display: none; /* v616c: icons cost 24px each; the labels are already clear */
  color: var(--muted, #6b7280); pointer-events: none;
}
.pv-select {
  appearance: none; -webkit-appearance: none;
  padding-block: 6px; padding-inline: 24px 22px;
  min-height: 34px; max-width: 124px;
  border: 1px solid var(--line, #e3e6ea); border-radius: 10px;
  background: var(--surface, #fff); color: var(--ink, #17202a);
  font: inherit; font-size: 13px; font-weight: 600; line-height: 1.4;
  cursor: pointer; text-overflow: ellipsis;
}
.pv-select:focus-visible { outline: 2px solid var(--accent, #0f766e); outline-offset: 2px; }
.pv-field > .dgi.pv-caret {
  position: absolute; inset-inline-end: 7px; width: 13px; height: 13px;
  color: var(--muted, #6b7280); pointer-events: none;
}
.pv-field.is-empty { display: none; }
.pv-go {
  display: inline-grid; place-items: center; width: 34px; height: 34px;
  border: 1px solid var(--line, #e3e6ea); border-radius: 10px;
  background: var(--surface, #fff); color: var(--ink, #17202a); cursor: pointer;
}
.pv-go svg { width: 15px; height: 15px; }
.pv-go:hover { border-color: var(--accent, #0f766e); color: var(--accent, #0f766e); }
.pv-sep { width: 1px; height: 22px; background: var(--line, #e3e6ea); margin-inline: 2px; }
@media (max-width: 1180px) { .pv-wrap.pv-desktop-only { display: none; } }

/* mobile drawer version: full width rows */
.mnav-pv { display: block; margin-block: 4px 10px; }
.mnav-pv label { display: block; font-size: 12px; font-weight: 700; color: var(--muted, #6b7280); margin-block-end: 4px; }
.mnav-pv select { width: 100%; min-height: 44px; border-radius: 12px; padding: 8px 12px;
  border: 1px solid var(--line, #e3e6ea); background: var(--surface, #fff); font: inherit; font-size: 14px; }
.mnav-pv .mnav-pv-go { margin-block-start: 8px; width: 100%; min-height: 44px; border-radius: 12px;
  border: 0; background: var(--accent, #0f766e); color: #fff; font: inherit; font-weight: 700; cursor: pointer; }

@media (max-width: 720px) {
  .pv-wrap.pv-desktop-only { display: none; }
}
/* v616e — final clamp: the theme's global `select` width rule wins over a bare
   min-width, so each field gets an explicit inline-size and the select fills it. */
.pv-desktop-only .pv-field { flex: 0 0 auto; }
.pv-desktop-only .pv-field.pv-prov { inline-size: 7.2rem; }
.pv-desktop-only .pv-field.pv-city { inline-size: 8.4rem; }
.pv-desktop-only .pv-field > select.pv-select {
  inline-size: 100% !important; max-inline-size: 100%; min-inline-size: 0;
  flex: 1 1 auto; text-overflow: ellipsis; white-space: nowrap; overflow: hidden;
}
