.gift-dialog{width:min(92vw,470px);max-height:88dvh;overflow:auto;border:1px solid #ead7dd;border-radius:1rem;padding:1.1rem 1.3rem 1.4rem;background:#fffaf7;color:#2e2027;box-shadow:0 12px 50px #0005}
.gift-dialog::backdrop{background:#271e26a8}
.gift-dialog img{width:100%;height:clamp(95px,20vh,160px);object-fit:cover;border-radius:.65rem}
.gift-dialog h2{margin:.35rem 0 .55rem;font-size:clamp(1.3rem,4vw,1.85rem)}
.gift-dialog p{margin:.5rem 0}
.gift-dialog .gift-label{font-weight:700;color:#883e59;font-size:.85rem}
.gift-dialog .gift-close{position:absolute;right:1.45rem;top:1.25rem;border:1px solid #ead7dd;border-radius:50%;background:white;color:#2e2027;width:42px;height:42px;font-size:1.35rem;cursor:pointer}
.gift-dialog label{display:block;font-weight:650}
.gift-dialog input[type=email]{box-sizing:border-box;width:100%;padding:.55rem;border:1px solid #987381;border-radius:.4rem;font:inherit}
.gift-dialog #gift-privacy,.gift-status{font-size:.9rem}
.gift-primary,.gift-dismiss,.gift-footer{font:inherit;cursor:pointer}
.gift-primary{display:inline-block;padding:.5rem .85rem;border:1px solid #81344f;border-radius:.45rem;background:#81344f;color:white;text-decoration:none}
.gift-primary:disabled{opacity:.65;cursor:wait}
.gift-dismiss,.gift-footer{border:0;background:none;color:inherit;text-decoration:underline;padding:.45rem}
.gift-dialog [hidden]{display:none!important}

.gift-side-trigger,.gift-dialog.gift-side-panel {
  position:fixed;
  left:auto;
  right:max(1rem, env(safe-area-inset-right));
  top:auto;
  z-index:100;
}
.gift-side-trigger {
  bottom:max(1rem, env(safe-area-inset-bottom));
  min-height:44px;
  padding:.55rem .95rem;
  border:1px solid #ead7dd;
  border-radius:999px;
  background:#fffaf7;
  color:#81344f;
  box-shadow:0 3px 14px #2e202726;
  font:inherit;
  font-weight:700;
  cursor:pointer;
}
.gift-side-trigger:hover,.gift-side-trigger[aria-expanded="true"] {
  background:#81344f;
  color:white;
}
.gift-side-trigger:focus-visible {
  outline:2px solid #81344f;
  outline-offset:3px;
}
.gift-dialog.gift-side-panel {
  bottom:calc(max(1rem, env(safe-area-inset-bottom)) + 3.35rem);
  margin:0;
  box-sizing:border-box;
  width:min(340px, calc(100% - 2rem));
  max-height:calc(100dvh - 5.5rem);
  box-shadow:0 8px 32px #2e202733;
}
.gift-side-panel img {height:clamp(72px, 15dvh, 115px)}
.gift-side-panel h2 {font-size:1.35rem}
