body {
  font-size: 14px;
  padding: 0 !important;
  /*height: 100vh;*/
  /*overflow: hidden;*/
}

.scroll-to-top { position: fixed; bottom: 20px; right: 10px; width: 50px; height: 50px; background: #FFC107; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 15px rgba(0,0,0,.15); z-index: 998; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all .3s ease; border: 2px solid #f1f1f1; }
.scroll-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { background: var(--primary-color, #ff6b00); border-color: var(--primary-color, #ff6b00); transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.2); }
.scroll-to-top i { font-size: 22px; color: #fff; transition: color .3s ease; justify-content: center;display: flex;line-height: 2;}
.scroll-to-top:hover i { color: #fff; }
@media (max-width: 767px) {
  .scroll-to-top { bottom: 90px; right: 10px; width: 45px; height: 45px; z-index: 9999;}
  .scroll-to-top i { font-size: 20px; }
}

/* Grid */
@media (min-width: 576px) {
  .container,
  .container-sm {
    max-width: 100%;
  }
}
@media (min-width: 768px) {
  .container,
  .container-sm,
  .container-md {
    max-width: 100%;
  }
}
@media (min-width: 992px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg {
    max-width: 100%;
  }
  .col-lg-60 {
    flex: 0 0 60%;
    max-width: 60%;
  }
  .col-lg-80 {
    flex: 0 0 80%;
    max-width: 80%;
  }
}
@media (min-width: 1200px) {
  .col-xl-60 {
    flex: 0 0 60%;
    max-width: 60%;
  }
  .col-xl-80 {
    flex: 0 0 80%;
    max-width: 80%;
  }
  .col-xl-15 {
    flex: 0 0 20%;
    max-width: 20%;
  }
  .col-xl-30 {
    flex: 0 0 40%;
    max-width: 40%;
  }
}
@media (min-width: 1200px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1200px;
  }
}
@media (min-width: 1440px) {
  .container,
  .container-sm,
  .container-md,
  .container-lg,
  .container-xl {
    max-width: 1200px;
  }
}
.container,
.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12,
.col,
.col-auto,
.col-sm-1,
.col-sm-2,
.col-sm-3,
.col-sm-4,
.col-sm-5,
.col-sm-6,
.col-sm-7,
.col-sm-8,
.col-sm-9,
.col-sm-10,
.col-sm-11,
.col-sm-12,
.col-sm,
.col-sm-auto,
.col-md-1,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-11,
.col-md-12,
.col-md,
.col-md-auto,
.col-lg-1,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg,
.col-lg-auto,
.col-xl-1,
.col-xl-2,
.col-xl-3,
.col-xl-4,
.col-xl-5,
.col-xl-6,
.col-xl-7,
.col-xl-8,
.col-xl-9,
.col-xl-10,
.col-xl-11,
.col-xl-12,
.col-xl,
.col-xl-auto,
.col-lg-15,
.col-lg-20,
.col-lg-80,
.col-lg-60 {
  padding-right: 10px;
  padding-left: 10px;
}
.row {
  margin-left: -10px;
  margin-right: -10px;
}
.card {
  border-radius: 0.25rem;
  padding: 15px;
}
.pos-relative.embed-responsive[class*=embed-responsive-] iframe,
.pos-relative.embed-responsive[class*=embed-responsive-] img {
  --image-scale: 1;
  position: absolute;
  top: var(--img-top, 50%);
  left: var(--img-left, 50%);
  transform: translate(-50%, -50%) scale(var(--image-scale));
  object-fit: contain;
  max-width: 100%;
  max-height: 100%;
  min-width: 1px;
  min-height: 1px;
}
.pos-relative.embed-responsive[class*=embed-responsive-] img {
  width: auto;
  height: auto;
}
.pos-relative.embed-responsive[class*=embed-responsive-] img.product-thumbnail__img {
  transition: all 0.3s ease;
}
.pos-relative.embed-responsive[class*=embed-responsive-] img.product-thumbnail__img--primary {
  z-index: 1;
  opacity: 1;
}
.pos-relative.embed-responsive[class*=embed-responsive-] img.product-thumbnail__img--secondary {
  opacity: 0;
  z-index: -1;
}
.item_product_main:hover .pos-relative.embed-responsive[class*=embed-responsive-] img.product-thumbnail__img {
  top: calc(var(--img-top, 50%) - 12px);
}
.item_product_main:hover .pos-relative.embed-responsive[class*=embed-responsive-] img.product-thumbnail__img--primary {
  opacity: 0;
  z-index: -1;
}
.item_product_main:hover .pos-relative.embed-responsive[class*=embed-responsive-] img.product-thumbnail__img--secondary {
  opacity: 1;
  z-index: 1;
}

.pos-relative.embed-responsive[class*=embed-responsive-] iframe {
  z-index: 99;
}
.btn {
  border-radius: 4px;
}
body {
  color: var(--text-color);
  background: #fff;
  overflow: hidden;
  overflow-y: auto;
  max-width: 100%;
  font-family: 'Lato'
  , sans-serif;
}
.bi {
  fill: currentColor;
}
.icon {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}
.form-control:focus,
a,
button,
.page-link:focus,
.btn,
.btn:focus {
  outline: none !important;
  box-shadow: none;
}
.form-control:focus {
  border-color: var(--secondary-color);
}
a {
  color: var(--text-color);
}
a:focus {
  outline: none;
}
a:hover {
  text-decoration: none;
  color: var(--text-color);
}
img {
  max-width: 100%;
}


/*
   iframe {
   max-width: 100%;
   }
*/
.hidden {
  display: none !important;
}
.show:not(.hidden) {
  display: block;
}
.object-contain {
  object-fit: contain;
}
.align-vertical {
  top: 50% !important;
  transform: translateY(-50%) !important;
}
.align-center {
  transform: translate(-50%, -50%) !important;
  top: 50% !important;
  left: 50% !important;
}
.close {
  color: #252525;
}
.btn-action {
  background-color: var(--secondary-color);
  border: 1px solid var(--secondary-color);
}
.btn-action:hover {
  filter: brightness(1.1);
}
a.link {
  text-decoration: none;
  color: var(--text-color);
  cursor: pointer;
}
a.link:hover {
  color: var(--primary-color);
  filter: brightness(1.2);
  text-decoration: none;
}
.hover-primary:hover {
  color: var(--primary-color);
}
.title_page {
  font-size: 24px;
  padding: 0;
  margin: 0;
}
.title_page,
.title-head,
.title_page a {
  font-weight: 400;
  color: var(--text-color)
}
.title-head {
  font-size: 1rem;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.row-grid {
  --col: 12;
  display: grid;
  grid-template-columns: repeat(var(--col), minmax(0, 1fr));
  grid-gap: 15px;
}
.scroll::-webkit-scrollbar {
  width: 3px;
}
.scroll::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  outline: 1px solid var(--primary-color);
}
/** lazyload **/
.lazyload:not(.loaded) {
  background: #ebebeb;
}
.lazyload.loaded {
  background: transparent;
}
.modal {
  top: 0 !important;
}
/**slick **/
.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}
.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}
.slick-list:focus {
  outline: none;
}
.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}
.slick-track {
  position: relative;
  top: 0 !important;
  left: 0;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}
.slick-track:after {
  clear: both;
}
.slick-loading .slick-track {
  visibility: hidden;
}
.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}
[dir='rtl'] .slick-slide {
  float: right;
}
.slick-slide img {
  display: block;
}
.slick-slide.slick-loading img {
  display: none;
}
.slick-slide.dragging img {
  pointer-events: none;
}
.slick-initialized .slick-slide {
  display: block;
}
.slick-loading .slick-slide {
  visibility: hidden;
}
.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
  display: none;
}
.slick-arrow {
  --size: 44px;
  top: 50%;
  font-size: 0;
  line-height: 0;
  position: absolute;
  display: block;
  width: var(--size);
  height: var(--size);
  padding: 0;
  -webkit-transform: translate(0, -50%);
  -ms-transform: translate(0, -50%);
  transform: translate(0, -50%);
  cursor: pointer;
  color: transparent;
  border: none;
  outline: none;
  border: 1px solid #ebebeb;
  background: #ebebeb;
  line-height: var(--size);
  text-align: center;
  z-index: 1;
  overflow: hidden;
  opacity: 0.7;
  border-radius: 100%;
}
.slick-arrow:hover,
.slick-arrow:focus {
  outline: none;
}
.slick-arrow.slick-disabled {
  cursor: default;
  display: none !important;
}
.slick-arrow:not(.slick-disabled):hover {
  opacity: 1;
  box-shadow: 1px 2px 10px -1px rgba(0, 0, 0, 0.3);
  background: #fff;
  color: #333;
}
.slick-arrow.slick-prev:before,
.slick-arrow.slick-next:before {
  font-family: "Font Awesome\ 5 Free";
  background: transparent;
  font-weight: 900;
  height: var(--size);
  width: var(--size);
  font-size: 18px;
  color: #333;
  display: block;
  -webkit-transition: all ease 0.3s;
  -moz-transition: all ease 0.3s;
  -ms-transition: all ease 0.3s;
  -o-transition: all ease 0.3s;
  transition: all ease 0.3s;
}
.slick-arrow.slick-prev {
  left: 0;
}
.slick-arrow.slick-prev:before {
  content: "\f104";
}
.slick-arrow.slick-next {
  right: 0;
}
.slick-arrow.slick-next:before {
  content: "\f105";
}
.slick-dots {
  text-align: center;
}
.slick-dots li {
  display: inline-block;
}
.slick-dots li button {
  border-radius: 0;
  height: 10px;
  width: 10px;
  border: 1px solid #e5e5e5;
  background-color: #fff;
  padding: 0;
  font-size: 0;
}
.slick-dots li.slick-active button {
  border-color: var(--primary-color);
  background-color: var(--primary-color);
}
.slick-dots {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: 100px;
  padding: 0;
  border-radius: 15px;
  height: 24px;
  align-items: center;
  display: flex !important;
  justify-content: center;
}
.slick-dots li button {
  height: 2px;
  width: 16px;
  border: 1px solid #fff;
  background: #fff;
  border-radius: 0;
  margin: 0 3px;
  opacity: 0.5;
}
.slick-dots li button:hover {
  opacity: 1;
}
.slick-dots li.slick-active button {
  opacity: 1;
}
/**Header**/
.toggle-nav,
.icon-bar {
  width: 24px;
  flex-direction: column;
  height: 20px;
  justify-content: space-between;
  border-radius: 3px;
}
.toggle-nav .bar,
.icon-bar .bar {
  height: 3px;
  background: #fff;
  width: 24px;
  border-radius: 1px;
}
.icon-bar {
  cursor: auto !important;
}
.icon-bar .bar {
  height: 2px;
}
.icon-bar .bar:nth-child(2) {
  width: 20px;
}
.mid-header {
  background: var(--header-background);
  color: var(--header-color);
  padding: 10px 0;
}
.mid-header .toggle-nav {
  width: 24px;
  flex-direction: column;
  height: 21px;
  justify-content: space-between;
  border-radius: 3px;
}
.mid-header .toggle-nav .bar {
  height: 3px;
  width: 24px;
  border-radius: 3px;
}
.mid-header .logo-wrapper {
  max-width: 248px;
  display: block;
}
@media (max-width: 992px) {
  .mid-header .logo-wrapper {
    margin: auto;
  }
}
.header-right {
  font-size: 14px;
  justify-content: flex-end;
  gap: 2px;
}
.header-right .fas {
  font-size: 24px;
}
.header-right a {
  color: var(--header-color);
}
.header-right a:hover {
  text-decoration: none;
  color: var(--secondary-color);
}
.cartgroup {
  flex: 0 0 110px;
}
.mini-cart .no-item {
  text-align: center;
}
.mini-cart .no-item p {
  margin: 0 auto;
}
@media (min-width: 768px) {
  .mini-cart > a {
    display: flex;
    align-items: center;
    padding: 8px 5px;
    border: 2px solid var(--subheader-background);
    border-radius: 6px;
    text-decoration: none;
  }
  .mini-cart > a:hover {
    color: var(--subheader-background);
    background: var(--subheader-color);
    border-color: var(--subheader-background);
  }
}
.mini-cart > a .count_item {
  display: block;
  background: var(--secondary-color);
  border-radius: 4px;
  font-size: 12px;
  color: var(--primary-color);
  position: absolute;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  top: 4px;
  left: 20px;
}
@media (max-width: 575px) {
  .mini-cart > a .count_item {
    font-size: 12px;
    top: -5px;
  }
}
/**search bar header **/
#search-header .custom-input-group {
  z-index: 1000;
}
#search-header .custom-input-group .input-group-field {
  background: #f1f1f1;
  padding-right: 58px;
}
@media (max-width: 991px) {
  #search-header .custom-input-group .input-group-field {
    height: 35px;
    font-size: 12px;
  }
}
@media (max-width: 991px) {
  #search-header {
    order: 1;
    margin-top: 10px;
    padding-left: 15px;
  }
}
@media (max-width: 375px) {
  #search-header .custom-input-group .input-group-field {
    padding-right: 45px;
  }
  #search-header .btn {
    padding: 4px 10px;
  }
}
#search-header .search-dropdow .search__list {
  display: block !important;
  white-space: nowrap;
  overflow: auto;
}
#search-header .search-dropdow .search__list > li {
  display: inline-block;
}
.search-overlay {
  position: fixed;
  z-index: -1;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100vh;
  top: 0 !important;
  left: 0;
  opacity: 0;
  visibility: hidden;
}
.search-overlay.active {
  opacity: 1;
  z-index: 999;
  visibility: visible;
}
.search__list a {
  font-size: 12px;
  color: #fff;
}
.search__list a:hover {
  text-decoration: underline;
}
/** Subheader **/
.subheader {
  --subheader-padding: 0;
  background: var(--subheader-background);
  color: var(--subheader-color);
  display: flex;
  align-items: center;
}
.subheader .toogle-nav-wrapper {
  font-size: 15px;
  padding: 9px 0;
  color: var(--subheader-background);
  background: var(--subheader-color);
  font-weight: 500;

  /* Tích hợp border bottom và left */
  border: none;
  /* Xóa tất cả border */
  border-bottom: 1px solid #e6e8f0;
  border-left: 1px solid #e6e8f0;
  box-shadow: -2px 2px 4px rgba(0, 0, 0, 0.06);
  /* Shadow chỉ ở bottom-left */

  /* Transition cho hover effect */
  transition: box-shadow 0.2s ease;
}

