/* ── Floating contact dock ─────────────────────────────────────────────── */
.booking-contact-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 1075;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity .2s ease, transform .2s ease;
}

.booking-contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.booking-contact-heading i {
  margin-right: 4px;
  color: #6366f1;
}

.booking-contact-heading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}

.booking-contact-buttons {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.booking-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.booking-contact-button i {
  font-size: 15px;
}

.booking-contact-button:hover {
  color: #fff;
  filter: saturate(1.08) brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, .16);
}

.booking-contact-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}

.booking-contact-button:focus-visible,
.sora-chatbot button:focus-visible,
.sora-chatbot input:focus-visible,
.sora-chatbot textarea:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}

.booking-contact-call {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  border-color: #0f766e;
}

.booking-contact-zalo {
  background: linear-gradient(135deg, #2563eb, #0068ff);
  border-color: #2563eb;
}

.booking-contact-messenger {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: #4f46e5;
}

.sora-chatbot.is-open + .booking-contact-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* ── Chatbot launcher ──────────────────────────────────────────────────── */
.sora-chatbot {
  --chatbot-brand: #4f46e5;
  --chatbot-brand-2: #7c3aed;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1080;
  font-family: inherit;
  isolation: isolate;
}

.sora-chatbot-launcher {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(49, 46, 129, .38);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.sora-chatbot-launcher::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 39px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

.sora-chatbot-launcher:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(49, 46, 129, .44);
}

.sora-chatbot-launcher:active {
  transform: translateY(0);
}

.sora-chatbot-launcher-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 19px;
}

/* ── Chatbot panel ─────────────────────────────────────────────────────── */
.sora-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 28px));
  height: min(640px, calc(100vh - 112px));
  height: min(640px, calc(100dvh - 112px));
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
  transform-origin: bottom right;
  animation: chatbot-panel-in .2s ease-out;
}

.sora-chatbot-panel[hidden],
.sora-chatbot-lightbox[hidden],
.sora-chatbot-attachment[hidden],
.sora-chatbot-handoff[hidden] {
  display: none !important;
}

@keyframes chatbot-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sora-chatbot-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 84px;
  padding: 16px 17px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  background: rgba(255, 255, 255, .17);
  font-size: 19px;
  box-shadow: 0 7px 16px rgba(30, 27, 75, .2);
}

.sora-chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sora-chatbot-head-copy {
  min-width: 0;
}

.sora-chatbot-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.sora-chatbot-head strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.sora-chatbot-head small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.sora-chatbot-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, .15);
}

.sora-chatbot-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 16px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sora-chatbot-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
  transform: rotate(4deg);
}

.sora-chatbot-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 14px;
  background:
    radial-gradient(circle at 0 0, rgba(224, 231, 255, .42), transparent 28%),
    #f8fafc;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c7d2fe transparent;
  scrollbar-width: thin;
}

.sora-chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sora-chatbot-message {
  align-self: flex-start;
  max-width: min(88%, 342px);
}

.sora-chatbot-message.visitor,
.sora-chatbot-message.staff {
  align-self: flex-end;
}

.sora-chatbot-bubble {
  padding: 12px 14px;
  border: 1px solid #eef2f7;
  border-radius: 17px 17px 17px 6px;
  color: #1f2937;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 5px 16px rgba(51, 65, 85, .08);
  overflow-wrap: anywhere;
}

.sora-chatbot-message.visitor .sora-chatbot-bubble,
.sora-chatbot-message.staff .sora-chatbot-bubble {
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-message time {
  display: block;
  margin: 4px 5px;
  color: #94a3b8;
  font-size: 10px;
  letter-spacing: .01em;
}

.sora-chatbot-message-reactions {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 5px 3px 0;
}

.sora-chatbot-message.visitor .sora-chatbot-message-reactions,
.sora-chatbot-message.staff .sora-chatbot-message-reactions {
  justify-content: flex-end;
}

.sora-chatbot-reaction-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sora-chatbot-reaction,
.sora-chatbot-reaction-toggle,
.sora-chatbot-reaction-option {
  min-height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.sora-chatbot-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 38px;
  padding: 3px 7px;
  font-size: 15px;
}

.sora-chatbot-reaction-count {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-reaction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
}

.sora-chatbot-reaction-picker {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  width: min(250px, calc(100vw - 80px));
  padding: 7px;
  border: 1px solid #e0e7ff;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(30, 41, 59, .2);
}

.sora-chatbot-reaction-picker[hidden] {
  display: none;
}

.sora-chatbot-reaction-option {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: transparent;
  font-size: 19px;
}

.sora-chatbot-reaction:hover,
.sora-chatbot-reaction-toggle:hover,
.sora-chatbot-reaction-option:hover,
.sora-chatbot-reaction.is-reacted {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.sora-chatbot-reaction:disabled,
.sora-chatbot-reaction-option:disabled {
  cursor: wait;
  opacity: .55;
}

.sora-chatbot-reaction:focus-visible,
.sora-chatbot-reaction-toggle:focus-visible,
.sora-chatbot-reaction-option:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 2px;
}

.sora-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 144px;
  margin-bottom: 12px;
  overflow-y: auto;
  padding: 1px 2px 2px 1px;
  scrollbar-width: thin;
}

