/**
 * Shops Page Component
 * Shop grid and card styling
 */

.shop-category-group {
  margin-bottom: 60px;
}

.category-heading {
  font-size: 1.8rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.shop-item {
  background: var(--white);
  padding: 25px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease;
  border-top: 4px solid var(--accent-color);
}

.shop-item:hover {
  transform: translateY(-5px);
}

.shop-item h3 {
  margin-top: 0;
  font-size: 1.25rem;
  color: var(--primary-color);
  border: none;
  padding: 0;
  margin-bottom: 10px;
}

.shop-item .category {
  display: inline-block;
  background: var(--gray-light);
  padding: 4px 10px;
  font-size: 0.8rem;
  border-radius: 15px;
  color: #666;
  margin-bottom: 15px;
}

.shop-item .access {
  font-size: 0.9rem;
  color: #888;
  margin-top: 15px;
  border-top: 1px dashed #eee;
  padding-top: 10px;
}

.shop-item.recruiting {
  border-top-color: #ddd;
  background: #f9f9f9;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.shop-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.shop-item.has-link {
  cursor: pointer;
}

.shop-item.has-link:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.link-indicator {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--accent-color);
  font-weight: bold;
  opacity: 0.8;
  transition: opacity 0.3s;
}

.shop-item.has-link:hover .link-indicator {
  opacity: 1;
  text-decoration: underline;
}

.no-shops {
  text-align: center;
  color: #888;
  padding: 40px;
}