﻿#ny-chatbot-container button,
#ny-chatbot-container button[type="button"],
#ny-chatbot-container button[type="submit"],
#ny-chatbot-container input[type="button"],
#ny-chatbot-container input[type="submit"],
#ny-chatbot-open-btn,
#ny-chatbot-open-btn[type="button"] {
  border: none;
  border-radius: 0;
  background: 0 0;
  background-image: none;
  padding: 0;
  margin: 0;
  outline: 0;
  box-shadow: none;
  text-decoration: none;
  text-transform: none;
  letter-spacing: normal;
  line-height: normal;
  font-weight: 400;
  font-style: normal;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  min-width: 0;
  min-height: 0;
  vertical-align: baseline;
  text-shadow: none;
  transition: none;
  box-sizing: border-box;
}
#ny-chatbot-container button:active,
#ny-chatbot-container button:focus,
#ny-chatbot-container button:hover,
#ny-chatbot-container button[type="button"]:active,
#ny-chatbot-container button[type="button"]:focus,
#ny-chatbot-container button[type="button"]:hover,
#ny-chatbot-container button[type="submit"]:active,
#ny-chatbot-container button[type="submit"]:focus,
#ny-chatbot-container button[type="submit"]:hover,
#ny-chatbot-container input[type="button"]:active,
#ny-chatbot-container input[type="button"]:focus,
#ny-chatbot-container input[type="button"]:hover,
#ny-chatbot-container input[type="submit"]:active,
#ny-chatbot-container input[type="submit"]:focus,
#ny-chatbot-container input[type="submit"]:hover,
#ny-chatbot-open-btn:active,
#ny-chatbot-open-btn:focus,
#ny-chatbot-open-btn[type="button"]:active,
#ny-chatbot-open-btn[type="button"]:focus {
  border: none;
  outline: 0;
  background-image: none;
  text-decoration: none;
  box-shadow: none;
}
#ny-chatbot-container input[type="text"],
#ny-chatbot-container textarea {
  border: none;
  border-radius: 0;
  background: 0 0;
  background-image: none;
  padding: 0;
  margin: 0;
  outline: 0;
  box-shadow: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: inherit;
  font-family: inherit;
  color: inherit;
  text-shadow: none;
  box-sizing: border-box;
  min-height: 0;
  max-height: none;
  height: auto;
  width: auto;
}
#ny-chatbot-open-btn {
  position: fixed;
  bottom: var(--ny-btn-bottom-desktop);
  z-index: 100000;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: none;
  box-shadow: 0 6px 32px 0 rgb(0 0 0 / 0.18);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}
