/* SecretToys v7 — product-page-only mobile width correction.
   This intentionally runs AFTER the complete premium theme and v6 stability layer. */

@media (max-width: 991px){
  body.vp-product-route{
    --vp-side-gap:16px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    overflow-x:hidden!important;
    overflow-x:clip!important;
  }

  body.vp-product-route .vp-main-shell,
  body.vp-product-route .vp-product-page{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    padding-left:0!important;
    padding-right:0!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  /* The product route was inheriting the configurable desktop side gap on some
     mobile/tablet layout widths. Give the header and product page one real,
     symmetrical phone gutter instead of a shortened left-aligned canvas. */
  body.vp-product-route .vp-header-v5 .vp-container,
  body.vp-product-route .vp-product-page > .vp-container,
  body.vp-product-route .vp-product-page > .vp-container.vp-container-wide{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:auto!important;
    margin-right:auto!important;
    padding-left:8px!important;
    padding-right:8px!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-header-v5 .vp-header-main-grid{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-product-page .vp-breadcrumbs,
  body.vp-product-route .vp-product-page .vp-product-detail,
  body.vp-product-route .vp-product-page .vp-product-gallery,
  body.vp-product-route .vp-product-page .vp-product-summary,
  body.vp-product-route .vp-product-page .vp-product-panels,
  body.vp-product-route .vp-product-page .vp-panel,
  body.vp-product-route .vp-product-page .vp-product-information-sections,
  body.vp-product-route .vp-product-page .nova-product-info-wrap,
  body.vp-product-route .vp-product-page .nova-product-info-card,
  body.vp-product-route .vp-product-page .nova-buy-info-card{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    left:auto!important;
    right:auto!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-product-page .vp-product-detail{
    display:block!important;
    padding:10px!important;
    overflow:visible!important;
  }

  body.vp-product-route .vp-product-page .vp-product-gallery{
    max-width:none!important;
  }

  body.vp-product-route .vp-product-page .vp-main-image{
    width:100%!important;
    max-width:none!important;
    min-width:0!important;
    margin:0!important;
    overflow:hidden!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-product-page .vp-main-image img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    box-sizing:border-box!important;
  }

  /* Override the premium desktop thumbnail row all the way through the mobile
     header breakpoint, not only <=767px. This prevents width:max-content from
     ever widening the product document on phones with unusual layout widths. */
  body.vp-product-route .vp-product-page .vp-gallery-carousel{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 34px!important;
    align-items:center!important;
    gap:6px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:10px 0 0!important;
    padding:0!important;
    overflow:visible!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-product-page .vp-gallery-arrow{
    position:relative!important;
    inset:auto!important;
    width:34px!important;
    min-width:34px!important;
    max-width:34px!important;
    height:38px!important;
    margin:0!important;
    padding:0!important;
    transform:none!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-product-page .vp-thumb-strip{
    display:flex!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0!important;
    padding:4px 2px 7px!important;
    gap:7px!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    -webkit-overflow-scrolling:touch!important;
    overscroll-behavior-x:contain!important;
    touch-action:pan-x!important;
    box-sizing:border-box!important;
    scrollbar-width:none!important;
  }
  body.vp-product-route .vp-product-page .vp-thumb-strip::-webkit-scrollbar{display:none!important}

  body.vp-product-route .vp-product-page .vp-product-summary{
    padding-left:0!important;
    padding-right:0!important;
  }

  body.vp-product-route .vp-product-page .vp-meta-pills,
  body.vp-product-route .vp-product-page .vp-product-rating-line,
  body.vp-product-route .vp-product-page .vp-price-box,
  body.vp-product-route .vp-product-page .vp-short-desc,
  body.vp-product-route .vp-product-page .vp-variant-area,
  body.vp-product-route .vp-product-page .vp-variant-grid,
  body.vp-product-route .vp-product-page .vp-action-box,
  body.vp-product-route .vp-product-page .vp-buy-promises,
  body.vp-product-route .vp-product-page .vp-mini-specs,
  body.vp-product-route .vp-product-page .vp-spec-grid,
  body.vp-product-route .vp-product-page .vp-tag-list{
    width:auto!important;
    max-width:100%!important;
    min-width:0!important;
    margin-left:0!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }

  body.vp-product-route .vp-product-page .vp-action-box{
    width:100%!important;
  }
}

@media (max-width:575px){
  body.vp-product-route .vp-header-v5 .vp-container,
  body.vp-product-route .vp-product-page > .vp-container,
  body.vp-product-route .vp-product-page > .vp-container.vp-container-wide{
    padding-left:6px!important;
    padding-right:6px!important;
  }
  body.vp-product-route .vp-product-page .vp-product-detail{padding:8px!important}
}
