@charset "UTF-8";

/*
 * Bacaiyun Purchase V10
 * Visual layer only. Product, price, cart and settlement behavior remains
 * provided by the native V10 templates and server modules.
 */

.bcy-public-cart-page {
  min-height: 100vh;
  background: #f4f6f9;
}

.bcy-cart-site-header {
  position: sticky;
  z-index: 1001;
  top: 0;
  width: 100%;
  height: 64px;
  border-bottom: 1px solid #edf0f5;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 3px 14px rgba(25, 47, 80, 0.06);
}

.bcy-cart-site-header__inner {
  display: flex;
  width: 100%;
  height: 64px;
  padding: 0 20px;
  align-items: center;
  box-sizing: border-box;
}

.bcy-cart-site-header__logo {
  display: flex;
  width: 124px;
  height: 42px;
  flex: 0 0 124px;
  align-items: center;
}

.bcy-cart-site-header__logo img {
  display: block;
  width: 116px;
  height: auto;
}

.bcy-cart-site-header__nav {
  display: flex;
  height: 64px;
  margin-left: 22px;
  align-items: stretch;
  gap: 22px;
}

.bcy-cart-site-header__nav > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #262d3d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bcy-cart-site-header__nav > a:hover,
.bcy-cart-site-header__nav > a.is-active {
  color: #2f7bff;
}

.bcy-cart-site-header__nav > a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #2f7bff;
  content: "";
}

.bcy-cart-site-header__nav > a > span {
  position: absolute;
  top: 5px;
  left: 50%;
  padding: 0 3px;
  border: 1px solid #ff5c5c;
  border-radius: 3px;
  color: #ff4e4e;
  font-size: 9px;
  font-weight: 500;
  line-height: 12px;
}

.bcy-cart-site-header__actions {
  display: flex;
  height: 64px;
  margin-left: auto;
  align-items: center;
  gap: 15px;
}

.bcy-cart-site-header__actions > a {
  position: relative;
  color: #2c3444;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bcy-cart-site-header__actions > a:hover {
  color: #2f7bff;
}

.bcy-cart-site-header__actions em {
  position: absolute;
  top: -10px;
  right: -10px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #ff5c35;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.bcy-cart-site-header__actions > .bcy-cart-site-header__gift {
  display: inline-flex;
  height: 64px;
  margin-right: -20px;
  padding: 0 18px;
  align-items: center;
  background: #2f7bff;
  color: #fff;
}

.bcy-cart-site-header__actions > .bcy-cart-site-header__gift:hover {
  background: #1e68ed;
  color: #fff;
}

.bcy-cart-nav-mega {
  position: static;
  display: flex;
  height: 64px;
  align-items: stretch;
}

.bcy-cart-nav-mega > a {
  position: relative;
  display: inline-flex;
  align-items: center;
  color: #262d3d;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.bcy-cart-nav-mega > a:hover,
.bcy-cart-nav-mega > a.is-active {
  color: #2f7bff;
}

.bcy-cart-nav-mega > a.is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: #2f7bff;
  content: "";
}

.bcy-cart-product-mega {
  position: absolute;
  z-index: 1200;
  top: 64px;
  right: 0;
  left: 0;
  display: none;
  max-height: calc(100vh - 64px);
  overflow: auto;
  border-top: 1px solid #edf0f5;
  background: #f1f3f6;
  box-shadow: 0 16px 30px rgba(38, 55, 82, 0.16);
}

.bcy-cart-nav-mega:hover .bcy-cart-product-mega,
.bcy-cart-nav-mega:focus-within .bcy-cart-product-mega {
  display: block;
}

.bcy-cart-nav-mega > a > span {
  position: absolute;
  top: 5px;
  left: 50%;
  padding: 0 3px;
  border: 1px solid #ff5c5c;
  border-radius: 3px;
  color: #ff4e4e;
  font-size: 9px;
  font-weight: 500;
  line-height: 12px;
}

.bcy-cart-product-mega__inner {
  display: grid;
  width: min(1500px, 100%);
  min-height: 552px;
  margin: 0 auto;
  grid-template-columns: 280px minmax(680px, 1fr) 260px;
  background: #f1f3f6;
}

.bcy-cart-product-mega__side {
  padding: 24px 28px;
  background: #fff url("../img/purchase-banner.jpg") no-repeat center bottom / 100% auto;
}

.bcy-cart-product-mega__side > a {
  display: block;
  padding: 10px 14px;
  color: #252b3a;
  font-size: 14px;
  text-decoration: none;
}

.bcy-cart-product-mega__side > a:hover,
.bcy-cart-product-mega__side > a.is-active {
  color: #2f7bff;
}

.bcy-cart-product-mega__side > a.is-active {
  border-bottom: 2px solid #2f7bff;
}

