/* Limited to Plugin Republic's marked upload field. Never hide or cap previews. */
.cld-artwork-area .dropzone,
.cld-artwork-area.dz-clickable {
  min-height: 0 !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  padding: 12px 14px !important;
}
.cld-artwork-area .dz-message {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  min-height: 64px !important;
  height: auto !important;
  margin: 0 auto 12px !important;
  padding: 2px 8px !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  text-align: center !important;
  background-image: none !important;
}
/* A reliable outline upload cloud replaces theme-dependent overlapping icons. */
.cld-artwork-area .dz-message::before {
  content: '';
  display: block;
  flex: 0 0 30px;
  width: 38px;
  height: 30px;
  margin: 0 auto 7px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='36' viewBox='0 0 48 36' fill='none' stroke='%23838b95' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 29H9a7 7 0 0 1-1-14 13 13 0 0 1 25-3 9 9 0 0 1 6 17h-4'/%3E%3Cpath d='M24 32V17m0 0-7 7m7-7 7 7'/%3E%3C/svg%3E");
}
.cld-artwork-area .dz-message svg,
.cld-artwork-area .dz-message i,
.cld-artwork-area .dz-message .dashicons,
.cld-artwork-area .dz-message img { display: none !important; }
.cld-artwork-area .dz-message *,
.cld-artwork-area .dz-message { font-size: 12px !important; line-height: 1.5 !important; }
/* Dropzone's preview list must expand with all uploaded files. */
.cld-artwork-area .dz-preview {
  display: inline-block;
  vertical-align: top;
  margin: 7px 7px 10px !important;
  max-width: calc(100% - 14px);
}
.cld-artwork-area .cld-artwork-warnings { clear: both; width: 100%; }
.cld-artwork-area .cld-artwork-warnings[hidden] { display: none !important; }
.cld-artwork-area .cld-artwork-notice {
  margin: 7px 0;
  padding: 8px 10px;
  border-left: 3px solid #bb862d;
  background: #fff9ed;
  color: #584420;
  font-size: 12px;
  line-height: 1.45;
  border-radius: 3px;
  overflow-wrap: anywhere;
}
@media (max-width: 600px) {
  .cld-artwork-area .dz-preview { max-width: calc(100% - 10px); margin: 6px 5px !important; }
}
.cld-upload-requirement:not([hidden]) {
  padding: 8px 10px;
  margin: 8px 0;
  font-size: 12px;
  line-height: 1.4;
  color: #704e16;
  background: #fff8e9;
  border-left: 3px solid #bc8a2e;
}
form.cart button.single_add_to_cart_button:disabled { opacity: .55; cursor: not-allowed; }

/* v0.1.4: compact order total only on visible Upload Design step. */
.cld-artwork-price-summary:not([hidden]) { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:11px 12px; margin:10px 0; background:#f7f9fc; border:1px solid #dce5ee; border-radius:6px; color:#0b2342; font-size:13px; }
.cld-artwork-price-summary strong {font-size:18px;}
.cld-artwork-price-summary[hidden], .cld-upload-requirement[hidden] {display:none !important;}
