/* Разработка интернет-магазина (27.11.2026). База — CSS страницы приложений (шаги, таблица, гарантии,
   контейнер карты экранов), подключается раньше этого файла. Здесь: путь заказа в первом экране,
   таблица типов магазинов, блок КазПромИмпорта. */

/* ---------- HERO ---------- */
/* платформы в первом экране: логотипы без наведения, это не ссылки */
.sx-plat-strip{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:22px}
.sx-plat-strip .logo-chip{padding:8px 14px 8px 10px;gap:8px}

/* ---------- путь заказа ---------- */
.oroute{margin-top:36px;border:1px solid var(--line);border-radius:20px;background:#F6F7F8;overflow:hidden}
.or-bar{display:flex;align-items:center;justify-content:space-between;gap:14px 24px;padding:14px 18px;border-bottom:1px solid var(--line);background:#fff}
.or-ticket{display:inline-flex;align-items:baseline;gap:10px;min-width:0;font-size:13.5px;color:var(--gray)}
.or-ticket b{font-weight:700;color:var(--ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.or-st{position:relative;padding-left:16px;color:var(--ink);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:opacity .25s}
.or-st::before{content:"";position:absolute;left:0;top:50%;width:7px;height:7px;margin-top:-3.5px;border-radius:50%;background:var(--blue)}
.or-st.is-swap{opacity:0}
.or-tabs{display:flex;gap:4px;overflow-x:auto;scrollbar-width:none}
.or-tabs::-webkit-scrollbar{display:none}
.or-tab{flex-shrink:0;font-family:inherit;font-size:14px;font-weight:600;line-height:1;color:var(--ink);background:none;border:1px solid transparent;border-radius:8px;padding:9px 14px;cursor:pointer;transition:background .2s,border-color .2s}
.or-tab:hover{background:var(--gray-bg)}
.or-tab.is-on{border-color:var(--ink)}
.or-tab:focus-visible{outline:2px solid var(--blue);outline-offset:2px}

.or-canvas{position:relative;display:grid;padding:30px 28px 28px;background-image:radial-gradient(circle,#D5DDE4 1px,transparent 1.2px);background-size:18px 18px}
.or-flow{grid-area:1/1;display:flex;align-items:stretch;justify-content:center;visibility:hidden}
.or-flow.is-on{visibility:visible}

.ost{position:relative;flex:0 1 196px;min-width:0;display:flex;flex-direction:column;gap:6px;padding:14px 14px 16px;background:#fff;border:1px solid #D3DBE2;border-radius:14px;
  opacity:0;transform:translateY(12px);transition:opacity .45s calc(var(--i) * 70ms),transform .6s cubic-bezier(.22,1,.36,1) calc(var(--i) * 70ms),border-color .3s}
.or-flow.is-on .ost{opacity:1;transform:none}
.ost-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
.ost-ic{display:flex;color:#8C99A5;transition:color .3s}
.ost-ic svg{width:26px;height:26px}
.ost-ic svg .du{fill:currentColor;opacity:.14}
.ost-sys{font-size:11.5px;font-weight:700;color:var(--gray);background:var(--gray-bg);border-radius:6px;padding:4px 7px;white-space:nowrap;transition:color .3s,background .3s}
.ost-t{font:800 15px/1.2 var(--font-h);letter-spacing:-.01em;color:var(--ink);text-transform:uppercase}
.ost-d{font-size:13px;line-height:1.45;color:var(--gray)}
/* пройденный этап — галочка, текущий — тёмная рамка и синяя иконка */
.ost::after{content:"";position:absolute;right:12px;bottom:12px;width:8px;height:4px;border-left:2px solid var(--blue);border-bottom:2px solid var(--blue);transform:rotate(-45deg);opacity:0;transition:opacity .3s}
.ost.is-done::after{opacity:1}
.ost.is-act{border-color:var(--ink)}
.ost.is-act .ost-ic,.ost.is-done .ost-ic{color:var(--blue)}
.ost.is-act .ost-sys{color:#fff;background:var(--ink)}

.or-arr{flex:1 1 26px;max-width:52px;min-width:14px;align-self:center;color:#9AA8B4;opacity:0;transition:opacity .4s calc(var(--i) * 70ms + 120ms),color .3s}
.or-flow.is-on .or-arr{opacity:1}
.or-arr svg{display:block;width:100%;height:10px;overflow:visible}
.or-arr path{fill:none;stroke:currentColor;stroke-width:1.3;vector-effect:non-scaling-stroke}
.or-arr.is-act{color:var(--ink)}

.or-foot{display:flex;justify-content:space-between;align-items:center;gap:12px 28px;flex-wrap:wrap;padding:14px 18px;border-top:1px solid var(--line);background:#fff;font-size:13.5px}

@media(max-width:1180px){
  .or-flow{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding-bottom:4px}
  .or-flow::-webkit-scrollbar{display:none}
  .ost{flex:0 0 184px}
}
/* телефон: путь заказа сверху вниз, без горизонтальной прокрутки */
@media(max-width:640px){
  .oroute{margin:34px -6px 0}
  .or-bar{flex-direction:column;align-items:flex-start;gap:10px;padding:12px}
  .or-ticket{max-width:100%}
  .or-tabs{max-width:100%}
  .or-canvas{padding:20px 14px 18px}
  .or-flow{flex-direction:column;align-items:stretch;overflow:visible;padding-bottom:0}
  .ost{flex:none;display:grid;grid-template-columns:auto 1fr;grid-template-areas:"ic t" "ic d";column-gap:12px;row-gap:3px;padding:12px 14px}
  .ost-top{grid-area:ic;flex-direction:column;align-items:flex-start;margin:0}
  .ost-sys{display:none}
  .ost-t{grid-area:t;font-size:14px}
  .ost-d{grid-area:d}
  .or-arr{flex:none;align-self:flex-start;width:10px;height:18px;max-width:none;min-width:0;margin-left:26px}
  .or-arr svg{width:18px;height:10px;transform:rotate(90deg) translate(4px,4px)}
  .or-foot{padding:12px}
  .or-foot .amap-stack b{width:100%}
}

/* ---------- типы магазинов ---------- */
.sx-types{border-top:1px solid var(--line)}
.sx-types .ast td:first-child{width:24%}
.sx-types .ast td:nth-child(2){width:46%}
.sx-sub{display:block;margin-top:6px;font-size:13.5px;color:var(--gray);line-height:1.4}
.sx-ex{display:inline-flex;align-items:center;margin:0 8px 8px 0;padding:6px 12px;border:1px solid var(--line);border-radius:999px;font-size:14px;font-weight:600;color:var(--ink);text-decoration:none;white-space:nowrap;transition:border-color .2s,background .2s}
.sx-ex:hover{border-color:var(--ink);background:var(--gray-bg)}
.sx-ex:focus-visible{outline:2px solid var(--blue);outline-offset:2px}
.sx-exn{display:inline-block;margin:0 0 8px;padding:6px 0;font-size:14px;color:var(--gray);font-variant-numeric:tabular-nums}
@media(max-width:760px){
  .sx-types .ast thead{display:none}
  .sx-types .ast,.sx-types .ast tbody,.sx-types .ast tr,.sx-types .ast td,.sx-types .ast td:nth-child(n){display:block;width:100%}
  .sx-types .ast tr{padding:18px 0;border-bottom:1px solid var(--line)}
  .sx-types .ast tr:first-child{border-top:1px solid var(--ink)}
  .sx-types .ast td{padding:0 0 10px;border:0}
  .sx-types .ast td:last-child{padding-bottom:0}
}

/* ---------- кейс КазПромИмпорта ---------- */
.sx-case{padding:120px 0;background:var(--gray-bg);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.sx-case-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:40px 56px;align-items:start}
.sx-shot{margin:0;border:1px solid #D3DBE2;border-radius:16px;overflow:hidden;background:#fff}
.sx-shot-bar{display:flex;align-items:center;gap:8px;padding:10px 14px;border-bottom:1px solid var(--line);font-size:13px;font-weight:600;color:var(--gray)}
.sx-shot-bar i{font-size:11px;color:#8C99A5}
.sx-shot img{display:block;width:100%;height:auto}
.sx-facts{list-style:none;margin:0 0 26px;border-top:1px solid var(--ink)}
.sx-facts li{padding:16px 0;border-bottom:1px solid var(--line);font-size:15.5px;line-height:1.55;color:var(--gray)}
.sx-facts b{color:var(--ink)}
.sx-case-txt .logo-strip{margin-bottom:26px}
@media(max-width:980px){.sx-case-grid{grid-template-columns:minmax(0,1fr)}.sx-case{padding:90px 0}}

/* ---------- гарантии: без фоновой картинки телефонов со страницы приложений ---------- */
.sx-trust{background:#14222D}

/* ---------- 27.11, правки по замечаниям melen ---------- */
/* описание под «Какой магазин нужен вам» — в две строки на компьютере */
.sx-types .svc-head .sec-note{max-width:700px}
/* пример с собственной страницей кейса */
.sx-ex--case{gap:8px;border-color:var(--ink)}
.sx-ex--case span{font-size:11.5px;font-weight:700;color:#fff;background:var(--blue);border-radius:999px;padding:2px 7px;line-height:1.3}
.sx-ex--case:hover{background:var(--ink);color:#fff}
.sx-case-acts{display:flex;flex-wrap:wrap;gap:10px}
/* иконки этапов «Как запускаем магазин» */
.as-list--ic .as-ic{display:flex;color:var(--blue);margin-bottom:4px}
.as-list--ic .as-ic svg{width:34px;height:34px}
.as-list--ic .as-ic svg .du{fill:currentColor;opacity:.16}
/* платформы (27.11) */
.sx-plats{border-top:1px solid var(--line)}
.sx-plats .svc-head .sec-note{max-width:700px}
.sx-plats .ast td:first-child{width:22%}
.sx-plats .ast td:nth-child(2){width:52%}
.sx-plats .ast-l{margin:0}
.sx-plats .ast-l svg.ph{width:20px;height:20px}
.sx-plats .ast-l svg.ph .du{fill:currentColor;opacity:.16}
@media(max-width:760px){
  .sx-plats .ast thead{display:none}
  .sx-plats .ast,.sx-plats .ast tbody,.sx-plats .ast tr,.sx-plats .ast td,.sx-plats .ast td:nth-child(n){display:block;width:100%}
  .sx-plats .ast tr{padding:18px 0;border-bottom:1px solid var(--line)}
  .sx-plats .ast tr:first-child{border-top:1px solid var(--ink)}
  .sx-plats .ast td{padding:0 0 10px;border:0}
  .sx-plats .ast td:empty{display:none}
}
.sx-plat-strip .logo-chip svg.si-woocommerce{width:28px;height:28px;margin:-4px -3px}
