:root {
  --petco-purple: #8e62be;
  --petco-purple-dark: #6e4b99;
  --petco-lavender: #f5effb;
  --neutral-100: #ffffff;
  --neutral-200: #f2f2f2;
  --neutral-300: #e7e7e7;
  --text: #2e2e2e;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --shadow: 0 14px 34px rgba(71, 45, 110, 0.16);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: "Plus Jakarta Sans", "Hind Siliguri", sans-serif;
  color: var(--text);
  background: var(--neutral-100);
}

a { color: inherit; text-decoration: none; }

.page { max-width: 1440px; margin: 0 auto; }

.main-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 64px;
  background: var(--neutral-100);
  border-bottom: 1px solid var(--neutral-300);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
}

.logo { font-weight: 800; font-size: 1.1rem; }
.logo span { color: var(--petco-purple); }

.nav-center { display: flex; gap: 26px; justify-content: center; }

.mega-wrap { position: relative; height: 64px; display: flex; align-items: center; }
.nav-btn {
  border: 0;
  background: transparent;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  height: 64px;
  padding: 0;
}
.nav-btn span { color: var(--petco-purple); }

.mega-panel {
  position: absolute;
  top: 58px;
  left: 0;
  min-width: 220px;
  display: grid;
  gap: 8px;
  background: #fff;
  border: 1px solid #eadff8;
  border-radius: 14px;
  padding: 12px;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: 180ms ease;
  box-shadow: var(--shadow);
}

.mega-wrap:hover .mega-panel,
.mega-wrap:focus-within .mega-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mega-panel a {
  font-size: 0.86rem;
  font-weight: 600;
  color: #4a4a4a;
  padding: 8px;
  border-radius: 8px;
}

.mega-panel a:hover { background: var(--petco-lavender); color: var(--petco-purple-dark); }

.nav-actions { display: flex; justify-content: flex-end; gap: 10px; }
.lang-toggle {
  border: 1px solid #dbcff0;
  background: #fff;
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
}

.donate-pill {
  background: var(--petco-purple);
  color: #fff;
  border-radius: 999px;
  padding: 9px 22px;
  font-weight: 700;
  border: 2px solid var(--petco-purple);
}

.hero {
  display: grid;
  grid-template-columns: 46% 54%;
  background: var(--petco-purple);
}

.hero-copy {
  padding: 56px 38px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.04;
}

.hero-copy p {
  margin: 20px 0 0;
  line-height: 1.7;
  font-size: 1.04rem;
  max-width: 540px;
}

