body::-webkit-scrollbar {
  width: 1rem;
}

body::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

body::-webkit-scrollbar-thumb {
  background-color: #00bff2;
  outline: 1px solid slategrey;
}

.header-logo {
  transition: 0.3s linear;
  position: absolute;
  /* transform: translateY(0px); */
  top: 0;
  left: 1.5rem;
  z-index: 1;
}

.header-menu-mb .header-logo {
  position: relative;
}

.header-menu-mb {
  z-index: 100;
}

@media screen and (min-width: 1023px) {
  .header-menu-wrap {
    transform: translateY(80%);
  }
}

@media screen and (min-width: 1023px) and (max-width: 1221px) {
  .header-nav-wrap {
    padding-left: 12rem;
  }
  .header-menu-link {
    padding: 0.8rem;
    font-size: 1.2rem;
  }
  .header-search-wrap {
    width: 20%;
  }
  .header-menu-list {
    width: 80%;
    justify-content: space-between;
  }
}

.search-popup {
  width: 40vw;
}

.search-wrap {
  padding: 0.5rem 1rem;
}

.search-wrap .header-search-btn {
  padding: 1.8rem;
}

/* tin tuc */

.tintuc {
  position: relative;
  overflow: hidden;
}

.tintuc-wrap {
  position: relative;
  z-index: 20;
}

.tintuc .tintuc-hightlight-wrap {
  overflow: hidden !important;
}

.tintuc .tintuc-hightlight-wrap > img {
  width: 100% !important;
  height: 100% !important;
}

.tintuc-content p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.search-wrap .header-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media screen and (min-width: 1023px) {
  .search-wrap {
    width: 100%;
    position: relative;
  }
  .search-wrap .header-search-btn {
    padding: 1.5rem;
    position: absolute;
    right: 0;
  }
}

@media screen and (max-width: 1023px) {
  .tintuc-item {
    align-items: stretch;
  }
  .tintuc-item-wrap img {
    height: 100%;
  }
}

/* menu mobile */

@media screen and (max-width: 1023px) {
  .header-menu-mb .search-wrap {
    background-color: white;
    border-radius: 0.5rem;
    border: 1px solid #00bff2;
    margin: 0 0.5rem;
    margin-bottom: 3rem;
    align-items: unset;
  }
  .search-input {
    width: calc(100% - 40px);
    padding-right: 1.5rem;
    border-radius: 0;
  }
  .header-search-btn {
    border-radius: 0;
    height: auto;
    width: 40px;
  }
  .header-menu-link {
    display: block;
  }
  .header-menu-mb .header-logo {
    width: 10rem;
  }
  .header-menu-mb .header-logo-img {
    width: 10rem;
  }
  .header-menu-mb .header-menu-right {
    position: absolute;
    bottom: 4rem;
  }
  .header-menu-mb .header-menu-item {
    border-bottom: 1px solid rgba(0, 49, 86, 0.3);
    padding: 0;
  }
}

.current-menu-item {
  color: #00bff2;
}

