:root {
  --ay-bg-page: #171b1f;

  --ay-ink: #111;
  --ay-ink-soft: #1b1b1b;
  --ay-ink-strong: #0b1d28;
  --ay-ink-strong-2: #07151e;
  --ay-text: #0a0a0a;
  --ay-white: #ffffff;

  --ay-navy: #12202b;

  --ay-cream: #efe7d6;
  --ay-cream-2: #f3ecdc;
  --ay-offwhite: #fbf9f1;


  --ay-orange: #f06a2a;
  --ay-green: #8ec63f;

  --ay-cta-link: #b17a2c;

  --ay-avatar-bg: #dfe8ef;
  --ay-avatar-placeholder: #cfe0ea;

  --ay-tile-bg: #eee6d6;

  --ay-muted: rgba(255, 255, 255, 0.82);

  --ay-shadow-strong: 0 18px 30px rgba(0, 0, 0, 0.22);  

  /* Social */
  --ay-social-fb: #1877f2;
  --ay-social-wa: #25d366;
  --ay-ig-1: #feda75;
  --ay-ig-2: #fa7e1e;
  --ay-ig-3: #d62976;
  --ay-ig-4: #962fbf;
  --ay-ig-5: #4f5bd5;

  /* Inline SVG palette */
  --ay-svg-cream: #ece4d4;
  --ay-svg-ink: #231f20;
  --ay-svg-sand: #e7dccb;
  --ay-svg-stroke: #e8e2d6;
  --ay-svg-ring: #e4e3dd;
}

.theme-popcorn{
  --ay-primary: #f8b600;
  --ay-secondary: #d6a960;
   --ay-terciary: #f15a24;
    /* Popcorn flavor accents */
  --ay-flavor-buttery: #af5a1a;
  --ay-flavor-cheddar: #d27d15;
  --ay-flavor-kettle: #a68045;
  --ay-flavor-fruity: #c14d59;
  --ay-flavor-chicago: #dd7504;
  --ay-flavor-chocolate: #784d3f;
}

.theme-cookie{
  --ay-primary: #c18943;
  --ay-secondary: #c18943;
   --ay-terciary: #f15a24;
    /* Cookie flavor accents */
--ay-flavor-choc-chip: #6B3E2E;         
--ay-flavor-white-mac: #a3997f;         
--ay-flavor-snickerdoodle: #C47A3A;     
--ay-flavor-peanut-butter: #D19A2A;     
--ay-flavor-toffee-crunch: #9A4F2F;   
}


.hero_one_product{
  --ay-primary: #c18943;
  --ay-secondary: #ae7c3f; 
   --ay-terciary: #f15a24; 
    /* One-product/CARDS color accents */
  
}

body {
  padding: 0;
  margin: 0;
}

.ff-fundraiser,
.ff-fundraiser * {
  box-sizing: border-box;
}

.ff-fundraiser {
  margin: 0;
  background: var(--ay-bg-page);
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial,
    sans-serif;
}

/* HERO (desktop sticky cover effect) */
.ff-fundraiser .hero {
  z-index: 1;
  background: var(--ay-cream);
  display: grid;
  grid-template-rows: auto auto; /* hero_top + products */
  height: 100vh;
}

/* Wrapper for the top hero visuals only */
.ff-fundraiser .hero_blue {
  position: relative;
  overflow: clip;
  min-height: 0;
}

/* Top layout */
.ff-fundraiser .hero_top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  height: 100%;
  min-height: 0;
}

/* SVG block on top with student name */
.ff-fundraiser .hero_svg {
  position: relative;
  min-height: 0;
}

.ff-fundraiser .hero_svg svg {
  width: 100%;
  height: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

/* Visuals */
.ff-fundraiser .hero_visual {
  min-height: 0;
  position: relative; 
  display: grid;
  align-items: center;
}

/* SVG RING ROTATION  */
.ff-fundraiser .hero_svg svg #school-ring {
  transform-box: view-box; 
  transform-origin: 247.23px 158.06px; 
  animation: schoolSpin 20s linear infinite;
}

@keyframes schoolSpin {
  to {
    transform: rotate(360deg);
  }
}
/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ff-fundraiser .hero_svg #school-ring {
    animation: none !important;
  }
}



/* POPCORN "CAROUSEL" */
/* Popcorn stage */
.ff-fundraiser .popcorn-carousel {
  position: relative;
  width: 100%;
}

/* Base popcorn */
.ff-fundraiser .popcorn-carousel .popcorn {
  position: absolute;
  left: 50%;
  top: 50%;
  height: auto;
  object-fit: contain;
  will-change: transform, opacity;
  opacity: 0;
  pointer-events: none;
}

