/* "Yuk jo'natish" — Dostavka mijoz sahifasi uslubida (delivery.css + dostavka-ommaviy.css ustidan, faqat body.ye doirasida). */
body.ye .ye-main { display: flex; flex-direction: column; gap: 12px; }
.ye-steps { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.ye-steps li { flex: 1; height: 6px; border-radius: 3px; background: var(--dl-line); }
.ye-steps li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ye-steps li.ok { background: var(--dl-black); }
.ye-steps li.on { background: var(--dl-yellow); }
.ye-step { display: flex; flex-direction: column; gap: 10px; }
.ye-step .dom-h { margin-bottom: 4px; }
/* 1. Kim jo'natadi — 2 ustunli kartalar (katta shriftda ham sig'adi) */
.ye-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ye-ship { display: grid; justify-items: start; align-content: start; gap: 6px; min-height: 84px; padding: 12px; border: 2px solid var(--dl-line);
  border-radius: 16px; background: var(--dl-card); color: inherit; font: inherit; text-align: start; cursor: pointer; }
.ye-ship b { font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.ye-ship-ic { font-size: 24px; line-height: 1; }
.ye-ship[aria-checked="true"] { border-color: var(--dl-black); box-shadow: 0 0 0 3px var(--dl-yellow); }
.ye-ship:focus-visible, .ye-veh:focus-visible { outline: 3px solid var(--dl-yellow); outline-offset: 2px; }
/* 2. Manzillar */
.ye-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ye-two label { display: grid; gap: 4px; min-width: 0; }
.ye-dist { margin: 0; font-weight: 800; font-size: 15px; }
.ye-dist:empty { display: none; }
/* 4. Mashinalar */
.ye-size { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: #ffd21f26; }
.ye-size.large, .ye-size.xl { background: #ff8a0026; }
.ye-size.over { background: #e5484d1f; }
.ye-size-t { font-size: 18px; font-weight: 800; }
.ye-vehs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ye-veh { position: relative; display: grid; justify-items: center; align-content: start; gap: 4px; min-height: 150px; padding: 10px 8px 12px;
  border: 2px solid var(--dl-line); border-radius: 16px; background: var(--dl-card); color: inherit; font: inherit; text-align: center; cursor: pointer; }
.ye-veh img { width: 64px; height: 64px; object-fit: contain; }
.ye-veh b { font-size: 15px; line-height: 1.2; overflow-wrap: anywhere; }
.ye-veh small { font-size: 12px; color: var(--dl-soft); }
.ye-veh-st { margin-top: 2px; padding: 3px 10px; border-radius: 999px; background: var(--dl-line); font-size: 12px; font-weight: 800; }
.ye-veh-st.ok { background: #1a9d4a1f; color: #127a39; }
.ye-veh[aria-checked="true"] { border-color: var(--dl-black); box-shadow: 0 0 0 3px var(--dl-yellow); }
.ye-veh[aria-checked="true"] .ye-veh-st { background: var(--dl-black); color: var(--dl-yellow); }
.ye-veh.no { opacity: .5; cursor: not-allowed; }
/* 5. Xulosa */
.ye-sum { display: grid; gap: 8px; padding: 12px; border-radius: 14px; background: var(--dl-field); }
.ye-sum-r { display: grid; gap: 2px; min-width: 0; }
.ye-sum-r small { color: var(--dl-soft); font-size: 12px; font-weight: 700; }
.ye-sum-r b { font-size: 15px; overflow-wrap: anywhere; }
/* Pastki panel: Orqaga + Davom etish */
.ye-nav { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.ye-nav .ye-prev[hidden] + .dl-cta { grid-column: 1 / -1; }
.ye-nav .dl-cta[hidden] { display: none; }
#done .dom-btn { justify-content: center; text-decoration: none; }
/* Katta shrift: kartalar bitta ustunga (matn kesilmasin) */
html[data-tz] body.ye .ye-grid, html[data-tz] body.ye .ye-two { grid-template-columns: minmax(0, 1fr); }
html[data-tz] body.ye .ye-vehs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
html[data-tz] body.ye .ye-nav { grid-template-columns: minmax(0, 1fr); }
/* Qora mavzu */
:where(:root[data-theme="dark"]) .ye-ship[aria-checked="true"], :where(:root[data-theme="dark"]) .ye-veh[aria-checked="true"] { border-color: var(--dl-yellow); }
:where(:root[data-theme="dark"]) .ye-steps li.ok { background: #fff; }
:where(:root[data-theme="dark"]) .ye-veh-st.ok { color: #6fe09a; }
:where(:root[data-theme="dark"]) .ye-veh[aria-checked="true"] .ye-veh-st { background: var(--dl-yellow); color: #0b0b0c; }
@media (prefers-color-scheme: dark) {
  :where(:root:not([data-theme])) .ye-ship[aria-checked="true"], :where(:root:not([data-theme])) .ye-veh[aria-checked="true"] { border-color: var(--dl-yellow); }
  :where(:root:not([data-theme])) .ye-steps li.ok { background: #fff; }
  :where(:root:not([data-theme])) .ye-veh-st.ok { color: #6fe09a; }
  :where(:root:not([data-theme])) .ye-veh[aria-checked="true"] .ye-veh-st { background: var(--dl-yellow); color: #0b0b0c; }
}
/* e-TTN (2026-11-17) */
.ye-check { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; padding: 12px; border: 1px solid var(--dl-line); border-radius: 14px; cursor: pointer; }
.ye-check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: #0b0b0c; }
.ye-check span { display: grid; gap: 4px; min-width: 0; }
.ye-check b { font-size: 15px; } .ye-check small { font-size: 12px; color: var(--dl-soft); }
.ye-tin { display: grid; gap: 4px; }
.ye-ttn { display: grid; gap: 8px; }
.ye-ttn .dom-offer-hint:empty, #priceHint:empty, body.ye .dom-donemsg:empty { display: none; }
