.prestige-guide {
  --guide-blue: #0076bb;
  --guide-ink: #10394f;
  --guide-line: #dce9ee;
  position: fixed;
  right: 26px;
  bottom: 24px;
  z-index: 60;
  font-family: inherit;
  color: var(--guide-ink);
}
.guide-launcher {
  height: 56px;
  min-width: 126px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid #ffffff80;
  border-radius: 100px;
  /* An opaque base prevents the page showing through when chat changes state. */
  background-color: #075676;
  background-image: linear-gradient(125deg, #0076bb, #075676);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 26px #09344833, inset 0 1px 0 #ffffff26;
  cursor: pointer;
  transition: border-color .18s, box-shadow .2s;
}
.guide-launcher svg { width: 24px; height: 24px; flex: 0 0 auto; transition: transform .2s ease; }
.guide-launcher[aria-expanded="true"] { background-color: #10394f; background-image: none; }
@media (hover: hover) and (pointer: fine) {
  .guide-launcher:hover {
    border-color: #ffffffcc;
    box-shadow: 0 10px 30px #0076bb3b, 0 0 0 3px #75c9871a, inset 0 1px 0 #ffffff40;
  }
  .guide-launcher:hover svg { transform: rotate(-5deg) scale(1.05); }
}
.chat-greeting { position: absolute; right: 0; bottom: 74px; width: 310px; max-width: calc(100vw - 30px); display: flex; gap: 13px; padding: 19px 42px 13px 17px; box-sizing: border-box; border: 1px solid #dce9ee; border-radius: 18px; background: #fff; box-shadow: 0 10px 40px #10394f1f; animation: chat-greeting-in .3s ease-out; }
.chat-greeting[hidden] { display: none; }
.chat-greeting::after { content: ''; position: absolute; right: 32px; bottom: -6px; width: 11px; height: 11px; background: #fff; border-right: 1px solid #dce9ee; border-bottom: 1px solid #dce9ee; transform: rotate(45deg); }
.chat-greeting-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 12px; background: linear-gradient(140deg, #e7f4fb, #ecf7ed); color: #0076bb; }
.chat-greeting-icon svg { width: 23px; height: 23px; }
.chat-greeting-copy { min-width: 0; }
.chat-greeting-copy p { margin: 0 0 5px; color: #10394f; font-size: 14px; line-height: 1.4; font-weight: 600; letter-spacing: -.02em; }
.chat-greeting-copy > span { display: block; color: #627985; font-size: 11px; line-height: 1.6; }
.chat-greeting-copy > button { display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 5px 0; border: 0; background: transparent; color: #006ea9; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.chat-greeting-copy > button:hover { color: #18753b; }
.chat-greeting-copy > button span { font-size: 16px; }
.chat-greeting-dismiss { position: absolute; top: 2px; right: 2px; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: #718995; cursor: pointer; }
.chat-greeting-dismiss:hover { background: #f0f6f8; color: #10394f; }
.chat-greeting-dismiss svg { width: 17px; height: 17px; }
@keyframes chat-greeting-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.guide-panel {
  position: absolute;
  right: 0;
  bottom: 68px;
  width: 420px;
  height: min(650px, calc(100dvh - 134px));
  max-height: calc(100dvh - 134px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #d4e6ed;
  border-radius: 22px;
  box-shadow: 0 20px 70px #0b334b2e;
  background: #fff;
  isolation: isolate;
}
.guide-panel[hidden] { display: none; }
.support-pane { display: flex; flex: 1 1 auto; min-height: 0; flex-direction: column; }
.support-pane[hidden] { display: none; }
.support-tabs { display: flex; gap: 4px; padding: 9px 13px; border-bottom: 1px solid var(--guide-line); background: #fff; flex: 0 0 auto; }
.support-tabs button { flex: 1 1 0; min-height: 39px; border: 1px solid transparent; border-radius: 9px; padding: 8px; background: transparent; color: #587382; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.support-tabs button[aria-selected="true"] { border-color: #d4e6ed; color: #075f8a; background: #eef7fb; }
.support-tabs button:hover { background: #f2f7fa; }
.guide-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 17px; background: #f4f9fb; border-bottom: 1px solid var(--guide-line); flex: 0 0 auto; }
.guide-brand { display: flex; align-items: center; gap: 11px; min-width: 0; }
.guide-brand img { width: 76px; height: 40px; padding: 3px; flex: 0 0 auto; object-fit: contain; border-radius: 8px; background: white; }
.guide-brand strong { display: block; font-size: 14px; font-weight: 600; letter-spacing: -.02em; line-height: 1.4; }
.guide-brand small { display: block; font-size: 10px; color: #587382; line-height: 1.6; }
.guide-close { width: 34px; height: 34px; border: 1px solid transparent; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: transparent; color: #486672; cursor: pointer; }
.guide-close:hover { background: #e6f0f5; }
.guide-close svg { width: 19px; height: 19px; }
.guide-transcript { flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 21px 18px; scroll-behavior: auto; scrollbar-width: thin; }
.guide-message { margin: 0 0 17px; font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.guide-message p { margin: 0; }
.guide-message-label { display: block; font-size: 9px; text-transform: uppercase; letter-spacing: .13em; color: #63818e; margin-bottom: 7px; }
.guide-message--visitor { display: flex; flex-direction: column; align-items: flex-end; }
.guide-message--visitor .guide-message-label { color: #66818c; }
.guide-message--visitor p { max-width: 92%; padding: 10px 14px; background: #edf6fa; border: 1px solid #ddebf0; border-radius: 15px 15px 3px 15px; }
.guide-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.guide-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 36px; padding: 7px 11px; border: 1px solid #cde1e9; background: white; border-radius: 8px; color: #075f8a; font-size: 11px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; }
.guide-action:hover { border-color: #0076bb; background: #f0f8fc; }
.guide-action--primary { border-color: #0076bb; background: #0076bb; color: white; }
.guide-action--primary:hover { background: #075676; border-color: #075676; color: #fff; }
.guide-product-list { display: grid; gap: 10px; margin-top: 12px; }
.guide-product { display: grid; grid-template-columns: 63px minmax(0, 1fr); gap: 10px; align-items: center; padding: 11px; border: 1px solid var(--guide-line); border-radius: 12px; background: #fff; }
.guide-product img { width: 63px; height: 63px; object-fit: contain; background: #f2f8fa; border-radius: 9px; }
.guide-product h3 { margin: 0 0 3px; font-size: 13px; line-height: 1.45; font-weight: 500; letter-spacing: 0; }
.guide-product small { display: block; color: #68818b; font-size: 10px; line-height: 1.55; }
.guide-product .guide-actions { grid-column: 1/-1; margin-top: 0; }
.guide-product .guide-action { flex: 1 1 0; }
.guide-contact { padding: 11px 13px; background: #f4f9fb; border: 1px solid var(--guide-line); border-radius: 10px; margin-top: 10px; }
.guide-contact strong { display: block; font-size: 11px; margin-bottom: 3px; font-weight: 600; }
.guide-contact address { font-size: 11px; line-height: 1.65; font-style: normal; }
.guide-contact-numbers { display: grid; gap: 7px; margin-top: 12px; }
.guide-contact-number { display: grid; grid-template-columns: minmax(0, 1fr) 44px 44px; gap: 5px; align-items: center; min-height: 44px; }
.guide-phone-number { font-size: 11px; font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.guide-number-action { display: inline-flex; justify-content: center; align-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; color: #075f8a; background: transparent; text-decoration: none; }
.guide-number-action svg { width: 20px; height: 20px; flex: 0 0 auto; }
.guide-number-action--whatsapp { color: #18753b; }
.guide-number-action:hover { background: #edf6fa; }
.guide-number-action--whatsapp:hover { background: #eaf5ed; }
.guide-selected-product { margin-top: 11px !important; padding: 9px 11px; color: #075f8a; background: #eef7fb; border: 1px solid #dce9ee; border-radius: 8px; font-size: 11px; font-weight: 600; }
.guide-enquiry-form { display: grid; gap: 11px; padding: 13px; margin-top: 12px; background: #f7fafb; border: 1px solid var(--guide-line); border-radius: 12px; }
.guide-enquiry-field { display: grid; gap: 5px; min-width: 0; }
.guide-enquiry-field label { font-size: 11px; font-weight: 600; color: #325564; }
.guide-enquiry-field :is(input,textarea) { box-sizing: border-box; min-width: 0; width: 100%; padding: 9px 10px; border: 1px solid #cde1e9; border-radius: 8px; color: #10394f; background: #fff; font: inherit; font-size: 13px; line-height: 1.5; }
.guide-enquiry-field textarea { min-height: 90px; resize: vertical; }
.guide-enquiry-field :is(input,textarea)::placeholder { color: #708795; }
.guide-enquiry-submit { width: 100%; min-height: 40px; font-size: 12px; }
.guide-enquiry-submit:disabled { cursor: wait; opacity: .75; }
.guide-enquiry-form .guide-enquiry-note { color: #647d89; font-size: 10px; line-height: 1.55; }
.guide-enquiry-status { color: #9c3530; font-size: 11px; line-height: 1.65; }
.guide-enquiry-status:empty { display: none; }
.guide-enquiry-receipt { color: #18753b; font-size: 13px; font-weight: 600; line-height: 1.7; }
.guide-footnote button:disabled { cursor: wait; opacity: .5; }
.guide-composer { display: flex; gap: 8px; align-items: center; padding: 11px 13px; border-top: 1px solid var(--guide-line); background: white; flex: 0 0 auto; }
.guide-composer input { min-width: 0; width: 100%; font: inherit; font-size: 12px; color: #10394f; height: 43px; padding: 10px 11px; background: #f5f9fb; border: 1px solid #e1edf1; border-radius: 11px; }
.guide-composer input::placeholder { color: #7b8f98; }
.guide-composer button { width: 41px; height: 41px; border: 0; background: #0076bb; color: white; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center; cursor: pointer; }
.guide-composer button:hover { background: #075676; }
.guide-composer button svg { width: 21px; height: 21px; }
.guide-footnote { margin: 0; padding: 0 13px 11px; font-size: 9px; line-height: 1.6; color: #7c9099; flex: 0 0 auto; }
.guide-footnote button { border: 0; padding: 0; margin-left: 3px; background: transparent; color: #28789e; font: inherit; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.guide-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.prestige-guide :is(a,button,input,textarea):focus-visible { outline: 2px solid #0076bb; outline-offset: 3px; }
body:has(.prestige-guide) #back-to-top { right: 174px; bottom: 26px; }
/* The floating arrow handles this action without a footer link behind Chat. */
body:has(.prestige-guide) .footer-bottom > a[href$="#home"] { display: none; }
body.modal-open .prestige-guide { visibility: hidden; pointer-events: none; }
@media (max-width: 700px) {
  .prestige-guide { right: 15px; bottom: calc(17px + env(safe-area-inset-bottom)); }
  .guide-launcher { display: inline-flex; }
  .chat-greeting { bottom: 76px; width: 300px; }
  .chat-greeting::after { display: none; }
  .guide-panel { position: fixed; right: 12px; left: 12px; width: auto; bottom: calc(82px + env(safe-area-inset-bottom)); height: min(540px, calc(100dvh - 106px - env(safe-area-inset-bottom))); max-height: calc(100dvh - 106px - env(safe-area-inset-bottom)); border-radius: 18px; }
  .guide-header { padding: 13px 15px; }
  .guide-transcript { padding: 17px 15px; }
  .guide-composer input { font-size: 16px; }
  .guide-enquiry-field :is(input,textarea) { font-size: 16px; }
  body:has(.prestige-guide) #back-to-top { right: 154px; bottom: calc(20px + env(safe-area-inset-bottom)); }
  body:has(.chat-greeting:not([hidden])) #back-to-top { visibility: hidden; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) { .prestige-guide *, .prestige-guide *::before, .prestige-guide *::after { transition: none !important; animation: none !important; } .guide-launcher:hover svg { transform: none; } }
