/* =========================
   SESSÃO PRESENTES
========================= */

.presentes {
  margin-top: 42px; /* 42px abaixo do dresscode */
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* HEADER */

.presentes-header {
  width: 100%;
  max-width: 1024px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.presentes-title {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 24px;
  color: #141414;
  text-align: center;
}

.presentes-filter {
  justify-self: start;
}

.presentes-filter-label {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  margin-right: 8px;
  color: #141414;
}

.presentes-filter-select {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  padding: 4px 8px;
  border: 1px solid #141414;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
}

.presentes-header-spacer {
  justify-self: end;
}

/* GRID */

.presentes-grid {
  margin-top: 24px; /* 24px abaixo do título */
  display: grid;
  grid-template-columns: repeat(3, 253px);
  gap: 64px;
  justify-content: center;
}

/* CARD */

.presente-card {
  width: 253px;
  height: 319px;
  border-radius: 8px;
  border: 1px solid #FF0080;
  background: transparent;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* IMAGEM */

.presente-card-img {
  width: 100%;
  height: 150px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;

  background: #fff; /* fundo neutro */
}

.presente-card-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* CONTEÚDO */

.presente-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
  text-align: center;
}

/* TÍTULO */

.presente-card-title {
  width: 224px;
  height: 48px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  color: #000000;
  line-height: 1.3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* PREÇO */

.presente-card-price {
  margin-top: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: #000000;
}

/* BOTÃO */

.presente-card-btn {
  margin-top: 12px;
  width: 160px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid #141414;
  background: transparent;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #141414;
  cursor: pointer;
  transition: all 0.2s ease;
}

.presente-card-btn:hover {
  background: #141414;
  color: #ffffff;
}

/* BOTÃO VER MAIS */

.presentes-more {
  margin-top: 48px; /* 48px abaixo da segunda linha */
  background: transparent;
  border: 1px solid #434343;
  border-radius: 8px;
  padding: 10px 28px;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #434343;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.presentes-more:hover {
  background: #434343;
  color: #ffffff;
}

/* =========================
   MOBILE PRESENTES
========================= */

/* =========================
   MOBILE – PRESENTES AJUSTADO
========================= */

@media (max-width: 768px) {

  .presentes {
    padding: 0 20px;
  }

  .presentes-header {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .presentes-filter {
    justify-self: center;
  }

  .presentes-header-spacer {
    display: none;
  }

  /* GRID */

  .presentes-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-top: 24px;
  }

  /* CARD */

  .presente-card {
    width: 92%;
    max-width: 340px;
    height: auto;
    padding-bottom: 18px;
  }

  /* IMAGEM */

  .presente-card-img {
    height: 160px;
  }

  .presente-card-img img {
    max-height: 140px;
  }

  /* TÍTULO */

  .presente-card-title {
    width: 90%;
    height: auto;
    font-size: 16px;
    margin-top: 10px;
  }

  /* PREÇO */

  .presente-card-price {
    font-size: 18px;
    margin-top: 6px;
  }

  /* BOTÃO */

  .presente-card-btn {
    width: 150px;
    height: 38px;
    font-size: 15px;
    margin-top: 12px;
  }

  .presentes-more {
    margin-top: 32px;
  }
}