/* Shared “slide in from top-left”  */
@keyframes ffPopInTL {
  0% {
    opacity: 0;
    transform: translate(-160%, -140%) scale(0.85) rotate(-12deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: var(--end);
  }
}

/* Float AFTER they land */
@keyframes ffFloaty {
  0%,
  100% {
    transform: var(--end) translateY(0);
  }
  50% {
    transform: var(--end) translateY(-8px);
  }
}

/* ===== FINAL POSITIONS ===== */

/* BIG front popcorn (sharp) */
.ff-fundraiser .popcorn-carousel .popcorn.p1 {
  width: 80%;
  z-index: 3;

  --end: translate(-75%, -40%) scale(1) rotate(20deg);

  animation:
    ffPopInTL 2.4s cubic-bezier(0.2, 0.85, 0.2, 1) forwards,
    ffFloaty 5s ease-in-out 2.6s infinite;
}

/* Middle popcorn */
.ff-fundraiser .popcorn-carousel .popcorn.p2 {
  width: 60%;
  z-index: 2;

  --end: translate(0%, -40%) scale(1) rotate(-40deg);

  animation:
    ffPopInTL 2.6s cubic-bezier(0.2, 0.85, 0.2, 1) 400ms forwards,
    ffFloaty 5.4s ease-in-out 3s infinite;
}

/* Small far popcorn */
.ff-fundraiser .popcorn-carousel .popcorn.p3 {
  width: 40%;
  z-index: 1;

  --end: translate(-45%, -95%) scale(0.82) rotate(0deg);

  animation:
    ffPopInTL 2.8s cubic-bezier(0.2, 0.85, 0.2, 1) 800ms forwards,
    ffFloaty 5.8s ease-in-out 3.4s infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ff-fundraiser .popcorn-carousel .popcorn {
    opacity: 1 !important;
    transform: var(--end) !important;
    animation: none !important;
  }
}

.ff-fundraiser .popcorn-carousel .popcorn.p2 {
  filter: blur(2px) !important;
}

.ff-fundraiser .popcorn-carousel .popcorn.p3 {
  filter: blur(6px) !important;
}

/* PRODUCTS GRID */

.ff-fundraiser [hidden] {
  display: none !important;
}

.ff-fundraiser .products {
  padding: 0 18px 18px;
  overflow: visible;
  min-height: 0;
  z-index: 3;
}

.products_grid {
  align-items: stretch;
}

/* Clamp descriptions so tiles stay uniform */
.pbox_desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Mobile first grid (2 cols) */
.ff-fundraiser .products_grid {
  display: grid;
  gap: 0px;
  row-gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}

/* tablets */
@media (min-width: 768px) {
  .ff-fundraiser .products_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* desktop */
@media (min-width: 1200px) {
  .ff-fundraiser .products_grid {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    row-gap: 10px;
  }
}

/* PRODUCT TILE */
.ff-fundraiser .pbox {
  --ink: var(--ay-ink-soft);
  text-align: center;
}

/* per-flavor colors */
.ff-fundraiser article[data-id="buttery-caramel"] {
  --title: var(--ay-flavor-buttery);
  --pill: var(--ay-flavor-buttery);
}
.ff-fundraiser article[data-id="cheddar-jalapeno"] {
  --title: var(--ay-flavor-cheddar);
  --pill: var(--ay-flavor-cheddar);
}
.ff-fundraiser article[data-id="kettle-corn"] {
  --title: var(--ay-flavor-kettle);
  --pill: var(--ay-flavor-kettle);
}
.ff-fundraiser article[data-id="fruity-rainbow"] {
  --title: var(--ay-flavor-fruity);
  --pill: var(--ay-flavor-fruity);
}
.ff-fundraiser article[data-id="chicago-style"] {
  --title: var(--ay-flavor-chicago);
  --pill: var(--ay-flavor-chicago);
}
.ff-fundraiser article[data-id="chocolate-delight"] {
  --title: var(--ay-flavor-chocolate);
  --pill: var(--ay-flavor-chocolate);
}

/* Cookie colors */

.ff-fundraiser article[data-id="chocolate-chip"] {
  --title: var(--ay-flavor-choc-chip);
  --pill: var(--ay-flavor-choc-chip);
}

.ff-fundraiser article[data-id="white-chocolate-macadamia"] {
  --title: var(--ay-flavor-white-mac);
  --pill: var(--ay-flavor-white-mac);
}

.ff-fundraiser article[data-id="snickerdoodle"] {
  --title: var(--ay-flavor-snickerdoodle);
  --pill: var(--ay-flavor-snickerdoodle);
}

.ff-fundraiser article[data-id="peanut-butter"] {
  --title: var(--ay-flavor-peanut-butter);
  --pill: var(--ay-flavor-peanut-butter);
}

.ff-fundraiser article[data-id="chocolate-chip-toffee"] {
  --title: var(--ay-flavor-toffee-crunch);
  --pill: var(--ay-flavor-toffee-crunch);
}

/* Card colors */

.ff-fundraiser article[data-id="one-product"] {
  --title: var(--ay-secondary);
  --pill: var(--ay-secondary);
}


.ff-fundraiser .pbox_head {
  padding: 10px 10px 4px;
  
}

.ff-fundraiser .pbox_title {
  margin: 0;
  font-family: "Saira Condensed", system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: 0.6px;
  font-size: clamp(20px, 1.7vw, 28px);
  line-height: 0.95;
  color: var(--title);
  text-transform: uppercase;
  
}

.ff-fundraiser .pbox_desc {
  margin: 6px auto -25px;
  font-family: "Saira", system-ui, sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.15;
  color: var(--title);
  max-width: 320px;
}

.ff-fundraiser .pbox_stage {
  position: relative;
  height: clamp(180px, 20vh, 260px);
  display: grid;
  place-items: center;
  padding: 0 8px 12px;
}

.ff-fundraiser .pbox_stage svg {
  position: absolute;
  width: 100%;
  height: 58%;
  top: 30%;
}

.ff-fundraiser .pbox_imgwrap {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  pointer-events: none;
}

.ff-fundraiser .pbox_img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition:
    opacity 220ms ease,
    transform 220ms ease;
}

.ff-fundraiser .pbox_img--alt {
  opacity: 0;
}
.ff-fundraiser .pbox:hover .pbox_img--main {
  opacity: 0;
}
.ff-fundraiser .pbox:hover .pbox_img--alt {
  opacity: 1;
}

.ff-fundraiser .pbox_price {
  position: absolute;
  top: 10%;
  left: 10%;
  z-index: 3;

  background: var(--pill);
  color: var(--ay-white);
  border-radius: 999px;
  padding: 10px 18px;

  font-family: "Lobster", cursive;
  font-size: 23px;
  line-height: 1;

  transform: rotate(-5deg);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.18);
}

.ff-fundraiser .pbox_controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
}

.ff-fundraiser .pbox_addBtn{
  height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  border: 2px solid var(--ay-navy);

  background: rgba(255,255,255,0.6);
  color: var(--ay-navy);

  display: inline-flex;
  align-items: center;
  gap: 14px;

  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 22px;

  cursor: pointer;

  transition:
    transform .15s ease,
    background .15s ease,
    opacity .15s ease;
}




.ff-fundraiser .pbox_addBtn .pbox_icon {
  font-size: 24px;
  line-height: 1;
  color: var(--ay-navy);
  transition:
    transform 0.15s ease,
    opacity 0.15s ease;
}



.ff-fundraiser .pbox_qty {
  height: 56px;
  border-radius: 999px;
  border: 2px solid var(--ay-navy);
  background: var(--ay-white);

  display: flex;
  align-items: center;
  padding: 0 18px;
  gap: 22px;
}

.ff-fundraiser .pbox_qty button {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;

  display: grid;
  place-items: center;
  line-height: 1;
}

.ff-fundraiser .pbox_qty button i {
  font-size: 24px;
  color: var(--ay-navy);
  transition:
    transform 0.12s ease,
    opacity 0.12s ease;
}

.ff-fundraiser .pbox_qty button:hover i {
  transform: scale(1.1);
  opacity: 0.85;
}

.ff-fundraiser .pbox_qty button:active i {
  transform: scale(0.98);
}

.ff-fundraiser .pbox_qtyVal {
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 22px;
  color: var(--ay-navy);
}


.ff-fundraiser .pbox_addBtn:hover{
  transform: scale(1.06);
  background: var(--ay-white);
  opacity: 1;
}



.ff-fundraiser .products_grid{
  align-items: stretch;
  grid-auto-rows: 1fr;
}

.ff-fundraiser .pbox{
  height: 100%;
  display: grid;
  grid-template-rows: var(--pbox-head-h, 90px) 1fr;
}


.ff-fundraiser .pbox_head{
  height: var(--pbox-head-h, 90px);
  overflow: hidden;           
  padding: 10px 10px 4px;      
  display: grid;
  align-content: start;
}

.ff-fundraiser .pbox_title{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;       /* allow up to 2 lines */
  overflow: hidden;
}


.ff-fundraiser .pbox_desc{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

@media (max-width: 560px){
  .ff-fundraiser .pbox{
    --pbox-head-h: 85px;
  }
  .ff-fundraiser .pbox_imgwrap {
  top: 0%;
}

}
@media (min-width: 768px){
  .ff-fundraiser .pbox{
    --pbox-head-h: 70px;
  }
}
@media (min-width: 1200px){
  .ff-fundraiser .pbox{
    --pbox-head-h: 90px;
  }

}

/* CTA CLOUD */
/* hide CTA entirely */
[data-cta].is-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
  transform: translateY(12px) !important;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0s linear 0.18s;
}

.ff-fundraiser .cta {
  position: absolute;
  right: 0px;
  bottom: 18px;
  z-index: 99999;
  pointer-events: none;
  max-width: 420px;
}

