/* 证件照价格展示，不参与普通相片的自动计价。 */
html { overflow-x: clip; }

.id-photo-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 20px;
  border: 1px solid var(--separator-soft);
  border-radius: 14px;
  background: var(--bg-secondary);
  padding: 14px 16px;
  color: var(--label-primary);
  text-decoration: none;
}

.id-photo-entry strong { display: block; font-size: 15px; font-weight: 600; }
.id-photo-entry small { display: block; margin-top: 5px; color: var(--label-secondary); font-size: 12px; line-height: 1.5; }
.id-photo-entry-link { flex-shrink: 0; color: var(--apple-blue); font-size: 13px; }
.id-photo-entry:hover { border-color: var(--apple-blue); }

.id-photo-pricing { margin-top: 40px; scroll-margin-top: 132px; }
.id-photo-heading { margin-bottom: 20px; }
.id-photo-heading h2 { margin: 0; font-size: 28px; letter-spacing: -.04em; }
.id-photo-heading p { margin: 10px 0 0; color: var(--label-secondary); font-size: 15px; line-height: 1.6; }
.id-photo-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.id-photo-card {
  min-width: 0;
  padding: 20px 16px 8px;
  border: .5px solid var(--separator-soft);
  border-radius: var(--radius-card);
  background: var(--surface-solid);
  box-shadow: var(--shadow-card);
}
.id-photo-card-title { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.id-photo-card-title h3 { margin: 0; font-size: 21px; letter-spacing: -.03em; }
.id-photo-badge { border-radius: 999px; background: var(--blue-tint); color: var(--apple-blue); padding: 5px 10px; font-size: 12px; font-weight: 500; }
.id-photo-badge-neutral { background: var(--fill); color: var(--label-secondary); }
.id-photo-table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 15px; }
.id-photo-table th, .id-photo-table td { padding: 18px 0; text-align: right; vertical-align: middle; font-variant-numeric: tabular-nums; }
.id-photo-table thead th { padding: 0 0 12px; color: var(--label-secondary); font-size: 12px; font-weight: 500; white-space: nowrap; }
.id-photo-table th:first-child { width: 31%; text-align: left; }
.id-photo-table th:nth-child(2) { width: 17%; }
.id-photo-table tbody tr { border-top: 1px solid var(--separator-soft); }
.id-photo-table tbody th { font-weight: 500; font-size: 14px; }
.id-photo-table tbody th span { display: block; margin-top: 4px; }
.id-photo-table td { white-space: nowrap; }
.id-photo-details { padding: 8px 4px 16px; color: var(--label-secondary); font-size: 13px; line-height: 1.7; }
.id-photo-details p { margin: 12px 0 0; }
.id-photo-details strong { color: var(--label-primary); font-weight: 600; }
.id-photo-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: .5px solid var(--separator-soft);
  border-radius: var(--radius-card);
  background: var(--surface-solid);
  padding: 20px;
}
.id-photo-contact strong { font-size: 18px; }
.id-photo-contact p { max-width: 580px; margin: 8px 0 0; color: var(--label-secondary); font-size: 14px; line-height: 1.6; }
.id-photo-contact .primary { min-height: 44px; flex-shrink: 0; }

@media (min-width: 760px) {
  .id-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .id-photo-card { padding: 28px 24px 12px; }
  .id-photo-pricing { margin-top: 48px; }
  .id-photo-contact { flex-direction: row; align-items: center; justify-content: space-between; padding: 24px; }
}

@media (max-width: 360px) {
  .id-photo-entry { gap: 8px; padding: 12px; }
  .id-photo-entry strong { font-size: 14px; }
  .id-photo-entry-link { font-size: 12px; }
  .id-photo-card { padding-left: 12px; padding-right: 12px; }
  .id-photo-table { font-size: 14px; }
  .id-photo-table tbody th { font-size: 13px; }
}
