/**
 * ======= sanxio store-front mall PDP start ===========
 */

body.sx-store-advanced--mall-item .sca-channel-top--pdp {
  margin: 0;
  padding: 0 0 var(--sanxio-gap-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-channel-top--pdp .sca-crumb {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.45;
  color: var(--md3-color-on-surface-variant);
  gap: 4px;
}

body.sx-store-advanced--mall-item .sca-channel-top--pdp .sca-crumb a:link,
body.sx-store-advanced--mall-item .sca-channel-top--pdp .sca-crumb a:visited,
body.sx-store-advanced--mall-item .sca-channel-top--pdp .sca-crumb a:active {
  color: var(--md3-color-primary);
  text-decoration: none;
  font-weight: 500;
}

body.sx-store-advanced--mall-item .sca-channel-top--pdp .sca-crumb a:hover {
  color: var(--md3-color-primary);
  opacity: 0.88;
}

body.sx-store-advanced--mall-item .sca-channel-top--pdp .sca-crumb__current {
  font-weight: 600;
  color: var(--md3-color-on-surface);
}

/* 商品交易卡：独立白卡 + 顶栏强调（非 Feed unified） */
body.sx-store-advanced--mall-item .sca-mall-pdp--trade {
  margin-inline: 0;
  width: auto;
  max-width: 100%;
  margin-bottom: var(--sanxio-content-gap, 12px);
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-lg, 16px);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--md3-color-on-surface) 6%, transparent);
  overflow: hidden;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp__body {
  padding: var(--sanxio-gap-md, 12px) var(--sanxio-card-px, 12px) var(--sanxio-gap-md, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-buy--mall .sca-buy__title {
  margin: 0 0 6px;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--md3-color-on-surface);
  word-break: break-word;
}

body.sx-store-advanced--mall-item .sca-mall-pdp__direct {
  vertical-align: -2px;
}

body.sx-store-advanced--mall-item .sca-buy__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 var(--sanxio-gap-sm, 8px);
  font-size: 12px;
  color: var(--md3-color-on-surface-variant);
}

body.sx-store-advanced--mall-item .sca-buy__meta-link {
  border: none;
  padding: 0;
  background: none;
  font: inherit;
  color: var(--md3-color-primary);
  font-weight: 600;
  cursor: pointer;
}

body.sx-store-advanced--mall-item .sca-buy__meta-link:hover {
  opacity: 0.88;
}

body.sx-store-advanced--mall-item .sca-buy__meta-sep {
  opacity: 0.5;
}

body.sx-store-advanced--mall-item .sca-mall-pdp__body .sca-product {
  margin-bottom: 0;
  gap: var(--sanxio-gap-md, 16px);
  align-items: start;
}

@media (min-width: 901px) {
  body.sx-store-advanced--mall-item .sca-mall-pdp__body .sca-product {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  }
}

@media (max-width: 900px) {
  body.sx-store-advanced--mall-item .sca-mall-pdp__body .sca-product {
    grid-template-columns: minmax(0, 1fr);
  }
}

body.sx-store-advanced--mall-item .sca-pdp__col--gallery .sca-gallery__main {
  background: var(--md3-color-surface-container-low);
  border: none;
  border-radius: var(--md3-shape-md, 12px);
}

