/* Photo-led Food campaigns; category links and prices remain native. */
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-rail{display:flex!important;flex-wrap:nowrap!important;grid-template-columns:none!important;grid-auto-flow:unset!important;overflow-x:auto!important;scroll-snap-type:x mandatory;scroll-behavior:smooth;gap:16px}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card{flex:0 0 min(78vw,490px)!important;min-width:0!important;scroll-snap-align:start}
html[data-theme] body.reference-style[data-service="food"] #catalog-grid .fudo-category-visual{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:250px;height:clamp(250px,35vw,380px);margin:10px 0 22px;border-radius:28px;overflow:hidden;background:color-mix(in srgb,var(--fudo-accent,#53a512) 16%,var(--fudo-surface,#eee));pointer-events:none}
html[data-theme] body.reference-style[data-service="food"] #catalog-grid .fudo-category-visual-image{display:block;width:100%;height:100%;object-fit:contain;max-height:380px}
@media(max-width:640px){html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card{flex-basis:82vw!important}html[data-theme] body.reference-style[data-service="food"] #catalog-grid .fudo-category-visual{height:260px;min-height:260px;border-radius:22px}}
@media(prefers-reduced-motion:reduce){html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-rail{scroll-behavior:auto}}

html[data-theme] body.reference-style[data-service="food"] .food-campaigns {
  padding:8px 0 20px;
  color:var(--fudo-text);
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-rail {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-auto-columns:auto;
  grid-auto-flow:row;
  gap:18px;
  overflow-x:auto;
  padding:4px 0 12px;
  margin:0;
  scrollbar-width:none;
  scroll-snap-type:x proximity;
  overscroll-behavior-x:contain;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-rail::-webkit-scrollbar {
  display:none;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card {
  position:relative;
  isolation:isolate;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  width:auto;
  min-width:0;
  min-height:390px;
  height:clamp(390px,31vw,455px);
  aspect-ratio:auto;
  overflow:hidden;
  border:0;
  border-radius:28px;
  background:var(--fudo-photo);
  color:#fff;
  text-decoration:none;
  scroll-snap-align:start;
  box-shadow:0 5px 15px #0000000d;
  -webkit-tap-highlight-color:transparent;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card::after {
  content:"";
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(180deg,#17100b22 0%,transparent 29%,#17100b12 43%,#17100b9e 69%,#17100be6 100%);
  pointer-events:none;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-image {
  position:absolute;
  z-index:-2;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 28%;
  transform:scale(1.025);
  transition:transform .35s ease;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns :is(.tone-pizza,.tone-sushi) .reference-story-image {
  object-position:100% center;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy {
  position:relative;
  z-index:1;
  padding:72px 22px 22px;
  margin:0;
  background:none;
  color:#fff;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy h2 {
  max-width:14ch;
  margin:0 0 10px;
  font-size:clamp(25px,2.4vw,35px);
  font-weight:750;
  line-height:1.04;
  letter-spacing:-.035em;
  color:#fff;
  text-wrap:balance;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy p {
  max-width:28ch;
  min-height:2.8em;
  margin:0 0 16px;
  color:#ffffffe0;
  font-size:13px;
  line-height:1.4;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-arrow {
  display:none;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaign-label,
html[data-theme] body.reference-style[data-service="food"] .food-campaign-price {
  position:absolute;
  z-index:2;
  top:18px;
  display:inline-flex;
  align-items:center;
  min-height:29px;
  padding:7px 11px;
  border-radius:100px;
  font-size:11px;
  font-weight:750;
  line-height:1.1;
  white-space:nowrap;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaign-label {
  left:18px;
  max-width:calc(100% - 36px);
  background:#17100b55;
  color:#fff;
  letter-spacing:.035em;
  backdrop-filter:blur(12px);
}
html[data-theme] body.reference-style[data-service="food"] .food-campaign-price {
  top:56px;
  left:18px;
  background:#fff;
  color:#242329;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaign-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:42px;
  padding:11px 15px;
  border-radius:100px;
  background:var(--fudo-accent);
  color:var(--fudo-on-accent,#fff);
  font-size:13px;
  font-weight:700;
  line-height:1.25;
  transition:background .18s ease,transform .18s ease;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaign-action-arrow {
  font-size:19px;
  line-height:1;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaign-card:focus-visible {
  outline:3px solid var(--fudo-focus,var(--fudo-accent));
  outline-offset:4px;
}

@media (hover:hover) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card:hover .reference-story-image {
    transform:scale(1.07);
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaign-card:hover .food-campaign-action {
    background:var(--fudo-accent-hover);
  }
}
@media (min-width:641px) and (max-width:1024px) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-rail {
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:38vw;
    justify-content:start;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card {
    height:380px;
    min-height:380px;
  }
}
@media (max-width:640px) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns>.container {
    width:calc(100% - 32px);
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns {
    padding:0 0 8px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-rail {
    grid-template-columns:none;
    grid-auto-flow:column;
    grid-auto-columns:66vw;
    justify-content:start;
    gap:12px;
    overflow: auto hidden;
    margin-right:-16px;
    padding:4px 16px 12px 0;
    scroll-snap-type:x mandatory;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card {
    height:340px;
    min-height:340px;
    border-radius:25px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy {
    padding:54px 18px 18px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy h2 {
    font-size:27px;
    margin-bottom:8px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy p {
    font-size:12px;
    margin-bottom:13px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaign-action {
    gap:10px;
    min-height:40px;
    padding:10px 13px;
    font-size:12px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaign-label,
  html[data-theme] body.reference-style[data-service="food"] .food-campaign-price {
    left:16px;
    font-size:10px;
  }
}
@media (max-width:360px) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-card {
    height:330px;
    min-height:330px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-copy h2 {
    font-size:24px;
  }
}
@media (prefers-reduced-motion:reduce) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaign-action,
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .reference-story-image {
    transition:none;
  }
}

/* The drinks story uses the same original jar photo as the native catalog. */
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks {
  justify-content:center;background:#edf3e6;color:#173f2d;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks::after {
  background:none;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .reference-story-image,
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks:hover .reference-story-image {
  z-index:0;inset:5% -9% 5% auto;width:70%;height:90%;
  object-fit:contain;object-position:center;transform:none;mix-blend-mode:multiply;pointer-events:none;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .reference-story-copy {
  width:54%;padding:60px 14px 24px 22px;box-sizing:border-box;color:#173f2d;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .reference-story-copy h2 {
  font-size:clamp(25px,2.4vw,31px);color:#173f2d;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .reference-story-copy p {
  min-height:0;color:#234332;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .food-campaign-label {
  background:#1b472e;color:#fff;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .food-campaign-price {
  top:18px;left:auto;right:18px;color:#173f2d;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .food-campaign-action {
  max-width:100%;gap:8px;padding:10px 11px;box-sizing:border-box;text-align:center;white-space:normal;
}
@media (max-width:640px) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .reference-story-copy {
    padding:60px 8px 18px 18px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .reference-story-copy h2 {
    font-size:clamp(23px,6vw,27px);
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-drinks .food-campaign-price {
    right:16px;
  }
}




/* FUDO Wellness Drinks — a dedicated turquoise story card, separate from classic drinks. */
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness {
  justify-content:center;background:linear-gradient(145deg,#d3f3f0,#b6e7e1);color:#153d39;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness::after {background:none;}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .reference-story-image,
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness:hover .reference-story-image {
  z-index:0;inset:5% -9% 5% auto;width:70%;height:90%;object-fit:contain;
  object-position:center;transform:none;mix-blend-mode:multiply;pointer-events:none;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .reference-story-copy {
  width:54%;padding:60px 14px 24px 22px;box-sizing:border-box;color:#153d39;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .reference-story-copy h2 {
  font-size:clamp(25px,2.4vw,31px);color:#153d39;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .reference-story-copy p {
  min-height:0;color:#20554e;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .food-campaign-label {
  background:#17766c;color:#fff;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .food-campaign-price {
  top:18px;left:auto;right:18px;color:#153d39;
}
html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .food-campaign-action {
  max-width:100%;gap:8px;padding:10px 11px;box-sizing:border-box;text-align:center;white-space:normal;
}
@media(max-width:640px) {
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .reference-story-copy {
    padding:60px 8px 18px 18px;
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .reference-story-copy h2 {
    font-size:clamp(23px,6vw,27px);
  }
  html[data-theme] body.reference-style[data-service="food"] .food-campaigns .tone-wellness .food-campaign-price {
    right:16px;
  }
}
