@charset "UTF-8";
#wb-chatbot-launcher {
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  font-size: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  z-index: 999;
  overflow: visible;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
@media (max-width: 520px) {
  #wb-chatbot-launcher {
    width: 32px;
    height: 32px;
  }
}

#wb-chatbot-launcher:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.26);
}

#wb-chatbot-launcher svg {
  width: 24px;
  height: 24px;
  margin: 0 !important;
  z-index: 2;
}
@media (max-width: 520px) {
  #wb-chatbot-launcher svg {
    width: 16px;
    height: 16px;
  }
}

#wb-chatbot-launcher i.bi,
#wb-chatbot-launcher img {
  font-size: 28px;
  width: 28px;
  height: 28px;
  line-height: 1;
  display: block;
  z-index: 2;
}
@media (max-width: 520px) {
  #wb-chatbot-launcher i.bi,
  #wb-chatbot-launcher img {
    font-size: 20px;
    width: 20px;
    height: 20px;
  }
}

/* Ripple effect to attract attention */
#wb-chatbot-launcher::before,
#wb-chatbot-launcher::after {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--wb-brand-color) 70%, #fff);
  opacity: 0;
  pointer-events: none;
}

#wb-chatbot-launcher::before {
  animation: wb-launcher-ripple 2.2s ease-out infinite;
}

#wb-chatbot-launcher::after {
  animation: wb-launcher-ripple 2.2s ease-out 1.1s infinite;
}

#wb-chatbot-launcher:hover::before {
  animation-duration: 0.9s;
}

#wb-chatbot-launcher:hover::after {
  animation-duration: 0.9s;
  animation-delay: 0.45s;
}

@keyframes wb-launcher-ripple {
  0% {
    transform: scale(0.86);
    opacity: 0.45;
  }
  70% {
    transform: scale(1.5);
    opacity: 0;
  }
  100% {
    transform: scale(1.5);
    opacity: 0;
  }
}
/* -----------------------------
   Proactive Chat Bubble
----------------------------- */
@keyframes wb-proactive-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
#wb-proactive-bubble {
  position: fixed;
  left: 12px;
  top: 12px;
  --wb-proactive-tail-left: 50%;
  z-index: 999999;
  max-width: 260px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
  padding: 14px 46px 14px 16px;
  cursor: pointer;
  animation: wb-proactive-in 0.38s ease forwards;
  border: 1px solid rgba(0, 0, 0, 0.07);
}
#wb-proactive-bubble::after, #wb-proactive-bubble::before {
  content: "";
  position: absolute;
  left: var(--wb-proactive-tail-left);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  pointer-events: none;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.08));
}
#wb-proactive-bubble::before {
  display: none;
}
#wb-proactive-bubble[data-tail-side=bottom]::after, #wb-proactive-bubble:not([data-tail-side])::after {
  bottom: -8px;
  border-top: 8px solid #fff;
  border-bottom: 0;
}
#wb-proactive-bubble[data-tail-side=top]::after {
  display: none;
}
#wb-proactive-bubble[data-tail-side=top]::before {
  display: block;
  top: -8px;
  border-bottom: 8px solid #fff;
  border-top: 0;
}
#wb-proactive-bubble p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: #333;
}

#wb-proactive-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  min-width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.04);
  border: 0;
  font-size: 18px;
  line-height: 1;
  color: #9a9a9a;
  cursor: pointer;
  padding: 0;
  border-radius: 50%;
  z-index: 2;
  transition: color 0.15s, background 0.15s;
}
#wb-proactive-close:hover {
  color: #555;
  background: rgba(0, 0, 0, 0.08);
}

/* -----------------------------
   Window (frame)
----------------------------- */
#wb-chatbot-window {
  position: fixed;
  top: 80px;
  bottom: 20px;
  right: 20px;
  width: 400px;
  height: calc(100vh - 100px);
  max-height: calc(100vh - 100px);
  z-index: 999998;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  display: none; /* toggled by JS */
  flex-direction: column;
  overflow: visible;
}

/* ===== Desktop Position Variants ===== */
/* right-bottom */
#wb-chatbot-container[data-dpos=right-bottom] {
  right: 16px;
  bottom: 20px;
  left: auto;
  top: auto;
  transform: none;
  align-items: flex-end;
}

#wb-chatbot-container[data-dpos=right-bottom] #wb-chatbot-launcher {
  right: 40px;
  bottom: 40px;
  left: auto;
  top: auto;
  transform: none;
}

#wb-chatbot-container[data-dpos=right-bottom] #wb-chatbot-launcher:hover {
  transform: translateY(-2px);
}

#wb-chatbot-container[data-dpos=right-bottom] #wb-chatbot-window {
  right: 20px;
  bottom: 20px;
  top: 80px;
  left: auto;
  transform: none;
}

/* left-bottom */
#wb-chatbot-container[data-dpos=left-bottom] {
  left: 16px;
  bottom: 20px;
  right: auto;
  top: auto;
  transform: none;
  align-items: flex-start;
}

#wb-chatbot-container[data-dpos=left-bottom] #wb-chatbot-launcher {
  left: 40px;
  bottom: 40px;
  right: auto;
  top: auto;
  transform: none;
}

#wb-chatbot-container[data-dpos=left-bottom] #wb-chatbot-launcher:hover {
  transform: translateY(-2px);
}

#wb-chatbot-container[data-dpos=left-bottom] #wb-chatbot-window {
  left: 20px;
  bottom: 20px;
  top: 80px;
  right: auto;
  transform: none;
}

/* center-bottom */
#wb-chatbot-container[data-dpos=center-bottom] {
  left: 0;
  right: 0;
  bottom: 20px;
  top: auto;
  transform: none;
  align-items: center;
}

#wb-chatbot-container[data-dpos=center-bottom] #wb-chatbot-launcher {
  left: 50%;
  bottom: 40px;
  right: auto;
  top: auto;
  transform: translateX(-50%);
}

#wb-chatbot-container[data-dpos=center-bottom] #wb-chatbot-launcher:hover {
  transform: translateX(-50%) translateY(-2px);
}

#wb-chatbot-container[data-dpos=center-bottom] #wb-chatbot-window {
  left: 50%;
  bottom: 20px;
  top: 80px;
  right: auto;
  transform: translateX(-50%);
}

/* right-center */
#wb-chatbot-container[data-dpos=right-center] {
  right: 0;
  top: 0;
  bottom: auto;
  left: auto;
  transform: none;
  align-items: flex-end;
}

#wb-chatbot-container[data-dpos=right-center] #wb-chatbot-launcher {
  right: 40px;
  top: 50vh;
  bottom: auto;
  left: auto;
  transform: translateY(-50%);
}

#wb-chatbot-container[data-dpos=right-center] #wb-chatbot-launcher:hover {
  transform: translateY(calc(-50% - 2px));
}

#wb-chatbot-container[data-dpos=right-center] #wb-chatbot-window {
  right: 20px;
  top: 80px;
  bottom: 20px;
  left: auto;
  transform: none;
}

/* left-center */
#wb-chatbot-container[data-dpos=left-center] {
  left: 0;
  top: 0;
  bottom: auto;
  right: auto;
  transform: none;
  align-items: flex-start;
}

#wb-chatbot-container[data-dpos=left-center] #wb-chatbot-launcher {
  left: 40px;
  top: 50vh;
  bottom: auto;
  right: auto;
  transform: translateY(-50%);
}

#wb-chatbot-container[data-dpos=left-center] #wb-chatbot-launcher:hover {
  transform: translateY(calc(-50% - 2px));
}

#wb-chatbot-container[data-dpos=left-center] #wb-chatbot-window {
  left: 20px;
  top: 80px;
  bottom: 20px;
  right: auto;
  transform: none;
}

