.dmpt-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 28px auto;
  max-width: 1180px;
  font-family: inherit;
}

.dmpt-grid.dmpt-font-theme { font-family: inherit; }
.dmpt-grid.dmpt-font-system { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.dmpt-grid.dmpt-font-modern { font-family: Inter, Roboto, "Helvetica Neue", Arial, sans-serif; }
.dmpt-grid.dmpt-font-elegant { font-family: Georgia, "Times New Roman", serif; }
.dmpt-grid.dmpt-font-rounded { font-family: "Trebuchet MS", Verdana, Arial, sans-serif; }
.dmpt-grid.dmpt-font-monospace { font-family: Consolas, Monaco, "Courier New", monospace; }

.dmpt-card {
  background: #fff;
  border: 1px solid #e2e7ef;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(15, 32, 56, 0.08);
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.dmpt-card.is-highlighted {
  box-shadow: 0 12px 30px rgba(15, 32, 56, 0.16);
  transform: translateY(-8px);
}

.dmpt-head {
  background: var(--dmpt-color);
  color: #fff;
  padding: 24px 18px 22px;
  text-align: center;
}

.dmpt-head h3 { color: inherit; font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.dmpt-price { font-size: 42px; font-weight: 700; line-height: 1; }
.dmpt-period { font-size: 14px; margin-top: 8px; opacity: .9; }
.dmpt-features { flex: 1; list-style: none; margin: 0; padding: 20px 18px 8px; }
.dmpt-features li { align-items: flex-start; border-bottom: 1px solid #edf0f4; display: flex; gap: 8px; padding: 10px 0; }
.dmpt-features li:last-child { border-bottom: 0; }
.dmpt-features svg { color: var(--dmpt-color); fill: currentColor; flex: 0 0 20px; height: 20px; margin-top: 1px; width: 20px; }
.dmpt-button { background: var(--dmpt-color); border-radius: 8px; color: #fff !important; display: block; font-weight: 700; margin: 18px; padding: 13px 16px; text-align: center; text-decoration: none !important; }
.dmpt-button:hover, .dmpt-button:focus { filter: brightness(.9); color: #fff !important; }

@media (max-width: 980px) {
  .dmpt-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dmpt-card.is-highlighted { transform: none; }
}

@media (max-width: 560px) {
  .dmpt-grid { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .dmpt-card { transition: none; }
}
