/* Design tokens from tokens.json + checkout font */
:root {
  --bg: #ffffff;
  --bg-muted: #f5f5f5;
  --text: #232323;
  --text-secondary: #424242;
  --text-muted: #6f6f6f;
  --green: #274a34;
  --green-brand: #4a9d44;
  --green-dark: #0b291a;
  --green-deeper: #012d19;
  --green-light: #ccf88e;
  --purple: #642878;
  --purple-light: #eccff6;
  --teal: #a7e3e3;
  --blue-link: #1c456b;
  --border: #e9e9e9;
  --shadow: rgba(0, 0, 0, 0.08) 0 2px 8px;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --font: "DM Sans", ui-sans-serif, system-ui, sans-serif;
  --max-width: 640px;
  --page-gutter: 24px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 24px;
  --space-lg: 28px;
  --space-xl: 36px;
  --space-2xl: 56px;
  --sticky-bar-offset: 14rem;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-xs: 13px;
  --font-weight-bold: 800;
  --font-weight-semibold: 700;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: #ffffff;
  font-size: 15px;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  background: #ffffff;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

strong,
b {
  font-weight: var(--font-weight-bold);
}

img:not(.site-logo) {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: var(--space-xs) var(--space-sm);
  background: var(--green);
  color: var(--bg);
  z-index: 100;
  text-decoration: none;
}

.skip-link:focus {
  left: var(--space-md);
  top: var(--space-md);
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  max-width: var(--max-width);
  margin: 0 auto;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid transparent;
}

.site-header__search {
  position: absolute;
  left: var(--space-md);
}

.site-header__logo {
  text-decoration: none;
  display: flex;
  justify-content: center;
}

.site-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 56px;
  max-width: min(240px, 70vw);
  object-fit: contain;
}

.site-header__logo--text {
  text-decoration: none;
}

.site-brand-text {
  font-size: clamp(1.1rem, 4vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green-dark);
  line-height: 1.2;
}

.site-header__actions {
  display: flex;
  gap: var(--space-xs);
  position: absolute;
  right: var(--space-md);
}

.icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-pill);
  color: var(--text);
}

.icon-btn:hover {
  background: var(--bg-muted);
}

.icon-btn__icon {
  font-size: 1.35rem;
  line-height: 1;
}

/* Campaign layout */
.campaign {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* Divisor entre secções do main — use class="no-divider" para omitir */
.campaign > * + *:not(.no-divider) {
  border-top: 0.5rem solid #f5f5f5;
}

/* Hero slider */
.hero {
  position: relative;
}

.hrt-hide-min-md.hero-media-viewer_curvedOverlayContainer__QFY48 {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 4;
  pointer-events: none;
  line-height: 0;
}

.hero-media-viewer_curvedOverlayContainer__QFY48 .animated-curved-overlay_curvedOverlay__A9SJx {
  display: block;
  width: 100%;
  height: clamp(20px, 5vw, 32px);
}

.hero-media-viewer_curvedOverlayContainer__QFY48 path {
  fill: var(--bg);
}

@media (min-width: 768px) {
  .hrt-hide-min-md {
    display: none;
  }
}

.hero__slider {
  position: relative;
  height: clamp(360px, 108vw, 520px);
  overflow: hidden;
  background: var(--bg-muted);
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero__slider.is-dragging {
  cursor: grabbing;
}

.hero__slider.is-dragging .hero__overlay {
  pointer-events: none;
}

.hero__track {
  display: flex;
  height: 100%;
  transition: transform 0.45s ease;
}

.hero__slide {
  position: relative;
  flex: 0 0 100%;
  height: 100%;
  min-width: 100%;
  overflow: hidden;
  background: #1a1a1a;
}

.hero__slide--photo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__slide-blur {
  position: absolute;
  inset: -32px;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(28px) saturate(1.05);
  transform: scale(1.12);
  pointer-events: none;
}

.hero__slide-blur::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.hero__slide-blur--gif {
  inset: 0;
  filter: none;
  transform: none;
  background: #1a1a1a;
}

.hero__slide-blur--gif::after {
  display: none;
}

.hero__slide--cover .hero__slide-img,
.hero__slide--cover img {
  object-fit: cover;
}

.hero__slide--cover .hero__slide-blur {
  display: none;
}

.hero__slide img,
.hero__slide-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

.hero__slider--story-active {
  background: var(--green-dark);
}

.hero__slide--story {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm) var(--space-md);
  background: transparent;
  overflow: hidden;
}

.hero-story {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 80%;
  min-height: 0;
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-story__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: 0;
  padding: 14px 14px 12px;
}

.hero-story__title {
  margin: 0 0 8px;
  font-size: clamp(15px, 4vw, 19px);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text);
  flex-shrink: 0;
}

