/*
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.   ***************/

/* Font Regular */
@font-face {
  font-family: 'Poppins R';
  src: url('custom-font/DesignerVN-Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Font Bold */
@font-face {
  font-family: 'Poppins R';
  src: url('custom-font/DesignerVN-Poppins-Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

/* Font Italic */
@font-face {
  font-family: 'Poppins R';
  src: url('custom-font/DesignerVN-Poppins-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

/* Font Bold Italic */
@font-face {
  font-family: 'Poppins R';
  src: url('custom-font/DesignerVN-Poppins-Regular.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

/* Áp dụng font cho toàn trang */
body {
  font-family: 'Poppins R', sans-serif;
}
h2.h2-ths{margin-bottom:0;}
.footer-wrapper{border-top: solid 1px #f7f7f7;}
@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/
	.nmn_revitalcell .sv-nmn{
		background: none !important;
	}
	.form-ngnag .js-advice-form{gap:0 !important;}
}
p{
	margin: 0.6em !important;
}
.position-relative {
    position: relative;
}
.header-main .header-nav-main.nav-left{
	gap: 30px;
	justify-content: center;
}
.menu-dktv .btn-gradient{
    line-height: 30px;
    border-radius: 40px;
    color: #fff ;
	padding: 0px 15px;
}
.menu-dktv .btn-gradient:hover{
    transform: translateY(5px);
    box-shadow: 0 0 10px #41c0be;
    color: #fff;
}
.menu-dktv .btn-gradient {
    line-height: 30px;
    border-radius: 40px;
    color: #fff !important;
}

.w-100 {
    width: 100% !important;
}
.justify-content-center {
    justify-content: center ;
}
.justify-content-center {
    -webkit-box-pack: center ;
    -ms-flex-pack: center;
    justify-content: center ;
}
.d-flex {
    display: flex ;
}
.font-weight-bold {
    font-weight: bold;
}
.transition {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.btn-gradient {
    background-image: linear-gradient(to right, #41c0be 0%, #41c0be 50%, #41c0be 100%);
    border: 1px solid #41c0be;
}
.btn-gradient, .btn-gradient-2 {
    transition: -webkit-transition:all 0.3s;
    transition: all 0.3s;
}
.text-white {
    color: #fff;
}
.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important
;
}
.text-white {
    color: #fff !important;
}
/*NMN*/
.nmn_revitalcell .sv-nmn {
    -background: url('https://hexelee.com.vn/wp-content/uploads/2025/08/bg-tys.png') no-repeat center;
    background: url('https://hexelee.com.vn/wp-content/uploads/2025/08/bg-tys.png') no-repeat center;
    background-size: 100%;
}

@media only screen and (min-width: 1023px) {
    .sv-nmn .nmn-item1 {
        top: 20%;
        left: 5%;
    }
	  .sv-nmn .nmn-item2 {
        top: 20%;
        right: 5%;
    }
	.sv-nmn .nmn-item3 {
       bottom: -3%;
        left: 5%;
    }
	.sv-nmn .nmn-item4 {
        bottom: 0%;
        right: 5%;
    }
}
@media only screen and (min-width: 1023px) {
    .sv-nmn .nmn-item {
        position: absolute;
        z-index: 2;
    }
}
/*Á Hậu Huyền My*/
	.video-box {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.video-box img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
}
.video-box::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.8 / 60%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  z-index: 2;
}
.video-box::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: translate(-40%, -50%);
  border-left: 22px solid #41c0be; /* màu xanh */
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  z-index: 3;
}

/* Popup */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85 );
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  position: relative;
  width: 90%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
  background: #000;
}

.popup-content iframe {
  width: 100%;
  height: 100%;
}

.close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 36px;
  color: white;
  cursor: pointer;
}
/* slider */
.slider-nav-light .flickity-page-dots .dot {
    border-color: #41c0be;
}
/* tu hao tham my */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 20px;
}

.benefit-box {
  border: 1px solid #41c0be;
  border-radius: 12px;
  padding: 10px;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
      align-content: center;
}

.benefit-box p {
  margin: 0;
  font-size: 16px;
  color: #41c0be;
  line-height: 1.6;
}

/* Responsive - 1 cột khi nhỏ hơn 768px */
@media (max-width: 767px) {
  .benefit-grid {
    grid-template-columns: 1fr;
  }
}
/* docter */
.hd-bgs{
 -background: url('https://hexelee.com.vn/wp-content/uploads/2025/08/bg-bctu.png') no-repeat center;
  background: url('https://hexelee.com.vn/wp-content/uploads/2025/08/bg-bctu.png') no-repeat center;
 background-size: 100%;
}
.doctor-info {
  flex: 1;
  min-width: 300px;
}

.info-box {
  /*-background: url('https://placencare.com.vn//wp-content/uploads/2025/05/bg-text.png') no-repeat left;*/
  /*background: url('https://placencare.com.vn//wp-content/uploads/2025/05/bg-text.png') no-repeat left;*/
  background-size: 80%;
  padding: 80px 30px;
}

.info-box h3 {
  margin-top: 0;
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}
.info-box h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 378px; /* đúng chiều dài ảnh line bạn gửi */
  height: 48px; /* đúng chiều cao ảnh */
  background-image: url('https://hexelee.com.vn/wp-content/uploads/2025/08/line-white.png');
  background-repeat: no-repeat;
  background-size: contain;
}
.info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-box ul li {
  padding-left: 24px;
  margin-bottom: 12px;
  position: relative;
  line-height: 1.5;
  margin-left: 0;
	font-size: 16px;
}

.info-box ul li::before {
  content: '✔';
  position: absolute;
  left: 0;
  color: #333333;
  font-weight: bold;
}
/* bs Lan */
	.bslanrow .col{
		padding-top:30px;
		padding-bottom:0;
	}
	
.form-dk-doc .form-wrapper {
  -background: url('https://hexelee.com.vn/wp-content/uploads/2025/08/Form-bg.png') no-repeat left;
  background: url('https://hexelee.com.vn/wp-content/uploads/2025/08/Form-bg.png') no-repeat left;
  padding: 100px;
  width: 90%;
  text-align: center;
 background-size: contain;
}

.form-dk-doc h2 {
  font-size: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.form-dk-doc form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #f5f5f5;
}
.form-dk-doc form input::placeholder {
  color: #41c0be;          /* màu chữ gợi ý */
  opacity: 1;              /* đảm bảo hiển thị đầy đủ opacity */
}
.form-dk-doc form button {
  display: inline-block;
  padding: 5px 35px;                 /* điều chỉnh padding theo ý */
  background: linear-gradient(to right, #41c0be 0%, #4fd5d3 50%, #41c0be 100%);
  border: none;
  border-radius: 999px;               /* bo tròn hoàn toàn */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #fff;                     /* màu chữ tối hơn cho tương phản */
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
	border: solid 1px #ffffff9c;
}

.form-dk-doc form button:hover {
  background: linear-gradient(to right, #4fd5d3, #41c0be);
}

#status {
  margin-top: 10px;
  font-size: 14px;
  color: green;
}
@media (max-width: 767px) {
	.form-dk-doc .form-wrapper{width: 100%;     padding: 20px; background-size: cover;}
	.info-box{background-size: 100%;}
	.info-box ul li{    font-size: 10px;}
	.form-ngnag{height:auto !important;}
}

	
	/* Banner vàng với viền họa tiết */
/* .form-ngnag .registration-container {
  width: 100%;
  padding: 40px;
  background: url("https://placencare.com.vn/wp-content/uploads/2025/05/bg-ff.png") no-repeat center center;
  background-size: cover;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
} */
    .form-ngnag {
      display: flex;
      justify-content: center;   /* Căn giữa ngang */
      align-items: center;       /* Căn giữa dọc */            /* Chiều cao toàn màn hình */
		background: url("https://hexelee.com.vn/wp-content/uploads/2025/08/bg-form-ng.png") no-repeat center center;
  background-size: cover;
		height: 246px;
    }
	  .form-ngnag  .registration-container {
      text-align: center;
      padding: 30px 20px;
    }
/* Tiêu đề banner */
.form-ngnag .registration-header {
  font-size: 20px;
  color: #fff;
  margin-bottom: 24px;
}

/* Form ngang dùng chung class */
.form-ngnag .js-advice-form {
  display: flex;
      flex-direction: row;
      gap: 15px;
      justify-content: center;
      flex-wrap: wrap;
	margin-bottom:0;
}

/* Input reuse styles */
.form-ngnag .js-advice-form input {
  width: 260px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  color: #333;
}
.form-ngnag .js-advice-form input::placeholder {
  color: #41c0be;
  opacity: 1;
}

/* Nút gradient reuse */
.form-ngnag .btn-gradient {
  padding: 5px 32px;
  background: linear-gradient(to right, #4fd5d3  0%, #41c0be 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
   border: solid 1px #ffffff9c;
}
.form-ngnag .btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

/* Thông báo trạng thái */
.form-status {

  display:none;
}
.form-statussuccess{
  margin-top: 16px;
  font-size: 14px;
  min-height: 18px;
  color: green;
  display:block;		
}
.form-status.error {
	display:block;
  color: red;
}
/* Responsive for Tablet */

/* Overlay nền tối mờ */
.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-content{
background: url("https://placencare.com.vn/wp-content/uploads/2025/05/bg-popup.png") no-repeat center center;
  background-size: cover;
}

/* Nội dung popup */
.modal-content {
  padding: 24px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  position: relative;
}

/* Nút đóng */
.modal-close {
  position: absolute;
  top: 12px; right: 12px;
  font-size: 24px;
  cursor: pointer;
}

.modal-content h2 {
  font-size: 20px;
  margin-top: 20px;
  color: #5c3601;
}

.js-advic-popup{text-align:center;}
.modal-content form input {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  background: #f5f5f5;
}
.modal-content form input::placeholder {
  color: #714600;          /* màu chữ gợi ý */
  opacity: 1;              /* đảm bảo hiển thị đầy đủ opacity */
}
.modal-content form button {
  display: inline-block;
  padding: 5px 35px;                 /* điều chỉnh padding theo ý */
  background: linear-gradient(to right, #fcd566 0%, #fce38a 50%, #fcd566 100%);
  border: none;
  border-radius: 999px;               /* bo tròn hoàn toàn */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #3e2a0f;                     /* màu chữ tối hơn cho tương phản */
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.modal-content form button:hover {
  background: linear-gradient(to right, #fce38a, #fcd566);
}
    /* ===== Desktop (default)  floating===== */
    .floating-sidebar {
      position: fixed;           /* bắt buộc */
      top: 50%;
      right: 20px;
      transform: translateY(-50%);
      background: rgba(255,255,255,0.95);
      border-radius: 40px;
      padding: 12px;
      display: flex;
      flex-direction: column;
      align-items: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.15);
      z-index: 1000;
    }
	.floating-sidebar{
		-webkit-animation: spread-glow 4s .7s ease-in-out infinite;
		-webkit-transform-origin: 50% 4px;
		-moz-animation: spread-glow 4s .7s ease-in-out infinite;
		-moz-transform-origin: 50% 4px;
		animation: spread-glow 4s .7s ease-in-out infinite;
		transform-origin: 50% 4px;
		display: block;
	}
	.floating-sidebar:before {
    content: '';
    width: 100%;
    height: 100%;
    z-index: -1;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 999px;
    box-shadow: inset 0 0 6px 0 #41c0be;
}
    .floating-sidebar .item {
      display: flex;
      flex-direction: column;
      align-items: center;
      margin: 8px 0;
      text-decoration: none;
      color: #333;
    }
    .floating-sidebar .item img {
      width: 36px;
      height: 36px;
    }
    .floating-sidebar .item span {
      margin-top: 4px;
      font-size: 13px;
      font-weight: 500;
    }
    .floating-sidebar hr {
      width: 60%;
      border: none;
      border-top: 1px solid #e0e0e0;
      margin: 12px auto;
    }

 @media (max-width: 600px) {
  .floating-sidebar {
    /* giữ các thuộc tính cũ… */
    position: fixed;
    bottom: 1%;
    left: 50%;
	  top: auto;
    transform: translateX(-50%);
    flex-direction: row;
    width: calc(100% - 40px);
    padding: 8px 12px;
    border-radius: 30px;

    /* thêm 2 dòng này */
    display: flex;
    justify-content: space-evenly; /* hoặc space-around nếu trình duyệt cũ hơn */
    align-items: center;
  }
  .floating-sidebar hr {
    display: none;
  }
  .floating-sidebar .item {
    /* bỏ margin và cho mỗi item chiếm đều chỗ */
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .floating-sidebar .item img {
    width: 28px;
    height: 28px;
  }
  .floating-sidebar .item span {
    margin-top: 2px;
    font-size: 11px;
  }
}
@keyframes spread-glow{
	0% {
    box-shadow: 0 0 0 0 rgb(65 192 190);
}
1% {
    box-shadow: 0 0 0 2px rgb(65 192 190 / 90%);
}
3% {
    box-shadow: 0 0 0 4px rgb(65 192 190 / 80%);
}
5% {
    box-shadow: 0 0 0 6px rgb(65 192 190 / 70%);
}
7% {
    box-shadow: 0 0 0 8px rgb(65 192 190 / 60%);
}
9% {
    box-shadow: 0 0 0 10px rgb(65 192 190 / 50%), 0 0 0 0 #fff0;
}
11% {
    box-shadow: 0 0 0 12px rgb(65 192 190 / 40%), 0 0 0 4px rgb(65 192 190 / 20%);
}
13% {
    box-shadow: 0 0 0 14px rgb(65 192 190 / 30%), 0 0 0 6px rgb(65 192 190 / 20%);
}
15% {
    box-shadow: 0 0 0 16px rgb(65 192 190 / 20%), 0 0 0 8px rgb(65 192 190 / 20%);
}
17% {
    box-shadow: 0 0 0 18px rgb(65 192 190 / 10%), 0 0 0 10px rgb(65 192 190 / 20%);
}
19% {
    box-shadow: 0 0 0 20px #fff0, 0 0 0 18px #fff0;
}
21% {
    box-shadow: 0 0 0 0 #b06428;
}
23% {
    box-shadow: 0 0 0 2px rgb(65 192 190 / 90%);
}
25% {
    box-shadow: 0 0 0 4px rgb(65 192 190 / 80%);
}
27% {
    box-shadow: 0 0 0 6px rgb(65 192 190 / 70%);
}
29% {
    box-shadow: 0 0 0 8px rgb(65 192 190 / 60%);
}
31% {
    box-shadow: 0 0 0 10px rgb(65 192 190 / 50%), 0 0 0 0 #fff0;
}
33% {
    box-shadow: 0 0 0 12px rgb(65 192 190 / 40%), 0 0 0 4px rgb(65 192 190 / 20%);
}
35% {
    box-shadow: 0 0 0 14px rgb(65 192 190 / 30%), 0 0 0 6px rgb(65 192 190 / 20%);
}
37% {
    box-shadow: 0 0 0 16px rgb(65 192 190 / 20%), 0 0 0 8px rgb(65 192 190 / 20%);
}
39% {
    box-shadow: 0 0 0 18px rgb(65 192 190 / 10%), 0 0 0 10px rgb(65 192 190 / 20%);
}
41% {
    box-shadow: 0 0 0 20px #fff0, 0 0 0 18px #fff0;
}
43% {
    box-shadow: 0 0 0 0 #fff0;
}
100% {
    box-shadow: 0 0 0 0 #fff0;
}
}
