/* Mimi's gift voucher sheet: A4 portrait (210 x 297). 1cqw = 1% of the sheet's width, so it scales anywhere and prints at true A4. */
.vs-wrap{container-type:inline-size;width:100%;max-width:820px;margin:0 auto}
.vs{--pink:#FF4DA6;--blue:#00C4FF;--yellow:#FFE600;--ink:#0B2E44;--cream:#FFE3F1;--navy:#036992;
  position:relative;width:100cqw;aspect-ratio:210/297;overflow:hidden;background:#fff;color:var(--ink);
  font-family:"Baloo 2","Trebuchet MS","Segoe UI",sans-serif;display:flex;flex-direction:column;
  border:.5cqw solid var(--ink);border-radius:2.4cqw;box-shadow:1.4cqw 1.4cqw 0 var(--ink);
  -webkit-print-color-adjust:exact;print-color-adjust:exact;box-sizing:border-box}
.vs *{box-sizing:border-box;margin:0}

/* Head: blueprint band with cogs, logo and title, ending in a cream drip */
.vs-head{position:relative;flex:none;height:29cqw;padding:3.4cqw 6cqw 0;display:flex;align-items:center;gap:4cqw;overflow:hidden;
  background-color:var(--blue);
  background-image:linear-gradient(rgba(255,255,255,.16) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.16) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);
  background-size:12cqw 12cqw,12cqw 12cqw,2.4cqw 2.4cqw,2.4cqw 2.4cqw;align-items:flex-start}
