#prdouct-category {
  margin: 56px 0;
}

#prdouct-category h2 {
  font-weight: 700;
  font-size: 64px;
  line-height: 74px;
  margin-bottom: 16px;
}
#prdouct-category p {
  max-width: 813px;
  margin-bottom: 32px;
  line-height: 30px;
}

.prdouct-category-container {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: dense;
  grid-auto-rows: 300px;
  gap: 24px;
}

.prdouct-category-card {
  grid-column-end: span 1;
  display: flex;
  justify-content: center;
  background: #f0efef;
}

.prdouct-category-card img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.prdouct-category-card-hover {
  position: absolute;
  height: 100%;
  width: 100%;
  background: rgba(1, 1, 1, 0.4);
  z-index: 1;
  top: 0;
  left: 0;
  color: var(--color-on-primary);
  border-radius: var(--radius-md);
  background-image: url("../../../images/icons/mais.svg");
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  cursor: pointer;
  transition: var(--transition-speed);
}

.prdouct-category-card:hover .prdouct-category-card-hover {
  opacity: 1;
}

.prdouct-category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.prdouct-category-card {
  border-radius: var(--radius-md);
  background-color: #f0efef;
}

.prdouct-category-card-hover-text {
  color: var(--color-on-primary);
  position: absolute;
  bottom: 25px;
  align-items: baseline;
  justify-content: space-between;
  width: 100%;
  padding: 0 25px;
  opacity: 0;
  transition: var(--transition-speed);
  z-index: 1;
}

.prdouct-category-card:hover .prdouct-category-card-hover-text {
  opacity: 1;
}

.prdouct-category-card-hover-text h4 {
  color: var(--color-on-primary);
}

/* Layout 2 */
.prdouct-category-container-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, 30%);
  gap: 24px;
  justify-content: center;
}
.card-products {
  border-radius: var(--radius-md);
}
.card-products img {
  border-radius: var(--radius-md);
  max-width: 100%;
}
#prdouct-category .card-products-text,
#products-responsive .card-products-text {
  background: #ffffff;
  box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.04),
    0px 0px 1px rgba(0, 0, 0, 0.04);
  border-radius: 10px;
  margin: 0 auto;
  width: 83%;
  padding: 24px;
  text-align: center;
  top: -50px;
  height: 100px;
  display: flex;
  align-items: center;
  z-index: 1;
  justify-content: center;
}

#prdouct-category .card-products-text h3,
#products-responsive .card-products-text h3 {
  font-size: 20px;
}

.card-products::after {
  top: 0;
  content: "";
  position: absolute;
  width: 360px;
  height: 340px;
  background: transparent;
  display: block;
  transition: var(--transition-speed);
  border-radius: var(--radius-md);
}

.card-products:hover::after {
  background: rgba(0, 0, 0, 0.4);
}

.prdouct-category-card-hover-text span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  line-height: 16px;
  max-height: 32px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 10px 0;
}

.prdouct-category-card-hover-text a {
  margin-bottom: 10px;
  font-weight: 400;
  font-size: 12px;
}
