/* Restore the measured Kalium image slots; keep HUAGE source records outside them. */
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .shop-categories.products {
  gap: 48px !important;
  align-items: start !important;
}
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .shop-categories.columns-lg-6 { grid-template-columns: repeat(6,minmax(0,1fr)) !important; }
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .shop-categories.columns-lg-3 { grid-template-columns: repeat(3,minmax(0,1fr)) !important; }
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .image-placeholder[data-huage-image-frame="reference-category"] {
  --k-ratio: .750751;
  display: block !important; position: relative !important;
  inline-size: 100% !important; block-size: auto !important;
  aspect-ratio: 500 / 666 !important; min-block-size: 0 !important; max-block-size: none !important;
  overflow: hidden !important; border-radius: 0 !important; background: transparent !important;
}
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .image-placeholder[data-huage-image-frame="reference-product"] {
  --k-ratio: .8888888889;
  display: block !important; position: relative !important;
  inline-size: 100% !important; block-size: auto !important;
  aspect-ratio: 8 / 9 !important; min-block-size: 0 !important; max-block-size: none !important;
  overflow: hidden !important; border-radius: 0 !important;
}
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .image-placeholder[data-huage-image-frame="reference-post"] {
  --k-ratio: 1.3333333333;
  display:block !important; position:relative !important; inline-size:100% !important; block-size:auto !important;
  aspect-ratio:4 / 3 !important; min-block-size:0 !important; max-block-size:none !important;
  overflow:hidden !important; border-radius:0 !important; background:transparent !important;
}
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .image-placeholder[data-huage-image-frame^="reference-"]:before { display: none !important; }
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .image-placeholder[data-huage-image-frame^="reference-"]>img.huage-standard-image {
  display: block !important; position: static !important; inset: auto !important;
  inline-size: 100% !important; block-size: auto !important;
  width: 100% !important; height: auto !important; max-height: none !important;
  aspect-ratio: var(--k-ratio) !important; object-fit: cover !important; object-position: center !important;
  border-radius: 0 !important; transform: none !important;
}
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .category-box { background: transparent !important; border-radius: 0 !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity].huage-source-article { padding-block:0 !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity].huage-source-article .entry-header { margin:0 0 30px !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .single-product__summary-container { grid-template-columns:50% minmax(0,1fr) !important; gap:64px !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .huage-product-images { display:grid !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; gap:16px !important; align-items:start !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .huage-product-images>p { grid-column:1 / -1 !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .huage-product-images>.huage-product-gallery-image { display:block; position:relative; min-width:0; width:100%; padding:0; margin:0; border:0; border-radius:0; color:inherit; background:transparent; cursor:zoom-in; aspect-ratio:2 / 3; overflow:hidden; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .huage-product-images>.huage-product-gallery-image:first-of-type { grid-column:1 / -1 !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .huage-product-images>.huage-product-gallery-image>img.huage-standard-image[data-huage-image-standard="reference-detail"] { display:block !important; position:static !important; width:100% !important; height:100% !important; max-width:none !important; max-height:none !important; aspect-ratio:2 / 3 !important; object-fit:cover !important; object-position:center !important; border-radius:0 !important; }
html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .huage-product-gallery-image:focus-visible { outline:2px solid #8d7045; outline-offset:3px; }
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index {
  display: block; clear: both; width: calc(100% - 128px); max-width: 1312px;
  margin: 32px auto; padding: 14px 0; border-block: 1px solid #ded7cc;
  color: #615748; background: transparent; font-size: 13px; line-height: 1.8;
}
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index>summary { cursor:pointer; }
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index>div { padding-block: 20px; }
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index .huage-source-records { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index figure { margin:0; min-width:0; }
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index img { display:block; width:auto !important; height:auto !important; max-width:100% !important; max-height:280px !important; aspect-ratio:auto !important; object-fit:contain !important; margin-inline:auto; }
html body.huage-static[data-huage-site="UK"] main .huage-provenance-index figcaption { margin-top:10px; overflow-wrap:anywhere; }
@media(max-width:991.98px) {
  html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .shop-categories.products { gap:16px !important; grid-template-columns:minmax(0,1fr) !important; }
}
@media(max-width:991.98px) {
  html body.huage-static[data-huage-site="UK"] main[data-huage-template-parity] .single-product__summary-container { grid-template-columns:minmax(0,1fr) !important; }
}
@media(min-width:768px) and (max-width:991.98px) {
  html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main[data-huage-media-layout][data-huage-template-parity] .shop-categories.products { gap:32px !important; }
}
@media(max-width:767px) {
  html body.huage-static[data-huage-site="UK"] main .huage-provenance-index { width:calc(100% - 32px); margin-block:24px; }
  html body.huage-static[data-huage-site="UK"] main .huage-provenance-index .huage-source-records { grid-template-columns:minmax(0,1fr); }
}

/* Keep the source shortcode images in normal flow so their ratios contribute to the widget's intrinsic height. */
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main.elementor-1518[data-huage-media-layout][data-huage-template-parity] .elementor-widget-shortcode .image-placeholder:is([data-huage-image-frame="reference-category"],[data-huage-image-frame="reference-product"])>img.huage-standard-image {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  block-size: auto !important;
  aspect-ratio: var(--k-ratio) !important;
}

/* Let the template's responsive flex rows replace captured desktop Masonry coordinates. */
html body.huage-static[data-huage-site="UK"] main.elementor-1518 #blog-posts-0925835.masonry-container {
  height: auto !important;
}
html body.huage-static[data-huage-site="UK"] main.elementor-1518 #blog-posts-0925835.masonry-container > li.post {
  position: static !important;
  left: auto !important;
  top: auto !important;
}
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main.elementor-1518[data-huage-media-layout][data-huage-template-parity] .elementor-widget-kalium-blog-posts .image-placeholder[data-huage-image-frame="reference-post"]>img.huage-standard-image {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  block-size: auto !important;
  aspect-ratio: 4 / 3 !important;
}

/* Source category hover: 1.05 scale over 0.8 seconds; keep the photograph inside its frame. */
@media (hover:hover) and (prefers-reduced-motion:no-preference){
html body.huage-static[data-huage-site="UK"][data-huage-image-system="standard"] main.elementor-1518[data-huage-media-layout][data-huage-template-parity] .category-box:hover .image-placeholder[data-huage-image-frame="reference-category"]>img.huage-standard-image{transform:scale(1.05)!important;transition:transform .8s ease!important;}
}
