/* Floating marketing widgets: Call us, KITTY chat, WhatsApp */
.ittk-float-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.ittk-float-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 29, 61, 0.2);
  transition: transform 0.15s, box-shadow 0.15s;
  font-family: inherit;
}

.ittk-float-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 29, 61, 0.28);
}

.ittk-float-btn--call {
  background: var(--gradient-brand, radial-gradient(ellipse at center, #1e3a8a 0%, #1e40af 45%, #0f172a 100%));
  color: #fff;
}

.ittk-float-btn--kitty {
  background: #fff;
  color: var(--primary-dark, #0f172a);
  border: 2px solid #e5e7eb;
}

.ittk-float-btn--wa {
  background: #25d366;
  color: #fff;
}

.ittk-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 9995;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ittk-overlay.open {
  display: flex;
}

.ittk-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 420px;
  padding: 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.ittk-modal h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.ittk-modal p {
  color: var(--gray-500, #6b7280);
  font-size: 0.9rem;
  margin: 0 0 16px;
  line-height: 1.5;
}

.ittk-modal input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 12px;
}

.ittk-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.ittk-modal-msg {
  font-size: 0.88rem;
  margin-top: 12px;
  min-height: 1.2em;
}

.ittk-modal-msg.ok {
  color: #059669;
}

.ittk-modal-msg.err {
  color: #dc2626;
}

.ittk-chat-panel {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: min(360px, calc(100vw - 40px));
  height: 440px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  z-index: 9992;
  display: none;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

.ittk-chat-panel.open {
  display: flex;
}

.ittk-chat-head {
  background: var(--gradient-brand, radial-gradient(ellipse at center, #1e3a8a 0%, #1e40af 45%, #0f172a 100%));
  color: #fff;
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ittk-chat-head strong {
  display: block;
  font-size: 0.95rem;
}

.ittk-chat-head span {
  font-size: 0.75rem;
  opacity: 0.85;
}

.ittk-chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
}

.ittk-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #f9fafb;
}

.ittk-chat-bubble {
  max-width: 88%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  line-height: 1.45;
}

.ittk-chat-bubble.user {
  align-self: flex-end;
  background: #dbeafe;
  color: #1e3a5f;
}

.ittk-chat-bubble.kitty {
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e5e7eb;
  color: #374151;
}

.ittk-chat-form {
  display: flex;
  gap: 8px;
  padding: 10px;
  border-top: 1px solid #e5e7eb;
}

.ittk-chat-form input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  font-size: 0.9rem;
}

.ittk-chat-form button {
  padding: 10px 14px;
  background: var(--primary, #3f51b5);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}

.ittk-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}
