/* OTIMO PDP desktop lock — 2026-10-28
   Purpose: keep the 2026-10-12 desktop PDP intact while the 2026-10-20 mobile redesign stays isolated. */
@media screen and (min-width:768px){
  body#nova-theme.template-product{--otimo-mural-gallery-width:45%;--otimo-roll-gallery-width:45%;}
  /* Never render mobile-only PDP components on desktop. */
  body#nova-theme.template-product .otimo-mobile-mural-info,
  body#nova-theme.template-product .otimo-mobile-roll-info,
  body#nova-theme.template-product .otimo-roll-mobile-purchase-v2,
  body#nova-theme.template-product .otimo-mobile-purchase,
  body#nova-theme.template-product .otimo-roll-size-line__mobile,
  body#nova-theme.template-product .otimo-recommendation-heading-mobile{display:none!important}

  body#nova-theme.template-product .otimo-roll-size-line__desktop,
  body#nova-theme.template-product .otimo-recommendation-heading-desktop{display:inline!important}

  /* Restore the desktop product-detail shell. */
  body#nova-theme.template-product .otimo-mural-product.product-details,
  body#nova-theme.template-product .otimo-roll-product.product-details{
    display:flex!important;
    align-items:flex-start!important;
    justify-content:space-between!important;
    background:#fff!important;
  }

  /* Custom Mural uses the exact same desktop container spacing as the detail sections below. */
  body#nova-theme.template-product .otimo-mural-product.product-details{
    width:100%!important;
    max-width:var(--page-width)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:var(--page-spacing)!important;
    padding-right:var(--page-spacing)!important;
  }

  /* Keep Wallpaper Roll's approved desktop shell unchanged. */
  body#nova-theme.template-product .otimo-roll-product.product-details{
    padding-left:0!important;
    padding-right:0!important;
  }
  body#nova-theme.template-product .otimo-product-breadcrumb{display:flex!important}

  /* Custom mural: exact two-column desktop structure used before the mobile rebuild. */
  body#nova-theme.template-product .otimo-mural-product .product-images-group{
    width:var(--otimo-mural-gallery-width,45%)!important;
    max-width:none!important;
    flex:0 0 var(--otimo-mural-gallery-width,45%)!important;
    margin:0!important;
  }
  body#nova-theme.template-product .otimo-mural-product .product-info-body{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    flex:1 1 auto!important;
    margin-left:4%!important;
    padding-left:0!important;
    padding-right:0!important;
  }

  /* Wallpaper roll: match the approved desktop 4:3 gallery and right-hand purchase column. */
  body#nova-theme.template-product .otimo-roll-product .product-detail-gallery{
    display:block!important;
    width:var(--otimo-roll-gallery-width,45%)!important;
    max-width:none!important;
    flex:0 0 var(--otimo-roll-gallery-width,45%)!important;
    margin:0!important;
    padding:0!important;
  }
  body#nova-theme.template-product .otimo-roll-product .product-info-body{
    display:block!important;
    width:auto!important;
    max-width:none!important;
    flex:1 1 auto!important;
    margin:0!important;
    padding-left:3.5%!important;
    padding-right:0!important;
  }

  /* Desktop gallery geometry: do not inherit the mobile full-width / 1.28:1 rules. */
  body#nova-theme.template-product :is(.otimo-mural-product,.otimo-roll-product) .product-images-container,
  body#nova-theme.template-product :is(.otimo-mural-product,.otimo-roll-product) .product-detail-gallery-inner,
  body#nova-theme.template-product :is(.otimo-mural-product,.otimo-roll-product) .product-detail-images,
  body#nova-theme.template-product :is(.otimo-mural-product,.otimo-roll-product) .product-detail-thumbs-container,
  body#nova-theme.template-product :is(.otimo-mural-product,.otimo-roll-product) .product-detail-thumb-images{
    max-width:100%!important;
  }
  body#nova-theme.template-product :is(.otimo-mural-product,.otimo-roll-product) .product-detail-thumbs-container{
    padding-left:0!important;
    padding-right:0!important;
    overflow:visible!important;
  }

  /* Desktop content sections must remain available; mobile pack hides these only on phones. */
  body#nova-theme.template-product .otimo-mural-gallery-about,
  body#nova-theme.template-product .otimo-product-faq,
  body#nova-theme.template-product .otimo-recommendations,
  body#nova-theme.template-product .otimo-roll-overview,
  body#nova-theme.template-product .otimo-roll-installation{
    display:block!important;
  }
  body#nova-theme.template-product .otimo-recommendations__grid{
    display:grid!important;
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
  }

  /* Keep desktop purchase controls in their native flow. */
  body#nova-theme.template-product .otimo-roll-product .product-info__btn,
  body#nova-theme.template-product .otimo-roll-product .otimo-roll-purchase-meta,
  body#nova-theme.template-product .otimo-roll-product .otimo-roll-after-buy{display:block!important}
}

@media screen and (min-width:960px){
  body#nova-theme.template-product .otimo-mural-product.product-details,
  body#nova-theme.template-product .otimo-roll-product.product-details{display:flex!important}
}