.ff-fundraiser .cta_cloud {
  pointer-events: auto;
  min-width: 460px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 25px;
  margin-top: -100px;
}

.ff-fundraiser .cta_link {
  font-weight: 900;
  text-transform: uppercase;
  font-family: "Saira Condensed";
  font-size: 20px;
  color: var(--ay-cta-link);
  text-decoration: underline;
  line-height: 1.2em;
}

.ff-fundraiser .cta_cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  font-family: "Lobster", cursive;
}

.ff-fundraiser .cta_label {
  font-weight: 900;
  font-size: 18px;
  color: var(--ay-ink-soft);
  transform: rotate(-3deg);
  margin-bottom: -8px;
}

.ff-fundraiser .cta_total {
  font-weight: 900;
  font-size: 50px;
  color: var(--ay-ink);
  letter-spacing: -0.5px;
  transform: rotate(-3deg);
}

.ff-fundraiser .cta_total sup {
  font-size: 0.35em;
  position: relative;
  top: -0.55em;
  font-weight: 900;
}

.ff-fundraiser .cta_total .currency {
  font-size: 0.7em;
  font-weight: 900;
  transform: rotate(-5deg);
  margin-bottom: 5px;
}

/* ===== Checkout Button ===== */
.ff-fundraiser .cta_btn {
  text-decoration: none;
  background: var(--ay-green);
  color: var(--ay-white);
  padding: 14px 28px;
  border-radius: 25px 0px 0px 25px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.18s cubic-bezier(0.2, 0.85, 0.2, 1),
    box-shadow 0.18s ease;
  will-change: transform;
}

.ff-fundraiser .cta_btn:hover {
  transform: scale(1.06);
}

.cta_btn span {
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: 26px;
}

.cta.is-fixed {
  position: fixed;
  right: 0;
  left: auto;
  transform: none;
  bottom: 18px;
  z-index: 2147483647;
}

/*Scroll-to-top button - hidden in hero (default) - shows only when CTA is fixed (docked) */

.ff-fundraiser .cta_toTop {
  pointer-events: auto;
  position: absolute;
  right: 18px;
  bottom: calc(100% - 40px); 
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: none;
  background: var(--ay-ink);
  color: var(--ay-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.18s cubic-bezier(0.2, 0.85, 0.2, 1),
    opacity 0.18s ease,
    visibility 0s linear 0.18s;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
}

.ff-fundraiser .cta_toTop i {
  font-size: 18px;
  line-height: 1;
}

/* show only when CTA is docked AND allowed by JS */
.ff-fundraiser .cta.is-fixed .cta_toTop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    transform 0.18s cubic-bezier(0.2, 0.85, 0.2, 1),
    opacity 0.18s ease,
    visibility 0s;
}

.ff-fundraiser .cta.is-fixed .cta_toTop:hover {
  transform: translateY(-2px) scale(1.06);
}

/*CTA STACK (social + top) Appears only once past hero (wrapper animates in, button hovers independently) */

.ff-fundraiser .cta_stack {
  pointer-events: none; 
  position: absolute;
  right: 8px;
  bottom: calc(100% + 14px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;

  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
}

.ff-fundraiser .cta_stack.is-visible {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* WRAPPER owns the pop animation transform (so hover doesn't fight it) */
.ff-fundraiser .cta_stackItem {
  opacity: 0;
  transform: translateY(10px) scale(0.6);
  will-change: transform, opacity;
}

/* BUTTON owns hover transform */
.ff-fundraiser .cta_stackBtn {
  border-radius: 999px;
  border: none;
  display: grid;
  place-items: center;
  text-decoration: none;
  cursor: pointer;

  background: var(--ay-ink);
  color: var(--ay-white);

  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.ff-fundraiser .cta_stackBtn i {
  font-size: 24px;
  line-height: 1;
}

/* Sizes */
.ff-fundraiser .cta_stackBtn.is-fb,
.ff-fundraiser .cta_stackBtn.is-x,
.ff-fundraiser .cta_stackBtn.is-ig,
.ff-fundraiser .cta_stackBtn.is-wa {
  width: 40px;
  height: 40px;
}

.ff-fundraiser .cta_stackBtn.is-top {
  width: 54px;
  height: 54px;
  margin-top: 10px;
}

/* Brand backgrounds (match screenshot vibe) */
.ff-fundraiser .cta_stackBtn.is-fb {
  background: var(--ay-social-fb);
}
.ff-fundraiser .cta_stackBtn.is-x {
  background: var(--ay-ink);
}
.ff-fundraiser .cta_stackBtn.is-ig {
  background: radial-gradient(
    circle at 30% 30%,
    var(--ay-ig-1) 0%,
    var(--ay-ig-2) 25%,
    var(--ay-ig-3) 55%,
    var(--ay-ig-4) 75%,
    var(--ay-ig-5) 100%
  );
}
.ff-fundraiser .cta_stackBtn.is-wa {
  background: var(--ay-social-wa);
}
.ff-fundraiser .cta_stackBtn.is-top {
  background: var(--ay-ink);
}

/* Pop animation (on WRAPPER) */
@keyframes ffCtaPop {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.6);
  }
  60% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* When stack becomes visible, pop each wrapper with stagger */
.ff-fundraiser .cta_stack.is-visible .cta_stackItem {
  animation: ffCtaPop 0.38s cubic-bezier(0.2, 0.9, 0.2, 1) both;
}

/* Order: top buttons appear first, scroll-to-top last (like your screenshot) */
.ff-fundraiser .cta_stack.is-visible .cta_stackItem:nth-child(1) {
  animation-delay: 800ms;
}
.ff-fundraiser .cta_stack.is-visible .cta_stackItem:nth-child(2) {
  animation-delay: 700ms;
}
.ff-fundraiser .cta_stack.is-visible .cta_stackItem:nth-child(3) {
  animation-delay: 600ms;
}
.ff-fundraiser .cta_stack.is-visible .cta_stackItem:nth-child(4) {
  animation-delay: 500ms;
}
.ff-fundraiser .cta_stack.is-visible .cta_stackItem:nth-child(5) {
  animation-delay: 0ms;
}

/* Hover (works because it transforms the INNER button, not the animated wrapper) */
.ff-fundraiser .cta_stackBtn:hover {
  transform: translateY(-2px) scale(1.1);
}

/* Keyboard focus */
.ff-fundraiser .cta_stackBtn:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.65);
  outline-offset: 3px;
}

/* If CTA itself is hidden (footer), stack must be hidden too */
.ff-fundraiser [data-cta].is-hidden .cta_stack {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* SECTION 2 */

.ff-fundraiser .section2 {
  position: relative;
  z-index: 2;
  background-color: var(--ay-cream);
}

.ff-fundraiser .section2_cloud {
  width: 100%;
  height: auto;
  display: block;
}

.ff-fundraiser .section2_inner {
  position: relative;
  overflow: clip;
  background: var(--ay-offwhite);
  margin-top: -2px;
}

.ff-fundraiser .section2_wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 34px 24px 90px;
  min-height: auto;
  display: grid;
  align-content: center;
}

.ff-fundraiser .section2_title {
  text-align: center;
  font-family: "Lobster", cursive;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 40px);
  color: var(--ay-navy);
  margin: 10px 0 26px;
}

