/* Mountain Gold original packaging gallery - visual-only supplement to V15 layouts */
#mg-product-v15 .mg16-pack-slide{padding:13px!important}
#mg-product-v15 .mg16-pack-full{display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;z-index:2;width:100%;height:100%;text-decoration:none!important;color:#6e3023}
#mg-product-v15 .mg16-pack-image{display:block;height:calc(100% - 34px);width:100%;max-height:100%;max-width:100%;object-fit:contain;filter:none!important}
#mg-product-v15 .mg16-gallery-zoom{height:28px;padding:5px 15px;background:#fff9f2;border:1px solid #ead4bb;border-radius:18px;font-size:11px;font-weight:750;line-height:1.5}
#mg-product-v15 .mg16-pack-thumb img{object-fit:contain;max-height:60px}
#mg-product-v15 .mg16-pack-thumb{font-size:10px!important}
#mg-product-v15 .mg15-thumbs{max-width:100%;flex-wrap:wrap;gap:9px}
#mg-product-v15 .mg16-pack-facts{background:#fffaf2;border-block:1px solid #eedec9}
#mg-product-v15 .mg16-pack-facts h2{font:400 clamp(28px,4vw,49px)/1.12 'DM Serif Display',Georgia,serif;margin:0 0 23px;color:#341b11}
#mg-product-v15 .mg16-pack-facts-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:17px}
#mg-product-v15 .mg16-pack-facts-grid article{background:#fff;border:1px solid #ead9c6;border-radius:19px;padding:24px}
#mg-product-v15 .mg16-pack-facts-grid h3{font-size:18px;font-weight:800;color:#98202b;line-height:1.3;margin:0 0 12px}
#mg-product-v15 .mg16-pack-facts-grid p{font-size:16px;color:#49382c;line-height:1.7;overflow-wrap:anywhere}
#mg-product-v15 .mg16-pack-notice{font-size:12px;color:#806958;line-height:1.6;margin:18px 0 0}
@media(max-width:680px){
 #mg-product-v15 .mg16-pack-slide{padding:9px!important}
 #mg-product-v15 .mg16-pack-image{height:calc(100% - 30px)}
 #mg-product-v15 .mg15-thumbs{gap:7px}
 #mg-product-v15 .mg16-pack-thumb{width:82px;height:85px}
 #mg-product-v15 .mg16-pack-facts-grid article{padding:18px}
}

/* Visual gallery only: no captions below product or panel thumbnails. */
#mg-product-v15 .mg15-thumb{gap:0!important;padding:8px!important;justify-content:center!important;align-items:center!important}
#mg-product-v15 .mg15-thumb img{width:100%!important;height:100%!important;max-height:76px!important;object-fit:contain!important}
#mg-product-v15 .mg15-thumb svg{width:32px;height:32px}
#mg-product-v15 .mg15-thumbs{align-items:stretch}

/* Mobile product details: keep all thumbnail rows in normal flow and give the
   heading its own clear row. Prevents last thumbnail row covering product title. */
@media(max-width:720px){
 #mg-product-v15 .mg15-hero{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:32px!important;padding-bottom:48px!important;
 }
 #mg-product-v15 .mg15-gallery{
  position:relative!important;top:auto!important;display:block!important;
  width:100%!important;min-width:0!important;flex:none!important;
  margin:0 0 16px!important;overflow:visible!important;
 }
 #mg-product-v15 .mg15-thumbs{
  position:relative!important;display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(72px,1fr))!important;
  gap:10px!important;align-items:stretch!important;justify-items:stretch!important;
  height:auto!important;min-height:0!important;overflow:visible!important;
  margin-top:14px!important;
 }
 #mg-product-v15 .mg15-thumb{
  box-sizing:border-box!important;display:flex!important;
  width:100%!important;max-width:none!important;height:84px!important;
  margin:0!important;padding:7px!important;
 }
 #mg-product-v15 .mg15-product-summary{
  display:block!important;position:relative!important;clear:both!important;
  flex:none!important;width:100%!important;min-width:0!important;
  margin:0!important;padding:0!important;transform:none!important;
 }
 #mg-product-v15 .mg15-product-summary h1{
  margin-top:12px!important;line-height:1.13!important;
  overflow-wrap:break-word!important;
 }
}