#ny-chatbot-open-btn.boxed-style {
  background: var(--ny-primary-color);
  color: var(--ny-secondary-color);
  border-radius: 1.2em;
  padding: 0.9em 1.5em;
  font-size: 0.9em;
  font-weight: 600;
  gap: 0.7em;
  font-family: inherit;
}
#ny-chatbot-open-btn.circle-style {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  justify-content: center;
  overflow: hidden;
  background: #fff0;
  padding: 0;
}
#ny-chatbot-open-btn.ny-delayed {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  pointer-events: none;
}
#ny-chatbot-open-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px 0 rgb(0 0 0 / 0.25);
}
#ny-chatbot-open-btn.boxed-style .ny-button-icon {
  line-height: 1;
  display: inline-block;
}
#ny-chatbot-open-btn.boxed-style .ny-button-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}
#ny-chatbot-open-btn.ny-revealing {
  animation: ny-btn-pop 0.44s ease-out;
}
#ny-chatbot-open-btn.ny-pulse-enabled:not(.ny-open-btn-close):not(
    .ny-delayed
  ):not(.ny-revealing) {
  overflow: visible;
  animation: ny-animation-pulse 2s ease-out infinite;
}
#ny-chatbot-open-btn.circle-style.ny-pulse-enabled:not(.ny-open-btn-close):not(
    .ny-delayed
  ):not(.ny-revealing) {
  animation:
    ny-animation-wiggle 2s ease-in-out infinite,
    ny-animation-pulse 2s ease-out infinite;
}
@keyframes ny-animation-wiggle {
  0%,
  100% {
    transform: rotate(0);
  }
  25% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
  75% {
    transform: rotate(-1deg);
  }
}
@keyframes ny-animation-pulse {
  0% {
    box-shadow: 0 0 0 0 var(--ny-pulse-color-50, rgba(20, 93, 238, 0.5));
  }
  70% {
    box-shadow: 0 0 0 20px var(--ny-pulse-color-0, rgba(20, 93, 238, 0));
  }
  100% {
    box-shadow: 0 0 0 0 var(--ny-pulse-color-0, rgba(20, 93, 238, 0));
  }
}
#ny-chatbot-open-btn.circle-style img {
  width: 96%;
  height: 96%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  transition: transform 0.3s ease;
}
#ny-chatbot-open-btn.circle-style svg.ny-bot-avatar {
  border-radius: 50%;
}
#ny-chatbot-open-btn.circle-style svg.ny-bot-avatar .ny-avatar-bg {
  fill: var(--ny-primary-color);
}
#ny-chatbot-open-btn.circle-style svg.ny-bot-avatar .ny-avatar-icon {
  fill: var(--ny-secondary-color);
}
#ny-chatbot-open-btn.circle-style.ny-open-btn-close {
  color: #000;
  background-color: #fff;
  animation: none !important;
}
#ny-chatbot-open-btn.circle-style.ny-open-btn-close .ny-close-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
#ny-chatbot-open-btn.circle-style.ny-open-btn-close .ny-close-icon svg {
  display: block;
  width: 22px;
  height: 22px;
}
#ny-chatbot-open-btn.circle-style.ny-open-btn-close .ny-close-icon svg path {
  stroke-width: 2;
  stroke-linecap: round;
  fill: none;
}
#ny-chatbot-open-btn[data-position="bottom-left"] {
  left: var(--ny-btn-side-desktop);
  right: auto;
}
#ny-chatbot-open-btn[data-position="bottom-right"] {
  right: var(--ny-btn-side-desktop);
  left: auto;
}
#ny-chatbot-container {
  position: fixed;
  bottom: 5.5rem;
  z-index: 100001;
  width: 100%;
  max-width: 390px;
  height: 580px;
  margin: 0;
  background: var(--ny-container-bg);
  border-radius: 1em;
  color: var(--ny-bot-msg-text);
  box-sizing: border-box;
  box-shadow: 0 8px 32px 0 rgb(0 0 0 / 0.35);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  direction: rtl;
}
#ny-chatbot-container[data-position="bottom-right"] {
  right: 2.5rem;
  left: auto;
}
#ny-chatbot-container[data-position="bottom-left"] {
  left: 2.5rem;
  right: auto;
}
#ny-chatbot-container * {
  box-sizing: border-box;
}
#ny-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.5em;
  padding: 1em 1.5em 1em 0.8em;
  background-color: var(--ny-header-bg);
  flex-shrink: 0;
}
#ny-chatbot-header .ny-chatbot-header-contents {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
#ny-chatbot-header h3 {
  margin: 0;
  font-size: var(--ny-header-fs-desktop);
  font-weight: 600;
  color: var(--ny-header-text);
  line-height: 1.2;
}
#ny-chatbot-header .ny-header-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-inline-end: 7px;
  flex-shrink: 0;
}
#ny-chatbot-header .ny-online-status {
  margin: 0;
  line-height: 1;
}
#ny-chatbot-header .ny-online-indicator {
  width: 8px;
  height: 8px;
  background: var(--ny-header-status-dot);
  border-radius: 50%;
  display: inline-block;
  animation: ny-pulse 1.6s infinite;
}
#ny-chatbot-header .ny-online-label {
  font-size: 0.78em;
  color: var(--ny-header-status-text);
}
#ny-chatbot-container #ny-chatbot-close-btn,
#ny-chatbot-container #ny-chatbot-reset-btn {
  width: 36px;
  height: 36px;
  padding: 0;
  background: #fff0;
  border: 0;
  border-radius: 50%;
  transition: 0.15s;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
#ny-chatbot-container #ny-chatbot-reset-btn {
  margin-inline-start: auto;
}
#ny-chatbot-container #ny-chatbot-close-btn {
  margin-inline-start: auto;
}
#ny-chatbot-container #ny-chatbot-reset-btn ~ #ny-chatbot-close-btn {
  margin-inline-start: -10px;
}
#ny-chatbot-container #ny-chatbot-reset-btn:hover,
#ny-chatbot-container #ny-chatbot-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

