/* Corrections 2, 3, 7 and 8. Load after leo-refinements; navigation/dock stay separate. */
@media (min-width:1280px){
 /* The existing 240px hero contains 204px tiles: 8px padding leaves 186px for the emblem. */
 body.mnxv3-storefront .homepage>.home-hero>.hero-art.brand-master{
  display:grid!important;place-items:center!important;padding:8px!important;
 }
 body.mnxv3-storefront .homepage>.home-hero>.hero-art.brand-master>img{
  position:static!important;inset:auto!important;width:185px!important;height:185px!important;
  max-width:185px!important;max-height:185px!important;padding:0!important;margin:0!important;
  object-fit:contain;transform:none!important;
 }
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser{gap:8px;padding:12px;justify-content:flex-start}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>img{width:54px;height:54px;object-fit:contain;flex:none}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>p{font-size:13px;line-height:1.25;letter-spacing:.02em;color:#d4af37;margin:0}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>h2{font-size:30px;font-weight:700;line-height:1.1;margin:0;overflow-wrap:normal}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>.leo-gold-button{font-size:14px;line-height:1.2;padding:8px 18px;box-sizing:border-box;max-width:100%}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-slider-controls{margin-top:auto}

 /* Native Woo floats remain intact. 300px media + 40px thumbs target a 350–365px top row. */
 body.mnxv3-storefront.single-product .woocommerce-shell{padding-top:12px}
 body.mnxv3-storefront.single-product .woocommerce-breadcrumb{font-size:11px;line-height:1.3;margin:0 0 10px}
 body.mnxv3-storefront.single-product .woocommerce div.product{padding-top:0}
 body.mnxv3-storefront.single-product .woocommerce div.product div.images,
 body.mnxv3-storefront.single-product .woocommerce div.product .summary{margin-top:0;margin-bottom:6px;min-width:0}
 body.mnxv3-storefront.single-product .woocommerce div.product .woocommerce-product-gallery .flex-viewport{
  height:300px!important;max-height:300px!important;
 }
 body.mnxv3-storefront.single-product .woocommerce-product-gallery__wrapper{margin:0}
 body.mnxv3-storefront.single-product .woocommerce-product-gallery__image{height:300px!important;min-height:0}
 body.mnxv3-storefront.single-product .woocommerce-product-gallery__image img:not(.zoomImg){
  display:block;width:auto!important;max-width:100%!important;height:300px!important;max-height:300px!important;
  object-fit:contain;margin:0 auto!important;
 }
 body.mnxv3-storefront.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs{
  gap:6px;margin:6px 0 0;padding:0 0 2px;align-items:flex-start;scrollbar-width:thin;
 }
 body.mnxv3-storefront.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs>li{
  flex:0 0 40px;width:40px!important;max-width:40px;
 }
 body.mnxv3-storefront.single-product .woocommerce div.product .woocommerce-product-gallery .flex-control-thumbs>li img{
  display:block;width:40px!important;height:40px!important;object-fit:cover;
 }
 body.mnxv3-storefront.single-product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar{height:6px}
 body.mnxv3-storefront.single-product .summary h1.product_title{
  font-size:22px!important;line-height:1.15;margin:0 0 6px;overflow-wrap:anywhere;
 }
 body.mnxv3-storefront.single-product .summary :is(.price,.woocommerce-product-details__short-description,form.cart){margin-top:0;margin-bottom:6px}
 body.mnxv3-storefront.single-product .summary .price{font-size:18px;line-height:1.2}
 body.mnxv3-storefront.single-product .summary .woocommerce-product-details__short-description{
  max-height:36px;overflow:auto;font-size:12px;line-height:1.4;overscroll-behavior:contain;
 }
 body.mnxv3-storefront.single-product .summary .woocommerce-product-details__short-description p{margin:0 0 3px}
 /* Only option lists scroll; the selected variation and buy controls stay outside this region. */
 body.mnxv3-storefront.single-product .summary table.variations{
  display:block;box-sizing:border-box;width:100%;max-height:100px;overflow:auto;margin:0 0 5px;
  overscroll-behavior:contain;scrollbar-width:thin;
 }
 body.mnxv3-storefront.single-product .summary table.variations tbody{display:table;width:100%;table-layout:fixed}
 body.mnxv3-storefront.single-product .summary table.variations :is(th,td){padding-top:1px;padding-bottom:1px;vertical-align:top}
 body.mnxv3-storefront.single-product .summary table.variations th.label{width:68px;font-size:11px;line-height:1.3;padding-right:6px}
 body.mnxv3-storefront.single-product .summary table.variations td.value{min-width:0}
 body.mnxv3-storefront.single-product .summary .leo-swatches{gap:0;margin:0;max-height:70px;padding:0;overflow:auto;scrollbar-width:thin}
 body.mnxv3-storefront.single-product .summary .leo-swatches button{
  padding:3px 8px;margin:2px;min-height:24px;font-size:11.5px;line-height:1.2;max-width:100%;
  white-space:normal;overflow-wrap:anywhere;box-sizing:border-box;
 }
 body.mnxv3-storefront.single-product .summary .leo-swatches i{width:12px;height:12px;flex:0 0 12px}
 body.mnxv3-storefront.single-product .summary .reset_variations{display:inline-block;font-size:11px;line-height:1.2;margin:2px}
 body.mnxv3-storefront.single-product .summary :is(.leo-variant-note,.stock){font-size:11px;line-height:1.25;margin:3px 0 5px}
 body.mnxv3-storefront.single-product .summary .woocommerce-variation-description{font-size:12px;line-height:1.3;max-height:36px;overflow:auto}
 body.mnxv3-storefront.single-product .summary .woocommerce-variation-description p{margin:0 0 3px}
 body.mnxv3-storefront.single-product .summary .woocommerce-variation-price{margin:2px 0 5px}
 body.mnxv3-storefront.single-product .summary :is(.woocommerce-variation-add-to-cart,form.cart:not(.variations_form)){
  display:flex;flex-wrap:wrap;align-items:stretch;gap:8px;
 }
 body.mnxv3-storefront.single-product .summary form.cart .quantity{margin:0!important;float:none}
 body.mnxv3-storefront.single-product .summary form.cart .quantity input.qty{
  box-sizing:border-box;width:66px;min-height:36px;height:36px;padding:4px 6px;font-size:13px;
 }
 body.mnxv3-storefront.single-product .summary .single_add_to_cart_button{
  box-sizing:border-box;min-height:36px;padding:7px 14px;line-height:20px;font-size:13px;margin:0;
 }
 body.mnxv3-storefront.single-product .summary .product_meta{font-size:11px;line-height:1.35;margin-top:5px;overflow-wrap:anywhere}
 body.mnxv3-storefront.single-product .summary .product_meta>span{display:inline;margin-right:8px}
 body.mnxv3-storefront.single-product .related.products{margin-top:15px;padding-top:8px}
 body.mnxv3-storefront.single-product .related.products>h2{font-size:20px;line-height:1.2;margin:0 0 8px}
 body.mnxv3-storefront.single-product .related.products ul.products{display:grid;grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:10px!important;margin:0}
 body.mnxv3-storefront.single-product .related.products ul.products li.product{min-width:0}
 body.mnxv3-storefront.single-product .related.products ul.products li.product img{max-height:180px;object-fit:contain}
}

@media (min-width:1000px){
 body.mnxv3-storefront .leo-phoenix-story.content-shell{align-items:stretch}
 body.mnxv3-storefront .leo-phoenix-story-art{
  display:flex;align-items:stretch;align-self:stretch;position:sticky;top:120px;height:100%;
  min-height:680px;min-width:0;border-radius:8px;
 }
 body.mnxv3-storefront .leo-phoenix-story-art img{
  display:block;width:100%;height:100%;min-height:680px;object-fit:cover;border-radius:8px;
 }
}
@media (max-width:999px){
 body.mnxv3-storefront .leo-phoenix-story.content-shell{grid-template-columns:1fr;align-items:start}
 body.mnxv3-storefront .leo-phoenix-story-art{position:static;top:auto;height:auto;min-height:0;max-width:650px;width:100%;margin:auto}
 body.mnxv3-storefront .leo-phoenix-story-art img{width:100%;height:auto;min-height:0;object-fit:contain;border-radius:8px}
}
/* Tablet keeps the established stacked/roomier controls instead of shrinking touch targets. */
@media (min-width:761px) and (max-width:1279px){
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>img{width:54px;height:54px;object-fit:contain}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>p{font-size:12px;color:#d4af37}
 body.mnxv3-storefront .homepage>.leo-category-row .leo-row-teaser>h2{font-size:28px;font-weight:700}
}