.hero-story__text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-secondary);
  white-space: pre-line;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 7;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}

.hero-story__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.hero-story__avatars {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-story__avatars li + li {
  margin-left: -8px;
}

.hero-story__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
}

.hero-story__avatar--purple {
  background: var(--purple-light);
  color: var(--purple);
}

.hero-story__avatar--blue {
  background: #d4e8fc;
  color: #1c456b;
}

.hero-story__avatar--brand {
  background: var(--green-light);
  color: var(--green-deeper);
}

.hero-story__donors {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-story__read-more {
  align-self: flex-start;
  flex-shrink: 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 624.9375rem;
  background: var(--green-dark);
  color: var(--green-light);
  font-size: 14px;
  font-weight: var(--font-weight-bold);
  cursor: pointer;
  transition: filter 0.15s;
}

@media (max-height: 520px) {
  .hero-story__text {
    -webkit-line-clamp: 5;
    font-size: 12px;
  }
}

.hero-story__read-more:hover {
  filter: brightness(1.05);
}

.hero__slider--story-active .hero__overlay {
  opacity: 0;
  visibility: hidden;
}

.hero__slider--story-active .hero__dot {
  background: rgba(35, 35, 35, 0.28);
}

.hero__slider--story-active .hero__dot.is-active {
  background: var(--text);
}

.hero__slider:not(.hero__slider--story-active) .hero__dot {
  background: rgba(255, 255, 255, 0.5);
}

.hero__slider:not(.hero__slider--story-active) .hero__dot.is-active {
  background: var(--bg);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: var(--space-md);
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    transparent 35%,
    transparent 55%,
    rgba(0, 0, 0, 0.65) 100%
  );
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hero__overlay.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.hero__organizer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  background: var(--bg-muted);
  border: 1.5px solid var(--bg);
}

.hero__avatar--initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  object-fit: unset;
}

.hero__organizer-name {
  color: var(--bg);
  font-size: 12px;
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero__title {
  margin: 0;
  padding-bottom: 48px;
  width: 100%;
  color: var(--bg);
  font-size: clamp(21px, 5vw, 28px);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.hero__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding-bottom: 8px;
  z-index: 2;
}

.hero__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

/* Larger invisible hit area without changing the visible dot size */
.hero__dot::before {
  content: "";
  position: absolute;
  inset: -14px;
}

.hero__dot.is-active {
  background: var(--bg);
  transform: scale(1.15);
}

/* Campaign bar (stats + primary actions) */
.campaign-bar {
  background: var(--bg);
}

.campaign-bar .stats {
  padding-bottom: var(--space-sm);
}

.campaign-bar .actions--primary {
  padding-top: 0;
}

.campaign-bar .actions--primary .btn {
  width: 100%;
}

.campaign-bar .actions--primary .btn--outline[data-share-open] {
  background: #274A34;
  color: #CCF88E;
  border-color: #274A34;
}

.campaign-bar .actions--primary .btn--outline[data-share-open]:hover {
  background: #1f3c2a;
  color: #CCF88E;
  border-color: #1f3c2a;
  filter: none;
}

.campaign-bar.is-fixed {
  position: fixed;
  bottom: calc(8px + env(safe-area-inset-bottom, 0px));
  left: 8px;
  right: 8px;
  z-index: 15;
  margin: 0 auto;
  max-width: calc(var(--max-width) - 16px);
  border-radius: 1rem;
  box-shadow: none;
  overflow: hidden;
}

.campaign-bar.is-fixed .stats {
  gap: 8px;
  padding: 8px 10px 12px;
}

.campaign-bar.is-fixed .actions--primary {
  padding: 0 8px 8px;
  gap: 8px;
}

@media (min-width: 768px) {
  .campaign-bar.is-fixed {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: calc(min(var(--max-width), 100%) - 16px);
  }
}

/* Stats */
.stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md) 8px;
}

