/* Home gift card pop-up (agreed 2026-11-24; centered over the page per Joe 11-25).
   Native <dialog>: the browser handles focus, Escape and stacking. */
html.bt-gpop-open { overflow: hidden; }
.bt-gpop { box-sizing: border-box; position: fixed; inset: 0; margin: auto !important; padding: 0 !important; border: 0; width: 600px; max-width: calc(100vw - 32px); height: fit-content; max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain; background: #fff; color: #23282d; box-shadow: 0 24px 80px rgba(0,0,0,.5); text-align: center; }
.bt-gpop:not([open]) { display: none; }
.bt-gpop::backdrop { background: rgba(12,12,12,.74); }
.bt-gpop[open] { animation: bt-gpop-in .35s ease-out; }
.bt-gpop[open]::backdrop { animation: bt-gpop-fade .35s ease-out; }
@keyframes bt-gpop-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes bt-gpop-fade { from { opacity: 0; } }
.bt-gpop__img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 32%; max-width: none !important; border-bottom: 4px solid #f29d23; }
.bt-gpop__copy { padding: 28px 44px 24px; }
.bt-gpop .bt-gpop__script { font-size: 36px !important; line-height: 1.1 !important; color: #a8620a !important; margin: 0 0 6px !important; text-align: center !important; }
.bt-gpop .bt-gpop__title { font-size: 34px !important; font-weight: 300 !important; line-height: 1.2 !important; margin: 0 0 12px !important; color: #141414 !important; text-align: center !important; text-wrap: balance; }
.bt-gpop .bt-gpop__text { font-size: 17px !important; line-height: 1.55 !important; margin: 0 auto 22px !important; max-width: 40ch; color: #3d444a !important; text-align: center !important; text-wrap: pretty; }
.bt-gpop .bt-btn--gold { background: #f29d23 !important; color: #141414 !important; }
.bt-gpop .bt-btn--gold:hover { background: #ffb347 !important; }
.bt-gpop__no { display: block; margin: 8px auto 0; padding: 12px 18px; min-height: 44px; border: 0; background: none; color: #555c62; font: inherit; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bt-gpop__close { position: absolute; z-index: 1; top: 12px; right: 12px; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.95); color: #141414; font: 400 28px/44px Arial, sans-serif; cursor: pointer; text-align: center; }
.bt-gpop:focus { outline: none; }
.bt-gpop button:focus-visible { outline: 3px solid #f29d23; outline-offset: 2px; }
@media (max-width: 600px) {
  .bt-gpop__copy { padding: 22px 22px 14px; }
  .bt-gpop .bt-gpop__script { font-size: 32px !important; }
  .bt-gpop .bt-gpop__title { font-size: 27px !important; }
  .bt-gpop .bt-gpop__text { font-size: 16px !important; margin-bottom: 18px !important; }
}
/* Short windows and phones held sideways: photo beside the words. */
@media (max-height: 620px) and (min-width: 561px) {
  .bt-gpop { width: 720px; }
  .bt-gpop[open] { display: grid; grid-template-columns: 42% 1fr; }
  .bt-gpop__img { aspect-ratio: auto; height: 100%; min-height: 0; border-bottom: 0; border-right: 4px solid #f29d23; contain: size; }
  .bt-gpop__copy { padding: 22px 26px 10px; }
  .bt-gpop .bt-gpop__script { font-size: 28px !important; padding-right: 30px; }
  .bt-gpop .bt-gpop__title { font-size: 25px !important; }
  .bt-gpop .bt-gpop__text { font-size: 15px !important; margin-bottom: 14px !important; }
  .bt-gpop__close { top: 6px; right: 6px; }
}
@media (max-width: 600px) and (max-height: 600px) { .bt-gpop__img { aspect-ratio: 5 / 2; } }
@media (prefers-reduced-motion: reduce) { .bt-gpop[open], .bt-gpop[open]::backdrop { animation: none; } }
