* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
ul {
  list-style: none;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
}
.container {
  max-width: 1200px;
  margin: auto;
}
header {
  width: 100%;
  text-align: center;
  overflow: hidden;
}

header img {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------Nav---------------------------- */
nav {
  margin-top: 0;
  background-color: rgb(144, 5, 5);
}

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

nav ul li,
a {
  color: white;
  font-size: 12px;
}
nav ul li:nth-child(2) a {
  color: #fff200;
  font-size: 15px;
}
nav ul li:nth-child(2) i {
  color: #fff200;
  font-size: 15px;
  margin-left: 6px;
}
nav ul li:nth-child(3) {
  position: relative;
}
nav ul li:nth-child(3) input {
  height: 25px;
  width: 100%;
  border-radius: 5px;
  border: none;
  padding-left: 6px;
  outline: none;
}

nav ul li:nth-child(3) i {
  position: absolute;
  font-size: 15px;
  right: 12px;
  color: #322;
  line-height: 30px;
  cursor: pointer;
}

nav ul li:nth-child(4) button {
  height: 30px;
  padding: 0 12px;
  cursor: pointer;
  background-color: transparent;
  color: white;
  border: 1px solid #bfbebe;
  border-radius: 5px;
  transition: all 0.3s ease;
}

nav ul li:nth-child(4) i {
  margin-right: 6px;
}

nav ul li:nth-child(4) button:hover {
  background-color: rgb(156, 153, 153);
}
nav ul li:nth-child(5) {
  text-align: center;
}
nav ul li:nth-child(5):hover a {
  color: #fff200;
}
nav ul li:nth-child(6) a {
  color: #fff200;
}
.btn-content {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 100%;
  background-color: #fff200;
  display: block;
  float: left;
  margin-right: 8px;
}

.btn-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-color: #eee300;
  /* z-index: -1; */
  display: block;
  pointer-events: none;
  animation: btnAni 1s linear infinite;
  display: inline-block;
}

@keyframes btnAni {
  from {
    opacity: 0.4;
  }
  to {
    transform: scale(3);
    opacity: 0;
  }
}

nav ul li:nth-child(7):hover a {
  color: #fff200;
}

nav ul li:nth-child(8):hover a {
  color: #fff200;
}
nav ul li:nth-child(9):hover a {
  color: #fff200;
}
nav ul li:nth-child(10):hover a {
  color: #fff200;
}

/* ==============menu bar================== */
.menu-bar {
  background-color: #fed100;
}

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

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

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

.menu-container > ul > li {
  padding: 15px 6px;
  transition: all 0.3s ease;
}
.menu-bar ul li:hover {
  background-color: white;
}

.menu-container > ul > li:nth-child(7) {
  position: relative;
}

.menu-container > ul > li:nth-child(7)::before {
  position: absolute;
  content: "Giảm 5%";
  display: block;
  height: 13px;
  width: 45px;
  background-color: #f51212;
  border-radius: 5px;
  right: -25px;
  top: 3px;
  font-size: 10px;
  padding-left: 3px;
  color: white;
  z-index: 1;
}

.menu-container > ul > li:nth-child(7)::after {
  position: absolute;
  content: "";
  background-color: #f51212;
  height: 7px;
  width: 7px;
  display: block;
  top: 10px;
  right: 10px;
  transform: rotate(45deg);
}

/* =================address form======= */
.address-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: #322;
  display: none;
  z-index: 999;
}

.address-form-content {
  width: 450px;
  height: 500px;
  background-color: #fff;
  border-radius: 5px;
}

.address-form-content form {
  padding: 12px 40px;
}

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

.address-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;
  color: #333;
  border-radius: 5px;
}
.address-form-content form p {
  font-size: 16px;
}
.address-form-content form input,
select {
  height: 45px;
  display: block;
  width: 100%;
  margin-top: 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 6px;
}

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

/* ==========submenu================= */
.menu-bar ul li {
  position: relative;
}
.submenu {
  position: absolute;
  background-color: #fcf9f9;
  width: 300px;
  height: auto;
  left: 0;
  top: 100%;
  padding: 12px;
  display: none;
  z-index: 10;
}

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

.submenu ul li {
  padding: 6px 0;
}

.submenu ul li:hover a {
  color: #1ca3d9;
}

.submenu ul li:hover {
  background: none;
}
.menu-container ul li:hover .submenu {
  display: block;
}

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

.slider-container {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
}

.slider-container-left {
  width: 70%;
}
.slider-container-left-top {
  width: 100%;
  height: 300px;
  position: relative;
  transition: all 0.3s ease;
}

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

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

.slider-container-left-bottom li {
  width: 20%;
  text-align: center;
  cursor: pointer;
  padding: 6px 0;
  height: 100%;
  line-height: 38px;
  position: relative;
  border-top: 4px solid #fff;
  border-bottom: 4px solid #fff;
}

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

.slider-container-left-bottom li.active {
  border-top: 4px solid #fff200f4;
  font-weight: bold;
}
.slider-container-right {
  width: 30%;
  display: flex;
  flex-wrap: wrap;

  justify-content: space-around;
}

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

.slider-container-right li img {
  width: 170px;
  height: 170px;
  border-radius: 10px;
}

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

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

/* -------------------------Slider js 1--------------- */
.slider-container-left-top img {
  position: absolute;
}
.slider-container-left-top a:nth-child(2) img {
  transform: translateX(100%);
}

.slider-container-left-top a:nth-child(3) img {
  transform: translateX(200%);
}
.slider-container-left-top a:nth-child(4) img {
  transform: translateX(300%);
}
.slider-container-left-top a:nth-child(5) img {
  transform: translateX(400%);
}
.slider-container-left-top-container {
  border-radius: 15px;
  position: relative;
  overflow: hidden;
}
.slider-container-left-top-container:hover i {
  opacity: 1;
}

