.menu_footer ul li a {
  transition: color 0.3s ease;
  color: #535353;
  display: block;
}

.menu_footer ul li:not(:last-child) {
  margin-bottom: 1rem;
}

.menu_footer ul li a:hover {
  color: var(--cl-s1);
  transition: all 0.3s ease;
}

.modal-search {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.modal-search.active {
  visibility: visible;
  opacity: 1;
}

.modal-search form {
  transform: translateY(-3rem);
  transition: all 0.3s;
}

.modal-search.active form {
  transform: translateY(0);
}

.swiper-pagination.swiper-pagination-slider-banner .swiper-pagination-bullet-active {
  background: #433C32 !important;
}

.swiper-pagination.swiper-pagination-slider-banner .swiper-pagination-bullet {
  background: #433C3280;
  width: 10px !important;
  height: 10px !important;
}

.item_cat {
  --frame-w: 233px;
  --frame-h: 200px;
  width: var(--frame-w);
  height: var(--frame-h);
  margin-left: auto;
  margin-right: auto;
}

.item_cat .item_cat_thumb {
  width: 80.25%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 58%;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin: 0;
}

.item_cat::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/k_danhmuc.png') no-repeat;
  background-size: 100% 100%;
  z-index: 2;
  pointer-events: none;
}

.precent {
  background: url('../images/icon_sl.png') no-repeat;
  background-size: 100% 100%;
}

.tab_pro.active {
  padding-left: 2.5rem;
  font-weight: 700;
  color: var(--cl-main);
}

.tab_pro.active::before {
  width: 31px;
  background: var(--cl-main);
}

.tab_pro_detail .tab-link.active {
  color: var(--cl-main);
}

.tab-content.active {
  display: block;
}

.module-modal {
  visibility: hidden;

  opacity: 0;

  transition: all 0.3s;
}

.module-modal.active {
  visibility: visible;

  opacity: 1;
}

.module-modal .modal-content {
  transform: translateY(-5rem);

  transition: all 0.3s;
}

.module-modal.active .modal-content {
  transform: translateY(0);
}

.login_gg .nsl-container {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.login_gg .nsl-container .nsl-container-buttons {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

.login_gg .nsl-container .nsl-button-label-container {
  /* đè class flex: 1 1 auto */
  flex: none !important;
}

.login_gg .nsl-container .nsl-button.nsl-button-default.nsl-button-google {
  display: flex !important;
  justify-content: center !important;
  width: 100% !important;
}

/* Single Product Custom Styles */
.btn-cart-icon svg {
  width: 100%;
  height: 100%;
}

.btn-cart-icon svg path {
  fill: var(--cl-main) !important;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.quantity-input {
  -moz-appearance: textfield;
}

dl.variation {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  margin: 0;
}

dl.variation dt {
  font-weight: 600;
  margin: 0 4px 0 0;
}

dl.variation dd {
  margin: 0 15px 0 0;
}

dl.variation dd:last-child {
  margin-right: 0;
}

dl.variation dd p {
  margin: 0;
  display: inline;
}

.box_mart_custom {
  position: relative;
}

.box_mart_custom::before {
  content: "";
  position: absolute;
  left: -3.8px;
  top: 0;
  width: 7.6px;
  height: 100%;
  background:
    radial-gradient(circle at right center,
      transparent 3.4px,
      #F9F2E6 3.8px) 0 0 / 7.6px 7.6px repeat-y;
}

.ajax-filter {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23624C3C'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.25rem center;
  background-size: 1rem;
  padding-right: 3rem !important;
}

.pagination {
  gap: 12px;
}

.pagination .page-numbers {
  display: flex;
  width: 32px;
  height: 32px;
  justify-content: center;
  align-items: center;
  border: 1px var(--cl-main) solid;
  font-size: 20px;
  font-weight: 600;
  color: var(--cl-main);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background-color: var(--cl-main);
  color: white;
  transition: all 0.3s;
}

.pagination .page-numbers.prev,
.pagination .page-numbers.next {
  border: none;
}

@media (min-width: 1200px) {
  .header_top.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
    /* background-color: #624C3C; */
    /* animation: headerSlideDown 0.4s ease forwards; */
  }

  /* @keyframes headerSlideDown {
    from {
      transform: translateY(-100%);
    }

    to {
      transform: translateY(0);
    }
  } */
}

@media (max-width: 576px) {
  .item_cat {
    --frame-w: 165px;
    --frame-h: 138px;
  }

  .item_cat .item_cat_thumb {
    width: 77%;
  }

  .item_cat::after {
    width: 100%;
    height: 100%;
  }
}

/* Custom Animations - Premium Version */
@keyframes floating-premium {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(5px, -15px) rotate(1deg);
  }

  66% {
    transform: translate(-5px, -10px) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

@keyframes floating-slow-premium {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  33% {
    transform: translate(-5px, -10px) rotate(-1.5deg);
  }

  66% {
    transform: translate(5px, -5px) rotate(1.5deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

.animate-floating {
  animation: floating-premium 6s ease-in-out infinite;
}

.animate-floating-slow {
  animation: floating-slow-premium 8s ease-in-out infinite;
}

.hover-premium {
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-premium:hover {
  transform: scale(1.03) !important;
  z-index: 10 !important;
}

.hover-premium:hover img {
  filter: brightness(1.1);
  transition: all 0.5s ease;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 2px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #624C3C;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #4A392D;
}

/* Mobile Filter Drawer */
#mobile-filter-drawer.active {
  visibility: visible;
  opacity: 1;
}

#mobile-filter-drawer.active>div:nth-child(2) {
  transform: translateX(0);
}

#mobile-filter-drawer .ajax-cat-filter.active {
  color: #A65D4D !important;
}