/* Diwali offer layer for the dreamsyatri.com landing pages (see diwali.js).
   Everything is prefixed dyd- so it can't collide with a page's own CSS. */

.dyd-bar {
  position: fixed; inset: 0 0 auto 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 42px; padding: 6px 44px 6px 12px; box-sizing: border-box;
  background: linear-gradient(100deg, #7c2d12, #c2410c 30%, #be123c 70%, #6b21a8);
  color: #fff; font: 600 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,.25);
}
.dyd-bar * { box-sizing: border-box; }
.dyd-bar__lamp { font-size: 18px; line-height: 1; }
.dyd-bar__text b { color: #fde68a; }
.dyd-bar__short { display: none; }
.dyd-bar__cta {
  flex: none; border: 0; cursor: pointer; border-radius: 999px; padding: 6px 14px;
  background: #fde68a; color: #7c2d12; font: 800 13px/1 system-ui, sans-serif;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.dyd-bar__cta:hover { background: #fff; }
.dyd-bar__close {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; border-radius: 50%; cursor: pointer;
  background: transparent; color: #fff; font: 400 22px/32px system-ui, sans-serif;
}
.dyd-bar__close:hover { background: rgba(255,255,255,.15); }
@media (max-width: 640px) {
  .dyd-bar { font-size: 12.5px; gap: 8px; padding-left: 8px; }
  .dyd-bar__long { display: none; }
  .dyd-bar__short { display: inline; }
  .dyd-bar__lamp { display: none; }
  .dyd-bar__cta { padding: 6px 10px; font-size: 12px; }
}

/* On an eligible card: the struck "was" price and the offer pill. */
.dyd-was {
  display: inline-block; margin-right: 6px; color: #9ca3af !important;
  text-decoration: line-through !important; text-decoration-color: #ef4444 !important;
  font-weight: 500 !important; font-size: .8em !important; white-space: nowrap;
}
.dyd-pill {
  display: inline-flex; align-items: center; gap: 4px; vertical-align: middle;
  margin: 4px 6px; padding: 3px 9px; border-radius: 999px; white-space: nowrap;
  background: linear-gradient(90deg, #f59e0b, #ea580c); color: #fff !important;
  font: 800 11.5px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif !important;
  letter-spacing: .02em; box-shadow: 0 2px 6px rgba(234,88,12,.35); text-transform: none !important;
}
