@media (max-width: 767.98px), (max-width: 980px) and (max-height: 520px) and (orientation: landscape) and (pointer: coarse) {
  main:has(#cm-vehicle-phone) > .container:has(.cv-trail) {padding-block:9px!important}
  main:has(#cm-vehicle-phone) > .container:has(>h1) {margin-bottom:10px!important}
  main:has(#cm-vehicle-phone) > .container > h1 {margin-bottom:6px!important}
  main:has(#cm-vehicle-phone) > .container:has(>h1) > a.link-dashed {display:none}
  main:has(#cm-vehicle-phone) #model {padding:9px 0 16px!important}
  main #model[data-cm-without-models],main:has(#model[data-cm-without-models]) .cm-vehicle-jump-slot,main:has(#model[data-cm-without-models]) .cv-parts-title {display:none!important}
  main .cm-vehicle-jump {display:inline-flex;align-items:center;min-height:30px;color:#48535c;font-size:13px;text-decoration:underline;text-underline-offset:3px}
  main:has(#cm-vehicle-phone) .cv-subtitle {font-size:16px;margin:12px 0 6px}
  main:has(#cm-vehicle-phone) .cv-parts {padding:14px 15px 0}
  main:has(#cm-vehicle-phone) .cv-parts-title h2 {font-size:20px;line-height:1.2;margin:0 0 3px}
  main:has(#cm-vehicle-phone:is([data-view="loading"],[data-view="ready"])) :is(.cv-technical, #parametr, .cv-parts .cv-sections,.cv-parts .cv-status) {display:none!important}
  main:has(#cm-vehicle-phone:is([data-view="loading"],[data-view="ready"])) .cm-vehicle-stock {background:#f4f5f6;padding:0!important;margin-bottom:24px!important}
  main:has(#cm-vehicle-phone:is([data-view="loading"],[data-view="ready"])) .cm-vehicle-stock > .container {padding:0;max-width:none}
  .cm-vehicle-stock > .container:has(#cm-vehicle-phone:is([data-view="loading"],[data-view="ready"])) > :not(#cm-vehicle-phone,.cm-vehicle-loading,script,style,link) {display:none!important}
  #cm-vehicle-phone[data-view="loading"] + .cm-vehicle-loading {display:block!important;padding:18px 15px;margin:0;background:#f4f5f6;font-size:14px}
  .cm-dir-enhanced .cv-types,.cm-dir-enhanced:not(.cv-directory) .cm-dir-row>button[type=submit],.cm-dir-enhanced label[for=cm-index-query] {display:none!important}
  .cv-vehicle .cm-dir-row, .cm-parts .cm-section-directory .cm-search-box .cm-dir-row {
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch;gap:8px;margin:0 0 9px;padding:3px 0;position:relative
  }
  .cv-vehicle .cm-dir-field {min-width:0;display:grid;grid-template-columns:20px minmax(0,1fr) auto;align-items:center;column-gap:8px;padding-left:11px;border:1px solid #aeb6bd;border-radius:6px;background:white;min-height:48px}
  .cm-dir-field:focus-within {border-color:#414751;box-shadow:inset 0 0 0 1px #414751}
  .cv-directory .cv-search.cm-dir-row { column-gap: 0; }
  .cv-directory .cv-search.cm-dir-row > .cm-dir-field { border-radius: 6px 0 0 6px; }
  .cv-directory .cv-search.cm-dir-row > .cm-dir-trigger { grid-column: 1 / -1; justify-self: end; }
  .cm-dir-entry {min-width:0;display:block}
  .cm-dir-caption {display:block;color:#565e67;font-size:10px;font-weight:600;line-height:1.15}
  .cv-vehicle .cm-dir-row .cm-dir-entry input[type=search] {display:block;width:100%;height:23px;min-height:0;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;outline:none;background:transparent;color:#292c32;font:inherit;font-size:16px;letter-spacing:-.025em;line-height:23px}
  .cm-dir-entry input {text-overflow:ellipsis}
  .cm-dir-entry input::placeholder {color:#697079;opacity:1}
  .cm-dir-entry ::-webkit-search-cancel-button {display:none}
  .cv-vehicle .cm-dir-row .cm-dir-trigger {display:inline-flex;align-items:center;justify-content:center;gap:7px;padding:0 12px;min-width:0;min-height:48px;border:1px solid #34373d;border-radius:6px;background:#34373d;color:white;font:inherit;font-size:13px;font-weight:700;line-height:1.2}
  .cv-vehicle .cm-dir-row .cm-dir-clear {width:32px;min-width:0;height:44px;padding:0;border:0;border-radius:0;background:none;color:#59626b;font-size:22px}
  .cv-vehicle .cm-dir-row [hidden] {display:none!important}
  .cm-dir-active {display:inline-grid;place-content:center;background:#fff;color:#34373d;border-radius:12px;min-width:16px;height:16px;font-size:11px}
  .cm-dir-glyph {display:inline-block;width:17px;height:17px;background-color:currentColor;mask:var(--cm-glyph) center/contain no-repeat;-webkit-mask:var(--cm-glyph) center/contain no-repeat}
  .cm-dir-search {color:#4b535b;--cm-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.75'/%3E%3Cpath d='m16 16 5 5'/%3E%3C/svg%3E")}
  .cm-dir-sliders {--cm-glyph:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M3 6h4m4 0h10M3 12h10m4 0h4M3 18h4m4 0h10'/%3E%3Ccircle cx='9' cy='6' r='2'/%3E%3Ccircle cx='15' cy='12' r='2'/%3E%3Ccircle cx='9' cy='18' r='2'/%3E%3C/svg%3E")}
  .cm-directory-dialog-open {overflow:hidden}
  .cv-vehicle dialog.cm-dir-dialog {position:fixed;inset:auto 0 0;width:min(100%,560px);max-width:100%;max-height:90vh;max-height:90dvh;margin:0 auto;padding:0;border:0;border-radius:16px 16px 0 0;background:#fff;color:#2f3138;box-sizing:border-box;overflow:auto;overscroll-behavior:contain}
  .cm-dir-dialog::backdrop {background:rgba(25,27,31,.46)}
  .cm-dir-head,.cm-dir-actions {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 15px;border-bottom:1px solid #e0e3e5}
  .cm-dir-head h2 {font:inherit;font-size:20px;font-weight:700;margin:0}
  .cm-dir-close {width:44px;min-height:44px;background:#f3f4f5;border:0;border-radius:6px;font:inherit;font-size:24px;line-height:1;color:#34373d}
  .cm-dir-choices {margin:8px 0 0;padding:4px 15px 10px;border:0}
  .cm-dir-choices legend {padding:4px 0;font:inherit;font-weight:700;font-size:14px}
  .cm-dir-choice {display:flex;align-items:center;gap:9px;padding:5px 0;min-height:40px;margin:0;font:inherit;font-size:15px;cursor:pointer}
  .cm-dir-choice input {width:18px;height:18px;accent-color:#34373d}
  .cm-dir-actions {position:sticky;bottom:0;border-top:1px solid #e0e3e5;border-bottom:0;background:white;padding-bottom:max(12px,env(safe-area-inset-bottom))}
  .cm-dir-actions button {border:0;border-radius:6px;min-height:44px;padding:0 16px;font:inherit;font-size:14px;font-weight:700}
  .cm-dir-reset {background:#f1f2f3;color:#34373d}
  .cm-dir-apply {background:#e52c25;color:#fff;flex:1}
}
@media (min-width:768px) and (min-height:521px), (min-width:981px), (min-width:768px) and (pointer:fine){
  .cm-vehicle-jump {display:none}
}

/* Keep the front of each model at the left in the model selector. Match the actual photograph so replacements keep their own orientation. */
  .cv-model .cv-image img[src="/upload/iblock/a1f/iwp01roc2gn77ez2mtrphvipv6120lvk.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/779/vh6uh3digo2nvljxv6x9n0fb2dotghyi.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/12d/muxa1pf0itgjmhbl0r7ykxu0urskztv9.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/797/6u3ztbsfnpt6zvzi150ccavzaeabczh5.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/343/ghmnehmjty4smb51nolsfxw824qngbcw.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/2ec/h24zziozfmlslsqxsaqlblhoi4ue6caq.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/014/ci51lf41trysgqi2c1fx75udze8t9laf.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/e9c/3d7svxgndr7ntwarxb80e5yhfohc0sia.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/a4b/sf1g97g9vkg1klfou2q0dx8xl2cg0aof.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/ee3/rg7l6dl6dqw4yhgahixn9t6o1edepas8.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/b84/8b1pvvubyxycieaoc68re2cl5klb16j9.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/488/w98uqt0sk6dacy2qbpa75kslm601sg2c.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/f7c/38g7czlqt7pk0agkf7g03ny16ux1z7z2.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/5ae/7m2jc2h34e955rinsoazh02vp09s7kn5.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/323/9gkoi41r6bjizkrmw7jo5rwtviuq4amr.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/581/dgljwtuigu479o26n3sdbalnvjzdnwou.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/e9c/ahve2qi90lt7tjbrozlswshc9ygc61em.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/578/l7omoa60mrphis17lt3zht2wbryyq0ck.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/d10/be0tekh957ohn90fd0tnw41cgxru20o2.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/e92/yypd5khhng1wfle9u7cw2lh7mh9zxd6v.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/ae3/t4unme3fwmp3jv8dt9ndfl4mchhb5iv0.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/1dc/xs1116qv92tlfa38xgeb04fjzjtf72wn.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/d76/hd0ve4g80k6iv11wqw0p29kymg83lniy.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/7f8/cwl1idbpwwjllcswi150krdw8sak60q7.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/46f/1f5iu4zhybbc05yin07njspuo0umlocr.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/e46/e461c6e5dd743f3bac2027a16cbfd3da.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/9ad/9ad03770a1c0bb1f73db9c72cdf83af5.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/6bf/6bff7a710cf58a8a7d59363f32c39d4c.png"],
  .cv-model .cv-image img[src="/upload/iblock/627/8g291e6ye4gmg08hl7kvcrsef8l0po2e.png"],
  .cv-model .cv-image img[src="/upload/iblock/396/nbzhzm3w9qlg3cf7r029p1mwug8ac359.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/475/awti37fxh7jrvjlqrffjudioc5l6acan.jpg"],
  .cv-model .cv-image img[src="/upload/iblock/3d4/4vzmdd13rq0mohaeqydopewyet8ym5zd.jpg"] {
  transform: scaleX(-1);
}

/* Parts recorded for the whole Sobol family have no model-specific photograph. */
.cv-model-grid .cv-model[href*="/model/gaz/sobol/"] {
  grid-column: 1 / -1;
  order: 1;
  justify-self: start;
  min-height: 32px;
  padding: 4px 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cv-model-grid .cv-model[href*="/model/gaz/sobol/"] .cv-image { display: none; }
