/*Category Tabs*/
/*Category Tabs*/
.product-layout {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial,
    sans-serif;
  display: grid;
  grid-template-columns: repeat(auto-fit, 200px);
  justify-content: space-evenly;
  gap: 28px;
}

.product-thumb {
  position: relative;
  border-radius: var(--radius-sm);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  max-width: 200px;
  justify-self: center;
  -webkit-transition: transform 0.18s ease, box-shadow 0.18s ease;
  -moz-transition: transform 0.18s ease, box-shadow 0.18s ease;
  -ms-transition: transform 0.18s ease, box-shadow 0.18s ease;
  -o-transition: transform 0.18s ease, box-shadow 0.18s ease;
  background: radial-gradient(120% 90% at 10% 10%, var(--barik-100) 0%, #fff 60%) !important;
}

.product-thumb:focus-within,
.product-thumb:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.cat-media {
  aspect-ratio: 1/1;
  display: grid;
  place-items: center;
  border: 1px solid var(--barik-100);
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.cat-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-chip {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 14px;
  background: rgba(22, 69, 131, 0.5);
  color: var(--chip-text);
  border-radius: var(--radius-xs);
  padding: 5px 7px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  line-height: 1.3;
}
.cat-chip .name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  margin-bottom: 4px;
}
.cat-chip .count {
  font-size: 12px;
  opacity: 0.9;
}

.cat-link {
  position: absolute;
  inset: 0;
  z-index: 2;
}

/* Tablet */
@media (max-width: 768px) {
  .cat-chip .name {
    font-size: 14px;
  }
}

/* Smartphone */
@media (max-width: 480px) {
  .product-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 4px;
  }
  .product-thumb {
    max-width: 200px;
    width: 100%;
  }
}
