.page-home .hbanner-img::before {
  display: none;
}
/*Mega Menu*/
.menu-item.mega {
  position: static !important;
}

.menu-mega {
  top: 13.75rem;
  background-color: transparent !important;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  clip-path: none !important;
  /* pointer-events: none; */
}
.menu-mega .container .menu-mega-list {
  background-color: #ffffff !important;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08) !important;
  padding: 2.5rem !important;
}
.menu-item.mega:hover > .menu-mega {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  pointer-events: auto;
}

/* Hide redundant icons in mega menu */
.menu-item.mega > .menu-link i,
.menu-mega i,
.menu-mega-item i {
  display: none !important;
}

.menu-mega-list {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 0;
}

.menu-mega-list:has(.menu-mega-item:nth-child(4)) {
  grid-template-columns: repeat(4, 1fr);
}
.menu-mega-list:has(.menu-mega-item:nth-child(5)) {
  grid-template-columns: repeat(5, 1fr);
}

.menu-mega-item {
  width: 100% !important;
  padding: 0;
  grid-row: auto !important;
}
.menu-mega .menu-mega-item > .menu-list::before {
  display: none;
}
.menu-mega-item .mega-title {
  color: #1e427e;
  margin-bottom: 1.25rem;
  display: block;
  letter-spacing: 1.2px;
  position: relative;
  padding: 0 !important;
  height: auto !important;
  margin-bottom: 0;
  font-size: 1.7rem;
}

.menu-mega-item .menu-list {
  display: block !important;
  position: static !important;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: none !important;
  padding: 0 !important;
  background: transparent !important;
  transform: none !important;
  min-width: unset !important;
  max-width: unset !important;
}

.menu-mega-item .menu-list > .menu-item:not(:last-child) {
  border-bottom: none !important;
}

.menu-mega-item .menu-list > .menu-item > .menu-link {
  padding: 0.8rem 1.2rem;
  color: #3f3f46;
  font-weight: 400;
  justify-content: flex-start;
  flex-direction: row;
  white-space: normal;
  height: auto;
  transition: color 0.2s ease;
}
.menu-mega-item .menu-list > .menu-item > .menu-link:hover {
  background-color: var(--color-orange);
  color: #fff !important;
}
.menu-mega-item .menu-list > .menu-item > .menu-link .txt {
  justify-content: flex-start !important;
  gap: 8px;
}

.menu-mega-item .menu-list > .menu-item::before {
  display: none !important;
}

.menu-mega-item .menu-link i {
  display: none !important;
}