.ff-fundraiser .section2_grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(18px, 3vw, 46px);
  position: relative;
  z-index: 2; 
}

.ff-fundraiser .cause_svg {
  text-align: right;
}

.ff-fundraiser .cause_svg > img:first-child {
  width: 60%;
}

.ff-fundraiser .cause_svg > img:last-child {
  width: 100%;
}

.ff-fundraiser .section2_right {
  max-width: 420px;
}

.ff-fundraiser .cause_p {
  margin: 0 0 20px;
  font-family: "Saira", system-ui, sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.45;
  color: var(--ay-navy);
}

.ff-fundraiser .cause_p strong {
  font-weight: 900;
}

/* ===== faint linked background ===== */
.ff-fundraiser .section2_bgpop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.ff-fundraiser .section2_bgpop img {
  opacity: 0.1;
}

.ff-fundraiser .section2_bgpop .bgpop {
  position: absolute;
  width: 92px;
  aspect-ratio: 1;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
  animation: causeFloat 7s ease-in-out infinite;
}

.ff-fundraiser .section2_bgpop .bgpop svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ff-fundraiser .section2_bgpop .bgpop:hover {
  opacity: 0.26;
  transform: translateY(-6px) scale(1.05);
}

/* positions (tune later) */
.ff-fundraiser .section2_bgpop .p1 {
  left: 6%;
  top: 12%;
  animation-delay: 0.1s;
}
.ff-fundraiser .section2_bgpop .p2 {
  right: 10%;
  top: 18%;
  animation-delay: 1.1s;
  width: 70px;
}
.ff-fundraiser .section2_bgpop .p3 {
  left: 12%;
  bottom: 10%;
  animation-delay: 2.1s;
  width: 78px;
}
.ff-fundraiser .section2_bgpop .p4 {
  right: 18%;
  bottom: 16%;
  animation-delay: 3.2s;
  width: 64px;
}
.ff-fundraiser .section2_bgpop .p5 {
  left: 48%;
  top: 8%;
  animation-delay: 2.6s;
  width: 58px;
}

/* ===== floating kids ===== */
.ff-fundraiser .section2_kids {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.ff-fundraiser .kid_avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ff-fundraiser .thanks-kid {
  position: absolute;
  display: grid;
  justify-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: causeFloat 6.2s ease-in-out infinite;
  will-change: transform;

  /* per-kid sizing vars (defaults) */
  --size: 96px;
  --border: 4px;
  --bubble: 18px;
}

.ff-fundraiser .kid_avatar {
  width: var(--size);
  aspect-ratio: 1;
  border-radius: 999px;
  border: var(--border) solid var(--ay-secondary);
  overflow: hidden;
  background: var(--ay-avatar-bg);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.18s ease;
}

.ff-fundraiser .kid_avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ff-fundraiser .kid_avatar circle {
  fill: var(--ay-avatar-placeholder);
}
.ff-fundraiser .kid_avatar text {
  fill: var(--ay-navy);
  font-family: "Saira", system-ui, sans-serif;
  font-weight: 900;
}

.ff-fundraiser .kid_bubble {
  background: var(--ay-secondary);
  color: var(--ay-white);
  font-family: "Lobster", cursive;
  font-weight: 400;
  font-size: var(--bubble);
  padding: 7px 14px;
  border-radius: 999px;
  transform: rotate(-8deg);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
  position: relative;
  white-space: nowrap;
}

.ff-fundraiser .kid_bubble::after {
  content: "";
  position: absolute;
  left: 18px;
  bottom: -8px;
  width: 14px;
  height: 14px;
  background: var(--ay-secondary);
  transform: rotate(45deg);
  border-radius: 3px;
}

/* kid positions (desktop) */
.ff-fundraiser .k1 {
  left: 10%;
  top: 28%;
  animation-delay: 1.3s;
  --size: 108px;
  --bubble: 19px;
}
.ff-fundraiser .k2 {
  right: 8%;
  top: 4%;
  animation-delay: 1.1s;
  --size: 84px;
  --bubble: 16px;
}
.ff-fundraiser .k3 {
  left: 1%;
  top: 2%;
  animation-delay: 0.6s;
  --size: 98px;
  --bubble: 18px;
}
.ff-fundraiser .k4 {
  left: 6%;
  top: 78%;
  animation-delay: 1.7s;
  --size: 76px;
  --bubble: 15px;
}
.ff-fundraiser .k5 {
  right: 10%;
  top: 72%;
  animation-delay: 0.1s;
  --size: 92px;
  --bubble: 17px;
}
.ff-fundraiser .k6 {
  left: 40%;
  bottom: 10%;
  animation-delay: 1s;
  --size: 112px;
  --bubble: 19px;
}
.ff-fundraiser .k7 {
  right: 32%;
  bottom: 2%;
  animation-delay: 2.7s;
  --size: 80px;
  --bubble: 16px;
}

.ff-fundraiser .desktop-only {
  display: grid;
}

/* shared float */
@keyframes causeFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ff-fundraiser .thanks-kid,
  .ff-fundraiser .section2_bgpop .bgpop {
    animation: none !important;
  }
}

/* ===== mobile layout to match screenshot ===== */
@media (max-width: 700px) {
  .ff-fundraiser .section2_wrap {
    padding: 26px 18px 34px;
    min-height: auto;
  }

  .ff-fundraiser .cause_svg {
    text-align: center;
  }

  .ff-fundraiser .section2_grid {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  .ff-fundraiser .section2_right {
    max-width: 520px;
    margin: 0 auto;
  }

  .ff-fundraiser .cause_p {
    font-size: 17px;
  }

  /* kids become a bottom row like the screenshot */
  .ff-fundraiser .section2_kids {
    position: relative;
    inset: auto;
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    pointer-events: auto;
  }

  .ff-fundraiser .thanks-kid {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    animation-duration: 5.8s;

    /* clamp sizes on mobile */
    --size: clamp(70px, 18vw, 92px);
    --bubble: clamp(14px, 3.8vw, 16px);
  }

  /* vary slightly on mobile */
  .ff-fundraiser .k1 {
    --size: clamp(78px, 20vw, 94px);
  }
  .ff-fundraiser .k2 {
    --size: clamp(70px, 17vw, 86px);
  }
  .ff-fundraiser .k3 {
    --size: clamp(74px, 18vw, 90px);
  }
  .ff-fundraiser .k4 {
    --size: clamp(68px, 16vw, 84px);
  }


  .ff-fundraiser .desktop-only {
    display: none;
  }


  .ff-fundraiser .section2_bgpop .bgpop {
    width: 70px;
  }
}

/* SECTION 2.1 — MORE PRODUCTS (draggable/swipe + no scrollbar) */

.ff-fundraiser .section2_more {
  padding-top: 10%;
  text-align: center;
  background: var(--ay-offwhite);
}

.ff-fundraiser .section2_more_title {
  font-family: "Lobster", cursive;
  font-size: clamp(34px, 4vw, 64px);
  color: var(--ay-primary);
  margin: 0 0 10px;
  transform: rotate(-2deg);
  line-height: 25px;
}

.ff-fundraiser .section2_more_sub {
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(16px, 1.8vw, 22px);
  color: var(--ay-navy);
  margin-bottom: 60px;
  transform: rotate(-2deg);
}

/* Desktop grid */
.ff-fundraiser .section2_more_track {
  display: flex;
  gap: 40px;
  justify-content: center;
}

/* Product card */
.ff-fundraiser .s2_card {
  text-decoration: none;
  color: inherit;
  display: grid;
  gap: 18px;
}

/* === Image box: fixed consistent size, crop image to fit === */
.ff-fundraiser .s2_media {
  height: 260px; /* same dimensions across cards */
  border-radius: 28px;
  overflow: hidden; /* crops the image */
  display: block;
}

.ff-fundraiser .s2_media--tile {
  padding: 0; /* no extra padding; box is the crop area */
}

.ff-fundraiser .s2_media img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop to fit */
  object-position: center;
  display: block;
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.22));
}

