/* customer css */
/*==========hiệu ứng hover scale-img ==============*/
/* Hiệu ứng scale ảnh khi hover - từ assets-cu/css/style.css */
.scale-img img,
.scale-img:hover > img {
  -webkit-transition: 0.3s all;
  transition: 0.3s all;
}
/* Scale IMG */
.scale-img {
  position: relative;
  overflow: hidden;
  display: block;
}
.scale-img img {
  -webkit-transform: scale(1, 1);
  transform: scale(1, 1);
}
.scale-img:hover img:first-child {
  -webkit-transform: scale(1.1, 1.1);
  transform: scale(1.1, 1.1);
}
.scale-img:before {
  content: "";
  position: absolute;
  top: 0;
  left: -90%;
  z-index: 10;
  display: block;
  width: 50%;
  height: 100%;
  background: -webkit-linear-gradient(
    left,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  -webkit-transform: skewX(-25deg);
  transform: skewX(-25deg);
}
.scale-img:hover:before {
  transition: 1s;
  left: 130%;
}

/* ======header======*/
.header-info a:nth-of-type(1) {
  font-size: 20px;
  font-family: utm;
  color: var(--color-main);
  line-height: 1.5;
}

.slideshow .slideshow-control {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--color-main);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: 0.25s;
}

.slideshow .slideshow-control:after {
  display: none;
}

.slideshow .slideshow-control svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.slideshow .slideshow-control:hover {
  background: var(--color-main);
  color: #fff;
}

.slideshow .slideshow-prev {
  /* left: 24px; */
}

.slideshow .slideshow-next {
  /* right: 24px; */
}

.slideshow .slideshow-pagination {
  bottom: 18px;
}

/* trang chủ */
/* fix lỗi */
.productList--index .productcat-contain:last-child {
  margin-bottom: 0 !important;
}

/* blocks/product */
/* Giá cũ nằm phía trên */
.product-price-old {
  color: #8b8b8b;
  font-size: 14px;
  font-weight: 400;
  text-decoration: line-through;
}

/* Giá giảm nằm phía dưới */
.product-price-new {
  color: var(--color-red, #d70018);
  font-size: 19px;
  font-weight: 700;
}

/* câu hỏi thường gặp */
.accordion-button:not(.collapsed) .faq-title {
  color: var(--color-main) !important;
}
.accordion-button:not(.collapsed) .faq-number {
  color: var(--color-main) !important;
}
.accordion-button:hover .faq-title {
  color: var(--color-main);
}
.accordion-button:hover .faq-number {
  color: var(--color-main);
}
.accordion-button {
  font-weight: 500;
  font-size: clamp(20px, 18.59px + 0.375vw, 24px);
  position: relative;
  display: flex;
  align-items: center;
  gap: 25px;
  width: 100%;
  text-align: left;
  padding: 10px 0 !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  transition: color 0.3s ease;
}
.accordion-item {
  background-color: transparent !important;
  border: none !important;
  margin-bottom: 0 !important;
  padding: 10px 0;
}
.accordion-item:not(:last-child) {
  border-bottom: 2px dashed #c6c6c6 !important;
}
.accordion-item {
  border-radius: 0;
}
.faq-number {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 500;
  color: #c6c6c6;
  min-width: 50px;
  transition: color 0.3s ease;
}
.faq-title {
  font-size: clamp(16px, calc(24 / 1230 * 100vw), 24px);
  font-weight: 500;
  color: #737373;
  transition: color 0.3s ease;
  padding-right: 30px;
}
.faq-icon {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  display: block;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 2px;
  background-color: #c6c6c6;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition:
    background-color 0.3s ease,
    transform 0.3s ease;
}
.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.accordion-button:hover .faq-icon::before,
.accordion-button:hover .faq-icon::after,
.accordion-button:not(.collapsed) .faq-icon::before,
.accordion-button:not(.collapsed) .faq-icon::after {
  background-color: var(--color-main);
}
.accordion-button:not(.collapsed) .faq-icon::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.accordion-body {
  padding: 0 0 20px 75px !important;
  font-size: clamp(14px, calc(18 / 1230 * 100vw), 18px);
  max-width: 996px;
}

.accordion-button::after {
  display: none !important;
}

/* ============================================================
   CONTACT PAGE (contact_tpl.php)
   ============================================================ */
.contact-article {
  margin-top: 20px;
  margin-bottom: 1.5rem;
}

.contact-text {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.contact-text h4,
.contact-text h3 {
  color: var(--color-main);
  font-weight: 700;
  margin-bottom: 15px;
}

.contact-map {
  position: relative;
  overflow: hidden;
  height: 350px;
  margin-top: 30px;
}

.contact-map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
}

.contact-form {
  background: #fff;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.contact-input {
  position: relative;
  margin-bottom: 10px;
}

/* Custom Floating & Normal Form Labels */
.form-floating-cus {
  position: relative;
  display: block;
}

.form-floating-cus > select,
.form-floating.form-floating-cus > input {
  height: 45px;
  padding: 1.35rem 0.5rem 0.35rem;
  font-size: 13px;
  line-height: 1.2;
}

.form-floating.form-floating-cus > textarea {
  height: 100px;
  padding-top: 1.35rem;
  font-size: 13px;
  line-height: 1.4;
}

.contact-input .form-floating.form-floating-cus > label {
  display: block !important;
  padding: 8px 5px;
  color: var(--color-gray);
  font-size: 13px;
}

.contact-input .form-floating > .form-control:focus ~ label,
.contact-input .form-floating > .form-control:not(:placeholder-shown) ~ label {
  transform: scale(0.82) translateY(-0.65rem) translateX(0.1rem);
}

.contact-input input,
.contact-input textarea {
  border-radius: 0;
  border-top: none;
  border-left: none;
  border-right: none;
}

.contact-input input:focus,
.contact-input textarea:focus {
  box-shadow: none;
  outline: 0;
}

.contact-input textarea {
  height: 150px;
  resize: none;
}

.contact-form .btn-primary {
  background-color: var(--color-main);
  border-color: var(--color-main);
  padding: 10px 28px;
  border-radius: 0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn-primary:hover:not(:disabled) {
  background-color: #fff;
  color: var(--color-main);
  border-color: var(--color-main);
}

.contact-form .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  padding: 10px 28px;
  border-radius: 0;
  font-weight: 600;
}

/* Tabs trụ sở chính */
#hethongTabs .nav-link {
  color: #555;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 18px;
  border: 1px solid #e0e0e0;
  margin-right: 8px;
  transition: all 0.25s ease;
}

