/**
 * Certified Fresh — Store Locator
 * Hand-ported from the React/Tailwind build. Every rule is scoped under
 * `#certified-fresh` so nothing here touches the rest of the AFM theme
 * (no global element resets, no bare utility class names like `.container`
 * or `.hidden` that could collide with theme/plugin CSS).
 */

/* ---------------------------------------------------------------------- */
/* Fonts                                                                   */
/* ---------------------------------------------------------------------- */

@font-face {
  font-family: "AFM Sans";
  src: url("../fonts/AFMSans.otf") format("opentype");
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: "Hurme Geometric Sans";
  src: url("../fonts/HurmeRegular.otf") format("opentype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Hurme Geometric Sans";
  src: url("../fonts/HurmeSemiBold.otf") format("opentype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Hurme Geometric Sans";
  src: url("../fonts/HurmeBold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Hurme Geometric Sans";
  src: url("../fonts/HurmeBlack.otf") format("opentype");
  font-weight: 800 900;
  font-display: swap;
}
@font-face {
  font-family: "Tasty";
  src: url("../fonts/TastyBold.otf") format("opentype");
  font-weight: 700;
  font-display: swap;
}

/* ---------------------------------------------------------------------- */
/* Tokens + scoped base (everything lives under #certified-fresh)          */
/* ---------------------------------------------------------------------- */

#certified-fresh {
  --cf-green: oklch(0.612 0.162 151.8);
  --cf-green-dark: oklch(0.406 0.099 153.8);
  --cf-lime: oklch(0.789 0.209 129.1);
  --cf-orange: oklch(0.665 0.193 38.1);
  --cf-butter: oklch(0.943 0.145 104.2);
  --cf-ink: oklch(0.376 0.095 153.5);
  --cf-glow-center: #fff570;
  --cf-glow-edge: #83c885;
  --cf-foreground: oklch(0.129 0.042 264.695);
  --cf-muted-foreground: oklch(0.554 0.046 257.417);
  --cf-red-600: #dc2626;
  --cf-white: #ffffff;
  --cf-font-display: "AFM Sans", "Hurme Geometric Sans", system-ui, sans-serif;
  --cf-font-sans: "Hurme Geometric Sans", system-ui, sans-serif;
  --cf-font-tasty: "Tasty", "AFM Sans", "Hurme Geometric Sans", system-ui, sans-serif;

  font-family: var(--cf-font-sans);
  color: var(--cf-ink);
  overflow-x: hidden;
  width: 100%;
}

#certified-fresh,
#certified-fresh *,
#certified-fresh *::before,
#certified-fresh *::after {
  box-sizing: border-box;
}

#certified-fresh img {
  max-width: 100%;
  display: block;
}

#certified-fresh h1,
#certified-fresh h2,
#certified-fresh h3,
#certified-fresh p,
#certified-fresh dl,
#certified-fresh dd,
#certified-fresh ul {
  margin: 0;
  padding: 0;
}

#certified-fresh ul {
  list-style: none;
}

#certified-fresh a {
  color: inherit;
  text-decoration: none;
}

#certified-fresh button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
}

#certified-fresh button:disabled {
  cursor: not-allowed;
}

#certified-fresh input,
#certified-fresh textarea {
  font: inherit;
  color: inherit;
}

#certified-fresh .cf-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

#certified-fresh [hidden] {
  display: none !important;
}

#certified-fresh .cf-display {
  font-family: var(--cf-font-display);
  text-transform: uppercase;
  font-style: normal;
  letter-spacing: -0.01em;
  line-height: 0.9;
}

#certified-fresh .cf-font-tasty {
  font-family: var(--cf-font-tasty);
}

/* ---------------------------------------------------------------------- */
/* Keyframes                                                                */
/* ---------------------------------------------------------------------- */

@keyframes cf-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes cf-swipe {
  0%,
  100% {
    transform: translateX(-3px);
  }
  50% {
    transform: translateX(3px);
  }
}

@keyframes cf-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(var(--cf-rot, 0deg));
  }
  50% {
    transform: translate3d(0, -18px, 0) rotate(calc(var(--cf-rot, 0deg) + 4deg));
  }
}

