body,
html {
    margin: 0;
    padding: 0;
}

.nav {
    display: flex;
    justify-content: space-evenly;
    margin: 0;
    background-color: #eeeeee;
    min-height: 80px;
    box-sizing: border-box;
    align-items: center;
}

.logo {
    display: flex;

}

.text {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 14px;
    padding-left: 20px;
    transform: translateY(10px);
    color: #666;
    line-height: 18px;

}

.nav-item li a {
    color: #007bff;
    text-decoration: none;
}

.nav-item li {
    display: inline-block;
    margin-left: 10px;
    padding: 4px 20px;
    border-radius: 15px;
    border: 1px solid #17cfff;
    list-style: none;

}

.rigth {
    display: flex;
    padding-top: 15px;

}

.nav-menu {
    background-color: #a2edde;
}

.menu {
    display: flex;
    margin: 0 120px;
    margin-bottom: 100px;
}

.menu li {
    list-style: none;
}

.menu li a {
    color: black;
    margin-left: 20px;
    text-decoration: none;

}

.feature-layout {
    display: flex;
    gap: 16px;

}

.nav-item-register li {
    display: inline-block;
    list-style: none;

}

.feature-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: #eeeeee;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.feature-item img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.feature-item h2 a {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    margin: 8px 0;
}

.feature-item summary {
    font-size: 14px;
    color: #555;
}

.body-text-title {
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    margin: 8px 0;
}

.body-text-title_hot {
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    margin: 8px 0;
}

.nav-item-login li {
    display: inline-block;

}

.product-text-title {
    font-size: 27px;
    font-weight: 700;
    padding-bottom: 10px;

}

.heading-page .title a {
    color: #0d9d81;
    text-decoration: none;
    font-weight: 700;

}

.card-title a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.card-title a:hover {
    color: #d9534f;
}

.d-flex img {
    border-radius: 4px;
}

.card-body {
    padding: 10px;
}

.me-3 {
    margin-right: 10px !important;
}

.card-title-home {
    font-size: 1.25rem;
    color: #007bff;
}

.card-title-home::after {
    content: '';
    display: block;
    width: 50px;
    height: 2px;
    background-color: #007bff;
    margin-top: 5px;
}

.card-subtitle a:hover {
    color: #007bff;
}

.card-img-top {
    max-height: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.list-unstyled a {
    transition: color 0.2s;
}

.list-unstyled a:hover {
    color: #007bff;
}

.icon-text {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}
.title-top-detail {
    border-bottom: 3px solid #e63f3c; 
    display: inline-block;
    font-size: 1.55rem;
    margin: 0; 
    padding-bottom: 5px; 
} 
.list-top-detail {
    left: 0;
    width: 100%;
    border-bottom: 2px solid #eee;
    padding: 0; 
}
.read-much {
    background: #f2f2f2;
    margin-bottom: 20px;
}
.read-much > .item-read-much {
    padding: 12px 10px 11px 10px;
    border-bottom: 2px solid #e63f3c;
    font-size: 18px;
    font-weight: 700;
    color: #e63f3c;
    margin-bottom: 0;
}
.heading-block {
    border-bottom: 2px solid #e63f3c;
    margin-bottom: 10px;
    padding-bottom: 5px;
}
.heading-block .title-category {
    display: inline-block;
    line-height: 20px;
    font-size: 25px;
    margin-right: 30px;
    font-weight: 700;
    
}
.heading-block .title-category a {
    color: #0d9d81;
    text-decoration: none;
}
.main {
    margin-top: 5px;
}
/* General Slider Styles */
/* Slider Container */
.hot-slider {
  position: relative;
  overflow: hidden;
  max-width: 100%;
  margin: 20px auto; /* Center and add spacing */
  border-radius: 10px; /* Rounded corners for slider */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Drop shadow for visual depth */
  background-color: #f8f9fa; /* Optional background color */
}

/* Slide Track */
.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%; /* Updated to support dynamic slides */
}

/* Individual Slide */
.slide {
  min-width: 100%; /* Each slide takes full width */
  flex-shrink: 0;
  position: relative;
  box-sizing: border-box; /* Include padding and border in size calculation */
}

.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  object-fit: cover; /* Ensure images fit nicely */
}

/* Navigation Buttons */
.navigation {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.nav-btn {
  width: 15px; /* Smaller buttons for cleaner look */
  height: 15px;
  background-color: #ccc; /* Default button color */
  border: none;
  border-radius: 50%; /* Rounded buttons */
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.nav-btn.active {
  background-color: red; /* Highlight active button */
  transform: scale(1.2); /* Slight zoom for active button */
}

.nav-btn:hover {
  transform: scale(1.3); /* Zoom on hover */
  background-color: darkred; /* Change hover color */
}

/* Caption for Slides */
.slide .caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  background: rgba(0, 0, 0, 0.6); /* Semi-transparent background */
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: bold;
  max-width: 90%; /* Ensure text doesn't overflow */
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}

/* Responsive Styling */
@media (max-width: 768px) {
  .slide .caption {
    font-size: 14px; /* Adjust caption size for smaller screens */
    padding: 8px 15px;
  }

  .nav-btn {
    width: 12px;
    height: 12px;
  }
}

@media (max-width: 480px) {
  .slide .caption {
    font-size: 12px; /* Further adjust for very small screens */
  }
}
.navigation {
  text-align: center; /* Canh giữa các nút điều hướng */
}

.nav-btn {
  display: inline-block;
  width: 30px; /* Kích thước nút */
  height: 30px; /* Kích thước nút */
  margin: 0 5px; /* Khoảng cách giữa các nút */
  border-radius: 50%; /* Biến các nút thành hình tròn */
  background-color: #007BFF; /* Màu nền của nút khi chưa hover */
  border: none;
  transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu nền */
}

.nav-btn:hover {
  background-color: red; /* Màu nền khi hover */
}

/* Nếu bạn muốn nút hiện tại có màu nền khác khi được chọn */
.nav-btn.active {
  background-color: #0056b3; /* Màu khi nút đang được chọn */
}
.navigation {
  text-align: center; /* Canh giữa các nút điều hướng */
}

.nav-btn {
  display: inline-block;
  width: 20px; /* Kích thước nút */
  height: 20px; /* Kích thước nút */
  margin: 0 5px; /* Khoảng cách giữa các nút */
  border-radius: 50%; /* Biến các nút thành hình tròn */
  background-color: #007BFF; /* Màu nền của nút khi chưa hover */
  border: none;
  transition: background-color 0.3s ease; /* Hiệu ứng chuyển màu nền */
}

.nav-btn:hover {
  background-color: red; /* Màu nền khi hover */
}

/* Nếu bạn muốn nút hiện tại có màu nền khác khi được chọn */
.nav-btn.active {
  background-color: #0056b3; /* Màu khi nút đang được chọn */
}
