:root {
  --lathra-assist-bg: #343935;
  --lathra-assist-panel: rgba(255, 255, 255, 0.68);
  --lathra-assist-panel-soft: rgba(255, 255, 255, 0.3);
  --lathra-assist-gold: #d9b37b;
  --lathra-assist-gold-soft: #af8c53;
  --lathra-assist-text: rgba(24, 22, 20, 0.92);
  --lathra-assist-muted: rgba(34, 30, 27, 0.78);
  --lathra-assist-green: #5b7138;
}

.kb-faq-assistant,
.kb-faq-assistant * {
  box-sizing: border-box;
}

.kb-faq-assistant {
  position: fixed;
  left: calc(18px + env(safe-area-inset-left));
  bottom: calc(36px + env(safe-area-inset-bottom));
  z-index: 2147483400;
  width: 54px;
  height: 54px;
  color: rgba(24, 22, 20, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  pointer-events: none;
}

.kb-faq-assistant__launcher {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.2));
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.13),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.18);
  color: rgba(24, 22, 20, 0.44);
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.kb-faq-assistant__launcher::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
  pointer-events: none;
}

.kb-faq-assistant__launcher::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    inset 0 -1px 0 rgba(28, 24, 21, 0.04);
  pointer-events: none;
}

.kb-faq-assistant__launcher:hover,
.kb-faq-assistant__launcher:focus-visible,
.kb-faq-assistant.is-open .kb-faq-assistant__launcher {
  border-color: rgba(255, 255, 255, 0.32);
  outline: none;
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.15),
    inset 0 0 0 0.5px rgba(255, 255, 255, 0.2);
  color: rgba(24, 22, 20, 0.5);
}

.kb-faq-assistant__launcher-mark {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  height: auto;
  border-radius: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Arial, sans-serif;
  font-size: 25px;
  font-weight: 480;
  line-height: 1;
  color: rgba(24, 22, 20, 0.46);
  transform: translateY(-1px);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.22);
}

.kb-faq-assistant__panel {
  position: absolute;
  left: 0;
  bottom: 72px;
  display: flex;
  flex-direction: column;
  width: min(372px, calc(100vw - 32px));
  max-height: calc(100vh - 88px);
  max-height: calc(100dvh - 88px);
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 24px;
  background: linear-gradient(135deg, var(--lathra-assist-panel), var(--lathra-assist-panel-soft));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(14px) scale(0.98);
  transform-origin: left bottom;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  transition: opacity 180ms ease, transform 180ms ease;
  scrollbar-color: rgba(35, 30, 25, 0.22) rgba(255, 255, 255, 0.2);
  scrollbar-width: thin;
}

.kb-faq-assistant.is-open .kb-faq-assistant__panel {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.kb-faq-assistant:not(.is-open) .kb-faq-assistant__panel,
.kb-faq-assistant:not(.is-open) .kb-faq-assistant__panel * {
  pointer-events: none !important;
}

.kb-faq-assistant__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 14px;
  margin-bottom: 12px;
}

.kb-faq-assistant__eyebrow {
  margin: 0 0 4px;
  color: rgba(175, 140, 83, 0.92);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  text-transform: uppercase;
}