.stats__progress {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  min-width: 64px;
  min-height: 64px;
}

#progress-fill {
  transition: stroke-dasharray 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#progress-indicator {
  transition: transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.donations-sheet__progress-svg circle:last-child {
  transition: stroke-dasharray 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hrt-progress-circle-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
}

.hrt-progress-circle--medium {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.hrt-progress-circle-svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  transform: translateZ(0);
}

.hrt-progress-circle-track {
  stroke: var(--border);
}

.hrt-progress-circle-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.stats__percent {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: #232323;
  line-height: 1;
}

.hrt-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.stats__text {
  flex: 1;
  min-width: 0;
}

.stats__raised {
  margin: 0 0 6px;
  font-size: clamp(18px, 5vw, 23px);
  line-height: 1.32;
  color: var(--text-muted);
  white-space: normal;
}

.campaign-bar.is-fixed .stats__raised {
  font-size: clamp(15px, 4vw, 19px);
}

.stats__raised-highlight {
  color: var(--text);
  font-weight: var(--font-weight-bold);
}

.stats__goal {
  color: var(--text-muted);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.stats__donors {
  margin: 0;
  min-height: 1.4em;
  font-size: var(--font-size-sm);
  line-height: 1.35;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: opacity 0.35s ease;
}

.campaign-bar.is-fixed .stats__donors {
  font-size: clamp(13px, 3.2vw, 15px);
}

.stats__donors.is-fading {
  opacity: 0;
}

.actions--secondary {
  padding-bottom: var(--space-xl);
}

.actions--secondary .btn {
  width: 100%;
}

/* Buttons */
.actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: 0 var(--space-md) var(--space-lg);
}

.actions--single {
  grid-template-columns: 1fr;
}

.actions--single .btn {
  width: 100%;
}

.btn,
.icon-btn {
  border-radius: 624.9375rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px var(--space-md);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-decoration: none;
  text-align: center;
  transition: filter 0.15s, background 0.15s;
}

.btn--compact {
  padding: 8px 14px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn--donate {
  background: var(--green-light);
  color: var(--green-deeper);
}

.btn--donate:hover {
  filter: brightness(0.96);
}

.btn--share {
  background: var(--green);
  color: #ccf88e;
}

.btn--share:hover {
  background: var(--green-dark);
}

.btn--outline {
  background: var(--bg);
  color: var(--text);
  border: 1.5px solid var(--border);
  font-weight: var(--font-weight-semibold);
}

.btn--outline:hover {
  background: var(--bg-muted);
}

.btn--full {
  width: 100%;
  margin-top: var(--space-sm);
}

/* Story */
.story {
  padding: 0 var(--space-md) var(--space-lg);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-secondary);
}

.story__body {
  color: #2a2a2a;
}

.story p {
  margin: 0 0 1em;
}

.story__body h2,
.story h2 {
  margin: 1.25em 0 0.5em;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  color: var(--text);
}

.story__toggle {
  display: block;
  margin: var(--space-sm) 0 0;
  padding: var(--space-xs) 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
  background: none;
  border: none;
  cursor: pointer;
}

.story__divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: var(--space-xl) 0;
}

/* Donations */
.donations {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.donations__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.donations__title-group {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  min-width: 0;
}

.donations__header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  color: var(--text);
}

.donations__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  color: var(--text);
  background: var(--bg-muted);
  border-radius: 4px;
}

.donations__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.donation-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 14px 0;
}

.donation-item__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text);
  font-size: var(--font-size-base);
  font-weight: 400;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.donation-item__avatar--photo {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.donation-item__avatar--photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-item__avatar--anon {
  background: var(--bg-muted);
  color: var(--text);
}

.donation-item__icon {
  font-size: 1.25rem;
  line-height: 1;
}

.donation-item__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.donation-item__name {
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 1.3;
  color: var(--text);
}

.donation-item__meta {
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text);
}

.donation-item__meta strong {
  font-weight: var(--font-weight-bold);
}

.donation-item__offline {
  color: var(--text-muted);
  font-weight: 400;
}

.donations .btn--full {
  margin-top: var(--space-md);
  font-weight: var(--font-weight-bold);
}

