.pisell-big-sale-time-bar {
  position: absolute;
  right: var(--pisell-big-sale-sale-detail-width, 420px);
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 8px;
  background-color: #fff;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);

  button {
    flex-shrink: 0;
  }
}

.pisell-big-sale-time-bar__scroll {
  flex: 1 1 auto;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;

  &::-webkit-scrollbar {
    display: none;
  }
}

.pisell-big-sale-time-bar__scroll-content {
  display: flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-width: 100%;
  gap: 16px;
  box-sizing: border-box;
}

.pisell-big-sale-time-bar__picker--selected {
  .pisell-lowcode-picker,
  .pisell-lowcode-select {
    background-color: #000 !important;

    input,
    .pisell-lowcode-picker-suffix,
    .pisell-lowcode-select-selection-item,
    .pisell-lowcode-select-arrow {
      color: #fff !important;
    }
  }
}

.pisell-big-sale-time-bar__date-picker {
  width: 220px;
  flex-shrink: 0;
}

.pisell-big-sale-time-bar__time-picker {
  flex-shrink: 0;
}

.pisell-big-sale-time-bar__collapse {
  flex-shrink: 0;
  margin-left: 8px;
}

.pisell-big-sale-time-bar--collapsed {
  right: auto;
  padding: 0;
  background-color: transparent;
  box-shadow: none;
}

.pisell-big-sale-time-bar__collapsed-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0 16px;
  overflow: hidden;
  background-color: #fff;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 1px 2px 0 rgba(16, 24, 40, 0.05);
  box-sizing: border-box;
}

.pisell-big-sale-time-bar__collapsed-date {
  flex-shrink: 0;
  margin-right: 16px;
  color: #000;
  font-size: 18px;
  font-weight: 600;
}

.pisell-big-sale-time-bar__collapsed-expand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  height: auto;
  margin: 0;
  padding: 0;
  color: #7f56da;
  font-size: 18px;
  font-weight: 500;

  &:hover {
    color: #6941c6;
  }

  span {
    margin-right: 2px;
  }
}

.pisell-big-sale-time-bar-drawer-phone {
  .pisell-lowcode-drawer-body {
    padding: 0;
  }
}

.pisell-big-sale-time-bar-phone {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px calc(16px + env(safe-area-inset-bottom));
  background-color: #fff;
}

.pisell-big-sale-time-bar-phone__nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pisell-big-sale-time-bar-phone__field {
  flex: 1 1 auto;
  min-width: 0;

  .pisell-lowcode-picker,
  .pisell-lowcode-select {
    width: 100%;
  }
}