.bcy-cart-product-mega__side > .bcy-cart-product-mega__all {
  margin-bottom: 18px;
  border: 1px solid #d6dce6;
  text-align: center;
}

.bcy-cart-product-mega__side em {
  margin-left: 6px;
  padding: 1px 5px;
  border: 1px solid #ff5c5c;
  border-radius: 3px;
  color: #ff4e4e;
  font-size: 10px;
  font-style: normal;
}

.bcy-cart-product-mega__content {
  padding: 24px 22px 20px 28px;
}

.bcy-cart-product-mega__search {
  display: flex;
  height: 40px;
  align-items: center;
  gap: 10px;
}

.bcy-cart-product-mega__search label {
  display: flex;
  min-width: 320px;
  height: 40px;
  flex: 1 1 420px;
  align-items: center;
  background: #fff;
}

.bcy-cart-product-mega__search label i {
  position: relative;
  width: 18px;
  height: 18px;
  margin-left: 14px;
  padding-left: 14px;
  color: #8f99a8;
  font-style: normal;
  box-sizing: border-box;
}

.bcy-cart-product-mega__search label i::before {
  position: absolute;
  top: 1px;
  left: 1px;
  width: 10px;
  height: 10px;
  border: 2px solid currentColor;
  border-radius: 50%;
  content: "";
  box-sizing: border-box;
}

