/* Shared phone/tablet layout; loaded after all themes. */
@media(max-width:900px){
 html{scroll-padding-top:16px}body{min-width:0!important}
 body .topbar{position:relative!important;top:auto!important}
 body:has(>.topbar)>main{padding-top:0!important}
 body .v64-main-row,body .v63-header-main{display:flex!important;flex-wrap:wrap!important;gap:12px!important;padding:12px 14px!important}
 body .v64-search,body .v63-search{flex:1 1 100%!important;width:100%!important;max-width:none!important;min-width:0!important}
 body .v64-search input,body .v63-search input{width:100%!important;min-width:0!important;font-size:16px!important}
 body .main-links,body .v64-nav-row nav{gap:8px!important;justify-content:center!important;flex-wrap:wrap!important}
 body .main-links>a,body .v64-nav-trigger{min-height:44px;display:inline-flex;align-items:center;padding:6px 8px!important}
 body .v64-mega{position:relative!important;inset:auto!important;max-width:100%!important}
 body :is(.container,.catalog-main,.catalog-layout,.product-detail-copy,.product-detail-gallery,.form-card,.manager-main,.cr-main){min-width:0!important;max-width:100%;box-sizing:border-box}
 body :is(.catalog-layout,.product-detail,.product-detail-layout){grid-template-columns:minmax(0,1fr)!important}
 body .catalog-sidebar{width:100%!important;position:relative!important}
 body .catalog-toolbar{gap:12px;flex-wrap:wrap;align-items:center}
 body .catalog-toolbar select{max-width:100%;min-height:44px}
 body :is(input,select,textarea){font-size:16px!important;max-width:100%;box-sizing:border-box}
 body :is(button,.primary,.ghost,.lux-btn){min-height:44px;touch-action:manipulation}
 body .product-card h3{font-size:18px!important;line-height:1.7!important;overflow-wrap:anywhere}
 body .product-card .actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
 body .product-card .actions>*{flex:1 1 auto;text-align:center}
 body .detail-main{min-height:280px!important;height:min(105vw,460px)!important}
 body .detail-main>img{max-height:100%!important;max-width:100%!important;object-fit:contain!important}
 body .product-detail-copy h1{font-size:26px!important;line-height:1.6!important;overflow-wrap:anywhere}
 body .nr-spec-table{table-layout:fixed;width:100%}.nr-spec-table td,.nr-spec-table th{overflow-wrap:anywhere}
 body .form-page{padding:20px 12px!important}body .form-card{width:100%!important;padding:22px 16px!important}
 body :is(.form-row,.studio-grid,.new-brand-box){grid-template-columns:minmax(0,1fr)!important}
 body .manager-shell,body .cr-shell{display:block!important}
 body .sidebar,body .cr-sidebar{position:relative!important;width:100%!important;height:auto!important;inset:auto!important}
 body .sidebar nav,body .cr-sidebar nav{display:flex;flex-wrap:wrap;gap:8px}
 body .manager-main,body .cr-main{margin:0!important;padding:20px 12px!important;width:100%!important}
 body .manager-head,body .cr-top{flex-wrap:wrap;gap:12px}
 body .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
 body .manager-table{min-width:760px}
 body .save-bar{position:relative!important;flex-wrap:wrap;bottom:auto}
 body .save-bar button{width:100%}
 body .n347-enter{opacity:1!important;translate:none!important}
}
@media(max-width:600px){
 body .section-space{padding-top:38px!important;padding-bottom:38px!important}
 body .section-heading h2,body .catalog-title h2{font-size:27px!important;line-height:1.6!important}
 body .n335-toolbar{margin-bottom:38px!important}body .n335-collections{margin-bottom:38px!important}
 body .n335-copy{gap:12px!important}body .n335-hero{margin-top:16px!important}
 body .n335-caption{gap:12px!important}body .n335-caption h3{font-size:21px!important}
 body .product-grid,body .catalog-product-grid{gap:16px!important}
 body .v197-brand-marquee-set{gap:8px!important}
 body .nr-reader-controls{display:flex;flex-wrap:wrap;gap:8px}
 body .cr-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:480px){
 body .product-grid,body .catalog-product-grid{grid-template-columns:minmax(0,1fr)!important}
 body .product-card{width:100%!important;padding:16px!important}
 body .product-card .product-img{height:300px!important;min-height:0!important}
 body .product-card .product-img>img{height:100%!important;max-height:100%!important;object-fit:contain!important}
 body .product-card .price-block{font-size:15px!important}
 body .product-detail-copy{padding:16px!important}
 body .n335-stage{height:310px!important}body .n335-guitar,body .n335-photo{max-height:250px!important}
}
@media(hover:none),(pointer:coarse){
 body .fx-tilt,body .fx-tilt:hover,body .product-card,body .product-card:hover{transform:none!important;translate:none!important}
 body .fx-glare{display:none!important}
}
@media(max-width:900px){html body.n335-home.home-page main#top{padding-top:0!important;margin-top:0!important}}

/* NOORAEI-MOBILE-PRODUCT-IMAGE-FIT */
@media (max-width: 768px) {
  body .product-card .product-img {
    height: clamp(160px, 54vw, 220px) !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }
  body .product-card .product-img 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;
    transform: none !important;
    margin: auto !important;
  }
  body .instrument-card .instrument-thumb,
  body .shop405-card img {
    display: block !important;
    width: 100% !important;
    height: clamp(160px, 54vw, 220px) !important;
    max-width: 100% !important;
    max-height: 220px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    margin-inline: auto !important;
  }
}

/* NOORAEI-MOBILE-PRODUCT-IMAGE-ENLARGED */
@media (max-width: 768px) {
  body .product-card .product-img {
    height: clamp(240px, 76vw, 300px) !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
  }
  body .product-card .product-img img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
  }
  body .instrument-card .instrument-thumb,
  body .shop405-card img {
    width: 100% !important;
    height: clamp(240px, 76vw, 300px) !important;
    max-width: 100% !important;
    max-height: 300px !important;
    object-fit: contain !important;
    object-position: center !important;
  }
}

/* NOORAEI-MOBILE-PRODUCT-IMAGE-SHRINK */
@media (max-width: 768px) {
  body .product-card .product-img {
    height: 190px !important;
    overflow: hidden !important;
  }
  body .product-card .product-img img {
    width: 70% !important;
    height: 78% !important;
    max-width: 70% !important;
    max-height: 78% !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    margin: auto !important;
  }
  body .instrument-card .instrument-thumb,
  body .shop405-card img {
    width: 70% !important;
    height: 170px !important;
    max-width: 70% !important;
    max-height: 170px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    margin-inline: auto !important;
  }
}

/* NOORAEI-MOBILE-IMAGE-SHRINK-FINAL */
@media (max-width: 768px) {
  body .product-card .product-img img,
  body .instrument-card .instrument-thumb,
  body .shop405-card img {
    display: block !important;
    width: 55% !important;
    max-width: 55% !important;
    height: auto !important;
    max-height: 150px !important;
    object-fit: contain !important;
    object-position: center !important;
    transform: none !important;
    margin-inline: auto !important;
  }
}
