@font-face { font-family: "Gift Rounded"; src: url('/media/poko-voucher-font.ttf') format('truetype'); font-weight: 900; font-style: normal; font-display: swap; }
body:has(.gift-shop) { background: #fff; }
.gift-shop { max-width: 1440px; letter-spacing: 0; color: #182337; padding: 32px 32px 40px !important; }
.gift-shop-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.gift-shop-heading h1 { margin: 0; font-size: 32px; }
.gift-check-link { display: inline-flex; align-items: center; gap: 12px; color: #0065bf; font-weight: 600; text-decoration: none; }
.gift-check-link:hover { text-decoration: underline; }
.gift-shop-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.gift-preview-column { min-width: 0; max-width: 520px; width: 100%; justify-self: center; }
.gift-print-preview { background: #fff; border: 1px solid #e5eaf0; border-radius: 6px; color: #004d39; overflow: hidden; }
.gift-card-face { position: relative; aspect-ratio: 148 / 210; container-type: inline-size; color: #005cb5; font-family: Arial, sans-serif; }
.gift-brand-footer { position: absolute; inset: 3% auto auto 32%; width: 36%; height: 19%; display: flex; align-items: center; justify-content: center; }
.gift-brand-url { position: absolute; inset: 93% auto auto 24.7%; width: 50.6%; height: 5%; display: flex; align-items: center; justify-content: center; color: #005cb5; font: 900 5.06cqw/1.1 "Gift Rounded", Arial, sans-serif; white-space: nowrap; text-decoration: none; }
.gift-brand-logo { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.gift-artwork { display: block; width: 100%; height: 100%; object-fit: contain; }
.gift-card-face .gift-brand-url, .gift-card-face .gift-card-title, .gift-card-face .gift-value { font-family: "Gift Rounded", Arial, sans-serif; }
.gift-card-title { position: absolute; inset: 22% auto auto 17%; width: 66%; height: 10%; display: flex; flex-direction: column; justify-content: center; text-align: center; font: 900 7.6cqw/1.05 "Gift Rounded", Arial, sans-serif; }
.gift-card-title span { display: block; width: 100%; white-space: nowrap; }
.gift-value { position: absolute; inset: 32% auto auto 22%; width: 56%; height: 9%; display: flex; align-items: center; justify-content: center; gap: 1cqw; color: #ff655d; font-size: 13cqw; font-weight: 900; line-height: 1; white-space: nowrap; font-variant-numeric: tabular-nums; }
.gift-value > [data-voucher-fit] { display: block; width: 100%; text-align: center; }
.gift-inline-message { position: absolute; top: 42%; left: 17%; width: 66%; height: 10%; display: flex; flex-direction: column; justify-content: center; text-align: center; font: 400 2.5cqw/1.3 Arial, sans-serif; color: #005cb5; }
.gift-inline-message[hidden] { display: none; }
.gift-inline-message span { display: block; white-space: pre; min-height: 1.3em; }
.gift-preview-footer { position: absolute; inset: 85.5% auto auto 27%; width: 46%; height: 7%; margin: 0; display: grid; grid-template-rows: 1fr 1fr; gap: .3cqw; text-align: center; line-height: 1; }
.gift-preview-footer > div { min-width: 0; display: grid; grid-template-rows: 1fr 1fr; }
.gift-preview-footer dt { font: 400 2.1cqw/1 Arial, sans-serif; color: #005cb5; white-space: nowrap; display: flex; align-items: center; justify-content: center; }
.gift-preview-footer dd { margin: 0; font-size: 2.5cqw; white-space: nowrap; display: flex; align-items: center; justify-content: center; }
.gift-message { font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; margin-top: 20px; padding-top: 16px; border-top: 1px solid #cbd5cd; }
.gift-amounts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gift-amounts label, .gift-deliveries label { position: relative; cursor: pointer; min-width: 0; }
.gift-amounts input, .gift-deliveries input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.gift-amounts span { display: block; padding: 14px 8px; text-align: center; border: 1px solid #ccd6e2; border-radius: 6px; font-weight: 600; }
.gift-amounts input:checked + span { background: #0065bf; color: #fff; border-color: #0065bf; }
.gift-amounts input:focus-visible + span, .gift-deliveries input:focus-visible + span { outline: 3px solid #0065bf; outline-offset: 3px; }
.gift-amounts label:hover span, .gift-deliveries label:hover span { border-color: #0065bf; }
.gift-deliveries { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gift-deliveries label > span { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: 12px 16px; border: 1px solid #ccd6e2; border-radius: 6px; font-weight: 600; }
.gift-deliveries i { font-size: 24px; }
.gift-deliveries input:checked + span { border-color: #0065bf; background: #edf6ff; color: #0065bf; box-shadow: inset 0 0 0 1px #0065bf; }
.gift-check-section { margin-top: 48px; padding-top: 28px; border-top: 1px solid #dce3ec; display: grid; grid-template-columns: auto minmax(0, 640px); justify-content: center; align-items: center; gap: 0 28px; scroll-margin-top: 140px; }
.gift-check-section h2 { margin: 0; font-size: 22px; }
.gift-check-section #gift-check-result { grid-column: 2; }
.gift-check-section #gift-check-result:empty { display: none; }
.gift-shop .btn-outline-primary { color: #0065bf; border-color: #0065bf; }
.gift-shop .btn-outline-primary:hover { background: #0065bf; color: #fff; }
.gift-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 28px; gap: 20px; font-size: 14px; }
.gift-details > div { display: flex; align-items: center; gap: 12px; }
.gift-details > div + div { border-left: 1px solid #dce3ec; padding-left: 20px; }
.gift-details i { color: #0065bf; font-size: 24px; }
.gift-purchase legend { font-size: 20px; margin-bottom: 12px; }
.gift-purchase .form-label { font-weight: 600; font-size: 14px; }
.gift-shop .form-control { border-color: #ccd6e2; border-radius: 6px; background-color: #fff; color: #182337; min-height: 46px; }
.gift-shop .form-control:focus { border-color: #0065bf; box-shadow: 0 0 0 3px #0065bf20; }
.gift-purchase-total { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: #edf6ff; border-radius: 6px; padding: 10px 18px; margin-bottom: 12px; font-weight: 700; }
.gift-purchase-total strong { color: #ec5754; font-size: 28px; font-variant-numeric: tabular-nums; }
.gift-buy-button { background: #0065bf; border-color: #0065bf; min-height: 50px; border-radius: 6px; font-size: 17px; font-weight: 600; }
.gift-buy-button:hover, .gift-buy-button:focus-visible { background: #004f97; border-color: #004f97; }
.gift-unavailable { padding: 14px 0; margin: 0; color: #596576; }
.gift-purchase { min-width: 0; }
.gift-shop input, .gift-shop textarea { max-width: 100%; }
@media (max-width: 991px) {
    .gift-shop-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
    .gift-preview-column { width: 100%; }
    .gift-shop { padding: 24px 20px !important; }
    .gift-check-section { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .gift-check-section #gift-check-result { grid-column: 1; }
}
@media (max-width: 575px) {
    .gift-shop-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
    .gift-shop-heading h1 { font-size: 28px; }
    .gift-details { gap: 12px; font-size: 12px; }
    .gift-details > div { gap: 8px; }
    .gift-details > div + div { padding-left: 12px; }
    .gift-deliveries label > span { padding: 12px 10px; gap: 8px; font-size: 14px; }
}
