/* Renéra · Our Ingredients — supplemental classes
   Layered after chrome.css. Only holds what the ingredients page needs that
   the shared marketing stylesheet doesn't already provide. */

/* Perks list on a light (cream) section — ink body, olive numbers. */
.rn-perks--ink li { color: var(--renera-ink); }
.rn-perks--ink .rn-perk-num { color: var(--renera-olive-700); }

/* ── 01 · Marine Collagen — image carousel ─────────────────────────────────
   Slides come from ACF (Imagery tab); with a single image no chrome renders
   and this degrades to the original static photo. Swiping is native CSS
   scroll-snap; assets/js/ingredients.js only wires the arrows + dots + counter.
   Controls live in a nav bar OUTSIDE the image box, on the section background
   ([prev] dots [next] + a mono "01 / 03" counter on the right). */
.rn-ingcar { position: relative; }
.rn-ingcar__track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.rn-ingcar__track::-webkit-scrollbar { display: none; }
.rn-ingcar__track:focus-visible { outline: 2px solid var(--renera-olive-500); outline-offset: -2px; }
.rn-ingcar__slide {
  flex: 0 0 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}
.rn-ingcar__nav {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-top: 26px;
  padding: 0 8px;
}
.rn-ingcar__btn {
  width: 46px;
  height: 46px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--renera-olive-700);
  color: var(--renera-olive-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease,
              box-shadow 0.25s ease, border-color 0.25s ease, opacity 0.2s ease;
}
.rn-ingcar__btn:hover:not(:disabled) {
  background: var(--renera-olive-700);
  color: var(--renera-paper);
  transform: translateY(-2px);
  box-shadow: var(--renera-shadow-card);
}
.rn-ingcar__btn:active:not(:disabled) { transform: translateY(0); }
.rn-ingcar__btn:disabled {
  opacity: 0.3;
  border-color: var(--renera-mute);
  color: var(--renera-mute);
  cursor: default;
}
.rn-ingcar__dots {
  display: flex;
  align-items: center;
  gap: 9px;
}
.rn-ingcar__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--renera-clay-300);
  cursor: pointer;
  transition: background 0.25s ease, width 0.25s ease;
}
.rn-ingcar__dot:hover { background: var(--renera-olive-500); }
.rn-ingcar__dot.is-on { background: var(--renera-olive-700); width: 26px; }
.rn-ingcar__count {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--renera-font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--renera-mute);
  user-select: none;
}

/* Inverted chrome for carousels on the dark olive band (section 02). */
.rn-ingcar--invert .rn-ingcar__btn {
  border-color: rgba(246, 238, 232, 0.5);
  color: var(--renera-sand-200);
}
.rn-ingcar--invert .rn-ingcar__btn:hover:not(:disabled) {
  background: var(--renera-sand-200);
  border-color: var(--renera-sand-200);
  color: var(--renera-olive-700);
}
.rn-ingcar--invert .rn-ingcar__btn:disabled {
  border-color: rgba(246, 238, 232, 0.35);
  color: rgba(246, 238, 232, 0.5);
}
.rn-ingcar--invert .rn-ingcar__dot { background: rgba(246, 238, 232, 0.3); }
.rn-ingcar--invert .rn-ingcar__dot:hover { background: var(--renera-olive-300); }
.rn-ingcar--invert .rn-ingcar__dot.is-on { background: var(--renera-olive-300); }
.rn-ingcar--invert .rn-ingcar__count { color: rgba(246, 238, 232, 0.6); }
