/* 原站首页静态化 · 交互与少量布局补丁 */
html { font-size: 16px; }

body {
  margin: 0;
  background: #d9d6cf;
  -webkit-tap-highlight-color: transparent;
}

.shopsite-page {
  max-width: 30rem;
  margin: 0 auto;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.08);
}

/* 顶部横幅：保留原站 138px 高度与两侧缩略效果 */
.orig-banner {
  position: relative;
  height: 8.625rem;
  min-height: 0;
  margin: 0 0 0.8125rem;
  overflow: hidden;
  background: #0c2c4c;
}

.orig-banner-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.orig-banner-track::-webkit-scrollbar { display: none; }

.orig-banner-slide {
  position: relative;
  flex: 0 0 90%;
  margin-right: 3%;
  overflow: hidden;
  border-radius: 0.625rem;
  background: #0c2c4c;
  opacity: 0.55;
  transform: scale(0.9);
  transition: transform 0.28s ease, opacity 0.28s ease;
  scroll-snap-align: center;
}

.orig-banner-slide:first-child { margin-left: 5%; }
.orig-banner-slide:last-child { margin-right: 5%; }

.orig-banner-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.orig-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orig-banner-dots {
  position: absolute;
  right: 0;
  bottom: 0.375rem;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 0.25rem;
}

.orig-banner-dots i {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}

.orig-banner-dots i.is-active { background: #ffd76a; }

/* 命定桃花的 SVGA 用静态桃花枝替代 */
.orig-peach {
  width: 3.125rem;
  height: 3.125rem;
  margin: 0.5625rem auto 0.4375rem;
}

.orig-peach svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* 精品推荐 Tab 吸顶 */
.shopsite-goods-wrap .goods-collection .type-tab {
  position: sticky;
  top: 0;
  z-index: 8;
  margin-bottom: 0.75rem;
  padding: 0.625rem 0;
  background: #fff;
}

/* 红包弹层 */
.orig-popup-hidden { display: none !important; }

.orig-popup-close {
  position: fixed;
  top: 10%;
  right: 8%;
  z-index: 12;
  display: none;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  font-size: 1.125rem;
  line-height: 1.75rem;
  text-align: center;
  cursor: pointer;
}

/* 吸底红包条 */
.orig-timebar[hidden] { display: none !important; }

.orig-timebar .timer i {
  color: #ad0000;
  font-style: normal;
  font-weight: 700;
}

/* Toast */
.orig-toast {
  position: fixed;
  top: 45%;
  left: 50%;
  z-index: 99;
  max-width: 15rem;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  font-size: 0.8125rem;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}

.orig-toast.is-show { opacity: 1; }

[data-pid],
[data-href],
.tab-bar-item { cursor: pointer; }

.load-more { display: none !important; }
