/* 服务详情页 — 对齐猪八戒 fw 详情买盒/画廊 */
html:has(body.svc-detail-page),
body.svc-detail-page {
  background-color: #f4f4f4 !important;
  background-image: none !important;
}
body.svc-detail-page > section {
  background: transparent !important;
}

.svc-detail {
  --svc-accent: #ff6900;
  --svc-accent-dark: #e85f00;
  --svc-text: #333;
  --svc-muted: #666;
  --svc-line: #f1f1f1;
  --svc-bg: #f4f4f4;
  --svc-card: #fff;
  --svc-radius: 0;
  --svc-ok: #52c41a;
  color: var(--svc-text);
  padding: 20px 24px 32px;
  background: #fff;
  border-radius: 8px;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  width: 100%;
  max-width: 1350px;
  margin: 12px auto 40px;
  box-sizing: border-box;
  clear: both;
  overflow: visible;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

/* 店铺头样式见 css/shop/svc-shopbar.css */

.svc-crumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin: 12px 0 10px;
}
.svc-crumb {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 12px;
  color: #999;
  margin: 0;
  line-height: 1.6;
}
.svc-crumb a {
  color: #999;
}
.svc-crumb a:hover {
  color: var(--svc-accent);
}
.svc-crumb-sep {
  margin: 0 6px;
  color: #ccc;
}
.svc-crumb-bar .svc-corner-actions {
  flex: 0 0 auto;
  margin-left: 0;
  opacity: 0.9;
}
.svc-crumb-bar .svc-corner-btn {
  min-width: 32px;
  height: 32px;
  border-radius: 4px;
  border-color: #e8e8e8;
  background: #fff;
}

.svc-head {
  margin: 0 0 14px;
  padding: 0;
  border-bottom: 0;
}
.svc-head-row {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 12px 16px;
}
.svc-title {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-head-aside {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  text-align: right;
  width: auto;
  max-width: none;
  box-sizing: border-box;
  padding-top: 2px;
}
.svc-head > .svc-head-meta {
  margin-top: 8px;
  white-space: normal;
}
.svc-corner-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
  margin-left: 4px;
}
.svc-sales-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-size: 14px;
  color: var(--svc-accent);
  white-space: nowrap;
  line-height: 1.2;
}
.svc-sales-badge em {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
  color: var(--svc-accent);
  margin-left: 2px;
}
.svc-sales-ico {
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #ffb074 0%, #ff6900 100%);
  clip-path: polygon(0 100%, 20% 40%, 40% 70%, 60% 20%, 80% 55%, 100% 0, 100% 100%);
}
.svc-head-meta {
  margin: 0;
  font-size: 13px;
  color: #999;
  line-height: 1.4;
  white-space: nowrap;
}
.svc-head-meta em {
  font-style: normal;
  color: var(--svc-accent);
  font-weight: 600;
}

