.hf-gift-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.hf-panel-head{flex-wrap:wrap;gap:20px}.hf-preset-dialog{padding:0;border:1px solid #173f5830;border-radius:12px;width:min(1080px,calc(100vw - 32px));max-height:calc(100dvh - 32px);color:#173f58;background:#fff9f5;box-shadow:0 24px 100px #0003}.hf-preset-dialog::backdrop{background:#14282fc9}.hf-presets-form{font-family:'DM Sans',sans-serif}.hf-presets-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:30px 32px 22px;background:#f7dfe9}.hf-preset-dialog .hf-presets-header h2{font-family:'Cormorant',Georgia,serif;font-size:52px;line-height:1.05;font-weight:500;letter-spacing:-1.3px;margin:10px 0 16px}.hf-presets-header h2 em{color:#ad426c}.hf-presets-header p{font-size:13px;line-height:1.6;max-width:690px;margin:0}.hf-presets-header .eyebrow{font-size:10px;letter-spacing:1.6px}.hf-presets-close{flex-shrink:0;border:1px solid #173f5833;border-radius:50%;background:#fff8;width:40px;height:40px;font-size:27px;cursor:pointer;color:#173f58}.hf-presets-tools{display:flex;align-items:flex-end;gap:20px;justify-content:space-between;padding:24px 32px 16px}.hf-presets-tools label{display:flex;flex-direction:column;gap:8px;font-size:12px;font-weight:700;flex:1;max-width:460px}.hf-presets-tools input{font:inherit;font-size:15px;padding:13px 15px;min-width:0;width:100%;border:1px solid #173f5844;border-radius:3px;box-sizing:border-box;background:white}.hf-preset-categories{display:flex;flex-wrap:wrap;gap:8px;padding:0 32px}.hf-preset-categories button{font:inherit;font-size:12px;padding:9px 13px;border:1px solid #173f5833;border-radius:30px;background:transparent;cursor:pointer;color:#173f58}.hf-preset-categories [aria-pressed=true]{background:#173f58;color:#fff;border-color:#173f58}.hf-presets-hint{font-size:12px;line-height:1.5;color:#506b79;margin:16px 32px}.hf-presets-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;padding:0 32px 24px}.hf-preset-card{display:flex;flex-direction:column;border:2px solid #e4dfda;border-radius:8px;background:#fff;overflow:hidden;cursor:pointer;transition:border-color .15s}.hf-preset-card:has(input:checked){border-color:#ad426c;box-shadow:0 0 0 2px #ad426c15}.hf-preset-card:focus-within{outline:3px solid #09afdf;outline-offset:3px}.hf-preset-card img{width:100%;height:146px;object-fit:cover;background:#e5f6f7}.hf-preset-card-body{display:flex;flex:1;flex-direction:column;gap:10px;padding:17px}.hf-preset-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.hf-preset-category{text-transform:uppercase;font-size:9px;letter-spacing:1px;font-weight:700;color:#506b79}.hf-preset-card input{accent-color:#ad426c;width:22px;height:22px;flex-shrink:0;margin:0;cursor:pointer}.hf-preset-card strong{font-size:18px;letter-spacing:-.3px;line-height:1.3}.hf-preset-description{font-size:12px;line-height:1.65;color:#506b79}.hf-preset-goal{margin-top:auto;padding-top:9px;font-size:12px;font-weight:700}.hf-preset-card.is-added{background:#f2f6f2;cursor:default;border-color:#c8dbc8}.hf-preset-card.is-added .hf-preset-goal{color:#246539}.hf-presets-empty{grid-column:1/-1;padding:40px;text-align:center;color:#506b79}.hf-presets-footer{position:sticky;bottom:0;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 32px;background:#fff9f5f5;backdrop-filter:blur(10px);border-top:1px solid #173f5822}.hf-presets-count{font-size:13px;font-weight:700;margin:0 0 5px;line-height:1.5}.hf-presets-error{font-size:12px;line-height:1.5;color:#a32037;max-width:470px;margin:0 0 8px}.hf-presets-error:empty{display:none}.hf-presets-footer .text-link{font-size:12px}.hf-preset-dialog button:disabled{opacity:.5;cursor:default}.hf-preset-dialog button:focus-visible{outline:3px solid #007f9f;outline-offset:3px}.hf-preset-dialog .button{font-size:12px;padding:14px 18px;white-space:normal}.hf-preset-dialog,.hf-preset-dialog *{box-sizing:border-box}
@media(max-width:760px){.hf-presets-grid{grid-template-columns:repeat(2,minmax(0,1fr));padding:0 20px 20px;gap:12px}.hf-presets-header{padding:24px 20px 18px}.hf-presets-tools{padding:20px;align-items:stretch;flex-direction:column;gap:12px}.hf-presets-tools label{max-width:none}.hf-preset-categories{padding:0 20px}.hf-presets-hint{margin:15px 20px}.hf-presets-footer{padding:16px 20px;align-items:stretch;flex-direction:column;gap:12px}.hf-presets-footer .hf-gift-actions{display:grid;grid-template-columns:auto 1fr}.hf-preset-card img{height:120px}.hf-preset-card strong{font-size:16px}.hf-preset-card-body{padding:12px}.hf-preset-dialog .hf-presets-header h2{font-size:38px}}
@media(max-width:430px){.hf-preset-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:8px}.hf-presets-grid{grid-template-columns:minmax(0,1fr);padding:0 16px 16px}.hf-preset-card{display:grid;grid-template-columns:88px minmax(0,1fr)}.hf-preset-card img{width:88px;height:100%;min-height:160px}.hf-preset-card img[src$='.svg'],.hf-preset-card img[src^='data:image/svg+xml']{object-fit:contain}.hf-preset-description{font-size:11px}.hf-presets-header{gap:12px;padding:18px 16px 16px}.hf-presets-close{width:32px;height:32px;font-size:22px}.hf-preset-dialog .hf-presets-header h2{font-size:34px;letter-spacing:-.8px;margin:7px 0 10px}.hf-presets-header p:not(.eyebrow){font-size:12px;line-height:1.5}.hf-presets-header .eyebrow{font-size:8px;letter-spacing:1.1px}.hf-presets-tools{padding:16px;gap:10px}.hf-preset-categories{padding:0 16px;gap:6px}.hf-preset-categories button{font-size:10px;padding:7px 10px}.hf-presets-hint{margin:12px 16px;font-size:10px}.hf-presets-footer{padding:12px 16px;gap:8px}.hf-presets-count{font-size:11px}.hf-preset-dialog .button{padding:12px 14px;font-size:11px;min-height:44px}.hf-presets-tools input{font-size:13px;padding:11px 12px}}

/* Keep photographic gift subjects visible on compact screens. */
@media(max-width:430px){.hf-preset-card{grid-template-columns:104px minmax(0,1fr)}.hf-preset-card img{width:104px;height:104px;min-height:0;align-self:center;object-fit:cover;border-radius:3px}.hf-preset-card{padding-left:8px}.hf-preset-card-body{padding-left:10px}.hf-preset-description{font-weight:400}}
