/**
 * A+ brand module: TinyMCE editor iframe + live preview + storefront PDP.
 * Selectors: .mce-content-body (editor) and .a-plus-brand-html (shop / preview).
 */
.mce-content-body,
.a-plus-brand-html {
  font-family: "Source Sans 3", system-ui, -apple-system, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}

.mce-content-body {
  max-width: 920px;
  margin: 0 auto;
  padding: 12px 16px 40px;
}

.mce-content-body p,
.a-plus-brand-html p {
  margin: 0.65em 0;
}

.mce-content-body h1,
.mce-content-body h2,
.mce-content-body h3,
.mce-content-body h4,
.a-plus-brand-html h1,
.a-plus-brand-html h2,
.a-plus-brand-html h3,
.a-plus-brand-html h4 {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.25;
  margin: 1.15em 0 0.45em;
}

.mce-content-body h2,
.a-plus-brand-html h2 { font-size: 1.35rem; }
.mce-content-body h3,
.a-plus-brand-html h3 { font-size: 1.15rem; }
.mce-content-body h4,
.a-plus-brand-html h4 { font-size: 1.05rem; }

.mce-content-body img,
.a-plus-brand-html img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.mce-content-body a,
.a-plus-brand-html a {
  color: #047857;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.mce-content-body .nb-ap-lead,
.a-plus-brand-html .nb-ap-lead {
  font-size: 1.1rem;
  line-height: 1.65;
  color: #475569;
}

.mce-content-body .nb-ap-callout,
.a-plus-brand-html .nb-ap-callout {
  border-radius: 14px;
  border: 1px solid #d1fae5;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  padding: 1rem 1.15rem;
  margin: 1rem 0;
}

.mce-content-body .nb-ap-muted,
.a-plus-brand-html .nb-ap-muted {
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 1rem 1.15rem;
  margin: 1rem 0;
  color: #475569;
}

.mce-content-body .nb-ap-grid,
.a-plus-brand-html .nb-ap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 520px) {
  .mce-content-body .nb-ap-grid.nb-ap-grid-2,
  .a-plus-brand-html .nb-ap-grid.nb-ap-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.mce-content-body .nb-ap-grid .nb-ap-col,
.a-plus-brand-html .nb-ap-grid .nb-ap-col {
  min-width: 0;
}

.mce-content-body .nb-ap-hero,
.a-plus-brand-html .nb-ap-hero {
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  margin: 1rem 0;
  background: linear-gradient(125deg, #059669 0%, #0d9488 50%, #0e7490 100%);
  color: #fff;
}

.mce-content-body .nb-ap-hero h2,
.mce-content-body .nb-ap-hero h3,
.mce-content-body .nb-ap-hero p,
.a-plus-brand-html .nb-ap-hero h2,
.a-plus-brand-html .nb-ap-hero h3,
.a-plus-brand-html .nb-ap-hero p {
  color: inherit;
  margin-top: 0.35em;
}

.mce-content-body .nb-ap-hero a,
.a-plus-brand-html .nb-ap-hero a {
  color: #ecfdf5;
}

.mce-content-body .nb-ap-divider,
.a-plus-brand-html .nb-ap-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1, transparent);
  margin: 1.5rem 0;
  border: 0;
}

.mce-content-body table,
.a-plus-brand-html table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  margin: 1rem 0;
}

.mce-content-body th,
.mce-content-body td,
.a-plus-brand-html th,
.a-plus-brand-html td {
  border: 1px solid #e2e8f0;
  padding: 0.5rem 0.65rem;
  vertical-align: top;
}

.mce-content-body th,
.a-plus-brand-html th {
  background: #f1f5f9;
  font-weight: 600;
  text-align: left;
}

.mce-content-body blockquote,
.a-plus-brand-html blockquote {
  margin: 1rem 0;
  padding: 0.75rem 1rem;
  border-left: 4px solid #10b981;
  background: #f8fafc;
  color: #475569;
}

.mce-content-body .nb-a-plus-pdf,
.a-plus-brand-html .nb-a-plus-pdf {
  min-height: 56px;
  border: 1px dashed #94a3b8;
  border-radius: 12px;
  padding: 10px;
  background: #f8fafc;
  font-size: 12px;
  color: #64748b;
}