#hethongTabs .nav-link.active,
#hethongTabs .nav-link:hover {
  background-color: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

/* footer */
.social-footer:before {
  display: none;
}

.ul-list li a {
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-family: var(--font-regular);
  margin-bottom: 0;
}
.ul-list li a:hover {
  color: var(--color-red);
}
.padding-main {
  padding-top: 40px;
  padding-bottom: 40px;
}

/* mạng xã hội */
.social-footer {
  display: flex;
  gap: 10px;
}
.social-footer img:hover {
  -webkit-animation: rubberBand 1s;
  animation: rubberBand 1s;
}

/* đè cache */
.contact-input .form-floating-cus > .form-control {
  border: none;
  border-bottom: 1px solid #777777;
}

/* ============================================================
   SOCIAL FLOATING BUTTONS (#social)
   ============================================================ */
/* Hiệu ứng lan tỏa màu #ff3434 riêng cho Phone / Hotline */
#social .btn-frame.btn-hotline .kenit-alo-circle,
#social .btn-phone.btn-hotline .kenit-alo-circle {
  border: 2px solid #ff3434 !important;
  border-color: #ff3434 !important;
}

#social .btn-frame.btn-hotline .kenit-alo-circle-fill,
#social .btn-phone.btn-hotline .kenit-alo-circle-fill {
  background-color: rgba(255, 52, 52, 0.4) !important;
}

#social .btn-frame.btn-hotline i {
  background-color: #ff3434 !important;
}

/* Text hiển thị trượt ra khi hover (chỉ áp dụng cho Phone và Zalo, Map không có class social-text) */
#social .btn-frame {
  position: relative;
}

#social .btn-frame span.social-text {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  white-space: nowrap;
  background: #ff3434;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  padding: 6px 16px 6px 32px;
  border-radius: 30px;
  z-index: -1;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease-in-out;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

#social .btn-frame.btn-zalo span.social-text {
  background: #0088ff;
}