.kb-faq-assistant__top h2 {
  margin: 0;
  color: rgba(24, 22, 20, 0.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: 0;
}

.kb-faq-assistant__close {
  position: relative;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  border: 1px solid rgba(35, 30, 25, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
  color: rgba(34, 30, 27, 0.66);
  cursor: pointer;
  font-size: 0;
  line-height: 1;
}

.kb-faq-assistant__close::before,
.kb-faq-assistant__close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: center;
}

.kb-faq-assistant__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.kb-faq-assistant__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.kb-faq-assistant__close:hover,
.kb-faq-assistant__close:focus-visible {
  outline: none;
  background: rgba(255, 255, 255, 0.52);
  color: rgba(24, 22, 20, 0.92);
}

.kb-faq-assistant__questions {
  display: flex;
  flex-wrap: wrap;
  flex: 0 0 auto;
  gap: 8px;
  margin-bottom: 12px;
}

.kb-faq-assistant__question {
  max-width: 100%;
  padding: 8px 10px;
  border: 1px solid rgba(35, 30, 25, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  color: rgba(34, 30, 27, 0.72);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
  text-align: left;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.kb-faq-assistant__question:hover,
.kb-faq-assistant__question:focus-visible,
.kb-faq-assistant__question.is-active {
  border-color: rgba(175, 140, 83, 0.72);
  background: rgba(255, 255, 255, 0.38);
  box-shadow: inset 0 0 0 1px rgba(175, 140, 83, 0.24);
  color: rgba(24, 22, 20, 0.92);
  outline: none;
}

.kb-faq-assistant__answers {
  display: grid;
  align-items: stretch;
  flex: 0 0 auto;
  height: clamp(132px, 23vh, 168px);
  height: clamp(132px, 23dvh, 168px);
  min-height: 0;
}

.kb-faq-assistant__answer {
  display: block;
  grid-area: 1 / 1;
  height: 100%;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px;
  border: 1px solid rgba(35, 30, 25, 0.09);
  border-radius: 18px 18px 4px 18px;
  background: rgba(255, 255, 255, 0.42);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.kb-faq-assistant__answer.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.kb-faq-assistant__answer h3 {
  margin: 0 0 7px;
  color: rgba(175, 140, 83, 0.94);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.kb-faq-assistant__answer p {
  margin: 0;
  color: rgba(34, 30, 27, 0.78);
  font-size: 13px;
  line-height: 1.48;
}

.kb-faq-assistant__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 10px;
  margin-top: 12px;
  padding: 2px 0 0;
}

.kb-faq-assistant__contact {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(35, 30, 25, 0.13);
  border-radius: 999px;
  background: #f8f6f1;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  color: rgba(34, 30, 27, 0.9) !important;
  text-decoration: none !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.kb-faq-assistant__contact:hover,
.kb-faq-assistant__contact:focus-visible {
  border-color: rgba(35, 30, 25, 0.2);
  outline: none;
  background: #ffffff;
  transform: translateY(-1px) scale(1.03);
}

.kb-faq-assistant__contact.is-disabled {
  opacity: 0.52;
  cursor: default;
}

.kb-faq-assistant__contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
}

.kb-faq-assistant__contact-icon svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: currentColor;
  stroke: none;
  overflow: visible;
}

.kb-faq-assistant__contact--whatsapp .kb-faq-assistant__contact-icon svg {
  width: 26px;
  height: 26px;
}

.kb-faq-assistant__contact-icon--max svg {
  width: 28px;
  height: 28px;
}

.kb-faq-assistant__contact-label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

#kb-booking .kb-channel-chooser {
  display: grid !important;
  grid-template-rows: 0fr;
  margin: 0 !important;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: relative !important;
  transform: translateY(-5px) !important;
  transition: grid-template-rows 320ms cubic-bezier(0.22, 1, 0.36, 1), margin-top 320ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease, transform 320ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  z-index: 2 !important;
}

#kb-booking .kb-channel-chooser-open {
  grid-template-rows: 1fr;
  margin-top: 8px !important;
  opacity: 1;
  overflow: visible !important;
  pointer-events: auto;
  transform: translateY(0) !important;
}

#kb-booking .kb-channel-chooser__sheet {
  min-height: 0;
  overflow: hidden;
  padding: 0 2px 2px !important;
  width: 100% !important;
}

#kb-booking .kb-channel-chooser__actions {
  align-items: center !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  overflow: visible !important;
}

#kb-booking .kb-channel-chooser__action {
  align-items: center !important;
  appearance: none !important;
  background: rgba(255, 255, 255, 0.42) !important;
  border: 1px solid rgba(52, 57, 53, 0.14) !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.14), inset 0 0 0 1px rgba(255, 255, 255, 0.18) !important;
  color: #343935 !important;
  cursor: pointer !important;
  display: inline-grid !important;
  height: 60px !important;
  justify-items: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  transition: background-color 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  width: 60px !important;
}

#kb-booking .kb-channel-chooser__action:hover,
#kb-booking .kb-channel-chooser__action:focus-visible {
  background: rgba(255, 255, 255, 0.56) !important;
  border-color: rgba(91, 113, 56, 0.36) !important;
  outline: none;
  transform: translateY(-2px) scale(1.02) !important;
}

#kb-booking .kb-channel-chooser__action.is-disabled {
  cursor: default !important;
  opacity: 0.52;
}

#kb-booking .kb-channel-chooser__icon {
  z-index: 1;
}

#kb-booking .kb-channel-chooser__icon svg {
  display: block !important;
  height: 31px !important;
  width: 31px !important;
  fill: currentColor;
}

#kb-booking .kb-channel-chooser__icon--max svg,
#kb-booking .kb-channel-chooser__action--whatsapp .kb-channel-chooser__icon svg {
  height: 34px !important;
  width: 34px !important;
}

#kb-booking .kb-channel-chooser__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

body > .kb-channel-chooser {
  position: fixed !important;
  inset: 0 !important;
  z-index: 2147483600 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 20px !important;
  margin: 0 !important;
  overflow: hidden !important;
  background: rgba(17, 22, 19, 0.54) !important;
  opacity: 0;
  pointer-events: none;
  transform: none !important;
  transition: opacity 180ms ease !important;
}

body > .kb-channel-chooser.kb-channel-chooser-open {
  opacity: 1;
  pointer-events: auto;
}

body > .kb-channel-chooser .kb-channel-chooser__sheet {
  width: min(352px, calc(100vw - 36px)) !important;
  min-height: 0;
  overflow: visible !important;
  padding: 18px !important;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.3));
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.46);
  transform: translateY(8px) scale(0.98);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

