@charset "utf-8";
.p-products-user_custom-customize__modal__product-table{
  overflow: visible;
}

.p-products-user__custom-customize__select__product-img__wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.p-products-user__custom-customize__select__product-img--thumb .p-products-user__custom-customize__select__product-img__wrap {
  aspect-ratio: 1;
  height: auto;
}

.p-products-user__custom-customize__select__product-img__wrap>img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  margin-bottom: 30px;
}

.p-products-user__custom-customize__select__product-img__thumb-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 15px;
  padding-bottom: 30px;
}

.p-products-user__custom-customize__select__product-img__thumb {
  width: 70px;
  aspect-ratio: 1;
  border: 1px solid #ccc;
  cursor: pointer;
  overflow: hidden;
}

.p-products-user__custom-customize__select__product-img__thumb.is-active,
.p-products-user__custom-customize__select__product-img__thumb:hover {
  border-color: #7fa6d0;
  -webkit-box-shadow: 0 0 4px 0 rgba(127, 166, 208, .7);
  box-shadow: 0 0 4px 0 rgba(127, 166, 208, .7);
}

.p-products-user__custom-customize__select__product-img__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media screen and (min-width: 768px) {
  .p-products-user_custom-customize__modal__product-name{
    margin-bottom: 30px;
  }

  .p-products-user_custom-customize__modal__product{
    overflow-y: auto;
  }

  .p-products-user__custom-customize__select__product-img {
    -ms-grid-row: 1;
    -ms-grid-row-span: 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-area: 1/1/3/2;
    padding-right: 30px;
    width: 355px;
  }

  .p-products-user__custom-customize__select__product-img__wrap {
    height: 100%;
  }

  .p-products-user__custom-customize__select__product-table {
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    -ms-grid-column: 2;
    -ms-grid-column-span: 1;
    grid-area: 2/2/3/3;
    overflow-y: auto;
  }
}

@media screen and (max-width: 767px) {
  .p-products-user__custom-customize__select__product-img__thumb {
    width: calc((100% - 15px * 3) / 4);
  }
}