/* 左栏标题+图集+Tab；右栏买盒与标题顶对齐并吸顶 */
.svc-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 20px;
}
.svc-col-main {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  display: block;
}
.svc-gallery {
  width: 100%;
  margin-bottom: 20px;
}
.svc-gallery-main {
  position: relative;
  width: 100%;
  height: 430px;
  aspect-ratio: auto;
  max-height: none;
  background: #f7f7f7;
  border-radius: 12px;
  overflow: hidden;
}
.svc-gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.svc-gallery-track {
  display: flex;
  width: 100%;
  height: 100%;
  transform: translateX(0);
  transition: transform 0.4s ease-in-out;
  will-change: transform;
}
.svc-gallery-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}
.svc-gallery-slide img,
.svc-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
}
.svc-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: #666;
  font-size: 22px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  opacity: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.18);
  transition: opacity .2s ease, background .15s ease, color .15s ease;
}
.svc-gallery-main:hover .svc-gallery-nav {
  opacity: 1;
}
.svc-gallery-nav:hover {
  background: #fff;
  color: var(--svc-accent);
}
.svc-gallery-nav.is-prev {
  left: 16px;
}
.svc-gallery-nav.is-next {
  right: 16px;
}
.svc-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}
.svc-gallery-thumbs-wrap {
  position: relative;
  margin-top: 10px;
  padding: 0;
  height: 72px;
}
.svc-gallery-thumbs-wrap .svc-gallery-thumbs {
  margin-top: 0;
  height: 100%;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.svc-gallery-thumbs-wrap .svc-gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.svc-thumbs-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #999;
  font-size: 16px;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  box-shadow: 0 0 8px rgba(153, 153, 153, 0.5);
  transition: opacity .2s ease, color .15s ease, background .15s ease;
}
@media (hover: hover) {
  .svc-thumbs-nav {
    opacity: 0;
    pointer-events: none;
  }
  .svc-gallery-thumbs-wrap:hover .svc-thumbs-nav,
  .svc-gallery-thumbs-wrap:focus-within .svc-thumbs-nav {
    opacity: 1;
    pointer-events: auto;
  }
}
.svc-thumbs-nav:hover {
  background: #fff;
  color: var(--svc-accent);
}
.svc-thumbs-nav.is-prev { left: 10px; }
.svc-thumbs-nav.is-next { right: 10px; }
.svc-thumbs-nav.is-disabled {
  /* keep clickable; visual state unchanged */
}
.svc-gallery-thumbs-wrap.is-single .svc-thumbs-nav {
  display: none;
}
.svc-gallery-thumbs button {
  flex: 0 0 auto;
  width: 120px;
  height: 72px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #f5f5f5;
  cursor: pointer;
  box-sizing: border-box;
}
.svc-gallery-thumbs button.is-active {
  border-color: var(--svc-accent);
}
.svc-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 版本对比表（对齐猪八戒服务内容） */
.svc-compare {
  width: 100%;
  margin: 0 0 24px;
  border: 1px solid #eee;
  box-sizing: border-box;
}
.svc-compare-row {
  display: grid;
  grid-template-columns: 140px repeat(var(--cmp-cols, 3), 1fr);
  align-items: stretch;
  border-bottom: 1px solid #f0f0f0;
  min-height: 48px;
}
.svc-compare-row:last-child {
  border-bottom: 0;
}
.svc-compare-label {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  font-size: 14px;
  color: #666;
  background: #fafafa;
  border-right: 1px solid #f0f0f0;
  box-sizing: border-box;
}
.svc-compare-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 10px;
  border-right: 1px solid #f0f0f0;
  box-sizing: border-box;
  text-align: center;
  min-width: 0;
}
.svc-compare-col:last-child {
  border-right: 0;
}
.svc-compare-head {
  min-height: 0;
  border-bottom: 0;
}
.svc-compare-head .svc-compare-label {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
}
.svc-compare-head .svc-compare-col {
  padding: 0;
  align-items: stretch;
}
.svc-compare-tier {
  width: 100%;
  padding: 16px 10px;
  color: #fff;
  box-sizing: border-box;
}
.svc-compare-tier strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}
.svc-compare-tier em {
  display: block;
  font-style: normal;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}
.svc-compare-tier em i {
  font-style: normal;
  font-size: 14px;
  margin-right: 2px;
}
.svc-compare-subhead .svc-compare-label {
  font-weight: 600;
  color: #333;
}
.svc-compare-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cmp-color, #ccc);
}
.svc-compare-val {
  font-size: 14px;
  color: #333;
}
.svc-compare-empty {
  color: #ccc;
  font-size: 14px;
}
.svc-compare-actions .svc-compare-col {
  padding: 16px 10px;
}
.svc-compare-actions .svc-btn {
  min-width: 96px;
}

/* 右栏购买盒：与图集顶对齐并吸顶 */
.svc-col-buy {
  flex: 0 0 420px;
  width: 420px;
  position: sticky;
  top: 116px;
  align-self: flex-start;
  z-index: 5;
  max-height: calc(100vh - 128px);
}
.svc-buybox {
  width: 100%;
  position: static;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: inherit;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}
.svc-tier-tabs {
  display: flex;
  border: 1px solid #f1f1f1;
  border-bottom: 1px solid #f1f1f1;
  margin-bottom: 12px;
  border-radius: 6px;
  overflow: hidden;
}

