/* MarketKit 1.6.1 — constrained repairs ONLY: original hero carousel, purchase preview, price display, product details. */
/* The hero must stay a two-column grid. Previous aspect ratios introduced an intrinsic 1280px minimum
   so the big slide painted underneath the side banners. No markup or slide logic is changed. */
body.mk-shell .mk-module .mk-art-hero{
  display:grid!important;grid-template-columns:minmax(0,2fr) minmax(0,1fr)!important;
  grid-template-rows:minmax(0,1fr)!important;direction:rtl!important;
  width:100%!important;max-width:100%!important;height:clamp(320px,29vw,445px)!important;
  min-height:0!important;gap:14px!important;align-items:stretch!important;overflow:hidden!important;
}
body.mk-shell .mk-module .mk-art-hero>.mk-art-main{
  grid-column:1!important;grid-row:1!important;position:relative!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;min-height:0!important;aspect-ratio:auto!important;
  overflow:hidden!important;isolation:isolate;
}
body.mk-shell .mk-module .mk-art-main>.mk-rail-viewport,
body.mk-shell .mk-module .mk-art-main>.mk-art-track{width:100%!important;max-width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;overflow:hidden}
body.mk-shell .mk-module .mk-art-track{
  display:grid!important;grid-auto-flow:column!important;grid-auto-columns:100%!important;
  grid-template-rows:minmax(0,1fr)!important;gap:0!important;overflow-x:auto!important;
  scroll-snap-type:x mandatory!important;overscroll-behavior-x:contain;
}
body.mk-shell .mk-module .mk-art-track>.mk-art-poster{
  display:block!important;position:relative!important;box-sizing:border-box!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;max-height:100%!important;aspect-ratio:auto!important;
  overflow:hidden!important;scroll-snap-align:start!important;
}
body.mk-shell .mk-module .mk-art-poster>picture,
body.mk-shell .mk-module .mk-art-poster>img,
body.mk-shell .mk-module .mk-art-poster picture img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:cover!important;object-position:center!important;
}
body.mk-shell .mk-module .mk-art-hero>.mk-art-side{
  grid-column:2!important;grid-row:1!important;
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:repeat(2,minmax(0,1fr))!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;min-height:0!important;gap:14px!important;overflow:hidden!important;
}
body.mk-shell .mk-module .mk-art-side-slider,
body.mk-shell .mk-module .mk-art-side-bottom{
  width:100%!important;max-width:100%!important;min-width:0!important;
  height:100%!important;min-height:0!important;max-height:100%!important;aspect-ratio:auto!important;
  box-sizing:border-box!important;overflow:hidden!important;
}
body.mk-shell .mk-module .mk-art-side-slide>picture,
body.mk-shell .mk-module .mk-art-side-slide img,
body.mk-shell .mk-module .mk-art-side-bottom>picture,
body.mk-shell .mk-module .mk-art-side-bottom img{
  width:100%!important;height:100%!important;max-width:100%!important;
  object-fit:cover!important;object-position:center!important;
}
/* The original arrows remain; this rule only puts them INSIDE the large slide. */
body.mk-shell .mk-module .mk-art-main .mk-carousel-arrows{
  inset-inline:8px!important;top:50%!important;z-index:7!important;
  width:auto!important;max-width:calc(100% - 16px)!important;
}
@media(max-width:900px){
 body.mk-shell .mk-module .mk-art-hero{
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   grid-template-rows:auto auto!important;height:auto!important;max-height:none!important;
   gap:12px!important;
 }
 body.mk-shell .mk-module .mk-art-hero>.mk-art-main{
   grid-column:1!important;grid-row:1!important;
   height:auto!important;aspect-ratio:1280/600!important;min-height:0!important;
 }
 body.mk-shell .mk-module .mk-art-hero>.mk-art-side{
   grid-column:1!important;grid-row:2!important;height:auto!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   grid-template-rows:minmax(0,1fr)!important;gap:10px!important;
 }
 body.mk-shell .mk-module .mk-art-side-slider,
 body.mk-shell .mk-module .mk-art-side-bottom{height:auto!important;aspect-ratio:2/1!important;min-height:0!important}
}
@media(max-width:480px){
 body.mk-shell .mk-module .mk-art-hero>.mk-art-main{aspect-ratio:16/9!important}
 body.mk-shell .mk-module .mk-art-side-slider,
 body.mk-shell .mk-module .mk-art-side-bottom{aspect-ratio:1.45/1!important}
}