body.sx-store-advanced--mall-item .sca-pdp__col--buy .sca-mall-pdp-info {
  min-width: 0;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-info__title {
  font-size: 1.25rem;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-meta-tab {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--md3-color-primary, #0066c8);
  cursor: pointer;
  text-decoration: none;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-meta-tab:hover {
  text-decoration: underline;
}

/* 操作区：加入/进入购物车同一行；对比在数量行右侧 */
/* 店铺 PDP 窄栏：发货行与其它 meta 同高（单行），避免双倍行高 */
body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-meta li.mdc-show-meta__row--ship {
  height: var(--mdc-show-row-height, 36px);
  min-height: var(--mdc-show-row-height, 36px);
  max-height: var(--mdc-show-row-height, 36px);
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: var(--sanxio-gap-sm, 8px);
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-meta__v--ship {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-align: right;
  line-height: 1.25;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-ship__area {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  word-break: normal;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-ship__eta {
  flex: 0 0 auto;
  height: 22px;
  max-height: 22px;
  padding: 0 6px;
  font-size: 11px;
  line-height: 22px;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-meta li:empty {
  display: none !important;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: var(--sanxio-gap-sm, 8px);
  width: 100%;
  margin-top: var(--sanxio-gap-md, 12px);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .md3-btn {
  flex: 1 1 0;
  min-width: 0;
  max-width: 100%;
  min-height: 44px;
  padding-inline: var(--sanxio-gap-md, 12px);
  white-space: nowrap;
  overflow: visible;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sanxio-add-cart-btn,
body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sanxio-cart-entry {
  flex: 1 1 calc(50% - var(--sanxio-gap-sm, 8px) / 2);
  min-width: 0;
  width: auto;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sanxio-add-cart-btn .sanxio-add-cart-btn-count {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: var(--sanxio-gap-sm, 8px);
  padding: 0 7px;
  min-height: 22px;
  min-width: 22px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  background: var(--md3-color-on-primary, #fff);
  color: var(--md3-color-primary, #005fb8);
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-strip__cart-count {
  margin-left: 2px;
}

body.sx-store-advanced--mall-item .sca-strip__badge[hidden],
body.sx-store-advanced .sca-tabbar__badge[hidden] {
  display: none !important;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sanxio-add-cart-btn .sanxio-add-cart-btn-count:not(:empty) {
  display: inline-flex;
  margin-left: var(--sanxio-gap-sm, 8px);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sca-mall-pdp-compare-btn .sanxio-store-compare-btn-count,
body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-price__compare .sanxio-store-compare-btn-count {
  display: none;
  align-items: center;
  justify-content: center;
  margin-left: var(--sanxio-gap-sm, 8px);
  padding: 0 7px;
  min-height: 20px;
  min-width: 20px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sca-mall-pdp-compare-btn .sanxio-store-compare-btn-count {
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-on-primary-container, #001d35);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-price__compare .sanxio-store-compare-btn-count {
  background: var(--md3-color-surface-container-high, #e8ecf0);
  color: var(--md3-color-primary, #005fb8);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .sca-mall-pdp-compare-btn .sanxio-store-compare-btn-count:not(:empty),
body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-price__compare .sanxio-store-compare-btn-count:not(:empty) {
  display: inline-flex;
}

/* 店铺 PDP：主站 mall-show 混用 md-sys，hover 易白底白字；统一 md3 对比度 */
body.sx-store-advanced--mall-item {
  --md-sys-color-primary: var(--md3-color-primary, #005fb8);
  --md-sys-color-on-primary: var(--md3-color-on-primary, #ffffff);
  --md-sys-color-primary-container: var(--md3-color-primary-container, #d0e8ff);
  --md-sys-color-on-primary-container: var(--md3-color-on-primary-container, #001d35);
  --md-sys-color-outline-variant: var(--md3-color-outline-variant, #c3c6cf);
  --md-sys-color-surface: var(--md3-color-surface, #fafcff);
  --md-sys-color-on-surface-variant: var(--md3-color-on-surface-variant, #43474e);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .md3-btn--filled,
body.sx-store-advanced--mall-item .sca-buy-bar .md3-btn--filled {
  background: var(--md3-color-primary, #005fb8);
  color: var(--md3-color-on-primary, #ffffff);
  border: none;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .md3-btn--filled:hover,
body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .md3-btn--filled:focus-visible,
body.sx-store-advanced--mall-item .sca-buy-bar .md3-btn--filled:hover {
  background: var(--md3-color-primary-dark, #004578);
  color: var(--md3-color-on-primary, #ffffff);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .md3-btn--outlined,
body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions a.md3-btn--outlined {
  background: var(--md3-color-surface, #fafcff);
  color: var(--md3-color-primary, #005fb8);
  border: 1px solid var(--md3-color-outline-variant, #c3c6cf);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions .md3-btn--outlined:hover,
body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions a.md3-btn--outlined:hover {
  background: var(--md3-color-primary-container, #d0e8ff);
  color: var(--md3-color-on-primary-container, #001d35);
  border-color: var(--md3-color-primary, #005fb8);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions a.sanxio-cart-entry.is-disabled,
body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions a.sanxio-cart-entry[aria-disabled="true"] {
  background: var(--md3-color-surface-container-high, #e7e9ed);
  color: var(--md3-color-on-surface-variant, #43474e);
  border-color: var(--md3-color-outline-variant, #c3c6cf);
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.85;
  box-shadow: none;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions a.sanxio-cart-entry.is-disabled:hover,
body.sx-store-advanced--mall-item .sca-mall-pdp-buy .sca-mall-pdp-actions a.sanxio-cart-entry[aria-disabled="true"]:hover {
  background: var(--md3-color-surface-container-high, #e7e9ed);
  color: var(--md3-color-on-surface-variant, #43474e);
  border-color: var(--md3-color-outline-variant, #c3c6cf);
}

body.sx-store-advanced--mall-item .sca-pdp__col--buy {
  border: none;
  border-radius: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

/* 详情 + 评价区 */
body.sx-store-advanced--mall-item .sca-mall-pdp-extra {
  margin-inline: 0;
  width: auto;
  max-width: 100%;
  margin-top: var(--sanxio-content-gap, 12px);
  margin-bottom: var(--sanxio-content-gap, 12px);
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card {
  background: var(--md3-color-surface);
  border: 1px solid var(--md3-color-outline-variant);
  border-radius: var(--md3-shape-lg, 16px);
  box-shadow: 0 2px 12px color-mix(in srgb, var(--md3-color-on-surface) 6%, transparent);
  overflow: hidden;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__head {
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  background: var(--md3-color-surface-container-low);
  border-bottom: 1px solid var(--md3-color-outline-variant);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__head .sca-mall-pdp-tabs__bar.md3-tabs {
  border-bottom: none;
  min-height: 0;
  margin: 0;
  padding: 0;
  gap: var(--sanxio-gap-sm, 8px);
}

@media (max-width: 767px) {
  body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__head .sca-mall-pdp-tabs__bar.md3-tabs--scrollable {
    overflow-x: visible;
    flex-wrap: wrap;
  }

  body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__head .md3-tabs--pills .md3-tabs__tab {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__head .md3-tabs--pills .md3-tabs__tab {
  min-height: 40px;
  padding: var(--sanxio-gap-sm, 8px) var(--sanxio-gap-md, 12px);
  font-size: 14px;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__head .md3-tabs--pills .md3-tabs__tab .md3-tabs__icon {
  font-size: 18px;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-card__body {
  padding: var(--sanxio-card-py, 12px) var(--sanxio-card-px, 12px);
  min-height: 160px;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-tabs__panel {
  display: none;
  animation: sca-mall-pdp-panel-in 0.22s ease-out;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-tabs__panel.is-active {
  display: block !important;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-tabs__panel[hidden]:not(.is-active) {
  display: none !important;
}

@keyframes sca-mall-pdp-panel-in {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.sx-store-advanced--mall-item .sca-mall-pdp-props {
  margin-bottom: var(--sanxio-content-gap, 12px);
  padding: var(--sanxio-gap-md, 12px);
  border-radius: var(--md3-shape-md, 12px);
  background: var(--md3-color-surface-container-high);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-props .property {
  margin: 0;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-props .property ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
  gap: var(--sanxio-gap-sm, 8px) var(--sanxio-content-gap, 12px);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-props .property li {
  margin: 0;
  padding: var(--sanxio-gap-sm, 8px) var(--sanxio-gap-md, 12px);
  font-size: 13px;
  line-height: 1.45;
  color: var(--md3-color-on-surface);
  background: var(--md3-color-surface);
  border-radius: var(--md3-shape-sm, 8px);
  word-break: break-word;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-props .b10 {
  display: none;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-content {
  line-height: 1.75;
  font-size: 14px;
  color: var(--md3-color-on-surface);
  word-break: break-word;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-content > p:first-child {
  margin-top: 0;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-content > p:last-child {
  margin-bottom: 0;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--md3-shape-md, 12px);
  margin: var(--sanxio-gap-md, 12px) 0;
  display: block;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sanxio-content-gap, 20px) var(--sanxio-card-px, 12px);
  min-height: 140px;
  border-radius: var(--md3-shape-md, 12px);
  background: var(--md3-color-surface-container-low);
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-empty__icon {
  font-size: 40px;
  color: var(--md3-color-primary);
  opacity: 0.85;
  margin-bottom: var(--sanxio-gap-sm, 8px);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-empty__text {
  margin: 0 0 var(--sanxio-gap-sm, 8px);
  font-size: 15px;
  font-weight: 600;
  color: var(--md3-color-on-surface);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-detail-empty__hint {
  margin: 0;
  max-width: 28rem;
  font-size: 13px;
  line-height: 1.5;
  color: var(--md3-color-on-surface-variant);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-extra .sca-product__content {
  padding: 0;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-comment {
  min-height: 80px;
  font-size: 14px;
  color: var(--md3-color-on-surface);
}

body.sx-store-advanced--mall-item .sca-mall-pdp-comment__loading,
body.sx-store-advanced--mall-item .sca-mall-pdp-comment .comment-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sanxio-gap-sm, 8px);
  margin: 0;
  padding: var(--sanxio-content-gap, 20px) var(--sanxio-gap-md, 12px);
  text-align: center;
  color: var(--md3-color-on-surface-variant);
  font-size: 14px;
  border-radius: var(--md3-shape-md, 12px);
  background: var(--md3-color-surface-container-low);
  min-height: 120px;
  box-sizing: border-box;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-comment .comment-empty {
  min-height: 120px;
}

body.sx-store-advanced--mall-item .sca-mall-pdp-comment .comment_list,
body.sx-store-advanced--mall-item .sca-mall-pdp-comment .list-comment {
  max-width: 100%;
}

body.sx-store-advanced--mall-item .sca-buy--mall .sca-buy__subtitle {
  margin-top: 0;
}

body.sx-store-advanced--mall-item .sca-buy__row {
  align-items: flex-start;
  gap: var(--sanxio-gap-sm, 8px);
}

body.sx-store-advanced--mall-item .sca-buy__row dt {
  width: 4.5rem;
  padding-top: 2px;
}

body.sx-store-advanced--mall-item .sca-buy__promos a {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

body.sx-store-advanced--mall-item .sca-buy--mall .sca-buy__promos span {
  margin: 0;
  padding: 4px 10px;
  border-radius: var(--md3-shape-sm, 8px);
  font-size: 12px;
  line-height: 1.3;
}

body.sx-store-advanced--mall-item .sca-buy__actions .md3-btn {
  min-height: 44px;
  padding-inline: 20px;
}

body.sx-store-advanced .sca-buy-bar {
  display: none;
}

.sca-pdp-actionbar {
  display: none;
}

@media (max-width: 767px) {
  /* 店铺商品页：固定底栏勿放进 overflow clip 容器；页脚 sca-pdp-actionbar 才是可见操作条 */
  body.sx-store-advanced.sx-store-advanced--mall-item {
    overflow-x: hidden;
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }

  body.sx-store-advanced--mall-item .sca-viewport,
  body.sx-store-advanced--mall-item .sca-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  body.sx-store-advanced--mall-item .sca-channel-top--pdp,
  body.sx-store-advanced--mall-item .sca-mall-pdp--trade,
  body.sx-store-advanced--mall-item .sca-mall-pdp-extra {
    margin-inline: 0;
    width: 100%;
    max-width: 100%;
  }

  body.sx-store-advanced--mall-item .sca-mall-pdp__body {
    padding-inline: var(--sanxio-gap-md, 12px);
  }

  body.sx-store-advanced--mall-item .sca-pdp__col--gallery,
  body.sx-store-advanced--mall-item .sca-pdp__col--buy {
    min-width: 0;
    max-width: 100%;
    width: 100%;
  }

  body.sx-store-advanced--mall-item .sca-pdp__col--gallery .sca-gallery__main {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1;
    max-height: min(72vw, 360px);
    margin: 0 auto;
    box-sizing: border-box;
  }

  body.sx-store-advanced--mall-item .sca-pdp__col--gallery .sca-gallery__main img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
  }

  body.sx-store-advanced--mall-item .sca-pdp__col--gallery .sca-gallery__thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 2px;
  }

  body.sx-store-advanced--mall-item .sca-pdp__col--gallery .sca-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }

  body.sx-store-advanced--mall-item .sca-mall-pdp-info.mdc-show-info {
    flex: none !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-price {
    flex-wrap: wrap;
    row-gap: var(--sanxio-gap-sm, 8px);
  }

  body.sx-store-advanced--mall-item .sca-mall-pdp-info .mdc-show-price__favorite {
    margin-left: 0;
  }

  /* 隐藏 mall-show 自绘滚动条（蓝条），移动端会露在优惠券/规格 chip 之间 */
  body.sx-store-advanced--mall-item .mdc-show-spec__fakebar {
    display: none !important;
  }

  body.sx-store-advanced .sca-buy-bar {
    display: none !important;
  }

  /*======= sanxio 店铺 PDP 操作底栏 start ===========*/
  body.sx-store-advanced--mall-item .sca-pdp-actionbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9100;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    min-height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 8px max(12px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: var(--md3-color-surface, #fff);
    border-top: 1px solid var(--md3-color-outline-variant, #c3c6cf);
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.08);
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__left {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    min-width: 0;
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__right {
    display: flex;
    align-items: stretch;
    flex: 1 1 auto;
    min-width: 0;
    gap: 8px;
    justify-content: flex-end;
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    min-width: 44px;
    max-width: 56px;
    padding: 0 4px;
    border: none;
    background: none;
    color: var(--md3-color-on-surface-variant, #43474e);
    text-decoration: none;
    font: inherit;
    font-size: 10px;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__icon .material-symbols-outlined {
    font-size: 22px;
    line-height: 1;
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn {
    flex: 1 1 auto;
    min-width: 72px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    height: 44px;
    min-height: 44px;
    padding: 0 10px;
    border: none;
    border-radius: 999px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    white-space: nowrap;
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn .material-symbols-outlined {
    font-size: 20px;
    line-height: 1;
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn--tonal {
    background: var(--md3-color-secondary-container, #dce2f9);
    color: var(--md3-color-on-secondary-container, #151b2c);
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn--filled {
    background: var(--md3-color-primary, #005fb8);
    color: var(--md3-color-on-primary, #fff);
  }
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn:disabled,
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn.is-disabled,
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn--filled:disabled,
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn--filled.is-disabled,
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn--filled.sanxio-buy-now-btn:disabled,
  body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn--filled.sanxio-buy-now-btn.is-disabled {
    background: var(--md3-color-surface-container-highest, #e3e2e6) !important;
    color: var(--md3-color-on-surface-variant, #747775) !important;
    opacity: 0.72;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none !important;
  }
  @media (max-width: 400px) {
    body.sx-store-advanced--mall-item .sca-pdp-actionbar__icon span:not(.material-symbols-outlined) {
      display: none;
    }
    body.sx-store-advanced--mall-item .sca-pdp-actionbar__btn {
      min-width: 64px;
      padding: 0 8px;
    }
  }
  /*======= sanxio 店铺 PDP 操作底栏 end ===========*/

  body.sx-store-advanced--mall-item .sca-mall-pdp__body .sca-mall-pdp-actions,
  body.sx-store-advanced--mall-item .sca-mall-pdp__body .mdc-show-actions {
    display: none;
  }
}

body.sx-store-advanced .sca-buy__group {
  margin-bottom: var(--sanxio-gap-md, 12px);
  padding-bottom: var(--sanxio-gap-md, 12px);
  border-bottom: 1px solid var(--md3-color-outline-variant);
}

body.sx-store-advanced .sca-buy__group:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

body.sx-store-advanced .sca-text-muted {
  color: var(--md3-color-on-surface-variant);
  font-size: 12px;
}

body.sx-store-advanced .sca-pull-end {
  display: block;
  margin-top: 4px;
}

/**
 * ======= sanxio store-front mall PDP end ===========
 */
