@import url("https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400;0,500;0,600;1,400;1,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lora", serif;
}

a {
  text-decoration: none;
  color: black;
}

a:hover {
  color: #333;
}

.navbar {
  z-index: 999;
}

.wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.item img {
  width: 50px;
  object-fit: cover;
}

.center a {
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

.right {
  display: flex;
  gap: 20px;
  align-items: center;
}

.icons {
  display: flex;
  gap: 20px;
  cursor: pointer;
}

.menu {
  position: absolute;
  top: 80px;
  right: 0px;
  width: 300px;
  height: 100vh;
  background-color: #f6f6f6;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  border: none;
  border-left: 1px solid black;
  transition: all 0.4ms ease;
}

.menu .item {
  font-size: 1.8rem;
  font-weight: bold;
  cursor: pointer;
}

/* FEATURED PRODUCTS */
.featured {
  margin: 50px 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.featured .top {
  display: flex;
  align-items: center;
}

.featured .top h2 {
  flex: 1;
}

.featured .top p {
  flex: 1;
  text-align: justify;
}

.featured .bottom {
  width: 100%;
}
.featuredWrapper {
  padding: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.featuredWrapper a {
  display: block;
  margin: 0px auto;
  box-shadow: 10px 10px 5px 0px rgba(219, 190, 190, 0.75);
  -webkit-box-shadow: 10px 10px 5px 0px rgba(219, 190, 190, 0.75);
  -moz-box-shadow: 10px 10px 5px 0px rgba(219, 190, 190, 0.75);
}

.featuredWrapper a img {
  width: 200px;
  height: 250px;
  object-fit: cover;
}
.featuredWrapper a .featuredcontent {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.featuredcontent .title {
  font-size: 18px;
  font-weight: bold;
}

.price {
  display: flex;
  gap: 20px;
}

.price .oldPrice {
  font-size: 14px;
  text-decoration: line-through;
}

.price .newPrice {
  font-size: 14px;
}

/* FOOTER */
.footer {
  margin: 100px 200px 0px 200px;
  display: flex;
  flex-direction: column;
}

.footer .top {
  display: flex;
  gap: 50px;
}

.footer .top .item {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  text-align: justify;
}

.footer .top .item h1 {
  font-size: 16px;
  color: rgb(93, 91, 91);
}

.footer #contact .bottom {
  display: flex;
  width: 100%;
  gap: 0px;
}

.footer #contact .bottom input {
  width: 60%;
  border: none;
  outline: none;
  border-bottom: 1px solid #2879fe;
}

.footer #contact .bottom button {
  width: 40%;
  border: none;
  background-color: #2879fe;
  color: white;
}

.footer #contact .bottom input::placeholder {
  font-size: 12px;
}

.footer .top .item span,
p {
  font-size: 12px;
  color: gray;
}

.footer .bottom {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.footer .bottom .right {
  display: flex;
  align-items: center;
  flex: 1;
}

.footer .bottom .right .logo {
  font-size: 18px;
  font-weight: bold;
  color: #2879fe;
}

.footer .bottom .fleft {
  flex: 1;
}

.footer .bottom .fleft img {
  height: 50px;
  max-width: 100%;
}
/* footer end */

/* Modal body */
.form {
  display: flex;
  flex-direction: column;
  padding: 10px;
  gap: 20px;
}

.form textarea,
input::placeholder {
  font-size: 12px;
  color: gray;
}

.form input {
  border: none;
  border-bottom: 2px solid #2879fe;
  padding: 10px 12px;
  outline: none;
}

.form textarea {
  resize: none;
  width: 100%;
  border: none;
  border-bottom: 1px solid #2879fe;
  outline: none;
}

.form .inp {
  display: flex;
  gap: 10px;
}

.form .radio {
  display: flex;
  gap: 5px;
}

.form .radio label {
  font-size: 13px;
  color: gray;
  cursor: pointer;
}

.form button {
  width: 100%;
  padding: 8px;
  background-color: #2879fe;
  color: white;
  border: none;
}

.form span {
  margin-top: 15px;
}

.form span a {
  color: #2879fe;
}

/* MEDIA QUERY */
@media screen and (min-width: 320px) and (max-width: 480px) {
  .featured {
    margin-top: 0px;
    align-items: center;
    margin: 0px;
    padding: 0px 30px;
  }

  .featured .top {
    flex-direction: column;
  }
  .featured .top p {
    display: none;
  }
  .featured .bottom a {
    width: 100%;
    height: 100%;
  }

  .featured .bottom a img {
    width: 100%;
    object-fit: cover;
  }
}

@media screen and (min-width: 320px) and (max-width: 768px) {
  .left {
    display: none;
  }
  .right {
    display: none;
  }

  .owl-nav {
    top: 5%;
  }

  .footer {
    margin: 30px 0px 0px 0px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column-reverse;
    padding: 10px;
  }

  .footer .top {
    flex-direction: column;
    align-items: center;
  }
  .footer .top p {
    text-align: justify;
  }
  .footer .bottom {
    flex-direction: column;
  }
  .footer .bottom .right {
    flex-direction: column;
  }

  .footer #about,
  #contact {
    width: 80%;
    display: flex;
    align-items: center;
  }

  .footer #contact .bottom {
    flex-direction: column;
    gap: 10px;
  }

  .footer #contact .bottom input {
    width: 100%;
  }

  .footer #contact .bottom button {
    width: 100%;
  }
}

@media screen and (min-width: 480px) and (max-width: 768px) {
  .featuredWrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .hamburger {
    display: none;
  }
  .footer .top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}
