/* ═══ выпадающие списки в стиле сайта (selects.js) ═══ */
select.cs-native { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; margin: 0 !important; padding: 0 !important; border: 0 !important; }
.cs-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 42px; padding: 10px 14px; border-radius: 14px;
  border: 1.5px solid rgba(200,210,230,.7); background: #fff; color: var(--text-primary); font: 500 .92rem var(--font-body); text-align: left; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s; max-width: 100%; }
.cs-btn.form-input, .cs-btn.enroll-input { width: 100%; display: flex; }
.cs-btn:hover { border-color: var(--blue-300, #93c5fd); }
.cs-btn:focus-visible, .cs-btn.open { outline: none; border-color: var(--blue-500, #3b82f6); box-shadow: 0 0 0 4px rgba(59,130,246,.14); }
.cs-btn:disabled { opacity: .55; cursor: default; }
.cs-v { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cs-v span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-btn.is-ph .cs-v span { color: var(--text-muted); }
.cs-ic { font-style: normal; font-size: 1.15em; line-height: 1; flex: 0 0 auto; }
.cs-ch { width: 18px; height: 18px; flex: 0 0 auto; color: var(--blue-600, #2563eb); transition: transform .25s cubic-bezier(.16,1,.3,1); }
.cs-btn.open .cs-ch { transform: rotate(180deg); }

.cs-pop { position: fixed; z-index: 9700; overflow-y: auto; overscroll-behavior: contain; padding: 6px; border-radius: 18px; background: #fff;
  box-shadow: 0 24px 50px -18px rgba(15,23,42,.45), 0 0 0 1px rgba(15,23,42,.06); opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top center;
  transition: opacity .16s, transform .2s cubic-bezier(.16,1,.3,1); scrollbar-width: thin; scrollbar-color: var(--blue-200, #bfdbfe) transparent; }
.cs-pop.up { transform-origin: bottom center; transform: translateY(6px) scale(.98); }
.cs-pop.on { opacity: 1; transform: none; }
.cs-list { display: flex; flex-direction: column; gap: 2px; }
.cs-g { padding: 10px 12px 4px; font: 800 .64rem var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.cs-o { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; text-align: left; cursor: pointer;
  font: 500 .92rem var(--font-body); color: var(--text-primary); transition: background .12s; }
.cs-o span { flex: 1; min-width: 0; }
.cs-o small { color: var(--text-muted); font-size: .78rem; }
.cs-o:hover, .cs-o.kb { background: var(--blue-50, #eff6ff); }
.cs-o.on { color: var(--blue-700, #1d4ed8); font-weight: 700; background: linear-gradient(90deg, #dbeafe, #eff6ff); }
.cs-o.ph { color: var(--text-muted); }
.cs-o:disabled { opacity: .45; cursor: default; }
.cs-ok { width: 18px; height: 18px; flex: 0 0 auto; color: var(--blue-600, #2563eb); opacity: 0; }
.cs-o.on .cs-ok { opacity: 1; }
/* телефон: список выезжает снизу */
.cs-bg { position: fixed; inset: 0; z-index: 9690; background: rgba(8,14,32,.4); opacity: 0; transition: opacity .2s; }
.cs-bg.on { opacity: 1; }
.cs-pop.sheet { left: 0; right: 0; bottom: 0; top: auto; max-height: 72vh; border-radius: 24px 24px 0 0; padding: 8px 10px calc(14px + env(safe-area-inset-bottom)); transform: translateY(40px); }
.cs-pop.sheet.on { transform: none; }
.cs-pop.sheet::before { content: ''; display: block; width: 40px; height: 4px; margin: 4px auto 6px; border-radius: 4px; background: rgba(148,163,184,.5); }
.cs-title { padding: 6px 12px 8px; font: 800 1rem var(--font-display); }
.cs-pop.sheet .cs-o { padding: 13px 12px; font-size: 1rem; }
