.gift-table {
  --gift-ink: #2f2c28;
  --gift-soft: rgba(255, 255, 255, 0.88);
  --gift-line: rgba(0, 0, 0, 0.12);

  position: relative;
  padding: 96px 0 120px;
  color: var(--gift-ink);
  text-align: center;
  background: #ece9e5;
  overflow: hidden;
}

.gift-table::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../assets/images/mesaderegalos.png") center/cover no-repeat;
  opacity: 0.3;
  pointer-events: none;
}

.gift-table::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.75) 0%,
    rgba(255, 255, 255, 0.4) 40%,
    rgba(255, 255, 255, 0.65) 100%
  );
  pointer-events: none;
}

.gift-table__inner {
  position: relative;
  z-index: 1;
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.gift-table__header {
  display: grid;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto 48px;
}

.gift-table__title {
  font-family:
    "Gill Sans",
    "Trebuchet MS",
    "Avenir",
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: clamp(28px, 3vw, 36px);
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

.gift-table__subtitle {
  font-family:
    "Iowan Old Style",
    "Palatino Linotype",
    "Book Antiqua",
    Georgia,
    serif;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.7;
}

.gift-table__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gift-table__card {
  margin: 0;
  padding: 22px;
  border-radius: 18px;
  background: var(--gift-soft);
  border: 1px solid var(--gift-line);
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.gift-table__card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 980px) {
  .gift-table__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .gift-table {
    padding: 72px 0 96px;
  }

  .gift-table__title {
    letter-spacing: 0.22em;
  }

  .gift-table__cards {
    grid-template-columns: minmax(0, 1fr);
  }
}