#social .btn-frame:hover span.social-text {
  left: 35px;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  #social {
    display: block;
  }
}
@keyframes rubberBand {
  0% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
  30% {
    -webkit-transform: scale3d(1.25, 0.75, 1);
    transform: scale3d(1.25, 0.75, 1);
  }
  40% {
    -webkit-transform: scale3d(0.75, 1.25, 1);
    transform: scale3d(0.75, 1.25, 1);
  }
  50% {
    -webkit-transform: scale3d(1.15, 0.85, 1);
    transform: scale3d(1.15, 0.85, 1);
  }
  65% {
    -webkit-transform: scale3d(0.95, 1.05, 1);
    transform: scale3d(0.95, 1.05, 1);
  }
  75% {
    -webkit-transform: scale3d(1.05, 0.95, 1);
    transform: scale3d(1.05, 0.95, 1);
  }
  100% {
    -webkit-transform: scaleX(1);
    transform: scaleX(1);
  }
}

/* css nút laodmore sp + bài viết */
.btn-loadmore {
  display: inline-block;
  /* line-height: clamp(35px, 4.5vw, 50px); */
  background: var(--color-main);
  text-align: center;
  color: #fff;
  font-size: clamp(13px, 2vw, 16px);
  padding: 12px 15px;
  border-radius: 10px;
  font-family: ibold;
}
.btn-loadmore:hover {
  color: var(--color-yellow);
}
/* copy dùng cho phần giới thiệu */
.chitiet-gioithieu {
  width: 185px;
}

/* trang sản phẩm */
.title-main .title-hero {
  font-size: clamp(25px, 3.5vw, 36px);
  color: var(--color-title);
  text-transform: uppercase;
  margin-bottom: 4px;
  font-family: utm;
}

/* Button hiển thị xem thêm nội dung */
/* SEO content collapse */

.btn-main {
  position: relative;
  isolation: isolate;
  overflow: visible;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: #ffffff;
  background: var(--color-main);
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease,
    box-shadow 0.3s ease;
}

#noidung {
  max-height: 130px;
  overflow: hidden;
  padding-bottom: 50px;
  position: relative;
}

#noidung.show-full-content {
  max-height: none !important;
  overflow: visible;
  padding-bottom: 0;
}

.hide-content {
  background: linear-gradient(transparent, #ffffff 100%);
  /* background: #f9f9f9; */
  bottom: 0;
  left: 0;
  padding: 50px 0 0;
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 1;
}

.hide-content.removeBlur {
  background: transparent !important;
  padding-top: 10px;
}

#noidung .hide-content .buttons-common {
  display: flex;
  justify-content: center;
}

#noidung .btn-view-full-content {
  min-width: 135px;
  min-height: 42px;
  border-radius: 999px;
}

#noidung .btn-view-full-content .blob-txt {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--color-main);
}

#noidung .btn-view-full-content:hover .blob-txt {
  color: #fff;
}

#noidung .btn-view-full-content.is-show .blob-txt {
  color: var(--color-main);
}
#noidung .btn-view-full-content.is-show:hover .blob-txt {
  color: #fff;
}

#noidung.show-full-content .hide-content {
  position: relative;
  padding-top: 15px;
}

/* Ẩn nút xem thêm bị thừa nằm bên trong HTML bài viết crawl */
#noidung .baonoidung > .text-center,
#toc-content .baonoidung > .text-center {
  display: none !important;
}

/* Blob button effect */
.blob-txt {
  position: relative;
  z-index: 2;
  color: #000;
}

.blob-btn {
  z-index: 1;
  position: relative;
  transition: color 0.5s;
  box-shadow: none !important;
  overflow: hidden;
  border: 1px solid var(--color-main);
}

.blob-btn.btn-main {
  overflow: hidden;
  background: transparent;
  color: var(--color-main);
}

.blob-btn.btn-main:hover {
  color: #fff;
}

.blob-btn:before {
  content: "";
  z-index: 1;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border: 0 solid var(--color-main);
}

.blob-btn:after {
  content: "";
  z-index: -2;
  position: absolute;
  left: 3px;
  top: 3px;
  width: 100%;
  height: 100%;
  transition: all 0.3s 0.2s;
}

.blob-btn.active .blob-txt,
.blob-btn:hover .blob-txt {
  color: #fff;
  transition: all 0.3s ease-in-out;
  text-decoration: none;
}

