/* MarketKit 1.5.2 / single storefront experience system.
   All text remains HTML, no stretched stock text art. Scoped to MarketKit shell. */
body.mk-shell .mk-home{gap:var(--mk16-section-gap,22px)!important}
body.mk-shell .mk-home > .mk-module{min-width:0;max-width:100%}
body.mk-shell .mk-module > .mk16-panel{
  --mk16-panel-color:var(--mk16-tint,#f3f7fb);
  display:block;position:relative;min-width:0;overflow:hidden;
  background:#fff;border:1px solid #e2e9f0;
  border-radius:var(--mk16-radius,18px);box-shadow:0 8px 25px rgba(36,61,87,.045);
}
body.mk-shell .mk16-panel-heading{
  display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;
  padding:17px clamp(16px,2vw,28px);min-height:98px;box-sizing:border-box;
  background:linear-gradient(110deg,var(--mk16-panel-color),#fff 88%);
  border-bottom:1px solid #edf1f4;position:relative;overflow:hidden;
}
body.mk-shell .mk16-panel-heading::before{
  content:"";position:absolute;width:245px;height:245px;top:-155px;inset-inline-end:8%;
  border:1px solid rgba(52,89,111,.13);border-radius:50%;pointer-events:none;
}
body.mk-shell .mk16-panel-heading-copy{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;gap:5px}
body.mk-shell .mk16-panel-heading h2{display:block;margin:0!important;padding:0!important;color:#20334b;font-size:clamp(21px,2vw,29px)!important;font-weight:850!important;line-height:1.4!important;overflow-wrap:anywhere;letter-spacing:0!important}
/* The heading has no decorative product image; Discover more is a compact, useful action. */
body.mk-shell .mk16-panel-discover{display:inline-flex!important;align-items:center;justify-content:center;gap:10px;flex:0 0 auto;min-height:42px;padding:9px 16px!important;background:#fff!important;color:#153d5b!important;border:1px solid #d5e7e9!important;border-radius:999px!important;box-shadow:0 5px 16px rgba(19,55,82,.07)!important;text-decoration:none!important;font-size:13px!important;font-weight:800!important;line-height:1.25!important;white-space:nowrap;transition:background .16s,border-color .16s,transform .16s}
body.mk-shell .mk16-panel-discover .mk-icon{width:16px!important;height:16px!important;min-width:16px!important;background:#e3f4f0;border-radius:50%;color:#12664e;padding:3px;box-sizing:content-box}
body.mk-shell .mk16-panel-discover:hover,body.mk-shell .mk16-panel-discover:focus-visible{background:#e8f8f3!important;border-color:#a7d7c9!important;transform:translateY(-1px)}
body.mk-shell .mk16-panel-body{position:relative;padding:18px clamp(14px,1.8vw,26px) 24px;min-width:0}
body.mk-shell .mk16-panel-body>.mk-section{border:0!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:0!important;background:transparent!important}
body.mk-shell .mk16-panel-body .mk16-duplicate-title{display:none!important}
body.mk-shell .mk16-panel-body .mk-section-heading:has(>.mk16-duplicate-title){display:flex;justify-content:flex-end!important;align-items:center;gap:12px;padding:0!important;margin:0 0 14px!important;min-height:32px!important}
body.mk-shell .mk16-panel-body .mk-section-heading:has(>.mk16-duplicate-title):not(:has(a)):not(:has(button)):not(:has(.mk-countdown)){display:none!important}
body.mk-shell .mk16-panel-body .mk-section-heading .mk-view-all{white-space:nowrap;border:1px solid #dce6ee!important;border-radius:999px!important;background:#fff!important;color:var(--mk16-accent,#234b71)!important;font-weight:750!important;font-size:12px!important;min-height:35px;padding:7px 14px!important;box-shadow:none!important}
body.mk-shell .mk16-panel-body .mk-section-heading .mk-view-all:hover{background:#f7fafc!important}
body.mk-shell.mk16-style-minimal .mk16-panel-heading{background:#fff}
body.mk-shell.mk16-style-minimal .mk16-panel-heading::before{display:none}
body.mk-shell.mk16-style-vivid .mk16-panel-heading{background:linear-gradient(105deg,var(--mk16-panel-color),#dcecf7)}
body.mk-shell.mk16-style-vivid .mk16-panel-heading h2{color:#132e4b}
/* Category navigation: two-row horizontal rail, arrows remain functional; real photos. */
body.mk-shell .mk16-panel-categories .mk15-category-heading h2{display:none!important}
body.mk-shell .mk16-panel-categories .mk15-category-heading{min-height:42px!important;justify-content:flex-end!important;padding:0 3px 12px!important}
body.mk-shell .mk16-panel-categories .mk15-categories{background:transparent!important;padding:0!important;margin:0!important;border:none!important}
body.mk-shell .mk16-panel-categories .mk15-category-track{direction:inherit!important;grid-auto-columns:calc((100% - (var(--mk16-category-columns,5) - 1)*12px)/var(--mk16-category-columns,5))!important;gap:16px 12px!important;scrollbar-width:none!important;overflow-x:auto!important;padding:0 2px 8px!important}
body.mk-shell .mk16-panel-categories .mk15-category-grid{grid-template-columns:repeat(var(--mk16-category-columns,5),minmax(0,1fr))!important}
body.mk-shell .mk16-panel-categories .mk15-category-tile{min-height:148px!important;padding:9px 3px!important;gap:10px!important;border:1px solid transparent!important;background:transparent!important;box-shadow:none!important;transition:transform .18s,background .18s}
body.mk-shell .mk16-panel-categories .mk15-category-tile:hover{transform:translateY(-2px);background:#f7f9fc!important;border-color:#edf1f5!important}
body.mk-shell .mk16-panel-categories .mk15-category-media{width:clamp(66px,6.2vw,96px)!important;height:clamp(66px,6.2vw,96px)!important;max-width:100%;border:1px solid #e7edf1!important;background:#f6f8fa!important;padding:10px!important;border-radius:50%!important;box-sizing:border-box}
body.mk-shell .mk16-panel-categories .mk15-category-media img{object-fit:contain!important;width:100%!important;height:100%!important}
body.mk-shell .mk16-panel-categories .mk15-category-tile strong{min-height:34px;font-size:12px!important;line-height:1.45!important;font-weight:750!important;color:#293b50!important;overflow-wrap:anywhere}
body.mk-shell.mk16-categories-square .mk16-panel-categories .mk15-category-media{border-radius:20px!important}
/* Unified card grid, well-balanced header content */
body.mk-shell .mk16-panel .mk-product-card{border:1px solid #e7ecf2!important;background:#fff!important;border-radius:14px!important;box-shadow:0 4px 15px rgba(31,51,82,.04)!important}
body.mk-shell.mk16-cards-outlined .mk16-panel .mk-product-card{box-shadow:none!important}
body.mk-shell.mk16-cards-flat .mk16-panel .mk-product-card{box-shadow:none!important;border-color:transparent!important}
body.mk-shell .mk16-panel .mk-product-image{height:192px!important;min-height:0!important;background:#f7f9fc!important;contain:layout paint}
body.mk-shell .mk16-panel .mk-product-image img{width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important}
body.mk-shell .mk16-panel .mk-product-copy h3{font-size:13px!important;line-height:1.6!important;min-height:42px!important;max-height:42px!important;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
body.mk-shell .mk16-panel .mk-card-actions .mk-native-cart{color:#fff!important;background:#235ec8!important;min-width:36px!important;min-height:36px!important}
/* New optional showroom built from data-backed categories and WooCommerce products. */
body.mk-shell .mk16-showroom{display:grid;gap:var(--mk16-section-gap,22px);min-width:0;max-width:100%;margin:0 auto 28px}
body.mk-shell .mk16-showroom>.mk-module{width:100%;min-width:0}
body.mk-shell .mk16-showroom-hero{display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:14px;min-width:0}
body.mk-shell .mk16-showroom-promo{position:relative;min-width:0;min-height:240px;padding:22px 22px 16px;background:#f0f5f9;border:1px solid #e3eaf0;border-radius:18px;overflow:hidden;display:flex;align-items:flex-start;color:#1c3248!important;text-decoration:none!important}
body.mk-shell .mk16-showroom-promo:nth-child(2){background:#f7ece8}
body.mk-shell .mk16-showroom-promo:nth-child(3){background:#eef4e9}
body.mk-shell .mk16-showroom-promo>div{display:flex;flex-direction:column;gap:11px;position:relative;z-index:2;max-width:60%}
body.mk-shell .mk16-showroom-promo span{font-size:12px;color:#647387}
body.mk-shell .mk16-showroom-promo h2{font-size:clamp(19px,1.8vw,27px);line-height:1.25;margin:0!important;color:#17364e;font-weight:850}
body.mk-shell .mk16-showroom-promo b{font-size:12px;display:flex;align-items:center;gap:5px;color:#2359a9}
body.mk-shell .mk16-showroom-promo img{position:absolute;inset-inline-end:4%;bottom:-2%;width:45%;height:84%;max-width:45%;object-fit:contain;filter:drop-shadow(0 10px 12px #2233421f)}
/* Quick preview: fixed layout before AJAX resolves, image never overflows. */
body.mk-shell .mk16-quick-dialog{width:min(94vw,980px)!important;max-height:min(88dvh,800px)!important;overflow:auto!important;padding:35px 26px 25px!important;border-radius:18px!important;box-sizing:border-box!important}
body.mk-shell .mk16-quick{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:clamp(16px,3vw,32px)!important;align-items:start!important;direction:inherit!important}
body.mk-shell .mk16-quick .mk-gallery-stage{width:100%;height:330px!important;min-height:330px;max-width:100%!important;overflow:hidden!important;background:#f6f8fa!important;padding:20px!important;box-sizing:border-box;border-radius:14px}
body.mk-shell .mk16-quick .mk-gallery-main{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;object-fit:contain!important;mix-blend-mode:normal!important}
body.mk-shell .mk16-quick .mk-gallery-thumbs{justify-content:flex-start!important;gap:8px!important;padding-top:12px}
body.mk-shell .mk16-quick .mk-gallery-thumb{width:57px!important;height:62px!important;padding:5px!important;border-radius:9px!important}
body.mk-shell .mk16-quick .mk-quick-info{min-width:0;padding:8px 0!important}
body.mk-shell .mk16-quick .mk-quick-info h2{font-size:23px!important;line-height:1.5!important;letter-spacing:0!important}
body.mk-shell .mk16-quick .mk-price{font-size:25px!important;margin:8px 0!important}
body.mk-shell .mk16-quick-specs{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:14px 0 17px;padding:0}
body.mk-shell .mk16-quick-specs:empty{display:none}
body.mk-shell .mk16-quick-specs>div{display:flex;flex-direction:column;gap:3px;background:#f7f9fc;border:1px solid #e9eef2;border-radius:9px;padding:9px;min-width:0}
body.mk-shell .mk16-quick-specs dt{font-size:11px;color:#708195}
body.mk-shell .mk16-quick-specs dd{font-size:12px;font-weight:700;color:#273d53;margin:0;overflow-wrap:anywhere}
body.mk-shell .mk16-quick .mk-buybox{max-width:100%!important;padding:12px!important;margin:0!important;border:1px solid #e5edf3!important;border-radius:11px!important}
/* Avoid shadow duplicate controls inside the quick gallery. */
body.mk-shell .mk16-quick .mk-gallery-zoom{display:none!important}
@media(max-width:1024px){
 body.mk-shell .mk16-panel-categories .mk15-category-track{grid-auto-columns:calc((100% - 3*14px)/4)!important;gap:12px 10px!important}
 body.mk-shell .mk16-panel-categories .mk15-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.mk-shell .mk16-showroom-hero{grid-template-columns:1fr 1fr}
 body.mk-shell .mk16-showroom-promo:first-child{grid-column:1/-1}
}
@media(max-width:767px){
 body.mk-shell .mk16-panel{border-radius:14px!important}
 body.mk-shell .mk16-panel-heading{min-height:76px;gap:10px;padding:12px 14px}
 body.mk-shell .mk16-panel-heading h2{font-size:19px!important;line-height:1.35!important}
 body.mk-shell .mk16-panel-discover{min-height:36px;font-size:11px!important;padding:7px 10px!important;gap:6px}
 body.mk-shell .mk16-panel-body{padding:12px 10px 16px!important}
 body.mk-shell .mk16-panel-categories .mk15-category-track{grid-auto-columns:calc((100% - 3*9px)/4)!important;gap:11px 9px!important}
 body.mk-shell .mk16-panel-categories .mk15-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.mk-shell .mk16-panel-categories .mk15-category-tile{min-height:125px!important;gap:6px!important;padding:8px 3px!important}
 body.mk-shell .mk16-panel-categories .mk15-category-media{width:clamp(57px,17vw,74px)!important;height:clamp(57px,17vw,74px)!important;padding:7px!important}
 body.mk-shell .mk16-panel-categories .mk15-category-tile strong{font-size:10px!important}
 body.mk-shell .mk16-panel .mk-product-image{height:165px!important}
 body.mk-shell .mk16-showroom-hero{grid-template-columns:1fr 1fr;gap:9px}
 body.mk-shell .mk16-showroom-promo{min-height:160px;padding:13px 11px;border-radius:12px}
 body.mk-shell .mk16-showroom-promo:first-child{grid-column:1/-1;min-height:180px}
 body.mk-shell .mk16-showroom-promo h2{font-size:17px}
 body.mk-shell .mk16-showroom-promo span{font-size:9px}
 body.mk-shell .mk16-showroom-promo b{font-size:10px}
 body.mk-shell .mk16-showroom-promo img{height:73%;width:47%}
 body.mk-shell .mk16-quick-dialog{width:min(100vw,550px)!important;height:min(92dvh,900px)!important;max-height:92dvh!important;padding:36px 15px 20px!important;border-radius:16px 16px 0 0!important;margin:auto auto 0!important}
 body.mk-shell .mk16-quick{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.mk-shell .mk16-quick .mk-gallery-stage{height:245px!important;min-height:245px;padding:14px!important}
 body.mk-shell .mk16-quick .mk-quick-info{padding:0!important}
 body.mk-shell .mk16-quick .mk-quick-info h2{font-size:20px!important}
 body.mk-shell.mk16-mobile-1 .mk-products-grid:not(.mk-products-rail){grid-template-columns:1fr!important}
}
@media(max-width:370px){body.mk-shell .mk16-panel-categories .mk15-category-tile strong{font-size:9px!important}body.mk-shell .mk16-quick .mk-gallery-stage{height:218px!important;min-height:218px}}
@media(prefers-reduced-motion:reduce){body.mk-shell .mk16-panel *,body.mk-shell .mk16-showroom *{transition:none!important}}


/* Every homepage module uses one consistent heading rhythm, including the
   legacy highlights/showcase modules that do not pass through media_frame(). */
body.mk-shell .mk-home .mk-hx-wrap{display:grid;gap:var(--mk16-section-gap,22px);max-width:100%;min-width:0}
body.mk-shell .mk-home .mk-hx-section,
body.mk-shell .mk-home .mk-pro-showcase{background:#fff!important;border:1px solid #e2e9f0!important;box-shadow:0 8px 25px rgba(36,61,87,.045)!important;border-radius:var(--mk16-radius,18px)!important;overflow:hidden!important;min-width:0;padding:0!important;margin:0!important}
body.mk-shell .mk-home .mk-hx-heading,
body.mk-shell .mk-home .mk-pro-section-heading{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-height:90px!important;padding:17px clamp(16px,2vw,28px)!important;margin:0!important;background:linear-gradient(110deg,#edf4f9,#fff 85%)!important;border-bottom:1px solid #edf1f4!important;box-sizing:border-box}
body.mk-shell .mk-home .mk-hx-heading>div,
body.mk-shell .mk-home .mk-pro-section-heading>div{display:grid;gap:5px;min-width:0}
body.mk-shell .mk-home .mk-hx-heading h2,
body.mk-shell .mk-home .mk-pro-section-heading h2{font-size:clamp(20px,2vw,28px)!important;line-height:1.4!important;color:#20334b!important;font-weight:850!important;margin:0!important;padding:0!important}
body.mk-shell .mk-home .mk-hx-heading span,
body.mk-shell .mk-home .mk-pro-section-heading small{font-size:12px!important;color:#61788a!important;font-weight:650!important}
body.mk-shell .mk-home .mk-hx-heading>a,
body.mk-shell .mk-home .mk-pro-section-heading>a{white-space:nowrap;display:inline-flex!important;align-items:center!important;gap:5px;border:1px solid #dce6ee!important;border-radius:99px!important;background:#fff!important;color:var(--mk16-accent)!important;padding:8px 13px!important;min-height:35px!important;font-size:12px!important;font-weight:750!important;text-decoration:none!important}
body.mk-shell .mk-home .mk-hx-section>:not(.mk-hx-heading),
body.mk-shell .mk-home .mk-pro-showcase>.mk-pro-layout{margin:0!important;padding:18px clamp(14px,1.8vw,26px) 24px!important}
body.mk-shell.mk16-hide-eyebrows .mk-home .mk-hx-heading span,
body.mk-shell.mk16-hide-eyebrows .mk-home .mk-pro-section-heading small{display:none!important}
body.mk-shell.mk16-style-minimal .mk-home .mk-hx-heading,
body.mk-shell.mk16-style-minimal .mk-home .mk-pro-section-heading{background:#fff!important}
body.mk-shell.mk16-style-vivid .mk-home .mk-hx-heading,
body.mk-shell.mk16-style-vivid .mk-home .mk-pro-section-heading{background:linear-gradient(110deg,#dcecf7,#fff 85%)!important}
/* Quick skeleton occupies the same columns as the completed preview to prevent
   image/price layout flashes on the first uncached open. */
body.mk-shell .mk16-quick-dialog .mk-quick-loading{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:start!important;gap:clamp(16px,3vw,32px)!important;direction:inherit}
body.mk-shell .mk16-quick-dialog .mk-quick-loading-photo{display:grid;place-items:center;min-height:330px;height:330px;max-width:100%;overflow:hidden;background:#f6f8fa;border:1px solid #e8eef4;border-radius:14px}
body.mk-shell .mk16-quick-dialog .mk-quick-loading-photo img{display:block;object-fit:contain!important;width:100%;height:100%;max-height:320px}
body.mk-shell .mk16-quick-dialog .mk-quick-skeleton{display:block;height:14px;background:#eef2f7;border-radius:99px;margin:14px 0}
@media(max-width:767px){
 body.mk-shell .mk-home .mk-hx-heading,
 body.mk-shell .mk-home .mk-pro-section-heading{min-height:76px!important;padding:12px 14px!important;gap:8px!important}
 body.mk-shell .mk-home .mk-hx-heading h2,
 body.mk-shell .mk-home .mk-pro-section-heading h2{font-size:19px!important}
 body.mk-shell .mk-home .mk-hx-section>:not(.mk-hx-heading),
 body.mk-shell .mk-home .mk-pro-showcase>.mk-pro-layout{padding:12px 10px 17px!important}
 body.mk-shell .mk16-quick-dialog .mk-quick-loading{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 body.mk-shell .mk16-quick-dialog .mk-quick-loading-photo{height:245px;min-height:245px}
}

/* MarketKit 1.5.3 — header badge parity, on the actual icon (both LTR and RTL). */
body.mk-shell .mk-header .mk-header-action .mk-header-action-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;position:relative!important;width:26px!important;height:28px!important;min-width:26px!important;flex:0 0 26px!important;overflow:visible!important;isolation:isolate}
body.mk-shell .mk-header .mk-header-action .mk-header-action-icon>.mk-icon{display:block!important;width:23px!important;height:23px!important;min-width:23px!important;max-width:none!important;opacity:1!important;visibility:visible!important}
body.mk-shell .mk-header .mk-header-action .mk-header-action-icon>:is(.mk-cart-count,.mk-local-count){position:absolute!important;display:grid!important;place-items:center!important;top:-7px!important;inset-inline-end:-8px!important;inset-inline-start:auto!important;right:auto!important;bottom:auto!important;transform:none!important;min-width:18px!important;height:18px!important;width:auto!important;margin:0!important;padding:0 4px!important;border:2px solid var(--mk-header-bg,#feee00)!important;border-radius:999px!important;background:#19375d!important;color:#fff!important;font:700 10px/1 Arial,sans-serif!important;text-align:center!important;box-sizing:border-box!important;z-index:5!important;opacity:1!important;visibility:visible!important;pointer-events:none!important}
@media(max-width:767px){body.mk-shell .mk-header .mk-header-actions .mk-header-action>.mk-header-action-label{display:none!important}body.mk-shell .mk-header .mk-header-action .mk-header-action-icon{width:26px!important;min-width:26px!important}}
