.wawe-description-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 8px;
}

.wawe-description-actions {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
}

.wawe-description-tool {
  appearance: none;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255,255,255,.72);
  min-height: 32px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

.wawe-description-tool:hover {
  color: #fff;
  background: rgba(255,255,255,.08);
}

.wawe-description-tool-primary {
  color: #caa6ff;
  background: rgba(139,68,255,.13);
}

.wawe-description-tool-primary:hover {
  color: #fff;
  background: rgba(139,68,255,.23);
}

.wawe-tool-icon {
  display: inline-grid;
  place-items: center;
  min-width: 14px;
  font-size: 16px;
  line-height: 1;
}

.wawe-description-hint {
  color: rgba(255,255,255,.50);
  font-size: 10px;
  line-height: 1.6;
}

.wawe-description-textarea {
  width: 100% !important;
  min-height: 185px !important;
  line-height: 1.85 !important;
  white-space: pre-wrap;
}

/* Keep React's original description node for reconciliation, but don't show it. */
.wawe-product-description-source {
  display: none !important;
}

.wawe-product-description {
  margin-top: 1rem;
  color: var(--muted-foreground, rgba(255,255,255,.72));
  font-size: .875rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
  white-space: normal;
}

.wawe-product-description > * {
  margin: 0;
}

.wawe-product-description > * + * {
  margin-top: .75rem;
}

/* Normal copy always flows as ordinary text with normal spaces. */
.wawe-product-description-paragraph {
  display: block;
  white-space: normal !important;
  word-spacing: normal;
}

/* Every bullet is a real LI, therefore ALWAYS its own visual row. */
.wawe-product-description-list {
  display: block !important;
  list-style-type: disc !important;
  list-style-position: outside !important;
  padding-inline-start: 1.4rem !important;
  margin: 0 !important;
  white-space: normal !important;
}

.wawe-product-description-list li {
  display: list-item !important;
  width: 100%;
  margin: .18rem 0;
  padding-inline-start: .12rem;
  white-space: normal !important;
}

.wawe-product-description-list li::marker {
  color: #a855f7;
}

@media (max-width: 640px) {
  .wawe-description-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .wawe-description-actions {
    width: 100%;
  }

  .wawe-description-tool {
    flex: 1;
  }

  .wawe-description-textarea {
    min-height: 210px !important;
  }

  .wawe-product-description {
    line-height: 1.85;
  }
}
