@import '../../styles/shangjia-xym-common.wxss';

page {
  background: #fff8e1;
}

.sj-page--home {
  overflow: visible;
  padding-bottom: calc(110rpx + env(safe-area-inset-bottom));
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.guest-box {
  margin-top: 80rpx;
  padding: 48rpx 32rpx;
  text-align: center;
}

.guest-title {
  display: block;
  font-size: 34rpx;
  font-weight: 700;
  color: #343434;
}

.guest-desc {
  display: block;
  font-size: 26rpx;
  color: #888;
  margin: 16rpx 0 32rpx;
}

.guest-btn {
  height: 88rpx;
  font-size: 30rpx;
}

.sj-main-body {
  position: relative;
  z-index: 3;
  padding-bottom: 24rpx;
}

.swiper-wrap {
  box-sizing: border-box;
  overflow: hidden;
  margin: 12rpx 24rpx 16rpx;
}

.swiper-con {
  position: relative;
  overflow: hidden;
}

.banner-swiper,
.slide-image,
.banner-placeholder {
  width: 100%;
  height: 300rpx;
  border-radius: 20rpx;
}

.dots {
  position: absolute;
  bottom: 20rpx;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  gap: 10rpx;
}

.dot {
  width: 8rpx;
  height: 8rpx;
  border-radius: 50%;
  background: #fff;
  transition: all 0.3s;
}

.dot.active {
  width: 16rpx;
  border-radius: 8rpx;
  background: #ffd061;
}

.sj-notice-bar {
  display: flex;
  align-items: center;
  background: #fdf9db;
  margin: 12rpx 24rpx 0;
  border-radius: 10rpx;
  padding: 10rpx 16rpx;
}

.notice-ico {
  width: 56rpx;
  height: 56rpx;
  flex-shrink: 0;
  margin-right: 12rpx;
  background-image: url('https://bintao.xmxym88.com/xcx/bintao/38.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.sj-notice-txt {
  font-size: 24rpx;
  color: #666;
  line-height: 1.5;
  flex: 1;
}

.sj-fadan-block {
  margin: 16rpx 24rpx 0;
  display: flex;
  flex-direction: column;
  gap: 10rpx;
}

.sj-fadan-row {
  display: flex;
  margin: 0;
  padding: 0;
  gap: 16rpx;
}

.sj-fadan-row--link {
  margin-top: 0;
}

.sj-fadan-img-btn {
  flex: 1;
  height: 150rpx;
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

.sj-fadan-img-btn--left {
  background-image: url('https://bintao.xmxym88.com/xcx/bintao/74.png');
}

.sj-fadan-img-btn--right {
  background-image: url('https://bintao.xmxym88.com/xcx/bintao/76.png');
}

.sj-fadan-big-btn {
  flex: 1;
  height: 128rpx;
  border-radius: 16rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6rpx 20rpx rgba(0, 0, 0, 0.08);
}

.sj-fadan-big-btn--link {
  background: linear-gradient(180deg, #fae04d, #ffc0a3);
}

.sj-fadan-big-title {
  font-size: 30rpx;
  font-weight: 700;
  color: #492f00;
}

.sj-fadan-big-sub {
  font-size: 22rpx;
  color: #886633;
  margin-top: 8rpx;
}

.merchant-stats {
  margin: 12rpx 25rpx 0;
  border-radius: 26rpx;
  padding-bottom: 24rpx;
  position: relative;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 6rpx 22rpx rgba(0, 0, 0, 0.08);
}

.merchant-stats-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://bintao.xmxym88.com/xcx/bintao/3.png');
  background-size: 100% auto;
  background-repeat: no-repeat;
  background-position: center top;
  pointer-events: none;
  z-index: 0;
}

.merchant-stats-inner {
  position: relative;
  z-index: 2;
  padding: 0 0 10rpx;
}

.stats-hd {
  padding: 24rpx 25rpx 10rpx;
}

.stats-hd-sp {
  flex: 1;
}

.stats-more {
  font-size: 28rpx;
  font-weight: 700;
  color: #fff;
}

.stats-row {
  align-items: stretch;
  background: #fff;
  border-radius: 20rpx;
  margin: 0 16rpx;
}

.stats-row--gap {
  margin-top: 12rpx;
}

.stat-col {
  flex: 1;
  min-width: 0;
  padding: 36rpx 24rpx;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-lbl {
  font-size: 24rpx;
  color: #666;
  opacity: 0.85;
  margin-bottom: 12rpx;
}

.stat-num {
  font-size: 44rpx;
  font-weight: 700;
  color: #222;
}

.stat-divider {
  width: 2rpx;
  background: #eee;
  height: 80rpx;
  align-self: center;
  flex-shrink: 0;
}

.stats-kefu-wrap {
  margin: 20rpx 24rpx 0;
}

.kefu-row-inset {
  align-items: flex-start;
  width: 100%;
  gap: 20rpx;
}

.kefu-btn-inset {
  flex: 1;
  line-height: 0;
}

.kefu-inset-img {
  width: 100%;
  display: block;
}

.recent-box {
  margin: 28rpx 24rpx 0;
  border-radius: 26rpx;
  background: #fff;
  padding-bottom: 10rpx;
  box-shadow: 0 6rpx 22rpx rgba(0, 0, 0, 0.06);
}

.recent-hd {
  padding: 24rpx;
}

.recent-title {
  font-size: 32rpx;
  font-weight: 700;
  color: #222;
}

.recent-more {
  font-size: 24rpx;
  color: #999;
}

.recent-item {
  padding: 20rpx 24rpx;
  border-top: 1rpx solid #f0f0f0;
  align-items: center;
}

.recent-name {
  font-size: 28rpx;
  font-weight: 700;
  color: #333;
}

.recent-sub {
  font-size: 22rpx;
  color: #999;
  margin-top: 8rpx;
  display: block;
}

.recent-money {
  font-size: 30rpx;
  color: #e67e22;
  font-weight: 700;
  flex-shrink: 0;
  margin-left: 16rpx;
}

.recent-main {
  flex: 1;
  min-width: 0;
}

.recent-empty {
  text-align: center;
  padding: 48rpx;
  font-size: 26rpx;
  color: #999;
}

.line2 {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.staff-banner {
  margin-top: 16rpx;
  padding: 16rpx 24rpx;
  background: #fff8e8;
  border-radius: 12rpx;
  border: 1rpx solid #f0d89a;
}

.staff-banner-txt {
  font-size: 24rpx;
  color: #8a6d2b;
}
