.double11-promo[hidden] { display: none; }
.double11-promo {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  padding: 20px;
}
.double11-promo__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 5, 8, .72);
  backdrop-filter: blur(5px);
}
.double11-promo__dialog {
  position: relative;
  width: min(900px, 100%);
  max-height: calc(100dvh - 40px);
  border: 2px solid rgba(255, 220, 129, .75);
  border-radius: 18px;
  background: #8b122a;
  box-shadow: 0 25px 80px rgba(0, 0, 0, .55), 0 0 45px rgba(255, 160, 65, .3);
  animation: double11-enter .55s cubic-bezier(.18, 1.3, .3, 1) both;
}
.double11-promo__link {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  color: #fff;
  text-decoration: none;
}
.double11-promo__link img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100dvh - 135px);
  object-fit: contain;
  animation: double11-breathe 3.6s ease-in-out .6s infinite;
}
.double11-promo__action {
  display: block;
  padding: 12px 22px;
  background: linear-gradient(90deg, #8b122a, #bc1932, #8b122a);
  color: #fff6d4;
  font: 700 18px/1.4 system-ui, sans-serif;
  text-align: center;
}
.double11-promo__link:hover .double11-promo__action,
.double11-promo__link:focus-visible .double11-promo__action { background: #ad1732; }
.double11-promo__close {
  position: absolute;
  z-index: 1;
  top: -17px;
  right: -17px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #8b122a;
  color: #fff;
  font: 28px/1 Arial, sans-serif;
  cursor: pointer;
}
@keyframes double11-enter {
  from { opacity: 0; transform: scale(.72); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes double11-breathe {
  50% { transform: scale(1.025); }
}
@media (max-width: 600px) {
  .double11-promo { padding: 22px; }
  .double11-promo__dialog { max-height: calc(100dvh - 44px); }
  .double11-promo__action { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .double11-promo__dialog,
  .double11-promo__link img { animation: none; }
}

.double11-promo--mini {
  inset: auto 24px 24px auto;
  display: block;
  width: min(310px, calc(100vw - 36px));
  padding: 0;
}
.double11-promo--mini .double11-promo__backdrop { opacity: 0; pointer-events: none; }
.double11-promo--mini .double11-promo__dialog { width: 100%; box-shadow: 0 12px 35px rgba(0,0,0,.38); animation: none; }
.double11-promo--mini .double11-promo__link img { max-height: none; animation: none; }
.double11-promo--mini .double11-promo__action { padding: 6px 8px; font-size: 13px; }
.double11-promo--mini .double11-promo__close { top: -12px; right: -12px; width: 28px; height: 28px; font-size: 20px; }
@media (max-width: 600px) {
  .double11-promo--mini { right: 16px; bottom: 16px; width: min(220px, calc(100vw - 32px)); padding: 0; }
  .double11-promo--mini .double11-promo__action { font-size: 12px; }
}
