.big-sale-dialog-modal {
  max-width: 100% !important;
  height: 99% !important;

  .pisell-lowcode-modal-content {
    height: 99% !important;
    max-height: 99% !important;
  }

  .pisell-big-sale {
    overflow: hidden;
  }

  .pisell-lowcode-modal-close {
    display: none;
  }
}

.big-sale-dialog-drawer-phone {
  height: 100%;

  .pisell-big-sale {
    height: 100%;
    overflow: hidden;
  }
}

.big-sale-dialog-modal,
.big-sale-dialog-drawer-phone-root {
  .pisell-big-sale--dialog-host {
    height: 100%;
    min-height: 0;

    &.pisell-big-sale--phone {
      min-height: 0;
      height: 100%;
    }

    .pisell-big-sale__sale-detail {
      background: #181818;
    }

    .pisell-big-sale__sale-detail .big-sale-dialog-header-bar {
      position: relative;
      z-index: 20;
      flex: 0 0 auto;
      box-sizing: border-box;
      margin-bottom: 8px;
      padding: 0 6px;
      background: #181818;
    }

    .pisell-big-sale__sale-detail--has-header {
      .pisell-sale-detail-tmpl-a .pisell-sale-detail-main {
        padding-top: 0;
      }
    }

    .big-sale-dialog-overlay {
      position: absolute;
      inset: 0;
      z-index: 10;
      padding: 24px;
      background: #fff;
    }
  }
}

.big-sale-dialog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
}

.big-sale-dialog-header-bar__content {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  gap: 4px;
}

.big-sale-dialog-header-bar__order-id {
  min-width: 0;
  overflow: hidden;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 22px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.big-sale-dialog-header-bar__close {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  margin: -6px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  font-size: 20px;
}

.big-sale-dialog-header-bar--phone {
  .big-sale-dialog-header-bar__order-id {
    font-size: 18px;
    line-height: 24px;
  }
}
