:root {
  --cl-main: #1c2445;
  --cl-primary: #D08419;
  --index: 4;
}
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* fix khung img */
.c-img {
  position: relative;
  display: block;
}
.c-img img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
/* end fix khung img */



/* hover img flash */
.img__ {
  position: relative;
  overflow: hidden;
}

.img__:hover::after {
  -webkit-animation: shine 0.75s;
  animation: shine 0.75s;
}

.img__::after {
  position: absolute;
  top: 0;
  left: -75%;
  z-index: 2;
  display: block;
  content: "";
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.3) 100%
  );
  transform: skewX(-25deg);
}
@keyframes shine {
  100% {
    left: 125%;
  }
}
/* end hover img flash */

/* hover img scale */
.scale-img{
  overflow: hidden;
}
.scale-img img{
  transition: all 0.5s;
}
.scale-img:hover img{
  scale: 1.1;
}
/* end hover img scale */

.module-tabs .list-tab-items .tab-content {
  display: none;
}
.module-tabs .list-tab-items .tab-content.active {
  display: block;
}
.module-tabs ul li.active a{
  color: #fff;
}
/* Styles cho tab content con */
.tab-content-sm {
  display: none;
}

.tab-content-sm.active {
  display: block;
}

/* Styles cho subcategory links */
.tab-link-sm.active {
  color: #fff !important;
}

/* Loading spinner */
.loading-spinner {
  text-align: center;
  padding: 2rem;
}
ul{
  list-style: none!important;
}



.bg_04{
  background-image: url("../images/bg_04.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.cs_feedback{
  background-color: #e8e8e8;
}
.rounded26 .col-inner{
  border-radius: 26px;
  overflow: hidden;
}
.shadow_box .col-inner {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}
.img_banner_pro_hot{
  border-radius: 26px;
  overflow: hidden;
  border: 5px solid #fff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.9);
}
.box_text_banner_pro_hot{
      text-shadow: 2px 2px #000;
}
ul.header-nav-main li a{
  font-weight: 500;
}
/* Responsive cho products grid */
@media (max-width: 768px) {
  .products-grid .p-3 {
    width: 50%;
  }
}

@media (min-width: 768px) {
  .products-grid .p-3 {
    width: 25%;
  }
}
@media (min-width: 1024px) {
  .cs_sticky{
    position: sticky;
    top: 2rem; /* Khoảng cách từ đỉnh màn hình khi sticky. Điều chỉnh nếu có header cố định. */
    align-self: flex-start; /* Đảm bảo cột không bị kéo dài trong flex container */
    z-index: 10; /* Đảm bảo bộ lọc nằm trên các phần tử khác khi cuộn */
    max-height: calc(100vh - 40px); /* Giới hạn chiều cao và thêm scroll nếu nội dung dài */
    overflow-y: auto; /* Cho phép cuộn bên trong bộ lọc nếu nội dung quá dài */
  }
}


