.special-offer-dialog {
  width: min(820px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px);
  padding: 0; margin: auto; border: 1px solid #e9d8ca; border-radius: 26px;
  background: #fffbf5; color: #2b2222; box-shadow: 0 32px 120px #160c0c66;
  font-family: Inter, sans-serif; overflow: auto;
}
.special-offer-dialog[open] { display: grid; grid-template-columns: .85fr 1fr; animation: special-offer-enter 400ms ease-out; }
.special-offer-dialog::backdrop { background: #20151499; backdrop-filter: blur(5px); }
body:has(.special-offer-dialog[open]) { overflow: hidden; }
.special-offer-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border: 1px solid #dbc9c3; border-radius: 50%; background: #fffaf4; color: #54393c; font-size: 26px; line-height: 1; cursor: pointer; }
.special-offer-visual { position: relative; min-height: 440px; overflow: hidden; background: #62353d; color: #fff4e2; display: flex; flex-direction: column; justify-content: space-between; padding: 32px; }
.special-offer-visual img, .special-offer-visual-shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.special-offer-visual-shade { background: linear-gradient(180deg, #311e2055, #301c2177 35%, #36151bed); }
.special-offer-brand, .special-offer-savings { position: relative; z-index: 1; }
.special-offer-brand { font-size: 13px; font-weight: 700; letter-spacing: .19em; }
.special-offer-savings { display: grid; gap: 8px; }
.special-offer-savings strong { font-size: clamp(40px, 6vw, 68px); line-height: 1.1; letter-spacing: -.05em; }
.special-offer-savings span { font-size: 12px; letter-spacing: .06em; line-height: 1.5; }
.special-offer-copy { padding: 54px 36px 30px; }
.special-offer-eyebrow { display: flex; align-items: center; gap: 8px; color: #82424b; font-size: 10px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 18px; }
.special-offer-eyebrow span { width: 7px; height: 7px; border-radius: 50%; background: #a15b63; box-shadow: 0 0 0 4px #a15b6314; }
.special-offer-copy h2 { font-family: inherit; font-size: clamp(25px, 3vw, 34px); line-height: 1.18; letter-spacing: -.035em; margin: 0 0 16px; overflow-wrap: anywhere; }
.special-offer-description { color: #776a63; font-size: 13px; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 20px; }
.special-offer-prices { display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.special-offer-prices del { color: #954c50; font-size: 18px; }
.special-offer-prices strong { color: #245546; font-size: 32px; letter-spacing: -.04em; }
.special-offer-prices span { flex-basis: 100%; order: -1; color: #78665f; font-size: 11px; }
.special-offer-dates { border-top: 1px solid #e6d8ce; padding-top: 18px; font-size: 12px; color: #75655f; line-height: 1.8; margin: 0 0 22px; }
.special-offer-dates strong { color: #493333; font-weight: 600; }
.special-offer-book { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-radius: 12px; background: linear-gradient(115deg, #783e49, #a45f65); color: #fff9ef; text-decoration: none; font-size: 14px; font-weight: 700; transition: filter .2s; }
.special-offer-book:hover { filter: brightness(1.1); }
.special-offer-later { display: block; margin: 10px auto; padding: 10px 20px; background: none; border: 0; color: #77625e; font: inherit; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.special-offer-terms { margin: 12px 0 0; font-size: 10px; line-height: 1.6; color: #796860; }
.special-offer-dialog :focus-visible { outline: 3px solid #b58440; outline-offset: 3px; }
@keyframes special-offer-enter { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
@media (max-width: 600px) {
  .special-offer-dialog[open] { grid-template-columns: 1fr; }
  .special-offer-visual { min-height: 150px; padding: 22px; }
  .special-offer-savings { margin-top: 20px; grid-template-columns: auto 1fr; align-items: end; gap: 6px 12px; }
  .special-offer-savings span:first-child { grid-column: 1 / -1; }
  .special-offer-savings strong { font-size: 42px; }
  .special-offer-copy { padding: 24px; }
  .special-offer-description { -webkit-line-clamp: 2; }
  .special-offer-prices { margin-bottom: 14px; }
}
@media (prefers-reduced-motion: reduce) { .special-offer-dialog[open] { animation: none; } }

/* Floating viewport reminder — independent of the hero and popup. */
.hero-offer-card {
  --offer-peak-scale: 1.065;
  --offer-tilt: 2deg;
  position: fixed; left: auto; right: max(24px, env(safe-area-inset-right));
  bottom: max(24px, env(safe-area-inset-bottom)); z-index: 200;
  width: min(390px, calc(100% - 56px)); padding: 24px; margin: 0;
  max-height: calc(100dvh - 80px); overflow-y: auto;
  border: 3px solid transparent; border-radius: 24px; color: #fff7e9;
  background: linear-gradient(135deg, #482a2f, #2d1d23) padding-box,
    linear-gradient(110deg, #a86170, #f4d39b, #ef9fab, #f4d39b, #a86170) border-box;
  background-size: 100% 100%, 300% 300%;
  box-shadow: 0 12px 36px #23101755, 0 0 22px #f3b88b44;
  animation: hero-offer-dance 5.6s ease-in-out infinite, hero-offer-glow 3.6s ease-in-out infinite;
  transform-origin: right bottom;
  isolation: isolate;
  text-align: left; font-family: Inter, sans-serif;
}
.hero-offer-card::before {
  content: ""; position: absolute; inset: 0; border-radius: 20px; pointer-events: none; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, #ffe5b42e 47%, #fff7e94d 50%, #ffe5b42e 53%, transparent 65%);
  background-size: 300% 100%; background-position: 100% 0;
  animation: hero-offer-shimmer 5.6s ease-in-out infinite;
}
/* Freeze the moving target while someone is reading or clicking it. */
.hero-offer-card:is(:hover, :focus-within, :active),
.hero-offer-card:is(:hover, :focus-within, :active)::before,
.hero-offer-card:is(:hover, :focus-within, :active) .hero-offer-badge { animation-play-state: paused; }
.hero-offer-card[hidden] { display: none; }
.hero-offer-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hero-offer-eyebrow { color: #ebc8b5; font-size: 9px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hero-offer-badge { flex-shrink: 0; padding: 8px 12px; border-radius: 999px; background: #ffdb8f; color: #432a2e; font-size: 13px; font-weight: 800; box-shadow: 0 0 18px #ffd88b55; animation: hero-offer-badge-pop 5.6s ease-in-out infinite; }
.hero-offer-card h3 { color: #fff7e9; font: 700 21px/1.2 Inter, sans-serif; margin: 13px 0 16px; letter-spacing: -.025em; overflow-wrap: anywhere; }
.hero-offer-bottom { display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.hero-offer-price > span { display: block; color: #e5c8bf; font-size: 10px; margin-bottom: 4px; }
.hero-offer-price > div { display: flex; gap: 7px; align-items: baseline; flex-wrap: wrap; }
.hero-offer-price del { color: #e2b5b8; font-size: 13px; }
.hero-offer-price strong { color: #ffe0a6; font-size: 34px; line-height: 1.1; font-weight: 800; text-shadow: 0 0 18px #ffc76455; }
.hero-offer-book { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 42px; padding: 10px 13px; border-radius: 999px; background: #fff3de; color: #40282c; font-size: 11px; font-weight: 800; line-height: 1.35; text-decoration: none; transition: background .2s, transform .2s; }
.hero-offer-book:hover { background: #ffe0a6; transform: translateY(-2px); }
.hero-offer-book:focus-visible { outline: 3px solid #fff3de; outline-offset: 4px; }
.hero-offer-dates { margin: 15px 0 0; padding-top: 12px; border-top: 1px solid #f1c7aa33; color: #e5c8bf; font-size: 10px; line-height: 1.5; }
@keyframes hero-offer-glow {
  0%, 100% { background-position: 0 0, 0% 50%; box-shadow: 0 16px 40px #23101777, 0 0 22px #ffca7866, 0 0 0 0 #ffdc9922; }
  50% { background-position: 0 0, 100% 50%; box-shadow: 0 20px 48px #23101788, 0 0 42px #ff9fb6aa, 0 0 0 8px #ffdc9900; }
}
@keyframes hero-offer-dance {
  0%, 65%, 100% { transform: translateY(0) rotate(0) scale(1); }
  12% { transform: translateY(-6px) rotate(calc(-1 * var(--offer-tilt))) scale(var(--offer-peak-scale)); }
  24% { transform: translateY(-3px) rotate(var(--offer-tilt)) scale(1.015); }
  36% { transform: translateY(-8px) rotate(calc(-.6 * var(--offer-tilt))) scale(var(--offer-peak-scale)); }
  48% { transform: translateY(-2px) rotate(calc(.5 * var(--offer-tilt))) scale(1.015); }
}
@keyframes hero-offer-badge-pop {
  0%, 50%, 100% { transform: rotate(0) scale(1); }
  14% { transform: rotate(7deg) scale(1.12); }
  28% { transform: rotate(-5deg) scale(1.05); }
  38% { transform: rotate(3deg) scale(1.1); }
}
@keyframes hero-offer-shimmer {
  0%, 40% { background-position: 100% 0; }
  70%, 100% { background-position: 0% 0; }
}
@media (max-width: 900px) {
  .hero-offer-card {
    --offer-peak-scale: 1.035; --offer-tilt: 1deg;
    right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
    width: min(340px, calc(100% - 48px));
  }
}
@media (max-width: 400px) {
  .hero-offer-card { padding: 18px; }
  .hero-offer-bottom { flex-wrap: wrap; }
  .hero-offer-book { flex: 1 0 auto; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-offer-card, .hero-offer-card::before, .hero-offer-badge { animation: none; transform: none; }
  .hero-offer-card::before { display: none; }
  .hero-offer-book, .hero-offer-book:hover { transition: none; transform: none; }
}