/* ===== Tablet Position Variants (521px - 990px) ===== */
@media (min-width: 521px) and (max-width: 990px) {
  #wb-chatbot-container[data-tpos=right-bottom] {
    right: 16px;
    bottom: 70px;
    left: auto;
    top: auto;
    transform: none;
    align-items: flex-end;
  }
  #wb-chatbot-container[data-tpos=right-bottom] #wb-chatbot-launcher {
    right: 40px;
    bottom: 40px;
    left: auto;
    top: auto;
    transform: none;
  }
  #wb-chatbot-container[data-tpos=right-bottom] #wb-chatbot-launcher:hover {
    transform: translateY(-2px);
  }
  #wb-chatbot-container[data-tpos=right-bottom] #wb-chatbot-window {
    right: 20px;
    bottom: 20px;
    top: 80px;
    left: auto;
    transform: none;
  }
  #wb-chatbot-container[data-tpos=left-bottom] {
    left: 16px;
    bottom: 70px;
    right: auto;
    top: auto;
    transform: none;
    align-items: flex-start;
  }
  #wb-chatbot-container[data-tpos=left-bottom] #wb-chatbot-launcher {
    left: 40px;
    bottom: 40px;
    right: auto;
    top: auto;
    transform: none;
  }
  #wb-chatbot-container[data-tpos=left-bottom] #wb-chatbot-launcher:hover {
    transform: translateY(-2px);
  }
  #wb-chatbot-container[data-tpos=left-bottom] #wb-chatbot-window {
    left: 20px;
    bottom: 20px;
    top: 80px;
    right: auto;
    transform: none;
  }
  #wb-chatbot-container[data-tpos=center-bottom] {
    left: 0;
    right: 0;
    bottom: 70px;
    top: auto;
    transform: none;
    align-items: center;
  }
  #wb-chatbot-container[data-tpos=center-bottom] #wb-chatbot-launcher {
    left: 50%;
    bottom: 40px;
    right: auto;
    top: auto;
    transform: translateX(-50%);
  }
  #wb-chatbot-container[data-tpos=center-bottom] #wb-chatbot-launcher:hover {
    transform: translateX(-50%) translateY(-2px);
  }
  #wb-chatbot-container[data-tpos=center-bottom] #wb-chatbot-window {
    left: 50%;
    bottom: 20px;
    top: 80px;
    right: auto;
    transform: translateX(-50%);
  }
  #wb-chatbot-container[data-tpos=right-center] {
    right: 0;
    top: 0;
    bottom: auto;
    left: auto;
    transform: none;
    align-items: flex-end;
  }
  #wb-chatbot-container[data-tpos=right-center] #wb-chatbot-launcher {
    right: 40px;
    top: 50vh;
    bottom: auto;
    left: auto;
    transform: translateY(-50%);
  }
  #wb-chatbot-container[data-tpos=right-center] #wb-chatbot-launcher:hover {
    transform: translateY(calc(-50% - 2px));
  }
  #wb-chatbot-container[data-tpos=right-center] #wb-chatbot-window {
    right: 20px;
    top: 80px;
    bottom: 20px;
    left: auto;
    transform: none;
  }
  #wb-chatbot-container[data-tpos=left-center] {
    left: 0;
    top: 0;
    bottom: auto;
    right: auto;
    transform: none;
    align-items: flex-start;
  }
  #wb-chatbot-container[data-tpos=left-center] #wb-chatbot-launcher {
    left: 40px;
    top: 50vh;
    bottom: auto;
    right: auto;
    transform: translateY(-50%);
  }
  #wb-chatbot-container[data-tpos=left-center] #wb-chatbot-launcher:hover {
    transform: translateY(calc(-50% - 2px));
  }
  #wb-chatbot-container[data-tpos=left-center] #wb-chatbot-window {
    left: 20px;
    top: 80px;
    bottom: 20px;
    right: auto;
    transform: none;
  }
}
/* ===== Mobile Position Variants (max-width: 520px) ===== */
@media (max-width: 520px) {
  /* All mobile positions — shared launcher reset */
  #wb-chatbot-container[data-mpos=right-bottom],
  #wb-chatbot-container[data-mpos=left-bottom],
  #wb-chatbot-container[data-mpos=center-bottom] {
    top: auto;
    left: auto;
    right: auto;
    bottom: 80px;
    width: auto;
    transform: none;
  }
  #wb-chatbot-container[data-mpos=right-bottom] {
    right: 8px;
    align-items: flex-end;
  }
  #wb-chatbot-container[data-mpos=left-bottom] {
    left: 20px;
    align-items: flex-start;
  }
  #wb-chatbot-container[data-mpos=center-bottom] {
    left: 8px;
    right: 8px;
    align-items: center;
  }
  #wb-chatbot-container[data-mpos=right-bottom] #wb-chatbot-launcher {
    align-self: flex-end;
  }
  #wb-chatbot-container[data-mpos=left-bottom] #wb-chatbot-launcher {
    align-self: flex-start;
  }
  #wb-chatbot-container[data-mpos=center-bottom] #wb-chatbot-launcher {
    align-self: center;
  }
  #wb-chatbot-container[data-mpos=right-bottom] #wb-chatbot-launcher,
  #wb-chatbot-container[data-mpos=left-bottom] #wb-chatbot-launcher,
  #wb-chatbot-container[data-mpos=center-bottom] #wb-chatbot-launcher {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    transform: none;
  }
  #wb-chatbot-container[data-mpos=right-bottom] #wb-chatbot-launcher:hover,
  #wb-chatbot-container[data-mpos=left-bottom] #wb-chatbot-launcher:hover,
  #wb-chatbot-container[data-mpos=center-bottom] #wb-chatbot-launcher:hover {
    transform: none !important;
  }
  /* right-center / left-center (mobile) — launcher pinned to side-center */
  #wb-chatbot-container[data-mpos=right-center] {
    right: 8px;
    top: 0;
    bottom: auto;
    left: auto;
    width: auto;
    align-items: flex-end;
    transform: none;
  }
  #wb-chatbot-container[data-mpos=right-center] #wb-chatbot-launcher {
    position: fixed;
    right: 20px;
    top: 50vh;
    left: auto;
    transform: translateY(-50%);
  }
  #wb-chatbot-container[data-mpos=left-center] {
    left: 20px;
    top: 0;
    bottom: auto;
    right: auto;
    width: auto;
    align-items: flex-start;
    transform: none;
  }
  #wb-chatbot-container[data-mpos=left-center] #wb-chatbot-launcher {
    position: fixed;
    left: 20px;
    top: 50vh;
    right: auto;
    transform: translateY(-50%);
  }
  #wb-chatbot-container[data-mpos=right-center] #wb-chatbot-launcher:hover,
  #wb-chatbot-container[data-mpos=left-center] #wb-chatbot-launcher:hover {
    transform: translateY(-50%) !important;
  }
  /* Mobile window — full screen with 20px margin (all positions) */
  #wb-chatbot-container[data-mpos=right-bottom] #wb-chatbot-window,
  #wb-chatbot-container[data-mpos=left-bottom] #wb-chatbot-window,
  #wb-chatbot-container[data-mpos=center-bottom] #wb-chatbot-window,
  #wb-chatbot-container[data-mpos=right-center] #wb-chatbot-window,
  #wb-chatbot-container[data-mpos=left-center] #wb-chatbot-window {
    position: fixed !important;
    top: 20px !important;
    bottom: 20px !important;
    left: 20px !important;
    right: 20px !important;
    width: auto !important;
    height: calc(100svh - 40px) !important;
    max-height: none !important;
    border-radius: 12px;
    transform: none !important;
    margin: 0 !important;
  }
  /* Prevent input zoom on iOS (font-size < 16px triggers zoom) */
  #wb-user-input,
  .wb-contact-form input,
  .wb-contact-form textarea {
    font-family: sans-serif !important;
    font-size: 12px !important;
  }
  /* Corporate mode always overrides position */
  #wb-chatbot-container.wb-corporate {
    left: 15px;
    right: 15px;
    bottom: 40px;
    width: auto;
    transform: none;
    align-items: stretch;
    z-index: 99999;
  }
  #wb-chatbot-container.wb-corporate #wb-chatbot-window {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    position: relative;
    bottom: auto;
    margin-bottom: 0;
  }
}
/* -----------------------------
   Header
----------------------------- */
.wb-chatbot-header {
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  padding: 12px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
  border: 1px solid var(--wb-brand-color);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 8px 8px 0 0;
}

.wb-header-title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-header-title .wb-ai-favicon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: contain;
  flex-shrink: 0;
}

.wb-chat-header-actions {
  display: flex;
  gap: 15px;
  align-items: center;
}

#wb-close-chat,
#wb-reset-chat {
  font-size: 18px;
  cursor: pointer;
}

#wb-reset-chat {
  opacity: 0.9;
  transition: opacity 0.2s;
}

#wb-reset-chat:hover {
  opacity: 1;
}

#wb-close-chat {
  transition: color 0.2s;
}

