/* 同程风格团期选择器 - 修复版 */
/* 整体容器 */
.tuanqi-tc-wrapper {
  position: relative;
  width: 100%;
  min-height: 6rem;
  background: #fff;
  padding: 0.5rem 0;
  box-sizing: border-box;
  overflow: visible;
}
/* 左侧标签 */
.tuanqi-tc-left {
  float: left;
  width: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.5rem;
}
.tuanqi-tc-label {
  display: flex;
  justify-content: center;
  align-items: center;
  writing-mode: vertical-rl;
  text-orientation: upright;
  font-size: 0.6875rem;
  color: #666;
  font-weight: 500;
  background-color: #f5f5f5;
  padding-right: 0.25rem;
  padding-left: 0.2rem;
  border-radius: 0.25rem;
  width: fit-content;
  height: 4.8rem;
}
/* 中间滑动区域 */
.tuanqi-tc-center {
  float: left;
  width: calc(100% - 3.5rem);
  height: 5rem;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  scrollbar-width: none;
  margin: 0 0.5rem;
  padding-top: 0.5rem;
}
.tuanqi-tc-center::-webkit-scrollbar {
  display: none;
}
/* 团期卡片 */
.tuanqi-tc-card {
  display: inline-block;
  width: 4.375rem;
  height: 4.8rem;
  margin: 0 0.1875rem;
  padding: 0.625rem 0.3125rem 0.375rem 0.3125rem;
  background: #f5f5f5;
  border: 0.0625rem solid #f5f5f5;
  border-radius: 0.25rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  line-height: 1.15;
  vertical-align: top;
  box-sizing: border-box;
}
.tuanqi-tc-card:first-child {
  margin-left: 0.1875rem;
}
.tuanqi-tc-card:last-child {
  margin-right: 0.1875rem;
}
/* 选中 - 边框粗细不变，只改颜色 */
.tuanqi-tc-card.active {
  background: #eefcf4;
  border-color: #00c795;
  border-width: 0.0625rem;
  padding: 0.625rem 0.3125rem 0.375rem 0.3125rem;
}
.tuanqi-tc-card.active::after {
  content: '';
  position: absolute;
  bottom: 0rem;
  right: 0rem;
  width: 0.75rem;
  height: 0.75rem;
  background: #00c795 url(/skin/phone/images/gou.png) center center no-repeat;
  background-size: 60% auto;
  border-bottom-right-radius: 0.2rem;
  border-top-left-radius: 0.25rem;
}
/* 不可用 */
.tuanqi-tc-card.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
/* 节假日标签 */
.tuanqi-tc-festival {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.6875rem;
  padding: 0.125rem 0.3125rem;
  border-radius: 0.1875rem;
  white-space: nowrap;
  z-index: 10;
  font-weight: 500;
}
.tuanqi-tc-festival.red {
  color: #ff6600;
  background: #fff5f0;
}
.tuanqi-tc-festival.green {
  color: #00c795;
  background: #f0fff9;
}
/* 星期 */
.tuanqi-tc-weekday {
  font-size: 0.6875rem;
  color: #666;
  margin-bottom: 0.125rem;
  margin-top: 0.25rem;
  font-weight: 400;
}
/* 日期 */
.tuanqi-tc-date {
  font-size: 1rem;
  color: #333;
  margin-bottom: 0.125rem;
  font-weight: 700;
  letter-spacing: 0.03125rem;
}
.tuanqi-tc-date .month {
  font-size: 1rem;
  font-weight: 700;
}
.tuanqi-tc-date .separator {
  font-size: 0.875rem;
  margin: 0 0.0625rem;
  color: #999;
}
.tuanqi-tc-date .day {
  font-size: 1rem;
  font-weight: 700;
}
/* 价格 */
.tuanqi-tc-price {
  font-size: 0.9rem;
  color: #ff6600;
  font-weight: 700;
}
.tuanqi-tc-price .currency {
  font-size: 0.6875rem;
  margin-right: 0.0625rem;
}
.tuanqi-tc-price .unit {
  font-size: 0.5625rem;
  font-weight: 400;
  margin-left: 0.0625rem;
}
/* 右侧更多按钮 */
.tuanqi-tc-right {
  float: right;
  width: 1.5rem;
  height: 4.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding-top: 0.5rem;
}
.tuanqi-tc-right:hover {
  background: #f5f5f5;
}
.tuanqi-tc-more {
  text-align: center;
  background-image: url(/skin/phone/images/gengduobanqi.png);
  background-repeat: no-repeat;
  background-position: center center; /* 水平 + 垂直 居中 */
  background-size: 90% auto; /* 保持原图大小 */
  width: 100%;
  height: 4.8rem;
  margin-right: 0.2rem;
}
.tuanqi-tc-more-icon {
  font-size: 1.125rem;
  display: block;
  margin-bottom: 0.125rem;
}
.tuanqi-tc-more-text {
  font-size: 0.6875rem;
  color: #666;
  line-height: 0.8;
  font-weight: 500;
}
/* 清除浮动 */
.tuanqi-tc-wrapper::after {
  content: '';
  display: table;
  clear: both;
}
/* 暂无团期空卡片样式 */
.tuanqi-empty-card {
  display: inline-block !important;
  width: 4.375rem !important;
  height: 4.8rem !important;
  margin: 0 0.1875rem !important;
  padding: 0.625rem 0.3125rem !important;
  background: #f5f5f5 !important;
  border: 0.0625rem dashed #f5f5f5 !important;
  border-radius: 0.25rem !important;
  text-align: center !important;
  cursor: default !important;
}
.tuanqi-empty-year {
  font-size: 0.75rem !important;
  color: #999 !important;
  margin-bottom: 0.25rem !important;
  font-weight: 500 !important;
}
.tuanqi-empty-month {
  font-size: 0.9rem !important;
  color: #000 !important;
  margin-bottom: 0.4rem !important;
  font-weight: 700 !important;
}
.tuanqi-empty-text {
  font-size: 0.75rem !important;
  color: #ff6600 !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
}
.tuanqi-tc-card {
  width: 4.375rem;
  height: 4.8rem;
}
.tuanqi-tc-date {
  font-size: 0.9375rem;
}
}