/* UltraMAX DEV · Refined Light Step 3 mobile collection-row repair v18
 * Match Refined Dark's compact horizontal row geometry without touching data,
 * reorder, pin, menu, expansion, or existing JavaScript handlers.
 * Scoped to Refined Light only, Classic/Dark deliberately unchanged.
 */
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list {
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  min-width:0 !important;
  padding:0 !important;
  margin:0 !important;
  gap:0 !important;
  border:1px solid #d8e1e9 !important;
  border-radius:13px !important;
  background:#fff !important;
  background-image:none !important;
  box-shadow:none !important;
  overflow:visible !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card {
  display:flex !important;
  flex-flow:row wrap !important;
  align-items:center !important;
  justify-content:flex-start !important;
  align-content:flex-start !important;
  position:relative !important;
  width:100% !important;
  min-width:0 !important;
  min-height:72px !important;
  height:auto !important;
  margin:0 !important;
  padding:0 !important;
  gap:0 !important;
  border:0 !important;
  border-bottom:1px solid #d8e1e9 !important;
  border-radius:0 !important;
  background:#fff !important;
  background-image:none !important;
  box-shadow:none !important;
  overflow:visible !important;
  box-sizing:border-box !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card:last-child {
  border-bottom:0 !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-drag-handle {
  position:absolute !important;
  top:36px !important;
  left:9px !important;
  right:auto !important;
  bottom:auto !important;
  transform:translateY(-50%) !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:17px !important;
  height:36px !important;
  padding:0 !important;
  margin:0 !important;
  color:#657789 !important;
  z-index:5 !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > button.collection-summary {
  position:relative !important;
  display:grid !important;
  flex:1 1 0 !important;
  width:auto !important;
  min-width:0 !important;
  max-width:none !important;
  height:72px !important;
  min-height:72px !important;
  padding:8px 1px 8px 9px !important;
  margin:0 !important;
  grid-template-columns:17px 44px minmax(0,1fr) 12px !important;
  align-items:center !important;
  gap:8px !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  color:#202c3d !important;
  box-sizing:border-box !important;
  text-align:left !important;
  overflow:hidden !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-drag-spacer {
  width:17px !important;
  min-width:17px !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-thumbnail {
  width:44px !important;
  min-width:44px !important;
  height:44px !important;
  border-radius:10px !important;
  object-fit:cover !important;
  object-position:center !important;
  box-shadow:none !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-summary-content {
  min-width:0 !important;
  overflow:hidden !important;
  gap:3px !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-title {
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  min-width:0 !important;
  max-width:100% !important;
  color:#202c3d !important;
  -webkit-text-fill-color:#202c3d !important;
  font-size:13px !important;
  font-weight:750 !important;
  line-height:1.22 !important;
  overflow-wrap:anywhere !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-meta {
  color:#56677b !important;
  -webkit-text-fill-color:#56677b !important;
  font-size:10px !important;
  font-weight:450 !important;
  line-height:1.3 !important;
  margin:0 !important;
  white-space:normal !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-chevron {
  display:grid !important;
  place-items:center !important;
  width:12px !important;
  min-width:12px !important;
  height:30px !important;
  color:#617387 !important;
  -webkit-text-fill-color:#617387 !important;
  font-size:18px !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-quick-actions {
  position:relative !important;
  flex:0 0 80px !important;
  width:80px !important;
  min-width:80px !important;
  max-width:80px !important;
  height:72px !important;
  min-height:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  align-self:center !important;
  gap:4px !important;
  padding:0 8px 0 0 !important;
  margin:0 !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
  transform:none !important;
  border:0 !important;
  background:transparent !important;
  background-image:none !important;
  box-shadow:none !important;
  box-sizing:border-box !important;
  z-index:6 !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-quick-actions :is(.collection-pin-toggle,.collection-order-menu > summary) {
  display:grid !important;
  place-items:center !important;
  flex:0 0 32px !important;
  width:32px !important;
  min-width:32px !important;
  max-width:32px !important;
  height:36px !important;
  min-height:36px !important;
  max-height:36px !important;
  padding:0 !important;
  margin:0 !important;
  border:1px solid #d0dbe6 !important;
  border-radius:9px !important;
  background:#edf2f7 !important;
  background-image:none !important;
  color:#4b6075 !important;
  -webkit-text-fill-color:#4b6075 !important;
  box-shadow:none !important;
  font-size:16px !important;
  line-height:1 !important;
  opacity:1 !important;
  box-sizing:border-box !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-quick-actions .collection-pin-toggle.is-pinned {
  color:#15674e !important;
  -webkit-text-fill-color:#15674e !important;
  background:#e7f5ee !important;
  border-color:#b2d9c8 !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-quick-actions .collection-order-menu {
  display:block !important;
  position:relative !important;
  flex:0 0 32px !important;
  width:32px !important;
  min-width:32px !important;
  height:36px !important;
  max-height:36px !important;
  padding:0 !important;
  margin:0 !important;
  top:auto !important;
  right:auto !important;
  bottom:auto !important;
  left:auto !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-body[hidden] {
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-body:not([hidden]) {
  display:flex !important;
  flex:0 0 100% !important;
  width:100% !important;
  min-width:0 !important;
  height:auto !important;
  margin:0 !important;
  border-top:1px solid #d8e1e9 !important;
  background:#fff !important;
  box-sizing:border-box !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card:has(.collection-order-menu[open]) {
  z-index:20 !important;
}
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > button.collection-summary:focus-visible,
html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-quick-actions :is(.collection-pin-toggle,.collection-order-menu > summary):focus-visible {
  outline:2px solid #47749b !important;
  outline-offset:-2px !important;
}
@media(max-width:480px) {
  html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > button.collection-summary {
    grid-template-columns:14px 40px minmax(0,1fr) 10px !important;
    gap:6px !important;
    padding-left:8px !important;
  }
  html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card .collection-thumbnail {
    width:40px !important;
    min-width:40px !important;
    height:40px !important;
  }
  html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-drag-handle {
    left:7px !important;
    width:14px !important;
  }
  html.um-app-mode.um-refined[data-um-appearance="refined-light"] body #step-3 .s3-editor-zone #collections-list > article.collection-card > .collection-quick-actions {
    flex:0 0 76px !important;
    width:76px !important;
    min-width:76px !important;
    max-width:76px !important;
    gap:4px !important;
    padding-right:6px !important;
  }
}