/* Unified price / discount display on homepage rails and shop grid. Keep WooCommerce markup intact. */
body.mk-shell .mk-product-card .mk-card-price-wrap{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  justify-content:center!important;margin-top:auto!important;margin-bottom:8px!important;
  min-height:52px!important;padding:3px 0!important;box-sizing:border-box!important;
}
body.mk-shell .mk-product-card .mk-card-price-wrap>.mk-price{
  display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
  justify-content:flex-start!important;align-items:baseline!important;gap:3px 9px!important;
  width:100%!important;max-width:100%!important;min-height:0!important;
  font-size:clamp(16px,1.4vw,21px)!important;line-height:1.5!important;
  font-weight:850!important;color:#182942!important;white-space:normal!important;
}
body.mk-shell .mk-product-card .mk-card-price-wrap>.mk-price>ins{
  order:0!important;display:inline-flex!important;align-items:baseline!important;
  font:inherit!important;color:#182942!important;text-decoration:none!important;background:transparent!important;
}
body.mk-shell .mk-product-card .mk-card-price-wrap>.mk-price>del{
  order:1!important;display:inline-flex!important;align-items:baseline!important;
  font-size:clamp(10px,.86vw,12px)!important;font-weight:500!important;
  color:#8c98a9!important;text-decoration:line-through!important;opacity:1!important;
}
body.mk-shell .mk-product-card .mk-card-price-wrap .woocommerce-Price-amount{
  display:inline!important;direction:ltr!important;unicode-bidi:isolate!important;
  white-space:nowrap!important;font-weight:inherit!important;
}
body.mk-shell .mk-product-card .mk-card-price-wrap>.mk-price>del .woocommerce-Price-amount{color:#8c98a9!important}
body.mk-shell .mk-product-card .mk-card-price-wrap .woocommerce-Price-currencySymbol{font-size:.72em!important}
body.mk-shell .mk-product-card .mk-card-price-wrap .screen-reader-text{
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;
  margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;
  white-space:nowrap!important;border:0!important;
}
@media(max-width:600px){
 body.mk-shell .mk-product-card .mk-card-price-wrap{min-height:48px!important}
 body.mk-shell .mk-product-card .mk-card-price-wrap>.mk-price{font-size:16px!important;gap:2px 5px!important}
}

/* Instant previews show useful truthful data even when unavailable; do not fake selectable variations. */
body.mk-shell .mk16-quick-dialog .mk-quick-loading-status{
  margin:8px 0!important;padding:10px 12px!important;background:#f4f7fc!important;
  border:1px solid #e5ebf3!important;border-radius:10px!important;
  color:#586b83!important;font-size:12px!important;line-height:1.65!important;
}
body.mk-shell .mk16-quick-dialog .mk160-instant-ready .mk-quick-gallery,
body.mk-shell .mk16-quick-dialog .mk160-instant-ready .mk-quick-info{min-width:0!important}
body.mk-shell .mk16-quick-dialog .mk-quick-info .mk-price .screen-reader-text{position:absolute!important;clip-path:inset(50%)!important}

/* Read more is deliberately visible on all product descriptions, not only those taller than 295px. */
body.mk-shell .mk-pdp-details .mk-detail-panel .mk159-can-collapse .mk159-description-content{
  max-height:210px!important;overflow:hidden!important;mask-image:linear-gradient(#000 77%,transparent 100%)!important;
}
body.mk-shell .mk-pdp-details .mk-detail-panel .mk159-can-collapse.is-expanded .mk159-description-content{
  max-height:none!important;overflow:visible!important;mask-image:none!important;
}
body.mk-shell .mk-pdp-details .mk-detail-panel .mk159-read-more{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:46px!important;min-width:170px!important;margin:16px 0!important;
  padding:10px 20px!important;gap:8px!important;background:#ffe500!important;
  border:1px solid #e8d100!important;border-radius:999px!important;
  color:#162d4a!important;font-weight:850!important;cursor:pointer!important;
}
body.mk-shell .mk161-more-access{display:flex;justify-content:center;margin:20px 0 14px}
body.mk-shell .mk161-more-access>a{
  display:inline-flex;align-items:center;gap:10px;justify-content:center;
  min-width:175px;min-height:45px;padding:10px 22px;
  border:1px solid #e7ce24;border-radius:999px;
  background:#ffed6b;color:#17304a;text-decoration:none;font-weight:850;
}
body.mk-shell .mk161-more-access>a:hover{background:#ffdf00}
body.mk-shell .mk161-more-access>a:focus-visible{outline:3px solid #2256cc;outline-offset:3px}