@keyframes cf-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes cf-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes cf-fade-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#certified-fresh .cf-float {
  animation: cf-float var(--cf-dur, 7s) ease-in-out infinite;
  will-change: transform;
}

#certified-fresh .cf-spin {
  animation: cf-spin 1s linear infinite;
}

#certified-fresh .cf-pulse {
  animation: cf-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  #certified-fresh .cf-float,
  #certified-fresh .cf-swipe-hint__icon {
    animation: none;
  }
}

/* ---------------------------------------------------------------------- */
/* Shared bits: buttons, inputs, sections                                  */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-section {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-section {
    padding-left: 4rem;
    padding-right: 4rem;
  }
}

#certified-fresh .cf-icon-btn svg {
  pointer-events: none;
}

#certified-fresh .cf-icon-btn {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 2px solid var(--cf-ink);
  background: var(--cf-lime);
  color: var(--cf-ink);
  transition: transform 0.15s ease;
}

#certified-fresh .cf-icon-btn:hover {
  transform: scale(1.05);
}

#certified-fresh .cf-icon-btn:disabled {
  opacity: 0.6;
}

#certified-fresh .cf-icon-btn:disabled:hover {
  transform: none;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-icon-btn {
    width: 3.25rem;
    height: 3.25rem;
  }
}

#certified-fresh .cf-icon-btn--ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(55, 65, 62, 0.7);
}

#certified-fresh .cf-icon-btn--ghost:hover {
  background: #fff;
}

#certified-fresh .cf-pill-input {
  height: 2.75rem;
  width: 100%;
  min-width: 0;
  border-radius: 9999px;
  border: 2px solid var(--cf-ink);
  background: #fff;
  padding: 0 0.875rem;
  font-size: 1rem;
  color: var(--cf-ink);
  outline: none;
}

#certified-fresh .cf-pill-input::placeholder {
  color: var(--cf-ink);
}

#certified-fresh .cf-pill-input:focus-visible {
  box-shadow: 0 0 0 4px rgba(214, 250, 96, 0.5);
}

#certified-fresh .cf-pill-input--error {
  border-color: var(--cf-red-600);
}

#certified-fresh .cf-pill-input--error:focus-visible {
  box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.3);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-pill-input {
    height: 3.25rem;
    font-size: 1.125rem;
  }
}

#certified-fresh .cf-error-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cf-red-600);
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                     */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-hero {
  position: relative;
  width: 100%;
  min-height: 520px;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-hero {
    height: 1012px;
  }
}

#certified-fresh .cf-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
}

#certified-fresh .cf-hero__pattern {
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 10;
  height: 100%;
  width: auto;
  object-fit: cover;
  object-position: right;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-hero__pattern {
    right: 10px;
  }
}

/* Below lg: the tall/cropped positioning above only shows a thin sliver of
   the pattern (and the "WHERE'S THE FRESH" text baked into it gets cut off).
   Swap it for a full-width, repeating background instead. */
@media (max-width: 63.9375rem) {
  #certified-fresh .cf-hero__pattern {
    display: none;
  }

  #certified-fresh .cf-hero::before {
    content: "";
    pointer-events: none;
    position: absolute;
    inset: 0;
    z-index: 10;
    background-image: url("../img/vector-pattern.png");
    background-repeat: repeat;
    background-size: 100% auto;
    background-position: top center;
  }
}

#certified-fresh .cf-hero__wrap {
  position: relative;
  z-index: 20;
  margin: 0 auto;
  display: flex;
  max-width: 1920px;
  justify-content: center;
  padding: 3rem 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-hero__wrap {
    justify-content: flex-end;
    padding: 129px 4rem;
  }
}

#certified-fresh .cf-hero__card {
  width: 100%;
  max-width: 560px;
  border-radius: 34px;
  padding: 2rem 1rem;
  box-shadow: 0 24px 80px -16px rgba(143, 210, 0, 0.45);
  background: linear-gradient(
    90deg,
    var(--cf-glow-edge) 0%,
    var(--cf-glow-center) 15%,
    var(--cf-glow-center) 85%,
    var(--cf-glow-edge) 100%
  );
}

@media (min-width: 40rem) {
  #certified-fresh .cf-hero__card {
    padding: 3rem 2.5rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-hero__card {
    padding: 59px 64px;
  }
}