#wb-close-chat:hover {
  color: #f1f1f1;
}

/* -----------------------------
   Content (scrollable area)
----------------------------- */
#wb-chat-content {
  overflow-y: auto;
  padding: 10px;
  background: #fdfdfd;
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: calc(100% - 198px);
  border-radius: 0 0 8px 8px;
}
@media (max-width: 990px) {
  #wb-chat-content {
    height: calc(100% - 202px);
  }
}

/* Custom scrollbar */
#wb-chat-content::-webkit-scrollbar {
  width: 5px;
}

#wb-chat-content::-webkit-scrollbar-thumb {
  background: var(--wb-brand-color);
  border-radius: 10px;
}

/* -----------------------------
   Dialog bubbles
----------------------------- */
.ai-msg,
.u-msg {
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.4;
  border-radius: 15px;
  position: relative;
}

.ai-msg {
  max-width: 85%;
  background: #F1F1F1;
  color: #333;
  align-self: flex-start;
  border-bottom-left-radius: 2px;
  margin-left: 32px;
}
.ai-msg button[data-action=reset-filters] {
  display: block;
  margin-bottom: 30px !important;
  margin-top: 0 !important;
}

/* Fallback avatar on every AI reply bubble.
   If site icon exists, inline CSS from PHP overrides background-image. */
.ai-msg::after,
.wb-page-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -32px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid #f1f1f1;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='5' width='18' height='14' rx='4' fill='%235c4b41'/%3E%3Ccircle cx='9' cy='12' r='1.7' fill='white'/%3E%3Ccircle cx='15' cy='12' r='1.7' fill='white'/%3E%3Crect x='9' y='16' width='6' height='1.6' rx='0.8' fill='white'/%3E%3Crect x='10.8' y='2.6' width='2.4' height='3' rx='1.2' fill='%235c4b41'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.ai-msg ol li {
  line-height: 1;
}

.ai-msg ol li span {
  display: block;
  padding: 2px 0 5px 0;
}

.u-msg {
  max-width: 85%;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

/* Message timestamp */
.wb-msg-time {
  display: block;
  font-size: 10px;
  margin-top: 5px;
  opacity: 0.65;
}

.u-msg .wb-msg-time {
  color: var(--wb-brand-text);
  text-align: right;
}

.ai-msg .wb-msg-time {
  color: #888;
  text-align: left;
}

.ai-msg.wb-image-status {
  background: #e9f6ec;
  color: #1f5f31;
  border: 1px solid #c4e7ce;
}

.ai-msg .wb-tw-area {
  display: block;
  white-space: normal;
}

.ai-msg .wb-tw-area br {
  display: block;
  content: "";
  margin-top: 8px;
}

.ai-msg p.wb-md-paragraph,
.wb-page-content p.wb-md-paragraph {
  margin: 0 0 10px;
  font-family: inherit !important;
  line-height: 1.5 !important;
}

.ai-msg p.wb-md-paragraph:last-of-type,
.wb-page-content p.wb-md-paragraph:last-of-type {
  margin-bottom: 0;
}

.ai-msg .wb-md-link-row,
.wb-page-content .wb-md-link-row {
  display: block;
  width: 100%;
  margin: 10px 0 2px;
}

.ai-msg .wb-md-link-row {
  display: inline-block;
  width: auto;
  margin-right: 8px !important;
}

.ai-msg .wb-md-link-stack,
.wb-page-content .wb-md-link-stack {
  display: block;
  width: 100%;
  margin-top: 6px;
}

.ai-msg .wb-md-link-stack .wb-md-link-row,
.wb-page-content .wb-md-link-stack .wb-md-link-row {
  margin: 8px 0 0;
}

.ai-msg .wb-md-link-btn,
.wb-page-content .wb-md-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: fit-content;
  max-width: min(100%, 320px);
  min-height: 38px;
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--wb-brand-color);
  background: var(--wb-brand-color);
  color: var(--wb-brand-text) !important;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  vertical-align: middle;
  white-space: normal;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.ai-msg .wb-md-link-btn:hover,
.wb-page-content .wb-md-link-btn:hover {
  color: var(--wb-brand-text) !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.16);
  opacity: 0.96;
}

.ai-msg .wb-md-link-btn:focus-visible,
.wb-page-content .wb-md-link-btn:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--wb-brand-color) 30%, white);
  outline-offset: 2px;
}

/* -----------------------------
   Product cards — list style
----------------------------- */
.wb-product-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.wb-product-carousel {
  width: 100%;
  margin: 0;
}

.wb-product-track-wrap {
  width: 100%;
  overflow: hidden;
}

.wb-mobile-carousel-grid {
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 0;
  transition: transform 0.32s ease;
  will-change: transform;
}

.wb-mobile-carousel-grid .p-card {
  flex: 0 0 100%;
  min-width: 100%;
  margin: 0;
}

