a.shop-action-btn {
  text-decoration: none;
  color: inherit;
}
a.btn-buy {
  text-decoration: none;
  color: #fff;
}
:root {
  --primary-color: #0d6efd;
  --secondary-color: #f5f5f5;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #f5f5f5;
  margin: 0;
  padding: 0;
  font-size: 14px;
  margin: 0 auto;
}
button {
  color: #000;
}
.header {
  background-color: white;
  padding: 0.32rem 0.4rem;
  box-shadow: 0 0.026667rem 0.133333rem rgba(0, 0, 0, 0.05);
  padding-bottom: 0.133333rem;
}
.search-container {
  display: flex;
  align-items: center;
  background-color: #fff;
  border-radius: 0.533333rem;
  padding: 0.133333rem;
  margin-bottom: 0.266667rem;
  border: solid 0.026667rem var(--primary-color);
}
.search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.373333rem;
  padding: 0 0.213333rem;
}
.search-btn {
  color: #fff;
  background: none;
  border: none;
  font-size: 0.373333rem;
  background-color: var(--primary-color);
  border-radius: 0.4rem;
  padding: 0.133333rem 0.4rem;
  white-space: nowrap;
}
.shop-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.266667rem 0;
}
.shop-name {
  font-weight: bold;
  margin-right: 0.133333rem;
  font-family: sans-serif;
  padding-left: 0.133333rem;
}
.auth-banner {
  background-color: #e6f7ff;
  border-radius: 0.213333rem;
  padding: 0.213333rem;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  color: var(--primary-color);
  font-size: 0.32rem;
}
.auth-banner span {
  white-space: nowrap;
  margin: 0.053333rem 0;
}
.filter-container {
  background-color: white;
  padding: 0.133333rem 0.4rem;
  margin-bottom: 0.266667rem;
}
.filter-container-broadband #mainContent {
  display: none;
}
#broadbandContent {
  display: none;
}
.filter-container-broadband #broadbandContent {
  display: flex;
}
#broadbandContent .filter-group,
#broadbandContent .filter-group:not(:first-child) {
  flex: 1;
  min-width: 0;
}
#broadbandContent .bb-region-group {
  flex: 0 0 15%;
  min-width: 2.133333rem;
}
.filter-row {
  display: flex;
  gap: 0.213333rem;
  margin-bottom: 0.133333rem;
  overflow-x: auto;
  padding-bottom: 0.133333rem;
  margin: 0.133333rem 0rem;
}
.filter-row::-webkit-scrollbar {
  display: none;
}
.filter-select {
  flex: 1;
  font-size: 0.32rem;
  padding: 0.053333rem 0.133333rem;
  border-radius: 0.106667rem;
  border: none;
}
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.213333rem;
  border-top: solid 0.026667rem #eee;
  padding-top: 0.266667rem;
}
.filter-button {
  padding: 0.106667rem 0.4rem;
  border-radius: 0.4rem;
  background-color: var(--secondary-color);
  font-size: 0.373333rem;
  border: none;
  white-space: nowrap;
}
.filter-button.active {
  background-color: var(--primary-color);
  color: white;
}
.product-type-buttons {
  display: flex;
  gap: 0.213333rem;
  border-top: solid 0.026667rem #eee;
  padding-top: 0.266667rem;
  margin-top: 0.266667rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 0.133333rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
}
.product-type-buttons::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera */
}
.product-type-button {
  padding: 0.106667rem 0.4rem;
  border-radius: 0.4rem;
  background-color: var(--secondary-color);
  font-size: 0.373333rem;
  border: none;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.product-type-button:hover {
  background-color: #e9ecef;
  border-color: #dee2e6;
}
.product-type-button.active {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}
.product-list {
  padding: 0 0.266667rem;
}
.card-item {
  background-color: white;
  border-radius: 0.213333rem;
  margin-bottom: 0.266667rem;
  padding: 0.266667rem;
  box-shadow: 0rem 0rem 0.533333rem 0rem rgba(0, 0, 0, 0.05);
  border: solid 0.026667rem rgba(0, 0, 0, 0.05);
}
.card-title {
  font-size: 0.426667rem;
  font-weight: bold;
  margin-bottom: 0rem;
  line-height: 1.15;
}
.card-title-sub {
  margin-top: -0.08rem;
  font-size: 0.3733rem;
  font-weight: 400;
  line-height: 1.3;
  display: block;
  height: 1.5rem;
  display: flex;
  align-items: center;
}
.card-title-full {
  line-height: 1.35;
  word-break: break-all;
}
.card-tag {
  display: inline-block;
  padding: 0.035rem 0.2667rem;
  font-size: 0.32rem;
  border-radius: 3px;
  margin-right: 0.2rem;
  margin-bottom: 0.2rem;
  transition: all 0.2s ease;
}
.card-tag:hover {
  transform: translateY(-0.053333rem);
  box-shadow: 0 0.053333rem 0.133333rem rgba(0, 0, 0, 0.1);
}
.card-features {
  display: flex;
  margin: 0.266667rem 0;
  border: 0.026667rem solid #eee;
}
.card-features-details .feature-item:not(:last-child) {
  border-right: 0.026667rem solid #eee;
}
.feature-item {
  flex: 1;
  text-align: center;
  padding: 0.133333rem;
}
.feature-value {
  font-size: 0.426667rem;
  font-weight: bold;
  color: var(--primary-color);
}
.feature-label {
  font-size: 0.32rem;
  color: #666;
}
.card-price {
  font-weight: bold;
  color: #ff3d63;
}
.card-price small {
  font-size: 0.373333rem;
  color: #666;
}
.card-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 0.4rem;
  align-items: center;
}
.card-actions-no-age {
  justify-content: flex-end;
}
.card-actionsh {
  display: flex;
  justify-content: space-between;
}
.card-actionsh img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  border-radius: 0.08rem;
}
.btn-share {
  height: 0.853333rem;
  padding: 0 0.346667rem;
  border-radius: 0.426667rem;
  border: 0.026667rem solid #dfe3ea;
  background: #f7f8fa;
  color: #5e6673;
  font-size: 0.346667rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  line-height: 1;
  white-space: nowrap;
  transition: all 0.2s ease;
}
.btn-buy {
  background-color: var(--primary-color);
  color: white;
  border: none;
  height: 0.853333rem;
  border-radius: 0.426667rem;
  padding: 0 0.426667rem;
  font-size: 0.346667rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 0.08rem 0.213333rem rgba(13, 110, 253, 0.24);
  transition: all 0.2s ease;
}
.btn-buy-free {
  background-color: var(--primary-color);
}
.btn-buy-paid {
  background-color: #dc3545;
}
input,
select,
textarea {
  font-size: 0.426667rem;
}
.shop-info-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin: 0.4rem 0;
}
.shop-info-container .shop-logo {
  width: 1.4rem;
  height: 1.4rem;
  object-fit: contain;
  margin-right: 0.2667rem;
}
.shop-info-left {
  flex: 1;
}
.shop-name {
  font-weight: bold;
  font-size: 0.426667rem;
  margin-bottom: 0.133333rem;
}
.shop-rating-container {
  display: flex;
  align-items: center;
  font-family: sans-serif;
}
.shop-rating {
  font-size: 0.32rem;
  margin-right: 0rem;
  border: solid 0.026667rem #ffe8ee;
  padding: 0.053333rem 0.133333rem;
  border-radius: 0rem;
  color: #ff3d63;
  border-radius: 0rem 0.133333rem 0.133333rem 0rem;
  font-weight: bold;
  border-left: none;
}
.shop-reputation {
  font-size: 0.32rem;
  margin-right: 0rem;
  border: solid 0.026667rem #ffe8ee;
  padding: 0.053333rem 0.133333rem;
  border-radius: 0rem;
  color: #ff3d63;
  border-radius: 0.133333rem 0rem 0rem 0.133333rem;
  font-weight: bold;
}
.shop-badge {
  background-color: #f3f6fd;
  color: #667490;
  padding: 0.053333rem 0.16rem;
  border-radius: 0.106667rem;
  font-size: 0.32rem;
  margin-left: 0.133333rem;
}
.shop-info-right {
  display: flex;
  gap: 0.32rem;
}
.shop-action-btn {
  background: none;
  border: none;
  color: #343a40;
  font-size: 0.346667rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
}
.shop-action-btn i {
  font-size: 0.48rem;
  margin-bottom: 0.053333rem;
}
.lxkf {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lxkf.show {
  display: flex;
}
.kf-modal-v2 {
  background: #fff;
  border-radius: 16px;
  width: 88%;
  max-width: 340px;
  overflow: hidden;
  position: relative;
  animation: kfModalIn 0.28s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes kfModalIn {
  from {
    opacity: 0;
    transform: scale(0.85);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.kyclose.kf-v2-close {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 10;
  font-size: 22px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  line-height: 1;
  padding: 2px 4px;
  width: auto;
  height: auto;
  background: none;
  border: none;
}
.kyclose.kf-v2-close:hover {
  color: #fff;
}
.kf-v2-banner {
  position: relative;
  height: 80px;
  overflow: hidden;
  background: linear-gradient(135deg, #1aad19, #39d038);
}
.kf-v2-banner .kf-v2-banner-img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.kf-v2-banner .kf-v2-banner-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.kf-v2-banner .kf-v2-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.kf-v2-banner .kf-v2-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 5px;
  letter-spacing: 0.5px;
}
.kf-v2-body {
  padding: 16px 20px 20px;
  text-align: center;
}
.kf-v2-shop-card {
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 14px;
  text-align: left;
}
.kf-v2-shop-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
  flex-shrink: 0;
  background: #eee;
}
.kf-v2-shop-name {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}
.kf-v2-shop-tag {
  font-size: 11px;
  color: #1aad19;
  margin-top: 3px;
}
.kf-v2-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}
.kf-v2-qr-wrap.erwm img,
.kf-v2-qr-wrap .kf-v2-qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border: 1.5px dashed #d0d0d0;
  border-radius: 8px;
  padding: 6px;
  background: #fafafa;
}
.kf-v2-qr-label {
  font-size: 13px;
  color: #666;
  margin-bottom: 5px;
}
.kf-v2-certified {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  color: #1aad19;
  background: #f0faf0;
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 14px;
  gap: 4px;
}
.kf-v2-certified-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1aad19;
  flex-shrink: 0;
}
.kf-v2-link-btn {
  display: block;
  background: linear-gradient(135deg, #1aad19, #39d038);
  color: #fff;
  border-radius: 24px;
  padding: 12px 0;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 10px;
  box-shadow: 0 4px 14px rgba(26, 173, 25, 0.35);
  letter-spacing: 0.5px;
  transition: opacity 0.2s;
}
.kf-v2-link-btn:active {
  opacity: 0.85;
}
.kf-v2-sub-tip {
  font-size: 11px;
  color: #bbb;
  line-height: 1.6;
}
.svc-shop-card {
  display: flex;
  align-items: center;
  gap: 0.266667rem;
  padding: 0.4rem 0.426667rem;
  border-bottom: 0.026667rem solid #f0f0f0;
}
.svc-shop-card .svc-shop-logo {
  width: 1.066667rem;
  height: 1.066667rem;
  border-radius: 0.186667rem;
  object-fit: cover;
  flex-shrink: 0;
  border: 0.026667rem solid #eee;
  background: #f5f5f5;
}
.svc-shop-card .svc-shop-info {
  flex: 1;
}
.svc-shop-card .svc-shop-info .svc-shop-name {
  font-size: 0.373333rem;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.4;
}
.svc-shop-card .svc-shop-info .svc-shop-badge {
  display: inline-block;
  font-size: 0.266667rem;
  color: #4caf50;
  border: 0.026667rem solid #4caf50;
  border-radius: 0.106667rem;
  padding: 0.026667rem 0.16rem;
  margin-top: 0.08rem;
}
.svc-qr-wrap {
  margin: 0.373333rem auto 0;
  width: 4.266667rem;
  height: 4.266667rem;
  border: 0.026667rem solid #e0e0e0;
  border-radius: 0.16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #fafafa;
}
.svc-qr-wrap .svc-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.svc-qr-wrap .svc-qr-placeholder {
  text-align: center;
  color: #bbb;
  padding: 0.266667rem;
}
.svc-qr-wrap .svc-qr-placeholder .bi {
  font-size: 1.066667rem;
  display: block;
  margin-bottom: 0.16rem;
  color: #ccc;
}
.svc-qr-wrap .svc-qr-placeholder div {
  font-size: 0.32rem;
  line-height: 1.6;
}
.svc-hint {
  text-align: center;
  font-size: 0.32rem;
  color: #555;
  margin: 0.266667rem 0 0.16rem;
}
.svc-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.133333rem;
  font-size: 0.293333rem;
  color: #4caf50;
  margin-bottom: 0.373333rem;
}
.svc-security .svc-dot {
  width: 0.16rem;
  height: 0.16rem;
  background: #4caf50;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}
.svc-action {
  padding: 0 0.426667rem 0.373333rem;
}
.svc-action .svc-contact-btn {
  width: 100%;
  padding: 0.32rem 0;
  background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
  color: #fff;
  border: none;
  border-radius: 2rem;
  font-size: 0.4rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  box-shadow: 0 0.106667rem 0.426667rem rgba(76, 175, 80, 0.4);
  transition: opacity 0.2s;
}
.svc-action .svc-contact-btn:active {
  opacity: 0.85;
}
.svc-footer {
  text-align: center;
  font-size: 0.266667rem;
  color: #bbb;
  padding: 0.16rem 0.426667rem 0.373333rem;
  border-top: 0.026667rem solid #f0f0f0;
  margin-top: 0.106667rem;
}
body {
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  background-color: #f5f5f5;
  margin: 0 auto;
  padding: 0;
  font-size: 0.373333rem;
  width: 100%;
  max-width: 11.333333rem;
  display: flex;
  justify-content: center;
}
.mobile-container {
  width: 100%;
  max-width: 12.8rem;
  position: relative;
  overflow-x: hidden;
}
.container-fluid {
  padding: 0;
  background-color: #f9fafb;
  padding-bottom: 0.133333rem;
}
.overlayxy {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}
#popupContenta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 80%;
  width: 100%;
  background-color: #fff;
  padding: 0.266667rem;
  text-align: center;
  border-radius: 0.266667rem;
  padding-bottom: 0rem;
}
#phoneContainera {
  width: 100%;
  height: 100%;
}
#phoneContainera div {
  max-height: 11.2rem;
  overflow: auto;
}
.phoneContainera-title {
  font-size: 0.64rem;
  font-weight: 700;
  padding-bottom: 0.266667rem;
  color: #000;
  border-bottom: solid 0.026667rem #eee;
}
.phoneContainera-content {
  font-size: 0.426667rem;
  border-bottom: solid 0.026667rem #eee;
  width: 100%;
  word-wrap: break-word;
  overflow-x: hidden;
  text-align: left;
  padding-bottom: 0.266667rem;
}
.closebtn {
  max-width: 2.666667rem;
  min-width: 2.666667rem;
  border-radius: 0.426667rem;
  font-size: 0.426667rem;
  color: #fff;
  border: none;
  overflow: hidden;
  background: var(--primary-color);
  padding: 0.133333rem 0rem;
  margin-top: 0.266667rem;
}
.filter-group {
  position: relative;
  min-width: 2.133333rem;
  z-index: 1000;
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.filter-group:first-child {
  flex: 0 0 15%;
}
.filter-group:not(:first-child) {
  flex: 1;
}
.filter-select-btn {
  width: 100%;
  padding: 0.213333rem 0rem;
  border-radius: 0.106667rem;
  border: none;
  background-color: white;
  text-align: left;
  font-size: 0.32rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  white-space: nowrap;
  position: relative;
  z-index: 1001;
}
/* 只对地区按钮应用省略样式 */
#regionBtn {
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 1.6rem;
}
.filter-select-btn i {
  font-size: 0.266667rem;
  transition: transform 0.2s;
}
.filter-select-btn.active i {
  transform: rotate(180deg);
}
.filter-options {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background-color: white;
  border: 0.026667rem solid #ddd;
  border-radius: 0.106667rem;
  box-shadow: 0 0.053333rem 0.213333rem rgba(0, 0, 0, 0.1);
  z-index: 1002;
  display: none;
  max-height: 5.333333rem;
  overflow-y: auto;
}
.filter-container {
  position: relative;
  z-index: 1;
  overflow: visible;
  padding-bottom: 0.266667rem;
}
.filter-row {
  position: relative;
  z-index: 1;
  overflow: visible;
}
.filter-options.show {
  display: block;
}
.filter-option {
  display: block;
  width: 100%;
  padding: 0.213333rem 0.133333rem;
  text-align: center;
  border: none;
  background: none;
  font-size: 0.32rem;
  border-bottom: 0.026667rem solid #eee;
}
.filter-option:last-child {
  border-bottom: none;
}
.filter-option:hover {
  background-color: #f5f5f5;
}
.filter-option.active {
  background-color: var(--primary-color);
  color: white;
}
.product-list {
  position: relative;
  z-index: 0;
}
.filter-options {
  z-index: 1100;
}
.mobile-container {
  overflow: visible;
}
.region-panel {
  position: fixed;
  top: 0;
  left: -60%;
  width: 60%;
  max-width: 10.666667rem;
  height: 100%;
  background: white;
  z-index: 2000;
  transition: transform 0.3s ease;
  box-shadow: 0.053333rem 0 0.266667rem rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
.region-panel.show {
  transform: translateX(0%);
  left: 0;
}
.region-header {
  padding: 0.4rem;
  border-bottom: 0.026667rem solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.region-header h5 {
  margin: 0;
  font-size: 0.4rem;
}
.region-content {
  flex: 1;
  display: flex;
  overflow: hidden;
}
.province-list,
.city-list {
  flex: 1;
  overflow-y: auto;
  padding: 0;
  margin: 0;
}
.province-list {
  border-right: 0.026667rem solid #eee;
}
.province-item,
.city-item {
  padding: 0.32rem 0.4rem;
  list-style: none;
  border-bottom: 0.026667rem solid #f5f5f5;
  font-size: 0.3733rem;
  cursor: pointer;
}
.province-item.active,
.city-item.active {
  background-color: #e6f7ff;
  color: var(--primary-color);
}
.region-footer {
  padding: 0.266667rem;
  border-top: 0.026667rem solid #eee;
  text-align: right;
}
.btn-confirm {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0.213333rem 0.533333rem;
  border-radius: 0.106667rem;
  font-size: 0.4rem;
}
.region-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1999;
  display: none;
}
.region-overlay.show {
  display: block;
}
.topping-tag {
  position: absolute;
  top: 0rem;
  left: 0rem;
  width: 0.8rem;
  height: 0.8rem;
  z-index: 1;
}
.topping-tag img {
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0.16rem 0 0 0;
}
.card-item {
  position: relative !important;
}
.card-info {
  margin: 0;
  width: 75%;
  padding: 0rem 0 0 0.266667rem;
}
.card-info-col {
  display: flex;
  flex-direction: column;
}
.card-info-spacer {
  flex: 1;
}
.card-features-tags {
  border: none;
  padding: 0;
  overflow: hidden;
  position: absolute;
  left: 3rem;
  bottom: 3rem;
  padding-right: 0.266667rem;
}
.card-tags-full {
  width: 100%;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.card-tags-full::-webkit-scrollbar {
  display: none;
}
.card-tags-full .card-tag {
  flex-shrink: 0;
  margin-right: 0;
  margin-bottom: 0;
}
.card-tag-tone-0 {
  background: #ffdfdf;
  color: #fe3d3d;
}
.card-tag-tone-1 {
  background: #dfffe4;
  color: #088f1a;
}
.card-tag-tone-2 {
  background: #e9f1ff;
  color: #005aff;
}
.card-tag-tone-3 {
  background: #f6f8fb;
  color: #787d85;
}
.card-age-info {
  font-size: 0.32rem;
  display: flex;
  align-items: center;
  gap: 0.106667rem;
}
.card-age-icon {
  width: 0.373333rem;
  height: 0.373333rem;
  object-fit: contain;
}
.card-action-buttons {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}
.card-action-buttons .btn-share i,
.card-action-buttons .btn-buy i {
  font-size: 0.333333rem;
}
.card-action-buttons .btn-buy:hover,
.card-action-buttons .btn-share:hover {
  transform: translateY(-0.026667rem);
}
.card-action-buttons .btn-buy:active,
.card-action-buttons .btn-share:active {
  transform: translateY(0);
}
.floating-buttons {
  position: fixed;
  right: 0.4rem;
  bottom: 0.533333rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.266667rem;
}
.floating-button {
  width: 1.066667rem;
  height: 1.066667rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.053333rem 0.266667rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.floating-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0.106667rem 0.4rem rgba(0, 0, 0, 0.3);
}
.floating-button i {
  font-size: 0.533333rem;
}
.floating-button.hidden {
  opacity: 0;
  transform: translateY(0.533333rem);
  pointer-events: none;
}
.floating-button {
  width: 1.066667rem;
  height: 1.066667rem;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.053333rem 0.266667rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}
.join-button {
  width: 2.133333rem;
  height: 1.066667rem;
  border-radius: 0.533333rem 0rem 0rem 0.533333rem;
  background-color: var(--primary-color);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0.053333rem 0.266667rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  padding: 0 0.32rem;
}
.floating-button:hover,
.join-button:hover {
  transform: scale(1.1);
  box-shadow: 0 0.106667rem 0.4rem rgba(0, 0, 0, 0.3);
}
.join-button i {
  font-size: 0.48rem;
}
.join-button span {
  margin-left: 0.16rem;
  font-size: 0.373333rem;
  white-space: nowrap;
}
.floating-button.hidden,
.join-button.hidden {
  opacity: 0;
  transform: translateY(0.533333rem);
  pointer-events: none;
}
@media (min-width: 12.826667rem) {
  body {
    background-color: #f0f0f0;
  }
  .mobile-container {
    margin: 0;
  }
  #popupContenta {
    max-width: 12.8rem;
  }
  /* 电脑端确保产品类型按钮可以滚动 */
  .product-type-buttons {
    cursor: grab;
  }
  .product-type-buttons:active {
    cursor: grabbing;
  }
}
.image-zoom {
  cursor: pointer;
  transition: transform 0.3s ease;
}
.image-zoom:hover {
  transform: scale(1.05);
}
.image-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  animation: fadeIn 0.3s ease;
}
.image-modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}
.image-modal-close {
  position: absolute;
  top: 0.533333rem;
  right: 0.8rem;
  color: #fff;
  font-size: 1.066667rem;
  cursor: pointer;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
  width: 1.333333rem;
  height: 1.333333rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.image-modal-close:hover {
  background: rgba(0, 0, 0, 0.8);
}
.image-modal-caption {
  position: absolute;
  bottom: 0.533333rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  text-align: center;
  font-size: 0.426667rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.266667rem 0.533333rem;
  border-radius: 0.133333rem;
  max-width: 80%;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes zoomIn {
  from {
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    transform: translate(-50%, -50%) scale(1);
  }
}
/* 分享海报样式 */
.share-poster-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  z-index: 3000;
  align-items: center;
  justify-content: center;
}
.share-poster-container {
  background-color: #fff;
  border-radius: 0.133333rem;
  padding: 0.4rem 0.266667rem;
  text-align: center;
  width: 80%;
  max-width: 10.666667rem;
  box-shadow: 0 0.106667rem 0.533333rem rgba(0, 0, 0, 0.15);
  position: relative;
}
.share-poster-title {
  font-size: 0.48rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
  color: #333;
}
/* 离屏绘制，不在界面展示（移动端对 canvas 长按通常无法保存） */
.share-poster-canvas {
  display: none;
}
.share-poster-image {
  width: 100%;
  max-width: 10.666667rem;
  height: auto;
  border: 0.026667rem solid #eee;
  border-radius: 0.213333rem;
  margin-bottom: 0.213333rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  -webkit-touch-callout: default;
  user-select: none;
  -webkit-user-select: none;
}
.share-poster-longpress-hint {
  font-size: 0.32rem;
  color: #888;
  margin: 0 0 0.4rem;
  line-height: 1.4;
}
.share-poster-buttons {
  display: flex;
  gap: 0.266667rem;
  justify-content: center;
}
.share-poster-btn {
  flex: 1;
  padding: 0.32rem;
  border: none;
  border-radius: 0.133333rem;
  font-size: 0.373333rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
}
.btn-icon {
  width: 0.533333rem;
  height: 0.533333rem;
  object-fit: contain;
}
.copy-link-btn {
  background-color: #e6f3ff;
  color: #0056b3;
  border: 0.026667rem solid #b3d9ff;
}
.copy-link-btn:hover {
  background-color: #cce7ff;
}
.save-image-btn {
  background-color: #f0f8ff;
  color: #0d6efd;
  border: 0.026667rem solid #d6e9ff;
}
.save-image-btn:hover {
  background-color: #e6f3ff;
}
.close-share-poster {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  font-size: 0.64rem;
  color: #999;
  cursor: pointer;
  background: none;
  border: none;
  width: 0.8rem;
  height: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.close-share-poster:hover {
  color: #666;
}
.share-poster-toast {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 0.32rem 0.533333rem;
  border-radius: 0.16rem;
  font-size: 0.373333rem;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.share-poster-toast.show {
  opacity: 1;
}
/* 响应式样式 */
@media (max-width: 12.8rem) {
  .share-poster-container {
    width: 80%;
    padding: 0.32rem 0.213333rem;
  }
  .share-poster-btn {
    padding: 0.266667rem;
    font-size: 0.346667rem;
  }
  .btn-icon {
    width: 0.48rem;
    height: 0.48rem;
  }
}
.city-guide-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 4999;
  display: none;
}
.city-guide-overlay.show {
  display: block;
}
.city-guide-card {
  position: fixed;
  left: 0.32rem;
  top: 3.2rem;
  width: 8rem;
  background: #fff;
  border-radius: 0.373333rem;
  box-shadow: 0 0.32rem 0.746667rem rgba(0, 0, 0, 0.18);
  padding: 0.48rem 0.48rem 0.426667rem;
  z-index: 5001;
  display: none;
}
.city-guide-card.show {
  display: block;
}
.city-guide-focus {
  position: fixed;
  border-radius: 0.32rem;
  border: 0.053333rem solid #000000;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 266.64rem rgba(0, 0, 0, 0.5);
  z-index: 5000;
  pointer-events: none;
  display: none;
}
.city-guide-focus.show {
  display: block;
}
.city-guide-arrow {
  position: absolute;
  top: -0.293333rem;
  left: var(--city-guide-arrow-left, 2.133333rem);
  width: 0;
  height: 0;
  border-left: 0.24rem solid transparent;
  border-right: 0.24rem solid transparent;
  border-bottom: 0.293333rem solid #fff;
  filter: drop-shadow(0 -0.026667rem 0 rgba(0, 0, 0, 0.04));
}
.city-guide-title {
  margin: 0 0 0.213333rem;
  font-size: 0.426667rem;
  line-height: 1.25;
  font-weight: 600;
  color: #1f2329;
}
.city-guide-desc {
  margin: 0;
  color: #555;
  font-size: 0.373333rem;
  line-height: 1.55;
}
.city-guide-ack {
  margin-top: 0.373333rem;
  width: 100%;
  height: 1.173333rem;
  border: 0;
  border-radius: 0.186667rem;
  background: #2f64ff;
  color: #fff;
  font-size: 0.373333rem;
  font-weight: 600;
  cursor: pointer;
}
.btn-close {
  font-size: 0.35rem;
}
.py-3 {
  font-size: 0.3733rem;
}
.spinner-border {
  width: 0.6667rem;
  height: 0.6667rem;
}
.shop-banner-img {
  display: block;
  margin: 5px 0;
  border-radius: 10px;
}
img.lazy-load {
  transition: opacity 0.3s;
  opacity: 0;
}
img.lazy-load.loaded {
  opacity: 1;
}
.franchise-btn {
  position: fixed;
  right: 0;
  bottom: 3.6rem;
  z-index: 999;
  cursor: pointer;
  animation: franchiseSlideIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.franchise-btn .franchise-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.18rem;
  background: linear-gradient(135deg, #ff7043 0%, #f4321e 100%);
  border-radius: 0.48rem 0 0 0.48rem;
  padding: 0.2rem 0.3rem 0.2rem 0.24rem;
  box-shadow: -4px 4px 20px rgba(244, 50, 30, 0.5);
  position: relative;
  overflow: hidden;
}
.franchise-btn .franchise-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 45%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.18), transparent);
  pointer-events: none;
}
.franchise-btn:active .franchise-inner {
  background: linear-gradient(135deg, #e8603a 0%, #d42b18 100%);
  transform: scale(0.97);
}
.franchise-btn .franchise-icon {
  width: 0.6rem;
  height: 0.6rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: franchisePulse 2.6s ease-in-out infinite;
}
.franchise-btn .franchise-icon img {
  width: 0.38rem;
  height: 0.38rem;
  object-fit: contain;
  filter: brightness(0) invert(1);
}
.franchise-btn .franchise-label {
  font-size: 0.3rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  letter-spacing: 0.05em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}
@keyframes franchiseSlideIn {
  from {
    transform: translateX(110%);
  }
  to {
    transform: translateX(0);
  }
}
@keyframes franchisePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.12);
  }
}
/* 宽带商品卡片 */
.product-list-broadband {
  padding: 0 0.213333rem;
}
.bb-card {
  position: relative;
  background: #fff;
  border-radius: 0.32rem;
  padding: 0.32rem;
  margin-bottom: 0.32rem;
  box-shadow: 0 0.08rem 0.32rem rgba(0, 0, 0, 0.06);
  border: 0.026667rem solid #f0f0f0;
}
.bb-featured {
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.08rem 0.24rem;
  border-radius: 0 0.32rem 0 0.24rem;
  background: linear-gradient(135deg, #ff8a00, #ff3d63);
  color: #fff;
  font-size: 0.266667rem;
  line-height: 1.4;
  z-index: 1;
}
.bb-card-top {
  display: flex;
  gap: 0.266667rem;
  margin-bottom: 0.32rem;
  align-items: stretch;
}
.bb-card-thumb {
  flex-shrink: 0;
  width: 2.4rem;
  align-self: stretch;
  min-height: 2.4rem;
  border-radius: 0.113333rem;
  overflow: hidden;
  background: #f5f7fa;
}
.bb-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bb-card-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.bb-card-name {
  font-size: 0.4rem;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  word-break: break-all;
}
.bb-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.106667rem;
  margin-top: 0.12rem;
}
.bb-tag {
  display: inline-block;
  padding: 0.04rem 0.16rem;
  border-radius: 0.08rem;
  font-size: 0.266667rem;
  line-height: 1.4;
}
.bb-tag-0 {
  background: #ffdfdf;
  color: #fe3d3d;
}
.bb-tag-1 {
  background: #dfffe4;
  color: #088f1a;
}
.bb-tag-2 {
  background: #e9f1ff;
  color: #005aff;
}
.bb-tag-3 {
  background: #f6f8fb;
  color: #787d85;
}
.bb-card-meta {
  margin-top: 0.2rem;
  display: flex;
  border: 0.026667rem solid #eee;
  border-radius: 0.106667rem;
  overflow: hidden;
}
.bb-meta-item {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.12rem 0.053333rem;
  text-align: center;
}
.bb-meta-item:not(:last-child) {
  border-right: 0.026667rem solid #eee;
}
.bb-meta-lbl {
  font-size: 0.266667rem;
  color: #999;
  line-height: 1.3;
  white-space: nowrap;
}
.bb-meta-val {
  font-size: 0.346667rem;
  font-weight: 600;
  color: #333;
  line-height: 1.25;
  margin-top: 0.04rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}
.bb-meta-price {
  color: #ff3d63;
}
.bb-meta-speed {
  color: #2290fe;
}
.bb-card-btns {
  display: flex;
  gap: 0.213333rem;
}
.bb-btn-share,
.bb-btn-buy {
  flex: 1;
  height: 0.906667rem;
  border-radius: 0.453333rem;
  font-size: 0.346667rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.08rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  border: none;
}
.bb-btn-share {
  background: #f7f8fa;
  color: #666;
  border: 0.026667rem solid #e8e8e8;
}
.bb-btn-buy {
  background: linear-gradient(135deg, #2290fe, #0066cc);
  color: #fff;
  box-shadow: 0 0.08rem 0.24rem rgba(34, 144, 254, 0.3);
}
