/* Вид «Маршрут» (сайты курсов MORVEX). Основа - стенд courses-look V1 (tools/common.py BASE_CSS, tools/v1.py CSS), 23.11.2026.
   Цвета и шрифты сайта - переменные из site.php (front.php oml_css_vars). Стили темы Ohio в этом запросе сняты. */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:96px;color-scheme:var(--scheme,light)}
body.oml{margin:0;background:var(--bg);color:var(--ink);font:400 16px/1.55 var(--bfont);overflow-x:clip}
body.oml img{max-width:100%;height:auto}
body.oml a{color:inherit;text-underline-offset:3px}
body.oml h1,body.oml h2,body.oml h3,body.oml h4,body.oml h5{margin:0;font-family:var(--hfont);color:var(--ink);letter-spacing:-.01em}
body.oml p,body.oml figure{margin:0}
body.oml button,body.oml input,body.oml select,body.oml textarea{font:inherit;color:inherit}
.oml .wrap{width:100%;max-width:1320px;margin:0 auto;padding:0 20px}
@media (min-width:768px){.oml .wrap{padding:0 32px}}
.oml .vh,.oml .screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.oml .skip{position:absolute;left:12px;top:-60px;z-index:100;background:var(--ink);color:var(--bg);padding:12px 16px;border-radius:var(--radius)}
.oml .skip:focus{top:12px}
.oml .hd ul,.oml .ft ul,.oml .hline,.oml .vline,.oml .mini,.oml .how,.oml .curr ol,.oml .getbox ul,.oml .mnav,.oml .pay ul{margin:0;padding:0;list-style:none}
.oml .mut{color:var(--muted)}

/* кнопки */
.oml .btn,.oml a.button.btn,.oml .single_add_to_cart_button,.oml .wpcf7-submit,.oml .woocommerce-button,.oml .woocommerce-Button,.oml button.button,.oml a.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 24px;border:2px solid var(--acc);background:var(--acc);color:var(--acc-ink);font:700 16px/1.2 var(--bfont);text-decoration:none;border-radius:var(--radius);cursor:pointer;white-space:nowrap;box-shadow:none}
.oml .btn.ghost,.oml a.button.ghost{background:transparent;color:var(--ink);border-color:var(--ink)}
.oml .btn.b-sm{min-height:44px;padding:0 16px;font-size:15px}
.oml .btn:hover,.oml .single_add_to_cart_button:hover,.oml button.button:hover,.oml a.button:hover{filter:brightness(1.08)}
.oml .btn.ghost:hover{background:var(--surface)}
.oml .btn.loading{opacity:.7}
.oml a.added_to_cart{display:inline-flex;align-items:center;min-height:44px;padding:0 4px;font-weight:700;text-decoration:underline;color:var(--ink)}
.oml :focus-visible{outline:3px solid var(--acc2);outline-offset:2px}

/* шапка */
.oml .hd{position:sticky;top:0;z-index:40;background:var(--bg);border-bottom:1px solid var(--line)}
.oml .hd-in{display:flex;align-items:center;gap:16px;min-height:72px}
.oml .hd .logo{display:flex;align-items:center;min-height:48px;flex:0 1 auto;min-width:0}
.oml .hd .logo img{display:block;height:40px;width:auto;max-width:100%}
@media (min-width:1100px){.oml .hd .logo img{height:48px}}
.oml .nav{margin-left:auto}
.oml .nav ul{display:flex;gap:4px}
.oml .nav a,.oml .mnav a{display:flex;align-items:center;min-height:48px;padding:0 12px;text-decoration:none;font-weight:600}
.oml .nav a[aria-current],.oml .mnav a[aria-current]{text-decoration:underline;text-underline-offset:6px;text-decoration-thickness:2px}
.oml .nav a:hover{text-decoration:underline;text-underline-offset:6px}
.oml .tools{display:flex;align-items:center;gap:6px;flex:none}
.oml .ic,.oml .pop>summary{display:flex;align-items:center;justify-content:center;min-width:48px;min-height:48px;padding:0 10px;border-radius:var(--radius);cursor:pointer;list-style:none;text-decoration:none;color:var(--ink)}
.oml .pop>summary::-webkit-details-marker{display:none}
.oml .ic:hover,.oml .pop>summary:hover{background:var(--surface)}
.oml .menu>summary{border:1px solid var(--line);font-weight:700;padding:0 14px}
.oml .cartl{display:flex;align-items:center;gap:6px;min-height:48px;padding:0 16px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none;font-weight:700;white-space:nowrap}
.oml .cartl[aria-current]{border-color:var(--ink)}
.oml .pop{position:static}
.oml .pop-p{position:absolute;left:0;right:0;top:100%;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 12px 24px rgba(0,0,0,.08);padding:16px 0 20px}
.oml .mnav{margin-bottom:12px}
.oml .mnav a{padding:0;border-bottom:1px solid var(--line)}
.oml .cur{display:flex;align-items:center}
.oml .fleet-cur-switcher{display:inline-flex!important;align-items:center;font-size:15px;letter-spacing:0}
.oml .fleet-cur-switcher .fleet-cur-item{display:inline-flex!important;align-items:center;min-height:44px;padding:0 6px;opacity:1;color:var(--muted);text-decoration:none}
.oml .fleet-cur-switcher a.fleet-cur-item{text-decoration:underline;text-underline-offset:4px}
.oml .fleet-cur-switcher .is-active{color:var(--ink);font-weight:700}
.oml .fleet-cur-switcher .fleet-cur-sep{opacity:1;color:var(--muted);margin:0 2px}
.oml .cur-m{display:none;border-top:1px solid var(--line)}
.oml .cur-m .wrap{display:flex;align-items:center;justify-content:flex-end;gap:8px;min-height:44px}
.oml .cur-l{color:var(--muted);font-size:15px}
.oml .fleet-cur-bar{display:none!important}
@media (max-width:1099px){
 .oml .nav,.oml .acc,.oml .srchp,.oml .cur-d{display:none}
 .oml .hd-in{gap:8px;justify-content:space-between}
 .oml .tools{margin-left:auto}
 .oml .cur-m{display:block}
 html{scroll-padding-top:136px}
 .oml .cartl{padding:0 12px}
}
@media (min-width:1100px){.oml .menu{display:none}}