.news-desc {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.loud1 {
  animation: loud3 40s linear infinite alternate;
}

@media screen and (min-width: 1441px) {
  .main-story-item:nth-child(2) {
    padding-bottom: 48rem;
  }
}

.products-icon-wrap {
  cursor: pointer;
}

.product-decor-loud {
  animation: unset;
}
.page-numbers .page-numbers {
  transition: 0.3s ease-in-out;
  padding: 0 2rem;
}
.product-list {
  align-items: stretch;
}
.product-item {
  display: flex;
  flex-direction: column;
}
.product-img-wrap {
  margin-top: auto;
}
@media screen and (max-width: 700px) {
  .product-img-wrap {
    max-width: 80%;
  }
  .product-item-heading {
    background-position: top center !important;
  }

  .product-item .product-item-heading {
    padding-top: 5px !important;
    margin-bottom: 2rem;
  }
  .page-numbers .page-numbers {
    padding: 0 1rem;
    font-weight: bold;
    text-shadow: 0px 0px 5px rgba(255, 255, 255, 1);
  }
}
@media screen and (max-width: 400px) {
  .story-title {
    line-height: 1.4;
  }
}

/* Header */

.header-change-lang {
  padding: 0.3rem 0.3rem;
}

.header-lang {
  padding: 0.4rem 1rem;
  font-size: 1.7rem;
}

.header-search-wrap {
  padding-left: 0;
}

.search-wrap {
  padding: 0rem;
}

.search-input {
  font-size: 1.6rem;
  background-color: white;
  border-radius: 5rem;
  /* background-color: bo; */
  /* border:  1px solid #00bff2; */
}

@media screen and (max-width: 1441px) {
  .header-search-wrap {
    padding-left: 0;
  }
  .header-phone-icon {
    height: 3.5rem;
    width: 3.5rem;
  }
  .search-wrap .header-search-btn {
    padding: 1rem;
  }
  .search-input {
    padding: 1rem;
  }
}

@media screen and (max-width: 1250px) {
  .header-search-wrap {
    padding-left: unset;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .header-logo img {
    width: 90%;
  }
}

/* Story section */

@media screen and (min-width: 1441px) {
  .story-title {
    padding-right: 0;
  }
  .story-img {
    transform: translateY(-5%);
  }
}

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .story-wrap {
    /* height: 100vh; */
    padding-top: 10rem;
    padding-bottom: 24rem;
  }
  .story-img {
    width: 60%;
  }
  .story-col2 {
    transform: translateX(-13rem) !important;
  }
}

/* Section product */

.products-title {
  color: #003156;
}

.products-img-wrap {
  transform: translateX(17%);
}

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .products-content {
    padding-top: 12rem;
  }
  .products-list {
    justify-content: center !important;
  }
  .products-item {
    width: 25%;
  }
}

@media screen and (min-width: 1024px) and (max-width: 1441px) {
  .products-img-wrap {
    transform: translateX(17%);
  }
}

/* section tintuc */

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .news-wrap {
    padding-top: 12rem;
  }
  .news-slides {
    padding: 0 10rem;
  }
}

/* Story page */

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .main-story-item:nth-child(1) .main-story-content {
    padding-left: 10rem;
    padding-right: 0;
  }
  .main-story-item:nth-child(2) .main-story-content {
    padding-right: 12rem;
  }
  .main-story-item:nth-child(1) .main-story-content {
    padding-left: 12rem;
  }
  .main-story-item:nth-child(2) {
    padding-bottom: 48rem;
  }
  .main-story-item:nth-child(2) .main-story-img {
    transform: translateY(-42%);
    padding-left: 6rem;
  }
  .main-story-products-wrap {
    justify-content: center;
  }
  .main-story-product {
    width: 25%;
  }
}

/* product page */

