/* Match the home page's dialog theme without importing its page layout. */
body.store-modal-open { touch-action: auto; }
.store-modal { overflow-y: auto; align-items: safe center; overscroll-behavior: contain; }
.store-modal__backdrop { position: fixed; background: #081527b8; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.store-modal__dialog {
  width: min(100%, 560px);
  max-height: none;
  padding: 32px clamp(22px, 5vw, 40px);
  background:
    radial-gradient(ellipse at 0% 0%, #548ce826, transparent 65%),
    radial-gradient(ellipse at 100% 100%, #5be0c31a, transparent 65%),
    linear-gradient(145deg, #15263d, #0b1423 65%, #15283a);
  border: 1px solid #b7c7dc26;
  border-radius: 24px;
  overflow: clip;
  box-shadow: 0 24px 64px #00000055, inset 0 1px 0 #ffffff08;
}
.store-modal__dialog::before {
  display: block; inset: 0; width: auto; height: auto; border-radius: inherit;
  background: url('/assets/background-contours.svg') center / 800px auto;
  opacity: .22; filter: none;
}
.store-modal__dialog::after { display: none; }
.store-modal__close { width: 44px; height: 44px; padding: 0; border-color: #ffffff17; border-radius: 12px; background: #ffffff05; }
.store-modal__close:hover { transform: none; border-color: #92c6ec55; background: #92c6ec0c; }
.store-modal__brand { display: flex; flex-direction: column; gap: 6px; margin-bottom: 24px; }
.store-modal__logo-wrap { width: 68px; height: 68px; overflow: visible; border-radius: 0; background: none; box-shadow: none; }
.store-modal__logo-wrap img { width: 100%; height: 100%; }
.store-modal__eyebrow {
  color: #92c6ec;
  background: linear-gradient(100deg, #8cbcff, #9ae6d2);
  background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  font-size: clamp(24px, 4.5vw, 30px); font-weight: 650; line-height: 1.2; letter-spacing: -.04em; text-transform: none;
}
.store-modal__description { color: #c5d2e3; font-size: 15px; line-height: 1.8; }
.store-modal__thank-you { color: var(--text); font-size: .9em; }
.store-modal__divider { margin: 24px 0 18px; }
.store-modal__divider strong { color: #b7c7dc; font-weight: 600; letter-spacing: .16em; }
.store-modal__divider span { background: linear-gradient(90deg, transparent, #b7c7dc26); }
.store-modal__divider span:last-child { background: linear-gradient(90deg, #b7c7dc26, transparent); }
.store-modal__actions { width: min(100%, 180px); }
.store-modal__store-link, .store-modal__store-link.is-selected { padding: 0; border: 0; border-radius: 10px; background: none; box-shadow: none; }
.store-modal__store-link:hover { transform: translateY(-2px); background: none; box-shadow: 0 10px 24px #00000026; }
.store-modal__close:focus-visible, .store-modal__store-link:focus-visible { outline: 2px solid var(--mint); outline-offset: 5px; }
@media (max-width: 560px) {
  .store-modal__dialog { padding: 28px 22px; }
  .store-modal__brand { margin-bottom: 20px; }
  .store-modal__logo-wrap { width: 60px; height: 60px; }
  .store-modal__description { font-size: 14px; line-height: 1.7; }
}
@media (max-width: 560px) and (max-height: 680px) {
  .store-modal__dialog { padding: 24px 18px; }
  .store-modal__brand { margin-bottom: 14px; }
  .store-modal__logo-wrap { width: 48px; height: 48px; }
  .store-modal__description { line-height: 1.55; }
}
@media (min-width: 600px) and (max-height: 540px) {
  .store-modal__dialog { width: min(100%, 840px); padding: 16px 28px; }
  .store-modal__brand { margin-bottom: 8px; }
  .store-modal__logo-wrap { width: 36px; height: 36px; }
  .store-modal__description { margin-top: 8px; font-size: 14px; line-height: 1.45; max-width: 650px; }
  .store-modal__thank-you { margin-top: 8px; }
  .store-modal__divider { margin: 12px 0; }
  .store-modal__store-link { padding: 8px 12px; }
}
