#hero-sec {
  width: 100%;
  height: 316px;
  background: url(../assets/img/Shop/shop-main.png) center / cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#hero-sec h1 {
  font-size: 3rem;
  font-weight: 500;
}

#hero-sec p {
  font-size: 1rem;
  font-weight: 500;
}

#hero-sec span {
  font-size: 1rem;
  font-weight: 300;
}

main {
  width: 100%;
  height: auto;
  padding: 10rem 0;
}

main .continer {
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  gap: 10%;
}

main .products-info {
  width: fit-content;
  height: fit-content;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  row-gap: 50%;
}

main .products-info .products-details {
  width: 880px;
  height: 55px;
  background-color: #f9f1e7;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  border-radius: 10px;
}

main .products-details span {
  font-size: 1rem;
  font-weight: 600;
}

main .products-info .products {
  width: 100%;
  height:fit-content;
  position: relative;
}
main .products-info .product {
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
  margin: 10px 0;
  padding: 50px 0;
  border-bottom: 1px #ddd solid;
}



.quantity span{
  display: inline-block;
padding: 2px 6px;
font-size: 1rem;
  background-color: var(--maincolor);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  text-align: center;
}

.quantity span:nth-child(2){
  background-color: transparent;
  color: #000;
}

main .products-info .product img {
  width: 108px;
  height: 105px;
  object-fit: cover;
  position: absolute;
  left: -3%;
  background-color: #f9f1e7;
  border-radius: 5px;
 
}
main .products-info .product .icon {
  font-size: 22px;
  position: absolute;
  right: 0;
  cursor: pointer;
  padding: 0 5px;

}

main .products-info .product .icon:hover {
  transform: scale(1.3);
  transition: 0.3s;
}

main .product p {
  font-size: 1rem;
}

main .product input {
  width: 32px;
  height: 32px;
  padding: 5px 10px;
}

main .product input::placeholder {
  padding-left: 8px;
}

main .cart-totals {
  width: 390px;
  height: 390px;
  display: flex;
  flex-direction: column;
  background-color: #f9f1e7;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
}

main .cart-totals>div {
  width: 200px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

main .cart-totals div div {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

main .cart-totals h3 {
  font-size: 2rem;
  font-weight: 600;
  padding-top: 20px;
}

main .cart-totals p {
  font-size: 1rem;
  font-weight: 500;
}

main .cart-totals span {
  color: #9f9f9f;
  font-size: 1rem;
}

main .cart-totals .total {
  color: var(--maincolor);
  font-size: 1.25rem;
  font-weight: 500;
}

main .cart-totals button {
  width: 222px;
  height: 59px;
  font-size: 1.25rem;
  background-color: transparent;
  border: 1px solid black;
  outline: none;
  border-radius: 15px;
  margin-bottom: 70px;
  cursor: pointer;
  transition: 0.4s;
}

main .cart-totals button:hover {
  color: white;
  background-color: var(--maincolor);
  border: none;
  transform: scale(1.1);

}

#features-sec {
  background-color: #faf3ea;
}
#features-sec .container {
  width: 100%;
  height: 270px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}
#features-sec .container > div {
  display: flex;
  flex-direction: row;
}

#features-sec .feat-icons {
  width: 60px;
  height: 60px;
  padding-right: 10px;
}

#features-sec h4 {
  font-size: 1.563rem;
  font-weight: 600;
  line-height: 1.5em;
  color: #242424;
}

#features-sec p {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5em;
  color: #898989;
}

footer {
  width: 100%;
  display: flex;
  position: relative;
}

footer > div {
  display: flex;
  flex-direction: column;
  margin: 4% 5%;
}

footer h5 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 50px;
}

footer h6 {
  font-size: 1rem;
  font-weight: 500;
  color: #9f9f9f;
}

footer p {
  font-size: 1rem;
  font-weight: 500;
  margin-top: 40px;
  cursor: pointer;
  transition: 0.3s;
}

footer a:hover,
footer p:hover {
  color: var(--maincolor);
  transform: translateX(5px);
}

footer div:first-child {
  width: 30%;
}

footer div:nth-child(2) {
  width: 20%;
}

footer div:nth-child(3) {
  width: 20%;
}

footer div:nth-child(4) {
  width: 30%;
}

footer input {
  width: 130px;
  border: none;
  outline: none;
  border-bottom: 2px black solid;
  padding-bottom: 4px;
  margin-right: 20px;
}

