.sp-chat-ready #root .whatsapp-float { display: none; }
.sp-chat, .sp-chat * { box-sizing: border-box; }
.sp-chat [hidden], .sp-chat[hidden] { display: none !important; }
.sp-chat {
  --chat-brown: #4e342e;
  --chat-orange: #e64a19;
  --chat-cream: #f5f0eb;
  --chat-green: #25d366;
  position: fixed;
  right: 28px;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  color: var(--chat-brown);
  font-family: "DM Sans", sans-serif;
}
.sp-chat button, .sp-chat textarea { font: inherit; }
.sp-chat button { cursor: pointer; }
.sp-chat button:focus-visible, .sp-chat a:focus-visible, .sp-chat textarea:focus-visible {
  outline: 3px solid var(--chat-orange);
  outline-offset: 4px;
}
.sp-chat-launcher {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 12px;
  border: 1px solid #ffffff30;
  border-radius: 999px;
  background: var(--chat-green);
  color: #fff;
  box-shadow: 0 12px 36px #15452b35, 0 0 0 4px #d7e35f55;
  transition: transform .2s, background .2s;
}
.sp-chat-launcher:hover { background: #1da851; transform: translateY(-3px); }
.sp-chat-launcher::before {
  content: "";
  position: absolute;
  inset: -6px;
  border: 1px solid #25d36666;
  border-radius: inherit;
  pointer-events: none;
  animation: sp-chat-ring 3.8s ease-out 3;
}
.sp-chat-launcher-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ffffff22; }
.sp-chat-launcher-text { text-align: left; display: flex; flex-direction: column; gap: 3px; }
.sp-chat-launcher-text strong { font-size: 13px; font-weight: 800; }
.sp-chat-launcher-text > span { font-size: 10px; letter-spacing: .02em; }
.sp-chat-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 18px);
  width: 370px;
  max-height: calc(100dvh - 209px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #4e342e20;
  border-radius: 24px;
  background: var(--chat-cream);
  box-shadow: 0 24px 80px #23151140;
  transform-origin: right bottom;
  animation: sp-chat-enter .2s ease-out;
}
.sp-chat-header { display: flex; align-items: center; gap: 12px; background: var(--chat-brown); color: var(--chat-cream); padding: 21px 18px 20px; }
.sp-chat-avatar { display: grid; place-items: center; flex-shrink: 0; width: 44px; height: 44px; background: var(--chat-orange); border-radius: 14px; font-family: "Space Grotesk", sans-serif; font-size: 17px; font-weight: 800; }
.sp-chat-heading { flex: 1; min-width: 0; }
.sp-chat-brand { margin: 0 0 5px; color: #f6b08e; font-size: 9px; font-weight: 800; letter-spacing: .17em; }
.sp-chat-heading h2 { margin: 0 0 6px; font-family: "Space Grotesk", sans-serif; font-weight: 700; font-size: 18px; line-height: 1.12; letter-spacing: -.04em; }
.sp-chat-channel { color: #d7ccc8; font-size: 10px; }
.sp-chat-close { display: grid; place-items: center; align-self: flex-start; flex-shrink: 0; width: 28px; height: 28px; color: white; border: 1px solid #ffffff25; border-radius: 50%; background: transparent; font-size: 21px !important; line-height: 1; }
.sp-chat-close:hover { background: #ffffff15; }
.sp-chat-content { padding: 20px; }
.sp-chat-intro { margin: 0 0 16px; font-size: 11px; line-height: 1.6; color: #8d6e63; }
.sp-chat-welcome { padding: 16px; border: 1px solid #4e342e0d; border-radius: 0 17px 17px; background: #fff; box-shadow: 0 4px 12px #4e342e05; }
.sp-chat-message-label { display: block; font-size: 8px; font-weight: 800; letter-spacing: .12em; color: var(--chat-orange); }
.sp-chat-welcome p { margin: 8px 0 0; font-size: 12px; line-height: 1.7; }
.sp-chat-quick { display: flex; flex-wrap: wrap; gap: 7px; margin: 15px 0 18px; }
.sp-chat-quick button { border: 1px solid #4e342e26; border-radius: 999px; padding: 8px 10px; background: transparent; color: var(--chat-brown); font-size: 10px; font-weight: 700; transition: background .15s, border-color .15s; }
.sp-chat-quick button:hover { background: #e64a190a; border-color: var(--chat-orange); }
.sp-chat-input-label { display: block; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; font-weight: 800; }
.sp-chat textarea { display: block; width: 100%; min-height: 82px; max-height: 180px; resize: vertical; padding: 13px; border: 1px solid #4e342e26; border-radius: 13px; background: #ffffffc9; color: #212121; font-size: 12px; line-height: 1.6; }
.sp-chat textarea::placeholder { color: #8d6e63b0; }
.sp-chat-send { display: flex; align-items: center; justify-content: center; gap: 9px; width: 100%; margin-top: 11px; border: 0; border-radius: 999px; padding: 14px 12px; background: var(--chat-orange); color: white; font-size: 11px; font-weight: 800; transition: background .2s; }
.sp-chat-send:hover { background: #f05b27; }
.sp-chat-privacy { margin: 12px 0 0; color: #8d6e63; text-align: center; font-size: 9px; line-height: 1.7; }
.sp-chat-status { margin: 10px 0 0; font-size: 11px; line-height: 1.5; color: #3f8f57; }
.sp-chat-status:empty { display: none; }
.sp-chat-footer { display: flex; justify-content: space-between; gap: 8px; border-top: 1px solid #4e342e10; padding: 12px 20px; color: #8d6e63; font-size: 9px; }
.sp-chat-footer a { color: var(--chat-brown); font-weight: 800; text-decoration: none; }
.sp-chat-teaser { position: absolute; bottom: calc(100% + 17px); right: 0; width: 274px; border: 1px solid #4e342e15; border-radius: 18px 18px 3px 18px; background: #f5f0eb; box-shadow: 0 10px 40px #4e342e22; animation: sp-chat-enter .2s ease-out; }
.sp-chat-teaser-open { display: flex; flex-direction: column; gap: 7px; width: 100%; border: none; border-radius: inherit; background: transparent; color: var(--chat-brown); text-align: left; padding: 19px; }
.sp-chat-teaser-kicker { color: var(--chat-orange); font-size: 8px; font-weight: 800; letter-spacing: .15em; padding-right: 15px; }
.sp-chat-teaser-open strong { font-family: "Space Grotesk", sans-serif; font-size: 15px; letter-spacing: -.04em; line-height: 1.3; }
.sp-chat-teaser-open > span:last-child { color: #8d6e63; font-size: 11px; line-height: 1.5; }
.sp-chat-teaser-dismiss { position: absolute; right: 7px; top: 7px; display: grid; place-items: center; width: 22px; height: 22px; border: 0; border-radius: 50%; background: transparent; color: #8d6e63; font-size: 19px !important; }
.sp-chat-teaser-dismiss:hover { background: #4e342e0a; }
@keyframes sp-chat-ring { 0%, 68%, 100% { opacity: 0; transform: scale(1); } 12% { opacity: .8; } 54% { opacity: 0; transform: scale(1.08); } }
@keyframes sp-chat-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 480px) {
  .sp-chat { right: 16px; bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .sp-chat-panel { width: min(370px, calc(100vw - 32px)); max-height: calc(100dvh - 176px); bottom: calc(100% + 14px); border-radius: 21px; }
  .sp-chat-launcher { gap: 9px; padding-right: 18px; }
  .sp-chat-launcher-icon { width: 36px; height: 36px; }
  .sp-chat-launcher-text strong { font-size: 12px; }
  .sp-chat-launcher-text > span { font-size: 9px; }
  .sp-chat-teaser { width: min(274px, calc(100vw - 36px)); }
  .sp-chat-header { padding: 17px 16px; }
  .sp-chat-content { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-chat *, .sp-chat *::before { animation: none !important; transition: none !important; }
}
