.horizontal-menu-navbar .headerBg {
  box-shadow: 0 4px 6px 0 rgba(8, 14, 26, 0.04), 0 1px 10px 0 rgba(8, 14, 26, 0.05), 0 2px 4px -1px rgba(8, 14, 26, 0.06);
}

:root {
  --pageheight: 50px;
  --sidebar-width: var(--cart_navmax);
  --distanceFromPage: 0px;
  --distanceFromBottom: 0px;
  --content-gap: 20px;
  --top-bottom-gap: 20px;
}

/* 购物车为固定视口布局，顶部公告条(#headerad)参与文档流会把内容整体往下顶。
   结算/配置页隐藏它，保证内容区与顶部导航精确对齐。 */
#headerad {
  display: none !important;
}

/* web 主题 .header-hd 是 position:fixed 但没写 top:0，靠"静态位置"定位。
   一旦它前面的公告条 #headerad（54px 高）仍占据文档流，导航就会被顶到
   top:54px，整个头部向下偏移。购物车页强制钉回视口顶部。 */
.header-hd {
  top: 0 !important;
}

.navtop-standingPosition {
  top: var(--navheight);
  left: 0;
  right: 0;
  background: #fff;
  padding: 0 10px;
  position: fixed;
  z-index: 2;
}
.navtop-standingPosition .nav-top-page {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  height: var(--pageheight);
}
.navtop-standingPosition .nav-top-page .nav-top-page-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.navtop-standingPosition .nav-top-page .return {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 3px 11px;
  border: 1px solid #dcdfe4;
  border-radius: 999px;
  transition: all 0.2s;
}
.navtop-standingPosition .nav-top-page .return:hover {
  border-color: var(--primary);
}
.navtop-standingPosition .nav-top-page .return i {
  font-size: 12px;
  color: #84868c;
  transition: color 0.2s;
}
.navtop-standingPosition .nav-top-page .return span {
  font-size: 13px;
  color: #84868c;
  font-weight: 400;
  transition: color 0.2s;
}
.navtop-standingPosition .nav-top-page .return:hover i,
.navtop-standingPosition .nav-top-page .return:hover span {
  color: var(--primary);
}
.navtop-standingPosition .nav-top-page .page-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--txtcl);
}

.cart-promo-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #d4e6f5;
  background: #ffffff;
  color: #1a6fb0;
  font-size: 13px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.18s;
}
.cart-promo-flag {
  width: 16px;
  height: 12px;
  flex: none;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(8, 14, 26, 0.06);
}
.cart-promo-item:hover {
  border-color: #2fb1f0;
  color: #2fb1f0;
  background: #eef8ff;
}
.cart-promo-item.active {
  border-color: #2fb1f0;
  color: #fff;
  background: #2fb1f0;
}
.cart-promo-item.sellOut {
  border-color: #eceff3;
  color: #b6bcc6;
  background: #f4f6f9;
  cursor: not-allowed;
}
.cart-promo-empty {
  font-size: 13px;
  color: #999;
}
/* ===== 产品配置页标题右侧横幅（素材1.png「点击更换其他商品」，悬停弹出同分类产品） ===== */
.cart-title-promo {
  position: relative;
  display: inline-flex;
  flex: none;
  align-items: center;
}
.cart-title-promo-img {
  display: block;
  flex: none;
  width: 140px;
  max-width: 140px;
  height: 30px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.cart-title-promo:hover .cart-title-promo-img {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(230, 84, 32, 0.28);
}
.cart-title-promo-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 320px;
  max-width: 520px;
  z-index: 30;
  background: #ffffff;
  border: 1px solid #e3e8ef;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(8, 14, 26, 0.14);
  padding: 12px;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  -webkit-transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transition: all 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
/* 悬停桥：在横幅和面板之间加一块透明热区，避免鼠标移动时中途丢失 hover */
.cart-title-promo-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 12px;
}
.cart-title-promo:hover .cart-title-promo-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.cart-title-promo-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.shopping-cart-page {
  position: relative;
  max-width: var(--maxwidth);
  width: 100%;
  /* 顶部改用 margin 撑开，而不是相对定位 top 下移：
     这样正文会真实占据文档流，后面的 web 主题 footer.html 会正常排到内容下方，
     不再与固定高度的购物车内容区重叠、遮盖底部"费用合计 + 加入购物车"。 */
  margin: calc(var(--pageheight) + var(--navheight) + var(--distanceFromPage)) auto 0;
  height: calc(100vh - var(--navheight) - var(--pageheight) - var(--distanceFromPage) - var(--distanceFromBottom));
  overflow: hidden;
  padding: 0;
}
.shopping-cart-page.fullScreen {
  max-width: none;
}
.shopping-cart-page .cart-bats {
  display: flex;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}
.shopping-cart-page .cart-bats .cart-bats-itme {
  border: 1px solid #d9d9d9;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-right: 10px;
}
.shopping-cart-page .cart-bats .cart-bats-itme span {
  color: var(--txtdesc);
  font-size: 14px;
  font-weight: 400;
}
.shopping-cart-page .cart-bats .cart-bats-itme:hover span {
  color: var(--Original);
}
.shopping-cart-page .cart-bats .cart-bats-itme:last-child {
  margin-right: 0;
}
.shopping-cart-page .cart-bats .cart-bats-itme.active {
  background: #fff;
  border: none;
}
.shopping-cart-page .cart-bats .cart-bats-itme.active span {
  font-weight: 500;
  color: var(--Original);
}
.shopping-cart-page .shopping-cart-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.shopping-cart-page .shopping-cart-content .sky-cart-sidebar {
  height: 100%;
  width: var(--sidebar-width);
  min-width: var(--sidebar-width);
  max-width: var(--sidebar-width);
  background: #fff;
}
.shopping-cart-page .shopping-cart-content .shopping-cart-product {
  flex: 1;
  width: 100%;
  overflow: hidden;
  overflow-y: auto;
  height: calc(100vh - var(--navheight) - var(--pageheight) - var(--distanceFromPage) - var(--distanceFromBottom) - var(--top-bottom-gap));
  padding: var(--top-bottom-gap) 60px 0 0px;
}
.shopping-cart-page .shopping-cart-content.style_default .shopping-cart-product {
  padding: var(--top-bottom-gap) 60px 0;
}
.shopping-cart-page .shopping-cart-content.style_default .shopping-cart-product .sky-productList {
  gap: 22px;
}
.shopping-cart-page.type_configureproduct .shopping-cart-content .shopping-cart-product {
  overflow-y: hidden;
  padding-top: 0;
  height: calc(100vh - var(--navheight) - var(--pageheight) - var(--distanceFromPage) - 5px);
}

