/* products header */

.products__header {
  margin: 4rem 0 6.4rem 0;
  font-size: 3.8rem;
  text-align: center;
  line-height: 1.2;
}

/* products main */

.products__main {
  margin-bottom: 10rem;
}

.products__box {
  border: 5px solid #ccc;
  border-radius: 2rem;
  max-width: 50%;
  transition: 0.5s;
}

.form {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8.4rem;
}

.products__search {
  color: #fff;
  font-size: 2.2rem;
  padding: 1.6rem 2rem;
  border-radius: 10rem;
  width: 40%;
  transition: 0.4s;
  border: none;
  background-color: #744fb6;
}

.products__search:focus {
  width: 45%;
  outline: none;
  box-shadow: none;
}

.products__search::placeholder {
  color: inherit;
  font-size: inherit;
}

.btn__search {
  margin-left: -6rem;
  background: none;
  border: none;
  cursor: pointer;
}

.products__icon {
  color: #fff;
  font-size: 3rem;
}

.products__container {
  overflow: hidden;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(35rem, 1fr));
  gap: 6rem;
}

.products__item-img {
  width: 100%;
  border-radius: 0.8rem;
}

.products__item {
  background-color: rgb(234, 226, 247);
  border-radius: 0.8rem;
  cursor: pointer;
  transition: all 0.4s;
}

.products__item:hover {
  transform: translateY(-0.8rem);
}

.products__content {
  padding: 2.4rem 0 2.4rem 2.4rem;
}

.products__details {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding-bottom: 3rem;
}

.products__details-tag,
.products__details-type,
.products__details-status {
  font-size: 1.6rem;
  color: #222;
  background-color: #f6f4f4;
  padding: 0.8rem 1.2rem;
  border-radius: 0.8rem;
}

.products__details-price {
  color: #ff922b;
  font-size: 2.4rem;
  padding-bottom: 2.4rem;
  font-weight: 500;
}

.products__details-name {
  color: #6640a8;
  font-size: 1.8rem;
  padding-bottom: 2rem;
}

/* *********************** */
/*   PAGINATION */
/************************  */

.page-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  transition: all 0.3s;
  margin-bottom: 3rem;
}

.page-box ul {
  font-size: 2.4rem;
  display: flex;
  gap: 2.4rem;
  list-style: none;
  align-items: center;
  justify-content: center;
}

.page-btn {
  height: 3.6rem;
  width: 3.6rem;
  background-color: #fff;
  border: 1px solid #643bae;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.page-btn:hover {
  background-color: #643bae;
}

.page-icon {
  height: 2.6rem;
  width: 2.6rem;
  stroke: #643bae;
}

.page-btn:hover .page-icon {
  stroke: #fff;
}

.page-link:link,
.page-link:visited {
  color: #333;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.2rem;
  width: 3.2rem;
  border-radius: 50%;
  transition: all 0.3s;
}

.page-link:hover,
.page-link:active,
.page-link.current-page {
  color: #fff;
  background-color: #643bae;
  border-radius: 50%;
}

/* *********************** */
/*    FOOTER   */
/************************  */

.footer {
  padding: 14rem;
  border-top: 1px solid #ddd;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  column-gap: 4.8rem;
}

.logo-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  width: 40%;
  margin-bottom: 3rem;
}

.social-links {
  list-style: none;
  display: flex;
  gap: 2.4rem;
}

.social-links ion-icon {
  color: #767676;
  height: 2.4rem;
  width: 2.4rem;
  margin-bottom: 3.2rem;
}

.social-links ion-icon:hover {
  color: #444;
}

.copyright {
  color: #767676;
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: auto;
}

.footer-heading {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 4rem;
}

.address {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  justify-content: center;
}
.address-link {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.address p:first-child {
  color: #767676;
  font-size: 1.6rem;
  margin-bottom: 2.4rem;
}

.footer-link:link,
.footer-link:visited {
  color: #767676;
  font-size: 1.6rem;
  text-decoration: none;
  transition: all 0.3s;
}

.footer-link:hover,
.footer-link:active {
  color: #444;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
}