/* Card Uniforme per Prodotti, Eventi, Corsi */
.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: flex-start;
  margin: 0 -8px;
}

.centered-cards .card-grid {
  justify-content: center;
}

.card-uniform {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(102,126,234,0.10), 0 1.5px 6px rgba(118,75,162,0.08);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.18s;
  width: 320px;
  display: flex;
  flex-direction: column;
  position: relative;
  margin: 8px;
}
.card-uniform:hover {
  box-shadow: 0 8px 32px rgba(102,126,234,0.18), 0 2px 12px rgba(118,75,162,0.13);
  transform: translateY(-4px) scale(1.025);
}

.card-thumb {
  height: 180px;
  background: #f4f6fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(102,126,234,0.10);
  letter-spacing: 0.5px;
}

.card-content {
  padding: 22px 22px 18px 22px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: #23282d;
  margin: 0 0 8px 0;
  line-height: 1.25;
}
.card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.98rem;
  color: #667eea;
  margin-bottom: 10px;
  align-items: center;
}
.card-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.card-desc {
  color: #666;
  font-size: 0.99rem;
  margin-bottom: 18px;
  flex: 1 1 auto;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px 18px 22px;
}
.card-price {
  font-size: 1.08rem;
  font-weight: 700;
  color: #764ba2;
  background: #f4f6fa;
  border-radius: 8px;
  padding: 4px 12px;
  margin-right: 8px;
}
.card-price del {
  color: #bbb;
  font-weight: 400;
  margin-right: 6px;
}

.card-btn {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 26px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(102,126,234,0.10);
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.card-btn:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px) scale(1.04);
}

/* Icone uniformi */
.card-meta svg, .card-meta i {
  color: #667eea;
  font-size: 1.1em;
  margin-right: 2px;
}

/* Responsive */
@media (max-width: 1100px) {
  .card-grid { gap: 18px; }
  .card-uniform { width: 100%; max-width: 420px; }
}
@media (max-width: 700px) {
  .card-grid { flex-direction: column; gap: 0; }
  .card-uniform { width: 100%; max-width: 100%; margin: 0 0 24px 0; }
}

.centered-title .page-title {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
} 