/* поиск */
.oml .srch{display:flex;gap:8px;width:100%;max-width:640px}
.oml .srch input[type=search]{flex:1;min-width:0;min-height:48px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--surface);color:var(--ink)}
.oml .srch input::placeholder{color:var(--muted);opacity:1}
.oml .srch .btn{min-height:48px}

/* подвал */
.oml .ft{margin-top:96px;background:var(--surface);border-top:1px solid var(--line);font-size:15px}
.oml .ft .cols{display:grid;gap:32px;padding:48px 0 32px;grid-template-columns:1fr}
@media (min-width:640px){.oml .ft .cols{grid-template-columns:1fr 1fr}}
@media (min-width:1024px){.oml .ft .cols{grid-template-columns:1.3fr 1fr 1fr 1fr 1fr}}
.oml .ft h2{font:700 15px/1.3 var(--bfont);margin-bottom:8px;letter-spacing:0}
.oml .ft a{display:flex;align-items:center;min-height:44px;text-decoration:none}
.oml .ft a:hover{text-decoration:underline}
.oml .ft .co .logo{min-height:48px;margin-bottom:12px}
.oml .ft .co img{height:40px;width:auto}
.oml .ft address{font-style:normal;line-height:1.6}
.oml .ft .bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:24px 0 32px;border-top:1px solid var(--line)}
.oml .ft .pay{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.oml .ft .pay ul{display:flex;flex-wrap:wrap;gap:8px}
.oml .ft .pay li{display:flex;align-items:center;justify-content:center;width:72px;height:44px;background:#fff;border:1px solid var(--line);border-radius:6px;padding:8px}
.oml .ft .pay img{max-height:26px;max-width:56px;width:auto;height:auto}
@media (max-width:639px){.oml .ft .bar{flex-direction:column;align-items:flex-start}}

/* общие блоки */
.oml .crumbs{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:16px 0;font-size:15px;color:var(--muted)}
.oml .crumbs a{display:inline-flex;align-items:center;min-height:44px;min-width:44px}
.oml .crumbs span[aria-current]{color:var(--ink)}
.oml .sec-h{display:flex;flex-wrap:wrap;align-items:end;justify-content:space-between;gap:16px;margin-bottom:32px}
.oml .sec-h h2{font-size:clamp(28px,3vw,44px);line-height:1.1;font-weight:800}
.oml .sec-h p{color:var(--muted);max-width:56ch}
.oml .sec-h p a{display:inline-flex;align-items:center;min-height:44px;color:var(--ink);font-weight:700}
.oml .facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.oml .facts.n3>div:last-child{grid-column:1/-1}
@media (min-width:560px){.oml .facts.n3{grid-template-columns:repeat(3,minmax(0,1fr))}.oml .facts.n3>div:last-child{grid-column:auto}}
.oml .facts div{background:var(--bg);padding:12px 16px}
.oml .facts b{display:block;font:700 22px/1.2 var(--hfont)}
.oml .facts span{font-size:14px;color:var(--muted)}
.oml .tcover{display:flex;flex-direction:column;justify-content:space-between;width:100%;aspect-ratio:1;padding:12%;background:var(--surface);border:1px solid var(--line);font:700 clamp(15px,1.6vw,22px)/1.15 var(--hfont)}
.oml .tcover small{font:600 12px/1.3 var(--bfont);color:var(--muted)}
.oml .num{display:flex;align-items:center;justify-content:center;flex:none;width:40px;height:40px;border-radius:50%;background:var(--rc);color:var(--num-ink);font:700 16px/1 var(--bfont);position:relative;z-index:1;box-shadow:0 0 0 4px var(--bg)}

/* главная */
.oml .hero{display:grid;gap:32px;padding-top:40px;padding-bottom:32px}
.oml .hero-t{display:grid;gap:24px;align-items:end}
@media (min-width:1024px){.oml .hero{padding-top:56px;padding-bottom:48px}.oml .hero-t{grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:48px}}
.oml .hero h1{font-size:clamp(38px,5vw,68px);line-height:1.04;font-weight:800;max-width:16ch}
.oml .hero .lead{font-size:clamp(17px,1.4vw,20px);max-width:52ch;color:var(--muted)}
.oml .ctas{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.oml .hroute{--rc:var(--p0);--bleed:24px;background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:24px;overflow:hidden}
.oml .hr-h{display:flex;flex-wrap:wrap;align-items:center;gap:8px 24px;margin-bottom:20px}
.oml .hr-h .rt-meta{color:var(--muted);font-size:15px;margin-right:auto}
@media (max-width:767px){.oml .hroute{--bleed:16px;padding:16px}.oml .hr-h .btn{width:100%}}
.oml .hroute .num{box-shadow:0 0 0 4px var(--surface)}
.oml .rt-name{display:flex;align-items:center;gap:12px;font-weight:700}
.oml .rt-name>a,.oml .rt-name span a{display:inline-flex;align-items:center;min-height:44px}
.oml .rt-name>a{text-decoration:none}
.oml .rt-name i{flex:none;width:28px;height:6px;border-radius:3px;background:var(--rc)}
.oml .vline{position:relative;margin:12px 0 0}
.oml .vline::before{content:"";position:absolute;left:18px;top:28px;bottom:28px;width:4px;background:var(--rc);border-radius:2px}
.oml .vline li a{position:relative;display:grid;grid-template-columns:40px 56px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:72px;padding:8px 0;text-decoration:none}
.oml .vline img,.oml .vline .tcover{width:56px;height:56px;object-fit:contain;background:var(--bg);border-radius:6px;padding:0;font-size:9px}
.oml .vline .t{font-weight:700;line-height:1.25}
.oml .vline .t small{display:block;font-weight:400;color:var(--muted);font-size:14px}
.oml .vline .pr{font-weight:700}
.oml .vline a:hover .t{text-decoration:underline}
.oml .rt-buy{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-top:16px;padding-top:16px;border-top:1px solid var(--line)}
.oml .rt-buy span{font-size:15px;color:var(--muted)}
.oml .strip{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;margin-bottom:64px}
@media (min-width:900px){.oml .strip{grid-template-columns:repeat(4,minmax(0,1fr))}}
.oml .strip div{background:var(--bg);padding:16px 20px}
.oml .strip b{display:block;font:800 26px/1.15 var(--hfont)}
.oml .strip span{color:var(--muted);font-size:15px}
.oml .route{--rc:var(--p0);display:grid;gap:32px;padding:32px 0;border-top:1px solid var(--line)}
@media (min-width:1100px){.oml .route{grid-template-columns:300px minmax(0,1fr);gap:48px}}
.oml .rhead h3{font-size:28px;line-height:1.15;font-weight:800}
.oml .rhead .goal{margin-top:8px;color:var(--muted)}
.oml .rhead .meta{margin-top:16px;font-size:15px}
.oml .rhead .acts{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:16px}
.oml .rhead .more,.oml .sec-h p a{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--ink)}
.oml .rhead .more{margin-top:0}
.oml .arch-cta{width:100%}
.oml .hline{--n:5;position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.oml .hline.n4{--n:4;grid-template-columns:repeat(4,minmax(0,1fr))}
.oml .hline.n3{--n:3;grid-template-columns:repeat(3,minmax(0,1fr))}
.oml .hline.n2{--n:2;grid-template-columns:repeat(2,minmax(0,1fr))}
.oml .hline::before{content:"";position:absolute;left:20px;right:calc((100% - (var(--n) - 1) * 24px) / var(--n) - 20px);top:18px;height:4px;background:var(--rc);border-radius:2px}
.oml .hline li a{display:flex;flex-direction:column;gap:12px;text-decoration:none;height:100%}
.oml .hline .cv{aspect-ratio:1;background:var(--surface);border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.oml .hline .cv img{width:100%;height:100%;object-fit:contain}
.oml .hline .cv .tcover{border:0}
.oml .hline .t{font-weight:700;line-height:1.25}
.oml .hline .m{font-size:14px;color:var(--muted);margin-top:auto}
.oml .hline li a:hover .t{text-decoration:underline}
@media (max-width:767px){
 .oml .hline,.oml .hline.n4,.oml .hline.n3,.oml .hline.n2{--bl:var(--bleed,20px);display:flex;gap:16px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--bl));padding:0 var(--bl) 12px;scroll-padding-left:var(--bl)}
 .oml .hline li{flex:0 0 152px;scroll-snap-align:start}
 .oml .hline::before{left:calc(var(--bl) + 20px);right:auto;width:calc((var(--n) - 1) * 168px);top:18px}
}
.oml .route:target .rhead h3,.oml .route:focus .rhead h3{text-decoration:underline;text-decoration-color:var(--rc);text-decoration-thickness:4px;text-underline-offset:8px}
.oml .route:focus{outline:none}
.oml .singles{margin-top:64px}
.oml .how{display:grid;gap:24px;margin-top:64px}
@media (min-width:900px){.oml .how{grid-template-columns:repeat(3,minmax(0,1fr))}}
.oml .how li{border-top:4px solid var(--ink);padding-top:16px}
.oml .how b{display:block;font:800 20px/1.25 var(--hfont);margin-bottom:8px}
.oml .how p{color:var(--muted)}

/* карточки */
.oml .cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px 20px}
@media (min-width:768px){.oml .cards{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}}
@media (min-width:1100px){.oml .cards{grid-template-columns:repeat(4,minmax(0,1fr))}}
.oml .card{display:flex;flex-direction:column;gap:8px;min-width:0}
.oml .card[hidden]{display:none}
.oml .card .cv{aspect-ratio:1;background:var(--surface);border-radius:8px;overflow:hidden;display:flex;align-items:center;justify-content:center}
.oml .card .cv img{width:100%;height:100%;object-fit:contain}
.oml .card .cv .tcover{border:0}
.oml .card .on{display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;font-size:14px;line-height:1.3;color:var(--muted)}
.oml .card .on .rt{color:var(--ink);font-weight:600}
.oml .card .on .st{white-space:nowrap}
.oml .card .on i{flex:none;width:16px;height:4px;border-radius:2px;background:var(--rc)}
.oml .card h3{font-size:18px;line-height:1.25;font-weight:700;letter-spacing:0}
.oml .card h3 a{display:flex;min-height:44px;text-decoration:none}
.oml .card h3 a:hover{text-decoration:underline}
.oml .card .m{font-size:14px;color:var(--muted)}
.oml .cbuy{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-top:auto;padding-top:4px}
.oml .card .pr{font-weight:800;font-size:18px}
@media (max-width:479px){.oml .cbuy .btn{width:100%}}

/* каталог */
.oml .arch-h{margin:16px 0 24px}
.oml .arch-h h1{font-size:clamp(34px,4vw,56px);line-height:1.05;font-weight:800;width:100%}
.oml .arch-tools{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}
@media (max-width:767px){.oml .arch-tools .srch{display:none}}
.oml .ord select,.oml .woocommerce-ordering select{min-height:48px;padding:0 40px 0 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);color:var(--ink)}
.oml .woocommerce-ordering{margin:0}
.oml .chips{display:flex;flex-wrap:wrap;gap:12px;margin:24px 0 16px}
.oml .chips button{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 16px;border:1px solid var(--line);border-radius:999px;background:var(--bg);color:var(--ink);font-weight:600;cursor:pointer}
.oml .chips button i{width:16px;height:4px;border-radius:2px;background:var(--rc,var(--ink))}
.oml .chips button[aria-pressed=true]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink)}
.oml .chips button{white-space:nowrap}
@media (max-width:767px){.oml .chips{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;margin:16px -20px 16px;padding:0 20px 8px;gap:8px}}
.oml .topics{margin:0 0 32px}
.oml .topics ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.oml .topics a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:999px;color:var(--ink);text-decoration:none;font-size:15px;white-space:nowrap}
.oml .topics a span{color:var(--muted);font-size:14px}
.oml .topics a:hover{border-color:var(--ink)}
.oml .topics a[aria-current]{border-color:var(--ink);box-shadow:inset 0 0 0 1px var(--ink);font-weight:700}
@media (max-width:767px){.oml .topics ul{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;margin:0 -20px;padding:0 20px 8px;scroll-padding-left:20px}}
.oml .pagin{margin-top:40px}
.oml .woocommerce-pagination ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.oml .woocommerce-pagination a,.oml .woocommerce-pagination span{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none}
.oml .woocommerce-pagination .current{border-color:var(--ink);font-weight:700}
.oml .empty{padding:48px 0}
.oml .empty p+p{margin-top:16px}
.oml .term-d{margin-top:48px;max-width:760px}

