body {
  margin: 0;
  font-family: system-ui, -apple-system, sans-serif;
  background: linear-gradient(to bottom, #fff0f5, #ffe4e1);
  min-height: 100vh;
}

.template-page {
  padding: 140px 20px 100px;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  text-align: center;
  color: #444;
  margin-bottom: 16px;
  font-size: 2.8rem;
}

.lead {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 60px;
}

.price-section {
  margin-bottom: 80px;
}

.price-section h2 {
  font-size: 2.2rem;
  color: #e91e63;
  margin-bottom: 32px;
  text-align: center;
  position: relative;
}

.price-section h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: #e91e63;
  margin: 12px auto 0;
  border-radius: 2px;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.template-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.25s;
  text-decoration: none;
  color: inherit;
  display: block;
}

.template-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.14);
}

.template-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.template-info {
  padding: 24px;
}

.template-info h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  color: #222;
}

.template-info p {
  margin: 0;
  color: #666;
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .template-page {
    padding: 120px 16px 80px;
  }
  .templates-grid {
    grid-template-columns: 1fr;
  }
}