.p-goods-list .p-goods-list__item {
  position: relative;
}
.p-goods-list .p-goods-list__item .p-goods-list__name {
  padding: 0;
  font: inherit;
  color: inherit;
  text-align: left;
  background: none;
  border: none;
  outline: none;
}
.p-goods-list .p-goods-list__item .p-goods-list__name::before {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  content: "";
}

.p-goods-modal__content-outer {
  width: calc(100vw - 30px);
  padding: 10px;
}
.p-goods-modal__content-outer .p-goods-modal__content-inner {
  max-height: calc(100vh - 250px);
  max-height: calc(var(--vh, 1vh) * 100 - 250px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #2D639D;
}
.p-goods-modal__content-outer .p-goods-modal__content-inner::-webkit-scrollbar {
  width: 4px;
}
.p-goods-modal__content-outer .p-goods-modal__content-inner::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 10px;
}
.p-goods-modal__content-outer .p-goods-modal__content-inner::-webkit-scrollbar-thumb {
  background-color: #2D639D;
  border-radius: 10px;
}
.p-goods-modal__content-outer .p-goods-modal__content-inner .p-goods-modal__image {
  width: 80%;
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.p-goods-modal__content-outer .p-goods-modal__content-inner .p-goods-modal__image .p-goods-modal__image-src {
  width: 100%;
  height: auto;
}
@media print, screen and (min-width: 768px) {
  .p-goods-modal__content-outer {
    width: auto;
    padding: 20px;
  }
  .p-goods-modal__content-outer .p-goods-modal__content-inner {
    max-height: calc(100vh - 250px);
    max-height: calc(var(--vh, 1vh) * 100 - 250px);
  }
}