/* AG360 Give theme — aligned to AG360-Give.zip */

:root {
  --give-black: #111111;
  --give-ink: #121212;
  --give-muted: #6b7280;
  --give-line: #e5e7eb;
  --give-bg: #f3f1ee;
  --give-white: #ffffff;
  --give-red: #e11d2e;
  --give-red-soft: #fde8ea;
  --give-amber: #f7e7c5;
  --give-amber-text: #7a5a12;
  --give-radius: 16px;
  --give-radius-sm: 12px;
  --give-max: 1120px;
  --give-font: "Work Sans", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; }
body.give-theme {
  min-height: 100vh;
  font-family: var(--give-font);
  color: var(--give-ink);
  background: var(--give-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select { font: inherit; }

.give-wrap { min-height: 100vh; display: flex; flex-direction: column; }

/* Give header (black/red — no AG360 blue top nav) */
.give-header { background: var(--give-black); color: #fff; border-bottom: 2px solid var(--give-red); }
.give-header__inner {
  max-width: var(--give-max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.give-brand { color: #fff; }
.give-brand__title { font-size: 1.05rem; font-weight: 800; }
.give-brand__title span { color: var(--give-red); }
.give-nav { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.give-nav__link {
  display: inline-flex; align-items: center;
  padding: 0.5rem 0.85rem; border-radius: 999px;
  font-size: 0.88rem; font-weight: 600; color: rgba(255,255,255,.8);
}
.give-nav__link.is-active { background: #fff; color: #111; }

.give-banner {
  background: var(--give-amber); color: var(--give-amber-text);
  text-align: center; font-size: 0.86rem; font-weight: 600; padding: 0.65rem 1rem;
}

.give-main {
  flex: 1; max-width: var(--give-max); width: 100%;
  margin: 0 auto; padding: 1.75rem 1.25rem 3rem;
}

.give-pill {
  display: inline-flex; align-items: center;
  padding: 0.28rem 0.65rem; border-radius: 999px;
  background: var(--give-red-soft); color: var(--give-red);
  font-size: 0.7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
}

.give-hero { margin-bottom: 1.75rem; }
.give-hero__pill { margin-bottom: 0.9rem; }
.give-hero__title {
  font-size: clamp(1.75rem, 4.2vw, 2.85rem);
  font-weight: 900; letter-spacing: -.03em; line-height: 1.08;
  text-transform: uppercase; max-width: 16ch; margin-bottom: 0.9rem;
}
.give-hero__free {
  display: inline-block; background: var(--give-red); color: #fff;
  padding: .08em .32em; border-radius: .3em;
}
.give-hero__lead { max-width: 42rem; color: var(--give-muted); font-size: 1.02rem; }

.give-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.75rem 0 2.25rem; }
@media (min-width: 800px) { .give-cards { grid-template-columns: 1fr 1fr; } }

.give-card {
  background: #fff; border: 1px solid var(--give-line); border-radius: var(--give-radius);
  padding: 1.35rem; display: flex; flex-direction: column; gap: .8rem;
}
.give-card--accent { border-color: var(--give-red); box-shadow: 0 0 0 1px var(--give-red); }
.give-card__title { font-size: 1.3rem; font-weight: 800; letter-spacing: -.02em; }
.give-card__price { font-size: 1.85rem; font-weight: 900; }
.give-card__list { display: grid; gap: .6rem; color: var(--give-muted); font-size: .94rem; flex: 1; }
.give-card__list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .5rem; }
.give-card__list li::before { content: "✓"; color: var(--give-red); font-weight: 800; }

.give-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .35rem; width: 100%; padding: .85rem 1.15rem; border-radius: 999px;
  border: none; cursor: pointer; font-weight: 800; background: var(--give-black); color: #fff;
}
.give-btn:hover { opacity: .92; color: #fff; }
.give-btn--red { background: var(--give-red); }
.give-btn--ghost { background: #eceae7; color: var(--give-ink); width: auto; }
.give-btn--ghost:hover { color: var(--give-ink); }
.give-btn--small { width: auto; padding: .5rem .85rem; font-size: .84rem; }
.give-btn--link { background: transparent; color: var(--give-red); width: auto; padding: 0; font-weight: 700; }
.give-btn--link:hover { color: var(--give-red); text-decoration: underline; }

.give-section-title { font-size: 1.3rem; font-weight: 800; margin-bottom: .9rem; }
.give-steps { display: grid; grid-template-columns: 1fr; gap: .7rem; }
@media (min-width: 800px) { .give-steps { grid-template-columns: repeat(4, 1fr); } }
.give-step { background: #fff; border: 1px solid var(--give-line); border-radius: var(--give-radius-sm); padding: 1rem; }
.give-step__num {
  width: 1.55rem; height: 1.55rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--give-red-soft); color: var(--give-red);
  font-weight: 800; font-size: .82rem; margin-bottom: .55rem;
}
.give-step p { color: var(--give-muted); font-size: .9rem; }

.give-preview-links { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
.give-preview-links a { color: var(--give-red); font-weight: 700; text-decoration: underline; }

.give-layout { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 900px) {
  .give-layout { grid-template-columns: 1.45fr .9fr; align-items: start; }
  .give-layout--setup { grid-template-columns: 1.5fr .9fr; }
}

.give-panel {
  background: #fff; border: 1px solid var(--give-line);
  border-radius: var(--give-radius); padding: 1.25rem;
}
.give-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: .75rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.give-panel__title { font-size: 1.3rem; font-weight: 800; }
.give-eyebrow { color: var(--give-red); font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.give-lead { color: var(--give-muted); margin-bottom: 1rem; }

.give-flow {
  border: 1px solid var(--give-line); border-radius: var(--give-radius-sm);
  padding: 1.1rem; margin-bottom: 1rem; background: #fafafa;
}
.give-flow__title { font-weight: 800; margin-bottom: .75rem; }
.give-flow__steps {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: .35rem; margin-bottom: 1rem;
}
.give-flow__step {
  text-align: center; font-size: .72rem; font-weight: 700; color: var(--give-muted);
  padding: .45rem .2rem; border-radius: 8px; background: #fff; border: 1px solid var(--give-line);
}
.give-flow__step strong { display: block; color: var(--give-ink); font-size: .85rem; }

.give-side-card {
  background: #fff; border: 1px solid var(--give-line);
  border-radius: var(--give-radius); padding: 1.05rem; margin-bottom: .8rem;
}
.give-side-card__title {
  font-size: .72rem; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; color: var(--give-muted); margin-bottom: .5rem;
}
.give-side-card__row { display: flex; justify-content: space-between; gap: .75rem; align-items: center; }
.give-name { font-weight: 800; font-size: 1.1rem; }
.give-meta { color: var(--give-muted); font-size: .88rem; }
.give-actions-inline { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }

.give-table-wrap {
  margin-top: 1rem; background: #fff; border: 1px solid var(--give-line);
  border-radius: var(--give-radius); overflow: auto;
}
.give-table-head {
  display: flex; justify-content: space-between; align-items: center;
  gap: .75rem; padding: .9rem 1rem; border-bottom: 1px solid var(--give-line); flex-wrap: wrap;
}
.give-table { width: 100%; border-collapse: collapse; min-width: 720px; }
.give-table th, .give-table td {
  text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--give-line); font-size: .9rem;
}
.give-table th {
  font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
  color: var(--give-muted); background: #faf9f7;
}
.give-table tr:last-child td { border-bottom: none; }
.give-table a { color: var(--give-red); font-weight: 700; }
.give-pager {
  display: flex; justify-content: flex-end; gap: .5rem; align-items: center;
  padding: .75rem 1rem; color: var(--give-muted); font-size: .85rem;
}

.give-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; margin: 1.1rem 0; }
@media (min-width: 800px) { .give-stats { grid-template-columns: repeat(4, 1fr); } }
.give-stat { background: #fff; border: 1px solid var(--give-line); border-radius: var(--give-radius-sm); padding: 1rem; }
.give-stat__value { font-size: 1.55rem; font-weight: 900; letter-spacing: -.03em; }
.give-stat__label { color: var(--give-muted); font-size: .84rem; margin-top: .2rem; }

.give-setup__item {
  display: grid; grid-template-columns: 2rem 1fr; gap: .85rem;
  padding: 1rem 0; border-bottom: 1px solid var(--give-line);
}
.give-setup__item:last-child { border-bottom: none; }
.give-setup__marker {
  width: 1.7rem; height: 1.7rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: .82rem; background: #eee; color: var(--give-muted);
}
.give-setup__marker.is-done { background: var(--give-red-soft); color: var(--give-red); }
.give-setup__marker.is-current { background: #fff; color: var(--give-red); box-shadow: inset 0 0 0 2px var(--give-red); }
.give-setup__title { font-weight: 800; margin-bottom: .2rem; }
.give-setup__text { color: var(--give-muted); font-size: .9rem; margin-bottom: .8rem; }
.give-setup__item.is-muted { opacity: .55; }
.give-cost {
  background: #fff; border: 1px solid var(--give-red); border-radius: var(--give-radius); padding: 1.2rem;
}
.give-cost__eyebrow { color: var(--give-red); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }

.give-footer {
  max-width: var(--give-max); margin: 0 auto; padding: 0 1.25rem 2rem;
  color: var(--give-muted); font-size: .84rem;
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
}
.give-footer a { color: var(--give-ink); font-weight: 700; }
.give-footer a:hover { color: var(--give-red); }

/* Modal gift flow */
.give-modal[hidden] { display: none !important; }
.give-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.give-modal__backdrop {
  position: absolute; inset: 0; background: rgba(17,17,17,.55); backdrop-filter: blur(2px);
}
.give-modal__dialog {
  position: relative; width: min(560px, 100%);
  background: #fff; border-radius: 14px; overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,.25); max-height: calc(100vh - 2rem);
  display: flex; flex-direction: column;
}
.give-modal__header {
  background: #1a1a1a; color: #fff; padding: .95rem 1.1rem;
  display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.give-modal__title { font-weight: 700; font-size: 1rem; }
.give-modal__close {
  width: 32px; height: 32px; border: none; border-radius: 8px;
  background: transparent; color: #fff; cursor: pointer; font-size: 1.2rem;
}
.give-modal__body { padding: 1.15rem 1.15rem 0.5rem; overflow: auto; }
.give-modal__footer {
  padding: 1rem 1.15rem 1.15rem; display: flex; justify-content: space-between; align-items: center; gap: .75rem;
}
.give-progress { margin-bottom: 1rem; }
.give-progress__label { font-size: .82rem; color: var(--give-muted); margin-bottom: .45rem; font-weight: 600; }
.give-progress__bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: .3rem; }
.give-progress__bar { height: 5px; border-radius: 999px; background: #e5e7eb; }
.give-progress__bar.is-done { background: var(--give-red); }

.give-step-view[hidden] { display: none !important; }
.give-step-view__eyebrow {
  color: var(--give-red); font-size: .72rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem;
}
.give-step-view__title { font-size: 1.45rem; font-weight: 800; margin-bottom: 1rem; letter-spacing: -.02em; }

.give-amount-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-bottom: .9rem; }
.give-choice {
  border: 1px solid var(--give-line); background: #fff; border-radius: 10px;
  padding: .85rem .7rem; cursor: pointer; text-align: left; width: 100%;
}
.give-choice.is-selected { border-color: var(--give-red); background: #fff5f5; box-shadow: inset 0 0 0 1px var(--give-red); }
.give-choice__title { font-weight: 800; }
.give-choice__text { color: var(--give-muted); font-size: .85rem; margin-top: .2rem; }
.give-amount-grid .give-choice { text-align: center; font-weight: 800; }
.give-field { margin-bottom: .9rem; }
.give-label { display: block; font-size: .8rem; font-weight: 700; color: var(--give-muted); margin-bottom: .35rem; }
.give-input, .give-select {
  width: 100%; padding: .75rem .85rem; border: 1px solid var(--give-line);
  border-radius: 10px; background: #fff;
}
.give-input:focus, .give-select:focus { outline: 2px solid rgba(225,29,46,.2); border-color: var(--give-red); }
.give-pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; margin-bottom: .9rem; }
.give-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.give-toggle-row {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  border: 1px solid var(--give-line); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1rem;
}
.give-switch {
  width: 46px; height: 26px; border-radius: 999px; border: none;
  background: #d1d5db; position: relative; cursor: pointer; flex-shrink: 0;
}
.give-switch.is-on { background: var(--give-red); }
.give-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: left .15s ease;
}
.give-switch.is-on::after { left: 23px; }
.give-totals { display: grid; gap: .55rem; margin-bottom: .5rem; }
.give-totals__row { display: flex; justify-content: space-between; gap: .75rem; color: var(--give-muted); }
.give-totals__row strong { color: var(--give-ink); }
.give-review { display: grid; gap: 0; margin-bottom: .9rem; }
.give-review__row {
  display: flex; justify-content: space-between; gap: .75rem;
  padding: .7rem 0; border-bottom: 1px solid var(--give-line); font-size: .94rem;
}
.give-review__row:last-child { border-bottom: none; font-weight: 800; }
.give-note {
  background: #f7efe3; color: #7a5a12; border-radius: 10px;
  padding: .75rem .9rem; font-size: .88rem; margin-bottom: .25rem;
}
.give-confirm { text-align: center; padding: .5rem 0 1rem; }
.give-confirm__icon {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--give-red-soft); color: var(--give-red);
  display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800;
}
.give-confirm__box {
  background: #f7f3ee; border-radius: 12px; padding: 1rem; margin: 1rem 0 1.25rem; text-align: center;
}
.give-confirm__amount { font-size: 1.8rem; font-weight: 900; }
body.modal-open { overflow: hidden; }
