/* ==================== 佛系云风格现代购物车样式 ==================== */
.main-title {
  font-size: 0.28rem;
  color: #171725;
}
.cart-des {
  padding: 0.1rem;
  border-radius: 0.03rem;
  border: 1px solid #e6e7eb;
  box-sizing: border-box;
  overflow-y: auto;
  margin-bottom: 0.24rem;
}
.cart-des * {
  all: revert;
}
.bx-main-card {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* 顶部公告条 */
.bx-announcement-banner {
  background: #ffffff;
  border: 1px solid #edf2f7;
  border-radius: 10px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}
.bx-announcement-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.bx-announcement-tag {
  display: flex;
  align-items: center;
  gap: 6px;
}
.bx-announcement-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.bx-announcement-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
}
.bx-announcement-text {
  font-size: 12.5px;
  color: #64748b;
}
.bx-announcement-right .bx-announcement-time {
  font-size: 12px;
  color: #10b981;
  font-weight: 600;
}

/* 双栏布局 */
.bx-layout {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

/* 左侧商品分类面板 (bx-region-panel) */
.bx-region-panel {
  width: 250px;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px;
  box-sizing: border-box;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}
.bx-aside-search-box {
  display: flex;
  align-items: center;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0 8px;
  height: 38px;
  background: #f8fafc;
  margin-bottom: 14px;
  transition: all 0.2s;
}
.bx-aside-search-box:focus-within {
  border-color: #2563eb;
  background: #ffffff;
}
.bx-aside-search-ico {
  color: #94a3b8;
  margin-right: 6px;
}
.bx-aside-search-input {
  border: none;
  background: transparent;
  outline: none;
  font-size: 12.5px;
  color: #1e293b;
  width: 100%;
}
.bx-aside-search-btn {
  border: none;
  background: #2563eb;
  color: #ffffff;
  border-radius: 6px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bx-region-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
  padding-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}
.bx-region-head-count {
  font-size: 11.5px;
  color: #64748b;
  font-weight: normal;
  background: #f1f5f9;
  padding: 2px 7px;
  border-radius: 4px;
}
.bx-region-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 600px;
  overflow-y: auto;
}
.bx-region-list::-webkit-scrollbar {
  width: 4px;
}
.bx-region-list::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 4px;
}
.bx-nav-group {
  border-radius: 8px;
  overflow: hidden;
}
.bx-nav-first {
  display: flex;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
  background: #ffffff;
}
.bx-nav-first:hover {
  background: #f8fafc;
  color: #0f172a;
}
.bx-nav-first.is-open {
  background: #f1f5f9;
  color: #0f172a;
}
.bx-nav-first-ico {
  color: #64748b;
  margin-right: 8px;
  display: flex;
}
.bx-nav-first-name {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bx-nav-arrow {
  color: #94a3b8;
  transition: transform 0.2s;
}
.bx-nav-second-wrap {
  padding: 4px 0 4px 18px;
}
.bx-nav-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 2px solid #e2e8f0;
  padding-left: 8px;
}
.bx-nav-item {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s;
}
.bx-nav-item:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.bx-nav-item.active {
  background: #e0f2fe;
  color: #0284c7;
  font-weight: 700;
}
.bx-nav-item-ico {
  margin-right: 7px;
  display: flex;
}
.bx-nav-empty {
  font-size: 12px;
  color: #94a3b8;
  padding: 6px 12px;
}
.bx-region-foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 12px;
  color: #64748b;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bx-region-foot a {
  color: #2563eb;
  font-weight: 600;
  text-decoration: none;
}
.bx-region-foot a:hover {
  text-decoration: underline;
}

/* 右侧主展示区 (bx-main-right) */
.bx-main-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

/* 基础商品公告折叠卡片 */
.fx-agree-card {
  background: #ffffff;
  border: 1px solid #fde68a;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.05);
}
.fx-agree-card__head {
  padding: 12px 18px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.fx-agree-card__seal {
  color: #d97706;
}
.fx-agree-card__title-wrap {
  flex: 1;
}
.fx-agree-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #78350f;
  margin: 0;
}
.fx-agree-card__sub {
  font-size: 12px;
  color: #92400e;
  margin: 2px 0 0 0;
}
.fx-agree-card__badge {
  background: #f59e0b;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.fx-agree-card__toggle {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: #b45309;
  font-weight: 600;
}
.fx-agree-card__body {
  padding: 14px 18px;
  border-top: 1px solid #fef3c7;
  font-size: 12.5px;
  line-height: 1.6;
  color: #451a03;
}

