/* oem_next 复合首页业务样式；公共侧栏和顶部栏由 clientarea 主题负责。 */
html[data-clientarea-theme="oem_next"] .home-main {
  box-sizing: border-box;
  margin: calc(var(--oem-header-height) + 24px) 28px 28px !important;
  padding: 0 !important;
  overflow: visible;
  background: transparent;
}

html[data-clientarea-theme="oem_next"] .template > .el-container > .el-container > .home-main > .main-card {
  min-height: 0;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

html[data-clientarea-theme="oem_next"] .home-main .main-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
  background: transparent;
}

html[data-clientarea-theme="oem_next"] .home-main .left-box,
html[data-clientarea-theme="oem_next"] .home-main .right-box {
  min-width: 0;
}

html[data-clientarea-theme="oem_next"] .home-main .left-box {
  gap: 24px;
}

html[data-clientarea-theme="oem_next"] .home-main .right-box {
  box-sizing: border-box;
  width: auto;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--oem-border);
  border-radius: var(--oem-radius);
}

html[data-clientarea-theme="oem_next"] .home-main .info-box,
html[data-clientarea-theme="oem_next"] .home-main .money-box,
html[data-clientarea-theme="oem_next"] .home-main .statistics-bottom,
html[data-clientarea-theme="oem_next"] .home-main .product-list-box {
  box-sizing: border-box;
  padding: 24px;
  background-color: #fff;
  border: 1px solid var(--oem-border);
  border-radius: var(--oem-radius);
  box-shadow: none;
}

html[data-clientarea-theme="oem_next"] .home-main .info-box {
  gap: 20px;
  align-items: center;
}

html[data-clientarea-theme="oem_next"] .home-main .name-first {
  width: 52px;
  height: 52px;
  background: var(--oem-primary);
  border-radius: var(--oem-radius);
  color: #fff;
  font-size: 28px;
}

html[data-clientarea-theme="oem_next"] .home-main .hello,
html[data-clientarea-theme="oem_next"] .home-main .name,
html[data-clientarea-theme="oem_next"] .home-main .email-box,
html[data-clientarea-theme="oem_next"] .home-main .phone-box,
html[data-clientarea-theme="oem_next"] .home-main .info-three,
html[data-clientarea-theme="oem_next"] .home-main .title-text,
html[data-clientarea-theme="oem_next"] .home-main .WorkOrder-title {
  font-family: var(--oem-font-family);
}

html[data-clientarea-theme="oem_next"] .home-main .hello,
html[data-clientarea-theme="oem_next"] .home-main .title-text,
html[data-clientarea-theme="oem_next"] .home-main .WorkOrder-title {
  color: var(--oem-text);
}

html[data-clientarea-theme="oem_next"] .home-main .divider-box {
  height: 46px;
  background: var(--oem-border);
}

html[data-clientarea-theme="oem_next"] .home-main .statistics-content {
  min-height: 210px;
  gap: 12px;
}

html[data-clientarea-theme="oem_next"] .home-main .money-box {
  min-width: 0;
}

html[data-clientarea-theme="oem_next"] .home-main .money-top {
  gap: 12px;
}

html[data-clientarea-theme="oem_next"] .home-main .money-top .money-credit {
  padding: 18px;
  background: #f7f8fa;
  border: 1px solid #edf0f4;
  border-radius: var(--oem-radius);
}

html[data-clientarea-theme="oem_next"] .home-main .money-top .money-credit .credit-btn {
  padding: 8px 20px;
  background: var(--oem-primary);
  border-radius: 0 0 0 var(--oem-radius);
}

html[data-clientarea-theme="oem_next"] .home-main .order-box {
  width: 348px;
  margin-left: 0;
  gap: 10px;
}

html[data-clientarea-theme="oem_next"] .home-main .order-box .order-item {
  min-width: 0;
  border-radius: var(--oem-radius);
}

html[data-clientarea-theme="oem_next"] .home-main .order-box .order-type-img {
  margin-top: 28px;
}

html[data-clientarea-theme="oem_next"] .home-main .order-box .order-type-img img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

html[data-clientarea-theme="oem_next"] .home-main .order-box .order-nums {
  margin-bottom: 26px;
  font-size: 26px;
}

html[data-clientarea-theme="oem_next"] .home-main .statistics-bottom {
  margin-top: 0;
  padding: 20px 360px 20px 24px;
}

