* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: auto;
}

header {
  display: block;
  background-color: darkgoldenrod;
  text-align: center;
}

header img {
  max-width: 100%;
  /* Giữ ảnh không bị to hơn màn hình */
  height: auto;
  /* Đảm bảo tỷ lệ ảnh */
}

nav {
  background-color: #ffd700;
}

nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul li a {
  color: rgb(0, 0, 0);
  text-decoration: none;
  /* Loại bỏ gạch chân */
  font-size: 12px;
}

/*----------menu-bar2-----*/
.menu-bar {
  background-color: #ffd700;
}

.menu-bar-content {
  display: flex;
  justify-content: center;
}

.menu-bar ul {
  display: flex;
  justify-content: space-between;
}

.menu-bar ul li a {
  color: #333;
  font-size: 16px;
}

.menu-bar ul li a i {
  margin-right: 6px;
  font-size: 16px;
}

.menu-bar>ul>li {
  padding: 15px 6px;
  transform: all 0.3s ease;
}

.menu-bar ul li:hover {
  background-color: white;
}

.menu-bar ul li {
  padding: 12px 6px;
  transition: all 1s ease;
}

/*--------adress-form3--------*/
.adress-form {
  position: fixed;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #333;
  display: none;
  z-index: 999;
}

.adress-form-content {
  width: 400px;
  height: 450px;
  background-color: white;
  border-radius: 5px;
}

.adress-form-content form {
  padding: 10px 40px;
}

.adress-form-content h2 {
  font-size: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #ddd;
  position: relative;
}

.adress-form-content h2 span {
  display: block;
  position: absolute;
  height: 30px;
  padding: 0 6px;
  border: 1px solid #ddd;
  right: 12px;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  line-height: 30px;
  border-radius: 5px;
}

.adress-form-content form p {
  font-size: 16px;
}

.adress-form-content form input,
select {
  height: 40px;
  display: block;
  width: 100%;
  margin-top: 20px;
  border-radius: 5px;
}

.adress-form-content form button {
  margin-top: 20px;
  height: 40px;
  width: 80%;
  cursor: pointer;
  background-color: #f97e0e;
  outline: none;
  border: none;
  color: white;
  border-radius: 5px;
}

/*--------submenu3------*/
.menu-bar-content ul li {
  position: relative;
  padding: 15px 6px;
}

.submenu {
  position: absolute;
  background-color: #ddd;
  width: 300px;
  height: auto;
  left: 0;
  top: 100%;
  padding: 12px;
  display: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* Thêm bóng mờ cho submenu */
  border-radius: 5px;
  /* Bo góc submenu */
}

.submenu ul li:hover {
  background-color: #f97e0e;
  /* Đổi màu nền khi hover vào mục submenu */
  color: white;
}

.submenu ul li:hover {
  background: none;
  transition: background-color 0.3s ease;
  /* Thêm hiệu ứng mượt khi hover vào mục submenu */
}

.submenu ul {
  display: flex;
  flex-direction: column;
}

.menu-bar-content ul li:hover .submenu {
  display: block;
  opacity: 1;
  /* Thêm hiệu ứng mượt */
  transition: opacity 0.3s ease;
}

.menu-bar ul li:hover {
  background-color: #fff;
  /* Màu nền khi hover vào menu */
  color: #333;
  border-radius: 5px;
}

/*--------------baner1--------------*/
.baner-one {
  margin-top: 30px;
  height: auto;
  width: 100%;
}

/*-------------silerproduct------------*/
.slider-product-one-content {
  background-color: #fed100;
  padding: 12px;
}

.slider-product-one-content-title h2 {
  font-style: italic;
  padding: 12px 0;
}

.slider-product-one-content-items {
  display: flex;
  justify-content: space-evenly;
}

.slider-product-one-content-item:hover>img {
  transform: translateY(-20px);
}

.slider-product-one-content-item {
  width: 19%;
  background-color: white;
  padding: 50px 12px 50px;
  border-radius: 5px;
  cursor: pointer;
}

.slider-product-one-content-item>img {
  width: 100%;
  transition: all 0.5s ease;
}

.slider-product-one-content-item-text {
  padding-top: 20px;
}

.slider-product-one-content-item-text li {
  margin-bottom: 6px;
}

.slider-product-one-content-item-text li:first-child {
  height: 30px;
  width: 70%;
  background-color: crimson;
  display: inline-block;
  margin-bottom: 20px;
  align-items: center;
  line-height: 30px;
  border-radius: 40px;
}

.slider-product-one-content-item-text p:first-child {
  color: white;
  font-size: 12px;
}

.slider-product-one-content-item-text li:first-child img {
  width: 30px;
  float: left;
  margin-right: 6px;
}

