/* MarketKit 2.6 — scoped preview, product/catalog/home upgrades only.
 * Header, sticky offset, address, and cart icon deliberately untouched. */
body.mk-shell .mk-quick-dialog.mk16-quick-dialog.mk26-quick-dialog[open]{
  box-sizing:border-box!important;
  height:min(760px,calc(100dvh - 32px))!important;
  max-height:calc(100dvh - 32px)!important;
  min-height:0!important;
  overflow:hidden!important;
  width:min(1150px,calc(100vw - 32px))!important;
}
body.mk-shell .mk-quick-dialog.mk26-quick-dialog [data-mk-quick-content]{
  height:100%!important;max-height:none!important;min-height:0!important;
  overflow-y:auto!important;overflow-x:hidden!important;
  box-sizing:border-box!important;
  overscroll-behavior:contain;
}
body.mk-shell .mk-quick-dialog.mk26-quick-dialog .mk26-preview-skeleton{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:clamp(20px,3vw,42px)!important;padding:clamp(24px,3vw,42px)!important;
  min-height:560px;box-sizing:border-box;align-items:start;
}
body.mk-shell .mk26-skeleton-gallery{background:#f5f8fe;border:1px solid #e1eaf7;border-radius:20px;overflow:hidden;padding:15px}
body.mk-shell .mk26-sk-photo{height:350px;max-height:43dvh;border-radius:14px;background:#e9f0fa;display:grid;place-items:center;overflow:hidden}
body.mk-shell .mk26-sk-photo img{max-width:100%;max-height:100%;object-fit:contain;width:auto;height:auto;display:block}
body.mk-shell .mk26-sk-photo:has(img){background:linear-gradient(130deg,#f8fbff,#eaf1fb)}
body.mk-shell .mk26-sk-thumbs{display:flex;justify-content:center;gap:10px;margin-top:16px}
body.mk-shell .mk26-sk-thumbs i{display:block;width:62px;height:58px;border-radius:11px}
body.mk-shell .mk26-skeleton-info{display:flex;flex-direction:column;gap:16px;padding:20px 4px 0;min-width:0}
body.mk-shell .mk26-skeleton-kicker{font-size:12px;font-weight:800;color:#2354bd;background:#eef5ff;padding:8px 12px;border-radius:999px;align-self:flex-start}
body.mk-shell .mk26-sk-line{height:17px;border-radius:8px;display:block;max-width:100%}
body.mk-shell .mk26-sk-buy{height:115px;border-radius:17px;margin-top:8px}
body.mk-shell .mk26-skeleton-wait{font-size:12px;color:#587394;font-weight:700;margin:4px 0;line-height:1.8}
body.mk-shell .mk26-shimmer{background:linear-gradient(100deg,#e9f0fa 12%,#f8fbff 36%,#e9f0fa 62%);background-size:200% 100%;animation:mk26-shimmer 1.4s linear infinite}
@keyframes mk26-shimmer{to{background-position:-200% 0}}
@media(prefers-reduced-motion:reduce){body.mk-shell .mk26-shimmer{animation:none}}
body.mk-shell .mk26-preview-error{margin:clamp(20px,5vw,56px);min-height:260px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:12px}
body.mk-shell .mk26-preview-error .mk-button{margin-inline-end:8px}
@media(max-width:767px){
  body.mk-shell .mk-quick-dialog.mk16-quick-dialog.mk26-quick-dialog[open]{width:calc(100vw - 16px)!important;height:calc(100dvh - 20px)!important;max-height:calc(100dvh - 20px)!important;border-radius:18px!important}
  body.mk-shell .mk-quick-dialog.mk26-quick-dialog .mk26-preview-skeleton{grid-template-columns:minmax(0,1fr)!important;padding:22px 18px!important;gap:12px!important;min-height:0!important}
  body.mk-shell .mk26-sk-photo{height:220px;max-height:none}
  body.mk-shell .mk26-sk-thumbs i{width:48px;height:40px}
  body.mk-shell .mk26-skeleton-info{gap:12px;padding:2px 0}
  body.mk-shell .mk26-sk-buy{height:84px;margin-top:0}
}
/* Sale end dates are real WooCommerce sale schedule dates; hidden when none is configured. */
body.mk-shell .mk26-sale-deadline{display:inline-flex;gap:5px;align-items:center;max-width:100%;font-size:11px;line-height:1.5;font-weight:800;color:#a05d10;background:#fff8e8;border:1px solid #ffebc5;border-radius:9px;padding:5px 9px;margin:8px 0;white-space:normal}
body.mk-shell .mk26-sale-deadline[hidden]{display:none!important}
body.mk-shell .mk26-sale-deadline [aria-hidden]{font-size:15px}
body.mk-shell .mk-product-card .mk26-sale-deadline{margin:8px 0 2px;align-self:flex-start}
body.mk-shell .mk-pdp-info > .mk26-sale-deadline{margin:6px 0 16px}
/* Catalog shortcuts link to real categories and do not change existing filtering mechanics. */
body.mk-shell .mk26-category-shortcuts{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-block:16px 20px;padding-block:8px}
body.mk-shell .mk26-category-shortcuts > strong{font-size:13px;font-weight:850;color:#25466c;flex:0 0 auto}
body.mk-shell .mk26-category-links{display:flex;flex:1 1 400px;gap:8px;overflow-x:auto;scrollbar-width:thin;max-width:100%;padding:4px 0}
body.mk-shell .mk26-category-links a{flex:0 0 auto;display:inline-flex;gap:9px;align-items:center;min-height:38px;padding:7px 12px;border:1px solid #dfe9f8;border-radius:10px;background:#fff;color:#244469;text-decoration:none;font-size:12px;font-weight:800;transition:border-color .18s,background .18s}
body.mk-shell .mk26-category-links a:hover,body.mk-shell .mk26-category-links a:focus-visible{border-color:#8dabec;background:#edf4ff;color:#1e4daf}
body.mk-shell .mk26-category-links small{color:#527bbb;background:#eef4ff;border-radius:7px;padding:3px 6px;font-size:10px}
/* Product detail and existing homepage-section navigation; no additional widgets or product queries. */
body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation){display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;padding:13px 16px;background:#f8fbff;border:1px solid #e0e9f6;border-radius:14px;margin-block:18px 26px;max-width:100%;box-sizing:border-box}
body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation)>strong{font-size:12px;font-weight:850;color:#153a64;margin-inline-end:3px}
body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation) a{font-size:12px;line-height:1.5;font-weight:800;border-radius:999px;padding:8px 13px;background:#fff;color:#28569f;border:1px solid #dce8fa;text-decoration:none}
body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation) a:hover,body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation) a:focus-visible{background:#eaf2ff;color:#1646a9;border-color:#aac4fb}
body.mk-shell :is(.mk-pdp-details,.mk24-bundle,.mk25-qa,.mk-home .mk-section){scroll-margin-top:135px}
@media(max-width:767px){body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation){flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:10px 12px;border-radius:12px}body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation)>strong,body.mk-shell :is(.mk26-product-navigation,.mk26-home-navigation) a{flex:0 0 auto}}
body.mk-shell .mk26-skeleton-product-name{font-size:clamp(18px,2vw,26px);line-height:1.5;color:#143454;font-weight:850;overflow-wrap:anywhere}
