
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 9998;
}
.modal-overlay.active {
  display: block;
}
.brand-modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  height: 60%;
  background: #fff;
  z-index: 9999;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  box-shadow: 0 -3px 20px rgba(0, 0, 0, 0.2);
  transition: bottom 0.3s ease, height 0.3s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.brand-modal.open {
  bottom: 0;
}
.brand-modal.fullscreen {
  height: 100%;
}
.modal-drag {
  width: 40px;
  height: 5px;
  background: #ccc;
  border-radius: 3px;
  margin: 10px auto;
}
.modal-inner {
  flex: 1;
  overflow-y: auto;
  padding: 15px;
}


.brand-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 10px;
}

.brand-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: transform 0.2s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 10px;
}

.brand-card:hover {
  transform: translateY(-4px);
}

.brand-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.brand-card h3 {
  font-size: 16px;
  margin: 10px 0 0;
  text-align: center;
}

.brand-follow-btn {
  background: #222;
  color: #fff;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  margin-top: 8px;
  margin-bottom: 6px;
  cursor: pointer;
}

.modal-title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  text-align: center;
}

.modal-content p, .modal-content h4 {
  margin-bottom: 10px;
  font-size: 14px;
  color: #333;
}
.modal-content h4 {
  font-size: 16px;
  color: #111;
}