.chatbot-quick-reply {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #d7d8fe;
  border-radius: 13px;
  color: #4338ca;
  background: linear-gradient(180deg, #fff, #f5f3ff);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(79, 70, 229, .06);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.chatbot-quick-reply:hover {
  border-color: #818cf8;
  background: #e0e7ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 13px rgba(79, 70, 229, .13);
}

.sora-chatbot-quick .chatbot-quick-reply-restart {
  flex: 1 0 100%;
  border-color: var(--chatbot-brand);
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(49, 46, 129, .15);
}

.sora-chatbot-quick .chatbot-quick-reply-previous {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.chatbot-quick-reply:disabled,
.sora-chatbot-input-row button:disabled,
.chatbot-send-handoff:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.sora-chatbot-compose {
  position: relative;
  padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid #e9e7ff;
  background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
}

.sora-chatbot-compose-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 8px;
}

.sora-chatbot-compose-title {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-compose-status {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
}

.sora-chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sora-chatbot-text-input {
  min-width: 0;
  min-height: 46px;
  max-height: 112px;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.35;
  resize: none;
  overflow-y: auto;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sora-chatbot-text-input:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-input-row button,
.chatbot-send-handoff {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--chatbot-brand);
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}

.sora-chatbot-input-row button {
  box-shadow: 0 7px 14px rgba(79, 70, 229, .22);
}

.sora-chatbot-emoji-toggle {
  border: 1px solid #dbe2ea !important;
  color: #64748b !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sora-chatbot-emoji-toggle:hover {
  border-color: #a5b4fc !important;
  color: #4f46e5 !important;
  background: #eef2ff !important;
}

.sora-chatbot-emoji-picker {
  position: absolute;
  right: 14px;
  bottom: calc(100% - 2px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 4px;
  padding: 8px;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 41, 59, .18);
}

.sora-chatbot-emoji-picker[hidden] {
  display: none;
}

.sora-chatbot-emoji {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.sora-chatbot-emoji:hover,
.sora-chatbot-emoji:focus-visible {
  background: #eef2ff;
  outline: none;
}

.sora-chatbot-input-row button:hover,
.chatbot-send-handoff:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sora-chatbot-attach {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  color: #64748b;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.sora-chatbot-compose:not(.is-staff-chat) .sora-chatbot-attach {
  cursor: not-allowed;
  opacity: .58;
  pointer-events: none;
}

.sora-chatbot-compose:not(.is-staff-chat) .sora-chatbot-text-input {
  cursor: not-allowed;
  background: #f1f5f9;
}

.sora-chatbot-attach:hover {
  border-color: #a5b4fc;
  color: #4f46e5;
  background: #eef2ff;
}

.sora-chatbot-attach input {
  display: none;
}

.sora-chatbot-attachment {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 11px;
}

.sora-chatbot-compose-hint {
  margin: 7px 2px 0;
  color: #94a3b8;
  font-size: 10px;
  text-align: right;
}

.sora-chatbot-compose-hint span {
  padding: 0 4px;
  color: #c4b5fd;
}

.sora-chatbot-typing,
.sora-chatbot-error {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11px;
}

.sora-chatbot-typing {
  color: #64748b;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 3px 10px rgba(51, 65, 85, .06);
}

.sora-chatbot-typing-dots {
  display: inline-flex;
  gap: 3px;
}

.sora-chatbot-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chatbot-brand);
  animation: chatbot-dot-bounce 1s infinite ease-in-out;
}

.sora-chatbot-typing-dots i:nth-child(2) { animation-delay: .12s; }
.sora-chatbot-typing-dots i:nth-child(3) { animation-delay: .24s; }

@keyframes chatbot-dot-bounce {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.sora-chatbot-error {
  color: #b42318;
  border: 1px solid #fecaca;
  background: #fff1f2;
  line-height: 1.4;
}

.sora-chatbot-attachment span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sora-chatbot-attachment button {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.sora-chatbot-attachment button:hover {
  background: rgba(129, 140, 248, .16);
}

.sora-chatbot-handoff {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #e0e7ff;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(51, 65, 85, .08);
}

.sora-chatbot-handoff p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.sora-chatbot-handoff input,
.sora-chatbot-handoff textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
}

.sora-chatbot-handoff textarea {
  resize: vertical;
}

.sora-chatbot-handoff input:focus,
.sora-chatbot-handoff textarea:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-handoff .chatbot-send-handoff {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}

.sora-chatbot-image {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.sora-chatbot-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  max-width: 250px;
  margin-bottom: 5px;
}

.sora-chatbot-image img {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 190px;
  aspect-ratio: 1;
  border-radius: 11px;
  object-fit: cover;
}

@media (max-width: 420px) {
  .sora-chatbot-image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 220px;
  }
}

.sora-chatbot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 56px 76px;
  background: rgba(2, 6, 23, .86);
}

.sora-chatbot-lightbox img {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}

.sora-chatbot-lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.sora-chatbot-lightbox-nav[hidden],
.sora-chatbot-lightbox-count[hidden] {
  display: none;
}

.sora-chatbot-lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.sora-chatbot-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

.sora-chatbot-lightbox-count {
  position: absolute;
  right: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .72);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(50%);
}

.sora-chatbot-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ── Tablet and narrow screens ─────────────────────────────────────────── */
@media (min-width: 561px) and (max-width: 1024px) {
  .booking-contact-actions {
    right: max(18px, env(safe-area-inset-right));
  }

  .sora-chatbot-panel {
    width: min(430px, calc(100vw - 36px));
  }
}

@media (max-width: 560px) {
  .booking-contact-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    max-width: none;
    padding: 8px;
    border-radius: 18px;
  }

  .booking-contact-heading {
    display: none;
  }

  .booking-contact-buttons {
    width: 100%;
    gap: 6px;
  }

  .booking-contact-button {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    padding: 8px 6px;
    border-radius: 13px;
    font-size: 11px;
  }

  .booking-contact-button i {
    font-size: 14px;
  }

  .sora-chatbot {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .sora-chatbot-launcher {
    min-height: 52px;
    padding-right: 14px;
  }

  .sora-chatbot-panel {
    right: 0;
    bottom: 64px;
    width: min(420px, calc(100vw - 24px));
    height: min(700px, calc(100vh - 96px));
    height: min(700px, calc(100dvh - 96px));
    border-radius: 20px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-panel {
    position: fixed;
    inset: 0;
    width: auto;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .sora-chatbot-head {
    min-height: 78px;
    padding: 14px;
    flex-shrink: 0;
  }

  .sora-chatbot-body {
    padding: 14px 12px 11px;
  }

  .sora-chatbot-compose {
    padding: 11px 10px calc(11px + env(safe-area-inset-bottom));
    flex-shrink: 0;
  }

  .sora-chatbot-emoji-picker {
    right: 10px;
    grid-template-columns: repeat(4, 34px);
  }

  .sora-chatbot-lightbox {
    padding: 56px;
  }

  .sora-chatbot-lightbox img {
    max-width: calc(100vw - 112px);
    max-height: calc(100dvh - 112px);
  }

  .sora-chatbot-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-head {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .sora-chatbot-compose-hint {
    display: none;
  }

  .sora-chatbot-quick {
    max-height: 126px;
    margin-bottom: 9px;
  }

  .sora-chatbot-text-input,
  .sora-chatbot-handoff input,
  .sora-chatbot-handoff textarea {
    font-size: 16px;
  }

  .sora-chatbot-message {
    max-width: 92%;
  }
}

@media (max-width: 360px) {
  .booking-contact-button {
    gap: 4px;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
  }

  .sora-chatbot-launcher {
    padding-right: 11px;
    font-size: 12px;
  }

  .sora-chatbot-panel {
    width: calc(100vw - 16px);
    right: -4px;
  }
}

@media (max-height: 620px) and (max-width: 768px) {
  .sora-chatbot-panel {
    bottom: 58px;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
  }

  .sora-chatbot-head {
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sora-chatbot-body {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-contact-actions,
  .booking-contact-button,
  .sora-chatbot-launcher,
  .sora-chatbot-panel,
  .sora-chatbot-close,
  .chatbot-quick-reply,
  .sora-chatbot-input-row button,
  .chatbot-send-handoff,
  .sora-chatbot-attach,
  .sora-chatbot-typing-dots i {
    animation: none;
    transition: none;
  }
}/* ── Floating contact dock ─────────────────────────────────────────────── */
.booking-contact-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 1075;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity .2s ease, transform .2s ease;
}

.booking-contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.booking-contact-heading i {
  margin-right: 4px;
  color: #6366f1;
}

.booking-contact-heading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}

.booking-contact-buttons {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.booking-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.booking-contact-button i {
  font-size: 15px;
}

.booking-contact-button:hover {
  color: #fff;
  filter: saturate(1.08) brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, .16);
}

.booking-contact-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}

.booking-contact-button:focus-visible,
.sora-chatbot button:focus-visible,
.sora-chatbot input:focus-visible,
.sora-chatbot textarea:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}

.booking-contact-call {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  border-color: #0f766e;
}

.booking-contact-zalo {
  background: linear-gradient(135deg, #2563eb, #0068ff);
  border-color: #2563eb;
}

.booking-contact-messenger {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: #4f46e5;
}

.sora-chatbot.is-open + .booking-contact-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* ── Chatbot launcher ──────────────────────────────────────────────────── */
.sora-chatbot {
  --chatbot-brand: #4f46e5;
  --chatbot-brand-2: #7c3aed;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1080;
  font-family: inherit;
  isolation: isolate;
}

.sora-chatbot-launcher {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(49, 46, 129, .38);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.sora-chatbot-launcher::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 39px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

.sora-chatbot-launcher:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(49, 46, 129, .44);
}

.sora-chatbot-launcher:active {
  transform: translateY(0);
}

.sora-chatbot-launcher-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 19px;
}

/* ── Chatbot panel ─────────────────────────────────────────────────────── */
.sora-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 28px));
  height: min(640px, calc(100vh - 112px));
  height: min(640px, calc(100dvh - 112px));
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
  transform-origin: bottom right;
  animation: chatbot-panel-in .2s ease-out;
}

