/* Discontinued page critical styles */
.c-kv__discontinued {
  display: flex;
  min-height: 300px;
  padding: 0 10px;
  background-color: #ededee;
}

.p-discontinued__table-wrap {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  --thead-h: 0px;
}

.p-discontinued__table {
  position: relative;
  width: 100%;
  max-height: 1200px;
  margin-bottom: 0;
  padding-bottom: 10px;
  overflow-x: auto;
  overflow-y: auto;
  white-space: normal;
  -webkit-overflow-scrolling: touch;
}

.p-discontinued__table th.season {
  position: sticky;
  left: 0;
  z-index: 40;
}

.p-discontinued__table td:nth-child(1) {
  position: sticky;
  left: 0;
  background: white;
  z-index: 5;
}

.p-discontinued__table::-webkit-scrollbar,
.table-scroll-top::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

.p-discontinued__table::-webkit-scrollbar-track,
.table-scroll-top::-webkit-scrollbar-track {
  background-color: #e4e4e4;
  border-radius: 100px;
}

.p-discontinued__table::-webkit-scrollbar-thumb,
.table-scroll-top::-webkit-scrollbar-thumb {
  background-color: #bcbcbc;
  border-radius: 100px;
}

.p-discontinued__table > table {
  width: max-content !important;
  max-width: 2400px !important;
  margin-bottom: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.p-discontinued__table > table thead th {
  position: sticky;
  top: 0;
  z-index: 30;
  background-clip: padding-box;
}

.p-discontinued__table > table thead th:first-child {
  left: 0;
  z-index: 50;
}

.table-scroll-top {
  display: block;
  visibility: visible;
  position: absolute;
  top: calc(var(--thead-h, 0px) - 1px);
  left: 0;
  right: 16px;
  width: calc(100% - 16px);
  z-index: 20;
  height: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  margin-bottom: 0;
  pointer-events: auto;
}

.table-scroll-top > div {
  height: 1px;
}

@media screen and (max-width: 767.9px) {
  .c-kv__discontinued {
    min-height: 225px;
  }
  .p-discontinued__table th.season {
    position: sticky;
  }

  .p-discontinued__table td:nth-child(1) {
    position: initial;
    background: inherit;
  }

  .p-discontinued__table > table thead th:first-child {
    left: auto;
  }
}
