 /* WebKit 内核浏览器 */
 input[type="number"]::-webkit-inner-spin-button,
 input[type="number"]::-webkit-outer-spin-button {
     -webkit-appearance: none;
     margin: 0;
 }

 /* Mozilla Firefox 浏览器 */
 input[type="number"] {
     -moz-appearance: textfield;
 }

/*left menu start*/
.left-content {
  width: calc((100% + 32px) / 12 * 3 - 32px);
}

.left-content .c-accordion__tget.is-box__gray,
.left-content .c-accordion__tget.is-box__gray.is-open {
  margin-bottom: 0;
  padding: 0;
}

button{
  cursor: pointer;
}

button[disabled],.createQuoteNone {
  cursor: not-allowed !important;
}

.c-list-sidebar__item:first-of-type {
  border-top: 0px;
}

.c-list-sidebar__link.is-active {
  z-index: 1;
  color: #0a5cff;
  background-color: #ffffff;
}

/*left menu end*/

/*right content start*/
.content .right-content {
  order: 0;
}

/*cart-table start*/

.content .right-content .cart-table {
  border: 1px solid #d0d5dd;
  table-layout: auto;
  white-space: nowrap;
  margin-bottom: 4px;
}

.content .right-content .cart-table th,
.content .right-content .cart-table td {
  border: none;
  text-align: center;
}

.content .right-content .cart-table tr td {
  border-bottom: 1px solid #eee;
}

.cart-table th {
  white-space: nowrap;
  font-size: 14px;
}

.item-product {
  display: flex;
  justify-content: left;
}

.cart-table .item-productImg {
  width: 60px;
  height: 60px;
  /* background: #eee; */
  object-fit: contain;
}

.cart-table .item-productInfo{
  padding-left: 20px;
  text-align: left;
}

.cart-table .item-productInfo span, .cart-table .item-productInfo a{
  font-size: 1em;
  /*max-width: 20vw;*/
  display: inline-block;
  text-overflow: ellipsis;
  overflow: hidden;
}
.cart-table .minus,
.cart-table .plus {
  border-radius: 4px;
  width: 24px;
  height: 24px;
}

.cart-table .del-btn {
  background-color: #f2f4f7;
  font-size: 14px;
  padding: 4px 1em;
  border-radius: 4px;
}

.disabledProduct td,
.disabledProduct td a {
  color: #ddd;
}

.right-content .cartBottom {
  background: #f2f4f7;
  padding: 20px 10px;
  display: flex;
  justify-content: space-between;
  text-align: right;
}

.cartBottom button {
  background: transparent;
  padding-left: 20px;
}

.right-content .cartBottom .cartBottom-total {
  width: 200px;
  font-weight: bold;
  color: #0a5cff;
}

.right-content .cartBottom-button {
  display: flex;
  justify-content: flex-end;
  padding: 20px 0;
}

.right-content .cartBottom-button :first-of-type {
  background: none;
  color: #0a5cff;
}

.price-p span:nth-child(odd) {
  font-size: 14px;
  color: #525252;
}

.p-sec--company__contnt {
  width: calc((100% + 32px) / 12 * 12 - 32px) !important;
  padding-right: 0;
  flex: none;
}

.disabledDiv{
  display: flex;
  flex-direction: column;
}

.disabledDivTxt{
  width: 58px;
  margin-top: -22px;
  margin-left: 1px;
  font-size: 14px;
  background-color: #d0d5dd;
  color: #999;
}


.cart-table .quantity-controls .quantity{
  width: 50px;
  height: 24px;
  border: 1px solid #eee;
  text-align: center;
  margin: 0 4px;
  min-width: 24px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 14px 0;
}

#delete-selected{
  background: #fff;
  padding-left: 1em;
  color: #0a5cff;
}

input:focus{
  outline: none;
}

.table-div{
  width: 100%;
  overflow: auto;
  margin-bottom: 1em;
}