@media (max-width: 990px) {
  .wb-product-carousel .wb-product-track-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 8px;
    scrollbar-width: thin;
  }
  .wb-product-carousel .p-card {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
    padding: 10px !important;
    border-radius: 14px;
    scroll-snap-align: start;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    height: 100%;
    min-height: 0 !important;
    align-self: stretch;
  }
  .wb-product-carousel .p-card a {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px;
    width: 100%;
    flex: 1 1 auto !important;
  }
  .wb-product-carousel .wb-mobile-carousel-grid {
    display: flex;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
    transform: none !important;
    transition: none;
    padding-right: 6px;
  }
  .wb-product-carousel .wb-mobile-carousel-grid .p-card {
    flex: 0 0 calc((100% - 20px) / 2.5);
    min-width: calc((100% - 20px) / 2.5);
    max-width: calc((100% - 20px) / 2.5);
    height: 100% !important;
  }
  .wb-product-carousel .p-card img,
  .wb-product-carousel .p-card .wb-product-thumb {
    width: 100% !important;
    height: fit-content !important;
    max-width: 100% !important;
    border-radius: 12px;
    padding: 8px;
    background: linear-gradient(180deg, #fafafa 0%, #f1f1f1 100%);
    object-fit: contain;
    cursor: default;
    flex-shrink: 0 !important;
  }
  .wb-product-carousel .p-card .wb-product-thumb:hover {
    transform: none;
    box-shadow: none;
  }
  .wb-product-carousel .p-card-info {
    width: 100%;
    gap: 6px;
    min-width: 0;
  }
  .wb-product-carousel .p-card a h4 {
    white-space: normal !important;
    overflow: visible;
    text-overflow: initial;
    font-size: 12px;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 32px;
    overflow: hidden;
  }
  .wb-product-carousel .p-card-color,
  .wb-product-carousel .p-card-sku {
    white-space: normal;
    font-size: 11px;
    line-height: 1.3;
  }
  .wb-product-carousel .p-card-sku {
    display: none;
  }
  .wb-product-carousel .wb-price-container {
    display: flex !important;
    align-items: center !important;
    margin-top: 2px;
    gap: 4px;
    flex-wrap: wrap !important;
  }
  .wb-product-carousel .wb-price-container ins,
  .wb-product-carousel .wb-price-container span > bdi {
    font-size: 11px;
  }
  .wb-product-carousel .wb-price-container del {
    font-size: 10px;
    display: block;
  }
  .wb-product-carousel .wb-size-selector {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    margin: 6px 0 0;
    gap: 4px;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .wb-product-carousel .wb-size-btn {
    flex: 0 0 calc((100% - 5px) / 2.5);
    min-width: calc((100% - 5px) / 2.5);
    max-width: calc((100% - 5px) / 2.5);
    padding: 4px 8px !important;
    font-size: 10px !important;
    scroll-snap-align: start;
  }
  .wb-product-carousel .p-card-btns {
    width: 100%;
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 0;
    flex: 0 0 auto;
  }
  .wb-product-carousel .p-card-btns .wb-atc-btn,
  .wb-product-carousel .p-card-btns .wb-global-btn {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    width: 100%;
    font-size: 11px !important;
    padding: 8px 8px !important;
    min-height: 34px !important;
    border-radius: 10px !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    box-sizing: border-box;
  }
  .wb-product-carousel .p-card-btns .wb-atc-btn i,
  .wb-product-carousel .p-card-btns .wb-global-btn i {
    font-size: 11px !important;
  }
  .wb-product-carousel .wb-compare-toggle {
    border: 1px solid #d6cec7 !important;
    background: #fff !important;
    color: #6b574d !important;
  }
  .wb-product-carousel .wb-best-match-badge {
    font-size: 9px;
    padding: 2px 6px;
  }
  .wb-product-carousel .wb-sale-badge {
    top: 10px;
    left: 10px;
  }
  .wb-product-carousel .wb-carousel-controls {
    display: none;
  }
}
.wb-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.wb-carousel-nav {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 999px;
  border: 1px solid #dcdcdc;
  background: #fff;
  color: #4b4b4b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.wb-carousel-nav:hover:not(:disabled) {
  transform: translateY(-1px);
  color: var(--wb-brand-color, #d92332);
  border-color: color-mix(in srgb, var(--wb-brand-color, #d92332) 36%, #dcdcdc);
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.14);
}

.wb-carousel-nav:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  box-shadow: none;
}

.wb-carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.wb-carousel-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #d7d7d7;
  cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease;
}

.wb-carousel-dot.is-active {
  background: var(--wb-brand-color, #d92332);
  transform: scale(1.22);
}

@media (min-width: 991px) {
  .wb-product-carousel .wb-carousel-controls {
    display: none;
  }
}
.p-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 8px 10px 8px 8px;
  min-height: unset;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
  overflow: visible;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.p-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 3px 0 0 var(--wb-brand-color);
  border-color: color-mix(in srgb, var(--wb-brand-color) 28%, #e0e0e0);
}

@keyframes wb-title-tip-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.p-card.wb-show-title-tip[data-full-title]:hover::after {
  content: attr(data-full-title);
  position: absolute;
  left: 8px;
  right: 8px;
  top: auto;
  bottom: calc(100% + 8px);
  z-index: 1200;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(34, 34, 34, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  white-space: normal;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  pointer-events: none;
  opacity: 0;
  animation: wb-title-tip-in 0.14s ease-out forwards;
}

.p-card--exact {
  border-color: rgba(29, 127, 71, 0.3);
  background: linear-gradient(135deg, #f5fdf8 0%, #fff 55%);
}

.p-card--exact:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), inset 3px 0 0 #1d7f47;
  border-color: rgba(29, 127, 71, 0.45);
}

.p-card a {
  color: inherit !important;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
  text-decoration: none;
}

.p-card img,
.p-card .wb-product-thumb {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  background: #f5f5f5;
  padding: 4px;
  box-sizing: border-box;
  object-fit: contain;
  display: block;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

.p-card .wb-product-thumb:hover {
  transform: scale(1.35);
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.p-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.wb-best-match-badge {
  display: inline-flex;
  align-items: center;
  background: #e8f5ee;
  color: #1a7040;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.2px;
  width: fit-content;
  margin-bottom: 2px;
}

.p-card a h4 {
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  margin: 0;
  color: #222;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.p-card-sku {
  font-size: 11px;
  color: #aaa;
  margin: 0;
}

.p-card-variation {
  font-size: 11px;
  color: #6f6f6f;
  margin: 0;
  line-height: 1.35;
  white-space: normal;
}

.p-card-color {
  font-size: 12px;
  color: #6f6f6f;
  margin: 0;
  line-height: 1.35;
}

.p-card-size {
  font-size: 14px;
  font-weight: 600;
  color: #222;
  margin: 3px 0 0 0;
  line-height: 1.3;
}

.wb-size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 8px 0;
}

.wb-size-btn {
  padding: 6px 12px;
  min-width: auto;
  height: auto;
  white-space: nowrap;
  border: 2px solid #ddd;
  border-radius: 4px;
  background: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  opacity: 1;
  transition: all 0.2s ease;
}
.wb-size-btn:hover:not(:disabled) {
  border-color: var(--wb-brand-color, #d92332);
  background-color: rgba(217, 35, 50, 0.1);
}
.wb-size-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.wb-size-btn.wb-size-btn-selected {
  border-color: var(--wb-brand-color, #d92332);
  background-color: var(--wb-brand-color, #d92332);
  color: #fff;
  font-weight: 600;
}

.p-card-btns {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
}

.wb-alt-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #bbb;
  font-size: 11px;
  letter-spacing: 0.3px;
  padding: 2px 0;
}
.wb-alt-divider::before, .wb-alt-divider::after {
  content: "";
  flex: 1;
  border-top: 1px dashed #e4e4e4;
}

/* EC-3: Add to Cart button inside product card */
.wb-atc-btn {
  flex-shrink: 0;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  border: none;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 58px;
  text-transform: none;
}

.wb-atc-btn:hover:not(:disabled) {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(92, 75, 65, 0.28);
}

.wb-atc-btn:disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

.wb-atc-btn.wb-atc-success {
  background: #27ae60;
}

.wb-atc-btn.wb-atc-error {
  background: #e74c3c;
}

.wb-atc-btn.wb-atc-oos {
  background: #e74c3c;
  color: #fff;
  opacity: 1;
}

.wb-atc-btn.wb-atc-oos:disabled {
  background: #e74c3c;
  color: #fff;
  opacity: 1;
}

/* Sale badge — positioned over image wrapper (position:relative) */
.wb-sale-badge {
  position: absolute;
  top: -5px;
  left: 10px;
  background: rgb(229, 5, 5);
  color: var(--wb-brand-text);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

/* Pricing */
.wb-price-container {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.wb-price-container del {
  display: inline !important;
  color: #bbb !important;
  font-size: 11px;
  font-weight: 400 !important;
  margin-right: 0;
}
@media (max-width: 990px) {
  .wb-price-container del {
    display: block !important;
    width: 100% !important;
    line-height: 1;
  }
}

.wb-price-container ins {
  background: transparent;
  color: var(--wb-brand-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.wb-price-container span > bdi {
  font-weight: 700;
  color: #333;
  font-size: 13px;
}

.wb-price-container del span > bdi {
  color: #999;
  font-weight: normal;
}

/* Product actions */
.wb-product-actions {
  padding: 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #d9d9d9;
}

.wb-product-actions p {
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.wb-product-actions .wb-global-btn {
  margin-right: 0px;
}

.wb-more-pages-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 18px !important;
  height: 18px !important;
  padding: 0 5px !important;
  border-radius: 999px !important;
  background-color: var(--wb-brand-color, #d92332) !important;
  color: var(--wb-brand-text, #fff) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-left: 6px !important;
  opacity: 1 !important;
}

/* -----------------------------
   Location card
----------------------------- */
.wb-location-card {
  background: #fff;
  border: 1px solid #E5E5E5;
  border-left: 4px solid var(--wb-brand-color);
  border-radius: 8px;
  padding: 15px;
  margin: 10px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.wb-loc-header {
  font-weight: bold;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 8px;
}

.wb-loc-header i {
  color: var(--wb-brand-color);
  font-size: 18px;
}

.wb-loc-title {
  color: var(--wb-brand-color);
  font-weight: 700;
  font-size: 14px;
}

.wb-loc-text {
  font-size: 12px;
  color: #666;
  line-height: 1.4;
}

.wb-loc-body p {
  margin: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}

.wb-loc-body p i {
  color: var(--wb-brand-color);
  flex-shrink: 0;
  margin-top: 2px;
}

.wb-loc-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}

.wb-loc-info span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}

.wb-loc-info span i {
  color: var(--wb-brand-color);
  flex-shrink: 0;
}

.wb-loc-info span a {
  color: var(--wb-brand-color);
  text-decoration: none;
}

.wb-loc-info span a:hover {
  text-decoration: underline;
}

.wb-map-btn {
  background: var(--wb-brand-color);
  color: var(--wb-brand-text) !important;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  display: inline-block;
  margin-top: 8px;
}

/* -----------------------------
   Order card styles
----------------------------- */
.wb-order-card {
  background: #fff;
  border: 1px solid #ececec;
  border-left: 4px solid var(--wb-brand-color);
  border-radius: 10px;
  padding: 12px;
  margin: 8px 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.wb-order-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wb-order-id {
  font-weight: bold;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wb-order-status {
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.wb-order-status-completed {
  background: #E8F5E9;
  color: #2E7D32;
}

.wb-order-status-processing {
  background: #FFF8E1;
  color: #FF8F00;
}

.wb-order-status-pending {
  background: #E3F2FD;
  color: #1976D2;
}

.wb-order-status-cancelled,
.wb-order-status-refunded {
  background: #FFEBEE;
  color: #D32F2F;
}

.wb-order-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.wb-order-info {
  display: flex;
  justify-content: space-between;
}

.wb-order-label {
  color: #666;
  font-size: 12px;
}

.wb-order-value {
  color: #333;
  font-weight: 500;
}

.wb-order-error {
  border-left-color: #D32F2F;
  color: #D32F2F;
  text-align: center;
}

.wb-order-divider {
  border-top: 1px dashed #e0e0e0;
  margin: 4px 0;
}

.wb-tracking-code {
  font-family: monospace;
  letter-spacing: 0.5px;
}

.wb-order-track-btn {
  margin-top: 6px;
}

.wb-track-link {
  display: inline-block;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: opacity 0.2s;
}

.wb-track-link:hover {
  opacity: 0.85;
}

/* -----------------------------
   Input area & buttons (docked)
----------------------------- */
.wb-chatbot-input-area {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: 99;
  padding: 10px;
  background: #fff;
  border-top: 1px solid #eee;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
  border-radius: 0 0 8px 8px;
}

.wb-input-row {
  display: flex;
  gap: 10px;
}

.wb-powered-by {
  text-align: right;
  font-size: 0.65rem;
  color: #bbb;
  line-height: 1;
}

.wb-powered-by a {
  color: #bbb !important;
  text-decoration: none;
}

.wb-powered-by a:hover {
  color: var(--wb-brand-color) !important;
  text-decoration: underline;
}

.wb-powered-by .wb-footer-sep {
  margin: 0 4px;
}

#wb-chatbot-window.wb-drag-active #wb-chat-content {
  outline: 2px dashed var(--wb-brand-color);
  outline-offset: -8px;
  background: #fcfaf8;
}

.wb-image-btn {
  width: 48px;
  min-width: 48px;
  height: 48px;
  border: 1px solid #ddd;
  border-radius: 6px;
  height: auto;
  min-height: unset;
  background: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.wb-image-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  color: #555;
}

.wb-image-btn:hover {
  border-color: var(--wb-brand-color);
  background: #faf7f4;
}

.wb-image-queue {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 131px;
  z-index: 110;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px;
  border-bottom: 1px solid #f0f0f0;
  border-top: 1px solid #f0f0f0;
  background: #fff;
}
.wb-image-queue button {
  min-width: auto;
  height: auto;
  min-height: 24px;
  font-size: 11px;
}
@media (max-width: 520px) {
  .wb-image-queue {
    bottom: 137px;
  }
}

.wb-image-queue-thumb {
  width: 38px;
  height: 38px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid #e4e4e4;
  flex-shrink: 0;
}

.wb-image-queue-meta {
  flex: 1;
  min-width: 0;
}

.wb-image-queue-name {
  font-size: 12px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-image-queue-size {
  font-size: 11px;
  color: #999;
}

.wb-remove-image {
  border: none;
  background: #f3f3f3;
  color: #555;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  font-size: 18px;
  padding: 0;
}

.wb-send-image-now {
  border: none;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  line-height: 1.2;
}

.wb-send-image-now:hover {
  opacity: 0.9;
}

.wb-user-image-wrap {
  margin-bottom: 8px;
}

.wb-user-uploaded-image {
  max-width: 180px;
  max-height: 180px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: block;
  text-align: right;
}

.wb-input-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  border-radius: 10px;
  border: 1px solid #ddd;
}
.wb-input-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  padding: 2px;
  background: conic-gradient(from var(--wb-angle), color-mix(in srgb, var(--wb-brand-color) 15%, transparent) 0deg, color-mix(in srgb, var(--wb-brand-color) 60%, white) 90deg, var(--wb-brand-color) 180deg, color-mix(in srgb, var(--wb-brand-color) 60%, white) 270deg, color-mix(in srgb, var(--wb-brand-color) 15%, transparent) 360deg);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  opacity: 0;
  animation: wb-rotate-border 3s linear infinite;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.wb-input-wrapper:has(#wb-user-input:focus)::before {
  opacity: 1;
}

#wb-user-input {
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  outline: none;
  font-size: 14px;
  transition: all 0.3s ease;
  background: #fff;
  position: relative;
  z-index: 2;
  height: 42px !important;
  min-height: 42px !important;
}
#wb-user-input:focus {
  border-color: transparent;
  box-shadow: none;
  animation: none;
}

#wb-send-btn {
  min-width: auto;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: visible;
  padding: 8px 20px;
  border: none;
  border-radius: 8px;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  font-weight: 500;
}
@media (max-width: 990px) {
  #wb-send-btn {
    min-height: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    padding: 8px !important;
  }
}
#wb-send-btn:hover::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 10px;
  padding: 1px;
  background: conic-gradient(from var(--wb-angle), color-mix(in srgb, var(--wb-brand-color) 15%, transparent) 0deg, color-mix(in srgb, var(--wb-brand-color) 60%, white) 90deg, var(--wb-brand-color) 180deg, color-mix(in srgb, var(--wb-brand-color) 60%, white) 270deg, color-mix(in srgb, var(--wb-brand-color) 15%, transparent) 360deg);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  animation: wb-rotate-border 3s linear infinite;
}

#wb-send-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

.wb-loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid var(--wb-brand-text);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: wb-spin 0.8s linear infinite;
  margin-right: 6px;
  vertical-align: middle;
}

@keyframes wb-spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@property --wb-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes wb-rotate-border {
  to {
    --wb-angle: 360deg;
  }
}
@keyframes wb-gradient-glow {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes wb-input-glow {
  0%, 100% {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wb-brand-color) 18%, transparent);
  }
  50% {
    box-shadow: 0 0 14px 3px color-mix(in srgb, var(--wb-brand-color) 38%, transparent);
  }
}
.wb-btn-text {
  display: inline-block;
  transition: opacity 0.2s ease;
}

#wb-back-to-bottom {
  position: absolute;
  bottom: 160px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 40px !important;
  height: 40px;
  min-width: auto;
  border-radius: 50%;
  border: none;
  display: none;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  align-items: center;
  justify-content: center;
  padding: 0;
}

/* -----------------------------
   Contact form
----------------------------- */
/* Stretch the ai-msg bubble to nearly full width when it wraps a contact form */
.ai-msg:has(.wb-contact-form) {
  max-width: calc(100% - 50px);
  width: calc(100% - 50px);
  box-sizing: border-box;
}

.wb-contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-contact-form input,
.wb-contact-form textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 14px !important;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  transition: all 0.3s ease;
  background: #fafafa;
  color: #333;
}

.wb-contact-form input::placeholder,
.wb-contact-form textarea::placeholder {
  color: #999;
  font-size: 13px;
}

.wb-contact-form input:focus,
.wb-contact-form textarea:focus {
  outline: none;
  border-color: var(--wb-brand-color);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(92, 75, 65, 0.1);
}

.wb-contact-form textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.4;
}

.wb-contact-form > div {
  display: flex;
  gap: 6px;
  align-items: center;
}

#wb-submit-lead {
  flex: 1;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  border: none;
  padding: 14px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  height: auto;
  min-width: auto;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(92, 75, 65, 0.15);
}

#wb-submit-lead:hover {
  background: color-mix(in srgb, var(--wb-brand-color) 82%, #000);
  box-shadow: 0 4px 12px rgba(92, 75, 65, 0.25);
  transform: translateY(-1px);
}

#wb-submit-lead:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(92, 75, 65, 0.2);
}