/* Hover effect */
.subheader .toogle-nav-wrapper:hover {
  box-shadow: -4px 4px 8px rgba(0, 0, 0, 0.12);
}

.subheader .navigation-wrapper {
  font-weight: 400;
}
.subheader .toogle-nav-wrapper .icon-bar {
  width: 24px;
  height: 24px;
  margin-left: 10px;
  border: 2px solid #fff;
  border-radius: 2px;
  vertical-align: top;
}
.subheader .toogle-nav-wrapper .icon-bar .bar {
  background: var(--subheader-background);
  width: 14px;
  border-radius: 2px;
  margin-left: 3px;
}
.subheader .toogle-nav-wrapper .icon-bar .bar:first-of-type {
  margin-top: 4px;
}
.subheader .toogle-nav-wrapper .icon-bar .bar:last-of-type {
  margin-bottom: 4px;
}
@media (max-width: 1023px) {
  .subheader {
    display: none;
  }
}
.subheader .container {
  display: grid;
  grid-template-columns: calc(25% - 15px) 1fr;
  justify-content: space-between;
  align-items: center;
  // grid-gap: 10px;
}
@media (max-width: 1024px) {
  .subheader .container {
    grid-template-columns: calc(25% - 24px) 1fr;
  }
}
/* ===== Header policies nav – gọn khoảng cách & đẹp hơn ===== */

.shop-policises {
  display: flex;
  align-items: center;
  gap: 20px;
  /* khoảng cách giữa các mục */
  padding: 0 5px 5px 25px;

  /* Áp dụng border bottom và right */
  border: none;
  /* Xóa tất cả border */
  border-bottom: 1px solid #e6e8f0;
  border-right: 1px solid #e6e8f0;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.06);
  /* Shadow chỉ ở bottom-right */

  /* Background để nổi bật */
  background: #fff;
}

/* bỏ margin cũ giữa các mục nếu có */
.shop-policises li + * {
  margin-left: 0 !important;
}

.shop-policises li {
  display: flex;
  align-items: center;
  position: relative;
}

/* --- NGĂN & NỚI KHOẢNG CÁCH GIỮA CÁC CHỨC NĂNG --- */
.shop-policises li + li {
  margin-left: 16px;
  /* nới ra một chút */
  padding-left: 16px;
  /* chừa chỗ cho vạch ngăn */
}

/* Icon tròn gọn + gần chữ hơn */
.shop-policises li > div {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  border-radius: 999px;
  background: #f6f8ff;
  box-shadow: inset 0 0 0 1px #e6edf7;
  transition: transform 0.18s ease
  , box-shadow 0.18s ease
  , background 0.18s ease;
}
.shop-policises li > div img,
.shop-policises li > div svg {
  max-width: 100%;
  max-height: 100%;
}

/* Link chữ – gọn chiều cao & padding */
.shop-policises .link {
  display: inline-flex;
  align-items: center;
  height: 36px;
  line-height: 36px;
  padding: 0 5px;
  font-size: 15px;
  border-radius: 10px;
  transition: color 0.18s ease
  , background 0.18s ease
  , box-shadow 0.18s ease;
}

/* Hover: nhẹ nhàng, icon nổi lên chút */
@media (min-width: 1024px) {
  .shop-policises li:hover > div {
    transform: scale(1.06);
    background: #eef3ff;
    box-shadow: inset 0 0 0 1px #cfe0ff;
  }
  .shop-policises li:hover .link {
    color: var(--primary-color);
    background: rgba(34, 102, 234, 0.06);
  }
}

/* Trạng thái active (tuỳ dùng): thêm .is-active cho <li> */
.shop-policises li.is-active .link {
  color: #fff;
  background: var(--primary-color);
}
.shop-policises li.is-active > div {
  background: #dfe8ff;
  box-shadow: inset 0 0 0 1px #bcd0ff;
}

/* Mobile: icon & chữ nhỏ hơn, vạch ngăn ngắn lại để đỡ rối */
@media (max-width: 992px) {
  .shop-policises {
    gap: 10px;
    padding: 4px 6px;
  }
  .shop-policises li + li {
    margin-left: 12px;
    padding-left: 12px;
  }
  .shop-policises li + li::before {
    height: 16px;
  }
  .shop-policises li > div {
    width: 22px;
    height: 22px;
    margin-right: 6px;
  }
  .shop-policises .link {
    height: 32px;
    line-height: 32px;
    padding: 0 8px;
    font-size: 14px;
  }
}

.right-banner {
  display: grid;
  grid-row-gap: 10px;
  margin-left: 5px;
}
.product-badge {
  max-height: 16px;
  margin-top: 0.5rem;
  margin-right: 0.5rem;
  display: block;
}
/** Custom input group **/
.custom-input-group {
  overflow: hidden;
  position: relative;
}
.custom-input-group .input-group-field {
  width: 100%;
  height: 38px;
  font-size: 14px;
  padding: 0 50px 0 15px;
  background: transparent;
  color: #363636;
  outline: none;
  float: right;
  border: 1px solid #ebebeb;
  overflow: hidden;
  background: #fff;
  border-radius: 4px !important;
}
.custom-input-group .input-group-btn {
  position: absolute;
  right: 0;
  z-index: 4;
  height: 100%;
  border-radius: 0 4px 4px 0 !important;
}
.custom-input-group .input-group-btn,
.custom-input-group .input-group-btn button {
  border: none;
  line-height: 1;
  color: var(--text-color) !important;
}
.custom-input-group .input-group-btn .icon {
  font-size: 24px;
}
@media (max-width: 767px) {
  .custom-input-group .input-group-btn .btn {
    padding: 4px 10px;
  }
}
/**Product item **/
.price {
  font-weight: bold;
  color: var(--price-color);
}
.product-vendor {
  color: #7a8189 !important;
  letter-spacing: 1.4px;
}
a.product-vendor:hover {
  color: var(--primary-color) !important;
}
.content-col {
  margin-left: 0;
  margin-right: 0;
}
.item_product_main {
  background: #fff;
      height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e9eef6;
    border-radius: 10px;
    overflow: visible;
    box-shadow: 0 10px 24px rgba(16, 24, 40, .12), 0 1px 0 rgba(16, 24, 40, .06);
    transition: transform .22s, box-shadow .22s, border-color .22s;
    will-change: transform;
}
.item_product_main .product-thumbnail {
  position: relative;
  padding: 8px;
  overflow: hidden;
}
.item_product_main .product-thumbnail .image_thumb {
  transition: transform 0.3s ease-out;
}
.item_product_main .video-icon {
  transform: none !important;
  position: absolute !important;
  z-index: 99;
  right: 15px;
  left: auto !important;
  bottom: 5px;
  top: auto !important;
  width: 28px !important;
}
@media (min-width: 1025px) {
  .item_product_main {
    font-size: 16px;
  }
  .item_product_main:hover .product-name a {
    color: var(--primary-color);
  }
  .item_product_main:hover .product-action .group_action {
    opacity: 1;
    z-index: 99;
    visibility: visible;
    align-items: center;
  }
}
.item_product_main a {
  text-decoration: none;
  color: var(--text-color);
}
.item_product_main .btn-views {
  background: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 5px;
  transition: all 0.22s ease-out;
  box-shadow: -2px 2px 6px rgb(0 0 0 / 25%);
  border-radius: 100%;
}
.item_product_main .btn-views:hover {
  opacity: 1;
  color: var(--primary-color);
}
.item_product_main .product-vendor {
  font-size: 12px;
  text-transform: uppercase;
  display: inline-block;
  line-height: initial;
}
.item_product_main .product-name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: initial;
  overflow: hidden;
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
  min-height: 40px;
}
@media (max-width: 767px) {
  .item_product_main .product-name {
    min-height: 38px;
  }
}
.item_product_main .product-promo-tag {
  font-size: 12px;
  font-weight: 500;
  overflow: hidden;
  display: inline-block;
  margin-top: 8px;
}
.item_product_main .product-promo-tag--1 {
  position: absolute;
  z-index: 7;
  border-radius: 2px;
  left: 10px;
  top: 0;
}
.product-promo-tag--text-1,
.product-promo-tag--text-2 {
  padding: 3px 4px;
  display: inline-block;
  color: var(--color);
  border-radius: 3px;
  background-color: var(--background);
}
.item_product_main .product-promo-tag--text-2 {
  width: 100%;
}
.item_product_main .product-promo-tag--text-1 {
  border: 1px solid var(--border-color);
  background-color: var(--background);
}
.product-promo-tag--text-2 {
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--border-color);
}
.product-promo-tag--image {
  max-width: 125px;
  padding: 0;
  margin-top: 8px;
}
.item_product_main .product-info {
  padding: 8px;
}
@media (min-width: 992px) {
  .item_product_main .product-info {
    padding: 10px;
  }
}
.item_product_main .price-contact,
.item_product_main .price {
  font-weight: bold;
  color: var(--price-color);
  font-size: 16px;
  display: block;
}
@media (max-width: 767px) {
  .item_product_main .price-contact,
  .item_product_main .price {
    font-size: 14px;
    display: block;
  }
}
.item_product_main .compare-price {
  color: var(--text-secondary-color);
  text-decoration: line-through;
  font-size: 14px;
  display: inline-block;
  margin-right: 3px;
}
@media (max-width: 767px) {
  .item_product_main .compare-price {
    font-size: 13px;
  }
}
.item_product_main .group_action {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  left: 50%;
  transform: translate(-50%, -50%);
  top: 50%;
}
.item_product_main .image_thumb {
  display: block;
}
.item_product_main .label_product {
  background: var(--label-background);
  padding: 5px;
  z-index: 3;
  border-radius: 4px;
  font-size: 13px;
  line-height: 1;
}
.item_product_main .label_product .label_wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--label-color);
  font-weight: bold;
}
@media (max-width: 991px) {
  .item_product_main .label_product {
    top: 0;
    right: 0;
    display: none;
    position: inherit;
    width: auto;
    height: auto;
    padding: 1px 5px !important;
    font-size: 12px;
    zoom: 1 !important;
  }
}

