/*
 * Окно «Заказать под ключ» (inc/order.php, assets/js/order.js) и блок «Доставим в ваш город»
 * на карточке лота. Своё пространство имён .dvo / .lot-cities: окно живёт вне .dvb-inner.
 */
.dvo {
	--dvo-cyan: #1da3cb; --dvo-cyan-d: #1689ab; --dvo-coral: #d57959; --dvo-ink: #10243f;
	--dvo-muted: #5f6b7a; --dvo-line: #e3e9f1; --dvo-soft: #f2f7fa;
	width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 20px;
	background: #fff; color: var(--dvo-ink); font-family: Gilroy, Manrope, system-ui, sans-serif; box-shadow: 0 30px 80px rgb(8 20 38 / 35%); overflow: auto;
}
.dvo::backdrop { background: rgb(8 20 38 / 62%); backdrop-filter: blur(3px); }
.dvo[open] { animation: dvo-in .22s ease; }
@keyframes dvo-in { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.dvo *, .dvo *::before { box-sizing: border-box; }
.dvo__form-wrap, .dvo__done { position: relative; padding: 28px 28px 24px; }
/* фирменная полоса сверху — декоративный скос */
.dvo__form-wrap::before, .dvo__done::before { content: ""; position: absolute; left: 0; top: 0; width: 38%; height: 6px; background: var(--dvo-cyan); clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.dvo__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--dvo-soft); color: var(--dvo-ink); font-size: 24px; line-height: 1; cursor: pointer; }
.dvo__close:hover { background: #e3eef4; }
.dvo__eyebrow { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--dvo-cyan-d); }
.dvo__title { margin: 0 44px 16px 0; font-size: 24px; line-height: 1.2; font-weight: 800; }
.dvo__car { display: grid; grid-template-columns: 112px 1fr; gap: 14px; align-items: center; margin-bottom: 18px; padding: 10px; border: 1px solid var(--dvo-line); border-radius: 14px; background: var(--dvo-soft); }
.dvo__car img { width: 112px; height: 80px; object-fit: cover; border-radius: 10px; background: #dde6ee; }
.dvo__car img[hidden] { display: block; visibility: hidden; }
.dvo__car p { margin: 0; }
.dvo__car-title { font-size: 16px; font-weight: 800; }
.dvo__car-sub { margin-top: 2px !important; font-size: 13px; color: var(--dvo-muted); }
.dvo__car-art { margin-top: 4px !important; font-size: 11.5px; color: var(--dvo-muted); }
.dvo__form { display: grid; gap: 14px; margin: 0; }
.dvo__cities { margin: 0; padding: 0; border: 0; min-width: 0; }
.dvo__cities legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 800; }
.dvo__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.dvo__chip { display: grid; gap: 1px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--dvo-line); border-radius: 10px; background: #fff; color: var(--dvo-ink); font: 600 14px/1.2 Gilroy, Manrope, system-ui, sans-serif; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.dvo__chip b { font-weight: 700; }
.dvo__chip small { font-size: 11.5px; font-weight: 600; color: var(--dvo-cyan-d); }
.dvo__chip:hover { border-color: #9fd6e7; }
.dvo__chip[aria-pressed="true"] { border-color: var(--dvo-cyan); background: var(--dvo-cyan); color: #fff; }
.dvo__chip[aria-pressed="true"] small { color: #e8f8fd; }
.dvo__select { min-height: 40px; padding: 0 10px; border: 1px dashed #b8cddd; border-radius: 10px; background: #fff; color: var(--dvo-ink); font: 600 14px Gilroy, Manrope, system-ui, sans-serif; cursor: pointer; }
.dvo__other { display: block; margin-top: 8px; }
.dvo__other[hidden] { display: none; }
.dvo input[type="text"], .dvo input[type="tel"] { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #cdd8e4; border-radius: 12px; background: #fff; color: var(--dvo-ink); font: 16px Gilroy, Manrope, system-ui, sans-serif; }
.dvo input:focus-visible, .dvo button:focus-visible, .dvo select:focus-visible { outline: 3px solid var(--dvo-coral); outline-offset: 2px; }
.dvo__total { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: baseline; padding: 12px 14px; border-radius: 12px; background: #eaf7fb; }
.dvo__total span { font-size: 13px; color: #34495f; }
.dvo__total strong { grid-row: span 2; font-size: 22px; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.dvo__total small { font-size: 12px; color: var(--dvo-muted); line-height: 1.4; }
.dvo__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dvo__field span { display: block; margin-bottom: 5px; font-size: 13px; font-weight: 700; }
.dvo__field em { font-style: normal; font-weight: 500; font-size: 11.5px; color: var(--dvo-muted); }
.dvo__trap { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0; }
.dvo__consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; line-height: 1.45; color: var(--dvo-muted); cursor: pointer; }
.dvo__consent input { flex: 0 0 auto; width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--dvo-cyan); }
.dvo__consent a { color: var(--dvo-cyan-d); }
.dvo__error { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fdecea; color: #a53a2a; font-size: 13px; }
.dvo__error[hidden] { display: none; }
.dvo__submit { display: flex; align-items: center; justify-content: center; min-height: 56px; border: 0; border-radius: 14px; background: var(--dvo-coral); color: #fff; font: 800 16px Gilroy, Manrope, system-ui, sans-serif; cursor: pointer; box-shadow: 0 12px 26px rgb(213 121 89 / 32%); transition: background .15s, transform .15s; }
.dvo__submit:hover { background: #c7684a; }
.dvo__submit:active { transform: translateY(1px); }
.dvo__submit:disabled { opacity: .7; cursor: progress; }
.dvo__trust { margin: 0; font-size: 12px; line-height: 1.45; color: var(--dvo-muted); text-align: center; }
.dvo__done[hidden], .dvo__form-wrap[hidden] { display: none; }
.dvo__done:focus { outline: none; }
.dvo__done-text { margin: 0 0 18px; font-size: 15px; line-height: 1.6; white-space: pre-line; color: #34495f; }
.dvo__done-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dvo__alt { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #cdd8e4; border-radius: 12px; background: #fff; color: var(--dvo-ink); font: 700 14px Gilroy, Manrope, system-ui, sans-serif; text-decoration: none; cursor: pointer; }
.dvo .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 520px) {
	.dvo__form-wrap, .dvo__done { padding: 22px 16px 18px; }
	.dvo__title { font-size: 20px; }
	.dvo__car { grid-template-columns: 88px 1fr; }
	.dvo__car img { width: 88px; height: 66px; }
	.dvo__fields { grid-template-columns: 1fr; }
	.dvo__total { grid-template-columns: 1fr; padding: 10px 12px; }
	.dvo__total strong { grid-row: auto; font-size: 19px; }
	.dvo__chip { min-height: 36px; padding: 5px 10px; font-size: 13px; }
	.dvo__car { margin-bottom: 14px; }
	.dvo__form { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) { .dvo[open] { animation: none; } }

/* ------------------------------------------------ карточка лота: «Доставим в ваш город» */
.dvb-inner .lot-cities { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--border, #e3e9f1); }
.dvb-inner .lot-cities__title { display: flex; gap: 8px; align-items: center; margin: 0 0 10px; font-size: 15px; font-weight: 800; color: var(--text, #10243f); }
.dvb-inner .lot-cities__title svg { width: 20px; height: 20px; stroke: #1da3cb; fill: none; stroke-width: 1.8; }
.dvb-inner .lot-cities__list { display: flex; flex-wrap: wrap; gap: 6px; }
.dvb-inner .lot-city { display: inline-grid; gap: 1px; padding: 7px 11px; border: 1px solid var(--border, #e3e9f1); border-radius: 10px; background: #fff; color: var(--text, #10243f); font: 600 13.5px/1.2 Gilroy, Manrope, system-ui, sans-serif; text-align: left; cursor: pointer; transition: border-color .15s, background .15s; }
.dvb-inner .lot-city b { font-weight: 700; }
.dvb-inner .lot-city small { font-size: 11px; font-weight: 700; color: #1689ab; }
.dvb-inner .lot-city:hover { border-color: #1da3cb; background: #f0f9fc; }
.dvb-inner .lot-city--base { border-color: #9fd6e7; background: #eaf7fb; }
.dvb-inner .lot-cities__more { margin-top: 6px; }
.dvb-inner .lot-cities__more summary { display: inline-flex; align-items: center; gap: 4px; padding: 6px 0; font-size: 13.5px; font-weight: 700; color: #1689ab; cursor: pointer; list-style: none; }
.dvb-inner .lot-cities__more summary::-webkit-details-marker { display: none; }
.dvb-inner .lot-cities__more summary::after { content: "▾"; transition: transform .2s; }
.dvb-inner .lot-cities__more[open] summary::after { transform: rotate(180deg); }
.dvb-inner .lot-cities__note { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted, #5f6b7a); }