.blob-btn__inner {
  z-index: 0;
  overflow: hidden;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.blob-btn__blobs {
  position: relative;
  display: block;
  height: 100%;
  filter: url("#goo");
}

.blob-btn__blob {
  position: absolute;
  top: 2px;
  width: 25%;
  height: 100%;
  background: var(--color-main);
  border-radius: 100%;
  transform: translate3d(0, 150%, 0) scale(1.7);
  transition: transform 0.45s;
}

@supports (filter: url("#goo")) {
  .blob-btn__blob {
    transform: translate3d(0, 150%, 0) scale(1.7);
  }
}

.blob-btn__blob:nth-child(1) {
  left: 0%;
  transition-delay: 0s;
}

.blob-btn__blob:nth-child(2) {
  left: 30%;
  transition-delay: 0.08s;
}

.blob-btn__blob:nth-child(3) {
  left: 60%;
  transition-delay: 0.16s;
}

.blob-btn__blob:nth-child(4) {
  left: 90%;
  transition-delay: 0.24s;
}

.blob-btn.active .blob-btn__blob,
.blob-btn:hover .blob-btn__blob {
  transform: translateZ(0) scale(1.7);
}

.blob-filter-svg {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* trang chi tiết tin tức */

.title-detail .title-hero {
  font-size: 1.75rem;
  color: #333;
  text-align: left;
  margin-bottom: 0;
  font-weight: 500;
}

/* scroll */
.scroll-to-top.is-bottom,
.scroll-to-top:hover {
  background: var(--color-main);
}
.scroll-to-top span:after {
  right: 0;
  -webkit-transform: skewY(35deg);
  -ms-transform: skewY(35deg);
  -moz-transform: skewY(35deg);
  -o-transform: skewY(35deg);
  transform: skewY(35deg);
}
.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
  bottom: 40px;
}
@media (max-width: 997.98px) {
  .scroll-to-top.show {
    visibility: hidden;
  }
}

.scroll-to-top {
  --size: 50px;

  opacity: 0;

  visibility: hidden;

  position: fixed;

  right: 15px;

  bottom: -110px;

  z-index: 999;

  display: -webkit-box;

  display: -ms-flexbox;

  display: -webkit-flex;

  display: -moz-box;

  display: flex;

  -webkit-box-pack: center;

  -ms-flex-pack: center;

  -webkit-justify-content: center;

  -moz-box-pack: center;

  justify-content: center;

  -webkit-box-align: center;

  -ms-flex-align: center;

  -webkit-align-items: center;

  -moz-box-align: center;

  align-items: center;

  width: var(--size);

  height: var(--size);

  border: 2px solid var(--color-main);

  -webkit-border-radius: 50%;

  -moz-border-radius: 50%;

  border-radius: 50%;

  background-color: transparent;

  -webkit-transition: all 0.3s ease-out;

  -o-transition: all 0.3s ease-out;

  -moz-transition: all 0.3s ease-out;

  transition: all 0.3s ease-out;
}

.scroll-to-top span:nth-child(1) {
  top: 42%;
}

.scroll-to-top span {
  position: absolute;

  left: 32%;

  width: 36%;

  height: 2px;
}

.scroll-to-top.is-bottom span:before,
.scroll-to-top.is-bottom span:after,
.scroll-to-top:hover span:before,
.scroll-to-top:hover span:after {
  background-color: #fff;
}

.scroll-to-top span:before {
  left: 0;

  -webkit-transform: skewY(-35deg);

  -ms-transform: skewY(-35deg);

  -moz-transform: skewY(-35deg);

  -o-transform: skewY(-35deg);

  transform: skewY(-35deg);
}

.scroll-to-top span:after,
.scroll-to-top span:before {
  content: "";

  position: absolute;

  top: 0;

  width: 50%;

  height: 100%;

  background-color: var(--color-main);

  -webkit-transition: all 0.3s ease-out;

  -o-transition: all 0.3s ease-out;

  -moz-transition: all 0.3s ease-out;

  transition: all 0.3s ease-out;
}

.scroll-to-top span:nth-child(2) {
  -webkit-transform: scale(0.6);

  -ms-transform: scale(0.6);

  -moz-transform: scale(0.6);

  -o-transform: scale(0.6);

  transform: scale(0.6);

  top: 55%;
}

.scroll-to-top:hover span:nth-child(1) {
  -webkit-animation: floatingArrow 0.7s ease-out 0s infinite forwards;

  -moz-animation: floatingArrow 0.7s ease-out 0s infinite forwards;

  -o-animation: floatingArrow 0.7s ease-out 0s infinite forwards;

  animation: floatingArrow 0.7s ease-out 0s infinite forwards;
}

.scroll-to-top:hover span:nth-child(2) {
  -webkit-animation: floatingArrow 0.7s ease-out 0.3s infinite forwards;

  -moz-animation: floatingArrow 0.7s ease-out 0.3s infinite forwards;

  -o-animation: floatingArrow 0.7s ease-out 0.3s infinite forwards;

  animation: floatingArrow 0.7s ease-out 0.3s infinite forwards;
}

@keyframes floatingArrow {
  25% {
    opacity: 1;
  }

  33.3% {
    opacity: 0.7;

    -webkit-transform: translateY(-3px);

    -moz-transform: translateY(-3px);

    -o-transform: translateY(-3px);

    transform: translateY(-3px);
  }

  66.6% {
    opacity: 0.4;

    -webkit-transform: translateY(-7px);

    -moz-transform: translateY(-7px);

    -o-transform: translateY(-7px);

    transform: translateY(-7px);
  }

  100% {
    opacity: 0;

    -webkit-transform: translateY(-11px) scale(0.7);

    -moz-transform: translateY(-11px) scale(0.7);

    -o-transform: translateY(-11px) scale(0.7);

    transform: translateY(-11px) scale(0.7);
  }
}

/* trang giới thiệu */
/* thông số */
/* hiệu ứng xóa vòng */
/* Keyframes for continuous Y-axis rotation */
@keyframes continuousRotateY {
  from {
    transform: rotateY(0deg);
  }
  to {
    transform: rotateY(360deg);
  }
}
.image-rotate {
  overflow: hidden;
  perspective: 1000px;
}
/* Apply continuous Y-axis rotation on hover */
.image-rotate:hover img {
  animation: continuousRotateY 2s linear infinite;
}

.counter-item {
  position: relative;
  font-size: 16px;
  text-align: center;
}
.counter-item .number {
  font-size: clamp(30px, 4vw, 51px);
  color: var(--color-main);
  font-weight: 400;
  /* line-height: 69px; */
}
.counter-item p {
  margin-bottom: 0;
}
.counter-item .number {
  font-size: clamp(30px, 4vw, 51px);
  color: var(--color-main);
  font-weight: 400;
  /* line-height: 69px; */
}
.counter-item .name {
  font-size: 18px;
  font-weight: 600;
}

.thong-so {
  background: linear-gradient(180deg, #fff 0%, #fff7f7 100%);
}

.thong-so .row {
  row-gap: 16px;
}

.thong-so .col {
  min-height: 205px;
}

.thong-so .col > .image-rotate {
  width: 76px;
  height: 76px;
  margin-bottom: 14px !important;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(145, 1, 1, 0.12);
  box-shadow: 0 10px 24px rgba(145, 1, 1, 0.08); */
  flex: 0 0 auto;
}

.thong-so .col > .image-rotate img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  display: block;
}

.thong-so .counter-item {
  width: 100%;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.thong-so .counter-item .number {
  margin: 0 0 8px;
  min-height: 58px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  color: var(--color-main);
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1;
  font-weight: 600;
  white-space: nowrap;
}

.thong-so .counter-item .number span:last-child {
  font-size: 1em;
  line-height: 1.2;
  font-weight: 700;
}

.thong-so .counter-item .name {
  max-width: 210px;
  min-height: 44px;
  margin: 0 auto;
  color: #222;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  font-weight: 600;
  text-align: center;
  text-wrap: balance;
  text-transform: capitalize;
}

@media (max-width: 767px) {
  .thong-so .col {
    min-height: 190px;
  }

  .thong-so .col > .image-rotate {
    width: 66px;
    height: 66px;
    margin-bottom: 10px !important;
  }

  .thong-so .col > .image-rotate img {
    width: 48px;
    height: 48px;
  }

  .thong-so .counter-item .number {
    min-height: 46px;
    margin-bottom: 6px;
    font-size: clamp(28px, 10vw, 38px);
  }
}

/* giá trị cốt lõi */
.bg-gray2 {
  background-color: #fafafa;
}
.wrap-giatri .info .name {
  max-width: 210px;
  min-height: 44px;
  color: #222;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.35;
  font-weight: 600;
  text-wrap: balance;
  text-transform: capitalize;
}
.rounded-lg {
  border-radius: 10px;
}

/* Lịch sử hình thành (History Timeline) */
.wrap-history {
  overflow-x: hidden;
  max-width: 100%;
}
.wrap-history .slider-nav {
  position: relative;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 18px;
  margin-bottom: -18px;
}
.wrap-history .slider-nav .slick-list {
  overflow: hidden;
  position: relative;
  z-index: 2;
  padding-bottom: 24px !important;
  margin-bottom: -24px;
}
.wrap-history .slider-nav:after {
  display: none;
}
.wrap-history .slider-for {
  width: 100%;
  overflow: hidden;
}
.history-item {
  padding: 0 10px;
}
.year-item {
  font-size: 16px;
  position: relative;
  color: #b9b9b9;
  padding-bottom: 15px;
  z-index: 5;
  text-align: center;
  cursor: pointer;
  overflow: visible;
}
.year-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 22px;
  font-weight: 700;
}
/* Đường kẻ timeline nằm chính giữa tâm chấm tròn */
.year-item::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #c6c6c6;
  z-index: 1;
}
/* Chấm tròn xám trên đường kẻ */
.year-item::before {
  content: "";
  position: absolute;
  bottom: 0;
  margin: auto;
  right: 0;
  left: 0;
  width: 12px;
  height: 12px;
  border-radius: 100%;
  background-color: #d9d9d9;
  z-index: 10;
}
.year-item.slick-current {
  color: var(--color-main, #d70018);
}
/* Chấm đỏ active và hiệu ứng gợn sóng tỏa ra từ tâm chấm đỏ */
.year-item.slick-current::before {
  background-color: var(--color-main, #d70018);
  animation: rippleDot 1.6s infinite ease-out;
}
.history-item .name {
  font-size: 21px;
  margin-bottom: 15px;
  font-weight: 700;
}
@keyframes rippleDot {
  0% {
    box-shadow: 0 0 0 0 rgba(215, 0, 24, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(215, 0, 24, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(215, 0, 24, 0);
  }
}

@media (max-width: 767px) {
  html,
  body,
  .wrap-home {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  .wrap-history,
  .wrap-history .wrap-content,
  .wrap-history .container,
  .wrap-history .slider,
  .wrap-history .slick-list {
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
  }

  .wrap-history .slider-nav {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-x: hidden;
    overflow-y: visible;
  }

  .wrap-history .slider-nav .slick-list {
    overflow-x: hidden;
    overflow-y: visible;
  }

  .wrap-history .year-item {
    padding-left: 4px;
    padding-right: 4px;
  }

  .wrap-history .year-item::after {
    left: 50%;
    width: 100%;
  }

  .wrap-history .year-item:last-child::after {
    width: 50%;
  }
}
/*  */
.brand-item {
  display: block;
  width: 100%;
}
.wrap-doitac .brand-item {
  width: calc(100% / 6 - 0.5rem);
}
.brand-item .image {
  border-radius: 4px;
  overflow: hidden;
  border: 0.85px solid #dfdfdf;
  background: #fff;
  padding: 5px;
  margin-bottom: 8px;
}
.brand-item .image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Mobile Phone Toolbar (phone.php) */
.toolbar2 {
  width: 100%;
  bottom: 0px;
  position: fixed;
  z-index: 500;
  left: 0px;
  -webkit-filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.75));
  -moz-filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.75));
  -ms-filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.75));
  -o-filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.75));
  filter: drop-shadow(1px 1px 4px rgba(0, 0, 0, 0.75));
}
.toolbar2.is-active .list-phone {
  display: block;
  -webkit-animation: quickShow 0.2s cubic-bezier(0.66, 0.45, 0.76, 1.53)
    forwards;
  animation: quickShow 0.2s cubic-bezier(0.66, 0.45, 0.76, 1.53) forwards;
}
.toolbar2 .list-phone {
  position: absolute;
  bottom: 100%;
  left: 30px;
  opacity: 0;
  transform: scale(0);
  transform-origin: 50% 100%;
  display: none;
  width: 230px;
}
.toolbar2 .list-phone a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  max-width: 240px;
  padding: 10px 20px;
  margin: 10px 0;
  border-radius: 50px;
  padding-right: 30px;
  text-decoration: none;
}
.toolbar2 .list-phone svg {
  max-width: 30px;
  max-height: 30px;
}
.toolbar2 .list-phone span {
  display: block;
  width: calc(100% - 40px);
  color: #333;
  font-weight: 700;
}
.toolbar2 .phone {
  position: relative;
  width: 50px;
  height: 50px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-main, #d70018);
  border-radius: 50%;
  margin: 0 0px -25px 30px;
  transition: transform 0.2s ease-in-out;
  cursor: pointer;
}
.toolbar2 .phone a {
  color: #333;
  display: block;
  position: relative;
}
.toolbar2 .phone a:before,
.toolbar2 .phone a:after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(135deg);
  width: 30px;
  height: 3px;
  border-radius: 2rem;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}