.item_product_main .product-item-cta {
  padding-right: 36px;
  padding-bottom: 10px;
}
.item_product_main button.product-item-btn {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 4px;
  font-size: 18px;
  background: var(--buynow-bg);
  border-radius: 100%;
  color: #fff;
  justify-content: center;
  margin-right: 5px;
  margin-left: auto;
  box-shadow: -2px 2px 6px rgba(0, 0, 0, 0.25);
  position: absolute;
  right: 0;
  top: 0;
}
.item_product_main button.product-item-btn.add_to_cart {
  font-size: 16px;
}
.item_product_main button.product-item-btn .fas {
  font-size: 12px;
}
.item_product_main button.product-item-btn .icon {
  width: 1em;
  height: 1em;
}
.item_product_main button.product-item-btn:hover {
  filter: brightness(1.2);
}
@media (max-width: 767px) {
  .item_product_main button.product-item-btn {
    width: 20px;
    height: 20px;
    top: 0;
  }
}
.item_product_main.product--media {
  margin-bottom: 0.75rem;
}
.item_product_main.product--media form {
  display: grid;
  grid-template-columns: 33% 1fr;
  grid-gap: 5px;
  align-items: center;
}
.item_product_main.product--media .group_action {
  display: none !important;
}
.item_product_main.product--media .product-name {
  -webkit-line-clamp: 2;
  font-weight: normal;
  font-size: 14px;
  min-height: auto;
}
.item_product_main.product--media .label_product {
  zoom: 0.7;
}
.item_product_main.product--media .product-info {
  padding: 0 10px 5px;
}
.product-frame {
  z-index: 9;
}
/** Heading bar **/
.heading-bar {
  font-size: 16px;
  padding-bottom: 10px;
}
.heading-bar__title,
.heading-bar__title a {
  color: var(--text-color);
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}
@media (max-width: 767px) {
  .heading-bar__title,
  .heading-bar__title a {
    font-size: 18px;
  }
}
.heading-bar__title a:hover {
  color: var(--primary-color);
}
.heading-bar__action .link.more {
  color: var(--primary-color);
}
/** top footer **/
.top-footer {
  padding-top: 10px;
  padding-bottom: 10px;
  background: var(--text-color);
  color: #fff;
}
.top-footer .follow_option li + * {
  margin-left: 1rem;
}
.subscribe {
  gap: 15px;
  display: flex;
}
.subscribe h6 {
  flex: 0 0 240px;
  max-width: 240px;
  font-size: 14px;
  line-height: 1.4;
}
.newsletter-form .input-group-field {
  padding: 0 90px 0 15px;
}
/** mid footer **/

/** mid footer **/.title-menu {
  margin: 0 0 10px;
  font-weight: bold;
  font-stretch: normal;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 16px;
}
@media (max-width: 1024px) {
  .title-menu {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
  }
}
.footer {
  position: relative;
  overflow: hidden;
}
.mailchimp-error {
  color: #f51b1b;
}
.mailchimp-success {
  color: #2eb346;
}
.mid-footer {
  padding-top: 20px;
  background: var(--footer-bg);
  color: var(--footer-color);
  font-size: 14px;
  padding-bottom: 10px;
}
.mid-footer .footer-click {
  padding-left: 15px;
  padding-right: 15px;
}
.mid-footer .title-menu .fa {
  transition: transform 0.3s ease-out;
}
.mid-footer .title-menu.open_ .fa {
  transform: rotate(180deg);
}
.mid-footer .link {
  color: var(--footer-color);
}
.mid-footer .link .fa {
  font-size: 10px;
}
.mid-footer .link:hover {
  filter: brightness(1.2);
}
.mid-footer .list-menu {
  list-style: none;
  padding: 0;
}
.mid-footer .list-menu li + li {
  margin-top: 8px;
}
.mid-footer .follow_option li + * {
  margin-left: 1rem;
}
.mid-footer .follow_option .link {
  font-size: 25px;
}
.mid-footer .single-contact .fa,
.mid-footer .single-contact .fas {
  color: var(--footer-color);
}
@media (max-width: 767px) {
  .mid-footer .list-menu.toggle-mn {
    display: none;
  }
}
.footer-1 > * {
  position: relative;
  z-index: 1;
}
@media (min-width: 1200px) {
  .footer-1:before {
    content: "";
    position: absolute;
    right: 5px;
    top: -9999px;
    bottom: -9999px;
    left: -9999px;
    background: var(--footer-overlay);
    z-index: 0;
  }
}
.copyright {
  background: var(--footer-bg);
  color: var(--footer-color);
}
.copyright a {
  color: var(--footer-color);
}
.copyright a:hover {
  color: var(--primary-color);
}
.fot_copyright {
  font-size: 14px;
}
/** navigation **/
.list-group-item.active {
  z-index: 2;
  color: initial;
  background-color: initial;
  border-color: initial;
}
.list-group-item + .list-group-item.active {
  margin-top: 0;
  border-top-width: 0;
}
.toogle-nav-wrapper {
  position: relative;
  margin-bottom: var(--subheader-padding);
  margin-top: var(--subheader-padding);
}
.toogle-nav-wrapper .navigation-wrapper {
  position: absolute;
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  width: 100%;
  margin-top: 7px;
}
.toogle-nav-wrapper.visible .navigation-wrapper,
.toogle-nav-wrapper:not(.nav-index):hover .navigation-wrapper {
  opacity: 1;
  visibility: visible;
  z-index: 90;
}
@media (max-width: 1024px) {
  .toogle-nav-wrapper:hover .navigation-wrapper {
    opacity: 1;
    visibility: visible;
    z-index: 90;
  }
}
.toogle-nav-wrapper .navigation .submenu {
  left: calc(100% - 6px) !important;
  top: 0 !important;
  height: calc(100% + 2px);
}
.top-banner .close {
  z-index: 9;
  position: absolute;
  right: 8px;
  top: 5px;
  background: white;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  line-height: 20px;
  font-size: 14px;
  vertical-align: top;
}
@media (max-width: 767px) {
  .top-banner .close {
    zoom: 0.7;
  }

}
.navigation {
  --nav-height: 313px;
  // border: 1px solid #e1e1e1;
  border: 2px solid #e6efff !important;
  box-shadow: 0 12px 28px rgba(34, 102, 234, 0.08);
  background: #fff;
  min-height: 100%;
  overflow-y: auto;
}
@media (min-width: 1025px) {
  .navigation {
    max-height: var(--nav-height);
    border-radius: 0 0 10px 10px;
  }
}
.navigation .list-group-item {
  padding: 8px 10px;
  cursor: pointer;
  border-bottom: 0;
}
.navigation .list-group-item:not(:first-of-type) {
  box-shadow: inset 0 1px 0 #F1F1F1;
}
.navigation .list-group-item:hover {
  background: var(--light);
}
.navigation .list-group-item:hover > a {
  color: var(--primary-color);
}
.navigation .list-group-item > a {
  text-decoration: none;
}
.navigation .list-group-item > a > img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-right: 0;
}
.navigation .list-group-item .menu-item__link {
  font-size: 14px;
  color: var(--text-color)
}
@media (min-width: 1200px) {
  .navigation .list-group-item .menu-item__link {
    display: grid;
    align-items: center;
    grid-template-columns: 24px 1fr 15px;
    grid-column-gap: 5px;
  }
  .navigation .list-group-item .menu-item__link span {
    grid-column: 2;
  }
}
.navigation .menu-item {
  position: initial;
}
@media (min-width: 1024px) {
  .navigation .menu-item:hover .submenu {
    display: block;
    z-index: 900;
  }
}

.navigation .submenu {
  display: none;
  width: calc((100% * var(--col-menu)) + 15px);
  height: 100%;
  padding: 14px 20px;
  border-radius: 0 0 10px 10px;
  border-width: 1px 1px 1px 0;
  border-style: solid;
  border-color: #ddd #ddd #ddd #e1e1e1;
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 13px);
  background: #fff;
  margin-left: 0;
  box-shadow: rgba(0, 0, 0, 0.06) -2px 0 8px 0;
  z-index: 1;
  overflow-y: auto;
  /* Chỉ scroll dọc */
  overflow-x: hidden;
  /* Ẩn scroll ngang */
  font-size: 14px;
}

.navigation .submenu__col {
  display: flex;
  flex-direction: column;
  align-items: start;
  font-size: 14px;
}

.navigation .submenu__item--main {
  font-weight: 600;
}

/* ===== FIX HÌNH ẢNH CHO GỌN ===== */
.navigation .submenu-icon {
  width: 16px !important;
  /* Thu nhỏ từ 20px xuống 16px */
  height: 16px !important;
  object-fit: contain;
  margin-right: 8px;
  flex-shrink: 0;
}

.navigation .submenu__item .link img {
  width: 16px !important;
  height: 16px !important;
  object-fit: contain;
  margin-right: 8px;
}

/* ===== ẨN SCROLLBAR ===== */
.navigation .submenu::-webkit-scrollbar {
  display: none;
  /* Ẩn hoàn toàn scrollbar */
}

.navigation .submenu {
  -ms-overflow-style: none;
  /* IE và Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* ====== Ép panel con chỉ 1 cột ====== */
.navigation {
  --nav-height: 313px;
  --flyout-w: 320px;
  /* rộng panel con (cấp 2 & 3) */
  --col-menu: 1;
  /* ép 1 cột */
}

/* Chỉ 1 cột: bỏ grid, dùng block */
.navigation .submenu__list {
  display: block;
  padding: 0;
  margin: 0;
  list-style: none;
}

.navigation .submenu__item,
.navigation .submenu__col {
  display: block;
  padding: 6px 0;
}

/* Hover cấp 1 mở panel cấp 2 */
@media (min-width: 1024px) {
  .navigation .menu-item:hover > .submenu {
    display: block;
  }
}

/* ====== Panel cấp 3 (nằm bên phải panel cấp 2) ====== */
.navigation .submenu--lvl3 {
  display: none;
  top: 0;
  left: calc(100% - 1px);
  /* sát mép phải panel cấp 2 */
  width: var(--flyout-w);
  min-height: 100%;
}

/* Hover vào mục có con -> mở panel cấp 3 */
@media (min-width: 1024px) {
  .navigation .submenu__col.has-children:hover > .submenu--lvl3 {
    display: block;
  }
}

/* Nhấn mạnh tiêu đề nhóm */
.navigation .submenu__item--main > .link {
  font-weight: 600;
}

/* Lá (không có con) vẫn là item thường */
.navigation .submenu__item--leaf > .link {
  font-weight: 400;
}

/* Icon mũi tên nhỏ bên phải tiêu đề nhóm (tuỳ chọn) */
.navigation .submenu__col.has-children .submenu-arrow {
  float: right;
  transform: rotate(-90deg);
  /* chỉ mũi sang phải */
  opacity: .6;
}

/* ==== Submenu: đường kẻ phân chia ==== */
.navigation .submenu__list > * + * {
  box-shadow: inset 0 1px 0 #F1F1F1;
  /* ngăn cách giữa các nhóm */
}

.navigation .submenu__col .submenu__item + .submenu__item {
  box-shadow: inset 0 1px 0 #F1F1F1;
  /* ngăn cách trong 1 nhóm */
}

/* ==== Cho panel preview sản phẩm bung Ở DƯỚI khi hover một danh mục con ==== */
.navigation .submenu__col {
  position: relative;
} /* neo tọa độ cho preview */

/* Khối preview (dùng class submenu--lvl3 sẵn có) hiển thị bên dưới mục đang hover */.navigation .submenu--lvl3 {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  /* ngay dưới mục */
  width: auto;
  min-height: auto;
  padding: 10px 0 0;
  background: #fff;
  border: 0;
  box-shadow: none;
  /* nằm trong panel nên không đổ bóng */
  z-index: 5;
}

/* Chỉ bật khi hover vào mục có con */
@media (min-width: 1024px) {
  .navigation .submenu__col:hover > .submenu--lvl3 {
    display: block;
  }
}

/* Layout danh sách sản phẩm preview */
.navigation .submenu--lvl3 .product-list {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #F1F1F1;
  /* ngăn cách phần link và preview */
  max-height: 220px;
  overflow: auto;
}

.navigation .submenu--lvl3 .product-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
}

