@charset "UTF-8";
body {
  overflow: hidden;
}

.Category-Container {
  height: calc(100dvh - 60px);
}

.searchArea {
  padding: 12px;
  background-color: #f5f5f5;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  height: 44px;
}
.search-box .search-form {
  flex: 1;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
}
.search-box .search-input {
  flex: 1;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 22px;
  padding: 0 44px 0 16px;
  font-size: 16px;
  outline: none;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
.search-box .search-input:focus {
  border-color: #4a90e2;
}
.search-box .search-clear {
  position: absolute;
  right: 44px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.search-box .search-clear svg {
  fill: #999;
}
.search-box .search-clear.visible {
  opacity: 1;
}
.search-box .search-submit {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.search-box .search-submit svg {
  fill: #4a90e2;
}

.Top-Category {
  display: flex;
  overflow-x: auto;
  white-space: nowrap;
  background: #fff;
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid #ddd;
  -webkit-overflow-scrolling: touch;
}
.Top-Category::-webkit-scrollbar {
  display: none;
}
.Top-Category .Top-Category-Item {
  flex: 0 0 auto;
  padding: 12px 18px;
  text-align: center;
}
.Top-Category .Top-Category-Item a {
  font-size: 15px;
  color: #666;
  text-decoration: none;
  display: inline-block;
  padding-bottom: 4px;
  transition: color 0.2s, border-bottom 0.2s;
}
.Top-Category .Top-Category-Item.active {
  color: #0a84ff;
  font-weight: bold;
  border-bottom: 2px solid #0a84ff;
}

.Child-Category-And-Products {
  display: flex;
  flex: 1;
  height: calc(100dvh - 50px);
  background: #fff;
  overflow: hidden;
  max-width: 450px;
  margin: 0 auto;
  border: 1px solid #ddd;
}
.Child-Category-And-Products .Side-Categories {
  width: 80px;
  background: #f6f6f6;
  border-right: 1px solid #eee;
  overflow-y: auto;
  word-break: break-word;
  white-space: normal;
}
.Child-Category-And-Products .Side-Categories .Side-Item {
  padding: 14px 6px;
  text-align: center;
  font-size: 14px;
  color: #555;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}
.Child-Category-And-Products .Side-Categories .Side-Item > a {
  font-size: 0.7rem;
  color: #555;
  text-decoration: none;
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  padding: 0 4px;
}
.Child-Category-And-Products .Side-Categories .Side-Item.active {
  background: #fff;
  color: #0a84ff;
  font-weight: bold;
}
.Child-Category-And-Products .CategoriesContainer {
  position: relative;
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 5px 0 5px 0;
  /*加载状态样式*/
}
.Child-Category-And-Products .CategoriesContainer .load-status {
  text-align: center;
  padding: 14px;
  font-size: 13px;
  color: #6b7280;
}
.Child-Category-And-Products .CategoriesContainer .loading::after {
  content: "...";
  animation: dots 1.5s infinite;
}
@keyframes dots {
  0% {
    content: "";
  }
  33% {
    content: ".";
  }
  66% {
    content: "..";
  }
  100% {
    content: "...";
  }
}
.Child-Category-And-Products .CategoryItem {
  display: flex;
  background: #fff;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
  color: black;
}
.Child-Category-And-Products .CategoryItem:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}
.Child-Category-And-Products .CategoryItem .CategoryImage {
  width: 100px;
  height: 100px;
}
.Child-Category-And-Products .CategoryItem .CategoryImage img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
  object-fit: cover;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo {
  flex: 1;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryTitle {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0A84FF;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryDesc {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/*# sourceMappingURL=CategoriesForLevel.css.map */
