/* MarketKit 1.5.7: scoped fixes only. No change to header, checkout, or homepage order. */

/* A sale is identified once, at the image. Do not repeat the same % below price. */
body.mk-shell .mk-product-card .mk-card-discount-note,
body.mk-shell .mk-product-card .mk-card-discount-badge,
body.single-product.mk-shell .mk-pdp-saving {display:none!important}

/* Shop heading: compact and readable, not a full-width empty billboard. */
body.mk-shell .mk-catalog-page>.mk-catalog-hero {
  padding:16px clamp(16px,2.5vw,32px)!important;
  min-height:0!important;height:auto!important;
  margin:0 0 12px!important;border-radius:0 0 16px 16px!important;
  background:#fff!important;
}
body.mk-shell .mk-catalog-page .mk-catalog-hero>.mk-container{
  padding:0!important;max-width:1480px!important;min-height:0!important;
  display:flex!important;gap:14px!important;align-items:center!important;
}
body.mk-shell .mk-catalog-page .mk-catalog-hero-art{display:none!important}
body.mk-shell .mk-catalog-page .mk-catalog-hero-copy{width:100%!important;max-width:none!important;min-width:0!important}
body.mk-shell .mk-catalog-page .mk-catalog-hero h1{
  margin:6px 0!important;font-size:clamp(24px,2.4vw,32px)!important;
  line-height:1.3!important;max-width:100%!important;overflow-wrap:break-word!important;
}
body.mk-shell .mk-catalog-page .mk-catalog-hero :is(.mk-catalog-intro,.mk-catalog-intro p){
  font-size:12px!important;line-height:1.6!important;margin:0!important;
}
body.mk-shell .mk-catalog-page .mk-catalog-hero .mk-catalog-kicker{display:none!important}
body.mk-shell .mk-catalog-page .mk-catalog-hero .mk-catalog-total{margin-top:8px!important}
body.mk-shell .mk-catalog-page .mk-catalog-hero .mk-breadcrumbs{padding:0 0 5px!important;margin:0!important}

/* Only the shop page receives a concise campaign carousel; keep image pixels proportionate. */
body.mk-shell .mk-catalog-page .mk156-shop-wrap{padding-top:6px!important;padding-bottom:12px!important}
body.mk-shell .mk-catalog-page .mk156-shop-banner{
  aspect-ratio:auto!important;height:clamp(174px,18vw,270px)!important;
  max-height:270px!important;border-radius:16px!important;
}
body.mk-shell .mk156-shop-slide img{object-fit:cover!important;object-position:50% 48%!important}
body.mk-shell .mk156-shop-caption{gap:7px!important;max-width:43%!important;right:8%!important}
body.mk-shell .mk156-shop-caption strong{font-size:clamp(19px,2.1vw,31px)!important;line-height:1.25!important}
body.mk-shell .mk156-shop-caption small{font-size:clamp(10px,1vw,13px)!important}
body.mk-shell .mk156-shop-caption em{padding:8px 12px!important;font-size:12px!important}

/* Sidebar thumbnails: their own bounded, usable wheel/touch/keyboard scroll column. */
body.single-product.mk-shell .mk-reference-page .mk-pdp .mk-gallery{min-width:0!important;overflow:visible!important;gap:12px!important}
body.single-product.mk-shell .mk-reference-page .mk-gallery-thumbs{
  display:flex!important;flex-direction:column!important;justify-content:flex-start!important;
  align-items:center!important;gap:10px!important;
  min-width:0!important;width:100%!important;
  height:auto!important;max-height:min(58vh,440px)!important;
  overflow-x:hidden!important;overflow-y:auto!important;
  scrollbar-width:thin!important;scrollbar-color:#c2cbd9 transparent!important;
  overscroll-behavior:contain;scroll-snap-type:y proximity;
  padding:8px 4px 12px!important;box-sizing:border-box!important;
}
body.single-product.mk-shell .mk-reference-page .mk-gallery-thumb{
  flex:0 0 auto!important;scroll-snap-align:start;
  width:min(100%,70px)!important;height:78px!important;
  padding:6px!important;margin:0!important;overflow:hidden!important;
  box-sizing:border-box!important;border-radius:11px!important;
}
body.single-product.mk-shell .mk-reference-page .mk-gallery-thumb img{
  width:100%!important;height:100%!important;object-fit:contain!important;
  object-position:center!important;max-width:100%!important;max-height:100%!important;
}
body.single-product.mk-shell .mk-reference-page .mk-gallery-stage{min-width:0!important;overflow:hidden!important}
body.single-product.mk-shell .mk-reference-page .mk-gallery-stage .mk-gallery-main{object-fit:contain!important}

/* Preserve stable quick-view layout while showing price immediately from the card. */
body.mk-shell .mk-quick-loading .mk-quick-info .mk-quick-preview-price{
  color:#1c2f4b;font-weight:800;font-size:clamp(19px,2vw,24px);
  margin:10px 0;padding:8px 0;border-top:1px solid #e6ebf2;
}
body.mk-shell .mk-quick-loading .mk-quick-info .mk-quick-more{display:inline-flex;min-height:35px;align-items:center;color:#2158bf}

@media(max-width:767px){
  body.mk-shell .mk-catalog-page>.mk-catalog-hero{padding:12px 14px!important;margin-bottom:8px!important}
  body.mk-shell .mk-catalog-page .mk-catalog-hero h1{font-size:23px!important}
  body.mk-shell .mk-catalog-page .mk156-shop-wrap{padding:7px 10px 12px!important}
  body.mk-shell .mk-catalog-page .mk156-shop-banner{height:clamp(150px,44vw,195px)!important;max-height:195px!important;border-radius:13px!important}
  body.mk-shell .mk156-shop-caption{right:7%!important;max-width:50%!important;gap:5px!important}
  body.mk-shell .mk156-shop-caption strong{font-size:clamp(15px,4vw,21px)!important}
  body.mk-shell .mk156-shop-caption small{font-size:10px!important}
  body.mk-shell .mk156-shop-caption em{font-size:10px!important;padding:6px 9px!important}
  body.single-product.mk-shell .mk-reference-page .mk-gallery-thumbs{
    flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;
    width:100%!important;max-height:none!important;height:auto!important;max-width:100%!important;
    overflow-y:hidden!important;overflow-x:auto!important;
    scroll-snap-type:x proximity;gap:9px!important;padding:9px 4px!important;
  }
  body.single-product.mk-shell .mk-reference-page .mk-gallery-thumb{width:62px!important;min-width:62px!important;height:69px!important}
}
