/* 商家货架 · 用户端详情 1:1 预览（类名对齐 styles.css 的 is-pdp / svc / pdp-bar） */
.se-c-pdp {
  --bg: #ffffff;
  --bg-card: #ffffff;
  --text: #2C2C2C;
  --text-muted: #666666;
  --primary: #3D6B4F;
  --accent: #C4A962;
  --accent-dark: #B8995A;
  --accent-soft: #F5EFD9;
  --border: #EEEEEE;
  --blue-soft: #e8f1f4;
  --safe-bottom: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow: hidden;
  background: #f3f5f4;
  color: var(--text);
  font-family: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
.se-c-pdp .pdp-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 0;
  padding: 0;
  border: 0;
  background: #f3f5f4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
}
.se-c-pdp .pdp-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.se-c-pdp .pdp-hero-emoji {
  font-size: 96px;
  line-height: 1;
}
.se-c-pdp .se-c-cover-tip {
  position: absolute;
  right: 8px;
  bottom: 8px;
  font-size: 11px;
  font-weight: 650;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
  padding: 3px 8px;
  border-radius: 999px;
  pointer-events: none;
}
.se-c-pdp .pdp-price-bar {
  display: block;
  width: 100%;
  margin: 0;
  padding: 12px 14px 10px;
  border: 0;
  text-align: left;
  color: #fff;
  background: linear-gradient(90deg, #e54d3d 0%, #d63a2f 55%, #c92f28 100%);
  font: inherit;
  flex-shrink: 0;
}
.se-c-pdp .pdp-price-bar-main {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.se-c-pdp .pdp-price-bar-left {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 10px;
  min-width: 0;
}
.se-c-pdp .pdp-price-now {
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.se-c-pdp .pdp-price-now small {
  font-size: 16px;
  font-weight: 700;
  margin-right: 1px;
}
.se-c-pdp .pdp-price-origin {
  font-size: 12px;
  opacity: 0.9;
  text-decoration: line-through;
}
.se-c-pdp .pdp-price-sold {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.se-c-pdp .pdp-price-bar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.se-c-pdp .pdp-price-bar-tags span {
  font-size: 11px;
  font-weight: 600;
  color: #c92f28;
  background: #fff;
  border-radius: 999px;
  padding: 2px 8px;
}
.se-c-pdp .pdp-scroll {
  flex: 1;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  background: var(--bg);
  padding-bottom: 72px;
}
.se-c-pdp .pdp-body {
  padding: 16px 16px 8px;
  background: var(--bg);
}
.se-c-pdp .pdp-body h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
  outline: none;
}
.se-c-pdp .detail-price,
.se-c-pdp .svc-detail-price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  outline: none;
}
.se-c-pdp .detail-desc,
.se-c-pdp .svc-detail-body {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0 0 16px;
  outline: none;
  min-height: 1.5em;
}
.se-c-pdp .svc-detail-params .form-note,
.se-c-pdp .form-note {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.se-c-pdp .pdp-info-rows {
  margin: 12px -16px 0;
  padding: 0;
  background: #fff;
  border-top: 8px solid #f2f3f2;
}
.se-c-pdp .pdp-info-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) 18px;
  gap: 8px;
  align-items: center;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  text-align: left;
  font: inherit;
  color: #222;
}
.se-c-pdp .pdp-info-row--ship { align-items: flex-start; }
.se-c-pdp .pdp-info-ico-img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.se-c-pdp .pdp-info-line {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.se-c-pdp .pdp-info-line--green {
  color: #2f9b6a;
  font-weight: 600;
}
.se-c-pdp .pdp-info-line--svc em {
  font-style: normal;
  font-weight: 600;
  color: #2f9b6a;
}
.se-c-pdp .pdp-info-pipe {
  margin: 0 6px;
  color: #d0d4d2;
}
.se-c-pdp .pdp-info-sub {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #222;
  outline: none;
}
.se-c-pdp .pdp-info-chev {
  color: #c0c6c3;
  font-size: 18px;
  text-align: right;
}
.se-c-pdp .pdp-param-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(56px, 1fr));
}
.se-c-pdp .pdp-param-cell {
  min-width: 0;
  padding: 0 8px;
  border-right: 1px solid rgba(0, 0, 0, 0.06);
  text-align: center;
}
.se-c-pdp .pdp-param-cell:last-child { border-right: 0; }
.se-c-pdp .pdp-param-cell strong {
  display: block;
  font-size: 12px;
  font-weight: 600;
  outline: none;
}
.se-c-pdp .pdp-param-cell span {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  color: #9aa3ad;
}
.se-c-pdp .item-reviews {
  margin: 0 -16px 0;
  padding: 16px 16px 8px;
  background: #fff;
  border-top: 8px solid #f2f3f2;
}
.se-c-pdp .item-reviews-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.se-c-pdp .item-reviews-title-row h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  flex: 1;
}
.se-c-pdp .item-reviews-count {
  font-style: normal;
  font-weight: 600;
  color: #8a9490;
  font-size: 14px;
}
.se-c-pdp .item-reviews-all {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 13px;
  color: #8a9490;
  cursor: default;
}
.se-c-pdp .item-review-card {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 10px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(31, 61, 52, 0.06);
}
.se-c-pdp .item-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f5f4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.se-c-pdp .item-review-user strong {
  font-size: 13px;
  font-weight: 600;
  color: #5c6b66;
}
.se-c-pdp .item-review-card p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text);
}
.se-c-pdp .pdp-detail-rich {
  margin: 0 -16px;
  padding: 16px;
  background: #fff;
  border-top: 8px solid #f2f3f2;
}
.se-c-pdp .pdp-detail-rich > h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.se-c-pdp .pdp-detail-rich > p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.55;
  color: #444;
  outline: none;
  min-height: 1.4em;
}
.se-c-pdp .pdp-detail-img {
  width: 100%;
  display: block;
  border-radius: 8px;
}
.se-c-pdp .svc-detail-block {
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(61, 107, 79, 0.05);
}
.se-c-pdp .svc-detail-block h3 {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 700;
}
.se-c-pdp .svc-detail-list {
  margin: 0;
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}
.se-c-pdp .svc-detail-list li {
  outline: none;
  min-height: 1.2em;
}
.se-c-pdp .svc-detail-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.se-c-pdp .svc-detail-steps li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}
.se-c-pdp .svc-detail-steps li > span:last-child {
  outline: none;
  flex: 1;
  min-height: 1.2em;
}
.se-c-pdp .svc-step-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.se-c-pdp .alert {
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 14px;
  outline: none;
  min-height: 1.4em;
}
.se-c-pdp .alert-info {
  background: var(--blue-soft);
  color: #3a6070;
}
.se-c-pdp .pdp-reco {
  margin: 0 -16px;
  padding: 16px 16px 24px;
  background: #fff;
  border-top: 8px solid #f2f3f2;
}
.se-c-pdp .pdp-reco h3 {
  margin: 0 0 8px;
  font-size: 16px;
}
.se-c-pdp .pdp-bar,
.se-c-pdp .svc-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  transform: none;
  width: 100%;
  max-width: none;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  box-sizing: border-box;
}
.se-c-pdp .pdp-bar-icon {
  flex: 0 0 auto;
  width: 44px;
  border: none;
  background: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 2px 0 4px;
  font: inherit;
  font-size: 10px;
  pointer-events: none;
}
.se-c-pdp .pdp-bar-icon svg { width: 22px; height: 22px; }
.se-c-pdp .pdp-bar-cart,
.se-c-pdp .pdp-bar-buy {
  flex: 1;
  min-width: 0;
  height: 40px;
  border: none;
  border-radius: 20px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  pointer-events: none;
}
.se-c-pdp .pdp-bar-cart {
  background: var(--accent-soft);
  color: var(--accent-dark);
}
.se-c-pdp .pdp-bar-buy {
  background: var(--accent);
  color: #fff;
}
.se-c-pdp .svc-bar-inner {
  flex: 1;
  margin-left: 4px;
}
.se-c-pdp .svc-bar-cta {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 22px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  pointer-events: none;
}
.se-c-pdp [contenteditable="true"] {
  border-radius: 4px;
  box-shadow: inset 0 0 0 0 transparent;
  transition: box-shadow .15s, background .15s;
}
.se-c-pdp [contenteditable="true"]:hover {
  background: rgba(196, 169, 98, 0.08);
}
.se-c-pdp [contenteditable="true"]:focus {
  background: rgba(196, 169, 98, 0.12);
  box-shadow: inset 0 0 0 1px rgba(196, 169, 98, 0.55);
  outline: none;
}
.se-c-pdp [contenteditable="true"]:empty::before {
  content: attr(data-placeholder);
  color: #b0b8b4;
}
.se-c-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  margin-top: 0.35rem;
}
.se-c-toolbar .se-edit-field {
  flex: 1 1 90px;
  min-width: 72px;
}
.se-c-toolbar .btn { flex: 1 1 100%; }
