* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  background: linear-gradient(160deg, #1a0533 0%, #2d1060 45%, #ec4899 120%);
  min-height: 100vh;
  color: #1f2937;
  padding: 24px 16px 48px;
}

.wrap {
  max-width: 480px;
  margin: 0 auto;
}

.card {
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo span {
  color: #ec4899;
}

.subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
}

.badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdf2f8;
  color: #ec4899;
  font-size: 12px;
  font-weight: 600;
}

.product-box {
  margin-top: 20px;
  padding: 16px;
  border-radius: 14px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
}

.product-image-wrap {
  margin-bottom: 14px;
}

.product-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  object-fit: cover;
}

.product-image[hidden] {
  display: none;
}

.product-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 220px;
  height: 140px;
  margin: 0 auto;
  border-radius: 12px;
  border: 1px dashed #f9a8d4;
  background: #fff;
  color: #9ca3af;
  font-size: 13px;
  font-weight: 600;
}

.product-image-placeholder[hidden] {
  display: none;
}

.product-name {
  font-size: 15px;
  font-weight: 700;
  color: #831843;
}

.product-price {
  margin-top: 6px;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.product-note {
  margin-top: 8px;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.5;
}

.status {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.6;
}

.status.info {
  background: #eff6ff;
  color: #1d4ed8;
}

.status.error {
  background: #fef2f2;
  color: #b91c1c;
}

.status.success {
  background: #ecfdf5;
  color: #047857;
}

.actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

button,
a.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

button.primary,
a.button.primary {
  background: #ec4899;
  color: #fff;
}

button.secondary,
a.button.secondary {
  background: #fff;
  color: #ec4899;
  border: 1px solid #fbcfe8;
}

button:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.footer {
  margin-top: 20px;
  font-size: 12px;
  color: #9ca3af;
  text-align: center;
  line-height: 1.6;
}

.footer a {
  color: #ec4899;
}

.policy-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.policy-nav a {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 999px;
  background: #fdf2f8;
  color: #ec4899;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.policy-nav a:hover {
  background: #ec4899;
  color: #fff;
}

.business-info {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #f3f4f6;
  text-align: left;
}

.business-info h2 {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.business-info dl {
  font-size: 12px;
  line-height: 1.8;
}

.business-info dt {
  float: left;
  clear: left;
  width: 108px;
  color: #9ca3af;
  font-weight: 500;
}

.business-info dd {
  margin-left: 116px;
  color: #374151;
  margin-bottom: 4px;
}

.business-info a {
  color: #ec4899;
  text-decoration: none;
}

.business-info a:hover {
  text-decoration: underline;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #fdf2f8;
  border: 1px solid #fbcfe8;
  font-size: 12px;
  line-height: 1.55;
  color: #374151;
  cursor: pointer;
}

.consent-row input {
  margin-top: 3px;
  flex-shrink: 0;
}

.spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #fbcfe8;
  border-top-color: #ec4899;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 8px auto 0;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