/* страница курса */
.oml .pgrid{display:grid;gap:48px;margin-top:8px}
@media (min-width:960px){.oml .pgrid{grid-template-columns:minmax(0,5fr) minmax(0,6fr)}}
.oml .pcover{background:var(--surface);border-radius:var(--radius);display:flex;align-items:center;justify-content:center;padding:32px;align-self:start}
.oml .pcover img,.oml .pcover .tcover{width:100%;max-width:440px;height:auto;border-radius:6px}
.oml .pinfo{display:flex;flex-direction:column;gap:24px;min-width:0}
.oml .onroute{--rc:var(--p0)}
.oml .onroute .rt-name span{font-weight:700}
.oml .mini{display:flex;align-items:center;margin-top:8px;position:relative}
.oml .mini::before{content:"";position:absolute;left:22px;right:22px;top:50%;height:4px;margin-top:-2px;background:var(--rc);opacity:.35}
.oml .mini li{flex:1;display:flex;justify-content:center}
.oml .mini li:first-child{justify-content:flex-start}.oml .mini li:last-child{justify-content:flex-end}
.oml .mini a{position:relative;display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:3px solid var(--rc);background:var(--bg);font-weight:700;text-decoration:none}
.oml .mini a[aria-current]{background:var(--rc);color:var(--num-ink)}
.oml .pinfo h1{font-size:clamp(32px,3.6vw,52px);line-height:1.06;font-weight:800}
.oml .pinfo .sub{font-size:19px;color:var(--muted);margin-top:8px}
.oml .pinfo .lead{color:var(--muted);max-width:60ch}
.oml .pinfo .price{font:800 40px/1 var(--hfont)}
.oml .buy{display:flex;flex-wrap:wrap;align-items:center;gap:12px}
.oml .buy form.cart{display:flex;margin:0}
.oml .buy .quantity{display:none}
.oml .getbox{border:1px solid var(--line);border-radius:var(--radius);padding:16px 20px;background:var(--surface)}
.oml .getbox h2{font:700 17px/1.3 var(--bfont);margin-bottom:8px;letter-spacing:0}
.oml .getbox li{padding:4px 0}
.oml .getbox .help{margin-top:8px}
.oml .getbox .help a{display:inline-flex;align-items:center;min-height:44px;font-weight:700}
.oml .curr{margin-top:64px;max-width:900px}
.oml .curr h2{font-size:32px;font-weight:800;margin-bottom:16px}
.oml .curr li{display:grid;grid-template-columns:48px minmax(0,1fr) auto;gap:16px;align-items:baseline;padding:14px 0;border-bottom:1px solid var(--line)}
.oml .curr li .n{font:700 15px/1 var(--bfont);color:var(--muted)}
.oml .curr li .t{font-weight:600}
.oml .curr li .pg{font-size:14px;color:var(--muted);white-space:nowrap}
.oml .nbr{display:grid;gap:24px;margin-top:64px}
@media (min-width:768px){.oml .nbr{grid-template-columns:1fr 1fr}}
.oml .nbr a{display:grid;grid-template-columns:96px minmax(0,1fr);gap:16px;align-items:center;padding:16px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none}
.oml .nbr a:hover b{text-decoration:underline}
.oml .nbr img,.oml .nbr .tcover{width:96px;height:96px;object-fit:contain;background:var(--surface);border-radius:6px;font-size:10px;padding:6px}
.oml .nbr small{display:block;color:var(--muted);font-size:14px}
.oml .nbr b{display:block;font-size:18px;line-height:1.25}
.oml .more{margin-top:64px}

