/* = EasyDonate — минимализм + миловидность */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;800&display=swap');

:root {
  --bg: #f9fafb;
  --card: #ffffff;
  --accent: #ffb347;       /* тёплый оранжево-персиковый */
  --accent-hover: #ffa726;
  --text: #2f2f2f;
  --muted: #7d7d7d;
  --radius: 14px;
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --transition: all 0.15s ease;
}

body, html {
  background: var(--bg);
  color: var(--text);
  font-family: 'Nunito', system-ui, sans-serif;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

/* Контейнер */
.ed-container {
  max-width: 1000px;
  margin: 28px auto;
  padding: 0 16px;
}

/* Хедер */
.ed-header {
  text-align: center;
  margin-bottom: 26px;
}
.ed-header .logo {
  display: inline-block;
  width: 70px;
  height: 70px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 800;
  font-size: 26px;
  box-shadow: var(--shadow);
}
.ed-header h1 {
  font-size: 24px;
  margin: 10px 0 4px;
  font-weight: 800;
}
.ed-header p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Сетка товаров */
.ed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
}

/* Карточки */
.ed-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}
.ed-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ed-card .title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.ed-card .desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  min-height: 36px;
}
.ed-card .price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Цена */
.ed-card .price {
  background: var(--accent);
  color: white;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 14px;
}

/* Кнопка */
.ed-btn {
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 14px;
  transition: var(--transition);
}
.ed-btn:hover {
  background: var(--accent-hover);
}

/* Баланс */
.ed-balance {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  font-size: 14px;
  color: var(--muted);
}
.ed-balance .coin {
  background: var(--accent);
  color: #fff;
  padding: 6px 12px;
  border-radius: var(--radius);
  font-weight: 700;
  margin-left: 8px;
}

/* Таблица платежей */
.ed-list {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.ed-list .row {
  display: flex;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  color: var(--text);
}
.ed-list .row:nth-child(even) {
  background: #fafafa;
}
.ed-list .row:last-child {
  border-bottom: none;
}
.ed-list .col {
  flex: 1;
  color: var(--muted);
}

/* Мобильная адаптация */
@media (max-width: 520px) {
  .ed-grid {
    grid-template-columns: 1fr;
  }
  .ed-header h1 {
    font-size: 20px;
  }
}
