.searchResults {
  padding: 10.4rem 0 8rem;
  min-height: calc(100vh - 5.2rem);
}

.searchResults h1 {
  margin-bottom: 4rem;
}

.loading {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 20rem;
  font-size: 1.6rem;
  color: #666;
}

.resultsList {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.resultItem {
  display: flex;
  gap: 1.6rem;
  padding: 1.6rem;
  border-radius: 0.8rem;
  background-color: var(--white);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.resultImage {
  width: 12rem;
  height: 12rem;
  min-width: 12rem;
  border-radius: 0.4rem;
  overflow: hidden;
  background-color: #f0f0f0;
}

.resultImage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.placeholder {
  width: 100%;
  height: 100%;
  background-color: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.resultContent {
  flex: 1;
  gap: 1.6rem;
}

.resultContent h2 {
  margin: 0 0 0.8rem 0;
  font-size: 1.8rem;
  color: #333;
  text-align: start;
  text-transform: unset;
  line-height: 1.2;
}

.resultContent p {
  font-size: 1.4rem;
  color: #666;
}

.category {
  display: inline-block;
  font-size: 1.2rem;
  background-color: #f0f0f0;
  color: #666;
  padding: 0.4rem 1.2rem;
  border-radius: 1.6rem;
}

.noResults {
  text-align: center;
  padding: 4rem 0;
  color: #666;
}

.noResults p:first-child {
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
}

.noResults p:last-child {
  font-size: 1.4rem;
}

.resultContent {
  display: flex;
}

.productDetails {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  justify-content: center;
}

.productDetails span:nth-of-type(2) {
  opacity: 0.6;
  display: inline-block;
  max-width: 6rem;
  line-height: 1.1;
  text-transform: uppercase;
  font-size: 1rem;
  transform: translateY(0.2rem);
}

.productDetails span {
  margin-right: 0.4rem;
}

.productDetails span:nth-of-type(1) {
  font-weight: 500;
  font-size: 1.4rem;
}

.productDetails p {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.imageWrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  max-width: 12rem;
}

@media (min-width: 768px) {
  .resultItem {
    flex-direction: column;
  }

  .resultImage {
    width: 100%;
    height: 16rem;
    min-width: unset;
  }

  .searchResults {
    padding: 12rem 0 8rem;
  }

  .searchResults h1 {
    text-align: center;
    max-width: unset;
  }

  .resultsList {
    max-width: 42rem;
    margin: 0 auto;
  }

  .resultContent {
    gap: 3.2rem;
  }
}
