@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

.ndt-wrap {
  font-family: 'Poppins', sans-serif;
  
  /* Brand colors */
  --primary: #0b6e4f;          /* Deep green (brand) */
  --primary-light: #0e9468;    /* Lighter accent green */
  --primary-dark: #063d2c;     /* Darker shade for hero gradient */
  --secondary: #0e9468;
  
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --border-color: #e2e8f0;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.02);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;

  font-family: var(--font-sans);
  color: var(--text-primary);
  line-height: 1.5;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.ndt-wrap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* =========================================================
   HERO DONATION LAYOUT
   ========================================================= */

.ndt-wrap .hero-donation-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  background: var(--bg-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
  border: 1px solid var(--border-color);
  overflow: hidden;
  margin-bottom: 2rem;
  min-height: 680px;
}

/* --- Hero / brand panel --- */
.ndt-wrap .hero-panel {
  position: relative;
  background:
    radial-gradient(circle at 15% 12%, rgba(255,255,255,0.10) 0%, transparent 45%),
    radial-gradient(circle at 90% 85%, rgba(255,255,255,0.08) 0%, transparent 40%),
    linear-gradient(160deg, var(--primary-dark) 0%, var(--primary) 55%, #052e21 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.ndt-wrap .hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.35;
  pointer-events: none;
}

.ndt-wrap .hero-panel::after {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -120px;
  right: -100px;
  pointer-events: none;
}

.ndt-wrap .hero-panel-inner {
  position: relative;
  z-index: 1;
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ndt-wrap .back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  margin-bottom: 2.5rem;
  transition: color 0.2s ease;
}

.ndt-wrap .back-link:hover {
  color: #ffffff;
}

.ndt-wrap .org-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.ndt-wrap .org-logo {
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.15);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.ndt-wrap .org-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
}

.ndt-wrap .hero-title {
  color: #ffffff !important;
  font-size: 2.5rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 1.25rem !important;
  text-transform: none !important;
  border: none !important;
  padding: 0 !important;
}

.ndt-wrap .hero-subtitle {
  color: rgba(255,255,255,0.82);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 360px;
}

.ndt-wrap .hero-stats {
  margin-top: auto;
  padding-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ndt-wrap .hero-stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  backdrop-filter: blur(6px);
}

.ndt-wrap .hero-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.ndt-wrap .hero-stat-number {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.ndt-wrap .hero-stat-label {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* --- Donation card (right column) --- */
.ndt-wrap .donation-card {
  padding: 3rem 3.25rem;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ndt-wrap .donation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.ndt-wrap .donation-card-header h2 {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  letter-spacing: -0.3px !important;
  margin: 0 !important;
}

.ndt-wrap .donation-card-header p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-top: 0.2rem;
}

/* Currency pill toggle */
.ndt-wrap .currency-tabs {
  display: flex;
  background: #f1f5f9;
  border-radius: 30px;
  padding: 4px;
  border: 1px solid var(--border-color);
}

.ndt-wrap .currency-tab {
  border: none;
  background: none;
  padding: 0.55rem 1.1rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 30px;
  cursor: pointer;
  color: var(--text-secondary);
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.ndt-wrap .currency-tab.active {
  background: var(--primary);
  color: white;
}

/* --- Form fields --- */
.ndt-wrap .form-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.ndt-wrap .ndt-input-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.ndt-wrap .ndt-input-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.ndt-wrap .ndt-input-icon-wrap {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.9rem;
  background: white;
  transition: all 0.2s ease;
}

.ndt-wrap .ndt-input-icon-wrap:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(11, 110, 79, 0.12);
}

.ndt-wrap .ndt-input-icon-wrap.error {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.ndt-wrap .ndt-input-icon-wrap svg {
  flex-shrink: 0;
  color: var(--text-secondary);
}

.ndt-wrap .ndt-input-icon-wrap input {
  border: none !important;
  outline: none !important;
  padding: 0 !important;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: #0f172a;
  width: 100%;
  background: transparent;
  box-shadow: none !important;
  height: auto !important;
}

.ndt-wrap .amount-input-container {
  padding: 0.75rem 0.9rem;
}

.ndt-wrap .amount-input-container .currency-prefix {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  user-select: none;
}

.ndt-wrap .ndt-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 1.5rem 0 0.6rem;
}

/* --- Amount selector buttons --- */
.ndt-wrap .give-donation-level-btn {
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  padding: 0.65rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.ndt-wrap .give-donation-level-btn:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.ndt-wrap .give-donation-level-btn.active {
  border-color: var(--primary);
  background: #f0fdf4;
  color: var(--primary);
  font-weight: 700;
  box-shadow: 0 0 0 1px var(--primary);
}

/* --- Pay With tabs --- */
.ndt-wrap .pay-with-tabs {
  display: flex;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

.ndt-wrap .pay-tab {
  flex: 1 1 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: none;
  background: transparent;
  padding: 0.7rem 1rem;
  border-radius: 9px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.ndt-wrap .pay-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

/* --- Card type grid --- */
.ndt-wrap .card-options-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.ndt-wrap .card-option-box {
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 1.25rem;
  cursor: pointer;
  background: white;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.ndt-wrap .card-option-box:hover {
  border-color: #94a3b8;
}

.ndt-wrap .card-option-box.active {
  border: 2.5px solid var(--primary);
  background-color: #f0fdf4;
}

.ndt-wrap .option-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.ndt-wrap .option-desc {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.ndt-wrap .option-desc h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.ndt-wrap .option-desc p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.1rem;
  line-height: 1.3;
}

.ndt-wrap .option-check {
  color: #cbd5e1;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.ndt-wrap .card-option-box.active .option-check {
  color: var(--primary);
}

/* Bank Logos */
.ndt-wrap .bank-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 1rem;
  border-top: 1px solid var(--border-color);
  padding-top: 0.85rem;
}

.ndt-wrap .bank-logo-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 3em !important;
  height: 28px !important;
  padding: 2px 6px !important;
  border-radius: 4px !important;
  background: #ffffff !important;
  border: 1px solid var(--border-color) !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  box-sizing: border-box !important;
}

.ndt-wrap .bank-logo-chip img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  position: static !important;
  transform: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.ndt-wrap .small-logos .bank-logo-chip {
  width: 40px !important;
  height: 20px !important;
  padding: 1px !important;
}

.ndt-wrap .small-logos .bank-logo-chip img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  position: static !important;
  transform: none !important;
}

.ndt-wrap .bank-logo-text, .ndt-wrap .intl-logo-text {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #475569;
  text-transform: uppercase;
}

.ndt-wrap .logos-more-link {
  display: inline-block;
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.5rem;
}

/* --- QR method preview --- */
.ndt-wrap .qr-method-preview-box {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  padding: 1.1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.ndt-wrap .qr-preview-thumb-fallback {
  background: #f1f5f9;
  border: 1px solid var(--border-color);
}

.ndt-wrap .qr-method-preview-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.ndt-wrap .qr-method-preview-box p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Submit Action Button --- */
.ndt-wrap .btn-stripe-submit {
  width: 100%;
  padding: 1rem;
  background: var(--primary);
  color: white !important;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(11, 110, 79, 0.15);
  transition: all 0.25s ease;
  font-family: var(--font-sans);
}

.ndt-wrap .btn-stripe-submit:hover {
  background: var(--primary-light);
  box-shadow: 0 6px 16px rgba(11, 110, 79, 0.25);
}

.ndt-wrap .donation-card-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.ndt-wrap .donation-card-footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

.ndt-wrap .donation-card-footer a:hover {
  color: var(--primary);
}

/* =========================================================
   CHECKOUT CONTAINER LAYOUT (QR Code Step)
   ========================================================= */

.ndt-wrap #checkout-container-wrapper {
  width: 100%;
  padding: 0.5rem 0;
}

.ndt-wrap .checkout-header-summary {
  margin-bottom: 2rem;
  width: 100%;
}

.ndt-wrap .checkout-header-summary h3 {
  font-family: var(--font-sans) !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 0.75rem !important;
  line-height: 1.3 !important;
}

.ndt-wrap .donor-summary-box {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.ndt-wrap .summary-box-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  margin: 0 !important;
}

.ndt-wrap .summary-box-row:last-child {
  border-bottom: none;
}

.ndt-wrap .summary-box-row .lbl {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.ndt-wrap .summary-box-row .val {
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
}

/* QR Panel Box */
.ndt-wrap .qr-panel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
}

.ndt-wrap .qr-code-image {
  width: 180px;
  max-width: 100%;
  height: auto;
  display: block;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
}

.ndt-wrap .qr-instructions {
  width: 100%;
}

.ndt-wrap .qr-instructions h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  text-align: center;
}

.ndt-wrap .qr-instructions ol {
  text-align: left;
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  padding-left: 1.25rem;
  margin: 0;
}

.ndt-wrap .qr-instructions ol li {
  margin-bottom: 0.5rem;
}

.ndt-wrap .qr-instructions strong {
  color: var(--primary);
  font-weight: 700;
}

/* Spinner & Loader */
.ndt-wrap .loading-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
}

.ndt-wrap .spinner {
  width: 40px;
  height: 40px;
  border: 4px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 1s infinite linear;
  margin-bottom: 1.25rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Status Cards & success screens */
.ndt-wrap .status-card {
  max-width: 100%;
  margin: 1rem auto;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.ndt-wrap .status-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.ndt-wrap .status-icon svg {
  width: 40px;
  height: 40px;
}

.ndt-wrap .status-success .status-icon {
  background-color: #f0fdf4;
  color: #16a34a;
}

.ndt-wrap .status-card h2 {
  font-size: 1.8rem !important;
  font-weight: 800 !important;
  margin-bottom: 0.5rem !important;
}

.ndt-wrap .status-card p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.ndt-wrap .receipt-details {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  text-align: left;
}

.ndt-wrap .receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.ndt-wrap .receipt-row:last-child {
  border-bottom: none;
}

.ndt-wrap .receipt-row .label {
  font-weight: 600;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.ndt-wrap .receipt-row .val {
  font-weight: 700;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.ndt-wrap .btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.ndt-wrap .btn-secondary {
  background: white;
  border: 2px solid var(--primary);
  color: var(--primary);
  padding: 0.8rem 2rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.2s ease;
}

.ndt-wrap .btn-secondary:hover {
  background: rgba(11, 110, 79, 0.05);
}

/* =========================================================
   INFO PANELS + NOTE BAR (below the hero layout)
   ========================================================= */

.ndt-wrap .info-panels-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.ndt-wrap .info-panel {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.ndt-wrap .info-panel-highlight {
  background: #f0fdf4;
  border-color: #bbf0d4;
}

.ndt-wrap .info-panel-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.1rem;
}

.ndt-wrap .info-panel-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #eef2ff;
  color: var(--primary);
}

.ndt-wrap .info-panel-highlight .info-panel-icon {
  background: rgba(11, 110, 79, 0.14);
  color: var(--primary);
}

.ndt-wrap .info-panel-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.ndt-wrap .info-panel-columns h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.35rem;
}

.ndt-wrap .info-panel-columns p {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.ndt-wrap .info-panel-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.ndt-wrap .info-panel-list li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ndt-wrap .info-panel-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary);
  font-weight: 800;
}

.ndt-wrap .info-panel-list li strong {
  color: #0f172a;
}

.ndt-wrap .ndt-note-bar {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.ndt-wrap .ndt-note-bar svg {
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ndt-wrap .ndt-note-bar strong {
  color: #0f172a;
}

/* =========================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================= */

/* --- Tablet split & Mobile Stack --- */
@media (max-width: 1024px) {
  .ndt-wrap .hero-donation-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .ndt-wrap .hero-panel-inner {
    padding: 2.25rem 1.75rem 2.5rem;
  }

  .ndt-wrap .hero-title {
    font-size: 1.85rem !important;
  }

  .ndt-wrap .hero-subtitle {
    max-width: none;
  }

  .ndt-wrap .hero-stats {
    padding-top: 1.75rem;
  }

  .ndt-wrap .donation-card {
    padding: 2rem 1.75rem;
  }

  .ndt-wrap .form-grid-2col {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .ndt-wrap .card-options-grid {
    grid-template-columns: 1fr;
  }

  .ndt-wrap .donation-card-header {
    flex-direction: column;
    align-items: stretch;
  }

  .ndt-wrap .donation-card-header .currency-tabs {
    align-self: flex-start;
    margin-top: 0.75rem;
  }

  .ndt-wrap .info-panels-row {
    grid-template-columns: 1fr;
  }
}

/* --- Small Mobile --- */
@media (max-width: 520px) {
  .ndt-wrap .hero-panel-inner {
    padding: 1.75rem 1.25rem 2rem;
  }

  .ndt-wrap .hero-title {
    font-size: 1.55rem !important;
  }

  .ndt-wrap .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .ndt-wrap .hero-stat-card {
    padding: 1rem 0.75rem;
  }

  .ndt-wrap .donation-card {
    padding: 1.5rem 1.1rem;
  }

  .ndt-wrap .donation-card-header h2 {
    font-size: 1.3rem !important;
  }

  .ndt-wrap .pay-with-tabs {
    flex-direction: column;
  }

  .ndt-wrap .pay-tab {
    flex: 1 1 auto;
  }

  .ndt-wrap .card-option-box {
    padding: 1rem;
  }

  .ndt-wrap .bank-logos {
    gap: 8px;
  }

  .ndt-wrap .info-panel-columns {
    grid-template-columns: 1fr;
  }

  .ndt-wrap .qr-panel-box {
    padding: 1.5rem 1rem;
  }

  .ndt-wrap .qr-code-image {
    width: 150px;
  }
}

/* ==========================================================================
   Print Styles (Clean Donation Receipts)
   ========================================================================== */
@media print {
  header, footer, nav, aside, 
  #header, #footer, #sidebar, .sidebar,
  .print-receipt-section, 
  button, input[type="button"], input[type="submit"],
  .btn-group, .btn-secondary, a.btn-secondary,
  .logos-more-link, .ndt-note-bar, .info-panels-row,
  .donation-card-footer, #cancel-checkout-section,
  .ubermenu, .nav-container, .site-header, .site-footer {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt !important;
    margin: 0 !important;
    padding: 0 !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  /* WooCommerce Receipt Page Printing */
  body.woocommerce-order-received {
    padding: 1.5cm !important;
  }
  
  body.woocommerce-order-received .site-main,
  body.woocommerce-order-received .entry-content,
  body.woocommerce-order-received .woocommerce,
  body.woocommerce-order-received article {
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* Custom Inline Success Receipt Printing */
  body:not(.woocommerce-order-received) .ndt-wrap {
    padding: 0 !important;
    margin: 0 !important;
  }

  body:not(.woocommerce-order-received) .ndt-wrap .hero-donation-layout {
    display: block !important;
  }

  body:not(.woocommerce-order-received) .ndt-wrap .branding-hero,
  body:not(.woocommerce-order-received) .ndt-wrap .donation-card-wrapper > :not(#checkout-success-panel),
  body:not(.woocommerce-order-received) .ndt-wrap .donation-card-wrapper {
    display: none !important;
  }

  body:not(.woocommerce-order-received) .ndt-wrap #checkout-success-panel {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 1.5cm !important;
    box-shadow: none !important;
    border: none !important;
    background: #ffffff !important;
  }

  body:not(.woocommerce-order-received) .ndt-wrap .status-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
  }
}

/* ==========================================================================
   WooCommerce Custom Terminology & Button Hiding Overrides
   ========================================================================== */
.woocommerce-order-received a.button.wc-backward,
.woocommerce-order-received a.button[href*="shop"],
.woocommerce-order-received .continue-shopping,
.woocommerce-order-received a.button:not(.print-receipt-btn):not([onclick]) {
  display: none !important;
}

/* WooCommerce Checkout Page Custom Styles */
.woocommerce-checkout #payment #place_order,
.woocommerce-checkout .woocommerce #payment #place_order,
.woocommerce-checkout button.button.alt,
.woocommerce-checkout input.button.alt,
.woocommerce-checkout #payment button#place_order,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
a.checkout-button,
button.checkout-button,
.checkout-button {
  background-color: #0b6e4f !important;
  color: #ffffff !important;
  font-weight: bold !important;
  border-radius: 4px !important;
  transition: background-color 0.2s ease !important;
}

.woocommerce-checkout #payment #place_order:hover,
.woocommerce-checkout button.button.alt:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
a.checkout-button:hover,
button.checkout-button:hover,
.checkout-button:hover {
  background-color: #0e9468 !important;
}

/* Hide footer links on checkout, payment, success, and fail pages (excluding official checkout privacy text links) */
.woocommerce-checkout a[href*="contact"],
.woocommerce-checkout a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
.woocommerce-checkout a[href*="cookie"],
.woocommerce-checkout a[href*="cookies"],
.woocommerce-order-pay a[href*="contact"],
.woocommerce-order-pay a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
.woocommerce-order-pay a[href*="cookie"],
.woocommerce-order-pay a[href*="cookies"],
.woocommerce-pay a[href*="contact"],
.woocommerce-pay a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
.woocommerce-pay a[href*="cookie"],
.woocommerce-pay a[href*="cookies"],
body[class*="pay"] a[href*="contact"],
body[class*="pay"] a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
body[class*="pay"] a[href*="cookie"],
body[class*="pay"] a[href*="cookies"],
body[class*="success"] a[href*="contact"],
body[class*="success"] a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
body[class*="success"] a[href*="cookie"],
body[class*="success"] a[href*="cookies"],
body[class*="fail"] a[href*="contact"],
body[class*="fail"] a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
body[class*="fail"] a[href*="cookie"],
body[class*="fail"] a[href*="cookies"],
body[class*="cancel"] a[href*="contact"],
body[class*="cancel"] a[href*="privacy"]:not(.woocommerce-privacy-policy-link),
body[class*="cancel"] a[href*="cookie"],
body[class*="cancel"] a[href*="cookies"] {
  display: none !important;
}

/* ==========================================================================
   Checkout, Payment, and Success Page - Green Vibes Custom Accent Styles
   ========================================================================== */

/* 1. Page Headings */
.woocommerce-checkout h3,
.woocommerce-checkout h2,
.woocommerce-checkout h1,
.woocommerce-order-pay h2,
.woocommerce-order-pay h3,
.woocommerce-order-received h2,
.woocommerce-order-received h3,
body[class*="success"] h2,
body[class*="success"] h3,
body[class*="payment"] h2,
body[class*="payment"] h3 {
  color: #0b6e4f !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 600 !important;
}

/* 2. Review Tables Headers & Row Accents */
.woocommerce-checkout table.shop_table th,
.woocommerce-order-pay table.shop_table th,
.woocommerce-order-received table.shop_table th,
body[class*="success"] table.shop_table th,
body[class*="success"] table.order_details th {
  color: #0b6e4f !important;
  font-family: 'Poppins', sans-serif !important;
  font-weight: 700 !important;
  border-bottom: 2px solid #0b6e4f !important;
}

/* 3. Input Fields Focus Outline Ring */
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout textarea:focus,
.woocommerce-checkout select:focus,
.woocommerce-order-pay input.input-text:focus,
.woocommerce-order-pay textarea:focus,
.woocommerce-order-pay select:focus,
.woocommerce-checkout .select2-container--default .select2-selection--single:focus {
  border-color: #0b6e4f !important;
  box-shadow: 0 0 0 2px rgba(11, 110, 79, 0.15) !important;
  outline: none !important;
}

/* 4. Checkout Notices & Status Boxes (Green theme outline) */
.woocommerce-order-received .woocommerce-notice--success,
body[class*="success"] .woocommerce-notice--success,
body[class*="success"] p.notice,
.woocommerce-notice.woocommerce-notice--info,
.woocommerce-info {
  border-left: 4px solid #0b6e4f !important;
  background-color: #f0fdf4 !important;
  color: #1e3a1e !important;
  padding: 1.25rem !important;
  border-radius: 6px !important;
  font-family: 'Poppins', sans-serif !important;
  box-shadow: var(--shadow-sm) !important;
}

/* 5. Summary Info list items */
.woocommerce-order-received ul.woocommerce-order-overview li strong,
body[class*="success"] ul.order_details li strong {
  color: #0b6e4f !important;
  font-weight: 700 !important;
}

/* 6. Form Fields Labels */
.woocommerce-checkout label,
.woocommerce-order-pay label {
  color: #334155 !important;
  font-weight: 500 !important;
  font-family: 'Poppins', sans-serif !important;
}

/* 7. Inline Links */
.woocommerce-checkout a,
.woocommerce-order-pay a,
.woocommerce-order-received a,
body[class*="success"] a {
  color: #0b6e4f !important;
  text-decoration: underline !important;
  transition: color 0.2s ease !important;
}

.woocommerce-checkout a:hover,
.woocommerce-order-pay a:hover,
.woocommerce-order-received a:hover,
body[class*="success"] a:hover {
  color: #0e9468 !important;
}