@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;
}

body[data-page-name=ProductCategories] .mobile-page-container {
  display: flex;
  flex-direction: column;
  height: calc(100dvh - 50px - 60px);
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding-top: 8px;
  overflow: hidden;
}
body[data-page-name=ProductCategories] {
  overflow: hidden;
  padding-bottom: 0;
}
body[data-page-name=ProductCategories] .Lv1-Select-Wrapper {
  flex: 0 0 auto;
  width: 100%;
  max-width: 450px;
  margin: 0 auto;
  padding: 8px 12px 10px;
  background: #fff;
  border: 1px solid #ddd;
  border-bottom: none;
}
body[data-page-name=ProductCategories] .Lv1-Select-Hint {
  font-size: 12px;
  color: #6b7280;
  margin-bottom: 6px;
}
body[data-page-name=ProductCategories] .Lv1-Select {
  width: 100%;
  height: 36px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 0 10px;
  font-size: 14px;
  background: #fff;
  color: #111827;
}
body[data-page-name=ProductCategories] .Child-Category-And-Products {
  flex: 1;
  width: 100%;
  min-height: 0;
  height: auto !important;
  max-width: none;
  margin: 0;
  border-top: none;
}
body[data-page-name=ProductCategories] .Child-Category-And-Products .Side-Categories {
  flex: 0 0 84px;
  height: 100%;
}
body[data-page-name=ProductCategories] .Child-Category-And-Products .CategoriesContainer {
  height: 100%;
  min-height: 0;
  padding: 8px 8px 10px;
}
body[data-page-name=ProductCategories] .Child-Category-And-Products .CategoriesContainer .empty-tip {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #6b7280;
}
body[data-page-name=ProductCategories] .Child-Category-And-Products .CategoriesContainer.is-loading::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.72);
  z-index: 2;
}
body[data-page-name=ProductCategories] .Child-Category-And-Products .CategoriesContainer.is-loading::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  top: 50%;
  left: 50%;
  margin-top: -11px;
  margin-left: -11px;
  border: 2px solid #c7d2fe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: product-loading-spin 0.8s linear infinite;
  z-index: 3;
}
@keyframes product-loading-spin {
  to {
    transform: rotate(360deg);
  }
}

.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;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.Child-Category-And-Products .CategoryItem .CategoryImage img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo {
  flex: 1;
  min-width: 0;
  margin-left: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 8px;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryTitle {
  font-size: 16px;
  font-weight: 600;
  margin: 0;
  color: #0A84FF;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  word-break: break-word;
  overflow-wrap: anywhere;
  overflow: hidden;
  text-overflow: ellipsis;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryMeta {
  margin-top: auto;
  width: 100%;
  border-top: 1px solid #e1e8f2;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 11px;
  color: #52637b;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryMeta .meta-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryMeta .meta-label {
  font-weight: 500;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryMeta .meta-value {
  color: #0b4fd6;
  font-weight: 700;
  text-align: right;
}
.Child-Category-And-Products .CategoryItem .CategoryInfo .CategoryDesc {
  font-size: 14px;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

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