@font-face {
    font-family: "Voucher Script";
    src: url("/lib/assets/fonts/voucher/GreatVibes-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Voucher Serif";
    src: url("/lib/assets/fonts/voucher/PlayfairDisplay-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

.voucher-layout-frame {
    container-type: inline-size;
    display: block;
    width: 100%;
}

.voucher-layout-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2cqw;
    width: 100%;
    aspect-ratio: 3 / 4;
    box-sizing: border-box;
    padding: 4cqw;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-align: center;
    overflow: hidden;
}

.voucher-layout-preview i {
    font-size: 1.15rem;
    font-size: 14cqw;
    line-height: 1;
}

.voucher-layout-word {
    font-size: 0.95rem;
    font-size: 12cqw;
    line-height: 1.1;
    white-space: nowrap;
}

.voucher-layout-preview.is-neutral .voucher-layout-word {
    font-size: 1.1rem;
    font-size: 14cqw;
    font-weight: 600;
    letter-spacing: -0.03em;
}

.voucher-layout-preview.is-hearts .voucher-layout-word {
    font-family: "Voucher Script", Georgia, serif;
    font-size: 1.35rem;
    font-size: 18cqw;
    font-weight: 400;
    font-style: normal;
}

.voucher-layout-preview.is-christmas .voucher-layout-word {
    font-family: "Voucher Serif", Georgia, serif;
    font-size: 0.7rem;
    font-size: 8.5cqw;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
