/* Baby registry styles — modern, warm keepsake aesthetic */
:root {
  --bg: #faf6f0;
  --bg-subtle: #f5ede4;
  --card: #ffffff;
  --card-alt: #fdfaf6;
  --ink: #382c26;
  --ink-light: #5c4c42;
  --muted: #8d7b70;
  --muted-light: #b8a99e;
  --accent: #c25e79;
  --accent-hover: #a84b64;
  --accent-soft: #faeaef;
  --accent-subtle: #fcedf2;
  --ok: #3d865b;
  --ok-soft: #e8f5ec;
  --warn: #b27b1e;
  --warn-soft: #fcf4e4;
  --line: #ecdcd2;
  --line-subtle: #f3eae3;
  --shadow-sm: 0 2px 6px rgba(56, 44, 38, 0.04), 0 1px 3px rgba(56, 44, 38, 0.03);
  --shadow-md: 0 8px 24px rgba(56, 44, 38, 0.06), 0 2px 6px rgba(56, 44, 38, 0.04);
  --shadow-lg: 0 16px 36px rgba(56, 44, 38, 0.08), 0 4px 12px rgba(56, 44, 38, 0.04);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: radial-gradient(rgba(194, 94, 121, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--accent-hover);
}

/* ================= Header & Nav ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}
.site-header .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-item {
  color: var(--ink-light);
  font-size: 14px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  transition: all 0.15s ease;
}
.nav-item:hover {
  background: var(--bg);
  color: var(--accent);
}
.nav-item.admin-link {
  color: var(--accent);
}
.nav-item.logout-link {
  color: var(--muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}
.nav-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  color: var(--muted);
  border: 1px solid var(--line);
  background: var(--card);
  transition: all 0.15s ease;
}
.nav-logout:hover {
  color: #fff;
  background: var(--accent, #b0754f);
  border-color: var(--accent, #b0754f);
}
.nav-logout svg {
  display: block;
}

.lang-toggle {
  display: flex;
  background: var(--bg);
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
}
.lang-toggle a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.5px;
  transition: all 0.15s ease;
}
.lang-toggle a:hover {
  color: var(--ink);
}
.lang-toggle a.active {
  background: var(--card);
  color: var(--accent);
  box-shadow: 0 1px 4px rgba(56, 44, 38, 0.08);
}

/* ================= Flash banner ================= */
.flash {
  background: var(--warn-soft);
  border: 1px solid #ebd7ab;
  border-left: 4px solid var(--warn);
  color: #724c0e;
  padding: 12px 18px;
  margin: 18px auto 0;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
}

main.wrap {
  padding: 72px 24px 80px;
}

/* ================= Typography & Common ================= */
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 600;
  margin: 0;
}

/* ================= Hero Birth Announcement Card ================= */
.birth-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 14px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.birth-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #eec0c8, var(--accent), #eec0c8);
}
.card-inner-frame {
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) - 8px);
  padding: 48px 28px 42px;
  text-align: center;
  background: linear-gradient(180deg, #ffffff 0%, var(--card-alt) 100%);
}
.birth-card.hero {
  margin-bottom: 48px;
}
.birth-card.hero .card-inner-frame {
  padding-top: 72px;
}
/* Banner image (e.g. Belgian birth card portrait) at the top of the card.
   Displayed as-is: no frame or crop — the source is expected to have a
   transparent background. */
.card-banner {
  margin: -20px auto 26px;
  max-width: 420px;
  width: 82%;
}
.card-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}
.card-deco {
  color: var(--accent);
  font-size: 16px;
  letter-spacing: 12px;
  margin-bottom: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.deco-flower {
  font-size: 20px;
  color: var(--accent);
}
.deco-star {
  font-size: 14px;
  color: #d896a7;
}

.birth-card .intro {
  font-family: var(--font-serif);
  font-size: 21px;
  font-style: italic;
  color: var(--muted);
  margin: 0 0 10px;
  letter-spacing: 0.3px;
}
.baby-name {
  font-family: var(--font-serif);
  font-size: 58px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 1.5px;
  line-height: 1.15;
  margin: 0 0 10px;
}
.parents {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 18px auto;
  max-width: 200px;
  color: var(--accent);
}
.card-divider::before,
.card-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}
.card-divider span {
  padding: 0 12px;
  font-size: 16px;
}
.birth-facts {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink-light);
  margin: 0 0 26px;
}
.hero-cta {
  margin-top: 28px;
}

