/* Mobile compatibility only: existing desktop design and artwork are unchanged. */
@media screen and (max-width: 760px) {
  html, body { min-width: 0; }
  main, section, form, fieldset { min-width: 0; }
  input, select, textarea { min-width: 0; max-width: 100%; }
  .config-layout, .studio-grid, .studio-layout { grid-template-columns: minmax(0, 1fr) !important; }
  .config-layout > *, .studio-grid > *, .studio-layout > * { min-width: 0; max-width: 100%; }
  .config-layout > .visual-column, .config-layout > .visual-panel,
  .studio-grid > .visual-column, .studio-grid > .config-panel,
  .studio-layout > .config-panel { position: static; max-height: none; }
  .ptr-site-header .ptr-brand-link { min-width: 0; flex-shrink: 1; max-width: 46%; }
  .ptr-site-header .ptr-brand-link img { width: min(176px, 42vw); max-width: 100%; }
  .ptr-site-header nav, .header-actions { min-width: 0; }
  .nav.mobile { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior-y: contain; }
  dialog { max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); }
  .table-scroll, .table-wrap, .price-table-wrap { min-width: 0; max-width: 100%; overflow-x: auto; }
  .mobile-bar { padding-bottom: max(12px, env(safe-area-inset-bottom)); }
  .mobile-price.visible { bottom: max(13px, env(safe-area-inset-bottom)); }
  .mobile-estimate.visible { bottom: max(10px, env(safe-area-inset-bottom)); }
  .toast, #toast { max-width: calc(100vw - 28px); overflow-wrap: anywhere; }
}

@media screen and (max-width:760px){
#collection-menu{max-height:calc(100dvh - var(--category-menu-top,95px) - 12px);overflow-y:auto;overscroll-behavior-y:contain}.global-header{gap:12px}.global-header .header-actions{gap:8px}.ns-department-tabs{position:static}.cart-layout{grid-template-columns:minmax(0,1fr)}
}

html[data-ptr-ui="unified"] {
  color-scheme: only light;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
