/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
.section_nutrition_posts .col_peo_bg .col-inner {
  padding: 30px !important;
}
/* .section_nutrition_posts .col_peo_bg .col-inner .flickity-prev-next-button.previous{
    margin-right: 25px;
}
.section_nutrition_posts .col_peo_bg .col-inner .flickity-prev-next-button.next{
    margin-right: 25px;
} */
.header-main .header-nav-main .menu-item .icon-angle-down {
  display: none;
}

.header-main .header-nav-main .menu-item .sub-menu {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  width: 90vw;
  border-radius: 10px;
  z-index: 9999;
  transition: top 0.3s ease, transform 0.3s ease;
  /* opacity: 1;
    visibility :visible; */
}
.header-main .header-nav-main .menu-item .sub-menu .section {
  padding: 0 !important;
}
/* .header-main .header-nav-main .menu-item .sub-menu .section_header{
    min-height: 1000px;
} */
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .section-content
  > .row {
  max-width: 100%;
  margin: 0 auto !important;
}
.header-main .header-nav-main .menu-item .sub-menu .section .row .large-9 {
  border-right: 1px solid #e5e5e5;
  padding: 0;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row.row_menu_left_top {
  padding: 30px 40px;
  margin: 0 auto !important;
}
.header-main .header-nav-main .menu-item .sub-menu .section .col_right {
  padding: 30px 40px;
}
.header-main .header-nav-main .menu-item .sub-menu .section .col_right h4 {
  color: #fff;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  h4:hover {
  color: #fff;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner {
  height: 85%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box {
  flex: 1;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box
  .box-image {
  height: 100%;
  cursor: pointer;
  border-radius: 10px;
  overflow: hidden;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box
  .box-text {
  padding: 15px;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box
  .box-image
  .image-cover,
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box
  .box-image
  .image-zoom,
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box
  .box-image
  img {
  height: 100%;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .col_right
  .col-inner
  .box
  .box-image
  img {
  object-fit: cover;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row.row_menu_left_bottom {
  background-color: #f2f2f2;
  /* padding: 30px; */
  max-width: 100%;
  margin: 0 auto !important;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row.row_menu_left_bottom
  .stack {
  gap: 30px;
  justify-content: flex-start;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row.row_menu_left_bottom
  .stack
  .text {
  padding: 30px 0;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row.row_menu_left_bottom
  .stack
  .text:first-child {
  padding-left: 50px;
  padding-right: 30px;
  border-right: 1px solid #a3a3a3;
  font-size: 14px;
  line-height: 1.5;
}
.header-main .header-nav-main .menu-item .sub-menu .section .text {
  align-self: center;
  align-content: center;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row.row_menu_left_bottom
  .col {
  padding-bottom: 0px !important;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list {
  max-width: 20%;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  .ux-menu-link__link {
  border-bottom: none;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  .ux-menu-link__link
  span,
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  a {
  font-size: 14px;
  line-height: 20px;
  color: #525252;
  cursor: pointer;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  .ux-menu-link__link
  span:hover,
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  a:hover {
  color: #273bce !important;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  .menu-item.active_black
  .ux-menu-link__link
  span {
  color: #000000;
  font-weight: 600;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section
  .row
  .col_menu_list
  .menu-item.active_primary
  .ux-menu-link__link
  span {
  color: #2e2eff;
  font-weight: 600;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .row
  .col_menu_list {
  max-width: 50%;
  padding-left: 50px;
  padding-right: 50px;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .row
  .large-9 {
  position: relative;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .row
  .large-9::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: block;
  height: 100%;
  width: 0.5px;
  background: #e5e5e5;
}
/* .header-main .header-nav-main .menu-item .sub-menu .section.sports .row .col_menu_list:first-child{
    border-right:1px solid #e5e5e5 ;
} */
.header-main .header-nav-main .menu-item .sub-menu .section.sports .stack {
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.header-main .header-nav-main .menu-item .sub-menu .section.sports .icon-box {
  display: flex;
  justify-items: center;
  align-items: center;
  align-content: center;
  gap: 15px;
  position: relative;
  cursor: pointer;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.cs
  .section-content
  > .row
  > .large-8 {
  border-right: 1px solid #e5e5e5;
  padding: 30px 40px;
}
/* .header-main .header-nav-main .menu-item .sub-menu .section.cs .large-8 .text_14{
    margin-bottom: 30px;
} */
.header-main .header-nav-main .menu-item .sub-menu .section.cs .large-8 img {
  padding: 30px 0;
}
.header-main .header-nav-main .menu-item .sub-menu .section.cs .large-8 h4,
.mobile-sidebar .cs .small-12 h4 {
  margin-top: 30px;
  padding: 16px 48px;
  background-color: #273bce;
  border-radius: 32px;
  color: #fff;
  width: 150px;
  display: inline-flex;
  position: relative;
  /* justify-content: center; */
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.cs
  .large-8
  h4:hover::after,
.mobile-sidebar .cs .small-12 h4:hover::after {
  transform: translate(10px, -50%);
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.cs
  .large-8
  h4::after,
.mobile-sidebar .cs .small-12 h4::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 60%;
  display: inline-block;
  width: 20px;
  height: 20px;

  transform: translate(0, -50%);

  /* Mask */
  -webkit-mask-image: url(assets/images/arrow_left_r.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url(assets/images/arrow_left_r.png);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  /* Màu */
  background-color: #fff;
  transition: transform 0.3s ease;
}
.header-main .header-nav-main .menu-item .sub-menu .section.cs .col_right {
  padding-left: 50px;
  padding-right: 50px;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.cs
  .col_right
  .col-inner {
  height: auto;
  align-content: center;
  align-items: center;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.cs
  .row_menu_left_top
  .col {
  padding-bottom: 0;
}
#masthead .header-nav.header-nav-main > li:nth-child(5) > a {
  color: #dc2626;
  position: relative;
}
#masthead .header-nav.header-nav-main > li:nth-child(5) > a::after {
  content: "-50%";
  position: absolute;
  font-size: 10px;
  top: -5px;
  right: -5px;
  display: inline-block;
}
#masthead .header-nav.header-nav-main > li:nth-child(5) > a::before {
  background-color: #dc2626;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .icon-box
  img {
  padding-top: 0;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .icon-box:hover
  .icon-box-img {
  transform: scale(0.95);
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .icon-box:hover
  .icon-box-text {
  color: #273bce;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .icon-box
  .icon-box-img {
  width: 48px !important;
  margin-bottom: 0px;
  border-radius: 50%;
  overflow: hidden;
  transition: scale 0.3 ease;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .section.sports
  .icon-box
  .icon-box-text {
  color: #525252;
  font-size: 14px;
  height: 100%;
  border-bottom: 1px solid #f2f2f2;
  align-self: center;
  align-content: center;
  min-width: 120px;
}
.header-main .header-nav-main .menu-item .sub-menu h4 {
  font-size: 16px;
  line-height: 24px;
  color: #000000;
  font-weight: 600;
  position: relative;
  margin-right: 10px;
  margin: 0;
  cursor: pointer;
  display: inline;
}
.header-main .header-nav-main .menu-item .sub-menu .t_menu_title {
  margin-bottom: 20px;
}
.header-main .header-nav-main .menu-item .sub-menu h5 {
  margin-bottom: 0;
}
/* .header-main .header-nav-main .menu-item .sub-menu .stack{
    justify-content: space-around;
} */
.header-main .header-nav-main .menu-item .sub-menu h4:hover {
  color: #273bce;
}
.header-main .header-nav-main .menu-item .sub-menu .col_menu_list h4 {
  margin-bottom: 20px;
}
.header-main
  .header-nav-main
  .menu-item
  .sub-menu
  .col_menu_list
  h4:hover::after {
  transform: translate(10px, -50%);
}
.header-main .header-nav-main .menu-item .sub-menu .col_menu_list h4::after {
  position: absolute;
  content: "";
  top: 50%;
  right: -40px;
  display: inline-block;
  width: 40px;
  height: 100%;
  transform: translate(0, -50%);

  /* Mask */
  -webkit-mask-image: url(assets/images/arrow_left_r.png);
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url(assets/images/arrow_left_r.png);
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: 25px;

  /* Màu */
  background-color: #273bce;
  transition: transform 0.3s ease;
}
.section_cook_recipes .col.post-item .box-text {
  padding: 24px;
}
.section_event_blogs .col_event_blogs {
  padding: 0 30px;
}
.section_tips_nutritions .col_event_blogs {
  padding: 0 20px;
}
.section_cook_recipes .col.post-item .box-text a {
  color: #ffffff !important;
}
.section_cook_recipes .col.post-item .box-text p {
  color: #a3a3a3 !important;
}
.section_cook_recipes .col.post-item .box-text a {
  -webkit-line-clamp: 1;
}
.section-term-slider-intro.section_nutrition_posts .post-item .col-inner {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 12px !important;
}
.section-review-product.section-review-nutrition .tabs_lists .tab a {
  border-radius: 12px;
  border: 2px solid #e5e5e5;
  margin: 0 !important;
  position: relative;
  width: 100%;
  justify-content: space-between;
}
.section-review-product.section-review-nutrition
  .tabs_lists
  .tab:nth-child(1)
  a::after {
  background-image: url(./assets/images/tp_bo_sung.png);
}
.section-review-product.section-review-nutrition
  .tabs_lists
  .tab:nth-child(2)
  a::after {
  background-image: url(./assets/images/da_lanh_manh.png);
}
.section_regis_pill .col_regis_pill .col-inner {
  border-radius: 16px;
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  padding: 24px;
}
.section_regis_pill .col_regis_pill .col-inner p,
.section_regis_pill .col_regis_pill .col-inner .btn_regis_pill {
  margin-bottom: 0px !important;
}
.section_regis_pill .col_regis_pill .col-inner p.lead {
  color: #ffffff;
  font-weight: 700;
  font-size: 20px;
  align-items: center;
}
.section_regis_pill .col_regis_pill .col-inner .btn_regis_pill {
  align-items: center;
  padding: 0 !important;
  min-width: 145px;
}
.section_regis_pill .col_regis_pill .col-inner .btn_regis_pill span {
  padding: 6px 16px 8px 16px;
}
.section_regis_pill .col_regis_pill .col-inner .btn_regis_pill span,
.section_regis_pill .col_regis_pill .col-inner .btn_regis_pill span::after {
  font-weight: 400;
  color: #000000;
}
.section_regis_pill .col_regis_pill .col-inner .btn_regis_pill span::after {
  position: relative;
  content: "\2192";
  display: inline-block;
  margin-left: 6px;
  font-size: 14px;
  vertical-align: middle;
}

.lwptoc-light .lwptoc_i {
  width: 100%;
  border-radius: 16px;
  background: #f8f8f8;
}
.lwptoc_toggle {
  display: none;
}
.post-sidebar #secondary {
  position: -webkit-sticky;
  position: sticky;
  top: 135px;
}

.info-box {
  background-color: #f1f1f1;
  border-radius: 16px;
  font-size: 16px;
  padding: 24px;
  margin: 15px 0;
}
.info-box ul {
  margin-bottom: 0;
}
.info-box a {
  color: #2f5acf !important;
}

/* tab fashion */

.tabbed-content.tab_fashion .nav {
  display: flex;
  gap: 0;
}
.tabbed-content.tab_fashion .nav:hover > li:not(:hover) > a:before {
  opacity: 1;
}

.tabbed-content.tab_fashion .nav .tab {
  flex: 1;
  position: relative;
  overflow: hidden;
  text-align: center;
  /* height: 200px; */
  align-content: center;
}

.tabbed-content.tab_fashion .nav .tab a {
  display: flex;
  align-items: center;
  height: clamp(120px, 25vw, 200px);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  color: #2b3bb8;
  padding: 30px 60px;
  position: relative;
  z-index: 3;
  overflow: hidden;
  /* pointer-events: none; */
}
.tabbed-content.tab_fashion .nav .tab:first-child a {
  justify-content: end;
}
.tabbed-content.tab_fashion .nav .tab a span {
  font-family: "Pangea", sans-serif;
  font-size: 32px;
  font-weight: 600;
  text-transform: none !important;
}
.tabbed-content.tab_fashion .nav .tab.active a {
  color: #fff;
  /* z-index: 3; */
}

/* Background & bo góc xiên */
.tabbed-content.tab_fashion .nav .tab::before {
  content: "";
  position: absolute;
  inset: 0;
  /* background: linear-gradient(180deg, #EFF1FF 0%, #FFFFFF 100%); */
  background: linear-gradient(90deg, #23239a);
  border-radius: 12px;
  z-index: 1;
}
/* .tabbed-content.tab_fashion .nav .tab.active{
} */
.tabbed-content.tab_fashion .nav .tab:first-child::before {
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}
.tabbed-content.tab_fashion .nav .tab:last-child::before {
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 95%);
}

.tabbed-content.tab_fashion .nav .tab::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: linear-gradient(180deg, #d4e2ff 0%, #ffffff 100%);
  /* background: red; */
  border-radius: calc(12px);
  z-index: 2;
}
.tabbed-content.tab_fashion .nav .tab.active::after {
  background: linear-gradient(90deg, #1c1c99, #2e2eff);
}
.tabbed-content.tab_fashion .nav .tab:hover::after {
  background: linear-gradient(90deg, #1c1c99, #2e2eff);
}
.tabbed-content.tab_fashion .nav .tab:hover a span {
  color: #fff;
}
/* Tab đầu */
.tabbed-content.tab_fashion .nav .tab:first-child::after {
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
}

/* Tab cuối */
.tabbed-content.tab_fashion .nav .tab:last-child::after {
  clip-path: polygon(5% 0, 100% 0, 100% 100%, 0 100%, 0 95%);
}

/* Vẽ nút radio */
/* Tab đầu tiên */
/* .tabbed-content.tab_fashion .nav .tab:first-child a {
    position: relative;
} */

.tabbed-content.tab_fashion .nav .tab:first-child a::before {
  /* ảnh nam */
  content: "";
  position: absolute;
  background-image: url(./assets/images/male.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: auto;
  aspect-ratio: 1/1;
  top: 0;
  bottom: 0;
  left: 24px;
  z-index: 1;
}

.tabbed-content.tab_fashion .nav .tab:first-child a::after {
  /* vòng tròn */
  content: "";
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 3px solid #fff;
  border-radius: 50%;
  margin-left: 24px;
  background: #fff;
  box-sizing: border-box;
  vertical-align: middle;
  /* transition: box-shadow .18s; */
  z-index: 4;
}

/* Tab cuối */

.tabbed-content.tab_fashion .nav .tab:last-child a::before {
  /* vòng tròn */
  content: "";
  position: relative;
  display: inline-block;
  width: 44px;
  height: 44px;
  border: 3px solid currentColor;
  border-radius: 50%;
  margin-right: 24px;
  background: #fff;
  box-sizing: border-box;
  vertical-align: middle;
  /* transition: box-shadow .18s; */
  z-index: 4;
}
.tabbed-content.tab_fashion .nav .tab:last-child:hover a::before {
  border: 3px solid #fff;
  box-shadow: inset 0 0 0 5px #3a3af8;
}
.tabbed-content.tab_fashion .nav .tab:first-child:hover a::after {
  border: 3px solid #fff;
  box-shadow: inset 0 0 0 5px #3a3af8;
}

.tabbed-content.tab_fashion .nav .tab:last-child a::after {
  /* ảnh nữ */
  content: "";
  position: absolute;
  background-image: url(./assets/images/female.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: auto;
  aspect-ratio: 1/1;
  top: 0;
  bottom: 3px;
  right: 24px;
  z-index: 1;
}

.post-sidebar .accordion-inner {
  padding-left: 15px;
  padding-right: 15px;
}

/* Active state cho vòng tròn */
.tabbed-content.tab_fashion .nav .tab:last-child.active a::before,
.tabbed-content.tab_fashion .nav .tab:first-child.active a::after {
  box-shadow: inset 0 0 0 5px #3a3af8;
  border-color: #fff;
}
.content-main .author-info-card {
  background-image: url(./assets/images/m_badge.png);
  background-size: 90px;
}
.searchform-wrapper .search-field {
  font-size: 14px;
}

/* contact floating */
.amlab_footer .amlab_bttbtn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 99999;
}
.amlab_footer .amlab_bttbtn.show {
  display: flex;
}
.amlab_footer .amlab_contact-btn {
  position: fixed;
  bottom: 90px;
  right: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 10;
}
.amlab_bttbtn img {
  width: 50%;
  height: 100%;
  object-fit: contain;
}
.amlab_bttbtn {
  width: 48px;
  height: 48px;
  cursor: pointer;
  margin-bottom: 15px;
  border-radius: 50%;
  background: #273bce;
}
.amlab_bttbtn:hover {
  background: #4b5cdd;
}
.amlab_option-btn {
  width: 48px;
  height: 48px;
  cursor: pointer;
  border-radius: 50%;
  background: #273bce;
  align-items: center;
  justify-items: center;
  justify-content: center;
  display: flex;
}
.amlab_option-btn.phone img {
  width: 22px;
  height: 22px;
}
.amlab_option-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.amlab_contact-btn:hover {
  transform: scale(1.1);
}
.amlab_contact-btn img {
  width: 22px;
  height: 22px;
}
.amlab_contact-options {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: fixed;
  bottom: 130px;
  right: 20px;
  /* display: flex; */
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 99999;
}
.amlab_contact-options.amlab_show {
  display: flex;
  gap: 30px;
  bottom: 165px;
}
:root {
  --amlab-c2: rgba(63, 63, 232, 1); /* màu core */
  --amlab-ring: rgba(63, 63, 232, 0.1); /* opacity 10% như Figma */
  --amlab-size: 60px; /* core 68x68 */
  --amlab-ring1: 80px; /* vòng 1: 80px */
  --amlab-ring2: 90px; /* vòng 2: 90px */
}

/* Core button */
.amlab_contact-btn {
  position: relative;
  width: var(--amlab-size);
  height: var(--amlab-size);
  border-radius: 50%;
  /* background: #fff; */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0 10px 18px rgba(0,0,0,.18); */
  cursor: pointer;
  overflow: visible; /* để vòng phát sáng lộ ra ngoài */
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.15s ease;
  padding-top: 10px;
  /* border: 1px solid #5c5c5c; */
}

#amlab_toggleIcon {
  width: 100%;
  height: auto;
  transition: width 0.3s ease; /* hiệu ứng mượt */
}

#amlab_toggleIcon.small {
  width: 28px !important;
  height: 28px !important;
}

.amlab_contact-btn:hover {
  transform: translateY(-1px);
}
.amlab_contact-btn:active {
  transform: translateY(0);
}

/* icon ở giữa (plus/minus) */
.amlab_contact-btn > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  pointer-events: none;
}

/* 2 vòng “tỏa nhẹ” theo Figma – 80px & 90px, opacity 10% */
/* .amlab_contact-btn::after,
.amlab_contact-btn::before{
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    border-radius: 50%;
    transform: translate(-50%,-50%);
    background: var(--amlab-ring);
    z-index: -1;
    animation: amlab-breathe 2.6s ease-in-out infinite;
} */
/* vòng trong 80px */
/* .amlab_contact-btn::after{
    width: var(--amlab-ring1);
    height: var(--amlab-ring1);
} */
/* vòng ngoài 90px (lệch pha nhẹ) */
/* .amlab_contact-btn::before{
    width: var(--amlab-ring2);
    height: var(--amlab-ring2);
    animation-delay: .15s;
} */

/* ripple phụ (dùng sẵn <span class="amlab_ripple">) – rất nhẹ */
/* .amlab_contact-btn .amlab_ripple{
    position: absolute;
    inset: 0;
    margin: 0;
    border-radius: 50%;
    pointer-events: none;
    box-shadow: 0 0 0 0 rgba(63,63,232,.20);
    animation: amlab-ripple 2.2s ease-out infinite;
    mix-blend-mode: normal;
} */

/* nếu muốn “tắt” khi mở menu, cứ thêm class .is-open vào nút bằng JS */
/* .amlab_contact-btn.is-open .amlab_ripple{ animation-play-state: paused; }
.amlab_contact-btn.is-open::before,
.amlab_contact-btn.is-open::after{ animation-play-state: paused; } */

/* keyframes */
/* @keyframes amlab-breathe{
    0%   { transform: translate(-50%,-50%) scale(0.98); opacity: .10; }
    50%  { transform: translate(-50%,-50%) scale(1.03); opacity: .08; }
    100% { transform: translate(-50%,-50%) scale(0.98); opacity: .10; }
}
@keyframes amlab-ripple{
    0%   { box-shadow: 0 0 0 0 rgba(63,63,232,.20); }
    70%  { box-shadow: 0 0 0 14px rgba(63,63,232,0); }
    100% { box-shadow: 0 0 0 0 rgba(63,63,232,0); }
} */

/* tôn trọng người dùng hạn chế animation */
/* @media (prefers-reduced-motion: reduce){
    .amlab_contact-btn::before,
    .amlab_contact-btn::after,
    .amlab_contact-btn .amlab_ripple{ animation: none; }
} */

.banner {
  border-radius: 12px;
  overflow: hidden;
}
@media only screen and (max-width: 64em) {
  /*************** ADD TABLET ONLY CSS HERE  ***************/
  /* .section_nutrition_posts.section_slider .post-item {
        padding: 0 10px;
        width: 50% !important;
    } */
  .section-title-page {
    padding: 30px 15px 0 15px !important;
  }
  .section_nutrition_posts {
    padding: 30px 0 !important;
  }
  .section_tutorial_blog {
    padding: 30px 0 0 0 !important;
  }
  .tabbed-content.tab_fashion .nav .tab {
    height: auto; /* giảm chiều cao */
  }
  .tabbed-content.tab_fashion .nav .tab a {
    padding: 20px;
    font-size: 16px;
    height: auto;
  }
  .tabbed-content.tab_fashion .nav .tab a span {
    font-size: 24px;
  }
}

@media only screen and (max-width: 48em) {
  /*************** ADD MOBILE ONLY CSS HERE  ***************/
  /* .text_top_head{
        justify-content: center !important;
    } */
  .section_regis_pill .col_regis_pill .col-inner {
    flex-wrap: wrap;
  }
  .section_nutrition_posts .col_peo_bg {
    display: block !important;
  }
  .section_nutrition_posts .col_peo_bg > .col-inner {
    padding: 8px !important;
  }
  .section_nutrition_posts.section_slider .section-content .row {
    margin: 0 auto !important;
  }
  .section_fashion_trend.section_nutrition_posts .post-item .box-text {
    width: 100% !important;
    padding: 12px 0 0 0 !important;
  }
  .section_auto_slide.section_blog .post-item {
    padding: 5px 4px !important;
  }

  .article-inner .author-box_all {
    display: block !important;
    justify-content: center;
    padding: 12px;
  }

  .article-inner .author-title {
    font-size: 24px;
    /* margin: 0 0 15px; */
  }

  .article-inner .author-title .icon {
    display: none;
  }

  .article-inner .author-content hr {
    border: none;
    border-top: 1px solid #e5e5e5;
    margin: 10px 0 15px;
  }

  .article-inner blockquote {
    padding-left: 0px;
  }

  .article-inner blockquote::before {
    content: "“";
    font-size: 14px;
    position: absolute;
    left: -10px;
    top: 0;
    color: #000000;
  }

  .article-inner blockquote p {
    margin: 0;
    line-height: 1.6;
    font-size: 14px;
    font-weight: 400;
  }

  .article-inner .author-info {
    text-align: center;
    min-width: 150px;
  }

  .article-inner .author-info img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 8px;
  }

  .article-inner .author-name {
    font-weight: bold;
    font-size: 16px;
  }

  .article-inner .author-desc {
    font-size: 14px;
    color: #666;
  }
  .article-inner .amlab_author_box_top {
    flex-flow: column;
  }
  .section_nutrition_posts.section-term-slider-intro {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  .section-title-page-fashion {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .section-term-slider-intro .col_peo_bg .term_slider_item > .col {
    padding: 0;
  }
  .section-term-slider-intro .col_peo_bg > .col-inner {
    padding: 12px;
  }
  .section-term-slider-intro .section-content > .row,
  .section-review-product .section-content > .row {
    margin: 0 auto !important;
  }
  .section-term-slider-intro .section-content .col_peo_bg {
    padding: 0;
  }
  .section-review-product .section-content > .row .post-item {
    padding: 5px 0 !important;
  }
  .section_blog.section_lifestyle_blog {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .tabbed-content.tab_fashion .nav {
    flex-wrap: wrap;
    gap: 16px;
  }
  .tabbed-content.tab_fashion .nav {
    flex-direction: column;
  }
  .tabbed-content.tab_fashion .nav .tab {
    height: auto;
    min-width: 50%;
    width: 80%;
  }
  .tabbed-content.tab_fashion .nav .tab a {
    padding: 15px;
    font-size: 14px;
  }
  .tabbed-content.tab_fashion .nav .tab a span {
    font-size: 18px;
  }
  .tabbed-content.tab_fashion .nav .tab:last-child a::before {
    width: 24px;
    height: 24px;
  }
  .tabbed-content.tab_fashion .nav .tab:first-child a::after {
    width: 24px;
    height: 24px;
  }
  .tabbed-content.tab_fashion .nav .tab:first-child::before {
    clip-path: none;
  }
  .tabbed-content.tab_fashion .nav .tab:last-child::before {
    clip-path: none;
  }
  /* Tab đầu */
  .tabbed-content.tab_fashion .nav .tab:first-child::after {
    clip-path: none;
  }

  /* Tab cuối */
  .tabbed-content.tab_fashion .nav .tab:last-child::after {
    clip-path: none;
  }
  .amlab_footer .amlab_bttbtn.show {
    display: none;
  }
  .mobile-sidebar {
    /* padding: 15px;
        background-color: #e6e6e6; */
    overflow: hidden;
    /* height: 100vh; */
  }
  .mobile-sidebar .sidebar-menu .nav > .html {
    padding: 15px;
    background-color: #e6e6e6;
  }
  .mobile-sidebar .col_tab {
    border-radius: 12px;
    background-color: #fff;
    padding: 20px 15px !important;
    margin-bottom: 20px;
  }
  .mobile-sidebar .header-search-form {
    width: 100%;
  }
  .mobile-sidebar .header-search-form .searchform-wrapper .searchform {
    max-width: calc(100% - 15px);
  }
  .mobile-sidebar .header-search-form .searchform-wrapper input.search-field {
    margin-left: 7px;
    margin-right: 0;
    background-color: #fff;
  }
  .mobile-sidebar .header-block {
    width: 100%;
  }
  .mobile-sidebar .header-block .header-block-block-4 {
    width: 100%;
  }
  .mobile-sidebar .section_mb {
    padding: 0 15px 15px 15px !important;
    background-color: #e6e6e6;
  }
  .mobile-sidebar .section_mb .tabbed-content .tab {
    /* padding-bottom: 15px; */
    max-width: 33.3%;
  }
  .mobile-sidebar .section_mb .tabbed-content .tab a span {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    font-family: "CriteriaCF", sans-serif;
  }
  .mobile-sidebar .section_mb .tabbed-content .tab a::before {
    background-color: #e2e2e2;
    height: 1px;
    top: 100%;
  }
  .mobile-sidebar .section_mb .tabbed-content .nav {
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e2e2e2;
  }
  .mobile-sidebar .section_mb .tabbed-content .tab.active {
    border-bottom: 2px solid #000000;
  }
  .mobile-sidebar .section_mb .tabbed-content .tab-panels .mb_btn_see {
    margin-top: 15px;
    width: 100%;
    background-color: #e6e6e6;
    border-radius: 10px !important;
    margin-bottom: 0;
    min-height: 30px !important;
    height: 30px !important;
    border: none;
  }
  .mobile-sidebar .section_mb .tabbed-content .tab-panels .mb_btn_see span {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    font-family: "CriteriaCF", sans-serif;
  }
  .mobile-sidebar .section_mb .accordion_title {
    text-align: left;
  }
  .mobile-sidebar .section_mb .accordion .accordion-title {
    border-top: none;
    background-color: #fff;
    text-align: left;
    padding: 16px 0;
    text-transform: uppercase;
    font-size: 14px;
    line-height: 20px;
    font-weight: 600;
  }
  .mobile-sidebar .section_mb .accordion .accordion-title .toggle {
    top: 8px;
    left: 100%;
  }
  .mobile-sidebar
    .section_mb
    .accordion
    .accordion-title
    .toggle
    .icon-angle-down {
    font-size: 18px;
    color: #000000;
  }
  .mobile-sidebar .section_mb .accordion .accordion-inner {
    padding: 0px;
  }
  .mobile-sidebar .section_mb .accordion .accordion-inner p {
    padding: 8px 12px;
    text-align: left;
  }
  .mobile-sidebar .section_mb .accordion .accordion-inner p a {
    font-size: 14px;
    font-weight: 400;
    color: #525252;
  }
  .mobile-sidebar .section_mb .accordion .accordion-inner p a:hover {
    color: #2e2eff;
  }
  .active_primary a {
    color: #2e2eff !important;
  }
  .mn_vertical .active_primary a span {
    position: relative;
    align-self: center;
  }
  .mn_vertical .active_primary a span::after {
    position: absolute;
    content: "";
    width: 14px;
    height: 14px;
    background-image: url("assets/images/star.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    top: 50%;
    transform: translate(0, -50%);
    margin-left: 10px;
    right: -20px;
  }
  .active_black a {
    color: #000000 !important;
  }
  .active_sale a {
    color: #dc2626 !important;
  }
  .mobile-sidebar .section_mb .section-content > .row > .small-12 {
    padding-bottom: 0;
  }
  .mobile-sidebar .section_mb .col {
    padding-left: 0;
    padding-right: 0;
  }
  .mobile-sidebar .section_mb .btn_cs {
    display: block;
    width: 100%;
    background-color: #fff;
    text-align: left;
    border: none;
    border-radius: 12px;
    min-height: 62px !important;
    height: 62px !important;
    padding: 12px 20px;
    margin-bottom: 0;
    align-self: center;
    position: relative;
    align-content: center;
  }
  .mobile-sidebar .section_mb .btn_cs::before {
    position: absolute;
    content: "";
    background-image: url(assets/images/btn_cs.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    top: 50%;
    transform: translate(0, -50%);
    right: 60px;
    width: 100px;
    /* z-index: 999; */
    height: 40px;
  }
  .mobile-sidebar .section_mb .btn_cs::after {
    position: absolute;
    content: "";
    background-image: url(assets/images/arrow_left.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 16px;
    display: inline-block;
    top: 50%;
    transform: translate(0, -50%);
    right: 10px;
    width: 40px;
    /* z-index: 999; */
    height: 40px;
    background-color: #e6e6e6;
    border-radius: 50%;
  }

  .mobile-sidebar .section_mb .btn_cs:hover {
    background-color: #fff;
    color: #000000;
  }
  .mobile-sidebar .section_mb .submenu-header {
    text-align: center;
    justify-content: center;
  }
  .mobile-sidebar .section_mb .submenu-header .toggle {
    left: 35px;
    top: 15px !important;
    transform: rotate(90deg);
  }

  /* Giả lập style của submenu trong mobile overlay */
  #cs-lightbox.cs_content {
    background: #fff;
    position: fixed;
    top: 50px;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 10000;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  #cs-lightbox.cs_content .submenu-wrapper {
    padding: 15px;
    background: #e6e6e6;
  }
  #cs-lightbox.cs_content .submenu-extra {
    background-color: #fff;
  }
  .mn_vertical {
    background-color: #fff;
    padding: 16px 40px !important;
    /* margin-top: 30px; */
  }
  .mn_vertical .col {
    padding: 0 !important;
  }
  .mn_vertical .ux-menu-link__link {
    font-size: 14px !important;
    border-bottom: none !important;
  }
  #cs-lightbox.cs_content .row {
    margin: 0 auto !important;
  }

  #cs-lightbox.cs_content .cs {
    border-radius: 12px;
    padding: 8px 22px 24px;
    background-color: #fff;
  }

  /* Khi mở */
  #cs-lightbox.cs_content.active {
    transform: translateX(0);
  }

  .mobile-sidebar.no-scroll {
    overflow: hidden;
    height: 100vh;
  }

  /* Header submenu (giống Flatsome) */
  #cs-lightbox .submenu-header {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-weight: bold;
    font-size: 16px;
  }

  /* Nút quay lại */
  #cs-lightbox .submenu-header .back {
    margin-right: 10px;
    font-size: 20px;
    cursor: pointer;
  }

  /* Nội dung text */
  #cs-lightbox p {
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0 5px 0;
    text-align: center;
  }
  #cs-lightbox .cs .img-inner {
    border-radius: 6px;
    overflow: hidden;
  }
  /* Ảnh */
  #cs-lightbox img {
    max-width: 100%;
  }
  .mobile-sidebar .cs .small-12 {
    padding-bottom: 0;
  }
  .mobile-sidebar .cs .small-12 h4 {
    margin-top: 10px;
  }
  .mobile-sidebar .section.section_mb .icon-box {
    display: flex;
    justify-items: center;
    align-items: center;
    align-content: center;
    gap: 15px;
    position: relative;
    cursor: pointer;
    padding: 8px 12px;
  }
  .mobile-sidebar .section.section_mb .icon-box img {
    padding-top: 0;
  }
  .mobile-sidebar .section.section_mb .icon-box:hover .icon-box-text {
    color: #273bce;
  }

  .mobile-sidebar .section.section_mb .icon-box .icon-box-img {
    width: 44px !important;
    margin-bottom: 0px;
    border-radius: 50%;
    overflow: hidden;
    transition: scale 0.3 ease;
  }

  .mobile-sidebar .section.section_mb .icon-box .icon-box-text {
    color: #525252;
    font-size: 14px;
    height: 100%;
    /* border-bottom: 1px solid #f2f2f2; */
    align-self: center;
    align-content: center;
    min-width: 120px;
  }
  .mobile-sidebar .slider-wrapper .flickity-prev-next-button {
    display: block;
  }
  .mobile-sidebar .slider-wrapper .flickity-prev-next-button.previous {
    left: -4%;
  }
  .mobile-sidebar .slider-wrapper .flickity-prev-next-button.next {
    right: -4%;
  }
  .mobile-sidebar .slider-wrapper .flickity-prev-next-button svg {
    width: 40px !important;
    padding: 10px !important;
    background-color: #e6e6e6 !important;
  }
  .mobile-sidebar .slider-wrapper .flickity-prev-next-button svg path {
    fill: #000000;
  }
  .mobile-sidebar .banner .text-box {
    width: 100% !important;
    background: linear-gradient(
      to top,
      #000000ff 0%,
      #000000b3 30%,
      #00000000 100%
    );
    left: 0 !important;
    padding: 8px 12px;
  }
  .mobile-sidebar .banner .text-box h4 {
    font-size: 14px;
    font-weight: 400;
  }
  .off-canvas-center .mfp-content {
    position: relative;
    background-color: #e6e6e6;
  }
  .off-canvas .sidebar-menu {
    padding: 0 !important;
  }
  .mfp-ready .mfp-close {
    background-color: #f2f2f2 !important;
    color: #000000 !important;
    border-radius: 50%;
    top: 15px !important;
    right: 15px !important;
    font-size: 20px !important;
    mix-blend-mode: normal !important;
  }
  .mfp-ready .mfp-close svg {
    width: 20px;
    margin-top: 5px;
  }
  .off-canvas-center .mfp-content::before {
    position: absolute;
    content: "";
    background-image: url(https://www.coolmate.me/images/logo-mobile.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    display: inline-block;
  }
}