/*Banner Vuông*/
.banners-top-wrapper {
  padding: 10px 0;
  background-color: transparent;
  overflow: hidden;
}

.banners-top-wrapper ul li {
  margin-left: 0 !important;
}

.banners-top-wrapper .splide {
  width: 100%;
  max-width: 100%;
  margin: auto;
}

.banners-top-wrapper .splide__track {
  overflow: visible;
}

.banners-top-wrapper .splide__list {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
}

.banners-top-wrapper .splide__slide img {
  max-width: 120px;
  max-height: 120px;
  object-fit: contain;
  border-radius: 12px;
}

/* Banner Bottom */
#banners-bottom-container {
  position: relative;
}
.banners-bottom {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  z-index: 9999;
  background: transparent; /* Tùy chỉnh nền nếu cần */
  padding: 0; /* Khoảng cách bên trong */
}

.banners-bottom-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Mặc định 2 cột */
}

.banners-bottom-grid a img {
  width: 100%;
  height: auto;
}

/* Điều chỉnh trên thiết bị mobile */
@media (max-width: 768px) {
  .banners-bottom-grid {
    grid-template-columns: 1fr; /* Mỗi banner 1 hàng */
  }
}

#open-banner-bottom {
  position: fixed;
  bottom: 0;
  left: 10px;
  box-shadow: 0px 0px 14px -7px #ba0101;
  background-image: linear-gradient(45deg, #ba0101 0%, #ff5a5a 51%, #ba0101 100%);
  color: white;
  border: none;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 5px;
  animation: openEffect 1s infinite;
  z-index: 999;
}

#close-banner-bottom {
  top: 12px;
  left: 0;
  background: #BA0101;
  color: white;
  border: none;
  display: flex;
  align-items: center; /* Căn giữa biểu tượng theo chiều dọc */
  justify-content: center; /* Căn giữa biểu tượng theo chiều ngang */
  font-size: 12px; /* Kích thước biểu tượng chữ */
  line-height: 1; /* Đảm bảo nội dung không bị ảnh hưởng bởi chiều cao dòng */
  cursor: pointer;
  padding: 5px 10px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

a.btn {
  padding: 10px !important;
  color: #fff !important;
  text-align: center; /* Căn giữa chữ */
  background: #c9aa71; /* Nền chuyển màu nổi bật */
  border: none; /* Không viền */
  border-radius: 6px; /* Bo góc */
  transition: all 0.3s ease;
  cursor: pointer; /* Con trỏ dạng bàn tay */
}

a.btn:hover {
  background: #af9463; /* Đổi hướng gradient khi hover */
  transform: translateY(-2px); /* Nút nhích lên khi hover */
  box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.3);
}

a.btn:active {
  transform: translateY(2px); /* Nút nhấn xuống khi click */
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); /* Giảm đổ bóng khi click */
}

/* code */
.code {
  background: transparent;
  border: none;
}