/* Share impact */
.share-impact {
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.share-impact__heading {
  margin: 0 0 var(--space-sm);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text);
}

.share-impact__text {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text);
}

.share-impact__text strong {
  font-weight: var(--font-weight-bold);
}

.share-impact__photo {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  margin: 0 auto;
  border-radius: 0.75rem;
  object-fit: cover;
}

/* Organizer */
.organizer {
  --organizer-avatar-size: 48px;
  padding: var(--space-lg) var(--space-md) var(--space-xl);
}

.organizer h2,
#organizer-heading {
  margin: 0 0 var(--space-lg);
  font-size: 19px;
  font-weight: 800;
  color: var(--text);
}

.organizer__profile {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.organizer__avatar {
  width: var(--organizer-avatar-size);
  height: var(--organizer-avatar-size);
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text);
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.organizer__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  padding-top: 2px;
}

.organizer__name {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: 1.35;
  color: var(--text);
}

.organizer__role,
.organizer__location {
  font-weight: 400;
  font-size: var(--font-size-base);
  line-height: 1.35;
  color: var(--text);
}

.organizer__message {
  margin-left: calc(var(--organizer-avatar-size) + var(--space-sm));
  padding: 10px 20px;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
}

/* Campaign meta (data · Outras · Doação protegida) */
.campaign-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: var(--space-lg) var(--space-md);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text);
}

.campaign-meta__sep {
  color: var(--text);
  user-select: none;
}

.campaign-meta__link {
  color: var(--text);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.campaign-meta__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  background: var(--teal);
  border-radius: 4px;
  color: var(--blue-link);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
}

.campaign-meta__badge-icon {
  font-size: 0.875rem;
  line-height: 1;
}

.report-section {
  display: flex;
  justify-content: center;
  padding: var(--space-2xl) var(--space-md);
}

.report-fundraiser {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: 400;
  line-height: 1.4;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.report-fundraiser__icon {
  flex-shrink: 0;
  font-size: 1rem;
  line-height: 1;
}

/* Trust */
.trust {
  background: var(--bg-muted);
  padding: 80px 0;
}

.trust__heading {
  margin: 0 0 var(--space-md);
  padding: 0 var(--space-md);
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text);
}

.trust__image {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0;
}

/* Footer nav */
.footer-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md);
  background: var(--bg);
  border-top: 1px solid #d8d8d8;
}

.footer-nav__group {
  margin-bottom: var(--space-xl);
}

.footer-nav__heading {
  display: block;
  margin: 0 0 var(--space-sm);
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--text);
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
}

.footer-nav__heading:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav__list li {
  margin-bottom: var(--space-md);
}

.footer-nav__list li:last-child {
  margin-bottom: 0;
}

.footer-nav__list a {
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
}

.footer-nav__list a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-nav__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
}

.footer-nav__more .footer-nav__chevron {
  font-size: 1rem;
  line-height: 1;
  transition: transform 0.2s ease;
}

.footer-nav__more[aria-expanded="true"] .footer-nav__chevron {
  transform: rotate(180deg);
}

.footer-nav__resources {
  margin-top: var(--space-md);
}

.footer-nav__resources.is-collapsed {
  display: none;
}

/* Footer */
.site-footer {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: var(--space-2xl) var(--space-md) calc(var(--space-2xl) + var(--sticky-bar-offset));
  background: var(--bg);
  border-top: 1px solid #d8d8d8;
}

.site-footer__locale-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
  width: 100%;
  margin: 0 0 var(--space-xl);
  padding: 12px var(--space-md);
  font-family: var(--font);
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 624.9375rem;
  cursor: pointer;
}

.site-footer__flag.fis {
  width: 1.25rem;
  line-height: 1;
  border-radius: 50%;
  overflow: hidden;
}

.site-footer__social-link .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}

.site-footer__apps {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.site-footer__app-link {
  display: inline-flex;
  line-height: 0;
  text-decoration: none;
}

.site-footer__app-badge {
  display: block;
  width: 120px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.site-footer__copy {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text-muted);
}

.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.site-footer__links a {
  font-size: var(--font-size-base);
  font-weight: 400;
  line-height: 1.35;
  color: var(--text);
  text-decoration: none;
}

.site-footer__links a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.site-footer__privacy-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  flex-wrap: wrap;
}