/* Meta */
.ff-fundraiser .s2_meta {
  text-align: center;
  display: grid;
  gap: 12px;
}

.ff-fundraiser .s2_name {
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: clamp(20px, 2vw, 30px);
  color: var(--ay-navy);
}

.ff-fundraiser .s2_row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.ff-fundraiser .s2_price {
  font-family: "Lobster", cursive;
  font-size: clamp(42px, 5vw, 70px);
  color: var(--ay-navy);
  line-height: 1;
  display: inline-flex;
  align-items: flex-start;
}

.ff-fundraiser .s2_currency {
  font-size: 0.55em; /* smaller $ */
  margin-right: 4px;
  position: relative;
  top: 0.18em;
}

.ff-fundraiser .s2_dollars {
  font-size: 1em;
}

.ff-fundraiser .s2_cents {
  font-size: 0.35em; /* smaller cents */
  position: relative;
  top: 0.3em;
  margin-left: 0.3em;
}

.ff-fundraiser .s2_btn {
  background: var(--ay-navy);
  color: var(--ay-white);
  font-family: "Saira Semi Condensed", sans-serif;
  font-weight: 900;
  font-size: 1.4em;
  padding: 13px 38px;
  border-radius: 999px;
  transition: transform 0.15s ease;
}

.ff-fundraiser .s2_card:hover .s2_btn {
  transform: scale(1.05);
}

/* Mobile: true swipe/drag feel + hide scrollbar + 1.5 cards visible */
@media (max-width: 820px) {
  .ff-fundraiser .section2_more {
    padding-top: 70px;
  }

  .ff-fundraiser .section2_more_track {
    gap: 18px;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 18px;
    padding: 0 18px 6px;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-x pan-y;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    justify-content: initial;
  }


  .ff-fundraiser .section2_more_track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }

  .ff-fundraiser .section2_more_track:active {
    cursor: grabbing;
  }

  .ff-fundraiser .s2_card {
    scroll-snap-align: start;
    width: 220px;
    min-width: 220px;
  }


  .ff-fundraiser .s2_media {
    border-radius: 22px;
    height: 220px;
  }


  .ff-fundraiser .s2_row {
    gap: 18px;
  }

  .ff-fundraiser .s2_btn {
    padding: 12px 28px;
  }
}

/* MOBILE / SMALL SCREENS: Disable sticky cover effect so hero never disappears */
@media (min-width: 481px) and (max-width: 960px) {
  .hero_svg {
    height: 80vw;
  }
}

@media (max-width: 960px) {
  .ff-fundraiser .popcorn-carousel {
    height: 80vw;
    margin-top: -30vw;
    z-index: 0;
  }
  .hero_svg {
    z-index: 2;
  }

  .ff-fundraiser .hero {
    height: min-content;
  }

  .ff-fundraiser .hero_top {
    grid-template-columns: 1fr;
  }

  .ff-fundraiser .hero_visual {
    padding: 0 24px 24px;
  }

  /* 3) Make CTA fixed + full width on mobile */
  .ff-fundraiser .cta {
    position: fixed !important;
    right: 0px !important;
    bottom: 10px !important;
    z-index: 9999;
    width: 400px !important;
  }

  .ff-fundraiser .cta_cloud .cta_btn {
    gap: 15px;
    overflow: hidden;
    margin-right: -20px;
  }

  .ff-fundraiser .cta_total {
    font-size: 28px;
  }

  .ff-fundraiser .cta_label {
    font-size: 14px;
    margin-bottom: -4px;
  }

  .ff-fundraiser .cta_total {
    font-size: 36px;
  }

  .ff-fundraiser .cta_btn {
    padding: 14px 18px;
  }

  .cta_btn span {
    font-size: 20px;
  }
}

/* SUPPORT TRANSITION */

.ff-fundraiser .support-transition {
  position: relative;
  z-index: 2;
  background: var(--ay-offwhite);
  overflow: clip;

  --washTopPx: 99999px;
  --washInTitleTopPx: 99999px;

  min-height: clamp(980px, 140vh, 1400px);
}

.ff-fundraiser .support-transition .support-stage {
  position: relative;
  min-height: 100%;
}

.ff-fundraiser .support-transition .support-inner {
  position: relative;
  z-index: 3;

  width: min(92%, 750px);
  margin: 0 auto;
  padding: clamp(22px, 3vw, 46px) 0;

  min-height: clamp(640px, 100vh, 920px);
  display: grid;
  align-items: center;
}

.ff-fundraiser .support-transition .support-grid {
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  grid-template-rows: auto auto;
  gap: clamp(18px, 4vw, 60px);
  align-items: center;
}

.ff-fundraiser .support-transition .support-left {
  grid-column: 1;
  grid-row: 1 / span 2;
}
.ff-fundraiser .support-transition .support-right {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}
.ff-fundraiser .support-transition .support-bowlWrap {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

/* Title layers */
.ff-fundraiser .support-transition .support-title {
  margin: 0;
  position: relative;
  line-height: 0.88;
  letter-spacing: -0.02em;
  font-family: "Saira Extra Condensed", "Saira Condensed", "Saira", sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(56px, 7.2vw, 118px);
  isolation: isolate;
}

.ff-fundraiser .support-transition .support-title-base {
  display: block;
  color: var(--ay-primary);
}

.ff-fundraiser .support-transition .support-title-washLayer {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
}

.ff-fundraiser .support-transition .support-title-washSlab {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--washInTitleTopPx, 99999px);
  height: calc(100% + 1200px);
  overflow: hidden;
}

.ff-fundraiser .support-transition .support-title-wash {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--washInTitleTopPx, 0px));
  color: var(--ay-white);
}

/* Ring */
.ff-fundraiser .support-transition .support-right {
  display: grid;
  justify-items: end;
}

.ff-fundraiser .support-transition .support-ring {
  width: clamp(300px, 30vw, 480px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-decoration: none;
  overflow: hidden;
}

.ff-fundraiser .support-transition .support-ring > svg {
  width: 100%;
  height: 100%;
  display: block;
}

.ff-fundraiser .support-transition .support-ring > svg #school-ring {
  transform-box: view-box;
  transform-origin: 247.23px 158.06px;
  animation: schoolSpin 20s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ff-fundraiser .support-transition .support-ring > svg #school-ring {
    animation: none !important;
  }
}

