/* ---------- Gift finder row (finder + text) ---------- */

/* Even spacing: 50px above and below */
.gift-finder-row {
  padding-top: 50px !important;
  padding-bottom: 0 !important;
  margin-bottom: 50px !important;
}
.gift-finder-row > .col {
  padding-bottom: 0 !important;
}

/* Finder box: rounded card with a soft shadow */
.gift-finder-row .gf-finder .col-inner {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.08);
}
.gift-finder-row .gf-finder [class*="dfd-"] {
  max-width: 100% !important;
}

/* Text */
.gf-text p {
  font-family: lato-regular, sans-serif;
  font-weight: 700;
  font-size: 1.05em;
  color: #555;
  line-height: 1.75;
  margin-bottom: 0.6em;
}

/* ---------- Desktop ---------- */
@media (min-width: 850px) {
  .gift-finder-row {
    justify-content: center;
    align-items: center;
  }

  .gift-finder-row > .col {
    flex: 0 0 auto !important;
    max-width: none !important;
    width: auto !important;
  }

  .gift-finder-row > .col.gf-finder {
    width: 560px !important;
    max-width: 560px !important;
    flex: 0 0 560px !important;
  }

  .gift-finder-row .gf-text {
    max-width: 540px !important;
    padding-left: 50px;
  }

  .gf-button {
    display: table;
    margin-left: 0 !important;
    margin-top: 0;
  }
}

/* ---------- Tablet + mobile ---------- */
@media (max-width: 849px) {
  .gift-finder-row {
    padding-top: 30px !important;
    margin-bottom: 30px !important;
  }

  /* Space between the finder and the text when stacked */
  .gift-finder-row > .col.gf-finder {
    padding-bottom: 20px !important;
  }

  .gift-finder-row .gf-text .gf-button.button {
    display: table;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .gift-finder-row .gf-text br {
    display: none;
  }
}

/* ---------- Mobile ---------- */
@media (max-width: 549px) {
  .gf-text p {
    font-size: 0.95em;
  }
}