#ny-chatbot-container #ny-chatbot-close-btn svg,
#ny-chatbot-container #ny-chatbot-reset-btn svg {
  color: var(--ny-header-text);
  width: 17px;
  height: 17px;
  transition: transform 0.5s ease;
}
#ny-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1.5em 1.5em 0.5em 1.5em;
  width: 100%;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--ny-scrollbar-thumb) var(--ny-scrollbar-track);
}
#ny-chat-messages::-webkit-scrollbar {
  width: 8px;
}
#ny-chat-messages::-webkit-scrollbar-track {
  background: var(--ny-scrollbar-track);
  border-radius: 4px;
}
#ny-chat-messages::-webkit-scrollbar-thumb {
  background: var(--ny-scrollbar-thumb);
  border-radius: 4px;
  border: 1px solid var(--ny-scrollbar-thumb-border);
}
#ny-chat-messages::-webkit-scrollbar-thumb:hover {
  background: var(--ny-scrollbar-thumb-hover);
}
.ny-user-message {
  text-align: right;
  background: var(--ny-user-msg-bg);
  color: var(--ny-user-msg-text);
  margin: 0.5em 0 0.5em auto;
  padding: 0.9em 1em;
  border-radius: 0.8em 0.8em 0 0.8em;
  max-width: 100%;
  direction: rtl;
  font-size: var(--ny-user-msg-fs-desktop);
  line-height: 1.4;
  word-break: break-word;
  width: fit-content;
}
.ny-bot-message {
  text-align: right;
  background: var(--ny-bot-msg-bg);
  color: var(--ny-bot-msg-text);
  margin: 0.5em 0;
  padding: 0.9em 1em;
  border-radius: 0.8em 0.8em 0.8em 0;
  max-width: 100%;
  direction: rtl;
  font-size: var(--ny-bot-msg-fs-desktop);
  line-height: 1.4;
  word-break: break-word;
  overflow-x: auto;
}
.ny-bot-message .ny-message-content,
.ny-user-message .ny-message-content {
  line-height: 1.9;
}
.ny-bot-message .ny-message-content *,
.ny-user-message .ny-message-content * {
  margin: 0;
}
.ny-bot-message .thumb-img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 6px 0;
}
.ny-message-time {
  font-size: 0.7em;
  opacity: 0.6;
  margin-top: 4px;
  color: inherit;
}
.ny-date-separator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 12px 0 8px;
  direction: rtl;
}
.ny-date-separator span {
  background: var(--ny-bot-msg-bg);
  color: var(--ny-bot-msg-text);
  font-size: 0.72em;
  padding: 3px 14px;
  border-radius: 12px;
  opacity: 0.75;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.ny-user-message .ny-message-time {
  text-align: right;
  direction: rtl;
}
#ny-chat-form {
  display: flex;
  flex-direction: row;
  gap: 0.3em;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  direction: rtl;
  padding: 0.8em 1.2em;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  margin: 0;
  flex-shrink: 0;
}
#ny-chatbot-container #ny-chat-input {
  flex: 1;
  background: var(--ny-input-bg);
  color: var(--ny-input-text);
  border: 1.5px solid
    color-mix(in srgb, var(--ny-accent-color) 30%, transparent);
  border-radius: 1.2em;
  padding: 0.65em 1.1em;
  direction: rtl;
  display: block;
  min-height: 42px;
  max-height: 84px;
  min-width: 0;
  font-size: var(--ny-input-fs-desktop);
  line-height: 1.5;
  box-shadow: 0 2px 7px 0 rgb(0 0 0 / 0.1);
  margin: 0 3px;
  outline: 0;
  font-family: inherit;
  box-sizing: border-box;
  resize: none;
  overflow-x: hidden;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
#ny-chatbot-container #ny-chat-input::-webkit-scrollbar {
  display: none;
}
#ny-chatbot-container #ny-chat-input:focus {
  border-color: var(--ny-accent-color);
  box-shadow: 0 0 0 2px
    color-mix(in srgb, var(--ny-accent-color) 20%, transparent);
  outline: 0;
}
#ny-chatbot-container #ny-file-btn,
#ny-chatbot-container #ny-voice-btn {
  background: #fff0;
  color: var(--ny-icon-btn-icon);
  border: 1px solid color-mix(in srgb, var(--ny-accent-color) 30%, transparent);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin-left: 5px;
  cursor: pointer;
  transition: 0.15s;
  outline: 0;
}
#ny-chatbot-container #ny-send-btn {
  background: var(--ny-send-btn-bg);
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgb(0 0 0 / 0.09);
  transition: 0.15s;
}
#ny-chatbot-container #ny-stop-btn {
  background: var(--ny-stop-btn-bg);
  color: var(--ny-stop-btn-icon);
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 2px 7px 0 rgb(0 0 0 / 0.09);
  transition: 0.15s;
}
#ny-chatbot-container #ny-file-btn:hover,
#ny-chatbot-container #ny-voice-btn:hover {
  background: color-mix(in srgb, var(--ny-primary-color) 10%, transparent);
  border-color: var(--ny-primary-color);
  color: var(--ny-primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}
#ny-chatbot-container #ny-send-btn:hover {
  background: var(--ny-primary-color);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.15);
}
#ny-chatbot-container button svg {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0 auto;
  pointer-events: none;
}
#ny-chatbot-container #ny-send-btn svg path {
  fill: var(--ny-send-btn-icon);
}
@keyframes ny-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes ny-btn-pop {
  0% {
    transform: translateY(8px) scale(0.98);
    opacity: 0;
  }
  60% {
    transform: translateY(-2px) scale(1.03);
    opacity: 1;
  }
  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}