/* ================= Buttons ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--accent);
  color: #ffffff !important;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(194, 94, 121, 0.25);
  transition: all 0.2s ease;
  text-decoration: none !important;
}
.btn:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 14px rgba(194, 94, 121, 0.35);
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}
.btn.big {
  font-size: 16px;
  padding: 13px 32px;
}
.btn.hero-btn {
  box-shadow: 0 4px 16px rgba(194, 94, 121, 0.3);
}
.btn.item-btn {
  width: 100%;
}
.btn.disabled {
  background: var(--ok-soft);
  color: var(--ok) !important;
  box-shadow: none;
  cursor: default;
  pointer-events: none;
}

/* ================= Registry Section ================= */
.registry {
  margin-top: 20px;
}
.registry-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 36px;
}
.registry-header h2 {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.registry-header .intro {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Category groups */
.category-group {
  margin-bottom: 44px;
}
.category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--line);
}
.cat-title {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.2px;
}
.category-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 8px;
  border-radius: var(--radius-full);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

/* Responsive Items Grid */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 20px;
}

/* Item Card */
.item-card {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 20px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.item-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: #e0cec2;
}
.item-card.funded {
  background: #fbfbfb;
  border-color: var(--line-subtle);
  opacity: 0.85;
}

.item-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.item-category-tag {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.item-main {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.item-title {
  font-family: var(--font-serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
  text-transform: capitalize;
}
.item-desc {
  font-size: 13.5px;
  color: var(--ink-light);
  line-height: 1.5;
  margin: 0 0 12px;
  flex: 1;
}
.item-link {
  font-size: 12.5px;
  font-weight: 500;
  margin: 0 0 16px;
}
.item-link a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.item-link .arrow {
  font-size: 13px;
  transition: transform 0.15s ease;
}
.item-link a:hover .arrow {
  transform: translate(1px, -1px);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.badge.open {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-light);
}
.badge.partial {
  background: var(--warn-soft);
  color: var(--warn);
  border: 1px solid #ebd7ab;
}
.badge.full {
  background: var(--ok-soft);
  color: var(--ok);
  border: 1px solid #c7e5d2;
}

/* Progress bar inside card */
.item-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line-subtle);
}
.progress-wrap {
  margin-bottom: 14px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 12.5px;
  margin-bottom: 6px;
}
.progress-amount {
  color: var(--muted);
  font-weight: 500;
}
.progress-percent {
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}
.progress {
  background: var(--bg-subtle);
  border-radius: var(--radius-full);
  height: 7px;
  overflow: hidden;
}
.progress .bar {
  background: linear-gradient(90deg, #e494a9, var(--accent));
  height: 100%;
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}
.progress .bar.done {
  background: var(--ok);
}

/* ================= Een centje ================= */
.centje-section {
  margin-top: 48px;
}
.centje-card {
  background: linear-gradient(135deg, var(--accent-subtle) 0%, #fdf6f0 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.centje-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 5px;
  background: linear-gradient(90deg, #f2d493, var(--accent), #f2d493);
}
.centje-icon {
  font-size: 34px;
  margin-bottom: 12px;
}
.centje-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  margin: 0 0 8px;
}
.centje-intro {
  font-size: 15px;
  color: var(--ink-light);
  max-width: 460px;
  margin: 0 auto 22px;
}
.centje-btn {
  background: var(--accent);
}
.centje-btn:hover {
  background: var(--accent-hover);
}

/* ================= Payment hint ================= */
.payment-hint-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin-top: 40px;
  box-shadow: var(--shadow-sm);
}
.hint-icon {
  font-size: 22px;
  line-height: 1;
}
.payment-hint {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.55;
  margin: 0;
}

/* ================= Contribute & Detail Pages ================= */
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
}
.card.narrow {
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.card.center {
  text-align: center;
}

.contribute-card {
  position: relative;
  overflow: hidden;
}
.card-header-accent {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.card-icon {
  font-size: 28px;
}
.card-title {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.contribute-target-banner {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin: 18px 0 14px;
}
.target-row {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 10px;
}
.form-strategy-note {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  margin: 0 0 20px;
}

/* Form Styles */
.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-light);
  margin-bottom: 6px;
}
.input-with-symbol {
  position: relative;
  display: flex;
  align-items: center;
}
.currency-symbol {
  position: absolute;
  left: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--muted);
  pointer-events: none;
}
.input-with-symbol input {
  padding-left: 32px !important;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="password"],
input[type="url"],
select,
textarea {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: all 0.15s ease;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(194, 94, 121, 0.15);
}
textarea {
  resize: vertical;
}

.wire-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--accent-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-top: 18px;
}
.wire-note-icon {
  font-size: 16px;
  line-height: 1.5;
}
.wire-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-light);
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
}
.back-link-wrap {
  text-align: center;
  margin-top: 24px;
}
.back-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.back-link:hover {
  color: var(--accent);
}

/* ================= Thank You & Payment Card ================= */
.thanks-card {
  padding: 44px 32px;
}
.thanks-icon {
  font-size: 40px;
  margin-bottom: 10px;
}
.thanks-title {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--ink);
  margin-bottom: 12px;
}
.thanks-body {
  font-size: 16px;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 24px;
}

