/* Drawn at 90% (tools/dev/scalecss.py). */
/* The registry as guests see it, on the wedding's guest page and in the host's
   guest view (shopcards.js). */

.regtitle { position: relative; overflow: hidden; padding: 21.5px 22% 18px; margin: 0 0 12.5px; text-align: center; }
.regtitle h2, .stage .regtitle h2 { position: relative; margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(22.5px, 4.6vw, 30.6px); line-height: 1.16; letter-spacing: -.01em; }
.regleaf { position: absolute; top: 0; width: min(34%, 171px); height: auto; pointer-events: none; }
.regleaf.left { left: 0; }
.regleaf.right { right: 0; transform: scaleX(-1); }
.regnote { display: flex; gap: 11px; align-items: flex-start; margin: 0 0 16px; padding: 13.5px 14.5px; border: 1px solid #f0eae1; border-radius: 14.5px; background: #fffdfb; box-shadow: 0 5.5px 16px -9px rgba(31, 27, 22, .14); }
.regnote .plusglyph { flex: none; color: var(--accent); }
.regnote svg { display: block; width: 18px; height: 18px; }
.regnote p { margin: 0; font-size: 13.1px; line-height: 1.5; white-space: pre-wrap; }
/* Saved: always there, on the right of what it filters. */
.shopsaved { display: flex; justify-content: flex-end; margin: 0 0 11px; }
.savedfilter, .stage .savedfilter { display: inline-flex; align-items: center; gap: 5.5px; min-height: 0; padding: 5.5px 11px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 12.2px; font-weight: 600; cursor: pointer; }
.savedfilter[aria-pressed=true] { border-color: var(--accent); color: var(--accent); }
.savedfilter svg { display: block; width: 13.5px; height: 13.5px; }
.shopnone { margin: 9px 0 21.5px; text-align: center; color: var(--muted); font-size: 12.6px; }
.shopgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12.5px; margin: 0 0 20px; }
@media (min-width: 640px) { .shopgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.shopcard { position: relative; min-width: 0; border: 1px solid #f0eae1; border-radius: 14.5px; background: #fffdfb; box-shadow: 0 5.5px 16px -9px rgba(31, 27, 22, .14); }
.shopopen, .stage .shopopen { display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; width: 100%; height: 100%; min-height: 0; padding: 0; border: 0; border-radius: 14.5px; background: none; text-align: left; color: var(--ink); font-weight: 400; }
button.shopopen { cursor: pointer; }
.stage button.shopopen:hover:not(:disabled) { background: none !important; }
.shopcard .shopphoto { position: relative; display: block; flex: none; aspect-ratio: 1.26; margin: 0; overflow: hidden; border-radius: 13.5px 13.5px 7px 7px; background: var(--tint); }
.shopcard .shopphoto img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
button.shopopen:hover .shopphoto img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .shopcard .shopphoto img { transition: none; } }
.shopblank { position: absolute; inset: 0; display: grid; place-items: center; padding: 9px; text-align: center; font-family: var(--display); font-size: clamp(12.6px, 4.6vw, 17.1px); color: var(--accent); overflow-wrap: normal; word-break: normal; }
.shopwords { flex: 1; display: flex; flex-direction: column; gap: 2.5px; padding: 10px 11px 11px; }
.shopname { font-weight: 600; font-size: 13.1px; line-height: 1.3; }
.shopprice { color: var(--muted); font-size: 12.6px; }
.shopfar { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.5px; margin-top: 6.5px; }
.shopbar { display: block; height: 5.5px; border-radius: 999px; background: var(--tint); overflow: hidden; }
.shopbar span { display: block; height: 100%; border-radius: 999px; background: var(--accent); }
.shoppercent { justify-self: end; color: var(--muted); font-size: 11.2px; }
.shopfunded { display: inline-flex; align-items: center; justify-content: center; gap: 3.5px; align-self: center; margin-top: 6.5px; padding: 2.5px 10px; border-radius: 999px; background: #e4f1e6; color: #2f6b43; font-size: 11.2px; font-weight: 600; }
.shopfunded svg { display: block; width: 11.5px; height: 11.5px; }
.shopline { margin-top: 3.5px; color: var(--muted); font-size: 11.2px; }
/* A white tile over the photo, with the heart in the wedding's color. */
.shopheart { position: absolute; top: 7px; right: 7px; display: grid; place-items: center; width: 30.5px; height: 30.5px; min-height: 0; padding: 0; border: 0; border-radius: 10px; background: #fff; color: var(--accent); box-shadow: 0 2px 7px rgba(31, 27, 22, .14); cursor: pointer; }
.shopheart svg { display: block; width: 17px; height: 17px; }
.shopheart.on svg path { fill: currentColor; }

/* The honey fund's top: its photo, and a white card rising over its foot
   with the couple's words and the goal. */
.hftop { margin: 0 0 21.5px; }
.hfphoto { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 16px; background: var(--tint); }
.hftop.withphoto .hfcard { position: relative; margin: -29px 12.5px 0; }
.hfcard { padding: 16px; border: 1px solid #f0eae1; border-radius: 18px; background: #fff; box-shadow: 0 7px 20px -11px rgba(31, 27, 22, .2); }
.hfhead, .stage .hfhead { display: flex; align-items: center; gap: 9px; margin: 0; font-family: var(--display); font-weight: 500; font-size: 22.5px; line-height: 1.15; letter-spacing: -.01em; }
.hfhead svg { flex: none; display: block; width: 21.5px; height: 21.5px; color: var(--accent); }
.hfnote { margin: 7px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; white-space: pre-wrap; }
.hfgoal { display: grid; gap: 7px; margin-top: 14.5px; }
.hfamount { display: flex; align-items: baseline; gap: 3.5px; margin: 0; white-space: nowrap; color: var(--muted); font-size: 13.1px; }
.hfamount b { color: var(--ink); font-size: 17.1px; font-weight: 700; }
.hfpercent { margin-left: auto; color: var(--accent); font-weight: 600; }
.hfgoal .shopbar { height: 9px; }

/* The experiences: a heading with Saved on its right, a line on how to
   give, and a card for each, led by its photo; one to a row, two only
   where each still has room for its amount and Give side by side. */
.xphead { display: flex; align-items: center; justify-content: space-between; gap: 11px; margin: 0 0 3.5px; }
.xphead .label { margin: 0; }
/* In the host's guest view, the same heading, without Saved. */
.hfxphead, .stage .hfxphead { margin: 0 0 11px; font-size: 11.2px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.xphint { margin: 0 0 12.5px; }
.xpgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 14.5px; margin: 0 0 20px; }
.xpcard { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid #f0eae1; border-radius: 18px; background: #fff; box-shadow: 0 7px 20px -11px rgba(31, 27, 22, .2); }
.xpopen, .stage .xpopen { display: flex; flex-direction: column; align-items: stretch; width: 100%; min-height: 0; padding: 0; border: 0; border-radius: 0; background: none; text-align: left; color: var(--ink); font-weight: 400; }
button.xpopen { cursor: pointer; }
.stage button.xpopen:hover:not(:disabled) { background: none !important; }
.xpphoto { display: block; aspect-ratio: 1.9; overflow: hidden; background: #f5ebe5; }
.xpphoto img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
button.xpopen:hover .xpphoto img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .xpphoto img { transition: none; } }
.xpwords { display: flex; flex-direction: column; gap: 3.5px; padding: 12.5px 14.5px 0; }
.xpname { font-family: var(--display); font-weight: 500; font-size: 18.9px; line-height: 1.2; letter-spacing: -.01em; }
.xpnote { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--muted); font-size: 12.6px; line-height: 1.4; }
.xpfoot { display: flex; align-items: flex-end; gap: 14.5px; margin-top: auto; padding: 12.5px 14.5px 14.5px; }
.xpfoot > :first-child { flex: 1; min-width: 0; }
.xpfar { display: grid; gap: 5.5px; }
.xpamount { display: flex; align-items: baseline; gap: 3.5px; margin: 0; white-space: nowrap; color: var(--muted); font-size: 12.6px; }
.xpamount b { color: var(--ink); font-weight: 600; font-size: 13.5px; }
.xppercent { margin-left: auto; color: var(--accent); font-size: 11.7px; font-weight: 600; }
.xpfar .shopbar { height: 4.5px; }
.xpline, .xpthanks { margin: 0; color: var(--muted); font-size: 12.6px; }
.xpthanks { color: #2f6b43; }
.xpgive, .stage .xpgive { flex: none; display: inline-grid; place-items: center; min-width: 79px; min-height: 38px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--accent); color: #fff; font-size: 13.5px; font-weight: 600; cursor: pointer; }
span.xpgive { cursor: default; }
.xpfoot .shopfunded { flex: none; align-self: auto; margin: 0; padding: 4.5px 10px; }
