#product-category .category-refine {
  margin: 26px 0 34px;
}
#product-category .category-refine__title {
  margin: 0 0 20px;
  color: #252838;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}
#product-category .category-refine__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#product-category .category-refine__item {
  min-width: 0;

}
#product-category .category-refine__card {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 8px;
  height: 100%;
  overflow: hidden;
  border: 1px solid #ece8ee;
  border-radius: 6px;
  background: #fff;
  color: #252838;
  text-decoration: none;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#product-category .category-refine__image {
  position: relative;
  display: block;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 6px;
  border-radius: 4px;
  background: #faf6f8;
}
#product-category .category-refine__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
  transition: transform .2s ease;
}
#product-category .category-refine__count {
  flex: 0 0 auto;
  top: 9px;
  right: 9px;
  min-width: 28px;
  padding: 3px 8px;
  border: 1px solid #eee7ed;
  border-radius: 4px;
  background: #fff;
  color: #686271;
  font-size: 12px;
  line-height: 20px;
  text-align: center;
}
#product-category .category-refine__caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex: 1;
  min-width: 0;
  padding: 8px 4px 8px 12px;
}
#product-category .category-refine__name {
  flex: 1;
  overflow-wrap: anywhere;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}
#product-category .category-refine__arrow {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
  border-radius: 4px;
  background: #f3f5ff;
  color: #0037eb;
  font-size: 18px;
  line-height: 26px;
  text-align: center;
}
#product-category .category-refine__card:focus-visible {
  outline: 3px solid #0037eb;
  outline-offset: 3px;
}
@media (hover: hover) {
  #product-category .category-refine__card:hover {
    transform: translateY(-1px);
    border-color: #d6dcfa;
    box-shadow: 0 10px 24px rgba(44, 38, 66, .08);
    color: #0037eb;
  }
  #product-category .category-refine__card:hover img {
    transform: scale(1.04);
  }
}
@media (max-width: 575px) {
  #product-category .category-refine { margin: 22px 0 28px; }
  #product-category .category-refine__title { font-size: 21px; margin-bottom: 15px; }
  #product-category .category-refine__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  #product-category .category-refine__item { max-width: none; }
  #product-category .category-refine__card { border-radius: 6px; }
  #product-category .category-refine__image { flex-basis: 56px; width: 56px; height: 56px; padding: 5px; }
  #product-category .category-refine__caption { gap: 8px; padding: 6px 4px 6px 10px; }
  #product-category .category-refine__name { font-size: 13px; }
  #product-category .category-refine__arrow { flex-basis: 22px; width: 22px; height: 22px; line-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  #product-category .category-refine__card,
  #product-category .category-refine__image img { transition: none; }
  #product-category .category-refine__card:hover,
  #product-category .category-refine__card:hover img { transform: none; }
}
