/* MojoTop core: tokens, fonts, header, search, mobile nav, cards, footer */
@font-face{font-family:Inter;font-weight:400;font-display:swap;src:url(../fonts/inter-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:500;font-display:swap;src:url(../fonts/inter-latin-500-normal.woff2) format("woff2")}
@font-face{font-family:Inter;font-weight:600;font-display:swap;src:url(../fonts/inter-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Space Grotesk";font-weight:600;font-display:swap;src:url(../fonts/space-grotesk-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Space Grotesk";font-weight:700;font-display:swap;src:url(../fonts/space-grotesk-latin-700-normal.woff2) format("woff2")}

:root{
  --mt-ink:#141a33;--mt-muted:#5d6785;--mt-line:#e6e8f2;--mt-bg:#f5f6fb;--mt-card:#fff;
  --mt-navy:#0b1030;--mt-violet:#6c4cff;--mt-hot:#ff5a36;--mt-mint:#1fbf75;
  --mt-r:16px;--mt-r-sm:10px;--mt-shadow:0 1px 2px rgba(20,26,51,.05),0 8px 24px -12px rgba(20,26,51,.12);
  --mt-head-h:72px
}
body{padding-top:var(--mt-head-h);-webkit-font-smoothing:antialiased}
a:hover{text-decoration:none}
h1,h2,h3,h4,.mt-display{letter-spacing:-.015em}
.mt-skip{position:absolute;left:-999px}.mt-skip:focus{left:12px;top:12px;z-index:2000;background:#fff;padding:8px 12px;border-radius:8px}
:focus-visible{outline:2px solid var(--mt-violet);outline-offset:2px}

/* Header: single row, glass, fixed */
.mt-head{position:fixed;inset:0 0 auto 0;height:var(--mt-head-h);z-index:1030;transition:background .25s,box-shadow .25s,height .25s;background:rgba(11,16,48,.55);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-bottom:1px solid rgba(255,255,255,.08)}
.mt-head.is-scrolled{--mt-head-h:62px;background:rgba(11,16,48,.82);box-shadow:0 10px 30px -12px rgba(0,0,0,.45)}
.mt-head .container{height:100%;display:flex;align-items:center;gap:28px}
.mt-logo{font:700 26px/1 "Space Grotesk",sans-serif;color:#fff;letter-spacing:-.03em;flex-shrink:0}
.mt-logo span{color:var(--mt-hot)}.mt-logo:hover{color:#fff}
.mt-nav{display:flex;gap:4px;margin:0;padding:0;list-style:none;flex:1}
.mt-nav a{display:block;padding:9px 14px;border-radius:999px;color:rgba(255,255,255,.78);font-weight:500;font-size:15px;transition:.2s}
.mt-nav a:hover,.mt-nav .is-active a,.mt-nav .current-menu-item>a{color:#fff;background:rgba(255,255,255,.1)}
.mt-tools{display:flex;align-items:center;gap:8px;margin-left:auto}
.mt-ib{width:44px;height:44px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.04);color:#fff;display:inline-grid;place-items:center;position:relative;transition:.2s;cursor:pointer}
.mt-ib:hover{background:rgba(255,255,255,.12);color:#fff}
.mt-ib svg,.mt-ico{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mt-ib .mt-dot{position:absolute;top:6px;right:6px;min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--mt-hot);font:600 10px/16px Inter;color:#fff}
.mt-btn-login{height:44px;border-radius:12px;padding:0 18px;font-weight:600;background:#fff;color:var(--mt-navy);border:0}
.mt-btn-login:hover{background:#e9e6ff}

/* Search overlay with scope */
.mt-search{position:fixed;inset:0;z-index:1040;background:rgba(8,11,32,.72);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);display:none;padding:12vh 16px 0}
.mt-search.is-open{display:block;animation:mtFade .2s}
.mt-search-box{max-width:720px;margin:0 auto;background:#fff;border-radius:20px;padding:10px;box-shadow:0 30px 80px -20px rgba(0,0,0,.5)}
.mt-search-row{display:flex;align-items:center;gap:8px}
.mt-search-row input{flex:1;border:0;font-size:18px;padding:12px 8px;outline:0;min-width:0}
.mt-scope{display:flex;gap:6px;padding:10px 6px 4px;flex-wrap:wrap}
.mt-scope label{margin:0;cursor:pointer}
.mt-scope input{position:absolute;opacity:0}
.mt-scope span{display:inline-block;padding:7px 14px;border-radius:999px;background:var(--mt-bg);font-size:14px;font-weight:500;color:var(--mt-muted);border:1px solid transparent}
.mt-scope input:checked+span{background:#efebff;color:var(--mt-violet);border-color:#d6ccff}
.mt-scope input:focus-visible+span{outline:2px solid var(--mt-violet)}
.mt-search .mt-ib{color:var(--mt-ink);border-color:var(--mt-line)}
.mt-search-hint{padding:8px 10px 6px;font-size:13px;color:var(--mt-muted)}
@keyframes mtFade{from{opacity:0}to{opacity:1}}

/* Mobile: Instagram-style bottom bar */
.mt-tabbar{display:none}
@media (max-width:991.98px){
  :root{--mt-head-h:60px}
  .mt-nav,.mt-tools .mt-hide-m{display:none}
  .mt-head .container{gap:12px}
  body{padding-bottom:calc(64px + env(safe-area-inset-bottom))}
  .mt-tabbar{display:flex;position:fixed;inset:auto 0 0 0;z-index:1030;height:calc(64px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:rgba(255,255,255,.88);-webkit-backdrop-filter:saturate(180%) blur(16px);backdrop-filter:saturate(180%) blur(16px);border-top:1px solid var(--mt-line)}
  .mt-tabbar a,.mt-tabbar button{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:var(--mt-muted);font-size:10.5px;font-weight:500;background:none;border:0;padding:0}
  .mt-tabbar .mt-ico{width:24px;height:24px}
  .mt-tabbar .is-active{color:var(--mt-ink)}
  .mt-tabbar .is-active .mt-ico{stroke-width:2.3}
  .mt-tabbar .mt-tab-main .mt-ico{width:46px;height:34px;padding:6px 12px;border-radius:12px;background:var(--mt-navy);color:#fff;stroke:#fff}
}

/* Section heads */
.mt-sec{padding:56px 0 0}
.mt-sec-h{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:22px}
.mt-sec-h h2{font-size:28px;margin:0}
.mt-sec-h p{margin:4px 0 0;color:var(--mt-muted)}
.mt-more{font-weight:600;font-size:14px;white-space:nowrap;display:inline-flex;align-items:center;gap:6px}
.mt-more:after{content:"\2192";transition:transform .2s}.mt-more:hover:after{transform:translateX(3px)}

/* Media + missing-image placeholder (same ratio, no request) */
.mt-media{position:relative;display:block;aspect-ratio:16/9;overflow:hidden;border-radius:var(--mt-r-sm);background:var(--mt-navy)}
.mt-media img{width:100%;height:100%;object-fit:cover;transition:transform .5s}
a:hover .mt-media img,.mt-card:hover .mt-media img{transform:scale(1.04)}
.mt-ph{background:radial-gradient(120% 90% at 85% 0%,var(--ph2,#6c4cff) 0,transparent 55%),linear-gradient(140deg,var(--mt-navy) 0%,var(--ph1,#1d2a7a) 100%);color:rgba(255,255,255,.85);display:flex;align-items:flex-end;padding:14px;font:600 12px/1 "Space Grotesk";letter-spacing:.12em;text-transform:uppercase}
.mt-ph[data-tone=pc]{--ph1:#183a7a;--ph2:#2dd4bf}.mt-ph[data-tone=ps]{--ph1:#1d3fb0;--ph2:#60a5fa}
.mt-ph[data-tone=xb]{--ph1:#14532d;--ph2:#22c55e}.mt-ph[data-tone=nin]{--ph1:#7f1d1d;--ph2:#ff5a36}
.mt-ph[data-tone=rev]{--ph1:#4c1d95;--ph2:#f472b6}.mt-ph[data-tone=gold]{--ph1:#3b2a06;--ph2:#facc15}

/* Category label */
.mt-cat{display:inline-flex;align-items:center;gap:6px;font:600 11.5px/1 Inter;letter-spacing:.07em;text-transform:uppercase;color:var(--mt-violet)}
.mt-cat:before{content:"";width:6px;height:6px;border-radius:2px;background:currentColor}
.mt-cat.on-dark{color:#c8bcff}
.mt-meta{font-size:13px;color:var(--mt-muted);display:flex;flex-wrap:wrap;gap:4px 12px}

/* Post card */
.mt-card{background:var(--mt-card);border-radius:var(--mt-r);padding:10px 10px 18px;box-shadow:var(--mt-shadow);height:100%;display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}
.mt-card:hover{transform:translateY(-3px);box-shadow:0 2px 4px rgba(20,26,51,.05),0 20px 40px -18px rgba(20,26,51,.28)}
.mt-card-b{padding:14px 8px 0;display:flex;flex-direction:column;gap:8px;flex:1}
.mt-card h3{font-size:18px;line-height:1.3;margin:0}
.mt-card h3 a{color:var(--mt-ink)}.mt-card h3 a:hover{color:var(--mt-violet)}
.mt-card .mt-meta{margin-top:auto}
.mt-card-row{display:grid;grid-template-columns:132px minmax(0,1fr);gap:14px;align-items:center}
.mt-card-row h3{font-size:15.5px}

/* Product card (store) */
.mt-prod{background:#fff;border-radius:var(--mt-r);padding:10px;box-shadow:var(--mt-shadow);height:100%;display:flex;flex-direction:column;transition:transform .25s}
.mt-prod:hover{transform:translateY(-3px)}
.mt-prod .mt-media{aspect-ratio:4/3}
.mt-prod-b{padding:12px 6px 4px;display:flex;flex-direction:column;gap:6px;flex:1}
.mt-prod h3{font-size:16px;margin:0;line-height:1.3}.mt-prod h3 a{color:var(--mt-ink)}
.mt-price{font:700 20px/1 "Space Grotesk";color:var(--mt-ink)}
.mt-price small{font:500 12px Inter;color:var(--mt-muted);margin-right:4px}
.mt-prod-f{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:10px}
.mt-add{width:44px;height:44px;border-radius:12px;border:0;background:var(--mt-navy);color:#fff;display:grid;place-items:center;transition:.2s}
.mt-add:hover{background:var(--mt-violet)}
.mt-badge{position:absolute;top:10px;left:10px;z-index:1;padding:5px 9px;border-radius:8px;background:var(--mt-hot);color:#fff;font:600 11px/1 Inter}
.mt-badge.is-mint{background:var(--mt-mint)}

/* Footer */
.mt-foot{background:#0a0d24;color:#a8b0cc;margin-top:80px;padding:64px 0 0}
.mt-foot h2{font:600 13px Inter;text-transform:uppercase;letter-spacing:.1em;color:#fff;margin-bottom:16px}
.mt-foot-about{max-width:42ch}
.mt-foot a{color:#a8b0cc}.mt-foot a:hover{color:#fff}
.mt-foot ul{list-style:none;padding:0;margin:0;display:grid;gap:10px}
.mt-foot-bar{margin-top:48px;border-top:1px solid rgba(255,255,255,.08);padding:20px 0;font-size:13px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px}
.mt-news{display:flex;gap:8px;margin-top:14px}
.mt-news input{flex:1;min-width:0;height:46px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.05);color:#fff;padding:0 14px}
.mt-news input::placeholder{color:#8a93b4}