/* search */
.popup-custom-full.popup-recently {
  position: fixed;
  width: 100%;
  display: none;
  z-index: 99999999;
  left: 0;
  height: calc(100% - 9.65rem);
  bottom: 0;
  transition: all 0.3s;
}
.popup-custom-full.popup-recently.show {
  display: block;
}
.popup-custom-full .bg_overlay_popup {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #00000040;
  width: 100%;
  height: 100vh;
  z-index: 999999999;
  cursor: pointer;
}
.popup-recently .title-small {
  font-size: clamp(1.25rem, calc(0.9rem + 1.25vw), 2rem);
  font-weight: 500;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  position: relative;
}
.popup-recently .title-small::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 8rem;
  height: 2px;
  background-color: var(--color-orange);
}
.popup-custom-full.popup-recently .popup-content {
  position: absolute;
  z-index: 9999999999;
  background-color: #fff;
  border-radius: 0.4rem;
  top: 50%;
  left: 50%;
  max-width: 79rem;
  width: 100%;
  padding: 2rem;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  height: auto;
}
.recently-viewed-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
.recently-viewed-wrapper a {
  display: flex;
  padding-left: 2.5rem;
  position: relative;
}
.recently-viewed-wrapper a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1.5rem;
  height: 1.5rem;
  background-image: url(/wp-content/uploads/2026/02/search-1.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.recently-viewed-wrapper a:hover {
  color: var(--color-orange);
}
.popup-custom-full.popup-recently .popup-content .close-search {
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}
.popup-custom-full.popup-recently .popup-content .close-search:hover svg path {
  stroke: var(--color-orange);
}
.list-key {
  margin-top: 1.5rem;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  row-gap: 1rem;
}

/* tab danh mục */
.sec-color .title {
  margin-bottom: 3rem;
}
.sec-color .title h2 {
  --f-sz: clamp(3rem, calc(0rem + 3.75vw), 4rem) !important;
  color: var(--color-orange);
  font-size: var(--f-sz);
  font-weight: 700;
  line-height: 130%;
  font-family: var(--font-pri);
  text-wrap: pretty;
  margin-bottom: 1.5rem;
}

.sec-color .tab-panel {
  display: flex;
  justify-content: center;
  width: 100%;
}

.sec-color .tab-panel ul {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  max-width: 100%;
  overflow-x: auto;
  flex-wrap: nowrap;
  padding-bottom: 2rem;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  justify-content: flex-start;
}

.sec-color .tab-panel ul::after,
.sec-color .tab-panel ul::before {
  display: none;
}
.sec-color .tab-panel ul::-webkit-scrollbar {
  height: 4px;
}
.sec-color .tab-panel ul::-webkit-scrollbar-thumb {
  background: var(--color-orange);
  border-radius: 10px;
}
.sec-color .tab-panel .tab-item {
  flex: 0 0 auto;
  width: calc((100% - (6 * 2rem)) / 8.1);
  min-width: 10rem;
}
.sec-color .tab-panel .tab-item .icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.sec-color .tab-panel .tab-item .icon-box p {
  margin-bottom: 1rem;
}
.sec-color .tab-panel .tab-item.active .icon-box p {
  color: var(--color-orange);
}
.sec-color .tab-panel .tab-item .icon-box .img {
  width: 100%;
  aspect-ratio: 1/1;
  height: 100%;
  flex-shrink: 0;
  border-radius: 99rem;
  padding: 2px;
  border: 1px solid transparent;
  overflow: hidden;
  padding: 5px;
}
.sec-color .tab-panel .tab-item.active .icon-box .img {
  border-color: var(--color-orange);
}
.sec-color .tab-panel .tab-item .icon-box .img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 99rem;
}
.tab-content .tab-panel {
  display: none;
  padding: 20px 0;
  animation: fadeIn 0.4s ease;
}

.tab-content .tab-panel.active {
  display: block;
}

@media (max-width: 767.98px) {
  .sec-color .tab-panel ul {
    flex-wrap: wrap;
    justify-content: center;
    overflow: visible;
    gap: 1rem;
    row-gap: 2rem;
  }
  .sec-color .tab-panel .tab-item {
    width: calc((100% - (3 * 1rem)) / 4.1);
    min-width: unset;
  }
  .sec-color .tab-panel .tab-item .icon-box .img {
    padding: 3px;
  }
  .single-post .side-open{
      display: none !important;
  }
  .single-post #ftwp-container.ftwp-fixed-to-post.ftwp-middle-right #ftwp-trigger{
      top: 15rem !important;
      bottom: auto !important;
  }
}

/** new category */
.new-category .swiper-pagination {
  position: static !important;
  margin-top: 3rem !important;
}
.news-title {
  margin-bottom: 3rem;
}
.tabs-category {
  position: relative;
}
.tabs-category .swiper-slide {
  height: auto;
}
.tabs-category .swiper-slide a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.5rem 2rem;
  border-radius: 0.4rem;
  border: 0.1rem solid #f2f0ed;
  background-color: #fff;
  column-gap: 1rem;
  height: 100%;
}

