.hgw-shark {
  position: fixed;
  z-index: 999999999;
  direction: rtl;
  font-family: Polin, Arial, sans-serif;
  right: 12px;
  bottom: -40px;
}

button.hgw-shark__launcher {
  gap: 8px;
  font-family: Polin, Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 5px 20px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, rgba(184, 133, 3, 1) 10%, rgba(93, 68, 6, 1) 100%)
      border-box;
  border: 4px solid transparent;
  border-radius: 50px;
  transition: background 0.3s ease;
  text-decoration: none;
  color: black !important;
  font-weight: 600;
  line-height: 1.4;
  overflow: visible;
  bottom: 30vh;
  right: 40px;
  transform: rotate(-90deg);
  transform-origin: right center;
  white-space: nowrap;
  position: fixed;
}

button.hgw-shark__launcher:focus,
button.hgw-shark__close:focus,
button.hgw-shark__copy-chat:focus,
button.hgw-shark__start:focus,
button.hgw-shark__composer-send:focus,
button.hgw-shark__choice:focus,
button.hgw-shark__coupon:focus,
button.hgw-shark__add-product:focus,
button.hgw-shark__view-product:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.hgw-shark__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #b88114;
}

.hgw-shark__panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: min(380px, calc(100vw - 28px));
  height: min(680px, calc(100vh - 40px));
  max-height: calc(100vh - 40px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid #ded8cd;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}
.hgw-shark__panel[hidden] {
  display: none;
}

.hgw-shark__panel header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  background: #111;
  color: #fff;
}

.hgw-shark__panel header div {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 2px;
}
.hgw-shark__panel small {
  color: #a46e09;
  font-size: 11px;
}

button.hgw-shark__close {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  padding: 0;
}

button.hgw-shark__close:hover,
button.hgw-shark__close:focus {
  background: #b88114;
  color: #111;
}

button.hgw-shark__copy-chat,
button.hgw-shark__reset {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 0;
}

button.hgw-shark__copy-chat:hover,
button.hgw-shark__copy-chat:focus,
button.hgw-shark__reset:hover,
button.hgw-shark__reset:focus,
button.hgw-shark__copy-chat.is-copied {
  background: #b88114;
  color: #111;
}

.hgw-shark__messages {
  display: flex;
  flex: 1;
  min-height: 0;
  flex-direction: column;
  gap: 14px;
  overflow: auto;
  padding: 18px;
  background: #f8f6f2;
}

.hgw-shark__message {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  max-width: 86%;
  padding: 10px 12px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-line;
  animation: hgw-shark-message-fade-up 0.5s ease both;
}
@keyframes hgw-shark-message-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hgw-shark__message-avatar {
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  object-fit: cover;
  background: #b88114;
}
.hgw-shark__message-text {
  min-width: 0;
  flex: 1;
}
.hgw-shark__message--assistant {
  align-self: flex-start;
  border: 1px solid #e8e1d5;
  background: #fff;
}
.hgw-shark__message--user {
  align-self: flex-end;
  background: #b8811410;
  color: #111;
  font-weight: 200;
  border: 1px solid #b88114;
}

.hgw-shark__thinking {
  display: flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 10px 12px;
  border: 1px solid #e8e1d5;
  border-radius: 12px;
  background: #fff;
  color: #6d5c3a;
  font-size: 13px;
}
.hgw-shark__thinking-dots {
  display: inline-flex;
  gap: 3px;
}
.hgw-shark__thinking-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #b88114;
  animation: hgw-shark-thinking 1s infinite ease-in-out;
}
.hgw-shark__thinking-dots i:nth-child(2) {
  animation-delay: 0.15s;
}
.hgw-shark__thinking-dots i:nth-child(3) {
  animation-delay: 0.3s;
}
@keyframes hgw-shark-thinking {
  0%,
  100% {
    opacity: 0.25;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(-3px);
  }
}
.hgw-shark__composer {
  font-size: 12px;
  min-height: 80px;
}
.hgw-shark__consent {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-top: 1px solid #eee;
  font-size: 14px;
}
.hgw-shark__consent label {
  display: flex;
  align-items: center;
}

button.hgw-shark__start,
button.hgw-shark__composer-send,
button.hgw-shark__choice,
button.hgw-shark__coupon {
  min-height: 38px;
  padding: 8px 12px;
  border: 0;
  border-radius: 8px;
  background: #b88114;
  color: #111;
  font-size: 13px;
  cursor: pointer;
}