/* 一键优化脚本挂件 */
.fx-sn {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 14px 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.02);
}
.fx-sn-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.fx-sn-head-ico {
  color: #10b981;
}
.fx-sn-head-title {
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a;
}
.fx-sn-head-tip {
  font-size: 12px;
  color: #94a3b8;
}
.fx-sn-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 8px;
}
.fx-sn-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  font-size: 12.5px;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s;
}
.fx-sn-tab.is-active {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  font-weight: 600;
}
.fx-sn-desc {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 8px 0;
}
.fx-sn-desc code {
  background: #f1f5f9;
  color: #0f172a;
  padding: 1px 4px;
  border-radius: 4px;
}
.fx-sn-code {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border-radius: 8px;
  padding: 8px 12px;
}
.fx-sn-cmd {
  color: #38bdf8;
  font-family: Consolas, monospace;
  font-size: 12.5px;
  overflow-x: auto;
}
.fx-sn-copy {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 11.5px;
  transition: all 0.2s;
}
.fx-sn-copy:hover {
  background: #2563eb;
}

/* 商品卡片网格 (3列卡片) */
.goods-list-div {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  row-gap: 16px;
  column-gap: 16px;
}
.shopping-item {
  position: relative;
  box-sizing: border-box;
  min-height: 2.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: all 0.25s ease;
}
.shopping-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  border-color: #cbd5e1;
}

/* 深色 Header (Hero) 顶盖 */
.bx-card-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 16px 18px;
  position: relative;
  overflow: hidden;
  min-height: 72px;
  box-sizing: border-box;
}
.bx-hero-text {
  position: relative;
  z-index: 2;
}
.bx-hero-cat {
  font-size: 11px;
  color: #38bdf8;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.bx-hero-name {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bx-hero-art {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 140px;
  height: 65px;
  color: #38bdf8;
  opacity: 0.25;
  pointer-events: none;
}

