/* ==========================================================================
   SNUSLAB — All brands page
   ========================================================================== */

.sl-brands-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px 60px;
}

.sl-brands-head {
  border-bottom: 1px solid #e4e6e8;
  padding-bottom: 18px;
  margin-bottom: 22px;
}
.sl-brands-title {
  font-size: clamp(30px, 7vw, 46px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: #0a0a0a;
  margin: 0 0 8px;
}
.sl-brands-sub {
  font-size: 13.5px;
  color: #6b7280;
  margin: 0;
}

.sl-brands-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sl-brand-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e4e6e8;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  transition: border-color .15s, transform .15s;
}
.sl-brand-card:hover { border-color: #0a0a0a; transform: translateY(-2px); }

.sl-brand-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f4f5f6;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}
.sl-brand-media img {
  width: 82%;
  height: 82%;
  object-fit: contain;
}
.sl-brand-initial {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #c7cbd0;
}

.sl-brand-body {
  padding: 12px 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sl-brand-name {
  font-size: 14px;
  font-weight: 700;
  color: #0a0a0a;
  line-height: 1.3;
}
.sl-brand-count {
  font-size: 11.5px;
  color: #6b7280;
}

.sl-brands-empty {
  text-align: center;
  padding: 60px 0;
}
.sl-brands-empty p { font-size: 15px; color: #6b7280; margin: 0 0 16px; }
.sl-brands-empty .sl-btn { display: inline-block; padding: 13px 26px; border-radius: 12px; }

@media (min-width: 620px) {
  .sl-brands-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1000px) {
  .sl-brands-grid { grid-template-columns: repeat(5, 1fr); gap: 16px; }
}