.sora-chatbot-panel[hidden],
.sora-chatbot-lightbox[hidden],
.sora-chatbot-attachment[hidden],
.sora-chatbot-handoff[hidden] {
  display: none !important;
}

@keyframes chatbot-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sora-chatbot-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 84px;
  padding: 16px 17px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  background: rgba(255, 255, 255, .17);
  font-size: 19px;
  box-shadow: 0 7px 16px rgba(30, 27, 75, .2);
}

.sora-chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sora-chatbot-head-copy {
  min-width: 0;
}

.sora-chatbot-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.sora-chatbot-head strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.sora-chatbot-head small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.sora-chatbot-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, .15);
}

.sora-chatbot-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 16px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sora-chatbot-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
  transform: rotate(4deg);
}

.sora-chatbot-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 14px;
  background:
    radial-gradient(circle at 0 0, rgba(224, 231, 255, .42), transparent 28%),
    #f8fafc;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c7d2fe transparent;
  scrollbar-width: thin;
}

.sora-chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sora-chatbot-message {
  align-self: flex-start;
  max-width: min(88%, 342px);
}

.sora-chatbot-message.visitor,
.sora-chatbot-message.staff {
  align-self: flex-end;
}

.sora-chatbot-bubble {
  padding: 12px 14px;
  border: 1px solid #eef2f7;
  border-radius: 17px 17px 17px 6px;
  color: #1f2937;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 5px 16px rgba(51, 65, 85, .08);
  overflow-wrap: anywhere;
}

.sora-chatbot-message.visitor .sora-chatbot-bubble,
.sora-chatbot-message.staff .sora-chatbot-bubble {
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-message time {
  display: block;
  margin: 4px 5px;
  color: #94a3b8;
  font-size: 10px;
  letter-spacing: .01em;
}

.sora-chatbot-message-reactions {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 5px 3px 0;
}

.sora-chatbot-message.visitor .sora-chatbot-message-reactions,
.sora-chatbot-message.staff .sora-chatbot-message-reactions {
  justify-content: flex-end;
}

.sora-chatbot-reaction-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sora-chatbot-reaction,
.sora-chatbot-reaction-toggle,
.sora-chatbot-reaction-option {
  min-height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.sora-chatbot-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 38px;
  padding: 3px 7px;
  font-size: 15px;
}

.sora-chatbot-reaction-count {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-reaction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
}

.sora-chatbot-reaction-picker {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  width: min(250px, calc(100vw - 80px));
  padding: 7px;
  border: 1px solid #e0e7ff;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(30, 41, 59, .2);
}

.sora-chatbot-reaction-picker[hidden] {
  display: none;
}

.sora-chatbot-reaction-option {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: transparent;
  font-size: 19px;
}

.sora-chatbot-reaction:hover,
.sora-chatbot-reaction-toggle:hover,
.sora-chatbot-reaction-option:hover,
.sora-chatbot-reaction.is-reacted {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.sora-chatbot-reaction:disabled,
.sora-chatbot-reaction-option:disabled {
  cursor: wait;
  opacity: .55;
}

.sora-chatbot-reaction:focus-visible,
.sora-chatbot-reaction-toggle:focus-visible,
.sora-chatbot-reaction-option:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 2px;
}

.sora-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 144px;
  margin-bottom: 12px;
  overflow-y: auto;
  padding: 1px 2px 2px 1px;
  scrollbar-width: thin;
}

.chatbot-quick-reply {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #d7d8fe;
  border-radius: 13px;
  color: #4338ca;
  background: linear-gradient(180deg, #fff, #f5f3ff);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(79, 70, 229, .06);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.chatbot-quick-reply:hover {
  border-color: #818cf8;
  background: #e0e7ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 13px rgba(79, 70, 229, .13);
}

.sora-chatbot-quick .chatbot-quick-reply-restart {
  flex: 1 0 100%;
  border-color: var(--chatbot-brand);
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(49, 46, 129, .15);
}

.sora-chatbot-quick .chatbot-quick-reply-previous {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.chatbot-quick-reply:disabled,
.sora-chatbot-input-row button:disabled,
.chatbot-send-handoff:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.sora-chatbot-compose {
  position: relative;
  padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid #e9e7ff;
  background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
}

.sora-chatbot-compose-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 8px;
}

.sora-chatbot-compose-title {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-compose-status {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
}

.sora-chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sora-chatbot-text-input {
  min-width: 0;
  min-height: 46px;
  max-height: 112px;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.35;
  resize: none;
  overflow-y: auto;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sora-chatbot-text-input:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-input-row button,
.chatbot-send-handoff {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--chatbot-brand);
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}

.sora-chatbot-input-row button {
  box-shadow: 0 7px 14px rgba(79, 70, 229, .22);
}

.sora-chatbot-emoji-toggle {
  border: 1px solid #dbe2ea !important;
  color: #64748b !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sora-chatbot-emoji-toggle:hover {
  border-color: #a5b4fc !important;
  color: #4f46e5 !important;
  background: #eef2ff !important;
}

.sora-chatbot-emoji-picker {
  position: absolute;
  right: 14px;
  bottom: calc(100% - 2px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 4px;
  padding: 8px;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 41, 59, .18);
}

.sora-chatbot-emoji-picker[hidden] {
  display: none;
}

.sora-chatbot-emoji {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.sora-chatbot-emoji:hover,
.sora-chatbot-emoji:focus-visible {
  background: #eef2ff;
  outline: none;
}

.sora-chatbot-input-row button:hover,
.chatbot-send-handoff:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sora-chatbot-attach {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  color: #64748b;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.sora-chatbot-attach:hover {
  border-color: #a5b4fc;
  color: #4f46e5;
  background: #eef2ff;
}

.sora-chatbot-attach input {
  display: none;
}

.sora-chatbot-attachment {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 11px;
}

.sora-chatbot-compose-hint {
  margin: 7px 2px 0;
  color: #94a3b8;
  font-size: 10px;
  text-align: right;
}

.sora-chatbot-compose-hint span {
  padding: 0 4px;
  color: #c4b5fd;
}

.sora-chatbot-typing,
.sora-chatbot-error {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11px;
}

.sora-chatbot-typing {
  color: #64748b;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 3px 10px rgba(51, 65, 85, .06);
}

.sora-chatbot-typing-dots {
  display: inline-flex;
  gap: 3px;
}

.sora-chatbot-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chatbot-brand);
  animation: chatbot-dot-bounce 1s infinite ease-in-out;
}

.sora-chatbot-typing-dots i:nth-child(2) { animation-delay: .12s; }
.sora-chatbot-typing-dots i:nth-child(3) { animation-delay: .24s; }

@keyframes chatbot-dot-bounce {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.sora-chatbot-error {
  color: #b42318;
  border: 1px solid #fecaca;
  background: #fff1f2;
  line-height: 1.4;
}

.sora-chatbot-attachment span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sora-chatbot-attachment button {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.sora-chatbot-attachment button:hover {
  background: rgba(129, 140, 248, .16);
}

.sora-chatbot-handoff {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #e0e7ff;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(51, 65, 85, .08);
}

.sora-chatbot-handoff p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.sora-chatbot-handoff input,
.sora-chatbot-handoff textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
}

.sora-chatbot-handoff textarea {
  resize: vertical;
}

.sora-chatbot-handoff input:focus,
.sora-chatbot-handoff textarea:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-handoff .chatbot-send-handoff {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}

.sora-chatbot-image {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.sora-chatbot-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  max-width: 250px;
  margin-bottom: 5px;
}

.sora-chatbot-image img {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 190px;
  aspect-ratio: 1;
  border-radius: 11px;
  object-fit: cover;
}

@media (max-width: 420px) {
  .sora-chatbot-image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 220px;
  }
}

.sora-chatbot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 56px 76px;
  background: rgba(2, 6, 23, .86);
}

