.holiday-offer {
  --offer-ink: #211a2c;
  --offer-red: #ed001b;
  --offer-red-dark: #bd0016;
  position: fixed;
  inset: auto;
  top: 50%;
  left: 50%;
  width: min(900px, calc(100vw - 32px), calc((100dvh - 190px) * 1.91));
  max-width: 900px;
  max-height: calc(100dvh - 32px);
  margin: 0;
  padding: 0;
  overflow: hidden;
  scrollbar-width: none;
  box-sizing: border-box;
  border: 1px solid rgba(189, 0, 22, 0.18);
  border-radius: 18px;
  color: var(--offer-ink);
  background: #fff;
  box-shadow: 0 26px 90px rgba(19, 12, 32, 0.32);
}

.holiday-offer::backdrop {
  background: rgba(24, 17, 34, 0.7);
  backdrop-filter: blur(4px);
}

.holiday-offer[open] {
  animation: holiday-offer-in 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.holiday-offer::-webkit-scrollbar { display: none; }

.holiday-offer__artwork {
  display: block;
  line-height: 0;
}

.holiday-offer__artwork img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 160px);
  aspect-ratio: 1200 / 628;
  object-fit: contain;
}

.holiday-offer__close {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(237, 0, 27, 0.45);
  border-radius: 50%;
  color: #211a2c;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 3px 16px rgba(0, 0, 0, 0.15);
  font: inherit;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.holiday-offer__close:focus-visible,
.holiday-offer__cta:focus-visible {
  outline: 3px solid var(--offer-red);
  outline-offset: 3px;
}

.holiday-offer__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  padding: 22px 26px 24px;
}

.holiday-offer__content > div { min-width: 0; }

.holiday-offer__content h2 {
  margin: 0 0 5px;
  color: var(--offer-ink);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  line-height: 1.2;
}

.holiday-offer__content p {
  margin: 0;
  color: #51495d;
  font-size: 0.96rem;
  line-height: 1.5;
}

.holiday-offer__content strong {
  color: var(--offer-ink);
}

.holiday-offer__cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--offer-red);
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.holiday-offer__cta:hover {
  color: #fff;
  background: var(--offer-red-dark);
  transform: translateY(-1px);
}

.holiday-offer__confetti {
  position: fixed;
  z-index: 3;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

@keyframes holiday-offer-in {
  from { opacity: 0; transform: translate(-50%, calc(-50% + 14px)) scale(0.975); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@media (max-width: 620px) {
  .holiday-offer {
    width: min(calc(100vw - 24px), calc((100dvh - 190px) * 1.91));
    max-height: calc(100dvh - 24px);
    border-radius: 14px;
  }

  .holiday-offer__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 17px 18px 19px;
  }

  .holiday-offer__content p { font-size: 0.9rem; }
  .holiday-offer__cta { width: 100%; }
  .holiday-offer__close { top: 7px; right: 7px; width: 38px; height: 38px; }
}

@media (max-height: 560px) {
  .holiday-offer__artwork img { max-height: calc(100dvh - 175px); }
  .holiday-offer__content { gap: 12px; padding-top: 12px; padding-bottom: 12px; }
  .holiday-offer__content p { font-size: 0.85rem; }
}

@media (prefers-reduced-motion: reduce) {
  .holiday-offer[open] { animation: none; }
  .holiday-offer__cta { transition: none; }
}
