/* Wide layout for /figurinha-de-texto-whatsapp/ only. */

body.page-figurinha-de-texto-whatsapp .stx-page .conv-title {
  font-size: clamp(1.55rem, 1.9vw, 2.05rem);
  letter-spacing: -0.04em;
  line-height: 1.08;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: normal;
}
@media (min-width: 1100px) {
  body.page-figurinha-de-texto-whatsapp .stx-page { --cv-aside: clamp(240px, 19vw, 300px); }
  body.page-figurinha-de-texto-whatsapp .stx-page .conv-board {
    grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.95fr);
    gap: 16px;
  }
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .conv-lede {
  margin-bottom: 22px;
  color: #4f63b8;
  font-size: 1.05rem;
  line-height: 1.4;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .conv-perks { gap: 18px; }
body.page-figurinha-de-texto-whatsapp .article .stx-page .conv-perks li { gap: 14px; font-size: 0.9rem; }
body.page-figurinha-de-texto-whatsapp .stx-page .conv-perks strong { color: #1d3fd8; font-size: 1.02rem; }
body.page-figurinha-de-texto-whatsapp .stx-page .conv-perk { width: 48px; height: 48px; background-size: 24px; }
body.page-figurinha-de-texto-whatsapp .stx-page .conv-perk.is-style {
  background-color: #f3e8ff;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='8' cy='8' r='3' fill='%239333ea'/%3E%3Ccircle cx='16' cy='9' r='2.4' fill='%23e11d48'/%3E%3Ccircle cx='14' cy='16' r='2.6' fill='%232563eb'/%3E%3C/svg%3E");
}
body.page-figurinha-de-texto-whatsapp .article .stx-page img.conv-art {
  max-width: 280px;
  margin-top: 22px;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page img {
  border: 0;
  box-shadow: none;
}

body.page-figurinha-de-texto-whatsapp .stx-page .sticker-app { min-width: 0; }
body.page-figurinha-de-texto-whatsapp .stx-page [hidden] { display: none !important; }

body.page-figurinha-de-texto-whatsapp .stx-page .stx-text-head,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-label-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-label {
  display: block;
  margin: 0 0 6px;
  color: var(--cv-ink);
  font-size: 0.92rem;
  font-weight: 700;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-label-row .stx-label,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-text-head .stx-label { margin: 0; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-count,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-value {
  color: #1d3fd8;
  font-size: 0.88rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-text-wrap { position: relative; }
body.page-figurinha-de-texto-whatsapp .stx-page textarea.stx-text {
  display: block;
  width: 100%;
  min-height: 0;
  height: auto;
  margin: 0;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--cv-line);
  border-radius: 12px;
  background: #fff;
  color: var(--cv-ink);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
  resize: vertical;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-clear {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: #eef2f7;
  color: #475569;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-presets,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-fonts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-preset,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-font {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--cv-line);
  border-radius: 999px;
  background: #fff;
  color: #1e293b;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-preset.is-on,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-font.is-on {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-canvas-wrap {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}
body.page-figurinha-de-texto-whatsapp .stx-page #stx-canvas {
  display: block;
  width: min(100%, 512px);
  height: auto;
  border-radius: 12px;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-meta {
  margin: 8px 0 0;
  color: var(--cv-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
}

body.page-figurinha-de-texto-whatsapp .stx-page .stx-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 18px;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-field-wide { grid-column: 1 / -1; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-field { min-width: 0; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-field:has(#stx-size-field:not([hidden])) > .stx-hint { display: none; }
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-hint,
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-preview-note,
body.page-figurinha-de-texto-whatsapp .article .stx-page .sticker-status,
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-dl-note {
  display: block;
  margin: 6px 0 0;
  color: var(--cv-muted);
  font-size: 0.8rem;
  line-height: 1.35;
  text-align: left;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-slider {
  width: 100%;
  margin: 4px 0;
  accent-color: #2563eb;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-switch,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--cv-ink);
  font-weight: 700;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-check { justify-content: flex-start; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-switch input,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-check input { accent-color: #2563eb; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-switch input { width: 18px; height: 18px; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-swatches,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-inks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-chip {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #cbd5e1;
  cursor: pointer;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-chip.is-selected,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-chip.is-on {
  box-shadow: 0 0 0 2px #2563eb;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-chip-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  height: auto;
  padding: 2px 8px 2px 2px;
  border-radius: 999px;
  background: #fff;
  color: var(--cv-ink);
  font-size: 0.75rem;
  font-weight: 700;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-chip-custom input {
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-select {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  background: #fff;
  color: var(--cv-ink);
  font: inherit;
}

body.page-figurinha-de-texto-whatsapp .stx-page .stx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  padding: 8px 16px;
  border: 1px solid var(--cv-line);
  border-radius: 10px;
  background: #fff;
  color: #1e293b;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-btn svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-btn:disabled { opacity: 0.55; cursor: not-allowed; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-btn-primary {
  border-color: #2563eb;
  background: #2563eb;
  color: #fff;
}
body.page-figurinha-de-texto-whatsapp .stx-page #stx-btn-export.conv-go {
  gap: 10px;
  min-height: 54px;
  margin-top: 16px;
  border: 0;
  border-radius: 12px;
  background: #fcc419;
  color: #111827;
  font-size: 1.05rem;
  box-shadow: 0 2px 0 rgba(180, 120, 0, 0.25);
}
body.page-figurinha-de-texto-whatsapp .stx-page #stx-btn-export.conv-go:not(:disabled):hover { background: #f5b400; }
body.page-figurinha-de-texto-whatsapp .stx-page #stx-btn-export.conv-go:disabled {
  background: #f3e4a6;
  color: #78716c;
  box-shadow: none;
  opacity: 1;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .sticker-status { margin-top: 10px; text-align: left; }
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-status:empty { display: none; }
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-status.is-ok { color: #15803d; }
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-status.is-error { color: #b91c1c; }

body.page-figurinha-de-texto-whatsapp .stx-page .stx-checker,
body.page-figurinha-de-texto-whatsapp .stx-page #stx-result-img {
  width: min(100%, 280px);
  aspect-ratio: 1;
  border-radius: 12px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e8edf3 25%, transparent 25%),
    linear-gradient(-45deg, #e8edf3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8edf3 75%),
    linear-gradient(-45deg, transparent 75%, #e8edf3 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-preview-empty {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 8px;
  color: var(--cv-muted);
  font-size: 0.82rem;
  font-weight: 700;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-preview.is-ready .stx-preview-empty,
body.page-figurinha-de-texto-whatsapp .stx-page .stx-preview.is-ready .stx-preview-note { display: none; }
body.page-figurinha-de-texto-whatsapp .stx-page #stx-result {
  display: grid;
  justify-items: center;
  gap: 8px;
}
body.page-figurinha-de-texto-whatsapp .stx-page #stx-result-img {
  height: auto;
  object-fit: contain;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page #stx-result-meta {
  margin: 0;
  color: var(--cv-body);
  font-size: 0.84rem;
  text-align: center;
}

body.page-figurinha-de-texto-whatsapp .stx-page .stx-downloads { display: grid; gap: 8px; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-dl-big {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: #2563eb;
  color: #fff;
  font-size: 1rem;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-dl-big:disabled { background: #e8eef9; color: #94a3b8; opacity: 1; }
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-dl-note { margin: -2px 0 4px; text-align: center; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-pack {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--cv-line);
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-pack-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--cv-ink);
  font-weight: 700;
}
body.page-figurinha-de-texto-whatsapp .stx-page .stx-pack-head .stx-btn { width: auto; min-height: 36px; }
body.page-figurinha-de-texto-whatsapp .stx-page .stx-pack-list { display: flex; flex-wrap: wrap; gap: 8px; }
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-pack-item { position: relative; width: 64px; height: 64px; }
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-pack-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #fff;
  background-image:
    linear-gradient(45deg, #e8edf3 25%, transparent 25%),
    linear-gradient(-45deg, #e8edf3 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e8edf3 75%),
    linear-gradient(-45deg, transparent 75%, #e8edf3 75%);
  background-size: 12px 12px;
  background-position: 0 0, 0 6px, 6px -6px, -6px 0;
}
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-pack-item button {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 20px;
  height: 20px;
  border: 0;
  border-radius: 50%;
  background: #0f172a;
  color: #fff;
  cursor: pointer;
}

body.page-figurinha-de-texto-whatsapp .stx-page .stx-tips {
  padding: 16px 18px;
  border-color: #fdecb2;
  border-radius: 18px;
  background: #fffaeb;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-tips h2 { color: #1e293b; }
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-tips ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-tips li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  color: #334155;
  font-size: 0.86rem;
  line-height: 1.35;
  text-align: left;
}
body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-tips li::before {
  content: "";
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  border-radius: 50%;
  background: #f59e0b url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

body.page-figurinha-de-texto-whatsapp .stx-page .sticker-side:empty { display: none; }
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-side .itool-hist-host {
  max-width: none;
  margin: 0;
  padding: 0;
}
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-app > .util-success,
body.page-figurinha-de-texto-whatsapp .stx-page .sticker-app > .itool-success {
  position: static;
  top: auto;
  z-index: auto;
  margin: 0 0 12px;
}
body.page-figurinha-de-texto-whatsapp .stx-page .conv-ico-title {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
}

@media (max-width: 720px) {
  body.page-figurinha-de-texto-whatsapp .stx-page .stx-split { grid-template-columns: 1fr; }
  body.page-figurinha-de-texto-whatsapp .stx-page .stx-field-wide { grid-column: auto; }
}

html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page textarea.stx-text,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-preset,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-font,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-select,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-btn,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-chip-custom {
  background: #1e293b;
  border-color: #334155;
  color: #e2e8f0;
}
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-preset.is-on,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-font.is-on {
  background: #2563eb;
  color: #fff;
}
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-switch,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-check { color: #e2e8f0; }
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-tips { background: #3b2f12; border-color: #854d0e; }
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-tips h2,
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .article .stx-page .stx-tips li { color: #f8fafc; }
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-dl-big:disabled { background: #1e293b; color: #64748b; }
html[data-theme="dark"] body.page-figurinha-de-texto-whatsapp .stx-page .stx-clear { background: #334155; color: #e2e8f0; }