/* страницы, тексты */
.oml .pg-h1{font-size:clamp(34px,4vw,52px);line-height:1.08;font-weight:800;margin:8px 0 32px}
.oml .prose{line-height:1.65}
.oml .prose.doc{max-width:780px;font-size:17px}
.oml .prose p,.oml .prose ul,.oml .prose ol,.oml .prose table{margin:0 0 16px}
.oml .prose ul{list-style:disc;padding-left:1.4em}
.oml .prose ol{list-style:decimal;padding-left:1.4em}
.oml .prose li{margin:4px 0}
.oml .prose h2{font-size:26px;line-height:1.2;margin:40px 0 12px}
.oml .prose h3{font-size:21px;line-height:1.25;margin:28px 0 8px}
.oml .prose h4,.oml .prose h5{font-size:18px;margin:24px 0 8px}
.oml .prose a{text-decoration:underline}
.oml .prose table{border-collapse:collapse;display:block;overflow-x:auto}
.oml .prose td,.oml .prose th{border:1px solid var(--line);padding:8px 10px;text-align:left}
.oml .elx{display:flex;flex-direction:column;gap:48px}
.oml .elx-grid{display:grid;gap:32px}
@media (min-width:768px){.oml .elx-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.oml .elx-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.oml .elx-item{border-top:4px solid var(--ink);padding-top:16px}
.oml .elx-item h3{font-size:20px;line-height:1.25;margin-bottom:8px}
.oml .elx-item .prose{color:var(--muted)}
.oml .elx-wide{max-width:900px;display:flex;flex-direction:column}
.oml .elx-wide .elx-cta{order:9;margin-top:20px}
.oml .elx-wide h2{font-size:clamp(26px,3vw,40px);line-height:1.12;margin-bottom:16px}
.oml .elx-wide h3{font-size:24px;margin-bottom:12px}
.oml .elx-cta{margin-top:16px}
.oml .elx-form{max-width:760px}
.oml .wpcf7 p{margin:0 0 16px}
.oml .wpcf7 label{display:block;font-weight:600}
.oml .wpcf7 input:not([type=submit]):not([type=checkbox]):not([type=radio]),.oml .wpcf7 textarea{display:block;width:100%;min-height:48px;margin-top:6px;padding:10px 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);color:var(--ink)}
.oml .wpcf7 textarea{min-height:140px}
.oml .wpcf7 select{display:block;width:100%;max-width:100%;min-height:48px;margin-top:6px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);color:var(--ink)}
.oml .wpcf7-not-valid-tip{color:#b3261e}
.oml .wpcf7 form .wpcf7-response-output{margin:16px 0 0;padding:12px 16px;border-radius:var(--radius)}
.oml .e404 h1{font-size:clamp(38px,5vw,64px);line-height:1.05;font-weight:800;margin-top:48px}
.oml .e404 .lead{margin:16px 0 24px;color:var(--muted);font-size:19px;max-width:52ch}

/* WooCommerce: уведомления, корзина, касса, кабинет */
.oml .woocommerce-notices-wrapper:empty{display:none}
.oml .woocommerce-message,.oml .woocommerce-info,.oml .woocommerce-error{list-style:none;margin:0 0 24px;padding:14px 18px;border:1px solid var(--line);border-left:4px solid var(--acc2);border-radius:var(--radius);background:var(--surface);color:var(--ink);display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.oml .woocommerce-error{border-left-color:#b3261e}
.oml .woocommerce-message a.button,.oml .woocommerce-info a.button{min-height:44px;padding:0 16px;font-size:15px;order:2}
.oml .pg-woo{min-height:240px}
.oml .wp-block-woocommerce-cart,.oml .wp-block-woocommerce-checkout{margin-top:0}
.oml .wc-block-components-button:not(.is-link),.oml .wc-block-cart__submit-button{min-height:48px;border-radius:var(--radius);font-family:var(--bfont);font-weight:700}
body.oml.woocommerce-checkout .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button,body.oml.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button{min-height:48px;height:auto;background-color:var(--acc);color:var(--acc-ink);border:2px solid var(--acc);border-radius:var(--radius);font-family:var(--bfont);font-size:16px;font-weight:700}
body.oml.woocommerce-checkout .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:hover:not(:disabled),body.oml.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button:hover:not([aria-disabled="true"]):not(:disabled),body.oml.woocommerce-checkout .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button:focus-visible,body.oml.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button:focus-visible{background-color:var(--acc);color:var(--acc-ink);filter:brightness(1.08)}
body.oml.woocommerce-checkout .wc-block-checkout .wc-block-components-button.wc-block-components-checkout-place-order-button .wc-block-components-spinner,body.oml.woocommerce-cart .wp-block-woocommerce-cart .wc-block-components-button.wc-block-cart__submit-button .wc-block-components-spinner{color:var(--acc-ink)}
.oml .wc-block-components-product-name{color:var(--ink);font-weight:700}
.oml .wc-block-cart-item__remove-link{min-height:44px;min-width:44px;display:inline-flex!important;align-items:center;justify-content:center}
.oml .wc-block-cart-item__image a{display:block;min-height:44px}
.oml .wc-block-components-quantity-selector{min-height:44px}
.oml .wc-block-components-quantity-selector .wc-block-components-quantity-selector__input{min-height:44px;min-width:44px}
.oml .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{min-width:44px;min-height:44px}
.oml .wc-block-components-address-form__address_2-toggle,.oml .wc-block-components-checkout-return-to-cart-button{display:inline-flex;align-items:center;min-height:44px}
.oml .wc-block-components-address-form__address_2-hidden-input{min-height:44px}
.oml .wc-block-components-totals-coupon-link,.oml .wc-block-components-panel__button{min-height:44px}
.oml .wc-block-components-checkbox label{min-height:44px;align-items:flex-start}
.oml .wc-block-components-checkbox .wc-block-components-checkbox__input{align-self:flex-start;margin-top:12px}
.oml .wc-block-components-checkbox .wc-block-components-checkbox__mark{top:auto}
.oml .wc-block-components-checkbox .wc-block-components-checkbox__label{padding-top:10px}
.oml .wc-block-checkout__terms a,.oml .wc-block-components-checkbox__label a{text-decoration:underline}
.oml .wc-block-components-text-input input,.oml .wc-blocks-components-select__select,.oml .wc-block-components-textarea{border-color:var(--line)}
/* кабинет и вход (классические формы WooCommerce) */
.oml .woocommerce-account .u-columns,.oml .pg-account .u-columns{display:grid;gap:32px}
@media (min-width:900px){.oml .pg-account .u-columns{grid-template-columns:1fr 1fr}}
.oml .pg-account h2{font-size:26px;margin-bottom:16px}
.oml .pg-account form.woocommerce-form,.oml .pg-account .woocommerce-MyAccount-content form{border:1px solid var(--line);border-radius:var(--radius);padding:24px;background:var(--surface)}
.oml .pg-account .form-row{margin:0 0 16px;padding:0}
.oml .pg-account label{display:block;font-weight:600;margin-bottom:6px}
.oml .pg-account .required{color:#b3261e;text-decoration:none}
.oml .pg-account input.input-text,.oml .pg-account input[type=email],.oml .pg-account input[type=password],.oml .pg-account input[type=text],.oml .pg-account select{width:100%;height:48px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);color:var(--ink)}
.oml .pg-account .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-weight:400}
.oml .pg-account .lost_password a{display:inline-flex;align-items:center;min-height:44px}
.oml .pg-account .woocommerce-privacy-policy-text{color:var(--muted);font-size:15px;margin-bottom:16px}
body.oml.woocommerce-account form .show-password-input,body.oml.woocommerce-checkout form .show-password-input{width:44px;height:44px;top:2px;right:2px}
.oml .pg-account .password-input{position:relative;display:block;width:100%}
.oml .pg-account input[type=password],.oml .pg-account .password-input input{padding-right:52px}
.oml .woocommerce-MyAccount-navigation ul{margin:0 0 24px;padding:0;list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.oml .woocommerce-MyAccount-navigation a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:var(--radius);text-decoration:none}
.oml .woocommerce-MyAccount-navigation .is-active a{border-color:var(--ink);font-weight:700}
.oml .woocommerce-password-strength{margin-top:8px;padding:8px 12px;border-radius:var(--radius);font-size:14px}
.oml table.shop_table{width:100%;border-collapse:collapse;margin-bottom:24px;display:block;overflow-x:auto}
.oml table.shop_table th,.oml table.shop_table td{padding:10px 12px;border-bottom:1px solid var(--line);text-align:left}
.oml .woocommerce-order-details,.oml .woocommerce-customer-details,.oml .woocommerce-order-overview{margin-bottom:32px}
.oml .woocommerce-order-overview{list-style:none;padding:0;display:grid;gap:8px}

/* тёмная схема (totumskill): поля и блоки WooCommerce на тёмном фоне */
.oml-totumskill .wc-block-components-text-input input,.oml-totumskill .wc-blocks-components-select__select,.oml-totumskill .wc-block-components-textarea,.oml-totumskill .wc-block-components-text-input.is-active input{background:var(--surface);color:var(--ink)}
.oml-totumskill .wc-block-components-text-input label,.oml-totumskill .wc-blocks-components-select__label{color:var(--muted)}
.oml-totumskill .wc-block-components-checkbox .wc-block-components-checkbox__input{background:var(--surface);border-color:var(--muted)}
.oml-totumskill .wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--ink)}
.oml-totumskill .wc-block-components-radio-control__input{background:var(--surface);border-color:var(--muted)}
.oml-totumskill .wc-block-components-totals-coupon__content input,.oml-totumskill .wc-block-components-quantity-selector{background:var(--surface);color:var(--ink)}
.oml-totumskill .wc-block-components-quantity-selector__button{color:var(--ink)}
.oml-totumskill .wc-block-components-validation-error p,.oml-totumskill .wc-block-components-notice-banner{color:#14110a}

/* сетка рубрик на главной (каталог 1000+ в 22-28 рубриках): название, число курсов, разброс страниц, три обложки */
.oml .topics-s{margin-bottom:64px}
.oml .tgrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0;padding:0;list-style:none}
@media (min-width:768px){.oml .tgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}}
@media (min-width:1100px){.oml .tgrid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.oml .tgrid a{display:flex;flex-direction:column;gap:6px;height:100%;min-height:44px;padding:16px;border:1px solid var(--line);border-radius:var(--radius);background:var(--bg);text-decoration:none;color:var(--ink)}
.oml .tgrid a:hover{border-color:var(--ink)}
.oml .tgrid .tth{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:8px}
.oml .tgrid .tth .cv{aspect-ratio:1;border-radius:6px;overflow:hidden;background:var(--surface);display:flex;align-items:center;justify-content:center}
.oml .tgrid .tth img{width:100%;height:100%;object-fit:contain}
.oml .tgrid .tth .tcover{border:0;padding:8%;font-size:8px}
.oml .tgrid .tn{font:700 18px/1.25 var(--hfont)}
.oml .tgrid .tc{font-size:14px;color:var(--muted);margin-top:auto}
@media (max-width:559px){.oml .tgrid .tth{display:none}.oml .tgrid a{padding:14px}.oml .tgrid .tn{font-size:16px}}

/* тёмная схема (totumskill), касса: поля блока WooCommerce на тёмном фоне. Его правила сильнее (.wc-block-components-form ...
   input[type=email]), поэтому !important; замер 23.11: белые поля, подписи 2.17:1 */
body.oml-totumskill .wc-block-components-text-input input,body.oml-totumskill .wc-block-components-text-input.is-active input,body.oml-totumskill .wc-block-components-form .wc-block-components-text-input input[type],body.oml-totumskill .wc-block-components-textarea,body.oml-totumskill .wc-block-components-totals-coupon input{background-color:var(--surface)!important;color:var(--ink)!important;border-color:var(--muted)!important}
body.oml-totumskill .wc-block-components-text-input label,body.oml-totumskill .wc-blocks-components-select__label{color:var(--muted)!important}
body.oml-totumskill .wc-blocks-components-select .wc-blocks-components-select__container{background-color:var(--surface)!important;border-color:var(--muted)!important}
body.oml-totumskill .wc-blocks-components-select .wc-blocks-components-select__select{background-color:transparent!important;color:var(--ink)!important}
body.oml-totumskill .wc-blocks-components-select .wc-blocks-components-select__expand{fill:var(--ink)}
body.oml-totumskill .wc-blocks-components-select__select option{background:var(--surface);color:var(--ink)}
body.oml-totumskill input:-webkit-autofill{-webkit-box-shadow:0 0 0 40px var(--surface) inset!important;-webkit-text-fill-color:var(--ink)!important}
/* имя курса в корзине - цель от 44 px */
.oml .wc-block-cart-item__product .wc-block-components-product-name{display:inline-flex;align-items:center;min-height:44px}
/* маршруты длиной 6-8 остановок (страница всех маршрутов), ряд рубрик в две строки с кнопкой, маршруты рубрики */
@media (min-width:768px){
.oml .hline.n6{--n:6;grid-template-columns:repeat(6,minmax(0,1fr))}
.oml .hline.n7{--n:7;grid-template-columns:repeat(7,minmax(0,1fr))}
.oml .hline.n8{--n:8;grid-template-columns:repeat(8,minmax(0,1fr))}
.oml .hline.n6,.oml .hline.n7,.oml .hline.n8{gap:16px}
.oml .hline.n6::before,.oml .hline.n7::before,.oml .hline.n8::before{right:calc((100% - (var(--n) - 1) * 16px) / var(--n) - 20px)}
}
@media (max-width:767px){.oml .hline.n6,.oml .hline.n7,.oml .hline.n8{display:flex}}
@media (min-width:768px) and (max-width:1099px){
.oml .hline.n6,.oml .hline.n7,.oml .hline.n8{--bl:var(--bleed,32px);display:flex;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;margin:0 calc(-1 * var(--bl));padding:0 var(--bl) 12px;scroll-padding-left:var(--bl)}
.oml .hline.n6 li,.oml .hline.n7 li,.oml .hline.n8 li{flex:0 0 160px;scroll-snap-align:start}
.oml .hline.n6::before,.oml .hline.n7::before,.oml .hline.n8::before{left:calc(var(--bl) + 20px);right:auto;width:calc((var(--n) - 1) * 176px)}
}
@media (min-width:1100px){.oml .route.stk{grid-template-columns:minmax(0,1fr);gap:24px}}
.oml .route.stk .rhead{display:grid;gap:0 32px;align-items:start}
@media (min-width:1100px){.oml .route.stk .rhead{grid-template-columns:minmax(0,1fr) auto}.oml .route.stk .rhead .acts{grid-column:2;grid-row:1 / span 3;margin-top:0}}
.oml .rgroup{padding-top:48px}
.oml .topics + .rgroup,.oml .sec-h + .rgroup{padding-top:8px}
.oml .rgroup > .sec-h{margin-bottom:8px}
.oml .rgroup:focus{outline:none}
.oml .tf li[hidden]{display:none}
.oml .tf .tmore button{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border:0;background:none;color:var(--ink);font:inherit;font-size:15px;font-weight:700;text-decoration:underline;text-underline-offset:4px;cursor:pointer}
.oml .troutes{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:-16px 0 32px}
.oml .troutes > span{font-weight:700}
.oml .troutes ul{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.oml .troutes a{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border:1px solid var(--line);border-radius:8px;color:var(--ink);text-decoration:none;font-size:15px;font-weight:600;white-space:nowrap}
.oml .troutes a span{color:var(--muted);font-weight:400;font-size:14px}
.oml .troutes a:hover{border-color:var(--ink)}
@media (max-width:767px){.oml .troutes{display:block;margin-top:-16px}.oml .troutes > span{display:block;margin-bottom:8px}.oml .troutes ul{flex-wrap:nowrap;overflow-x:auto;overscroll-behavior-x:contain;margin:0 -20px;padding:0 20px 8px}}