#certified-fresh .cf-hero__lockup {
  width: 100%;
  max-width: 422px;
}

#certified-fresh .cf-hero__form {
  margin-top: 2rem;
}

#certified-fresh .cf-hero__label {
  display: block;
  white-space: nowrap;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  line-height: 0.9278;
  letter-spacing: -0.082px;
  color: #f15d2a;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-hero__label {
    font-size: 24.951px;
    letter-spacing: -0.146px;
  }
}

#certified-fresh .cf-hero__row {
  position: relative;
  margin-top: 1rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.375rem;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-hero__row {
    gap: 0.5rem;
  }
}

#certified-fresh .cf-hero__input-wrap {
  position: relative;
  min-width: 0;
  flex: 1;
}

#certified-fresh .cf-hero__input {
  padding-left: 0.875rem;
  padding-right: 0.875rem;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-hero__input {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    font-size: 1.125rem;
  }
}

@media (min-width: 48rem) {
  #certified-fresh .cf-hero__input {
    padding-left: 1.75rem;
    padding-right: 1.75rem;
    font-size: 1.25rem;
  }
}

#certified-fresh .cf-hero__suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 30;
  overflow: hidden;
  border-radius: 1rem;
  border: 2px solid var(--cf-ink);
  background: #fff;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.35);
}

#certified-fresh .cf-hero__suggestion {
  display: block;
  width: 100%;
  padding: 0.625rem 1rem;
  text-align: left;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--cf-ink);
  transition: background-color 0.15s ease;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-hero__suggestion {
    font-size: 1rem;
  }
}

#certified-fresh .cf-hero__suggestion:hover {
  background: rgba(214, 250, 96, 0.25);
}

#certified-fresh .cf-hero__suggestion--active {
  background: rgba(214, 250, 96, 0.4);
}

#certified-fresh .cf-hero__error,
#certified-fresh .cf-hero__loc-error {
  margin: 0.75rem auto 0;
  max-width: 360px;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.375;
}

#certified-fresh .cf-hero__error {
  color: var(--cf-red-600);
}

#certified-fresh .cf-hero__loc-error {
  color: var(--cf-ink);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-hero__error,
  #certified-fresh .cf-hero__loc-error {
    max-width: none;
    font-size: 1rem;
  }
}

#certified-fresh .cf-hero__badge {
  margin: 3rem auto 0;
  width: 370px;
  max-width: 100%;
}

/* ---------------------------------------------------------------------- */
/* Store finder (map + list)                                               */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-finder {
  background: #fff;
  padding: 3.5rem 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-finder {
    padding: 5rem 4rem;
  }
}

#certified-fresh .cf-finder__inner {
  margin: 0 auto;
  max-width: 1500px;
}

#certified-fresh .cf-finder__head {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-finder__head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

#certified-fresh .cf-finder__title {
  font-size: 28px;
  line-height: 1.2;
  color: var(--cf-green-dark);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-finder__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-finder__title {
    font-size: 64px;
  }
}

#certified-fresh .cf-finder__status {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--cf-ink);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-finder__status {
    font-size: 1.125rem;
  }
}

#certified-fresh .cf-finder__search {
  width: 100%;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-finder__search {
    max-width: 360px;
  }
}

#certified-fresh .cf-finder__search-row {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
}

#certified-fresh .cf-finder__search-row .cf-pill-input {
  padding: 0 1rem;
}

#certified-fresh .cf-finder__grid {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-finder__grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

#certified-fresh .cf-finder__map {
  overflow: hidden;
  border-radius: 1.5rem;
  border: 5px solid var(--cf-green);
  background: rgba(240, 232, 176, 0.4);
}

#certified-fresh .cf-finder__map-el,
#certified-fresh .cf-finder__map-skeleton {
  width: 100%;
  height: 300px;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-finder__map-el,
  #certified-fresh .cf-finder__map-skeleton {
    height: 420px;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-finder__map-el,
  #certified-fresh .cf-finder__map-skeleton {
    height: 560px;
  }
}

#certified-fresh .cf-finder__map-skeleton {
  animation: cf-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#certified-fresh .cf-finder__list {
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-finder__list {
    max-height: 560px;
  }
}