@keyframes ny-simple-blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
@keyframes ny-typing-bounce {
  0%,
  100%,
  80% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.ny-typing-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0.8em 1em;
  background: rgb(255 255 255 / 0.05);
  border-radius: 0.8em 0.8em 0.8em 0;
  max-width: 200px;
  margin: 0.5em 0;
}
.ny-typing-indicator.ny-typing-text-mode {
  max-width: 100%;
  padding: 0.6em 1em;
}
.ny-typing-text {
  color: var(--ny-bot-msg-text);
  font-size: 0.9em;
  font-style: italic;
  opacity: 0.8;
  animation: ny-typing-pulse 1.5s infinite ease-in-out;
}
@keyframes ny-typing-pulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}
.ny-typing-avatar {
  width: 22px;
  height: 22px;
  background: var(--ny-primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: var(--ny-secondary-color);
  flex-shrink: 0;
}
.ny-typing-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.ny-typing-dots {
  display: flex;
  gap: 3px;
}
.ny-typing-dot {
  width: 6px;
  height: 6px;
  background: var(--ny-primary-color);
  border-radius: 50%;
  animation: ny-typing-bounce 1.4s infinite ease-in-out;
}
.ny-typing-dot:first-child {
  animation-delay: -0.32s;
}
.ny-typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}
.ny-typing-dot:nth-child(3) {
  animation-delay: 0s;
}
.ny-simple-loader {
  display: inline-block;
  animation: ny-simple-blink 1.5s infinite;
  font-weight: 700;
  letter-spacing: 2px;
}
#ny-chatbot-container #ny-quick-replies {
  flex-shrink: 0;
  backdrop-filter: blur(6px);
  padding: 0.9em 1.5em 0.7em;
  z-index: 2;
  background: var(--ny-quick-replies-bg);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
#ny-chatbot-container #ny-quick-replies::-webkit-scrollbar {
  display: none;
}
#ny-chatbot-container #ny-quick-replies.ny-dragging {
  cursor: grabbing;
}
#ny-chatbot-container .ny-qr-item,
#ny-chatbot-container button.ny-qr-item {
  display: inline-block;
  white-space: nowrap;
  background: var(--ny-quick-item-bg);
  color: var(--ny-quick-item-text);
  border: 1px solid var(--ny-quick-item-border);
  border-radius: 10px;
  padding: 6px 10px;
  margin: 0 6px 6px 0;
  font-size: var(--ny-quick-fs-desktop);
  cursor: pointer;
  transition:
    background 0.15s ease,
    color 0.15s ease,
    border-color 0.15s ease,
    transform 0.15s ease;
  font-family: inherit;
}
#ny-chatbot-container .ny-qr-item:active,
#ny-chatbot-container .ny-qr-item:focus,
#ny-chatbot-container button.ny-qr-item:active,
#ny-chatbot-container button.ny-qr-item:focus {
  border: 1px solid var(--ny-quick-item-border);
  background: var(--ny-quick-item-bg);
  color: var(--ny-quick-item-text);
  outline: 0;
}
#ny-chatbot-container .ny-qr-item:hover,
#ny-chatbot-container button.ny-qr-item:hover {
  background: var(--ny-quick-item-hover-bg);
  color: var(--ny-quick-item-hover-text);
  border: 1px solid var(--ny-quick-item-hover-border);
  transform: translateY(-1px);
}
.ny-bot-message .ny-message-content a.ny-link-btn:not(.product-content-row) {
  display: inline-block;
  padding: 6px 10px;
  background: var(--ny-primary-color);
  color: var(--ny-secondary-color);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.2);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}