.receipt-box {
  background: linear-gradient(180deg, #ffffff 0%, var(--card-alt) 100%);
  border: 1px dashed #d6b8c4;
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 24px 0;
  text-align: left;
  box-shadow: var(--shadow-sm);
}
.receipt-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
  margin-bottom: 14px;
}
.receipt-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--accent);
}
.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 6px 0;
  font-size: 14px;
}
.receipt-row.highlight {
  background: var(--accent-soft);
  margin: 8px -12px 0;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}
.receipt-label {
  color: var(--muted);
  font-size: 13px;
  flex-shrink: 0;
}
.receipt-val {
  color: var(--ink);
  font-family: var(--font-sans);
  text-align: right;
  word-break: break-all;
}
.thanks-note {
  font-size: 13.5px;
  color: var(--muted);
  font-style: italic;
  margin: 18px 0 24px;
}
.thanks-cta {
  margin: 0;
}

/* ================= Charity Page ================= */
.charity-page-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
}
.charity-page-head .page-title {
  font-family: var(--font-serif);
  font-size: 40px;
  margin-bottom: 8px;
}
.charity-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}
.charity-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}
.charity-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.charity-header h2 {
  font-family: var(--font-serif);
  font-size: 26px;
}
.charity-heart {
  font-size: 24px;
}
.charity-desc {
  font-size: 14px;
  color: var(--ink-light);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.charity-link {
  font-size: 13.5px;
  font-weight: 500;
  margin: 0 0 18px;
}

/* ================= Login Page ================= */
.login-card {
  max-width: 440px;
  margin: 40px auto;
}
.login-hero {
  box-shadow: var(--shadow-md);
  margin-bottom: 20px;
}
.login-hero .card-inner-frame {
  padding: 36px 20px 32px;
}
.login-hero .baby-name {
  font-size: 46px;
}
.login-subintro {
  font-size: 14px;
  color: var(--muted);
  margin: 8px 0 0;
  line-height: 1.5;
}
.login-form {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.login-btn {
  width: 100%;
}

/* ================= Admin Styles ================= */
.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.admin-head h1 {
  font-family: var(--font-serif);
  font-size: 34px;
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.stats .stat {
  display: inline-flex;
  align-items: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-light);
  box-shadow: var(--shadow-sm);
}
.admin-section {
  margin-top: 40px;
}
.admin-section h2 {
  font-family: var(--font-serif);
  font-size: 26px;
  margin-bottom: 14px;
}
.table-wrap {
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
th, td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
th {
  color: var(--muted);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: var(--bg);
}
tr:last-child td {
  border-bottom: none;
}
tr.status-paid td {
  background: var(--ok-soft);
}
tr.status-rejected td {
  opacity: 0.5;
  text-decoration: line-through;
}
td.actions {
  white-space: nowrap;
}
td.actions form {
  display: inline-block;
  margin: 0 2px;
}
td.actions button,
.inline-form button {
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s ease;
}
td.actions button:hover,
.inline-form button:hover {
  background: var(--bg);
  border-color: var(--muted-light);
}
td.actions .danger,
.inline-form .danger {
  border-color: #f0c3cb;
  color: #b33951;
  background: #fff;
}
td.actions .danger:hover,
.inline-form .danger:hover {
  background: var(--accent-soft);
}
.grid-form {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-top: 14px;
  box-shadow: var(--shadow-sm);
}
.grid-form label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-light);
}
.grid-form .check {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.grid-form .check input {
  width: auto;
  margin: 0;
}
.grid-form h3 {
  grid-column: 1 / -1;
  margin: 12px 0 2px;
  font-family: var(--font-serif);
  font-size: 20px;
}
.grid-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
}
.banner-field {
  grid-column: 1 / -1;
}
.banner-hint {
  margin: 2px 0 10px;
  font-size: 12.5px;
  font-weight: 400;
  color: var(--muted);
}
.banner-preview {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 8px;
}
.banner-preview img {
  width: 96px;
  height: auto;
  background: repeating-conic-gradient(#f3eae3 0% 25%, #ffffff 0% 50%) 0 0 / 12px 12px;
}
.banner-preview .check {
  margin-top: 6px;
}

/* ================= Footer ================= */
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.5);
  padding: 28px 0 36px;
  text-align: center;
}
.footer-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
  margin: 0;
}

/* ================= Responsive Breakpoints ================= */
@media (max-width: 768px) {
  .items-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
  }
  .baby-name {
    font-size: 42px;
  }
  .card-inner-frame {
    padding: 44px 18px 30px;
  }
  .birth-card.hero .card-inner-frame {
    padding-top: 64px;
  }
  .card {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .site-header .wrap {
    flex-direction: column;
    gap: 10px;
  }
  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .baby-name {
    font-size: 36px;
  }
  .registry-header h2 {
    font-size: 30px;
  }
  .receipt-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .receipt-val {
    text-align: left;
  }
}
