/* A theme preview. Shop envelope animations are not guest opening renders. */
.d-gallery-product .d-showcase{background:#EDF4DD}
.d-gallery-product .d-gallery-invite{padding:16px 0 0}
.d-product-invite-thumb{max-width:320px;margin-inline:auto;pointer-events:none}
.d-product-invite-thumb .d-invitation{padding:64px 18px 24px}
.d-product-invite-thumb .d-invite-heading{padding-top:16px}
.d-product-invite-thumb .d-invite-intro{font-size:13px}
.d-product-invite-thumb .d-invite-name{font-size:40px}
.d-product-invite-thumb .d-invite-age{font-size:15px}
.d-product-invite-thumb .d-invite-frame{width:155px;margin-block:14px}
.d-product-invite-thumb .d-invite-details,.d-product-invite-thumb .d-invite-signature,.d-product-invite-thumb .d-invite-message{display:none}
.d-product-invite-thumb .d-invite-egg{width:58px}
.d-product-invite-thumb .d-invite-footprint{width:45px}
.d-gallery-product .d-open-invitation{display:flex;width:100%;max-width:320px;min-height:48px;margin:14px auto 0;padding:10px 12px;font-size:14px;gap:10px}
.d-gallery-preview-dialog{width:480px;height:min(900px,calc(100dvh - 48px));max-height:calc(100dvh - 48px);padding:0}
.d-gallery-preview-dialog[open]{display:flex;flex-direction:column}
.d-gallery-preview-dialog .d-modal-header{flex:none;position:static}
.d-gallery-preview-dialog .d-modal-preview-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px}
.d-gallery-preview-dialog .d-invite-status{padding:12px 14px;border-radius:12px;background:white;color:var(--ink);font-size:14px;line-height:1.7;text-align:left}
.d-gallery-preview-footer{flex:none;padding:14px 20px max(14px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:white}
.d-gallery-preview-footer .d-button{width:100%;min-height:50px;font-size:14px}
@media(max-width:600px){
  .d-gallery-product .d-header{height:68px}
  .d-gallery-product .d-breadcrumb{padding-block:10px 12px}
  .d-gallery-product .d-product-title{margin-bottom:14px}
  .d-gallery-product .d-product-title h1{font-size:44px}
  .d-gallery-product .d-product-title>p{font-size:15px;line-height:1.55;margin-top:8px}
  .d-gallery-product .d-gallery-invite{padding-top:14px}
  .d-product-invite-thumb .d-invitation{padding:52px 16px 20px}
  .d-product-invite-thumb .d-invite-heading{padding-top:8px}
  .d-product-invite-thumb .d-invite-intro{font-size:12px}
  .d-product-invite-thumb .d-invite-name{font-size:36px;margin-top:7px}
  .d-product-invite-thumb .d-invite-age{font-size:14px;margin-top:5px}
  .d-product-invite-thumb .d-invite-frame{width:138px;margin-block:11px}
  .d-gallery-product .d-example-caption{font-size:12px;line-height:1.7}
  .d-gallery-preview-dialog{width:100vw;height:100vh;height:100dvh;max-width:none;max-height:100dvh;margin:0;border:0;border-radius:0}
  .d-gallery-preview-dialog .d-modal-preview-body{padding:18px 16px}
  .d-gallery-preview-footer{padding-inline:16px}
}
@media(max-width:350px){
  .d-product-invite-thumb .d-invite-frame{width:125px}
  .d-product-invite-thumb .d-invite-intro{font-size:11px}
  .d-gallery-product .d-open-invitation{font-size:13px}
}
