/* ============================================================
   Detalle de receta — foto grande + ingredientes + preparación
   Usa producto.css (fondo, share-btn, store-chip) + estas clases.
   ============================================================ */

.receta-main {
  position: relative;
  padding-top: clamp(150px, 20vh, 210px);
  padding-bottom: clamp(44px, 6vw, 80px);
  padding-inline: clamp(20px, 5vw, 48px);
  overflow: hidden;
}

.receta-main::before {
  content: "";
  position: absolute;
  top: -12vh;
  right: -14vw;
  width: 56vmax;
  height: 56vmax;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, .32), transparent 62%);
  pointer-events: none;
  animation: prodBlob 15s ease-in-out infinite;
}

.receta-wrap {
  position: relative;
  z-index: 1;
  width: min(1080px, 100%);
  margin-inline: auto;
}

.receta-hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) 1.05fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
}

/* Foto grande de la receta */
.receta-hero__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--mil976-radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .6);
  background:
    radial-gradient(circle at 50% 32%, rgba(255, 255, 255, .6), transparent 60%),
    linear-gradient(160deg, rgba(255, 255, 255, .45), rgba(144, 237, 245, .24));
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 26px 56px rgba(6, 68, 82, .22);
  opacity: 0;
  transform: translateY(30px) scale(.98);
  animation: prodFadeUp .8s var(--mil976-ease) forwards;
}

.receta-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.receta-hero__media.is-placeholder::after {
  content: "🍸";
  font-size: clamp(56px, 9vw, 84px);
  opacity: .5;
  filter: saturate(.4);
}

/* El contenido entra escalonado (fade-up). */
.receta-hero__info > * {
  opacity: 0;
  transform: translateY(26px);
  animation: prodFadeUp .6s var(--mil976-ease) forwards;
}

.receta-hero__info > *:nth-child(1) { animation-delay: .12s; }
.receta-hero__info > *:nth-child(2) { animation-delay: .20s; }
.receta-hero__info > *:nth-child(3) { animation-delay: .28s; }
.receta-hero__info > *:nth-child(4) { animation-delay: .36s; }
.receta-hero__info > *:nth-child(5) { animation-delay: .44s; }
.receta-hero__info > *:nth-child(6) { animation-delay: .52s; }
.receta-hero__info > *:nth-child(7) { animation-delay: .60s; }

@media (prefers-reduced-motion: reduce) {
  .receta-hero__media,
  .receta-hero__info > * {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.receta-hero__eyebrow {
  margin: 0 0 12px;
  color: var(--mil976-accent-strong);
  font-size: clamp(11px, 1.4vw, 13px);
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .85;
}

.receta-hero__eyebrow a {
  color: inherit;
  text-decoration: none;
}

.receta-hero__title {
  margin: 0 0 18px;
  color: var(--mil976-title);
  font-size: clamp(36px, 6vw, 66px);
  font-weight: 900;
  line-height: .98;
  letter-spacing: -.03em;
  text-shadow: 0 2px 0 rgba(255, 255, 255, .35);
}

/* Chip de producto: botellita en círculo + nombre. */
.receta-hero__product {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  margin: 0 0 24px;
  padding: 5px 18px 5px 5px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .65);
  background: rgba(255, 255, 255, .5);
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}

.receta-hero__product:hover {
  background: rgba(255, 255, 255, .8);
  transform: translateY(-1px);
}

.receta-hero__product-bottle {
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .85);
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 60%),
    var(--cat-color, #85b2ca);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
}

.receta-hero__product-bottle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.receta-hero__product-name {
  color: var(--mil976-accent-strong);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .01em;
}

.receta-block {
  margin-bottom: 20px;
}

.receta-block__title {
  margin: 0 0 10px;
  color: var(--mil976-title);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.receta-ingredients {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.receta-ingredients li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(255, 255, 255, .4);
  color: var(--mil976-text);
  font-size: 14px;
  font-weight: 700;
}

.receta-steps {
  margin: 0;
  max-width: 52ch;
  color: var(--mil976-text);
  font-size: clamp(15px, 1.9vw, 18px);
  line-height: 1.65;
}

.receta-buy__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.receta-buy__stores .store-chip {
  width: clamp(52px, 6.5vw, 62px);
}

@media (max-width: 860px) {
  .receta-hero {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .receta-hero__media {
    max-width: 360px;
    margin-inline: auto;
  }
}