#certified-fresh .cf-finder__item {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid rgba(55, 65, 62, 0.2);
  background: #fff;
  padding: 0.625rem 1rem;
  text-align: left;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

#certified-fresh .cf-finder__item:hover {
  border-color: var(--cf-green);
}

#certified-fresh .cf-finder__item--active {
  border-color: var(--cf-green);
  background: var(--cf-butter);
}

#certified-fresh .cf-finder__item-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

#certified-fresh .cf-finder__item-brand {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.2;
  color: var(--cf-ink);
}

#certified-fresh .cf-finder__item-distance {
  flex-shrink: 0;
  border-radius: 9999px;
  background: var(--cf-green);
  padding: 0.125rem 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
}

#certified-fresh .cf-finder__item-address {
  margin-top: 0.125rem;
  font-size: 0.75rem;
  line-height: 1.375;
  color: var(--cf-foreground);
}

#certified-fresh .cf-finder__item-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 0.5rem;
  font-size: 0.75rem;
  color: var(--cf-muted-foreground);
}

#certified-fresh .cf-finder__item-links a {
  font-weight: 600;
  color: var(--cf-green-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#certified-fresh .cf-finder__empty {
  font-size: 1rem;
  color: var(--cf-muted-foreground);
}

/* ---------------------------------------------------------------------- */
/* Mission + counter                                                       */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-mission {
  position: relative;
  overflow: hidden;
  background: var(--cf-orange);
  padding: 5rem 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-mission {
    min-height: 829px;
    padding: 148px 0;
  }
}

#certified-fresh .cf-mission__chunk {
  pointer-events: none;
  position: absolute;
  display: none;
  width: 189px;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-mission__chunk {
    display: block;
  }
}

#certified-fresh .cf-mission__chunk img {
  width: 100%;
  filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.18));
}

#certified-fresh .cf-mission__chunk--1 {
  left: 2%;
  top: 45%;
}

#certified-fresh .cf-mission__chunk--2 {
  right: 5%;
  top: 22%;
  width: 187px;
}

#certified-fresh .cf-mission__chunk--3 {
  left: 19%;
  top: 72%;
  width: 131px;
}

#certified-fresh .cf-mission__inner {
  position: relative;
  margin: 0 auto;
  max-width: 1275px;
  text-align: center;
}

#certified-fresh .cf-mission__headline {
  font-size: clamp(1.25rem, 2.2vw, 38px);
  font-weight: 700;
  line-height: 1.18;
  color: #fff;
}

#certified-fresh .cf-mission__counter {
  margin-top: 3rem;
  font-size: clamp(72px, 14vw, 204px);
  font-weight: 600;
  line-height: 1;
  color: #fff;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__counter {
    margin-top: 4rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-mission__counter {
    margin-top: 150px;
  }
}

#certified-fresh .cf-mission__counter-label {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 2.3vw, 40px);
  font-weight: 700;
  color: #fff;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-mission__counter-label {
    margin-top: 2rem;
  }
}

#certified-fresh .cf-mission__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__actions {
    gap: 1rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-mission__actions {
    margin-top: 2.5rem;
  }
}

#certified-fresh .cf-mission__btn {
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9.661px;
  border: 2px solid #024f28;
  background: #fff;
  padding: 0 1rem;
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cf-ink);
  box-shadow: 0 2px 0 0 #024f28;
  transition: transform 0.15s ease;
}

#certified-fresh .cf-mission__btn:hover {
  transform: scale(1.05);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__btn {
    padding: 0 1.5rem;
  }
}

#certified-fresh .cf-mission__btn--nominate {
  padding: 0 1.5rem;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__btn--nominate {
    padding: 0 2rem;
  }
}

#certified-fresh .cf-mission__btn-icon {
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

#certified-fresh .cf-mission__btn-icon--open {
  transform: rotate(180deg);
}

#certified-fresh .cf-mission__list-wrap {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: all 0.5s ease-out;
}

#certified-fresh .cf-mission__list-wrap--open {
  margin-top: 2rem;
  grid-template-rows: 1fr;
  opacity: 1;
}

#certified-fresh .cf-mission__list-clip {
  overflow: hidden;
}