.sky-cart-sidebar .sky-cart-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  overflow: hidden;
  overflow-y: auto;
  height: calc(100vh - var(--navheight) - var(--pageheight) - var(--distanceFromPage) - var(--distanceFromBottom) - var(--top-bottom-gap) - 58.5px);
  padding-bottom: 40px;
  background: #f9fafc;
  margin: 10px 0;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title {
  font-weight: 400;
  font-size: 14px;
  cursor: pointer;
  color: var(--txtcl);
  padding: 10px 20px;
  width: 100%;
  position: relative;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title:hover {
  background-color: #f2f6ff;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title::before {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #999;
  transition: transform 0.3s;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-menu-title.active::before {
  transform: translateY(-50%) rotate(180deg);
  border-top: 5px solid var(--primary);
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu {
  display: none;
  width: 100%;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 6px 0;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px 0 26px;
  cursor: pointer;
  width: 100%;
  border-left: 3px solid transparent;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item:hover {
  background-color: #f2f6ff;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item.active {
  border-left: 3px solid var(--Original);
  background-color: #e0eeff;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item .submenu-item-u {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item img {
  width: 23px;
  height: 14px;
  object-fit: cover;
  box-shadow: rgba(99, 99, 99, 0.05) 0px 2px 4px 0px;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item h5 {
  font-size: 14px;
  color: var(--txtcl);
  font-weight: 400;
  line-height: 40px;
}
.sky-cart-sidebar .sky-cart-menu .sky-cart-menu-item .sky-cart-submenu .submenu-item-row .sky-cart-submenu-item .tagline {
  background-color: var(--danger);
  border-color: var(--danger-hover);
  color: #fff;
  margin-left: 10px;
  font-size: 12px;
  padding: 0 7px;
  height: auto;
  line-height: 18px;
  display: inline-block;
}

.sky-cart-sidebar {
  width: var(--sidebar-width);
  padding: var(--top-bottom-gap) 10px;
}
.sky-cart-sidebar .sky-cart-search {
  position: relative;
  width: 100%;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box {
  display: flex;
  align-items: center;
  position: relative;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box input {
  flex: 1;
  flex-grow: 1;
  padding: 0 10px 0 30px;
  height: 34px;
  line-height: 34px;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  font-size: 13px;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box input:focus {
  outline: none;
  border: 1.3px solid var(--Original);
  -webkit-appearance: none;
  box-shadow: none;
  transition: border-color 0.8s;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box input::placeholder {
  font-size: 12px;
  color: #999;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-icon,
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-clear {
  position: absolute;
  cursor: pointer;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-icon {
  left: 6px;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-icon i {
  color: #999;
  font-size: 22px;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-clear {
  right: 10px;
  display: none;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-box .sky-cart-search-clear i {
  color: #999;
  font-size: 14px;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results {
  display: none;
  position: absolute;
  border: 1px solid #e4e7ed;
  background-color: white;
  box-sizing: border-box;
  max-height: 200px;
  z-index: 1000;
  top: 100%;
  left: 0;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.5s ease;
  padding: 10px 0;
  border-radius: 2px;
  width: 100%;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results::before {
  content: "";
  position: absolute;
  top: -9px;
  left: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #fff;
  z-index: 1001;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results .search-result-item:hover {
  background-color: #f2f6ff;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results .search-result-item,
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results .noFind {
  padding: 0 20px;
  font-size: 14px;
  color: var(--txtcl);
  display: block;
  width: 100%;
  line-height: 28px;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results .search-model {
  color: var(--Original);
  position: relative;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results .search-model::after {
  content: "";
  display: inline-block;
  left: 1px;
  position: relative;
  top: 2px;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--primary);
  border-bottom: 1px solid var(--primary);
  transform: translateY(-50%) rotate(-45deg);
  transition: left 0.3s ease;
}
.sky-cart-sidebar .sky-cart-search .sky-cart-search-results .search-model:hover::after {
  left: 3px;
}

.sky-productList {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--productwidth_max), 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.product-card {
  border: 1px solid #d4d6d9;
  border-radius: 0px;
  width: 100%;
  text-align: left;
  color: #262b38;
  background: #fff;
  -webkit-transition: border-color 0.3s;
  transition: border-color 0.3s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0px 5px 20px 3px rgba(230, 233, 249, 0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.product-card:hover {
  box-shadow: -2px -2px 20px rgba(55, 99, 170, 0.1), 8px 8px 20px rgba(55, 99, 170, 0.1);
  border-color: var(--Original);
}
.product-card:hover .purchaseButton .buy-now-button {
  color: var(--Original);
}
.product-card * {
  font-family: codeB;
}
.product-card .product-card-header {
  display: flex;
  flex-direction: column;
  background: #f7f7f9;
  padding: 14px 16px;
  border-radius: 0px 0px 0 0;
}
.product-card .product-card-header .header-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
}
.product-card .product-card-header .header-title h5 {
  color: #000;
  font-size: 14px;
  font-weight: 500;
  -webkit-font-smoothing: subpixel-antialiased;
}
.product-card .product-card-header .header-title .stock-info {
  padding-left: 10px;
  color: var(--inventoryColor);
  font-size: 12px;
  position: relative;
}
.product-card .product-card-header .header-title .stock-info:after {
  position: absolute;
  content: "";
  background: #d4d6d9;
  width: 1px;
  height: 12px;
  top: 3px;
  left: 0px;
}
.product-card .product-card-header .header-desc {
  margin-top: 6px;
  color: #5c5f66;
  font-size: 12px;
  font-weight: 400;
}
.product-card .product-card-body {
  display: flex;
  align-items: stretch;
}
.product-card .product-card-body .product-description {
  padding: 10px 20px 0;
  margin-bottom: 0px;
  width: 100%;
}
.product-card .product-card-body .product-description * {
  color: #83838e;
  font-size: 13px;
  line-height: 26px;
}
.product-card .product-card-body .product-description .content-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
}
.product-card .product-card-body .product-description .content-item .label-text {
  color: #212529;
  display: block;
  white-space: nowrap;
}
.product-card .product-card-body .product-description .content-item .value-text {
  color: #74788d;
}
.product-card .product-card-body .product-description .content-item .value-text a {
  color: var(--primary);
  text-decoration: none;
}
.product-card .product-card-body .product-description .content-item .value-text a:hover {
  color: var(--Original);
}
.product-card .product-Parameters {
  display: block;
}
.product-card .product-Parameters .pricing-info {
  text-align: left;
  padding: 2px 20px 0;
}
.product-card .product-Parameters .currency {
  color: var(--priceColor);
  font-size: 14px;
  vertical-align: super;
}
.product-card .product-Parameters .amount {
  font-size: 24px;
  font-weight: bold;
  color: var(--priceColor);
}
.product-card .product-Parameters .period {
  margin-left: 4px;
  font-size: 14px;
  color: #777;
}
.product-card .product-Parameters .starting-from {
  font-size: 14px;
  color: #777;
  font-style: italic;
}
.product-card .product-Parameters .trial-info {
  display: flex;
  gap: 1px;
  align-items: flex-end;
}
.product-card .product-Parameters .trial-info .currency {
  font-size: 12px;
  color: #333;
}
.product-card .product-Parameters .trial-info .amount {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.product-card .product-Parameters .trial-info .period {
  font-size: 12px;
  color: #333;
}
.product-card .product-Parameters .original-price {
  font-size: 12px;
  color: #777;
  display: flex;
  align-items: center;
}
.product-card .product-Parameters .original-price .discount {
  color: #ff0003;
  font-weight: bold;
  padding-right: 4px;
}
.product-card .product-Parameters .original-price .currency, .product-card .product-Parameters .original-price .amount, .product-card .product-Parameters .original-price .period {
  font-size: 12px;
  color: #777;
}
.product-card .product-Parameters .sale-price, .product-card .product-Parameters .price {
  margin: 4px 0;
  display: flex;
  align-items: baseline;
}
.product-card .product-Parameters .buy-now-button {
  display: block;
  background: var(--buyButton);
  border: none;
  cursor: pointer;
  line-height: 42px;
  font-weight: 500;
  margin-top: 12px;
  font-size: 14px;
  transition: all 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
  color: #fff;
  width: 100%;
  text-align: center;
}
.product-card .product-Parameters .buy-now-button.SellOut {
  background: linear-gradient(45deg, #d8d8d8 0%, #d8d8d8 100%);
  color: #5a5a5a;
  text-shadow: 0 0.1em 0 #f0f0f0;
  cursor: not-allowed;
}
.product-card .product-Parameters .buy-now-button:hover {
  transform: translateY(-1px);
}
.product-card .sold-out-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  color: #e64a19;
  font-size: 30px;
}

.allocation-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.allocation-card * {
  font-family: codeB;
}
.allocation-card .allocation-header {
  flex-shrink: 0;
  padding: 15px;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: space-between;
  flex-direction: row;
  background-color: #fff;
  margin-bottom: 2px;
}
.allocation-card .allocation-header .allocation-header-title h1 {
  font-size: 16px;
  color: #333;
  font-weight: 700;
}
.allocation-card .allocation-header .allocation-header-shoppingCart {
  color: #9e9e9e;
  font-size: 14px;
  display: flex;
  gap: 3px;
}
.allocation-card .allocation-header .allocation-header-shoppingCart .inventory_number {
  color: #ff9800;
}
.allocation-card .allocation-mian {
  min-height: 0;
  overflow-y: auto;
  padding: 36px 80px 0 20px;
  flex-grow: 1;
  background-color: #fff;
}
.allocation-card .allocation-footer {
  flex-shrink: 0;
  padding: 16px 60px 10px 20px;
  background-color: #ffffff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
  min-height: 92px;
}
.allocation-card .allocation-footer .configoption_total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.allocation-card .allocation-footer .allocation-footer-l {
  flex: 1;
}
.allocation-card .allocation-footer .allocation-footer-r {
  display: flex;
  align-items: center;
  position: relative;
  gap: 28px;
}
.allocation-card .allocation-footer .allocation-footer-l-t, .allocation-card .allocation-footer .allocation-footer-l-b {
  margin: 0 0 6px;
  font-size: 14px;
  color: #666;
}
.allocation-card .allocation-footer .ordersummarybottom-title {
  display: flex;
  justify-content: flex-start;
  align-items: baseline;
}
.allocation-card .allocation-footer .ordersummarybottom-title .text-muted {
  font-size: 14px;
  color: #999 !important;
}
.allocation-card .allocation-footer .ordersummarybottom-title .configurationName {
  font-size: 14px;
  color: #000;
  font-weight: 500;
}
.allocation-card .allocation-footer .ordersummarybottom-title .ordersummarybottom-prefix {
  font-size: 14px;
  color: #ff000e;
}
.allocation-card .allocation-footer .ordersummarybottom-title .pricePositioning {
  width: 1px;
  font-size: 28px;
  opacity: 0;
}
.allocation-card .allocation-footer .ordersummarybottom-title .pricePositioning,
.allocation-card .allocation-footer .ordersummarybottom-title .ordersummarybottom-price {
  font-size: 28px;
  color: #ff000e;
  -webkit-font-smoothing: initial;
  display: flex;
  align-items: baseline;
}
.allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-left: 10px;
  border-bottom: 1px solid rgb(206, 212, 218);
}
.allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row .configure-total-label,
.allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row .configure-total-value {
  font-size: 13px;
  color: #a9a9a9;
}
.allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row .promocode {
  color: #faad14;
}
.allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row .promocodeicon {
  position: relative;
  display: inline-block;
  padding-left: 20px;
}
.allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row .promocodeicon::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0px;
  width: 20px;
  height: 20px;
  background: url("../images/promocode.png") right center no-repeat;
}
.allocation-card .allocation-footer .allocation-footer-l-b span {
  color: #1a1a1a;
  font-size: 14px;
}
.allocation-card .btn-buyNow {
  padding: 10px 24px;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  background: var(--buyButton);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.2s;
}
.allocation-card .btn-buyNow:hover {
  background: var(--primary-hover);
  color: #fff;
}
.allocation-card .btn-buyNow:active {
  background: var(--primary-active);
}
.allocation-card .btn-costDetails {
  cursor: pointer;
  color: #999;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 4px;
}
.allocation-card #configurationDetails {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 20;
}

.shopping-cart-product.cart_button_border .basicConfigurationItems .sky-config-btn-three.active {
  background: #fff;
  border-color: var(--cart_btnn_border);
  color: var(--cart_mainColor);
}
.shopping-cart-product.cart_button_border .sky-btn-group .sky-config-btn.active {
  background: var(--cart-background);
  border-color: var(--cart_btnn_border);
  color: var(--cart_mainColor);
}

.details-container {
  position: relative;
  display: inline-block;
}

.price-breakdown {
  position: absolute;
  z-index: 100;
  min-width: 400px;
  min-width: fit-content;
  max-height: calc(100vh - var(--navheight) - var(--pageheight) - var(--distanceFromPage) - var(--distanceFromBottom) - var(--top-bottom-gap) - 140px);
  overflow: hidden;
  overflow-y: auto;
  background-color: #fff;
  border: #e6e6e6 solid 1px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  padding: 12px 20px;
  border-radius: 1px;
  display: none;
  bottom: 100%;
  right: 0;
  margin-bottom: 1px;
}

.price-breakdown .ordersummary-table {
  margin: 15px 0;
  width: 100%;
  border-collapse: collapse;
}
.price-breakdown .ordersummary-table * {
  white-space: nowrap;
}
.price-breakdown .ordersummary-table th, .price-breakdown .ordersummary-table td {
  padding: 12px;
  text-align: left;
  display: table-cell;
  color: #999;
  font-size: 13px;
}
.price-breakdown .ordersummary-table .priceTitle {
  font-size: 13px;
  font-weight: 500;
  color: #1a1a1a;
}
.price-breakdown .ordersummary-table th {
  background-color: #f4f8ff;
  color: #1a1a1a;
  font-weight: 500;
}
.price-breakdown .ordersummary-table tr {
  border-bottom: 1px solid rgb(237, 238, 243);
}
.price-breakdown .ordersummary-table tr:hover {
  background-color: rgb(245, 245, 245);
}
.price-breakdown .ordersummary-table tbody {
  cursor: pointer;
}
.price-breakdown .ordersummary-table .config-name {
  width: 140px;
}
.price-breakdown .ordersummary-table td.config-nameSubclass {
  color: rgb(0, 0, 0);
  font-weight: 500;
}
.price-breakdown .ordersummary-table .config-details {
  width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.price-breakdown .ordersummary-table .config-details img {
  width: auto;
  height: 20px;
  margin-right: 5px;
}
.price-breakdown .ordersummary-table .original-price {
  width: 160px;
}
.price-breakdown .ordersummary-table .discounted-price, .price-breakdown .ordersummary-table .savings {
  width: 120px;
}
.price-breakdown-danger {
  color: rgb(255, 0, 0) !important;
}
.price-breakdown .tb_totalPrice {
  font-size: 14px !important;
  font-weight: 500 !important;
}

.ordersummary-toolbar {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: baseline;
}
.ordersummary-toolbar .saveConfiguration {
  margin-left: 0;
  padding: 6px 8px;
  color: #0056ff;
  border: none;
  border-radius: 2px;
  font-size: 12px;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 5px;
  font-weight: 400;
}
.ordersummary-toolbar .saveConfiguration:hover {
  background-color: rgb(1, 82, 230);
  color: rgb(255, 255, 255);
}
.ordersummary-toolbar span, .ordersummary-toolbar p {
  font-size: 14px;
  color: rgb(0, 0, 0);
  font-weight: 400;
  display: inline-block;
}

.shopping-cart-viewcart {
  /* 固定首屏布局（对齐产品配置页 .shopping-cart-page / .allocation-card）：
     卡片撑满「主导航之下 → 视口底部之上」，内部商品清单滚动、结算条钉在卡片底部；
     卡片本身随 body 滚动，滑到最底部时才与 web 主题 footer.html 相接。 */
  position: relative;
  max-width: var(--maxwidth);
  width: 100%;
  margin: calc(var(--pageheight) + var(--navheight) + var(--distanceFromPage)) auto 0;
  height: calc(100vh - var(--navheight) - var(--pageheight) - var(--distanceFromPage) - var(--distanceFromBottom));
  overflow: hidden;
  padding: 0 var(--padding);
}

.shopping-cart-viewcart .viewcart_content {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}
.shopping-cart-viewcart .viewcart_content * {
  font-family: codeB;
}

.shopping-cart-viewcart .viewcart_content #submit-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
}

/* 商品滑动信息条外层：作为纵向 flex 容器，滚动下沉到商品清单/结算详情各自内部 */
.shopping-cart-viewcart .viewcart_content #submit-form .sky-md-100-p {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
  width: 100%;
}

.sky-viewcart-cart-body {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* 未登录提示条固定在结算清单标题下方，不随商品清单滚动 */
.sky-viewcart-cart-body .bgw {
  flex-shrink: 0;
  margin-bottom: 16px;
}
/* 收紧提示条背景：减小上下留白、隐藏空段落、图标垂直居中 */
.sky-viewcart-cart-body .bgw .layui-elem-quote {
  padding: 8px 16px 8px 52px;
  margin-bottom: 0;
  border-radius: 8px;
}
.sky-viewcart-cart-body .bgw .layui-elem-quote p:empty {
  display: none;
}
.sky-viewcart-cart-body .bgw .layui-elem-quote.alert-icon::before {
  top: 50%;
  transform: translateY(-50%);
}

.sky-viewcart-body {
  display: flex;
  align-items: stretch;
  gap: 20px;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: var(--top-bottom-gap) 0px 20px 0;
  width: 100%;
}
.sky-viewcart-body * {
  font-family: codeB;
}
.sky-viewcart-body .sky-viewcart-header {
  flex-shrink: 0;
  margin-bottom: 20px;
}
.sky-viewcart-body .sky-viewcart-header .sky-viewcart-title {
  margin: 0;
  font-size: 16px;
  font-weight: bold;
  color: #212529;
}
.sky-viewcart-body .sky-viewcart-header .sky-viewcart-title:before {
  position: relative;
  top: -2px;
  display: inline-block;
  content: "";
  width: 4px;
  height: 22px;
  background: var(--Original);
  vertical-align: middle;
  margin: 0 10px 0 0;
}
.sky-viewcart-body .no-data {
  height: 330px;
}
.sky-viewcart-body .sky-viewcart-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-items-c {
  padding: 20px;
  background: #fff;
  border: 1px solid #ebedf0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-items-c:hover {
  border-color: #dfe3e8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 4px rgba(0, 0, 0, 0.04);
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header {
  display: flex;
  justify-content: space-between;
  padding-bottom: 10px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-name {
  font-size: 16px;
  font-weight: bold;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-name i {
  display: block;
  transition: all 0.5s ease-out;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid #dcdfe4;
  border-radius: 6px;
  background: #fff;
  color: #5e646e;
  margin-left: 0;
  text-decoration: none;
  transition: all 0.2s;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions a svg {
  display: block;
  flex: none;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions .sky-viewcart-action-edit {
  color: #337dff;
  border-color: rgba(51, 125, 255, 0.45);
  background: #f5f9ff;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions .sky-viewcart-action-edit:hover {
  border-color: #337dff;
  color: #2b6ae0;
  background: #eaf3ff;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions .sky-viewcart-action-delete {
  color: #f64041;
  border-color: rgba(246, 64, 65, 0.5);
  background: #fff5f5;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-actions .sky-viewcart-action-delete:hover {
  border-color: #f64041;
  color: #d63435;
  background: #ffecec;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
  gap: 20px;
  padding: 12px 0;
  transition: all 0.18s ease-out;
  overflow: hidden;
  max-height: 200px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details .sky-viewcart-item-detail-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details .sky-viewcart-item-detail-row .sky-viewcart-detail-label {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.4);
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details .sky-viewcart-item-detail-row .sky-viewcart-detail-value {
  color: rgba(0, 0, 0, 0.9);
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info {
  padding: 10px 0 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar {
  display: flex;
  align-items: center;
  margin-left: 0 !important;
  border: 1px solid #e3e6eb;
  border-radius: 4px;
  overflow: hidden;
  width: fit-content;
  background: #fff;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .sky-config-decrease,
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .sky-config-increase {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cart-background);
  color: #495057;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .sky-config-decrease:hover,
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .sky-config-increase:hover {
  background-color: var(--cart_mainColor);
  color: #fff;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .input-value {
  width: 60px;
  height: 32px;
  text-align: center;
  border: none;
  border-left: 1px solid #e3e6eb;
  border-right: 1px solid #e3e6eb;
  background: #fff;
  font-size: 14px;
  color: var(--txtcl);
  outline: none;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .input-value::-webkit-outer-spin-button,
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .input-value::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .input-value[type=number] {
  -moz-appearance: textfield;
}
/* 视觉顺序 +（输入框）-，对齐产品配置页的数量控件 */
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .sky-config-increase { order: 1; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .input-value { order: 2; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .cart_qty .progress-toolbar .sky-config-decrease { order: 3; }
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-content {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 20px;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row i {
  font-size: 22px;
  color: var(--green);
  font-weight: 700;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-discount-label,
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-price-value,
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-price-label,
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-subtotal-label {
  font-size: 14px;
  color: rgba(0, 0, 0, 0.9);
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-discount-value {
  color: #f00;
}
.sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-row .sky-viewcart-subtotal-value {
  color: rgba(0, 0, 0, 0.9);
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.sky-viewcart-pay-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  width: 100%;
}
.sky-viewcart-pay-body .pay-body-content {
  background-color: #fff;
  padding: 32px 24px;
  border: 1px solid #ebedf0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
}
.sky-viewcart-pay-body .sky-viewcart-remarks-header {
  margin-bottom: 24px;
}
.sky-viewcart-pay-body .sky-viewcart-remarks-header .sky-viewcart-remarks-title {
  color: #212529;
  margin-bottom: 8px;
}
.sky-viewcart-pay-body .sky-viewcart-remarks-header .sky-viewcart-remarks-input-group .sky-viewcart-remarks-input {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 40px;
  line-height: 40px;
  padding: 0 14px;
  font-size: 14px;
  color: #212529;
  background-color: #fff;
  border: 1px solid #e2e6ea;
  border-radius: 6px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.sky-viewcart-pay-body .sky-viewcart-remarks-header .sky-viewcart-remarks-input-group .sky-viewcart-remarks-input::placeholder {
  color: #aab0b8;
}
.sky-viewcart-pay-body .sky-viewcart-remarks-header .sky-viewcart-remarks-input-group .sky-viewcart-remarks-input:focus {
  border-color: #5b7cfa;
  box-shadow: 0 0 0 3px rgba(91, 124, 250, 0.15);
  outline: none;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method {
  margin-top: 32px;
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .payment_method {
  color: #212529;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--cart-background);
  border: 1px solid var(--cart-background);
  border-radius: 0;
  width: calc(50% - 16px);
  cursor: pointer;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon input {
  position: relative;
  white-space: nowrap;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon img {
  height: 24px;
  width: auto;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon span {
  margin-left: 6px;
}
.sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon.checkboxSelect {
  border: 1px solid var(--primary);
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 32px;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds {
  display: flex;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment {
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 20px;
  background-color: var(--cart-background);
  border: 1px solid var(--cart-background);
  border-radius: 0;
  width: 100%;
  position: relative;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment:hover, .sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment.active {
  border: 1px solid var(--primary);
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment.active:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  background-image: url(../images/Select.svg);
  background-size: 26px;
  background-repeat: no-repeat;
  width: 26px;
  height: 26px;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment img {
  max-width: 100%;
  height: auto;
}
.sky-viewcart-pay-body .sky-viewcart-payment-gateway-list .addfunds .addfunds-payment input {
  clip: rect(0, 0, 0, 0);
  pointer-events: none;
  position: absolute;
}
.sky-viewcart-pay-body .sky-viewcart-discount {
  margin-top: 32px;
}
.sky-viewcart-pay-body .sky-viewcart-discount p {
  font-size: 20px;
  font-weight: 600;
  color: #343a40;
}
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-applied,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-input {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-applied .form-control,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-input .form-control {
  flex-grow: 1;
  border-radius: 4px;
  border: 1px solid #ced4da;
}
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-applied button,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-input button {
  padding: 6px 12px;
  background-color: #007bff;
  border: none;
  color: #ffffff;
  border-radius: 4px;
  cursor: pointer;
}
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-applied button:hover,
.sky-viewcart-pay-body .sky-viewcart-discount .sky-viewcart-promo-input button:hover {
  background-color: #0056b3;
}
.sky-viewcart-pay-body .sky-viewcart-terms {
  display: flex;
  align-items: center;
  margin-top: 32px;
}
.sky-viewcart-pay-body .sky-viewcart-terms .sky-viewcart-terms-checkbox {
  margin: 0 8px 0 0;
  flex-shrink: 0;
  cursor: pointer;
}
.sky-viewcart-pay-body .sky-viewcart-terms label {
  font-size: 14px;
  color: #343a40;
  cursor: pointer;
}
.sky-viewcart-pay-body .sky-viewcart-terms label a {
  color: var(--primary);
  text-decoration: none;
}
.sky-viewcart-pay-body .sky-viewcart-terms label a:hover {
  text-decoration: underline;
}
.sky-viewcart-pay-body .sky-viewcart-terms label .agreeToCheck {
  color: #f00;
  font-size: 12px;
  margin-left: 8px;
}

.sky-viewcart-footer {
  /* 钉在固定首屏卡片的底部（对标产品配置页 .allocation-footer）：
     打开页面时贴在浏览器视口底部，商品清单在内部滚动，
     只有 body 滑到最底部时才与 web 主题 footer.html 相接。 */
  flex-shrink: 0;
  background: #fff;
  box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.05);
}
.sky-viewcart-footer .totalExpenses {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 10px;
  min-height: 72px;
}
.sky-viewcart-footer .sky-viewcart-summary {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
}
.sky-viewcart-footer .sky-viewcart-summary .sky-viewcart-total-value {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}
.sky-viewcart-footer .sky-viewcart-summary .sky-viewcart-total-value .sky-viewcart-total-label {
  display: flex;
  flex-direction: row;
  align-items: center;
  color: rgba(0, 0, 0, 0.9);
}
.sky-viewcart-footer .sky-viewcart-summary .sky-viewcart-total-value .sky-viewcart-total-label .price-num {
  font-size: 28px;
  color: #ff000e;
  -webkit-font-smoothing: initial;
}
/* 优惠码输入组（圆角一体化） */
.sky-viewcart-footer .discountCode #promo.input-group {
  display: flex;
  align-items: stretch;
  width: 240px;
}
.sky-viewcart-footer .discountCode #promo .custom-file {
  position: relative;
  flex: 1 1 auto;
}
.sky-viewcart-footer .discountCode #promo .custom-file .form-control {
  display: block;
  float: none;
  width: 100%;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dcdfe4;
  border-right: 0;
  border-radius: 6px 0 0 6px;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 34px;
  box-sizing: border-box;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.sky-viewcart-footer .discountCode #promo .custom-file .form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(51, 125, 255, 0.15);
  z-index: 2;
}
.sky-viewcart-footer .discountCode #promo .input-group-append {
  flex: 0 0 auto;
}
.sky-viewcart-footer .discountCode #promo .input-group-append .btn {
  display: inline-block;
  height: 36px;
  padding: 0 16px;
  border: none;
  border-radius: 0 6px 6px 0;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  line-height: 36px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}
.sky-viewcart-footer .discountCode #promo .input-group-append .btn:hover {
  background: var(--primary-hover);
}
.sky-viewcart-footer .sky-viewcart-f {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-terms {
  align-items: center;
  display: flex;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-terms .sky-viewcart-terms-checkbox {
  margin-right: 5px;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-terms label:hover {
  text-decoration: underline;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button,
.sky-viewcart-footer .sky-viewcart-f .previousStep,
.sky-viewcart-footer .sky-viewcart-f .nextStep {
  border: none;
  border-radius: 2px;
  color: white;
  cursor: pointer;
  padding: 10px 20px;
  font-weight: 500;
}
.sky-viewcart-footer .sky-viewcart-f .previousStep {
  background-color: var(--light);
  color: #999;
}
.sky-viewcart-footer .sky-viewcart-f .previousStep:hover {
  background-color: var(--light-hover);
}
.sky-viewcart-footer .sky-viewcart-f .nextStep {
  background-color: var(--primary);
}
.sky-viewcart-footer .sky-viewcart-f .nextStep:hover {
  background-color: var(--primary-hover);
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button {
  display: flex;
  background-color: var(--secondary);
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button:hover {
  background-color: var(--secondary-hover);
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button:disabled {
  background-color: var(--disabled-border);
  cursor: not-allowed;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button.loading:disabled {
  pointer-events: none;
  cursor: not-allowed;
  position: relative;
  background-color: var(--primary);
  opacity: 0.7;
  padding-left: 40px;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button.loading:disabled i {
  opacity: 0;
}
.sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button.loading:disabled:before {
  content: "";
  position: absolute;
  top: 33%;
  left: 20px;
  right: 0;
  bottom: 0;
  border: 5px solid transparent;
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  width: 16px;
  height: 16px;
}

/* ===== 购物车结算页删除确认弹窗（补齐 Bootstrap modal 缺失的定位/居中样式） ===== */
.modal-open {
  overflow: hidden;
}
.modal-backdrop {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1040;
  background-color: #000;
}
.modal-backdrop.fade {
  opacity: 0;
}
.modal-backdrop.show {
  opacity: 0.5;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1050;
  display: none;
  overflow: hidden;
  outline: 0;
}
.modal.show {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
}
.modal-dialog {
  position: relative;
  width: auto;
  max-width: 500px;
  margin: 1.75rem auto;
  pointer-events: none;
}
.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: translate(0, -25%);
}
.modal.show .modal-dialog {
  transform: translate(0, 0);
}
.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: #fff;
  background-clip: padding-box;
  border: none;
  border-radius: 8px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.16);
  outline: 0;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eef0f3;
}
.modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  color: #16181a;
}
.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 20px;
  font-size: 14px;
  color: #5e646e;
}
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid #eef0f3;
}
.modal .close {
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  color: #a0a5ad;
  cursor: pointer;
  padding: 0;
}
.modal .close:hover {
  color: #333;
}

/* 服务协议弹窗：用 fixed + transform 绝对居中（不依赖父级高度/层叠差异） */
#serviceAgreementModal.modal.show {
  display: block;
  overflow-x: hidden;
  overflow-y: auto;
  z-index: 1060;
}
#serviceAgreementModal .modal-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) !important;
  display: block;
  min-height: 0;
  margin: 0;
  width: 100%;
  max-width: 560px;
  transition: none;
}
#serviceAgreementModal .modal-content {
  width: 100%;
}
/* 删除弹窗按钮 */
#customModal .modal-footer .btn {
  min-width: 88px;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid #dcdfe4;
  background: #fff;
  color: #5e646e;
}
#customModal .modal-footer .btn-outline-light {
  background: #fff;
  color: #5e646e;
}
#customModal .modal-footer .btn-outline-light:hover {
  background: #f5f6f7;
}
#customModal .modal-footer .btn-primary {
  background: #337dff;
  border-color: #337dff;
  color: #fff;
}
#customModal .modal-footer .btn-primary:hover {
  background: #2b6ae0;
  border-color: #2b6ae0;
}

/* 删除确认弹窗里的警告图标：原为 FontAwesome fa-exclamation-circle，
   但 FA 字体在该页失效导致乱码。这里用纯 CSS 橙色圆点 + "!" 替换，不依赖图标字体 */
#customBody .fa-exclamation-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #faad14;
  flex: none;
  margin-right: 8px;
}
#customBody .fa-exclamation-circle::before {
  content: "!" !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif !important;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  color: #fff;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* 配置页顶栏：返回按钮旁的产品名 + 购物车清单条（默认桌面隐藏，手机端显示） */
.navtop-standingPosition .nav-top-page .config-prod-titlebar {
  display: none;
}

/* 产品分类抽屉菜单：桌面端隐藏，仅手机端显示 */
.mobile-nav-drawer {
  display: none;
}

/* 产品配置页：手机窄屏（≤768px）兜底隐藏标题「产品配置」与「点击更换其他商品」横幅，
   同时显示返回按钮旁的产品名+购物车清单，并隐藏配置框内的原标题，实现真·响应式。 */
@media (max-width: 768px) {
  .navtop-standingPosition .nav-top-page .page-title-configure,
  .navtop-standingPosition .nav-top-page .cart-title-promo {
    display: none !important;
  }

  .navtop-standingPosition .nav-top-page .nav-top-page-title:has(.config-prod-titlebar) {
    flex: 1;
    min-width: 0;
    max-width: 100%;
  }

  .navtop-standingPosition .nav-top-page .config-prod-titlebar {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .navtop-standingPosition .nav-top-page .config-prod-titlebar .config-prod-name {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: var(--txtcl);
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
  }
  .navtop-standingPosition .nav-top-page .config-prod-titlebar .config-prod-name .config-prod-name-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .navtop-standingPosition .nav-top-page .config-prod-titlebar .config-prod-name .config-prod-arrow {
    flex: none;
    width: 0;
    height: 0;
    margin-left: 6px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #9e9e9e;
  }
  .navtop-standingPosition .nav-top-page .config-prod-titlebar .config-prod-cart {
    display: flex;
    align-items: center;
    gap: 3px;
    flex: none;
    color: #9e9e9e;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
  }
  .navtop-standingPosition .nav-top-page .config-prod-titlebar .config-prod-cart .config-prod-count {
    color: #ff9800;
  }

  .allocation-card .allocation-header {
    display: none !important;
  }

  .mobile-nav-drawer {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1060;
    visibility: hidden;
  }
  .mobile-nav-drawer.open { visibility: visible; }
  .mobile-nav-drawer .mnd-mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .22s ease; }
  .mobile-nav-drawer.open .mnd-mask { opacity: 1; }
  /* 顶部下拉面板样式只作用于配置页抽屉的面板 #mobileNavPanel（head.tpl），
     避免与首页 product.tpl 内联的左侧滑出抽屉 .mnd-panel 冲突（否则首页抽屉被压成上半屏）。 */
  .mobile-nav-drawer #mobileNavPanel { position: absolute; left: 0; top: var(--pageheight); right: 0; height: 50vh; background: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.22); transform-origin: top center; transform: scaleY(0); opacity: 0; transition: transform .22s ease, opacity .2s ease; display: flex; flex-direction: column; border-radius: 0 0 14px 14px; }
  .mobile-nav-drawer.open #mobileNavPanel { transform: scaleY(1); opacity: 1; }
  .mobile-nav-drawer .mnd-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; border-bottom: 1px solid #eef0f4; font-size: 16px; font-weight: 700; color: #16181a; }
  .mobile-nav-drawer .mnd-close { background: none; border: none; font-size: 26px; line-height: 1; color: #8a94a6; cursor: pointer; padding: 0 4px; }
  .mobile-nav-drawer .mnd-body { flex: 1; display: flex; overflow: hidden; padding: 0; }
  .mobile-nav-drawer .mnd-body-list { display: block; overflow-y: auto; padding: 4px 0; }
  .mobile-nav-drawer .mnd-empty { padding: 40px 16px; text-align: center; color: #9aa3af; font-size: 14px; }
  .mobile-nav-drawer .mnd-groups { width: 38%; max-width: 140px; flex: none; background: #f7f9fc; border-right: 1px solid #eef0f4; overflow-y: auto; padding: 8px 0; }
  .mobile-nav-drawer .mnd-group-tab { display: flex; align-items: center; gap: 6px; width: 100%; padding: 13px 14px; font-size: 14px; color: #4a5058; background: none; border: none; border-left: 3px solid transparent; cursor: pointer; text-align: left; }
  .mobile-nav-drawer .mnd-group-tab.active { color: #337dff; background: #fff; border-left-color: #337dff; font-weight: 700; }
  .mobile-nav-drawer .mnd-items-panel { flex: 1; overflow-y: auto; padding: 4px 0; }
  .mobile-nav-drawer .mnd-items { display: none; }
  .mobile-nav-drawer .mnd-items.active { display: block; }
  .mobile-nav-drawer .mnd-item { display: flex; align-items: center; gap: 8px; padding: 11px 16px; font-size: 14px; color: #5e646e; text-decoration: none; }
  .mobile-nav-drawer .mnd-item.active { color: #337dff; background: #f1f6fd; font-weight: 600; }
}

@media (max-width: 768px) {
  /* 产品配置页：手机端去掉固定首屏滚动框，正文平铺、整页随内容滚动 */
  .shopping-cart-page.type_configureproduct {
    height: auto !important;
    overflow: visible !important;
    /* 移动端 web 头部 .head-rwd .header-hd 变为 position:relative（参与文档流，高 50px），
       而此处仍按桌面 position:fixed 的 112px margin-top 计算，导致内容被额外下推 50px，
       与顶部返回条之间出现空白。这里把顶部外边距调回 62px 抵消掉那 50px 的文档流头部。 */
    margin-top: var(--navheight) !important;
  }
  .shopping-cart-page.type_configureproduct .shopping-cart-content .shopping-cart-product {
    height: auto !important;
    overflow: visible !important;
    overflow-y: visible !important;
    /* 清除桌面端右侧 60px 留白（.shopping-cart-product 的 padding），
       让结算区/内容区在手机端铺满整屏宽度 */
    padding: 0 !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card {
    height: auto !important;
    overflow: visible !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-mian {
    flex-grow: 0 !important;
    min-height: 0 !important;
    overflow-y: visible !important;
    padding: 16px 16px 24px !important;
  }

  /* 标题在上、配置项在下 */
  .shopping-cart-page.type_configureproduct .sky-config-form .sky-form-group.sky-config-row {
    flex-direction: column !important;
    gap: 8px;
  }
  .shopping-cart-page.type_configureproduct .sky-config-form .sky-form-group.sky-config-row .sky-form-label {
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    line-height: 1.4;
  }
  .shopping-cart-page.type_configureproduct .sky-config-form .sky-form-group.sky-config-row .sky-form-label .label-title {
    color: #333;
    font-size: 14px;
    font-weight: 700;
  }

  /* 主机密码：随机生成按钮换到下一行（独占一行） */
  .shopping-cart-page.type_configureproduct .sky-config-form .host_password {
    flex-wrap: wrap !important;
  }
  .shopping-cart-page.type_configureproduct .sky-config-form .host_password .create_random_pass {
    flex-basis: 100% !important;
    max-width: fit-content !important;
  }

  /* ===== 手机端结算区重排 ===== */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer {
    flex-shrink: 0 !important;
    min-height: 0 !important;
    padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)) !important;
    background: #fff !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .configoption_total {
    flex-direction: column !important;
    gap: 10px !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  /* 费用合计行：左标题、右价格 */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title {
    display: flex !important;
    align-items: baseline !important;
    flex-wrap: wrap !important;
    gap: 4px !important;
    width: 100% !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title .configurationName {
    font-size: 14px !important;
    color: #333 !important;
    font-weight: 500 !important;
    margin-right: auto !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title .pricePositioning {
    display: none !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title .ordersummarybottom-prefix {
    font-size: 15px !important;
    color: #f64041 !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title .ordersummarybottom-price {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: #f64041 !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title .configure-total-row {
    margin-left: 0 !important;
    border-bottom: none !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .ordersummarybottom-title .configure-total-label {
    font-size: 12px !important;
    color: #b0b6c0 !important;
  }

  /* 参考价格说明 */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-l-b span {
    font-size: 12px !important;
    color: #9aa1ab !important;
  }

  /* 底部操作行：费用明细（左）+ 加入购物车（右，主按钮） */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r {
    display: flex !important;
    align-items: center !important;
    position: static !important;
    justify-content: space-between !important;
    gap: 12px !important;
    width: 100% !important;
    margin-top: 2px !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .btn-costDetails {
    flex: none !important;
    font-size: 13px !important;
    color: #5e646e !important;
    white-space: nowrap !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .btn-buyNow {
    flex: 1 !important;
    padding: 12px 16px !important;
    text-align: center !important;
    border-radius: 6px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
  }

  /* ===== 手机端「费用明细」弹层：底部弹层（不再用 PC 的 hover 气泡） ===== */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container {
    position: static !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown {
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    top: 0 !important;
    /* 需高于 web 主题移动端底部导航 .footer-m-content 的 z-index:999 */
    z-index: 2000 !important;
    min-width: 0 !important;
    width: auto !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: rgba(0, 0, 0, 0.45) !important;
    overflow: hidden !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .price-breakdown-body {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: #fff !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-closeButton {
    cursor: pointer !important;
    line-height: 1 !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-closeButton i {
    font-size: 20px !important;
    color: #999 !important;
    display: block !important;
  }
  /* 手机端精简表格：隐藏「原价」「折扣优惠」两列，只保留配置名称/详情/折后价 */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table .original-price,
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table .savings {
    display: none !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table .config-name {
    width: auto !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table .config-details {
    width: auto !important;
    max-width: 160px !important;
  }
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table th,
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table td {
    padding: 10px 8px !important;
    font-size: 13px !important;
  }
  /* 覆盖桌面端 .ordersummary-table * 的 nowrap，手机端允许换行/省略，避免横向溢出 */
  .shopping-cart-page.type_configureproduct .allocation-card .allocation-footer .allocation-footer-r .details-container .price-breakdown .ordersummary-table * {
    white-space: normal !important;
  }

  /* 版权区底部留白：
     首页等滚动页面保留 footer.html 内联的 padding-bottom:80px，避免底部悬浮导航遮挡版权；
     仅产品配置页（type_configureproduct，整屏布局）清除该留白，去掉版权下多余空白。 */
  body:has(.shopping-cart-page.type_configureproduct) .dcy-footer-website-copyright,
  body:has(.shopping-cart-viewcart) .dcy-footer-website-copyright {
    padding-bottom: 0 !important;
  }

  /* ===== 结算页(viewcart)手机端：商品卡片平铺 + 去掉内嵌滚动框 ===== */
  .shopping-cart-viewcart {
    height: auto !important;
    overflow: visible !important;
    /* 顶部让位：手机端主导航 in-flow(50px) + fixed 返回条(62px)，只需补 62px 让内容落到返回条下方，
       抵消 PC 端 112px margin-top 造成的顶部大片空白 */
    margin-top: var(--navheight) !important;
  }
  .shopping-cart-viewcart .viewcart_content {
    height: auto !important;
    overflow: visible !important;
  }
  .shopping-cart-viewcart .viewcart_content #submit-form {
    flex: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .shopping-cart-viewcart .viewcart_content #submit-form .sky-md-100-p {
    flex: none !important;
    height: auto !important;
    overflow: visible !important;
  }
  .shopping-cart-viewcart .sky-viewcart-cart-body,
  .shopping-cart-viewcart .sky-viewcart-body {
    flex: none !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body {
    padding-top: 0 !important; /* 去掉 mobileend.css 为固定首屏预留的 132px 顶部让位 */
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items {
    flex: none !important;
    overflow-y: visible !important;
  }

  /* 商品卡片美化：收紧留白、允许换行、配置明细单列、数量价格纵向排列 */
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-items-c {
    padding: 16px 14px !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-name {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-header .sky-viewcart-item-name strong {
    font-size: 15px !important;
    word-break: break-all !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 8px 0 !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-details .sky-viewcart-item-detail-row {
    flex-wrap: wrap !important;
    gap: 4px !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .shopping-cart-viewcart .sky-viewcart-body .sky-viewcart-items .sky-viewcart-item-price-info .sky-viewcart-price-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  /* 结算栏手机端：总价/优惠码/确认支付 纵向排列，按钮全宽，避免横向挤压 */
  .shopping-cart-viewcart .sky-viewcart-footer .totalExpenses {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 12px 0 !important;
  }
  .shopping-cart-viewcart .sky-viewcart-footer .sky-viewcart-summary {
    flex-direction: column !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .shopping-cart-viewcart .sky-viewcart-footer .sky-viewcart-summary .sky-viewcart-total-value {
    flex-direction: column !important;
    align-items: flex-start !important;
  }
  .shopping-cart-viewcart .sky-viewcart-footer .discountCode #promo.input-group {
    width: 100% !important;
  }
  .shopping-cart-viewcart .sky-viewcart-footer .sky-viewcart-f {
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  .shopping-cart-viewcart .sky-viewcart-footer .sky-viewcart-f .nextStep,
  .shopping-cart-viewcart .sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn {
    flex: 1 !important;
    width: 100% !important;
    text-align: center !important;
  }
  .shopping-cart-viewcart .sky-viewcart-footer .sky-viewcart-f .sky-viewcart-checkout-btn button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* 余额支付/信用额支付：手机端占满宽度、紧凑对齐（去掉内联 35px 突兀位移） */
  .shopping-cart-viewcart .sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon {
    width: 100% !important;
    padding: 12px 14px !important;
    gap: 6px !important;
  }
  .shopping-cart-viewcart .sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon input {
    margin: 0 4px 0 0 !important;
    flex: none !important;
  }
  .shopping-cart-viewcart .sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon span {
    margin-left: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
  }
  .shopping-cart-viewcart .sky-viewcart-pay-body .sky-viewcart-payment-method .sky-viewcart-payment-options .sky-viewcart-credit-icon img {
    height: 20px !important;
  }
}

/*# sourceMappingURL=module.css.map */