#wb-submit-lead.wb-submitting {
  opacity: 0.8;
  cursor: not-allowed;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
#wb-submit-lead.wb-submitting::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: wb-spin 0.7s linear infinite;
  flex-shrink: 0;
}

@keyframes wb-spin {
  to {
    transform: rotate(360deg);
  }
}
.wb-whatsapp-btn {
  flex: 1;
  max-height: 42px;
  background: #25D366 !important;
  color: #fff !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.15) !important;
  display: inline-block !important;
  margin-bottom: 10px;
}

.wb-whatsapp-btn:hover {
  background: #1ebc58 !important;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25) !important;
  transform: translateY(-1px) !important;
}

.wb-handoff-theme-btn {
  flex: 1;
  min-height: 42px;
  background: var(--wb-brand-color) !important;
  color: var(--wb-brand-text) !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-align: center;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12) !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  cursor: pointer !important;
  line-height: 1.2 !important;
}

.wb-handoff-theme-btn:hover {
  background: color-mix(in srgb, var(--wb-brand-color) 82%, #000) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  transform: translateY(-1px) !important;
}

.wb-handoff-theme-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15) !important;
}

/* -----------------------------
   Shortcuts / small buttons
----------------------------- */
@keyframes wb-fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wb-shortcuts {
  display: flex;
  gap: 8px;
  padding: 10px;
  background: #f7f7f7;
  border-top: 1px solid #e3e3e3;
  margin-bottom: 79px;
  position: absolute;
  left: 0;
  width: 100%;
  bottom: 0;
  box-sizing: border-box;
  z-index: 3;
}
@media (max-width: 520px) {
  .wb-shortcuts {
    margin-bottom: 80px;
    overflow: auto;
  }
}

