/** Shopify CDN: Minification failed

Line 103:6 Expected identifier but found whitespace
Line 103:7 Unexpected "16px"

**/
.mega-menu {
  position: static;
}

.mega-menu__content {
  background-color: rgb(var(--color-background));
  border-left: 0;
  border-radius: 0;
  border-right: 0;
  left: 0;
  overflow-y: auto;
  padding-bottom: 3rem;
  padding-top: 3rem;
  position: absolute;
  right: 0;
  top: 100%;
}

.shopify-section-header-sticky .mega-menu__content {
  max-height: calc(100vh - var(--header-bottom-position-desktop, 20rem) - 4rem);
}

.header-wrapper--border-bottom .mega-menu__content {
  border-top: 0;
}

.js .mega-menu__content {
  opacity: 0;
  transform: translateY(-1.5rem);
}

.mega-menu[open] .mega-menu__content {
  opacity: 1;
  transform: translateY(0);
}

.mega-menu__list {
  display: grid;
  gap: 1.8rem 4rem;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  list-style: none;
}

.mega-menu__link {
  color: rgba(var(--color-foreground), 0.75);
  display: block;
  line-height: calc(1 + 0.3 / var(--font-body-scale));
  padding-bottom: 0.6rem;
  padding-top: 0.6rem;
  text-decoration: none;
  transition: text-decoration var(--duration-short) ease;
  word-wrap: break-word;
}

.mega-menu__link--level-2 {
  font-weight: bold;
}

.header--top-center .mega-menu__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 0;
}

.header--top-center .mega-menu__list > li {
  width: 16%;
  padding-right: 2.4rem;
}

.mega-menu__link:hover,
.mega-menu__link--active {
  color: rgb(var(--color-foreground));
  text-decoration: underline;
}

.mega-menu__link--active:hover {
  text-decoration-thickness: 0.2rem;
}

.mega-menu .mega-menu__list--condensed {
  display: block;
}

.mega-menu__list--condensed .mega-menu__link {
  font-weight: normal;
}
/* Kitchen Cabinets mega menu — collection thumbnails */
/* PC 端 Kitchen Cabinets - 显示 10 列 */
.mega-menu__collection-list--kitchen {
  display: grid;
  grid-template-columns: repeat(10, minmax(80px, 1fr)); 
  gap: 24px 20px;
  padding: 24px 12px;
  justify-items: center;
}
  gap: 16px;
  padding: 16px 0 24px;
}

.mega-menu__collection-item {
  list-style: none;
}

.mega-menu__collection-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.mega-menu__collection-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 6px;
}

/* PC 端 Kitchen Cabinets - 文本样式优化 */
.mega-menu__collection-title {
  font-size: 14px;
  line-height: 1.3;
  text-align: center;
  color: #353D57 !important;
  margin-top: 6px;
  word-break: break-word;
  white-space: normal;
  display: block;
  padding: 0 4px; /* 防止贴边 */
}
/* 强制移除 Kitchen Cabinets 图片菜单前面的点 */
.mega-menu__collection-list--kitchen,
.mega-menu__collection-list--kitchen li {
  list-style: none !important;
}

.mega-menu__collection-list--kitchen li::marker {
  display: none !important;
  content: "";
}
/* Resources mega menu — icon + label grid */
.mega-menu__resources-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 40px;
  padding: 16px 0 24px;
  justify-items: center; /* 不满 4 个时自动居中 */
}

.mega-menu__resources-item {
  list-style: none;
}

.mega-menu__resources-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
}

.mega-menu__resources-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
}

.mega-menu__resources-title {
  font-size: 13px;
  text-align: center;
  color: #353D57;
}
