.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(179px, 1fr));
  gap: 15px;
  margin-top: 10px;
}
.theme-box {
  border: 2px solid #ddd;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s;
}
.theme-box img {
  width: 100%;
  max-height: 150px;
  object-fit: cover;
  border-radius: 5px;
}
.theme-box:hover {
  border-color: #007bff;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
}
.theme-box.selected {
  border-color: #28a745;
  background: #f8fff8;
}
.theme-box .theme-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}