.cfix-ai-builder-shell {
  direction: ltr;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 14px;
  max-width: 1240px;
  margin: 18px auto 24px;
  padding: 0 10px;
  font-family: "Heebo", "Assistant", Arial, sans-serif;
  color: #111827;
}

.cfix-ai-main-card,
.cfix-ai-chat {
  direction: rtl;
  background: #fff;
  border: 1px solid #dbe3ff;
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(37, 99, 235, 0.08);
  overflow: hidden;
}

body.page-id-22059 .elementor-22059 > .elementor-element-4d410a0,
body.page-id-22059 .elementor-22059 > .elementor-element-4fd6ae0 {
  display: none !important;
}

.cfix-ai-hero {
  direction: ltr;
  min-height: 250px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 44%);
  background:
    radial-gradient(circle at 18% 22%, rgba(124, 58, 237, 0.18), transparent 30%),
    linear-gradient(135deg, #fbfbff 0%, #f4f7ff 48%, #101044 49%, #0a122d 100%);
}

.cfix-ai-hero-copy {
  direction: rtl;
  padding: 38px 42px 20px;
}

.cfix-ai-hero h1 {
  margin: 0;
  max-width: 520px;
  font-size: 34px;
  line-height: 1.22;
  font-weight: 900;
  letter-spacing: 0;
}

.cfix-ai-hero h1::first-line {
  color: #111827;
}

.cfix-ai-hero p {
  max-width: 520px;
  margin: 14px 0 20px;
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}

.cfix-ai-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cfix-ai-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 7px 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(99, 102, 241, 0.15);
  color: #312e81;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.08);
}

.cfix-ai-hero-media {
  min-height: 250px;
  background:
    radial-gradient(circle at 64% 38%, rgba(59, 130, 246, 0.65), transparent 12%),
    radial-gradient(circle at 54% 42%, rgba(168, 85, 247, 0.5), transparent 10%),
    linear-gradient(140deg, transparent 0 15%, rgba(14, 22, 55, 0.2) 16%),
    url("https://shop.cfix.co.il/wp-content/uploads/2025/06/Purple-Computer-Class-Google-Classroom-Header.png") center / cover no-repeat;
}

.cfix-ai-start {
  text-align: center;
  padding: 26px 32px 28px;
}

.cfix-ai-start h2,
.cfix-ai-builder-title h2 {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0;
}

.cfix-ai-start p,
.cfix-ai-builder-title p {
  margin: 8px 0 18px;
  color: #64748b;
  font-size: 14px;
}

.cfix-ai-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 740px;
  margin: 0 auto 18px;
}

.cfix-ai-action {
  min-height: 150px;
  border: 1px solid #c7d2fe;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #111827;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cfix-ai-action:hover {
  transform: translateY(-1px);
  border-color: #6366f1;
  box-shadow: 0 16px 28px rgba(99, 102, 241, 0.12);
}

.cfix-ai-action-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #eef2ff;
  color: #4f46e5;
  font-size: 25px;
}

.cfix-ai-action-primary .cfix-ai-action-icon {
  background: #e0f2fe;
  color: #0284c7;
}

.cfix-ai-action strong {
  font-size: 16px;
}

.cfix-ai-action small {
  color: #64748b;
  font-size: 12px;
}

