@font-face {
    font-family: "FNT Jakarta";
    src: url("jakarta-latin-ext.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "FNT Jakarta";
    src: url("jakarta-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.fnt-voucher {
    --ink: #2b2027;
    --muted: #625158;
    --accent: #b92351;
    --line: #e5d7d4;
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(24px, 5vw, 65px);
    width: 100%;
    max-width: 1220px;
    margin-inline: auto;
    padding: clamp(26px, 4vw, 60px) clamp(16px, 3vw, 42px);
    background: #fffaf4;
    color: var(--ink);
    font: 400 16px/1.5 "FNT Jakarta", "Segoe UI", sans-serif;
    box-sizing: border-box;
}

.fnt-voucher *, .fnt-voucher *::before, .fnt-voucher *::after { box-sizing: border-box; }
.fnt-voucher p, .fnt-voucher h1, .fnt-voucher figure, .fnt-voucher fieldset { margin: 0; }
.fnt-voucher [hidden] { display: none; }
.fnt-voucher .fnt-voucher-kicker { color: var(--accent); font-size: 12px; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.fnt-voucher h1 { margin-top: 9px; color: var(--ink); font: inherit; font-size: clamp(36px, 5.1vw, 70px); font-weight: 800; line-height: 1.04; letter-spacing: -.057em; }
.fnt-voucher .fnt-voucher-lead { max-width: 34ch; margin-top: 13px; color: var(--muted); }
.fnt-voucher fieldset { min-width: 0; margin-top: 24px; padding: 0; border: 0; }
.fnt-voucher legend, .fnt-voucher-message-label { padding: 0; font-size: 14px; font-weight: 800; }
.fnt-voucher-amounts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.fnt-voucher-amounts label { position: relative; cursor: pointer; }
.fnt-voucher-amounts input { position: absolute; width: 1px; height: 1px; margin: 0; opacity: 0; }
.fnt-voucher-amounts span { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 13px; border: 1px solid #c4afae; border-radius: 999px; font-size: 14px; font-weight: 700; }
.fnt-voucher-amounts input:checked + span { border-color: var(--accent); background: #f8d9e0; color: #8e1b3d; }
.fnt-voucher-amounts input:focus-visible + span, .fnt-voucher textarea:focus-visible, .fnt-voucher-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.fnt-voucher-message-label { display: block; margin-block: 20px 8px; }
.fnt-voucher-message-label span { color: var(--muted); font-weight: 400; }
.fnt-voucher textarea { display: block; width: 100%; min-height: 90px; padding: 10px 12px; resize: vertical; border: 1px solid #c4afae; border-radius: 9px; background: #fffdf9; color: var(--ink); font: inherit; }
.fnt-voucher .fnt-voucher-help, .fnt-voucher .fnt-voucher-terms { margin-top: 7px; color: var(--muted); font-size: 13px; }
.fnt-voucher .fnt-voucher-button {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    min-height: 52px;
    margin-block: 17px 6px;
    padding: 10px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--accent);
    color: #fffdfb;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}
.fnt-voucher .fnt-voucher-button:hover { background: #962044; }
.fnt-voucher-button span { font-size: 20px; }
.fnt-voucher-art {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    overflow: clip;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fffdf9;
}
.fnt-voucher-art::before { content: ""; grid-area: 1 / 1 / 2 / 3; padding-top: 62.112%; }
.fnt-voucher-art-copy { display: flex; flex-direction: column; align-items: flex-start; grid-area: 1 / 1 / 2 / 2; min-height: 190px; padding: clamp(12px, 2.5vw, 36px); }
.fnt-voucher .fnt-voucher-art-title { font-size: clamp(24px, 3.15vw, 49px); line-height: 1; font-weight: 800; letter-spacing: -.06em; }
.fnt-voucher-value { display: block; margin-top: 9px; color: var(--accent); font-size: clamp(24px, 3.3vw, 52px); line-height: 1.1; font-weight: 800; letter-spacing: -.07em; white-space: nowrap; }
.fnt-voucher .fnt-voucher-caption { margin-top: 9px; color: var(--muted); font-size: clamp(11px, 1.2vw, 15px); }
.fnt-voucher .fnt-voucher-preview-message { margin-top: 9px; font-size: clamp(11px, 1.14vw, 15px); white-space: pre-line; overflow-wrap: anywhere; }
.fnt-voucher-art-footer { display: grid; gap: 4px; margin-top: auto; padding-top: 13px; }
.fnt-voucher-art-footer img { display: block; width: min(115px, 100%); height: auto; }
.fnt-voucher-art-footer small { color: var(--muted); font-size: 10px; }
.fnt-voucher .fnt-voucher-portrait { position: absolute; inset: 0 0 0 auto; display: block; width: 49.5%; height: 100%; margin: 0; object-fit: cover; object-position: 53% 50%; border-radius: 44% 0 0 44% / 50% 0 0 50%; }
.fnt-voucher figcaption { margin-top: 5px; color: var(--muted); font-size: 13px; }

@media (max-width: 760px) {
    .fnt-voucher { grid-template-columns: minmax(0, 1fr); gap: 26px; }
    .fnt-voucher-preview { max-width: 570px; }
    .fnt-voucher .fnt-voucher-art-title { font-size: clamp(24px, 6.5vw, 39px); }
    .fnt-voucher-value { font-size: clamp(24px, 7vw, 40px); }
}
