/* Voucher drop banner under the menu, and the voucher box at checkout (public/js/vouchers.js). */
.voucher-strip {
  position: relative; z-index: 5; display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin: 10px auto 0; width: min(1180px, calc(100% - 32px)); padding: 8px 18px 8px 10px;
  border: 1px solid rgba(255, 134, 230, 0.5); border-radius: 18px;
  background: linear-gradient(100deg, rgba(122, 47, 224, 0.55), rgba(255, 134, 230, 0.28) 60%, rgba(255, 217, 138, 0.22));
  box-shadow: 0 0 24px rgba(255, 134, 230, 0.22);
  animation: vs-in 0.5s ease-out both;
}
.voucher-strip .vc-cat { width: 46px; height: 42px; flex: none; animation: vs-bob 2.6s ease-in-out infinite; }
.vs-text { display: flex; flex-direction: column; flex: 1 1 220px; min-width: 0; line-height: 1.3; }
.vs-text b { font-family: var(--font-label); letter-spacing: 0.04em; }
.vs-text span { color: var(--lilac); font-size: 0.9rem; }
.voucher-strip code, .vb-on b { font-weight: 800; letter-spacing: 0.08em; }
.voucher-strip code { padding: 1px 8px; border-radius: 8px; background: rgba(255, 217, 138, 0.18); color: #ffe9a8; border: 1px dashed rgba(255, 217, 138, 0.6); }
.vs-more { font-size: 0.8rem; color: var(--muted); }

.voucher-box { margin: 14px 0; width: 100%; }
.vb-form { display: grid; gap: 6px; }
.vb-row { display: flex; gap: 8px; }
.vb-row .input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: 0.08em; }
.vb-bad { color: var(--bad); margin: 0; }
.vb-on {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 14px;
  border: 1px dashed rgba(255, 217, 138, 0.65); background: rgba(255, 217, 138, 0.1);
}
.vb-on .vc-cat { width: 34px; height: 31px; flex: none; }
.vb-on > div { display: flex; flex-direction: column; flex: 1; min-width: 0; text-align: left; }
.vb-on b { color: #ffe9a8; }

@keyframes vs-in { from { opacity: 0; transform: translateY(-6px); } }
@keyframes vs-bob { 50% { transform: translateY(-3px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .voucher-strip, .voucher-strip .vc-cat { animation: none; } }
@media (max-width: 560px) { .voucher-strip .btn { width: 100%; } }
