/* A secondary action below the Madrid pack purchase controls. */
.gift-share {
  display: grid;
  justify-items: start;
  gap: 2px;
  margin: 16px 0 0;
  font-size: .9rem;
  line-height: 1.45;
}
.gift-share-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  padding-block: 5px;
  color: var(--forest, #214d42);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.gift-share-link svg { flex: none; }
.gift-share-link:hover { color: var(--forest-deep, #183a31); text-decoration-thickness: 2px; }
.gift-share-link:focus-visible { outline: 3px solid var(--forest, #214d42); outline-offset: 4px; border-radius: 3px; }
.gift-share-note { color: var(--ink-soft, #4a5a52); font-size: .85rem; }

/* The grandparents panel is confined to the pack purchase controls. */
.grandparents-panel { margin-top: 16px; padding: 18px; max-width: 36rem; border: 1px solid var(--forest, #214d42); border-radius: 12px; background: var(--paper, #fff8ec); }
.grandparents-panel[hidden] { display: none; }
.grandparents-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.grandparents-heading button { border: 0; background: none; color: inherit; font-size: 1.5rem; min-width: 44px; min-height: 44px; cursor: pointer; }
.grandparents-panel fieldset { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; padding: 0; border: 0; }
.grandparents-panel legend { font-weight: 700; margin-bottom: 6px; }
.grandparents-panel fieldset label { display: flex; align-items: center; gap: 6px; min-height: 44px; }
.grandparents-panel textarea { display: block; width: 100%; box-sizing: border-box; min-height: 11rem; padding: 12px; margin: 8px 0 14px; font: inherit; color: inherit; border: 1px solid var(--forest, #214d42); border-radius: 6px; background: #fff; resize: vertical; }
.grandparents-panel :focus-visible { outline: 3px solid var(--forest, #214d42); outline-offset: 3px; }