.toolbar2 .phone a:after {
  transform: translate(-50%, -50%) rotate(45deg);
}
.toolbar2 .phone svg {
  max-width: 27px;
  max-height: 27px;
  display: block;
  position: relative;
  fill: #fff;
}
.toolbar2.is-active .phone {
  transform: rotate(-180deg);
}
.toolbar2.is-active .phone svg {
  opacity: 0;
}
.toolbar2.is-active .phone a:before,
.toolbar2.is-active .phone a:after {
  opacity: 1;
}
.toolbar2 ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
  margin: 0px;
  --size: 33px;
  -webkit-mask: radial-gradient(33px at 55px 0px, #0000 99%, #fff 101%) 100%;
  mask: radial-gradient(33px at 55px 0px, #0000 99%, #fff 101%) 100%;
  background: var(--color-main, #d70018);
  padding: 10px 0;
  padding-left: 100px;
  border-radius: 10px 10px 0px 0px;
}
.toolbar2 ul li {
  text-align: center;
  width: 25%;
  line-height: 1;
}
.toolbar2 ul li a {
  display: block;
  width: 100%;
  font-size: 27px;
  color: #fff;
}
.toolbar2 ul li .icon {
  position: relative;
  margin: 0 auto;
  text-align: center;
}
.toolbar2 ul li a span {
  display: none;
  font-weight: 400;
  font-size: 11px;
  margin-top: 5px;
  color: #333;
  text-transform: capitalize;
}
.toolbar2 ul li a img,
.toolbar2 ul li svg {
  max-height: 30px;
  fill: #fff;
  width: 100%;
}
.toolbar2 .phone svg {
  animation: tada 1.2s infinite;
  fill: #fff;
}

@keyframes tada {
  0% {
    transform: scaleX(1);
  }
  10%,
  20% {
    transform: scale3d(0.9, 0.9, 0.9) rotate(-3deg);
  }
  30%,
  50%,
  70%,
  90% {
    transform: scale3d(1.1, 1.1, 1.1) rotate(3deg);
  }
  40%,
  60%,
  80% {
    transform: scale3d(1.1, 1.1, 1.1) rotate(-3deg);
  }
  100% {
    transform: scaleX(1);
  }
}

@keyframes quickShow {
  0% {
    opacity: 0;
    transform: scale(0);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* Ẩn hoàn toàn wrap-frame, wrapframe, #social, #hotline, .btn-frame trên giao diện di động (< 992px) */
@media (max-width: 991px) {
  .wrap-frame,
  .wrapframe,
  #social,
  #hotline,
  .btn-frame {
    display: none !important;
  }
}
@media (max-width: 1024px) {
  .chitiet-gioithieu {
    position: relative;
    bottom: unset;
  }
}

/* fix menu mobile giữ lại */
@media (max-width: 1024px) {
  .wrap-menu-res.posr {
    display: block !important;
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }

  .wrap-menu-res.posr.fix_head {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
}

@media (max-width: 767.98px) {
  body {
    padding-top: 85px;
  }

  .wrap-menu-res.posr {
    display: block !important;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
  }
}

/* footer */
@media (max-width: 997.98px) {
  #bg-footer {
    padding-bottom: 60px;
  }
}

/* css hiệu ứng hotline nhâp nháy */
.header-info > a {
  display: inline-block;
  color: #e60000;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  animation: hotline-blink 0.8s steps(1, end) infinite;
}

@keyframes hotline-blink {
  0%,
  100% {
    color: #e60000;
    text-shadow: none;
  }

  50% {
    color: #ffcc00;
  }
}

/* set height cho title tin tức */
.news-info .post--name {
  height: 50px;
}

/* fix */
.newsletter-button .btn:hover {
  color: var(--color-yellow);
}

/* fix phần dự án */
@media (max-width: 769px) {
  [class^="grid-"] {
    --cols: 2;
  }
}
/* @media (max-width: 575px) {
  [class^="grid-"] {
    --cols: 1;
  }
} */
