/* Zaka 1152 · 编辑器底栏 + 分类平铺 */

/* 底部三按钮：横排、居中、不重叠 */
.zg-dft-bar {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 16px !important;
  height: 46px !important;
  padding: 0 12px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  border-top: 1px solid #e6eaf2 !important;
  background: #fff !important;
  z-index: 9000 !important;
}
.zg-dft-bar > div {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  flex-wrap: nowrap !important;
  height: 100% !important;
}
.zg-dft-bar .ant-select { min-width: 108px !important; }
.zg-dft-bar button { white-space: nowrap !important; }
.zg-dft-bar span { white-space: nowrap !important; }

/* 分类平铺：每列固定宽度，整行居中（屏大多出列，不留右边大空白） */
.main.zg-grid {
  grid-template-columns: repeat(auto-fill, 128px) !important;
  justify-content: center !important;
  column-gap: 14px !important;
  row-gap: 14px !important;
}
.main.zg-grid > .itme {
  width: 128px !important;
  max-width: 128px !important;
  margin: 0 !important;
}
@media (max-width: 820px) {
  .main.zg-grid {
    grid-template-columns: repeat(auto-fill, 92px) !important;
    column-gap: 10px !important;
    row-gap: 10px !important;
  }
  .main.zg-grid > .itme {
    width: 92px !important;
    max-width: 92px !important;
  }
}