@media screen and (min-width: 1441px) {
  .product-img-wrap {
    width: 85%;
    transform: translateX(6%);
  }
  .product-wrap .product:nth-child(2) .product-item:nth-child(2) .product-img-wrap {
    width: 75%;
  }
  .product-wrap .product:nth-child(3) .product-item .product-img-wrap {
    width: 75%;
  }
  .product-item {
    padding: 0 2rem;
  }
  .product-detail-title {
    font-size: 3rem;
    padding: 1rem;
  }
  .product-detail-list {
    margin-top: 8rem;
  }
  .product-detail-item {
    padding: 1rem 0;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .product-img-wrap {
    width: 80%;
    transform: translateX(8%);
  }
  .product-wrap .product:nth-child(2) .product-item:nth-child(1) .product-img-wrap {
    width: 70%;
  }
  .product-wrap .product:nth-child(2) .product-item:nth-child(2) .product-img-wrap {
    width: 62%;
  }
  .product-wrap .product:nth-child(3) .product-item .product-img-wrap {
    width: 74%;
    transform: translate(0, 0rem);
  }
  .product-item {
    padding: 0 2.1rem;
  }
  .product-detail-title {
    font-size: 2rem;
    padding: 1rem;
  }
  .product-detail-list {
    margin-top: 8rem;
  }
  .product-item-name {
    font-size: 2rem;
  }
  .product-box .container {
    padding: 0 8rem;
  }
  .product-detail-list {
    margin-top: 8rem;
    margin-bottom: 2rem;
  }
  .product-detail-item {
    padding: 1rem 0;
  }
  .product-btn-buy > p {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 1023px) {
  .product-wrap .product:nth-child(2) .product-item:nth-child(2) .product-img-wrap {
    width: 90%;
  }
}

.article-title {
  color: #003156;
}

/* tintuc page */

.tintuc {
  padding-bottom: 35rem;
}

@media screen and (max-width: 1440px) {
  .tintuc {
    padding-bottom: 27rem;
  }
}

.tintuc-name {
  transition: 0.3s ease-in-out;
}

.tintuc-item:hover .tintuc-name {
  color: #003156;
}

/* Footer */

.footer-title {
  color: #0088ad;
}

.footer-select {
  font-size: 18px;
}

@media screen and (min-width: 1025px) and (max-width: 1441px) {
  .footer-btn {
    font-size: 2rem;
  }
}

@media screen and (max-width: 1200px) {
  .footer-title {
    font-size: 2.4rem;
  }
  .footer-col2 .footer-title {
    font-size: 2.4rem;
  }
}

.mona-content {
  color: #003156 !important;
}

@media screen and (max-width: 1440px) {
  .story-col2 {
    padding-top: 4rem;
  }
}

@media screen and (max-width: 1336px) {
  .story-col2-wrap {
    padding-top: 0;
  }
}

.news-heading {
  position: relative;
  z-index: 20;
}

.article-content {
  background-image: url(../img/news-bg-fix.png);
  background-position: bottom;
  background-size: contain;
  background-repeat: no-repeat;
}

.tintuc {
  background-image: url(../img/news-bg-fix.png);
}

.footer-secur {
  margin-bottom: 0;
}

.product:nth-child(1) .product-box {
  background-image: url(../img/product-bg.png);
}

.story-home-content {
  background-color: rgb(192, 233, 253);
}

.main-story-products {
  background-image: url(../img/bg-fix.png);
}

.article-wrap {
  width: 100%;
}

.article-wrap img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.article-item {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.article-item-wrap {
  margin-top: auto;
  margin-bottom: 4rem;
  width: 75%;
}

.article-slides .swiper-slide {
  height: unset;
}

@media screen and (max-width: 1023px) {
  .article-slides .article-item-content {
    padding: 0;
    font-size: 1.2rem;
  }
  .article-content .container {
    padding-bottom: 15rem;
  }
}

.louds {
  transform: translateY(-33%);
}

@media screen and (max-width: 1441px) {
  .news-heading {
    margin-bottom: 5rem;
  }
}

@media screen and (max-width: 1023px) {
  .products-link {
    font-size: 1.4rem;
  }
}

.footer-address p {
  text-transform: unset;
}

.search-input {
  padding-right: 6rem;
}

@media screen and (min-width: 1023px) and (max-width: 1441px) {
  .search-input {
    padding-right: 4.5rem;
  }
}

.mona-mess-empty p {
  color: #003156;
}

@media screen and (min-width: 1023px) {
  .main-story-product:nth-child(3) .main-story-product-img {
    max-width: unset;
    max-width: unset;
    width: 150%;
    transform: translateX(-15rem);
  }
  .main-story-product:nth-child(1) .main-story-product-img {
    transform: translateX(12rem);
  }
}

@media screen and (max-width: 1441px) and (min-width: 1023px) {
  .main-story-product:nth-child(3) .main-story-product-img {
    transform: translateX(-10rem);
  }
  .main-story-product:nth-child(1) .main-story-product-img {
    transform: translateX(8rem);
  }
}

@media screen and (max-width: 1441px) and (min-width: 1023px) {
  .header-nav-wrap {
    padding-right: 6rem;
  }
}

@media screen and (max-width: 1200px) {
  .header-nav-wrap {
    padding-right: 0;
  }
}

@media screen and (max-width: 1441px) and (min-width: 1023px) {
  .product-box {
    padding-bottom: 6rem;
  }
}

.product-heading-desc {
  color: #003156;
}

/* Bang thanh phan dinh duong */

.detail-popup {
  position: absolute;
  left: 0;
  z-index: 20;
  background: linear-gradient(to right, #c3ebfd, #edf6fc);
  border-radius: 2rem;
  padding: 1.5rem;
  transition: 0.3s all;
  transform: translateY(5rem);
  opacity: 0;
  visibility: hidden;
}

.detail-popup.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.detail-tt {
  font-size: 17px;
  font-weight: bold;
  text-align: center;
  padding-bottom: 15px;
  border-bottom: 1px solid #003156;
  margin-bottom: 20px;
  color: #1777aa;
}

.ul-detail li {
  display: flex;
  justify-content: space-between;
}

.detail-popup .detail-desc {
  font-size: 12px;
  padding-top: 10px;
  margin-top: 10px;
  border-top: 1px solid #003156;
}

.read-text,
.hidden-text {
  /* display: inline-block; */
}

.read-text.active {
  display: none;
}

.hidden-text {
  display: none;
}

.hidden-text.active {
  display: inline-block;
}

.product-item-info {
  cursor: pointer;
}

.tintuc-hightlight-wrap {
  overflow: hidden;
}

.tintuc-hightlight-wrap img {
  height: inherit;
}

.xm-decor {
  position: absolute;
  width: 100%;
  height: 100%;
}
.xm-decor img {
  width: max-content;
  max-width: 100%;
  position: absolute;
}
.xm-decor img:nth-child(1) {
  width: 35%;
  bottom: 0;
  left: 55%;
  transform: translateX(-100%);
}
.xm-decor img:nth-child(2) {
  width: 110px;
  bottom: 30%;
  left: 25%;
  animation: bubble 7s linear 0.5s infinite;
}
.xm-decor img:nth-child(3) {
  width: 110px;
  bottom: 15%;
  left: 43%;
  animation: bubble 4s linear infinite;
}

@keyframes bubble {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(20%, 10%);
  }
  40% {
    transform: translate(-10%, 10%);
  }
  60% {
    transform: translate(0, -10%);
  }
  80% {
    transform: translate(-20%, 0);
  }
  100% {
    transform: translate(0);
  }
}
.header-phone-number {
  white-space: nowrap;
}
@media screen and (max-width: 1100px) {
  @media screen and (min-width: 1024px) {
    .header-box {
      padding-left: 10px;
    }
    .header-box-inner {
      padding-left: 5px;
    }
    .header-phone-number {
      font-size: 16px;
    }
  }
}
@media screen and (max-width: 1200px) {
  .product {
    padding-top: 12rem;
  }
}
@media screen and (max-width: 1024px) {
  .xm-decor img:nth-child(1) {
    width: 40%;
    bottom: 0;
    left: 55%;
    transform: translateX(-100%);
  }
  .xm-decor img:nth-child(2) {
    width: 70px;
    bottom: 35%;
    left: 20%;
  }
  .xm-decor img:nth-child(3) {
    width: 70px;
    bottom: 15%;
    left: 40%;
  }
}
@media screen and (max-width: 900px) {
  @media screen and (min-width: 768px) {
    .products-name {
      width: max-content;
      margin: 0 auto;
    }
    .products-item {
      width: calc(100% / 3);
    }
  }
}
@media screen and (max-width: 480px) {
  .xm-decor img:nth-child(1) {
    left: 60%;
    width: 50%;
    transform: translateX(-100%);
  }
  .xm-decor img:nth-child(2) {
    width: 50px;
    bottom: 35%;
    left: 15%;
    animation: none;
  }
  .xm-decor img:nth-child(3) {
    width: 50px;
    bottom: 15%;
    left: 40%;
    animation: none;
  }
  .header-logo-img {
    width: 60px;
  }
  .story-col2 {
    padding-top: 2rem;
  }
  .story-img-milk {
    width: 35vw;
    right: 15%;
  }
  .story-btn {
    display: block;
    margin-left: auto;
    width: max-content;
  }
  .tintuc,
  .main-story-item,
  .news-wrap {
    padding-bottom: 3rem;
  }
  .product-detail-list {
    justify-content: center;
  }
  .product:first-child {
    padding-top: 10rem;
  }
}
