.card-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;  /* Đảm bảo các phần tử trong card được phân bố đều */
    height: 100%;  /* Đảm bảo chiều cao card bằng nhau */
}

.card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;  /* Không cho phép tiêu đề xuống dòng */
    margin-bottom: 10px;  /* Cách đều giữa tiêu đề và các phần tử dưới */
}

.product-action {
    margin-top: auto;  /* Đảm bảo nút nằm ở dưới cùng */
}

.card-img-top {
    width: 100%;
    height: 200px;
    object-fit: cover;
}


.animate-charcter {
  text-transform: uppercase;
  background-image: linear-gradient(
    -225deg,
    #231557 0%,
    #44107a 29%,
    #ff1361 67%,
    #fff800 100%
  );
  background-size: 200% 100%; /* Gradient di chuyển ngang */
  color: transparent; /* Chữ sẽ trong suốt để gradient lộ ra */
  background-clip: text; /* Chỉ áp dụng gradient cho chữ */
  -webkit-background-clip: text; /* Cần cho Webkit (Chrome, Safari) */
  -webkit-text-fill-color: transparent; /* Chữ trong suốt để gradient lộ ra */
  animation: textclip 2s linear infinite; /* Hiệu ứng gradient */
  display: inline-block;
  font-size: 50px; /* Cỡ chữ lớn hơn */
  font-weight: bold; /* Đặt đậm chữ */
  
}

@keyframes textclip {
  0% {
    background-position: 0% center; /* Bắt đầu từ bên trái */
  }
  100% {
    background-position: 200% center; /* Di chuyển gradient sang bên phải */
  }
}


.button {
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: none;
  background: none;
  color: #0f1923;
  cursor: pointer;
  position: relative;
  padding: 8px;
  margin: 0 0 20px 0; /* Thay đổi margin để cân bằng */
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  transition: all .15s ease;
  width: 100%; /* Đặt chiều rộng là 100% */
  box-sizing: border-box; /* Đảm bảo padding được tính trong chiều rộng */
}

.button::before,
.button::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  left: 0;
  height: calc(50% - 5px);
  border: 1px solid #7D8082;
  transition: all .15s ease;
}

.button::before {
  top: 0;
  border-bottom-width: 0;
}

.button::after {
  bottom: 0;
  border-top-width: 0;
}

.button:active,
.button:focus {
  outline: none;
}

.button:active::before,
.button:active::after {
  right: 3px;
  left: 3px;
}

.button:active::before {
  top: 3px;
}

.button:active::after {
  bottom: 3px;
}

.button_lg {
  position: relative;
  display: block;
  padding: 10px 20px;
  color: #fff;
  background-color: #0f1923;
  overflow: hidden;
  box-shadow: inset 0px 0px 0px 1px transparent;
  width: 100%; /* Đặt chiều rộng là 100% */
  box-sizing: border-box; /* Đảm bảo padding được tính trong chiều rộng */
}

.button_lg::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 2px;
  background-color: #0f1923;
}

.button_lg::after {
  content: '';
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 4px;
  height: 4px;
  background-color: #0f1923;
  transition: all .2s ease;
}

.button_sl {
  display: block;
  position: absolute;
  top: 0;
  bottom: -1px;
  left: -8px;
  width: 0;
  background-color: #ff4655;
  transform: skew(-15deg);
  transition: all .2s ease;
}

.button_text {
  position: relative;
}

.button:hover {
  color: #0f1923;
}

.button:hover .button_sl {
  width: calc(100% + 15px);
}

.button:hover .button_lg::after {
  background-color: #fff;
}

 
