/* Modern cart/product UI refinement. Keep this as the last theme stylesheet. */
:root {
  --cart-modern-ink: #1f2329;
  --cart-modern-text: #4e5969;
  --cart-modern-muted: #86909c;
  --cart-modern-line: #e5e6eb;
  --cart-modern-soft: #f7f8fa;
  --cart-modern-blue: #1677ff;
  --cart-modern-blue-dark: #0f62d9;
  --cart-modern-shadow: 0 1px 2px rgba(31, 35, 41, .04), 0 10px 28px rgba(31, 35, 41, .05);
}

.cl-cart-page,
.cl-cloud-page,
.configoption_form,
#submit-form {
  font-size: 14px;
  letter-spacing: 0;
}

.cl-cloud-page .por-container,
.configoption_form > .row.zd-mt,
#submit-form > .zd-mt {
  width: min(1220px, calc(100% - 40px)) !important;
}

.cl-cloud-page .cl-cloud-panel,
.configoption_form .card,
#submit-form .card,
.mobile-bottom-total {
  border-color: var(--cart-modern-line) !important;
  border-radius: 8px !important;
  box-shadow: var(--cart-modern-shadow) !important;
}

.cl-cloud-page .cl-cloud-catalog,
.cl-cloud-page .cl-cloud-filter-panel,
.cl-cloud-page .cl-cloud-list-panel {
  overflow: hidden;
}

.cl-cloud-page .cl-cloud-list-head,
.cl-cloud-page .cl-cloud-filter-panel,
.cl-cloud-page .cl-cloud-catalog {
  background: #fff !important;
}

