.np-category-directory .np-home-content {
  margin-top: 24px;
}
.np-category-search {
  display: flex;
  align-items: stretch;
  gap: 10px;
}
.np-category-search input {
  min-width: 0;
  width: 260px;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #d5e2f3;
  border-radius: 8px;
  background: white;
  color: var(--np-navy);
  font-size: 14px;
}
.np-category-search input:focus-visible {
  outline: 3px solid #3b82f6;
  outline-offset: 3px;
}
.np-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.np-category-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  border: 1px solid #dfe5ef;
  border-radius: 10px;
  overflow: hidden;
  background: white;
}
.np-category-card:hover {
  border-color: #9bb9df;
}
.np-category-directory [hidden] {
  display: none;
}
.np-category-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  padding: 20px;
  background: #eef6ff;
}
.np-category-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.np-category-image > span {
  display: grid;
  place-items: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #deebfc;
  color: #31599b;
  font-size: 36px;
}
.np-category-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  padding: 20px;
  gap: 12px;
}
.np-category-count {
  color: #536787;
  font-size: 12px;
  margin: 0;
}
.np-category-body h3 {
  font-size: 20px;
  line-height: 1.3;
  font-weight: 600;
  margin: 0;
  overflow-wrap: anywhere;
}
.np-category-description {
  font-size: 13px;
  line-height: 1.6;
  color: #536787;
  margin: 0;
}
.np-category-subcategories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.np-category-subcategories a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: 6px;
  background: #f2f7fd;
  font-size: 12px;
  overflow-wrap: anywhere;
}
.np-category-subcategories a:hover {
  background: #deebfc;
}
.np-category-shop {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 14px;
  min-height: 44px;
  width: 100%;
  border-top: 1px solid #edf1f7;
  font-size: 13px;
  font-weight: 600;
}
.np-category-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  margin-top: 32px;
  border-radius: 10px;
  background: #eef6ff;
}
.np-category-help p {
  color: #536787;
  font-size: 14px;
  line-height: 1.6;
  margin-top: 10px;
}
.np-category-help > div:last-child {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.np-category-brands {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 1199px) {
  .np-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .np-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .np-category-help {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .np-category-search input {
    width: 100%;
    flex: 1;
  }
  .np-category-body {
    padding: 16px;
  }
  .np-category-help {
    padding: 22px;
  }
}
@media (max-width: 480px) {
  .np-category-grid {
    grid-template-columns: 1fr;
  }
  .np-category-image {
    max-height: 210px;
  }
}
