/* ML Woo Cat Grid */
.ml-cat-grid {
  display: grid;
  grid-template-columns: repeat(var(--ml-cols, 4), 1fr);
  gap: 15px;
  padding: 20px 0;
  font-family: 'Poppins', sans-serif;
}

.ml-cat-item {
  display: flex;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100px;
}

.ml-cat-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.ml-cat-img {
  width: 45%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.ml-cat-img img {
  max-height: 80%;
  max-width: 90%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.ml-cat-content {
  width: 55%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 25px;
  position: relative;
}

.ml-cat-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-right: 15px solid;
}

.ml-cat-sub {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.85;
  font-weight: 600;
  line-height: 1.2;
}

.ml-cat-title {
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
}

/* Themes */
.ml-yellow .ml-cat-content { background: #FFC107; color: #000; }
.ml-yellow .ml-cat-content::before { border-right-color: #FFC107; }

.ml-white .ml-cat-content { background: #fff; color: #000; }
.ml-white .ml-cat-content::before { border-right-color: #fff; }

.ml-teal .ml-cat-content { background: #009688; color: #fff; }
.ml-teal .ml-cat-content::before { border-right-color: #009688; }

.ml-dark .ml-cat-content { background: #374151; color: #fff; }
.ml-dark .ml-cat-content::before { border-right-color: #374151; }

/* Mobile */
@media (max-width: 768px) {
  .ml-cat-grid {
    grid-template-columns: repeat(var(--ml-cols-m, 2), 1fr);
    gap: 10px;
  }
  .ml-cat-title { font-size: 13px; }
  .ml-cat-item { height: 90px; }
  .ml-cat-img { width: 40%; }
  .ml-cat-content { width: 60%; padding-left: 20px; }
}
