.hero-product-single {
  position: relative;
  width: 100%;
  padding: 48px 0;
  background: linear-gradient(114.95deg, #dff1ff 18.25%, #fde6e8 81.75%);
  overflow: hidden;
}

.hero-product-single .title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  z-index: 10;
  position: relative;
}

.hero-product-single .title h1 {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 400;
  font-size: 56px;
  line-height: 150%;
  text-align: center;
  text-transform: uppercase;
  color: #005e9a;
}

.hero-product-single .title p {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: #005e9a;
}

.frame-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 144px;
  background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.single__product .singleproduct {
  padding: 56px 0;
  background: linear-gradient(165.52deg, #f5f6f9 10.25%, #ffffff 89.75%);
  position: relative;
  overflow: hidden;
}
.frame-overlayy {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 144px;
  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 100;
}

.single__product .singleproduct .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  position: relative;
  z-index: 101;
  align-items: center; /* Mặc định căn giữa */
  transition: align-items 0.3s ease; /* Thêm transition cho mượt */
}

.single__product .singleproduct .container.align-top {
  align-items: center; /* Khi hình cao, căn chữ lên trên */
}

.single__product .singleproduct .container .content {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 100%;
}

.single__product .singleproduct .container .image {
  width: 526px;
  height: 575px;
  position: relative;
  overflow: hidden;
}
.editor,
.editor .container span,
.editor span .editor p {
  font-family: "1FTV VIP Classico URW";
}
.single__product .singleproduct .container .image img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 526px;
  max-height: 575px;
  width: auto;
  height: auto;
}
.single__product .singleproduct .container .content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.single__product .singleproduct .container .content .tagline {
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 42px;
  line-height: 130%;
  text-transform: uppercase;
  color: #005e9a;
}

.single__product .singleproduct .container .content .des {
  color: #0a4670;
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 3%;
}

@media screen and (max-width: 1200px) {
  .single__product .singleproduct .container {
    gap: 50px;
  }
}

@media screen and (max-width: 960px) {
  .single__product .singleproduct .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
}
@media screen and (max-width: 768px) {
  .single__product .singleproduct .container {
    padding-left: 15px;
    padding-right: 15px;
  }
  .thong__so__kqbn {
    margin-bottom: 30px;
  }
  .single__product .singleproduct .container .image {
    width: 326px;
    height: auto;
    min-height: 300px;
    position: relative;
    overflow: hidden;
  }
  .single__product .singleproduct .container.align-top {
    align-items: center;
  }
  .single__product .singleproduct .container .image img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 100%;
    object-fit: contain;
  }
  .single__product .singleproduct {
    padding: 20px 0;
  }

  .hero-product-single .title h1 {
    font-size: 32px;
  }
  .single__product .singleproduct .container .content {
    gap: 20px;
  }
  .single__product .singleproduct .container .content .tagline {
    font-size: 20px;
  }
  .single__product .singleproduct .container .content .des {
    font-size: 14px;
  }
}

/* NAV MẶC ĐỊNH */
.nav__sigle__product {
  display: flex;
  width: 100%;
  background: linear-gradient(90deg, #5983b4 0%, #f08bbc 100%);
}
.nav__sigle__product .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0;
}
.nav__sigle__product .container .name {
  color: #ffffff;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 700;
  font-size: 32px;
  line-height: 150%;
  text-transform: uppercase;
}
.nav__sigle__product .container .parameter {
  display: flex;
  gap: 48px;
  justify-content: center;
}
.nav__sigle__product .container .parameter .item {
  color: #ffffff;
  font-family: "1FTV VIP Classico URW";
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  cursor: pointer;
  padding: 32px 0;
  transition: color 0.3s;
}
/* Gạch chân (active) cho nav mặc định */
.nav__sigle__product .container .parameter .item.active {
  border-bottom: 2px solid #ffffff;
}

/* NAV STICKY KHI SCROLL */
.nav__sigle__product__scroll {
  display: none;
  position: fixed;
  top: 76px;
  width: 100%;
  z-index: 998;
  background-color: rgba(230, 230, 230, 0.6);
  backdrop-filter: blur(8px);
  transition: background-color 0.3s ease;
}
.nav__sigle__product__scroll .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 0;
  padding-right: 0;
}
.nav__sigle__product__scroll .container .name {
  color: #005e9a;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 700;
  font-size: 32px;
  line-height: 150%;
  text-transform: uppercase;
}
.nav__sigle__product__scroll .container .parameter {
  display: flex;
  gap: 48px;
}
.nav__sigle__product__scroll .container .parameter .item {
  color: #005e9a;
  padding: 20px 0;
  font-family: "1FTV VIP Classico URW";
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s;
}

