/* Brand Showcase basic styles */
.wbs-grid {
  display: grid;
  grid-template-columns: repeat(var(--wbs-cols, 5), 1fr);
  gap: var(--wbs-gap, 16px);
  align-items: stretch;
}
@media (max-width: 992px) {
  .wbs-grid { grid-template-columns: repeat(var(--wbs-cols-md, 3), 1fr); }
}
@media (max-width: 600px) {
  .wbs-grid { grid-template-columns: repeat(var(--wbs-cols-sm, 2), 1fr); }
}
.wbs-item, .wbs-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 10px;
  padding: 12px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.wbs-item:hover, .wbs-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}
.wbs-thumb {
  display: block;
  width: 100%;
  max-width: 160px;
  /* keep natural ratio */
  overflow: hidden;
}
.wbs-img {
  width: 100%;
  height: 100%;
  object-fit: scale-down; height:auto;
  display: block;
}
.wbs-img--placeholder {
  background: linear-gradient(135deg, #f2f2f2, #ececec);
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: block;
}
.wbs-name {
  margin-top: 10px;
  font-size: 14px;
  color: #222;
  text-align: center;
}

/* Carousel */
.wbs-carousel {
  position: relative;
  width: 100%;
}
.wbs-track {
  display: flex;
  gap: var(--wbs-gap, 16px);
  overflow: hidden;
  scroll-behavior: smooth;
}
.wbs-slide {
  min-width: 180px;
  flex: 0 0 auto;
}
.wbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 18px;
  background: rgba(0,0,0,.5);
  color: #fff;
  cursor: pointer;
}
.wbs-prev { left: 6px; }
.wbs-next { right: 6px; }

.wbs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
}
.wbs-dots button {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; background: #cfcfcf; cursor: pointer;
}
.wbs-dots button[aria-current="true"] { background: #333; }
