body[data-page-type="product"] #sales__flash-sale-price-container .sales-promotion-price {
  font-weight: 600;
}

body[data-page-type="product"] .product-detail-wrapper #sales__flash-sale-price-container .sales-promotion-price,
body[data-page-type="product"] .product-detail-wrapper #sales__flash-sale-price-container .sales-promotion-throughline-price,
body[data-page-type="product"] .product-detail-wrapper .product-price__item--price {
  font-family: Proxima Nova,proxima-nova,Brandon-Grotesque,Helvetica,sans-serif;
}
body[data-page-type="product"] .block-product-card__price #sales__flash-sale-price-container .sales-promotion-price {
  line-height: 150%;
  font-family: 'Brandon-Grotesque';
  font-weight: 400;
}

.zg-product .product-detail {
  background-color: rgba(var(--color-background, var(--color-page-background)));
  display: grid;
  width: 100%;
  grid-template-columns: calc(65% - 30px) 30px 35%;
  grid-template-areas: "left gap right";
}

.zg-product-media-wrapper {
  grid-area: left;
}

.product-detail__info {
  grid-area: right;
}

.product-detail-wrapper {
  background-color: rgba(var(--color-background, var(--color-page-background)));
  margin-top: 1rem;
  font-family: 'NeutrafaceText-Book';
}

.product-detail__row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.product-detail__share, .product-detail__additional, .product-detail__sell-info {
  display: none;
}

.zg-product-detail-title__clearance-tag {
  color: #c60000;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  padding-top: 6px;
  font-family: Proxima Nova, Proxima Nova;
  margin-bottom: 6px;
}

.zg-product .product-detail__title {
  font-size: 22px;
  color: #323232;
  line-height: 150%;
  font-style: normal;
  text-transform: none;
  margin: 0 !important;
  font-family: Proxima Nova,proxima-nova,Helvetica Neue,Helvetica,sans-serif;
  letter-spacing: .25px;
  font-weight: 600;
  font-style: normal;
  padding-bottom: 2px;
}

.zg-product-sku {
  font-family: "Proxima Nova", proxima-nova, "Helvetica Neue", Helvetica, sans-serif;
  color: rgb(85, 85, 85);
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  padding-top: 4px;
}

.zg-product-sku.hidden-desktop + .product-detail {
  margin-top: 10px;
}

.zg-dimension-info {
  flex-direction: column;
  gap: .2rem;
  margin-top: 1rem;
  display: flex;
  font-family: 'Proxima Nova';
}
.zg-dimension-info-title {
  font-weight: bold;
  font-size: 14px;
  color: #555555;
  line-height: 150%;
  font-style: normal;
}
.zg-dimension-info-value {
  font-weight: 400;
  font-size: 14px;
  color: #555555;
  line-height: 150%;
  font-style: normal;
  text-transform: none;
  padding: 0 0 4px 0;
  margin: 5px 0;
  font-feature-settings: "pnum" on, "lnum" on;
  font-family: proxima-nova;
}
.zg-availability-tag__container {
  margin-top: 5px;
  display: block;
}
.zg_aftersale_card-container {
  background: rgba(0,0,0,0.02);
  border-radius: 4px 4px 4px 4px;
  padding: 15px;
  margin-top: 20px;
  font-family: Proxima Nova;
}

.zg-clearance-tip {
  display: inline-block;
  width: fit-content;
  font-family: Proxima Nova, Proxima Nova;
  color: #555;
  font-weight: 400;
  font-size: 14px;
  padding: 4px 5px;
  line-height: 24px;
  background-color: rgba(0, 0, 0, .03);
  margin-bottom: 4px;
}

.sales-promotion-plugin .zg-product-sku {
  padding-top: 4px;
}

.zg_aftersale_card-container_title {
  font-weight: normal;
  font-size: 16px;
  color: #000000;
  line-height: 150%;
  font-style: normal;
  text-transform: none;
}

.zg_aftersale_card-container_sections {
  margin-top: 15px;
  gap: 15px;
}

.zg_aftersale_card-container_text {
  color: #000000;
  font-size: 14px;
  line-height: 150%;
}

#zg_detail_buy_sample_button {
  margin-top: 23px;
}

.product-detail__buy-buttons {
  margin-top: 12px;
}

.product-detail__buy-buttons.hidden-height {
  margin-top: 0;
}

#sales__flash-sale-price-container {
  font-size: 18px;
  font-family: Proxima Nova;
  line-height: 120%;
  gap: 0;
}

#zg_variant_picker {
  font-family: Proxima Nova;
}

.zg-availability-tag {
  background-color: #000;
  color: #fff;
}

@media (min-width: 960px) {
  .sales-promotion-plugin div {
    height: 96px;
  }
}

.zg-tag-free-shipping {
  display: block;
  color: #c60000;
  font-size: 12px;
  font-family: Proxima Nova,proxima-nova,Helvetica Neue,Helvetica,sans-serif;
}
.zg-tag-free-shipping span {
  color: #c60000;
}
.sales-promotion-plugin>span>div>div>div {
  background-image: none;
}