.wb-shortcuts.wb-shortcuts-hidden {
  display: none;
}

.wb-shortcuts.wb-shortcuts-reveal {
  animation: wb-fade-up 0.4s ease both;
}

.wb-shortcut-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid #d9d9d9;
  border-radius: 8px;
  background: #fff;
  color: #4e4e4e;
  font-size: 13px !important;
  line-height: 1.1;
  font-weight: 600;
  min-width: auto;
  min-height: 38px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  height: auto;
  text-transform: inherit;
  white-space: nowrap;
}
.wb-shortcut-btn i {
  margin-right: 0;
}

.wb-shortcut-btn:hover {
  background: color-mix(in srgb, var(--wb-brand-color, #5C4B41) 14%, #fff);
  border-color: color-mix(in srgb, var(--wb-brand-color, #5C4B41) 35%, #d9d9d9);
  color: var(--wb-brand-color, #5C4B41);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.wb-shortcut-btn:active {
  transform: translateY(1px);
}

.wb-shortcut-btn:disabled,
.wb-shortcut-btn.wb-shortcut-btn--locked {
  background: #f1f1f1;
  color: #9a9a9a;
  border-color: #dfdfdf;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.78;
}

.wb-shortcut-btn:disabled:hover,
.wb-shortcut-btn.wb-shortcut-btn--locked:hover {
  background: #f1f1f1;
  color: #9a9a9a;
  border-color: #dfdfdf;
  box-shadow: none;
  transform: none;
}

/* -----------------------------
   Feature 3a: Typewriter Cursor
----------------------------- */
@keyframes wb-tw-blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}
.wb-tw-cursor {
  display: inline-block;
  width: 2px;
  height: 0.95em;
  background: currentColor;
  margin-left: 1px;
  vertical-align: text-bottom;
  animation: wb-tw-blink 0.7s step-end infinite;
}

/* -----------------------------
   Feature 2: Suggestion Chips
----------------------------- */
.wb-chips-label {
  display: block;
  width: 100%;
  font-size: 11px;
  font-weight: 600;
  color: #8a8a8a;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.wb-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding: 14px 14px 12px;
  background: #ededed;
  border: 1px solid #ddd7d1;
  border-radius: 18px;
  box-shadow: 0 4px 14px rgba(40, 32, 27, 0.06);
  animation: wb-fade-up 0.25s ease forwards;
  font-size: 12px !important;
}

.wb-suggest-inline-chips {
  margin: 4px 0 8px;
  padding: 10px;
  border-radius: 12px;
}

.wb-suggest-inline-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 5px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0;
  scrollbar-width: thin;
  margin-left: -20px;
}

.wb-suggest-inline-row .wb-chip-btn {
  flex: 0 0 auto;
}

.wb-suggest-inline-row-lazy {
  align-items: center;
}

.wb-suggest-chip-loading {
  font-size: 11px;
  color: #8a8a8a;
  white-space: nowrap;
}

.wb-suggest-chip-groups {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wb-suggest-chip-group-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #4e4a47;
}

.wb-chip-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid #d9d5d2;
  background: #fff;
  color: #4e4a47;
  box-shadow: 0 2px 8px rgba(40, 32, 27, 0.08);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
  transition: background 0.18s, color 0.18s, border-color 0.18s, box-shadow 0.18s, transform 0.18s;
  line-height: 1;
  height: 30px !important;
  max-height: 30px;
  min-width: auto !important;
  min-height: 30px;
  white-space: nowrap;
}
.wb-chip-btn:hover {
  background: #fcfaf8;
  border-color: color-mix(in srgb, var(--wb-brand-color, #5C4B41) 32%, #d9d5d2);
  color: var(--wb-brand-color, #5C4B41);
  box-shadow: 0 4px 12px rgba(40, 32, 27, 0.12);
  transform: translateY(-1px);
}
.wb-chip-btn.wb-chip-active {
  background: var(--wb-brand-color, #5C4B41);
  color: var(--wb-brand-text, #fff);
  border-color: var(--wb-brand-color, #5C4B41);
  pointer-events: none;
  box-shadow: none;
}
.wb-chip-btn.wb-chip-active:hover {
  transform: none;
  box-shadow: none;
}
.wb-chip-btn.wb-chip-used {
  opacity: 0.38;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}
.wb-chip-btn.wb-chip-used:hover {
  transform: none;
  box-shadow: none;
  background: #fff;
  border-color: #d9d5d2;
  color: #4e4a47;
}

.wb-prod-btn {
  min-width: auto;
  display: none !important;
}

.wb-product-actions button {
  font-size: 13px;
}

.wb-global-btn {
  min-width: auto;
  height: auto;
  color: #666;
  border-radius: 25px !important;
  font-size: 12px !important;
  text-transform: inherit;
  padding: 8px 10px;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.wb-global-btn:not(:disabled):hover {
  border-color: var(--wb-brand-color) !important;
  color: var(--wb-brand-color) !important;
  background: color-mix(in srgb, var(--wb-brand-color) 8%, #fff) !important;
}

.wb-product-actions .wb-global-btn[data-action=reset-filters],
.ai-msg .wb-global-btn[data-action=reset-filters] {
  background: #ffe6e8 !important;
  color: #b3323f !important;
  border: 1px solid #f3bcc2 !important;
}

.wb-product-actions .wb-global-btn[data-action=reset-filters]:hover,
.ai-msg .wb-global-btn[data-action=reset-filters]:hover {
  background: #ffd6da !important;
  color: #982733 !important;
  border-color: #e99aa3 !important;
}

.ai-msg .wb-global-btn[data-action=reset-filters] {
  margin-bottom: 10px;
}

/* -----------------------------
   Feature 4: Cart Summary Card
----------------------------- */
.wb-cart-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 10px;
  padding: 12px;
  margin: 8px 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.wb-cart-header {
  font-weight: 700;
  font-size: 0.92rem;
  color: #2f2f2f;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.wb-cart-items {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.wb-cart-row {
  border-top: 1px dashed #e8e8e8;
  padding-top: 7px;
}

.wb-cart-row-main {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wb-cart-thumb {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #ececec;
  background: #f7f7f7;
  flex-shrink: 0;
}

.wb-cart-row-copy {
  min-width: 0;
}

.wb-cart-row:first-child {
  border-top: none;
  padding-top: 0;
}

.wb-cart-name {
  font-size: 0.85rem;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wb-cart-meta {
  font-size: 0.78rem;
  color: #777;
}

.wb-cart-total {
  margin-top: 10px;
  font-size: 0.84rem;
  color: #333;
}

.wb-cart-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.wb-cart-actions .wb-global-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 10px !important;
  border: 1px solid #dadada;
  background: #fff;
  color: #444;
  font-size: 13px !important;
  font-weight: 600;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.wb-cart-actions .wb-global-btn:first-child {
  background: #f8f8f8;
}

.wb-cart-actions .wb-global-btn:last-child {
  border-color: var(--wb-brand-color, #5C4B41);
  background: var(--wb-brand-color, #5C4B41);
  color: var(--wb-brand-text, #fff);
}

.wb-cart-actions .wb-global-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.wb-cart-actions .wb-global-btn:first-child:hover {
  background: #f1f1f1;
  border-color: #cdcdcd;
}

.wb-cart-actions .wb-global-btn:last-child:hover {
  background: color-mix(in srgb, var(--wb-brand-color, #5C4B41) 88%, #000);
}

@media (max-width: 390px) {
  .wb-cart-actions {
    grid-template-columns: 1fr;
  }
}
.wb-cart-empty {
  margin: 6px 0 2px;
  color: #777;
  font-size: 0.84rem;
}

/* Feedback prompt */
.wb-inline-feedback {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #ddd;
}

.wb-feedback-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.wb-feedback-label {
  font-size: 12px;
  color: #666;
  line-height: 1.2;
  flex: 1 1 auto;
  min-width: 0;
}

.wb-feedback-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.wb-feedback-btn {
  width: 30px !important;
  min-width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px !important;
  border: none !important;
  white-space: nowrap !important;
  background: #f0f0f0 !important;
}

.wb-feedback-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.wb-feedback-btn:hover {
  background: #e0e0e0 !important;
}

.wb-feedback-done {
  font-size: 12px;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wb-feedback-done-label {
  font-size: 11px;
  color: #888;
}

@media (max-width: 420px) {
  .wb-feedback-row {
    flex-wrap: wrap;
  }
  .wb-feedback-actions {
    width: 100%;
    justify-content: flex-start;
  }
}
/* -----------------------------
   AI list styling
----------------------------- */
.wb-ai-list {
  margin: 10px 0 !important;
  padding-left: 25px !important;
  line-height: 1.3 !important;
  color: #333 !important;
  font-size: 13px !important;
}

ol.wb-ai-list ul {
  padding-left: 5px !important;
}

ol.wb-ai-list ul li {
  font-size: 13px;
}

.wb-ai-numbered {
  list-style: decimal !important;
}

.wb-ai-bullet {
  list-style: disc !important;
}

.wb-ai-list li {
  margin: 0 !important;
  padding: 2px 0 !important;
  line-height: 1.4 !important;
}

/* Nested bullet list inside a numbered item */
.wb-ai-numbered li > .wb-ai-bullet {
  margin: 4px 0 2px 0 !important;
}

/* Page content styling (payment methods, shipping, company info) */
.wb-page-content {
  background: #F1F1F1;
  color: #333;
  align-self: flex-start;
  border-radius: 15px;
  border-bottom-left-radius: 2px;
  padding: 12px 16px;
  position: relative;
  max-width: calc(100% - 32px);
  margin-left: 32px;
}

.wb-page-content h3 {
  margin: 0 0 12px 0;
  color: #333;
  font-size: 13px;
  font-weight: 700;
  padding-bottom: 15px;
  border-bottom: 1px solid #ddd;
}

.wb-page-content li {
  margin-left: 0 !important;
}

/* Page content image block */
.wb-page-img-wrap {
  margin: 0 0 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #f7f7f7;
}

.wb-page-img {
  width: 100%;
  max-height: 180px;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

/* Link inside .wb-summary-list li */
.wb-summary-link {
  color: var(--wb-brand-color);
  text-decoration: none;
  font-weight: 600;
}

.wb-page-reply {
  color: #333;
  font-size: 13px;
  margin: 0 0 10px 0;
  text-align: left;
}

.wb-page-summary {
  color: #555;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 4px 0;
  text-align: left;
}

.wb-summary-list {
  list-style: none;
  margin: 4px 0 4px 0;
  padding: 0;
}

.wb-summary-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: #fff;
  border-left: 3px solid var(--wb-brand-color);
  border-radius: 4px;
  padding: 6px 10px;
  margin-bottom: 6px;
  font-size: 13px;
  color: #333;
  line-height: 1.5;
}

.wb-summary-dot {
  color: var(--wb-brand-color);
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 1px;
}

.wb-page-body {
  color: #333;
  font-size: 13px;
  line-height: 1.6;
  text-align: left !important;
}

.wb-page-body p {
  margin: 8px 0;
  font-family: inherit !important;
  line-height: 1 !important;
}

.wb-page-body ul,
.wb-page-body ol {
  margin: 8px 0;
  padding-left: 20px;
}

.wb-page-body li {
  margin: 4px 0;
}

/* WPBakery content styling for chatbot */
.wb-page-body .vc_row,
.wb-page-body .vc_column,
.wb-page-body .vc_column_text {
  width: 100% !important;
  max-width: 100%;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
}

.wb-page-body .vc_row .vc_column {
  width: 100% !important;
}

.wb-page-body img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 8px 0;
}

.wb-page-body h1,
.wb-page-body h2,
.wb-page-body h3,
.wb-page-body h4,
.wb-page-body h5,
.wb-page-body h6 {
  margin: 12px 0 8px 0;
  color: #333;
  font-weight: 600;
  line-height: 1.4;
  text-align: left !important;
}

.wb-page-body h1 {
  font-size: 18px;
}

.wb-page-body h2 {
  font-size: 16px;
}

.wb-page-body h3 {
  font-size: 15px;
}

.wb-page-body h4 {
  font-size: 14px;
}

.wb-page-body h5 {
  font-size: 13px;
}

.wb-page-body h6 {
  font-size: 12px;
}

.wb-page-body p {
  text-align: left !important;
  color: #666;
}

.wb-page-footer {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #d0d0d0;
  text-align: right;
}

.wb-page-footer a:hover {
  color: var(--wb-brand-text) !important;
}

.wb-page-link {
  display: inline-block;
  color: var(--wb-brand-color);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: all 0.2s ease;
  background: #f0e8e0;
}

.wb-page-link:hover {
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  transform: translateX(2px);
}

/* -----------------------------
   Category link row
----------------------------- */
.wb-cat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.wb-cat-links .wb-global-btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.wb-cat-links .wb-global-btn i {
  font-size: 13px;
}

/* -----------------------------
   Posts list cards
----------------------------- */
.wb-post-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wb-post-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 5px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 6px;
  overflow: hidden;
}
@media (max-width: 520px) {
  .wb-post-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.wb-post-card-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .wb-post-card-img {
    width: 100%;
    height: 100px;
  }
}

.wb-post-card-placeholder {
  width: 60px;
  height: 60px;
  border-radius: 4px;
  background: #f0f0f0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.wb-post-card-body {
  flex: 1;
  min-width: 0;
}

.wb-post-card-title {
  font-size: 13px;
  font-weight: 600;
  color: #333;
  margin: 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wb-post-card-arrow {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 5px;
  background: var(--wb-brand-color);
  color: var(--wb-brand-text, #fff);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.2s;
}
.wb-post-card-arrow:hover {
  opacity: 0.85;
}

.wb-post-empty {
  color: #666;
  font-size: 13px;
  margin: 0;
}

/* -----------------------------
   Product comparison card
----------------------------- */
.wb-product-comparison {
  max-width: 100%;
}

.wb-comparison-heading {
  margin: 0 0 10px;
  font-weight: 600;
  font-size: 14px;
  color: #333;
}

.wb-comparison-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wb-comparison-item {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 8px;
  padding: 10px;
}

.wb-comparison-header {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.wb-comparison-thumb {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 6px;
  background: #f8f8f8;
  border: 1px solid #e1e1e1;
  flex-shrink: 0;
}

.wb-comparison-info {
  min-width: 0;
}

.wb-comparison-title {
  text-decoration: none;
  color: #333;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.35;
  display: block;
}
.wb-comparison-title:hover {
  color: var(--wb-brand-color);
}

.wb-comparison-attrs {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 6px 8px;
  font-size: 12px;
  line-height: 1.45;
}

.wb-comparison-attr-label {
  font-weight: 600;
  color: #555;
}

.wb-comparison-attr-value {
  color: #333;
}

/* Error / warning message tints */
.ai-msg--error {
  color: #e74c3c;
}

.ai-msg--warn {
  color: #e67e22;
}

.ai-msg--success {
  color: #27ae60;
}

.ai-msg--success, .ai-msg--warn, .ai-msg--error {
  font-size: 13px;
}

/* Hint text inside question labels */
.wb-hint-text {
  color: #888;
  font-size: 0.88em;
}

/* Human handoff button block */
.wb-handoff-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.wb-handoff-btnrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Product description styling */
.wb-product-description {
  background: #f9f9f9;
  border-left: 4px solid #3498db;
  padding: 15px;
  border-radius: 6px;
  margin: 10px 0;
}

.wb-product-description h3 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 16px;
  font-weight: 600;
}

.wb-desc-sku {
  margin: 0 0 12px 0;
  color: #7f8c8d;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.wb-desc-body {
  color: #333;
  font-size: 13px;
  line-height: 1.6;
}

.wb-desc-body p {
  margin: 8px 0;
  line-height: 1.6;
}

.wb-desc-body ul,
.wb-desc-body ol {
  margin: 8px 0;
  padding-left: 20px;
}

.wb-desc-body li {
  margin: 4px 0;
}

/* -----------------------------
   UX-1: Typing Indicator
----------------------------- */
.wb-typing {
  display: inline-flex !important;
  align-items: center;
  gap: 5px;
  padding: 12px 16px !important;
  min-height: unset !important;
}

.wb-typing span {
  width: 7px;
  height: 7px;
  background: #bbb;
  border-radius: 50%;
  display: inline-block;
  animation: wb-bounce 1.1s infinite ease-in-out;
}

.wb-typing span:nth-child(2) {
  animation-delay: 0.18s;
}

.wb-typing span:nth-child(3) {
  animation-delay: 0.36s;
}

@keyframes wb-bounce {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  30% {
    transform: translateY(-6px);
    opacity: 1;
  }
}
/* -----------------------------
   UX-6: Markdown Elements
----------------------------- */
.wb-md-h1 {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 4px;
}

.wb-md-h2 {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin: 6px 0 3px;
}

.wb-md-h3 {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin: 4px 0 2px;
}

.wb-md-quote {
  display: block;
  border-left: 3px solid var(--wb-brand-color);
  padding: 3px 10px;
  margin: 4px 0;
  color: #666;
  font-style: italic;
}

.wb-md-code {
  background: #f3f3f3;
  border: 1px solid #e0e0e0;
  border-radius: 3px;
  padding: 1px 5px;
  font-family: "Courier New", monospace;
  font-size: 0.85em;
  color: #c0392b;
}

/* -----------------------------
   AO-10: Offline Notice
----------------------------- */
.wb-offline-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff8e1;
  border: 1px solid #ffe082;
  border-left: 4px solid #ff9800;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 0.8rem;
  color: #795548;
  line-height: 1.5;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.wb-offline-dot {
  width: 8px;
  height: 8px;
  background: #ff9800;
  border-radius: 50%;
  flex-shrink: 0;
  animation: wb-pulse 2s infinite;
}

@keyframes wb-pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
/* -----------------------------
   PDPA Consent Overlay
----------------------------- */
.wb-consent-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  text-align: center;
  height: 100%;
  box-sizing: border-box;
}

.wb-consent-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

.wb-consent-title {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 10px;
}

.wb-consent-text {
  font-size: 0.82rem;
  color: #666;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Guest info fields inside consent overlay */
.wb-consent-fields {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-bottom: 14px;
}

.wb-consent-input {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.8rem;
  color: #333;
  background: #fafafa;
  outline: none;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.wb-consent-input:focus {
  border-color: var(--wb-brand-color);
  background: #fff;
}

.wb-consent-input::placeholder {
  color: #aaa;
}

.wb-consent-error {
  display: none;
  font-size: 0.72rem;
  color: #e74c3c;
  text-align: left;
  margin-top: -4px;
}

.wb-input-error {
  border-color: #e74c3c !important;
}

.wb-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.72rem;
  color: #888;
  cursor: pointer;
  text-align: left;
  margin-bottom: 14px;
  line-height: 1.4;
}

.wb-consent-label input[type=checkbox] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--wb-brand-color);
  width: 15px;
  height: 15px;
  cursor: pointer;
}

.wb-consent-start-btn {
  background: var(--wb-brand-color);
  color: var(--wb-brand-text);
  border: none;
  border-radius: 6px;
  padding: 10px 28px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
}

.wb-consent-start-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.wb-consent-start-btn:not(:disabled):hover {
  opacity: 0.85;
}

/* Desktop consent mode: use the full panel area while PDPA gate is shown */
@media (min-width: 521px) {
  #wb-chatbot-window.wb-consent-active .wb-chatbot-input-area {
    display: none;
  }
  #wb-chatbot-window.wb-consent-active #wb-chat-content {
    height: calc(100% - 62px);
    padding: 10px 12px 12px;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-overlay {
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
    padding: 14px 18px 16px;
    min-height: 100%;
    overflow-y: auto;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-icon {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-title {
    margin-bottom: 8px;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-text {
    margin-bottom: 12px;
    line-height: 1.45;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-fields {
    gap: 7px;
    margin-bottom: 10px;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-input {
    padding: 9px 10px;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-label {
    margin-bottom: 10px;
    font-size: 0.78rem;
  }
  #wb-chatbot-window.wb-consent-active .wb-consent-start-btn {
    align-self: center;
    width: 100%;
    max-width: 300px;
  }
}
.wp-admin .ai-msg::after, .wp-admin .wb-page-content::after {
  display: none !important;
}
.wp-admin .ai-msg {
  height: 100% !important;
}
.wp-admin #wpwrap .wb-product-grid {
  display: block !important;
}
.wp-admin .wb-price-container del, .wp-admin .wb-price-container ins {
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  font-size: 13px !important;
}
.wp-admin .wb-suggest-inline-row {
  width: 100% !important;
}
.wp-admin .wb-chips {
  height: 100% !important;
}
.wp-admin #wp-chatbot-modal-content .wb-product-track-wrap {
  overflow: visible !important;
  height: auto !important;
}
.wp-admin #wp-chatbot-modal-content .wb-product-track,
.wp-admin #wp-chatbot-modal-content .wb-mobile-carousel-grid {
  display: flex !important;
  flex-direction: column !important;
  flex-wrap: nowrap !important;
  transform: none !important;
  transition: none !important;
  gap: 8px !important;
  padding-right: 0 !important;
  width: 100% !important;
}
.wp-admin #wp-chatbot-modal-content .wb-mobile-carousel-grid .p-card {
  flex: 0 0 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  height: auto !important;
}
.wp-admin #wp-chatbot-modal-content .p-card > a {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 100% !important;
}
.wp-admin #wp-chatbot-modal-content .p-card img,
.wp-admin #wp-chatbot-modal-content .p-card .wb-product-thumb {
  display: block !important;
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  min-height: 64px !important;
  object-fit: cover !important;
  flex-shrink: 0 !important;
  transform: none !important;
  border-radius: 6px !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.wp-admin #wp-chatbot-modal-content .p-card-info {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
.wp-admin #wp-chatbot-modal-content .wb-carousel-controls,
.wp-admin #wp-chatbot-modal-content .wb-carousel-dots,
.wp-admin #wp-chatbot-modal-content .wb-carousel-nav {
  display: none !important;
}

/* ========== Session Warning Dialog ========== */
.wb-session-warning-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000000;
  animation: wb-fade-in 0.3s ease;
}

@keyframes wb-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.wb-session-warning-dialog {
  background: white;
  border-radius: 12px;
  padding: 32px;
  text-align: center;
  max-width: 380px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  animation: wb-slide-up 0.3s ease;
}

@keyframes wb-slide-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.wb-warning-icon {
  font-size: 48px;
  margin-bottom: 16px;
  animation: wb-pulse-light 1.5s ease infinite;
}

@keyframes wb-pulse-light {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.6;
  }
}
.wb-session-warning-dialog h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #d97706;
  font-weight: 600;
}

.wb-session-warning-dialog p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.wb-warning-hint {
  color: #999;
  font-size: 13px !important;
}

.wb-warning-actions {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}

.wb-warning-btn {
  flex: 1;
  min-width: auto;
  min-height: 52px;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.3;
  white-space: normal;
  font-weight: 700;
  text-transform: capitalize !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

@media (max-width: 480px) {
  .wb-warning-actions {
    flex-direction: column;
  }
}
.wb-warning-stay {
  background: var(--wb-brand-color, #5C4B41);
  color: var(--wb-brand-text, #ffffff);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.wb-warning-stay:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.wb-warning-close {
  background: #f0f0f0;
  color: #333;
  border: 1px solid #dcdcdc;
}

.wb-warning-close:hover {
  background: #e0e0e0;
}

/* ========== Session Expired Message ========== */
.wb-session-expired {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  text-align: center;
  min-height: 300px;
}

.wb-expired-icon {
  font-size: 56px;
  margin-bottom: 16px;
  opacity: 0.8;
}

.wb-session-expired h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #d97706;
  font-weight: 600;
}

.wb-session-expired p {
  margin: 0 0 8px;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.wb-expired-hint {
  color: #999;
  font-size: 13px !important;
}

.wb-expired-btn {
  margin-top: 24px;
  padding: 10px 24px;
  background: var(--wb-brand-color, #5C4B41);
  color: var(--wb-brand-text, #ffffff);
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.wb-expired-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}/*# sourceMappingURL=chatbot.css.map */