/* 零零七IDC — 对齐 idc-system（Vuetify MD3 / primary #6750A4） */
.theme-idc {
  --idc-primary: #6750a4;
  --idc-primary-dark: #4f378b;
  --idc-on-primary: #ffffff;
  --idc-surface: #fef7ff;
  --idc-bg: #f5f5f5;
  --idc-text: #1c1b1f;
  --idc-muted: #625b71;
  --idc-card: #ffffff;
  --idc-border: #e7e0ec;
  --idc-radius: 16px;
  --primary: var(--idc-primary);
  --primary-dark: var(--idc-primary-dark);
}

body.theme-idc,
html.theme-idc body {
  background: var(--idc-bg) !important;
  color: var(--idc-text);
  font-family: Roboto, "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* —— 顶栏（对齐 v-app-bar） —— */
.theme-idc .topbar {
  background: #fff !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
  box-shadow: 0 1px 2px rgba(28, 27, 31, 0.06) !important;
  height: 60px;
}
.theme-idc .topbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 60px;
}
.theme-idc .brand::before,
.theme-idc .brand::after,
.theme-idc .console-brand::before,
.theme-idc .console-brand::after {
  display: none !important;
  content: none !important;
}
.theme-idc .brand .brand-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--idc-text);
}
.theme-idc .nav > button {
  color: var(--idc-text) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}
.theme-idc .nav > button.active {
  color: var(--idc-primary) !important;
}
.theme-idc .nav > button.idc-btn-out,
.theme-idc .nav .btn.ghost {
  border: 1px solid var(--idc-primary) !important;
  color: var(--idc-primary) !important;
  border-radius: 20px !important;
  padding: 6px 16px !important;
}
.theme-idc .nav > button.idc-btn-in,
.theme-idc .nav .btn.primary {
  background: var(--idc-primary) !important;
  color: #fff !important;
  border-radius: 20px !important;
  border: none !important;
  padding: 6px 18px !important;
}

.theme-idc .shell,
.theme-idc .shell-body,
.theme-idc .storefront-wrap {
  background: var(--idc-bg) !important;
}

/* —— 首页容器 —— */
.theme-idc .idc-home {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}