html[data-clientarea-theme="oem_next"] .home-main .product-list-box .title-text,
html[data-clientarea-theme="oem_next"] .home-main .WorkOrder-title {
  position: relative;
  padding-left: 12px;
  font-size: 16px;
  line-height: 22px;
  font-weight: 500;
}

html[data-clientarea-theme="oem_next"] .home-main .product-list-box .title-text::before,
html[data-clientarea-theme="oem_next"] .home-main .WorkOrder-title::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 3px;
  background: var(--oem-primary);
  content: "";
}

html[data-clientarea-theme="oem_next"] .home-main .no-product {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

html[data-clientarea-theme="oem_next"] .home-main .recommend-box {
  width: 100%;
  margin-top: 0;
}

html[data-clientarea-theme="oem_next"] .home-main .recommend-box img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
}

html[data-clientarea-theme="oem_next"] .home-main .recommend-box h2 {
  margin-top: 18px;
  font-size: 18px;
}

html[data-clientarea-theme="oem_next"] .home-main .recommend-box p {
  margin-top: 10px;
  color: var(--oem-text-secondary);
}

html[data-clientarea-theme="oem_next"] .home-main .recommend-box-open,
html[data-clientarea-theme="oem_next"] .home-main .WorkOrder-box,
html[data-clientarea-theme="oem_next"] .home-main .notice-box {
  box-sizing: border-box;
  width: 100%;
}

html[data-clientarea-theme="oem_next"] .home-main .WorkOrder-content {
  padding: 18px 18px 0;
  border-color: var(--oem-border);
  border-radius: var(--oem-radius);
}

html[data-clientarea-theme="oem_next"] .home-main .notice-item {
  padding: 12px 10px;
}

@media screen and (max-width: 1280px) {
  html[data-clientarea-theme="oem_next"] .home-main {
    margin-right: 20px !important;
    margin-left: 20px !important;
  }

  html[data-clientarea-theme="oem_next"] .home-main .main-content {
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
  }

  html[data-clientarea-theme="oem_next"] .home-main .statistics-content {
    flex-direction: column;
  }

  html[data-clientarea-theme="oem_next"] .home-main .order-box {
    width: 100%;
    height: 180px;
  }

  html[data-clientarea-theme="oem_next"] .home-main .statistics-bottom {
    padding-right: 180px;
  }
}

@media screen and (max-width: 980px) {
  html[data-clientarea-theme="oem_next"] .home-main .main-content {
    grid-template-columns: 1fr;
  }

  html[data-clientarea-theme="oem_next"] .home-main .right-box {
    width: 100%;
  }
}

@media screen and (max-width: 750px) {
  html[data-clientarea-theme="oem_next"] .home-main {
    margin: calc(var(--oem-header-height) + 16px) 16px 16px !important;
  }

  html[data-clientarea-theme="oem_next"] .home-main .main-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  html[data-clientarea-theme="oem_next"] .home-main .info-box,
  html[data-clientarea-theme="oem_next"] .home-main .money-box,
  html[data-clientarea-theme="oem_next"] .home-main .statistics-bottom,
  html[data-clientarea-theme="oem_next"] .home-main .product-list-box,
  html[data-clientarea-theme="oem_next"] .home-main .right-box {
    padding: 16px;
  }

  html[data-clientarea-theme="oem_next"] .home-main .info-box {
    align-items: flex-start;
  }

  html[data-clientarea-theme="oem_next"] .home-main .divider-box {
    display: none;
  }

  html[data-clientarea-theme="oem_next"] .home-main .statistics-content,
  html[data-clientarea-theme="oem_next"] .home-main .money-top {
    display: flex;
    flex-direction: column;
  }

  html[data-clientarea-theme="oem_next"] .home-main .order-box {
    width: 100%;
    height: auto;
    flex-direction: column;
  }

  html[data-clientarea-theme="oem_next"] .home-main .order-box .order-item {
    min-height: 126px;
  }

  html[data-clientarea-theme="oem_next"] .home-main .statistics-bottom {
    padding-right: 16px;
    background-image: none;
    flex-direction: column;
    gap: 14px;
  }

  html[data-clientarea-theme="oem_next"] .home-main .statistics-bottom .statistics-item-divider {
    width: 100%;
    height: 1px;
    margin: 0;
  }
}