.svc-corner-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  background: #fff;
  color: #404145;
  font-size: 13px;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
}
.svc-corner-btn:hover {
  background: #f5f5f5;
  color: #222;
}
.svc-corner-btn.is-done {
  color: var(--svc-accent);
  border-color: #ffd0b0;
  background: #fff7f0;
  cursor: default;
}
.svc-corner-btn.is-static {
  cursor: default;
}
.svc-corner-btn em {
  font-style: normal;
  font-weight: 600;
  color: inherit;
}
.svc-corner-share,
.svc-corner-more {
  position: relative;
}
.svc-corner-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 140px;
  padding: 6px 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 20;
}
.svc-corner-menu[hidden] {
  display: none !important;
}
.svc-corner-menu a {
  display: block;
  padding: 8px 14px;
  color: #333 !important;
  font-size: 13px;
  white-space: nowrap;
  text-decoration: none !important;
}
.svc-corner-menu a:hover {
  background: #f7f7f7;
}
.svc-ico-heart,
.svc-ico-share,
.svc-ico-more {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: currentColor;
  flex: 0 0 auto;
}
.svc-ico-heart {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6.7-4.3-9.3-8.2C.7 9.6 2.1 6 5.4 6c1.8 0 3.1 1 3.9 2.2C10.1 7 11.4 6 13.2 6c3.3 0 4.7 3.6 2.7 6.8C18.7 16.7 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 21s-6.7-4.3-9.3-8.2C.7 9.6 2.1 6 5.4 6c1.8 0 3.1 1 3.9 2.2C10.1 7 11.4 6 13.2 6c3.3 0 4.7 3.6 2.7 6.8C18.7 16.7 12 21 12 21z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.svc-ico-heart.is-on {
  color: var(--svc-accent);
}
.svc-ico-share {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M14 3h7v7h-2V6.4l-9.3 9.3-1.4-1.4L17.6 5H14V3zM5 5h6v2H7v10h10v-4h2v6H5V5z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.svc-ico-more {
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='5' cy='12' r='2'/%3E%3Ccircle cx='12' cy='12' r='2'/%3E%3Ccircle cx='19' cy='12' r='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.svc-buybox > .svc-buy-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}

.svc-tier-item {
  flex: 1 1 0;
  min-width: 0;
  appearance: none;
  border: 0;
  background: #fff;
  padding: 12px 0 12px 16px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  min-height: 70px;
  height: 70px;
  box-sizing: border-box;
  position: relative;
}
.svc-tier-name {
  display: block;
  font-size: 16px;
  line-height: 16px;
  color: #666;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.svc-tier-price {
  display: block;
  margin-top: 5px;
  font-size: 16px;
  line-height: 16px;
  color: var(--svc-accent);
  font-weight: 400;
  white-space: nowrap;
}
.svc-tier-price i {
  font-style: normal;
  font-size: 12px;
}
.svc-tier-price-muted {
  color: #999;
  font-size: 14px;
}
.svc-tier-item.svc-tier-consult {
  border-left: 1px solid #f1f1f1;
}
.svc-tier-tabs .svc-tier-item:only-child,
.svc-tier-tabs .svc-tier-item:first-child:nth-last-child(2),
.svc-tier-tabs .svc-tier-item:first-child:nth-last-child(2) ~ .svc-tier-item {
  flex: 1 1 50%;
}
/* 猪八戒 fw/1719139：选中套餐整块橙底白字 */
.svc-tier-item.is-active {
  background: var(--svc-accent);
  box-shadow: none;
}
.svc-tier-item.is-active .svc-tier-name {
  color: #fff;
  font-weight: 400;
}
.svc-tier-item.is-active .svc-tier-price,
.svc-tier-item.is-active .svc-tier-price i {
  color: #fff;
  font-size: 20px;
  line-height: 20px;
  font-weight: 400;
}
.svc-tier-item.is-active .svc-tier-price i {
  font-size: 14px;
}

.svc-buy-body {
  padding: 0 14px 16px;
}

.svc-status-tip {
  padding: 8px 0 4px;
  font-size: 16px;
  color: #999;
}

.svc-delivery {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  padding: 0 0 8px;
  font-size: 12px;
  color: #000;
  line-height: 12px;
}
.svc-delivery-main {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.svc-delivery-sub {
  color: #666;
}
.svc-ico-clock {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 1.5px solid #999;
  border-radius: 50%;
  position: relative;
  box-sizing: border-box;
  vertical-align: -1px;
}
.svc-ico-clock::before {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 2px;
  width: 1.5px;
  height: 4px;
  background: #999;
}
.svc-ico-clock::after {
  content: '';
  position: absolute;
  left: 4.5px;
  top: 5px;
  width: 3px;
  height: 1.5px;
  background: #999;
}

.svc-feat-list {
  max-height: 238px;
  overflow: auto;
  margin: 0 0 4px;
  scrollbar-width: thin;
  scrollbar-color: #ddd transparent;
}
.svc-feat-list::-webkit-scrollbar {
  width: 4px;
}
.svc-feat-list::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 2px;
}
.svc-feat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  min-height: 34px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 24px;
  color: #333;
}
.svc-feat-label {
  flex: 1 1 auto;
  min-width: 0;
  color: #666;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-feat-val {
  flex: 0 0 auto;
  color: #333;
  font-size: 12px;
}
.svc-feat-ok {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--svc-ok);
  position: relative;
}
.svc-feat-ok::after {
  content: '';
  position: absolute;
  left: 3.5px;
  top: 3px;
  width: 6px;
  height: 3.5px;
  border-left: 1.5px solid #fff;
  border-bottom: 1.5px solid #fff;
  transform: rotate(-45deg);
}

.svc-compare-link {
  margin: 4px 0 0;
  text-align: left;
  font-size: 14px;
  line-height: 16px;
}
.svc-compare-link a {
  color: var(--svc-accent) !important;
  font-weight: 500;
  text-decoration: none !important;
}
.svc-compare-link a:hover {
  opacity: 0.85;
}

.svc-qty {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
  font-size: 14px;
  color: #000;
  line-height: 16px;
}
.svc-qty-ctrl {
  display: inline-flex;
  border: 1px solid #dcdfe6;
  border-radius: 2px;
  overflow: hidden;
}
.svc-qty-ctrl button,
.svc-qty-ctrl input {
  width: 28px;
  height: 28px;
  border: 0;
  background: #fff;
  text-align: center;
  font-size: 13px;
  color: #333;
}
.svc-qty-ctrl button {
  color: #c0c4cc;
  cursor: not-allowed;
  background: #f5f7fa;
}
.svc-qty-ctrl input {
  width: 40px;
  border-left: 1px solid #dcdfe6;
  border-right: 1px solid #dcdfe6;
}

.svc-actions {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
}
.svc-actions[hidden],
.svc-feat-list[hidden] {
  display: none !important;
}
.svc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 0 20px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  box-sizing: border-box;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.svc-btn-ghost {
  flex: 0 0 118px;
  width: 118px;
  color: var(--svc-accent) !important;
  background: #fff;
  border: 1px solid var(--svc-accent);
}
.svc-btn-ghost:hover {
  background: #fff7f0;
  color: var(--svc-accent-dark) !important;
}
.svc-btn-primary {
  flex: 1 1 auto;
  color: #fff !important;
  background: var(--svc-accent);
  border: 1px solid var(--svc-accent);
}
.svc-btn-primary:hover {
  background: var(--svc-accent-dark);
  border-color: var(--svc-accent-dark);
  color: #fff !important;
}
.svc-btn-sm {
  height: 34px;
  padding: 0 12px;
  font-size: 13px;
  flex: none;
  width: auto;
}
.svc-btn-block {
  width: 100%;
  flex: none;
}

.svc-trust {
  margin-top: 14px;
  border: 1px solid #d9f7be;
  border-radius: 8px;
  background: #f6ffed;
  overflow: hidden;
}
.svc-trust-hd {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 0;
}
.svc-trust-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 2px;
  background: #52c41a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.svc-trust-tip {
  font-size: 12px;
  color: #389e0d;
}
.svc-trust-bd {
  padding: 6px 10px 10px;
}
.svc-trust-bd p {
  margin: 0 0 6px;
  font-size: 12px;
  color: #333;
}
.svc-trust-bd ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}
.svc-trust-bd li {
  position: relative;
  padding-left: 14px;
  font-size: 12px;
  color: #389e0d;
}
.svc-trust-bd li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #52c41a;
  font-weight: 700;
}

