/* Travexvia AI assistant widget */
.ai-widget { position: fixed; right: 20px; bottom: 20px; z-index: 9000; font-family: inherit; }
.ai-fab {
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, #ff385c, #e00b41); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(255, 56, 92, .35); transition: transform .15s ease;
}
.ai-fab:hover { transform: scale(1.06); }
.ai-fab svg { width: 24px; height: 24px; }
.ai-panel {
  position: absolute; right: 0; bottom: 68px; width: 380px; max-width: calc(100vw - 32px);
  height: 540px; max-height: calc(100vh - 120px);
  background: #fff; border: 1px solid #e8e8e8; border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.18); display: none; flex-direction: column; overflow: hidden;
}
.ai-widget.open .ai-panel { display: flex; }
.ai-head {
  display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px;
  background: linear-gradient(135deg, #0b6e4f, #0a5c42); color: #fff;
}
.ai-head-txt { flex: 1; display: flex; flex-direction: column; line-height: 1.25; }
.ai-head-txt strong { font-size: .95rem; }
.ai-head-txt span { font-size: .75rem; opacity: .85; }
.ai-icon-btn {
  background: rgba(255,255,255,.12); border: 0; color: #fff; width: 30px; height: 30px;
  border-radius: 8px; cursor: pointer; display: flex; align-items: center; justify-content: center;
}
.ai-icon-btn:hover { background: rgba(255,255,255,.22); }
.ai-icon-btn svg { width: 15px; height: 15px; }
.ai-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #f7f7f7; }
.ai-msg { display: flex; flex-direction: column; }
.ai-msg-user { align-items: flex-end; }
.ai-msg-assistant { align-items: flex-start; }
.ai-bubble {
  max-width: 88%; padding: 10px 13px; border-radius: 16px; font-size: .875rem; line-height: 1.45;
  word-wrap: break-word;
}
.ai-msg-user .ai-bubble { background: #ff385c; color: #fff; border-bottom-right-radius: 4px; }
.ai-msg-assistant .ai-bubble { background: #fff; border: 1px solid #ececec; color: #222; border-bottom-left-radius: 4px; }
.ai-typing { display: inline-flex; gap: 4px; padding: 4px 2px; }
.ai-typing i { width: 7px; height: 7px; border-radius: 50%; background: #b0b0b0; animation: aiBlink 1.2s infinite; }
.ai-typing i:nth-child(2) { animation-delay: .2s; }
.ai-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes aiBlink { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ai-card {
  margin-top: 8px; border: 1px solid #ececec; border-radius: 14px; overflow: hidden;
  background: #fff; max-width: 340px;
}
.ai-card-media img { width: 100%; height: 130px; object-fit: cover; display: block; }
.ai-card-body { padding: 10px 12px 12px; }
.ai-card-title { font-weight: 700; font-size: .85rem; color: #222; text-decoration: none; display: block; line-height: 1.3; }
.ai-card-title:hover { text-decoration: underline; }
.ai-card-loc { font-size: .75rem; color: #717171; margin-top: 2px; }
.ai-card-meta { font-size: .75rem; color: #484848; margin-top: 4px; }
.ai-card-amens { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.ai-amen { font-size: .68rem; background: #f0f0f0; border-radius: 20px; padding: 2px 8px; color: #484848; }
.ai-card-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; gap: 6px; flex-wrap: wrap; }
.ai-price { color: #222; font-size: .95rem; }
.ai-per { color: #717171; font-size: .75rem; }
.ai-card-actions { display: flex; gap: 4px; align-items: center; }
.btn-xs { padding: 5px 10px; font-size: .72rem; border-radius: 8px; }
.btn-whatsapp { background: #25d366; color: #fff; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.ai-compare { margin-top: 8px; overflow-x: auto; border: 1px solid #ececec; border-radius: 12px; background: #fff; }
.ai-compare table { border-collapse: collapse; width: 100%; font-size: .75rem; min-width: 300px; }
.ai-compare th, .ai-compare td { padding: 7px 9px; border-bottom: 1px solid #f0f0f0; text-align: left; vertical-align: top; }
.ai-compare thead th { font-size: .72rem; color: #484848; background: #fafafa; }
.ai-cmp-lbl { color: #717171; white-space: nowrap; font-weight: 600; }
.ai-best { background: #ecfdf5; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ai-chip {
  border: 1px solid #ddd; background: #fff; border-radius: 20px; padding: 5px 11px;
  font-size: .75rem; cursor: pointer; color: #222; transition: border-color .15s;
}
.ai-chip:hover { border-color: #ff385c; color: #ff385c; }
.ai-input {
  display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid #eee; background: #fff;
}
.ai-input input {
  flex: 1; border: 1px solid #ddd; border-radius: 24px; padding: 9px 14px; font-size: .85rem; outline: none;
}
.ai-input input:focus { border-color: #ff385c; }
.ai-send {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer; flex-shrink: 0;
  background: #ff385c; color: #fff; display: flex; align-items: center; justify-content: center;
}
.ai-send svg { width: 16px; height: 16px; }
.ai-foot { padding: 6px 12px 9px; font-size: .68rem; color: #999; text-align: center; background: #fff; }
.ai-foot a { color: #ff385c; }

@media (max-width: 640px) {
  .ai-widget { right: 12px; bottom: 76px; }
  .ai-panel { width: calc(100vw - 24px); height: min(70vh, 560px); right: -6px; }
}

/* Travexvia promo "recent booking" toast */
.promo-toast {
  position: fixed; left: 20px; bottom: 20px; z-index: 8500;
  display: flex; align-items: center; gap: 10px; max-width: 360px;
  background: #7dd3fc; color: #0c4a6e; border: 1px solid #bae6fd; border-radius: 14px;
  padding: 12px 14px; box-shadow: 0 12px 40px rgba(2,60,100,.25);
  transform: translateY(140%); opacity: 0; transition: transform .45s cubic-bezier(.2,.9,.3,1.2), opacity .3s;
}
.promo-toast.show { transform: translateY(0); opacity: 1; }
.promo-ico {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.65); display: flex; align-items: center; justify-content: center; color: #0369a1;
}
.promo-ico svg { width: 17px; height: 17px; }
.promo-txt { font-size: .8rem; line-height: 1.4; flex: 1; color: #155e75; }
.promo-txt a { color: #0369a1; font-weight: 700; text-decoration: underline; }
.promo-txt strong { color: #0c4a6e; }
.promo-x {
  flex-shrink: 0; background: rgba(255,255,255,.55); border: 0; color: #0c4a6e;
  width: 24px; height: 24px; border-radius: 6px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; padding: 0;
}
.promo-x:hover { background: rgba(255,255,255,.85); }
.promo-x svg { width: 12px; height: 12px; }
@media (max-width: 640px) {
  .promo-toast { left: 12px; right: 12px; bottom: 84px; max-width: none; }
}

/* Property page urgency elements */
.viewers-line {
  display: flex; align-items: center; gap: 6px; margin-top: 8px;
  font-size: .8rem; color: #484848;
}
.viewers-line svg { width: 14px; height: 14px; color: var(--brand, #ff385c); }
.viewers-line strong { color: var(--ink, #222); }
.hot-tag {
  display: inline-flex; align-items: center; gap: 3px; margin-left: 8px;
  font-size: .68rem; font-weight: 700; color: #fff; background: linear-gradient(90deg, #ff385c, #ff7a45);
  border-radius: 20px; padding: 2px 9px; text-transform: uppercase; letter-spacing: .03em;
}
.hot-tag svg { width: 11px; height: 11px; }
.scarcity-note {
  display: flex; align-items: center; gap: 6px; font-size: .78rem; color: #7a2e0e;
  background: #fff4e6; border: 1px solid #ffd9a8; border-radius: 10px;
  padding: 9px 11px; margin-bottom: 12px; line-height: 1.4;
}
.scarcity-note svg { width: 14px; height: 14px; flex-shrink: 0; color: #e8590c; }
.scarcity-note strong { color: #c2410c; }