/* Product Secondary Image*/
.ff-fundraiser .support-transition .support-bowlWrap {
  display: grid;
  justify-items: end;
}

.ff-fundraiser .support-transition .support-bowl {
  width: clamp(200px, 26vw, 360px);
  height: auto;
  display: block;
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, 0.18));
}

/* Wash */
.ff-fundraiser .support-transition .support-wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ff-fundraiser .support-transition .support-wash-fill {
  position: absolute;
  left: 0;
  right: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  top: var(--washTopPx, 99999px);
  bottom: -30%;
  background: var(--ay-primary);
  will-change: top;
}

.ff-fundraiser .support-transition .support-bgpop {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.ff-fundraiser .support-transition .support-pop {
  position: absolute;
  width: 92px;
  aspect-ratio: 1;
  pointer-events: auto;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease;
  animation: causeFloat 7s ease-in-out infinite;
}

.ff-fundraiser .support-transition .support-pop-white {
  opacity: 0.35;
}
.ff-fundraiser .support-transition .support-pop-black {
  opacity: 0.1;
}

.ff-fundraiser .support-transition .support-pop img {
  width: 100%;
  height: 100%;
  display: block;
}

/* Coordinates */
.support-bgpop .sp1 {
  top: 10%;
  left: 6%;
  transform: rotate(-10deg);
}
.support-bgpop .sp2 {
  top: 22%;
  right: 8%;
  transform: rotate(12deg);
}
.support-bgpop .sp3 {
  bottom: 48%;
  left: 10%;
  transform: rotate(8deg);
}
.support-bgpop .sp4 {
  bottom: 38%;
  right: 14%;
  transform: rotate(-14deg);
}

@media (max-width: 900px) {
  .ff-fundraiser .support-transition {
    min-height: clamp(880px, 160vh, 1400px);
  }

  .ff-fundraiser .support-transition .support-inner {
    min-height: clamp(620px, 100vh, 900px);
    width: min(100%, 650px);
    padding: 30px 0;
  }

  .ff-fundraiser .support-transition .support-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 26px;
    text-align: center;
    align-items: start;
  }

  .ff-fundraiser .support-transition .support-right {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    justify-items: center;
  }
  .ff-fundraiser .support-transition .support-left {
    grid-column: 1;
    grid-row: 2;
  }
  .ff-fundraiser .support-transition .support-bowlWrap {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
  }

  .ff-fundraiser .support-transition .support-ring {
    width: min(86vw, 420px);
  }
  .ff-fundraiser .support-transition .support-bowl {
    width: min(84vw, 320px);
  }

  .ff-fundraiser .support-transition .support-title {
    width: 100%;
    line-height: 0.9;
    font-size: 100px;
  }

  /* Coordinates */
  .support-bgpop .sp1 {
    top: 3%;
    left: 6%;
    max-width: 15vw;
  }
  .support-bgpop .sp2 {
    top: 22%;
    right: 8%;
    max-width: 15vw;
  }
  .support-bgpop .sp3 {
    bottom: 48%;
    left: 3%;
    max-width: 15vw;
  }
  .support-bgpop .sp4 {
    bottom: 38%;
    right: 4%;
    max-width: 15vw;
  }
}

/*FAQ Section--------------*/

.ff-faq {
  position: relative;
  z-index: 3;
  background: var(--ay-primary);
  padding: clamp(34px, 6vw, 70px) 18px;
}

.ff-faq__inner {
  max-width: 1120px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.ff-faq__accordion {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ff-faq__item {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  transition: border-radius 0.25s ease;
  background: transparent;
}

/* Background fade layer to prevent flash */
.ff-faq__item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    var(--ay-ink-strong) 0%,
    var(--ay-ink-strong-2) 100%
  );
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 0;
}

.ff-faq__item > * {
  position: relative;
  z-index: 1;
}

/* Button row */
.ff-faq__btn {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  cursor: pointer;
  text-align: left;
  color: var(--ay-text);
  font-family: "Saira Condensed";
  transition:
    background-color 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.ff-faq__q {
  font-weight: 900;
  letter-spacing: 0.2px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.25;
  transition: font-size 0.2s ease;
}

/* Closed hover effect */
.ff-faq__item:not(.is-open) .ff-faq__btn {
  border-radius: 18px;
}
.ff-faq__item:not(.is-open) .ff-faq__btn:hover {
   background: rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Icon container */
.ff-faq__icons {
  position: relative;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
}

.ff-faq__icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1em;
  height: 1em;
  font-size: 26px;
  line-height: 1;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
  transform-origin: 50% 50%;
}

/* Default icon state */
.ff-faq__icon--chev {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.ff-faq__icon--close {
  opacity: 0;
  transform: scale(0.9);
}

/* Panel animation */
.ff-faq__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.2, 0.85, 0.2, 1);
  background: transparent;
  color: var(--ay-white);
  box-shadow: var(--ay-shadow-strong);
}

.ff-faq__panel > * {
  overflow: hidden;
}

.ff-faq__panel p {
  margin: 10px 0 0;
  padding: 18px 22px 24px;
  max-width: 78ch;
  color: var(--ay-muted);
  font-size: clamp(15px, 1.3vw, 19px);
  line-height: 1.55;

  opacity: 0;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

/* Open state */
.ff-faq__item.is-open {
  border-radius: clamp(18px, 2vw, 36px);
}

.ff-faq__item.is-open::before {
  opacity: 1;
}

.ff-faq__item.is-open .ff-faq__btn {
  padding: 22px 22px 0;
  color: var(--ay-white);
  cursor: default;
}

.ff-faq__item.is-open .ff-faq__q {
  font-size: clamp(22px, 2.2vw, 28px);
}

.ff-faq__item.is-open .ff-faq__panel {
  grid-template-rows: 1fr;
}

.ff-faq__item.is-open .ff-faq__panel p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.08s;
}

/* Icon crossfade in open state */
.ff-faq__item.is-open .ff-faq__icon--chev {
  opacity: 0;
  transform: rotate(180deg) scale(0.95);
}
.ff-faq__item.is-open .ff-faq__icon--close {
  opacity: 1;
  transform: scale(1);
}

/* Decorative popcorn */
.ff-faq__pop {
  position: absolute;
  color: rgba(255, 255, 255, 0.45);
  z-index: 1;
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 560px) {
  .ff-faq {
    padding: 28px 14px;
  }
  .ff-faq__btn {
    padding: 18px 18px;
  }
  .ff-faq__item.is-open .ff-faq__btn {
    padding: 18px 18px 0;
  }
  .ff-faq__panel p {
    padding: 16px 18px 20px;
  }
  .ff-faq__icons {
    width: 40px;
    height: 40px;
  }
  .ff-faq__icon {
    font-size: 24px;
  }
  .ff-faq__pop svg {
    width: 84px;
    height: 84px;
  }
}

/* PATCHES THE unexpected GAP FROM YELLOW WASH SECTION'S LETTER COVER */
@media (min-width: 901px) {
  .ff-faq {
    margin-top: -50vh;
    position: relative;
    z-index: 5;
  }

  .support-stage {
    padding-bottom: 45vh;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .ff-faq__panel,
  .ff-faq__panel p,
  .ff-faq__icon {
    transition: none !important;
  }
}

/* =========================
   THANK YOU TRANSITION
   ========================= */

.ff-thanks {
  --ff-scroll: 500vh;
  position: relative;
  background: var(--ay-primary);
  height: var(--ff-scroll);
  overflow: clip;
  z-index: 9;
}

.ff-thanks__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: clip;
}