.navigation .submenu--lvl3 .product-item + .product-item {
  box-shadow: inset 0 1px 0 #F1F1F1;
}

.navigation .submenu--lvl3 .product-item img {
  width: 32px;
  height: 32px;
  object-fit: cover;
  border-radius: 4px;
  /* Thu nhỏ từ 42px xuống 32px */
}

.navigation .submenu--lvl3 .product-item .title {
  font-size: 12px;
  color: var(--text-color);
  /* Thu nhỏ font từ 13px xuống 12px */
}

.navigation .submenu--lvl3 .product-item .price {
  margin-left: auto;
  font-weight: 600;
  color: var(--primary-color);
  font-size: 12px;
  /* Thu nhỏ font từ 13px xuống 12px */
}

/* ẨN sản phẩm mặc định trong KHỐI có danh mục con */
.navigation .submenu__col .submenu__item:not(.submenu__item--main) {
  display: none;
}

/* Hover vào dòng main HOẶC cả khối .submenu__col -> HIỆN sản phẩm */
@media (min-width: 1024px) {
  .navigation .submenu__col:hover .submenu__item:not(.submenu__item--main),
  .navigation .submenu__col .submenu__item--main:hover ~ .submenu__item {
    display: block;
  }
}

/* Mũi tên cạnh tên danh mục con (▶ -> ▼ khi mở/hover) */
.navigation .submenu__col .submenu__item--main .link {
  position: relative;
  display: block;
  padding-right: 18px;
  /* chừa chỗ mũi tên */
}

.navigation .submenu__col .submenu__item--main .link::after {
  content: "";
  position: absolute;
  right: 2px;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(-45deg);
  /* ▶ */
  opacity: .6;
  transition: transform 0.15s ease
  , opacity 0.15s ease;
}

/* khi hover vào main hoặc khối đang mở -> ▼ */
@media (min-width: 1024px) {
  .navigation .submenu__col:hover .submenu__item--main .link::after,
  .navigation .submenu__col .submenu__item--main:hover .link::after {
    transform: translateY(-50%) rotate(45deg);
    /* ▼ */
    opacity: .9;
  }
}

/* (tuỳ chọn) kẻ vạch cho các sản phẩm sau khi xổ xuống */
.navigation .submenu__col .submenu__item--main + .submenu__item {
  margin-top: 6px;
  box-shadow: inset 0 1px 0 #F1F1F1;
}

.navigation .submenu__col .submenu__item--main ~ .submenu__item + .submenu__item {
  box-shadow: inset 0 1px 0 #F1F1F1;
}

/* ==== MOBILE: mở/đóng bằng class is-open thay cho :hover ==== */
@media (max-width: 1024px) {
  /* Ẩn sản phẩm con mặc định */
  .navigation .submenu__col .submenu__item:not(.submenu__item--main),
  .navigation .submenu__col > .submenu--lvl3 {
    display: none;
  }

  /* Khi mở */
  .navigation .submenu__col.is-open .submenu__item:not(.submenu__item--main),
  .navigation .submenu__col.is-open > .submenu--lvl3 {
    display: block;
  }

  /* Xoay mũi tên khi mở */
  .navigation .submenu__col.is-open .submenu__item--main .link::after {
    transform: translateY(-50%) rotate(45deg);
    /* ▼ */
    opacity: .9;
  }

  /* Tăng vùng bấm để dễ mở */
  .navigation .submenu__col .submenu__item--main .link {
    padding-right: 26px;
  }
}

