﻿.sam-product-inquiry-table .product-inquiry-table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 0.55rem;
}

.sam-product-inquiry-table .product-inquiry-table th {
  background: #b7d2ef;
  text-align: left;
  padding: 0.16rem;

  font-style: normal;
  font-weight: 600;
  font-size: 0.18rem;
  line-height: 0.3rem;
  color: #000000;
}

.sam-product-inquiry-table .sam-table-wrapper {
  overflow: inherit;
}

.sam-product-inquiry-table .product-inquiry-table tr:nth-child(odd) {
  background-color: #f2f2f2;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-of-type(n + 3) {
  text-align: center;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(4) {
  text-align: left;
  padding-left: 0.3rem;
}

.sam-product-inquiry-table .product-inquiry-table td {
  padding: 0.16rem;

  font-style: normal;
  font-weight: 400;
  font-size: 0.18rem;
  line-height: 0.3rem;
  color: #000000;
}

.sam-product-inquiry-table .product-inquiry-table td:last-child {
  text-align: center;
}

.sam-product-inquiry-table .product-inquiry-table th:first {
  width: 20%;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(2) {
  width: 35%;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(3) {
  width: 15%;
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(4) {
  /* width: 15%; */
}

.sam-product-inquiry-table .product-inquiry-table th:nth-child(5) {
  /* width: 17% */
}

.sam-product-inquiry-table .sam-delete-icon {
  cursor: pointer;
  width: 0.24rem;
  height: 0.24rem;
}

.number-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.number-input button {
  width: 0.4rem;
  height: 0.4rem;
  border: none;
  cursor: pointer;
  font-size: 0.3rem;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.number-input input[type='number'] {
  width: 0.72rem;
  height: 0.45rem;
  text-align: center;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  background-color: #b7d2ef;
  border-radius: 0.06rem;
  font-style: normal;
  font-weight: 400;
  font-size: 0.18rem;
  line-height: 0.3rem;
  color: #000000;
}

.number-input input[type='number']::-webkit-inner-spin-button,
.number-input input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.unit-select {
  display: flex;
  position: relative;
}

.unit-select input {
  width: 0.72rem;
  height: 0.45rem;
  text-align: center;
  background-color: #b7d2ef;
  cursor: pointer;
  border-radius: 0.06rem;
  font-style: normal;
  font-weight: 400;
  font-size: 0.18rem;
  line-height: 0.3rem;
  color: #000000;
}

.unit-select .select-icon {
  width: 0.4rem;
  height: 0.4rem;
  background-color: transparent;
}

.unit-select .select-icon img {
  width: 0.16rem;
  height: 0.16rem;
}

.unit-select .unit-select-content {
  width: 1.7rem;
  background: #ffffff;
  box-shadow: 0px 2px 6px 0px #00000040;
  border: 1px solid #b7b7b7;
  z-index: 11;
  top: 0.6rem;
  left: -45px;
}

.unit-select .unit-select-content li {
  padding: 0 0.15rem;
  height: 0.38rem;
  text-align: center;
  line-height: 0.38rem;
  /* padding-left: 0.68rem; */
  /* text-align: center; */
  cursor: pointer;
}

.unit-select .unit-select-content {
  display: none;
  position: absolute;
}

.unit-select .unit-select-content li:hover {
  background-color: #b7d2ef;
  color: #fff;
}

.sam-product-inquiry-list {
  display: none;
}

.product-list-item {
  display: flex;
  flex-direction: column;
  min-height: 1.62rem;
  padding: 0.22rem 0.14rem;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid #b5b5b5;
  background: #fff;
  margin-bottom: 0.24rem;
}

.product-list-item .product-image img {
  width: 1.07rem;
  height: 0.71rem;
  cursor: pointer;
}

.product-list-item .product-info .product-title {
  color: #2f67b3;
  font-family: NunitoSans;
  font-size: max(0.2rem, 18px);
  font-style: normal;
  font-weight: 800;
  line-height: 140%;
  text-transform: capitalize;
  min-width: 6.02rem;
  margin-bottom: 0.12rem;
}

.product-features .feature-card {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.08rem;
  margin-bottom: 0.15rem;
}

.product-features .feature-card .feature-title {
  color: #333;
  font-family: NunitoSans;
  font-size: max(0.18rem, 15px);
  font-style: normal;
  font-weight: 800;
  line-height: 133.333%;
}

.product-features .feature-card .feature-value {
  color: #595959;
  font-family: NunitoSans;
  font-size: max(0.18rem, 15px);
  font-style: normal;
  font-weight: 400;
  line-height: 133.333%;
}

.product-remove {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 0.45rem;
  cursor: pointer;
}

/* 单位下拉 */
.product-num {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: -webkit-fill-available;
}

.product-num .product-num-container {
  display: flex;
  height: 0.45rem;
}

.product-title-container {
  display: flex;
  align-items: center;
  height: 100%;
  cursor: pointer;
  min-width: 0.62rem;
}

.product-title-container .product-title {
  font-family: 'NunitoSans';
  font-weight: 500;
  font-size: 18px;
  line-height: 0.27rem;
  color: #333333;
  flex: 1;
  text-align: center;
}

.unit-select-container {
  position: absolute;
  width: 100%;
}

.product-unit {
  position: relative;
}

.unit-select-container .unit-dropdown-menu {
  box-shadow: 0px 1px 4px 0px #00000029;
  background: #ffffff;
  overflow: hidden;
  transition: height 0.3s ease; /* 动画过渡效果 */
  position: relative;
  z-index: 10;
}

.unit-select-container .unit-dropdown-menu .unit-dropdown-item {
  padding: 0.05rem 0.1rem;
  text-align: center;
  transition: all 0.3s;
}

.unit-select-container .unit-dropdown-menu .unit-dropdown-item:hover {
  background-color: #eaf4ff;
  cursor: pointer;
}

.product-list-item .product-main-info {
  display: flex;
  min-height: 1.22rem;
  margin-bottom: 0.18rem;
  gap: 0.1rem;
}

.product-bundle-right {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.product-bundle-unit-right {
  display: flex;
  flex: 1;
  justify-content: space-between;
  align-items: center;
}

.file-upload-container {
  margin-top: 0.52rem;
  position: relative;
  width: max-content;
}

.file-upload-container .upload-files {
  position: absolute;
  width: 3.58rem;
  right: 0;
  min-height: 1.73rem;
  height: 100%;
  border-radius: 0.15rem;
  padding: 0.17rem;
  background: #fff;
  box-shadow: 1px 3px 4px 0px #00000040;
  /* display: flex; */
  flex-direction: column;
  gap: 0.16rem;
  z-index: 10;
  overflow: auto;
  display: none;
}

.file-upload-container .upload-files .upload-file-item {
  padding: 0.05rem;
  display: flex;
  gap: 0.1rem;
  align-items: center;
  height: 0.35rem;
  cursor: pointer;
  transition: all 0.3s;
  border-radius: 0.05rem;
  justify-content: space-between;
}

.file-upload-container .upload-files .upload-file-item .file-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-icon-container {
}

.file-upload-container .upload-files .upload-file-item:hover {
  background-color: #e2e2e2;
}

.file-upload-container .upload-files .upload-file-item:hover .result-icon {
  background-image: url(../png/i-closez9gb.png);
}

.file-result-icon {
  width: 0.2rem;
  height: 0.2rem;
}

.file-result-icon .file-icon {
  width: 100%;
  height: 100%;
  background-image: url(../png/i-pngpn93.png);
  background-size: 100%;
  background-repeat: no-repeat;
}

.file-result-icon .result-icon {
  width: 100%;
  height: 100%;
  background-image: url(../png/i-successh1nv.png);
  background-size: 100%;
  background-repeat: no-repeat;
}

.file-upload-container .form_btn_blue {
  background: #3882d4;
  color: #fff;
  border-radius: 0.1rem;
  font-family: 'NunitoSans';
  font-weight: 500;
  font-size: max(0.18rem, 18px);
  padding: 0.05rem 0.1rem;
  cursor: pointer;
  border: 0.01rem solid #3882d4;
}

.file-upload-container .form_btn_blue:hover {
  border: 0.01rem solid #2f67b3;
  color: #2f67b3;
  background: #fff;
}

.file-upload-container:hover .upload-files {
  display: flex !important;
}

.product-bundle-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.2rem;
}

.product-bundle-container .product-bundle-item {
  display: flex;
  min-height: 1.42rem;
  padding: 0.16rem 0.13rem;
  align-items: flex-start;
  align-self: stretch;
  border-radius: 8px;
  border: 1px solid #b5b5b5;
  background: #fff;
  gap: 0.1rem;
}

.product-bundle-img {
  width: 1.07rem;
  height: 0.71rem;
}

.product-bundle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-bundle-title {
  font-family: NunitoSans;
  font-size: max(0.2rem, 18px);
  font-style: normal;
  font-weight: 800;
  line-height: 140%;
  text-transform: capitalize;
  min-width: 6.02rem;
  margin-bottom: 0.2rem;
}

.product-bundle-container .product-bundle-item input[type='number'] {
  width: 0.9rem;
  border-bottom: 0.01rem solid;
  text-align: center;
  font-family: NunitoSans;
  font-weight: 500;
  font-size: max(0.2rem, 18px);
  color: #333;
}

.product-bundle-unit-container {
  height: 0.39rem;
  display: flex;
  gap: 0.4rem;
}

.product-bundle-unit-container .product-bundle-size {
  display: flex;
  display: flex;
  gap: 0.05rem;
  align-items: center;
  height: 100%;
}

.product-bundle-size-title {
  font-family: NunitoSans;
  font-weight: 500;
  font-size: max(0.2rem, 18px);
  color: #333;
}

.product-bundle-unit-container .product-bundle-unit-left {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 5.58rem;
}

.bundle-file-container {
  margin-top: 0rem;
}

.sam-form-inquiry .form-content .form-item #comments {
  height: 1.25rem !important;
  width: 100% !important;
  border: 0.01rem solid #868686;
  border-radius: 0.06rem;
  font-style: normal;
  font-weight: 400;
  font-family: NunitoSans;
  font-size: max(0.18rem, 18px);
  margin-top: 0.15rem;
}

.prompt-message-tips {
  font-family: NunitoSans;
  font-weight: 500;
  font-size: max(0.18rem, 18px);
  line-height: 0.27rem;
  color: #b5b5b5;
  margin-left: 0.33rem;
}

.sam-form-inquiry .form-content .tip {
  font-family: NunitoSans;
  font-weight: 500;
  font-size: max(0.18rem, 18px);
  color: #595959;
  /* 不换行 */
  white-space: normal;
  margin: 0.15rem 0;
}

/* 小屏pc */
@media screen and (max-width: 1400px) {
  .sam-form-inquiry .email-notice {
    font-size: max(16px, 0.16rem);
  }
  .prompt-message-tips {
    font-size: 14px;
  }
  .sam-product-inquiry-table .product-inquiry-table th {
    font-size: 15px;
  }

  .sam-product-inquiry-table .product-inquiry-table td {
    font-size: 14px;
  }

  .number-input button {
    width: 0.2rem;
    height: 0.2rem;
  }

  .number-input input[type='number'] {
    font-size: 15px;
  }
}

@media screen and (max-width: 1025px) {
  .sam-form-inquiry .form-content .form-item .form-upload .upload-box p {
    display: none;
  }

  .sam-form-inquiry .form-content .tip {
    white-space: normal;
  }

  .file-upload-container .upload-files {
    right: unset;
  }

  .unit-select-container .unit-dropdown-menu .unit-dropdown-item {
    font-size: max(0.12rem, 12px);
  }

  .product-bundle-container .product-bundle-item {
    flex-direction: column;
  }
  .product-bundle-title {
    margin-bottom: 0;
    gap: 0.26rem;
  }

  .product-bundle-unit-container {
    flex-direction: column;
    height: max-content;
    width: 100%;
    gap: 0.32rem;
  }

  .product-bundle-container
    .product-bundle-item
    .product-bundle-title-container {
    display: flex;
    gap: 0.18rem;
    width: 100%;
  }

  .product-bundle-title {
    min-width: 100%;
  }

  .sam-product-inquiry-table {
    display: none;
  }

  .sam-product-inquiry-list {
    display: block;
    margin-top: 0.5rem;
  }

  .sam-product-inquiry-list .number-input input {
    width: 0.66rem;
    background: #b7d2ef;
    margin-left: 0.12rem;
    margin-right: 0.12rem;
  }

  .sam-product-inquiry-list {
    background: white;
  }

  .product-mobile-card-item {
    width: 100%;
    height: 100%;
    margin-bottom: 0.36rem;
  }

  .product-mobile-card-item .mobile-product-image img {
    width: 100%;
  }

  .sam-product-inquiry-list h1 {
    color: #333;
    font-family: NunitoSans;
    font-size: 0.36rem;
    font-style: normal;
    font-weight: 800;
    line-height: 116.667%;
    text-transform: capitalize;
    margin-bottom: 0.42rem;
  }

  .mobile-product-title {
    color: #2f67b3;
    /* 移动端H2 */
    font-family: NunitoSans;
    font-size: 0.36rem;
    font-style: normal;
    font-weight: 800;
    line-height: 183.333%;
    text-transform: uppercase;
    margin-top: 0.25rem;
    margin-bottom: 0.3rem;
  }

  .mobile-feature-card {
    color: #595959;
    font-family: NunitoSans;
    font-size: 0.32rem;
    font-style: normal;
    font-weight: 400;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.06rem;
  }

  .mobile-feature-card .mobile-feature-title {
    font-weight: 800;
  }

  .product-mobile-list-item {
    margin-bottom: 0.36rem;
  }

  .file-upload-container {
    margin-top: 0rem;
  }

  .mobile-feature-handle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .sam-product-inquiry-list .mobile-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.12rem;
  }

  .sam-product-inquiry-list .mobile-nav {
    color: #8a8a8a;
    text-align: center;
    font-family: NunitoSans;
    font-size: 0.24rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.42rem;
  }

  .sam-product-inquiry-list .active-mobile-nav {
    color: #2f67b3;
  }
}

