/* Confine layout changes to the existing SIGNCRAFT designer section. */
#designer.customize-designer:has(iframe[data-signcraft-designer]) {
  width: min(calc(100% - clamp(16px, 3vw, 56px)), 1650px);
  max-width: none;
  min-width: 0;
  margin-inline: auto;
  padding-inline: 0;
}
#mirror-designer:has(iframe[data-signcraft-designer]) { scroll-margin-block-start: 96px; }
#mirror-designer iframe[data-signcraft-designer] {
  display: block;
  width: 100%;
  max-width: 100%;
  height: clamp(480px, calc(100vh - 96px), 720px);
  height: clamp(480px, calc(100dvh - 96px), 720px);
  border: 0;
  background: #fff;
}
[data-whatsapp-chat][data-designer-overlap]:not([open]) { visibility: hidden; }
@media (max-width: 859px) {
  #mirror-designer:has(iframe[data-signcraft-designer]) { scroll-margin-block-start: 78px; }
  #mirror-designer iframe[data-signcraft-designer] {
    height: clamp(480px, calc(100vh - 78px), 720px);
    height: clamp(480px, calc(100dvh - 78px), 720px);
  }
}
