/* ===== DONATE PAGE HERO ===== */
.donate-hero {
  padding: 6rem 0 3rem;
  text-align: center;
}
.donate-hero p.section-sub { margin-top: 1rem; }

/* ===== THANK YOU BANNER ===== */
.thanks-banner {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.75rem;
  text-align: center;
  color: #EDD8B0;
}

/* ===== GENERAL FUND CARD ===== */
.general-fund-card {
  max-width: 720px;
  margin: 0 auto 3.5rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.12) 0%, rgba(140,26,26,0.10) 100%);
  border: 1.5px solid rgba(201,168,76,0.35);
  border-radius: var(--radius-lg);
  padding: 2rem 2.25rem;
  text-align: center;
}
.general-fund-card h3 { margin-bottom: 0.5rem; }
.general-fund-card p { color: rgba(237,216,176,0.75); margin-bottom: 1.25rem; }
.general-fund-raised {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

/* ===== REGISTRY GRID ===== */
.registry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 1rem;
}
@media (max-width: 900px) {
  .registry-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .registry-grid { grid-template-columns: 1fr; }
}

.registry-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(237,216,176,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.registry-card-image {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: var(--radius);
}
.registry-card-title {
  font-size: 1.05rem;
  color: #EDD8B0;
}
.registry-card-title a { text-decoration: none; }
.registry-card-title a:hover { color: var(--gold); }

.registry-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.registry-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: rgba(174,199,203,0.12);
  color: rgba(174,199,203,0.9);
}
.registry-badge--hot {
  background: rgba(140,26,26,0.18);
  color: #f0a0a0;
}

.registry-card-qty {
  font-size: 0.8rem;
  color: rgba(237,216,176,0.5);
}

/* ===== PROGRESS BAR (ported from success.html milestone tracker) ===== */
.don-progress-wrap {
  height: 7px;
  background: rgba(255,255,255,0.08);
  border-radius: 50px;
  overflow: hidden;
}
.don-progress-fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, #8C1A1A 0%, #C9A84C 100%);
}
.don-progress-text {
  font-size: 0.78rem;
  color: rgba(237,216,176,0.55);
}

.registry-card-funded {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  padding: 0.6rem 0;
}

/* ===== DONATION MODAL (modeled on .od-modal) ===== */
.don-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.don-modal.don-open { display: flex; }
.don-overlay {
  position: absolute;
  inset: 0;
  background: rgba(4,3,2,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.don-panel {
  position: relative;
  z-index: 1;
  background: #130d07;
  border: 1px solid rgba(237,216,176,0.13);
  border-radius: 20px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0,0,0,0.75);
}
.don-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.75rem 1.1rem;
  border-bottom: 1px solid rgba(237,216,176,0.1);
  flex-shrink: 0;
}
.don-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: #EDD8B0;
  margin: 0;
}
.don-close {
  background: none;
  border: none;
  color: rgba(237,216,176,0.45);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
  transition: color 0.18s ease;
}
.don-close:hover { color: #EDD8B0; }
.don-body {
  padding: 1.5rem 1.75rem 1.75rem;
  overflow-y: auto;
  flex: 1;
}
.don-field { margin-bottom: 1.25rem; }
.don-field label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(237,216,176,0.55);
  margin-bottom: 0.5rem;
}

/* ===== PRESET AMOUNT BUTTONS ===== */
.don-amounts {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}
.don-amount-btn {
  flex: 1;
  min-width: 64px;
  padding: 0.65rem 0.5rem;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  color: #EDD8B0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(237,216,176,0.18);
  border-radius: 10px;
  transition: all 0.18s ease;
}
.don-amount-btn:hover { border-color: var(--gold); }
.don-amount-btn.active {
  background: rgba(201,168,76,0.18);
  border-color: var(--gold);
  color: var(--gold);
}

.don-custom-wrap {
  position: relative;
}
.don-custom-wrap .don-dollar {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(237,216,176,0.5);
}
.don-custom-wrap input { padding-left: 2rem; }

.don-field input[type="text"],
.don-field input[type="number"],
.don-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(237,216,176,0.18);
  border-radius: 10px;
  color: #EDD8B0;
  font-family: 'Lato', sans-serif;
  font-size: 0.95rem;
  padding: 0.75rem 1rem;
}
.don-field input:focus,
.don-field textarea:focus { border-color: var(--gold); }
.don-field input::placeholder,
.don-field textarea::placeholder { color: rgba(237,216,176,0.28); }
.don-field textarea { resize: vertical; min-height: 80px; }

.don-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: rgba(237,216,176,0.7);
  cursor: pointer;
}
.don-checkbox input { margin-top: 0.2rem; }

.don-error {
  color: #f0a0a0;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  min-height: 1.2em;
}

/* ===== SUPPORTER WALL ===== */
.donor-amount {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  background: rgba(201,168,76,0.15);
  color: var(--gold);
}
.donor-target {
  font-size: 0.75rem;
  color: rgba(174,199,203,0.7);
  margin-top: 0.5rem;
}
