@font-face {
    font-family: "DF Voucher Serif";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("libre-baskerville-bold.ttf") format("truetype");
}
.df-vouchers {
    --dfv-brand: #a60000;
    --dfv-ink: #443b35;
    --dfv-muted: #71665b;
    --dfv-border: #e2d6bd;
    --dfv-paper: #fffbe9;
    --dfv-serif: "DF Voucher Serif", Georgia, "Times New Roman", serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--dfv-ink);
    text-align: left;
    margin: 16px 0 36px;
}
.df-vouchers *, .df-vouchers *::before, .df-vouchers *::after { box-sizing: border-box; }
.df-vouchers [hidden] { display: none !important; }
.df-vouchers h2 { color: var(--dfv-ink); font-family: var(--dfv-serif); font-size: clamp(34px, 3.5vw, 46px); font-weight: 700; line-height: 1.25; letter-spacing: -.025em; margin: 0 0 14px; }
.df-vouchers h3 { color: var(--dfv-ink); font-family: var(--dfv-serif); font-size: 28px; font-weight: 700; line-height: 1.4; margin: 0 0 16px; }
.df-vouchers h4 { font-size: 15px; font-weight: 600; line-height: 1.4; margin: 24px 0 12px; }
.df-vouchers p { margin: 0 0 18px; }
.dfv-intro { max-width: 760px; margin-bottom: 32px; }
.dfv-intro-copy { min-width: 0; }
.dfv-eyebrow { display: block; color: var(--dfv-brand); font-size: 11px; line-height: 1.6; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; margin-bottom: 12px; }
.dfv-intro p { color: var(--dfv-muted); }
.df-vouchers .dfv-form { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.dfv-main { display: grid; min-width: 0; gap: 24px; }
.df-vouchers fieldset, .dfv-summary {
    min-width: 0;
    border: 1px solid var(--dfv-border);
    border-radius: 8px;
    background: var(--dfv-paper);
    padding: 26px;
    margin: 0;
    box-shadow: 0 8px 28px -18px rgba(80, 41, 22, .13);
}
/* Floating the legend removes native fieldset border placement while preserving its accessible group label. */
.df-vouchers fieldset { display: flow-root; }
.df-vouchers legend {
    float: left;
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    position: static;
    font-family: var(--dfv-serif);
    font-size: 24px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: -.015em;
    color: var(--dfv-ink);
    border: 0;
    border-left: 3px solid var(--dfv-brand);
    padding: 0 0 0 12px;
    margin: 0 0 22px;
    white-space: normal;
    overflow-wrap: anywhere;
}
.df-vouchers legend + * { clear: both; }
.df-vouchers fieldset > p { font-size: 14px; color: var(--dfv-muted); }
.dfv-summary { position: sticky; top: 110px; border: 1px solid var(--dfv-brand); border-top-width: 4px; background: var(--dfv-paper) url("snowman.svg") no-repeat right 12px top 13px / 66px 99px; }
.dfv-summary h3 { padding-right: 55px; }
.dfv-summary > p[data-dfv-selection] { padding-right: 45px; }
.df-vouchers fieldset:first-child { border-top: 3px solid var(--dfv-brand); background: var(--dfv-paper) url("reindeer.svg") no-repeat right 20px top 8px / 80px 63px; }
.df-vouchers fieldset:first-child legend { min-height: 32px; padding-right: 82px; }
.dfv-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.df-vouchers .dfv-option {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--dfv-border);
    border-radius: 6px;
    background: #fffef8;
    cursor: pointer;
    font-size: 15px;
    font-weight: 400;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.df-vouchers .dfv-option:hover { border-color: #c59ca0; box-shadow: 0 4px 14px -9px rgba(84, 22, 27, .3); }
.df-vouchers .dfv-option:has(input:checked) { border-color: var(--dfv-brand); outline: 1px solid var(--dfv-brand); outline-offset: -1px; background: #fff1db; }
.dfv-option > span { display: flex; flex-direction: column; gap: 10px; min-width: 0; flex: 1; height: 100%; }
.dfv-option strong { font-size: 15px; font-weight: 700; line-height: 1.4; overflow-wrap: anywhere; }
.dfv-option small { font-size: 14px; line-height: 1.55; color: var(--dfv-muted); }
.dfv-option b { color: var(--dfv-brand); font-family: var(--dfv-serif); font-size: 25px; font-weight: 700; line-height: 1.4; margin-top: auto; padding-top: 2px; white-space: nowrap; }
.df-vouchers input[type=radio], .df-vouchers input[type=checkbox] {
    position: static !important;
    opacity: 1 !important;
    width: 18px;
    height: 18px;
    flex: none;
    appearance: auto;
    margin: 2px 0 0;
    accent-color: var(--dfv-brand);
}
.dfv-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.df-vouchers .dfv-fields label { display: block; min-width: 0; font-size: 14px; font-weight: 600; margin: 0; color: var(--dfv-ink); }
.df-vouchers .dfv-fields input {
    display: block;
    width: 100%;
    height: auto;
    min-height: 50px;
    margin: 8px 0 0;
    padding: 12px 14px;
    border: 1px solid #d8cbb7;
    border-radius: 6px;
    background: #fffef8;
    box-shadow: none;
    font: inherit;
    font-size: 16px;
    color: var(--dfv-ink);
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.df-vouchers .dfv-fields input:hover { border-color: #b8a286; }
.df-vouchers .dfv-fields input:focus { border-color: var(--dfv-brand); background: #fff; box-shadow: 0 0 0 3px rgba(166, 0, 0, .09); }
.df-vouchers button:focus-visible, .df-vouchers input:focus-visible { outline: 2px solid var(--dfv-brand); outline-offset: 3px; }
.dfv-summary > p[data-dfv-selection] { margin-bottom: 8px; color: var(--dfv-muted); font-size: 15px; }
.dfv-total { display: block; color: var(--dfv-brand); font-family: var(--dfv-serif); font-size: 40px; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; margin: 0 0 24px; padding-bottom: 24px; border-bottom: 1px solid var(--dfv-border); overflow-wrap: anywhere; }
.dfv-summary ul { font-size: 14px; line-height: 1.65; color: var(--dfv-muted); margin: 0 0 20px; padding-left: 19px; }
.dfv-summary li { margin-bottom: 10px; padding-left: 2px; }
.dfv-summary li::marker { color: var(--dfv-brand); }
.df-vouchers .dfv-consent { display: flex; align-items: flex-start; gap: 10px; font-size: 14px; line-height: 1.6; font-weight: 400; margin: 24px 0 20px; }
.df-vouchers .dfv-consent input { margin-top: 3px; }
.df-vouchers .dfv-submit, .df-vouchers .dfv-refresh { border: 0; background: var(--dfv-brand); color: #fff; font-size: 15px; font-weight: 700; border-radius: 6px; min-height: 52px; padding: 14px 18px; cursor: pointer; line-height: 1.4; transition: background .15s ease; }
.df-vouchers .dfv-submit { width: 100%; margin-bottom: 16px; }
.df-vouchers .dfv-submit:hover:not(:disabled), .df-vouchers .dfv-refresh:hover { background: #800000; }
.df-vouchers .dfv-submit:disabled { background: #e9e0cf; color: #6d6255; cursor: not-allowed; }
.df-vouchers .dfv-small { font-size: 14px; line-height: 1.6; color: var(--dfv-muted); margin-bottom: 0; }
.dfv-notice, .dfv-errors { padding: 16px 20px; border-radius: 6px; margin-bottom: 24px !important; font-size: 14px; }
.dfv-notice { background: #fff8e9; color: #725219; border: 1px solid #eedfbb; }
.dfv-errors { background: #fff0ed; color: #8f220d; border: 1px solid #d9a294; }
.dfv-errors ul { margin: 0; padding-left: 20px; }
.dfv-refresh { margin: 0 0 20px; }
@media (min-width: 581px) {
    .dfv-option:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .dfv-option:last-child:nth-child(odd) > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name price" "detail price"; column-gap: 24px; }
    .dfv-option:last-child:nth-child(odd) strong { grid-area: name; }
    .dfv-option:last-child:nth-child(odd) small { grid-area: detail; }
    .dfv-option:last-child:nth-child(odd) b { grid-area: price; align-self: center; margin: 0; }
}
@media (max-width: 1000px) {
    .df-vouchers .dfv-form { grid-template-columns: minmax(0, 1fr); }
    .dfv-summary { position: static; }
}
@media (max-width: 580px) {
    .dfv-fields, .dfv-options { grid-template-columns: minmax(0, 1fr); }
    .df-vouchers fieldset, .dfv-summary { padding: 20px; border-radius: 8px; }
    .df-vouchers legend { font-size: 22px; margin-bottom: 18px; }
    .df-vouchers .dfv-option { padding: 16px; }
    .dfv-main, .df-vouchers .dfv-form { gap: 18px; }
    .dfv-notice, .dfv-errors { padding: 14px 16px; }
    .dfv-total { font-size: 36px; }
    .df-vouchers fieldset:first-child { background-size: 60px 47px; background-position: right 14px top 13px; }
    .df-vouchers fieldset:first-child legend { padding-right: 56px; }
}
@media (prefers-reduced-motion: reduce) {
    .df-vouchers .dfv-option, .df-vouchers .dfv-fields input, .df-vouchers button { transition: none; }
}