.cfix-ai-quick-prompts,
.cfix-ai-suggestions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.cfix-ai-quick-prompts button,
.cfix-ai-suggestions button {
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cfix-ai-chat {
  display: flex;
  min-height: 540px;
  max-height: 720px;
  flex-direction: column;
  border-color: #a5b4fc;
}

.cfix-ai-chat header {
  min-height: 62px;
  border-bottom: 1px solid #eef2ff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
}

.cfix-ai-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cfix-ai-avatar {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #111827;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-size: 12px;
  font-weight: 900;
}

.cfix-ai-brand strong {
  display: block;
  font-size: 14px;
}

.cfix-ai-brand small {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #16a34a;
  font-size: 11px;
}

.cfix-ai-brand small span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.cfix-ai-clear-chat {
  flex: 0 0 auto;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  background: #fff;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 7px 9px;
}

.cfix-ai-clear-chat:hover {
  border-color: #c7d2fe;
  color: #1d4ed8;
}

.cfix-ai-messages {
  flex: 1;
  overflow: auto;
  padding: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
}

.cfix-ai-message,
.cfix-ai-plan {
  max-width: 92%;
  margin: 0 0 10px;
  border-radius: 8px;
  padding: 11px 12px;
  font-size: 13px;
  line-height: 1.65;
}

.cfix-ai-message-bot,
.cfix-ai-plan {
  background: #f3f6ff;
  color: #1f2937;
}

.cfix-ai-message-user {
  margin-right: auto;
  background: #2563eb;
  color: #fff;
}

.cfix-ai-plan ul {
  margin: 8px 0;
  padding: 0 18px 0 0;
}

.cfix-ai-plan strong {
  display: block;
  margin-top: 8px;
}

.cfix-ai-plan li strong {
  margin: 0;
  font-size: 13px;
}

.cfix-ai-plan li small {
  display: block;
  margin-top: 3px;
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.cfix-ai-product-matches {
  list-style: none;
  padding: 0;
}

.cfix-ai-product-matches li {
  border: 1px solid #dbeafe;
  border-radius: 8px;
  background: #fff;
  padding: 9px;
  margin-bottom: 7px;
}

.cfix-ai-product-match-item {
  display: grid;
  gap: 4px;
}

.cfix-ai-product-match-meta {
  color: #2563eb !important;
  font-weight: 800;
}

.cfix-ai-product-matches a {
  display: inline-flex;
  width: fit-content;
  margin-top: 7px;
  border: 1px solid #bfdbfe;
  border-radius: 7px;
  padding: 5px 8px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.cfix-ai-alt-title {
  display: block;
  margin-top: 10px;
  color: #475569;
  font-weight: 800;
}

.cfix-ai-plan-total {
  border-top: 1px solid #dbeafe;
  padding-top: 8px;
}

.cfix-ai-plan-apply-prompt {
  margin: 8px 0 0;
  color: #334155;
  font-size: 12px;
  line-height: 1.55;
}

.cfix-ai-plan-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
}

.cfix-ai-plan-actions button {
  border: 0;
  border-radius: 8px;
  padding: 10px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
}

.cfix-ai-plan-actions button.secondary {
  background: #fff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.cfix-ai-suggestions {
  justify-content: flex-start;
  padding: 12px 14px;
  background: #f7f8ff;
  border-top: 1px solid #eef2ff;
}

.cfix-ai-suggestions span {
  width: 100%;
  color: #64748b;
  font-size: 12px;
}

.cfix-ai-voice-panel {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 14px;
  border-top: 1px solid #eef2ff;
}

.cfix-ai-voice-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 8px solid #dbeafe;
  background: #2563eb;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
}

.cfix-ai-voice-btn.active {
  background: #dc2626;
  border-color: #fee2e2;
}

.cfix-ai-voice-btn.disabled,
.cfix-ai-voice-btn:disabled {
  cursor: not-allowed;
  background: #94a3b8;
  border-color: #e2e8f0;
}

.cfix-ai-voice-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.cfix-ai-voice-copy span {
  color: #111827;
  font-size: 13px;
  font-weight: 800;
}

.cfix-ai-voice-copy small {
  color: #64748b;
  font-size: 12px;
  line-height: 1.55;
}

.cfix-ai-form {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid #eef2ff;
}

.cfix-ai-form input {
  flex: 1;
  min-width: 0;
  height: 42px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 0 14px;
  font-size: 13px;
}

.cfix-ai-form button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: #f8fafc;
  color: #2563eb;
  cursor: pointer;
}

.cfix-ai-busy .cfix-ai-form::before {
  content: "חושב...";
  color: #64748b;
  font-size: 12px;
}

.cfix-ai-builder-title {
  max-width: 1240px;
  margin: 24px auto 10px;
  text-align: center;
  font-family: "Heebo", "Assistant", Arial, sans-serif;
}

.cfix-ai-info {
  direction: rtl;
  max-width: 1240px;
  margin: 18px auto 24px;
  padding: 22px 18px;
  font-family: "Heebo", "Assistant", Arial, sans-serif;
  color: #111827;
}

.cfix-ai-info-copy {
  max-width: 820px;
  margin-bottom: 18px;
}

.cfix-ai-info h2 {
  margin: 0 0 8px;
  font-size: 25px;
  font-weight: 900;
  letter-spacing: 0;
}

.cfix-ai-info p {
  margin: 0;
  color: #475569;
  font-size: 14px;
  line-height: 1.8;
}

.cfix-ai-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}

.cfix-ai-info-grid div {
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  padding: 15px;
}

.cfix-ai-info-grid strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
}

.cfix-ai-info-grid span {
  color: #64748b;
  font-size: 13px;
  line-height: 1.65;
}

.cfix-ai-faq {
  border-top: 1px solid #e5e7eb;
  padding-top: 16px;
}

.cfix-ai-faq details {
  border-bottom: 1px solid #e5e7eb;
  padding: 11px 0;
}

.cfix-ai-faq summary {
  cursor: pointer;
  font-weight: 900;
}

.vi-wpb-wrapper #woopb-main .woopb-step {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
  background: #fff;
}

.vi-wpb-wrapper #woopb-sidebar .woopb-sidebar-panel {
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
}

@media (max-width: 980px) {
  .cfix-ai-builder-shell {
    grid-template-columns: 1fr;
  }

  .cfix-ai-chat {
    min-height: 480px;
  }

  .cfix-ai-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .cfix-ai-builder-shell {
    padding: 0 8px;
  }

  .cfix-ai-hero,
  .cfix-ai-actions {
    grid-template-columns: 1fr;
  }

  .cfix-ai-hero-copy {
    padding: 28px 22px 16px;
  }

  .cfix-ai-hero h1 {
    font-size: 27px;
  }

  .cfix-ai-hero-media {
    min-height: 150px;
  }
}
