/* Compact buyer selector; the explicit preview zoom dialogs are unchanged. */
@media (min-width: 900px) and (min-height: 570px) {
  #customize.gt-pair-ready { padding-block: 6px !important; }
  #customize.gt-pair-ready #custom-workspace:not([hidden]) { align-items: start; gap: clamp(12px, 2vw, 28px); }
  #customize.gt-pair-ready #custom-workspace .custom-sidebar { max-height: none; overflow: visible; min-width: 0; }
  #customize.gt-pair-ready #custom-workspace .custom-controls { display:grid;grid-template-columns:minmax(104px,.72fr) minmax(0,1.45fr);align-items:center;gap:6px 8px;padding:12px;max-height:none;overflow:visible; }
  #customize.gt-pair-ready #custom-workspace .custom-controls > :not(label):not(select):not(#custom-qty) { grid-column:1/-1; margin-block:3px; }
  #customize.gt-pair-ready #custom-workspace .custom-controls > label:not([hidden]) { margin:0;line-height:1.15; }
  #customize.gt-pair-ready #custom-workspace .custom-controls > select:not([hidden]),
  #customize.gt-pair-ready #custom-workspace .custom-controls > #custom-qty:not([hidden]) { margin:0;min-width:0;min-height:34px;box-sizing:border-box; }
  #customize.gt-pair-ready #custom-workspace .gt-pair-preview { padding-block:8px; }
  #customize.gt-pair-ready #custom-workspace .gt-pair-preview figure .gt-pair-photo { width:min(100%,max(225px,calc(100dvh - 290px)));margin-inline:auto; }
  #customize.gt-pair-ready #custom-workspace .gt-pair-wheel-hint { margin-block:6px 0; }
  #customize.gt-pair-ready #custom-workspace .custom-visual { position: static; }
}

@media (min-width: 900px) and (min-height: 570px) {
 #customize.gt-pair-ready #custom-workspace .custom-controls { display:flex !important; flex-direction:column; align-items:stretch; gap:9px;height:auto !important;align-self:start; }
 #customize.gt-pair-ready #custom-workspace .custom-controls > .customize-heading { margin:0!important;padding:0 0 8px!important; }
 #customize.gt-pair-ready #custom-workspace .custom-controls .custom-options-scroll { flex:none!important;max-height:none!important;overflow:visible!important;height:auto!important; }
 #customize.gt-pair-ready #custom-workspace .custom-options-scroll > label:not([hidden]) { margin:0 0 2px!important;line-height:1.15; }
 #customize.gt-pair-ready #custom-workspace .custom-options-scroll > select:not([hidden]) { margin:0 0 5px!important;min-height:34px!important;padding-block:4px; }
 #customize.gt-pair-ready #custom-workspace .gt-pair-preview figure .gt-pair-wheel-viewport { width:min(100%,max(225px,calc(100dvh - 290px)));margin-inline:auto; }
 #customize.gt-pair-ready #custom-workspace .gt-pair-preview figure .gt-pair-photo { width:100%; }
}
