:root {
  --fontColorBrightBlue: #0A72C9;
  --fontColorTeal: #12A295;
  --fontSize18: 0.18rem;
  --fontSize16: 0.16rem;
  --fontSize21: 0.21rem;
  --fontSize36: 0.36rem;
  --fontSize26: 0.26rem;
  --black: #000000;
  --white: #fff;
}

@font-face {
  font-family: 'poppins';  /* 你自己起的名字，后面随便用 */
  src: url("./poppins/Poppins-Medium.ttf"); /* 字体文件路径 */
  /* 可选：让字体显示更清晰 */
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  color: #09090B;
  box-sizing: border-box;
  /* font-family: 'Pretendard-SemiBold', 'SFProDisplay', Serif, 'Open Sans', sans-serif; */
  font-family: 'poppins';
  /* font-size: 14px; */
}

a {
  text-decoration: none;
  display: inline-block;
  height: auto;
}

div, button, section, p, a {
  font-family: 'poppins';
}

ul, li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.color-teal {
  color: var(--fontColorTeal);
}

/* ----- 响应式设计 (移动端) ----- */
/* @media (max-width: 768px) { */
  .navbar {
    height: 0.66rem;
    background-color: var(--white);
    padding: 0.1rem 0.2rem;
    display: flex;
    align-items: center;
    border-bottom: 0.01rem solid #F5F1EB;
    justify-content: space-between;
  }

  .logo {
    /* font-weight: 800;
    font-size: 0.29rem;
    color: var(--fontColorTeal); */
    display: flex;
  }

  .logo img {
    width: 2.04rem;
    height: 0.48rem;
  }

  .menu {
    display: flex;
    flex-flow: column;
    padding: 0.2rem 0.1rem;
  }

  .menu .bar {
    width: 0.3rem;
    height: 0.02rem;
    background-color: var(--black);
    transition: 0.3s ease-in-out;
  }

  .menu-dialog {
    position: absolute;
    top: 0.86rem;
    right: 0;
    width: 100%;
    height: calc(100vh - 0.86rem);
    background-color: #F5F1EB;
    z-index: 11;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    justify-content: center;
  }

  .menu-dialog-active {
    transform: translateX(0);
  }

  .menu-dialog-content {
    display: flex;
    flex-flow: column;
    padding: 0 0.2rem;
    box-sizing: border-box;
    background-color: var(--white);
  }

  .active .bar:first-child {
    transform: translateY(0.1rem) rotate(45deg);
  }

  .active .bar:nth-child(2) {
    transform: scale(0);
  }

  .active .bar:last-child {
    transform: translateY(-0.1rem) rotate(-45deg);
  }

  .menu-item {
    font-size: var(--fontSize21);
    color: var(--black);
    padding: 0.05rem 0;
  }

  .submenu {
    display: flex;
    flex-flow: column;
  }

  .submenu-item {
    color: #696A6C;
    font-size: var(--fontSize18);
    padding: 0.05rem 0.2rem;
  } 

  .section {
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }

  .section .title {
    font-size: var(--fontSize26);
    font-weight: 800;
    line-height: 0.43rem;
    text-align: center;
  }

  .section .subtitle {
    font-size: 0.29rem;
    line-height: 0.35rem;
    font-weight: 600;
    color: var(--fontColorBrightBlue);
    text-align: center;
    /* padding-bottom: 0.1rem; */
  }

  .section .tips {
    font-weight: 600;
    font-size: 0.18rem;
    color: var(--fontColorBrightBlue);
    text-align: center;
    line-height: 0.25rem;
    width: 79%;
  }

  .section-title {
    font-size: var(--fontSize26);
    font-weight: bold;
    line-height: 0.3rem;
    padding-bottom: 0.2rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .word-break {
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .section-item {
    display: flex;
    flex-direction: column;
    padding-bottom: 0.4rem;
  }

  .section-item-title,
  .section-item-title2 {
    font-size: var(--fontSize21);
    font-weight: 600;
    line-height: 0.30rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .section-item-title2 {
    text-align: center;
  }

  .section-item-title3 {
    font-size: var(--fontSize21);
    line-height: 0.30rem;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .section-item-title::before,
  .section-item-title3::before {
    content: "";
    display: inline-block;
    width: 0.21rem;
    height: 0.19rem;
    background: url("../dinaTouchImages/hook.png") no-repeat;
    background-size: 100% 100%;
    margin-right: 0.1rem;
  }

  .section-item-image {
    margin-top: 0.1rem;
    text-align: center;
  }

  .section-item-image video {
    width: 3.35rem;
    height: 2.51rem;
    /* background-color: #696A6C; */
  }

  .section-item-tips {
    display: flex;
    justify-content: center;
    margin-top: -0.2rem;
  }

  .section-tips {
    word-break: keep-all;
    overflow-wrap: break-word;
    line-height: 0.2rem;
    width: 3.3rem;
    color: #88898A;
    font-size: var(--fontSize16);
    text-align: center;
  }

  .section-img {
    width: 2.24rem;
    height: 3.19rem;
    transform: scale(1.2);
  }

  .section-QR-img {
    width: 2.19rem;
    height: 2.07rem;
    /* transform: scale(0.8); */
  }

  .section-img2 {
    width: 3.06rem;
    height: 2.15rem;
  }

  .serving-content p {
    font-size: var(--fontSize18);
    font-weight: 400;
    line-height: 0.24rem;
    /* word-break: keep-all; */
    /* overflow-wrap: break-word; */
  }

  .website-button {
    padding-top: 0.6rem;
    padding-bottom: 0.8rem;
  }

  .website-button a {
    display: flex;
    justify-content: center;
  }

  .website-button button {
    width: 3.0rem;
    line-height: 0.54rem;
    border-radius: 0.27rem;
    padding: 0 0.1rem;
    /* background-color: var(--fontColorTeal); */
    background-color: #0A8076;
    /* color: #ECEEF1; */
    color: #fff;
    font-weight: 500;
    font-size: var(--fontSize21);
    border: none;
  }

  .carousel-content {
    height: 3.58rem;
    margin-top: 0.3rem;
    position: relative;
    overflow: hidden;
    border-radius: 0.1rem;
  }

  .carousel-content2 {
    overflow: hidden;
  }

  /* 轮播图样式 开始 */
  .pic-box {
    height: inherit;
    display: flex;
    justify-content: center;
  }

  .pic-list {
    width: 3.75rem;
    position: relative;
    height: inherit;
  }
  .pic-list li {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
  }

  .pic-list .re {
    position: relative;
    z-index: 2;
  }
  .pic-list li a {
    /* -webkit-tap-highlight-color: rgba(0, 0, 0, 0); */
  }

  .pic-list li img {
    width: 100%;
  }

  .pagination {
    width: 100%;
    left: 0;
    bottom: 0;
    position: absolute;
    text-align: center;
    -webkit-transition: 300ms;
    transition: 300ms;
    z-index: 10;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }
  
  .pagination span {
    width: 0.1rem;
    height: 0.1rem;
    display: inline-block;
    border-radius: 100%;
    background-color: #D8D8D8;
    opacity: 0.8;
    margin: 0 0.03rem;
  }

  .pagination span.active {
    width: 0.24rem;
    border-radius: 0.05rem;
    opacity: 1;
    background-color: var(--fontColorTeal);
  }

  video {
    object-fit: cover;
    width: 100%;
    border-radius: 0.1rem;
  }
  /* 轮播图样式 结束*/
  
  /* 水波纹核心样式 */
  .ripple {
    position: absolute;
    z-index: 99999;
    border-radius: 50%;
    background: rgba(64, 158, 255, 0.7); /* 蓝色半透明 */
    transform: scale(0);
    animation: ripple-animation 0.5s linear;
    pointer-events: none; /* 不影响点击 */
  }
  /* 扩散动画 */
  @keyframes ripple-animation {
    to {
      transform: scale(2);
      opacity: 0;
    }
  }
/* } */

@media (max-width: 768px) {
  body, html {
    background-color: #fff;
    min-height: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: hidden;
    touch-action: manipulation;
  }

  html {
    touch-action: manipulation;
  }

  .ripple_id {
    height: 100%;
    height: -webkit-fill-available;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
  }

  .menu-dialog-content {
    width: 100%;
  }

  .view {
    display: flex;
    flex-direction: column;
    height: 100%;
    height: -webkit-fill-available;
  }

  .section_id {
    flex: 1;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 0.1rem;
    -webkit-overflow-scrolling: touch; /* 苹果流畅滚动 */
  } 
}


@media (min-width: 768px) {
  body, html {
    overflow: hidden;
    height: 100%;
    position: relative;
  }

  .ripple_id {
    display: flex;
    justify-content: center;
    background-color: #F5F1EB;
    overflow: hidden;
    height: 100%;
  }

  .view {
    width: 600px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
  }

  .menu-dialog-content {
    width: 600px;
  }

  .section_id {
    flex: 1;
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: auto;
  }

}
