.elementor-30831 .elementor-element.elementor-element-f96799f{--display:flex;border-style:solid;--border-style:solid;border-width:0px 0px 2px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:2px;--border-left-width:0px;border-color:#D6C9C996;--border-color:#D6C9C996;}.elementor-30831 .elementor-element.elementor-element-f96799f:not(.elementor-motion-effects-element-type-background), .elementor-30831 .elementor-element.elementor-element-f96799f > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}/* Start custom CSS for shortcode, class: .elementor-element-f4f6dcc */.category-container {
  max-height: 60vh; /* 视口高度的40% */
  overflow-y: auto; /* 内容溢出时可滚动 */
}

.category-list-container .category-container{
width: 100%;
}
.parent-category-list {
    display: flex;
    flex-wrap: wrap;
}

:root {
  --card-radius: 10px;
}

/* 容器样式优化 */
.category-container {
  padding: 30px 15px;
  background-color: #f9f9f9;
}

/* 每个分类卡片的列样式 */
.parent-category {
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

/* 卡片整体样式 */
.parent-category-item {
  background: #ffffff;
  border-radius: var(--card-radius);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  max-width: 220px;
  width: 100%;
  text-align: center;
}

.parent-category-item:hover {
  transform: translateY(-8px);
  box-shadow: 0px 0px 20px 0px rgb(202 125 39 / 50%);
}

/* 图片容器 */
.menu-container-img img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: var(--card-radius);
  border-top-right-radius:var(--card-radius);
}

/* 标题容器 */
.menu-container-title {
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.menu-container-title strong {
  font-weight: 700;
  color: #222;
}
.parent-category-item a:hover {
  text-decoration: none;
  color: #0073e6; /* 自定义鼠标悬停时的颜色 */
}
.parent-category-item a {
  text-decoration: none;
  color: inherit; /* 保持文字颜色与父元素一致（可选） */
}

/* 移动端适配（如必要可添加） */
@media (max-width: 768px) {
  .parent-category-item {
    max-width: 100%;
  }
}/* End custom CSS */