div.top-img {
  position: relative;
  background-image: url(../../images/bac.jpg);
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}
@media (width < 1000px) {
  div.top-img { background-position: left; }
}

section.content {
  position: absolute;
  letter-spacing: 2px;
  transform: translateY(-50%);
  top: 50%;
  font-size: 2rem;
  margin-right: 10%;

  & .lifestyle {
    text-transform: uppercase;
    font-size: 2rem;
    font-family: 'Cairo', sans-serif;
  }
  & .men {
    text-transform: uppercase;
    margin-top: 0.7rem;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
  }
  & .sale {
    margin-block: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Cairo', sans-serif;
  }
  & .sale span { color: var(--numberColor); }
  & .get-free {
    font-size: 1.4rem;
    font-family: 'Cairo', sans-serif;
  }
  & button {
    background-color: var(--bodyFont);
    letter-spacing: 0;
    border-radius: 20px;
    padding: 0.6rem 1.6rem;
    margin-top: 0.9rem;
    font-size: 0.9rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 700;
    color: var(--bodyBG);
    cursor: pointer;
  }
  & button:hover { background-color: #333; }
}

main .recommended {
  margin: 2.3rem 0 1rem 0;
  font-family: 'Cairo', sans-serif;
}
@media (width < 600px) {
  main .recommended {
    margin: 2.3rem 0 1rem 0;
    font-size: 1.5rem;
  }
}

main section.proudcts.flex {
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem 1rem;
  padding-bottom: 3rem;

  & article.card {
    border-radius: 5px;
    box-shadow: 0px 2px 1px -1px rgba(0,0,0,0.2),
      0px 1px 1px 0px rgba(0,0,0,0.14),
      0px 1px 3px 0px rgba(0,0,0,0.12);
    transition: 0.2s;
  }
  & article.card:hover { scale: 1.01; }

  & img {
    width: 260px;
    height: 220px;
    object-fit: cover;
    border-radius: 5px 5px 0 0;
    display: block;
  }
  & .content {
    width: 260px;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
  }
  & .content .flex {
    justify-content: space-between;
    padding-inline: 0.4rem;
    margin-top: 0.5rem;
    margin-bottom: 0.7rem;
  }
  & .content .title {
    padding-top: 0.7rem;
    padding-inline: 0.4rem;
    font-family: 'Cairo', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
  }
  & .content .cat-label {
    padding-inline: 0.4rem;
    font-size: 0.72rem;
    color: #999;
    margin-top: 0.3rem;
    font-family: 'Cairo', sans-serif;
  }
  & .content .descrption {
    margin-top: 0.4rem;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    padding-inline: 0.4rem;
    line-height: 1.3rem;
    color: #555;
    font-family: 'Cairo', sans-serif;
  }
  & .content .price {
    font-size: 0.88rem;
    font-weight: bold;
    color: var(--numberColor);
    font-family: 'Cairo', sans-serif;
  }
  & .content button {
    font-size: 0.78rem;
    padding: 0.44rem 0.8rem;
    border-radius: 5px;
    color: var(--bodyBG);
    background-color: var(--buttonColor);
    gap: 0.33rem;
    font-family: 'Cairo', sans-serif;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
  }
  & .content button:hover { background-color: #1565c0; }
  & .content button.added { background-color: #2e7d32; }
  & .content .fa-solid { color: var(--bodyBG); }
}
