/* ==========================================================================
   GULPY — Juice Card (juice-card.css)
   Infographic-style product card: numbered badge, benefit list with icons.
   Used on the Home preview slider (.juice-card--compact) and the full
   Menu grid (.juice-card). Layered on top of style.css tokens — no new
   colors introduced, everything derives from :root vars in style.css.
   ========================================================================== */

.juice-card {
  background: var(--white);
  border-radius: var(--r-card);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.juice-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); }

/* ------------------------------------------------------------------ MEDIA */
.juice-card__media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--cream-200);
}
.juice-card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.juice-card:hover .juice-card__media img { transform: scale(1.05); }

.juice-card__index {
  position: absolute; top: .8rem; left: .8rem;
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .82rem;
  box-shadow: var(--sh-sm);
}

.juice-card__price {
  position: absolute; top: .8rem; right: .8rem;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .8rem;
  padding: .35rem .75rem;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* ------------------------------------------------------------------- BODY */
.juice-card__body {
  padding: 1.2rem 1.3rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  flex: 1;
}
.juice-card__name { font-size: 1.22rem; }
.juice-card__tagline {
  color: var(--ink-soft);
  font-size: .9rem;
  line-height: 1.5;
}

.juice-card__benefits {
  display: flex;
  flex-direction: column;
  gap: .65rem;
  margin-top: .1rem;
  padding-top: .85rem;
  border-top: 1px solid var(--line);
}
.juice-card__benefit {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
}
.juice-card__benefit-ic {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-tint);
  color: var(--green-700);
}
.juice-card__benefit-text strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .86rem;
  color: var(--navy);
  margin-bottom: .1rem;
}
.juice-card__benefit-text span {
  display: block;
  font-size: .8rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

/* Alternate icon tint per row, echoing the .benefit pattern used elsewhere */
.juice-card__benefit:nth-child(2) .juice-card__benefit-ic { background: var(--yellow-tint); color: #B27A05; }
.juice-card__benefit:nth-child(3) .juice-card__benefit-ic { background: var(--navy-tint);   color: var(--navy); }
.juice-card__benefit:nth-child(4) .juice-card__benefit-ic { background: var(--green-tint);  color: var(--green-700); }

/* ------------------------------------------------------- COMPACT (home) */
.juice-card--compact .juice-card__index { width: 30px; height: 30px; font-size: .76rem; }
.juice-card--compact .juice-card__body { padding: 1.05rem 1.15rem 1.3rem; gap: .7rem; }
.juice-card--compact .juice-card__name { font-size: 1.12rem; }
.juice-card--compact .juice-card__benefits { gap: .5rem; padding-top: .7rem; }
.juice-card--compact .juice-card__benefit-ic { width: 28px; height: 28px; }
.juice-card--compact .juice-card__benefit-ic svg { width: 15px; height: 15px; }
.juice-card--compact .juice-card__benefit-text strong { font-size: .82rem; }
.juice-card--compact .juice-card__benefit-text span { font-size: .76rem; }

@media (min-width: 640px) {
  .juice-card__body { padding: 1.35rem 1.45rem 1.6rem; }
  .juice-card__name { font-size: 1.3rem; }
}