.header_menu {
  top: 0;
}
.header_menu .toogle-nav-wrapper {
  display: none;
}
.header_menu.active {
  position: fixed;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.4);
  z-index: 91000;
}
.header_menu.active a.logo-wrapper {
  display: none;
}
.header_menu.active .toogle-nav-wrapper {
  display: block;
}
.header_menu.active .search-dropdow {
  display: none;
}
@media (max-width: 991px) {
  #mobile-menu .navigation .submenu__list {
    grid-gap: 0;
  }
  .navigation .submenu__item--main {
    border-bottom: 1px solid #e1e1e1;
    padding: 0 0 6px;
    margin: 0 0 6px;
  }
  .header_menu {
    position: sticky;
    z-index: 999;
  }
  .header_menu.active {
    position: fixed;
    width: 100%;
  }
  .header_menu.active .toogle-nav-wrapper {
    display: none;
  }
  .header_menu.active #search-header {
    flex: 0 0 50%;
    margin-top: 0;
    padding: 0;
    order: 0;
  }
  .header_menu.active .header-left {
    display: none;
  }
}
.header_menu.active .mid-header {
  font-size: 14px;
  padding: 4px 0;
}
.header_menu.active .mid-header:after {
  content: none !important;
}
.header_menu.active .toogle-nav-wrapper {
  margin: -5px 0;
  z-index: 8;
}
.header_menu.active .toogle-nav-wrapper:hover ~ .sticky-overlay {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 7;
  background: rgba(0, 0, 0, 0.3);
  left: 0;
  top: 0;
}
.header_menu.active .toogle-nav-wrapper .navigation-wrapper {
  margin-top: -5px;
}
.header_menu.active .navigation {
  --nav-height: 75vh;
}
.header_menu.active #search-header {
  order: 0 !important;
  margin: 0 !important;
}
@media (max-width: 320px) {
  .header_menu.active .search-bar {
    visibility: hidden;
    opacity: 0;
  }
}
/** blog item **/
.blogwp .link {
  font-size: 1rem;
  filter: brightness(0.9);
}
.blogwp .link:hover {
  filter: brightness(1.2);
}
.blogwp h3,
.blogwp h3 a.link {
  font-weight: normal;
  line-height: 1.2;
  font-size: 1.25rem;
}
.blogwp .media {
  line-height: 1.4;
}
.blogwp .media .media-body {
  font-size: 12px;
  line-height: 1.3
}
.blogwp .button_custome_35.link {
  font-size: 14px;
  color: var(--primary-color);
}
.blogwp .lead {
  font-size: 14px;
  line-height: 1.3;
  margin-top: 0.3rem;
  margin-bottom: 0;
  font-weight: normal;
  word-break: break-word;
  color: var(--text-secondary-color);
}
.blogwp.media .image-blog {
  width: 100px;
  flex: 0 0 100px;
}
.blogwp.media + * {
  margin-top: 10px;
  border-top: 2px solid #f7f7f7;
  padding-top: 10px;
}
/** Tab **/
.tabs-group {
  overflow-x: auto;
  overflow-y: hidden;
}
.tabs-group::-webkit-scrollbar {
  display: none;
}
.tabs-group {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
.tabs li {
  position: relative;
  border-radius: 4px;
  white-space: nowrap;
  color: var(--text-color);
  border: 1px solid var(--border-color);
  font-size: 14px;
  user-select: none;
}
.tabs li a {
  color: var(--text-color);
}
.tabs li:not(:last-of-type) {
  margin-right: 0.5rem;
}
.tabs li:not(.current) {
  cursor: pointer;
}
.tabs li:hover {
  color: var(--primary-color);
  background: #fff;
  border-color: var(--primary-color);
}
.tabs li.current {
  color: #fff;
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.tabs li.current:after {
  background: var(--primary-color);
}
.tab-content {
  display: none;
}
.tab-content.current {
  display: block;
}
/** mobile-menu **/
#mobile-menu {
  position: fixed;
  left: -100%;
  top: 0 !important;
  width: 300px;
  height: 100%;
  background: #fff;
  z-index: -1;
  opacity: 0;
  overflow-y: auto;
  padding-bottom: 45px;
}
#mobile-menu .mobile-menu-body {
  max-height: calc(100% - 68px);
  overflow-y: auto;
}
#mobile-menu .mobile-menu-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #f4f4f4;
}
@media (max-width: 1024px) {
  #mobile-menu.active {
    left: 0;
    z-index: 99999;
    opacity: 1;
  }
  #mobile-menu.active + .menu-overlay {
    position: fixed;
    left: 0;
    top: 0 !important;
    z-index: 9998;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  #mobile-menu .subheader {
    display: block;
  }
}
#mobile-menu .user-menu {
  background: var(--header-background);
  color: var(--header-color);
  padding: 10px 15px;
  --text-color: var(--header-color);
}
#mobile-menu .user-menu .fas {
  font-size: 24px;
}
#mobile-menu .shop-policises {
  flex-direction: column;
  align-items: start;
  align-items: flex-start !important;
}
#mobile-menu .shop-policises li {
  padding: 8px 10px;
}
#mobile-menu .shop-policises li + * {
  margin: 0;
}
#mobile-menu [data-toggle-submenu] {
  float: right;
  width: 30px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#mobile-menu .navigation {
  min-height: auto;
}
#mobile-menu .navigation .menu-item.active .submenu {
  display: block;
  position: fixed;
  left: 0;
  top: 0 !important;
  width: 300px;
}
#mobile-menu .toggle-submenu {
  margin: -15px -20px 15px;
  background: #eee;
  padding: 10px 15px;
  color: var(--text-color);
  text-transform: uppercase;
}
#mobile-menu .navigation .submenu__list {
  --col-menu: 1;
}
/** bread-crumb **/
.bread-crumb,
.bread-crumb .breadcrumb {
  background: transparent;
}
.bread-crumb .breadcrumb,
.bread-crumb .breadcrumb .breadcrumb {
  padding: 0.25rem 1rem;
}
.bread-crumb,
.bread-crumb .link {
  color: #999;
}
.bread-crumb strong,
.bread-crumb .link,
.bread-crumb span {
  font-weight: normal;
  font-size: 14px;
}
.bread-crumb strong {
  color: var(--text-color);
}
/** section **/
section {
  margin-bottom: 10px;
}
section .container.card {
  // background: #fff;
  // border: 1px solid #e6efff !important;
  // border-radius: 10px;
  // box-shadow: 0 12px 28px rgba(34, 102, 234, .08);
  // padding: 16px 16px 22px;
  // overflow: hidden;
  border: none;
}
@media (max-width: 767px) {
  section {
    margin-bottom: 10px;
  }
}
/** pagination **/
.pagination {
  display: flex;
  padding-left: 0;
  list-style: none;
  border-radius: 0.25rem;
  margin-top: 20px;
}
.page-item.disabled:not(.active) {
  display: none;
}
.page-item .page-link,
.page-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  margin: 0 3px;
  border-radius: 50% !important;
  width: 36px;
  height: 36px;
  font-size: 0.875rem;
  color: #8898aa;
}
.page-item .page-link:hover,
.page-item span:hover {
  z-index: 2;
  color: #8898aa;
  text-decoration: none;
  background-color: #dee2e6;
  border-color: #dee2e6;
}
@media (max-width: 767px) {
  .page-item .page-link,
  .page-item span {
    width: 30px;
    height: 30px;
  }
}
.page-item:first-child .page-link {
  margin-left: 0;
}
.page-item.active .page-link {
  z-index: 1;
  color: #fff;
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 7px 14px rgba(50, 50, 93, 0.1)
  , 0 3px 6px rgba(0, 0, 0, 0.08);
}
/** custom checkbox**/
.custom-checkbox {
  position: relative;
  display: block;
  min-height: 1.5rem;
  padding-left: 1.7rem;
}
.custom-checkbox input {
  display: none;
}
.custom-checkbox:not(.color) input:checked ~ .fa:after {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}
.custom-checkbox input:checked ~ .fa:before {
  z-index: 2;
  background: no-repeat 50% / 50% 50%;
  background-image: url("data:image/svg+xml;charset=utf-8, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23fff' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26l2.974 2.99L8 2.193z'/%3E%3C/svg%3E");
}
.custom-checkbox .fa {
  display: inline;
}
.custom-checkbox .fa:after,
.custom-checkbox .fa:before {
  content: '';
  pointer-events: none;
  background: var(--filter-color, #fff);
  box-shadow: none;
  position: absolute;
  top: 0.125rem;
  left: 0;
  display: block;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 0.2rem;
  border: 1px solid #cad1d7;
}
.custom-checkbox .fa:after {
  transition: all 0.3s ease;
}
.custom-checkbox.color .fa {
  width: 24px;
  height: 24px;
  border: 1px solid transparent;
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 999px;
}
.custom-checkbox.color input:checked ~ .fa {
  border-color: #cad1d7;
}
.custom-checkbox.color .fa:before,
.custom-checkbox.color .fa:after {
  width: 20px;
  height: 20px;
  left: 1px;
  top: 1px;
  border-radius: 999px;
}
.open_opacity {
  position: fixed;
  z-index: 9997;
  background: rgba(0, 0, 0, 0.4);
  width: 100%;
  height: 100%;
}
.mini-cart {
  position: relative;
}
.top-cart-content {
  position: absolute;
  z-index: -1;
  visibility: hidden;
  opacity: 0;
  width: 400px;
  right: 0;
  top: calc(100% + 8px);
  color: var(--text-color);
  padding: 10px 15px;
  font-size: 14px;
}
.top-cart-content:before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 7.5px 10px 7.5px;
  border-color: transparent transparent #fff transparent;
  position: absolute;
  top: -9px;
  right: 60px;
}
.top-cart-content:after {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  top: -9px;
  z-index: 0;
}
.top-cart-content .list-item-cart,
.top-cart-content .mini-products-list {
  list-style: none;
  padding: 0;
  z-index: 1;
  position: relative;
}
.top-cart-content .list-item-cart {
  max-height: 31ch;
  overflow: auto;
}
.top-cart-content .list-item-cart::-webkit-scrollbar {
  width: 3px;
}
.top-cart-content .list-item-cart::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  outline: 1px solid var(--primary-color);
}
.top-cart-content .detail-item,
.top-cart-content .product-details {
  width: 100%;
}
.top-cart-content a {
  color: var(--text-color);
}
.top-cart-content .border_list {
  display: flex;
  align-items: start;
  width: 100%;
}
.top-cart-content .image_drop {
  width: 90px;
  height: 90px;
  margin-right: 10px;
}
.top-cart-content .product-details {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
}
.top-cart-content .item {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-bottom: 10px;
}
.top-cart-content .product-name {
  margin-right: 10px;
  margin-bottom: 0;
}
.top-cart-content .remove-item-cart {
  margin-right: 10px;
  cursor: pointer;
}
.top-cart-content .top-subtotal {
  margin: 10px 0;
}
.top-cart-content .top-subtotal .price_big {
  font-size: 16px;
  font-weight: 500;
}
.top-cart-content .pd.right_ct .btn {
  display: block;
  background: var(--cta-color);
  color: #fff;
  margin-bottom: 10px;
  border-radius: 5px !important;
}
.top-cart-content .pd.right_ct .btn:hover {
  filter: brightness(1.2);
}
.top-cart-content .product-name a:hover {
  color: var(--primary-color);
}
@media (min-width: 1024px) {
  .mini-cart:hover .top-cart-content {
    z-index: 199;
    visibility: visible;
    opacity: 1;
    box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1)
    , 0 5px 15px rgba(0, 0, 0, 0.07);
  }
}
.btn {
  font-size: 14px;
}
.btn-main {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.btn-main:hover {
  color: #fff;
  background: var(--primary-color);
}
.btn-main--primary {
  color: #fff;
  background: var(--primary-color);
}
.btn-main--primary:hover {
  color: #fff;
  filter: brightness(1.2);
}
.addThis_listSharing {
  position: fixed;
  bottom: 85px;
  z-index: 999;
  top: auto !important;
  right: 12px;
  opacity: 0;
  display: none;
}
.backtop {
  right: 12px;
  bottom: 196px;
  top: auto !important;
  font-size: 14px;
  cursor: pointer;
  color: #fff;
  top: auto !important;
  height: 44px;
  width: 44px;
  background-color: var(--primary-color);
  line-height: 36px;
  border-radius: 100%;
  font-size: 30px;
  transition: all 0.3s ease-out 0s;
  transform: translateY(-120px);
  opacity: 0;
  visibility: hidden;
  text-align: center;
  color: #fff !important;
  margin-bottom: 5px;
}
.backtop:hover {
  filter: brightness(1.3);
}
.backtop.show {
  z-index: 999;
  transition: transform 0.3s ease-out 0s;
  transform: translateY(0px);
  opacity: 1;
  visibility: visible;
}
@media (max-width: 576px) {
  .backtop {
    bottom: 60px;
  }
}
.mailchimp-error a {
  color: var(--primary);
}
/* The moving element */
.item_skeleton {
  position: relative;
}
.item_skeleton::after {
  display: block;
  content: "";
  width: 100%;
  padding-top: calc(100% + 115px);
  background-color: #e2e2e2;
}
@media (max-width: 767px) {
  .item_skeleton::after {
    padding-top: calc(100% + 115px);
  }
}
.ega-cr-addon {
  z-index: 999 !important;
  border-top: 1px solid #ccc;
}
.ega-cr-addon ul {
  min-height: 54px;
}
/* Thu nhỏ nút thêm vào giỏ CRO Buttons */
@media (max-width: 600px) {
  .ega-cr-addon #ega-cro-add-cart,
  .ega-cr-addon li[id*="add-cart"] {
    flex: 1.3 !important;
    font-size: 10px !important;
    max-width: 90px !important;
  }

  .ega-cr-addon #ega-cro-add-cart .ega-menu__title,
  .ega-cr-addon li[id*="add-cart"] .ega-menu__title {
    font-size: 10px !important;
    line-height: 1.1 !important;
    padding: 0 2px !important;
  }

  /* Đảm bảo các nút khác có kích thước hợp lý */
  .ega-cr-addon .ega-menu__item:not([id*="add-cart"]) {
    flex: 1 !important;
    border-left: 1px solid #ccc;
  }
}
.variant-title {
  font-size: 0.8rem;
  font-weight: 400;
  color: #898989;
}
.single-contact {
  display: flex;
  align-items: baseline;
  font-size: 14px;
  margin-bottom: 10px;
}
.single-contact .fa,
.single-contact .fas {
  color: var(--primary-color);
  margin-right: 5px;
  width: 20px;
  flex: 0 0 20px;
}
#ega-modal-banner {
  text-align: center;
}
#ega-modal-banner.show {
  z-index: 9997;
}
#ega-modal-banner .btn-form-close {
  position: absolute;
  top: -15px;
  right: -5px;
  width: 30px;
  height: 30px;
  line-height: 30px;
  border: 0;
  display: block;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
}
#ega-modal-banner .modal-content {
  background: transparent;
  text-align: center;
  box-shadow: none;
  border: none;
  align-items: center;
  justify-content: center;
}
#ega-modal-banner .modal-header {
  padding: 0;
  border-bottom: none;
  justify-content: center;
  position: relative;
}
#ega-modal-banner .modal-dialog {
  margin: auto;
  position: relative;
  display: inline-block;
}
@media (max-width: 991px) {
  #ega-modal-banner .modal-dialog {
    width: 85%;
  }
}


/*
   body.menu-is-hover:before {
   content: "";
   position: fixed;
   width: 100%;
   height: 100%;
   background: rgba(0, 0, 0, 0.3);
   left: 0;
   top: 0;
   z-index: -1;
   }
*/
body.menu-is-hover .subheader {
  position: relative;
  z-index: 99;
}

.btn {
  padding: 7px 20px;
}
.btn-icon {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.btn-secondary {
  background-color: #E5E6ED;
}
.btn-secondary:hover {
  opacity: .8;
}
#ega-smartsearch-search-suggestion {
  border-radius: 8px !important;
}
#ega-smartsearch-search-suggestion:after {
  border-color: transparent transparent #fff transparent !important;
}
#ega-smartsearch-search-bottom a span,
.ega-smartsearch-search-title span {
  color: var(--primary-color) !important;
}
.ega-smartsearch-item__title {
  font-size: 14px !important;
  font-weight: normal;
  line-height: 1.4;
}
.ega-smartsearch-item__price ins {
  font-size: 16px !important;
  font-weight: 500 !important;
  display: inline-block !important;
  margin-right: 5px;
}
@media(min-width: 992px) {
  .ega-smartsearch__ohidden {
    overflow: hidden;
    margin-right: 14px;
  }
}
@media (max-width: 1024px) {
  .ega-smartsearch-item__price ins {
    font-size: 14px !important;
  }
}
.ega-smartsearch-item__price del {
  font-size: 14px !important;
  display: inline-block !important;
  margin-right: 5px;
}
@media (max-width: 1024px) {
  .ega-smartsearch-item__price del {
    font-size: 13px !important;
  }
}
#ega-smartsearch-search-suggestion .ega-smartsearch-search-view-item.active {
  border-radius: 4px;
}
#ega-smartsearch-search-bottom {
  padding-top: 8px !important;
  padding-bottom: 8px !important;
  font-size: 14px !important;
  border-radius: 0 0 8px 8px;
}
#ega-smartsearch-search-top::-webkit-scrollbar {
  width: 3px;
}
#ega-smartsearch-search-top::-webkit-scrollbar-thumb {
  background-color: var(--primary-color);
  outline: 1px solid var(--primary-color);
}
.ega-smartsearch-search-title {
  flex: 0 0 calc(100% - 70px);
  overflow: hidden;
  display: block;
  padding-right: 10px;
}
.ega-smartsearch-search-title span {
  word-break: break-all;
}
@media screen and (max-width: 375px) {
  #ega-smartsearch-search-top {
    max-height: 45vh;
  }
}
.product-col {
  border: 1px solid #eee;
  margin-left: -1px;
  margin-bottom: -1px;
  padding-left: 0;
  padding-right: 0;
}
.banner {
  position: relative;
  display: inline-block;
  overflow: hidden;
  flex: 1 1 100%;
}
.banner img {
  width: 100%;
  transition: all 0.3s ease-in-out;
}
.banner:hover img {
  transform: scale(0.95);
}
.aspect-ratio {
  aspect-ratio: var(--width) / var(--height);
}
.smb-cursor-pointer {
  cursor: pointer;
}
.smb-cursor-pointer.disabled {
  cursor: not-allowed;
}
@supports not(aspect-ratio: auto) {
  padding-top: calc(var(--height) / var(--width) * 100%);
  height: 0;
  position: relative;
  overflow: hidden;
}
@supports not(aspect-ratio: auto) {
  position: absolute;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  width: auto;
  max-width: 100%;
  height: auto;
}
.section_prd_feature .slick-list,
.recent-view-list .slick-list,
.section_prd_feature:not(.slick-slider),
.recent-view-list:not(.slick-slider) {
  padding: 2px;
}
.section_prd_feature .slick-track {
  display: flex;
}
.section_prd_feature .product-col,
.recent-view-list .product-col {
  height: inherit;
}
.section_prd_feature:not(.slick-slider) .product-col,
.recent-view-list:not(.slick-slider) .product-col {
  flex: 0 0 20%;
  max-width: 20%;
}
.quick-view-product,
.details-product .product-promo-tag {
  display: block;
  float: left;
  clear: both;
}
.form-product {
  clear: both;
}
.item_product_main .label_soldout.product-item-btn.sold_out {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  padding: 2px 5px;
  font-size: 18px;
  background: var(--addtocart-color);
  border-radius: 100%;
  color: #fff;
  justify-content: center;
  margin-right: 5px;
  margin-left: auto;
  box-shadow: -2px 2px 6px rgb(0 0 0 / 25%);
  position: absolute;
  right: 0;
  top: 0;
  background: #eee;
  width: auto;
  height: auto;
  border-radius: initial;
  font-size: 12px;
  color: initial;
  box-shadow: none;
  border-radius: 3px;
}
@media (max-width: 1199px) {
  .cartgroup {
    flex: 0 0 45px;
  }
  .subheader .toogle-nav-wrapper {
    font-size: 14px;
  }
}
@media (max-width: 991px) {
  .section_prd_feature:not(.slick-slider) .product-col,
  .recent-view-list:not(.slick-slider) .product-col {
    flex: 0 0 25%;
    max-width: 25%;
  }
  .section_prd_feature,
  .recent-view-list {
    padding: 1px 2px;
  }
  .subscribe h6 {
    flex: 0 0 180px;
    max-width: 180px;
  }
}
@media (max-width: 767px) {
  .product-list {
    padding: 1px;
  }
  .top-footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .top-footer .follow_option,
  .top-footer .subscribe {
    justify-content: center;
  }
  .top-footer .subscribe {
    flex-wrap: wrap;
  }
  .heading-bar__title {
    font-size: 18px;
  }
  .item_product_main .product-item-cta {
    padding-right: 0;
  }
  .section_prd_feature:not(.slick-slider) .product-col,
  .recent-view-list:not(.slick-slider) .product-col {
    flex: 0 0 50%;
    max-width: 50%;
  }
}
#ega-smartsearch-search-bottom {
  border-top: none !important;
}
/** COMPARE PRODUCT **/
.compare-product__header-count {
  background: var(--secondary-color);
  font-size: 12px;
  color: var(--primary-color);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  top: -4px;
  right: -10px;
}
.compare-product__table {
  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}