.zg-product .block-product-card-coustom_title {
  padding-top: 0;
}

.zg-product .zg-you-may-like,
.zg-product .zg-recommended,
.zg-product .zg-recently-view {
  padding-inline: calc(var(--page-padding) + 106px);
  padding-block-start: 30px;
}

.shopline-payment-button-wrapper .pay-button-common-item.pay-button-common-item-express.pay-button-Paypal,
.shopline-payment-button-wrapper .pay-button-common-item.pay-button-common-item-express.pay-button-ApplePay {
  transform: scaleY(0.85);
}

@media (min-width: 1801px) {
  .zg-pdp-media .product-detail__media-gallery .media-gallery__thumbnail-list {
    height: 960px;
  }
}
@media (min-width: 960px) {
  .zg-recently-view.slideshow .zg-recently-view_header,
  .zg-recommended.slideshow .zg-recommended_header,
  .zg-you-may-like.slideshow .zg-you-may-like_header {
    margin-top: 40px;
  }
  .zg-recently-view.slideshow,
  .zg-recommended.slideshow,
  .zg-you-may-like.slideshow {
    padding-left: calc(var(--page-padding) + 106px);
    padding-right: calc(var(--page-padding) + 106px);
  }
  .zg-product .product-detail__media-gallery .media-gallery__thumbnail-image {
    height: auto;
  }
 
  .product-detail__media-gallery {
    height: 100%;
  }

  .product-detail__media-gallery .media-gallery__content {
    position: sticky;
    top: 80px;
    transform: translateZ(0);
    backface-visibility: hidden;
  }
  .product-detail__col {
    width: 100%;
  }

  .product-detail[data-desktop-direction="row"] {
    z-index: var(--z-index-focus);
  }

  .product-detail[data-desktop-direction="row"] .product-detail__col {
    flex: 1 0 0;
  }

  .product-detail[data-desktop-direction="row"] .product-detail__col--small {
    width: 34%;
  }

  .product-detail[data-desktop-direction="row"]
    .product-detail__col--small
    + .product-detail__col {
    width: 66%;
  }

  .product-detail[data-desktop-direction="row"] .product-detail__col--medium {
    width: 50%;
  }

  .product-detail[data-desktop-direction="row"]
    .product-detail__col--medium
    + .product-detail__col {
    width: 50%;
  }

  .product-detail[data-desktop-direction="row"] .product-detail__col--large {
    width: 66%;
  }

  .product-detail[data-desktop-direction="row"]
    .product-detail__col--large
    + .product-detail__col {
    width: 34%;
  }

  .zg-product .product-detail[data-desktop-direction="row"]
    .product-detail__col--large
    + .product-detail__col {
    width: 35%;
    flex: none;
  }
  .zg-product .product-detail[data-desktop-direction="row"] .product-detail__col--medium + .product-detail__col {
    width: 35%;
    flex: none;
  }
}
@media (min-width: 960px) and (max-width: 1800px) {
  .zg-pdp-media .product-detail__media-gallery .media-gallery__thumbnail-list {
    height: 640px;
  }
}
@media (max-width: 959px) {
  .zg-you-may-like-inner {
    padding-top: 30px;
  }
  .zg-product-media-wrapper .product-detail__media-gallery .media-gallery__arrows {
    display: none;
  }
  .zg-product .media-gallery__sticky-wrapper .media-gallery__media {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    border: 1px solid #e5e7eb;
  }
  .zg-product .product-detail {
    display: flex;
    flex-direction: column;
  }
  .product-detail__info {
    --detai-info-width: 100%;
  }
  .product-detail-wrapper {
    margin-top: 60px;
  }
  .promotion-price-slot {
    display: none;
  }
  .sales-promotion-plugin-mobile {
    margin: 0;
    margin-bottom: 10px;
  }
  #zg_variant_picker {
    margin-top: 1rem;
  }
  .product-detail__media-gallery .media-gallery__thumbnail-list {
    height: auto;
  }
  body[data-page-type="product"] .zg-you-may-like,
  body[data-page-type="product"] .zg-recently-view,
  body[data-page-type="product"] .zg-recommended {
    padding-inline: var(--page-padding);
  }
}
@media (max-width: 480px) {
  .zg_aftersale_card-container_sections {
    flex-direction: column;
  }
}
@media (min-width: 992px) and (max-width: 1346px) {
  .product-detail__media-gallery .media-gallery__content {
    top: 180px;
  }
}

/* TODO: 单独处理pdp断点。临时处理方案，直接将959px以下视为移动端 */
@media (max-width: 959px)  {
  body[data-page-type="product"] .hidden-mobile {
    display: none!important;
  }
  body[data-page-type="product"] .hidden-desktop {
    display: block!important;
  }
}

.sales-promotion-plugin [class*=_sales__flash-sale-title] {
  display: none;
}