button.hgw-shark__start:hover,
button.hgw-shark__start:focus,
button.hgw-shark__composer-send:hover,
button.hgw-shark__composer-send:focus,
button.hgw-shark__coupon:hover,
button.hgw-shark__coupon:focus {
  background: #111;
  color: #fff;
}

button.hgw-shark__choice {
  border: 1px solid #b88114;
  background: #fff;
}
button.hgw-shark__choice--with-image {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
button.hgw-shark__choice--with-image img,
.hgw-shark__suggestion-choice img {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 6px;
  object-fit: contain;
  background: #fff;
}
button.hgw-shark__choice:hover,
button.hgw-shark__choice:focus {
  background: #b88114;
  color: #111;
}
button.hgw-shark__choice--mix {
  width: 100%;
  grid-column: 1 / -1;
  justify-content: center;
  text-align: center;
  border-color: transparent;
  background: linear-gradient(110deg, #ef476f 0%, #f7b801 48%, #06d6a0 100%);
  color: #111;
  font-weight: 700;
}
button.hgw-shark__choice--mix:hover,
button.hgw-shark__choice--mix:focus {
  background: linear-gradient(110deg, #c9184a 0%, #d99200 48%, #049b77 100%);
  color: #fff;
}

button.chat-button {
  padding: 4px 32px;
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(90deg, rgba(184, 133, 3, 1) 10%, rgba(0, 0, 0, 1) 100%)
      border-box;
  border: 4px solid transparent;
  background-size: 200% 200%;
  border-radius: 50px;
  transition: background 0.3s ease;
  font-weight: 600;
  line-height: 1.4;
  overflow: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
button.hgw-shark__start:disabled,
button.hgw-shark__coupon:disabled,
button.hgw-shark__composer-send:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
button.hgw-shark__start:disabled:hover,
button.hgw-shark__start:disabled:focus,
button.hgw-shark__coupon:disabled:hover,
button.hgw-shark__coupon:disabled:focus,
button.hgw-shark__composer-send:disabled:hover,
button.hgw-shark__composer-send:disabled:focus {
  background: #b88114;
  color: #111;
}

.hgw-shark__composer {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 10px;
  border-top: 1px solid #eee;
}
.hgw-shark__composer .hgw-shark__recommendation-feedback {
  width: 100%;
  margin: 0;
  padding: 2px 0;
}
.hgw-shark__composer-note {
  width: 100%;
  color: #777;
  font-size: 10px;
  line-height: 1.35;
  text-align: center;
}
.hgw-shark__composer > [hidden] {
  display: none !important;
}
.hgw-shark__composer[hidden] {
  display: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.hgw-shark__composer input {
  min-width: 0;
  flex: 1;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  font: inherit;
}
button.hgw-shark__composer-send {
  display: grid;
  width: 54px;
  place-items: center;
  padding: 0;
  font-size: 20px;
}
button.hgw-shark__composer-send.hgw-shark__composer-send--mix {
  width: 88px;
  font-size: 14px;
  white-space: nowrap;
}
.hgw-shark__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.hgw-shark__choices--initial button.hgw-shark__choice {
  animation: hgw-shark-choice-fade-up 0.5s ease both;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(1) {
  animation-delay: 0s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(2) {
  animation-delay: 0.3s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(3) {
  animation-delay: 0.6s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(4) {
  animation-delay: 0.9s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(5) {
  animation-delay: 1.2s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(6) {
  animation-delay: 1.5s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(7) {
  animation-delay: 1.8s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(8) {
  animation-delay: 2.1s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(9) {
  animation-delay: 2.4s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(10) {
  animation-delay: 2.7s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(11) {
  animation-delay: 3s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(12) {
  animation-delay: 3.3s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(13) {
  animation-delay: 3.6s;
}
.hgw-shark__choices--initial button.hgw-shark__choice:nth-child(14) {
  animation-delay: 3.9s;
}
@keyframes hgw-shark-choice-fade-up {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hgw-shark__products {
  display: grid;
  gap: 7px;
}
.hgw-shark__recommendation-feedback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin-top: 2px;
}
.hgw-shark__feedback-question {
  flex: 0 1 auto;
  color: #6d5c3a;
  font-size: 13px;
  line-height: 1.4;
}
.hgw-shark__feedback-note {
  display: flex;
  align-items: center;
  flex: 0 0 100%;
  gap: 8px;
  color: #6d5c3a;
  font-size: 12px;
  line-height: 1.45;
}
.hgw-shark__feedback-note img {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}
.hgw-shark__mix-feedback-question {
  align-self: center;
  margin-inline-end: 4px;
  color: #6d5c3a;
  font-size: 12px;
}
button.hgw-shark__recommendation-rating {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d8cbb3;
  border-radius: 50%;
  background: #fff;
  color: #6d5c3a;
  cursor: pointer;
}
button.hgw-shark__recommendation-rating:hover,
button.hgw-shark__recommendation-rating:focus,
button.hgw-shark__recommendation-rating.is-selected {
  background: #b88114;
  color: #111;
}
button.hgw-shark__suggestion-choice.is-selected,
button.hgw-shark__suggestion-choice.is-selected:hover,
button.hgw-shark__suggestion-choice.is-selected:focus {
  background: #111;
  color: #fff;
}
button.hgw-shark__recommendation-rating:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}
button.hgw-shark__recommendation-rating:disabled {
  cursor: default;
}
.hgw-shark__product {
  display: grid;
  gap: 8px;
  padding: 8px;
  border: 1px solid #e8e1d5;
  border-radius: 9px;
  background: #fff;
}
.hgw-shark__product--reveal {
  animation: hgw-shark-product-fade-up 0.45s ease both;
}
@keyframes hgw-shark-product-fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hgw-shark__product-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px;
  align-items: stretch;
  min-width: 0;
  gap: 8px;
  direction: ltr;
}
.hgw-shark__product-main > img {
  grid-column: 2;
  width: 76px;
  height: 76px;
  object-fit: contain;
}
.hgw-shark__product-content {
  grid-column: 1;
  display: grid;
  min-width: 0;
  flex: 1;
  gap: 2px;
  align-content: start;
  direction: rtl;
}
.hgw-shark__product-title {
  width: 100%;
  color: #161616;
  font-size: 12px;
  line-height: 1.35;
}
.hgw-shark__product-sale {
  display: inline-flex;
  align-self: start;
  width: fit-content;
  margin-top: 2px;
  padding: 3px 7px;
  border: 1px solid #b88414;
  border-radius: 5px;
  background: #fff4cf;
  color: #805b08;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}
.hgw-shark__product-content em {
  color: #6d5c3a;
  font-size: 11px;
  font-style: normal;
}
.hgw-shark__product-row {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 1fr);
  align-items: center;
  gap: 7px;
}
.hgw-shark__product-price {
  display: block;
  overflow: hidden;
  color: #a46e09;
  font-size: 11px;
  font-weight: 700;
  text-align: left;
  white-space: nowrap;
}
.hgw-shark__product-price .woocommerce-Price-amount,
.hgw-shark__product-price bdi {
  white-space: nowrap;
}
.hgw-shark__product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
button.hgw-shark__add-product,
button.hgw-shark__view-product {
  min-height: 28px;
  border: 0;
  border-radius: 7px;
  background: #111;
  color: #fff;
  font-size: 11px;
  cursor: pointer;
  padding: 0px;
}
button.hgw-shark__add-product:hover,
button.hgw-shark__add-product:focus {
  background: #b88114;
  color: #111;
}
button.hgw-shark__view-product {
  border: 1px solid #b88114;
  background: #fff;
  color: #161616;
}
button.hgw-shark__view-product:hover,
button.hgw-shark__view-product:focus {
  background: #b88114;
  color: #111;
}
button.hgw-shark__add-product:focus,
button.hgw-shark__view-product:focus {
  outline: 2px solid #111;
  outline-offset: 2px;
}
button.hgw-shark__add-product:disabled,
button.hgw-shark__add-product:disabled:hover,
button.hgw-shark__add-product:disabled:focus {
  background: #111;
  color: #fff;
  cursor: not-allowed;
  opacity: 0.55;
}
.hgw-shark__coupon {
  align-self: flex-start;
}

input.hgw-shark__consent-check {
  width: 18px;
  height: 18px;
}

@media (max-width: 782px) {
  .hgw-shark {
    right: 12px;
    bottom: 12px;
  }
  .hgw-shark__panel {
    position: fixed;
    top: 5vh;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100vw;
    height: 95vh;
    height: 95dvh;
    max-height: none;
    border-radius: 0;
  }
  button.hgw-shark__launcher {
    transform: rotate(90deg);
    bottom: 10vh;
    right: auto;
    left: -140px;
    font-size: 13px;
    padding: 2px 10px;
    border: 2px solid transparent;
  }
}
.hgw-recaptcha-widget {
  position: fixed;
  width: 1px;
  height: 1px;
  border: 0;
  opacity: 0;
  pointer-events: none;
  inset: auto 0 0 auto;
}