.compare-product__box {
  display: flex;
}
.compare-product__item {
  flex: 1;
  position: relative;
  font-size: 14px;
  overflow: hidden;
  padding: 12px;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
}
.compare-product__main .compare-product__item {
  padding-top: 25px;
}
.compare-product__item .compare-price {
  display: block;
  margin: 0;
}
.compare-product__item ul {
  margin-bottom: 0;
  list-style: none;
  padding-left: 0;
}
.compare-product__item ul li:before {
  content: "•";
  margin-right: 5px;
  color: #c4c4c4;
}
.compare-product__item td {
  border: 1px solid #e6e6e6;
  border-spacing: 0;
  width: calc(80% / 3);
  padding: 10px;
}
.compare-product__item td:first-child {
  width: 20%;
}
.compare-product__remove {
  z-index: 1;
  position: absolute;
  cursor: pointer;
  top: 5px;
  right: 5px;
  display: block;
  border-radius: 999px;
  border: 1px solid #afafaf;
  width: 18px;
  height: 18px;
  line-height: 16px;
  text-align: center;
  font-size: 11px;
  color: #afafaf !important;
}
.compare-product__heading {
  display: block;
  background-color: #f1f1f1;
  border-top: 1px solid #ddd;
  border-right: 1px solid #ddd;
  padding: 6px 8px;
  font-size: 15px;
}
@media (max-width: 767px) {
  .compare-product__item {
    font-size: 13px;
    overflow-x: auto;
    padding: 5px;
  }
  .compare-product__item td {
    padding: 5px;
  }
  .compare-product__specifications .compare-product__item {
    padding: 0;
  }
  .compare-product__specifications table,
  .compare-product__specifications tbody,
  .compare-product__specifications tr,
  .compare-product__specifications td,
  .compare-product__specifications td:first-child {
    display: block;
    width: 100%;
  }
  .compare-product__specifications tr {
    border-bottom: 1px solid #e6e6e6;
  }
  .compare-product__specifications tr:not(:first-child) {
    border-top: none;
  }
  .compare-product__specifications td {
    border: none;
  }
  .compare-product__specifications td:first-child {
    font-weight: 600;
  }
}
#bizweb-theme-previewer {
  display: none;
}
.compare-product__qv {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}
.compare-product__qv.is-show {
  display: block;
}
.compare-product__qv .container {
  border-radius: 0;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -2px 10px rgb(0 0 0 / 12%);
  background-color: #fff;
  display: grid;
  grid-template-columns: 75% 25%;
  padding: 0;
}
.compare-product__qv-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}
.compare-product__qv-item,
.compare-product__qv-show {
  padding: 15px;
}
.compare-product__qv-item {
  position: relative;
  text-align: center;
  border-right: 1px solid #e0e0e0;
}
.compare-product__qv-item img {
  max-width: 60px;
}
.compare-product__qv-item h3 {
  margin: 0;
  font-size: 13px;
  font-weight: normal;
}
.compare-product__qv-show {
  flex-direction: column;
  display: flex;
}
.compare-product__qv-remove {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 16px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  cursor: pointer;
}
.compare-product__qv-hide {
  position: absolute;
  right: 0;
  top: -42px;
  padding: 10px 30px 10px 10px;
  border-radius: 8px 8px 0 0;
  color: #000;
  background: #fff;
  box-shadow: 0 -2px 10px #0000001f;
}
.compare-product__qv-hide .icon {
  position: absolute;
  right: 10px;
  top: 15px;
  width: 12px;
  height: 12px;
}
.share-group__item {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  color: #fff;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  transition: opacity 0.3s ease;
}
.share-group__item:hover {
  color: #fff;
  opacity: 0.6;
}
* + .share-group__item {
  margin-left: 8px;
}
.share-group__item.facebook {
  background-color: #4267B2;
}
.share-group__item.messenger {
  background-color: #006AFF;
}
.share-group__item.pinterest {
  background-color: #E60023;
}
.share-group__item.twitter {
  background-color: #1DA1F2;
}
@media (max-width: 767px) {
  .compare-product__qv .container {
    grid-template-columns: 100%;
  }
  .compare-product__qv-show {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: center;
    border-top: 1px solid #e0e0e0;
    padding: 5px;
  }
}
/** END COMPARE PRODUCT **/

/* Edit 16.06.2022 */.hdl-menu-mb {
  margin-top: 15px;
}
.hdl-menu-mb .row {
  margin-left: -5px;
  margin-right: -5px;
}

.hdl-menu-mb .col-4 {
  padding-left: 5px;
  padding-right: 5px;
}
.hdl-menu-mb .item {
  display: block;
  border: 1px solid #fff;
  border-radius: 3px;
  padding: 4px 5px;
  font-size: 13px;
  color: #fff;
  text-align: center;
  margin-bottom: 10px;
}

.hdl-menu-mb .item:hover {
  color: #fff;
  background: #e2451d;
}

@media (min-width: 992px) {
  .hdl-menu-mb {
    display: none;
  }
}

#popup-tv {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999999999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8);
  /* Black w/ opacity */
}
#popup-tv .popup-tv-content {
  margin: auto;
  max-width: 750px;
  width: 90%;
  top: 50%;
  transform: translateY(-50%);
  position: relative;
  background: #fff;
  padding: 40px 20px 20px;
}
#popup-tv .popup-tv-content h3 {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}
#popup-tv .popup-tv-content ul {
  margin: 0;
}
#popup-tv .popup-tv-content ul li {
  width: 100%;
  display: block;
  background-color: #288AD6;
  color: #ffffff;
  padding: 10px 5px;
  text-align: center;
  border-radius: 3px;
  border: 1px solid #288AD6;
  margin-bottom: 10px;
}
#popup-tv .popup-tv-content ul li a {
  color: #fff;
  display: block;
}
#popup-tv .popup-tv-content ul li a p {
  margin-bottom: 0;
}
#popup-tv .popup-tv-content ul li a p:first-child {
  font-weight: 600;
}
#popup-tv .popup-tv-content ul li:last-child {
  background: #3a559f;
  border: 1px solid #3a559f;
}
#popup-tv .popup-tv-content #btn-close {
  position: absolute;
  top: 10px;
  right: 10px;
}


#popup-phone {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 999999999;
  /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: black;
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.8);
  /* Black w/ opacity */
}
#popup-phone .popup-phone-content {
  margin: auto;
  max-width: 750px;
  width: 90%;
  top: 50%;
  transform: translateY(-50%);
  position: relative;
  background: #fff;
  padding: 20px;
  font-size: 16px;
  text-align: center;
}
#popup-phone .popup-phone-content h3 {
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-align: center;
}
#popup-phone .popup-phone-content ul {
  margin: 0;
}
#popup-phone .popup-phone-content ul li {
  width: 100%;
  display: block;
  background-color: #f03d04;
  color: #ffffff;
  padding: 10px 5px;
  text-align: center;
  border-radius: 5px;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -ms-border-radius: 5px;
  -o-border-radius: 5px;
  -moz-box-shadow: 0 0 3px 3px #ccc;
  -webkit-box-shadow: 0 0 3px 3px #ccc;
  box-shadow: 0 0 3px 3px #ccc;
  border: 1px solid #f03d04;
  margin-bottom: 10px;
}
#popup-phone .popup-phone-content ul li a {
  color: #fff;
  display: block;
  font-size: 16px;
}
#popup-phone .popup-phone-content #btn-close1 {
  position: absolute;
  top: 10px;
  right: 10px;
}
#popup-phone .popup-phone-content .btn_gl {
  display: inline-block;
  height: 40px;
  line-height: 40px;
  padding: 0 20px;
  border-radius: 20px;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  -ms-border-radius: 20px;
  -o-border-radius: 20px;
  background-color: #f03d04;
  color: #ffffff;
  -moz-box-shadow: 0 0 3px 3px #ccc;
  -webkit-box-shadow: 0 0 3px 3px #ccc;
  box-shadow: 0 0 3px 3px #ccc;
  margin-top: 10px;
}
#popup-phone .popup-phone-content .line-hoac {
  line-height: 30px;
  height: 30px;
  text-align: center;
  position: relative;
  margin-top: 10px;
  margin-bottom: 10px;
}
#popup-phone .popup-phone-content .line-hoac:before {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  position: absolute;
  left: 0;
  top: calc(50% - 1px);
  background-color: #ff6a00;
}
#popup-phone .popup-phone-content .line-hoac span {
  position: relative;
  padding: 0 10px;
  background-color: #ffffff;
}
#popup-phone .popup-phone-content .pp-title strong {
  color: #f03d04;
}
#popup-phone .popup-phone-content form input[type='tel'] {
  font-size: 14px;
  text-align: center;
}

