/* Wrapper */
.mmwcp-wrap {
  margin: 16px 0;
  padding: 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 0px;
}

/* Toggle */
.mmwcp-toggle {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
}

.mmwcp-panel {
  margin-top: 12px;
  display: none;
}

.mmwcp-help {
  margin: 10px 0 8px;
  opacity: .8;
}

/* Preview */
.mmwcp-preview {
  position: relative;
  width: 100%;
  max-width: 520px; /* keeps it tidy across themes */
}

.mmwcp-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}

/* Text overlay: bottom-right */
.mmwcp-text {
  position: absolute;
  right: var(--mmwcp-right, 30px) !important;
bottom: var(--mmwcp-bottom, 0px) !important;
  font-family: "Times New Roman", Times, serif;
  font-weight: 700;
  font-size: clamp(14px, 3.2vw, 26px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;

  /* Subtle pressed/engraved effect */
  color: #8D733D;
  text-shadow:
    0 1px 0 rgba(255,255,255,0.55),
    0 -1px 0 rgba(0,0,0,0.18),
    0 2px 3px rgba(0,0,0,0.12);
}

/* Input */
.mmwcp-input-label span {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.mmwcp-input {
  width: 240px;
  max-width: 100%;
  padding: 10px 12px;
  border-radius: 0px;
  border: 1px solid rgba(0,0,0,.15);
}

.mmwcp-wrap{display:block;}


.mmwcp-wrap.mmwcp-hidden{display:none !important;}


/* Fix13: ensure label/text area is clickable across themes */
.mmwcp-toggle, .mmwcp-toggle * {
  cursor: pointer;
  pointer-events: auto !important;
}