#certified-fresh .cf-mission__list {
  margin: 0 auto;
  display: grid;
  max-width: 1100px;
  grid-template-columns: 1fr;
  row-gap: 0.75rem;
  text-align: left;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__list {
    grid-template-columns: 1fr 1fr;
    column-gap: 70px;
  }
}

#certified-fresh .cf-mission__list-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  align-self: stretch;
  border-radius: 12px;
  border: 2px solid #fff;
  background: #f15d2a;
  padding: 0.5rem;
}

#certified-fresh .cf-mission__list-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  width: 52px;
  height: 52px;
  aspect-ratio: 1 / 1;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__list-logo {
    width: 66px;
    height: 66px;
  }
}

#certified-fresh .cf-mission__list-logo img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__list-logo img {
    width: 48px;
    height: 48px;
  }
}

#certified-fresh .cf-mission__list-name {
  font-family: var(--cf-font-tasty);
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-mission__list-name {
    font-size: 32px;
    line-height: 54.53px;
  }
}

/* ---------------------------------------------------------------------- */
/* Logo marquee                                                            */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-marquee {
  overflow: hidden;
  background: #fff;
  padding: 3.5rem 0;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-marquee {
    min-height: 338px;
    padding: 128px 0;
  }
}

/* Seamless loop: the gap lives on each group (as trailing padding) rather than
   between them, so translating the track by -50% lands exactly on the start of
   the duplicate group. ~90 logos, so the duration is long to keep a readable
   speed (~60px/s). */
#certified-fresh .cf-marquee__track {
  display: flex;
  width: max-content;
  animation: cf-marquee 300s linear infinite;
  align-items: center;
}

#certified-fresh .cf-marquee__group {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-right: 2.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-marquee__group {
    gap: 4rem;
    padding-right: 4rem;
  }
}

/* Default logo box: fixed size so lazy-loaded images don't shift the track. */
#certified-fresh .cf-marquee__logo {
  width: 6.5rem;
  height: 4.5rem;
  object-fit: contain;
}

@media (min-width: 48rem) {
  #certified-fresh .cf-marquee__logo {
    width: 7rem;
    height: 5rem;
  }
}

/* Hand-sized logos (wide artwork) keep their own height and natural width. */
#certified-fresh .cf-marquee__logo--potbelly,
#certified-fresh .cf-marquee__logo--pokeworks,
#certified-fresh .cf-marquee__logo--salata,
#certified-fresh .cf-marquee__logo--qdoba,
#certified-fresh .cf-marquee__logo--hopdoddy {
  width: auto;
}

#certified-fresh .cf-marquee__logo--potbelly,
#certified-fresh .cf-marquee__logo--pokeworks {
  height: 4rem;
}

#certified-fresh .cf-marquee__logo--salata {
  height: 3rem;
}

#certified-fresh .cf-marquee__logo--qdoba {
  height: 2.25rem;
}

#certified-fresh .cf-marquee__logo--hopdoddy {
  height: 3.5rem;
}

@media (min-width: 48rem) {
  #certified-fresh .cf-marquee__logo--potbelly,
  #certified-fresh .cf-marquee__logo--pokeworks {
    height: 88px;
  }

  #certified-fresh .cf-marquee__logo--salata {
    height: 76px;
  }

  #certified-fresh .cf-marquee__logo--qdoba {
    height: 54px;
  }

  #certified-fresh .cf-marquee__logo--hopdoddy {
    height: 5rem;
  }
}

/* ---------------------------------------------------------------------- */
/* Down to fresh — carousel section                                        */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-carousel-section {
  padding: 4rem 1.5rem;
  background: linear-gradient(
    90deg,
    var(--cf-glow-edge) 0%,
    var(--cf-glow-center) 15%,
    var(--cf-glow-center) 85%,
    var(--cf-glow-edge) 100%
  );
}

@media (min-width: 64rem) {
  #certified-fresh .cf-carousel-section {
    padding: 119px 90px;
  }
}

#certified-fresh .cf-carousel-section__inner {
  margin: 0 auto;
  max-width: 1743px;
}

#certified-fresh .cf-carousel-section__eyebrow {
  text-align: center;
  font-size: clamp(1.5rem, 3.2vw, 3rem);
  color: var(--cf-green-dark);
}