.ny-bot-message
  .ny-message-content
  a.ny-link-btn:not(.product-content-row):hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.ny-message-content .ny-md-heading {
  margin: 0.5em 0 0.3em;
  font-weight: 700;
  line-height: 1.3;
}
.ny-message-content h2.ny-md-heading {
  display: inline;
  font-size: 1.2em;
}
.ny-message-content .ny-md-list {
  margin: 0.5em 0;
  padding-right: 1.2em;
  list-style-type: disc;
}
.ny-message-content .ny-md-list-item {
  margin: 0.2em 0;
  line-height: 1.5;
}
.ny-qr-item a.ny-qr-link {
  color: inherit;
  text-decoration: underline;
}
.ny-qr-item a.ny-qr-link:hover {
  text-decoration: none;
}
@media (max-width: 600px) {
  #ny-chatbot-container {
    right: 0 !important;
    left: 0;
    bottom: 0;
    top: 0;
    max-width: 100vw;
    margin: 0;
    border-radius: 0;
    height: auto;
  }
  #ny-chat-messages {
    flex: 1;
    max-height: none;
    min-height: 0;
    overflow-y: auto;
  }
  #ny-quick-replies {
    flex-shrink: 0;
    max-height: 150px;
    overflow-y: auto;
    position: relative;
    bottom: auto;
    padding: 0.8em 1.5em;
  }
  #ny-chat-form {
    flex-shrink: 0;
    padding-bottom: calc(0.8em + env(safe-area-inset-bottom));
  }
  #ny-chatbot-open-btn {
    bottom: var(--ny-btn-bottom-mobile);
  }
  #ny-chatbot-open-btn[data-position="bottom-left"] {
    left: var(--ny-btn-side-mobile);
  }
  #ny-chatbot-open-btn[data-position="bottom-right"] {
    right: var(--ny-btn-side-mobile);
  }
  #ny-chatbot-open-btn.circle-style {
    width: 56px;
    height: 56px;
  }
  #ny-chatbot-container #ny-file-btn,
  #ny-chatbot-container #ny-send-btn,
  #ny-chatbot-container #ny-voice-btn {
    width: 38px;
    height: 38px;
  }
  #ny-chatbot-container #ny-file-btn svg,
  #ny-chatbot-container #ny-send-btn svg,
  #ny-chatbot-container #ny-voice-btn svg {
    width: 18px;
    height: 18px;
  }
  #ny-chatbot-container .ny-simple-loader {
    font-size: 1em;
    letter-spacing: 1px;
  }
  #ny-chatbot-container .ny-message-time {
    font-size: 0.65em;
    margin-top: 3px;
  }
  #ny-chatbot-header h3 {
    font-size: var(--ny-header-fs-mobile);
  }
  #ny-chatbot-header .ny-online-label {
    font-size: 0.67em;
  }
  #ny-chatbot-container .ny-user-message {
    font-size: var(--ny-user-msg-fs-mobile);
  }
  #ny-chatbot-container .ny-bot-message {
    font-size: var(--ny-bot-msg-fs-mobile);
  }
  #ny-chatbot-container #ny-chat-input {
    font-size: var(--ny-input-fs-mobile);
  }
  #ny-chatbot-container .ny-qr-item {
    font-size: var(--ny-quick-fs-mobile);
  }
  #ny-chatbot-container .ny-tooltip-content {
    font-size: var(--ny-welcome-fs-mobile);
  }
}
.ny-bot-message .ny-message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}
#ny-circle-tooltip {
  position: fixed;
  z-index: 99999;
  background: linear-gradient(135deg, #fff 0, #f8fafc 100%);
  padding: 15px;
  border-radius: 15px;
  box-shadow:
    0 20px 60px rgb(0 0 0 / 0.15),
    0 8px 25px rgb(0 0 0 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.8);
  max-width: 235px;
  min-width: 200px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  cursor: pointer;
  animation: ny-tooltip-entrance 0.3s ease-out;
}
#ny-circle-tooltip:hover {
  transform: translateY(-2px);
  box-shadow:
    0 24px 70px rgb(0 0 0 / 0.18),
    0 12px 30px rgb(0 0 0 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.9);
}
#ny-circle-tooltip .ny-tooltip-content {
  margin: 0;
  font-weight: 500;
  font-size: var(--ny-welcome-fs-desktop);
  line-height: 1.7;
  color: #334155;
  word-wrap: break-word;
  text-shadow: 0 1px 2px rgb(255 255 255 / 0.8);
}
#ny-circle-tooltip .ny-tooltip-close {
  all: unset;
  position: absolute;
  top: -25px;
  right: 0;
  width: 20px;
  height: 20px;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #64748b;
  background: #fff;
  box-shadow:
    0 20px 60px rgb(0 0 0 / 0.15),
    0 8px 25px rgb(0 0 0 / 0.1),
    inset 0 1px 0 rgb(255 255 255 / 0.8);
  line-height: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
