/* ATIIE corrective pass. Deliberately limited to homepage header/hero and reference PDP.
   Reconciles the competing 2-column and 3-column media queries in the previous release. */

@media (min-width:1024px) {
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top {
   display:grid!important;
   direction:rtl!important;
   grid-template-columns:minmax(245px,.98fr) minmax(335px,1.55fr) minmax(225px,.78fr)!important;
   gap:clamp(12px,1.1vw,18px)!important;
   grid-template-rows:auto!important;
   align-items:start!important;
   padding:14px!important;
 }
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top > .mk-pdp-gallery {
   grid-column:1!important;grid-row:1!important;position:relative!important;min-width:0!important;
 }
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top > .mk-pdp-info {
   grid-column:2!important;grid-row:1!important;min-width:0!important;
 }
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top > .mk-pdp-purchase {
   grid-column:3!important;grid-row:1!important;min-width:0!important;
   position:sticky!important;top:20px!important;
 }
}
@media (min-width:768px) and (max-width:1023px) {
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top {
   display:grid!important;
   grid-template-columns:minmax(0,1.1fr) minmax(0,1.25fr)!important;
   gap:14px!important;
   grid-template-rows:auto auto!important;
 }
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top > .mk-pdp-gallery {
   grid-column:1!important;grid-row:1 / 3!important;
 }
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top > .mk-pdp-info {
   grid-column:2!important;grid-row:1!important;
 }
 body.single-product.mk-shell .mk-reference-page article.mk-reference-pdp > .mk-pdp-top > .mk-pdp-purchase {
   grid-column:2!important;grid-row:2!important;position:static!important;
 }
}
body.single-product.mk-shell .mk-reference-page .mk-pdp-info > * {max-width:100%;min-width:0;}
body.single-product.mk-shell .mk-reference-page .mk-pdp-info :is(.mk-pdp-title,.mk-reference-delivery,.mk-reference-overview,.mk-pdp-quick-specs) {
  line-height:1.65!important;
  overflow-wrap:break-word;
  height:auto!important;
}
body.single-product.mk-shell .mk-reference-page .mk-pdp-purchase .mk-buybox {
  max-width:100%!important;box-sizing:border-box!important;
}
body.single-product.mk-shell .mk-reference-page .mk-detail-tablist > button[data-mk-tab][aria-selected="true"] {
  background-color:#087f85!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.single-product.mk-shell .mk-reference-page .mk-detail-tablist > button[data-mk-tab][aria-selected="true"] * {
  color:#fff!important;-webkit-text-fill-color:#fff!important;opacity:1!important;visibility:visible!important;
}
/* A short, consistent gap without hiding focus outlines. */
body.home.mk-shell #mk-main > .mk-home,
body.home.mk-shell #mk-main .mk-container.mk-home {
  padding-top:8px!important;
}
body.home.mk-shell #mk-main .mk-home > .atiie-hs--raster {
  margin-top:0!important;padding-top:0!important;
}
/* Header style: target the real markup emitted by header-default.php. */
body.mk-shell header.mk-header form.mk-search {
 background:#f4f9fa!important;border:1px solid #dce9e8!important;
 border-radius:12px!important;box-shadow:none!important;
}
body.mk-shell header.mk-header form.mk-search > button[type="submit"] {
 background:#087e83!important;color:white!important;
}
body.mk-shell header.mk-header .mk-nav .mk-categories-button {
 background:#066a70!important;color:#fff!important;border-radius:12px!important;
}
body.mk-shell header.mk-header .mk-header-actions .mk-header-cart-action {
 background:transparent!important;background-image:none!important;box-shadow:none!important;
 border-color:transparent!important;
}
body.mk-shell header.mk-header .mk-header-actions .mk-wishlist-action .mk-local-count,
body.mk-shell header.mk-header .mk-header-actions .mk-header-cart-action .mk-cart-count {
 position:absolute!important;top:-8px!important;inset-inline-end:-8px!important;
 display:grid!important;place-items:center!important;min-width:20px!important;height:20px!important;
 background:#e63d5c!important;color:#fff!important;-webkit-text-fill-color:#fff!important;
 font:800 10px/1 sans-serif!important;border:2px solid #fff!important;border-radius:999px!important;
}