.tabs-category .swiper-slide a:hover {
  border-color: var(--color-orange);
  background-color: var(--color-orange);
}
.tabs-category .swiper-slide a span {
  --f-sz: clamp(1.6rem, calc(1.1rem + 0.75vw), 1.8rem);
  font-size: var(--f-sz);
  font-weight: 700;
  line-height: normal;
}
.tabs-category .swiper-slide a:hover span {
  color: #fff;
}
.tabs-category .swiper-slide a img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.4rem;
  object-fit: cover;
}
.tabs-category .swiper-button {
  width: 3.5rem;
  height: 3.5rem;
}
.tabs-category .swiper-button.swiper-prev {
  left: -1.75rem;
}
.tabs-category .swiper-button.swiper-next {
  right: -1.75rem;
}

#ftwp-container .ftwp-anchor:before {
  content: none !important;
}
.single .mona-content a,
.single .mona-content a span,
.single .mona-content a b {
  color: var(--color-orange) !important;
}
.single .mona-content a:hover,
.single .mona-content a:hover span,
.single .mona-content a:hover b {
  color: #1e427e;
  text-decoration: underline;
}
.single .mona-content #ftwp-container.ftwp-wrap span {
  color: #3f3f46 !important;
  background-color: transparent !important;
}
.single .mona-content #ftwp-container.ftwp-wrap span:hover {
  color: var(--color-orange) !important;
}
.single .wp-caption img {
  margin-bottom: 0;
}
@media (max-width: 767.98px) {
  .tabs-category .swiper-slide a {
    padding: 1rem;
  }
}

/** Thông tin danh mục sản phẩm */
.page-product .pdinfos-tab__control {
  background-color: #fff;
}
.page-product .pdinfos-tab__control .pdinfos-tab__btn {
  color: #3f3f46;
  font-weight: 500;
  font-size: 1.6rem;
  position: relative;
  background-color: #fff;
  transition: all 0.3s ease;
}
.page-product .pdinfos-tab__control .pdinfos-tab__btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-orange);
  opacity: 0;
  transition: all 0.3s ease;
}
.page-product .pdinfos-tab__control .pdinfos-tab__btn.active::after {
  opacity: 1;
}
.page-product .pdinfos-tab__control .pdinfos-tab__btn:hover,
.page-product .pdinfos-tab__control .pdinfos-tab__btn.active {
  color: var(--color-orange);
}
.page-product .sec-pdinfos .pdinfos-contents h2,
.page-product .sec-pdinfos .pdinfos-contents h2 span,
.page-product .sec-pdinfos .pdinfos-contents h2 b,
.page-product .sec-pdinfos .pdinfos-contents h2 strong {
  text-align: center;
  color: var(--color-orange) !important;
  --f-sz: clamp(3rem, calc(0rem + 3.75vw), 4rem);
  font-size: var(--f-sz) !important;
  margin-top: 0 !important;
  margin-bottom: 3rem !important;
}
.page-product .abintro-des-in .mona-content p,
.page-product .abintro-des-in .mona-content span,
.page-product .abintro-des-in .mona-content b,
.page-product .abintro-des-in .mona-content strong,
.page-product .abintro-des-in .mona-content div,
.page-product .abintro-des-in .mona-content li {
  color: #1e427e;
}
.page-product .sec-products .products-head .mona-content,
.page-product .sec-products .products-head .mona-content p,
.page-product .sec-products .products-head .mona-content span,
.page-product .sec-products .products-head .mona-content b,
.page-product .sec-products .products-head .mona-content strong,
.page-product .sec-products .products-head .mona-content div,
.page-product .sec-products .products-head .mona-content li {
    --f-sz: clamp(1.7rem, calc(1.1rem + 0.75vw), 1.5rem);
    font-size: var(--f-sz) !important;
    color: #1e427e;
}
.page-product .mona-content span{
    font-weight: inherit !important;
}
.dmca-badge{
    margin-top: 1rem;
    display: block;
    height: auto;
    width: 8rem;
}
@media (max-width: 767.98px) {
  .page-product .pdinfos-tab__btn {
    padding: 1rem;
  }
  .sec-color .tab-panel .tab-item .icon-box p{
      font-size: 1.3rem;
  }
}
.page-product .pdguide-control__btn.active{
    background-color: transparent;
    color: #000;
    border-color: transparent;
}
