.product-info {
  display: flex;
  padding-bottom: 100px;
}

.product-details {
  padding-left: 55px;
  padding-right: 15px;
  flex: 0 0 50%;
  max-width: 50%;
  transition: all 0.3s;
}

.product-desc {
  margin-top: 8px;
  color: #666;
  font-size: 15px;
}

.product-variant {
  margin-top: 20px;
}

product-media {
  position: relative;
  z-index: 2;
}

.product-details .product-info-price {
  display: flex;
  align-items: baseline;
  margin-top: 8px;
  gap: 16px;
}

.product-details .compare-price {
  text-decoration: line-through;
  color: #999;
  font-size: 14px;
  font-weight: 500;
}

.product-details-sticky {
  position: sticky;
  top: 30px;
}

@keyframes active_with {
  0% {
    width: 0;
  }

  100% {
    width: calc(100% - 10px);
  }
}

.product-mult-description {
  border: 1px solid #ebebeb;
}

.product-mult-description .collection__tabs {
  display: flex;
  margin: 0 38px;
  gap: 50px;
}

.collection__tabs-item {
  display: block;
  cursor: pointer;
  position: relative;
  padding: 15px 0;
  line-height: 30px;
  font-size: 18px;
  font-weight: 600;
}

.collection__tabs-item-active {
  color: #1a1a1a;
}

.collection__tabs-item:hover {
  color: rgba(var(--color-button-background));
}

.collection__tabs-item-active::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  background-color: #000;
  height: 2px;
  animation: active_with 0.3s ease-in-out;
}

collection-tabs .richtext {
  padding: 35px;
  border-top: 1px solid #ebebeb;
}

.card .product__item__button {
  display: none;
}

.product__item__image img {
  border-bottom: none;
}

.product-form__item--quantity {
  display: flex;
  gap: 46px;
}

.product-form__item--submit {
  display: flex;
  flex: 1;
}

.product-form__item--submit button {
  width: 100%;
  height: 50px;
  --color-button-background: 0, 0, 0;
}

.product-contact-us button,
.product-by-now button {
  width: 100%;
  height: 50px;
}

button.loading {
  color: transparent;
  position: relative;
  pointer-events: none;
}

button.loading .loading__spinner {
  display: block !important;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  color: white;
  margin-top: 2px;
}

.product-by-now button .loading__spinner {
  color: white;
}

.product-by-now svg {
  margin-top: 4px;
}

button.loading .spinner .path {
  stroke: currentColor;
}

.product-form-error-message-wrapper svg {
  width: 18px;
  height: 18px;
}

.product-form-error-message-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #1a1a1a;
  font-weight: 400;
  margin-bottom: 10px;
}

.hidden {
  display: none !important;
}

.product-title {
  font-size: 28px;
  font-weight: 700;
}

.stars {
  margin-top: 8px;
  display: flex;
  gap: 1px;
}

.product-price {
  font-size: 24px;
  font-weight: 700;
  color: #eb4025;
}

.product-modal-list {
  display: flex;
  padding-bottom: 16px;
  border-bottom: 1px solid #ccc;
}

.product-ask,
.product-share {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #999999;
  margin-right: 28px;
  cursor: pointer;
  gap: 5px;
}

.product-stock-tips {
  margin-top: 16px;
  font-size: 15px;
}

.product-stock-tips .tips span {
  color: #ff392c;
}

.product-stock-tips .progress {
  background-color: #dddddd;
  position: relative;
  display: block;
  height: 2px;
  margin-top: 8px;
}

.progress div {
  position: absolute;
  left: 0;
  top: -1.5px;
  right: 0;
  background: #ff392c;
  height: 5px;
}

#product-form-main-product {
  margin-top: 24px;
}

#product-form-main-product .quantity-input {
  border: 1px solid #dddddd;
  background-color: #f5f5f5;
  border-radius: 21px;
  /* width: 108px; */
  /* height: 42px; */
}

#product-form-main-product #quantity {
  background-color: transparent;
}

.product-by-now {
  margin-top: 24px;
  height: 42px;
}

.product-conditions {
  display: flex;
  gap: 5px;
  font-size: 15px;
  align-items: center;
  margin-top: 16px;
}

.product-conditions a {
  font-weight: 500;
}