/* 官方推荐角标 / 绿色角标 */
.shopping-item .client-box {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  padding: 3px 8px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
}
.bx-stock-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
}
.bx-stock-ribbon.is-enough span {
  background: #10b981;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

/* 规格参数描述区 */
.bx-spec-raw {
  box-sizing: border-box;
  padding: 14px 18px;
  min-height: 120px;
  flex: 1;
  overflow: auto;
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}
.bx-spec-raw * {
  all: revert;
}

/* 价格与购买栏 (深色胶囊购买按钮) */
.price-box {
  padding: 12px 18px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price-box .price-box-left {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.price-box .item-price {
  font-size: 24px;
  font-weight: 900;
  color: #ef4444;
}
.price-box .item-price .item-price-prefix {
  font-size: 14px;
  font-weight: 700;
}
.price-box .item-price .item-price-cycle {
  font-size: 12px;
  color: #94a3b8;
  margin-left: 2px;
}
.price-box .original-price {
  font-size: 12px;
  color: #cbd5e1;
  text-decoration: line-through;
  margin-left: 6px;
}
.price-box .buy-btn {
  background: #0f172a !important;
  border-color: #0f172a !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 12.5px !important;
  padding: 8px 14px !important;
  border-radius: 8px !important;
  transition: all 0.2s !important;
}
.price-box .buy-btn:hover {
  background: #2563eb !important;
  border-color: #2563eb !important;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
}

/* ==================== 移动端专属分类筛选条与底部抽屉 ==================== */
.bx-mobile-filter-bar {
  display: none;
  margin-bottom: 12px;
}
.bx-mf-btn {
  width: 100%;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 16px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  font-size: 13px;
  color: #0f172a;
  cursor: pointer;
  box-sizing: border-box;
}
.bx-mf-btn svg {
  color: #2563eb;
  margin-right: 8px;
}
.bx-mf-btn-text {
  font-weight: 700;
}
.bx-mf-current {
  flex: 1;
  text-align: left;
  color: #64748b;
  margin-left: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.bx-mf-badge {
  background: #ef4444;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 8px;
}

/* 抽屉浮层与遮罩 */
.bx-mf-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
  z-index: 1000;
}
.bx-mf-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  z-index: 1001;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  animation: bxSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes bxSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.bx-mf-head {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #f1f5f9;
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
}
.bx-mf-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bx-mf-body {
  padding: 12px 16px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bx-mf-first {
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
}
.bx-mf-second {
  padding: 6px 0 6px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bx-mf-item {
  padding: 8px 12px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #64748b;
  cursor: pointer;
}
.bx-mf-item.active {
  background: #eff6ff;
  color: #2563eb;
  font-weight: 700;
}
.bx-mf-check {
  color: #2563eb;
}

/* ==================== 官方原生域名注册、SSL、弹窗样式完整保留 ==================== */
.domain-box .register-type {
  display: flex;
  align-items: center;
}
.domain-box .register-type .el-divider {
  background-color: #D8D8D8;
  margin: 0 0.24rem;
}
.domain-box .register-type .reg-ridio {
  font-size: 0.14rem;
  color: #646464;
  cursor: pointer;
}
.domain-box .register-type .isActice {
  color: var(--color-primary);
}
.domain-box .domain-search {
  margin-top: 0.32rem;
  position: relative;
  display: flex;
  align-items: center;
}
.domain-box .domain-search .el-input {
  height: 0.56rem;
}
.domain-box .domain-search .el-input .el-input__inner {
  height: 0.56rem;
  line-height: 0.56rem;
}
.domain-box .domain-search .search-button {
  height: 0.56rem;
  padding-left: 0.7rem;
  padding-right: 0.7rem;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.16rem;
}
.domain-box .batch-search-box {
  margin-top: 0.32rem;
}
.domain-box .batch-search-box .batch-tips {
  color: #8692b0;
  font-size: 0.14rem;
  padding: 0.16rem;
  border-radius: 0.04rem;
  border: 0.01rem solid #EAEAEA;
}
.domain-box .domain-content {
  margin-top: 0.24rem;
  display: flex;
  column-gap: 0.4rem;
}
.domain-box .domain-content .domain-left {
  flex: 1;
}

/* SSL 证书区域样式完整保留 */
.ssl-box {
  padding: 20px;
  background: #fff;
  border-radius: 4px;
  min-height: 600px;
}
.ssl-box .ssl-filter {
  margin-bottom: 20px;
}
.ssl-box .ssl-filter .filter-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}
.ssl-box .ssl-filter .filter-item .filter-label {
  width: 80px;
  font-size: 14px;
  color: #606266;
}
.ssl-box .ssl-content {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.ssl-box .ssl-content .ssl-left {
  flex: 1;
}
.ssl-box .ssl-content .ssl-right {
  width: 320px;
  background: #f5f7fa;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
}
.ssl-box .ssl-content .ssl-right .right-title {
  padding: 0.15rem 0.2rem;
  font-size: 0.16rem;
  font-weight: bold;
  color: #303133;
}
.ssl-box .ssl-content .ssl-right .right-footer {
  padding: 0.2rem;
  border-top: 1px solid #e4e7ed;
}

/* 批次上传弹窗样式完整保留 */
.up-dialog .dia-title {
  font-size: 0.24rem;
  color: #171725;
}
.up-dialog .dia-concent .file-box {
  margin-top: 0.1rem;
  display: flex;
  align-items: center;
}
.up-dialog .dia-concent .file-box .file-name {
  flex: 1;
  border: 0.01rem solid #e6e7eb;
  height: 0.46rem;
  padding: 0 0.16rem;
}
.up-dialog .dia-concent .file-box .file-btn {
  padding: 0.12rem 0.28rem;
  height: 0.46rem;
  border: 0.01rem solid #e6e7eb;
  margin-left: 0.1rem;
  cursor: pointer;
}
.up-dialog .dia-foter {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.4rem;
}

/* ==================== 响应式断点适配 (移动端 <= 860px) ==================== */
@media screen and (max-width: 1200px) {
  .goods-list-div {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media screen and (max-width: 860px) {
  .bx-region-panel {
    display: none !important;
  }
  .bx-mobile-filter-bar {
    display: block !important;
  }
  .bx-layout {
    flex-direction: column !important;
  }
  .bx-main-right {
    width: 100% !important;
  }
  .goods-list-div {
    grid-template-columns: 1fr !important;
  }
  .bx-announcement-banner {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 12px 14px !important;
  }
  .bx-announcement-right {
    display: none !important;
  }
  .shopping-item {
    margin-bottom: 4px !important;
  }
}