.ff-thanks__stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Yellow stage */
.ff-thanks__stage--yellow {
  background: var(--ay-primary);
  z-index: 3;
}

.ff-thanks__words {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 10vh 4vw 30vh 4vw;
  pointer-events: none;
  will-change: opacity;
}

.ff-thanks__words img {
  height: 25vh;
}

/* Photo stage */
.ff-thanks__stage--photo {
  z-index: 2;
  background: var(--ay-primary);
}

.ff-thanks__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate3d(0, 0, 0);
  opacity: 1 !important;
  will-change: transform;
}

.ff-thanks__curtain {
  --ff-cloudH: clamp(220px, 40vh, 520px);

  position: absolute;
  left: 0;
  top: 0;
  width: 100%;

  height: calc(100vh + var(--ff-cloudH));

  z-index: 4;
  pointer-events: none;
  transform: translate3d(0, 0%, 0);
  will-change: transform;
  backface-visibility: hidden;
}

.ff-thanks__curtainFill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100vh;
  background: var(--ay-primary);
}

/* Contain SVG properly */
.ff-thanks__curtainEdge {
  position: absolute;
  left: 0;
  top: 100vh;
  width: 100%;
  height: auto; 
  max-height: var(--ff-cloudH);
  object-fit: contain; 
  display: block;
  margin-top: -5px;
}

.ff-thanks__thankyou {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 4.2vh, 44px);
  display: grid;
  place-items: center;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(0, 16px, 0) scale(0.92);
  will-change: transform, opacity;
  padding: 0 20px 0 20px;
}

/* Mobile tweaks */
@media (max-width: 640px) {
  .ff-thanks {
    --ff-scroll: 390vh;
  }

  .ff-fundraiser .products {
    padding-left: 0px;
    padding-right: 0px;
    margin-top: -15vw;
  }

  /* smaller edge texture on mobile */
  .ff-thanks__curtain {
    --ff-cloudH: min(62vh, 420px);
  }

  .ff-thanks__words img {
    height: 15vh;
  }

  .ff-thanks__words {
    padding: 10vh 10vw 40vh 10vw;
  }
}


/* Default: show desktop */
.ff-thanks__curtainEdge--mobile {
  display: none;
}

@media (max-width: 640px) {
  .ff-thanks__curtainEdge--desktop {
    display: none;
  }
  .ff-thanks__curtainEdge--mobile {
    display: block;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .ff-thanks {
    height: auto;
  }
  .ff-thanks__sticky {
    position: relative;
    height: auto;
  }
  .ff-thanks__stage {
    position: relative;
    height: auto;
  }
  .ff-thanks__curtain {
    position: relative;
    transform: none !important;
    height: auto;
  }
  .ff-thanks__curtainFill {
    height: 60vh;
  }
  .ff-thanks__curtainEdge {
    position: relative;
    top: 0;
    height: auto;
  }
  .ff-thanks__thankyou {
    opacity: 1;
    transform: none;
  }
  .ff-thanks__words {
    display: none;
  }
  .ff-thanks__photo {
    position: relative;
    height: 70vh;
  }
}

.ff-thanks__svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Desktop by default */
.ff-thanks__svg--mobile {
  display: none;
}

@media (max-width: 768px) {
  .ff-thanks__svg--desktop {
    display: none;
  }
  .ff-thanks__svg--mobile {
    display: block;
  }
}

.ay-footer {
  background-color: var(--ay-bg-page);
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  padding: 40px 38px 40px;
  z-index: 999;
}

.ay-footer__rule {
  height: 1px;
  width: min(1240px, calc(100% - 36px));
  margin: 0 auto 34px;
  background: rgba(255, 255, 255, 0.1);
}

.ay-footer__inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ay-footer__left,
.ay-footer__center,
.ay-footer__right {
  flex: 1 1 0;
  min-width: 0;
}

.ay-footer__left {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ay-footer__center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ay-footer__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 3vw, 44px);
  white-space: nowrap;
}

.ay-footer__copyright {
  font-size: 16px;
  font-weight: 500;
  opacity: 0.9;
}

