/* ─── Gecko Category Banner ──────────────────────────────────────────────── */

.gecko-category-banner-wrapper {
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  place-self: center;
}

.gecko-category-banner {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ─── Scroll Buttons ────────────────────────────────────────────────────── */

.gecko-cat-scroll-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0.5px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  color: #111;
  cursor: pointer;
  padding: 2px;
  margin: 0 6px;
  transition: all 0.2s ease;
  z-index: 2;
}

.gecko-cat-scroll-btn:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transform: scale(1.1);
}

.gecko-cat-scroll-hidden {
  visibility: hidden;
  opacity: 0;
}

.gecko-cat-scroll-visible {
  visibility: visible;
  opacity: 1;
}

/* ─── Category List ─────────────────────────────────────────────────────── */

.gecko-cat-list {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  scroll-behavior: smooth;
  list-style: none !important;
  margin: 0 !important;
  padding: 6px 0 !important;
  gap: 0;
  flex: 1;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.gecko-cat-list::-webkit-scrollbar {
  display: none;
}

/* ─── Divider ───────────────────────────────────────────────────────────── */

.gecko-cat-divider {
  flex-shrink: 0;
  width: 2px;
  align-self: stretch;
  background-color: #229e00;
  margin: 4px 4px;
  list-style: none !important;
}

/* ─── Category Item ─────────────────────────────────────────────────────── */

.gecko-cat-item {
  flex-shrink: 0;
  min-width: 90px;
  margin: 1px 3px;
  list-style: none !important;
}

.gecko-cat-link {
  display: block;
  text-decoration: none !important;
  padding: 4px 8px;
}

.gecko-cat-link:hover .gecko-cat-icon-wrapper {
  filter: grayscale(0) !important;
}

.gecko-cat-link:hover .gecko-cat-name {
  color: #2ea3f2 !important;
}

/* ─── Icon Wrapper ──────────────────────────────────────────────────────── */

.gecko-cat-icon-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 90px;
  transition: filter 0.2s ease;
}

.gecko-cat-grayscale {
  filter: grayscale(1);
}

.gecko-cat-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gecko-cat-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gecko-cat-placeholder-icon {
  font-size: 32px;
  color: #9ca3af;
  width: 32px;
  height: 32px;
}

/* ─── Category Name ─────────────────────────────────────────────────────── */

.gecko-cat-name {
  margin-top: 4px;
  font-size: 11px;
  color: #111;
  text-align: center;
  line-height: 1.3;
  word-break: break-word;
  max-width: 100px;
  transition: color 0.2s ease;
}

/* ─── Active State (selected / current category) ───────────────────────── */

.gecko-cat-active .gecko-cat-icon-wrapper {
  filter: grayscale(0);
}

.gecko-cat-active .gecko-cat-name {
  color: #229e00;
  font-weight: 600;
}

.gecko-cat-active .gecko-cat-icon {
  border: 2px solid #229e00;
  border-radius: 50%;
  padding: 2px;
  box-sizing: content-box;
}

/* ─── Responsive ────────────────────────────────────────────────────────── */

@media (max-width: 640px) {
  .gecko-cat-icon {
    width: 32px;
    height: 32px;
  }

  .gecko-cat-name {
    font-size: 10px;
  }

  .gecko-cat-item {
    min-width: 72px;
  }

  .gecko-cat-icon-wrapper {
    width: 72px;
  }

  .gecko-cat-name {
    max-width: 72px;
  }

  .gecko-cat-scroll-btn {
    width: 24px;
    height: 24px;
    margin: 0 4px;
  }
}
