/* АвтоЕкоДрайв — стили сайта. Мобильная версия первая, дальше 720 / 1024 / 1280.
   Цвета из их цеха: графит стендов, зелёный DIMED, синие стены с инструментом. Дизайн-система — design-system/avtoekodrive/MASTER.md */
:root{
  --ink:#15181d; --ink-2:#2b3038; --paper:#f3f3ef; --surface:#fff; --tint:#e9ebe4;
  --line:#dfded7; --line-2:#c9c8c0; --muted:#575d66;
  --green:#5ec533; --green-2:#4fae27; --green-ink:#24600c; --green-soft:#e6f6dc;
  --blue:#1f58d0; --blue-soft:#e7eefc; --star:#f2a900;
  --r:18px; --r-s:12px; --r-xs:8px;
  --sh:0 1px 2px rgb(21 24 29 / .06),0 10px 30px -14px rgb(21 24 29 / .22);
  --sh-l:0 24px 60px -20px rgb(21 24 29 / .35);
  --f:'Onest','Onest Fallback',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  --fd:'Sofia Sans Extra Condensed','SofiaXC Fallback','Onest',system-ui,sans-serif;
  --gut:16px; --hdr:64px; --bar:64px;
  --ease:cubic-bezier(.2,.7,.2,1);
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-padding-top:calc(var(--hdr) + 12px)}
body{margin:0;background:var(--paper);color:var(--ink);font:400 16px/1.55 var(--f);font-feature-settings:'tnum' 0;padding-bottom:calc(var(--bar) + env(safe-area-inset-bottom))}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-underline-offset:3px;text-decoration-thickness:1px}
button{font:inherit;color:inherit;cursor:pointer}
input,textarea,select{font:inherit;color:inherit}
h1,h2,h3{margin:0;text-wrap:balance}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
figure{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:3px solid var(--blue);outline-offset:2px;border-radius:6px}
.ic{width:20px;height:20px;flex:none;stroke:currentColor;fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ic--s{width:16px;height:16px}
.wrap{width:100%;max-width:1240px;margin:0 auto;padding:0 var(--gut)}
.wrap--narrow{max-width:820px}
.skip{position:absolute;left:-999px;top:8px;background:var(--ink);color:#fff;padding:10px 14px;border-radius:8px;z-index:100}
.skip:focus{left:8px}
.hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;opacity:0}

/* ---------- типографика ---------- */

.link{display:inline-flex;align-items:center;gap:6px;font-weight:600;text-decoration:none;color:var(--blue)}
.link:hover{text-decoration:underline}

/* ---------- кнопки ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 22px;border-radius:var(--r-s);border:1.5px solid transparent;font:650 16px/1 var(--f);text-decoration:none;white-space:nowrap;transition:background .2s var(--ease),border-color .2s var(--ease),transform .15s var(--ease);touch-action:manipulation}
.btn:active{transform:scale(.98)}
.btn--main{background:var(--green);color:var(--ink);box-shadow:inset 0 -2px 0 rgb(0 0 0 / .12)}
.btn--main:hover{background:var(--green-2)}
.btn--line{background:var(--surface);border-color:var(--ink);color:var(--ink)}
.btn--line:hover{background:var(--ink);color:#fff}
.btn--big{min-height:56px;font-size:17px}
.btn--wide{width:100%}
.btn--wide-m{width:100%;margin-top:20px}
.btn-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;padding:0 14px;border-radius:10px;border:1.5px solid var(--line-2);background:var(--surface);font:600 15px/1 var(--f);white-space:nowrap;transition:background .2s,border-color .2s,color .2s;touch-action:manipulation}
.btn-add:hover{border-color:var(--ink)}
.btn-add.is-in{background:var(--green-soft);border-color:var(--green-2);color:var(--green-ink)}
.btn-add--full{width:100%}
.btn-add--big{min-height:56px;padding:0 24px;font-size:17px;background:var(--green);border-color:var(--green);color:var(--ink)}
.btn-add--big:hover{background:var(--green-2);border-color:var(--green-2)}
.btn-add--big.is-in{background:var(--green-soft);border-color:var(--green-2)}
.chip{display:inline-flex;align-items:center;min-height:40px;padding:0 14px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-weight:550;font-size:15px;text-decoration:none}
.chip:hover{border-color:var(--ink)}
.count{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:var(--green);color:var(--ink);font:700 12px/1 var(--f)}

/* ---------- статус «открыто» ---------- */
.status{display:inline-flex;align-items:center;gap:8px;font-size:15px;color:var(--ink-2)}
.status__dot{width:9px;height:9px;border-radius:50%;background:var(--line-2);flex:none}
.status.is-open .status__dot{background:#22a447;box-shadow:0 0 0 4px rgb(34 164 71 / .16)}
.status.is-closed .status__dot{background:#c7552b}
.status--s{font-size:13px;gap:6px}

/* ---------- шапка ---------- */
.announce{background:var(--ink);color:#fff;font-size:14px;padding:8px 0;text-align:center}
.hdr{position:sticky;top:0;z-index:40;background:rgb(255 255 255 / .94);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.hdr__in{display:flex;align-items:center;gap:12px;height:var(--hdr)}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.brand img{width:46px;height:auto}
.brand__t{display:flex;flex-direction:column;line-height:1.1;min-width:0}
.brand__t b{font:700 16px/1.1 var(--fd);letter-spacing:-.02em}
.brand__t small{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.brand--inv img{filter:invert(1)}
.brand--inv small{color:#a9afb8}
.nav{display:none}
.hdr__call{display:none}
.hdr__cart{margin-left:auto;display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 12px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);font-weight:600;position:relative}
.hdr__cart-t{display:none}
.hdr__cart .count{position:absolute;top:-6px;right:-6px}
.hdr__burger{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface)}

/* ---------- нижняя панель (телефон) ---------- */
.bar{position:fixed;left:0;right:0;bottom:0;z-index:45;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:8px;padding:8px var(--gut) calc(8px + env(safe-area-inset-bottom));background:rgb(255 255 255 / .96);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border-top:1px solid var(--line)}
.bar__b{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;border-radius:12px;border:1.5px solid var(--line);background:var(--surface);font:650 15px/1 var(--f)}
.bar__b--call{background:var(--green);border-color:var(--green)}
.bar__b .count{position:absolute;top:-7px;right:-4px}

/* ---------- первый экран ---------- */

/* ---------- секции ---------- */

.sec__more{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px}

/* категории */

/* прайс */
.prices{border-top:1px solid var(--line)}
.prices__row{display:grid;grid-template-columns:1fr auto;grid-template-areas:'t t' 'p a';gap:10px 12px;align-items:center;padding:16px 0;border-bottom:1px solid var(--line)}
.prices__t{grid-area:t;font-weight:550;line-height:1.35}
.prices__t a{text-decoration:none}
.prices__t a:hover{text-decoration:underline;color:var(--blue)}
.prices__t small{display:block;color:var(--muted);font-weight:400;font-size:14px;margin-top:2px}
.prices__p{grid-area:p;display:flex;align-items:baseline;gap:8px;font-variant-numeric:tabular-nums}
.prices__p b{font:700 19px/1 var(--f)}
.prices__p s,.prod__p s{color:var(--muted);font-size:14px}
.prices__row .btn-add{grid-area:a}

/* шаги */

/* обмен */

.msgs{display:flex;flex-wrap:wrap;gap:8px}
.msg{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 16px;border-radius:12px;border:1.5px solid var(--line-2);background:var(--surface);text-decoration:none;font-weight:600}
.msg:hover{border-color:var(--ink)}
.msgs--inv .msg{background:transparent;border-color:#4a515c;color:#fff}
.msgs--inv .msg:hover{border-color:#fff}

/* доверие */

.gallery{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin-top:20px}
.gallery img{width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:12px;background:var(--tint)}

/* отзывы */
.reviews{display:grid;gap:12px}
.rv{display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line)}
.rv__top{display:flex;align-items:center;justify-content:space-between;gap:8px}
.rv__stars{display:flex;gap:2px}
.rv__stars .ic{width:16px;height:16px;fill:var(--star);stroke:var(--star)}
.rv__src{font-size:13px;color:var(--muted)}
.rv p{font-size:15.5px;line-height:1.55;color:var(--ink-2)}
.rv__by{display:flex;justify-content:space-between;gap:8px;margin-top:auto;font-size:14px}
.rv__by time{color:var(--muted)}

/* товары */
.products{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.prod{display:flex;flex-direction:column;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);overflow:hidden}
.prod__img{display:block;aspect-ratio:1;background:#fff;border-bottom:1px solid var(--line)}
.prod__img img{width:100%;height:100%;object-fit:contain;padding:8px}
.prod__b{display:flex;flex-direction:column;gap:10px;padding:12px;flex:1}
.prod__t{font-weight:600;font-size:14.5px;line-height:1.35;text-decoration:none;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.prod__t:hover{color:var(--blue)}
.prod__p{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 8px;margin-top:auto}
.prod__p b{font:700 18px/1 var(--f)}

/* сервисы и карта */
.offices{display:grid;gap:14px}
.office{border-radius:var(--r);background:var(--surface);border:1px solid var(--line);overflow:hidden}
.office__b{padding:18px;display:flex;flex-direction:column;gap:10px}
.office__t{font:700 20px/1.25 var(--f)}
.office__t a{text-decoration:none}
.office__addr,.office__row{display:flex;gap:10px;align-items:flex-start}
.office__addr .ic,.office__row .ic{margin-top:2px;color:var(--green-ink)}
.office__addr small{color:var(--muted)}
.office__row a{font-weight:600;text-decoration:none}
.office__act{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.office__act .btn{flex:1 1 150px;min-height:48px}
.map{position:relative;aspect-ratio:16/10;background:var(--tint) center/cover no-repeat}
.map::before{content:'';position:absolute;inset:0;background:rgb(21 24 29 / .35)}
.map.is-on::before{display:none}
.map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.map__btn{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;border-radius:12px;border:0;background:#fff;font-weight:650;box-shadow:var(--sh)}
.map--big{aspect-ratio:4/3;border-radius:var(--r);overflow:hidden}
.ogrid{display:grid;gap:20px}
.oinfo{display:flex;flex-direction:column;gap:12px}
.walk{display:flex;flex-direction:column;gap:6px;padding-left:18px;list-style:disc;color:var(--ink-2)}

/* вопросы */
.faq details{border-bottom:1px solid var(--line)}
.faq details:first-of-type{border-top:1px solid var(--line)}
.faq summary{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:18px 0;font:650 17px/1.35 var(--f);cursor:pointer;list-style:none}
.faq summary::-webkit-details-marker{display:none}
.faq summary .ic{transition:transform .25s var(--ease)}
.faq details[open] summary .ic{transform:rotate(45deg)}
.faq details>div{padding:0 0 18px;color:var(--ink-2)}

/* формы */
.lead{display:flex;flex-direction:column;gap:14px;padding:22px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);box-shadow:var(--sh)}
.lead--cart{padding:0;border:0;box-shadow:none;background:none;margin-top:8px}
.lead__h{font:700 clamp(22px,4.6vw,30px)/1.15 var(--fd);letter-spacing:-.02em}
.lead__p{color:var(--ink-2)}
.lead__f{display:grid;gap:14px}
.fld{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:15px}
.fld i{font-style:normal;font-weight:400;color:var(--muted)}
.fld input,.fld textarea{width:100%;min-height:52px;padding:12px 14px;border-radius:12px;border:1.5px solid var(--line-2);background:#fff;font-size:16px;font-weight:400;transition:border-color .2s}
.fld textarea{resize:vertical;min-height:88px}
.fld input:focus,.fld textarea:focus{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px var(--blue-soft)}
.fld.is-err input{border-color:#c4321f}
.fld .err{font-weight:500;font-size:14px;color:#b42a17}
.opts{border:0;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:8px}
.opts legend{font-weight:600;font-size:15px;margin-bottom:8px;padding:0}
.opts label{position:relative}
.opts input{position:absolute;opacity:0;inset:0;cursor:pointer}
.opts span{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:10px;border:1.5px solid var(--line-2);background:#fff;font-size:15px}
.opts input:checked+span{border-color:var(--ink);background:var(--ink);color:#fff}
.opts input:focus-visible+span{outline:3px solid var(--blue);outline-offset:2px}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14px;color:var(--ink-2)}
.consent input{width:22px;height:22px;margin:0;flex:none;accent-color:var(--green-2)}
.consent.is-err{color:#b42a17}
.lead__msg{font-weight:600}
.lead__msg.ok{color:var(--green-ink)}
.lead__msg.bad{color:#b42a17}
.lead__note{font-size:13.5px;color:var(--muted)}
.lead.is-sent .lead__f,.lead.is-sent .fld,.lead.is-sent .opts,.lead.is-sent .consent,.lead.is-sent button[type=submit]{display:none}
.done{display:flex;flex-direction:column;gap:8px;padding:18px;border-radius:14px;background:var(--green-soft);color:var(--green-ink)}
.done b{font-size:18px}

/* диалоги */
dialog{padding:0;border:0;background:none;color:inherit;max-width:none;max-height:none}
dialog::backdrop{background:rgb(21 24 29 / .55)}
.sheet,.cart{position:fixed;inset:auto 0 0 0;width:100%;margin:0}
.sheet__in,.cart__in{background:var(--surface);border-radius:22px 22px 0 0;padding:18px var(--gut) calc(20px + env(safe-area-inset-bottom));max-height:92dvh;overflow:auto;overscroll-behavior:contain}
.sheet[open] .sheet__in,.cart[open] .cart__in{animation:up .28s var(--ease)}
@keyframes up{from{transform:translateY(24px);opacity:.6}to{transform:none;opacity:1}}
.sheet__top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}
.sheet__top h2{font:700 21px/1.2 var(--fd);letter-spacing:-.02em}
.x{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;border:1.5px solid var(--line);background:#fff;flex:none}
.pick{display:flex;align-items:center;gap:14px;padding:14px;border-radius:14px;border:1.5px solid var(--line);text-decoration:none;margin-bottom:8px}
.pick:hover{border-color:var(--ink)}
.pick>.ic{width:24px;height:24px;color:var(--green-ink)}
.pick span{display:flex;flex-direction:column}
.pick b{font-size:18px}
.pick small{color:var(--muted);font-size:14px}
.sheet__note{margin-top:10px;color:var(--muted);font-size:14px}
.cart__list li{display:grid;grid-template-columns:1fr auto;gap:8px 12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}
.cart__list .t{font-weight:550;line-height:1.3}
.cart__list .p{font-size:14px;color:var(--muted)}
.qty{display:inline-flex;align-items:center;border:1.5px solid var(--line-2);border-radius:10px}
.qty button{width:40px;height:40px;border:0;background:none;display:grid;place-items:center}
.qty b{min-width:24px;text-align:center}
.cart__rm{border:0;background:none;color:var(--muted);font-size:14px;text-decoration:underline;padding:6px 0;justify-self:start}
.cart__sum{margin:14px 0 4px;font-weight:600}
.cart__sum small{display:block;font-weight:400;color:var(--muted);font-size:13.5px}
.cart__empty{padding:6px 0 4px;color:var(--ink-2)}
.menu{position:fixed;inset:0;width:100%;height:100%;margin:0}
.menu__in{background:var(--surface);min-height:100%;padding:12px var(--gut) 32px;overflow:auto}
.menu__list a{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:15px 2px;border-bottom:1px solid var(--line);text-decoration:none;font:600 18px/1.3 var(--f)}
.menu__list small{color:var(--muted);font-weight:500;font-size:14px;white-space:nowrap}
.menu__call{display:grid;gap:10px;margin-top:22px}
.menu__call a{display:flex;flex-direction:column;padding:14px;border-radius:14px;background:var(--tint);text-decoration:none}
.menu__call b{font-size:19px}
.menu__call small{color:var(--muted)}

/* внутренние страницы */
.crumbs{padding:14px 0 6px;font-size:14px;color:var(--muted)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:4px 8px}
.crumbs li+li::before{content:'/';margin-right:8px;color:var(--line-2)}
.crumbs a{text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.crumbs [aria-current]{color:var(--ink-2);display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}

.item__img,.gal__main{width:100%;aspect-ratio:1;object-fit:contain;border-radius:var(--r);background:#fff;border:1px solid var(--line)}
.gal__th{display:flex;gap:8px;margin-top:8px;overflow-x:auto}
.gal__th button{flex:none;width:68px;height:68px;padding:0;border-radius:10px;border:1.5px solid var(--line);overflow:hidden;background:#fff}
.gal__th button[aria-current]{border-color:var(--ink)}
.gal__th img{width:100%;height:100%;object-fit:cover}

.prose{font-size:17px;line-height:1.65;color:var(--ink-2)}
.prose h2{font:700 22px/1.25 var(--f);color:var(--ink);margin:32px 0 10px}
.prose h2:first-child{margin-top:0}
.prose p+p,.prose ul+p,.prose p+ul{margin-top:12px}
.prose ul{display:grid;gap:8px;padding-left:22px;list-style:disc}
.prose li::marker{color:var(--green-2)}
.prose a{color:var(--blue)}
.specs{padding:18px;border-radius:14px;background:var(--surface);border:1px solid var(--line);margin-bottom:28px}
.specs ul{display:grid;gap:6px;padding-left:20px;list-style:disc;margin-bottom:14px}
.specs ul:last-child{margin-bottom:0}
.mono{font-family:ui-monospace,'SF Mono',Menlo,monospace;font-size:15px}
.req{margin-top:28px;padding:20px;border-radius:var(--r);background:var(--surface);border:1px solid var(--line);color:var(--ink-2)}

/* подвал */
.ftr{background:var(--ink);color:#cfd3d9;padding:48px 0 calc(28px);font-size:15px}
.ftr__grid{display:grid;gap:28px}
.ftr h3{font:700 15px/1.3 var(--f);color:#fff;margin-bottom:12px;letter-spacing:.02em}
.ftr ul{display:grid;gap:8px}
.ftr a{color:#fff;text-decoration:none}
.ftr a:hover{text-decoration:underline}
.ftr__brand{display:flex;flex-direction:column;gap:14px}
.ftr__brand .brand__t b{color:#fff}
.ftr__legal{margin-top:36px;padding-top:20px;border-top:1px solid #2e333b;font-size:13.5px;color:#a3a9b2;display:grid;gap:8px}
.ftr__legal a{color:#cfd3d9;text-decoration:underline}

/* ---------- 720+ ---------- */
@media (min-width:720px){
  :root{--gut:24px}

  .gallery{grid-template-columns:repeat(4,1fr)}
  .reviews{grid-template-columns:1fr 1fr}
  .products{grid-template-columns:repeat(3,1fr)}
  .offices{grid-template-columns:1fr 1fr}
  .offices--one{grid-template-columns:minmax(0,560px)}
  .lead__f{grid-template-columns:1fr 1fr}
  .lead{padding:32px}
  .prices__row{grid-template-columns:1fr auto auto;grid-template-areas:'t p a';padding:14px 0}
  .prices__p{justify-content:flex-end;min-width:120px}
  .ftr__grid{grid-template-columns:1.3fr 1fr 1fr 1fr}
  .sheet{inset:0;margin:auto;width:min(460px,92vw);height:fit-content}
  .sheet__in{border-radius:22px}
  .cart{inset:0 0 0 auto;width:min(480px,100vw);height:100dvh}
  .cart__in{border-radius:0;height:100%;max-height:none;padding:22px 24px 28px}
  .cart[open] .cart__in{animation:side .3s var(--ease)}
  @keyframes side{from{transform:translateX(30px);opacity:.6}to{transform:none;opacity:1}}
}
/* ---------- 1024+ ---------- */
@media (min-width:1024px){
  :root{--hdr:76px}
  body{padding-bottom:0}
  .bar{display:none}
  .hdr__in{gap:20px}
  .brand img{width:54px}
  .brand__t b{font-size:17px}
  .nav{display:flex;align-items:center;gap:4px;margin-left:8px}
  .nav__a{display:inline-flex;align-items:center;gap:4px;min-height:44px;padding:0 12px;border-radius:10px;border:0;background:none;font:550 15.5px/1 var(--f);text-decoration:none;white-space:nowrap}
  .nav__a:hover,.nav__a[aria-expanded=true]{background:var(--tint)}
  .nav__dd{position:relative}
  .dd{position:absolute;top:calc(100% + 8px);left:0;width:420px;padding:8px;border-radius:16px;background:#fff;border:1px solid var(--line);box-shadow:var(--sh-l)}
  .dd a{display:flex;justify-content:space-between;align-items:baseline;gap:16px;padding:11px 12px;border-radius:10px;text-decoration:none;font-weight:550}
  .dd a:hover{background:var(--tint)}
  .dd small{color:var(--muted);white-space:nowrap}
  .hdr__call{display:flex;flex-direction:column;align-items:flex-end;gap:2px;margin-left:auto}
  .hdr__phone{font:700 18px/1.1 var(--f);text-decoration:none;white-space:nowrap}
  .hdr__cart{margin-left:0;padding:0 16px}
  .hdr__cart-t{display:inline}
  .hdr__cart .count{position:static}
  .hdr__burger{display:none}

  .gallery{grid-template-columns:repeat(7,1fr)}
  .reviews{grid-template-columns:repeat(3,1fr)}
  .products{grid-template-columns:repeat(4,1fr);gap:14px}

  .ogrid{grid-template-columns:1.3fr 1fr;gap:40px;align-items:start}
  .gallery--4{grid-template-columns:repeat(4,1fr)}
}

@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* ---------- мелкие правки телефона ---------- */
@media (max-width:719px){

  .gallery{grid-template-columns:repeat(3,1fr)}
  .gallery img:nth-child(4){display:none}
}
@media (max-width:419px){
  .brand__t small{display:none}
  .brand__t b{font-size:17px}
}