#certified-fresh .cf-carousel-section__title {
  margin-top: 0.5rem;
  text-align: center;
  font-size: clamp(40px, 9vw, 130px);
  line-height: 0.95;
  color: var(--cf-green-dark);
}

@media (min-width: 64rem) {
  #certified-fresh .cf-carousel-section__title {
    margin-top: 1rem;
  }
}

#certified-fresh .cf-carousel-section__body {
  margin: 2.5rem auto 0;
  max-width: 1370px;
  text-align: center;
  font-size: clamp(1.125rem, 2.1vw, 2.25rem);
  font-weight: 600;
  line-height: 1.25;
  color: var(--cf-green-dark);
}

@media (min-width: 64rem) {
  #certified-fresh .cf-carousel-section__body {
    margin-top: 71px;
  }
}

#certified-fresh .cf-carousel-wrap {
  position: relative;
  margin-top: 2.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-carousel-wrap {
    margin-top: 76px;
  }
}

#certified-fresh .cf-carousel {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1743px;
  touch-action: pan-y;
  overflow: hidden;
}

#certified-fresh .cf-swipe-hint {
  pointer-events: none;
  position: absolute;
  left: 50%;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  transform: translateX(-50%);
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: rgba(55, 65, 62, 0.85);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

#certified-fresh .cf-swipe-hint__icon {
  animation: cf-swipe 1.4s ease-in-out infinite;
}

#certified-fresh .cf-slide {
  position: absolute;
  contain: layout paint style;
}

#certified-fresh .cf-slide__inner {
  position: relative;
  height: 100%;
  width: 100%;
  perspective: 1600px;
}

#certified-fresh .cf-slide__flip {
  position: relative;
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
}

#certified-fresh .cf-slide__flip[data-flipped="true"] {
  transform: rotateY(180deg);
}

#certified-fresh .cf-slide__face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

#certified-fresh .cf-slide__front {
  display: flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  text-align: left;
  box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
  border-radius: 1rem;
}

#certified-fresh .cf-slide__front:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

#certified-fresh .cf-slide__front--center {
  border-radius: 15.613px;
  border: 5.607px solid #009e4f;
}

#certified-fresh .cf-slide__front--lime {
  background: var(--cf-lime);
}

#certified-fresh .cf-slide__front--white {
  background: #fff;
}

#certified-fresh .cf-slide__front--ink {
  background: var(--cf-ink);
}

#certified-fresh .cf-slide__front--mint {
  background: #89c980;
}

#certified-fresh .cf-slide__front--orange {
  background: #f15d2a;
}

#certified-fresh .cf-slide__front--green {
  background: #009e4f;
}

#certified-fresh .cf-slide__front-logo {
  max-height: 55%;
  width: 78%;
  max-width: 429px;
  object-fit: contain;
}

#certified-fresh .cf-slide__hint {
  pointer-events: none;
  position: absolute;
  bottom: 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-slide__hint {
    bottom: 1.25rem;
    font-size: 0.875rem;
  }
}

#certified-fresh .cf-slide__back {
  display: flex;
  overflow: hidden;
  border-radius: 1rem;
  border: 5.6px solid var(--cf-green);
  background: #fff;
  flex-direction: column;
  transform: rotateY(180deg);
}

#certified-fresh .cf-slide__back--row {
  flex-direction: row;
}

#certified-fresh .cf-slide__back-photo {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
}

#certified-fresh .cf-slide__back-copy {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

#certified-fresh .cf-slide__back-top {
  min-height: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

#certified-fresh .cf-slide__back-title {
  font-family: var(--cf-font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1.2;
  color: var(--cf-ink);
}

#certified-fresh .cf-slide__back-body {
  color: var(--cf-foreground);
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
}

#certified-fresh .cf-slide__back-actions {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
}

#certified-fresh .cf-slide__cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  border-radius: 9999px;
  border: 2px solid var(--cf-ink);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--cf-ink);
  transition: background-color 0.15s ease;
}

#certified-fresh .cf-slide__cta:hover {
  background: var(--cf-butter);
}

#certified-fresh .cf-slide__cta--big {
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

