.swth-rs {
  --swth-rs-bg: var(--swth-recent-sales-bg, #ffffff);
  --swth-rs-text: var(--swth-recent-sales-text, #111111);
  --swth-rs-border: var(--swth-recent-sales-border, #deded8);
  --swth-rs-radius: var(--swth-recent-sales-radius, 0px);
  position: fixed;
  bottom: calc(var(--swth-sticky-product-bar-offset, 0px) + max(16px, env(safe-area-inset-bottom, 0px)));
  z-index: 99990;
  display: flex;
  align-items: center;
  gap: 18px;
  box-sizing: border-box;
  width: 420px;
  max-width: calc(100vw - 32px);
  padding: 20px 44px 20px 20px;
  color: var(--swth-rs-text);
  background: var(--swth-rs-bg);
  border: 1px solid var(--swth-rs-border);
  border-radius: var(--swth-rs-radius);
  font-family: inherit;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s ease;
}
.swth-rs--left {
  left: 16px;
}
.swth-rs--right {
  right: 16px;
}
.swth-rs--right.swth-rs--clear-cart {
  bottom: calc(var(--swth-sticky-product-bar-offset, 0px) + max(88px, env(safe-area-inset-bottom, 0px)));
}
.swth-rs.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
.swth-rs__media {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--swth-rs-border);
}
.swth-rs__media[hidden] {
  display: none;
}
.swth-rs__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.swth-rs__content {
  flex: 1;
  min-width: 0;
}
.swth-rs__label {
  margin: 0 0 6px;
  font-family: var(--swth-rs-label-font, inherit);
  font-size: var(--swth-rs-label-size, 11px);
  font-weight: var(--swth-rs-label-weight, 400);
  line-height: 1.6;
  letter-spacing: var(--swth-rs-label-spacing, 1px);
  text-transform: var(--swth-rs-label-transform, uppercase);
  color: var(--swth-rs-label-color, inherit);
  opacity: 0.8;
}
.swth-rs__line {
  font-family: var(--swth-rs-line-font, inherit);
  font-size: var(--swth-rs-line-size, 14px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: var(--swth-rs-line-spacing, 0);
  text-transform: var(--swth-rs-line-transform, none);
  color: var(--swth-rs-line-color, inherit);
}
.swth-rs__product {
  font-family: var(--swth-rs-product-font, inherit);
  font-size: var(--swth-rs-product-size, 14px);
  font-weight: var(--swth-rs-product-weight, 400);
  line-height: 1.5;
  letter-spacing: var(--swth-rs-product-spacing, 0);
  text-transform: var(--swth-rs-product-transform, none);
  color: var(--swth-rs-product-color, inherit);
}
.swth-rs__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: 6px;
  margin-bottom: 2px;
}
.swth-rs__name,
.swth-rs__country {
  font-weight: var(--swth-rs-line-weight, 600);
}
.swth-rs__country:empty {
  display: none;
}
.swth-rs__country:not(:empty)::before {
  content: "\00b7";
  margin-right: 6px;
}
.swth-rs__product {
  display: -webkit-box;
  overflow: hidden;
  text-decoration: none;
  overflow-wrap: anywhere;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
/* Hovering the link only underlines it and may change its color: no theme link effect (weight, spacing, padding, movement) can resize the card. */
.swth-rs .swth-rs__product:hover,
.swth-rs .swth-rs__product:focus-visible {
  color: var(--swth-rs-product-hover-color, var(--swth-rs-product-color, inherit));
  font-weight: var(--swth-rs-product-weight, 400);
  letter-spacing: var(--swth-rs-product-spacing, 0);
  margin: 0;
  padding: 0;
  border: 0;
  transform: none;
  text-decoration: underline;
}
.swth-rs .swth-rs__product,
.swth-rs .swth-rs__media,
.swth-rs .swth-rs__media img {
  transition: color 0.2s ease;
}
.swth-rs:hover .swth-rs__media,
.swth-rs:hover .swth-rs__media img {
  transform: none;
  filter: none;
}
.swth-rs__close {
  position: absolute;
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.swth-rs__close::before,
.swth-rs__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 1px;
  background: currentColor;
  color: var(--swth-rs-text);
}
.swth-rs__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.swth-rs__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.swth-rs__close:hover,
.swth-rs__close:focus-visible {
  opacity: 1;
}
@media (max-width: 767px) {
  .swth-rs,
  .swth-rs--left,
  .swth-rs--right {
    left: 12px;
    right: 12px;
    width: auto;
    max-width: none;
    gap: 14px;
    padding: 16px 44px 16px 16px;
    bottom: calc(var(--swth-sticky-product-bar-offset, 0px) + max(12px, env(safe-area-inset-bottom, 0px)));
  }
  .swth-rs--clear-cart,
  .swth-rs--right.swth-rs--clear-cart {
    bottom: calc(var(--swth-sticky-product-bar-offset, 0px) + max(76px, env(safe-area-inset-bottom, 0px)));
  }
  .swth-rs--no-mobile {
    display: none;
  }
  .swth-rs__media {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
  .swth-rs__label {
    font-size: var(--swth-rs-label-size-mobile, 10px);
  }
  .swth-rs__line {
    font-size: var(--swth-rs-line-size-mobile, 13px);
  }
  .swth-rs__product {
    font-size: var(--swth-rs-product-size-mobile, 13px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .swth-rs {
    transform: none;
    transition: opacity 0.01s linear, visibility 0.01s linear;
  }
}
