/* 2.3: Precise correction based on v2.1 ONLY. */
/* Reference splash uses bottom:6em; arrow bottom:2.5em. This keeps title/subtitle just above arrow. */
body.tax-product_cat .mariani-category-hero .mariani-category-caption,
body.tax-mariani_product_cat .mariani-category-hero .mariani-category-caption {
  top:auto !important;
  bottom:6em !important;
  left:50% !important;
  right:auto !important;
  transform:translateX(-50%) !important;
  text-align:center;
}
/* Remove earlier compounded offsets on the logo, bring its visible slot UP slightly. */
@media(min-width:1024px){
  .header-container .menu-container > .header__logo.desktop-only {
    margin-top:-1.15em !important;
    transform:translateY(-3px) !important;
  }
}
/* Eliminate hover zoom on category thumbnails, while preserving image crossfade. */
body.tax-product_cat .mariani-category-products .product-grid__item img,
body.tax-mariani_product_cat .mariani-category-products .product-grid__item img,
body.tax-product_cat .mariani-category-products .product-grid__item a:hover img,
body.tax-mariani_product_cat .mariani-category-products .product-grid__item a:hover img {
  transform:none !important;
  scale:1 !important;
  transition:opacity .55s ease !important;
}
body.tax-product_cat .mariani-category-products .product-grid__item a:hover .mariani-primary-image,
body.tax-mariani_product_cat .mariani-category-products .product-grid__item a:hover .mariani-primary-image { opacity:0; }
body.tax-product_cat .mariani-category-products .product-grid__item a:hover .mariani-product-hover-image,
body.tax-mariani_product_cat .mariani-category-products .product-grid__item a:hover .mariani-product-hover-image { opacity:1; }
body.tax-product_cat .mariani-category-products .product-grid__item a:not(:has(.mariani-product-hover-image)):hover .mariani-primary-image,
body.tax-mariani_product_cat .mariani-category-products .product-grid__item a:not(:has(.mariani-product-hover-image)):hover .mariani-primary-image { opacity:1; }
/* No redundant title label above product list; keep category hero H1 for accessibility/SEO. */
body.tax-product_cat .mariani-category-products > .container > .page-title,
body.tax-product_cat .mariani-category-products > .container > .entry-title,
body.tax-mariani_product_cat .mariani-category-products > .container > .page-title,
body.tax-mariani_product_cat .mariani-category-products > .container > .entry-title {display:none !important;}
@media(max-width:767px){
  body.tax-product_cat .mariani-category-hero .mariani-category-caption,
  body.tax-mariani_product_cat .mariani-category-hero .mariani-category-caption {
    bottom:clamp(18px,5vw,36px) !important;
  }
}