#ny-chatbot-open-btn[data-position="bottom-left"]
  ~ #ny-circle-tooltip
  .ny-tooltip-close {
  right: auto;
  left: 0;
}
#ny-circle-tooltip .ny-tooltip-close:hover {
  transform: scale(1.09);
}
#ny-circle-tooltip .ny-tooltip-close:active {
  transform: scale(0.98);
  transition: all 0.1s;
}
#ny-circle-tooltip .ny-tooltip-arrow {
  position: absolute;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid #fff0;
  border-right: 10px solid #fff0;
  border-top: 10px solid #fff;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 0.08));
}
#ny-circle-tooltip .ny-tooltip-arrow::before {
  content: "";
  position: absolute;
  top: -11px;
  left: -10px;
  width: 0;
  height: 0;
  border-left: 10px solid #fff0;
  border-right: 10px solid #fff0;
  border-top: 10px solid rgb(226 232 240 / 0.8);
}
@keyframes ny-tooltip-entrance {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotateX(-10deg);
    filter: blur(4px);
  }
  60% {
    opacity: 0.9;
    transform: translateY(-3px) scale(1.03) rotateX(2deg);
    filter: blur(1px);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0);
    filter: blur(0);
  }
}
@keyframes ny-tooltip-exit {
  0% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  40% {
    opacity: 0.8;
    transform: translateY(-8px) scale(1.02);
  }
  100% {
    opacity: 0;
    transform: translateY(30px) scale(0.7);
    filter: blur(6px);
  }
}
#ny-circle-tooltip.show {
  animation: ny-tooltip-entrance 0.35s cubic-bezier(0.34, 1.56, 0.64, 1)
    forwards;
}
#ny-circle-tooltip.hide {
  animation: ny-tooltip-exit 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  pointer-events: none;
}
@media (max-width: 600px) {
  #ny-circle-tooltip {
    width: auto;
    max-width: 215px;
    min-width: 200px;
    padding: 10px 13px;
    font-size: 14px;
    border-radius: 18px;
    right: auto;
    left: auto;
  }
  #ny-circle-tooltip .ny-tooltip-content {
    font-size: var(--ny-welcome-fs-mobile);
  }
  #ny-circle-tooltip .ny-tooltip-close {
    width: 24px;
    height: 24px;
    font-size: 20px;
    top: -30px;
    left: 0;
  }
}
body.ny-chatbot-sidebar-mode {
  overflow-x: hidden;
}
body.ny-chatbot-sidebar-mode.ny-sidebar-right {
  margin-right: 0;
  transition: margin-right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.ny-chatbot-sidebar-mode.ny-sidebar-right.ny-sidebar-open {
  margin-right: 420px;
}
body.ny-chatbot-sidebar-mode.ny-sidebar-left {
  margin-left: 0;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
body.ny-chatbot-sidebar-mode.ny-sidebar-left.ny-sidebar-open {
  margin-left: 420px;
}
body.ny-chatbot-sidebar-mode #ny-chatbot-container {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 420px;
  max-width: 420px;
  height: auto;
  border-radius: 0;
  margin: 0;
  box-shadow: -8px 0 32px 0 rgb(0 0 0 / 0.35);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100001;
  display: flex;
  flex-direction: column;
}
body.ny-chatbot-sidebar-mode.ny-sidebar-right #ny-chatbot-container {
  right: 0;
  left: auto;
  transform: translateX(0);
}
body.ny-chatbot-sidebar-mode.ny-sidebar-left #ny-chatbot-container {
  left: 0;
  right: auto;
  transform: translateX(0);
  box-shadow: 8px 0 32px 0 rgb(0 0 0 / 0.35);
}
body.ny-chatbot-sidebar-mode.ny-sidebar-right
  #ny-chatbot-container:not(.ny-sidebar-open) {
  transform: translateX(100%);
}
body.ny-chatbot-sidebar-mode.ny-sidebar-left
  #ny-chatbot-container:not(.ny-sidebar-open) {
  transform: translateX(-100%);
}
body.ny-chatbot-sidebar-mode #ny-chatbot-header {
  flex-shrink: 0;
}
body.ny-chatbot-sidebar-mode #ny-chat-messages {
  flex: 1;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
}
body.ny-chatbot-sidebar-mode #ny-quick-replies {
  flex-shrink: 0;
  max-height: 150px;
  overflow-y: auto;
  position: relative;
  bottom: auto;
  padding: 0.8em 1.5em;
}
body.ny-chatbot-sidebar-mode #ny-chat-form {
  flex-shrink: 0;
}
@media (max-width: 600px) {
  body.ny-chatbot-sidebar-mode.ny-sidebar-right.ny-sidebar-open {
    margin-right: 0;
  }
  body.ny-chatbot-sidebar-mode.ny-sidebar-left.ny-sidebar-open {
    margin-left: 0;
  }
  body.ny-chatbot-sidebar-mode.ny-sidebar-left,
  body.ny-chatbot-sidebar-mode.ny-sidebar-right {
    transition: none !important;
  }
  body.ny-chatbot-sidebar-mode #ny-chatbot-container {
    left: 0 !important;
    right: 0 !important;
    width: 100vw;
    max-width: 100vw;
    top: 0;
    bottom: 0;
    height: auto;
    transition: none !important;
    transform: none !important;
  }
  body.ny-chatbot-sidebar-mode.ny-sidebar-left
    #ny-chatbot-container:not(.ny-sidebar-open),
  body.ny-chatbot-sidebar-mode.ny-sidebar-right
    #ny-chatbot-container:not(.ny-sidebar-open) {
    transform: none !important;
  }
  @supports (height: 100dvh) {
    body.ny-chatbot-sidebar-mode #ny-chatbot-container {
      height: 100dvh;
      bottom: auto;
    }
  }
  @supports (height: -webkit-fill-available) {
    body.ny-chatbot-sidebar-mode #ny-chatbot-container {
      height: -webkit-fill-available;
      bottom: auto;
    }
  }
}
#ny-chatbot-container .ny-chat-error {
  padding: 1.5em 1.6em;
  font-size: 0.8em;
  line-height: 1.5em;
  text-align: center;
}
#ny-chatbot-container .ny-chat-error p {
  margin: 0;
}
#ny-chatbot-container .ny-similar-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
  direction: rtl;
}
#ny-chatbot-container .ny-similar-questions .ny-similar-question-item {
  all: unset;
  display: inline-block;
  padding: 7px 13px;
  background: var(--ny-bot-msg-bg);
  border-radius: 8px;
  cursor: pointer;
  transition: opacity 0.2s ease;
  font-size: 0.84em;
  line-height: 1.5;
  color: var(--ny-bot-msg-text);
  direction: rtl;
  text-align: right;
  font-family: inherit;
  box-sizing: border-box;
  opacity: 0.85;
}
#ny-chatbot-container .ny-similar-questions .ny-similar-question-item:hover {
  opacity: 1;
}
@media (max-width: 600px) {
  #ny-chatbot-container .ny-similar-questions {
    gap: 6px;
  }
  #ny-chatbot-container .ny-similar-questions .ny-similar-question-item {
    font-size: 0.85em;
    padding: 8px 12px;
  }
}
#ny-chatbot-container .ny-bot-message.ny-streaming,
#ny-chatbot-container .ny-bot-message.ny-stream-done {
  animation: ny-stream-fade-in 320ms ease-out both;
}
#ny-chatbot-container .ny-bot-message.ny-streaming .ny-message-content {
  display: block;
  line-height: 1.9;
  text-align: right;
  direction: rtl;
  white-space: normal;
  overflow-wrap: anywhere;
  unicode-bidi: isolate;
}
#ny-chatbot-container .ny-bot-message.ny-streaming .ny-stream-text {
  display: inline;
  direction: rtl;
  text-align: right;
  unicode-bidi: plaintext;
}
#ny-chatbot-container .ny-bot-message.ny-streaming .ny-stream-text * {
  direction: inherit;
  text-align: inherit;
}
#ny-chatbot-container .ny-bot-message.ny-stream-done .ny-message-meta {
  animation: ny-meta-fade-in 200ms ease both;
}
@keyframes ny-stream-fade-in {
  from {
    opacity: 0;
    transform: translateY(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes ny-meta-fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

#ny-chatbot-container .ny-bot-actions-below {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 4px 6px 8px 6px;
  justify-content: flex-end;
  opacity: 0;
  animation: ny-bot-actions-in 220ms ease 180ms forwards;
}
#ny-chatbot-container .ny-bot-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  font-family: inherit;
  line-height: 1;
  color: #6b7280;
  background: rgba(0, 0, 0, 0.035);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 50%;
  cursor: pointer;
  transition: background 220ms cubic-bezier(0.4, 0, 0.2, 1),
    color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    border-color 220ms cubic-bezier(0.4, 0, 0.2, 1),
    transform 220ms cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 220ms cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
#ny-chatbot-container .ny-bot-action:hover {
  color: var(--ny-primary-color, #1a73e8);
  background: rgba(26, 115, 232, 0.10);
  border-color: rgba(26, 115, 232, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.18),
    0 1px 3px rgba(0, 0, 0, 0.04);
}
#ny-chatbot-container .ny-bot-action[data-ny-action="regenerate"]:hover svg {
  transform: rotate(180deg);
}
#ny-chatbot-container .ny-bot-action svg {
  transition: transform 0.5s ease;
}
#ny-chatbot-container .ny-bot-action:active {
  transform: translateY(0) scale(0.94);
  box-shadow: 0 1px 3px rgba(26, 115, 232, 0.22) inset;
}
#ny-chatbot-container .ny-bot-action:focus-visible {
  outline: 2px solid var(--ny-primary-color, #1a73e8);
  outline-offset: 2px;
}
#ny-chatbot-container .ny-bot-action[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}
#ny-chatbot-container .ny-bot-action svg {
  width: 14px;
  height: 14px;
  display: block;
}
@keyframes ny-bot-actions-in {
  from { opacity: 0; transform: translateY(2px); }
  to   { opacity: 1; transform: translateY(0); }
}

