/* 5MILES — страница «Авто из Кореи под ключ» (06.11.2026, N01). Основа — podbor.css (pd-*), dostavka.css (dv-*), tamozhnya.css (tm-*). Карточки машин — стили каталога (fm-korea/korea.css). */
/* первый экран: живая машина из каталога */
.ko-hero-car{padding:12px}
.ko-hero-photo{position:relative;display:block;border-radius:10px;overflow:hidden;aspect-ratio:4/3;background:#0f151c}
.ko-hero-photo img{width:100%;height:100%;object-fit:cover;display:block}
.ko-hero-photo span{position:absolute;left:10px;top:10px;background:#0f4c8a;color:#fff;font-size:12px;font-weight:700;padding:5px 9px;border-radius:6px}
.ko-hero-car figcaption{display:flex;flex-direction:column;gap:10px;margin:12px 2px 2px}
.ko-hero-car figcaption>b{font-size:15px;line-height:1.35;color:#fff}
.ko-hero-prices{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ko-hero-prices>span{display:flex;flex-direction:column;gap:2px;background:#ffffff0d;border:1px solid #ffffff1a;border-radius:8px;padding:8px 10px;font-size:16px;font-weight:700;color:#fff}
.ko-hero-prices small{font-size:12px;font-weight:600;color:#aeb9c4}
.ko-hero-prices em{font-style:normal;font-size:20px;font-weight:800;color:#8fd3a3}
.ko-hero-car figcaption>a{font-size:13.5px;font-weight:700;color:#8fd3a3;text-decoration:none}
.ko-hero-car figcaption>a:hover{text-decoration:underline}
.ko-hero-route ol{list-style:none;margin:0;padding:6px 4px;display:flex;flex-direction:column;gap:14px;counter-reset:r}
.ko-hero-route li{position:relative;padding-left:40px;display:flex;flex-direction:column;gap:2px;color:#fff;counter-increment:r}
.ko-hero-route li::before{content:counter(r);position:absolute;left:0;top:0;width:28px;height:28px;border-radius:50%;background:var(--green,#71b684);color:#fff;font-weight:800;font-size:13px;display:flex;align-items:center;justify-content:center}
.ko-hero-route li span{font-size:13px;color:#aeb9c4}
/* Корея или США */
.ko-compare .ko-compare-h{color:#fff;font-size:clamp(24px,2.2vw,32px);letter-spacing:-.03em;margin:0 0 22px}
.ko-compare h3{display:flex;align-items:center;gap:10px;margin:0 0 14px;font-size:21px;color:#fff;letter-spacing:-.02em}
.ko-flag{display:inline-flex;align-items:center;justify-content:center;min-width:34px;height:24px;border-radius:6px;background:#ffffff1f;font-size:12px;font-weight:800;letter-spacing:.04em}
.ko-compare .pd-dark-col:first-child .ko-flag{background:#0f4c8a}
.ko-compare-link{display:inline-block;margin-top:14px;font-weight:700;color:#8fd3a3;text-decoration:none}
.ko-compare-link:hover{text-decoration:underline}
/* машины и модели */
.ko-rows{margin-top:52px}
.ko-rows-note{margin:10px 0 0;font-size:14px;line-height:1.5;color:var(--muted,#64717f);max-width:900px}
.ko-rows-empty{margin:8px 0 0;font-size:15px;color:#4a5566}
.ko-models{display:flex;flex-direction:column;gap:10px;margin:18px 0 0;padding:16px 18px;border:1px solid var(--line,#e1e6ec);border-radius:12px;background:#fff}
.ko-models-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.ko-models-row b{min-width:76px;font-size:14px;font-weight:800}
.ko-models-row a{display:inline-flex;align-items:center;min-height:34px;padding:0 12px;border-radius:17px;background:#f2f5f8;color:var(--ink,#16202b);font-size:13.5px;font-weight:600;text-decoration:none}
.ko-models-row a:hover{background:#eaf6ef;color:#2f6e43}
/* цена под ключ по статьям */
.ko-sum{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;border:1px solid var(--line,#e1e6ec);border-radius:12px;background:#fff;overflow:hidden}
.ko-sum li{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:16px 20px;border-top:1px solid var(--line,#e1e6ec)}
.ko-sum li:first-child{border-top:0}
.ko-sum li b{font-size:16px;font-weight:700}
.ko-sum li span{font-size:14px;color:var(--muted,#64717f);text-align:right}
.ko-sum li:not(.ko-sum-total) b::before{content:"+ ";color:var(--green,#71b684);font-weight:800}
.ko-sum li:first-child b::before{content:none}
.ko-sum-total{background:#eaf6ef}
.ko-sum-total b{font-size:18px!important;font-weight:800!important;color:#2f6e43}
.ko-sum-total span{color:#2f6e43!important;font-weight:600}
@media (max-width:1100px){.ko-hero-car{max-width:440px}}
/* маршрут — 4 шага */
.ko-route-more{margin:18px 0 0;font-size:15px;color:#4a5566}
.ko-route-more a{font-weight:700;color:#2f6e43}
.ko-steps-4{grid-template-columns:repeat(4,minmax(0,1fr))}
@media (max-width:1180px){.ko-steps-4{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){
 .ko-steps-4{grid-template-columns:1fr}
 .ko-hero-car{display:none}
 .ko-hero-route{display:none}
 .ko-sum li{flex-direction:column;gap:2px}
 .ko-sum li span{text-align:left}
 .ko-models{padding:12px}
 .ko-models-row{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;padding-bottom:2px;scrollbar-width:none}
 .ko-models-row::-webkit-scrollbar{display:none}
 .ko-models-row a{flex:0 0 auto}
 .ko-models-row b{min-width:64px;flex:0 0 auto}
 .ko-rows{margin-top:36px}
}
