* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  position: relative;
}
body {
  min-height: 100vh;
}
.productList {
  margin-bottom: 100px;
}
label {
  display: block;
}
footer {
  position: absolute;
  width: 100%;
  bottom: 0;
}
.char {
  left: -200px;
  z-index: 99;
}
.char img:first-child {
  width: 300px;
}
.char img:last-child {
  width: 120px;
}
#signBtn,
#regBtn {
  width: 108px;
  margin: auto;
}
.doneReg {
  width: 150px;
  height: 150px;
  position: absolute;
  background-color: blue;
  border-radius: 50%;
  top: -500px;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 1s;
  display: none;
}
.rotate {
  transition: transform 1s;
  transform: translate(-50%, -50%) rotate3d(0, 1, 1, 360deg);
}
.doneReg i {
  font-size: 100px;
  color: white;
}
.search i {
  position: absolute;
  right: -15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
}
#cartNumber {
  position: absolute;
  top: -8px;
  right: -5px;
  width: 15px;
  height: 15px;
  background-color: red;
  color: white;
  font-size: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.active {
  background-color: blue;
  color: white;
}
.spaces {
  padding: 5px;
  font-size: 12px;
  border-radius: 4px;
}
.storage {
  width: 300px;
}
i#clothe {
  position: absolute;
  z-index: 9999;
  right: 20px;
  top: 25px;
  font-size: 20px;
  cursor: pointer;
  color: black;
  display: none;
}
.productList img {
  width: 160px;
  height: 160px;
  margin: auto;
}
.myProducts {
  width: 300px;
  box-shadow: 0 0 10px #ddd;
  padding: 15px;
}
.myProducts .salary {
  width: 250px;
}
.products {
  padding: 100px 0;
}
.addAndMinus {
  width: 120px;
}
.numAndSalary {
  margin: 40px 0;
}
.addAndMinus {
  padding: 5px 10px;
  background-color: #f1f1f1;
}
.addAndMinus span:not(:last-child) {
  border-right: 1px solid #ddd;
  padding-right: 15px;
}
div#brand {
  font-size: 10px;
  margin-top: 5px;
  margin-bottom: 20px;
  letter-spacing: 1px;
  font-style: italic;
}
.products #currentImg {
  width: 400px;
  height: 300px;
  margin-bottom: 30px;
}
.products .add img {
  width: 80px;
  cursor: pointer;
}
.clotheTab {
  position: absolute;
  top: 100px;
  right: 0;
  font-size: 14px;
  color: gray;
  cursor: pointer;
}
.add {
  gap: 15px;
  flex-direction: row-reverse;
}
.imgProducts h2 {
  font-size: 12px;
}
.imgProducts div:nth-child(2) {
  margin-left: 10px;
}
.check {
  top: 50%;
  right: 10px;
  transform: translateY(-50%) rotate3d(1, 0, 1, 360deg);
  font-size: 12px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: blue;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.7s;
  display: none;
}
input {
  outline: none;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  appearance: none;
}

.btn {
  width: 50%;
  margin: auto;
}
.load {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.load span {
  display: block;
  width: 12px;
  height: 12px;
  background: orangered;
  border-radius: 50%;
  animation: up-down 0.9s infinite;
}

.load span:nth-child(2) {
  animation-delay: 0.3s;
}
.load span:last-child {
  animation-delay: 0.6s;
}
.appleVideo {
  height: 350px;
}
span#del {
  margin-left: 10px;
}

.productItem {
  border: 1px solid #eee;
  padding: 0 20px;
  border-radius: 7px;
}
@keyframes up-down {
  to {
    opacity: 0.2;
  }
}
@media (max-width: 991px) {
  .paymentCart {
    flex-direction: column;
  }
  .productItem {
    width: 85%;
  }
}

@media (max-width: 767px) {
  .add {
    flex-direction: column;
  }
  .imgDiv {
    flex-direction: row;
  }
  .category {
    position: absolute;
    z-index: 999;
    background-color: aqua;
    color: blueviolet;
    min-height: 100vh;
    top: 0;
    right: -250px;
    padding: 70px 30px;
    transition: 0.7s;
  }
  i#clothe {
    display: block;
  }
  .clotheTab {
    top: 120px;
  }
  .products #currentImg {
    width: 200px;
  }
  .products .add img {
    width: 50px;
  }
  .storageSpaces {
    margin-bottom: 100px;
    flex-wrap: wrap;
    margin-left: 10px;
  }
  .imgDiv {
    justify-content: flex-start;
  }
  .products {
    padding-top: 150px;
    margin-bottom: 150px;
  }
  .productList {
    margin-bottom: 150px;
  }
}
@media (max-width: 450px) {
  .products #currentImg {
    width: 150px;
  }
  .char img:last-child {
    width: 50px;
  }
}

@media (max-width: 320px) {
  .title {
    font-size: 10px;
  }
  .macBook {
    width: 120px;
  }
  .myProducts {
    width: auto;
  }
}
@media (max-width: 400px) {
  .addAndMinus {
    width: 100px;
  }
  .numAndSalary {
    width: 220px;
  }
  .spaces {
    font-size: 8px;
  }
}
@media (max-width: 500px) {
  .p_Item {
    flex-direction: column;
  }
  .productItem {
    align-items: flex-end;
  }
  .allSallary,
  .cardName,
  .phone,
  .mail {
    width: 80%;
  }
  .allSallary div {
    flex-direction: column;
    align-items: start;
    gap: 15px;
  }
  .country {
    flex-direction: column;
    gap: 20px;
  }
}
