/* Same composition in the local order preview and on the printed voucher. */
.mh-voucher-card{--card-a:#eff2f6;--card-b:#e6ebf1;--card-c:#495f7e;--card-base:#f9fafc;--card-border:#c0ccdc;position:relative;isolation:isolate;container-type:inline-size;width:100%;min-width:0;background:linear-gradient(135deg,var(--card-base),var(--card-a) 65%,var(--card-b));border:1px solid var(--card-border);border-radius:20px;overflow:hidden;box-shadow:0 16px 44px #344c6114;color:#252830;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;print-color-adjust:exact;-webkit-print-color-adjust:exact}
/* Optional sunset colour world; the default blue uses the bounded palette above. */
.mh-voucher-card[data-voucher-color="brand"]{background:radial-gradient(ellipse at 80% 36%,#ffe6b5b3 0%,#ffe6b500 42%),linear-gradient(180deg,#f6dfe7 0%,#fbe8d8 33%,#fff0d4 46%,#dceded 57%,#cce4ed 78%,#bed9e9 100%);border-color:#b6cdda}
.mh-voucher-card *{box-sizing:border-box}.mh-voucher-card [hidden]{display:none!important}
.mh-voucher-card__content{position:relative;padding:7%;display:flex;flex-direction:column;min-height:100%;gap:0}
.mh-voucher-card .mh-voucher-card__logo{display:block;width:min(78%,290px);max-width:100%;height:auto;border:0;border-radius:0;box-shadow:none}
.mh-voucher-card .mh-voucher-card__badge{display:block;width:min(36%,100px);max-width:100%;height:auto;margin:2px 0 13px;border:0;border-radius:0;box-shadow:none;mix-blend-mode:multiply}
.mh-voucher-card .mh-voucher-card__brand{font-size:clamp(11px,2.8cqw,15px);font-weight:800;letter-spacing:.16em;line-height:1.4;margin:clamp(10px,2cqw,14px) 0 clamp(30px,7cqw,40px) clamp(6px,1.2cqw,10px);color:#252830}
.mh-voucher-card .mh-voucher-card__kicker{font-size:clamp(11px,2.5cqw,14px);font-weight:400;line-height:1.5;margin:0 0 8px;color:#303641}
.mh-voucher-card .mh-voucher-card__title{font-size:clamp(28px,7.5cqw,46px);font-weight:720;letter-spacing:-.045em;line-height:1.08;margin:0 0 14px;max-width:80%;overflow-wrap:anywhere;white-space:pre-line;color:#252830;background:none;-webkit-text-fill-color:#252830}
.mh-voucher-card .mh-voucher-card__recipient{font-size:clamp(17px,4cqw,24px);max-width:80%;line-height:1.35;margin:0 0 6%;overflow-wrap:anywhere;color:#303641}
.mh-voucher-card__recipient strong{font-weight:600}
.mh-voucher-card--long-name .mh-voucher-card__recipient{font-size:clamp(15px,3.2cqw,20px)}
.mh-voucher-card--long-message .mh-voucher-card__title{font-size:clamp(23px,5.4cqw,32px);line-height:1.15}
.mh-voucher-card__offer{margin-top:auto;max-width:85%}
.mh-voucher-card .mh-voucher-card__duration{font-size:clamp(17px,3.5cqw,22px);line-height:1.35;margin:0 0 3px;color:#252830}
.mh-voucher-card .mh-voucher-card__provider{font-size:clamp(12px,2.7cqw,15px);line-height:1.4;margin:0 0 9px;color:#303641}
.mh-voucher-card .mh-voucher-card__value{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 6px;font-size:clamp(12px,2.8cqw,16px);line-height:1.45;margin:0;color:#252830}
.mh-voucher-card__value span{white-space:nowrap}.mh-voucher-card__value strong{font-size:2em;line-height:1.1;font-weight:650;white-space:nowrap;max-width:100%}
.mh-voucher-card .mh-voucher-card__balance{font-size:clamp(12px,2.6cqw,15px);line-height:1.4;margin:10px 0 0;color:#252830}
.mh-voucher-card__footer{border-top:1px solid #69717a55;display:flex;justify-content:space-between;align-items:flex-end;flex-wrap:wrap;gap:14px;margin-top:6%;padding-top:4%;position:relative;min-width:0}
.mh-voucher-card__code-wrap{display:flex;flex-direction:column;min-width:0;flex:1 1 250px;gap:5px}
.mh-voucher-card__label{font-size:clamp(9px,2cqw,11px);line-height:1.4;font-weight:700;letter-spacing:.11em;text-transform:uppercase;color:#303641}
.mh-voucher-card__code{font:600 clamp(10px,2.1cqw,13px)/1.4 ui-monospace,"SFMono-Regular",Consolas,monospace;letter-spacing:.025em;overflow-wrap:anywhere;color:#252830}
.mh-voucher-card__code--placeholder{letter-spacing:.07em;color:#4b5f73}
.mh-voucher-card__code-help{font-size:clamp(9px,1.9cqw,11px);line-height:1.4;color:#4b5f73}
.mh-voucher-card .mh-voucher-card__details{font-size:clamp(10px,2cqw,12px);line-height:1.5;margin:0;color:#414953;max-width:380px}
.mh-voucher-card__record{display:flex;flex-direction:column;gap:3px;font-size:clamp(9px,1.9cqw,11px);line-height:1.4;color:#414953;max-width:170px;overflow-wrap:anywhere}
.mh-voucher-card__record strong{font-size:inherit;font-weight:600;line-height:1.35}
/* One composition; only the decorative motif and bounded colour palette vary. */
.mh-voucher-card__art{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.mh-voucher-card__art svg{position:absolute;right:-4%;top:4%;width:58%;height:87%;color:var(--card-c);opacity:.32;fill:none;stroke:currentColor;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}
.mh-voucher-card[data-voucher-color="brand"] .mh-voucher-card__art svg{color:#345e7c}
.mh-voucher-card[data-voucher-theme="neutral"] .mh-voucher-card__art svg{right:0}
.mh-voucher-card__art [data-motif]{display:none}
.mh-voucher-card[data-voucher-theme=neutral] [data-motif=neutral],.mh-voucher-card[data-voucher-theme=birthday] [data-motif=birthday],.mh-voucher-card[data-voucher-theme=thanks] [data-motif=thanks],.mh-voucher-card[data-voucher-theme=holiday] [data-motif=holiday],.mh-voucher-card[data-voucher-theme=christmas] [data-motif=christmas],.mh-voucher-card[data-voucher-theme=samichlaus] [data-motif=samichlaus],.mh-voucher-card[data-voucher-theme=easter] [data-motif=easter],.mh-voucher-card[data-voucher-theme=anniversary] [data-motif=anniversary]{display:inline}
.mh-voucher-card__art .motif-fill{fill:currentColor;stroke:none}
.mh-voucher-card__art .motif-wash{fill:currentColor;fill-opacity:.08;stroke:none}
.mh-voucher-card__art .motif-tint{fill:currentColor;fill-opacity:.22;stroke:none}
.mh-voucher-card__art .motif-highlight{fill:#fff;fill-opacity:.7}
.mh-voucher-card__art .motif-fine{stroke-width:1.6}
@media(prefers-reduced-motion:reduce){.mh-voucher-card *{transition:none!important}}
