/* === Brand Column View === */
.brand-column-strip {
  width: 100%;
  background: #1e293b;
  display: flex;
  position: relative;
}
.brand-column-item {
  width: 100%;
  height: 5rem;
  display: flex;
  flex-wrap: wrap;
}
.brand-column-cell {
  flex: 1;
  position: relative;
  height: 100%;
}
.brand-column-cell:hover {
  cursor: pointer;
}
.brand-column-overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.5;
  transition: opacity 0.3s;
}
.brand-column-cell:hover .brand-column-overlay { opacity: 0; }
.brand-column-logo {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.brand-column-logo img {
  width: 10rem;
  height: 10rem;
  object-fit: contain;
  transition: transform 0.3s;
}
.brand-column-cell:hover .brand-column-logo img { transform: translateY(5rem); }
.brand-column-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

/* Column View (logos only — no background images) */
.brand-column-strip--logos-only .brand-column-item { height: 5rem; }
.brand-column-strip--logos-only .brand-column-cell:hover .brand-column-logo img { transform: none; }

/* Column View (with background images) */
.brand-column-strip--full .brand-column-item { height: 720px; }
.brand-column-strip--full { background: #e5e7eb; }

/* === Brand Grid View === */
.brand-grid {
  max-width: 1250px;
  margin: 0 auto;
  padding: 1rem;
}
.brand-grid-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
.brand-grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (min-width: 640px) {
  .brand-grid-list { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 769px) {
  .brand-grid-list { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 1025px) {
  .brand-grid-list { grid-template-columns: repeat(6, 1fr); }
}
.brand-grid-item {
  background: #fff;
  transition: background 0.3s;
}
.brand-grid-item:hover { background: #f3f4f6; }
.brand-grid-link {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.brand-grid-img-wrap {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 140px;
}
.brand-grid-img {
  max-height: 100%;
  object-fit: contain;
  margin: 0 auto;
}
.brand-grid-label {
  width: 100%;
  text-align: center;
}
.brand-grid-label span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}

/* === Brand Carousel View === */
.brand-carousel {
  width: 100%;
  padding: 1rem;
  box-sizing: border-box;
}
.brand-carousel-title {
  font-size: 1.875rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}
.brand-carousel-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
}
.brand-carousel-track {
  flex: 1;
  overflow: hidden;
  min-width: 0;
}
.brand-carousel-inner {
  display: flex;
  transition: transform 0.5s;
}
.brand-carousel-item {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
.brand-carousel-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}
.brand-carousel-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 200px;
}
.brand-carousel-img {
  margin: 0 auto;
  object-fit: contain;
  max-width: 180px;
  max-height: 80px;
}
.brand-carousel-text {
  width: 100%;
  text-align: center;
}
.brand-carousel-text span {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
}
.brand-nav-btn {
  flex-shrink: 0;
  background: #374151;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.25rem;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}
.brand-nav-btn:hover { background: #1f2937; }