/* 模态框 */
.modal {
  display: none;
  position: fixed;
  z-index: 3;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  line-height: 0px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-txt-box {
  padding-bottom: 4em;
}

.modal-btn-box {
  display: flex;
  justify-content: space-around;
}

.modal-btn-box .close {
  font-size: 1em;
}

.cartBottom-button {
  display: flex;
  justify-content: end;
  padding: 20px 0;
}

.cartBottom-button .c-btn {
  font-size: 1em;
  padding: 15px 2em;
}

.modal-detail-item input {
  padding: 10px;
  width: 100%;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
}

.cartBottom-button .clearBtn {
  background-color: transparent;
  color: #0a5cff;
  font-size: 1em;
  padding: 15px 2em;
}

.cartBottom-button .clearBtn:hover {
  color: rgba(10 92 255 / 50%) !important;
}

.del-btn{
  background: none;

}

#top-select-all{
  visibility: hidden;
}

.allSelected-div .del-btn{
  margin-left: 1em;
  color: #0a5cff;
}


@media only screen and (min-width: 835px) {
  .p-sec--company .p-sec--company__contnt {
    width: calc((100% + 32px) / 12 * 12 - 32px) !important;
    padding-right: 0;
    flex: none;
  }

  #bottom-select-all{
    width: 48px;
  }

  .allSelected-div{
    margin-bottom: 10px;
  }

}

/* SP端 */
@media only screen and (max-width: 834px) {
  .disabledDiv {
    display: flex;
    flex-direction: column;
    margin-right: 7px;
  }

  .left-content {
    display: none;
  }

  .cart-table tr td :first-of-type {
  }

  .content .right-content .cart-table .checkbox-th {
    width: 10%;
  }

  .content .right-content .cart-table .info-th {
    width: 100%;
    text-align: left;
  }

  .content .right-content .cart-table .quantity-th {
    width: 30%;
  }

  .item-productInfoImg {
    display: flex;
  }

  .content .right-content .cart-table .item-productInfo {
    text-align: left;
    padding-left: 10px;
    display: inline-block;
    white-space: nowrap;
    width: 98%;
  }

  .content .right-content .cart-table .item-productInfo p {
    margin-top: 0;
    line-height: 1.6em;
  }


  .content .right-content .cart-table .item-productInfo-price {
    font-size: 14px;
    color: blue;
    font-weight: bold;
  }

  [class*="c-btn"] + [class*="c-btn"],
  .c-btn--iconwraper + [class*="c-btn"] {
    margin-left: 20px;
  }

  .right-content .cartBottom-button .c-btn {
    padding: 10px;
    width: 48%;
    margin-top: 0;
  }

  .right-content .cartBottom-button .c-btn :nth-of-type(2) {
    margin-left: 1em;
    margin-top: 0;
  }

  .cartBottom button {
    padding-left: 0;
  }

  .cartBottom .cartBottomCheckbox {
    text-align: left;
  }

  .cartBottom .cartBottomCheckbox button {
    padding-top: 20px;
  }

  .right-content .cartBottom-button {
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
  }

  .item-productInfo p a,
  .item-productInfo p span {
    white-space: break-spaces;
  }

  .item-productInfo p span:nth-child(even) {
    /*margin-left: 10px;*/
    font-weight: bold;
  }

  .cart-table .del-btn {
    float: right;
    color: #0a5cff;
  }

  .quantity-controls{
    padding: 4px 0;
  }

  .item-checkbox{
    margin-right: 0.8em;
  }

  .allSelected-div{
    padding: 4px 0 10px 0;
    display: flex;
    justify-content: left;
    align-items: center;
  }

  #bottom-select-all-sp{
    margin: 0 10px;
  }

  .item-productInfo p {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 5px 0; /* 根据需要调整行间距 */
  }

  .item-productInfo p span {
    display: inline-block;
    vertical-align: middle;
  }

  .item-productInfo p span:last-child {
    text-align: right;
    width: 100px; /* 或者您希望的其他宽度 */
  }

  .item-productInfo p span:first-child + span {
    vertical-align: middle;
  }

  .item-product {
    display: block;
    justify-content: left;
  }

}
