/* Contact launcher — cùng kiểu với các website thesolariagroup.com khác: một nút pill "Chat with us" mở thẻ nhỏ gồm Live chat
   (Living Sol), Messenger, Instagram và WhatsApp. Nút nổi của Living Sol ẩn cho tới khi khung chat mở (xem /assets/js/contact-dock.js). */
.sol-chat {
  --sc-ink: #373635;
  --sc-text: rgba(55, 54, 53, .72);
  --sc-surface: rgba(250, 247, 244, .92);
  --sc-line: rgba(55, 54, 53, .12);
  --sc-edge: 20px;
  --sc-bottom: 20px;
  position: fixed;
  right: var(--sc-edge);
  bottom: var(--sc-bottom);
  z-index: 2147483000;
  font-family: var(--f-display, Montserrat), system-ui, sans-serif;
  color: var(--sc-ink);
}
.sol-chat[data-livechat-open="true"] { display: none; }

.sol-chat__launcher {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, .6);
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .52));
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  backdrop-filter: blur(18px) saturate(180%);
  color: var(--sc-ink);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, .9),
    inset 0 -1px 3px rgba(0, 0, 0, .06),
    0 10px 28px rgba(20, 16, 12, .18),
    0 2px 6px rgba(20, 16, 12, .10);
  cursor: pointer;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}
/* specular sheen across the top half */
.sol-chat__launcher::before {
  content: "";
  position: absolute;
  inset: 1px 10px 50% 10px;
  border-radius: 999px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .75), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.sol-chat__launcher span { position: relative; }
.sol-chat__logo { position: relative; width: 16px; height: 16px; margin-right: 9px; flex: none; }
.sol-chat__launcher:hover { transform: translateY(-1px); box-shadow: inset 0 1px 1px rgba(255, 255, 255, .95), inset 0 -1px 3px rgba(0, 0, 0, .06), 0 14px 32px rgba(20, 16, 12, .22), 0 3px 8px rgba(20, 16, 12, .12); }
.sol-chat__launcher:active { transform: scale(.98); }
.sol-chat .sol-chat__launcher:hover, .sol-chat .sol-chat__launcher:focus, .sol-chat .sol-chat__launcher:active { background-color: transparent; color: var(--sc-ink); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .sol-chat__launcher { background: rgba(250, 247, 244, .95); }
}

.sol-chat__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: 300px;
  padding: 22px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 16px;
  background: var(--sc-surface);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 24px 60px rgba(20, 16, 12, .22), 0 4px 12px rgba(20, 16, 12, .08);
  transform-origin: bottom right;
  animation: sol-chat-in .18s ease-out;
}
.sol-chat__panel[hidden] { display: none; }
@keyframes sol-chat-in { from { opacity: 0; transform: translateY(6px) scale(.98); } to { opacity: 1; transform: none; } }

.sol-chat__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 16px 6px;
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .01em;
  color: var(--sc-ink);
}
.sol-chat__title .sol-chat__logo { width: 20px; height: 20px; margin: 0; }
.sol-chat__sub { margin: 0 16px 14px; font-family: var(--f-body, system-ui), sans-serif; font-size: 13px; line-height: 1.5; color: var(--sc-text); }

.sol-chat__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sc-line); }
.sol-chat__list li { margin: 0; border-bottom: 1px solid var(--sc-line); }
.sol-chat__list li:last-child { border-bottom: 0; }
.sol-chat__list li[hidden] { display: none; }
.sol-chat__item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 60px;
  margin: 0;
  padding: 10px 12px 10px 16px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--sc-ink);
  text-align: left;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.3;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.sol-chat .sol-chat__item:hover, .sol-chat .sol-chat__item:focus-visible { background-color: rgba(55, 54, 53, .05); color: var(--sc-ink); }
.sol-chat .sol-chat__item:focus-visible { outline: 2px solid rgba(55, 54, 53, .35); outline-offset: -2px; }
.sol-chat__item svg { width: 22px; height: 22px; flex: none; color: var(--sc-ink); }
.sol-chat__item span { flex: 1; display: grid; gap: 3px; line-height: 1.3; }
.sol-chat__item strong { font-size: 14px; font-weight: 500; letter-spacing: .01em; line-height: 1.3; }
.sol-chat__item small { font-family: var(--f-body, system-ui), sans-serif; font-size: 12px; font-weight: 400; line-height: 1.3; color: var(--sc-text); }
.sol-chat__item .sol-chat__chev { width: 16px; height: 16px; opacity: .45; }

.sol-chat :focus-visible { outline: 2px solid #c12026; outline-offset: 2px; }

@media (max-width: 849px) {
  .sol-chat { --sc-edge: 16px; --sc-bottom: 16px; }
  .sol-chat__panel { width: min(320px, calc(100vw - 32px)); }
}
/* Mobile: thanh "Book a table" cố định ở đáy (hiện sau khi cuộn) — đặt launcher ngay trên thanh đó để không đè lên nút đặt bàn. */
@media (max-width: 640px) {
  .sol-chat { --sc-bottom: calc(76px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) {
  .sol-chat__panel { animation: none; }
  .sol-chat__launcher { transition: none; }
}
