@import url('https://fonts.googleapis.com/css2?family=Sora:wght@600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --wz-primary: #4F46E5;
  --wz-primary-dark: #3730A3;
  --wz-accent: #06B6D4;
  --wz-bg: #F4F6FB;         /* light slate */
  --wz-surface: #FFFFFF;
  --wz-text: #1E2233;
  --wz-text-subtle: #64748B;
  --wz-border: #E2E5EE;
  --wz-success: #16A34A;
  --wz-success-bg: #DCFCE7;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}
* { box-sizing: border-box; }
body {
  margin: 0; font-family: 'Inter', sans-serif; background: var(--wz-bg); color: var(--wz-text);
  padding-bottom: 90px; -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Sora', sans-serif; margin: 0; }

/* ============ Splash screen ============ */
.wz-splash {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: var(--wz-bg); padding: 24px; position: relative; overflow: hidden;
  animation: wzSplashIn 0.6s var(--ease);
}
@keyframes wzSplashIn { from { opacity: 0; } to { opacity: 1; } }

.wz-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.35; z-index: 0; animation: wzBlobFloat 14s ease-in-out infinite; }
.wz-blob-1 { width: 380px; height: 380px; top: -120px; left: -100px; background: radial-gradient(circle, #A5B4FC, transparent 70%); animation-delay: 0s; }
.wz-blob-2 { width: 320px; height: 320px; bottom: -100px; right: -80px; background: radial-gradient(circle, #67E8F9, transparent 70%); animation-delay: -4s; }
.wz-blob-3 { width: 260px; height: 260px; bottom: 10%; left: 6%; background: radial-gradient(circle, #FBCFE8, transparent 70%); animation-delay: -8s; }
@keyframes wzBlobFloat { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(24px, -18px) scale(1.06); } }

.wz-splash-inner { text-align: center; max-width: 480px; position: relative; z-index: 1; }
.wz-splash-logo { max-width: 180px; max-height: 90px; object-fit: contain; margin-bottom: 18px; animation: wzLogoPop 0.6s var(--ease); }
@keyframes wzLogoPop { from { opacity: 0; transform: scale(0.85) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.wz-splash-fallback {
  width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); color: #fff;
  align-items: center; justify-content: center; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.6rem;
  box-shadow: 0 16px 36px -10px rgba(79,70,229,0.45);
}

.wz-splash-illustration { width: 100%; max-width: 340px; height: auto; margin: 6px auto 22px; filter: drop-shadow(0 20px 40px rgba(30,34,51,0.12)); }
.wz-ill-card { animation: wzIllFloat 5s ease-in-out infinite; transform-origin: center; }
.wz-ill-card-1 { animation-delay: 0s; }
.wz-ill-card-2 { animation-delay: -1.2s; }
.wz-ill-card-3 { animation-delay: -2.4s; }
.wz-ill-card-4 { animation-delay: -0.6s; }
@keyframes wzIllFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.wz-splash h1 { font-size: 2.1rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.wz-splash p { color: var(--wz-text-subtle); font-size: 1rem; line-height: 1.65; margin-bottom: 30px; }
.wz-btn-start {
  display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent));
  color: #fff; border: none; border-radius: 999px; padding: 17px 36px; font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 1.02rem; cursor: pointer; box-shadow: 0 18px 38px -10px rgba(79,70,229,0.5);
  transition: transform 0.25s var(--spring), box-shadow 0.25s var(--ease);
}
.wz-btn-start:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 22px 44px -8px rgba(79,70,229,0.6); }
.wz-btn-start:active { transform: translateY(-1px) scale(0.98); }

/* ============ Top bar & stepper ============ */
.wz-topbar {
  position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--wz-border);
}
.wz-topbar-brand { display: flex; align-items: center; gap: 10px; font-family: 'Sora', sans-serif; font-weight: 700; }
.wz-topbar-logo { height: 30px; max-width: 130px; object-fit: contain; }
.wz-url-preview { font-size: 0.82rem; color: var(--wz-primary-dark); background: #EEF2FF; padding: 8px 12px; border-radius: 8px; margin-top: 8px !important; }
.wz-url-preview strong { font-weight: 800; }

.wz-offer-menu { position: relative; }
.wz-offer-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; width: 300px; background: #fff; border: 1px solid var(--wz-border);
  border-radius: 14px; padding: 18px; box-shadow: 0 20px 40px -14px rgba(15,17,32,0.3); z-index: 40; animation: wzFade 0.2s var(--ease);
}
.wz-offer-dropdown h4 { font-size: 0.98rem; margin-bottom: 10px; }
.wz-offer-dropdown ul { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; }
.wz-offer-dropdown li { font-size: 0.84rem; color: var(--wz-text); display: flex; align-items: flex-start; gap: 8px; }
.wz-offer-dropdown li i { color: var(--wz-success); margin-top: 3px; }
.wz-offer-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px; background: #25D366; color: #fff;
  border-radius: 999px; padding: 10px; font-weight: 700; font-size: 0.85rem; text-decoration: none;
}
.wz-mark {
  width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem;
}
.wz-step-count { font-size: 0.8rem; font-weight: 700; color: var(--wz-primary); background: #EEF2FF; padding: 6px 14px; border-radius: 999px; }
.wz-topbar-right { display: flex; align-items: center; gap: 10px; }
.wz-topbar-link {
  display: inline-flex; align-items: center; gap: 7px; font-size: 0.82rem; font-weight: 700; color: var(--wz-text);
  text-decoration: none; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--wz-border); transition: all 0.16s var(--ease);
}
.wz-topbar-link:hover { border-color: var(--wz-primary); color: var(--wz-primary); }
.wz-splash-login-row { font-size: 0.88rem; color: var(--wz-text-subtle); margin-top: 18px !important; }
.wz-splash-login-row a { color: var(--wz-primary); font-weight: 700; }

.wz-stepper { display: flex; align-items: center; justify-content: center; max-width: 720px; margin: 26px auto 8px; padding: 0 20px; }
.wz-step-dot { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.wz-dot-circle {
  width: 34px; height: 34px; border-radius: 50%; background: #fff; border: 2px solid var(--wz-border);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; color: var(--wz-text-subtle);
  transition: all 0.25s var(--ease);
}
.wz-dot-label { font-size: 0.68rem; font-weight: 600; color: var(--wz-text-subtle); white-space: nowrap; }
.wz-step-dot.active .wz-dot-circle { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); border-color: transparent; color: #fff; box-shadow: 0 6px 16px -6px rgba(79,70,229,0.5); transform: scale(1.1); transition: all 0.35s var(--spring); }
.wz-step-dot.active .wz-dot-label { color: var(--wz-primary); }
.wz-step-dot.done .wz-dot-circle { background: var(--wz-success-bg); border-color: var(--wz-success); color: var(--wz-success); }
.wz-step-line { flex: 1; height: 3px; background: var(--wz-border); margin: 0 6px 18px; max-width: 60px; border-radius: 3px; overflow: hidden; position: relative; }
.wz-step-line::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, var(--wz-primary), var(--wz-accent));
  transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease);
}
.wz-step-line.done::after { transform: scaleX(1); }

/* ============ Stage ============ */
.wz-stage { max-width: 860px; margin: 0 auto; padding: 20px 20px 40px; }
.wz-step { display: none; animation: wzFade 0.32s var(--ease); }
.wz-step.active { display: block; }
@keyframes wzFade { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.wz-step-heading { margin-bottom: 22px; text-align: center; }
.wz-step-heading h1 { font-size: 1.5rem; margin-bottom: 6px; }
.wz-step-heading p { color: var(--wz-text-subtle); font-size: 0.9rem; }

/* ============ Idea suggestions ============ */
.wz-suggest-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; min-height: 34px; }
.wz-suggest-chip {
  padding: 8px 15px; border-radius: 999px; border: 1.5px solid var(--wz-border); background: #fff;
  font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: all 0.2s var(--spring);
  animation: wzChipIn 0.3s var(--spring) backwards;
}
.wz-suggest-chip:hover { border-color: var(--wz-primary); color: var(--wz-primary); transform: translateY(-2px); }
.wz-suggest-chip.selected { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); border-color: transparent; color: #fff; transform: scale(1.04); }
@keyframes wzChipIn { from { opacity: 0; transform: translateY(4px) scale(0.95); } to { opacity: 1; transform: translateY(0) scale(1); } }
.wz-idea-selected { font-size: 0.82rem; color: var(--wz-success); font-weight: 700; margin-top: 8px; min-height: 1.1em; }

/* ============ Template gallery ============ */
.wz-template-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.wz-template-cost-notice {
  display: flex; align-items: center; gap: 10px; background: #FEF3C7; border: 1.5px solid #FDE68A; color: #92400E;
  border-radius: 12px; padding: 12px 16px; margin-top: 14px; font-size: 0.86rem; line-height: 1.5;
}
.wz-template-cost-notice i { font-size: 1rem; flex-shrink: 0; }
.wz-template-card {
  background: var(--wz-surface); border: 2px solid var(--wz-border); border-radius: 16px; padding: 0; cursor: pointer;
  overflow: hidden; transition: transform 0.22s var(--spring), box-shadow 0.22s var(--ease), border-color 0.18s var(--ease);
  text-align: left; position: relative;
}
.wz-template-card:hover { border-color: var(--wz-primary); transform: translateY(-4px); box-shadow: 0 16px 32px -12px rgba(30,34,51,0.18); }
.wz-template-card.selected { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF, 0 16px 32px -12px rgba(79,70,229,0.25); }
.wz-template-recommended {
  position: absolute; top: 10px; right: 10px; background: var(--wz-success); color: #fff; font-size: 0.64rem;
  font-weight: 800; padding: 4px 9px; border-radius: 999px; letter-spacing: 0.03em; text-transform: uppercase;
}
.wz-template-swatch { height: 96px; display: flex; }
.wz-template-swatch span { flex: 1; }
.wz-template-body { padding: 14px 16px; }
.wz-template-body h3 { font-size: 1rem; margin-bottom: 2px; }
.wz-template-body p { color: var(--wz-text-subtle); font-size: 0.78rem; margin: 4px 0 8px; }
.wz-template-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.wz-template-tag { background: #F1F2FA; color: var(--wz-text-subtle); font-size: 0.68rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; text-transform: capitalize; }
.wz-template-price { font-size: 0.78rem; font-weight: 800; color: var(--wz-success); }
.wz-template-price.paid { color: var(--wz-primary); }

/* ============ Forms (shared) ============ */
.wz-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.wz-logo-preview { margin-top: 10px; }
.wz-logo-preview img { max-height: 60px; max-width: 160px; object-fit: contain; border: 1px solid var(--wz-border); border-radius: 8px; padding: 6px; background: #fff; }
.wz-step label { display: block; font-weight: 600; font-size: 0.82rem; margin: 14px 0 6px; }
.wz-form-grid label { margin-top: 0; }
.wz-step input, .wz-step select, .wz-step textarea {
  width: 100%; padding: 11px 13px; border: 1.5px solid var(--wz-border); border-radius: 10px;
  font-family: inherit; font-size: 0.9rem; background: #fff; transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease);
}
.wz-step input:focus, .wz-step select:focus, .wz-step textarea:focus { outline: none; border-color: var(--wz-primary); box-shadow: 0 0 0 4px #EEF2FF; }
.wz-step textarea { min-height: 80px; resize: vertical; line-height: 1.5; }
#wzAboutText, #wzContactIntro, #wzWebsiteDescription { min-height: 160px; }
.wz-divider { border: none; border-top: 1px solid var(--wz-border); margin: 26px 0 18px; }

/* ============ Site type cards ============ */
.wz-site-type-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 20px; }
.wz-type-card {
  position: relative; display: flex; align-items: flex-start; gap: 14px; border: 1.5px solid var(--wz-border);
  border-radius: 16px; padding: 18px; cursor: pointer; background: #fff; transition: all 0.2s var(--spring);
}
.wz-type-card input { position: absolute; opacity: 0; }
.wz-type-card:hover { border-color: var(--wz-primary); transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(30,34,51,0.15); }
.wz-type-card.selected { border-color: var(--wz-primary); background: #EEF2FF; box-shadow: 0 0 0 3px #EEF2FF; }
.wz-type-icon {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--wz-primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.wz-type-card strong { display: block; font-size: 0.95rem; margin-bottom: 3px; }
.wz-type-card small { color: var(--wz-text-subtle); font-size: 0.8rem; }

/* ============ Menu builder (step 4) ============ */
.wz-layout-guide {
  display: flex; flex-wrap: wrap; gap: 14px; background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
  border: 1.5px solid #E0E4FF; border-radius: 16px; padding: 16px 20px; margin-bottom: 22px;
}
.wz-layout-guide-step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; font-size: 0.84rem; font-weight: 600; color: var(--wz-text); }
.wz-layout-guide-num {
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; flex-shrink: 0;
}

.wz-layout-guide, .wz-theme-guide {
  display: flex; flex-wrap: wrap; gap: 14px; background: linear-gradient(135deg, #EEF2FF, #F5F3FF);
  border: 1.5px solid #E0E4FF; border-radius: 16px; padding: 16px 20px; margin-bottom: 22px;
}
.wz-layout-guide-step { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 220px; font-size: 0.84rem; font-weight: 600; color: var(--wz-text); }
.wz-layout-guide-num {
  width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.8rem; flex-shrink: 0;
}

.wz-theme-quick-save {
  margin-top: 22px; background: linear-gradient(135deg, #ECFDF5, #F0FDFA); border: 1.5px solid #A7F3D0; border-radius: 16px;
  padding: 18px 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.wz-theme-quick-save p { margin: 0; font-size: 0.86rem; color: #065F46; flex: 1; min-width: 220px; }
.wz-theme-quick-save #wzThemeQuickSaveStatus { flex-basis: 100%; font-weight: 700; font-size: 0.85rem; margin-top: 4px; }

/* ============ Theme Editor (Step 2): controls scroll left, preview stays pinned right ============ */
.wz-theme-editor-2col { display: grid; grid-template-columns: 1fr 460px; gap: 24px; align-items: start; }
.wz-theme-editor-controls-col { min-width: 0; }
.wz-theme-editor-sticky-preview { position: sticky; top: 90px; }
.wz-theme-editor-sticky-preview .wz-preview-frame { height: calc(100vh - 170px); min-height: 480px; border-radius: 0 0 14px 14px; }
@media (max-width: 1100px) {
  .wz-theme-editor-2col { grid-template-columns: 1fr; }
  .wz-theme-editor-sticky-preview { position: static; order: -1; margin-bottom: 20px; }
  .wz-theme-editor-sticky-preview .wz-preview-frame { height: 55vh; min-height: 380px; }
}

.wz-layout-editor-split { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.wz-layout-editor-controls { min-width: 0; max-height: 78vh; overflow-y: auto; padding-right: 6px; }
.wz-layout-editor-preview { position: sticky; top: 90px; }
.wz-live-preview-label {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 0.8rem; font-weight: 700; color: var(--wz-primary);
  background: #EEF2FF; padding: 8px 14px; border-radius: 999px 999px 0 0; border: 1px solid var(--wz-border); border-bottom: none;
}
.wz-live-preview-expand {
  background: #fff; border: 1px solid var(--wz-border); border-radius: 999px; padding: 4px 12px; font-size: 0.72rem; font-weight: 700;
  color: var(--wz-text); cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.wz-live-preview-expand:hover { border-color: var(--wz-primary); color: var(--wz-primary); }
.wz-layout-editor-preview .wz-preview-frame, .wz-theme-editor-preview .wz-preview-frame { height: 78vh; min-height: 560px; border-radius: 0 0 14px 14px; }
@media (max-width: 1100px) {
  .wz-layout-editor-split { grid-template-columns: 300px 1fr; }
}
@media (max-width: 900px) {
  .wz-layout-editor-split { grid-template-columns: 1fr; }
  .wz-layout-editor-controls { max-height: none; overflow: visible; padding-right: 0; }
  .wz-layout-editor-preview { position: static; order: -1; margin-bottom: 20px; }
  .wz-layout-editor-preview .wz-preview-frame, .wz-theme-editor-preview .wz-preview-frame { height: 60vh; min-height: 420px; }
}
.wz-menu-block {
  background: #fff; border: 1.5px solid var(--wz-border); border-radius: 18px; padding: 20px 20px 22px; margin-bottom: 20px;
  box-shadow: 0 1px 2px rgba(30,34,51,0.03), 0 12px 28px -20px rgba(30,34,51,0.12);
}
.wz-menu-block-header { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.wz-menu-block-icon {
  width: 36px; height: 36px; border-radius: 10px; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent));
  color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; flex-shrink: 0;
}
.wz-menu-block h3 { font-size: 1.02rem; margin: 0; }
.wz-menu-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.wz-menu-row {
  display: grid; grid-template-columns: 30px 1fr auto 56px; align-items: center; gap: 10px;
  background: #fff; border: 1.5px solid var(--wz-border);
  border-radius: 10px; padding: 9px 11px 9px 28px; cursor: grab; position: relative;
  transition: border-color 0.16s var(--ease), box-shadow 0.16s var(--ease), transform 0.16s var(--ease);
}
.wz-menu-row::before { content: '\22EE\22EE'; position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: var(--wz-text-subtle); font-size: 0.6rem; letter-spacing: -2px; }
.wz-menu-row:hover { border-color: var(--wz-primary); box-shadow: 0 6px 16px -10px rgba(79,70,229,0.3); }
.wz-menu-row.dragging { opacity: 0.4; }
.wz-menu-row.drag-over { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF; transform: scale(1.01); }
.wz-menu-row.disabled { opacity: 0.55; }
.wz-menu-row-label { font-weight: 700; font-size: 0.82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wz-menu-row-controls { display: flex; gap: 3px; justify-content: flex-end; }
.wz-menu-move {
  width: 22px; height: 22px; border: none; border-radius: 6px; background: #EEF2FF; color: var(--wz-primary);
  cursor: pointer; font-size: 0.68rem; transition: background 0.15s var(--ease);
}
.wz-menu-move:hover { background: #DCE1FF; }
.wz-menu-move:disabled { opacity: 0.3; cursor: default; }

/* Toggle switch instead of a plain checkbox — reads as far more polished */
.wz-menu-toggle {
  -webkit-appearance: none; appearance: none; width: 30px; height: 17px; border-radius: 999px;
  background: #D8DCEA; position: relative; cursor: pointer; flex-shrink: 0; transition: background 0.2s var(--ease);
}
.wz-menu-toggle::before {
  content: ''; position: absolute; top: 2px; left: 2px; width: 13px; height: 13px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,0.25); transition: transform 0.2s var(--spring);
}
.wz-menu-toggle:checked { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); }
.wz-menu-toggle:checked::before { transform: translateX(13px); }
.wz-menu-toggle:disabled { opacity: 0.5; cursor: default; }

.wz-section-color-controls { display: flex; align-items: center; gap: 4px; }
.wz-section-color-swatch {
  width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--wz-border); cursor: pointer;
  overflow: hidden; position: relative; flex-shrink: 0; transition: transform 0.15s var(--spring);
  display: flex; align-items: center; justify-content: center;
}
.wz-section-color-swatch:hover { transform: scale(1.12); }
.wz-section-color-swatch i, .wz-section-color-letter {
  font-size: 0.6rem; color: rgba(255,255,255,0.95); text-shadow: 0 0 2px rgba(0,0,0,0.6); pointer-events: none; font-weight: 800;
}
.wz-section-color-input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.wz-section-color-clear {
  width: 18px; height: 18px; border: none; border-radius: 50%; background: #FEE2E2; color: #DC2626;
  font-size: 0.72rem; line-height: 1; cursor: pointer; flex-shrink: 0;
}

/* ============ Preview (step 5) ============ */
.wz-preview-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; justify-content: center; }
.wz-preview-tab {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--wz-border); background: #fff;
  font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.16s var(--ease);
}
.wz-preview-tab.active { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); border-color: transparent; color: #fff; }
.wz-preview-frame { width: 100%; height: 60vh; min-height: 380px; border: 1px solid var(--wz-border); border-radius: 14px; background: #fff; }

/* ============ Publish ============ */
.wz-publish-summary {
  background: var(--wz-surface); border: 1px solid var(--wz-border); border-radius: 14px; padding: 20px 22px; margin: 20px 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px;
}
.wz-publish-summary div span.label { display: block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--wz-text-subtle); margin-bottom: 3px; }
.wz-publish-summary div span.value { font-weight: 700; font-size: 0.92rem; }

.wz-media-overview { margin: 20px 0; }
.wz-media-group { margin-bottom: 20px; }
.wz-media-group h4 { font-size: 0.92rem; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.wz-media-count { background: #EEF2FF; color: var(--wz-primary); font-size: 0.72rem; font-weight: 800; padding: 2px 9px; border-radius: 999px; }
.wz-media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.wz-media-thumb { position: relative; height: 90px; border-radius: 10px; overflow: hidden; background: #000; border: 1px solid var(--wz-border); }
.wz-media-thumb img, .wz-media-thumb video { width: 100%; height: 100%; object-fit: cover; display: block; }
.wz-media-type-badge {
  position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border-radius: 50%;
  background: rgba(0,0,0,0.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.68rem;
}
.wz-publish-actions { text-align: center; }

.wz-publish-progress { max-width: 440px; margin: 20px auto 0; text-align: center; }
.wz-publish-progress-track { height: 10px; border-radius: 999px; background: #E9EBF5; overflow: hidden; }
.wz-publish-progress-fill {
  height: 100%; width: 0%; border-radius: 999px; background: linear-gradient(90deg, var(--wz-primary), var(--wz-accent));
  transition: width 0.4s cubic-bezier(0.4,0,0.2,1); position: relative; overflow: hidden;
}
.wz-publish-progress-fill::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: wzProgressShine 1.4s ease-in-out infinite;
}
@keyframes wzProgressShine { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.wz-publish-progress-label { font-size: 0.86rem; font-weight: 700; color: var(--wz-text-subtle); margin: 10px 0 0; }
.wz-btn-publish {
  display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent));
  color: #fff; border: none; border-radius: 999px; padding: 15px 34px; font-family: 'Sora', sans-serif; font-weight: 700;
  font-size: 1rem; cursor: pointer; box-shadow: 0 14px 30px -8px rgba(79,70,229,0.4); transition: transform 0.22s var(--spring), box-shadow 0.22s var(--ease);
}
.wz-btn-publish:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 38px -8px rgba(79,70,229,0.5); }
.wz-btn-publish:active { transform: translateY(-1px) scale(0.98); }
.wz-btn-publish:disabled { opacity: 0.65; cursor: wait; transform: none; }
.wz-publish-result { margin-top: 22px; text-align: center; padding: 24px; border-radius: 16px; background: var(--wz-success-bg); animation: wzResultIn 0.4s var(--spring); }
@keyframes wzResultIn { from { opacity: 0; transform: scale(0.9) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }
.wz-publish-result a { color: var(--wz-primary-dark); font-weight: 700; word-break: break-all; }
.wz-publish-url-box {
  background: #fff; border: 1.5px solid var(--wz-border); border-radius: 14px; padding: 16px 20px; margin: 0 auto; max-width: 420px;
}
.wz-publish-url-box span { display: block; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--wz-text-subtle); margin-bottom: 6px; }
.wz-publish-url-box a { font-size: 1.05rem; }
.wz-publish-result.error { background: #FEF2F2; color: #B91C1C; }
.wz-publish-result ul { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-direction: column; gap: 4px; }

/* ============ Bottom nav buttons ============ */
.wz-nav-buttons {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; display: flex; justify-content: space-between;
  padding: 14px 24px calc(14px + env(safe-area-inset-bottom)); background: rgba(255,255,255,0.94); backdrop-filter: blur(12px);
  border-top: 1px solid var(--wz-border);
}
.wz-btn-primary, .wz-btn-secondary {
  display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 12px 24px; font-weight: 700;
  font-size: 0.9rem; cursor: pointer; border: none; transition: all 0.2s var(--spring); font-family: inherit;
}
.wz-btn-primary { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); color: #fff; margin-left: auto; }
.wz-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(79,70,229,0.45); }
.wz-btn-primary:active { transform: translateY(0) scale(0.97); }
.wz-btn-secondary { background: #fff; border: 1.5px solid var(--wz-border); color: var(--wz-text); }
.wz-btn-secondary:hover:not(:disabled) { border-color: var(--wz-primary); color: var(--wz-primary); }
.wz-btn-secondary:disabled { opacity: 0.4; cursor: default; }

/* ============ Auth gate modal (shared markup/classes from auth-gate.js) ============ */
.auth-gate-overlay { position: fixed; inset: 0; background: rgba(15,17,32,0.55); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 20px; }
.auth-gate-card { background: #fff; border-radius: 20px; padding: 28px 26px; width: 100%; max-width: 400px; max-height: 90vh; overflow-y: auto; box-shadow: 0 30px 60px -12px rgba(15,17,32,0.4); position: relative; animation: wzFade 0.22s var(--ease); }
.auth-gate-card h3 { font-size: 1.08rem; margin-bottom: 4px; }
.auth-gate-card p { color: var(--wz-text-subtle); font-size: 0.84rem; margin: 0 0 18px; }
.auth-gate-tabs { display: flex; gap: 6px; margin-bottom: 16px; }
.auth-gate-tabs button { flex: 1; padding: 8px; border: none; border-radius: 8px; font-weight: 700; font-size: 0.82rem; background: var(--wz-bg); color: var(--wz-text-subtle); cursor: pointer; }
.auth-gate-tabs button.active { background: var(--wz-primary); color: #fff; }
.auth-gate-field { margin-bottom: 12px; }
.auth-gate-field label { display: block; font-size: 0.78rem; font-weight: 600; margin-bottom: 5px; }
.auth-gate-field input { width: 100%; padding: 10px 12px; border: 1px solid var(--wz-border); border-radius: 8px; font-size: 0.92rem; }
.auth-gate-submit { width: 100%; padding: 11px; border: none; border-radius: 999px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); cursor: pointer; margin-top: 4px; }
.auth-gate-close { position: absolute; top: 14px; right: 14px; background: none; border: none; cursor: pointer; color: var(--wz-text-subtle); font-size: 1rem; }
.auth-gate-message { font-size: 0.8rem; margin-top: 8px; min-height: 1.1em; }
.auth-gate-message.error { color: #dc2626; }
.auth-gate-message.success { color: var(--wz-success); }

/* ============ Repeater fields (services, reviews, FAQ) ============ */
.wz-repeater { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
/* ============ Info icons + guide modal ============ */
.wz-info-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%;
  background: #EEF2FF; color: var(--wz-primary); border: none; cursor: pointer; font-size: 0.7rem; margin-left: 4px;
  transition: all 0.16s var(--ease); vertical-align: middle;
}
.wz-info-icon:hover { background: var(--wz-primary); color: #fff; transform: scale(1.1); }

.wz-guide-overlay {
  position: fixed; inset: 0; background: rgba(15,17,32,0.6); backdrop-filter: blur(3px); z-index: 200;
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.wz-guide-card {
  background: #fff; border-radius: 22px; padding: 32px 30px; width: 100%; max-width: 540px; max-height: 85vh; overflow-y: auto;
  box-shadow: 0 40px 70px -20px rgba(15,17,32,0.45); position: relative; animation: wzFade 0.25s var(--ease);
}
.wz-guide-card h2 { font-size: 1.3rem; margin-bottom: 6px; }
.wz-guide-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.wz-guide-intro { color: var(--wz-text-subtle); font-size: 0.9rem; margin-bottom: 20px; }
.wz-guide-steps { padding-left: 20px; display: flex; flex-direction: column; gap: 14px; margin-bottom: 20px; }
.wz-guide-steps li { font-size: 0.88rem; line-height: 1.6; color: var(--wz-text); }
.wz-guide-note { font-size: 0.84rem; color: var(--wz-text-subtle); background: var(--wz-bg); padding: 10px 14px; border-radius: 10px; margin: 0 0 10px; }
.wz-guide-note a { color: var(--wz-primary); font-weight: 700; }
.wz-info-popover-card { max-width: 420px; }
.wz-info-popover-card p { color: var(--wz-text-subtle); font-size: 0.9rem; line-height: 1.6; }

.wz-payment-confirm-card { max-width: 440px; }
.wz-payment-confirm-kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: #B45309; background: #FEF3C7; padding: 5px 12px; border-radius: 999px; margin-bottom: 12px;
}
.wz-payment-confirm-card h2 { font-size: 1.5rem; margin: 0 0 8px; }
.wz-payment-confirm-purpose { color: var(--wz-text-subtle); font-size: 0.9rem; line-height: 1.55; margin: 0 0 18px; }
.wz-payment-confirm-amount-box {
  display: flex; align-items: center; justify-content: space-between; background: var(--wz-bg); border: 1.5px solid var(--wz-border);
  border-radius: 14px; padding: 16px 20px; margin-bottom: 16px;
}
.wz-payment-confirm-amount-box span { font-size: 0.86rem; font-weight: 600; color: var(--wz-text-subtle); }
.wz-payment-confirm-amount-box strong { font-family: 'Sora', sans-serif; font-size: 1.6rem; color: var(--wz-primary); }
.wz-payment-confirm-toggle {
  display: flex; align-items: center; gap: 8px; background: none; border: none; color: var(--wz-primary);
  font-weight: 700; font-size: 0.85rem; cursor: pointer; padding: 6px 0; font-family: inherit;
}
.wz-payment-confirm-toggle i { transition: transform 0.2s ease; font-size: 0.7rem; }
.wz-payment-confirm-toggle.open i { transform: rotate(180deg); }
.wz-payment-confirm-fields { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.wz-payment-confirm-fields input {
  padding: 11px 13px; border: 1.5px solid var(--wz-border); border-radius: 9px; font-size: 0.9rem; font-family: inherit;
}
.wz-payment-confirm-note { font-size: 0.76rem; color: var(--wz-text-subtle); text-align: center; margin: 12px 0 0; }

.wz-watch-tutorial-btn {
  display: inline-flex; align-items: center; gap: 9px; background: linear-gradient(135deg, #4F46E5, #06B6D4); color: #fff;
  border: none; border-radius: 999px; padding: 12px 22px; font-weight: 700; font-size: 0.88rem; cursor: pointer;
  margin-bottom: 20px; transition: transform 0.2s var(--spring), box-shadow 0.2s ease; font-family: inherit;
}
.wz-watch-tutorial-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -10px rgba(79,70,229,0.5); }
.wz-watch-tutorial-btn i { font-size: 1.1rem; }
.wz-tutorial-video-card { max-width: 640px; }

/* ============ Publish page: "unlock your dashboard" teaser with visual mockup ============ */
.wz-dashboard-teaser {
  display: grid; grid-template-columns: 1fr 380px; gap: 30px; align-items: center;
  background: linear-gradient(135deg, #0B0F1A, #1E293B); border-radius: 24px; padding: 34px 32px; margin: 26px 0; color: #fff;
  position: relative; overflow: hidden;
}
.wz-dashboard-teaser::before { content: ''; position: absolute; top: -100px; left: -100px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(79,70,229,0.35), transparent 70%); }
.wz-dashboard-teaser-text { position: relative; }
.wz-dashboard-teaser-text h2 { font-size: 1.5rem; margin: 12px 0 10px; color: #fff; }
.wz-dashboard-teaser-text > p { font-size: 0.92rem; color: rgba(255,255,255,0.72); line-height: 1.6; margin: 0 0 18px; max-width: 46ch; }
.wz-dashboard-teaser-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.wz-dashboard-teaser-list li { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: rgba(255,255,255,0.9); }
.wz-dashboard-teaser-list li i { color: #A5B4FC; width: 18px; text-align: center; flex-shrink: 0; }
.wz-view-sample-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; background: rgba(255,255,255,0.12);
  border: 1.5px solid rgba(255,255,255,0.3); color: #fff; padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 0.84rem; text-decoration: none; transition: all 0.2s ease;
}
.wz-view-sample-btn:hover { background: #fff; color: #4F46E5; }

.wz-dashboard-mockup {
  background: #F4F6FB; border-radius: 16px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
  display: flex; height: 260px; position: relative; border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none; cursor: pointer; transition: transform 0.2s ease;
}
.wz-dashboard-mockup:hover { transform: scale(1.02); }
.wz-mockup-sidebar { width: 84px; background: #10131F; flex-shrink: 0; padding: 12px 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.wz-mockup-brand { width: 26px; height: 26px; border-radius: 7px; background: linear-gradient(135deg,#4F46E5,#06B6D4); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 0.7rem; margin-bottom: 6px; }
.wz-mockup-nav-item { display: flex; flex-direction: column; align-items: center; gap: 3px; color: rgba(255,255,255,0.4); font-size: 0.5rem; width: 100%; padding: 5px 0; }
.wz-mockup-nav-item i { font-size: 0.72rem; }
.wz-mockup-nav-item.active { color: #A5B4FC; background: rgba(165,180,252,0.12); border-radius: 8px; }
.wz-mockup-main { flex: 1; padding: 14px; overflow: hidden; }
.wz-mockup-topbar { height: 10px; width: 55%; border-radius: 5px; background: #DCE1F0; margin-bottom: 14px; }
.wz-mockup-card-row { display: flex; gap: 8px; margin-bottom: 12px; }
.wz-mockup-card { flex: 1; height: 46px; border-radius: 8px; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.wz-mockup-page-manager { display: flex; flex-direction: column; gap: 6px; }
.wz-mockup-toggle-row { display: flex; align-items: center; justify-content: space-between; background: #fff; border-radius: 7px; padding: 7px 10px; box-shadow: 0 1px 4px rgba(0,0,0,0.05); }
.wz-mockup-toggle-row span { width: 60%; height: 6px; border-radius: 3px; background: #E3E7F2; }
.wz-mockup-toggle { width: 22px; height: 12px; border-radius: 999px; background: #D8DCEA; position: relative; }
.wz-mockup-toggle.on { background: linear-gradient(135deg,#4F46E5,#06B6D4); }
.wz-mockup-toggle::after { content: ''; position: absolute; top: 2px; left: 2px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.wz-mockup-toggle.on::after { left: 12px; }

@media (max-width: 900px) {
  .wz-dashboard-teaser { grid-template-columns: 1fr; }
  .wz-dashboard-mockup { height: 220px; order: -1; }
}

.wz-ai-btn {
  display: inline-flex; align-items: center; gap: 8px; background: linear-gradient(135deg, #8B5CF6, #6366F1); color: #fff;
  border: none; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 0.78rem; cursor: pointer;
  margin: 8px 0 4px; transition: transform 0.2s var(--spring), box-shadow 0.2s var(--ease); font-family: inherit;
}
.wz-ai-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(99,102,241,0.5); }
.wz-ai-btn:disabled { opacity: 0.7; cursor: wait; }

.wz-bigstore-showcase {
  background: linear-gradient(135deg, #0B0F1A, #1E293B); border-radius: 22px; padding: 28px 26px; margin-bottom: 26px; color: #fff;
  position: relative; overflow: hidden;
}
.wz-bigstore-showcase::before { content: ''; position: absolute; top: -80px; right: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(79,70,229,0.4), transparent 70%); }
.wz-bigstore-header { position: relative; margin-bottom: 20px; }
.wz-bigstore-header .wz-autofill-kicker { background: rgba(255,255,255,0.12); color: #A5B4FC; }
.wz-bigstore-header h3 { font-size: 1.25rem; margin: 10px 0 6px; color: #fff; }
.wz-bigstore-header p { font-size: 0.88rem; color: rgba(255,255,255,0.68); margin: 0; max-width: 560px; }
.wz-bigstore-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; position: relative; }
.wz-bigstore-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: rgba(255,255,255,0.06);
  border: 1.5px solid rgba(255,255,255,0.14); border-radius: 16px; padding: 18px; cursor: pointer; text-align: left;
  transition: all 0.2s var(--spring); color: #fff;
}
.wz-bigstore-card:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.3); transform: translateY(-3px); }
.wz-bigstore-card.selected { background: rgba(255,255,255,0.16); border-color: #A5B4FC; box-shadow: 0 0 0 3px rgba(165,180,252,0.25); }
.wz-bigstore-icon {
  width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: #fff; margin-bottom: 4px;
}
.wz-bigstore-card strong { font-size: 0.98rem; }
.wz-bigstore-card small { font-size: 0.78rem; color: rgba(255,255,255,0.62); line-height: 1.4; }
.wz-other-idea-note {
  display: flex; align-items: center; gap: 8px; font-size: 0.84rem; color: var(--wz-text-subtle);
  background: #FFFBEB; border: 1px solid #FDE68A; border-radius: 10px; padding: 10px 14px; margin: 0 0 18px;
}
.wz-other-idea-note i { color: #B45309; flex-shrink: 0; }

.wz-year-highlight {
  display: flex; align-items: flex-start; gap: 12px; background: linear-gradient(135deg, #ECFDF5, #F0FDFA);
  border: 1.5px solid #A7F3D0; border-radius: 14px; padding: 16px 20px; margin-bottom: 18px;
}
.wz-year-highlight i { font-size: 1.3rem; color: #16A34A; flex-shrink: 0; margin-top: 2px; }
.wz-year-highlight p { margin: 0; font-size: 0.88rem; color: #065F46; line-height: 1.55; }
.wz-year-highlight strong { color: #047857; }

.wz-getlist {
  background: #F8FAFC; border: 1.5px solid var(--wz-border); border-radius: 16px; padding: 20px 24px;
  margin: 0 0 20px;
}
.wz-getlist-title {
  display: flex; align-items: center; gap: 8px; font-size: 0.82rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.03em; color: var(--wz-primary); margin-bottom: 14px;
}
.wz-getlist-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.wz-getlist-item { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; font-weight: 600; color: var(--wz-text); }
.wz-getlist-item i { color: var(--wz-primary); font-size: 1.05rem; flex-shrink: 0; }

.wz-autofill-banner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
  background: linear-gradient(135deg, #EEF2FF, #F5F0FF); border: 1.5px solid #DDD6FE; border-radius: 20px;
  padding: 22px 26px; margin-bottom: 10px;
}
.wz-autofill-text { flex: 1; min-width: 260px; }
.wz-autofill-kicker {
  display: inline-flex; align-items: center; gap: 6px; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase; color: #7C3AED; background: #F3E8FF; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px;
}
.wz-autofill-text h3 { font-size: 1.08rem; margin: 0 0 6px; }
.wz-autofill-text p { font-size: 0.86rem; color: var(--wz-text-subtle); line-height: 1.55; margin: 0; }
.wz-autofill-btn {
  display: inline-flex; align-items: center; gap: 10px; background: linear-gradient(135deg, #8B5CF6, #6366F1); color: #fff;
  border: none; border-radius: 999px; padding: 14px 26px; font-weight: 800; font-size: 0.92rem; cursor: pointer;
  transition: transform 0.2s var(--spring), box-shadow 0.2s var(--ease); white-space: nowrap; flex-shrink: 0;
}
.wz-autofill-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(99,102,241,0.5); }
.wz-autofill-btn:disabled { opacity: 0.7; cursor: wait; }
.wz-autofill-btn-group { display: flex; flex-direction: column; gap: 8px; align-items: stretch; flex-shrink: 0; }
.wz-autofill-ai-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 1.5px solid #C4B5FD;
  color: #7C3AED; border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 0.76rem; cursor: pointer;
  transition: all 0.18s var(--ease); font-family: inherit;
}
.wz-autofill-ai-btn:hover:not(:disabled) { background: #F5F3FF; }
.wz-autofill-ai-btn:disabled { opacity: 0.7; cursor: wait; }
.wz-autofill-status { font-size: 0.85rem; font-weight: 700; margin: 10px 0 20px; min-height: 1.2em; }

.wz-lead-question-row {
  background: #fff; border: 1.5px solid var(--wz-border); border-radius: 12px; padding: 12px; margin-bottom: 10px;
}
.wz-lead-question-top { display: grid; grid-template-columns: 1fr 180px 36px; gap: 8px; align-items: center; }
.wz-lq-label, .wz-lq-type, .wz-lq-options {
  padding: 9px 11px; border: 1.5px solid var(--wz-border); border-radius: 8px; font-size: 0.86rem; font-family: inherit;
}
.wz-lq-options { width: 100%; margin-top: 8px; }
.wz-repeater-remove {
  width: 36px; height: 36px; border: none; border-radius: 8px; background: #FEF2F2; color: #DC2626; cursor: pointer;
  transition: background 0.15s ease;
}
.wz-repeater-remove:hover { background: #FECACA; }
@media (max-width: 640px) { .wz-lead-question-top { grid-template-columns: 1fr; } }

.wz-cart-style-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.wz-cart-style-option {
  display: flex; flex-direction: column; align-items: center; gap: 8px; background: #fff; border: 2px solid var(--wz-border);
  border-radius: 14px; padding: 16px 20px; cursor: pointer; transition: all 0.2s var(--spring);
}
.wz-cart-style-option:hover { border-color: var(--wz-primary); transform: translateY(-2px); }
.wz-cart-style-option.selected { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF; }
.wz-cart-style-option small { font-size: 0.74rem; font-weight: 700; color: var(--wz-text-subtle); }
.wz-cart-style-preview { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; pointer-events: none; }
.wz-cart-style-preview-solid { background: var(--wz-primary); color: #fff; }
.wz-cart-style-preview-outline { background: transparent; color: var(--wz-primary); border: 1.5px solid var(--wz-primary); }
.wz-cart-style-preview-icon { background: var(--wz-primary); color: #fff; border-radius: 50%; width: 38px; height: 38px; justify-content: center; padding: 0; }

.wz-repeater-row {
  display: grid; gap: 10px; background: #fff; border: 1.5px solid var(--wz-border); border-radius: 12px;
  padding: 44px 14px 14px 28px; position: relative; animation: wzFade 0.22s var(--ease); cursor: grab;
}
.wz-repeater-row::before { content: '\22EE\22EE'; position: absolute; left: 7px; top: 50%; transform: translateY(-50%); color: var(--wz-text-subtle); font-size: 0.68rem; letter-spacing: -2px; }
.wz-reorder-controls { position: absolute; top: 10px; right: 44px; display: flex; gap: 4px; }
.wz-reorder-btn {
  width: 30px; height: 30px; border: 1.5px solid var(--wz-border); border-radius: 8px; background: #fff;
  color: var(--wz-text-subtle); cursor: pointer; font-size: 0.78rem; transition: all 0.16s var(--ease);
}
.wz-reorder-btn:hover:not(:disabled) { border-color: var(--wz-primary); color: var(--wz-primary); }
.wz-reorder-btn:disabled { opacity: 0.3; cursor: default; }
.wz-repeater-row.dragging { opacity: 0.4; }
.wz-repeater-row.drag-over { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF; transform: scale(1.01); }
.wz-repeater-row.wz-repeater-row-service { grid-template-columns: 64px 1.2fr 0.7fr 1fr; }
.wz-repeater-row.wz-repeater-row-service textarea { grid-column: 1 / -1; }
.wz-repeater-image-field { display: flex; align-items: center; }
.wz-repeater-image-upload {
  width: 56px; height: 56px; border-radius: 10px; border: 1.5px dashed var(--wz-border); background: var(--wz-bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; overflow: hidden;
  color: var(--wz-text-subtle); font-size: 0.6rem; text-align: center; gap: 2px; transition: border-color 0.15s ease;
}
.wz-repeater-image-upload:hover { border-color: var(--wz-primary); color: var(--wz-primary); }
.wz-repeater-image-upload.has-image { border-style: solid; padding: 0; }
.wz-repeater-image-upload img { width: 100%; height: 100%; object-fit: cover; }
.wz-repeater-image-upload i { font-size: 1rem; }
@media (max-width: 700px) { .wz-repeater-row.wz-repeater-row-service { grid-template-columns: 56px 1fr; } }
.wz-repeater-row.wz-repeater-row-qa { grid-template-columns: 1fr; }
.wz-repeater-row input, .wz-repeater-row textarea { margin: 0; }
.wz-repeater-remove {
  position: absolute; top: 10px; right: 10px; width: 24px; height: 24px; border: none; border-radius: 50%;
  background: #FEF2F2; color: #DC2626; cursor: pointer; font-size: 0.78rem; transition: background 0.15s var(--ease);
}
.wz-repeater-remove:hover { background: #FEE2E2; }
.wz-repeater-add {
  margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; background: #EEF2FF; color: var(--wz-primary);
  border: none; border-radius: 999px; padding: 9px 18px; font-weight: 700; font-size: 0.82rem; cursor: pointer;
  transition: background 0.16s var(--ease);
}
.wz-repeater-add:hover { background: #DCE1FF; }

/* ============ Tag input (offers, gallery captions) ============ */
.wz-tag-input {
  border: 1.5px solid var(--wz-border); border-radius: 12px; padding: 10px 12px; background: #fff; margin-top: 6px;
}
.wz-tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.wz-tag-list:empty { margin-bottom: 0; }
.wz-tag-chip {
  display: inline-flex; align-items: center; gap: 6px; background: #EEF2FF; color: var(--wz-primary-dark);
  padding: 5px 6px 5px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; animation: wzChipIn 0.2s var(--spring);
}
.wz-tag-chip button { width: 18px; height: 18px; border: none; border-radius: 50%; background: rgba(79,70,229,0.15); color: var(--wz-primary); cursor: pointer; font-size: 0.68rem; }
.wz-tag-input input { border: none; padding: 6px 2px; }
.wz-tag-input input:focus { box-shadow: none; }

/* ============ Preview toolbar / device toggle ============ */
.wz-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 14px; }
.wz-preview-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.wz-preview-tab {
  padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--wz-border); background: #fff;
  font-size: 0.82rem; font-weight: 700; cursor: pointer; transition: all 0.18s var(--spring);
}
.wz-preview-tab:hover { transform: translateY(-1px); }
.wz-preview-tab.active { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); border-color: transparent; color: #fff; }
.wz-preview-toolbar-right { display: flex; align-items: center; gap: 10px; }
.wz-device-toggle { display: flex; gap: 3px; background: #fff; border: 1.5px solid var(--wz-border); border-radius: 999px; padding: 4px; }
.wz-device-btn { width: 34px; height: 30px; border: none; border-radius: 999px; background: transparent; color: var(--wz-text-subtle); cursor: pointer; transition: all 0.18s var(--ease); }
.wz-device-btn:hover { color: var(--wz-primary); }
.wz-device-btn.active { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); color: #fff; }
.wz-fullscreen-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1.5px solid var(--wz-border);
  border-radius: 999px; padding: 8px 16px; font-weight: 700; font-size: 0.82rem; cursor: pointer; color: var(--wz-text);
  transition: all 0.18s var(--ease);
}
.wz-fullscreen-btn:hover { border-color: var(--wz-primary); color: var(--wz-primary); }

.wz-whatsapp-demo-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #25D366; border: none; color: #fff;
  border-radius: 999px; padding: 8px 18px; font-weight: 700; font-size: 0.82rem; cursor: pointer;
  transition: all 0.18s var(--ease); font-family: inherit;
}
.wz-whatsapp-demo-btn:hover { background: #1EBE57; transform: translateY(-1px); }

.wz-whatsapp-demo-card, .wz-language-card { max-width: 440px; }
.wz-whatsapp-bubble {
  background: #E7FFDB; border-radius: 12px; padding: 14px 16px; margin: 16px 0; font-size: 0.86rem;
  color: #111B21; line-height: 1.6; white-space: pre-wrap; max-height: 320px; overflow-y: auto;
  border: 1px solid #D3F4C5; position: relative;
}
.wz-whatsapp-bubble::before {
  content: 'Demo Preview'; display: block; font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.04em; color: #16A34A; margin-bottom: 8px;
}
.wz-whatsapp-demo-actions { text-align: center; }

.wz-language-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
.wz-language-option {
  padding: 11px; border: 1.5px solid var(--wz-border); border-radius: 10px; background: #fff; cursor: pointer;
  font-size: 0.88rem; font-weight: 600; color: var(--wz-text); transition: all 0.15s var(--ease); font-family: inherit;
}
.wz-language-option:hover, .wz-language-option.active { border-color: var(--wz-primary); background: #EEF2FF; color: var(--wz-primary); }

.wz-preview-stage { display: flex; justify-content: center; background: #EEF0F7; border-radius: 18px; padding: 20px; transition: padding 0.25s var(--ease); }
.wz-preview-frame { width: 100%; height: 60vh; min-height: 380px; border: 1px solid var(--wz-border); border-radius: 14px; background: #fff; transition: width 0.3s var(--ease), height 0.3s var(--ease), border-radius 0.3s var(--ease); box-shadow: 0 14px 34px -18px rgba(30,34,51,0.25); }
.wz-preview-stage.device-tablet .wz-preview-frame { width: 768px; max-width: 100%; }
.wz-preview-stage.device-mobile .wz-preview-frame { width: 390px; max-width: 100%; border-radius: 28px; }

@media (max-width: 720px) {
  .wz-preview-toolbar { flex-direction: column; align-items: stretch; }
  .wz-preview-toolbar-right { justify-content: space-between; }
}

/* ============ Content blocks (About/Contact photos, videos, extra text) ============ */
.wz-blocks { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.wz-block-row {
  position: relative; background: #fff; border: 1.5px solid var(--wz-border); border-radius: 12px;
  padding: 44px 40px 14px 28px; animation: wzFade 0.22s var(--ease); cursor: grab;
}
.wz-block-row::before { content: '\22EE\22EE'; position: absolute; left: 7px; top: 16px; color: var(--wz-text-subtle); font-size: 0.68rem; letter-spacing: -2px; }
.wz-block-row.dragging { opacity: 0.4; }
.wz-block-row.drag-over { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF; transform: scale(1.01); }
.wz-block-type-label { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; font-weight: 700; color: var(--wz-primary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 8px; }
.wz-block-row textarea { min-height: 70px; }
.wz-block-file { margin-bottom: 10px; }
.wz-block-caption { margin-top: 8px !important; }
.wz-block-preview img, .wz-block-preview video { max-width: 100%; max-height: 200px; border-radius: 10px; display: block; }
.wz-block-empty { color: var(--wz-text-subtle); font-size: 0.82rem; }
.wz-block-status { font-size: 0.78rem; color: var(--wz-primary); margin-top: 6px; min-height: 1.1em; }
.wz-block-add-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.wz-block-add-btn {
  display: inline-flex; align-items: center; gap: 8px; background: #EEF2FF; color: var(--wz-primary);
  border: none; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 0.8rem; cursor: pointer;
  transition: background 0.16s var(--ease);
}
.wz-block-add-btn:hover { background: #DCE1FF; }

/* ============ Step 2 design tools: font + color overrides ============ */
/* ============ Layout variant picker (Step 2) ============ */
.wz-layout-picker { margin-top: 26px; background: #fff; border: 1.5px solid var(--wz-border); border-radius: 16px; padding: 20px 22px; }
.wz-layout-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; margin-top: 6px; }
.wz-layout-card {
  text-align: left; background: #fff; border: 2px solid var(--wz-border); border-radius: 14px; padding: 0; cursor: pointer;
  overflow: hidden; transition: all 0.2s var(--spring);
}
.wz-layout-card:hover { border-color: var(--wz-primary); transform: translateY(-3px); box-shadow: 0 12px 26px -14px rgba(30,34,51,0.2); }
.wz-layout-card.selected { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF; }
.wz-layout-mockup { height: 96px; background: var(--wz-bg); padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.wz-mock-bar { height: 12px; border-radius: 4px; background: #D8DCEA; width: 100%; }
.wz-mock-bar.wz-mock-hero { height: 26px; background: linear-gradient(90deg, var(--wz-primary), var(--wz-accent)); opacity: 0.85; }
.wz-mock-bar.wz-mock-alt { background: #C3C9E0; }
.wz-mock-bar.wz-mock-border { border-left: 3px solid var(--wz-primary); padding-left: 4px; width: calc(100% - 7px); }
.wz-mock-bar.wz-mock-left { width: 70%; margin-right: auto; }
.wz-mock-bar.wz-mock-right { width: 70%; margin-left: auto; }
.wz-mock-bar.wz-mock-narrow { width: 60%; margin: 0 auto; }
.wz-mock-card { height: 20px; border-radius: 6px; background: #fff; border: 1px solid var(--wz-border); box-shadow: 0 3px 6px -3px rgba(0,0,0,0.15); }
.wz-mock-card.wz-mock-hero { height: 30px; background: linear-gradient(90deg, var(--wz-primary), var(--wz-accent)); opacity: 0.85; border: none; }
.wz-mock-bar.wz-mock-tall { height: 40px; }
.wz-mock-bar.wz-mock-serif { font-family: Georgia, serif; }
.wz-mock-mockup-dark { background: #0B0F1A; border-radius: 8px; padding: 8px; display: flex; flex-direction: column; gap: 6px; width: 100%; }
.wz-mock-mockup-dark .wz-mock-bar.wz-mock-dark { background: #2A3245; }
.wz-mock-mockup-glass { background: linear-gradient(135deg, var(--wz-primary), var(--wz-accent)); border-radius: 8px; padding: 10px; display: flex; gap: 6px; width: 100%; }
.wz-mock-glass-card { flex: 1; height: 60px; background: rgba(255,255,255,0.25); border: 1px solid rgba(255,255,255,0.4); border-radius: 8px; backdrop-filter: blur(4px); }
.wz-layout-card-body { padding: 12px 14px 16px; }
.wz-layout-card-body h4 { font-size: 0.9rem; margin-bottom: 4px; }
.wz-layout-card-body p { font-size: 0.76rem; color: var(--wz-text-subtle); line-height: 1.4; margin: 0; }

.wz-design-tools { margin-top: 26px; background: #fff; border: 1.5px solid var(--wz-border); border-radius: 16px; padding: 20px 22px; }
.wz-design-tools-heading { margin-bottom: 14px; }
.wz-design-tools-heading h3 { font-size: 1.02rem; margin: 3px 0 4px; }
.wz-design-tools-heading p { color: var(--wz-text-subtle); font-size: 0.84rem; }
.wz-font-grid { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 18px; }
.wz-font-chip {
  padding: 10px 16px; border-radius: 12px; border: 1.5px solid var(--wz-border); background: #fff;
  cursor: pointer; font-size: 0.92rem; font-weight: 700; transition: all 0.18s var(--spring);
}
.wz-font-chip:hover { border-color: var(--wz-primary); transform: translateY(-1px); }
.wz-font-chip.selected { border-color: var(--wz-primary); background: #EEF2FF; color: var(--wz-primary-dark); }
.wz-palette-grid { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 20px; }
.wz-palette-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 6px; background: #fff; border: 1.5px solid var(--wz-border);
  border-radius: 12px; padding: 10px 12px; cursor: pointer; transition: all 0.2s var(--spring);
}
.wz-palette-swatch:hover { border-color: var(--wz-primary); transform: translateY(-2px); }
.wz-palette-swatch.selected { border-color: var(--wz-primary); box-shadow: 0 0 0 3px #EEF2FF; }
.wz-palette-colors { display: flex; }
.wz-palette-colors span { width: 18px; height: 26px; }
.wz-palette-colors span:first-child { border-radius: 6px 0 0 6px; }
.wz-palette-colors span:last-child { border-radius: 0 6px 6px 0; }
.wz-palette-name { font-size: 0.68rem; font-weight: 700; color: var(--wz-text-subtle); }
.wz-color-grid { display: flex; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.wz-color-field { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 0.8rem; margin: 0; }
.wz-color-field input { width: 64px; height: 40px; border: 1.5px solid var(--wz-border); border-radius: 10px; padding: 3px; cursor: pointer; }

@media (max-width: 620px) {
  .wz-dot-label { display: none; }
  .wz-stage { padding: 16px 14px 32px; }
  .wz-step-heading h1 { font-size: 1.25rem; }
  .wz-splash h1 { font-size: 1.6rem; }
  .wz-splash-illustration { max-width: 260px; }
  .wz-topbar { flex-wrap: wrap; gap: 8px; padding: 10px 14px; }
  .wz-topbar-right { gap: 6px; flex-wrap: wrap; }
  .wz-topbar-link span { display: none; }
  .wz-topbar-link { padding: 8px 10px; }
  .wz-step-count { font-size: 0.72rem; padding: 5px 10px; }
  .wz-reorder-controls { top: 8px; right: 40px; }
  .wz-reorder-btn { width: 34px; height: 34px; }
  .wz-block-add-btn, .secondary-action, .wz-suggest-chip, .wz-preview-tab, .wz-device-btn { min-height: 40px; }
}

/* ============ Confetti (publish celebration) ============ */
.wz-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 200; width: 100%; height: 100%; }