.sora-chatbot-lightbox img {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}

.sora-chatbot-lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.sora-chatbot-lightbox-nav[hidden],
.sora-chatbot-lightbox-count[hidden] {
  display: none;
}

.sora-chatbot-lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.sora-chatbot-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

.sora-chatbot-lightbox-count {
  position: absolute;
  right: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .72);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(50%);
}

.sora-chatbot-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ── Tablet and narrow screens ─────────────────────────────────────────── */
@media (min-width: 561px) and (max-width: 1024px) {
  .booking-contact-actions {
    right: max(18px, env(safe-area-inset-right));
  }

  .sora-chatbot-panel {
    width: min(430px, calc(100vw - 36px));
  }
}

@media (max-width: 560px) {
  .booking-contact-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    max-width: none;
    padding: 8px;
    border-radius: 18px;
  }

  .booking-contact-heading {
    display: none;
  }

  .booking-contact-buttons {
    width: 100%;
    gap: 6px;
  }

  .booking-contact-button {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    padding: 8px 6px;
    border-radius: 13px;
    font-size: 11px;
  }

  .booking-contact-button i {
    font-size: 14px;
  }

  .sora-chatbot {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .sora-chatbot-launcher {
    min-height: 52px;
    padding-right: 14px;
  }

  .sora-chatbot-panel {
    right: 0;
    bottom: 64px;
    width: min(420px, calc(100vw - 24px));
    height: min(700px, calc(100vh - 96px));
    height: min(700px, calc(100dvh - 96px));
    border-radius: 20px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-panel {
    position: fixed;
    inset: 0;
    width: auto;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .sora-chatbot-head {
    min-height: 78px;
    padding: 14px;
    flex-shrink: 0;
  }

  .sora-chatbot-body {
    padding: 14px 12px 11px;
  }

  .sora-chatbot-compose {
    padding: 11px 10px calc(11px + env(safe-area-inset-bottom));
    flex-shrink: 0;
  }

  .sora-chatbot-emoji-picker {
    right: 10px;
    grid-template-columns: repeat(4, 34px);
  }

  .sora-chatbot-lightbox {
    padding: 56px;
  }

  .sora-chatbot-lightbox img {
    max-width: calc(100vw - 112px);
    max-height: calc(100dvh - 112px);
  }

  .sora-chatbot-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-head {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .sora-chatbot-compose-hint {
    display: none;
  }

  .sora-chatbot-quick {
    max-height: 126px;
    margin-bottom: 9px;
  }

  .sora-chatbot-text-input,
  .sora-chatbot-handoff input,
  .sora-chatbot-handoff textarea {
    font-size: 16px;
  }

  .sora-chatbot-message {
    max-width: 92%;
  }
}

@media (max-width: 360px) {
  .booking-contact-button {
    gap: 4px;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
  }

  .sora-chatbot-launcher {
    padding-right: 11px;
    font-size: 12px;
  }

  .sora-chatbot-panel {
    width: calc(100vw - 16px);
    right: -4px;
  }
}

@media (max-height: 620px) and (max-width: 768px) {
  .sora-chatbot-panel {
    bottom: 58px;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
  }

  .sora-chatbot-head {
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sora-chatbot-body {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-contact-actions,
  .booking-contact-button,
  .sora-chatbot-launcher,
  .sora-chatbot-panel,
  .sora-chatbot-close,
  .chatbot-quick-reply,
  .sora-chatbot-input-row button,
  .chatbot-send-handoff,
  .sora-chatbot-attach,
  .sora-chatbot-typing-dots i {
    animation: none;
    transition: none;
  }
}/* ── Floating contact dock ─────────────────────────────────────────────── */
.booking-contact-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 1075;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity .2s ease, transform .2s ease;
}

.booking-contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.booking-contact-heading i {
  margin-right: 4px;
  color: #6366f1;
}

.booking-contact-heading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}

.booking-contact-buttons {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.booking-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.booking-contact-button i {
  font-size: 15px;
}

.booking-contact-button:hover {
  color: #fff;
  filter: saturate(1.08) brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, .16);
}

.booking-contact-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}

.booking-contact-button:focus-visible,
.sora-chatbot button:focus-visible,
.sora-chatbot input:focus-visible,
.sora-chatbot textarea:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}

.booking-contact-call {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  border-color: #0f766e;
}

.booking-contact-zalo {
  background: linear-gradient(135deg, #2563eb, #0068ff);
  border-color: #2563eb;
}

.booking-contact-messenger {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: #4f46e5;
}

.sora-chatbot.is-open + .booking-contact-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* ── Chatbot launcher ──────────────────────────────────────────────────── */
.sora-chatbot {
  --chatbot-brand: #4f46e5;
  --chatbot-brand-2: #7c3aed;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1080;
  font-family: inherit;
  isolation: isolate;
}

.sora-chatbot-launcher {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(49, 46, 129, .38);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.sora-chatbot-launcher::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 39px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

.sora-chatbot-launcher:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(49, 46, 129, .44);
}

.sora-chatbot-launcher:active {
  transform: translateY(0);
}

.sora-chatbot-launcher-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 19px;
}

/* ── Chatbot panel ─────────────────────────────────────────────────────── */
.sora-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 28px));
  height: min(640px, calc(100vh - 112px));
  height: min(640px, calc(100dvh - 112px));
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
  transform-origin: bottom right;
  animation: chatbot-panel-in .2s ease-out;
}

.sora-chatbot-panel[hidden],
.sora-chatbot-lightbox[hidden],
.sora-chatbot-attachment[hidden],
.sora-chatbot-handoff[hidden] {
  display: none !important;
}

@keyframes chatbot-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sora-chatbot-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 84px;
  padding: 16px 17px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  background: rgba(255, 255, 255, .17);
  font-size: 19px;
  box-shadow: 0 7px 16px rgba(30, 27, 75, .2);
}

.sora-chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sora-chatbot-head-copy {
  min-width: 0;
}

