/* -----
  Gift Guide Pop-up (Meet the Minnesota Makers)
  Kept separate from styles.scss so a Sass rebuild doesn't remove it.
----- */

.gift-popup {
  border: none;
  padding: 0;
  max-width: 520px;
  width: calc(100% - 30px);
  background: #F2EBE1;
  border-radius: 6px;
  box-shadow: 0 12px 40px rgba(35, 48, 65, 0.35);
  color: #354759;
  overflow: hidden;
}
.gift-popup:focus {
  outline: none;
}
.gift-popup::backdrop {
  background: rgba(35, 48, 65, 0.6);
}
.gift-popup[open] {
  animation: giftPopupIn 0.35s ease-out;
}
@keyframes giftPopupIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .gift-popup[open] { animation: none; }
}

.gift-popup-inner {
  position: relative;
  padding: 42px 34px 30px 34px;
  border-top: 6px solid #233041;
  text-align: center;
}
@media (max-width: 576px) {
  .gift-popup-inner { padding: 38px 22px 24px 22px; }
}

.gift-popup h2 {
  margin: 0 0 16px 0;
  font-size: 2em;
}
@media (max-width: 576px) {
  .gift-popup h2 { font-size: 1.6em; }
}
.gift-popup p {
  margin: 0 0 14px 0;
}

/* Reset the site-wide button styles for the pop-up's own buttons */
.gift-popup button.gift-popup-close,
.gift-popup button.gift-popup-later {
  background: none;
  margin: 0;
  padding: 0;
  transform: none;
  cursor: pointer;
  font-family: "Nunito Sans", sans-serif;
  color: #354759;
}
.gift-popup button.gift-popup-close:hover,
.gift-popup button.gift-popup-later:hover {
  transform: none;
  color: #233041;
}

.gift-popup-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 2em !important;
  line-height: 1;
  width: 40px;
  height: 40px;
  justify-content: center;
}

.gift-popup .gift-popup-cta {
  margin: 24px auto 14px auto;
}
.gift-popup .gift-popup-cta a {
  font-size: 1.5em;
  padding: 17px 30px 15px 30px;
}
@media (max-width: 576px) {
  .gift-popup .gift-popup-cta a {
    font-size: 1.25em;
    padding: 15px 22px 13px 22px;
  }
}

.gift-popup button.gift-popup-later {
  margin: 0 auto;
  font-size: 0.95em;
  text-decoration: underline;
}
