/* IM Brand Grid — shop page brand cards */

.im-brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
  margin-bottom: 32px;
}

.im-brand-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid #E5E7EB;
  border-radius: 12px;
  text-decoration: none;
  color: #31353B;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.im-brand-card:hover {
  border-color: #1E48A6;
  box-shadow: 0 2px 8px rgba(30, 72, 166, 0.08);
}

/* Gray coin with brand initials */
.im-brand-coin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #F4F6F8;
  border: 1px solid #E5E7EB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  font-weight: 700;
  color: #6B7280;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  text-decoration: none;
}

.im-brand-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.im-brand-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #31353B;
  text-decoration: none;
}
.im-brand-name:hover {
  color: #1E48A6;
}

/* Manual type links inside card */
.im-brand-types {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 3px;
}

.im-brand-type {
  font-size: 13px;
  color: #9CA3AF;
  text-decoration: none;
  transition: color 0.15s;
}
.im-brand-type:hover {
  color: #1E48A6;
  text-decoration: underline;
}

/* Separator dot between type links */
.im-brand-sep {
  color: #D1D5DB;
  margin: 0 6px;
  font-size: 13px;
}

/* ----- Responsive ----- */
@media (max-width: 768px) {
  .im-brand-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .im-brand-card {
    padding: 14px 16px;
    gap: 14px;
  }
  .im-brand-coin {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }
  .im-brand-name {
    font-size: 15px;
  }
}