/* f88 */
.section_product_tag .heading-bar__title {
;
// margin-bottom: 10px;
}
@media (min-width: 992px) {
  .section_product_tag .heading-bar__title {
    flex: 0 0 27%;
    max-width: 27%;
  }
  .section_product_tag .heading-bar {
    /*align-items: flex-start !important;*/
    flex-wrap: unset !important;
  }
  .section_product_tag .heading-bar .tabs-group {
    flex-wrap: wrap;
  }
  .section_product_tag .heading-bar .tabs-group li {
    margin-bottom: 0.5rem;
  }
}
.vat {
  line-height: 17px;
  font-size: 13px;
  padding-left: 10px;
  border-left: 1px solid #ccc;
  font-weight: 600;
  color: var(--price-color);
  margin-left: 10px;
  text-transform: uppercase;
}
.share-group__list {
  display: flex;
}

@media (max-width: 991px) {
  #mobile-menu .shop-policises li {
    padding: 8px 10px;
    box-shadow: inset 0 1px 0 #f1f1f1;
    display: flex;
    flex-flow: row wrap;
    width: 100%;
  }
  #mobile-menu .shop-policises li a {
    font-size: 14px;
    color: var(--text-color);
    height: auto;
    line-height: 1.2;
    padding-left: 0;
  }
  #mobile-menu .navigation {
    border-bottom: 0;
  }
  html {
    overflow-x: hidden;
  }
}
.blogpage h1.title_page {
  padding-top: 0;
}

@media (max-width: 767px) {
  .mid-footer {
    padding-top: 0;
    padding-bottom: 20px;
  }
  .section.awe-section-8 {
    margin-bottom: 0;
  }
}

.form_register .alert.alert-success {
  padding: 5px 10px;
  margin: 10px 0;
  border-radius: 5px;
}
.share-group__item.twitter {
  margin-right: 8px;
}
.details-product .flex-swatch {
  display: flex;
  flex-flow: row wrap;
}
#specification-modal .modal-dialog-scrollable {
  top: 50%;
  transform: translateY(-50%);
}
/*Mai (22/07/2022) */
@media(max-width: 480px) {
  #specification-modal .modal-dialog-scrollable {
    height: 500px;
  }
  .ega-cr-addon .ega-menu__icon {
    width: 35px !important;
    height: 35px !important;
  }
  .ega-cr-addon .ega-menu__link,
  .ega-cr-addon .ega-menu__title {
    font-size: 14px !important;
  }
}
#content a,
#content a span,
.content-page a,
.content-page a span {
  font-weight: 600 !important;
  color: #f03d04 !important;
}
.content_for_layout {
  height: calc(100vh - 69px);
}

:root {
  --chip-accent: #ff6600;
  --chip-border: rgba(255, 102, 0, 0.35);
}

/* Container: không border, dùng gap thay vì margin-right */
.news-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  /* hàng x cột */
  margin: 24px 0;
  padding: 0;
  list-style: none;
  border: 0;
  /* không viền tổng */
  background: transparent;
}
.news-menu__item {
  list-style: none;
  padding: 0;
  margin: 0;
  text-transform: uppercase;
}
.news-menu__item:not(:last-child) {
  margin-right: 0 !important;
}

/* Item/link (desktop) */
.news-menu__link {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--chip-border);
  /* chỉ viền item */
  border-radius: 10px;
  /* bo 10px */
  color: #3d3d3d;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  background: #fff;
  transition: border-color 0.2s
  , background 0.2s
  , color 0.2s
  , box-shadow 0.2s;
}

/* hover */
@media (hover: hover) {
  .news-menu__link:hover {
    border-color: var(--chip-accent);
    color: var(--chip-accent);
    background: rgba(255, 102, 0, 0.06);
  }
}

/* active */
.news-menu__link.active {
  color: #fff;
  background: var(--chip-accent);
  border-color: var(--chip-accent);
  box-shadow: 0 3px 12px rgba(255, 102, 0, 0.25);
}
.news-menu__link.active::before {
  display: none;
} /* bỏ line cũ */
.news-menu__link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -6px;
  height: 3px;
  width: 58%;
  background: var(--chip-accent);
  border-radius: 999px;
}

/* Responsive: ẩn border item ở mobile */
@media (max-width: 767px) {
  .news-menu {
    gap: 8px 12px;
    margin: 18px 0;
  }
  .news-menu__link {
    padding: 6px 12px;
    border-color: transparent !important;
    /* xóa border item */
    background: transparent;
  }
  .news-menu__link.active {
    background: var(--chip-accent);
    color: #fff;
    border-color: transparent !important;
  }
  .news-menu__link.active::after {
    bottom: -4px;
    height: 2px;
    width: 54%;
  }
}

/* ===== CSS Variables ===== */
:root {
  --card-border: #e6e8f0;
  --card-radius: 10px;
  --card-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --card-shadow-lg: 0 12px 30px rgba(16, 24, 40, 0.12);
  --accent: #ff6600;
}

/* ================== NEWS HORIZONTAL (mini list) ================== */
.news-hor__item {
  display: -ms-flexbox;
  display: flex;
  position: relative;
  margin-bottom: 20px;
  /* Thêm border và bóng đổ */
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow-sm);
  padding: 12px;
  transition: border-color 0.2s
  , box-shadow 0.2s
  , transform 0.2s;
}

@media (hover: hover) {
  .news-hor__item:hover {
    border-color: #d0d5dd;
    box-shadow: var(--card-shadow-lg);
    transform: translateY(-1px);
  }
}

.news-hor__item__img {
  -ms-flex: 0 0 120px;
  flex: 0 0 120px;
  margin-right: 10px;
  /* Thêm border radius cho ảnh */
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
}

.news-hor__item__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news-hor__item__info {
  -ms-flex: 1;
  flex: 1;
}

.news-hor__item .news-hor__item__title {
  font-size: 15px;
  line-height: 19px;
  max-height: 60px;
  margin-bottom: 5px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.news-hor__item a {
  text-decoration: none;
}

.news-hor__item a:hover .news-hor__item__title {
  color: var(--accent);
}

.news-hor__item__time {
  font-size: 13px;
  line-height: 22px;
  color: #9b9b9b;
  margin-bottom: 0;
}

/* ================== NEWS BIG ITEM ================== */
.news__item {
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 20px;
  /* Thêm border và bóng đổ */
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow-sm);
  padding: 16px;
  transition: border-color 0.2s
  , box-shadow 0.2s
  , transform 0.2s;
}

@media (hover: hover) {
  .news__item:hover {
    border-color: #d0d5dd;
    box-shadow: var(--card-shadow-lg);
    transform: translateY(-1px);
  }
}

.news__item__img {
  -ms-flex: 0 0 300px;
  flex: 0 0 300px;
  margin-right: 30px;
  /* Thêm border radius cho ảnh */
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}

.news__item__img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.news__item__cate {
  display: none;
  margin-bottom: 4px;
  font-size: 14px;
  line-height: 17px;
  color: #0f71fb;
}

.news__item h3 {
  font-size: 22px;
  line-height: 26px;
  max-height: 52px;
  font-weight: 700;
  overflow: hidden;
  margin-bottom: 8px;
  color: #3d3d3d;
}

.news__item a {
  text-decoration: none;
}

.news__item a:hover h3 {
  color: var(--accent);
}

.news__item__text {
  font-size: 14px;
  line-height: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  font-weight: 400;
  overflow: hidden;
  margin-bottom: 15px;
  color: #8F8F8F;
}

.news__item__user {
  display: none;
}

.news__item__user span {
  font-size: 14px;
  line-height: 22px;
  margin-right: 5px;
  color: #9b9b9b;
}

/* === Tokens dùng chung (nếu đã có rồi có thể bỏ) === */
:root {
  --card-border: #e6e8f0;
  --card-radius: 12px;
  --card-shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --card-shadow-lg: 0 12px 30px rgba(16, 24, 40, 0.12);
  --accent: #ff6600;
}

/* === Card con cho mỗi tin nổi bật === */
.content-blog .news-top__item {
  background: #fff;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow-sm);
  padding: 12px;
  overflow: hidden;
  transition: border-color 0.2s
  , box-shadow 0.2s
  , transform 0.2s;
  margin-bottom: 14px;
  /* khoảng cách giữa các item */
}

/* Hover nhấc nhẹ */
@media (hover: hover) {
  .content-blog .news-top__item:hover {
    border-color: #d0d5dd;
    box-shadow: var(--card-shadow-lg);
    transform: translateY(-1px);
  }
}

/* Khung ảnh: bo góc, giữ tỉ lệ, tránh tràn viền */
.content-blog .news-top__item__img {
  display: block;
  margin-bottom: 10px;
  border-radius: 10px;
  overflow: hidden;
  line-height: 0;
  background: #f3f4f6;
  aspect-ratio: 16 / 9;
  /* giữ khung ảnh ổn định */
}
.content-blog .news-top__item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tiêu đề: clamp 2 dòng, màu & hover */
.content-blog .news-top__item .news-top__item__tit {
  font-size: 20px;
  line-height: 26px;
  margin: 0 0 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #111827;
}
.content-blog .news-top__item a {
  text-decoration: none;
}
.content-blog .news-top__item a:hover .news-top__item__tit {
  color: var(--accent);
}

/* Thời gian */
.content-blog .news-top__item__time {
  margin: 0;
  font-size: 14px;
  line-height: 22px;
  font-weight: 300;
  color: #9b9b9b;
}

/* Mobile tinh chỉnh nhẹ */
@media (max-width: 575.98px) {
  .content-blog .news-top__item {
    padding: 10px;
  }
  .content-blog .news-top__item .news-top__item__tit {
    font-size: 18px;
    line-height: 24px;
  }
}

#loadandload {
  display: inline-block;
  width: 170px;
  height: 40px;
  line-height: 40px;
  border-radius: 6px;
  border: 1px solid var(--card-border, #e9ecef);
  background-color: #f8f9fa;
  font-size: 14px;
  font-weight: 500;
  text-align: center;
  overflow-anchor: none;
  color: #495057;
  padding: 0;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* Hover effects */
#loadandload:hover {
  background-color: var(--accent, #ff6600);
  color: #fff;
  border-color: var(--accent, #ff6600);
  box-shadow: 0 4px 12px rgba(255, 102, 0, 0.3);
  transform: translateY(-1px);
}

/* Active state */
#loadandload:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
}

/* Loading state */
#loadandload.loading {
  pointer-events: none;
  opacity: 0.7;
  background-color: #e9ecef;
  color: #6c757d;
}

#loadandload.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  margin-left: 8px;
  border: 2px solid transparent;
  border-top: 2px solid currentColor;
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* Loading animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* === RESPONSIVE === */

/* Tablets */@media (max-width: 991.98px) {
  #loadandload {
    width: 160px;
    height: 38px;
    line-height: 38px;
    font-size: 13px;
  }
}

/* Mobile landscape */
@media (max-width: 767.98px) {
  #loadandload {
    width: 150px;
    height: 36px;
    line-height: 36px;
    margin-bottom: 16px;
  }
}

/* Mobile portrait */
@media (max-width: 575.98px) {
  #loadandload {
    width: 140px;
    height: 34px;
    line-height: 34px;
    font-size: 12px;
    border-radius: 4px;
    margin-bottom: 14px;
  }
}

/* Small mobile */
@media (max-width: 375px) {
  #loadandload {
    width: 120px;
    height: 32px;
    line-height: 32px;
  }
}

/* Full width option for very small screens */
@media (max-width: 320px) {
  #loadandload {
    width: 100%;
    max-width: 200px;
  }
}

.sidebar .news-section {
  margin-bottom: 20px;
}
.sidebar .card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 4px;
}

