#priceList .grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#priceList .card .body {
  flex-direction: column;
  align-items: stretch;
}

#priceList .card .cbuy {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

@media (max-width: 1080px) {
  #priceList .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  #priceList .grid {
    grid-template-columns: 1fr;
  }
  #priceList .card .body {
    flex-direction: row;
    align-items: center;
  }
  #priceList .card .cbuy {
    flex-direction: column;
    align-items: flex-end;
    margin-top: 0;
  }
}

.rc-modal-frame {
  display: block;
  width: 100%;
  border: 0;
  margin-top: 12px;
  visibility: hidden;
}

.rc-modal-frame[data-ready] {
  visibility: visible;
}

.rc-modal-status {
  min-height: 38px;
  margin: 12px 0 8px;
}

.rc-modal-status[hidden] {
  display: none;
}

.sheet:has(.rc-modal-frame) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-anchor: none;
}

#mLoginBody:has(.rc-modal-frame),
#mOrderBody:has(.rc-modal-frame) {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#mLoginBody:has(.rc-modal-frame) > h3,
#mOrderBody:has(.rc-modal-frame) > h3 {
  flex: none;
  padding-right: 48px;
  min-height: 32px;
}

.rc-modal-scroll {
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  overflow-anchor: none;
}
