.hidden { display: none !important; }

/* Grid container for icons */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 16px;
  justify-items: center;
  padding: 10px 0;
}

/* Category or Subcategory card */
.grid div {
  width: 80px;
  height: 95px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
  padding: 10px 6px;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
}

.grid div:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Icon inside card */
.grid img {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 6px;
}

/* Label text below icon */
.grid div span {
  font-size: 0.72rem;
  color: #2c2929;
  font-weight: 500;
  display: block;
  line-height: 1.2;
  word-wrap: break-word;
  max-width: 100%;
}
/* Subcategory container grid */
.subcategory-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 16px;
  justify-items: center;
  padding: 10px 0;
}

/* Subcategory card */
.subcategory-box {
  width: 80px;
  height: 95px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  text-align: center;
  padding: 10px 6px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
}

.subcategory-box:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 6px 14px rgba(0,0,0,0.35);
}

/* Subcategory icon */
.subcategory-box img.subcategory-icon {
  width: 55px;
  height: 55px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin: 0 auto 6px;
}

/* Subcategory label */
.subcategory-box span {
  font-size: 0.72rem;
  color: #2c2929;
  font-weight: 500;
  line-height: 1.2;
  display: block;
}
/* Website link cards */
.list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.list div {
  background: rgba(255, 255, 255, 0.1); /* glass effect */
  color: #fff;
  padding: 14px;
  border-radius: 16px;
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
  transition: all 0.3s ease;
}

.list div:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.35);
}
/* Share buttons row */
.share-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 12px;
}

/* Pill style share buttons */
.share-btn {
  padding: 8px 18px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: all 0.25s ease;
}

.share-btn:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.45);
}

/* WhatsApp & Facebook colors */
.share-btn.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
}
.share-btn.facebook {
  background: linear-gradient(135deg, #1877F2, #0d47a1);
}
