@import "iconfont.css";

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue", Helvetica, "Microsoft YaHei", Arial, sans-serif;
}

body {
  background-color: #ffffff;
  color: #333333;
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 72px;
}

.page {
  display: none;
  padding: 16px;
  max-width: 600px;
  margin: 0 auto;
}

.page.active {
  display: block;
}

.page-header {
  text-align: center;
  padding: 16px 0;
}

.title-big {
  font-size: 24px;
  font-weight: bold;
  color: #00AEEC;
}

.title-medium {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}

.text-muted {
  color: #888888;
  font-size: 14px;
}

.card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  border: 1px solid #eeeeee;
}

.btn-primary {
  background-color: #00AEEC;
  color: #ffffff;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 16px;
  text-align: center;
  display: block;
  width: 100%;
  border: none;
  cursor: pointer;
}

.btn-primary:active {
  background-color: #0099D4;
}

.btn-outline {
  background-color: #ffffff;
  color: #00AEEC;
  border: 1px solid #00AEEC;
  border-radius: 12px;
  font-size: 18px;
  font-weight: bold;
  padding: 14px 16px;
  text-align: center;
  display: block;
  width: 100%;
  cursor: pointer;
}

.btn-outline:active {
  background-color: #E6F7FE;
}

.tabbar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background-color: #ffffff;
  display: flex;
  border-top: 1px solid #eeeeee;
  max-width: 600px;
  margin: 0 auto;
  z-index: 999;
}

.tabbar-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #888888;
  font-size: 12px;
  cursor: pointer;
}

.tabbar-item.active {
  color: #00AEEC;
}

.tabbar-icon {
  font-size: 22px;
  margin-bottom: 2px;
}

.hero {
  text-align: center;
  padding: 24px 0 16px;
}

.hero-title {
  font-size: 28px;
  font-weight: bold;
  color: #00AEEC;
  line-height: 1.3;
}

.hero-sub {
  font-size: 18px;
  color: #666666;
  margin-top: 8px;
}

.selling-points {
  background-color: #E6F7FE;
  border: 1px solid #B3E4FB;
}

.sp-item {
  display: flex;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #B3E4FB;
}

.sp-item:last-child {
  border-bottom: none;
}

.sp-icon {
  font-size: 18px;
  color: #00AEEC;
  margin-right: 8px;
  flex-shrink: 0;
}

.sp-text {
  font-size: 17px;
  font-weight: bold;
  color: #333333;
}

.img-swiper {
  width: 100%;
  height: 210px;
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.swiper-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.intro-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  margin: 12px 0;
  background-color: #E6F7FE;
  border: 1px solid #B3E4FB;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
}

.intro-link-icon {
  font-size: 18px;
  color: #00AEEC;
  margin-right: 6px;
}

.intro-link-text {
  font-size: 16px;
  font-weight: bold;
  color: #00AEEC;
}

.intro-link-arrow {
  font-size: 14px;
  color: #00AEEC;
  margin-left: 4px;
}

.btn-group {
  margin-top: 16px;
}

.btn-group .btn-primary {
  margin-bottom: 12px;
}

.footer-tip {
  text-align: center;
  margin-top: 24px;
  padding-bottom: 24px;
  font-size: 13px;
  line-height: 1.6;
}

.title-icon {
  color: #00AEEC;
  margin-right: 4px;
  font-size: 18px;
}

.nav-text {
  font-size: 17px;
  color: #333333;
  line-height: 1.8;
  margin-top: 8px;
}

.address-card {
  background-color: #E6F7FE;
  border: 1px solid #B3E4FB;
}

.addr-label {
  font-size: 14px;
  color: #00AEEC;
  font-weight: bold;
}

.addr-value {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
  margin-top: 4px;
}

.warn-card {
  background-color: #fffbf0;
  border: 1px solid #ffe8a8;
  margin-top: 16px;
}

.warn-title {
  font-size: 15px;
  font-weight: bold;
  color: #b5651d;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.warn-icon {
  font-size: 16px;
  color: #b5651d;
  margin-right: 4px;
}

.warn-line {
  font-size: 14px;
  color: #555555;
  padding: 3px 0;
}

.price-list {
  margin-bottom: 12px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
}

.pi-left {
  flex: 1;
}

.pi-name {
  font-size: 18px;
  font-weight: bold;
  color: #333333;
}

.pi-desc {
  font-size: 14px;
  color: #888888;
  margin-top: 4px;
}

.pi-right {
  flex-shrink: 0;
  margin-left: 12px;
}

.pi-price {
  font-size: 26px;
  font-weight: bold;
  color: #00AEEC;
}

.pi-unit {
  font-size: 13px;
  color: #888888;
  margin-left: 2px;
}

.tips {
  background-color: #fffbf0;
  border: 1px solid #ffe8a8;
}

.tip-line {
  font-size: 15px;
  color: #555555;
  padding: 5px 0;
  line-height: 1.5;
}

.shop-card {
  background-color: #E6F7FE;
  border: 1px solid #B3E4FB;
}

.shop-name {
  font-size: 20px;
  font-weight: bold;
  color: #00AEEC;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 1px solid #B3E4FB;
  margin-bottom: 10px;
}

.shop-row {
  display: flex;
  align-items: center;
  padding: 7px 0;
}

.row-icon {
  font-size: 18px;
  color: #00AEEC;
  margin-right: 8px;
  flex-shrink: 0;
}

.row-text {
  font-size: 16px;
  color: #333333;
}

.phone-num {
  font-size: 18px;
  font-weight: bold;
  color: #00AEEC;
}

.wechat-row {
  cursor: pointer;
}

.copy-btn {
  margin-left: auto;
  font-size: 13px;
  color: #00AEEC;
  background-color: #ffffff;
  border: 1px solid #00AEEC;
  border-radius: 4px;
  padding: 3px 8px;
  font-weight: bold;
}

.info-line {
  font-size: 15px;
  color: #555555;
  padding: 4px 0;
  line-height: 1.6;
}

.fac-list {
  margin-bottom: 12px;
}

.fac-item {
  display: flex;
  align-items: flex-start;
  padding: 14px;
}

.fac-icon-box {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #E6F7FE;
  border-radius: 8px;
  margin-right: 12px;
  flex-shrink: 0;
}

.fac-icon {
  font-size: 22px;
  color: #00AEEC;
}

.fac-content {
  flex: 1;
}

.fac-title {
  font-size: 18px;
  font-weight: bold;
  color: #00AEEC;
}

.fac-desc {
  font-size: 15px;
  color: #555555;
  margin-top: 4px;
  line-height: 1.5;
}

.iconfont {
  font-size: inherit;
}

.toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.75);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.toast.show {
  opacity: 1;
}

.preview-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
}

.preview-mask.show {
  display: flex;
}

.preview-mask img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}