/* v120 — MOBILE/TABLET ONLY
   Scope: Vendor (all languages) + Kurdish Catalog.
   Desktop is intentionally untouched. */

@media (max-width:1024px){
  body.mobile-vendor-fix.showcase-page,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page{
    overflow-x:clip!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-main,
  body.mobile-vendor-fix.showcase-page .showcase-stage-wrap,
  body.mobile-vendor-fix.showcase-page .showcase-stage,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-main,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-stage-wrap,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-stage{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
    overflow:hidden!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-stage-wrap,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-stage-wrap{
    padding:10px 0 34px!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-stage,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-stage{
    position:relative!important;
    direction:ltr!important;
    height:clamp(420px,112vw,520px)!important;
    min-height:420px!important;
    perspective:none!important;
  }

  /* Hard-reset all logical/physical offsets so RTL/LTR cannot shift the page. */
  body.mobile-vendor-fix.showcase-page .showcase-slide,
  body.mobile-vendor-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-slide,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child{
    position:absolute!important;
    inset:auto!important;
    inset-inline:auto!important;
    inset-block:auto!important;
    left:50%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    width:min(78vw,320px)!important;
    max-width:calc(100vw - 32px)!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    translate:none!important;
    rotate:none!important;
    scale:none!important;
    transform:translate3d(-50%,-50%,0)!important;
    transform-origin:50% 50%!important;
    filter:none!important;
    background:transparent!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-slide[aria-hidden="true"],
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-slide[aria-hidden="true"],
  body.mobile-vendor-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:not(:first-child),
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:not(:first-child){
    opacity:0!important;
    visibility:hidden!important;
    pointer-events:none!important;
    z-index:1!important;
    transform:translate3d(-50%,-50%,0)!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-slide[aria-hidden="false"],
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-slide[aria-hidden="false"],
  body.mobile-vendor-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child{
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    z-index:20!important;
    transform:translate3d(-50%,-50%,0)!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-slide img,
  body.mobile-vendor-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child img,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-slide img,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child img{
    display:block!important;
    width:100%!important;
    height:auto!important;
    max-width:100%!important;
    max-height:none!important;
    margin:0!important;
    object-fit:contain!important;
    object-position:center center!important;
    border-radius:8px!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-controls,
  body.mobile-vendor-fix.showcase-page .showcase-progress,
  body.mobile-vendor-fix.showcase-page .showcase-download-row,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-controls,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-progress,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-download-row{
    width:min(100% - 32px,340px)!important;
    max-width:calc(100% - 32px)!important;
    margin-left:auto!important;
    margin-right:auto!important;
    margin-inline:auto!important;
  }
}

@media (max-width:600px){
  body.mobile-vendor-fix.showcase-page .showcase-stage,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-stage{
    height:clamp(400px,116vw,480px)!important;
    min-height:400px!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-slide,
  body.mobile-vendor-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-slide,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page [data-showcase]:not(.is-ready) .showcase-slide:first-child{
    width:min(76vw,305px)!important;
    max-width:calc(100vw - 36px)!important;
  }

  body.mobile-vendor-fix.showcase-page .showcase-controls,
  html[lang="ku"] body.mobile-ku-catalog-fix.showcase-page .showcase-controls{
    justify-content:center!important;
  }
}