.sora-chatbot-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.sora-chatbot-head strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.sora-chatbot-head small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.sora-chatbot-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, .15);
}

.sora-chatbot-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 16px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sora-chatbot-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
  transform: rotate(4deg);
}

.sora-chatbot-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 14px;
  background:
    radial-gradient(circle at 0 0, rgba(224, 231, 255, .42), transparent 28%),
    #f8fafc;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c7d2fe transparent;
  scrollbar-width: thin;
}

.sora-chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sora-chatbot-message {
  align-self: flex-start;
  max-width: min(88%, 342px);
}

.sora-chatbot-message.visitor,
.sora-chatbot-message.staff {
  align-self: flex-end;
}

.sora-chatbot-bubble {
  padding: 12px 14px;
  border: 1px solid #eef2f7;
  border-radius: 17px 17px 17px 6px;
  color: #1f2937;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 5px 16px rgba(51, 65, 85, .08);
  overflow-wrap: anywhere;
}

.sora-chatbot-message.visitor .sora-chatbot-bubble,
.sora-chatbot-message.staff .sora-chatbot-bubble {
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-message time {
  display: block;
  margin: 4px 5px;
  color: #94a3b8;
  font-size: 10px;
  letter-spacing: .01em;
}

.sora-chatbot-message-reactions {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 5px 3px 0;
}

.sora-chatbot-message.visitor .sora-chatbot-message-reactions,
.sora-chatbot-message.staff .sora-chatbot-message-reactions {
  justify-content: flex-end;
}

.sora-chatbot-reaction-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sora-chatbot-reaction,
.sora-chatbot-reaction-toggle,
.sora-chatbot-reaction-option {
  min-height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.sora-chatbot-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 38px;
  padding: 3px 7px;
  font-size: 15px;
}

.sora-chatbot-reaction-count {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-reaction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
}

.sora-chatbot-reaction-picker {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  width: min(250px, calc(100vw - 80px));
  padding: 7px;
  border: 1px solid #e0e7ff;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(30, 41, 59, .2);
}

.sora-chatbot-reaction-picker[hidden] {
  display: none;
}

.sora-chatbot-reaction-option {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: transparent;
  font-size: 19px;
}

.sora-chatbot-reaction:hover,
.sora-chatbot-reaction-toggle:hover,
.sora-chatbot-reaction-option:hover,
.sora-chatbot-reaction.is-reacted {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.sora-chatbot-reaction:disabled,
.sora-chatbot-reaction-option:disabled {
  cursor: wait;
  opacity: .55;
}

.sora-chatbot-reaction:focus-visible,
.sora-chatbot-reaction-toggle:focus-visible,
.sora-chatbot-reaction-option:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 2px;
}

.sora-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 144px;
  margin-bottom: 12px;
  overflow-y: auto;
  padding: 1px 2px 2px 1px;
  scrollbar-width: thin;
}

.chatbot-quick-reply {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #d7d8fe;
  border-radius: 13px;
  color: #4338ca;
  background: linear-gradient(180deg, #fff, #f5f3ff);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(79, 70, 229, .06);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.chatbot-quick-reply:hover {
  border-color: #818cf8;
  background: #e0e7ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 13px rgba(79, 70, 229, .13);
}

.sora-chatbot-quick .chatbot-quick-reply-restart {
  flex: 1 0 100%;
  border-color: var(--chatbot-brand);
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(49, 46, 129, .15);
}

.sora-chatbot-quick .chatbot-quick-reply-previous {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.chatbot-quick-reply:disabled,
.sora-chatbot-input-row button:disabled,
.chatbot-send-handoff:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.sora-chatbot-compose {
  position: relative;
  padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid #e9e7ff;
  background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
}

.sora-chatbot-compose-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 8px;
}

.sora-chatbot-compose-title {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-compose-status {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
}

.sora-chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sora-chatbot-text-input {
  min-width: 0;
  min-height: 46px;
  max-height: 112px;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.35;
  resize: none;
  overflow-y: auto;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sora-chatbot-text-input:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-input-row button,
.chatbot-send-handoff {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--chatbot-brand);
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}

.sora-chatbot-input-row button {
  box-shadow: 0 7px 14px rgba(79, 70, 229, .22);
}

.sora-chatbot-emoji-toggle {
  border: 1px solid #dbe2ea !important;
  color: #64748b !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sora-chatbot-emoji-toggle:hover {
  border-color: #a5b4fc !important;
  color: #4f46e5 !important;
  background: #eef2ff !important;
}

.sora-chatbot-emoji-picker {
  position: absolute;
  right: 14px;
  bottom: calc(100% - 2px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 4px;
  padding: 8px;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 41, 59, .18);
}

.sora-chatbot-emoji-picker[hidden] {
  display: none;
}

.sora-chatbot-emoji {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.sora-chatbot-emoji:hover,
.sora-chatbot-emoji:focus-visible {
  background: #eef2ff;
  outline: none;
}

.sora-chatbot-input-row button:hover,
.chatbot-send-handoff:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sora-chatbot-attach {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  color: #64748b;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.sora-chatbot-attach:hover {
  border-color: #a5b4fc;
  color: #4f46e5;
  background: #eef2ff;
}

.sora-chatbot-attach input {
  display: none;
}

.sora-chatbot-attachment {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 11px;
}

.sora-chatbot-compose-hint {
  margin: 7px 2px 0;
  color: #94a3b8;
  font-size: 10px;
  text-align: right;
}

.sora-chatbot-compose-hint span {
  padding: 0 4px;
  color: #c4b5fd;
}

.sora-chatbot-typing,
.sora-chatbot-error {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11px;
}

.sora-chatbot-typing {
  color: #64748b;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 3px 10px rgba(51, 65, 85, .06);
}

.sora-chatbot-typing-dots {
  display: inline-flex;
  gap: 3px;
}

.sora-chatbot-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chatbot-brand);
  animation: chatbot-dot-bounce 1s infinite ease-in-out;
}

.sora-chatbot-typing-dots i:nth-child(2) { animation-delay: .12s; }
.sora-chatbot-typing-dots i:nth-child(3) { animation-delay: .24s; }

@keyframes chatbot-dot-bounce {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.sora-chatbot-error {
  color: #b42318;
  border: 1px solid #fecaca;
  background: #fff1f2;
  line-height: 1.4;
}

.sora-chatbot-attachment span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sora-chatbot-attachment button {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.sora-chatbot-attachment button:hover {
  background: rgba(129, 140, 248, .16);
}

.sora-chatbot-handoff {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #e0e7ff;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(51, 65, 85, .08);
}

.sora-chatbot-handoff p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.sora-chatbot-handoff input,
.sora-chatbot-handoff textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
}

.sora-chatbot-handoff textarea {
  resize: vertical;
}

.sora-chatbot-handoff input:focus,
.sora-chatbot-handoff textarea:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-handoff .chatbot-send-handoff {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}

.sora-chatbot-image {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.sora-chatbot-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  max-width: 250px;
  margin-bottom: 5px;
}

.sora-chatbot-image img {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 190px;
  aspect-ratio: 1;
  border-radius: 11px;
  object-fit: cover;
}

@media (max-width: 420px) {
  .sora-chatbot-image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 220px;
  }
}

.sora-chatbot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 56px 76px;
  background: rgba(2, 6, 23, .86);
}

.sora-chatbot-lightbox img {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}