.vs-cog{position:absolute;color:#fff;opacity:.35;display:block}
.vs-cog svg{display:block;width:100%;height:100%}
.vs-cog.c1{width:30cqw;height:30cqw;right:-9cqw;top:-10cqw}
.vs-cog.c2{width:15cqw;height:15cqw;right:17cqw;top:11cqw;opacity:.22}
.vs-cog.c3{width:20cqw;height:20cqw;left:-8cqw;bottom:-6cqw;opacity:.2}
.vs-logo{position:relative;z-index:3;width:17cqw;height:auto;background:#fff;border:.5cqw solid var(--ink);border-radius:3cqw;padding:1.2cqw;box-shadow:.9cqw .9cqw 0 var(--ink);transform:rotate(-4deg)}
.vs-title{position:relative;z-index:1;padding-top:1.4cqw}
.vs-title span{display:block;font-family:"Alfa Slab One","Rockwell",Georgia,serif;font-size:2.9cqw;letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
.vs-title b{display:block;font-family:"Anton","Impact","Arial Narrow Bold",sans-serif;font-weight:400;text-transform:uppercase;font-size:11.6cqw;line-height:1;white-space:nowrap;color:#fff;
  text-shadow:.5cqw .5cqw 0 var(--ink),-.25cqw -.25cqw 0 var(--ink),.25cqw -.25cqw 0 var(--ink),-.25cqw .25cqw 0 var(--ink),1cqw 1cqw 0 var(--ink)}
.vs-drip{position:absolute;z-index:2;left:0;right:0;bottom:-.1cqw;width:100%;height:6cqw;display:block}

/* Hero: who it's for, the amount, and Mimi with the message */
.vs-hero{position:relative;flex:1;min-height:0;display:grid;grid-template-columns:55% 45%;padding:2.4cqw 6cqw 0;
  background-image:radial-gradient(rgba(0,196,255,.18) .35cqw,transparent .45cqw);background-size:4cqw 4cqw}
.vs-left{min-width:0;display:flex;flex-direction:column;gap:1.6cqw;padding-top:2cqw}
.vs-for{font-family:"Alfa Slab One","Rockwell",Georgia,serif;font-size:3cqw;white-space:nowrap;letter-spacing:.06em;text-transform:uppercase;color:var(--navy)}
.vs-name{font-family:"Alfa Slab One","Rockwell",Georgia,serif;line-height:1.02;color:var(--pink);overflow-wrap:anywhere;text-shadow:.45cqw .45cqw 0 var(--ink);margin-top:-.4cqw}
.vs-amt{align-self:flex-start;margin-top:1.4cqw;background:var(--yellow);border:.55cqw solid var(--ink);border-radius:3cqw;box-shadow:1.2cqw 1.2cqw 0 var(--ink);
  padding:1.6cqw 4.4cqw 2cqw;transform:rotate(-3deg);position:relative}
.vs-amt::before,.vs-amt::after{content:"";position:absolute;top:50%;width:3.2cqw;height:3.2cqw;margin-top:-1.6cqw;background:#fff;border:.55cqw solid var(--ink);border-radius:50%}
.vs-amt::before{left:-1.9cqw;border-left-color:transparent;border-bottom-color:transparent;transform:rotate(45deg)}
.vs-amt::after{right:-1.9cqw;border-right-color:transparent;border-top-color:transparent;transform:rotate(45deg)}
.vs-amt small{display:block;font-family:"Alfa Slab One","Rockwell",Georgia,serif;font-size:2.6cqw;letter-spacing:.14em;text-transform:uppercase}
.vs-amt b{display:block;font-family:"Anton","Impact","Arial Narrow Bold",sans-serif;font-weight:400;font-size:18cqw;line-height:.9;color:var(--pink);text-shadow:.7cqw .7cqw 0 var(--ink)}
.vs-spend{margin-top:2.8cqw;font-weight:700;font-size:3cqw;line-height:1.3;max-width:48cqw}
.vs-right{min-width:0}
.vs-bubble{position:relative;z-index:5;background:var(--cream);border:.5cqw solid var(--ink);border-radius:3.4cqw;box-shadow:.8cqw .8cqw 0 var(--ink);padding:2.4cqw 3cqw;margin:.6cqw 0 0 1cqw}
.vs-bubble::after{content:"";position:absolute;left:62%;bottom:-2.2cqw;width:4cqw;height:4cqw;background:var(--cream);border-right:.5cqw solid var(--ink);border-bottom:.5cqw solid var(--ink);transform:rotate(45deg)}
.vs-msg{font-weight:700;font-style:italic;line-height:1.3;overflow-wrap:anywhere}
.vs-from{margin-top:1.2cqw;font-family:"Alfa Slab One","Rockwell",Georgia,serif;font-size:2.5cqw;color:var(--navy);overflow-wrap:anywhere}
.vs-mimi{position:absolute;right:3cqw;bottom:-14cqw;width:24cqw;height:auto;z-index:4;pointer-events:none}

/* Ticket: the part the till scans */
.vs-ticket{position:relative;z-index:3;flex:none;margin:2.6cqw 6cqw 0;background:#fff;border:.55cqw solid var(--ink);border-radius:3cqw;box-shadow:1.2cqw 1.2cqw 0 var(--pink);
  display:flex;align-items:center;justify-content:flex-start;gap:4.5cqw;padding:3.4cqw 4cqw 2.6cqw 5cqw}
.vs-ticket::before{content:"Show this at the counter";position:absolute;left:50%;top:-2.5cqw;transform:translateX(-50%);white-space:nowrap;background:var(--ink);color:#fff;border-radius:99px;padding:.6cqw 2.8cqw;
  font-family:"Alfa Slab One","Rockwell",Georgia,serif;font-size:2.1cqw;letter-spacing:.08em;text-transform:uppercase}
.vs-qr svg{display:block;width:22cqw;height:22cqw}
.vs-num{display:flex;flex-direction:column;align-items:center;gap:.8cqw;min-width:0}
.vs-num svg{display:block;width:34cqw;height:9.5cqw}
.vs-num b{font-family:"Anton","Impact",sans-serif;font-weight:400;font-size:5cqw;letter-spacing:.2em;line-height:1}
.vs-num span{font-weight:800;font-size:2.5cqw;color:var(--navy)}
.vs-how{flex:none;list-style:none;margin:3cqw 6cqw 0;padding:0;display:grid;grid-template-columns:repeat(3,1fr);gap:2.4cqw;counter-reset:s;font-size:2.3cqw;line-height:1.25;font-weight:600}
.vs-how li{counter-increment:s;display:grid;grid-template-columns:4.4cqw 1fr;gap:1.4cqw;align-items:center}
.vs-how li::before{content:counter(s);display:grid;place-items:center;width:4.4cqw;height:4.4cqw;border-radius:50%;background:var(--pink);color:#fff;border:.35cqw solid var(--ink);
  font-family:"Anton","Impact",sans-serif;font-size:2.5cqw}
.vs-how b{display:block;font-weight:800;font-size:2.6cqw;line-height:1.1}
.vs-ph{background:repeating-linear-gradient(90deg,var(--ink) 0 .5cqw,transparent .5cqw 1cqw,var(--ink) 1cqw 1.2cqw,transparent 1.2cqw 1.9cqw);opacity:.22;border-radius:.6cqw}
.vs-ph-qr{width:22cqw;height:22cqw;background:repeating-conic-gradient(var(--ink) 0 25%,transparent 0 50%) 0 0/3cqw 3cqw}
.vs-ph-bc{width:34cqw;height:9.5cqw}

/* Footer */
.vs-foot{flex:none;margin-top:3cqw;padding:2cqw 5cqw 2.4cqw;background:var(--ink);color:#fff;font-size:1.75cqw;line-height:1.45;text-align:center}
.vs-foot b{color:var(--yellow);font-weight:800}
.vs-foot p+p{opacity:.8}

/* The till-scan view for phones */
.scan-view{position:fixed;inset:0;z-index:50;background:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:24px 16px}
.scan-view svg{max-width:100%;height:auto}
.scan-view .sv-qr svg{width:min(70vw,320px);height:auto}
.scan-view b{font-family:"Anton","Impact",sans-serif;font-weight:400;font-size:28px;letter-spacing:.18em;color:#0B2E44}
.scan-view p{font-weight:700;color:#036992;text-align:center;margin:0}

@media print{
  @page{size:A4 portrait;margin:0}
  html,body{width:210mm;height:297mm;margin:0!important;padding:0!important;background:#fff!important}
  body *{visibility:hidden}
  .vs-wrap,.vs-wrap *{visibility:visible}
  .vs-wrap{position:fixed;left:0;top:0;width:210mm;max-width:none;margin:0}
  .vs{border:0;border-radius:0;box-shadow:none;height:297mm}
  .noprint,.scan-view{display:none!important}
}
.scan-view[hidden],.vs-wrap[hidden]{display:none!important}

.vs-amt small.vs-amt-u{margin-top:.6cqw;font-size:2.2cqw;letter-spacing:.08em}