.site-footer__privacy-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--blue-link);
}

/* Message bottom sheet */
.message-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.message-sheet:not([hidden]) {
  pointer-events: auto;
}

.message-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.message-sheet.is-open .message-sheet__backdrop {
  opacity: 1;
}

.message-sheet__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
  max-height: min(92vh, 720px);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.message-sheet.is-open .message-sheet__panel {
  transform: translateY(0);
}

.message-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md);
  border-bottom: 1px solid #d8d8d8;
  position: relative;
  z-index: 3;
  flex-shrink: 0;
  background: var(--bg);
}

.message-sheet__loading {
  flex: 1;
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  background: var(--bg);
}

.message-sheet.is-loading .message-sheet__loading {
  display: flex;
}

.message-sheet.is-loading .message-sheet__content {
  display: none;
}

.message-sheet__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid #e9e9e9;
  border-top-color: var(--green-brand);
  border-radius: 50%;
  animation: sheet-spin 0.8s linear infinite;
}

@keyframes sheet-spin {
  to {
    transform: rotate(360deg);
  }
}

.message-sheet__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.message-sheet__header-user {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  min-width: 0;
}

.message-sheet__header-name {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text);
}

.message-sheet__header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.message-sheet__shield {
  font-size: 1.125rem;
  line-height: 1;
  color: var(--text);
}

.message-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--text);
}

.message-sheet__close:hover {
  background: var(--bg-muted);
}

.message-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.message-sheet__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-2xl) var(--space-lg) var(--space-xl);
  text-align: center;
  overflow-y: auto;
}

.message-sheet__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #ffc94a;
  color: var(--text);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.message-sheet__avatar--sm {
  width: 32px;
  height: 32px;
  font-size: var(--font-size-sm);
}

.message-sheet__avatar--lg {
  width: 72px;
  height: 72px;
  margin-bottom: var(--space-md);
  font-size: 24px;
}

.message-sheet__title {
  margin: 0 0 var(--space-md);
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  color: var(--text);
}

.message-sheet__disclaimer {
  margin: 0;
  max-width: 320px;
  font-size: var(--font-size-sm);
  line-height: 1.45;
  color: var(--text-muted);
}

.message-sheet__disclaimer a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.message-sheet__footer {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  border-top: 1px solid #d8d8d8;
}

.message-sheet__user-icon {
  flex-shrink: 0;
  font-size: 1.375rem;
  line-height: 1;
  color: var(--text-muted);
}

.message-sheet__input {
  flex: 1;
  min-width: 0;
  height: 44px;
  padding: 0 var(--space-md);
  font-family: var(--font);
  font-size: var(--font-size-base);
  color: var(--text);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 624.9375rem;
  outline: none;
}

.message-sheet__input::placeholder {
  color: var(--text-muted);
}

.message-sheet__input:focus {
  border-color: #b8b8b8;
}

.message-sheet__send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  color: var(--text-muted);
}

.message-sheet__send:hover {
  background: var(--bg-muted);
  color: var(--text);
}

.message-sheet__send .bi {
  font-size: 1.125rem;
  line-height: 1;
}

body.message-sheet-open,
body.donations-sheet-open,
body.info-sheet-open,
body.backredirect-sheet-open,
body.share-sheet-open,
body.checkout-loading-open {
  overflow: hidden;
  padding-bottom: 0;
  background: #ffffff;
}

/* Keep home-indicator zone white while sheets are open (iOS) */
.message-sheet.is-open::after,
.donations-sheet.is-open::after,
.info-sheet.is-open::after,
.backredirect-sheet.is-open::after,
.share-sheet.is-open::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: env(safe-area-inset-bottom, 0px);
  background: #ffffff;
  z-index: 3;
  pointer-events: none;
}

/* Donations bottom sheet */
.donations-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.donations-sheet:not([hidden]) {
  pointer-events: auto;
}

.donations-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.donations-sheet.is-open .donations-sheet__backdrop {
  opacity: 1;
}

.donations-sheet__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: var(--max-width);
  height: min(92vh, 820px);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.donations-sheet.is-open .donations-sheet__panel {
  transform: translateY(0);
}

