
/* V1.6.3 — correção das prévias HTTPS no editor administrativo */
.ds-admin, .ds-admin * { box-sizing:border-box; }
.ds-admin .ds-preview {
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:100%;
  max-width:100%;
  min-width:0;
  max-height:220px !important;
  overflow:hidden !important;
  margin:10px 0 16px;
  border-radius:12px;
}
.ds-admin .ds-preview:empty { display:none !important; }
.ds-admin .ds-preview img {
  display:block !important;
  width:auto !important;
  height:auto !important;
  max-width:100% !important;
  max-height:200px !important;
  object-fit:contain !important;
  object-position:center center !important;
  margin:auto !important;
}
.ds-admin .ds-product,
.ds-admin .ds-product-fields,
.ds-admin [data-ds-section],
.ds-admin .ds-preview { min-width:0; }
.ds-admin .ds-product-fields input,
.ds-admin [data-ds-section] input { max-width:100%; }
.ds-admin .ds-studio-preview { max-width:100%; overflow:hidden; }
.ds-admin .ds-studio-preview img { max-height:180px; max-width:100%; object-fit:contain; }
.ds-admin .ds-mini-banner img { max-height:110px; }
.ds-admin .ds-mini-logo img { max-height:60px; }
@media(max-width:650px) {
  .ds-admin .ds-product-fields { padding:12px; }
  .ds-admin .ds-preview { max-height:200px !important; }
  .ds-admin .ds-preview img { max-height:180px !important; }
  .ds-admin .ds-tabs { position:sticky; bottom:0; z-index:9; }
}
/* Alertas legíveis mesmo com tema escuro */
.dh-modal .warning, .dh-modal .note {
  color:#35271b !important;
}