.slider-product-one-content-item-text li:nth-child(4) {
  text-decoration: line-through;
}

/*--------------------------slider------------*/
li {
  list-style: none;
}

.slider {
  padding: 20px 0;
  height: 350px;
}

.slider-content {
  display: flex;

  justify-content: space-between;
  /*đẩy các thẻ div về 2 phía*/
}

.slider-content-left {
  width: 70%;
}

.slider-content-left-top {
  width: 100%;
  height: 300px;
  position: relative;
}

/* .slider-content-left-top:hover i {
  opacity: 1;
} */
.slider-content-left-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-content-left-bottom {
  display: flex;
  justify-content: space-between;
  border: 2px solid #addd;
  border-top: none;
  height: 50px;
}

.slider-content-left-bottom li {
  width: 20%;
  text-align: center;
  cursor: pointer;
  padding: 6px 0;
  height: 100%;
  line-height: 38px;
  position: relative;
}

.slider-content-left-bottom li::before {
  display: block;
  content: "";
  position: absolute;
  height: 70%;
  width: 1px;
  background-color: #ddd;
  right: 0;
}

.slider-content-left-bottom li.active {
  border-top: 4px solid #fff200;
}

.slider-content-right {
  width: 30%;
  display: flex;
  flex-wrap: wrap;
  padding: 0;
}

.slider-content-right li {
  width: 50%;
  height: 50%;
  text-align: center;
  margin-bottom: 6px;
}

.slider-content-right li img {
  height: 170px;
  width: 170px;
}

.slider-content-left-top-btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.slider-content-left-top-btn i {
  color: #0f0f0f;
  font-size: 32px;
  height: 50px;
  width: 25px;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  align-self: center;
  border-radius: 5px;
  opacity: 0;
  transition: all 0.3s ease;
  cursor: pointer;
}

/*------------slider js1-------------*/
.slider-content-left-top img {
  position: absolute;
}

.slider-content-left-top a:nth-child(2) img {
  transform: translateX(100%);
}

.slider-content-left-top a:nth-child(3) img {
  transform: translateX(200%);
}

.slider-content-left-top a:nth-child(4) img {
  transform: translateX(300%);
}

.slider-content-left-top a:nth-child(5) img {
  transform: translateX(400%);
}

.slider-content-left-top-container {
  position: relative;
  overflow: hidden;
}

.slider-content-left-top-container:hover i {
  opacity: 1;
}

.slider-content-left-top {
  transition: all 0.3s ease;
}

/*--------product-gallery-----------*/
.product-gallery-one-content-product {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.product-gallery-one-content-product-item {
  width: 20%;
  padding: 50px 12px 12px;
  border: 1px solid #ddd;
  cursor: pointer;
}

.product-gallery-one-content-product-item:hover>img {
  transform: translateY(-20px);
}

.product-gallery-one-content-product-item:hover {
  box-shadow: 3px 3px 3px #ddd;
}

.product-gallery-one-content-product-item>img {
  width: 100%;
  transition: all 0.5s ease;
}

.product-gallery-one-content-product-item-text {
  padding-top: 20px;
}

.product-gallery-one-content-product-item-text li {
  margin-bottom: 6px;
}

.product-gallery-one-content-product-item-text li:first-child {
  display: flex;
  align-items: center;
  height: 30px;
  width: fit-content;
  max-width: 100%;
  background-color: rgb(241, 145, 164);
  margin-bottom: 20px;
  border-radius: 40px;
  padding: 0 10px;
  gap: 6px;
}

.product-gallery-one-content-product-item-text p:first-child {
  color: white;
  font-size: 12px;
}

.product-gallery-one-content-product-item-text li:first-child img {
  width: 30px;
  float: none;
  margin-right: 6px;
}

.product-gallery-one-content-product-item-text li:nth-child(4) {
  text-decoration: line-through;
}

/*--------------footer-------*/
.footer {
  background-color: #f5f5f5;
  padding: 30px;
  font-family: Arial, sans-serif;
  font-size: 14px;
  color: #333;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}

.footer-col {
  flex: 1;
  min-width: 220px;
  margin: 10px;
}

.footer-col h3 {
  font-weight: bold;
  margin-bottom: 10px;
}

.footer-col p,
.footer-col a {
  margin: 6px 0;
  color: #333;
  text-decoration: none;
}

.footer-col a:hover {
  text-decoration: underline;
}

.hotline {
  color: #0056d2;
  font-weight: bold;
}

.brand-logos img {
  height: 60px;
  margin: 5px 10px 5px 0;
  vertical-align: middle;
}

.logo-row {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.social-icons span {
  display: inline-block;
  margin-right: 15px;
  font-size: 14px;
  color: #0056d2;
}

.certification img {
  height: 30px;
  margin-right: 10px;
}