/* WINOTA Category Bar Styles */

.winota-cat-bar {
  background: rgba(0, 3, 5, 1);
  padding: 2px 0 2px 0;
  position: relative;
  z-index: 5;
  width: 100%;
}

.winota-cat-bar .cat-inner {
  padding: 0 15px;
}

.winota-cat-bar .cat-scroll {
  display: flex;
  justify-content: space-between;
  overflow-x: auto;
  padding: 2px 0;
  scrollbar-width: none; /* Firefox */
}

.winota-cat-bar .cat-scroll::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.winota-cat-bar .cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 100px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  border-radius: 12px;
  margin: 0 5px;
}

.winota-cat-bar .cat-item:hover {
  transform: translateY(-5px);
}

.winota-cat-bar .cat-icon {
  width: 60px;
  height: 60px;
  background-size: contain;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 8px;
  position: relative;
  transition: all 0.3s ease;
}

/* Icon image inside the diamond */
.winota-cat-bar .cat-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: all 0.3s ease;
}

.winota-cat-bar .cat-label {
  color: #eebbce; /* Pinkish white text */
  font-family: "Oswald", sans-serif; /* Match site font */
  font-size: 13px;
  font-weight: 600;
  text-transform: capitalize;
  text-align: center;
  letter-spacing: 0.5px;
  transition: color 0.3s;
  line-height: 1.2;
}

.winota-cat-bar .cat-item:hover .cat-label {
  color: #fff;
  text-shadow: 0 0 5px #ff0055;
}

/* Active state - The Fix */
.winota-cat-bar .cat-item.active {
  background: rgba(30, 34, 45, 0.95); /* Dark background like reference */
  border: 1px solid #ffd700; /* Yellow border */
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.5);
  transform: translateY(-2px);
}

.winota-cat-bar .cat-item.active .cat-icon {
  background: none; /* Remove diamond border for cleaner look */
  width: 40px;
  height: 40px;
  margin-bottom: 4px;
}

.winota-cat-bar .cat-item.active .cat-icon img {
  width: 32px;
  height: 32px;
  filter: brightness(100%) drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.winota-cat-bar .cat-item.active .cat-label {
  color: #ffd700; /* Yellow text to match border */
  font-weight: 700;
  text-shadow: none;
}

.winota-cat-bar::after {
  content: "";
  display: block;
  width: 100%;
  background: #000000;
  margin-top: 0;
  opacity: 1;
}

@media (max-width: 768px) {
  .winota-cat-bar {
    padding: 0 0 2px 0;
  }

  .winota-cat-bar .cat-scroll {
    justify-content: flex-start;
    padding: 0 8px;
  }

  .winota-cat-bar .cat-item {
    min-width: 60px; /* Reduced from 80px */
    margin: 0 2px;
  }

  .winota-cat-bar .cat-icon {
    width: 36px; /* Reduced from 46px */
    height: 36px;
    margin-bottom: 2px;
  }

  .winota-cat-bar .cat-icon img {
    width: 24px; /* Reduced from 30px */
    height: 24px;
  }

  .winota-cat-bar .cat-label {
    font-size: 10px; /* Reduced from 11px */
  }
}
