﻿.diy-page[data-v-6006d3f3] .material-body[data-v-6006d3f3] {
  gap: 8px !important;
  padding: 0 8px 10px 0 !important;
  border-top: 0 !important;
  align-items: flex-start !important;
  background: transparent !important;
}

.diy-page[data-v-6006d3f3] .category-list[data-v-6006d3f3] {
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  height: 100% !important;
  padding-top: 0 !important;
  background: #f8f8fb !important;
  border-right: 0 !important;
  overflow-y: auto !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.diy-page[data-v-6006d3f3] .category-list[data-v-6006d3f3]::-webkit-scrollbar,
.diy-page[data-v-6006d3f3] .cards[data-v-6006d3f3]::-webkit-scrollbar {
  display: none !important;
}

.diy-page[data-v-6006d3f3] .category-list-inner[data-v-6006d3f3] {
  width: 100% !important;
  gap: 0 !important;
  padding: 0 0 12px !important;
  align-items: stretch !important;
}

.diy-page[data-v-6006d3f3] .category-item[data-v-6006d3f3] {
  position: relative !important;
  width: 100% !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 16px 8px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #f8f8fb !important;
  color: #808080 !important;
  font-size: 12px !important;
  line-height: 0.75rem !important;
  font-weight: 500 !important;
  box-shadow: none !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center !important;
}

.diy-page[data-v-6006d3f3] .category-item[data-v-6006d3f3]::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 2px !important;
  background: #f3f3f3 !important;
}

.diy-page[data-v-6006d3f3] .category-item.active[data-v-6006d3f3] {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: none !important;
}

.diy-page[data-v-6006d3f3] .category-item.active[data-v-6006d3f3]::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 2px !important;
  height: 50% !important;
  background: #d43030 !important;
}

.diy-page[data-v-6006d3f3] .cards[data-v-6006d3f3] {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 6px !important;
  row-gap: 18px !important;
  padding: 0 0 12px !important;
  overflow-y: auto !important;
  align-content: flex-start !important;
  align-items: flex-start !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.diy-page[data-v-6006d3f3] .card[data-v-6006d3f3] {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  aspect-ratio: auto !important;
  height: 108px !important;
  min-height: 108px !important;
  padding: 8px 6px 10px !important;
  border: 1px solid #ececf0 !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow: 0 1px 6px rgba(17, 24, 39, 0.04) !important;
}

.diy-page[data-v-6006d3f3] .card-visual[data-v-6006d3f3] {
  min-height: 40px !important;
  margin-bottom: 6px !important;
}

.diy-page[data-v-6006d3f3] .card-image[data-v-6006d3f3] {
  width: 34px !important;
  height: 34px !important;
  filter: none !important;
}

.diy-page[data-v-6006d3f3] .card-body[data-v-6006d3f3] {
  min-height: 0 !important;
  height: auto !important;
  gap: 4px !important;
  flex: 0 0 auto !important;
}

.diy-page[data-v-6006d3f3] .card:has(.card-stock-alert[data-v-6006d3f3]) .card-body[data-v-6006d3f3] {
  padding-bottom: 10px !important;
}

.diy-page[data-v-6006d3f3] .card-name[data-v-6006d3f3] {
  min-height: 0 !important;
  color: #2d3138 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.diy-page[data-v-6006d3f3] .card-meta[data-v-6006d3f3] {
  justify-content: center !important;
  gap: 0 !important;
  color: #98a0ad !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  margin-top: 4px !important;
  margin-bottom: 0 !important;
  white-space: nowrap !important;
}

.diy-page[data-v-6006d3f3] .card:has(.card-stock-alert[data-v-6006d3f3]) .card-meta[data-v-6006d3f3] {
  margin-top: 2px !important;
}

.diy-page[data-v-6006d3f3] .card-stock-alert[data-v-6006d3f3] {
  position: absolute !important;
  left: 50% !important;
  bottom: -7px !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 58px !important;
  max-width: 78% !important;
  height: auto !important;
  padding: 2px 10px !important;
  border-radius: 999px !important;
  background: #d43030 !important;
  color: #ffffff !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
  font-variant-numeric: tabular-nums !important;
  font-feature-settings: "tnum" 1 !important;
  white-space: nowrap !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(212, 48, 48, 0.18) !important;
}

.diy-page[data-v-6006d3f3] .card-stock-alert.is-restocking[data-v-6006d3f3] {
  background: #64748b !important;
}

.diy-page[data-v-6006d3f3] .card-spec[data-v-6006d3f3] {
  color: #9198a6 !important;
  font-style: italic !important;
}

.diy-page[data-v-6006d3f3] .card-price[data-v-6006d3f3] {
  color: #20242a !important;
  font-weight: 700 !important;
}

.diy-page[data-v-6006d3f3] .card-price[data-v-6006d3f3]::before {
  content: " - " !important;
  color: #c0c5cf !important;
  font-weight: 400 !important;
}

/* 卡片统一复用配饰布局，下面保留配饰局部微调 */
.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .cards[data-v-6006d3f3] {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  column-gap: 6px !important;
  row-gap: 18px !important;
  align-content: start !important;
  align-items: start !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card[data-v-6006d3f3] {
  flex: 0 0 auto !important;
  width: auto !important;
  max-width: none !important;
  height: 108px !important;
  min-height: 108px !important;
  aspect-ratio: auto !important;
  padding: 8px 6px 10px !important;
  overflow: visible !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card-visual[data-v-6006d3f3] {
  min-height: 40px !important;
  margin-bottom: 6px !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card-image[data-v-6006d3f3] {
  width: 34px !important;
  height: 34px !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card-body[data-v-6006d3f3] {
  min-height: 0 !important;
  height: auto !important;
  gap: 4px !important;
  flex: 0 0 auto !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card-name[data-v-6006d3f3] {
  min-height: 0 !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card-meta[data-v-6006d3f3] {
  margin-top: 4px !important;
  font-size: 10px !important;
  line-height: 1.15 !important;
}

.diy-page[data-v-6006d3f3]
  .material-sheet[data-v-6006d3f3]:has(.shape-tab:last-child.active)
  .card-stock-alert[data-v-6006d3f3] {
  bottom: -7px !important;
  transform: translateX(-50%) !important;
  z-index: 4 !important;
}