.nav__sigle__product__scroll .container .parameter .item.active {
  border-bottom: 2px solid #005e9a;
}

@media screen and (max-width: 1440px) {
  .nav__sigle__product .container {
    padding: 0 20px;
  }
  .nav__sigle__product .container .parameter .item {
    padding: 32px 20px;
  }

  .nav__sigle__product__scroll .container .parameter .item {
    padding: 20px 20px;
  }
}

.tong__quan {
  padding: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tong__quan__item {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.tong__quan__item .row {
  background: none;
}
.tong__quan__item .row .col-md-6 {
  font-size: 16px;
  margin: 0;
  padding: 40px 0;
}
.tong__quan__item .row .col-md-6 p {
  padding-top: 8px;
}
strong {
  font-weight: 600;
}
.editor {
  text-align: justify;
}

.editor {
  background-color: transparent !important;
}
.tong__quan .container .content {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.background__full {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 300px; /* Giữ chiều cao tối thiểu */
  width: 100%;
  display: flex; /* Thêm flex để căn chỉnh nội dung */
  align-items: center; /* Căn giữa nội dung theo chiều dọc */
  padding: 20px 0; /* Thêm padding để nội dung không sát mép */
}

.background__full.full-height {
  height: auto; /* Đảm bảo chiều cao linh hoạt khi có nội dung */
}

.background__full .col-md-6 img {
  width: auto;
  height: auto;
  display: block;
}
.no-background .col-md-6 img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* .img__editor img {
  margin: unset;
} */

.editor__bottom .container p {
  line-height: 150%;
  padding-top: 7px;
}

.editor__bottom .container h1,
.editor__bottom .container h2,
.editor__bottom .container h3,
.editor__bottom .container h4,
.editor__bottom .container h5 {
  line-height: 150%;
  padding-top: 10px;
}

.editor__bottom iframe {
  max-width: 100%;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  margin: 0 auto;
  border-radius: 4px;
}

@media (max-width: 767px) {
  .background__full {
    min-height: 200px; 
    padding: 15px 0; 
  }
  .editor__bottom iframe {
    height: auto;
  }
  .nav__sigle__product__scroll {
    top: 69px;
  }
}
.tong__quan .container .content .editor iframe,
.tong__quan .container .content .editor p iframe {
  width: 100%;
  height: auto !important;
  min-height: 600px;
}
.tong__quan .container .content .editor strong {
  font-weight: bold;
}
.tong__quan .container .content h3 {
  color: #005e9a;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 42px;
  line-height: 130%;
  letter-spacing: 0.5%;
  text-align: center;
  text-transform: uppercase;
}

/* thông số kỹ thuật */
.thong__so {
  padding: 0 0 40px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.thong__so h3,
.item__tongquan__editor h3 {
  color: #005e9a;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 42px;
  line-height: 130%;
  text-align: center;
  text-transform: uppercase;
}
.bg__thong__so {
  padding: 56px 0;
  background-image: var(--bg-url);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  min-height: 100px;
  display: flex;
  align-items: center;
}

.bg__thong__so .container {
  display: flex;
  flex-direction: column;
  gap: 30px;
  text-align: right;
}
.bg__thong__so .container .item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bg__thong__so .container .item h4 {
  font-family: "1FTV VIP Classico URW";
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: #ffffff;
}

.bg__thong__so .container .item h5 {
  font-family: 1FTV VIP Classico URW;
  font-weight: 700;
  font-size: 30px;
  line-height: 150%;
  text-transform: uppercase;
  color: #ffffff;
}
.treatment-results {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 30px 0;
}

.result-item {
  overflow: hidden;
}

.result-caption {
  text-align: center;
  padding: 15px;
  font-weight: 500;
  color: #333;
  background: #f8f8f8;
  margin: 0;
}

img-comparison-slider {
  --divider-width: 2px;
  --divider-color: #fff;
  --default-handle-opacity: 0.95;
  --default-handle-color: #fff;
  width: 100%;
  height: 526px;
}

img-comparison-slider img {
  width: 100%;
  object-fit: cover;
}

.kq_dieutri_card {
  width: 306px;
  height: 306px;
  position: relative;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  border-radius: 4px;
}
.kq__dieutri {
  padding: 0 0 60px 0;
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.kq__dieutri h3 {
  color: #005e9a;
  font-family: "1FTV VIP Classico URW Bold";
  font-weight: 500;
  font-size: 42px;
  line-height: 130%;
  text-align: center;
  text-transform: uppercase;
}
.kq__dieutri .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.kq_dieutri_card .btn-outline-gradient {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
  font-size: 16px;
  width: fit-content;
  white-space: nowrap;
}
.full-width-image {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 40px 0;
}
.full-width-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
@media screen and (max-width: 1440px) {
  .nav__sigle__product__scroll .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media screen and (max-width: 980px) {
  .kq__dieutri .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    gap: 30px;
  }
  .kq_dieutri_card {
    width: 100%;
  }
}
@media screen and (max-width: 820px) {
  .nav__sigle__product .container .parameter,
  .nav__sigle__product__scroll .container .parameter {
    gap: 0px;
  }
  .nav__sigle__product__scroll .container .name,
  .nav__sigle__product .container .name {
    font-size: 24px;
  }
  .tong__quan .container .content h3,
  .thong__so h3,
  .item__tongquan__editor h3 {
    font-size: 24px;
  }
}
@media screen and (max-width: 768px) {
  .thong__so {
    padding: 0;
    gap: 30px;
  }
  .bg__thong__so {
    padding: 40px 0;
  }
  .bg__thong__so .container {
    gap: 30px;
  }
  .kq__dieutri h3 {
    font-size: 24px;
  }
  .bg__thong__so .container .item h4 {
    font-size: 14px;
  }
  .bg__thong__so .container .item h5 {
    font-size: 22px;
  }
  .tong__quan .container {
    gap: 20px;
  }
  .kq__dieutri {
    padding: 40px 0;
  }
  .thong__so .treatment-results {
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 0;
    gap: 10px;
  }
  .hero-product {
    padding: 20px 0 !important;
  }
}
.trutop {
  margin-top: -40px;
}
#treatmentresults-swiper {
  padding-bottom: 50px;
  position: relative;
}
@media screen and (max-width: 700px) {
  .trutop {
    margin-top: -20px;
  }
  .tong__quan__item {
    gap: 20px;
  }
  .nav__sigle__product .container,
  .nav__sigle__product__scroll .container {
    display: flex;
    flex-direction: column;
    padding-top: 10px;
  }
  .tong__quan {
    gap: 20px;
  }
  .thong__so .container {
    padding-right: 15px;
  }
  .editor__bottom,
  .tong__quan__item .container {
    padding-left: 7px;
    padding-right: 7px;
  }
  .container__editor .row {
    padding-left: 7px;
    padding-right: 7px;
  }
  .nav__sigle__product__scroll .container {
    padding: 3px 0 10px 0;
  }
  .nav__sigle__product .container .parameter .item {
    padding: 0 9px;
    font-size: 12px;
    margin-top: 10px;
  }
  #primaryNav {
    margin-bottom: 15px;
  }
  .nav__sigle__product__scroll .container .parameter .item {
    padding: 20px 7px;
    font-size: 11px;
    justify-content: center;
  }
  .full-width-image {
    padding: 25px 0;
  }
  .background__full .col-md-6 img {
    width: 60%;
  }
  #treatmentresults-swiper {
    padding-bottom: 30px;
  }
}

.search-more-detail {
  text-align: center;
  width: 130px;
  margin: 0 auto;
}

.kq_dieutri_card {
  overflow: visible !important;
}
.swiper-container {
  padding: 0 10px;
}

.kq__dieutri__carousel {
  display: none;
}
.swiper-wrapper {
  padding: 30px 0 50px 0;
}

.hienej {
  display: none;
}
@media screen and (max-width: 576px) {
  .img__btm__slider {
    height: 380px !important;
  }
  .swiper-wrapper {
    padding: 30px 0 30px 0;
  }
  .anar {
    display: none;
  }
  .hienej {
    display: block;
  }
  #treatmentresults {
    display: none;
  }
  .kq__dieutri__carousel {
    display: block;
  }
  .item__tongquan__editor .container,
  .thong__so .editor .container {
    padding-left: 15px;
    padding-right: 15px;
  }
}
#overview p,
#overview h1,
#overview h2,
#overview h3,
#overview h4,
#overview h5,
#overview h6,
#overview li,
#overview span,
#overview a {
  line-height: 150%;
}

.swiper-button-next,
.swiper-button-prev {
  position: absolute;
  top: 62%;
  transform: translateY(-100%);
  width: 44px;
  height: 44px;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 14px;
}
.tong__quan__item li {
  list-style: disc !important ;
  margin-top: 5px;
}

.treatment-results__new {
  margin: 0 !important;
}