.fundraiser-site {
  background: #f7f6f2;
}

.fundraiser-store-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: end;
  min-height: 610px;
  padding: clamp(5rem, 10vw, 9rem) clamp(1.25rem, 6vw, 6rem);
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(17, 22, 31, .95), rgba(19, 35, 59, .62)),
    url("assets/davie-30oz-tumbler.jpeg") center / cover;
}

.fundraiser-store-hero > div {
  min-width: 0;
}

.fundraiser-store-hero h1 {
  max-width: 12ch;
  font-size: 6.6rem;
  letter-spacing: 0;
}

.fundraiser-store-hero p:not(.eyebrow) {
  max-width: 45rem;
  margin: 2rem 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: 1.05rem;
}

.fundraiser-store-hero aside {
  margin-bottom: 4.5rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, .38);
  background: rgba(19, 35, 59, .72);
  backdrop-filter: blur(14px);
}

.fundraiser-store-hero aside span {
  color: var(--gold);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.fundraiser-store-hero aside strong {
  display: block;
  margin: .75rem 0;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.fundraiser-store-hero aside p {
  margin: 0;
  color: rgba(255, 255, 255, .7);
  font-size: .85rem;
}

.fundraiser-workflow {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 4vw, 3rem) 8rem;
}

.fundraiser-flow-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 2rem;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.fundraiser-flow-strip span {
  display: flex;
  min-height: 52px;
  align-items: center;
  padding: .75rem 1rem;
  color: var(--muted);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fundraiser-flow-strip span.is-active {
  color: var(--white);
  background: var(--navy);
}

.fundraiser-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.fundraiser-toolbar label {
  display: grid;
  gap: .45rem;
  width: min(360px, 100%);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.fundraiser-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  align-items: center;
  color: var(--muted);
  font-size: .78rem;
}

.fundraiser-breadcrumb span::after {
  margin-left: .55rem;
  color: var(--gold);
  content: "/";
}

.fundraiser-breadcrumb strong {
  color: var(--ink);
}

.fundraiser-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 450px);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

.fundraiser-picker,
.fundraiser-order-panel {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.fundraiser-section-heading {
  margin-top: 2.5rem;
}

.fundraiser-section-heading .eyebrow,
.fundraiser-picker > div:first-child .eyebrow {
  margin-bottom: .7rem;
}

.fundraiser-picker h2 {
  font-size: 3.5rem;
  letter-spacing: 0;
}

.fundraiser-category-grid,
.fundraiser-design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr));
  gap: 1rem;
}

.fundraiser-category-card,
.fundraiser-design-card {
  display: grid;
  gap: .8rem;
  min-width: 0;
  padding: 0 0 1rem;
  overflow: hidden;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--white);
  text-align: left;
  transition: border-color .2s, transform .2s;
}

.fundraiser-category-card:hover,
.fundraiser-design-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
}

.fundraiser-category-card.is-active,
.fundraiser-design-card.is-active {
  border-color: var(--gold);
  outline: 2px solid var(--gold);
  outline-offset: -2px;
}

.fundraiser-category-card img,
.fundraiser-design-card img {
  width: 100%;
  height: 170px;
  object-fit: contain;
  background: var(--porcelain);
}

.fundraiser-category-card span,
.fundraiser-design-card span,
.fundraiser-category-card strong,
.fundraiser-design-card strong {
  margin: 0 1rem;
}

