.hero--gift {
  --window-gold: #f5d4a0;
  background:
    linear-gradient(90deg,#09261f28 0%,#102c23b0 18%,#102c2370 56%,#1d1a132b 100%),
    linear-gradient(0deg,#102a21 0%,transparent 31%),
    #16382e url('/images/christmas-window.webp') center center / cover no-repeat;
}
.hero--gift .hero-inner {
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  grid-template-rows: auto auto;
  column-gap: clamp(25px, 5.1vw, 74px);
  padding-block: clamp(57px, 6.2vw, 90px) clamp(46px, 5.4vw, 76px);
}
.hero--gift h1 { letter-spacing: -.046em; text-shadow: 0 3px 25px #061d1690; }
.hero--gift h1 em { color: #f7d0a0; }
.hero-copy .eyebrow { text-transform: uppercase; letter-spacing: .13em; }
.hero-copy .eyebrow .icon { width: 17px; height: 17px; }
.hero-builder { padding: 15px; border: 1px solid #f6cc952f; border-radius: 14px; background: #0e2b24aa; box-shadow: 0 8px 24px #101a1264; }
.hero-builder .hero-tools { padding-inline: 1px; }
.hero-builder .button--primary { background: linear-gradient(115deg,#ae4d55,#843447 73%); border-color: #ffd69e68; }
.hero-builder .button--primary:hover { background: linear-gradient(115deg,#c25a61,#933d4e 73%); }
.hero-tools button { min-height: 38px; }
.compact-theme { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 8px; }
.compact-theme span { color: #f7e4c7; font-size: .88rem; font-weight: 650; }
.compact-theme select {
  width: 100%; min-width: 0; min-height: 39px; padding: 5px 7px; border: 1px solid #f5d09c52;
  border-radius: 8px; color: #fff4df; background: #1d3a30; color-scheme: dark;
}
.compact-theme select:focus-visible { outline-color: #ffd894; }
.preview-cover[data-theme='forest'] .preview-cover-copy { background: #1c4737ec; }
.preview-cover[data-theme='midnight'] .preview-cover-copy { background: #303252ed; }
.preview-cover-copy small[data-creation-theme] { color: #f8ddb3; }

.window-display {
  isolation: isolate;
  --board-top: #5a3037;
  --board-surface: #321d25;
  --board-edge: #e2b178;
  --board-track: #c99a614c;
  padding: clamp(20px, 2.3vw, 34px) !important;
  border: 1px solid var(--board-edge);
  border-radius: 29px 29px 18px 18px;
  box-shadow: 0 29px 60px #100b0baa, 0 0 0 5px #241b168f, 0 0 0 6px #ae7e5482, inset 0 0 0 5px #d5a77414;
}
.window-display.gift-board--forest { --board-top:#315443; --board-surface:#182d24; --board-edge:#bcb284; }
.window-display.gift-board--midnight { --board-top:#413c5b; --board-surface:#232339; --board-edge:#beade0; }
.window-display.gift-board--gold { --board-top:#715234; --board-surface:#3c261b; --board-edge:#f6d295; overflow: visible; }
.window-display::after {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 9px;
  border: 1px solid #edc69229;
  border-radius: 22px 22px 12px 12px;
  pointer-events: none;
  animation: warm-window 1.7s .22s ease-out both;
}
@keyframes warm-window {
  0% { box-shadow: inset 0 0 13px #fdd18a15; }
  52% { box-shadow: inset 0 0 37px #ffd39355; }
  100% { box-shadow: inset 0 0 28px #ffd39320; }
}
.window-garland {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 50%;
  width: min(63%, 340px);
  height: auto;
  transform: translate(-50%,-57%);
  filter: drop-shadow(0 6px 6px #0b1710a3);
  pointer-events: none;
}
.window-display .gift-board-head { margin: 18px 2px 14px; }
.window-display .gift-board-head h2 { color: #ffead1; letter-spacing: -.035em; font-weight: 550; }
.window-display .gift-board-head .eyebrow { color:#f3c996; }
.window-actions { display: flex; flex-direction: column; align-items: end; gap: 6px; }
.window-actions .gift-board-date { border: 0; padding: 0 3px; }
.window-open {
  display: inline-flex; align-items: center; gap: 5px; min-height: 34px; padding: 4px 9px; color: #ffecce;
  background: #18171851; border: 1px solid #deae777a; border-radius: 6px;
  line-height: 1.15; font-size: .79rem; font-weight: 690; text-align: left;
}
.window-open:hover { background: #96613c70; border-color: #ffdfaa; }
.window-display .door-grid { gap: 6px; padding: 6px 3px 7px; }
.window-display .door {
  border: 0;
  border-radius: 10px;
  background: radial-gradient(ellipse at 50% 87%,#130d142e 0%,transparent 68%);
}
.window-display .door::after {
  position: absolute; content: ''; left: 4px; right: 4px; bottom: -1px; height: 1px;
  background: linear-gradient(90deg,transparent,#efbb853b,transparent); pointer-events: none;
}
.window-display .door--ready {
  box-shadow: inset 0 0 0 1px #f0c28447;
  background: radial-gradient(ellipse at 50% 70%,#e6ab671b,transparent 78%);
}
.window-display .door:hover, .window-display .door:focus-visible {
  background-color: #f9c29119; box-shadow: inset 0 0 0 1px #ffcc8a70, 0 0 19px #e4a66d23;
}
.window-display .door-number {
  min-width: 23px; min-height: 23px; border-radius: 50%; border: 1px solid #dfab7199;
  background: #311e23ed; color: #f6d3a4; font-size: .86rem; padding: 0 2px;
}
.window-display .door--ready .door-number { color: #4a251f; background: #f5d5a5; border-color: #ffe9bb; }
.window-display .door-picture { width: 103%; }
.window-display .gift-board-footer { margin-top: 12px; padding-top: 9px; border-top: 1px solid #e2ac7952; }
.window-display .gift-board-footer p { color: #f2d3ae; }
.window-display.gift-board--gold::before { display: none; }

.studio-section { background: #fff9ee; }
.studio-layout { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0,1.28fr); gap: clamp(23px, 5vw, 75px); align-items: center; }
.studio-lead h2 { margin: 9px 0 13px; }
.studio-lead > p:not(.eyebrow) { color: var(--muted); max-width: 30rem; }
.studio-gallery { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 9px; }
.studio-display {
  position: relative; min-width: 0; display: grid; align-content: center; justify-items: center; gap: 3px;
  padding: 10px 6px 12px; border: 1px solid #e7cbab; border-radius: 10px;
  color: #513220; background: radial-gradient(ellipse at 50% 48%, #fff9e9, #f4dfc4);
  box-shadow: inset 0 0 0 4px #fff8ec64; transition: transform .19s, box-shadow .2s;
}
.studio-display:nth-child(2) { background: radial-gradient(ellipse at 50% 48%, #f8fbfe, #e3e9ed); border-color: #c5d5dc; }
.studio-display:nth-child(3) { background: radial-gradient(ellipse at 50% 48%, #faf1f3, #e1dce9); border-color: #d7c6df; }
.studio-display:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 4px #fff8ec64, 0 11px 20px #6842571a; }
.studio-display .wrapping-art { width: min(95%, 146px); }
.studio-display > span:not(.wrapping-art) { font: 650 clamp(.87rem, 2vw, 1.12rem)/1.15 var(--serif); overflow-wrap: anywhere; }
.studio-display small { color: #66473e; }
.studio-deluxe { margin-top: 9px; }
.studio-deluxe > summary { display: flex; gap: 7px; align-items: center; justify-content: space-between; padding: 8px 10px; border-radius: 8px; border: 1px solid #e7cbab; color: var(--berry-dark); font-weight: 650; }
.studio-deluxe > summary::-webkit-details-marker { display: none; }
.studio-deluxe .studio-gallery { margin-top: 8px; }
.studio-deluxe .studio-display .wrapping-art { width: min(96%, 112px); }
.studio-deluxe[open] > summary .icon { transform: rotate(45deg); }
.studio-star { position: absolute; top: 9px; right: 8px; color: #9e6a43; width: 14px; height: 14px; }
.studio-star--1 { color: #638394; }
.studio-star--2 { color: #835289; }
.wrapping-art {
  display: block; aspect-ratio: 1; background: url('/images/studio-wrappings.webp') no-repeat;
  background-size: 300% 300%; background-position: var(--wrap-x,0%) var(--wrap-y,0%);
}
.wrapping-art--opened { background-image: url('/images/studio-wrappings-open.webp'); }
.wrapping-x1 { --wrap-x: 50%; } .wrapping-x2 { --wrap-x: 100%; }
.wrapping-y1 { --wrap-y: 50%; } .wrapping-y2 { --wrap-y: 100%; }

.single-occasion-prices { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; max-width: 830px; margin: 13px auto 0; }
.single-occasion-prices article { display: flex; align-items: center; gap: 9px; padding: 11px; border: 1px solid #eed9c6; border-radius: 11px; background: #fff9ed; }
.single-occasion-prices h3 { font-size: 1.15rem; }
.single-occasion-prices p { margin-top: 4px; font-size: .875rem; line-height: 1.36; color: var(--muted); }
.price-mini, .single-occasion-prices .stamp-picture { width: 58px; flex: none; }
.single-occasion-prices .button { min-height: 40px; margin-inline-start: auto; padding: 6px 9px; white-space: nowrap; font-size: .83rem; }

.present-stage { border-bottom: 1px solid #f3c27569; }
.present-stage--opened::before { box-shadow: 0 0 43px #fdd08635, inset 0 0 28px #e8a46227; }
.present-stage[data-wrapping='frost'] { --present-top: #4d687a; --present-dark: #1b293f; }
.present-stage[data-wrapping='aurora'] { --present-top: #394765; --present-dark: #231e3b; }
.present-stage .stage-wrapping { width: min(61%,194px); filter: drop-shadow(0 11px 10px #1b0f20b1); }
.present-stage .stage-wrapping.unwrap-closed { position: absolute; z-index: 2; animation: wrapped-away .56s ease-in-out both; }
.present-stage--lit:not(.present-stage--opened) > .stage-wrapping { z-index: 1; }
.present-stage .stage-postmark {
  z-index: 2; position: absolute; width: 61px; right: 11%; bottom: 9%;
  filter: drop-shadow(0 4px 4px #140d1c6e); animation: postage-lift .66s .33s ease-out both;
  transform: rotate(11deg); pointer-events: none;
}
@keyframes postage-lift {
  0% { opacity: 0; transform: translate(-29px, 22px) rotate(-17deg) scale(.6); }
  100% { opacity: 1; transform: rotate(11deg); }
}
.present-copy .note-sheet { border: 1px solid #ead9c9; border-radius: 11px; padding: 15px; background: linear-gradient(150deg, #fffdf7, #fff5e6); box-shadow: inset 0 0 0 4px #fffbf5; }
.present-copy .note-from { margin-top: 10px; }
.present-copy h2 { text-wrap: balance; }
.dialog-box > h2:focus, .present-copy > h2:focus { outline: none; }
.present-copy { background: linear-gradient(149deg,#fff7ee,#fffcf8 65%); }

.invite-banner {
  position: relative; isolation: isolate; overflow: hidden; display: flex; align-items: center; min-height: 110px; padding: 15px 22px;
  border-radius: 12px; border: 1px solid #9a6858; background: #482b35; color: #fff6e2;
  box-shadow: inset 0 0 0 4px #efc99430, 0 7px 22px #5d373117;
}
.invite-banner::before {
  content: ''; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg,#402432dd 0%,#4f2b37ce 46%,#4f2b3755 100%), url('/images/christmas-post-small.webp') right 62% / 75% auto no-repeat;
}
.invite-banner .stamp-picture { width: 60px; flex: none; transform: rotate(8deg); }
.invite-banner p { flex: 1; margin: 6px 0 0; text-wrap: pretty; }
.invite-banner strong { display: block; color: #ffdeb1; font: 650 1.2rem/1.15 var(--serif); }
.invite-banner + .share-input { margin-top: 9px; }
.share-options { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
.share-options .button { min-height: 44px; font-size: .9rem; padding-inline: 8px; }
.share-options .button:first-child { grid-column: 1 / -1; }
.share-options .button:last-child:nth-child(even) { grid-column: 1 / -1; }
.share-code-help a { color: var(--berry-dark); text-decoration: underline; text-underline-offset: 3px; }
.lookup-layout { padding-block: clamp(26px, 7vw, 85px); width: min(950px, calc(100% - 36px)); }
.lookup-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .92fr);
  overflow: hidden; border: 1px solid #dfbf9f; border-radius: 22px; background: #fff9ec;
  box-shadow: 0 17px 45px #47273622, 0 0 0 5px #fff0deac;
}
.lookup-copy { align-self: center; padding: clamp(20px, 4.7vw, 44px); }
.lookup-copy .stamp-picture { width: clamp(43px, 8vw, 68px); transform: rotate(-8deg); }
.lookup-copy h1 { margin: 7px 0 8px; color: var(--berry-dark); font-size: clamp(2.15rem, 5vw, 4.15rem); line-height: 1.02; overflow-wrap: anywhere; }
.lookup-copy > p { color: var(--muted); }
.lookup-copy .form-card { margin-block: 15px 8px; }
.lookup-copy .lookup-recent { padding-inline: 0; }
.lookup-card > img { width: 100%; height: 100%; min-height: 100%; object-fit: cover; object-position: 62% center; }
[data-recent-feature] { margin-top: 8px; }
[data-recent-feature] > p { color: #ffe8c4; margin: 0 0 4px; font-size: .8rem; font-weight: 650; }
.recent-item {
  display: grid; grid-template-columns: 41px minmax(0, 1fr) 18px; gap: 9px; align-items: center;
  min-height: 54px; border: 1px solid #e5ceb2; border-radius: 9px; padding: 5px 9px;
  background: #fff9ed; color: var(--berry-dark); text-decoration: none;
  transition: border-color .2s ease, background .2s ease;
}
.recent-item:hover { border-color: #b07960; background: #fff0de; }
.recent-item-copy { min-width: 0; display: grid; line-height: 1.25; }
.recent-item-copy small { color: var(--muted); overflow-wrap: anywhere; }
.recent-item-copy strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.recent-item .recent-arrow { transform: rotate(-90deg); }
[data-recent-feature] .recent-item { background: #f6dec416; border-color: #efd2a35f; color: #fff5df; }
[data-recent-feature] .recent-item:hover { background: #f6dec430; border-color: #efd2a3ab; }
[data-recent-feature] .recent-item-copy small { color: #eddbbf; }
.calendar-main { --calendar-mist: #fae7e1; background: linear-gradient(var(--calendar-mist), var(--cream) 640px); }
.calendar-main[data-theme='forest'] { --calendar-mist: #e2ebe1; background: linear-gradient(var(--calendar-mist), var(--cream) 640px); }
.calendar-main[data-theme='midnight'] { --calendar-mist: #e8e7f3; background: linear-gradient(var(--calendar-mist), var(--cream) 640px); }
.calendar-main[data-theme='gold'] { --calendar-mist: #f3e3c5; }
.calendar-main::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 510px; z-index: -1; pointer-events: none;
  background: linear-gradient(0deg, var(--calendar-mist), transparent 61%), url('/images/christmas-post-small.webp') center 44% / cover;
  mask-image: linear-gradient(black 5%, transparent 96%); opacity: .36;
}
.calendar-heading { position: relative; }
.calendar-heading h1 { text-shadow: 0 2px 15px #fff1dfb3; }
.calendar-heading p:not(.eyebrow) { color: #563e45; }
.calendar-heading .group-unlock { margin-top: 7px; color: var(--berry-dark); }
.calendar-heading .button--outline { background-color: #fff8eedb; }
.gift-arrival {
  --arrival-paper: #fff7eb; --arrival-edge: #cba783; --arrival-motif: #8b3750;
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
  grid-template-areas: 'copy art'; max-width: none; margin: 0 auto clamp(19px, 4vw, 32px);
  border: 1px solid var(--arrival-edge); border-radius: 21px; overflow: hidden; text-align: left; animation: none;
  background: radial-gradient(ellipse at 0 6%, #ffffffba, transparent 66%), var(--arrival-paper);
  box-shadow: 0 14px 46px #48242e29, 0 0 0 4px #fff3e2b3;
}
.calendar-main[data-theme='forest'] .gift-arrival { --arrival-paper: #f0f3e5; --arrival-edge: #acb892; --arrival-motif: #356244; }
.calendar-main[data-theme='midnight'] .gift-arrival { --arrival-paper: #f0eef8; --arrival-edge: #bab3cc; --arrival-motif: #575581; }
.calendar-main[data-theme='gold'] .gift-arrival { --arrival-paper: #fcf0d3; --arrival-edge: #baa371; --arrival-motif: #835b22; }
.gift-arrival-copy { grid-area: copy; padding: clamp(19px, 3.5vw, 38px); min-width: 0; align-self: center; }
.gift-arrival h1 { margin: .14em 0 .09em; font-size: clamp(2.1rem, 6vw, 4.15rem); line-height: 1.04; }
.gift-arrival .eyebrow { color: var(--arrival-motif); }
.gift-arrival .gift-arrival-from { font: 530 clamp(1.07rem, 2.6vw, 1.35rem)/1.32 var(--serif); }
.gift-arrival-status { margin-top: 13px; }
.gift-arrival-action { margin-top: 15px; }
.gift-arrival-action .button { min-height: 46px; }
.gift-arrival-progress { display: grid; gap: 4px; margin-top: 15px; font-size: .82rem; color: var(--muted); }
.gift-arrival-progress progress { width: min(100%, 220px); height: 7px; accent-color: var(--arrival-motif); }
.gift-arrival-art { grid-area: art; position: relative; min-height: 245px; background: #372921; }
.gift-arrival-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
.gift-arrival-art::after { content: ''; position: absolute; z-index: 2; inset: 9px; border: 1px solid #fff1b885; border-radius: 11px; pointer-events: none; }
.gift-arrival--arriving .gift-arrival-art::before {
  content: ''; position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 52%, #ffc36e73, transparent 67%);
  opacity: 0; animation: arrival-light 1.6s .07s ease-out both;
}
@keyframes arrival-light {
  0% { opacity: 0; transform: scale(.76); }
  44% { opacity: .94; }
  to { opacity: 0; transform: scale(1.18); }
}
.invite-banner--gift { display: grid; grid-template-columns: minmax(0, 1fr) minmax(78px, 30%); gap: 12px; padding-inline: 16px; }
.invite-banner--gift::before { background: radial-gradient(ellipse at 100% 10%, #785346, transparent 72%); }
.invite-banner--gift img { width: 100%; aspect-ratio: 1.25; height: auto; align-self: center; object-fit: cover; object-position: 62% center; border-radius: 7px; }
.calendar-board { outline: 1px solid #6c3b292d; outline-offset: 4px; box-shadow: 0 22px 40px #4c27354d, inset 0 0 0 4px #ffe0a815; }
.calendar-board .board-head { border-bottom: 1px solid var(--board-track); padding-bottom: 12px; margin-bottom: 12px; }
.board-progress { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--board-text); font-size: .82rem; }
.board-progress span { padding: 2px 7px; border: 1px solid var(--board-track); border-radius: 9px; }
.board-status { display: flex; flex-wrap: wrap; gap: 5px 13px; margin: 10px 0 0; color: var(--board-text); font-size: .79rem; }
.board-status span { display: inline-flex; align-items: center; gap: 5px; }
.board-status .icon { color: var(--gold); }
.door:has(.vacant-door) { background: radial-gradient(ellipse at 50% 53%, #fce0b311, #f6dfb803 73%); }
.vacant-door { position: absolute; inset: 8% 8% 11%; border: 1px dashed #e9bd8645; border-radius: 8px; }
.vacant-door + .door-picture { opacity: .35; filter: saturate(.42) drop-shadow(0 3px 2px #1b111c50); transition: transform .3s, opacity .24s, filter .24s; }
.door:hover .vacant-door + .door-picture, .door:focus-visible .vacant-door + .door-picture { opacity: .84; filter: saturate(.92); }
.door--empty-due { border-style: dashed; border-color: #dea48a6e; }
.door--viewed { box-shadow: inset 0 0 0 1px #87b39a98; }
.door--viewed .door-number { color: #dcf4e1; border-color: #a2c8a998; background: #254334; }
.calendar-board .door-sender { display: block; }
.calendar-board .door-wrapped:has(.door-extra-art) {
  width: clamp(20px, 5vw, 29px); height: clamp(20px, 5vw, 29px); border: 1px solid #e6ad71;
  border-radius: 6px; background: #fff0cb; box-shadow: 0 2px 6px #24142785;
}
.door-extra-art { width: 94%; }

.wrapping-picker { border: 1px solid #e7d2c1; border-radius: 10px; padding: 8px 10px; background: #fffbf4; }
.wrapping-picker > summary { display: flex; align-items: center; min-height: 27px; gap: 7px; cursor: pointer; color: var(--berry-dark); font-weight: 650; }
.wrapping-picker > summary small { margin-left: auto; color: var(--muted); text-align: right; font-weight: 450; }
.wrapping-picker > summary::after { content: '+'; flex: none; margin-left: 3px; line-height: 1; font-size: 1.18rem; }
.wrapping-picker[open] > summary::after { content: '−'; }
.wrapping-picker > summary::-webkit-details-marker { display: none; }
.deluxe-picker { margin-top: 8px; padding: 5px 3px; border-top: 1px dashed #e3cdb9; }
.deluxe-picker > summary { cursor: pointer; min-height: 26px; padding: 3px 2px; font-weight: 630; color: var(--berry-dark); }
.attachments-fields { display: grid; gap: 10px; margin-top: 9px; }
.attachments-fields .button { justify-self: start; }
.editor-recipient { display: flex; align-items: center; gap: 7px; color: var(--berry-dark); font-weight: 650; overflow-wrap: anywhere; }
.editor-recipient .icon, .preview-attachment .icon { flex: none; }
.note-field-title { display: flex; justify-content: space-between; align-items: baseline; gap: 7px; color: var(--berry-dark); font-weight: 650; }
.note-field-title output { text-align: right; font-size: .76rem; color: var(--muted); font-weight: 520; font-variant-numeric: tabular-nums; }
.editor-actions { display: flex; flex-wrap: wrap; gap: 7px; }
.editor-actions .button { flex: 1 1 150px; }
.preview-attachment { display: flex; align-items: center; gap: 7px; padding: 7px 9px; border: 1px solid #ead6c0; border-radius: 7px; background: #fcf2e5; }
.present-copy .note-sheet .preview-attachment { font: 560 .89rem/1.3 var(--sans); }
.attachment-upgrade { display: grid; grid-template-columns: 39px minmax(0, 1fr); gap: 8px; align-items: center; color: var(--muted); font-size: .87rem; }
.attachment-upgrade .button { margin-top: 5px; min-height: 37px; padding-inline: 9px; font-size: .87rem; }
.upgrade-includes { display: grid; gap: 7px; list-style: none; margin: 13px 0 0; padding: 12px; border: 1px solid #e8d7bb; border-radius: 9px; background: #fffaf0; }
.upgrade-includes li { display: flex; align-items: baseline; gap: 7px; line-height: 1.26; }
.upgrade-includes .icon { width: 16px; flex: none; color: #86572a; }
.field select { min-width: 0; width: 100%; padding: 9px 11px; border: 1px solid #dec9c1; border-radius: 8px; color: var(--ink); background: #fffdf9; }
.draft-status { font-size: .82rem; color: var(--muted); }
.draft-status:empty { display: none; }
.wrap-options { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 7px; margin-top: 8px; }
.deluxe-picker .wrap-options { grid-template-columns: repeat(3,minmax(0,1fr)); }
.wrap-option { position: relative; display: grid; gap: 2px; justify-items: center; min-width: 0; align-content: center; padding: 7px; border: 1px solid #e5d4c4; border-radius: 8px; background: #fff9ed; text-align: center; cursor: pointer; }
.wrap-option:has(input:checked) { border-color: #9b4964; background: #f7e6e9; box-shadow: inset 0 0 0 1px #9b49643d; }
.wrap-option input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wrap-option:has(input:focus-visible) { outline: 2px solid #a24668; outline-offset: 2px; }
.wrap-option .wrapping-art, .wrap-option .gift-picture { width: min(100%, 55px); }
.wrap-option small { font-size: .75rem; color: var(--muted); min-height: 20px; }
.wrap-option strong { font-size: .86rem; overflow-wrap: break-word; hyphens: auto; }
.wrap-reveal {
  position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center;
  margin-block: 9px 5px; padding: 5px 10px 8px; border: 1px solid #b98b70; border-radius: 9px;
  background: radial-gradient(ellipse at 70% 42%, #87534599, transparent 65%), #492b38;
  box-shadow: inset 0 0 0 3px #edc89926; color: #ffedcf;
}
.wrap-reveal > span { display: grid; justify-items: center; line-height: 1.23; text-align: center; }
.wrap-reveal small { font-weight: 650; font-size: .74rem; }
.wrap-reveal i { color: #f4bc77; filter: drop-shadow(0 0 7px #fabb76a9); }
.wrap-reveal :is(.gift-picture,.wrapping-art) { width: min(75%, 91px); filter: drop-shadow(0 5px 5px #2813198f); }
.wrap-controls > div { display: flex; flex-wrap: wrap; gap: 6px; }
.wrap-controls .button { flex: 1 1 auto; margin-top: 5px; font-size: .87rem; min-height: 43px; }
.wrap-controls .field-hint { margin-top: 5px; }
.wrap-pack-hint { padding-inline: 2px; }
.copy-invitation-input { min-height: 88px; resize: vertical; width: 100%; margin-top: 10px; }
.song-player {
  display: grid; gap: 5px; margin-top: 8px; padding: 8px 10px 9px; border: 1px solid #e9cfc3;
  border-radius: 9px; background: #f9ede8;
}
.song-player > div { display: flex; align-items: center; gap: 9px; }
.song-player .feature-icon { width: 32px; height: 32px; margin: 0; }
.song-player small { display: block; color: var(--muted); }
.song-player audio { width: 100%; height: 38px; }
.song-jobs { display: grid; gap: 6px; margin-block: 10px; }
.song-job { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: space-between; padding: 7px 9px; border: 1px solid #e7d6cd; border-radius: 7px; }
.song-job > strong { font-size: .91rem; }
.song-job small { display: block; color: var(--muted); font-size: .8rem; }
.song-job .button { font-size: .81rem; min-height: 34px; padding: 4px 7px; }
.song-unavailable { margin-top: 12px; }
.wallet-actions { display: flex; flex-wrap: wrap; gap: 6px; }

.purchase-main { background: linear-gradient(180deg, #f8e6dd 6%, var(--cream) 70%); padding-bottom: clamp(36px, 6vw, 80px); }
.purchase-width { max-width: 780px; }
.purchase-cover {
  padding-block: clamp(42px, 8vw, 92px) clamp(45px, 8vw, 86px);
  background: linear-gradient(120deg, #341a2cf5 13%, #482437df 45%, #613c3473), url('/images/christmas-post-small.webp') center 49% / cover;
  border-bottom: 1px solid #d0ac79; color: #fff5e2;
}
.purchase-head { display: flex; align-items: center; gap: clamp(12px, 4vw, 32px); }
.purchase-head .stamp-picture { width: clamp(54px, 9vw, 98px); flex: none; filter: drop-shadow(0 4px 8px #2b101a8f); transform: rotate(-8deg); }
.purchase-head h1 { font-size: clamp(2.1rem, 6vw, 4.8rem); line-height: .99; margin: 0; overflow-wrap: anywhere; }
.purchase-content { position: relative; display: grid; gap: 14px; margin-top: -28px; }
.purchase-sheet { padding: clamp(13px, 3.7vw, 28px); border: 1px solid #ddc4b2; border-radius: 14px; background: #fffaf0; box-shadow: 0 10px 26px #6c44361c; }
.purchase-recovery { display: grid; justify-items: start; gap: 8px; }
.purchase-recovery-head { display: flex; align-items: center; gap: 8px; }
.purchase-recovery-head .stamp-picture { width: 35px; flex: none; }
.purchase-recovery h2 { margin: 0; }
.purchase-recovery .form-card { width: 100%; }
.purchase-recovery .field-hint { max-width: 57ch; }
.purchase-list { display: grid; gap: 7px; list-style: none; padding: 0; margin: 0; }
.purchase-order { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 5px 12px; align-items: start; padding: 10px 9px; border-radius: 8px; border: 1px solid #e6d1c0; background: #fffcf6; }
.purchase-order-title { overflow-wrap: anywhere; }
.purchase-order-price { text-align: right; }
.purchase-order small { display: block; color: var(--muted); font-size: .8rem; }
.purchase-order small:empty { display: none; }
.purchase-order-details { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .86rem; color: var(--muted); }
.purchase-order-details .button { min-height: 37px; padding: 4px 8px; font-size: .87rem; }
.purchase-empty { color: var(--muted); margin: 0; }

@media (min-width: 761px) and (max-height: 850px) {
  .hero--gift .hero-inner { padding-block: clamp(38px, 5vh, 49px) 38px; row-gap: 18px; }
  .window-display .gift-board-head { margin-top: 11px; }
  .window-display .door { aspect-ratio: 1.19; }
  .window-display .door-picture { width: 91%; }
}
@media (max-width: 840px) {
  .studio-layout { grid-template-columns: minmax(0,1fr); }
  .single-occasion-prices { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 760px) {
  .hero--gift { background-position: 60% center; }
  .hero--gift .hero-inner { grid-template-columns: minmax(0,1fr); grid-template-areas: 'copy' 'builder' 'wall'; padding-block: 23px 32px; row-gap: 17px; }
  .hero-builder { max-width: none; }
  .hero--gift h1 { letter-spacing: -.043em; }
  html[lang='en'] .hero--gift h1 span:last-child { display: block; }
  .window-display { margin-top: 10px; padding: 14px !important; border-radius: 19px 19px 13px 13px; }
  .window-display::after { inset: 5px; border-radius: 13px 13px 8px 8px; }
  .window-display .gift-board-head { margin-top: 9px; margin-bottom: 6px; }
  .window-display .gift-board-footer { margin-top: 10px; padding-top: 6px; }
  .window-display .door-grid { gap: 4px; }
  .window-display .door-number { min-width: 17px; min-height: 17px; font-size: .71rem; }
  .window-garland { width: min(47%,230px); }
  .window-open { font-size: .7rem; min-height: 28px; max-width: 166px; }
  .present-stage .stage-postmark { width: 46px; right: 6%; }
}
@media (max-width: 540px) {
  .lookup-card { grid-template-columns: minmax(0, 1fr); }
  .lookup-card > img { grid-row: 1; min-height: 0; height: auto; aspect-ratio: 2.5; object-position: center 57%; }
  .gift-arrival { grid-template-columns: minmax(0, 1fr); grid-template-areas: 'art' 'copy'; }
  .gift-arrival-art { min-height: 0; aspect-ratio: 2.36; }
  .gift-arrival-art img { object-position: center 57%; }
  .calendar-board .door-grid { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .calendar-board .door:has(.door-sender) { padding-bottom: 16px; }
  .calendar-board .door-sender {
    display: block; left: 4px; right: 25px; bottom: 3px; max-width: none; padding: 1px 2px;
    background: transparent; color: var(--board-text); font-size: .66rem;
  }
  .wrap-options, .deluxe-picker .wrap-options { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .wrap-option { grid-template-columns: 41px minmax(0,1fr); align-items: center; justify-items: start; gap: 1px 5px; text-align: left; }
  .wrap-option :is(.gift-picture,.wrapping-art) { grid-row: span 2; }
  .wrap-option small { min-height: 0; }
}
@media (max-width: 390px) {
  .window-actions .gift-board-date { display: none; }
  .site-header .header-inner { grid-template-columns: minmax(0,1fr) auto; gap: 5px; }
  .site-header .wordmark { font-size: clamp(1.08rem, 5.3vw, 1.32rem); gap: 6px; }
  .site-header .header-actions { min-width: 0; gap: 3px; }
  .site-header .language-menu summary { padding-inline: 5px; }
  .site-header .button--nav { padding-inline: 6px; line-height: 1.12; max-width: 90px; overflow-wrap: anywhere; }
  .studio-gallery { gap: 5px; }
  .wrap-option { padding-inline: 4px; }
}
@media (max-width: 360px) {
  .hero--gift .hero-inner { padding-block-start: 16px; row-gap: 11px; }
  .hero--gift h1 { margin-block: 8px; }
  .hero-builder { padding: 12px; }
  .hero-builder .form-card--compact { gap: 7px; }
}