.theme-idc .idc-hero {
  text-align: center;
  background: linear-gradient(135deg, #f0e6ff 0%, #e8f0fe 100%);
  border-radius: var(--idc-radius);
  padding: 56px 24px 48px;
  margin-bottom: 28px;
}
.theme-idc .idc-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--idc-text);
  line-height: 1.25;
}
.theme-idc .idc-hero-sub {
  margin: 0 0 8px;
  font-size: 18px;
  color: #49454f;
  font-weight: 500;
}
.theme-idc .idc-hero-keys {
  margin: 0 0 28px;
  font-size: 14px;
  color: var(--idc-muted);
}
.theme-idc .idc-hero-cta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.theme-idc .idc-btn-primary {
  background: var(--idc-primary);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.theme-idc .idc-btn-primary:hover {
  background: var(--idc-primary-dark);
}
.theme-idc .idc-btn-outline {
  background: transparent;
  color: var(--idc-text);
  border: 1px solid var(--idc-border);
  border-radius: 12px;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.theme-idc .idc-btn-outline:hover {
  border-color: var(--idc-primary);
  color: var(--idc-primary);
}
.theme-idc .idc-btn-tonal {
  width: 100%;
  margin-top: 12px;
  background: rgba(103, 80, 164, 0.12);
  color: var(--idc-primary);
  border: none;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 600;
  cursor: pointer;
}
.theme-idc .idc-btn-tonal:hover:not(:disabled) {
  background: rgba(103, 80, 164, 0.2);
}
.theme-idc .idc-btn-tonal:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* 促销横幅 */
.theme-idc .idc-promo {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--idc-primary);
  color: #fff;
  border-radius: var(--idc-radius);
  padding: 20px 24px;
  margin-bottom: 32px;
  cursor: pointer;
}
.theme-idc .idc-promo-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.theme-idc .idc-promo-desc {
  font-size: 13px;
  opacity: 0.85;
}
.theme-idc .idc-promo-btn {
  flex-shrink: 0;
  background: #fff;
  color: var(--idc-primary);
  border: none;
  border-radius: 10px;
  padding: 10px 18px;
  font-weight: 700;
  cursor: pointer;
}

.theme-idc .idc-sec-title {
  margin: 0 0 16px;
  font-size: 22px;
  font-weight: 700;
  color: var(--idc-text);
}
.theme-idc .idc-hot-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}
.theme-idc .idc-hot-hd .idc-sec-title {
  margin: 0;
}
.theme-idc .idc-link {
  background: none;
  border: none;
  color: var(--idc-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 14px;
}

/* 分类卡片 */
.theme-idc .idc-cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 36px;
}
.theme-idc .idc-cat {
  background: #fff;
  border: 1px solid var(--idc-border);
  border-radius: 14px;
  padding: 22px 14px;
  text-align: center;
  min-height: 140px;
  cursor: pointer;
  transition: box-shadow 0.15s, transform 0.15s;
}
.theme-idc .idc-cat:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(103, 80, 164, 0.12);
}
.theme-idc .idc-cat.c-blue { background: #e3f2fd; }
.theme-idc .idc-cat.c-green { background: #e8f5e9; }
.theme-idc .idc-cat.c-purple { background: #f3e5f5; }
.theme-idc .idc-cat.c-orange { background: #fff3e0; }
.theme-idc .idc-cat-ico {
  font-size: 28px;
  margin-bottom: 8px;
  line-height: 1;
}
.theme-idc .idc-cat-name {
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 4px;
}
.theme-idc .idc-cat-desc {
  font-size: 12px;
  color: var(--idc-muted);
}

/* 产品卡片 */
.theme-idc .idc-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.theme-idc .idc-prod {
  background: #fff;
  border: 1px solid var(--idc-border);
  border-radius: 14px;
  padding: 20px;
  cursor: pointer;
  transition: box-shadow 0.15s;
}
.theme-idc .idc-prod:hover {
  box-shadow: 0 8px 24px rgba(28, 27, 31, 0.08);
}
.theme-idc .idc-prod h3 {
  margin: 0 0 12px;
  font-size: 17px;
  font-weight: 700;
}
.theme-idc .idc-prod-specs {
  font-size: 14px;
  color: var(--idc-muted);
  line-height: 1.7;
  margin-bottom: 8px;
}
.theme-idc .idc-prod-price {
  color: var(--idc-primary);
  font-size: 24px;
  font-weight: 700;
}
.theme-idc .idc-prod-price small {
  font-size: 13px;
  font-weight: 500;
  color: var(--idc-muted);
  margin-left: 2px;
}
.theme-idc .idc-empty {
  text-align: center;
  padding: 40px;
  color: var(--idc-muted);
  margin-bottom: 32px;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--idc-border);
}

/* 优势 */
.theme-idc .idc-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.theme-idc .idc-feat {
  text-align: center;
  padding: 16px 12px;
}
.theme-idc .idc-feat-ico {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
}
.theme-idc .idc-feat-ico.g { background: #e8f5e9; color: #2e7d32; }
.theme-idc .idc-feat-ico.b { background: #e3f2fd; color: #1565c0; }
.theme-idc .idc-feat-ico.o { background: #fff3e0; color: #ef6c00; }
.theme-idc .idc-feat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}
.theme-idc .idc-feat span {
  font-size: 13px;
  color: var(--idc-muted);
}

.theme-idc .idc-foot {
  text-align: center;
  padding: 20px 8px;
  font-size: 12px;
  color: var(--idc-muted);
  border-top: 1px solid var(--idc-border);
}
.theme-idc .idc-foot a {
  color: var(--idc-muted);
}

/* 产品页也去掉智简云蓝底残留 */
.theme-idc .tz-catbar,
.theme-idc .tz-dock {
  display: none !important;
}
.theme-idc .cloud-shop .shop-hero {
  background: linear-gradient(135deg, #f0e6ff, #e8f0fe) !important;
}
.theme-idc .btn.primary,
.theme-idc .cloud-shop .btn.buy {
  background: var(--idc-primary) !important;
  border-color: var(--idc-primary) !important;
  border-radius: 12px !important;
}

@media (max-width: 900px) {
  .theme-idc .idc-cats,
  .theme-idc .idc-products,
  .theme-idc .idc-feats {
    grid-template-columns: 1fr 1fr;
  }
  .theme-idc .idc-promo {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 560px) {
  .theme-idc .idc-cats,
  .theme-idc .idc-products,
  .theme-idc .idc-feats {
    grid-template-columns: 1fr;
  }
}