.svc-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}
.svc-tool-link {
  font-size: 13px;
  color: #666;
}
.svc-tool-link.is-done {
  color: #999;
}
.svc-share {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #666;
}
.svc-share img {
  width: 18px;
  height: 18px;
}

.svc-tabs-sticky {
  position: sticky;
  top: 116px;
  z-index: 40;
  background: #fff;
}
/* 仅吸顶后遮住往上滚出的正文，避免平时盖住图集 */
.svc-tabs-sticky.is-stuck::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 180px;
  background: #fff;
  pointer-events: none;
  z-index: 0;
}
.svc-tabs-clip {
  position: relative;
  z-index: 1;
  overflow-x: auto;
  overflow-y: hidden;
  background: #fff;
  border-bottom: 1px solid #eee;
  height: 60px;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.svc-tabs-clip::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.svc-tabs {
  position: relative;
  top: 0;
  z-index: 1;
  display: flex;
  gap: 0;
  background: #fff;
  border: 0;
  border-bottom: 0;
  border-radius: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
  box-shadow: none;
  height: 60px;
  align-items: stretch;
  min-width: max-content;
}
.svc-tabs-sticky + .svc-main,
.svc-tabs-sticky + #svcTabPanels,
.svc-tabs-clip + .svc-main,
.svc-tabs-clip + #svcTabPanels,
.svc-tabs + .svc-main,
.svc-tabs + #svcTabPanels {
  border-top: 0;
}
.svc-layout > .svc-tabs-sticky + .svc-main > .svc-panel:first-child,
.svc-layout > .svc-tabs-clip + .svc-main > .svc-panel:first-child,
.svc-layout > .svc-tabs + .svc-main > .svc-panel:first-child,
.svc-layout > #svcTabPanels > .svc-panel:first-child {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}
.svc-tabs a,
.svc-tabs button {
  flex: 0 0 auto;
  appearance: none;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0 14px;
  height: 60px;
  font-size: 15px;
  color: #333;
  text-decoration: none !important;
  white-space: nowrap;
  cursor: pointer;
  line-height: 60px;
}
.svc-tabs a:hover,
.svc-tabs a.is-active,
.svc-tabs button:hover,
.svc-tabs button.is-active {
  color: var(--svc-accent);
  border-bottom-color: var(--svc-accent);
  font-weight: 600;
}
.svc-btn.is-disabled,
.svc-btn.is-disabled:hover {
  background: #ccc !important;
  border-color: #ccc !important;
  color: #fff !important;
  cursor: not-allowed;
  pointer-events: none;
}
.svc-tier-tabs .svc-tier-item[role="presentation"] {
  cursor: default;
}
.svc-layout {
  display: block;
  margin-top: 0;
  position: relative;
  z-index: 0;
}
.svc-main {
  position: relative;
  z-index: 0;
}
.svc-main > .svc-panel {
  border-radius: 0;
  border: 0;
  margin-top: 0;
  margin-bottom: 16px;
  display: block;
}
.svc-panel.is-active {
  display: block;
}
.svc-panel[hidden],
#svcTabPanels > .svc-panel[hidden] {
  display: block !important;
}