footer .sub {
  display: flex;
  flex-direction: row;
  margin-top: 40px;
}

footer input::placeholder {
  font-size: 0.875rem;
  font-weight: 500;
  color: #9f9f9f;
}

footer button {
  width: fit-content;
  height: fit-content;
  background-color: transparent;
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  outline: none;
  border-bottom: 2px black solid;
  padding-bottom: 5px;
  cursor: pointer;
}

footer > div:last-child {
  width: 85%;
  position: absolute;
  bottom: -13%;
}

footer > div:last-child span {
  font-size: 1rem;
}


@media (max-width: 1231px) {
  header nav ul,
  header #header-icons,#sign {
    display: none;
  }

  header {
    justify-content: space-between;
    padding: 0 30px;
  }

  header .baricon {
    display: block;
  }
  main {
    padding: 5rem 0;
  }
  main .continer {
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  main .products-info {
    justify-content: space-around;
    margin-bottom: 80px;
  }
  
  #features-sec .container > div {
    flex-direction: column;
  }
}

@media (max-width: 992px) {
  main .products-info .products-details {
    width: 500px;
  }
  main .products-info .products img {
    width: 70px;
    height: auto;
    position: absolute;
    left: -5%;
  }

  #features-sec .feat-icons {
    width: 50px;
    height: 50px;
  }
  #features-sec h4 {
    font-size: 1.2rem;
  }
  #features-sec p {
    font-size: 0.9rem;
  }
  footer .sub {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
  }
}

@media (max-width: 768px) {
  #sidebar .sidebar-icons {
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
    height: 250px;
  }
  #features-sec .container {
    height: 150px;
    padding: 0 20px;
  }
  #features-sec .feat-icons {
    width: 40px;
    height: 40px;
  }
  #features-sec h4 {
    font-size: 1rem;
  }
  #features-sec p {
    font-size: 0.7rem;
  }

}

@media (max-width: 600px) {
  main .products-info .products-details {
    width: 380px;
  }
  main .products-details span {
    font-size: 0.8rem;
  }
  main .products-info .products img {
    width: 50px;
    left: -7%;
  }
  main .products-info .products .icon {
    font-size: 18px;
  }
  main .products p {
    font-size: 0.8rem;
  }
  
  main .products input {
    width: 25px;
    height: 25px;
    padding: 5px 10px;
  }
  main .cart-totals {
    width: 250px;
    height: 250px;
  }
  main .cart-totals>div {
    width: 200px;
    height: 70px;
  }
  main .cart-totals h3 {
    font-size: 1.7rem;
    padding-top: 15px;
  }
  main .cart-totals p {
    font-size: 0.8rem;
  }
  
  main .cart-totals span {
    font-size: 0.8rem;
  }
  main .cart-totals .total {
    color: var(--maincolor);
    font-size: 0.9rem;
  }
  
  main .cart-totals button {
    width: 152px;
    height: 45px;
    font-size: 1rem;
    margin-bottom: 40px;
    cursor: pointer;
    transition: 0.4s;
  }

  #features-sec .feat-icons {
    width: 30px;
    height: 30px;
  }
  #features-sec h4 {
    font-size: 0.9rem;
  }
  #features-sec p {
    font-size: 0.5rem;
  }
  footer > div {
    margin: 4% 3%;
  }

  footer h5 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  footer h6 {
    font-size: 0.8rem;
  }

  footer p {
    font-size: 0.8rem;
    margin-top: 30px;
  }
  footer input {
    width: 90px;
  }

  footer input::placeholder {
    font-size: 0.65rem;
  }
  footer button {
    font-size: 0.65rem;
  }
}

@media (max-width: 450px) {
  #sidebar ul li {
    padding: 30px;
  }
  #sidebar ul a {
    font-size: 18px;
  }
  main .products-info .products-details {
    width: 300px;
  }
  main .products-details span {
    font-size: 0.8rem;
  }
  main .products-info .products img {
    width: 38px;
    left: -6%;
  }
  main .products-info .products .icon {
    font-size: 15px;
  }
  main .products p {
    font-size: 0.7rem;
  }
  main .products .subtotal {
    font-size: 0.8rem;
  }
  
  main .products input {
    width: 20px;
    height: 20px;
    padding: 5px 8px;
  }
  footer input {
    width: 60px;
  }
}