.hw-widget {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 9999;
  overflow: visible;
}

.hw-widget.is-hidden {
  display: none;
}

.hw-widget__link {
  position: relative;
  display: block;
  text-decoration: none;
  overflow: visible;
}

.hw-widget__art {
  display: block;
  width: 220px;
  height: 80px;
  border-radius: 8px 0 0 8px;
  background: url("../../img/LPs/halloween-2026/widget-long-mobile.webp")
    center / cover no-repeat;
}

.hw-widget.is-shrunk .hw-widget__art {
  width: 116px;
  background-image: url("../../img/LPs/halloween-2026/widget-small-mobile.webp");
}

.hw-widget__text {
  position: absolute;
  z-index: 3;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  transition: opacity 0.5s ease;
  color: #fff;
  font-family: "Open Sans";
  font-size: 16px;
  line-height: 19px;
  max-width: 93px;
  font-weight: 700;
}

.hw-widget.is-collapsed .hw-widget__text {
  opacity: 0;
  pointer-events: none;
}

.hw-widget__deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  margin: 0;
  object-fit: contain;
}

.hw-widget__deco--pumpkin {
  z-index: 2;
  width: 86px;
  height: 84px;
  left: 2px;
  bottom: -12px;
}

.hw-widget__deco--hands {
  width: 132px;
  height: 99px;
  left: -22px;
  bottom: -18px;
}

.hw-widget__close {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 4;
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.hw-widget__close img {
  display: block;
  width: 14px;
  height: 14px;
  margin: 0;
}

@media (min-width: 769px) {
  .hw-widget__art {
    width: 230px;
    height: 160px;
    border-radius: 16px 0 0 16px;
    background-image: url("../../img/LPs/halloween-2026/widget-long-desktop.webp");
  }

  .hw-widget.is-shrunk .hw-widget__art {
    width: 160px;
    height: 160px;
    background-image: url("../../img/LPs/halloween-2026/widget-small-desktop.webp");
  }

  .hw-widget__text {
    top: 61px;
    right: 0px;
    left: 70px;
    transform: none;
    font-size: 18px;
    font-weight: 700;
    line-height: normal;
    padding: 0 24px;
    max-width: unset;
  }

  .hw-widget__deco--pumpkin {
    width: 104px;
    height: 100px;
    left: -2px;
    bottom: 5px;
  }

  .hw-widget__deco--hands {
    width: 164px;
    height: 123px;
    left: -33px;
    bottom: -10px;
  }
}
