.pcrobot-upsell-notify {
  position: fixed;
  z-index: 1035;
  width: min(284px, calc(100vw - 20px));
  pointer-events: none;
  font-family: inherit;
}

.pcrobot-upsell-notify--left-bottom {
  left: 12px;
  bottom: 76px;
}

.pcrobot-upsell-notify__card {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
  padding: 15px 52px 15px 17px;
  border: 1px solid rgba(24, 31, 37, 0.12);
  border-radius: var(--pcrobot-radius, 12px);
  background: var(--pcrobot-bg, #fff);
  box-shadow: 0 12px 32px rgba(20, 27, 33, 0.16);
  color: var(--pcrobot-text, #202327);
  font-family: inherit;
  opacity: 0;
  transform: translate3d(-10px, 8px, 0);
  transition: opacity 200ms ease, transform 200ms ease;
  pointer-events: auto;
}

.pcrobot-upsell-notify__card::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: var(--pcrobot-accent, #5bb112);
  content: "";
}

.pcrobot-upsell-notify__card::after {
  position: absolute;
  top: -42px;
  right: -36px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--pcrobot-accent, #5bb112);
  content: "";
  opacity: 0.08;
  pointer-events: none;
}

.pcrobot-upsell-notify__card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.pcrobot-upsell-notify__card.is-leaving {
  opacity: 0;
  transform: translate3d(-8px, 4px, 0);
}

.pcrobot-upsell-notify__card--checkout {
  box-shadow: 0 10px 26px rgba(20, 27, 33, 0.13);
}

.pcrobot-upsell-notify__card--product-social {
  width: 100%;
  min-height: 64px;
  padding: 7px 31px 7px 8px;
  box-shadow: 0 6px 18px rgba(20, 27, 33, 0.13);
}

.pcrobot-upsell-notify__card--product-social::after {
  display: none;
}

.pcrobot-upsell-notify__product {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.pcrobot-upsell-notify__product--no-image {
  grid-template-columns: minmax(0, 1fr);
}

.pcrobot-upsell-notify__product-image-wrap {
  display: block;
  width: 44px;
  height: 44px;
  overflow: hidden;
  border: 1px solid rgba(24, 31, 37, 0.1);
  border-radius: 7px;
  background: #fff;
}

.pcrobot-upsell-notify__product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pcrobot-upsell-notify__product-content {
  min-width: 0;
}

.pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__badge {
  display: none;
  min-height: 14px;
  max-width: 100%;
  margin: 0 0 2px;
  padding: 0 5px;
  overflow: hidden;
  font-size: 7.75px;
  letter-spacing: 0.045em;
  line-height: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__badge::before {
  width: 4px;
  height: 4px;
  margin-right: 4px;
}

.pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__title {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 2px;
  font-size: 12.5px;
  line-height: 1.2;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__text {
  display: -webkit-box;
  overflow: hidden;
  font-size: 10.5px;
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

a.pcrobot-upsell-notify__product .pcrobot-upsell-notify__title {
  transition: color 160ms ease;
}

a.pcrobot-upsell-notify__product:hover,
a.pcrobot-upsell-notify__product:focus {
  color: inherit;
  text-decoration: none;
}

a.pcrobot-upsell-notify__product:hover .pcrobot-upsell-notify__title {
  color: var(--pcrobot-accent, #5bb112);
}

.pcrobot-upsell-notify__badge {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  margin: 0 0 7px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(91, 177, 18, 0.12);
  color: var(--pcrobot-text, #202327);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 18px;
  text-transform: uppercase;
}

.pcrobot-upsell-notify__badge::before {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--pcrobot-accent, #5bb112);
  content: "";
  flex: 0 0 auto;
}

.pcrobot-upsell-notify__title {
  position: relative;
  z-index: 1;
  margin: 0 0 5px;
  color: var(--pcrobot-text, #202327);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.pcrobot-upsell-notify__text {
  position: relative;
  z-index: 1;
  color: var(--pcrobot-text, #202327);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  opacity: 0.82;
}

.pcrobot-upsell-notify__cta {
  position: relative;
  z-index: 1;
  min-height: 42px;
  margin: 12px 0 0;
  padding: 9px 14px;
  border: 0;
  border-radius: 9px;
  background: var(--pcrobot-accent, #5bb112);
  color: #102306;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.pcrobot-upsell-notify__cta:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.pcrobot-upsell-notify__close {
  position: absolute;
  z-index: 2;
  top: 4px;
  right: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pcrobot-text, #202327);
  font: inherit;
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.58;
  cursor: pointer;
  transition: background-color 160ms ease, opacity 160ms ease;
}

.pcrobot-upsell-notify__close:hover {
  background: rgba(20, 27, 33, 0.07);
  opacity: 0.9;
}

.pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__close {
  top: 2px;
  right: 2px;
  width: 28px;
  height: 28px;
  font-size: 17px;
}

.pcrobot-upsell-notify__cta:focus-visible,
.pcrobot-upsell-notify__close:focus-visible,
.pcrobot-upsell-notify__product:focus-visible {
  outline: 3px solid var(--pcrobot-accent, #5bb112) !important;
  outline-offset: 2px !important;
}

@media (max-width: 767px) {
  .pcrobot-upsell-notify--left-bottom {
    right: auto;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    left: 8px;
    width: min(270px, calc(100vw - 16px));
  }

  .pcrobot-upsell-notify__card {
    padding: 13px 50px 13px 15px;
    box-shadow: 0 9px 24px rgba(20, 27, 33, 0.15);
  }

  .pcrobot-upsell-notify__badge {
    min-height: 20px;
    margin-bottom: 5px;
    padding: 1px 7px;
    font-size: 9px;
  }

  .pcrobot-upsell-notify__title {
    font-size: 14px;
  }

  .pcrobot-upsell-notify__text {
    display: -webkit-box;
    overflow: hidden;
    font-size: 12px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .pcrobot-upsell-notify__card--product-social {
    width: 100%;
    min-height: 60px;
    padding: 6px 29px 6px 7px;
  }

  .pcrobot-upsell-notify__product {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 7px;
  }

  .pcrobot-upsell-notify__product--no-image {
    grid-template-columns: minmax(0, 1fr);
  }

  .pcrobot-upsell-notify__product-image-wrap {
    width: 42px;
    height: 42px;
  }

  .pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__badge {
    margin-bottom: 2px;
    font-size: 7.5px;
  }

  .pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__title {
    font-size: 12px;
  }

  .pcrobot-upsell-notify__card--product-social .pcrobot-upsell-notify__text {
    font-size: 10px;
    -webkit-line-clamp: 2;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pcrobot-upsell-notify__card,
  .pcrobot-upsell-notify__cta,
  .pcrobot-upsell-notify__close,
  a.pcrobot-upsell-notify__product .pcrobot-upsell-notify__title {
    transition: none;
  }

  .pcrobot-upsell-notify__card {
    transform: none;
  }
}

@media (forced-colors: active) {
  .pcrobot-upsell-notify__card {
    border: 2px solid CanvasText;
  }

  .pcrobot-upsell-notify__card::before,
  .pcrobot-upsell-notify__card::after {
    display: none;
  }
}