#certified-fresh .cf-slide__cta--small {
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  font-size: 0.75rem;
}

#certified-fresh .cf-slide__cta-logo {
  flex-shrink: 0;
  object-fit: contain;
  object-position: left;
}

#certified-fresh .cf-carousel-arrow {
  position: absolute;
  z-index: 20;
  display: flex;
  height: 70px;
  width: 70px;
  transform: translateY(-50%);
  align-items: center;
  justify-content: center;
  border-radius: 9.661px;
  border: 2px solid var(--cf-green-dark);
  background: #fff;
  color: var(--cf-green-dark);
  box-shadow: 0 2px 0 0 #024f28;
  transition: background-color 0.15s ease;
}

#certified-fresh .cf-carousel-arrow:hover {
  background: var(--cf-butter);
}

#certified-fresh .cf-carousel-arrow:focus-visible {
  outline: 2px solid var(--cf-green-dark);
  outline-offset: 4px;
}

#certified-fresh .cf-carousel-dots {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 48rem) {
  #certified-fresh .cf-carousel-dots {
    display: none;
  }
}

#certified-fresh .cf-carousel-dot {
  height: 0.625rem;
  width: 0.625rem;
  border-radius: 9999px;
  background: rgba(55, 65, 62, 0.3);
  transition: background-color 0.2s ease;
}

#certified-fresh .cf-carousel-dot:hover {
  background: rgba(55, 65, 62, 0.5);
}

#certified-fresh .cf-carousel-dot--active {
  background: var(--cf-green-dark);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-carousel-dot {
    height: 0.75rem;
    width: 0.75rem;
  }
}

#certified-fresh .cf-carousel-mobile-nav {
  z-index: 10;
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  #certified-fresh .cf-carousel-mobile-nav {
    display: none;
  }
}

#certified-fresh .cf-carousel-mobile-arrow {
  pointer-events: auto;
  display: flex;
  height: 3rem;
  width: 3.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  border: 2.6px solid var(--cf-green-dark);
  background: var(--cf-green-dark);
  color: #fff;
  box-shadow: 0 6px 0 rgba(0, 0, 0, 0.18);
  transition: all 0.15s ease;
}

#certified-fresh .cf-carousel-mobile-arrow:hover {
  transform: translateY(-2px);
  background: var(--cf-green);
  box-shadow: 0 8px 0 rgba(0, 0, 0, 0.18);
}

#certified-fresh .cf-carousel-mobile-arrow:active {
  transform: translateY(2px);
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.18);
}

/* ---------------------------------------------------------------------- */
/* Nomination CTA section                                                  */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-nomination {
  background: var(--cf-orange);
  padding: 4rem 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-nomination {
    min-height: 700px;
    padding: 110px 1.5rem;
  }
}

#certified-fresh .cf-nomination__inner {
  margin: 0 auto;
  max-width: 1313px;
  text-align: center;
}

#certified-fresh .cf-nomination__eyebrow {
  font-size: 1.5rem;
  color: #fff;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-nomination__eyebrow {
    font-size: 1.875rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-nomination__eyebrow {
    font-size: 3rem;
  }
}

#certified-fresh .cf-nomination__title {
  margin-top: 0.5rem;
  font-size: clamp(34px, 8.6vw, 130px);
  line-height: 0.95;
  color: var(--cf-green-dark);
}

@media (min-width: 64rem) {
  #certified-fresh .cf-nomination__title {
    margin-top: 1rem;
  }
}

#certified-fresh .cf-nomination__body {
  margin-top: 2rem;
  font-size: clamp(1.125rem, 2.2vw, 38px);
  font-weight: 600;
  line-height: 1.18;
  color: #fff;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-nomination__body {
    margin-top: 85px;
  }
}

#certified-fresh .cf-nomination__body .cf-highlight {
  color: var(--cf-butter);
}

#certified-fresh .cf-nomination__btn {
  margin-top: 2.5rem;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9.661px;
  border: 2px solid #024f28;
  background: #fff;
  padding: 0 2rem;
  font-size: clamp(1.25rem, 2.2vw, 32px);
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cf-ink);
  box-shadow: 0 2px 0 0 #024f28;
  transition: transform 0.15s ease;
}