/* ==========banner 1============== */
.banner-one {
  margin-top: 40px;
  margin-bottom: 20px;
}

.banner-one img {
  width: 100%;
}

/*================ Slider product 1----------------- */

.slider-product-content {
  background-color: rgb(144, 5, 5);
  padding: 12px 0;
}
.slider-product-content-title h2 {
  font-style: italic;
  color: #fff;
  padding: 12px;
}
.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: #fff;
  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: 20px;
  width: 70%;
  background-color: #de1c05;
  display: inline-block;
  margin-bottom: 20px;
  align-items: center;
  line-height: 20px;
  border-radius: 40px;
}

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

.slider-product-one-content-item-text li:first-child img {
  width: 20px;
  float: left;
  margin-right: 6px;
}
.slider-product-one-content-item-text li:nth-child(2):hover {
  color: #de1c05;
}
.slider-product-one-content-item-text li:nth-child(4) a {
  text-decoration: line-through;
  color: #333;
}
.slider-product-one-content-item-text li:nth-child(5) {
  font-weight: bold;
}
.slider-product-one-content-item-text li:last-child i {
  color: #de1c05;
}

/* ================Slider-product============== */
.slider-product-content-container {
  position: relative;
  overflow: hidden;
}
.slider-product-content-btn {
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.slider-product-content-btn i {
  color: #333;
  font-size: 32px;
  cursor: pointer;
  height: 50px;
  width: 25px;
  background-color: #fefefe;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  border-radius: 5px;
  transition: all 0.5s ease;
}

.slider-product-one-content-items-content {
  position: relative;
  height: 540px;
  transition: all 0.5s ease;
}
.slider-product-one-content-items {
  position: absolute;
}

.slider-product-one-content-items:nth-child(2) {
  transform: translateX(100%);
}

.slider-product-one-content-items:nth-child(3) {
  transform: translateX(200%);
}

/* ===========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 #f0ecec;
  cursor: pointer;
}
.product-gallery-one-content-product-item:hover {
  box-shadow: 3px 3px 3px 5px #de1c05;
}
.product-gallery-one-content-product-item:hover > img {
  transform: translateY(-20px);
}
.product-gallery-one-content-product-item > img {
  width: 100%;
  transition: all 0.5s ease;
}

.product-gallery-on-content-product-item-text {
  padding-top: 20px;
}
.product-gallery-on-content-product-item-text li {
  margin-bottom: 6px;
}
.product-gallery-on-content-product-item-text li:first-child {
  height: 20px;
  width: 70%;
  background-color: #de1c05;
  display: inline-block;
  margin-bottom: 20px;
  align-items: center;
  line-height: 20px;
  border-radius: 40px;
}

.product-gallery-on-content-product-item-text li:first-child p {
  color: #fff;
  font-size: 12px;
}

.product-gallery-on-content-product-item-text li:first-child img {
  width: 20px;
  float: left;
  margin-right: 6px;
}
.product-gallery-on-content-product-item-text li:nth-child(2):hover {
  color: #de1c05;
}
.product-gallery-on-content-product-item-text li:nth-child(4) a {
  text-decoration: line-through;
  color: #333;
}
.product-gallery-on-content-product-item-text li:nth-child(5) {
  font-weight: bold;
}
.product-gallery-on-content-product-item-text li:last-child i {
  color: #de1c05;
}

.product-gallery-one {
  margin-top: 30px;
}

.product-gallery-on-content-title {
  display: flex;
  color: #f51212;
  justify-content: space-between;
  margin-bottom: 20px;
}

.product-gallery-on-content-title ul li a {
  color: #de1c05;
  font-size: 12px;
  transition: all 0.3s ease;
}

.product-gallery-on-content-title ul {
  display: flex;
}
.product-gallery-on-content-title ul li {
  padding: 6px 12px;
  border: 2px solid #ddd;
  border-radius: 40px;
  margin-left: 12px;
}

.product-gallery-on-content-title ul li:hover a {
  color: #eee300;
}

/* ========================product gallery two============== */
.product-gallery-two {
  margin-top: 30px;
}

.product-gallery-two-content {
  display: flex;
  padding-right: 12px;
  background-color: #910a10;
}

.product-gallery-two-content-right {
  width: 20%;
}

.product-gallery-two-content-right img {
  width: 100%;
}

.product-gallery-two-content-left {
  width: 80%;
  display: flex;
  flex-direction: column;
}

.product-gallery-two-content-left-top {
  height: 70px;
  display: flex;
  justify-content: space-between;
  text-align: center;
  align-items: center;
  color: #ddd;
}

.product-gallery-two-content-left-top li {
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 5px;
}

.product-gallery-two-content-left-top .active {
  background-color: #eee300;
  color: #d21d2e;
}

.product-gallery-two-content-left-top li:last-child {
  border: none;
}
.product-gallery-two-content-left-top li:last-child a {
  font-size: 16px;
}

.product-gallery-two-content-left-top li:last-child i {
  margin-left: 3px;
}

.product-gallery-two-content-left-bottom {
  background-color: #fff;
  display: flex;
  border-radius: 5px;
}

.product-gallery-two-content-left-bottom-item {
  width: 25%;
  padding: 50px 20px 20px;
  border-right: 1 solid #bbb;
  cursor: pointer;
  border: 1px solid #f0ecec;
}
.product-gallery-two-content-left-bottom :hover {
  box-shadow: 3px 3px 3px 5px #de1c05;
}
.product-gallery-two-content-left-bottom-item img {
  width: 100%;
}

.product-gallery-two-content-left-bottom-item li {
  margin-bottom: 6px;
}