body > .kb-channel-chooser.kb-channel-chooser-open .kb-channel-chooser__sheet {
  transform: translateY(0) scale(1);
}

body > .kb-channel-chooser .kb-channel-chooser__actions {
  align-items: center !important;
  display: flex !important;
  gap: 12px !important;
  justify-content: center !important;
  overflow: visible !important;
}

body > .kb-channel-chooser .kb-channel-chooser__action {
  align-items: center !important;
  appearance: none !important;
  background: rgba(255, 255, 255, 0.88) !important;
  border: 1px solid rgba(217, 179, 123, 0.28) !important;
  border-radius: 50% !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.22) !important;
  color: #343935 !important;
  cursor: pointer !important;
  display: inline-grid !important;
  height: 60px !important;
  justify-items: center !important;
  overflow: hidden !important;
  padding: 0 !important;
  position: relative !important;
  transition: background-color 180ms ease, border-color 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1) !important;
  width: 60px !important;
}

body > .kb-channel-chooser .kb-channel-chooser__action:hover,
body > .kb-channel-chooser .kb-channel-chooser__action:focus-visible {
  background: #ffffff !important;
  border-color: rgba(217, 179, 123, 0.62) !important;
  outline: none;
  transform: translateY(-2px) scale(1.02) !important;
}

body > .kb-channel-chooser .kb-channel-chooser__action.is-disabled {
  cursor: default !important;
  opacity: 0.52;
}

body > .kb-channel-chooser .kb-channel-chooser__icon {
  z-index: 1;
}

body > .kb-channel-chooser .kb-channel-chooser__icon svg {
  display: block !important;
  fill: currentColor;
  height: 31px !important;
  width: 31px !important;
}

body > .kb-channel-chooser .kb-channel-chooser__icon--max svg,
body > .kb-channel-chooser .kb-channel-chooser__action--whatsapp .kb-channel-chooser__icon svg {
  height: 34px !important;
  width: 34px !important;
}

body > .kb-channel-chooser .kb-channel-chooser__label {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .kb-faq-assistant {
    right: calc(14px + env(safe-area-inset-right));
    left: auto;
    bottom: calc(14px + env(safe-area-inset-bottom));
    width: 48px;
    height: 48px;
  }

  .kb-faq-assistant__launcher {
    width: 48px;
    height: 48px;
  }

  .kb-faq-assistant__launcher-mark {
    font-size: 23px;
  }

  .kb-faq-assistant__panel {
    right: 0;
    left: auto;
    bottom: 58px;
    width: min(346px, calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right)));
    max-height: calc(100vh - 76px);
    max-height: calc(100dvh - 76px);
    padding: 12px;
    border-radius: 20px;
    transform-origin: right bottom;
  }

  .kb-faq-assistant__top h2 {
    font-size: 20px;
  }

  .kb-faq-assistant__questions {
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 9px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 0 2px 3px 0;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .kb-faq-assistant__question {
    flex: 0 0 auto;
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  .kb-faq-assistant__answers {
    height: clamp(158px, 24vh, 188px);
    height: clamp(158px, 24dvh, 188px);
  }

  .kb-faq-assistant__answer {
    padding: 10px 11px;
  }

  .kb-faq-assistant__answer p {
    font-size: 12px;
    line-height: 1.38;
  }

  #kb-booking .kb-channel-chooser__actions {
    gap: 8px !important;
  }

  body > .kb-channel-chooser .kb-channel-chooser__sheet {
    padding: 14px !important;
  }

  body > .kb-channel-chooser .kb-channel-chooser__actions {
    gap: 8px !important;
  }

  #kb-booking .kb-channel-chooser__action,
  body > .kb-channel-chooser .kb-channel-chooser__action {
    height: 50px !important;
    width: 50px !important;
  }

  #kb-booking .kb-channel-chooser__icon svg,
  body > .kb-channel-chooser .kb-channel-chooser__icon svg {
    height: 27px !important;
    width: 27px !important;
  }
}

@media screen and (max-width: 767px) and (max-height: 680px) {
  .kb-faq-assistant__panel {
    bottom: 56px;
    max-height: calc(100vh - 68px);
    max-height: calc(100dvh - 68px);
    padding: 10px;
  }

  .kb-faq-assistant__top {
    margin-bottom: 7px;
  }

  .kb-faq-assistant__questions {
    gap: 5px;
    margin-bottom: 7px;
  }

  .kb-faq-assistant__question {
    padding: 5px 7px;
    font-size: 10.8px;
  }

  .kb-faq-assistant__answers {
    height: 168px;
  }

  .kb-faq-assistant__answer {
    padding: 9px 10px;
  }

  .kb-faq-assistant__answer p {
    font-size: 11.8px;
    line-height: 1.34;
  }

  .kb-faq-assistant__actions {
    margin-top: 7px;
  }

  .kb-faq-assistant__contact {
    width: 38px;
    height: 38px;
  }
}
