/* ============================= */
/*        CATEGORY CARDS        */
/* ============================= */

.collection-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
}

.collection-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--card-bg);
  text-decoration: none;
}

.card-image {
  position: relative;
  opacity: 0;
  animation: fadeZoomIn 0.8s ease-out forwards;
}

.card-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 15px;
}

.add-wrapper {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.add-wrapper .add-btn {
  width: 2.25rem;
  height: 2.25rem;
  background: var(--accent);
  color: var(--bg-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  text-decoration: none;
  z-index: 2;
  transition: transform 0.2s;
}

.add-wrapper .add-btn:hover {
  transform: scale(1.1);
}

.card-title {
  padding: 0.75rem 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
}
