@media (min-width: 1980px) {
  :root {
    --px: 1px;
  }
}

@media (max-width: 1580px) {
  .index-banner-intro {
    padding-top: calc(var(--header-h) + 20px);
  }

  .about-us-banner-cont .sec-intro,
  .about-us-banner-cont .intro p+p {
    margin-top: var(--px-10-20);
  }

  .about-us-banner-cont .sec-wrap {
    width: 70%;
    padding-top: max(80px, 120 * var(--px));
  }
}

@media (max-width: 1280px) {
  header {
    padding: 0 20px;
  }
}

/* -------- <=1024: 平板竖屏/小桌面 -------- */
@media (max-width: 1024px) {
  .footer-info {
    flex-direction: column;
  }

  .footer-info .info {
    display: flex;
    justify-content: space-between;
    margin-right: var(--main-margin);
  }

  .footer-nav .nav {
    display: none;
  }

  .footer-info .logo-cont img {
    margin-top: 0;
  }

}

/* -------- <=768: 手机横向/常见手机竖屏 -------- */
@media (max-width: 768px) {
  :root {
    --header-h: 65px;
  }

  header .main,
  header .main-thin {
    padding: 0;
  }

  header .nav,
  .header-area-r .learn-more {
    display: none;
  }

  .mobile-nav {
    display: block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
  }

  .mobile-nav .ph_l {
    width: 61%;
    height: 100%;
    position: fixed;
    top: var(--header-h);
    left: -61%;
    z-index: 1120;
    overflow: hidden;
    background: #fff;
    color: rgba(255, 255, 255, .6);
    transition: left .3s;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .08);
  }

  .mobile-nav .ph_l .sign {
    padding: 20px;
    border-radius: 0;
  }

  .mobile-nav .ph_l .sign-wrap {
    gap: 20px;
  }

  .mobile-nav .ph_l .btn-wrap-m {
    margin-top: 20px;
    padding: 20px;
    gap: 20px;
  }

  .mobile-nav .ph_l .btn-wrap-m .btn-lay {
    width: 100%;
    text-align: center;
  }

  .mobile-nav .ph_r {
    display: block;
    width: 40%;
    height: 100%;
    background: rgba(0, 0, 0, .6);
    position: fixed;
    right: -40%;
    top: var(--header-h);
    z-index: 1101;
    transition: right .3s;
    box-shadow: 0 -1px 4px rgba(0, 0, 0, .08);
  }

  .ph_l ul li {
    border-bottom: 1px solid #ccc;
    position: relative;
  }

  .ph_l ul li a {
    padding: 20px;
    color: #000;
    cursor: pointer;
  }

  .ph_l ul li a svg {
    transition: .3s;
  }

  .ph_l ul li a.active svg {
    transform: rotate(90deg);
  }

  .ph_l ul .mobile-nav_secont {
    margin-left: 5px;
  }

  .ph_l ul .mobile-nav_secont a {
    padding: 10px;
  }

  .btn-head-nav-toggle {
    display: block;
    margin-left: 10px;
  }

  .mob-nav-sec {
    margin-bottom: 20px;
    display: none;
  }

  .ph_l ul li .mob-nav-sec a {
    display: block;
    padding: 5px 40px;
  }

  .btn-large-nav-expand {
    display: inherit;
    flex-direction: column;
    cursor: pointer;
  }

  .btn-large-nav-expand i {
    display: block;
    width: 24px;
    height: 2px;
    flex: 0 0 auto;
    background: var(--theme-color-green);
    margin-bottom: 4px;
    transition: .5s cubic-bezier(.15, 1, .336, 1)
  }

  .btn-large-nav-expand i:last-of-type {
    margin-bottom: 0
  }

  .btn-large-nav-expand.active i {
    transition: .4s cubic-bezier(.1, .84, .2, 1.4)
  }

  .btn-large-nav-expand.active i:first-of-type {
    transform: translateY(300%) rotate(45deg)
  }

  .btn-large-nav-expand.active i:nth-of-type(2) {
    transform: scaleX(0)
  }

  .btn-large-nav-expand.active i:nth-of-type(3) {
    transform: translateY(-300%) rotate(-45deg)
  }

  .index-sec2 .sec-intro {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    word-break: break-word;
  }

  .index-sec2 .btn-wrap .btn:nth-child(2) {
    left: 4.5%;
    top: 73%;
  }

  .index-sec2 .btn-wrap .btn:nth-child(4) {
    left: 72%;
    top: 73%;
  }

  .index-sec1 .item:first-child {
    width: 100%;
    background-color: rgba(255, 255, 255, .3);
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 2;
    height: auto;
  }

  .index-sec1 .item:last-child {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
  }

  .index-sec1 .fold-wrap {
    overflow: initial;
  }

  .index-sec6 .sec-area {
    width: 85%;
  }

  .mo-flex-d {
    flex-direction: column;
  }

  .mo-flex-d>* {
    width: 100% !important;
  }

  .index-sec5 .parter-wrap .info {
    align-items: flex-start;
    aspect-ratio: 3;
  }

  .page-form .sec-top {
    margin-bottom: 30px;
  }

  .product-sec3 .sec-area {
    gap: 30px;
    text-align: center;
  }

  .probiotics-sec2 .card-wrap,
  .whey-proteinp-sec1 .card-wrap {
    --col: 2;
  }

  .nutritionist-sec3 .card-wrap {
    --col: 1;
  }

  .product-sec2 .sec-title {
    font-size: 16px;
  }

  .lactium-sec2 .effect-wrap {
    max-width: unset;
    padding: 0 20px;
  }

  .product-sec1 .sec-wrap {
    padding-right: 0;
  }

  .nutritionist-collaboration-banner {
    padding-top: 120px;
  }

  .nutritionist-sec4 .sec-area {
    flex-wrap: wrap;
  }

  section.full-page,
  section .full-page {
    min-height: calc(100vh - var(--header-h));
  }

  body.scrolled section.full-page,
  body.scrolled section .full-page {
    min-height: calc(100vh - var(--header-h) - 10px);
  }

  .product-sec5 .sec-area {
    padding: 0;
  }

  .about-us-banner-cont .sec-wrap {
    width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-us-banner-cont .intro p+p {
    margin-top: 10px;
  }

  .about-us-sec1 .card-wrap {
    --col: 1;
  }

  .about-us-sec2 .item .pic,
  .about-us-sec2 .item .txt {
    width: 50%;
  }

  .nutritionist-sec5 .sec-area {
    flex-direction: column;
  }

  .nutritionist-sec5 .item+.item::after {
    top: 0;
    left: 50%;
    transform: translate(-50%, calc(max(100px, 300 * var(--px)) / -2 - 50%)) rotate(90deg);
  }

  .nutritionist-sec5 .qr-wrap {
    flex-direction: column;
    gap: 30px;
  }

  .news-detail-content {
    padding: 0 20px;
  }

  .breadcrumb {
    flex-wrap: wrap;
    line-height: 1;
  }

  .breadcrumb .current {
    line-height: 1.2;
  }

  .news-banner .breadcrumb,
  .news-detail-banner .breadcrumb,
  .contact-us-banner .breadcrumb {
    filter: url(#gray-overlay);
  }
}

@media (max-width: 576px) {
  :root {
    --main-margin: 20px;
  }

  .product-sec1 .sec-intro {
    width: 100%;
  }

  header {
    padding: 0;
    top: 0;
    background-color: #fff;
  }

  .header-wrap {
    margin: 0 20px;
    height: var(--header-h);
  }

  header .logo {
    height: 100%;
  }

  header .logo img {
    height: calc(100% - 35px);
  }

  .index-sec1 .item {
    height: auto !important;
    min-height: unset !important;
  }

  .index-sec1 .item:last-child {
    height: 100% !important;
  }

  .index-sec1 .fold-expand .learn-more {
    margin-top: 30px;
  }

  .index-sec2 {
    height: 60vh !important;
    min-height: 60vh !important;
  }

  .index-sec2 .learn-more {
    font-size: 12px;
  }

  .index-sec2 .btn-wrap .btn:nth-child(1) {
    left: 5%;
    top: 65%;
  }

  .index-sec2 .btn-wrap .btn:nth-child(2) {
    top: 80%;
  }

  .index-sec2 .btn-wrap .btn:nth-child(4) {
    left: 55%;
    top: 80%;
  }

  .index-sec2 .btn-wrap .btn:nth-child(3) {
    left: 44%;
    top: 65%;
  }

  .index-sec2 .bg-wrap {
    bottom: 44%;
  }

  .index-sec7 .intro {
    width: 100%;
  }

  .card-wrap {
    --col: 1;
  }

  .index-sec6 .sec-area {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .index-sec5 .parter-wrap .info .icon img {
    width: 50px;
    margin-top: 30px;
  }

  .index-sec5 .parter-cont .item-cont img {
    width: 100px;
  }

  .index-sec5 .parter-cont .item .country,
  .index-sec5 .parter-cont .item .brand,
  .index-sec5 .parter-cont .item .slogan {
    font-size: 12px;
  }

  .product-sec1 .sec-wrap {
    flex-direction: column;
  }

  .product-sec1 {
    min-height: auto !important;
    height: auto !important;
  }

  .product-sec1 .sec-wrap .pic {
    margin-top: 20px;
  }

  .product-sec2 .title {
    font-size: 16px;
    padding-right: 20px;
  }

  .probiotics-sec1 .sec-cont {
    margin-top: 20px;
    flex-wrap: wrap;
  }

  .probiotics-sec1 .sec-cont .item {
    width: 50%;
    flex: auto;
  }

  .product-sec3 .item .title {
    font-size: 14px;
  }

  .product-sec3 .sec-area,
  .lactium-sec5 .sec-area {
    flex-direction: column;
  }

  .product-sec3 .sec-area .item {
    justify-content: center;
  }

  .lactium-sec5 .sec-area .item {
    border: 0;
    width: calc(50% - 20px);
    padding: 10px;
    justify-content: center;
  }

  .probiotics-sec2 .card-wrap,
  .lactium-sec3 .card-wrap,
  .lactium-sec4 .card-wrap,
  .whey-proteinp-sec3 .card-wrap {
    --col: 1;
  }

  .fish-oil-sec1 .sec-cont {
    padding: 20px;
  }

  .slide-area .slide-top .title p {
    width: 100%;
  }

  .lactium-sec5 .item {
    width: 80%;
    margin: 0 auto;
  }

  .lactium-sec5 .item-cont {
    justify-content: center;
    padding: 10px 0;
  }

  .about-us-sec2 .item,
  .about-us-sec2 .item:nth-child(even) {
    flex-direction: column;
  }

  .about-us-sec2 .item .pic,
  .about-us-sec2 .item .txt,
  .news-top .pic,
  .news-top .txt {
    width: 100%;
  }

  .nutritionist-collaboration-banner {
    padding-top: 200px;
  }

  .filter-type-wrap {
    flex-wrap: wrap;
  }

  .news-top {
    flex-direction: column;
  }

  .footer-nav .copyright-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .search-wrap {
    width: 30px;
    height: 30px;
  }

  .search-wrap img {
    width: 50%;
  }

  .form-wrap .learn-more {
    height: 40px;
  }

  .index-banner-solution {
    z-index: 4;
  }

  .index-banner-swiper .slide-cont .info .title {
    font-size: 12px;
  }

  .index-banner-swiper .swiper {
    width: 100%;
  }

  .index-sec2 .sec-intro {
    width: 100%;
  }

  .probiotics-sec2 .card-wrap,
  .about-us-sec1 .card-wrap {
    padding: 0 12%;
  }

  footer .contact-wrap .main {
    flex-direction: column;
    gap: 20px;
  }

  footer .contact-wrap .share-wrap .item {
    width: 30px;
  }

  .dialog-cont {
    width: 100%;
  }

  .dialog-close {
    top: 0;
    right: 0;
    left: unset;
    transform: unset;
  }

  .product-sec4 .item+.item {
    border-left: 0;
    border-top: 1px solid rgba(0, 0, 0, .1);
  }

  .nutritionist-sec5 .item {
    width: 100%;
  }

  .index-sec4 .sec-title,
  .index-sec4 .sec-intro {
    width: 100%;
  }

  .fish-oil-sec1 .sec-cont br {
    display: none;
  }

  .breadcrumb,
  .breadcrumb a {
    font-size: 12px;
  }

  .page-form .choose-wrap .card-wrap {
    --gap: 3px;
  }

  .nutritionist-collaboration-banner {
    height: calc(60vh - var(--header-h));
    padding-top: 100px;
  }

  .slide-area .slide-top .title p {
    font-size: 12px;
  }

  .whey-proteinp-sec1 .card-wrap {
    --col: 2;
  }

  .nutritionist-side-bar {
    display: none;
  }

  .nutritionist-sec4 .item {
    width: calc(50% - 20px);
  }

  .popup-wrap {
    width: calc(100% - 20px);
  }

  .play-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
  }

  .play-btn img {
    display: none;
  }

  .play-btn img.active {
    display: block;
  }

  .index-sec5 .sec-area .sec-intro {
    line-height: 2;
  }

  .index-sec6 .sec-bg {
    width: 100%;
  }

  .index-sec8 .sec-intro {
    width: 100%;
  }
}

@media (min-width: 580px) {

  br.mo,
  .play-btn {
    display: none;
  }
}