.product-conditions input {
  width: 14px;
  height: 14px;
  cursor: pointer;
  border-radius: 0;
}

.product-conditions span {
  color: #999;
}

.quantity__button svg {
  width: 1.3rem;
}

.product-detail__meta {
  padding: 0;
  margin-top: 20px;
  list-style: none;
  font-size: 15px;
}

.product-detail__meta li {
  display: flex;
}

.product-detail__meta-label {
  color: #999;
  min-width: 90px;
  display: block;
  margin-right: 10px;
}

.product-detail__meta-value {
  color: #000;
}

.delivery-return {
  border-radius: 5px;
  margin-top: 20px;
  padding: 20px 0;
  display: flex;
  border: 1px solid #ebebeb;
  flex-wrap: wrap;
}

.delivery {
  padding: 0 20px;
  /* flex: 1; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 15px;
  align-items: center;
  text-align: center;
  width: 50%;
}

.delivery-return .rich__text {
  margin-top: 10px;
}

.delivery-return .rich__text p {
  margin: 0;
  padding: 0;
}

.delivery img {
  width: 25px;
  height: 25px;
}

.delivery:nth-child(n + 3) {
  margin-top: 20px;
}

.delivery:nth-child(2n + 1) {
  border-right: 1px solid #ebebeb;
}

.trust-badge {
  margin-top: 20px;
}

.trust-badge__message {
  margin-bottom: 12px;
  font-size: 16px;
  text-align: center;
  font-weight: 600;
}

.trust-badge__image {
  display: flex;
  justify-content: center;
  gap: 5px;
}

.trust-badge__image svg {
  width: 45px;
  padding: 2px;
  height: 27px;
}

.product__badge {
  align-self: center;
}

.discount__tag {
  padding: 3px 8px;
  background-color: #eb4025;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: white;
}

input[type="checkbox"] {
  appearance: none; /* 隐藏默认样式 */
  -webkit-appearance: none; /* Safari */
  width: 18px;
  height: 18px;
  border: 1px solid #000;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: black;
}

input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.product-detail__meta-value a:hover {
  color: rgb(var(--color-button-background));
}

.product-discounts {
  margin-top: 16px;
  max-width: 468px;
}

.product-discounts .icon-coupon-bg {
  border: 4px solid #fb7228;
  padding: 0px;
  box-sizing: content-box;
  border-radius: 5px;
  background-color: #fb7228;
  position: relative;
}

.product-discounts .coupon-item {
  position: relative;
  display: inline-block;
  height: 80px;
}

.product-discounts .coupon-item::after {
  position: absolute;
  content: "";
  right: 70.5px;
  border: 1px dashed #fb7228;
  height: 60px;
  top: 9px;
  border-style: dashed;
}

.product-discounts .coupon-info {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 8px;
}

.product-discounts .coupon-name {
  font-weight: 700;
  font-size: 16px;
}

.product-discounts .coupon-tips {
  font-weight: 400;
  font-size: 14px;
}

.coupon-tag {
  font-size: 14px;
  font-weight: 700;
  line-height: 22px;
  margin-bottom: 4px;
  text-align: center;
  color: #fb7228;
  position: relative;
}

.coupon-tag::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background-color: #ffdcc9;
  z-index: -1;
}

.coupon-tag-content {
  padding: 0 13px;
  margin: 0 auto;
  display: inline-block;
  background-color: white;
}

.icon-coupon-apply {
  position: absolute;
  right: 0;
  top: 0;
}

.apply-button {
  position: absolute;
  width: 93px;
  height: 30px;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border: 1px solid white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  cursor: pointer;
  border-radius: 3px;
}

.apply-button:hover {
  box-shadow: 0 0 2px black;
}

dropdown-menu {
  display: flex;
  justify-content: end;
}

dropdown-menu .trigger {
  user-select: none;
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 6px;
  margin-left: auto;
  cursor: pointer;
}

.dropdown-menu {
  width: 409px;
  background-color: white;
  box-shadow: 0 0 8px #00000040;
  padding: 24px;
  margin-top: 8px !important;
  max-width: 409px !important ;
  margin-left: 2px;
}

.dropdown-menu .coupon-name,
.dropdown-menu .coupon-tips {
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 188px;
  overflow: hidden;
}
