/* v74 — compact mobile footer; v73 image/history presentation preserved. */
.site-footer .footer-top {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
  align-items: start;
  text-align: center;
}
.site-footer .footer-top > div { min-width: 0; grid-column: auto; }
.site-footer .footer-intro .brand { display: inline-flex; justify-content: center; max-width: 100%; margin-inline: auto; }
.site-footer .footer-intro > p, .site-footer .footer-note { margin-inline: auto; text-align: center; }
.site-footer .footer-top > div:not(:first-child) > a { display: block; margin: 8px 0; }
.site-footer .footer-bottom { justify-content: center; align-items: center; flex-wrap: wrap; gap: 16px 28px; text-align: center; }
.site-footer .footer-bottom > span { flex: 0 1 auto; order: initial; }
.site-footer .footer-bottom .text-link { justify-content: center; }
@media (max-width: 1000px) {
  .site-footer .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .site-footer .footer-top > .footer-intro { grid-column: 1 / -1; }
  .menu-dialog nav a > svg.icon { display: none; }
}
@media (max-width: 640px) {
  .site-footer .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 12px; padding-bottom: 30px; }
  .site-footer .footer-top > div { grid-column: auto; }
  .site-footer .footer-top > .footer-intro { grid-column: 1 / -1; }
  .site-footer .footer-top h3 { margin-bottom: 12px; font-size: 11px; line-height: 1.45; letter-spacing: .025em; }
  .site-footer .footer-top > div:not(:first-child) > a { margin: 7px 0; font-size: 12px; line-height: 1.5; }
  .site-footer .footer-bottom { flex-direction: column; }
  .site-footer .footer-bottom > span { flex: none; max-width: 100%; }
}

.redemption-card { grid-template-columns: 160px minmax(0, 1fr); align-items: start; }
.redemption-card__image { width: 100%; min-height: 0; aspect-ratio: 1; align-self: start; background: #f3eee6; border: 1px solid rgba(61,47,37,.08); }
.redemption-card__image img { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; object-position: center; }
.profile-redemption-visual img { object-fit: contain; }
.redemption-card__head h2 { overflow-wrap: anywhere; }
.redemption-card__actions { flex-wrap: wrap; }
.profile-photo { image-orientation: from-image; }
@media (max-width: 760px) {
  .redemption-card { grid-template-columns: 120px minmax(0, 1fr); }
}
@media (max-width: 540px) {
  .redemption-card { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 20px; }
  .redemption-card__image { max-width: 320px; aspect-ratio: 4 / 3; justify-self: center; }
  .redemption-card__head { gap: 12px; }
  .redemption-card__head h2 { font-size: 23px; line-height: 1.25; }
}

/* Keep the four existing home slots and their responsive layout. */
.home-rewards-controls { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
.home-rewards-controls[hidden] { display: none; }
.home-rewards-controls button { min-height: 42px; }
.home-rewards-controls .icon-button { border: 1px solid var(--line); border-radius: 50%; }
.home-rewards-controls .rewards-page-label { color: var(--stone); font-size: 12px; min-width: 82px; text-align: center; }
#universo .category-card.is-reward-changing img { animation: reward-arrive .45s ease-out; }
@keyframes reward-arrive { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  #universo .category-card.is-reward-changing img { animation: none; }
}

/* Only the mobile drawer changes; desktop navigation keeps its current design. */
.menu-dialog { overflow-y: auto; overscroll-behavior: contain; }
.menu-dialog nav { margin: 24px 0 18px; }
.menu-dialog nav a { justify-content: flex-start; gap: 14px; padding: 10px 0; font-size: 23px; line-height: 1.45; }
.menu-dialog .menu-nav-symbol { display: block; flex: 0 0 22px; width: 22px; height: 22px; color: #d8bb89; }
.menu-dialog nav a[aria-current="page"] .menu-nav-symbol { color: #f4d596; }
.menu-session-logout { margin: 0 0 20px; }
.menu-logout-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; padding: 11px 16px; border: 1px solid rgba(216,187,137,.35); border-radius: 12px; background: rgba(216,187,137,.06); color: inherit; font: 600 13px/1.4 var(--ui-font); cursor: pointer; }
.menu-logout-button:hover { background: rgba(216,187,137,.13); }
.menu-logout-button:disabled { opacity: .65; cursor: wait; }
