/* 商品订购页：把折叠的「订购时长」展开成一排可点周期。
   周期条走正常文档流，底栏随内容长高；内嵌页原有的 --k8-bar-space 会跟着量到新高度。 */
.k8-cycle-strip-on .f-order {
  height: auto !important;
  min-height: 1.2rem !important;
}
.k8-cycle-strip-on .f-order .l-empty {
  height: auto !important;
  min-height: 1.2rem !important;
  background: #fff;
}
.k8-cycle-strip-on .f-order .el-main {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  width: 100% !important;
  height: auto !important;
  overflow: visible !important;
  padding: 0 !important;
  margin: 0 !important;
}
.k8-cycle-strip-on .f-order .main-card {
  box-sizing: border-box;
  width: 100%;
  height: auto !important;
  padding: 0 20px 12px !important;
}
.k8-cycle-strip-on .order-right {
  height: auto !important;
  min-height: 1.2rem !important;
}
.k8-cycle-strip-on .order-right .f-box {
  flex-wrap: wrap !important;
  row-gap: 8px !important;
}
.k8-cycle-strip-on .f-box > .k8-cycle-strip {
  flex: 0 0 100%;
  order: -1;
  padding: 2px 0 8px;
  background: transparent;
}
.k8-cycle-strip-on .f-box .order-right-footer {
  height: auto !important;
  align-items: center;
}
.k8-cycle-strip-on .f-box .order-right-item {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}
.k8-cycle-strip-on .f-box .footer-total,
.k8-cycle-strip-on .f-box .f-btn {
  margin-top: 0 !important;
}
.k8-cycle-strip-on .k8-bar-duration.k8-cycle-hide {
  display: none !important;
}
.f-order .time.k8-cycle-hide {
  display: none !important;
}
.k8-cycle-strip {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 20px;
  width: 100%;
  background: #fff;
}
.k8-cycle-strip-label {
  flex: none;
  color: #6b7280;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}
.k8-cycle-options {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.k8-cycle-options::-webkit-scrollbar {
  display: none;
}
.k8-cycle-btn {
  appearance: none;
  -webkit-appearance: none;
  height: 32px;
  padding: 0 14px;
  border: 1px solid #dce3ee;
  border-radius: 6px;
  background: #f7f9fc;
  color: #374151;
  font-family: inherit;
  font-size: 12px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.k8-cycle-btn:hover {
  border-color: #9db9ff;
  background: #f2f6ff;
  color: #0056ff;
}
.k8-cycle-btn.is-active {
  border-color: #0056ff;
  background: #eef4ff;
  color: #0056ff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px #0056ff;
}
.k8-cycle-price {
  color: #8a93a3;
  font-size: 11px;
  font-weight: 500;
}
.k8-cycle-btn.is-active .k8-cycle-price {
  color: #0056ff;
}
.k8-cycle-badge {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  color: #ff6a00;
  background: #fff3e8;
  border-radius: 999px;
  padding: 2px 6px;
}
@media (max-width: 1200px) {
  .k8-cycle-strip {
    padding-left: 14px;
    padding-right: 14px;
  }
  .k8-cycle-strip-on .f-order .main-card {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}
@media (max-width: 900px) {
  .k8-cycle-strip {
    align-items: flex-start;
  }
  .k8-cycle-options {
    flex-wrap: wrap;
  }
  .k8-cycle-strip-on .f-order .main-card {
    flex-wrap: wrap;
    gap: 10px;
  }
}