.donations-sheet__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-md) var(--space-sm);
  flex-shrink: 0;
}

.donations-sheet__title-group {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.donations-sheet__header h2 {
  margin: 0;
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--text);
}

.donations-sheet__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 22px;
  padding: 0 6px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  color: var(--text);
  background: var(--bg-muted);
  border-radius: 4px;
}

.donations-sheet__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-muted);
  color: var(--text);
}

.donations-sheet__close:hover {
  background: #ececec;
}

.donations-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.donations-sheet__tabs {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 0 var(--space-md) var(--space-md);
  flex-shrink: 0;
}

.donations-sheet__tab {
  padding: 8px 16px;
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  background: transparent;
  border-radius: 624.9375rem;
}

.donations-sheet__tab.is-active {
  color: var(--bg);
  background: var(--text);
}

.donations-sheet__scroll {
  flex: 1;
  overflow-y: auto;
  padding: 0 var(--space-md);
  -webkit-overflow-scrolling: touch;
}

.donations-sheet__list {
  list-style: none;
  margin: 0;
  padding: 0 0 var(--space-md);
}

.donations-sheet__list .donation-item {
  padding: 12px 0;
}

.donations-sheet__list .donation-item.is-hidden,
.donations-sheet__promo.is-hidden {
  display: none;
}

.donations-sheet__promo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin: var(--space-sm) 0;
  padding: var(--space-sm) var(--space-md);
  background: #ecf9d9;
  border-radius: var(--radius-sm);
}

.donations-sheet__promo-image {
  flex-shrink: 0;
  width: 48px;
  height: auto;
  object-fit: contain;
}

.donations-sheet__promo-text {
  flex: 1;
  margin: 0;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
  color: var(--green-dark);
}

.donations-sheet__promo-btn {
  flex-shrink: 0;
  padding: 8px 14px;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--bg);
  text-decoration: none;
  background: var(--green);
  border-radius: 624.9375rem;
}

.donations-sheet__footer {
  flex-shrink: 0;
  padding: var(--space-md);
  border-top: 1px solid #d8d8d8;
  background: var(--bg);
}

.donations-sheet__stats {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
}

.donations-sheet__progress {
  position: relative;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.donations-sheet__progress-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.donations-sheet__progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: var(--font-weight-bold);
  color: var(--green-brand);
}

.donations-sheet__raised {
  margin: 0;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: var(--text);
}

.donations-sheet__raised-highlight {
  font-weight: var(--font-weight-bold);
}

.donations-sheet__goal {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.donations-sheet__cta {
  width: 100%;
  background: var(--green-light);
  color: var(--green-dark);
}

.donations-sheet__cta:hover {
  filter: brightness(0.97);
}

/* Info bottom sheet (shallow) */
.info-sheet {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.info-sheet:not([hidden]) {
  pointer-events: auto;
}

.info-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.info-sheet.is-open .info-sheet__backdrop {
  opacity: 1;
}

.info-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.info-sheet.is-open .info-sheet__panel {
  transform: translateY(0);
}

.info-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md) var(--space-sm);
}

.info-sheet__title {
  margin: 0;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  line-height: 1.3;
  color: var(--text);
}

.info-sheet__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -4px -4px 0 0;
  padding: 0;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.info-sheet__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.info-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.info-sheet__body {
  padding: 0 var(--space-md) var(--space-xl);
}

.info-sheet__body p {
  margin: 0;
  font-size: var(--font-size-base);
  line-height: 1.5;
  color: var(--text-muted, #505050);
}

/* Backredirect bottom sheet */
.backredirect-sheet {
  position: fixed;
  inset: 0;
  z-index: 58;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.backredirect-sheet:not([hidden]) {
  pointer-events: auto;
}

.backredirect-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.backredirect-sheet.is-open .backredirect-sheet__backdrop {
  opacity: 1;
}

.backredirect-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.backredirect-sheet.is-open .backredirect-sheet__panel {
  transform: translateY(0);
}

.backredirect-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md) var(--space-sm);
}

.backredirect-sheet__title {
  margin: 0;
  font-size: clamp(21px, 5vw, 26px);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text);
}

.backredirect-sheet__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -4px -4px 0 0;
  border-radius: 50%;
}