.bcy-cart-product-mega__search label i::after {
  position: absolute;
  top: 11px;
  left: 11px;
  width: 6px;
  height: 2px;
  background: currentColor;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

.bcy-cart-product-mega__search input {
  width: 100%;
  height: 40px;
  padding: 0 12px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #252b3a;
  box-sizing: border-box;
}

.bcy-cart-product-mega__search > a {
  padding: 0 14px;
  background: #dfe5ee;
  color: #252b3a;
  font-size: 13px;
  line-height: 40px;
  text-decoration: none;
  white-space: nowrap;
}

.bcy-cart-product-mega__search > a:hover {
  background: #2f7bff;
  color: #fff;
}

.bcy-cart-section-title {
  display: block;
  min-width: 320px;
  padding: 7px 14px;
  flex: 1 1 420px;
  background: #fff;
  box-sizing: border-box;
}

.bcy-cart-section-title strong,
.bcy-cart-section-title span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bcy-cart-section-title strong {
  color: #252b3a;
  font-size: 14px;
}

.bcy-cart-section-title span {
  margin-top: 3px;
  color: #7a8495;
  font-size: 11px;
}

.bcy-cart-product-mega h3 {
  margin: 24px 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid #d6dce6;
  font-size: 15px;
}

.bcy-cart-product-mega h3 a {
  color: #2f7bff;
  text-decoration: none;
}

.bcy-cart-product-mega__hot {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 14px;
}

.bcy-cart-product-mega__hot > a {
  display: block;
  min-height: 62px;
  padding: 9px 12px;
  border: 1px solid #d6dce6;
  border-radius: 3px;
  color: #252b3a;
  text-decoration: none;
  box-sizing: border-box;
}

.bcy-cart-product-mega__hot > a.is-featured {
  border: 2px solid #fff;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 2px 8px rgba(31, 55, 89, 0.11);
}

.bcy-cart-product-mega__hot > a:hover strong {
  color: #2f7bff;
}

.bcy-cart-product-mega__hot strong,
.bcy-cart-product-mega__hot span {
  display: block;
}

.bcy-cart-product-mega__hot strong {
  font-size: 14px;
}

.bcy-cart-product-mega__hot em {
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid #ff5c5c;
  border-radius: 3px;
  color: #ff4e4e;
  font-size: 10px;
  font-style: normal;
}

.bcy-cart-product-mega__hot span {
  margin-top: 5px;
  overflow: hidden;
  color: #697386;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bcy-cart-product-mega__other {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.bcy-cart-product-mega__other strong,
.bcy-cart-product-mega__other a {
  display: block;
}

.bcy-cart-product-mega__other strong {
  margin-bottom: 7px;
  color: #252b3a;
  font-size: 13px;
}

.bcy-cart-product-mega__other a {
  color: #505a6d;
  font-size: 12px;
  line-height: 24px;
  text-decoration: none;
}

.bcy-cart-product-mega__other a:hover {
  color: #2f7bff;
}

.bcy-cart-product-mega__guide {
  padding: 0 20px 20px 6px;
}

.bcy-cart-product-mega__guide > a {
  display: block;
  overflow: hidden;
  margin-bottom: 9px;
  color: #3f4858;
  font-size: 12px;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bcy-cart-product-mega__guide > a:hover {
  color: #2f7bff;
}

.bcy-cart-product-mega__guide > a em {
  display: inline-block;
  margin-right: 8px;
  padding: 1px 6px;
  border: 1px solid #2f7bff;
  color: #2f7bff;
  font-size: 10px;
  font-style: normal;
}

.bcy-cart-product-mega__guide > .bcy-cart-product-mega__news {
  min-height: 142px;
  padding: 18px;
  background: linear-gradient(135deg, #e7edf3, #f8fbff);
  white-space: normal;
  box-sizing: border-box;
}

.bcy-cart-product-mega__news strong,
.bcy-cart-product-mega__news span,
.bcy-cart-product-mega__news b {
  display: block;
}

.bcy-cart-product-mega__news strong {
  color: #252b3a;
  font-size: 17px;
}

.bcy-cart-product-mega__news span {
  margin: 12px 0 18px;
  color: #697386;
  line-height: 19px;
}

.bcy-cart-product-mega__news b {
  color: #2f7bff;
  font-weight: 500;
}

.bcy-public-cart-main {
  display: block;
  width: 100%;
  margin: 0 auto;
  padding: 0 0 46px;
}

.bcy-public-cart-main .bcy-purchase-hero {
  min-height: 216px;
  margin-bottom: 58px;
  padding-top: 42px;
}

.bcy-public-cart-main .bcy-purchase-hero h1 {
  font-size: 38px;
  font-weight: 500;
}

.bcy-public-cart-main > .bcy-purchase-steps,
.bcy-public-cart-main > .bcy-purchase-notice,
.bcy-public-cart-main > .config-box {
  width: min(1500px, calc(100% - 44px));
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
}

.bcy-purchase-notice {
  display: flex;
  min-height: 42px;
  margin: 0 0 14px;
  padding: 0 16px;
  align-items: center;
  gap: 14px;
  border: 1px solid #ffd8d3;
  border-radius: 5px;
  background: #fff5f3;
  color: #c65345;
  font-size: 13px;
}

.bcy-purchase-notice strong {
  position: relative;
  margin-left: -16px;
  padding: 0 18px;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
  background: #e94e4e;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}

.bcy-purchase-notice a {
  color: #2f7bff;
  text-decoration: none;
}

.bcy-public-cart-page .config-box > span .goods-item-name {
  display: inline-flex;
  min-width: 160px;
  padding: 10px 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 18px !important;
  line-height: 24px;
}

.bcy-goods-list > .el-container > .el-container > .el-main,
.bcy-shopping-cart > .el-container > .el-container > .el-main,
.bcy-settlement > .el-container > .el-container > .el-main,
.bcy-product-config > .el-container > .el-container > .el-main {
  background: #f4f7fb !important;
}

.bcy-purchase-hero {
  position: relative;
  min-height: 184px;
  margin-bottom: 18px;
  padding: 32px 38px 24px;
  overflow: visible;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(244, 249, 255, 0.98) 0%, rgba(244, 249, 255, 0.92) 42%, rgba(244, 249, 255, 0.16) 76%),
    url("../img/purchase-banner.jpg") center right / cover no-repeat;
  box-shadow: 0 10px 28px rgba(28, 67, 125, 0.08);
}

.bcy-hero-copy {
  position: relative;
  z-index: 1;
  text-align: center;
}

.bcy-hero-kicker,
.bcy-order-hero > div:first-child > span {
  display: inline-block;
  margin-bottom: 8px;
  color: #2f7bff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
}

.bcy-public-cart-main .bcy-hero-kicker {
  display: none;
}

.bcy-purchase-hero h1,
.bcy-order-hero h1 {
  margin: 0;
  color: #17243d;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.bcy-purchase-hero p,
.bcy-order-hero p {
  margin: 9px 0 0;
  color: #6c7890;
  font-size: 14px;
}

.bcy-purchase-tabs {
  position: absolute;
  z-index: 2;
  right: 0;
  left: 0;
  bottom: -46px;
  display: flex;
  gap: 30px;
  height: 46px;
  padding: 0 max(44px, calc((100% - 1500px) / 2));
  align-items: center;
  box-sizing: border-box;
  background: #fff;
  box-shadow: 0 4px 12px rgba(33, 57, 96, 0.06);
}

.bcy-purchase-tabs a,
.bcy-purchase-tabs span {
  position: relative;
  display: inline-flex;
  height: 46px;
  align-items: center;
  color: #5f6b80;
  font-size: 15px;
  text-decoration: none;
  cursor: default;
}

.bcy-purchase-tabs a {
  cursor: pointer;
}

.bcy-purchase-tabs a:hover,
.bcy-purchase-tabs .is-active {
  color: #2f7bff;
}

.bcy-purchase-tabs .is-active::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #2f7bff;
  content: "";
}

.bcy-purchase-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(92px, 1fr));
  margin: 0 0 10px;
  padding: 13px 24px;
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(33, 57, 96, 0.06);
}

.bcy-purchase-steps > div {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #8a95a8;
  font-size: 14px;
}

.bcy-purchase-steps > div:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -20%;
  width: 40%;
  height: 1px;
  background: #dce4ef;
  content: "";
}

.bcy-purchase-steps b {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d3dbe7;
  border-radius: 50%;
  background: #fff;
  color: #8a95a8;
  font-size: 12px;
  font-weight: 600;
}

.bcy-purchase-steps .is-active {
  color: #24324a;
}

.bcy-purchase-steps .is-active b {
  border-color: #2f7bff;
  background: #2f7bff;
  color: #fff;
  box-shadow: 0 4px 10px rgba(47, 123, 255, 0.24);
}

.bcy-purchase-steps .is-active:not(:last-child)::after {
  background: #9fc0ff;
}

.bcy-order-hero {
  display: flex;
  margin-bottom: 18px;
  padding: 24px 28px;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(47, 123, 255, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(246, 250, 255, 0.98), rgba(246, 250, 255, 0.84)),
    url("../img/purchase-banner.jpg") center / cover no-repeat;
  box-shadow: 0 8px 24px rgba(33, 57, 96, 0.06);
}

.bcy-order-hero > div:first-child {
  min-width: 210px;
}

.bcy-order-hero .bcy-purchase-steps {
  flex: 1;
  margin: 0;
  padding: 14px 18px;
  box-shadow: none;
}

/* Product list */
.bcy-goods-list .main-card {
  padding: 22px !important;
  border: 1px solid #e4eaf2 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 8px 26px rgba(33, 57, 96, 0.06) !important;
}

.bcy-goods-list .main-title {
  margin-bottom: 18px;
  color: #17243d;
  font-size: 22px;
  font-weight: 600;
}

.bcy-goods-list .main-content-box {
  gap: 18px;
}

.bcy-goods-list .search-box {
  border: 1px solid #e4eaf2;
  border-radius: 8px;
  background: #f8faff;
}

.bcy-goods-list .shopping-item {
  overflow: hidden;
  border: 1px solid #e0e7f1 !important;
  border-radius: 8px !important;
  background: #fff;
  box-shadow: 0 6px 18px rgba(32, 67, 118, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.bcy-goods-list .shopping-item:hover {
  border-color: #78a7ff !important;
  box-shadow: 0 12px 26px rgba(47, 123, 255, 0.12);
  transform: translateY(-2px);
}

.bcy-goods-list .shopping-item .goods-content {
  padding: 20px !important;
}

.bcy-goods-list .shopping-item .goods-name-text {
  color: #17243d;
  font-weight: 600;
}

.bcy-goods-list .shopping-item .price-box .item-price {
  color: #ff5c35 !important;
}

.bcy-goods-list .shopping-item .buy-btn,
.bcy-shopping-cart .buy-btn,
.bcy-settlement .buy-btn {
  border-color: #2f7bff !important;
  border-radius: 4px !important;
  background: #2f7bff !important;
  box-shadow: 0 6px 14px rgba(47, 123, 255, 0.2);
}

/* Native V10 product configuration remains intact; only its layout changes. */
.bcy-product-config .config-box {
  max-width: none !important;
  padding-bottom: 28px;
  background: transparent !important;
}

.bcy-quick-purchase-page .config-box > span:first-child {
  display: none !important;
}

.bcy-product-config .config-box > span .goods-item-name {
  margin-bottom: 12px;
  border: 1px solid #dce5f1;
  border-radius: 6px;
  background: #fff;
  color: #25344d;
  box-shadow: 0 4px 12px rgba(33, 57, 96, 0.05);
}

.bcy-product-config .config-box > .content > .template {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 16px;
  align-items: start;
}

.bcy-product-config .config-box > .content > .template > .tit {
  display: none !important;
}

.bcy-product-config .config-box > .content > .template > .main-card {
  grid-column: 1;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid #e2e8f1 !important;
  border-radius: 8px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(33, 57, 96, 0.06) !important;
}

.bcy-product-config .config-box > .content > .template > .main-card.mf-cloud {
  padding-top: 24px !important;
  padding-bottom: 34px !important;
}

.bcy-product-config .mf-cloud .top-tab > .el-tabs__header {
  margin-right: 24px;
  margin-left: 24px;
}

.bcy-product-config .mf-cloud .com-tit {
  margin-top: 8px;
  color: #17243d !important;
  font-weight: 600;
}

.bcy-product-config .mf-cloud .com-tit::before {
  width: 3px !important;
  border-radius: 2px;
  background: #2f7bff !important;
}

.bcy-product-config .mf-cloud .el-form .el-radio-button__inner,
.bcy-product-config .mf-cloud .el-form .flow-bw,
.bcy-product-config .mf-cloud .image-item,
.bcy-product-config .mf-cloud .cloud-box .cloud-item {
  border-radius: 5px !important;
  background: #f8faff !important;
}

.bcy-product-config .mf-cloud .el-form .el-radio-button.is-active .el-radio-button__inner,
.bcy-product-config .mf-cloud .cloud-box .cloud-item.active .top {
  background: rgba(47, 123, 255, 0.08) !important;
}

.bcy-product-config .config-box > .content > .template > .f-order {
  position: sticky !important;
  z-index: 3 !important;
  top: 82px !important;
  bottom: auto !important;
  left: auto !important;
  display: block !important;
  grid-column: 2;
  width: auto !important;
  height: auto !important;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e2e8f1;
  border-radius: 8px;
  background: #fff !important;
  box-shadow: 0 10px 28px rgba(33, 57, 96, 0.09);
}

.bcy-product-config .f-order .l-empty {
  display: none !important;
}

.bcy-product-config .f-order > .el-main {
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.bcy-product-config .f-order .main-card {
  display: flex !important;
  width: auto !important;
  padding: 20px !important;
  flex-direction: column;
  align-items: stretch !important;
  gap: 0;
  background: #fff !important;
}

.bcy-product-config .f-order .main-card::before {
  display: block;
  margin: -20px -20px 18px;
  padding: 16px 20px;
  border-bottom: 1px solid #e7ecf3;
  background: #f8faff;
  color: #17243d;
  content: "价格预算清单";
  font-size: 17px;
  font-weight: 600;
}

.bcy-product-config .f-order .main-card .left,
.bcy-product-config .f-order .mid,
.bcy-product-config .f-order .right {
  display: flex !important;
  width: 100% !important;
  box-sizing: border-box;
}

.bcy-product-config .f-order .main-card .left {
  flex-direction: column;
  align-items: stretch !important;
}

.bcy-product-config .f-order .time,
.bcy-product-config .f-order .num {
  display: flex;
  width: 100%;
  margin: 0 0 14px !important;
  align-items: center;
  justify-content: space-between;
  line-height: 36px;
}

.bcy-product-config .f-order .duration-select,
.bcy-product-config .f-order .el-input-number {
  width: 172px !important;
}

.bcy-product-config .f-order .mid {
  padding: 15px 0;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  gap: 10px;
  border-top: 1px dashed #dce3ed;
  border-bottom: 1px dashed #dce3ed;
}

.bcy-product-config .f-order .mid .line-empty {
  display: none;
}

.bcy-product-config .f-order .mid .link {
  border: 0;
  color: #2f7bff;
  font-size: 13px;
}

.bcy-product-config .f-order .demand-box {
  width: 100%;
}

.bcy-product-config .f-order .bot-price {
  margin: 12px 0 0 !important;
  line-height: 1.5 !important;
}

.bcy-product-config .f-order .bot-price .new {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  color: #ff5c35 !important;
}

.bcy-product-config .f-order .bot-price .new::before {
  margin-right: auto;
  color: #66748a;
  content: "预算合计";
  font-size: 14px;
}

.bcy-product-config .f-order .bot-price .new .price {
  color: #ff5c35 !important;
  font-size: 28px !important;
}

.bcy-product-config .f-order .right {
  margin-top: 16px;
  justify-content: stretch !important;
}

.bcy-product-config .f-order .right .add-cart {
  width: 52px !important;
  height: 44px !important;
  flex: 0 0 52px;
  border-color: #2f7bff !important;
  border-radius: 4px !important;
}

.bcy-product-config .f-order .right .buy {
  width: auto !important;
  flex: 1;
  border-radius: 4px !important;
  background: #2f7bff !important;
  box-shadow: 0 7px 16px rgba(47, 123, 255, 0.22);
}

/* Shopping cart and settlement */
.bcy-shopping-cart .main-card,
.bcy-settlement .main-card {
  padding: 22px !important;
  border: 1px solid #e2e8f1 !important;
  border-radius: 10px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(33, 57, 96, 0.06) !important;
}

.bcy-shopping-cart .shopping-goods,
.bcy-settlement .shopping-goods {
  overflow: hidden;
  border: 1px solid #e2e8f1 !important;
  border-radius: 7px !important;
}

.bcy-shopping-cart .table-name,
.bcy-settlement .table-name,
.bcy-shopping-cart .goods-table th,
.bcy-settlement .goods-table th {
  background: #f8faff !important;
}

.bcy-shopping-cart > .el-container > .el-container > .el-footer,
.bcy-settlement > .el-container > .el-container > .el-footer {
  border-top: 1px solid #e1e8f2;
  background: #fff !important;
  box-shadow: 0 -7px 22px rgba(33, 57, 96, 0.07);
}

.bcy-shopping-cart .total-price,
.bcy-settlement .total-price,
.bcy-shopping-cart .item-total,
.bcy-settlement .item-total {
  color: #ff5c35 !important;
}

/* Iframe mode intentionally omits hero and keeps a compact single column. */
.bcy-iframe .config-box > .content > .template {
  display: block !important;
}

.bcy-iframe .config-box > .content > .template > .tit,
.bcy-iframe .config-box > .content > .template > .main-card,
.bcy-iframe .config-box > .content > .template > .f-order {
  display: block !important;
  width: auto !important;
  margin-bottom: 14px;
}

.bcy-iframe .config-box > .content > .template > .f-order {
  position: relative !important;
  top: auto !important;
}

@media screen and (max-width: 1280px) {
  .bcy-cart-site-header__nav {
    margin-left: 12px;
    gap: 13px;
  }

  .bcy-cart-site-header__actions {
    gap: 11px;
  }

  .bcy-cart-site-header__actions > a:nth-child(4) {
    display: none;
  }

  .bcy-product-config .config-box > .content > .template {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .bcy-product-config .f-order .duration-select,
  .bcy-product-config .f-order .el-input-number {
    width: 145px !important;
  }

  .bcy-order-hero {
    display: block;
  }

  .bcy-order-hero .bcy-purchase-steps {
    margin-top: 18px;
  }
}

@media screen and (max-width: 1080px) {
  .bcy-cart-site-header__nav > a:nth-child(5),
  .bcy-cart-site-header__nav > a:nth-child(6),
  .bcy-cart-site-header__nav > a:nth-child(7) {
    display: none;
  }

  .bcy-product-config .config-box > .content > .template {
    display: block !important;
  }

  .bcy-product-config .config-box > .content > .template > .tit,
  .bcy-product-config .config-box > .content > .template > .main-card,
  .bcy-product-config .config-box > .content > .template > .f-order {
    margin-bottom: 16px;
  }

  .bcy-product-config .config-box > .content > .template > .f-order {
    position: relative !important;
    top: auto !important;
  }

  .bcy-product-config .f-order .main-card .left {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .bcy-product-config .f-order .time,
  .bcy-product-config .f-order .num {
    margin-bottom: 0 !important;
  }
}

@media screen and (max-width: 760px) {
  .bcy-cart-site-header,
  .bcy-cart-site-header__inner {
    height: 56px;
  }

  .bcy-cart-site-header__inner {
    padding: 0 12px;
  }

  .bcy-cart-site-header__logo,
  .bcy-cart-site-header__logo img {
    width: 104px;
  }

  .bcy-cart-site-header__logo {
    flex-basis: 104px;
  }

  .bcy-cart-site-header__nav {
    display: none;
  }

  .bcy-cart-site-header__actions {
    height: 56px;
    gap: 12px;
  }

  .bcy-cart-site-header__actions > a:nth-child(3),
  .bcy-cart-site-header__actions > a:nth-child(5) {
    display: none;
  }

  .bcy-cart-site-header__actions > .bcy-cart-site-header__gift {
    height: 56px;
    margin-right: -12px;
    padding: 0 12px;
  }

  .bcy-public-cart-main {
    width: calc(100% - 20px);
    padding-top: 10px;
  }

  .bcy-public-cart-main .bcy-purchase-hero {
    min-height: 176px;
    padding-top: 28px;
  }

  .bcy-public-cart-main .bcy-purchase-hero h1 {
    font-size: 28px;
  }

  .bcy-purchase-notice span {
    flex: 1;
  }

  .bcy-purchase-hero {
    min-height: 164px;
    padding: 24px 24px 20px;
  }

  .bcy-purchase-tabs {
    left: 24px;
  }

  .bcy-purchase-steps {
    overflow-x: auto;
    grid-template-columns: repeat(5, minmax(104px, 1fr));
    justify-content: start;
  }

  .bcy-order-hero .bcy-purchase-steps {
    margin-right: -12px;
    margin-left: -12px;
  }
}

/* Quick purchase page, backed by the native V10 product and cart APIs. */
.bcy-quick-purchase-page {
  color: #26334a;
  font-size: 14px;
}

.bcy-quick-purchase-page .bcy-purchase-tabs b {
  display: inline-flex;
  height: 46px;
  margin-left: 8px;
  align-items: center;
  color: #f05b49;
  font-size: 13px;
  font-weight: 400;
}

.bcy-quick-purchase-page .bcy-purchase-steps > a {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: #24324a;
  font-size: 14px;
  text-decoration: none;
}

.bcy-quick-purchase-page .bcy-purchase-steps > a:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -20%;
  width: 40%;
  height: 1px;
  background: #dce4ef;
  content: "";
}

.bcy-quick-purchase-page .bcy-purchase-steps > a b {
  display: inline-flex;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid #2f7bff;
  border-radius: 50%;
  background: #fff;
  color: #2f7bff;
  font-size: 12px;
  box-sizing: border-box;
}

.bcy-quick-purchase-page .bcy-purchase-steps > a:first-child b {
  background: #2f7bff;
  color: #fff;
}

.bcy-quick-layout {
  display: grid;
  width: min(1500px, calc(100% - 44px));
  margin: 0 auto;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}

.bcy-quick-content {
  display: grid;
  min-width: 0;
  gap: 14px;
}

.bcy-quick-card,
.bcy-quick-summary {
  border: 1px solid #e2e8f1;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(33, 57, 96, 0.05);
}

.bcy-quick-card {
  padding: 0 20px 20px;
  scroll-margin-top: 80px;
}

.bcy-quick-card > h2,
.bcy-quick-summary > h2 {
  position: relative;
  margin: 0 0 18px;
  padding: 17px 0 13px 14px;
  border-bottom: 1px solid #e5eaf1;
  color: #17243d;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
}

.bcy-quick-card > h2::before,
.bcy-quick-summary > h2::before {
  position: absolute;
  top: 20px;
  left: 0;
  width: 3px;
  height: 16px;
  border-radius: 2px;
  background: #2f7bff;
  content: "";
}

.bcy-option-row {
  display: flex;
  min-height: 38px;
  align-items: center;
}

.bcy-option-row > label {
  width: 74px;
  flex: 0 0 74px;
  color: #566176;
  font-size: 14px;
}

.bcy-option-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bcy-option-list button,
.bcy-duration-list button,
.bcy-login-way button {
  min-width: 112px;
  height: 36px;
  padding: 0 14px;
  border: 1px solid #dce3ed;
  border-radius: 3px;
  background: #fff;
  color: #455168;
  font: inherit;
  cursor: pointer;
  transition: all 0.18s ease;
}

.bcy-option-list button:hover,
.bcy-option-list button.active,
.bcy-duration-list button:hover,
.bcy-duration-list button.active,
.bcy-login-way button:hover,
.bcy-login-way button.active {
  border-color: #2f7bff;
  background: #f4f8ff;
  color: #2f7bff;
}

.bcy-option-list button span {
  margin-right: 6px;
}

.bcy-option-tip {
  margin: 1px 0 8px 74px;
  color: #98a2b4;
  font-size: 12px;
  line-height: 20px;
}

.bcy-plan-table-wrap {
  overflow-x: auto;
  border: 1px solid #dce4ef;
  border-radius: 3px;
}

.bcy-plan-table {
  width: 100%;
  min-width: 810px;
  border-collapse: collapse;
  color: #3b4961;
  font-size: 13px;
  table-layout: fixed;
}

.bcy-plan-table th,
.bcy-plan-table td {
  height: 50px;
  padding: 0 10px;
  border-bottom: 1px solid #e3e9f1;
  text-align: center;
  white-space: nowrap;
}

.bcy-plan-table th {
  height: 44px;
  background: #f5f8fc;
  color: #34435c;
  font-weight: 600;
}

.bcy-plan-table th:first-child,
.bcy-plan-table td:first-child {
  width: 28px;
}

.bcy-plan-table th:nth-child(2),
.bcy-plan-table td:nth-child(2) {
  width: 170px;
  text-align: left;
}

.bcy-plan-table tbody tr {
  cursor: pointer;
  transition: background 0.15s ease;
}

.bcy-plan-table tbody tr:hover,
.bcy-plan-table tbody tr.active {
  background: #f0f5ff;
}

.bcy-plan-table tbody tr:last-child td {
  border-bottom: 0;
}

.bcy-radio-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1px solid #8795aa;
  border-radius: 50%;
  box-sizing: border-box;
}

.bcy-plan-table tr.active .bcy-radio-dot {
  border: 4px solid #2f7bff;
}

.bcy-plan-price {
  color: #ff5c35;
  font-weight: 600;
}

.bcy-plan-price small {
  font-size: 12px;
  font-weight: 400;
}

.bcy-table-empty {
  height: 120px !important;
  color: #96a1b2;
}

.bcy-plan-desc {
  margin: 11px 0 0;
  color: #6c7890;
  font-size: 13px;
}

.bcy-plan-desc strong,
.bcy-plan-desc a {
  color: #2f7bff;
  text-decoration: none;
}

.bcy-image-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bcy-image-grid > button {
  overflow: hidden;
  padding: 0;
  border: 1px solid #dfe6ef;
  border-radius: 3px;
  background: #fff;
  color: #4b576c;
  text-align: left;
  cursor: pointer;
}

.bcy-image-grid > button.active {
  border-color: #2f7bff;
  box-shadow: 0 0 0 1px #2f7bff inset;
}

.bcy-image-grid strong {
  display: block;
  padding: 12px 12px 9px;
  color: #36435a;
  font-size: 14px;
  font-weight: 500;
}

.bcy-image-grid > button.active strong {
  color: #2f7bff;
}

.bcy-image-grid select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 0;
  border-top: 1px solid #edf0f5;
  outline: 0;
  background: #fafbfd;
  color: #68758a;
  font-size: 12px;
}

.bcy-login-way {
  display: flex;
  margin-top: 22px;
  align-items: center;
  gap: 8px;
}

.bcy-login-way input,
.bcy-instance-name {
  height: 36px;
  padding: 0 12px;
  border: 1px solid #dce3ed;
  border-radius: 3px;
  outline: 0;
  box-sizing: border-box;
  color: #34435b;
}

.bcy-login-way input {
  width: 240px;
}

.bcy-system-tip {
  margin: 10px 0 0;
  color: #f05b49;
  font-size: 12px;
}

.bcy-duration-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bcy-duration-list button {
  min-width: 132px;
}

.bcy-instance-name {
  width: 250px;
  margin-top: 18px;
}

.bcy-qty-control {
  display: flex;
  margin-top: 16px;
  align-items: center;
}

.bcy-qty-control button,
.bcy-qty-control input {
  width: 42px;
  height: 34px;
  border: 1px solid #dfe5ee;
  background: #fff;
  color: #3d4b62;
  text-align: center;
  box-sizing: border-box;
}

.bcy-qty-control input {
  width: 58px;
  border-right: 0;
  border-left: 0;
  outline: 0;
}

.bcy-qty-control span {
  margin-right: 8px;
  color: #667287;
}

.bcy-tips-card dl {
  margin: 0;
  border: 1px solid #dfe5ed;
}

.bcy-tips-card dl > div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border-bottom: 1px solid #e6eaf0;
}

.bcy-tips-card dl > div:last-child {
  border-bottom: 0;
}

.bcy-tips-card dt,
.bcy-tips-card dd {
  margin: 0;
  padding: 12px 16px;
  line-height: 22px;
}

.bcy-tips-card dt {
  background: #f7f8fa;
  color: #4d596c;
  text-align: center;
}

.bcy-tips-card dd {
  color: #687489;
}

.bcy-quick-summary {
  position: sticky;
  z-index: 4;
  top: 78px;
  padding: 0 18px 20px;
  scroll-margin-top: 80px;
}

.bcy-summary-list p {
  display: grid;
  margin: 0;
  padding: 8px 0;
  grid-template-columns: 92px minmax(0, 1fr);
  color: #667286;
  font-size: 13px;
  line-height: 20px;
}

.bcy-summary-list b {
  color: #35425a;
  font-weight: 500;
  word-break: break-word;
}

.bcy-summary-total {
  margin-top: 14px;
  padding-top: 16px;
  border-top: 1px solid #e6ebf2;
}

.bcy-summary-total > span {
  display: block;
  color: #536078;
}

.bcy-summary-total > strong {
  display: block;
  margin-top: 10px;
  color: #ff5c35;
  font-size: 28px;
  font-weight: 600;
}

.bcy-summary-total > small {
  display: block;
  margin-top: 5px;
  color: #9aa4b4;
  line-height: 18px;
}

.bcy-buy-now {
  width: 100%;
  height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 3px;
  background: #397bff;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}

.bcy-buy-now:hover {
  background: #2869e9;
}

.bcy-buy-now:disabled {
  background: #a9c4f9;
  cursor: not-allowed;
}

.bcy-summary-error {
  margin: 12px 0 0;
  color: #f05b49;
  font-size: 12px;
  line-height: 19px;
}

@media screen and (max-width: 1180px) {
  .bcy-quick-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }

  .bcy-image-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media screen and (max-width: 900px) {
  .bcy-quick-layout {
    display: block;
  }

  .bcy-quick-summary {
    position: relative;
    top: auto;
    margin-top: 14px;
  }
}

@media screen and (max-width: 620px) {
  .bcy-quick-layout {
    width: calc(100% - 20px);
  }

  .bcy-quick-purchase-page .bcy-purchase-tabs b {
    display: none;
  }

  .bcy-quick-card {
    padding-right: 12px;
    padding-left: 12px;
  }

  .bcy-option-row {
    display: block;
  }

  .bcy-option-row > label {
    display: block;
    width: auto;
    margin-bottom: 8px;
  }

  .bcy-option-tip {
    margin-left: 0;
  }

  .bcy-option-list button {
    min-width: calc(50% - 4px);
  }

  .bcy-image-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bcy-login-way {
    flex-wrap: wrap;
  }

  .bcy-login-way input {
    width: 100%;
  }

  .bcy-tips-card dl > div {
    display: block;
  }

  .bcy-tips-card dt {
    text-align: left;
  }
}