.sidebar .card-header {
  padding: 15px;
  margin-bottom: 0;
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}
.sidebar .card-header:first-child {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.sidebar .card-title {
  font-size: 17px;
  line-height: 17px;
  font-weight: 500;
  margin-bottom: 0;
}
.sidebar .card-body {
  flex: 1 1 auto;
  padding: 15px 0;
  position: relative;
}
.news-mostView {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  padding: 0;
  margin: 0;
}
.news-mostView li {
  display: -ms-flexbox;
  display: flex;
  color: #3d3d3d;
}
.news-mostView li:not(:last-child) {
  margin-bottom: 24px;
}
.news-mostView li span {
  -ms-flex: 0 0 40px;
  flex: 0 0 40px;
  margin-right: 10px;
  width: 40px;
  height: 40px;
  line-height: 40px;
  font-size: 20px;
  font-weight: 500;
  text-align: center;
  border-radius: 50%;
  color: #fff;
  background: #ced4da;
}
.news-mostView li:first-child span {
  background: #cb1c22;
}
.news-mostView li a {
  color: #3d3d3d;
}
.news-mostView li h3 {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
  margin-bottom: 5px;
  max-height: 36px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.new-product {
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.new-product-loadMore {
  margin-top: 20px;
}
.new-product-loadMore a {
  color: #0168fa;
}
.new-product,
.new-product__item {
  display: -ms-flexbox;
  display: flex;
}
.new-product__item:not(:last-child) {
  // margin-bottom: 20px;
  // border-bottom: 1px solid #e1e1e1;
  padding: 0 0 20px;
}
.new-product__item__img {
  -ms-flex: 0 0 80px;
  flex: 0 0 80px;
  margin-right: 10px;
  width: 80px;
  height: 80px;
}
.new-product__item__info {
  -ms-flex: 1;
  flex: 1;
  align-self: center;
}
.new-product__title {
  line-height: 18px;
  margin-bottom: 4px;
  margin-top: 3px;
  font-weight: 400;
  font-size: 16px;
  max-height: 36px;
  overflow: hidden;
  display: block;
  color: #3d3d3d;
}
@media (max-width: 767px) {
  .footer {
    margin-bottom: 50px;
  }
  .news__item {
    margin-bottom: 20px;
  }
  .news__item__img {
    -ms-flex: 0 0 120px;
    flex: 0 0 120px;
    margin-right: 10px;
  }
  .news-hor__item__info {
    -ms-flex: 1;
    flex: 1;
  }
  .news__item h3 {
    font-size: 13px;
    line-height: 1.5;
    max-height: 40px;
  }
  .news__item__text {
    font-size: 14px;
    line-height: 22px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;

  }
}

.blog_feautured_top {
;
// margin-bottom: 30px;
}

/* Responsive: Thêm border cho mobile/tablet */
@media (max-width: 767.98px) {
  .blog_feautured_top {
    border: 1px solid var(--card-border, #e6e8f0);
    border-radius: var(--card-radius, 12px);
    padding: 12px;
    background: #fff;
    box-shadow: var(--card-shadow-sm, 0 1px 2px rgba(16, 24, 40, 0.06));
  }
}

nav.bg-white {
  background: #fff;
}
.news__nav {
  display: -ms-flexbox;
  display: flex;
  position: relative;
  margin: 0;
  list-style: none;
  padding: 0;
  align-items: center;
}
.news__nav .news__nav__item {
  line-height: 1.5;
  position: relative;
  text-align: center;
}
.news__nav .news__nav__item:not(:last-child) {
  margin-right: 22px;
}
.news__nav .news__nav__item a {
  font-size: 14px;
  line-height: 17px;
  font-weight: 400;
  color: #666;
  text-transform: uppercase;
  color: #222;
  position: relative;
  padding: 10px 0;
}
.news__nav .news__nav__item a.active {
  font-weight: 700;
}
.news__nav .news__nav__item a.active:before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #d70909;
}
.news__nav .f-dropdown {
  -ms-flex: 1;
  flex: 1;
  text-align: right;
}
.news__nav .f-dropdown .cs-dropdown {
  padding: 14px;
  border: 0;
  margin-right: -8px;
  background: none;
  outline: none;
  cursor: pointer;
}
.news__nav .f-dropdown .cs-dropdown:focus,
.news__nav .f-dropdown .cs-dropdown:hover,
.news__nav .f-dropdown .cs-dropdown.active {
  background-color: #d70909;
}
.news__nav .cs-dropdown .ham {
  width: 18px;
  height: 3px;
  background: #4a4a4a;
}
.news__nav .cs-dropdown .ham:not(:last-child) {
  margin-bottom: 3px;
}
.news__nav .cs-dropdown:focus .ham,
.news__nav .cs-dropdown:hover .ham {
  background: #fff;
}
.news__nav .cs-dropdown-content {
  display: none;
}
.news__nav .cs-dropdown-content.active {
  position: absolute;
  padding-top: 3px;
  left: -16px;
  background-color: #fff;
  width: calc(100% + 32px);
  text-align: left;
  z-index: 2;
  border-top: 1px solid #ebebeb;
  display: block;
}
.news__nav .cs-dropdown-content:before {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  right: 0;
  width: 100vw;
  height: 100vh;
  opacity: .7;
  background-color: #000;
  z-index: 1;
}
.news__nav .cs-dropdown-content:after {
  content: "";
  position: absolute;
  top: -7px;
  right: 24px;
  z-index: 2;
  border-left: 6px solid rgba(0, 0, 0, 0);
  border-right: 6px solid rgba(0, 0, 0, 0);
  border-bottom: 6px solid #fff;
}
.news__nav .cs-dropdown-content a {
  color: #666;
  padding: 10px 0;
  font-size: 14px;
  line-height: 19px;
  text-decoration: none;
  width: calc(100% - 32px);
  margin: 0 auto;
  display: block;
  text-transform: uppercase;
}
.news__nav .cs-dropdown-content a:not(:last-child) {
  border-bottom: 1px solid #ebebeb;
}
/* ========= MOBILE: gộp dropdown vào hàng nav, ẩn nút ========= */
@media (max-width: 767px) {

  /* Thanh nav cuộn ngang */
  .news__nav {
    gap: 10px;
    padding: 8px 12px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    background: #fff;
    border-radius: 10px 10px 0 0;
  }

  /* Item thường */
  .news__nav .news__nav__item {
    flex: 0 0 auto;
    margin-right: 0 !important;
    scroll-snap-align: start;
  }
  .news__nav .news__nav__item a {
    display: block;
    font-size: 10px;
    white-space: nowrap;
    padding: 8px 12px;
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    color: #222;
    background: #fff;
  }
  .news__nav .news__nav__item a.active {
    font-weight: 700;
    border-color: #d70909;
  }
  .news__nav .news__nav__item a.active:before {
    content: none;
  }

  /* Ẩn NÚT hamburger nhưng giữ container f-dropdown */
  .news__nav .f-dropdown .cs-dropdown {
    display: none !important;
  }

  /* Biến dropdown-content thành dãy pills cùng hàng */
  .news__nav .cs-dropdown-content {
    display: flex !important;
    /* luôn hiển thị */
    gap: 10px;
    position: static !important;
    /* không absolute */
    left: auto;
    right: auto;
    width: auto;
    /* không full-width */
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    z-index: auto;
  }
  /* Bỏ overlay & mũi tên của dropdown */
  .news__nav .cs-dropdown-content:before,
  .news__nav .cs-dropdown-content:after {
    content: none !important;
    display: none !important;
  }

  /* Link bên trong dropdown: style như pills còn lại */
  .news__nav .cs-dropdown-content a {
    flex: 0 0 auto;
    display: block;
    width: auto;
    margin: 0;
    padding: 8px 12px;
    font-size: 10px;
    line-height: 19px;
    text-decoration: none;
    text-transform: uppercase;
    color: #222;
    border: 1px solid #e7e7e7;
    border-radius: 999px;
    background: #fff;
  }
  .news__nav .cs-dropdown-content a:not(:last-child) {
    border-bottom: 0;
    /* không còn danh sách dọc nữa */
  }

  /* Đẩy cụm dropdown (đã biến thành pills) hòa vào hàng */
  .news__nav .f-dropdown {
    flex: 0 0 auto;
    /* không chiếm hết chiều ngang */
    text-align: left;
    /* không cần căn phải */
    margin-left: 0;
  }
  .news__nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }
  .news__nav {
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
  }
}
/* ========= TABLET: Menu pills cuộn ngang như mobile nhưng style khác ========= */
@media (min-width: 768px) and (max-width: 991px) {
  /* Thanh nav cuộn ngang */
  .news__nav {
    gap: 12px;
    padding: 0px 10px 15px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    border-radius: 8px;
  }
  /* Item thường */
  .news__nav .news__nav__item {
    flex: 0 0 auto;
    margin-right: 0 !important;
    scroll-snap-align: start;
  }
  .news__nav .news__nav__item a {
    display: block;
    font-size: 12px;
    white-space: nowrap;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    color: #222;
    background: #fff;
    text-transform: uppercase;
  }
  .news__nav .news__nav__item a.active {
    font-weight: 700;
    border-color: #d70909;
    background: #d70909;
    color: #fff;
  }
  .news__nav .news__nav__item a.active:before {
    content: none;
  }
  /* Ẩn NÚT hamburger nhưng giữ container f-dropdown */
  .news__nav .f-dropdown .cs-dropdown {
    display: none !important;
  }
  /* Biến dropdown-content thành dãy pills cùng hàng */
  .news__nav .cs-dropdown-content {
    display: flex !important;
    /* luôn hiển thị */
    gap: 12px;
    position: static !important;
    /* không absolute */
    left: auto;
    right: auto;
    width: auto;
    /* không full-width */
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    max-height: none;
    overflow: visible;
    z-index: auto;
  }
  /* Bỏ overlay & mũi tên của dropdown */
  .news__nav .cs-dropdown-content:before,
  .news__nav .cs-dropdown-content:after {
    content: none !important;
    display: none !important;
  }
  /* Link bên trong dropdown: style như pills còn lại */
  .news__nav .cs-dropdown-content a {
    flex: 0 0 auto;
    display: block;
    width: auto;
    margin: 0;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 19px;
    text-decoration: none;
    text-transform: uppercase;
    color: #222;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
  }
  .news__nav .cs-dropdown-content a:not(:last-child) {
    border-bottom: 0;
    /* không còn danh sách dọc nữa */
  }
  /* Đẩy cụm dropdown (đã biến thành pills) hòa vào hàng */
  .news__nav .f-dropdown {
    flex: 0 0 auto;
    /* không chiếm hết chiều ngang */
    text-align: left;
    /* không cần căn phải */
    margin-left: 0;
  }
  .news__nav::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari */
  }
  .news__nav {
    -ms-overflow-style: none;
    /* IE, Edge */
    scrollbar-width: none;
    /* Firefox */
  }
}

@media (max-width: 767px) {
  #template-blog #search-header,
  #template-blog .header-right,
  #template-blog .bread-crumb {
    display: none !important;
  }
  #template-blog #search-header.show {
    display: block !important;
  }
  #template-blog header .logo-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin: 0;
  }
  #template-blog header .header-left {
    flex: 0 0 100%;
    max-width: 100%;
  }
  #template-blog header .logo-wrapper h1 {
    font-size: 10px;
    color: #fff;
    margin-bottom: 0;
    line-height: 1;
    position: relative;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    padding-left: 10px;
    /* chừa khoảng cho vạch */
    border-left: 1px solid #fff;
    /* vẽ vạch trắng */
  }

  /* bỏ luôn :after */
  #template-blog header .logo-wrapper h1:after {
    content: none;
  }

  #template-blog header .logo-wrapper img {
    width: 100px;
  }
  .btn-search-mb {
    position: absolute;
    right: 10px;
    top: -3px;
    font-size: 15px;
    cursor: pointer;
  }

}
.search-overlay.active {
  display: none !important
}

.form-product .share {
  margin-top: 10px;
}
.form-product .share .fb-share-button iframe {
  transform: translateY(-5px);
}
.form-product .share .fb-like iframe {
  transform: translateY(3px);
}