/* MatKoz storefront v17 — monochrome, high-contrast typography.
   Layout, categories, imagery and the current MatKoz logo remain untouched. */
body.storefront-v4.mk-redesign{
  --mk-ink:#0b0c0e;
  --mk-ink-soft:#2f3237;
  --mk-muted:#62676f;
  --mk-line:#d8dce1;
  --mk-black:#0b0c0e;
  --mk-white:#ffffff;
  --mk-gray:#f4f5f6;
  color:var(--mk-ink);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
}
body.storefront-v4.mk-redesign :where(h1,h2,h3,h4,h5,h6,b,strong,.section-title,.showcase-heading,.showcase-card>div>b,.category b){
  color:var(--mk-ink);
  text-shadow:none;
  filter:none;
  opacity:1;
}
body.storefront-v4.mk-redesign :where(p,small,.muted,.hero-copy p,.showcase-card>div>em){
  color:var(--mk-ink-soft);
  text-shadow:none;
  opacity:1;
}
body.storefront-v4.mk-redesign :where(.topbar,.head,.header,.nav,.store-values){
  color:var(--mk-ink);
}
body.storefront-v4.mk-redesign :where(.head a,.header a,.nav a,.nav button,.actions a,.actions button){
  color:var(--mk-ink);
  opacity:1;
}
body.storefront-v4.mk-redesign :where(.nav a:hover,.nav a:focus-visible,.nav button:hover,.nav button:focus-visible){
  color:#000;
}
body.storefront-v4.mk-redesign .hero-copy :where(h1,h2,p),
body.storefront-v4.mk-redesign .hero-brand-word{
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.62);
}
body.storefront-v4.mk-redesign :where(.category b,.category span,.category small){
  text-shadow:0 1px 2px rgba(0,0,0,.72);
}
body.storefront-v4.mk-redesign .category b{color:#fff;}
body.storefront-v4.mk-redesign .category :where(span,small){color:#fff;}
body.storefront-v4.mk-redesign :where(.showcase-card>div>b,.showcase-card>div>strong){
  color:#0b0c0e;
}
body.storefront-v4.mk-redesign .showcase-card>div>em{color:#4d5259;}
body.storefront-v4.mk-redesign .showcase-card>div>strong{
  font-weight:900;
  font-variant-numeric:tabular-nums;
}
body.storefront-v4.mk-redesign :where(.showcase-discount,.badge-sale,.promotion-badge,.badge-new,.badge-bestseller){
  color:#fff!important;
  background:#0b0c0e!important;
  border-color:#0b0c0e!important;
}
body.storefront-v4.mk-redesign :where(button,a,input,select,textarea){
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.storefront-v4.mk-redesign :where(input,select,textarea){color:#0b0c0e;}
body.storefront-v4.mk-redesign :where(input::placeholder,textarea::placeholder){color:#666b72;opacity:1;}
body.storefront-v4.mk-redesign :where(.stock,.stock-dot,.availability,.product-availability,.showcase-card .status){
  color:#34383e!important;
}
body.storefront-v4.mk-redesign :where(.stock-dot,.availability-dot){background:#34383e!important;}
body.storefront-v4.mk-redesign :where(.bottom-nav .active,.mobile-bottom-nav .active,.bottom-nav [aria-current="page"],.mobile-bottom-nav [aria-current="page"]){
  color:#0b0c0e!important;
}
body.storefront-v4.mk-redesign :where(.bottom-nav .active svg,.mobile-bottom-nav .active svg,.bottom-nav [aria-current="page"] svg,.mobile-bottom-nav [aria-current="page"] svg){
  stroke:#0b0c0e!important;
}
body.storefront-v4.mk-redesign :where(.cart-count,.cart-badge,.badge-count){
  background:#33363b!important;
  color:#fff!important;
}
@media(max-width:700px){
  body.storefront-v4.mk-redesign :where(.showcase-card>div>b,.category b){font-weight:850;}
  body.storefront-v4.mk-redesign .showcase-card>div>em{color:#41464d;}
  body.storefront-v4.mk-redesign :where(h2,.section-title,.showcase-heading h2){letter-spacing:-.025em;}
}


/* P0 hero carousel integrity: never keep a decorative product pack between slides. */
@media(max-width:700px){
  body.storefront-v4.mk-redesign .final-hero::after{
    display:none!important;
    content:none!important;
    background:none!important;
  }
  body.storefront-v4.mk-redesign .final-hero>img#heroImage{
    transition:opacity .18s ease!important;
  }
}


/* iOS mobile drawer: closed state must be fully outside the viewport, with no logo/text ghost. */
@media(max-width:700px){
  body.storefront-v4.mk-redesign .mobile-menu-drawer{
    left:0!important;
    transform:translate3d(-110%,0,0)!important;
    visibility:hidden!important;
    pointer-events:none!important;
    transition:transform .22s ease,visibility 0s linear .22s!important;
    will-change:transform!important;
  }
  body.storefront-v4.mk-redesign .mobile-menu-drawer.open{
    left:0!important;
    transform:translate3d(0,0,0)!important;
    visibility:visible!important;
    pointer-events:auto!important;
    transition:transform .22s ease!important;
  }
}
