/* LahGum AI ChatGPT — storefront widget */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.lahgum-ai-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
  padding: 0.7rem 1.05rem;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #00a6a6 0%, #0f5d73 100%);
  color: #fff;
  font-family: Manrope, sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(15, 93, 115, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lahgum-ai-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 93, 115, 0.28);
  color: #fff;
}

.lahgum-ai-cta__icon,
.lahgum-ai-cta__icon svg,
.lahgum-ai-cta__icon img {
  width: 28px;
  height: 28px;
  display: block;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  pointer-events: none;
}

.lahgum-ai-cta--band,
body.home .elementor-widget-html .lahgum-ai-cta--band {
  display: none !important;
}

.lahgum-ai-cta--product {
  margin-top: 0.7rem;
}

.lahgum-ai-fab {
  position: fixed !important;
  right: 84px !important;
  bottom: 20px !important;
  z-index: 2147483000 !important;
  width: 56px !important;
  height: 56px !important;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  color: #fff !important;
  display: block !important;
  overflow: hidden !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  text-decoration: none !important;
  padding: 0 !important;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.28);
  transition: transform 0.2s ease;
}

.lahgum-ai-fab:hover {
  transform: scale(1.08);
}

.lahgum-ai-fab img,
.lahgum-ai-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  border: 0;
}

a.lahgum-ai-cta {
  text-decoration: none;
  color: #fff;
}

.lahgum-ai-panel {
  position: fixed;
  right: 18px;
  bottom: 110px;
  z-index: 2147483001;
  width: min(400px, calc(100vw - 28px));
  height: min(540px, calc(100vh - 140px));
  background: #fff;
  border: 1px solid #1a3348;
  border-radius: 12px;
  box-shadow: 0 18px 50px rgba(11, 31, 51, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: Manrope, sans-serif;
}

.lahgum-ai-panel[hidden] {
  display: none !important;
}

.lahgum-ai-panel.is-min {
  height: 52px !important;
  width: min(320px, calc(100vw - 28px));
  bottom: 16px;
  right: 84px;
}

.lahgum-ai-panel.is-min .lahgum-ai-panel__body {
  display: none !important;
}

.lahgum-ai-panel.is-max {
  top: 12px;
  right: 12px;
  bottom: 12px;
  left: 12px;
  width: auto;
  height: auto;
  border-radius: 12px;
}

.lahgum-ai-panel__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.35rem 0.35rem 0.7rem;
  background: #0b1f33;
  color: #fff;
  flex-shrink: 0;
  user-select: none;
}

.lahgum-ai-panel__title {
  min-width: 0;
}

.lahgum-ai-win {
  margin-left: auto;
  display: flex;
  align-items: stretch;
}

.lahgum-ai-win__btn {
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  font-size: 1.25rem;
}

.lahgum-ai-win__btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lahgum-ai-win__btn--close:hover {
  background: #e81123;
}

.lahgum-ai-win__btn span {
  display: block;
  width: 11px;
  height: 2px;
  background: #fff;
}

.lahgum-ai-win__max {
  width: 10px !important;
  height: 10px !important;
  border: 1.6px solid #fff;
  background: transparent !important;
  box-sizing: border-box;
}

.lahgum-ai-panel__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.lahgum-ai-panel__icon img,
.lahgum-ai-panel__icon svg {
  width: 40px;
  height: 40px;
  object-fit: cover;
  display: block;
}

.lahgum-ai-panel__head strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.2;
}

.lahgum-ai-panel__head small {
  display: block;
  opacity: 0.75;
  font-size: 0.72rem;
}

.lahgum-ai-panel__close {
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.lahgum-ai-panel__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

.lahgum-ai-panel__log {
  flex: 1;
  overflow: auto;
  padding: 0.9rem;
  background: #f7fafc;
}

.lahgum-ai-msg {
  max-width: 92%;
  margin: 0 0 0.65rem;
  padding: 0.65rem 0.75rem;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #0b1f33;
}

.lahgum-ai-msg--bot {
  background: #fff;
  border: 1px solid #e5eef3;
}

.lahgum-ai-msg--user {
  margin-left: auto;
  background: #0f5d73;
  color: #fff;
}

.lahgum-ai-ask-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  width: 100%;
  margin: 0 0 0.55rem;
  padding: 0.7rem 0.8rem;
  border: 1.5px solid #00a6a6;
  border-radius: 12px;
  background: #fff;
  color: #0b1f33;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(15, 93, 115, 0.08);
}

.lahgum-ai-ask-chip:hover,
.lahgum-ai-ask-chip:focus {
  background: #0f5d73;
  color: #fff;
  border-color: #0f5d73;
}

.lahgum-ai-ask-chip__q {
  flex: 1;
  min-width: 0;
}

.lahgum-ai-ask-chip__go {
  flex: 0 0 auto;
  background: #00a6a6;
  color: #fff;
  border-radius: 8px;
  padding: 0.28rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.lahgum-ai-ask-chip:hover .lahgum-ai-ask-chip__go,
.lahgum-ai-ask-chip:focus .lahgum-ai-ask-chip__go {
  background: #fff;
  color: #0f5d73;
}

.lahgum-ai-msg a {
  color: #0f5d73;
  font-weight: 700;
  word-break: break-word;
}

.lahgum-ai-msg--user a {
  color: #d7eef2;
}

.lahgum-ai-msg p {
  margin: 0 0 0.4rem;
}

.lahgum-ai-msg p:last-child {
  margin: 0;
}

.lahgum-ai-panel__form {
  display: flex;
  gap: 0.4rem;
  padding: 0.7rem;
  border-top: 1px solid #e5eef3;
  background: #fff;
}

.lahgum-ai-panel__form input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d5e3ea;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
}

.lahgum-ai-panel__form button {
  border: 0;
  border-radius: 10px;
  background: #00a6a6;
  color: #fff !important;
  font-weight: 800;
  padding: 0 1rem;
  cursor: pointer;
  width: auto;
  flex: 0 0 auto;
  min-height: 44px;
}

.lahgum-ai-chats {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin: 0.35rem 0 0;
}

.lahgum-ai-chat-link {
  display: block;
  width: 100%;
  text-align: left;
  border: 1px solid #d5e3ea;
  background: #fff;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  font: inherit;
  color: #0b1f33;
}

.lahgum-ai-chat-link:hover {
  border-color: #00a6a6;
  background: #f3fbfb;
}

body.steelence-woo-chrome .steelence-ai-overview__spark svg,
body.steelence-woo-chrome .steelence-ai-overview__spark img {
  width: 22px;
  height: 22px;
  display: block;
  border-radius: 50%;
  object-fit: cover;
}

body.home .elementor-widget-html .lahgum-ai-cta--band {
  display: none !important;
}

@media (max-width: 560px) {
  .lahgum-ai-fab {
    right: 76px !important;
    bottom: 16px !important;
    width: 54px !important;
    height: 54px !important;
  }

  .lahgum-ai-panel {
    right: 10px;
    left: 10px;
    width: auto;
    bottom: 96px;
  }

  .lahgum-ai-panel.is-min {
    left: auto;
    right: 10px;
    width: min(280px, calc(100vw - 90px));
  }

  .lahgum-ai-panel.is-max {
    top: 8px;
    right: 8px;
    bottom: 8px;
    left: 8px;
  }
}