.sora-chatbot-lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.sora-chatbot-lightbox-nav[hidden],
.sora-chatbot-lightbox-count[hidden] {
  display: none;
}

.sora-chatbot-lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.sora-chatbot-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

.sora-chatbot-lightbox-count {
  position: absolute;
  right: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .72);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(50%);
}

.sora-chatbot-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ── Tablet and narrow screens ─────────────────────────────────────────── */
@media (min-width: 561px) and (max-width: 1024px) {
  .booking-contact-actions {
    right: max(18px, env(safe-area-inset-right));
  }

  .sora-chatbot-panel {
    width: min(430px, calc(100vw - 36px));
  }
}

@media (max-width: 560px) {
  .booking-contact-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    max-width: none;
    padding: 8px;
    border-radius: 18px;
  }

  .booking-contact-heading {
    display: none;
  }

  .booking-contact-buttons {
    width: 100%;
    gap: 6px;
  }

  .booking-contact-button {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    padding: 8px 6px;
    border-radius: 13px;
    font-size: 11px;
  }

  .booking-contact-button i {
    font-size: 14px;
  }

  .sora-chatbot {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .sora-chatbot-launcher {
    min-height: 52px;
    padding-right: 14px;
  }

  .sora-chatbot-panel {
    right: 0;
    bottom: 64px;
    width: min(420px, calc(100vw - 24px));
    height: min(700px, calc(100vh - 96px));
    height: min(700px, calc(100dvh - 96px));
    border-radius: 20px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-panel {
    position: fixed;
    inset: 0;
    width: auto;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .sora-chatbot-head {
    min-height: 78px;
    padding: 14px;
    flex-shrink: 0;
  }

  .sora-chatbot-body {
    padding: 14px 12px 11px;
  }

  .sora-chatbot-compose {
    padding: 11px 10px calc(11px + env(safe-area-inset-bottom));
    flex-shrink: 0;
  }

  .sora-chatbot-emoji-picker {
    right: 10px;
    grid-template-columns: repeat(4, 34px);
  }

  .sora-chatbot-lightbox {
    padding: 56px;
  }

  .sora-chatbot-lightbox img {
    max-width: calc(100vw - 112px);
    max-height: calc(100dvh - 112px);
  }

  .sora-chatbot-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-head {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .sora-chatbot-compose-hint {
    display: none;
  }

  .sora-chatbot-quick {
    max-height: 126px;
    margin-bottom: 9px;
  }

  .sora-chatbot-text-input,
  .sora-chatbot-handoff input,
  .sora-chatbot-handoff textarea {
    font-size: 16px;
  }

  .sora-chatbot-message {
    max-width: 92%;
  }
}

@media (max-width: 360px) {
  .booking-contact-button {
    gap: 4px;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
  }

  .sora-chatbot-launcher {
    padding-right: 11px;
    font-size: 12px;
  }

  .sora-chatbot-panel {
    width: calc(100vw - 16px);
    right: -4px;
  }
}

@media (max-height: 620px) and (max-width: 768px) {
  .sora-chatbot-panel {
    bottom: 58px;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
  }

  .sora-chatbot-head {
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sora-chatbot-body {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-contact-actions,
  .booking-contact-button,
  .sora-chatbot-launcher,
  .sora-chatbot-panel,
  .sora-chatbot-close,
  .chatbot-quick-reply,
  .sora-chatbot-input-row button,
  .chatbot-send-handoff,
  .sora-chatbot-attach,
  .sora-chatbot-typing-dots i {
    animation: none;
    transition: none;
  }
}/* ── Floating contact dock ─────────────────────────────────────────────── */
.booking-contact-actions {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(88px + env(safe-area-inset-bottom));
  z-index: 1075;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .78);
  border-radius: 20px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 14px 34px rgba(15, 23, 42, .16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: opacity .2s ease, transform .2s ease;
}

.booking-contact-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 4px;
  color: #475569;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}

.booking-contact-heading i {
  margin-right: 4px;
  color: #6366f1;
}

.booking-contact-heading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px #dcfce7;
}

.booking-contact-buttons {
  display: flex;
  align-items: stretch;
  gap: 7px;
}

.booking-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 88px;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid transparent;
  border-radius: 14px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
  box-shadow: 0 5px 12px rgba(15, 23, 42, .12);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.booking-contact-button i {
  font-size: 15px;
}

.booking-contact-button:hover {
  color: #fff;
  filter: saturate(1.08) brightness(1.05);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, .16);
}

.booking-contact-button:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(15, 23, 42, .12);
}

.booking-contact-button:focus-visible,
.sora-chatbot button:focus-visible,
.sora-chatbot input:focus-visible,
.sora-chatbot textarea:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 3px;
}

.booking-contact-call {
  background: linear-gradient(135deg, #0f766e, #0d9488);
  border-color: #0f766e;
}

.booking-contact-zalo {
  background: linear-gradient(135deg, #2563eb, #0068ff);
  border-color: #2563eb;
}

.booking-contact-messenger {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  border-color: #4f46e5;
}

.sora-chatbot.is-open + .booking-contact-actions {
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
}

/* ── Chatbot launcher ──────────────────────────────────────────────────── */
.sora-chatbot {
  --chatbot-brand: #4f46e5;
  --chatbot-brand-2: #7c3aed;
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 1080;
  font-family: inherit;
  isolation: isolate;
}

.sora-chatbot-launcher {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 56px;
  padding: 7px 17px 7px 8px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 12px 30px rgba(49, 46, 129, .38);
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.sora-chatbot-launcher::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 39px;
  width: 10px;
  height: 10px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, .2);
}

.sora-chatbot-launcher:hover {
  color: #fff;
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(49, 46, 129, .44);
}

.sora-chatbot-launcher:active {
  transform: translateY(0);
}

.sora-chatbot-launcher-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  font-size: 19px;
}

/* ── Chatbot panel ─────────────────────────────────────────────────────── */
.sora-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 28px));
  height: min(640px, calc(100vh - 112px));
  height: min(640px, calc(100dvh - 112px));
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, .95);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .24);
  transform-origin: bottom right;
  animation: chatbot-panel-in .2s ease-out;
}

.sora-chatbot-panel[hidden],
.sora-chatbot-lightbox[hidden],
.sora-chatbot-attachment[hidden],
.sora-chatbot-handoff[hidden] {
  display: none !important;
}

@keyframes chatbot-panel-in {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sora-chatbot-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 84px;
  padding: 16px 17px;
  color: #fff;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 255, 255, .18), transparent 34%),
    linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 16px;
  background: rgba(255, 255, 255, .17);
  font-size: 19px;
  box-shadow: 0 7px 16px rgba(30, 27, 75, .2);
}

.sora-chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sora-chatbot-head-copy {
  min-width: 0;
}

.sora-chatbot-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 255, 255, .68);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.sora-chatbot-head strong {
  display: block;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

.sora-chatbot-head small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
}

.sora-chatbot-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #86efac;
  box-shadow: 0 0 0 3px rgba(134, 239, 172, .15);
}

.sora-chatbot-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .1);
  font-size: 16px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}

.sora-chatbot-close:hover {
  color: #fff;
  background: rgba(255, 255, 255, .2);
  transform: rotate(4deg);
}