.ay-footer__logoLink {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.ay-footer__logo {
  height: 34px; 
  width: auto;
  opacity: 0.3;
  display: block;
}

.ay-footer__link {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-underline-offset: 4px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  transition:
    opacity 0.15s ease,
    color 0.15s ease,
    text-decoration-color 0.15s ease;
}

.ay-footer__link:hover {
  color: rgba(255, 255, 255, 0.45);
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.ay-footer__mobileCopyright {
  display: none;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2px;
}

@media (max-width: 900px) {
  .ay-footer {
    padding: 34px 16px 36px;
  }

  .ay-footer__inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 22px;
  }

  .ay-footer__left {
    display: none;
  }

  .ay-footer__center {
    order: 1;
  }

  .ay-footer__right {
    order: 2;
    justify-content: center;
    gap: 34px;
  }

  .ay-footer__mobileCopyright {
    display: inline;
    order: 3;
    font-size: 16px;
    font-weight: 500;
  }

  .ay-footer__logo {
    height: 62px;
    opacity: 0.7;
  }
}

@media (max-width: 520px) {
  /* prevent overflow on very small screens */
  .ay-footer__right {
    flex-wrap: wrap;
    row-gap: 12px;
    column-gap: 28px;
  }
}

/* ============ Flavor Focus Mode ============ */

.ff-fundraiser .hero [hidden] {
  display: none !important;
}

/* default: focus stage off (JS toggles [hidden], but keep this as a hard fallback) */
.ff-fundraiser .ff-flavorStage {
  display: none;
}

/* active mode */
.ff-fundraiser.is-flavor-mode .products,
.ff-fundraiser.is-flavor-mode .popcorn-carousel {
  display: none !important;
}

.ff-fundraiser.is-flavor-mode .ff-flavorStage {
  display: block !important;
}

.ff-fundraiser.is-flavor-mode .hero_top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

/* ============ Stage Base ============ */

.ff-flavorStage {
  position: relative;
  touch-action: pan-y;
}

.ff-flavorStage__close {
  position: absolute;
  top: 0;
  right: 30px;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: transparent;
  border: none;
  color: var(--ff-pill, #b86b1d);
  font-weight: 900;
  cursor: pointer;
}

/* ============ Meta ============ */

.ff-flavorStage__meta {
  padding: 6px 8vw 0px 8vw;
  color: var(--ay-ink);

  height: 140px;                
  display: grid;
  grid-template-rows: auto 1fr;  
  gap: 8px;
  overflow: hidden;           
}

.ff-flavorStage__title {
  margin: 0;
  font-family: "Saira Condensed", system-ui, sans-serif;
  font-weight: 900;
  font-size: clamp(28px, 3.1vw, 46px);
  letter-spacing: 0.6px;
  text-transform: uppercase;
  text-align: center;
  line-height: 1;
}

.ff-flavorStage__desc {
  margin: 0;
  font-family: "Saira", system-ui, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.35;
  text-align: center;

  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

/* ============ Viewer / Swipe Area ============ */

.ff-flavorStage__viewer,
.ff-flavorStage__imgwrap {
  touch-action: pan-y;
}

.ff-flavorStage__viewer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  top: -30px;
}

.ff-flavorStage__nav {
  border: none;
  display: grid;
  place-items: center;
  background: var(--ay-cream);
  cursor: pointer;
  padding: 0px 30px;
  border-radius: 999px;
}

.ff-flavorStage__nav--prev {
  color: var(--ff-prev, #6d5a4a);
}
.ff-flavorStage__nav--next {
  color: var(--ff-next, #b86b1d);
}

.ff-flavorStage__nav i,
.ff-flavorStage__close i {
  font-size: 52px;
  line-height: 1;
  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

.ff-flavorStage__nav i:hover,
.ff-flavorStage__close i:hover {
  transform: translateY(0px) scale(1.05);
}

.ff-flavorStage__imgwrap {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: clamp(380px, 55vh, 640px);
  display: flex;
  align-items: center;
  justify-content: center;
  
  
}

.ff-flavorStage__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  margin: 0;
  z-index: 1;
  will-change: transform, opacity;
}

.ff-flavorStage__img--alt {
  display: none !important;
}

/* ============ Price Pill ============ */

.ff-flavorStage__pricePill {
  position: absolute;

  /* responsive position */
  left: clamp(12px, 6vw, 60px);
  top: clamp(12px, 2vw, 28px);

  z-index: 4;

  background: var(--ff-pill, #b86b1d);
  color: var(--ay-white);

  border-radius: 999px;

  /* responsive padding */
  padding: clamp(8px, 1.2vw, 12px) clamp(14px, 2vw, 22px);

  font-family: "Lobster", cursive;
  font-weight: 400;

  /* responsive text */
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1;

  /* combine transforms */
  transform: rotate(-7deg);

  transform-origin: left center;

  display: inline-flex;
  align-items: flex-start;
  gap: clamp(2px, .5vw, 6px);
}

.ff-flavorStage__pricePill .ff-priceDollar {
  font-size: 0.72em;
  line-height: 1;
  transform: translateY(0.18em);
}

.ff-flavorStage__pricePill .ff-priceMain {
  font-size: 1em;
  line-height: 1;
}

.ff-flavorStage__pricePill .ff-priceCents {
  font-size: 0.58em;
  line-height: 1.6;
  transform: translateY(-0.25em);
}

/* ============ Center Overlay Controls ============ */

.ff-flavorStage__controls {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  z-index: 6;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: max-content;
}

.ff-flavorStage__add {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  height: 76px;
  padding: 0 34px;

  border-radius: 999px;
  border: 3px solid var(--ay-navy);

  background: var(--ay-tile-bg);
  color: var(--ay-navy);

  font-family: "Saira Semi Condensed", system-ui, sans-serif;
  font-weight: 900;
  font-size: 30px;

  cursor: pointer;
  opacity: 0.88;

  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease,
    background-color 0.14s ease, opacity 0.14s ease;
}

.ff-flavorStage__add i {
  font-size: 36px;
}

@media (hover: hover) {
  .ff-flavorStage__add:hover {
    transform: translateY(0px) scale(1.02);
    background: var(--ay-offwhite);
    opacity: 1;
  }
}

.ff-flavorStage__add:active {
  transform: translateY(0px) scale(1.02);
  background: var(--ay-offwhite);
}

.ff-flavorStage__qty:not([hidden]) + .ff-flavorStage__add,
.ff-flavorStage__controls:has(.ff-flavorStage__qty:not([hidden]))
  .ff-flavorStage__add {
  opacity: 1;
}

.ff-flavorStage__qty {
  display: inline-flex;
  align-items: center;
  gap: 14px;

  height: 76px;
  padding: 0 22px;

  border-radius: 999px;
  border: 3px solid var(--ay-navy);
  background: var(--ay-offwhite);

  transition: transform 0.14s ease, box-shadow 0.14s ease, filter 0.14s ease;
}

@media (hover: hover) {
  .ff-flavorStage__qty:hover {
    transform: translateY(0px) scale(1.02);
    background: var(--ay-offwhite);
  }
}

.ff-flavorStage__qtyVal {
  min-width: 34px;
  text-align: center;
  font-family: "Saira Semi Condensed", system-ui, sans-serif;
  font-weight: 900;
  font-size: 26px;
  color: var(--ay-navy);
}

.ff-flavorStage__minus,
.ff-flavorStage__plus {
  border: none;
  background: transparent;
  color: var(--ay-navy);
  cursor: pointer;
}

.ff-flavorStage__minus i,
.ff-flavorStage__plus i {
  font-size: 36px;
}

/* ============ Mobile ============ */

@media (max-width: 960px) {
  .ff-fundraiser.is-flavor-mode .hero_top {
    display: block;
  }

  .ff-flavorStage {
    padding-top: 10%;
  }

  .ff-flavorStage__viewer {
    position: relative;
    display: block;
    margin-top: 0px;
    padding: 0px;
  }

  .ff-flavorStage__imgwrap {
    width: 100%;
    height: clamp(360px, 52vh, 560px);
    min-height: 0;
    padding: 0;
    top: -50px;
    margin-bottom: -40%;
  }

  .ff-flavorStage__pricePill {
    left: 18px;
    top: 88px;
    z-index: 4;
  }

  .ff-flavorStage__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 58px;
    height: 58px;
    z-index: 6;
    padding: 0;
  }

  .ff-flavorStage__meta {
    height: 140px;
    padding: 0;
    margin-right: 70px;
  }

  .ff-flavorStage__title,
  .ff-flavorStage__desc {
    text-align: left;
  }

  .ff-flavorStage__close {
    right: 0px;
    top: 10%;
  }

  .ff-flavorStage__nav--prev {
    left: 6px;
  }
  .ff-flavorStage__nav--next {
    right: 6px;
  }

  .ff-flavorStage__controls {
    top: 72%;
  }
}


@media (max-width: 960px) {
  .hero_one_product .ff-flavorStage__title {
    display: none;
  }

.hero_one_product .ff-flavorStage__desc {
  overflow: visible;
  position: absolute;
  top: 10px;
  width: 80vw;
  left: 50%;
  transform: translateX(-50%) rotate(-5deg);
  color: var(--ay-svg-ink)!important;
}
.hero_one_product .ff-flavorStage__imgwrap {
    top: -120px;
    margin-bottom: -40%;
  }

  .hero_one_product .ff-flavorStage__controls {
    top: 250px;
  }
}



.hero_one_product .ff-flavorStage__meta{
  width: 100%;
}


/* Disable flavor navigation + close controls in cards theme */
.hero_one_product .ff-flavorStage__close,
.hero_one_product .ff-flavorStage__nav--next > i,
.hero_one_product .ff-flavorStage__nav--prev > i {
  display: none;
}

.hero_one_product .ff-flavorStage__nav--next {
  border: none;
  width: 0px;
  height: 0px;
}
.hero_one_product .ff-flavorStage__nav--prev {
  border: none;
  width: 0px;
  height: 0px;
}