.backredirect-sheet__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.backredirect-sheet__body {
  padding: 0 var(--space-md) var(--space-xl);
}

.backredirect-sheet__text {
  margin: 0 0 var(--space-md);
  font-size: var(--font-size-base);
  line-height: 1.45;
  color: var(--text-secondary);
}

.backredirect-sheet__actions {
  display: grid;
  gap: var(--space-sm);
}

.backredirect-sheet__cta,
.backredirect-sheet__stay {
  width: 100%;
}

/* Share bottom sheet */
.share-sheet {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
}

.share-sheet:not([hidden]) {
  pointer-events: auto;
}

.share-sheet__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.share-sheet.is-open .share-sheet__backdrop {
  opacity: 1;
}

.share-sheet__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  max-height: min(92dvh, 720px);
  overflow-y: auto;
  background: var(--bg);
  border-radius: 1.25rem 1.25rem 0 0;
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.08);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.share-sheet.is-open .share-sheet__panel {
  transform: translateY(0);
}

.share-sheet__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg) var(--space-md) var(--space-sm);
}

.share-sheet__title {
  margin: 0;
  font-size: clamp(21px, 5vw, 26px);
  font-weight: var(--font-weight-bold);
  line-height: 1.15;
  color: var(--text);
}

.share-sheet__close {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: -4px -4px 0 0;
  padding: 0;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.share-sheet__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.share-sheet__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.share-sheet__body {
  padding: 0 var(--space-md) var(--space-xl);
}

.share-sheet__link-box {
  display: flex;
  align-items: stretch;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: var(--space-xl);
}

.share-sheet__link-text {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
}

.share-sheet__link-label {
  display: block;
  margin-bottom: 4px;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--text);
}

.share-sheet__link-url {
  display: block;
  font-size: var(--font-size-sm);
  line-height: 1.35;
  color: var(--text-muted);
  word-break: break-all;
}

.share-sheet__copy {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  font-family: var(--font);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  color: var(--text);
  background: var(--bg);
  border: none;
  border-left: 1.5px solid var(--border);
  cursor: pointer;
  white-space: nowrap;
}

.share-sheet__copy:hover {
  background: var(--bg-muted);
}

.share-sheet__copy .bi {
  font-size: 1rem;
  line-height: 1;
}

.share-sheet__heading {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  line-height: 1.25;
  color: var(--text);
}

.share-sheet__subtext {
  margin: 0 0 var(--space-lg);
  font-size: var(--font-size-sm);
  line-height: 1.45;
  color: var(--text-muted);
}

.share-sheet__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-md) var(--space-sm);
  margin: 0;
  padding: 0;
  list-style: none;
}

.share-sheet__option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  font-family: var(--font);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
}

.share-sheet__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
}

.share-sheet__icon .bi {
  line-height: 1;
}