body.ny-chatbot-fullscreen-mode {
  overflow: hidden;
}
body.ny-chatbot-fullscreen-mode #ny-chatbot-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  max-width: none;
  max-height: none;
  border-radius: 0;
  margin: 0;
  box-shadow: none;
  z-index: 100001;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease;
}
@supports (height: 100dvh) {
  body.ny-chatbot-fullscreen-mode #ny-chatbot-container {
    height: 100dvh;
  }
}
body.ny-chatbot-fullscreen-mode #ny-chatbot-header {
  flex-shrink: 0;
}
body.ny-chatbot-fullscreen-mode #ny-chat-messages {
  flex: 1;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
}
body.ny-chatbot-fullscreen-mode #ny-quick-replies {
  flex-shrink: 0;
  max-height: 150px;
  overflow-y: auto;
  position: relative;
  bottom: auto;
  padding: 0.8em 1.5em;
}
body.ny-chatbot-fullscreen-mode #ny-chat-form {
  flex-shrink: 0;
}
body.ny-chatbot-shortcode-mode #ny-chatbot-open-btn,
body.ny-chatbot-shortcode-mode #ny-circle-tooltip {
  display: none !important;
}
body.ny-chatbot-shortcode-mode #ny-chatbot-container {
  position: relative;
  display: flex !important;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  height: 600px;
  border-radius: 12px;
  margin: 0;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1);
  z-index: auto;
  inset: auto;
}
body.ny-chatbot-shortcode-mode #ny-chatbot-container #ny-chatbot-close-btn {
  display: none !important;
}
body.ny-chatbot-shortcode-mode #ny-chatbot-header {
  flex-shrink: 0;
}
body.ny-chatbot-shortcode-mode #ny-chat-messages {
  flex: 1;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
}
body.ny-chatbot-shortcode-mode #ny-quick-replies {
  flex-shrink: 0;
  max-height: 150px;
  overflow-y: auto;
  position: relative;
  bottom: auto;
  padding: 0.8em 1.5em;
}
body.ny-chatbot-shortcode-mode #ny-chat-form {
  flex-shrink: 0;
}
#ny-chatbot-container.ny-layout-bubble #ny-chat-messages {
  display: flex;
  flex-direction: column;
  align-items: stretch;
}
#ny-chatbot-container.ny-layout-bubble .ny-user-message {
  align-self: flex-start;
  max-width: 80%;
  width: auto;
  margin: 0.4em 0;
  border-radius: 1em 1em 0 1em;
  text-align: right;
  direction: rtl;
  word-break: break-word;
}
#ny-chatbot-container.ny-layout-bubble .ny-bot-message {
  align-self: flex-end;
  max-width: 80%;
  width: auto;
  margin: 0.4em 0;
  border-radius: 1em 1em 1em 0;
  text-align: right;
  direction: rtl;
  overflow: visible;
  word-break: break-word;
}
#ny-chatbot-container.ny-layout-bubble .ny-bot-message:has(.ny-order-card),
#ny-chatbot-container.ny-layout-bubble .ny-bot-message:has(.ny-order-list),
#ny-chatbot-container.ny-layout-bubble .ny-bot-message:has(.ny-orders-container),
#ny-chatbot-container.ny-layout-bubble .ny-bot-message:has(.ny-order-details),
#ny-chatbot-container.ny-layout-bubble
  .ny-bot-message:has(.ny-order-track-form),