.svc-panel {
  background: #fff;
  border: 0;
  border-radius: 0;
  padding: 24px 0;
  margin-bottom: 16px;
  box-shadow: none;
}
.svc-panel-title {
  margin: 0 0 20px;
  padding-left: 10px;
  border-left: 3px solid var(--svc-accent);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}
.svc-guarantee-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.svc-guarantee-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid #f5f5f5;
}
.svc-guarantee-list li:last-child {
  border-bottom: 0;
}
.svc-guarantee-list strong {
  flex: 0 0 88px;
  font-size: 15px;
  color: #333;
}
.svc-guarantee-list span {
  flex: 1;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}
.svc-meta-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 32px;
}
.svc-meta-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 14px;
}
.svc-meta-list span {
  color: #999;
}
.svc-meta-list em {
  font-style: normal;
  color: #333;
  font-weight: 500;
}
.svc-case-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.svc-case-card {
  display: block;
  text-decoration: none !important;
  color: inherit;
  border: 1px solid #eee;
  overflow: hidden;
}
.svc-case-cover {
  height: 140px;
  background: #f7f7f7;
  overflow: hidden;
}
.svc-case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-case-body {
  padding: 12px 14px;
}
.svc-case-body h5 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.svc-case-body p {
  margin: 0;
  font-size: 12px;
  color: #999;
}
.svc-panel-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.svc-panel-hd .svc-panel-title {
  margin: 0;
}
.svc-panel-hd a {
  font-size: 13px;
  color: #999;
}
.svc-desc {
  font-size: 14px;
  line-height: 1.8;
  color: #666;
  word-wrap: break-word;
}
.svc-desc img {
  max-width: 100%;
  height: auto;
}

.svc-review-summary {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  margin-bottom: 16px;
  background: #fafafa;
  border-radius: 6px;
}
.svc-review-score {
  text-align: center;
}
.svc-review-score strong {
  display: block;
  font-size: 36px;
  color: var(--svc-accent);
  line-height: 1.1;
}
.svc-review-score span {
  font-size: 12px;
  color: #999;
}
.svc-review-bars div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  color: #666;
  padding: 3px 0;
}
.svc-review-bars b {
  color: var(--svc-accent);
  font-weight: 600;
}
.svc-review-rate {
  font-size: 13px;
  color: #666;
  text-align: right;
}
.svc-review-rate em {
  font-style: normal;
  color: var(--svc-accent);
  font-weight: 600;
}
.svc-review-filters {
  margin-bottom: 8px;
}

