.emi-hero-copy {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.7;
}

.loan-wrap {
  padding: 0 0 64px;
}

.loan-grid {
  width: min(1200px, 92vw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid #dce5de;
  border-radius: 22px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-head {
  padding: 24px 24px 14px;
  border-bottom: 1px solid #edf2ec;
}

.card-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
}

.card-head p {
  margin: 0;
  font-size: 0.95rem;
}

.bank-table {
  max-height: 720px;
  overflow: auto;
}

.bank-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid #eef2ee;
}

.bank-head {
  font-weight: 800;
  color: #2f3b34;
  background: #f5f8f2;
}

.bank-item {
  width: 100%;
  text-align: left;
  background: #fff;
  border: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.bank-item:hover {
  background: #f8fbf6;
}

.bank-name {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bank-name span {
  font-weight: 700;
  color: #233128;
}

.bank-name img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  border: 1px solid #ecf1eb;
  flex-shrink: 0;
}

.right {
  text-align: right;
  white-space: nowrap;
}

.hint {
  padding: 14px 18px 18px;
  color: #66756e;
  font-size: 0.84rem;
  border-top: 1px solid #eef2ee;
}

.emi-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  padding: 22px;
}

.emi-controls .field {
  padding: 14px 0;
  border-bottom: 1px solid #edf2ec;
}

.emi-controls label {
  display: block;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 10px;
  color: #253329;
}

.emi-controls select,
.emi-controls input[type="number"] {
  width: 100%;
  height: 46px;
  border: 1px solid #d6dfd7;
  border-radius: 12px;
  padding: 0 14px;
  font-size: 0.96rem;
  background: #fbfcfa;
  outline: none;
}

.emi-controls select:focus,
.emi-controls input[type="number"]:focus {
  border-color: #7d8d3b;
  box-shadow: 0 0 0 3px rgba(125, 141, 59, 0.12);
}

.emi-controls input[type="range"] {
  width: 100%;
  accent-color: #295c45;
}

.input-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #6a7770;
  font-size: 0.78rem;
}

.meta strong {
  color: #1d2820;
  font-size: 0.82rem;
}

.emi-result {
  background: linear-gradient(180deg, #f7faf5, #eef4ea);
  border: 1px solid #dbe5db;
  border-radius: 18px;
  padding: 18px;
}

.emi-top {
  padding: 2px 0 14px;
}

.kicker {
  color: #66756e;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
}

.emi-amt {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: 0.01em;
  color: #132015;
}

.chart-box {
  border: 1px solid #e1e9df;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
}

.breakup {
  padding: 16px 0 0;
  display: grid;
  gap: 12px;
}

.brow {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  margin-top: 6px;
  flex-shrink: 0;
}

.dot.interest {
  background: #6d28d9;
}

.dot.principal {
  background: #295c45;
}

.dot.fee {
  background: #d28a3e;
}

.dot.total {
  background: #111;
}

.btxt .lbl {
  color: #68756e;
  font-size: 0.8rem;
}

.btxt .val {
  color: #18231b;
  font-weight: 800;
}

.note {
  margin-top: 14px;
  font-size: 0.82rem;
  color: #6d7771;
  line-height: 1.5;
}

.total-payable {
  border-top: 1px solid #dfe7dd;
  margin-top: 4px;
  padding-top: 12px;
}

@media (max-width: 1080px) {
  .loan-grid {
    grid-template-columns: 1fr;
  }

  .bank-table {
    max-height: none;
  }
}

@media (max-width: 860px) {
  .emi-grid {
    grid-template-columns: 1fr;
    padding: 18px;
  }
}

@media (max-width: 640px) {
  .loan-wrap {
    padding-bottom: 44px;
  }

  .loan-grid {
    width: min(100%, 94vw);
    gap: 18px;
  }

  .card-head {
    padding: 18px 18px 12px;
  }

  .bank-row {
    grid-template-columns: minmax(0, 1fr) 78px;
    padding: 12px 14px;
  }

  .bank-name span {
    font-size: 0.88rem;
  }

  .emi-grid {
    padding: 14px;
  }

  .emi-result {
    padding: 14px;
  }

  .emi-amt {
    font-size: 1.8rem;
  }
}