#ny-chatbot-container.ny-layout-bubble .ny-bot-message:has(.ny-products-grid) {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}
#ny-chatbot-container.ny-layout-bubble .ny-order-actions-below {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}
#ny-chatbot-container.ny-layout-bubble .ny-bot-actions-below {
  align-self: flex-end;
  width: auto;
  max-width: 80%;
  justify-content: flex-end;
  margin: 2px 0 6px 0;
}
#ny-chatbot-container.ny-layout-bubble .ny-bot-message .ny-message-content,
#ny-chatbot-container.ny-layout-bubble .ny-user-message .ny-message-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}
#ny-chatbot-container.ny-layout-bubble .ny-bot-message img,
#ny-chatbot-container.ny-layout-bubble .ny-user-message img {
  max-width: 100%;
  height: auto;
}
#ny-chatbot-container.ny-layout-bubble .ny-chat-error,
#ny-chatbot-container.ny-layout-bubble .ny-date-separator {
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}
#ny-chatbot-container.ny-layout-bubble .ny-typing-indicator {
  align-self: flex-end;
  max-width: 80%;
  width: auto;
}
#ny-chatbot-container.ny-layout-bubble .ny-user-message .ny-message-meta {
  justify-content: flex-start;
}
#ny-chatbot-container.ny-layout-bubble .ny-bot-message .ny-message-meta {
  justify-content: flex-start;
}
@media (max-width: 480px) {
  #ny-chatbot-container.ny-layout-bubble .ny-bot-message,
  #ny-chatbot-container.ny-layout-bubble .ny-user-message {
    max-width: 92%;
  }
}
#ny-chatbot-container .ny-qr-item.ny-qr-disabled,
#ny-chatbot-container .ny-qr-item[disabled],
#ny-chatbot-container button.ny-qr-item.ny-qr-disabled,
#ny-chatbot-container button.ny-qr-item[disabled] {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