.svc-empty,
.svc-empty-text {
  text-align: center;
  color: #999;
  padding: 28px 12px;
}
.svc-empty img {
  max-width: 120px;
  opacity: .8;
}
.svc-empty p {
  margin-top: 10px;
}

.svc-shop-card {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
}
.svc-shop-avatar img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}
.svc-shop-info h3 {
  margin: 0 0 6px;
  font-size: 16px;
}
.svc-shop-info h3 a {
  color: #333;
}
.svc-shop-desc {
  margin: 0 0 8px;
  font-size: 13px;
  color: #999;
  line-height: 1.5;
}
.svc-shop-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  color: #666;
}
.svc-shop-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-more-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.svc-more-card {
  display: block;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none !important;
  background: #fff;
  transition: box-shadow .15s ease;
}
.svc-more-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.svc-more-cover {
  aspect-ratio: 4 / 3;
  background: #f5f5f5;
}
.svc-more-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.svc-more-body {
  padding: 10px;
}
.svc-more-body h5 {
  margin: 0 0 8px;
  font-size: 13px;
  color: #333;
  line-height: 1.4;
  height: 36px;
  overflow: hidden;
}
.svc-more-body p {
  margin: 0;
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  color: #999;
}
.svc-more-body em {
  font-style: normal;
  color: var(--svc-accent);
  font-weight: 700;
}

.svc-aside-card {
  position: static;
  top: auto;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 4px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.svc-aside-shop {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 14px;
}
.svc-aside-shop img {
  width: 48px;
  height: 48px;
  border-radius: 6px;
  object-fit: cover;
}
.svc-aside-shop strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}
.svc-aside-shop strong a {
  color: #333;
}
.svc-aside-shop p {
  margin: 0;
  font-size: 12px;
  color: #999;
}
.svc-aside-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

@media (max-width: 1199px) {
  .svc-shopbar-inner,
  .svc-shopnav-inner {
    padding: 0 16px;
  }
  .svc-shopbar-name {
    max-width: 280px;
  }
  .svc-body {
    flex-direction: column;
    gap: 24px;
  }
  .svc-col-main {
    width: 100%;
    max-width: none;
  }
  .svc-gallery {
    max-width: none;
    width: 100%;
  }
  .svc-gallery-main {
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .svc-col-buy {
    flex: none;
    width: 100%;
    position: static;
    max-height: none;
  }
  .svc-buybox {
    flex: none;
    width: 100%;
    position: static;
    max-height: none;
  }
  .svc-meta-list,
  .svc-case-list {
    grid-template-columns: 1fr;
  }
  .svc-compare-row {
    grid-template-columns: 100px repeat(var(--cmp-cols, 3), 1fr);
  }
  .svc-compare-tier strong {
    font-size: 14px;
  }
  .svc-compare-tier em {
    font-size: 18px;
  }
}

@media (max-width: 991px) {
  .svc-shop-card {
    grid-template-columns: 64px 1fr;
  }
  .svc-shop-actions {
    grid-column: 1 / -1;
    flex-direction: row;
  }
  .svc-more-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .svc-review-summary {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .svc-review-rate {
    text-align: left;
  }
  .svc-title {
    font-size: 20px;
  }
}

@media (max-width: 575px) {
  .svc-shopbar-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 0;
  }
  .svc-shopbar-name {
    max-width: 100%;
    font-size: 16px;
  }
  .svc-shopnav {
    height: auto;
  }
  .svc-shopnav-inner {
    flex-wrap: wrap;
    height: auto;
  }
  .svc-shopnav a {
    min-width: 0;
    flex: 1 1 25%;
    padding: 0 8px;
    font-size: 13px;
    line-height: 40px;
  }
  .svc-shopnav a + a::before {
    display: none;
  }
  .svc-crumb-bar {
    flex-wrap: wrap;
  }
  .svc-crumb-bar .svc-corner-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .svc-head-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .svc-head-aside {
    width: auto;
    max-width: 100%;
    justify-content: flex-start;
    text-align: left;
  }
  .svc-actions {
    flex-direction: column;
  }
  .svc-btn-ghost {
    width: 100%;
    flex: none;
  }
  .svc-more-list {
    grid-template-columns: 1fr;
  }
  .svc-tier-item {
    padding: 10px 6px;
    min-height: 62px;
  }
  .svc-buy-body {
    padding: 0 14px 14px;
  }
}
