/* Scoped to the approved gift page; shared site tokens are unchanged. */
.box-page .gift-preview {
  display: block;
  cursor: zoom-in;
  transition: transform 140ms ease-out;
}
.box-page .gift-preview:active { transform: scale(0.985); }
.box-page .gift-preview:focus-visible {
  outline: 3px solid #1b64c8;
  outline-offset: -3px;
  z-index: 1;
}
.box-page .gift-spec {
  display: block;
  margin-top: 4px;
  color: #4e5968;
}
.box-page .gift-notice {
  max-width: 640px;
  margin: 20px auto 0;
  padding: 16px 20px;
  border-radius: 18px;
  background: #eef1f4;
  color: #333d4b;
  text-align: left;
  word-break: keep-all;
}
.box-page .gift-notice strong { color: #191f28; font-weight: 700; }
.box-page .gift-conditions { word-break: keep-all; overflow-wrap: anywhere; }
.box-page #gift-preview-dialog {
  width: min(960px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 24px;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #191f28;
  overflow: auto;
  overscroll-behavior: contain;
}
.box-page #gift-preview-dialog[open] { animation: gift-dialog-in 180ms ease-out; }
.box-page #gift-preview-dialog::backdrop { background: rgba(25, 31, 40, 0.6); }
.box-page .gift-dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.box-page #gift-preview-detail { margin-top: 4px; }
.box-page #gift-preview-close {
  min-width: 60px;
  min-height: 44px;
  padding: 10px 14px;
  flex-shrink: 0;
  border-radius: 999px;
  background: #f2f4f6;
  color: #191f28;
  font-size: 14px;
  font-weight: 600;
}
.box-page .gift-dialog-image {
  display: grid;
  place-items: center;
  height: min(60dvh, 640px);
  min-height: 180px;
  margin: 20px 0 16px;
  overflow: hidden;
  border-radius: 12px;
  background: #f6f7f8;
}
.box-page #gift-preview-image {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
}
.box-page #gift-preview-status { padding: 24px; font-size: 16px; text-align: center; }
.box-page #gift-preview-note { word-break: keep-all; overflow-wrap: anywhere; }
@keyframes gift-dialog-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
.box-page .gift-grid p { word-break: keep-all; overflow-wrap: anywhere; }
@media (max-width: 479px) {
  .box-page #gift-preview-dialog { padding: 20px; }
  .box-page .gift-dialog-image { height: 48dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .box-page .gift-preview { transition: none; }
  .box-page .gift-preview:active { transform: none; }
  .box-page #gift-preview-dialog[open] { animation: none; }
}

/* ===== 2026-11-17 자가점검 반영: 메인과 같은 글꼴·줄바꿈, 메뉴 표시, 아래쪽 회사 정보 ===== */
@font-face{font-family:'Pretendard Variable';font-style:normal;font-weight:45 920;font-display:swap;src:url(fonts/PretendardVariable.page.woff2) format('woff2-variations'),url(fonts/PretendardVariable.page.woff2) format('woff2')}
.box-page,.box-page button,.box-page input,.box-page h1,.box-page h2,.box-page h3,.box-page p,.box-page a,.box-page span,.box-page li{font-family:'Pretendard Variable',Pretendard,-apple-system,BlinkMacSystemFont,'Apple SD Gothic Neo','Malgun Gothic',sans-serif}
.box-page{word-break:keep-all;overflow-wrap:break-word}
.box-page h1{text-wrap:balance}
.box-page .nw{white-space:nowrap}
.box-page nav a[aria-label="인슈펍 홈"]{min-height:44px;display:inline-flex;align-items:center}
.box-page .box-nav-links a{position:relative;padding:6px 0}
.box-page .box-nav-links a[aria-current=page]{color:#191f28}
.box-page .box-nav-links a[aria-current=page]::after{content:"";position:absolute;left:0;right:0;bottom:-2px;height:2px;border-radius:2px;background:#1b64c8}
.box-page :focus-visible{outline:2px solid #1b64c8;outline-offset:2px}
.box-footer{margin-top:64px;padding:48px 20px 56px;border-top:1px solid #e5e8eb;background:#f9fafb}
.box-footer-in{max-width:1120px;margin:0 auto;display:flex;flex-direction:column;gap:8px}
.box-footer-logo{font-size:22px;font-weight:800;color:#1b64c8;margin-bottom:8px}
.box-footer p{margin:0;font-size:.8125rem;line-height:1.6;color:#4e5968}
.box-footer-links{display:flex;flex-wrap:wrap;gap:8px 24px;margin:12px 0 4px}
.box-footer-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.875rem;font-weight:700;color:#4e5968;text-decoration:none}
.box-footer-links a:hover{color:#1b64c8}
.box-footer p.box-footer-copy{font-size:.75rem;color:#5f6b7a}
