/* 套餐筛选面板 */
.pkg-mask {
  display: none;
  position: fixed;
  z-index: 140;
  background: rgba(0, 0, 0, 0.45);
  bottom: 0;
}

.pkg-mask.show {
  display: block;
}

.pkg-panel {
  display: none;
  position: fixed;
  z-index: 151;
  background: #fff;
  height: 420px;
  flex-direction: column;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.pkg-panel.show {
  display: flex;
}

.pkg-panel-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 16px 16px 8px;
}

.pkg-section + .pkg-section {
  margin-top: 20px;
}

.pkg-section-title {
  font-size: 15px;
  font-weight: 600;
  color: #111;
  margin-bottom: 12px;
}

.pkg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pkg-tag {
  padding: 8px 14px;
  font-size: 13px;
  color: #333;
  background: #f5f5f5;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  line-height: 1.3;
  text-align: center;
}

.pkg-tag:active {
  opacity: 0.85;
}

.pkg-tag.active {
  color: #e60012;
  background: #fff5f5;
  border-color: #e60012;
}

.pkg-panel-footer {
  display: flex;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #f0f0f0;
  background: #fff;
  flex-shrink: 0;
}

.pkg-btn {
  flex: 1;
  height: 44px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.pkg-btn-reset {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
}

.pkg-btn-reset:active {
  background: #fafafa;
}

.pkg-btn-confirm {
  background: #e60012;
  color: #fff;
  border: none;
}

.pkg-btn-confirm:active {
  opacity: 0.9;
}

.filter-item[data-filter="filter"].active-filter,
.filter-item[data-filter="filter"].filter-open {
  color: #e60012;
}

.filter-item[data-filter="filter"].filter-open svg,
.filter-item[data-filter="filter"].active-filter svg {
  color: #e60012;
}

body.pkg-panel-open {
  overflow: hidden;
}

body.pkg-panel-open .tab-bar {
  z-index: 140;
}