.cl-cloud-page .cl-cloud-list-head {
  border-bottom-color: var(--cart-modern-line) !important;
  background: linear-gradient(180deg, #fff, #fbfcff) !important;
}

.cl-cloud-page .cl-cloud-list-head h2 {
  color: var(--cart-modern-ink) !important;
  font-size: 18px !important;
  font-weight: 600 !important;
}

.cl-cloud-page .cl-cloud-list-head p,
.cl-cloud-page .cl-cloud-active-filter {
  color: var(--cart-modern-muted) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
}

.cl-cloud-page .cl-cloud-filter-title {
  color: var(--cart-modern-ink) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
}

.cl-cloud-page .cl-cloud-reset,
.cl-cloud-page .cl-cloud-more {
  border-color: var(--cart-modern-line) !important;
  background: #fff !important;
  color: var(--cart-modern-text) !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

.cl-cloud-page .cl-cloud-reset:hover,
.cl-cloud-page .cl-cloud-more:hover {
  border-color: var(--cart-modern-blue) !important;
  color: var(--cart-modern-blue) !important;
}

.cl-cloud-page .cl-cloud-chipset button,
.cl-cloud-page .cl-cloud-filter-group select {
  border-color: var(--cart-modern-line) !important;
  border-radius: 6px !important;
  color: var(--cart-modern-text) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
}

.cl-cloud-page .cl-cloud-chipset button.active,
.cl-cloud-page .cl-cloud-chipset button:hover {
  border-color: rgba(22, 119, 255, .42) !important;
  background: #f2f7ff !important;
  color: var(--cart-modern-blue) !important;
}

.cl-cloud-page .cl-cloud-table {
  min-width: 1080px;
}

.cl-cloud-page .cl-cloud-table thead th {
  height: 44px;
  padding: 0 16px !important;
  background: #f8fafc !important;
  color: var(--cart-modern-text) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row td {
  height: 62px;
  padding: 10px 16px !important;
  border-bottom-color: #eef1f5 !important;
  color: var(--cart-modern-text) !important;
  font-size: 14px !important;
}

.cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row:hover td {
  background: #f9fbff !important;
}

.cl-cloud-page .cl-cloud-product-cell {
  min-width: 320px;
}

.cl-cloud-page .cl-cloud-product-main {
  min-height: 42px;
}

.cl-cloud-page .cl-cloud-product-copy strong {
  max-width: 270px;
  color: var(--cart-modern-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45;
}

.cl-cloud-page .cl-cloud-mobile-select-line {
  display: none;
}

.cl-cloud-page .cl-cloud-pill,
.cl-cloud-page .cl-cloud-table [data-cloud-field] {
  min-height: 26px;
  border-color: #e6f1ff !important;
  background: #f2f7ff !important;
  color: var(--cart-modern-blue) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.cl-cloud-page .cl-cloud-table [data-label="地区"] [data-cloud-field],
.cl-cloud-page .cl-cloud-table [data-label="带宽"] [data-cloud-field],
.cl-cloud-page .cl-cloud-table [data-label="线路/防护"] [data-cloud-field] {
  border: 0 !important;
  background: transparent !important;
  color: var(--cart-modern-text) !important;
  font-weight: 400 !important;
}

.cl-cloud-page .cl-cloud-price-cell {
  white-space: nowrap;
}

.cl-cloud-page .cl-cloud-price-cell strong {
  color: var(--cart-modern-blue) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

.cl-cloud-page .cl-cloud-price-cell span,
.cl-cloud-page .cl-cloud-price-cell small {
  color: var(--cart-modern-muted) !important;
  font-weight: 400 !important;
}

.cl-cloud-page .cl-cloud-buy,
.cl-cloud-page .cl-cloud-soldout {
  min-width: 104px;
  min-height: 38px;
  border-radius: 6px !important;
  font-size: 13px !important;
  line-height: 1.15;
}

.cl-cloud-page .cl-cloud-buy {
  background: var(--cart-modern-blue) !important;
  box-shadow: none !important;
}

.cl-cloud-page .cl-cloud-buy:hover {
  background: var(--cart-modern-blue-dark) !important;
}

.cl-cloud-page .cl-cloud-buy small,
.cl-cloud-page .cl-cloud-soldout small {
  font-size: 11px;
  font-weight: 400;
}

.configoption_form .col-form-label,
.configoption_form .form-check-label,
.configoption_form .custom-control-label {
  font-size: 14px !important;
}

.configoption_form .form-group.row.configureproduct,
.configoption_form > .row.zd-mt > .col-xl-8 .form-group.row {
  border-color: #eef1f5 !important;
}

.configoption_form .btn-group-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.configoption_form .btn-group-toggle .btn,
.configoption_form .btn-custom,
.configoption_form .zdykd,
.configoption_form label.btn.btn-primary.btn-sm,
.configoption_form .btn-group-toggle label.btn-primary {
  position: relative;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 8px 13px !important;
  border: 1px solid var(--cart-modern-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--cart-modern-text) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  box-shadow: none !important;
}

.configoption_form .btn-group-toggle .btn.active,
.configoption_form .btn-custom.active,
.configoption_form .zdykd.active,
.configoption_form .btn-group-toggle label.btn-primary.active {
  border-color: var(--cart-modern-blue) !important;
  background: #f2f7ff !important;
  color: var(--cart-modern-blue) !important;
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .12) !important;
}

.configoption_form .form-check {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  margin: 0 8px 8px 0 !important;
}

.configoption_form .form-check-input {
  accent-color: var(--cart-modern-blue);
}

@media (max-width: 720px) {
  .cl-cloud-page .por-container,
  .por-container,
  .zd-mt,
  form.needs-validation .zd-mt,
  #submit-form > .zd-mt {
    width: min(100% - 24px, 1220px) !important;
  }

  .cl-cloud-page .cl-cloud-shell {
    padding: 10px 0 112px !important;
  }

  .cl-cloud-page .cl-cloud-catalog,
  .cl-cloud-page .cl-cloud-filter-panel,
  .cl-cloud-page .cl-cloud-list-panel {
    border-radius: 8px !important;
  }

  .cl-cloud-page .cl-cloud-filter-panel {
    margin-bottom: 10px !important;
    padding: 12px !important;
  }

  .cl-cloud-page .cl-cloud-list-panel {
    padding-bottom: 0 !important;
  }

  .cl-cloud-page .cl-cloud-list-head {
    padding: 12px 14px !important;
  }

  .cl-cloud-page .cl-cloud-list-head h2 {
    font-size: 15px !important;
  }

  .cl-cloud-page .cl-cloud-list-head p {
    font-size: 13px !important;
  }

  .cl-cloud-page .cl-cloud-table-wrap {
    max-height: calc(100vh - 318px) !important;
    min-height: 220px;
    overflow-y: auto !important;
    padding: 8px;
    background: #f6f8fb;
  }

  .cl-cloud-page .cl-cloud-table {
    min-width: 0 !important;
    border-spacing: 0 8px;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row {
    border: 1px solid var(--cart-modern-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04) !important;
    overflow: hidden !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row.is-mobile-selected {
    border-color: rgba(22, 119, 255, .58) !important;
    background: #f7fbff !important;
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .08) !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row .cl-cloud-product-cell {
    grid-template-columns: minmax(0, 1fr) 46px !important;
    gap: 10px !important;
    min-height: 64px !important;
    padding: 10px 12px !important;
  }

  .cl-cloud-page .cl-cloud-mobile-select-line {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-width: 0;
    min-height: 42px;
    font-size: 14px !important;
  }

  .cl-cloud-page .cl-cloud-mobile-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.2em;
    color: #86909c;
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
  }

  .cl-cloud-page .cl-cloud-mobile-mark::before {
    content: "【 】" !important;
    position: static;
    width: auto;
    height: auto;
    border-radius: 0;
    background: transparent;
    transform: none;
  }

  .cl-cloud-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark {
    color: var(--cart-modern-blue);
  }

  .cl-cloud-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark::before {
    content: none !important;
    color: var(--cart-modern-blue);
  }

  .cl-cloud-page .cl-cloud-mobile-copy {
    display: block;
    gap: 0;
    min-width: 0;
  }

  .cl-cloud-page .cl-cloud-mobile-summary,
  .cl-cloud-page .cl-cloud-mobile-meta {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .cl-cloud-page .cl-cloud-mobile-summary {
    color: var(--cart-modern-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-meta {
    color: #6b7785 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    display: none !important;
  }

  .cl-cloud-page .cl-cloud-product-main {
    justify-content: flex-end !important;
  }

  .cl-cloud-page .cl-cloud-more {
    min-width: 42px !important;
    height: 30px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  .cl-cloud-page .cl-cloud-detail-row {
    margin-top: -8px !important;
    border: 1px solid var(--cart-modern-line) !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    overflow: hidden !important;
  }

  .cl-cloud-page .cl-cloud-detail-card {
    padding: 12px !important;
    background: #fbfcff !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action {
    right: 12px !important;
    bottom: calc(12px + env(safe-area-inset-bottom)) !important;
    left: 12px !important;
    min-height: 66px !important;
    padding: 10px 12px !important;
    border-color: rgba(22, 119, 255, .28) !important;
    border-radius: 8px !important;
    box-shadow: 0 -12px 28px rgba(31, 35, 41, .14) !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action-copy strong {
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action-copy span {
    font-size: 12px !important;
    font-weight: 400 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-buy {
    flex: 0 0 122px !important;
    min-height: 46px !important;
    border-radius: 6px !important;
    background: var(--cart-modern-blue) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  .configoption_form .col-form-label,
  .configoption_form .form-check-label,
  .configoption_form .custom-control-label,
  .configoption_form .btn-group-toggle .btn,
  .configoption_form .btn-custom,
  .configoption_form .zdykd,
  .configoption_form label.btn.btn-primary.btn-sm {
    font-size: 14px !important;
  }

  .configoption_form .btn-group-toggle .btn,
  .configoption_form .btn-custom,
  .configoption_form .zdykd,
  .configoption_form label.btn.btn-primary.btn-sm {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

/* Final cart UI pass: neutral, stable, production-style spacing. */
:root {
  --cart-modern-bg: #f5f7fb;
  --cart-modern-surface: #ffffff;
  --cart-modern-soft-blue: #eef5ff;
  --cart-modern-green: #00a870;
  --cart-modern-amber: #ff8f1f;
  --cart-modern-danger: #f53f3f;
  --cart-modern-shadow-soft: 0 1px 2px rgba(31, 35, 41, .04), 0 12px 30px rgba(31, 35, 41, .06);
  --cart-modern-shadow-hover: 0 3px 8px rgba(31, 35, 41, .06), 0 16px 36px rgba(31, 35, 41, .08);
}

html,
body,
#content {
  background: var(--cart-modern-bg) !important;
  color: var(--cart-modern-ink) !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", Arial, sans-serif !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.cl-cloud-page .cl-cloud-shell {
  padding-top: 18px !important;
}

.cl-cloud-page .por-container,
.configoption_form > .row.zd-mt,
#submit-form > .zd-mt {
  width: min(1240px, calc(100% - 48px)) !important;
}

.cl-cloud-page .cl-cloud-panel,
.configoption_form .card,
#submit-form .card,
.mobile-bottom-total {
  border: 1px solid rgba(229, 230, 235, .92) !important;
  border-radius: 8px !important;
  background: var(--cart-modern-surface) !important;
  box-shadow: var(--cart-modern-shadow-soft) !important;
}

.cl-cloud-page .cl-cloud-catalog {
  margin-bottom: 14px !important;
  padding: 16px !important;
}

.cl-cloud-page .cl-cloud-catalog-head {
  padding-bottom: 12px !important;
  border-bottom: 1px solid #eef1f5 !important;
}

.cl-cloud-page .cl-cloud-catalog-head h2 {
  margin: 0 !important;
  color: var(--cart-modern-ink) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

.cl-cloud-page .cl-cloud-catalog-lines,
.cl-cloud-page .cl-cloud-catalog-children {
  gap: 8px !important;
  scrollbar-width: thin;
}

.cl-cloud-page .cl-cloud-catalog-line,
.cl-cloud-page .cl-cloud-catalog-child {
  min-height: 34px !important;
  padding: 0 13px !important;
  border: 1px solid var(--cart-modern-line) !important;
  border-radius: 6px !important;
  background: #fff !important;
  color: var(--cart-modern-text) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.cl-cloud-page .cl-cloud-catalog-line.active,
.cl-cloud-page .cl-cloud-catalog-child.active {
  border-color: rgba(22, 119, 255, .45) !important;
  background: var(--cart-modern-soft-blue) !important;
  color: var(--cart-modern-blue) !important;
  box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .08) !important;
}

.cl-cloud-page .cl-cloud-filter-panel {
  margin-bottom: 14px !important;
  padding: 16px 18px !important;
}

.cl-cloud-page .cl-cloud-filter-head {
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 12px !important;
}

.cl-cloud-page .cl-cloud-filter-title {
  position: relative;
  padding-left: 10px;
  line-height: 1.3 !important;
}

.cl-cloud-page .cl-cloud-filter-title::before {
  position: absolute;
  top: 2px;
  bottom: 2px;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: var(--cart-modern-blue);
  content: "";
}

.cl-cloud-page .cl-cloud-filters {
  display: grid !important;
  grid-template-columns: minmax(320px, 1.5fr) repeat(3, minmax(150px, 1fr)) !important;
  gap: 12px 14px !important;
  align-items: end !important;
}

.cl-cloud-page .cl-cloud-filter-group label {
  margin-bottom: 7px !important;
  color: var(--cart-modern-muted) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
}

.cl-cloud-page .cl-cloud-chipset {
  gap: 8px !important;
}

.cl-cloud-page .cl-cloud-chipset button,
.cl-cloud-page .cl-cloud-filter-group select {
  min-height: 34px !important;
  padding: 0 12px !important;
  border-radius: 6px !important;
  background: #fff !important;
  line-height: 32px !important;
}

.cl-cloud-page .cl-cloud-reset,
.cl-cloud-page .cl-cloud-more {
  min-height: 32px !important;
  border-radius: 6px !important;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease;
}

.cl-cloud-page .cl-cloud-list-panel {
  overflow: hidden !important;
}

.cl-cloud-page .cl-cloud-list-head {
  padding: 16px 18px !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: #fff !important;
}

.cl-cloud-page .cl-cloud-list-head h2 {
  margin: 0 !important;
  font-size: 18px !important;
  line-height: 1.35 !important;
}

.cl-cloud-page .cl-cloud-list-head h2 strong {
  color: var(--cart-modern-blue) !important;
  font-weight: 600 !important;
}

.cl-cloud-page .cl-cloud-list-head p {
  margin-top: 4px !important;
  line-height: 1.45 !important;
}

.cl-cloud-page .cl-cloud-table-wrap {
  background: #fff !important;
  overflow-x: auto !important;
}

.cl-cloud-page .cl-cloud-table {
  width: 100% !important;
  min-width: 1080px !important;
  border-collapse: collapse !important;
  table-layout: fixed;
}

.cl-cloud-page .cl-cloud-table th:nth-child(1),
.cl-cloud-page .cl-cloud-table td:nth-child(1) { width: 30%; }
.cl-cloud-page .cl-cloud-table th:nth-child(2),
.cl-cloud-page .cl-cloud-table td:nth-child(2) { width: 11%; }
.cl-cloud-page .cl-cloud-table th:nth-child(3),
.cl-cloud-page .cl-cloud-table td:nth-child(3) { width: 10%; }
.cl-cloud-page .cl-cloud-table th:nth-child(4),
.cl-cloud-page .cl-cloud-table td:nth-child(4) { width: 10%; }
.cl-cloud-page .cl-cloud-table th:nth-child(5),
.cl-cloud-page .cl-cloud-table td:nth-child(5) { width: 13%; }
.cl-cloud-page .cl-cloud-table th:nth-child(6),
.cl-cloud-page .cl-cloud-table td:nth-child(6) { width: 13%; }
.cl-cloud-page .cl-cloud-table th:nth-child(7),
.cl-cloud-page .cl-cloud-table td:nth-child(7) { width: 13%; }

.cl-cloud-page .cl-cloud-table thead th {
  height: 42px !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: #f8fafc !important;
  color: #667085 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
}

.cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row td {
  height: 64px !important;
  border-bottom: 1px solid #eef1f5 !important;
  background: #fff !important;
  vertical-align: middle !important;
}

.cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row:hover td {
  background: #f9fbff !important;
}

.cl-cloud-page .cl-cloud-product-cell {
  min-width: 0 !important;
}

.cl-cloud-page .cl-cloud-product-main {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  min-width: 0 !important;
}

.cl-cloud-page .cl-cloud-product-copy {
  min-width: 0 !important;
}

.cl-cloud-page .cl-cloud-product-copy strong {
  display: block !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  color: var(--cart-modern-ink) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

.cl-cloud-page .cl-cloud-product-id {
  margin-top: 3px !important;
  color: var(--cart-modern-muted) !important;
  font-size: 12px !important;
}

.cl-cloud-page .cl-cloud-pill,
.cl-cloud-page .cl-cloud-table [data-cloud-field] {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.cl-cloud-page .cl-cloud-price-cell {
  white-space: nowrap !important;
}

.cl-cloud-page .cl-cloud-price-cell strong {
  color: var(--cart-modern-blue) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

.cl-cloud-page .cl-cloud-buy,
.cl-cloud-page .cl-cloud-soldout,
#addToCartBtn,
#addToCartBtnTwo,
#submit-form .btn-primary,
.mobile-bottom-total .btn {
  border-radius: 6px !important;
  font-weight: 500 !important;
  box-shadow: none !important;
}

.cl-cloud-page .cl-cloud-buy,
.cl-cloud-page .cl-cloud-soldout {
  width: auto !important;
  min-width: 108px !important;
  min-height: 40px !important;
  padding: 6px 12px !important;
}

.cl-cloud-page .cl-cloud-soldout {
  border-color: #d7dde5 !important;
  background: #edf1f7 !important;
  color: #7b8794 !important;
}

.cl-cloud-page .cl-cloud-buy small,
.cl-cloud-page .cl-cloud-soldout small,
.cl-cloud-page .cl-cloud-mobile-buy small {
  margin-top: 2px !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  line-height: 1.15 !important;
  opacity: .86;
}

.configoption_form .card-body,
#submit-form .card-body {
  padding: 18px !important;
}

.configoption_form .card-title,
#submit-form .card-title,
#submit-form h4,
#submit-form h5 {
  color: var(--cart-modern-ink) !important;
  font-size: 16px !important;
  font-weight: 600 !important;
}

.configoption_form .form-group.row.configureproduct,
.configoption_form > .row.zd-mt > .col-xl-8 .form-group.row {
  margin: 0 !important;
  padding: 14px 0 !important;
  border-bottom: 1px solid #eef1f5 !important;
}

.configoption_form .col-form-label {
  color: var(--cart-modern-ink) !important;
  font-weight: 500 !important;
}

.configoption_form .form-control,
#submit-form .form-control,
#submit-form .remarksInput {
  min-height: 38px !important;
  border-color: var(--cart-modern-line) !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.configoption_form .form-control:focus,
#submit-form .form-control:focus,
#submit-form .remarksInput:focus {
  border-color: rgba(22, 119, 255, .58) !important;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, .10) !important;
}

.configoption_form .btn-group-toggle .btn,
.configoption_form .btn-custom,
.configoption_form .zdykd,
.configoption_form label.btn.btn-primary.btn-sm,
.configoption_form .btn-group-toggle label.btn-primary {
  min-height: 38px !important;
  padding: 8px 14px !important;
  border-radius: 6px !important;
}

.configoption_form .form-check-input:checked + .form-check-label,
.configoption_form .custom-control-input:checked ~ .custom-control-label {
  color: var(--cart-modern-blue) !important;
  font-weight: 500 !important;
}

#submit-form address {
  border: 1px solid #eef1f5 !important;
  border-radius: 8px !important;
  background: #fbfcff !important;
}

.mobile-bottom-total {
  backdrop-filter: saturate(160%) blur(10px);
}

@media (max-width: 1080px) {
  .cl-cloud-page .cl-cloud-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  .cl-cloud-page .cl-cloud-filter-wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  html,
  body,
  #content,
  .cl-cart-page,
  .cl-cloud-page,
  .configoption_form,
  #submit-form {
    font-size: 14px !important;
  }

  .cl-cloud-page .por-container,
  .por-container,
  .zd-mt,
  form.needs-validation .zd-mt,
  #submit-form > .zd-mt {
    width: calc(100% - 20px) !important;
  }

  .cl-cloud-page .cl-cloud-shell {
    padding: 8px 0 112px !important;
  }

  .cl-cloud-page .cl-cloud-catalog,
  .cl-cloud-page .cl-cloud-filter-panel,
  .cl-cloud-page .cl-cloud-list-panel {
    border-radius: 8px !important;
    box-shadow: 0 1px 2px rgba(31, 35, 41, .04) !important;
  }

  .cl-cloud-page .cl-cloud-catalog {
    margin-bottom: 10px !important;
    padding: 12px !important;
  }

  .cl-cloud-page .cl-cloud-filter-panel {
    margin-bottom: 10px !important;
    padding: 12px !important;
  }

  .cl-cloud-page .cl-cloud-filter-head {
    margin-bottom: 10px !important;
  }

  .cl-cloud-page .cl-cloud-filters {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .cl-cloud-page .cl-cloud-filter-wide {
    grid-column: 1 / -1 !important;
  }

  .cl-cloud-page .cl-cloud-chipset button {
    flex: 0 0 auto !important;
    min-width: 72px !important;
    max-width: 128px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .cl-cloud-page .cl-cloud-list-head {
    padding: 12px 14px !important;
  }

  .cl-cloud-page .cl-cloud-list-head h2 {
    font-size: 15px !important;
  }

  .cl-cloud-page .cl-cloud-list-head p {
    font-size: 12px !important;
  }

  .cl-cloud-page .cl-cloud-table-wrap {
    max-height: calc(100vh - 316px) !important;
    max-height: calc(100dvh - 316px) !important;
    min-height: 238px !important;
    padding: 8px !important;
    background: #f3f6fb !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
  }

  .cl-cloud-page .cl-cloud-table,
  .cl-cloud-page .cl-cloud-table thead,
  .cl-cloud-page .cl-cloud-table tbody,
  .cl-cloud-page .cl-cloud-table tr,
  .cl-cloud-page .cl-cloud-table td {
    display: block;
    width: 100% !important;
    min-width: 0 !important;
  }

  .cl-cloud-page .cl-cloud-table tr[hidden],
  .cl-cloud-page .cl-cloud-table tr.is-filter-hidden,
  .cl-cloud-page .cl-cloud-table .cl-cloud-detail-row[hidden],
  .cl-cloud-page .cl-cloud-table .cl-cloud-detail-row.is-filter-hidden {
    display: none !important;
  }

  .cl-cloud-page .cl-cloud-table thead {
    display: none !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row {
    margin: 0 0 8px !important;
    border: 1px solid var(--cart-modern-line) !important;
    border-radius: 8px !important;
    background: #fff !important;
    box-shadow: none !important;
    overflow: hidden !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row.is-mobile-selected {
    border-color: rgba(22, 119, 255, .66) !important;
    background: #f7fbff !important;
    box-shadow: inset 0 0 0 1px rgba(22, 119, 255, .08) !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row td:not(.cl-cloud-product-cell) {
    display: none !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row .cl-cloud-product-cell {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 44px !important;
    align-items: center !important;
    gap: 8px !important;
    height: auto !important;
    min-height: 68px !important;
    padding: 10px 10px 10px 8px !important;
    border: 0 !important;
    background: transparent !important;
  }

  .cl-cloud-page .cl-cloud-table tbody tr.cl-cloud-row .cl-cloud-product-cell::before {
    content: none !important;
  }

  .cl-cloud-page .cl-cloud-product-copy {
    display: none !important;
  }

  .cl-cloud-page .cl-cloud-mobile-select-line {
    display: grid !important;
    grid-template-columns: 38px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 4px !important;
    min-width: 0 !important;
    min-height: 48px !important;
    margin: 0 !important;
    cursor: pointer;
  }

  .cl-cloud-page .cl-cloud-mobile-select-line input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .cl-cloud-page .cl-cloud-mobile-mark {
    min-width: 38px !important;
    color: var(--cart-modern-muted) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    text-align: left;
  }

  .cl-cloud-page .cl-cloud-mobile-copy {
    display: grid !important;
    min-width: 0 !important;
    gap: 3px !important;
  }

  .cl-cloud-page .cl-cloud-mobile-summary,
  .cl-cloud-page .cl-cloud-mobile-meta {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    letter-spacing: 0 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-summary {
    color: var(--cart-modern-ink) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-meta {
    color: var(--cart-modern-text) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.35 !important;
  }

  .cl-cloud-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-summary,
  .cl-cloud-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark {
    color: var(--cart-modern-blue) !important;
  }

  .cl-cloud-page .cl-cloud-product-main {
    justify-content: flex-end !important;
    min-height: 0 !important;
  }

  .cl-cloud-page .cl-cloud-more {
    min-width: 42px !important;
    height: 32px !important;
    padding: 0 8px !important;
    font-size: 12px !important;
  }

  .cl-cloud-page .cl-cloud-detail-row {
    margin: -8px 0 8px !important;
    border: 1px solid var(--cart-modern-line) !important;
    border-top: 0 !important;
    border-radius: 0 0 8px 8px !important;
    background: #fff !important;
    overflow: hidden !important;
  }

  .cl-cloud-page .cl-cloud-table .cl-cloud-detail-row td {
    display: block !important;
    padding: 0 !important;
  }

  .cl-cloud-page .cl-cloud-detail-card {
    padding: 12px !important;
    border: 0 !important;
    background: #fbfcff !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action {
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 10050 !important;
    min-height: 68px !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(22, 119, 255, .24) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, .97) !important;
    box-shadow: 0 -10px 28px rgba(31, 35, 41, .16) !important;
    backdrop-filter: saturate(160%) blur(10px);
  }

  .cl-cloud-page .cl-cloud-mobile-action[hidden] {
    display: none !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action-copy {
    min-width: 0 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action-copy strong,
  .cl-cloud-page .cl-cloud-mobile-action-copy span {
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action-copy strong {
    font-size: 14px !important;
    font-weight: 500 !important;
  }

  .cl-cloud-page .cl-cloud-mobile-action-copy span {
    margin-top: 3px !important;
    color: var(--cart-modern-text) !important;
    font-size: 12px !important;
  }

  .cl-cloud-page .cl-cloud-mobile-buy {
    flex: 0 0 124px !important;
    min-height: 46px !important;
    border-radius: 6px !important;
    background: var(--cart-modern-blue) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    box-shadow: none !important;
  }

  .configoption_form .card-body,
  #submit-form .card-body {
    padding: 16px !important;
  }

  .configoption_form .form-group.row.configureproduct,
  .configoption_form > .row.zd-mt > .col-xl-8 .form-group.row {
    padding: 12px 0 !important;
  }
}

@media (max-width: 420px) {
  .cl-cloud-page .cl-cloud-table-wrap {
    max-height: calc(100vh - 300px) !important;
    max-height: calc(100dvh - 300px) !important;
  }

  .cl-cloud-page .cl-cloud-mobile-select-line {
    grid-template-columns: 36px minmax(0, 1fr) !important;
  }

  .cl-cloud-page .cl-cloud-mobile-mark {
    min-width: 36px !important;
  }

  .cl-cloud-page .cl-cloud-mobile-summary,
  .cl-cloud-page .cl-cloud-mobile-meta {
    font-size: 13px !important;
  }

  .cl-cloud-page .cl-cloud-mobile-buy {
    flex-basis: 112px !important;
  }
}

@media (max-width: 720px) {
  .cl-cloud-page .cl-cloud-mobile-select-line {
    grid-template-columns: 30px minmax(0, 1fr) !important;
  }

  .cl-cloud-page .cl-cloud-mobile-mark {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    min-width: 18px !important;
    height: 18px !important;
    border: 1.5px solid #98a2b3 !important;
    border-radius: 50% !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  .cl-cloud-page .cl-cloud-mobile-mark::before {
    content: none !important;
  }

  .cl-cloud-page .cl-cloud-mobile-mark span {
    display: block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background: transparent !important;
    transform: scale(.65) !important;
    transition: background-color .16s ease, transform .16s ease !important;
  }

  .cl-cloud-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark {
    border-color: var(--cart-modern-blue) !important;
  }

  .cl-cloud-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark span {
    background: var(--cart-modern-blue) !important;
    transform: scale(1) !important;
  }

  .cl-cloud-page .cl-cloud-mobile-select-line:focus-within .cl-cloud-mobile-mark {
    outline: 2px solid rgba(22, 119, 255, .28) !important;
    outline-offset: 2px !important;
  }
}

/* Final purchase-table polish: desktop stock column and mobile picker. */
.cl-cloud-page .cl-cloud-table {
  min-width: 1120px !important;
  table-layout: fixed !important;
}

.cl-cloud-page .cl-cloud-table th:nth-child(1),
.cl-cloud-page .cl-cloud-table td:nth-child(1) { width: 27%; }
.cl-cloud-page .cl-cloud-table th:nth-child(2),
.cl-cloud-page .cl-cloud-table td:nth-child(2) { width: 11%; }
.cl-cloud-page .cl-cloud-table th:nth-child(3),
.cl-cloud-page .cl-cloud-table td:nth-child(3) { width: 10%; }
.cl-cloud-page .cl-cloud-table th:nth-child(4),
.cl-cloud-page .cl-cloud-table td:nth-child(4) { width: 9%; }
.cl-cloud-page .cl-cloud-table th:nth-child(5),
.cl-cloud-page .cl-cloud-table td:nth-child(5) { width: 13%; }
.cl-cloud-page .cl-cloud-table th:nth-child(6),
.cl-cloud-page .cl-cloud-table td:nth-child(6) { width: 13%; }
.cl-cloud-page .cl-cloud-table th:nth-child(7),
.cl-cloud-page .cl-cloud-table td:nth-child(7) { width: 7%; }
.cl-cloud-page .cl-cloud-table th:nth-child(8),
.cl-cloud-page .cl-cloud-table td:nth-child(8) { width: 10%; }

.cl-cloud-page .cl-cloud-table th:nth-child(7),
.cl-cloud-page .cl-cloud-table td:nth-child(7) {
  padding-right: 12px !important;
  padding-left: 12px !important;
  text-align: center !important;
}

.cl-cloud-page .cl-cloud-stock-cell [data-cloud-field="stock"] {
  justify-content: center !important;
  display: inline-flex !important;
  min-width: 60px !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}

.cl-cloud-page .cl-cloud-table th:nth-child(8),
.cl-cloud-page .cl-cloud-table td:nth-child(8) {
  padding-left: 4px !important;
  padding-right: 38px !important;
  text-align: left !important;
}

.cl-cloud-page .cl-cloud-table td:nth-child(8) .cl-cloud-buy,
.cl-cloud-page .cl-cloud-table td:nth-child(8) .cl-cloud-soldout {
  margin-left: -6px !important;
}

@media (max-width: 720px) {
  body.cl-cart-product-page .cl-site-footer,
  body.cl-cart-product-page .footer,
  body.cl-cart-product-page .footer-box,
  body.cl-cart-product-page .footer-nav,
  body.cl-cart-product-page .copyright,
  body.cl-cart-product-page .support,
  body.cl-cart-product-page .service-support,
  body.cl-cart-product-page .cl-refund-line,
  body.cl-cart-product-page .cl-footer-service,
  body.cl-cart-product-page .cl-footer-main,
  body.cl-cart-product-page .cl-footer-friends,
  body.cl-cart-product-page .cl-footer-legal,
  body.cl-cart-product-page .cl-floating-support,
  body.cl-cart-product-page .floating-weixin,
  body.cl-cart-product-page #tip_bottom {
    display: none !important;
  }

  body.cl-cart-product-page {
    padding-bottom: 92px !important;
  }

  body.cl-cart-product-page .cl-cloud-page {
    padding-bottom: 96px !important;
  }
}
/* 20260811 mobile product picker: use page scroll, keep purchase bar pinned. */
@media (max-width: 720px) {
  body.cl-cart-product-page .cl-cloud-list-panel {
    padding-bottom: 16px !important;
    overflow: visible !important;
  }

  body.cl-cart-product-page .cl-cloud-table-wrap {
    max-height: none !important;
    min-height: 0 !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
    overscroll-behavior: auto !important;
    scrollbar-width: none !important;
  }

  body.cl-cart-product-page .cl-cloud-table-wrap::-webkit-scrollbar {
    display: none !important;
  }

  body.cl-cart-product-page .cl-cloud-mobile-action {
    position: fixed !important;
    right: 10px !important;
    bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    left: 10px !important;
    z-index: 10080 !important;
  }

  body.cl-cart-product-page .cl-cloud-mobile-action-copy strong,
  body.cl-cart-product-page .cl-cloud-mobile-action-copy span {
    display: block !important;
    max-width: 100% !important;
  }
}

/* 20260811 final cart purchase alignment. */
.cl-cloud-page .cl-cloud-table {
  min-width: 1160px !important;
  table-layout: fixed !important;
}

body.cl-cart-product-page .cl-cloud-table th:nth-child(6),
body.cl-cart-product-page .cl-cloud-table td:nth-child(6),
body.cl-cart-product-page .cl-cloud-table th:nth-child(7),
body.cl-cart-product-page .cl-cloud-table td:nth-child(7) {
  vertical-align: middle !important;
}

body.cl-cart-product-page .cl-cloud-price-cell {
  text-align: left !important;
}

body.cl-cart-product-page .cl-cloud-stock-cell {
  text-align: center !important;
}

.cl-cloud-page .cl-cloud-table th:nth-child(1),
.cl-cloud-page .cl-cloud-table td:nth-child(1) { width: 26%; }
.cl-cloud-page .cl-cloud-table th:nth-child(2),
.cl-cloud-page .cl-cloud-table td:nth-child(2) { width: 11%; }
.cl-cloud-page .cl-cloud-table th:nth-child(3),
.cl-cloud-page .cl-cloud-table td:nth-child(3) { width: 9%; }
.cl-cloud-page .cl-cloud-table th:nth-child(4),
.cl-cloud-page .cl-cloud-table td:nth-child(4) { width: 9%; }
.cl-cloud-page .cl-cloud-table th:nth-child(5),
.cl-cloud-page .cl-cloud-table td:nth-child(5) { width: 12%; }
.cl-cloud-page .cl-cloud-table th:nth-child(6),
.cl-cloud-page .cl-cloud-table td:nth-child(6) { width: 13%; }
.cl-cloud-page .cl-cloud-table th:nth-child(7),
.cl-cloud-page .cl-cloud-table td:nth-child(7) { width: 8%; }
.cl-cloud-page .cl-cloud-table th:nth-child(8),
.cl-cloud-page .cl-cloud-table td:nth-child(8) { width: 12%; }

.cl-cloud-page .cl-cloud-table th:nth-child(7),
.cl-cloud-page .cl-cloud-table td:nth-child(7) {
  padding-left: 10px !important;
  padding-right: 10px !important;
  text-align: center !important;
}

.cl-cloud-page .cl-cloud-stock-cell [data-cloud-field="stock"] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 56px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  text-align: center !important;
  font-variant-numeric: tabular-nums !important;
}

.cl-cloud-page .cl-cloud-table th:nth-child(8),
.cl-cloud-page .cl-cloud-table td:nth-child(8) {
  padding-left: 8px !important;
  padding-right: 24px !important;
  text-align: center !important;
}

.cl-cloud-page .cl-cloud-table td:nth-child(8) .cl-cloud-buy,
.cl-cloud-page .cl-cloud-table td:nth-child(8) .cl-cloud-soldout {
  margin-left: -8px !important;
}

@media (max-width: 720px) {
  body.cl-cart-product-page .cl-cloud-mobile-select-line {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 8px !important;
  }

  body.cl-cart-product-page .cl-cloud-mobile-mark {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    border: 1.5px solid #b8c4d2 !important;
    border-radius: 50% !important;
    background: #fff !important;
    color: transparent !important;
    box-shadow: inset 0 0 0 2px #fff !important;
  }

  body.cl-cart-product-page .cl-cloud-mobile-select-line input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }

  body.cl-cart-product-page .cl-cloud-mobile-mark > span {
    display: none !important;
  }

  body.cl-cart-product-page .cl-cloud-mobile-mark::before {
    content: "" !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: transparent !important;
    opacity: 0 !important;
  }

  body.cl-cart-product-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark {
    border-color: var(--cart-modern-blue) !important;
  }

  body.cl-cart-product-page .cl-cloud-row.is-mobile-selected .cl-cloud-mobile-mark::before {
    background: var(--cart-modern-blue) !important;
    opacity: 1 !important;
  }
}
