/* meguin.com.ua skin over the kb engine (design: meguin/design/home.html + product.html, DNA meguin.com.md).
   White page, MEGUIN red #E2001A, deep red #A6040F, Geologica, 5px radius, no shadows/cards. Classes mg-*; kb-* pages (cart, checkout, account) inherit the variables. */
:root{--aqua:#E2001A;--aqua-l:#FBD5DA;--aqua-d:#A6040F;--paper:#FFFFFF;--ink:#303030;--ink2:#444;--mute:#646A70;--line:#E4E4E4;--panel:#F6F6F6;--red:#E2001A;--deep:#A6040F;
  --disp:'Geologica',sans-serif;--body:'Geologica',sans-serif;--wrap:1190px;--ease:cubic-bezier(.23,1,.32,1)}
body{background:#fff;font-size:17px}
h1,h2,h3,h4,h5{letter-spacing:-.02em}
.btn{border-radius:5px}
.kb-wrap,.mg-wrap{max-width:var(--wrap);margin:0 auto;padding:0 40px}
::selection{background:var(--red);color:#fff}
:focus-visible{outline:2px solid var(--red);outline-offset:3px}
svg.mg-i{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;vertical-align:-4px;stroke-linecap:round;stroke-linejoin:round}

/* top bar + header */
.mg-top{background:var(--deep);color:#fff;font-size:14px}
.mg-top .mg-wrap{display:flex;gap:28px;justify-content:space-between;align-items:center;padding:6px 40px}
.mg-top a{color:#fff}.mg-top a:hover{color:#fff;text-decoration:underline}
.mg-lang{display:inline-flex;gap:2px;margin-left:8px;font-size:13px;font-weight:700}.mg-lang a{padding:3px 7px;border-radius:4px;color:var(--mute)}.mg-lang a.on{background:var(--panel);color:var(--ink)}.mg-lang a:hover{color:var(--red)}
.mg-hdr{background:#fff;position:sticky;top:0;z-index:60;box-shadow:0 1px 0 var(--line)}
.mg-hdr .mg-wrap{display:flex;align-items:center;gap:28px;height:84px}
.mg-logo{flex:none;display:flex;align-items:center}.mg-logo img{height:56px;display:block}
.mg-nav{display:flex;gap:20px;font-weight:600;font-size:15px;align-items:center;height:100%;white-space:nowrap}
.mg-nav a{position:relative;height:100%;display:flex;align-items:center;color:var(--ink);transition:color .16s}
.mg-nav a:after{content:'';position:absolute;left:0;right:0;bottom:0;height:3px;background:var(--red);transform:scaleX(0);transform-origin:left;transition:transform .25s var(--ease)}
.mg-nav a:hover{color:var(--red)}.mg-nav a:hover:after{transform:scaleX(1)}
.mg-nav .r{color:var(--red)}
.mg-tools{margin-left:auto;display:flex;gap:6px;align-items:center;font-weight:600;font-size:15px}
.mg-ic{width:44px;height:44px;border:0;background:none;display:grid;place-items:center;position:relative;cursor:pointer;color:var(--ink);border-radius:5px;transition:background .16s}
.mg-ic:hover{background:var(--panel)}
.mg-pick{display:flex;gap:8px;align-items:center;background:var(--red);color:#fff!important;border-radius:5px;padding:11px 16px;margin:0 8px;white-space:nowrap;transition:background .16s,transform .16s}
.mg-pick:hover{background:#c40017}.mg-pick:active{transform:scale(.97)}
.mg-hdr #cart{margin:0}.mg-hdr #cart>button svg{stroke:var(--ink)!important}.mg-hdr #cart>button{background:none!important;border:0;padding:0;width:44px;height:44px;display:grid;place-items:center;position:relative;color:var(--ink)}
.mg-hdr #cart-total{position:absolute;top:4px;right:2px;background:var(--red);color:#fff;border-radius:50%;min-width:18px;height:18px;font-size:11px;font-weight:700;display:grid;place-items:center;padding:0 4px}
.mg-search{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-top:1px solid var(--line);box-shadow:0 12px 30px rgba(0,0,0,.08);padding:18px 0}
.mg-search.open{display:block}
.mg-search #search{max-width:var(--wrap);margin:0 auto;padding:0 40px;display:flex;gap:10px}
.mg-search #search input{height:50px;border:1px solid #cfcfcf;border-radius:5px;font-size:17px;box-shadow:none;flex:1}
.mg-search #search .input-group-btn .btn{height:50px;background:var(--red);color:#fff;border-radius:5px;padding:0 22px}

/* buttons, links */
.mg-btn{display:inline-flex;align-items:center;gap:10px;background:var(--red);color:#fff!important;font-weight:700;border-radius:5px;padding:12px 22px;font-size:17px;border:0;cursor:pointer;transition:background .16s,transform .16s}
.mg-btn:hover{background:#c40017}.mg-btn:active{transform:scale(.97)}
.mg-more{color:var(--red)!important;font-weight:700}.mg-more:after{content:' ›'}
.mg-h2{font-size:36px;line-height:1.2;font-weight:800;margin:0 0 28px}
.mg-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}

/* product tile (category, home, related) */
.kb-p{position:relative}
.kb-p .im{background:none!important;aspect-ratio:auto!important;height:250px;display:flex!important;align-items:flex-end;justify-content:center;padding:0!important;margin-bottom:14px}
.kb-p .im img{width:auto!important;height:auto!important;max-height:100%;max-width:100%;object-fit:contain;mix-blend-mode:multiply;transition:transform .45s var(--ease)}
.kb-p:hover .im img{transform:translateY(-6px)}
.kb-p .nm{font-family:var(--disp);font-weight:700;font-size:17px;line-height:1.3;color:var(--ink);display:block}
.kb-p .nm small{display:block;font-weight:400;font-size:14px;color:var(--mute);margin-top:4px}
.kb-p:hover .nm{color:var(--red)}
.kb-p .pr{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}
.kb-p .add{background:var(--red)!important;border-radius:5px!important}
.mg-st{font-size:13px;font-weight:600;color:#17772f;display:block;margin-top:2px}
.mg-st:before{content:'';display:inline-block;width:8px;height:8px;border-radius:50%;background:currentColor;margin-right:6px}
.mg-st.o{color:var(--mute)}
.kb-np{font-size:16px!important;color:var(--mute)}

/* HOME */
.mg-hero{position:relative;height:600px;overflow:hidden;background:#3a2300}
.mg-hero video,.mg-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.mg-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(40,20,0,.6),rgba(40,20,0,0) 62%)}
.mg-hero .mg-wrap{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center;color:#fff;padding-bottom:70px}
.mg-hero h1{font-size:72px;font-weight:800;line-height:1.02;letter-spacing:-.02em;max-width:720px;color:#fff;margin:0;text-wrap:balance}
.mg-hero p{font-size:20px;max-width:520px;margin:22px 0 32px;color:#fff6e6}
.mg-cta{display:flex;gap:24px;align-items:center}
.mg-ghost{color:#fff!important;font-weight:700;font-size:17px;border-bottom:2px solid rgba(255,255,255,.6);padding-bottom:2px}.mg-ghost:hover{border-color:#fff}
.mg-finder{position:relative;z-index:5;margin:-64px auto 0;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.2);max-width:1110px}
.mg-tabs{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;font-weight:600;font-size:18px}
.mg-tabs button{padding:16px 0;border:0;background:none;border-bottom:1px solid var(--line);cursor:pointer;font:inherit;color:var(--ink)}
.mg-tabs button.on{border-bottom:3px solid var(--red)}
.mg-frow{display:grid;grid-template-columns:1fr 1fr 1fr auto;gap:12px;padding:22px 22px 8px}
.mg-frow select,.mg-frow input{height:48px;border:1px solid #cfcfcf;border-radius:5px;padding:0 14px;font-size:16px;background:#fff;color:var(--ink);width:100%}
.mg-fnote{background:var(--panel);font-size:14px;padding:10px 22px;margin-top:14px;color:#555}
.mg-fpane{display:none}.mg-fpane.on{display:block}
.mg-hits{padding-top:110px}
.mg-row6{display:grid;grid-template-columns:repeat(6,1fr);gap:22px}
.mg-flip{position:relative;height:250px;perspective:900px;margin-bottom:14px}
.mg-flip img{position:absolute;inset:0;margin:auto;width:auto;height:auto;max-height:100%;max-width:100%;backface-visibility:hidden;transition:transform .5s var(--ease)}
.mg-flip img.b{transform:rotateY(180deg)}
.mg-tile:hover .mg-flip img.f{transform:rotateY(-180deg)}.mg-tile:hover .mg-flip img.b{transform:rotateY(0)}
.mg-flip.solo img.f{transform:none!important}
.mg-tile .n{font-weight:700;font-size:17px;line-height:1.3;min-height:44px;color:var(--ink);transition:color .16s}
.mg-tile:hover .n{color:var(--red)}
.mg-tile .meta{font-size:14px;color:var(--mute);margin:4px 0 10px}
.mg-tile .pr{font-size:22px;font-weight:800;font-variant-numeric:tabular-nums}.mg-tile .pr small{font-size:14px;font-weight:500;color:var(--mute)}
.mg-groups{padding-top:110px}
.mg-bento{display:grid;grid-template-columns:repeat(4,1fr);grid-template-rows:280px 280px 230px;gap:8px}
.mg-bento .t{position:relative;overflow:hidden;display:block;color:#fff;background:#222;border-radius:5px;isolation:isolate}
.mg-bento .big{grid-column:span 2;grid-row:span 2}.mg-bento .wide{grid-column:1/-1}
.mg-bento img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease)}
.mg-bento .wide img{object-position:50% 70%}
.mg-bento .t:after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 38%,rgba(10,6,4,.78))}
.mg-bento .cap{position:absolute;left:26px;right:80px;bottom:24px;z-index:2}
.mg-bento b{display:block;font-size:28px;font-weight:800;line-height:1.1;color:#fff}
.mg-bento .big b{font-size:46px}.mg-bento .wide b{font-size:36px}.mg-bento .wide .cap{left:40px;bottom:36px}
.mg-bento small{display:block;font-size:15px;line-height:1.4;margin-top:8px;color:#f1ece6;max-width:420px}
.mg-bento .go{position:absolute;right:22px;bottom:24px;z-index:2;width:46px;height:46px;border-radius:50%;background:var(--red);display:grid;place-items:center;opacity:0;transform:translateX(-6px);transition:transform .3s var(--ease),opacity .2s}
.mg-bento .go svg{width:22px;height:22px;stroke:#fff;stroke-width:2.2;fill:none}
@media (hover:hover){.mg-bento .t:hover img{transform:scale(1.06)}.mg-bento .t:hover .go{opacity:1;transform:none}}
.mg-de{margin-top:120px;background:var(--panel)}
.mg-de .mg-wrap{display:grid;grid-template-columns:1fr 1.15fr;gap:60px;align-items:center;padding:90px 40px}
.mg-de h2{font-size:44px;line-height:1.12;font-weight:800;margin:0 0 22px}.mg-de h2 em{font-style:normal;color:var(--red)}
.mg-de p{font-size:18px;margin-bottom:16px;max-width:470px}.mg-de img{width:100%;display:block}
.mg-appr{padding-top:110px}.mg-appr p{color:#555;margin:-14px 0 26px;max-width:640px}
.mg-chips{display:flex;flex-wrap:wrap;gap:10px}
.mg-chips a{border:1px solid #cfcfcf;border-radius:5px;padding:9px 16px;font-weight:600;font-size:16px;color:var(--ink);transition:border-color .16s,color .16s}
.mg-chips a:hover{border-color:var(--red);color:var(--red)}
.mg-b2b{margin-top:120px;position:relative;color:#fff;background:#222}
.mg-b2b>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.55}
.mg-b2b .mg-wrap{position:relative;padding:110px 40px}
.mg-b2b h2{font-size:48px;font-weight:800;line-height:1.1;max-width:620px;margin:0 0 18px;color:#fff}
.mg-b2b p{font-size:19px;max-width:560px;margin-bottom:28px}
.mg-vol{display:flex;gap:46px;margin-bottom:34px}.mg-vol b{font-size:40px;font-weight:800;display:block;line-height:1}.mg-vol span{font-size:14px;opacity:.85}

/* PRODUCT */
.mg-bc{font-size:14px;color:var(--mute);padding:18px 0 10px;list-style:none;margin:0;display:flex;flex-wrap:wrap}
.mg-bc li+li:before{content:'|';color:#ccc;padding:0 8px}.mg-bc a{color:var(--mute)}
.mg-pp{display:grid;grid-template-columns:1fr 1.05fr;gap:64px;padding-bottom:70px}
.mg-stage{height:560px;position:relative;perspective:1400px;cursor:pointer}
.mg-stage img{position:absolute;inset:0;margin:auto;width:auto;height:auto;max-height:100%;max-width:100%;backface-visibility:hidden;transition:transform .6s var(--ease)}
.mg-stage img.b{transform:rotateY(180deg)}.mg-stage.turn img.f{transform:rotateY(-180deg)}.mg-stage.turn img.b{transform:rotateY(0)}
.mg-turn{margin-top:10px;display:flex;gap:8px;align-items:center;justify-content:center;font-weight:600;font-size:15px;cursor:pointer;background:none;border:0;width:100%;color:var(--ink)}.mg-turn:hover{color:var(--red)}
.mg-thumbs{display:flex;gap:14px;margin-top:22px;flex-wrap:wrap}
.mg-thumbs button{border:2px solid transparent;border-radius:5px;background:none;padding:4px;cursor:pointer}.mg-thumbs button.on{border-color:var(--red)}.mg-thumbs img{height:76px;display:block}
.mg-pp h1{font-size:46px;line-height:1.1;letter-spacing:-.02em;font-weight:800;margin:6px 0 12px;text-wrap:balance}
.mg-pp h1 .type{display:block;font-size:17px;font-weight:600;color:var(--red);letter-spacing:0;margin-bottom:6px}
.mg-art{color:var(--mute);font-size:15px;line-height:1.7}.mg-art b{color:var(--ink);font-weight:600}
.mg-price{display:flex;align-items:baseline;gap:18px;margin:26px 0 6px;flex-wrap:wrap}
.mg-price b{font-size:44px;font-weight:800;line-height:1;font-variant-numeric:tabular-nums}
.mg-price .mg-st{font-size:15px;display:inline}
.mg-lbl{font-weight:700;font-size:16px;margin:26px 0 10px}
.mg-sizes{display:flex;flex-wrap:wrap;gap:10px}
.mg-sizes a{border:1px solid #cfcfcf;border-radius:5px;min-width:96px;padding:9px 12px;text-align:center;line-height:1.25;color:var(--ink);transition:border-color .16s}
.mg-sizes a b{display:block;font-size:17px}.mg-sizes a span{font-size:13px;color:var(--mute)}
.mg-sizes a.on{border:2px solid var(--red);padding:8px 11px}.mg-sizes a:hover{border-color:var(--red)}
.mg-buy{display:flex;gap:14px;margin-top:28px;align-items:center;flex-wrap:wrap}
.mg-qty{display:flex;border:1px solid #cfcfcf;border-radius:5px;height:52px;align-items:center}
.mg-qty button{width:42px;height:100%;border:0;background:none;font-size:20px;cursor:pointer}
.mg-qty input{width:40px;border:0;text-align:center;font-weight:700;font-size:17px;box-shadow:none;padding:0}
.mg-buy .mg-btn{height:52px;padding:0 34px;font-size:18px}
.mg-one{color:var(--red)!important;font-weight:700;font-size:16px;background:none;border:0;cursor:pointer}
.mg-short{margin-top:22px;font-size:16px;color:#444}
.mg-fit{margin-top:22px;background:var(--panel);padding:14px 18px;font-size:15px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.mg-fit .mg-more{white-space:nowrap}
.mg-oc{display:none;margin-top:16px;gap:10px;flex-wrap:wrap}.mg-oc.open{display:flex}
.mg-oc input{height:48px;border:1px solid #cfcfcf;border-radius:5px;padding:0 14px;font-size:17px;flex:1;min-width:200px}
.mg-trust{background:var(--panel)}
.mg-trust .mg-wrap{display:grid;grid-template-columns:repeat(4,1fr);gap:28px;padding:26px 40px}
.mg-trust span{display:grid;grid-template-columns:34px 1fr;column-gap:12px;font-size:14px;color:#555;line-height:1.4}
.mg-trust svg{grid-row:span 2;width:30px;height:30px;stroke:var(--red);stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}
.mg-trust b{color:var(--ink);font-size:15px}
.mg-ptabs{display:flex;gap:40px;border-bottom:1px solid #d0d0d0;margin-top:80px;font-weight:700;font-size:21px;overflow-x:auto;white-space:nowrap}
.mg-ptabs a{padding-bottom:12px;color:var(--ink)}.mg-ptabs a.on{border-bottom:4px solid var(--red)}
.mg-sec{display:grid;grid-template-columns:1.25fr 1fr;gap:64px;padding-top:36px}
.mg-sec>*{min-width:0}
.mg-desc{max-width:68ch}.mg-desc p{font-size:17px;margin:0 0 14px}
.mg-desc h3,.mg-ap h3{font-size:20px;font-weight:700;margin:30px 0 12px}.mg-ap h3:first-child{margin-top:0}
.mg-ticks{list-style:none;margin:0 0 6px;padding:0}
.mg-ticks li{padding:6px 0 6px 30px;position:relative;font-size:17px}
.mg-ticks li:before{content:'';position:absolute;left:2px;top:13px;width:14px;height:8px;border-left:3px solid var(--red);border-bottom:3px solid var(--red);transform:rotate(-45deg)}
.mg-desc details{border-bottom:1px solid #e4e4e4;padding:14px 0;overflow:hidden}
.mg-desc summary{font-weight:700;font-size:17px;cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px}
.mg-desc summary::-webkit-details-marker{display:none}
.mg-desc summary:after{content:'+';color:var(--red);font-size:24px;line-height:1;transition:transform .25s var(--ease)}
.mg-desc details[open] summary:after{transform:rotate(45deg)}
.mg-desc details p{margin:10px 0 0;font-size:16px;color:#444}
.mg-docs{display:flex;gap:30px;margin-top:10px;flex-wrap:wrap}
.mg-docs a{display:flex;gap:12px;align-items:center;font-weight:600;color:var(--ink)}
.mg-docs a i{font-style:normal;background:var(--red);color:#fff;font-size:12px;font-weight:700;border-radius:4px;padding:6px 7px}
.mg-docs a small{display:block;font-weight:400;color:var(--mute);font-size:13px}
.mg-apl{list-style:none;columns:2;column-gap:24px;margin:0 0 26px;padding:0}
.mg-apl li{padding:5px 0;border-bottom:1px solid #eee;font-size:16px;break-inside:avoid;color:var(--red);font-weight:600}
.mg-rec{font-size:15px;color:#555}
table.mg-spec{width:100%;table-layout:fixed;font-size:16px;margin:0;border-collapse:collapse}
table.mg-spec td{padding:9px 4px;border-bottom:1px solid #e6e6e6;vertical-align:top}
table.mg-spec td:first-child{width:58%}
table.mg-spec td:last-child{text-align:right;font-weight:600;font-variant-numeric:tabular-nums}
.mg-src{font-size:13px;color:var(--mute);margin-top:8px}
table.mg-packs{width:100%;border-collapse:collapse;margin-top:44px;font-size:16px}
table.mg-packs th{text-align:left;font-weight:700;border-top:1px solid #bbb;border-bottom:1px solid #bbb;padding:12px 8px}
table.mg-packs td{padding:12px 8px;border-bottom:1px solid #e4e4e4}
table.mg-packs td a{color:var(--red);font-weight:700;text-decoration:underline}
table.mg-packs td.r{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}
.mg-ap{position:sticky;top:110px;align-self:start}

/* footer */
.mg-foot{background:var(--deep);color:#fff;margin-top:120px;position:relative;overflow:hidden}
.mg-foot:before{content:'';position:absolute;right:-10%;top:0;width:60%;height:100%;background:linear-gradient(115deg,transparent 40%,rgba(226,0,26,.55) 40%,rgba(226,0,26,.55) 60%,transparent 60%)}
.mg-foot .mg-wrap{display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:40px;padding:56px 40px 64px;position:relative}
.mg-foot h5{font-size:15px;margin:0 0 12px;color:#fff}
.mg-foot p,.mg-foot a{font-size:15px;line-height:1.9;color:#fff;opacity:.9;display:block}
.mg-foot a:hover{opacity:1;color:#fff;text-decoration:underline}
.mg-foot .logo-w{background:#fff;border-radius:50%;padding:10px 16px;display:inline-block}.mg-foot .logo-w img{height:52px;display:block}

@media (max-width:1280px){.mg-nav{gap:14px;font-size:14px}.mg-pick span{display:none}}
@media (max-width:980px){.mg-nav{display:none}.mg-hdr .mg-wrap{height:68px;gap:12px}.mg-logo img{height:44px}.mg-pick span{display:none}}
@media (max-width:760px){
 .kb-wrap,.mg-wrap{padding:0 16px}
 .mg-top .mg-wrap{flex-direction:column;gap:2px;font-size:12px;padding:6px 16px}.mg-top .d{display:none}
 .mg-hero{height:520px}.mg-hero h1{font-size:40px}.mg-hero p{font-size:17px}
 .mg-finder{margin:-64px 16px 0}.mg-frow{grid-template-columns:1fr}.mg-tabs button{font-size:0;padding:14px 4px}.mg-tabs b{font-size:15px;text-transform:capitalize}
 .mg-row6{grid-template-columns:repeat(2,1fr)}.mg-head{flex-direction:column;gap:0}.mg-head .mg-more{margin:-16px 0 24px}.mg-h2{font-size:28px}
 .mg-bento{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:190px;gap:6px}.mg-bento .big{grid-column:span 2;grid-row:span 2}.mg-bento .wide{grid-column:span 2}
 .mg-bento .t:after{background:linear-gradient(180deg,rgba(0,0,0,0) 15%,rgba(0,0,0,.88))}.mg-bento small{display:none}.mg-bento .big small{display:block}
 .mg-bento b,.mg-bento .big b,.mg-bento .wide b{font-size:22px}.mg-bento .cap,.mg-bento .wide .cap{left:16px;bottom:16px;right:60px}.mg-bento .go{opacity:1;transform:none;width:38px;height:38px;right:14px;bottom:16px}
 .mg-de .mg-wrap{grid-template-columns:1fr;padding:56px 16px}.mg-de h2,.mg-b2b h2{font-size:32px}.mg-vol{flex-wrap:wrap;gap:24px}
 .mg-pp,.mg-sec{grid-template-columns:1fr;gap:28px}.mg-stage{height:380px}.mg-pp h1{font-size:32px}.mg-ptabs{gap:18px;font-size:16px}.mg-apl{columns:1}
 .mg-trust .mg-wrap{grid-template-columns:1fr 1fr;gap:18px;padding:22px 16px}.mg-ap{position:static}
 table.mg-packs{display:block;overflow-x:auto;white-space:nowrap}
 .mg-foot .mg-wrap{grid-template-columns:1fr 1fr;padding:44px 16px}
 .kb-p .im{height:180px}
}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

.kb-p .st{display:block;margin-top:6px}
/* oil finder results */
#mg-rec{padding:0 22px}
.mg-rec-l{padding:14px 0;color:var(--mute)}
.mg-rec-v{font-weight:700;font-size:18px;padding:18px 0 4px}
.mg-rec-part{padding:14px 0;border-top:1px solid var(--line)}
.mg-rec-part h4{font-size:17px;font-weight:700;margin:0 0 6px}
.mg-rec-part p{font-size:14px;color:#555;margin:0 0 10px}
.mg-rec-row{display:flex;gap:14px;flex-wrap:wrap}
.mg-rec-p{display:flex;gap:12px;align-items:center;min-width:260px;flex:1;max-width:380px;padding:10px 12px;border-radius:5px;color:var(--ink);transition:background .16s}
a.mg-rec-p:hover{background:var(--panel)}a.mg-rec-p:hover b{color:var(--red)}
.mg-rec-p img{height:72px;width:auto;mix-blend-mode:multiply}
.mg-rec-p b{display:block;font-size:15px;line-height:1.3}.mg-rec-p small{display:block;font-size:13px;color:var(--mute)}.mg-rec-p em{font-style:normal;font-weight:800}
.mg-rec-p.off{opacity:.7}


/* category page */
.kb-bar{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap}
.kb-bar>span{display:flex;align-items:center;gap:10px}
.kb-bar label{margin:0;font-weight:400;color:var(--mute);font-size:14px}
.kb-bar select{height:40px;border:1px solid #cfcfcf;border-radius:5px;padding:0 10px;background:#fff;font-weight:600}
/* category: sidebar (categories + filters, like wolfoil.shop / mbl.com.ua) */
.mg-cat-head{padding-top:26px}.mg-cat-head h1{font-size:44px;margin:4px 0 26px}
.mg-catgrid{display:grid;grid-template-columns:270px 1fr;gap:36px;align-items:start}
.mg-catmain{min-width:0}
.mg-side-btn{display:none}
.mg-box{margin-bottom:26px}
.mg-box h3{font-size:15px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;margin:0;padding:12px 16px;background:var(--red);color:#fff;border-radius:5px 5px 0 0}
.mg-tree{list-style:none;margin:0;padding:6px 0;border:1px solid var(--line);border-top:0}
.mg-tree li a{display:block;padding:8px 16px;font-size:15px;color:var(--ink);font-weight:600}
.mg-tree li a:hover,.mg-tree a.on{color:var(--red)}
.mg-tree ul{list-style:none;margin:0 0 6px;padding:0 0 0 14px;border-left:2px solid var(--line);margin-left:16px}
.mg-tree ul a{font-weight:400;font-size:14px;padding:6px 10px}
.mg-filter{border:1px solid var(--line);border-top:0;border-radius:0 0 5px 5px}
.mg-filter h3{margin:0 -1px}
.mg-reset{display:block;padding:10px 16px;color:var(--red);font-weight:600;font-size:14px;border-bottom:1px solid var(--line)}
.mg-fg{border-bottom:1px solid var(--line)}.mg-fg:last-child{border-bottom:0}
.mg-fg summary{list-style:none;cursor:pointer;padding:13px 16px;font-weight:700;font-size:14px;text-transform:uppercase;letter-spacing:.03em;display:flex;justify-content:space-between;align-items:center}
.mg-fg summary::-webkit-details-marker{display:none}
.mg-fg summary b{background:var(--red);color:#fff;border-radius:10px;font-size:11px;padding:1px 7px;margin-left:auto;margin-right:10px}
.mg-fg summary:after{content:'';width:8px;height:8px;border-right:2px solid var(--mute);border-bottom:2px solid var(--mute);transform:rotate(45deg);transition:transform .2s}
.mg-fg[open] summary:after{transform:rotate(-135deg)}
.mg-fg ul{list-style:none;margin:0;padding:0 16px 12px}
.mg-fg ul.scroll{max-height:258px;overflow-y:auto;scrollbar-width:thin}
.mg-fg li a{display:flex;align-items:center;gap:10px;padding:7px 0;font-size:14px;color:var(--ink);border-bottom:1px solid #f0f0f0}
.mg-fg li:last-child a{border-bottom:0}
.mg-fg li a i{flex:none;width:16px;height:16px;border:1.5px solid #b9b9b9;border-radius:3px;position:relative;transition:border-color .15s,background .15s}
.mg-fg li a.on i{background:var(--red);border-color:var(--red)}
.mg-fg li a.on i:after{content:'';position:absolute;left:4px;top:1px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.mg-fg li a span{flex:1}
.mg-fg li a small{flex:none;color:var(--mute);font-size:12px;background:var(--panel);border-radius:3px;padding:1px 6px}
.mg-fg li a:hover{color:var(--red)}.mg-fg li a:hover i{border-color:var(--red)}
.mg-price-f{display:flex;gap:6px;align-items:center;padding:0 16px 14px}
.mg-price-f label{flex:1;display:flex;align-items:center;border:1px solid #cfcfcf;border-radius:5px;padding:0 8px;height:40px;margin:0;font-weight:400}
.mg-price-f input{width:100%;border:0;font-size:14px;outline:0;padding:0;-moz-appearance:textfield}
.mg-price-f input::-webkit-outer-spin-button,.mg-price-f input::-webkit-inner-spin-button{-webkit-appearance:none}
.mg-price-f span{font-size:12px;color:var(--mute)}.mg-price-f i{font-style:normal;color:var(--mute)}
.mg-price-f .mg-btn{height:40px;padding:0 12px;font-size:14px}
.mg-subs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.mg-subs a{border:1px solid #cfcfcf;border-radius:5px;padding:7px 14px;font-weight:600;font-size:14px;color:var(--ink)}.mg-subs a:hover{border-color:var(--red);color:var(--red)}
.kb-grid.mg-grid3{grid-template-columns:repeat(3,1fr)!important;gap:36px 28px!important;margin-top:24px}
.mg-pag{display:flex;justify-content:center;padding:44px 0}
.mg-empty{padding:40px 0}
#product-category .kb-seo{margin-top:30px}
@media (max-width:980px){.mg-catgrid{grid-template-columns:1fr;gap:0}.kb-grid.mg-grid3{grid-template-columns:repeat(2,1fr)!important}
 .mg-side-btn{display:flex;gap:8px;align-items:center;justify-content:center;width:100%;height:46px;border:1px solid #cfcfcf;border-radius:5px;background:#fff;font-weight:700;font-size:15px;margin-bottom:16px}
 .mg-side-btn b{background:var(--red);color:#fff;border-radius:10px;font-size:11px;padding:1px 7px}
 .mg-side-in{display:none}.mg-side.open .mg-side-in{display:block}.mg-cat-head h1{font-size:32px}}

@media (max-width:760px){
 .mg-hits,.mg-groups,.mg-appr{padding-top:64px}
 .kb-p .bt{gap:6px;min-width:0}.kb-p .pr{font-size:18px;white-space:nowrap;min-width:0}.kb-p .add{flex:none;width:38px!important;height:38px!important}
 .kb-grid.mg-grid3{gap:28px 14px!important}
 .mg-tel{display:none}
 .mg-hdr .mg-wrap{gap:6px}.mg-logo img{height:40px;width:auto}.mg-tools{gap:2px}.mg-ic,.mg-hdr #cart>button{width:40px;height:40px}
 .mg-pick{margin:0 2px;padding:10px 12px}.mg-lang{margin-left:2px}.mg-lang a.on{display:none}.mg-lang a{padding:3px 5px}
}

.mg-foot .mg-flang{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-top:6px}
.mg-foot .mg-flang a{display:inline;opacity:.7}.mg-foot .mg-flang a.on{opacity:1;font-weight:700;text-decoration:underline;text-underline-offset:3px}.mg-foot .mg-flang i{font-style:normal;opacity:.5}
.mg-desc h2.mg-dh{font-size:26px;line-height:1.25;font-weight:800;margin:0 0 16px;text-wrap:balance}
.kb-bar{justify-content:flex-end}
.mg-more-wrap{display:flex;justify-content:center;padding-top:44px}
.mg-loadmore{min-width:240px;justify-content:center;background:#fff!important;color:var(--red)!important;border:2px solid var(--red)!important}
.mg-loadmore:hover{background:var(--red)!important;color:#fff!important}
.mg-loadmore:disabled{opacity:.6}
.mg-pag{flex-direction:column;align-items:center;gap:12px;padding:24px 0 44px}
.mg-res{font-size:14px;color:var(--mute)}
@media (max-width:760px){
 .kb-bar{justify-content:stretch}.kb-bar>span{width:100%}.kb-bar label[for=input-sort]{display:none}.kb-bar .lim{display:none}
 .kb-bar #input-sort{flex:1;min-width:0;width:100%}
 .mg-desc h2.mg-dh{font-size:22px}
}
