/* Shared product detail gallery; generated product content remains untouched. */
.product-gallery-layout .section3.is-empty{display:none;}
.product-gallery-layout .pro_other_title{margin-bottom:20px;}
.product-gallery-layout .section1{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:28px;align-items:start;}
.product-gallery-layout .section1::before,.product-gallery-layout .section1::after{display:none;}
.product_item.product-gallery-layout .section1 .proimage,.product_item.product-gallery-layout .section1 .proname{float:none;width:auto;min-width:0;padding:0;}
.product-gallery-layout .image_div{width:100%;}
.product-gallery-layout .main_image{background:#fff;border:1px solid #e5e5e5;border-radius:6px;overflow:hidden;}
.product-gallery-layout .main_image > a{display:flex;align-items:center;justify-content:center;aspect-ratio:3 / 2;padding:12px;box-sizing:border-box;}
.product_item.product-gallery-layout .proimage .image_div .main_image a img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;}
.product-gallery-layout .image_div .index_case{margin-top:26px;width:100%;}
.product-gallery-layout .image_div .image_ul{display:flex;justify-content:space-between;gap:12px;overflow-x:auto;list-style:none;margin:0;padding:3px 2px 9px;}
.product-gallery-layout .image_div .image_ul li{float:none;flex:0 0 82px;margin:0;padding:0;}
.product-gallery-layout .gallery-thumb{display:flex;align-items:center;justify-content:center;width:82px;height:70px;padding:5px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer;box-sizing:border-box;transition:border-color .2s,box-shadow .2s;}
.product-gallery-layout .gallery-thumb:hover,.product-gallery-layout .gallery-thumb.is-active{border-color:#aa0000;box-shadow:0 0 0 1px #aa0000;}
.product-gallery-layout .gallery-thumb:focus-visible,.product-gallery-layout .main_image a:focus-visible{outline:2px solid #aa0000;outline-offset:3px;}
.product_item.product-gallery-layout .proimage .image_div .image_ul li img{display:block;width:100%;height:100%;object-fit:contain;margin:0;border:0;}
.product_item.product-gallery-layout .section1 .proname h2{font-family:Arial,sans-serif;font-size:28px;font-weight:600;line-height:1.3;color:#252525;margin:0 0 22px;padding:0 0 20px;border-bottom:2px solid #aa0000;overflow-wrap:anywhere;}
.product-gallery-layout > ul.nav{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0 0 24px;padding:12px 15px;list-style:none;background:#f7f7f7;border:1px solid #eee;font-size:13px;line-height:1.6;}
.product-gallery-layout > ul.nav > li{display:block;float:none;margin:0;padding:0;line-height:1.6;}
.product-gallery-layout > ul.nav a{color:#666;}
.product-gallery-layout > ul.nav > li > span{color:#666;font-size:15px;font-weight:700;padding:0 3px;}
.product-gallery-layout > ul.nav > li:last-child a{color:#aa0000;}
@media (max-width:767.98px){
  .product-gallery-layout .section1{grid-template-columns:minmax(0,1fr);gap:24px;}
  .product_item.product-gallery-layout .section1 .proname h2{font-size:24px;}
}