.sora-chatbot-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
  padding: 18px 16px 14px;
  background:
    radial-gradient(circle at 0 0, rgba(224, 231, 255, .42), transparent 28%),
    #f8fafc;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-color: #c7d2fe transparent;
  scrollbar-width: thin;
}

.sora-chatbot-messages {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.sora-chatbot-message {
  align-self: flex-start;
  max-width: min(88%, 342px);
}

.sora-chatbot-message.visitor,
.sora-chatbot-message.staff {
  align-self: flex-end;
}

.sora-chatbot-bubble {
  padding: 12px 14px;
  border: 1px solid #eef2f7;
  border-radius: 17px 17px 17px 6px;
  color: #1f2937;
  background: #fff;
  font-size: 13px;
  line-height: 1.5;
  box-shadow: 0 5px 16px rgba(51, 65, 85, .08);
  overflow-wrap: anywhere;
}

.sora-chatbot-message.visitor .sora-chatbot-bubble,
.sora-chatbot-message.staff .sora-chatbot-bubble {
  border-color: transparent;
  border-radius: 16px 16px 5px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
}

.sora-chatbot-message time {
  display: block;
  margin: 4px 5px;
  color: #94a3b8;
  font-size: 10px;
  letter-spacing: .01em;
}

.sora-chatbot-message-reactions {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
  margin: 5px 3px 0;
}

.sora-chatbot-message.visitor .sora-chatbot-message-reactions,
.sora-chatbot-message.staff .sora-chatbot-message-reactions {
  justify-content: flex-end;
}

.sora-chatbot-reaction-summary-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.sora-chatbot-reaction,
.sora-chatbot-reaction-toggle,
.sora-chatbot-reaction-option {
  min-height: 30px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  color: #64748b;
  background: rgba(255, 255, 255, .9);
  font-size: 12px;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
}

.sora-chatbot-reaction {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 38px;
  padding: 3px 7px;
  font-size: 15px;
}

.sora-chatbot-reaction-count {
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-reaction-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  font-size: 10px;
  font-weight: 700;
}

.sora-chatbot-reaction-picker {
  position: absolute;
  right: 0;
  bottom: calc(100% + 5px);
  z-index: 4;
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  width: min(250px, calc(100vw - 80px));
  padding: 7px;
  border: 1px solid #e0e7ff;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(30, 41, 59, .2);
}

.sora-chatbot-reaction-picker[hidden] {
  display: none;
}

.sora-chatbot-reaction-option {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  min-height: 34px;
  padding: 0;
  border-color: transparent;
  font-size: 19px;
}

.sora-chatbot-reaction:hover,
.sora-chatbot-reaction-toggle:hover,
.sora-chatbot-reaction-option:hover,
.sora-chatbot-reaction.is-reacted {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.sora-chatbot-reaction:disabled,
.sora-chatbot-reaction-option:disabled {
  cursor: wait;
  opacity: .55;
}

.sora-chatbot-reaction:focus-visible,
.sora-chatbot-reaction-toggle:focus-visible,
.sora-chatbot-reaction-option:focus-visible {
  outline: 3px solid #a5b4fc;
  outline-offset: 2px;
}

.sora-chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 144px;
  margin-bottom: 12px;
  overflow-y: auto;
  padding: 1px 2px 2px 1px;
  scrollbar-width: thin;
}

.chatbot-quick-reply {
  min-height: 42px;
  padding: 9px 13px;
  border: 1px solid #d7d8fe;
  border-radius: 13px;
  color: #4338ca;
  background: linear-gradient(180deg, #fff, #f5f3ff);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(79, 70, 229, .06);
  transition: background .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.chatbot-quick-reply:hover {
  border-color: #818cf8;
  background: #e0e7ff;
  transform: translateY(-1px);
  box-shadow: 0 6px 13px rgba(79, 70, 229, .13);
}

.sora-chatbot-quick .chatbot-quick-reply-restart {
  flex: 1 0 100%;
  border-color: var(--chatbot-brand);
  color: #fff;
  background: linear-gradient(135deg, var(--chatbot-brand), var(--chatbot-brand-2));
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(49, 46, 129, .15);
}

.sora-chatbot-quick .chatbot-quick-reply-previous {
  border-color: #a5b4fc;
  color: #3730a3;
  background: #eef2ff;
}

.chatbot-quick-reply:disabled,
.sora-chatbot-input-row button:disabled,
.chatbot-send-handoff:disabled {
  cursor: wait;
  opacity: .58;
  transform: none;
}

.sora-chatbot-compose {
  position: relative;
  padding: 13px 14px calc(13px + env(safe-area-inset-bottom));
  border-top: 1px solid #e9e7ff;
  background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
}

.sora-chatbot-compose-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 2px 8px;
}

.sora-chatbot-compose-title {
  color: #334155;
  font-size: 11px;
  font-weight: 800;
}

.sora-chatbot-compose-status {
  color: #94a3b8;
  font-size: 10px;
  font-weight: 600;
}

.sora-chatbot-input-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sora-chatbot-text-input {
  min-width: 0;
  min-height: 46px;
  max-height: 112px;
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
  line-height: 1.35;
  resize: none;
  overflow-y: auto;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.sora-chatbot-text-input:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-input-row button,
.chatbot-send-handoff {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: var(--chatbot-brand);
  cursor: pointer;
  transition: filter .18s ease, transform .18s ease;
}

.sora-chatbot-input-row button {
  box-shadow: 0 7px 14px rgba(79, 70, 229, .22);
}

.sora-chatbot-emoji-toggle {
  border: 1px solid #dbe2ea !important;
  color: #64748b !important;
  background: #fff !important;
  box-shadow: none !important;
}

.sora-chatbot-emoji-toggle:hover {
  border-color: #a5b4fc !important;
  color: #4f46e5 !important;
  background: #eef2ff !important;
}

.sora-chatbot-emoji-picker {
  position: absolute;
  right: 14px;
  bottom: calc(100% - 2px);
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(8, 34px);
  gap: 4px;
  padding: 8px;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(30, 41, 59, .18);
}

.sora-chatbot-emoji-picker[hidden] {
  display: none;
}

.sora-chatbot-emoji {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
}

.sora-chatbot-emoji:hover,
.sora-chatbot-emoji:focus-visible {
  background: #eef2ff;
  outline: none;
}

.sora-chatbot-input-row button:hover,
.chatbot-send-handoff:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.sora-chatbot-attach {
  display: grid;
  place-items: center;
  width: 44px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid #dbe2ea;
  border-radius: 13px;
  color: #64748b;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.sora-chatbot-attach:hover {
  border-color: #a5b4fc;
  color: #4f46e5;
  background: #eef2ff;
}

.sora-chatbot-attach input {
  display: none;
}

.sora-chatbot-attachment {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid #c7d2fe;
  border-radius: 10px;
  color: #4338ca;
  background: #eef2ff;
  font-size: 11px;
}

.sora-chatbot-compose-hint {
  margin: 7px 2px 0;
  color: #94a3b8;
  font-size: 10px;
  text-align: right;
}

.sora-chatbot-compose-hint span {
  padding: 0 4px;
  color: #c4b5fd;
}

.sora-chatbot-typing,
.sora-chatbot-error {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 8px 0 0;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 11px;
}

.sora-chatbot-typing {
  color: #64748b;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 3px 10px rgba(51, 65, 85, .06);
}

.sora-chatbot-typing-dots {
  display: inline-flex;
  gap: 3px;
}

.sora-chatbot-typing-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--chatbot-brand);
  animation: chatbot-dot-bounce 1s infinite ease-in-out;
}

.sora-chatbot-typing-dots i:nth-child(2) { animation-delay: .12s; }
.sora-chatbot-typing-dots i:nth-child(3) { animation-delay: .24s; }

@keyframes chatbot-dot-bounce {
  0%, 60%, 100% { opacity: .35; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

.sora-chatbot-error {
  color: #b42318;
  border: 1px solid #fecaca;
  background: #fff1f2;
  line-height: 1.4;
}

.sora-chatbot-attachment span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sora-chatbot-attachment button {
  width: 28px;
  height: 28px;
  margin-left: auto;
  border: 0;
  border-radius: 8px;
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.sora-chatbot-attachment button:hover {
  background: rgba(129, 140, 248, .16);
}

.sora-chatbot-handoff {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #e0e7ff;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 3px 10px rgba(51, 65, 85, .08);
}

.sora-chatbot-handoff p {
  margin: 0 0 10px;
  color: #475569;
  font-size: 12px;
  line-height: 1.45;
}

.sora-chatbot-handoff input,
.sora-chatbot-handoff textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #dbe2ea;
  border-radius: 10px;
  outline: none;
  color: #1f2937;
  background: #f8fafc;
  font-size: 14px;
}

.sora-chatbot-handoff textarea {
  resize: vertical;
}

.sora-chatbot-handoff input:focus,
.sora-chatbot-handoff textarea:focus {
  border-color: #818cf8;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .14);
}

.sora-chatbot-handoff .chatbot-send-handoff {
  width: 100%;
  padding: 10px;
  font-size: 12px;
}

.sora-chatbot-image {
  display: inline-block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.sora-chatbot-image-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  max-width: 250px;
  margin-bottom: 5px;
}

.sora-chatbot-image img {
  display: block;
  width: 100%;
  max-width: 240px;
  max-height: 190px;
  aspect-ratio: 1;
  border-radius: 11px;
  object-fit: cover;
}

@media (max-width: 420px) {
  .sora-chatbot-image-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 220px;
  }
}

.sora-chatbot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 56px 76px;
  background: rgba(2, 6, 23, .86);
}

.sora-chatbot-lightbox img {
  display: block;
  max-width: min(92vw, 1000px);
  max-height: 88vh;
  border-radius: 12px;
  object-fit: contain;
}

.sora-chatbot-lightbox-nav {
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 20px;
  cursor: pointer;
  transform: translateY(-50%);
}

.sora-chatbot-lightbox-nav[hidden],
.sora-chatbot-lightbox-count[hidden] {
  display: none;
}

.sora-chatbot-lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.sora-chatbot-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

.sora-chatbot-lightbox-count {
  position: absolute;
  right: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  padding: 4px 9px;
  border-radius: 999px;
  color: #fff;
  background: rgba(15, 23, 42, .72);
  font-size: 12px;
  font-weight: 700;
  transform: translateX(50%);
}

.sora-chatbot-lightbox-close {
  position: absolute;
  top: max(18px, env(safe-area-inset-top));
  right: max(20px, env(safe-area-inset-right));
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: #111827;
  background: #fff;
  font-size: 18px;
  cursor: pointer;
}

/* ── Tablet and narrow screens ─────────────────────────────────────────── */
@media (min-width: 561px) and (max-width: 1024px) {
  .booking-contact-actions {
    right: max(18px, env(safe-area-inset-right));
  }

  .sora-chatbot-panel {
    width: min(430px, calc(100vw - 36px));
  }
}

@media (max-width: 560px) {
  .booking-contact-actions {
    right: max(12px, env(safe-area-inset-right));
    bottom: calc(82px + env(safe-area-inset-bottom));
    left: max(12px, env(safe-area-inset-left));
    width: auto;
    max-width: none;
    padding: 8px;
    border-radius: 18px;
  }

  .booking-contact-heading {
    display: none;
  }

  .booking-contact-buttons {
    width: 100%;
    gap: 6px;
  }

  .booking-contact-button {
    min-width: 0;
    min-height: 44px;
    flex: 1 1 0;
    padding: 8px 6px;
    border-radius: 13px;
    font-size: 11px;
  }

  .booking-contact-button i {
    font-size: 14px;
  }

  .sora-chatbot {
    right: max(12px, env(safe-area-inset-right));
    bottom: max(12px, env(safe-area-inset-bottom));
  }

  .sora-chatbot-launcher {
    min-height: 52px;
    padding-right: 14px;
  }

  .sora-chatbot-panel {
    right: 0;
    bottom: 64px;
    width: min(420px, calc(100vw - 24px));
    height: min(700px, calc(100vh - 96px));
    height: min(700px, calc(100dvh - 96px));
    border-radius: 20px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-panel {
    position: fixed;
    inset: 0;
    width: auto;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }

  .sora-chatbot-head {
    min-height: 78px;
    padding: 14px;
    flex-shrink: 0;
  }

  .sora-chatbot-body {
    padding: 14px 12px 11px;
  }

  .sora-chatbot-compose {
    padding: 11px 10px calc(11px + env(safe-area-inset-bottom));
    flex-shrink: 0;
  }

  .sora-chatbot-emoji-picker {
    right: 10px;
    grid-template-columns: repeat(4, 34px);
  }

  .sora-chatbot-lightbox {
    padding: 56px;
  }

  .sora-chatbot-lightbox img {
    max-width: calc(100vw - 112px);
    max-height: calc(100dvh - 112px);
  }

  .sora-chatbot-lightbox-nav {
    width: 42px;
    height: 42px;
  }

  .sora-chatbot[data-screen="booking"] .sora-chatbot-head {
    padding-top: calc(14px + env(safe-area-inset-top));
  }

  .sora-chatbot-compose-hint {
    display: none;
  }

  .sora-chatbot-quick {
    max-height: 126px;
    margin-bottom: 9px;
  }

  .sora-chatbot-text-input,
  .sora-chatbot-handoff input,
  .sora-chatbot-handoff textarea {
    font-size: 16px;
  }

  .sora-chatbot-message {
    max-width: 92%;
  }
}

@media (max-width: 360px) {
  .booking-contact-button {
    gap: 4px;
    padding-left: 4px;
    padding-right: 4px;
    font-size: 10px;
  }

  .sora-chatbot-launcher {
    padding-right: 11px;
    font-size: 12px;
  }

  .sora-chatbot-panel {
    width: calc(100vw - 16px);
    right: -4px;
  }
}

@media (max-height: 620px) and (max-width: 768px) {
  .sora-chatbot-panel {
    bottom: 58px;
    height: calc(100vh - 78px);
    height: calc(100dvh - 78px);
  }

  .sora-chatbot-head {
    min-height: 62px;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .sora-chatbot-body {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .booking-contact-actions,
  .booking-contact-button,
  .sora-chatbot-launcher,
  .sora-chatbot-panel,
  .sora-chatbot-close,
  .chatbot-quick-reply,
  .sora-chatbot-input-row button,
  .chatbot-send-handoff,
  .sora-chatbot-attach,
  .sora-chatbot-typing-dots i {
    animation: none;
    transition: none;
  }
}