/* venueBooking 购物车样式 — 参照 scanOrder/Cart 的遮罩 + 抽屉模式 */

.pisell-venue-booking-cart-mask {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(16, 24, 40, 0.45);
}

.pisell-venue-booking-cart-drawer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 91;
  max-height: 95%;
  border-radius: 16px 16px 0 0;
  background: #fff;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.pisell-venue-booking-cart-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px 6px;
  cursor: pointer;
}

.pisell-venue-booking-cart-handle {
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: #d0d5dd;
}

.pisell-venue-booking-cart-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 12px 16px;
}

.pisell-venue-booking-cart-drawer-summary {
  flex-shrink: 0;
  padding: 12px 16px 0;
  border-top: 1px solid #eaecf0;
  background: #fff;
}

.pisell-venue-booking-cart-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 20px;
  border-top: 1px solid #eaecf0;

  .pisell-lowcode-btn {
    min-width: 140px;
    height: 48px;
    padding: 0 20px;
    font-size: 16px;
  }
}

.pisell-venue-booking-cart-total {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.pisell-venue-booking-cart-total-label {
  color: #101828;
  font-size: 14px;
  line-height: 20px;
}

.pisell-venue-booking-cart-total-amount {
  color: #e77d75;
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}

.pisell-venue-booking-cart-embedded-footer {
  padding: 12px 16px 20px;
  border-top: 1px solid #eaecf0;
  background: #fff;

  .pisell-lowcode-btn-block {
    margin-top: 12px;
  }
}

.pisell-venue-booking-cart-empty {
  color: #667085;
  text-align: center;
  padding: 24px 0;
}

/* 移动端内嵌模式适配 */
.pisell-venue-booking-content-body--mobile {
  .pisell-venue-booking-cart-body {
    padding-bottom: 96px;
  }

  .pisell-venue-booking-cart-embedded-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    box-shadow: 0 -4px 10px rgba(16, 24, 40, 0.06);
  }
}