.fundraiser-category-card span,
.fundraiser-design-card span {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.fundraiser-category-card strong,
.fundraiser-design-card strong {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.1;
}

.fundraiser-order-panel {
  position: sticky;
  top: 102px;
}

.fundraiser-preview,
.fundraiser-totals,
.fundraiser-order-panel .checkout-card {
  border: 1px solid var(--line);
  background: var(--white);
}

.fundraiser-preview {
  overflow: hidden;
}

.fundraiser-preview-stage {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  background: var(--porcelain);
}

.fundraiser-preview-stage::after {
  position: absolute;
  inset: 16% 27%;
  border: 1px dashed rgba(213, 163, 61, .7);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.fundraiser-preview img {
  width: 100%;
  height: 300px;
  object-fit: contain;
}

.fundraiser-live-name {
  position: absolute;
  z-index: 2;
  top: 57%;
  left: 50%;
  max-width: 68%;
  padding: .45rem .8rem;
  overflow-wrap: anywhere;
  color: var(--navy);
  border: 1px solid rgba(213, 163, 61, .72);
  border-radius: 4px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 32px rgba(19, 35, 59, .16);
  font-family: "Oswald", var(--sans);
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}

.fundraiser-live-name.is-placeholder {
  opacity: .62;
}

.fundraiser-preview-details,
.fundraiser-totals {
  display: grid;
  gap: .75rem;
  padding: 1.25rem;
}

.fundraiser-preview-details > span {
  color: var(--gold);
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.fundraiser-preview-details h2 {
  font-size: 2rem;
  letter-spacing: 0;
}

.fundraiser-preview-details p,
.fundraiser-totals p,
.fundraiser-cart-line span,
.fundraiser-cart-line small {
  margin: 0;
  color: var(--muted);
  font-size: .8rem;
}

.fundraiser-order-panel .custom-order-form {
  margin-top: 0;
  padding: 1.25rem;
  border: 1px solid var(--line);
  background: var(--white);
}

.fundraiser-order-intro {
  display: grid;
  gap: .3rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.fundraiser-order-intro strong {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
}

.fundraiser-order-intro span {
  color: var(--muted);
  font-size: .8rem;
}

.fundraiser-totals > div,
.fundraiser-cart-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.square-button {
  width: 100%;
  min-height: 48px;
  padding: .8rem 1rem;
  color: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.square-button:hover {
  color: var(--ink);
  border-color: var(--gold);
  background: var(--gold);
}

.fundraiser-cart-lines {
  display: grid !important;
  gap: .8rem;
}

.fundraiser-cart-line {
  align-items: start;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--line);
}

.fundraiser-cart-line > div {
  display: grid;
  gap: .2rem;
}

.fundraiser-cart-line button {
  flex: 0 0 auto;
  padding: .45rem .6rem;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--porcelain);
  font-size: .7rem;
  font-weight: 700;
}

.fundraiser-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 1.25rem;
  color: var(--muted);
  border: 1px dashed var(--line);
  background: var(--porcelain);
}

.footer-social {
  display: flex;
  gap: .55rem;
  margin-top: 1rem;
}

.footer-grid .footer-social a {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  margin: 0;
  overflow: hidden;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  font-size: 0;
}

.footer-social a::before {
  width: 18px;
  height: 18px;
  background: currentColor;
  content: "";
  -webkit-mask: var(--social-icon) center / contain no-repeat;
  mask: var(--social-icon) center / contain no-repeat;
}

.footer-social a[href*="instagram"] {
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='20' x='2' y='2' rx='5' ry='5'/%3E%3Cpath d='M16 11.37A4 4 0 1 1 12.63 8 4 4 0 0 1 16 11.37z'/%3E%3Cline x1='17.5' x2='17.51' y1='6.5' y2='6.5'/%3E%3C/svg%3E");
}

.footer-social a[href*="tiktok"] {
  --social-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M19.6 8.4a7.2 7.2 0 0 1-4.2-1.35v7.35a5.6 5.6 0 1 1-5.6-5.6c.35 0 .7.03 1.03.1v3.1a2.6 2.6 0 1 0 1.67 2.42V2h2.95a4.3 4.3 0 0 0 4.15 3.35v3.05z'/%3E%3C/svg%3E");
}

@media (max-width: 1180px) {
  .fundraiser-layout {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }

  .fundraiser-order-panel {
    position: static;
    min-width: 0;
    max-width: 100%;
  }
}

@media (max-width: 980px) {
  .fundraiser-store-hero {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
    min-height: 0;
  }

  .fundraiser-store-hero > * {
    min-width: 0;
    max-width: 100%;
  }

  .fundraiser-store-hero h1 {
    font-size: 4.8rem;
  }

  .fundraiser-store-hero aside {
    max-width: 34rem;
  }
}

@media (max-width: 640px) {
  .fundraiser-store-hero {
    padding: 4.5rem 1.25rem;
  }

  .fundraiser-store-hero h1 {
    font-size: 3rem;
  }

  .fundraiser-picker h2 {
    font-size: 2.55rem;
  }

  .fundraiser-live-name {
    font-size: 1.35rem;
  }

  .fundraiser-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .fundraiser-flow-strip,
  .fundraiser-category-grid,
  .fundraiser-design-grid {
    grid-template-columns: 1fr;
  }

  .fundraiser-category-card img,
  .fundraiser-design-card img {
    height: 210px;
  }

  .fundraiser-preview-stage,
  .fundraiser-preview img {
    height: 270px;
    min-height: 270px;
  }

  .fundraiser-workflow {
    padding-right: 1rem;
    padding-bottom: 7rem;
    padding-left: 1rem;
  }
}