.share-sheet__icon--facebook { background: #1877f2; }
.share-sheet__icon--whatsapp { background: #25d366; }
.share-sheet__icon--messenger { background: linear-gradient(135deg, #00b2ff, #006aff, #a033ff); }
.share-sheet__icon--story {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
}
.share-sheet__icon--email { background: #6f6f6f; }
.share-sheet__icon--linkedin { background: #0a66c2; }
.share-sheet__icon--x { background: #000; }
.share-sheet__icon--qr,
.share-sheet__icon--widget { background: #6f6f6f; }

.share-sheet__view {
  display: block;
}

.share-sheet__view[hidden] {
  display: none !important;
}

.share-subview__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 0;
}

.share-subview__back,
.share-subview__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  color: var(--text);
  background: none;
  border: none;
  border-radius: 50%;
  cursor: pointer;
}

.share-subview__back:hover,
.share-subview__close:hover {
  background: rgba(0, 0, 0, 0.06);
}

.share-subview__back .bi,
.share-subview__close .bi {
  font-size: 1.125rem;
  line-height: 1;
}

.share-subview__body {
  padding: 12px 16px 24px;
}

.share-subview__body--qr {
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

.share-subview__title {
  margin: 0 0 12px;
  font-size: clamp(20px, 4.5vw, 25px);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--text);
}

.share-subview__lead {
  margin: 0 0 20px;
  font-size: var(--font-size-sm);
  line-height: 1.5;
  color: var(--text-muted);
}

.share-story__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #f3f3f3;
}

.share-story__qr-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 12px;
  background: #f3f3f3;
  border-right: 1.5px solid var(--border);
}

.share-story__qr-box {
  padding: 10px;
  background: #fff;
  border-radius: 8px;
}

.share-story__qr-img {
  display: block;
  width: 140px;
  height: 140px;
}

.share-story__qr-label {
  margin: 12px 0 0;
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  color: var(--text-muted);
  text-align: center;
}

.share-story__preview-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  background: #ececec;
}

.share-story__phone {
  width: 100%;
  max-width: 150px;
  aspect-ratio: 9 / 16;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.share-story__phone-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 10px 8px 12px;
  background: linear-gradient(180deg, #0b291a 0%, #274a34 100%);
  text-align: center;
}

.share-story__paw {
  font-size: 0.85rem;
  color: #acf86c;
  margin-bottom: 6px;
}

.share-story__photo {
  width: 100%;
  height: 42%;
  object-fit: cover;
  border-radius: 8px;
}

.share-story__campaign-title {
  margin: 8px 0 2px;
  font-size: 11px;
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: #fff;
}

.share-story__organizer {
  margin: 0 0 8px;
  font-size: 9px;
  color: rgba(255, 255, 255, 0.85);
}

.share-story__badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
}

.share-story__badge {
  display: inline-block;
  padding: 3px 8px;
  font-size: 8px;
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-pill);
  line-height: 1.2;
}

.share-story__badge--donate {
  background: #ffc94a;
  color: #232323;
}

.share-story__badge--raised {
  background: #ccf88e;
  color: #0b291a;
}

.share-story__progress {
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 34px;
  height: 34px;
}

.share-story__progress-svg {
  width: 100%;
  height: 100%;
}

.share-story__progress-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: var(--font-weight-bold);
  color: #acf86c;
}

.share-qr__poster {
  margin: 0 auto 16px;
  padding: 28px 24px 24px;
  max-width: 320px;
  text-align: center;
  background: linear-gradient(180deg, #274a34 0%, #0b291a 100%);
  border-radius: 16px;
  color: #fff;
}

.share-qr__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
  font-size: 1.35rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.02em;
}

.share-qr__brand .bi {
  font-size: 1.1rem;
  color: #acf86c;
}

.share-qr__code-wrap {
  display: inline-block;
  padding: 12px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 12px;
}

.share-qr__code {
  display: block;
  width: 200px;
  height: 200px;
}

.share-qr__scan {
  margin: 0 0 8px;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.share-qr__quote {
  margin: 0;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  line-height: 1.35;
}

.share-qr__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  max-width: 320px;
  margin: 0 auto;
}

.share-qr__btn {
  width: 100%;
  padding: 14px 12px;
}

@media (max-width: 420px) {
  .share-story__panel {
    grid-template-columns: 1fr;
  }

  .share-story__qr-col {
    border-right: none;
    border-bottom: 1.5px solid var(--border);
  }

  .share-story__preview-col {
    padding: 20px 16px;
  }

  .share-story__phone {
    max-width: 180px;
  }
}

.share-sheet__badge {
  position: absolute;
  top: -2px;
  right: calc(50% - 34px);
  padding: 2px 6px;
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  line-height: 1;
  color: #fff;
  background: var(--green-brand);
  border-radius: var(--radius-pill);
}

.share-sheet__label {
  display: block;
  max-width: 72px;
}

/* Checkout navigation loading */
.checkout-loading {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s ease;
  pointer-events: none;
}

.checkout-loading:not([hidden]) {
  pointer-events: auto;
}

.checkout-loading.is-visible {
  opacity: 1;
}

.checkout-loading__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
}

.checkout-loading__spinner {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  border: 3px solid #e9e9e9;
  border-top-color: var(--green-brand);
  border-radius: 50%;
  animation: sheet-spin 0.8s linear infinite;
}

@keyframes sheet-spin {
  to {
    transform: rotate(360deg);
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--green-dark);
  color: var(--bg);
  padding: var(--space-sm) var(--space-lg);
  border-radius: var(--radius-pill);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 50;
  pointer-events: none;
}

.toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* Desktop */
@media (min-width: 768px) {
  .site-header__logo {
    justify-content: center;
  }
}