.hero-media { min-height: 440px; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.mission {
  text-align: center;
  padding: 68px 22px 58px;
}
.mission p { margin: 0; color: #5e5e5e; font-weight: 600; }
.mission h2 {
  margin: 14px auto 0;
  max-width: 980px;
  font-size: clamp(1.65rem, 3vw, 2.6rem);
  line-height: 1.2;
}

.challenge {
  background: var(--petco-lavender);
  padding: 58px 24px;
}
.challenge-head { text-align: center; }
.challenge-head p { margin: 0; color: var(--petco-purple-dark); font-weight: 700; }
.challenge-head h3 {
  margin: 12px auto 0;
  max-width: 860px;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.challenge-grid {
  max-width: 1180px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.challenge-grid article {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
}

.icon-blob {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 20%, #c09aeb 0%, var(--petco-purple) 72%);
}

.challenge-grid h4 { margin: 12px 0 8px; font-size: 1.1rem; }
.challenge-grid p { margin: 0; color: #5d5d5d; line-height: 1.65; }

.solutions { padding: 68px 24px; }
.solutions-head { text-align: center; }
.solutions-head p { margin: 0; color: var(--petco-purple-dark); font-weight: 700; }
.solutions-head h3 {
  margin: 12px auto 0;
  max-width: 860px;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.uneven-cards {
  max-width: 1180px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature-wide {
  grid-column: 1 / 3;
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #ece2f9;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  box-shadow: var(--shadow);
}

.feature-wide img { width: 100%; height: 100%; object-fit: cover; }
.feature-wide div { padding: 24px; }

.feature-card {
  background: #fff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #ece2f9;
  box-shadow: var(--shadow);
}

.feature-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.feature-card .overline,
.feature-card h4,
.feature-card p,
.feature-card a {
  margin-left: 18px;
  margin-right: 18px;
}

.overline {
  margin-top: 14px;
  margin-bottom: 0;
  color: var(--petco-purple-dark);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.feature-wide h4,
.feature-card h4 {
  margin-top: 7px;
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.feature-wide p,
.feature-card p {
  margin-top: 0;
  margin-bottom: 14px;
  color: #606060;
  line-height: 1.65;
}

.feature-wide a,
.feature-card a {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--petco-purple-dark);
  font-weight: 800;
}

.donate-band {
  margin: 4px 24px 0;
  border-radius: 24px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, #6f4ca1 0%, #8e62be 58%, #b08dd7 100%);
  color: #fff;
}

.donate-band h3 { margin: 0; font-size: clamp(1.35rem, 2.3vw, 1.9rem); }
.donate-band p { margin: 10px 0 0; line-height: 1.65; max-width: 820px; }
.donate-band a {
  background: #fff;
  color: var(--petco-purple-dark);
  border-radius: 999px;
  padding: 11px 20px;
  font-weight: 800;
  white-space: nowrap;
}

.site-footer {
  margin-top: 42px;
  background: #f8f8f8;
  padding: 34px 24px 30px;
}

.footer-cols {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-cols h5 { margin: 0 0 10px; font-size: 0.96rem; }
.footer-cols a { display: block; font-size: 0.88rem; margin-bottom: 8px; color: #5a5a5a; }
.site-footer > p { text-align: center; margin: 18px 0 0; color: #6a6a6a; font-size: 0.86rem; }

.subpage {
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px;
}
.sub-top { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.sub-top h1 { margin: 0; font-size: clamp(1.4rem, 3.5vw, 2.2rem); }
.back { font-weight: 700; color: var(--petco-purple-dark); }
.sub-lead { margin: 0 0 16px; color: #5f5f5f; }
.search {
  width: 100%;
  border: 1px solid #ddd2ec;
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  margin-bottom: 16px;
}
.sub-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.sub-grid article {
  border-radius: 16px;
  border: 1px solid #ece6f6;
  padding: 16px;
  box-shadow: var(--shadow);
  background: #fff;
}
.sub-grid h3 { margin: 0 0 8px; }
.sub-grid p { margin: 0 0 6px; color: #595959; }
.sub-grid span {
  display: inline-block;
  margin-top: 4px;
  background: #efe7fb;
  color: var(--petco-purple-dark);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  font-weight: 700;
}

@media (max-width: 1080px) {
  .challenge-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .main-nav {
    grid-template-columns: 1fr;
    height: auto;
    gap: 10px;
    padding: 10px 16px;
  }

  /* On mobile the off-canvas sidebar is the primary navigation. */
  .nav-center {
    display: none;
  }

  .nav-actions { justify-content: flex-start; }

  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding: 34px 20px; }
  .hero-media { min-height: 280px; }

  .uneven-cards { grid-template-columns: 1fr; }
  .feature-wide { grid-column: auto; grid-template-columns: 1fr; }
  .feature-wide img { aspect-ratio: 16/9; }

  .footer-cols,
  .sub-grid,
  .challenge-grid {
    grid-template-columns: 1fr;
  }

  .donate-band {
    margin: 12px 16px 0;
    padding: 24px;
    flex-direction: column;
    align-items: flex-start;
  }
}

.simple-links {
  gap: 22px;
}

.simple-links a {
  font-size: 0.9rem;
  font-weight: 700;
}

.top-nav-link {
  font-size: 0.9rem;
  font-weight: 700;
  color: inherit;
  text-decoration: none;
}

.top-nav-link:hover {
  color: var(--petco-purple-dark);
}

.program-page {
  background: #fff;
}

.program-hero {
  display: grid;
  grid-template-columns: 46% 54%;
  background: var(--petco-purple);
  color: #fff;
}

.program-hero > div {
  padding: 48px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.program-over {
  margin: 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  opacity: 1;
}

.program-hero h1 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.program-hero p {
  margin: 0;
  line-height: 1.7;
  max-width: 560px;
}

.program-hero img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.hero-inline-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.hero-inline-actions button {
  border: 0;
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--petco-purple-dark);
}

.hero-inline-actions .ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #ead8fb;
}

.program-panel,
.steps-panel {
  max-width: 1180px;
  margin: 26px auto 0;
  padding: 0 24px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.panel-head h2,
.steps-panel h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.7vw, 2rem);
}

.panel-head input {
  border: 1px solid #ddd2ec;
  border-radius: 12px;
  padding: 11px 13px;
  font: inherit;
  min-width: 280px;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.program-grid article {
  border: 1px solid #ece2f8;
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  background: #fff;
}

.program-grid h3 { margin: 0 0 8px; }
.program-grid p { margin: 0 0 7px; color: #5e5e5e; line-height: 1.6; }
.program-grid span {
  display: inline-block;
  margin: 4px 0 10px;
  background: #efe7fb;
  color: var(--petco-purple-dark);
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 0.8rem;
  font-weight: 700;
}

.program-grid button {
  border: 0;
  border-radius: 999px;
  background: var(--petco-purple);
  color: #fff;
  padding: 8px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.program-grid article img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  display: block;
}

.program-grid button:disabled {
  opacity: 0.62;
  cursor: not-allowed;
}

.steps-panel {
  margin-bottom: 34px;
}

.steps-grid {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.steps-grid article {
  border-radius: 14px;
  border: 1px solid #ece2f8;
  padding: 14px;
  background: #faf7fd;
}

.steps-grid strong {
  display: inline-block;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--petco-purple);
  color: #fff;
  text-align: center;
  line-height: 30px;
}

.steps-grid p {
  margin: 10px 0 0;
  color: #5b5b5b;
}

@media (max-width: 980px) {
  .program-grid,
  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .program-hero {
    grid-template-columns: 1fr;
  }

  .program-hero > div {
    padding: 32px 20px;
  }

  .panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .panel-head input {
    width: 100%;
    min-width: 0;
  }

  .program-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.campaign-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr) 330px;
  gap: 16px;
  align-items: start;
}

.campaign-sidebar {
  border: 1px solid #e8def6;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  position: sticky;
  top: 84px;
}

.campaign-sidebar h3 {
  margin: 0 0 6px;
  font-size: 0.98rem;
}

.campaign-sidebar label {
  display: block;
  margin: 10px 0 4px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a5a5a;
}

.campaign-sidebar select,
.campaign-sidebar input[type="range"] {
  width: 100%;
  border: 1px solid #ddd2ed;
  border-radius: 10px;
  padding: 9px;
  font: inherit;
  background: #fff;
}

.sidebar-toggle {
  border: 1px solid #ddd2ed;
  border-radius: 999px;
  background: #fff;
  color: var(--petco-purple-dark);
  font: inherit;
  font-weight: 700;
  padding: 9px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.reset-filters {
  margin-top: 12px;
  border: 1px solid #d8c8ef;
  border-radius: 999px;
  background: #faf7fd;
  color: var(--petco-purple-dark);
  font: inherit;
  font-weight: 700;
  padding: 8px 12px;
  cursor: pointer;
}

.filter-count {
  margin: 10px 0 0;
  font-size: 0.83rem;
  color: #666;
}

.campaign-list {
  display: grid;
  gap: 14px;
}

.campaign-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  border: 1px solid #e8def6;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.campaign-card.selected {
  border-color: var(--petco-purple);
  box-shadow: 0 14px 32px rgba(67, 36, 110, 0.24);
}

.campaign-card img {
  width: 100%;
  height: 100%;
  min-height: 170px;
  object-fit: cover;
}

.campaign-card > div {
  padding: 14px 14px 12px 0;
}

.campaign-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.campaign-card p {
  margin: 0 0 7px;
  color: #5d5d5d;
  line-height: 1.5;
}

.progress {
  width: 100%;
  height: 10px;
  background: #eee7fb;
  border-radius: 999px;
  overflow: hidden;
  margin: 4px 0 8px;
}

.progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7d53b6, #aa82dc);
}

.campaign-donate-panel {
  border: 1px solid #e8def6;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 16px;
  position: sticky;
  top: 84px;
  height: fit-content;
}

.campaign-donate-panel h3 {
  margin: 0;
}

.campaign-target {
  margin: 6px 0;
  font-weight: 700;
  color: #444;
}

.campaign-donate-panel form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.campaign-donate-panel label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a5a5a;
}

.campaign-donate-panel input,
.campaign-donate-panel select,
.campaign-donate-panel textarea {
  border: 1px solid #ddd2ed;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.campaign-admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}

.campaign-donate-panel.admin-card,
.campaign-donate-panel.auth-card {
  position: static;
}

.campaign-donate-panel button {
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--petco-purple);
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.campaign-donate-panel button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.donation-notice {
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--petco-purple-dark);
  font-weight: 700;
}

.donation-hint {
  margin-top: 10px;
  color: #666;
  font-size: 0.85rem;
}

.donation-hint a {
  color: var(--petco-purple-dark);
  text-decoration: underline;
  font-weight: 700;
}

.open-donate-btn {
  border: 0;
  border-radius: 999px;
  background: var(--petco-purple);
  color: #fff;
  padding: 9px 13px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.sidebar-donate-btn {
  margin-top: 8px;
}

.ticket-list-wrap {
  margin-top: 16px;
  border-top: 1px solid #ece2f8;
  padding-top: 12px;
}

.ticket-list-wrap h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.ticket-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.ticket-card {
  border: 1px solid #e8def6;
  border-radius: 12px;
  padding: 10px;
  background: #faf8fd;
}

.ticket-card p {
  margin: 0 0 6px;
  font-size: 0.85rem;
  color: #555;
  line-height: 1.45;
}

.ticket-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.ticket-head strong {
  color: #2f2f2f;
  font-size: 0.9rem;
}

.ticket-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 9px;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  background: #ede3fa;
  color: #5b3a8e;
}

.ticket-status.verified {
  background: #ddf6e8;
  color: #216c43;
}

.ticket-status.rejected {
  background: #ffe2e2;
  color: #9a2e2e;
}

.ticket-status.pending {
  background: #f3e8ff;
  color: #6e3cb1;
}

.ticket-message {
  margin-bottom: 0;
}

.ticket-verify-btn {
  margin-top: 4px;
  padding: 8px 12px;
  font-size: 0.83rem;
}

.donate-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(21, 14, 33, 0.62);
  z-index: 180;
  display: grid;
  place-items: center;
  padding: 16px;
}

.donate-modal {
  width: min(540px, 100%);
  background: #fff;
  border: 1px solid #e8dcf8;
  border-radius: 18px;
  box-shadow: 0 24px 48px rgba(42, 23, 68, 0.32);
  padding: 16px;
}

.donate-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.donate-modal-head h3 {
  margin: 0;
}

.modal-close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.donate-modal form {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.donate-modal label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a5a5a;
}

.donate-modal input,
.donate-modal textarea {
  border: 1px solid #ddd2ed;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.donate-modal button[type="submit"] {
  margin-top: 6px;
  border: 0;
  border-radius: 999px;
  background: var(--petco-purple);
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

@media (max-width: 980px) {
  .campaign-admin-grid {
    grid-template-columns: 1fr;
  }

  .campaign-layout {
    grid-template-columns: 1fr;
  }

  .campaign-sidebar {
    position: static;
    display: none;
  }

  .campaign-sidebar.open {
    display: block;
  }

  .campaign-card {
    grid-template-columns: 1fr;
  }

  .campaign-card > div {
    padding: 12px 14px;
  }

  .campaign-donate-panel {
    position: static;
  }
}

@media (min-width: 981px) {
  .sidebar-toggle {
    display: none;
  }
}

.global-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  height: 100vh;
  background: #ffffff;
  border-right: 1px solid #e8dff4;
  z-index: 120;
  transform: translateX(-105%);
  transition: transform 180ms ease;
  box-shadow: 0 14px 30px rgba(42, 23, 68, 0.18);
  display: grid;
  grid-template-rows: auto 1fr;
}

.global-sidebar.open {
  transform: translateX(0);
}

.global-sidebar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 14px 10px;
  border-bottom: 1px solid #f0e8fb;
}

.global-sidebar-head strong {
  color: var(--petco-purple-dark);
  font-size: 1.02rem;
}

.global-sidebar-close {
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.global-sidebar-nav {
  padding: 10px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.global-sidebar-nav a {
  border-radius: 10px;
  padding: 10px 12px;
  font-weight: 700;
  font-size: 0.92rem;
  color: #4e4e4e;
}

.global-sidebar-nav a:hover {
  background: #f4ecff;
  color: var(--petco-purple-dark);
}

.global-sidebar-nav a.active {
  background: var(--petco-purple);
  color: #fff;
}

.global-sidebar-overlay {
  position: fixed;
  inset: 0;
  border: 0;
  background: rgba(13, 9, 20, 0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
  z-index: 110;
}

.global-sidebar-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.global-sidebar-toggle {
  position: fixed;
  left: 12px;
  bottom: 14px;
  z-index: 130;
  border: 0;
  border-radius: 999px;
  background: var(--petco-purple);
  color: #fff;
  font: inherit;
  font-weight: 700;
  padding: 10px 14px;
  box-shadow: 0 12px 24px rgba(70, 36, 116, 0.35);
  cursor: pointer;
}

.global-sidebar-toggle.hidden {
  display: none;
}

body.sidebar-locked {
  overflow: hidden;
}

@media (min-width: 980px) {
  .global-sidebar-overlay,
  .global-sidebar-toggle {
    display: none;
  }
}

.auth-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #666;
  white-space: nowrap;
}

.auth-status button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--petco-purple-dark);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

.auth-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 9, 20, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
  animation: auth-fade 140ms ease;
}

@keyframes auth-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.auth-modal {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(13, 9, 20, 0.35);
  padding: 22px;
  animation: auth-pop 160ms ease;
}

@keyframes auth-pop {
  from { transform: translateY(8px) scale(0.98); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.auth-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 4px;
}

.auth-modal-head h3 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--petco-purple-dark);
}

.auth-modal-close {
  border: 0;
  background: transparent;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

.auth-modal-reason {
  margin: 0 0 12px;
  font-size: 0.88rem;
  color: #666;
}

.auth-modal-form {
  display: grid;
  gap: 10px;
}

.auth-modal-form label {
  font-size: 0.82rem;
  font-weight: 700;
  color: #5a5a5a;
}

.auth-modal-form input {
  border: 1px solid #ddd2ed;
  border-radius: 10px;
  padding: 10px;
  font: inherit;
}

.auth-modal-form input:focus-visible,
.auth-modal-form button:focus-visible {
  outline: 2px solid var(--petco-purple);
  outline-offset: 1px;
}

.auth-modal-error {
  margin: 0;
  font-size: 0.88rem;
  color: #c0392b;
  font-weight: 600;
  min-height: 1em;
}

.auth-modal-form button[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: var(--petco-purple);
  color: #fff;
  padding: 11px 14px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.auth-modal-form button[type="submit"]:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.auth-modal-switch {
  margin: 12px 0 0;
  font-size: 0.85rem;
  color: #666;
}

.auth-modal-switch button {
  border: 0;
  background: none;
  padding: 0;
  font: inherit;
  color: var(--petco-purple-dark);
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
}

body.auth-modal-locked {
  overflow: hidden;
}

/* ===== Donate page rehaul (scoped to .donate-page) ===== */

.donate-page .stats-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: #4d3675;
  color: #fff;
}

.donate-page .stat {
  background: linear-gradient(135deg, #6f4ca1 0%, #8e62be 100%);
  padding: 26px 20px;
  text-align: center;
}

.donate-page .stat strong {
  display: block;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: -0.01em;
}

.donate-page .stat span {
  display: block;
  margin-top: 6px;
  font-size: 0.84rem;
  opacity: 0.92;
}

.donate-page .how-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.donate-page .how-step {
  border: 1px solid #ece2f8;
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 20px;
}

.donate-page .how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: radial-gradient(circle at 30% 20%, #c09aeb 0%, var(--petco-purple) 72%);
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
}

.donate-page .how-step h3 {
  margin: 12px 0 8px;
  font-size: 1.08rem;
}

.donate-page .how-step p {
  margin: 0;
  color: #5d5d5d;
  line-height: 1.65;
  font-size: 0.93rem;
}

.donate-page .board-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.donate-page .board-tools input {
  min-width: 240px;
}

.donate-page .campaign-board {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.donate-page .campaigns-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.donate-page .campaign-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8def6;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  cursor: default;
}

.donate-page .campaign-card.expanded {
  grid-column: 1 / -1;
  border-color: var(--petco-purple);
}

.donate-page .cc-imgwrap {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0e9f8;
}

.donate-page .cc-imgwrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  display: block;
}

.donate-page .cc-loc,
.donate-page .cc-status {
  position: absolute;
  top: 10px;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  backdrop-filter: blur(4px);
}

.donate-page .cc-loc {
  left: 10px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--petco-purple-dark);
}

.donate-page .cc-status {
  right: 10px;
  background: #ddf6e8;
  color: #216c43;
}

.donate-page .cc-status.completed {
  background: #e8e2f2;
  color: #5b3a8e;
}

.donate-page .cc-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 15px 16px 16px;
}

.donate-page .cc-body h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
  line-height: 1.3;
}

.donate-page .cc-story {
  margin: 0 0 12px;
  color: #5d5d5d;
  line-height: 1.55;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donate-page .cc-progress {
  width: 100%;
  height: 10px;
  background: #eee7fb;
  border-radius: 999px;
  overflow: hidden;
}

.donate-page .cc-progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #7d53b6, #aa82dc);
  border-radius: 999px;
}

.donate-page .cc-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 9px 0 12px;
  font-size: 0.85rem;
  color: #666;
}

.donate-page .cc-meta strong {
  color: var(--petco-purple-dark);
  font-size: 1.02rem;
  white-space: nowrap;
}

.donate-page .cc-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.donate-page .cc-cta .open-donate-btn {
  padding: 9px 18px;
}

.donate-page .cc-fb {
  color: var(--petco-purple-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: underline;
}

.donate-page .cc-toggle {
  margin-left: auto;
  border: 1px solid #d8c8ef;
  border-radius: 999px;
  background: #faf7fd;
  color: var(--petco-purple-dark);
  font: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 13px;
  cursor: pointer;
}

.donate-page .campaign-expanded {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding: 18px;
  border-top: 1px solid #ece2f8;
  background: #faf8fd;
}

.donate-page .ce-story h4,
.donate-page .ce-tickets h4 {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.donate-page .ce-story p {
  margin: 0 0 10px;
  color: #555;
  line-height: 1.6;
  font-size: 0.92rem;
}

.donate-page .ticket-list-wrap {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.donate-page .board-loading,
.donate-page .board-empty {
  grid-column: 1 / -1;
  padding: 26px;
  text-align: center;
  color: #777;
  background: #faf8fd;
  border: 1px dashed #ddd2ed;
  border-radius: 16px;
}

.donate-page .trust-band {
  max-width: 1180px;
  margin: 40px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: start;
  background: transparent;
}

.donate-page .trust-head {
  background: var(--petco-lavender);
  border-radius: 18px;
  padding: 24px;
}

.donate-page .trust-head .program-over {
  color: var(--petco-purple-dark);
}

.donate-page .trust-head h3 {
  margin: 10px 0 8px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
}

.donate-page .trust-head p {
  margin: 0;
  color: #5d5d5d;
  line-height: 1.6;
}

.donate-page .trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.donate-page .trust-grid article {
  border: 1px solid #ece2f8;
  border-radius: 16px;
  background: #fff;
  box-shadow: var(--shadow);
  padding: 18px;
}

.donate-page .trust-grid strong {
  color: var(--petco-purple-dark);
  font-size: 0.95rem;
}

.donate-page .trust-grid p {
  margin: 8px 0 0;
  color: #5d5d5d;
  line-height: 1.6;
  font-size: 0.9rem;
}

@media (max-width: 980px) {
  .donate-page .campaign-board {
    grid-template-columns: 1fr;
  }

  .donate-page .campaigns-grid {
    grid-template-columns: 1fr;
  }

  .donate-page .campaign-expanded {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .donate-page .stats-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-page .how-grid {
    grid-template-columns: 1fr;
  }

  .donate-page .board-tools {
    width: 100%;
    flex-wrap: wrap;
  }

  .donate-page .board-tools input {
    flex: 1;
    min-width: 0;
  }

  .donate-page .trust-band {
    grid-template-columns: 1fr;
  }

  .donate-page .trust-grid {
    grid-template-columns: 1fr;
  }
}