#certified-fresh .cf-nomination__btn:hover {
  transform: scale(1.05);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-nomination__btn {
    padding: 0 2.5rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-nomination__btn {
    margin-top: 67px;
  }
}

/* ---------------------------------------------------------------------- */
/* AVO.AI footer band                                                      */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-avoai {
  background: var(--cf-ink);
  padding: 3.5rem 1.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai {
    min-height: 392px;
    padding: 99px 265px;
  }
}

#certified-fresh .cf-avoai__inner {
  margin: 0 auto;
  display: flex;
  max-width: 1400px;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 54px;
  }
}

#certified-fresh .cf-avoai__logo {
  height: 140px;
  width: auto;
  flex-shrink: 0;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai__logo {
    height: 205px;
  }
}

#certified-fresh .cf-avoai__content {
  width: 100%;
}

#certified-fresh .cf-avoai__title {
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.9;
  color: var(--cf-lime);
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai__title {
    font-size: 29px;
  }
}

#certified-fresh .cf-avoai__text {
  margin-top: 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai__text {
    font-size: 1.25rem;
  }
}

#certified-fresh .cf-avoai__cta {
  margin-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-radius: 10px;
  border: 1.65px solid var(--cf-lime);
  background: rgba(55, 65, 62, 0.7);
  padding: 1rem;
  box-shadow: 0px 1.65px 19px rgba(143, 210, 0, 0.35);
  transition: box-shadow 0.2s ease;
}

#certified-fresh .cf-avoai__cta:hover {
  box-shadow: 0px 1.65px 28px rgba(143, 210, 0, 0.6);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-avoai__cta {
    padding: 1.5rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai__cta {
    margin-top: 17px;
    padding: 33px;
  }
}

#certified-fresh .cf-avoai__cta-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
}

@media (min-width: 64rem) {
  #certified-fresh .cf-avoai__cta-text {
    font-size: 26px;
  }
}

#certified-fresh .cf-avoai__cta-arrow {
  flex-shrink: 0;
  color: var(--cf-lime);
}

/* ---------------------------------------------------------------------- */
/* Nomination dialog (modal)                                               */
/* ---------------------------------------------------------------------- */

#certified-fresh .cf-dialog-overlay {
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.2s ease;
}

#certified-fresh .cf-dialog-overlay[data-open="true"] {
  opacity: 1;
}

#certified-fresh .cf-dialog {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  height: 100dvh;
  width: 100%;
  flex-direction: column;
  gap: 1rem;
  overflow-y: auto;
  background: #fdfcf4;
  padding: 1.25rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

#certified-fresh .cf-dialog[data-open="true"] {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-dialog {
    inset: auto;
    left: 50%;
    top: 50%;
    height: auto;
    max-height: 92dvh;
    width: calc(100vw - 2rem);
    max-width: 980px;
    transform: translate(-50%, calc(-50% + 8px));
    border-radius: 1.5rem;
    border: 1px solid rgba(55, 65, 62, 0.15);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    padding: 2.5rem;
  }

  #certified-fresh .cf-dialog[data-open="true"] {
    transform: translate(-50%, -50%);
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-dialog {
    padding: 3rem;
  }
}

#certified-fresh .cf-dialog__title {
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--cf-ink);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-dialog__title {
    font-size: 1.875rem;
  }
}

@media (min-width: 64rem) {
  #certified-fresh .cf-dialog__title {
    font-size: 2.25rem;
  }
}

#certified-fresh .cf-dialog__desc {
  margin-top: 0.5rem;
  font-size: 1rem;
  color: var(--cf-muted-foreground);
}

@media (min-width: 40rem) {
  #certified-fresh .cf-dialog__desc {
    font-size: 1.125rem;
  }
}

#certified-fresh .cf-dialog__close {
  position: absolute;
  right: 1.25rem;
  top: 1.25rem;
  display: flex;
  height: 2.25rem;
  width: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 2px solid var(--cf-ink);
  background: #fff;
  color: var(--cf-ink);
}

#certified-fresh .cf-dialog__hubspot {
  margin-top: 1rem;
}

@media (min-width: 40rem) {
  #certified-fresh .cf-dialog__hubspot {
    margin-top: 1.25rem;
  }
}
