/* Modern Metal V18 — unified site width and restrained gallery */
body.os-metal-v2{--mm-content-width:1440px;--mm-page-gutter:clamp(14px,2.3vw,28px)}
/* All main content pages share the home page maximum width. Inner cards retain their own sizes. */
body.os-metal-v2 .container,
body.os-metal-v2 :is(.os-delivery-shell,.os-payment-shell,.os-policy-shell,.os-track-shell,.os-account-shell,.os-dealer-shell,.os-contact-shell,.legal-wrap,.os-success-wrap,.os-search-page,.os-auth-shell,.os-cartm-page,.os-vshop-page,.os-cmin-page,.os-checkout-page,.os-dealer-orders-page,.os-return-list-page,.os-return-page,.os-account-page,.os-dealer-page,.os-policy-page,.os-track-page,.os-delivery-page,.os-payment-page,.oz-catalog-page,.cp-page,.cr-wrap,.receipt-wrap,.pr-page,.pr-wrap,.fp-page,.vb-page,.order-success-page,.os-success-page){
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--mm-content-width)!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
/* Avoid double-gutters when a page already contains the shared container. */
body.os-metal-v2 .container{padding-left:var(--mm-page-gutter)!important;padding-right:var(--mm-page-gutter)!important}
body.os-metal-v2 :is(.os-delivery-shell,.os-payment-shell,.os-policy-shell,.os-track-shell,.os-account-shell,.os-dealer-shell,.legal-wrap,.os-success-wrap,.os-search-page,.os-auth-shell,.os-cartm-page,.os-cmin-page,.os-checkout-page,.os-dealer-orders-page,.os-return-list-page,.os-return-page,.os-account-page,.os-dealer-page,.os-policy-page,.oz-catalog-page,.cp-page,.cr-wrap,.receipt-wrap,.pr-page,.pr-wrap,.fp-page,.vb-page,.order-success-page,.os-success-page):not(.container){padding-left:var(--mm-page-gutter)!important;padding-right:var(--mm-page-gutter)!important}
/* No horizontal stretching or overflow in flex/grid columns. */
body.os-metal-v2 :is(.os-detail-grid,.os-vshop-layout,.os-contact-shell,.os-payment-grid,.os-delivery-grid,.os-policy-grid,.os-track-grid,.os-cartm-grid,.mm-hero-grid)>*{min-width:0}
/* Gallery: keep frames restrained, prevent both thumbnail stretching and product cropping. */
body.os-metal-v2 .os-detail-main-image,
body.os-metal-v2 .os-detail-thumbs{background:#101820!important}
body.os-metal-v2 .os-detail-img{
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;width:100%!important;height:clamp(255px,31vw,390px)!important;
  min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;
  padding:12px!important;background:#121d28!important;border:1px solid rgba(202,161,92,.18)!important;
  border-radius:17px!important;
}
body.os-metal-v2 .os-detail-img img,
body.os-metal-v2 .os-detail-img img#osDetailMainImage{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;margin:0!important;
}
body.os-metal-v2 .os-detail-thumbs{
  display:flex!important;flex-wrap:wrap!important;align-items:flex-start!important;justify-content:flex-start!important;
  gap:8px!important;grid-template-columns:none!important;overflow:visible!important;
}
body.os-metal-v2 .os-detail-thumb{
  display:flex!important;align-items:center!important;justify-content:center!important;
  box-sizing:border-box!important;flex:0 0 68px!important;width:68px!important;height:68px!important;
  min-width:0!important;max-width:68px!important;max-height:68px!important;aspect-ratio:1!important;
  overflow:hidden!important;padding:5px!important;border-radius:11px!important;
  background:#15212d!important;border:1px solid rgba(202,161,92,.20)!important;
}
body.os-metal-v2 .os-detail-thumb img{
  display:block!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;object-position:center!important;
}
body.os-metal-v2 .os-detail-thumb.is-active{border-color:#caa15c!important;box-shadow:0 0 0 1px #caa15c!important}
@media(max-width:767px){
  body.os-metal-v2 .os-detail-img{height:clamp(230px,65vw,340px)!important;padding:8px!important}
  body.os-metal-v2 .os-detail-thumb{flex-basis:58px!important;width:58px!important;height:58px!important;max-width:58px!important;max-height:58px!important;padding:4px!important}
  body.os-metal-v2 .os-detail-thumbs{gap:7px!important}
}
@media(max-width:480px){body.os-metal-v2 .os-detail-img{height:min(75vw,310px)!important}}
