/* MPP Gallery V2 — scoped to opt-in product pages only.
   Presentation only: no pricing, crop, cart or schema selectors are changed. */
body.mpp-gallery-v2 .detail-main.mpp-room-preview-active {
  max-width: 1900px;
  padding-left: 4%;
  padding-right: 4%;
}
body.mpp-gallery-v2 .detail-main.mpp-room-preview-active .detail-layout {
  grid-template-columns: minmax(0, 1fr) minmax(340px, 460px);
  gap: clamp(28px, 3vw, 55px);
}
body.mpp-gallery-v2 .detail-main.mpp-room-preview-active .detail-copy h1 {
  font-size: clamp(40px, 3.4vw, 66px);
}
body.mpp-gallery-v2 .mpp-gallery-stage-wrap {
  min-width: 0;
  width: 100%;
}
body.mpp-gallery-v2 .mpp-gallery-view-large {
  display: block;
  width: 100%;
  margin-top: 11px;
  padding: 11px 16px;
  border: 1px solid #545454;
  background: #1c1d1f;
  color: #e6e5e2;
  font: inherit;
  font-size: 12px;
  letter-spacing: .055em;
  cursor: pointer;
  text-align: center;
}
body.mpp-gallery-v2 .mpp-gallery-view-large:hover {background:#292a2c;border-color:#aaa}
body.mpp-gallery-v2 .mpp-gallery-view-large:focus-visible {outline:2px solid #fff;outline-offset:3px}
body.mpp-gallery-v2 .mpp-gallery-lightbox {
  background: #101112;
  color: #f4f4f4;
  padding: 16px;
  border: 1px solid #404040;
  width: min(96vw, 1600px);
  max-width: none;
  max-height: 96dvh;
  box-sizing: border-box;
  overflow: auto;
}
body.mpp-gallery-v2 .mpp-gallery-lightbox::backdrop {background:rgba(0,0,0,.92)}
body.mpp-gallery-v2 .mpp-lightbox-toolbar {
  width:min(100%, 1460px);
  margin: 0 auto 12px;
  min-height: 40px;
  display:grid;
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  gap:12px;
}
body.mpp-gallery-v2 .mpp-lightbox-name {
  grid-column: 2;
  text-align: center;
  color:#e6e4e1;
  font-size:13px;
  letter-spacing:.045em;
}
body.mpp-gallery-v2 .mpp-lightbox-close {
  grid-column: 3;
  justify-self:end;
  padding: 9px 13px;
  border:1px solid #686868;
  background:#242527;
  color:#fff;
  font-size:12px;
  cursor:pointer;
}
body.mpp-gallery-v2 .mpp-lightbox-wrap {
  position:relative;
  width:min(100%, 1460px);
  margin:0 auto;
}
body.mpp-gallery-v2 .mpp-lightbox-image {
  width: min(100%, 1460px);
  min-height: 170px;
  margin:0 auto;
  display:flex;
  justify-content:center;
  align-items:center;
}
body.mpp-gallery-v2 .mpp-lightbox-image .mpp-room {
  width:100%;
  aspect-ratio:3/2;
}
body.mpp-gallery-v2 .mpp-lightbox-image .mpp-gallery-original img {
  display:block;
  max-width:100%;
  max-height:78dvh;
  width:auto;
  height:auto;
  object-fit:contain;
}
body.mpp-gallery-v2 .mpp-lightbox-nav {
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:2;
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:50px;
  padding:0;
  border:1px solid #999;
  color:#fff;
  background:rgba(15,15,15,.82);
  font-size:30px;
  line-height:1;
  cursor:pointer;
}
body.mpp-gallery-v2 .mpp-lightbox-nav:hover {background:rgba(45,45,45,.96)}
body.mpp-gallery-v2 .mpp-lightbox-nav:focus-visible,
body.mpp-gallery-v2 .mpp-lightbox-close:focus-visible {outline:2px solid white;outline-offset:3px}
body.mpp-gallery-v2 .mpp-lightbox-prev {left:8px}
body.mpp-gallery-v2 .mpp-lightbox-next {right:8px}
@media(max-width:1000px) {
  body.mpp-gallery-v2 .detail-main.mpp-room-preview-active .detail-layout {grid-template-columns:1fr;gap:35px}
  body.mpp-gallery-v2 .detail-main.mpp-room-preview-active .detail-copy {position:static;padding-top:0}
}
@media(max-width:850px) {
  body.mpp-gallery-v2 .detail-main.mpp-room-preview-active {padding:34px 22px 80px}
  body.mpp-gallery-v2 .mpp-product-gallery .mpp-gallery-stage-wrap {order:1}
  body.mpp-gallery-v2 .mpp-product-gallery .mpp-gallery-thumbs {order:2}
  body.mpp-gallery-v2 .mpp-gallery-lightbox {padding:9px;width:98vw;max-height:96dvh}
  body.mpp-gallery-v2 .mpp-lightbox-toolbar {gap:4px;margin-bottom:7px}
  body.mpp-gallery-v2 .mpp-lightbox-name {font-size:11px}
  body.mpp-gallery-v2 .mpp-lightbox-nav {width:35px;height:42px;font-size:24px}
  body.mpp-gallery-v2 .mpp-lightbox-prev {left:4px}
  body.mpp-gallery-v2 .mpp-lightbox-next {right:4px}
}
